
:root{
  --deep: #043676;
  --sky:  #5b90c3;
  --pink: #c57ca1;
  --pink2:#dca8c2;
  --lav:  #c2bddd;

  --bg: color-mix(in srgb, var(--pink2) 20%, white);
  --card: rgba(255,255,255,.88);
  --card-solid: #ffffff;
  --text: #0b1b33;
  --muted: color-mix(in srgb, var(--deep) 58%, white);
  --line: color-mix(in srgb, var(--deep) 12%, white);
  --line-strong: color-mix(in srgb, var(--deep) 18%, white);

  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow: 0 20px 44px rgba(4,54,118,.16);
  --shadow-soft: 0 10px 24px rgba(11,27,51,.09);
  --shadow-card: 0 12px 28px rgba(11,27,51,.08);
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--lav) 38%, white) 0%, transparent 36%),
    radial-gradient(circle at top right, color-mix(in srgb, var(--pink2) 28%, white) 0%, transparent 34%),
    linear-gradient(180deg, #f8fafe 0%, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.material-symbols-rounded{
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

a{color:inherit}
button,input,textarea,select{font:inherit}

.app{
  min-height:100%;
}

/* ====== Layout helpers ====== */
.center{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 28px 16px;
}

.shell{
  max-width: 520px;
  width: 100%;
}

.stack{display:flex;flex-direction:column;gap:14px}
.row{display:flex;gap:12px;align-items:center}
.spacer{flex:1}
.hr{height:1px;background:rgba(255,255,255,.18);border:0;margin:16px 0}

/* ====== Auth screens ====== */
.auth-bg{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 30px 16px;
  background:
    radial-gradient(circle at 15% 10%, rgba(255,255,255,.20), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.12), transparent 26%),
    linear-gradient(180deg, var(--deep), var(--sky));
}

.auth-card{
  width: 100%;
  max-width: 520px;
  padding: 34px 28px;
  border-radius: 30px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 22px 54px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.logo{
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.98), color-mix(in srgb, white 88%, var(--lav)));
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 18px 34px rgba(0,0,0,.16);
  margin: 0 auto;
}
.logo .material-symbols-rounded{
  color: var(--deep);
  font-size: 52px;
}

.h1{
  text-align:center;
  color:#fff;
  font-size: 44px;
  line-height:1;
  margin: 18px 0 6px;
  font-weight: 900;
  letter-spacing: -0.8px;
}
.sub{
  text-align:center;
  color: rgba(255,255,255,.84);
  margin: 0 0 20px;
  font-weight: 500;
}

.field{
  position:relative;
}
.field input{
  width:100%;
  height: 58px;
  padding: 0 14px 0 50px;
  border-radius: 18px;
  border: 1.5px solid rgba(255,255,255,.28);
  outline: none;
  background: rgba(255,255,255,.10);
  color:#fff;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input::placeholder{color: rgba(255,255,255,.72)}
.field input:focus{
  border-color: var(--pink2);
  box-shadow: 0 0 0 4px rgba(197,124,161,.18);
  background: rgba(255,255,255,.13);
}
.field .icon{
  position:absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pink2);
  font-size: 22px;
  opacity: .95;
}

.btn{
  width:100%;
  height: 60px;
  border-radius: 18px;
  border: 0;
  cursor:pointer;
  font-weight: 900;
  letter-spacing: .3px;
  font-size: 16px;
  transition: transform .12s ease, filter .2s ease, box-shadow .2s ease;
}
.btn:hover{
  transform: translateY(-1px);
}
.btn:active{
  transform: translateY(0);
}
.btn-primary{
  background: linear-gradient(180deg, color-mix(in srgb, var(--pink) 92%, white), var(--pink));
  color: var(--deep);
  box-shadow: 0 12px 24px rgba(197,124,161,.26);
}
.btn-primary:hover{filter: brightness(1.03)}
.btn-secondary{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24);
  color:#fff;
}

.link{
  background: transparent;
  border:0;
  color:#fff;
  cursor:pointer;
  padding: 10px;
  font-weight: 600;
  opacity: .92;
}
.link:hover{text-decoration: underline}

.error{
  color: #fff;
  background: rgba(255,0,0,.14);
  border: 1px solid rgba(255,120,120,.34);
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 14px;
  backdrop-filter: blur(8px);
}

/* ====== App top bar & search ====== */
.top{
  position: sticky;
  top:0;
  z-index: 10;
  color:#fff;
  padding-bottom: 14px;
  background:
    linear-gradient(180deg, rgba(4,54,118,.96), rgba(4,54,118,.90));
  box-shadow: 0 8px 24px rgba(4,54,118,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.topbar{
  height: 62px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 0 14px;
  position: relative;
}
.topbar h2{
  margin:0;
  font-weight: 900;
  letter-spacing: 1.8px;
  font-size: 18px;
  text-transform: uppercase;
}
.top-actions{
  position:absolute;
  right: 10px;
  display:flex;
  gap: 8px;
}
.icon-btn{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(255,255,255,.06);
  color: var(--pink2);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: background .2s ease, transform .12s ease, border-color .2s ease;
}
.icon-btn:hover{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.10);
  transform: translateY(-1px);
}
.icon-btn.danger{color: #ff8d8d}
.icon-btn:disabled{
  opacity:.55;
  cursor:not-allowed;
}

.search{
  padding: 0 16px;
}
.search .searchbox{
  height: 48px;
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.10);
  color:#fff;
  padding: 0 14px 0 46px;
  outline:none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.search .searchbox::placeholder{color: rgba(255,255,255,.60)}
.search .searchbox:focus{
  border-color: rgba(255,255,255,.24);
  box-shadow: 0 0 0 4px rgba(197,124,161,.15);
  background: rgba(255,255,255,.13);
}
.search .sicon{
  position: absolute;
  margin-left: 30px;
  margin-top: 12px;
  color: var(--pink2);
  font-size: 22px;
}

/* ====== Task list ====== */
.page{
  max-width: 620px;
  margin: 0 auto;
  padding: 8px 16px 120px;
}

.section-title{
  margin: 18px 0 10px;
  padding-left: 2px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.3px;
  color: color-mix(in srgb, var(--deep) 78%, black);
}

.task{
  display:flex;
  align-items:stretch;
  gap: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.88));
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.64);
  box-shadow: var(--shadow-card);
  overflow:hidden;
  margin: 12px 0;
  cursor:pointer;
  min-width: 0;
  transition: transform .14s ease, box-shadow .2s ease, border-color .2s ease;
}
.task:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(11,27,51,.12);
  border-color: rgba(255,255,255,.82);
}

.strip{
  width: 8px;
  flex: 0 0 8px;
  background: var(--sky);
}

.task-body{
  flex: 1 1 auto;
  min-width: 0;
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 14px 10px 14px 8px;
  min-height: 82px;
}

.cb{
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 2px solid color-mix(in srgb, var(--deep) 74%, white);
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}
.cb.checked{
  background: var(--deep);
  border-color: var(--deep);
}
.cb .material-symbols-rounded{
  font-size: 16px;
  color:#fff;
  opacity: .95;
}

.task-main{
  flex: 1 1 auto;
  min-width: 0;
}

.task-title{
  margin:0;
  font-weight: 800;
  color: var(--deep);
  font-size: 16px;
  line-height: 1.25;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}

.task-desc{
  margin:4px 0 0;
  color: color-mix(in srgb, var(--deep) 55%, white);
  font-size: 12px;
  line-height: 1.35;
  overflow:hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.task-meta{
  margin-top: 10px;
  display:flex;
  gap: 10px;
  align-items:center;
  flex-wrap: wrap;
}

.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .35px;
  border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}
.pill.low{
  color: color-mix(in srgb, var(--sky) 88%, black);
  background: color-mix(in srgb, var(--sky) 15%, white);
}
.pill.med{
  color: color-mix(in srgb, var(--pink) 88%, black);
  background: color-mix(in srgb, var(--pink) 16%, white);
}
.pill.high{
  color: var(--deep);
  background: color-mix(in srgb, var(--deep) 10%, white);
}

.due{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pink) 9%, white);
  color: var(--pink);
  font-weight: 800;
  font-size: 10px;
}
.due .material-symbols-rounded{font-size: 14px}

.task-actions{
  flex: 0 0 auto;
  padding: 10px 8px 10px 0;
  display:flex;
  align-items:center;
  justify-content:center;
}

.del{
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  border:0;
  background: transparent;
  color: rgba(255, 86, 86, .70);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: background .2s ease, transform .12s ease;
}
.del:hover{
  background: rgba(255,0,0,.08);
  transform: scale(1.03);
}

/* completed */
.task.done{
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.78));
}
.task.done .strip{background: #d9d9d9}
.task.done .task-title{color: #7a7a7a; text-decoration: line-through}
.task.done .task-desc{color: #9a9a9a}
.task.done .cb{border-color: #c7c7c7}
.task.done .cb.checked{background:#8b8b8b; border-color:#8b8b8b}

.empty{
  padding: 56px 0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color: color-mix(in srgb, var(--deep) 45%, white);
  text-align:center;
}
.empty .material-symbols-rounded{
  font-size: 86px;
  color: color-mix(in srgb, var(--pink) 20%, white);
}

/* ====== FAB ====== */
.fab{
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 74px;
  height: 74px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.22);
  background: linear-gradient(180deg, color-mix(in srgb, var(--deep) 90%, white), var(--deep));
  color: #fff;
  box-shadow: 0 20px 36px rgba(4,54,118,.28);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .14s ease, box-shadow .2s ease;
}
.fab .material-symbols-rounded{font-size: 34px; color:#fff}
.fab:hover{
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(4,54,118,.34);
}

/* ====== Edit / New note ====== */
.form-wrap{
  max-width: 620px;
  margin: 0 auto;
  padding: 18px 16px 24px;
}
.form{
  display:flex;
  flex-direction:column;
  gap: 14px;
  padding-top: 12px;
}

.inp, .ta{
  width:100%;
  border-radius: 18px;
  border: 1.5px solid var(--line);
  padding: 14px 14px;
  font-size: 15px;
  outline:none;
  background: rgba(255,255,255,.78);
  box-shadow: 0 4px 10px rgba(11,27,51,.03);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.ta{
  min-height: 124px;
  resize: vertical;
  line-height: 1.45;
}
.inp:focus, .ta:focus{
  border-color: color-mix(in srgb, var(--deep) 30%, white);
  box-shadow: 0 0 0 4px rgba(4,54,118,.10);
  background: #fff;
}
.inp[disabled], .ta[disabled]{
  background: rgba(255,255,255,.60);
  color: color-mix(in srgb, var(--deep) 70%, white);
}

.label{
  font-size: 12px;
  font-weight: 900;
  color: var(--deep);
  letter-spacing: .7px;
}

.date-row{
  position: relative;
}
.date-row button{
  position:absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border:0;
  background: transparent;
  color: var(--pink);
  cursor:pointer;
}
.date-row button:hover{background: rgba(0,0,0,.05)}

.chips{
  display:flex;
  justify-content:space-between;
  gap: 10px;
}
.chip{
  flex:1;
  height: 42px;
  border-radius: 14px;
  border: 1.2px solid var(--line);
  background: rgba(255,255,255,.65);
  color: var(--deep);
  cursor:pointer;
  font-weight: 900;
  letter-spacing: .2px;
  transition: transform .12s ease, border-color .2s ease, box-shadow .2s ease;
}
.chip:hover{
  transform: translateY(-1px);
  border-color: var(--line-strong);
}
.chip.sel{
  border-color: transparent;
  color:#fff;
  box-shadow: 0 12px 22px rgba(11,27,51,.10);
}
.chip.low.sel{background: linear-gradient(180deg, color-mix(in srgb, var(--sky) 92%, white), var(--sky))}
.chip.med.sel{background: linear-gradient(180deg, color-mix(in srgb, var(--pink) 92%, white), var(--pink))}
.chip.high.sel{background: linear-gradient(180deg, color-mix(in srgb, var(--deep) 92%, white), var(--deep))}

/* ====== OCR ====== */
.ocr-box{
  background: linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.76));
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.ocr-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}

.ocr-copy{
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
  color: color-mix(in srgb, var(--deep) 60%, white);
}

.ocr-badge{
  min-width: 56px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .8px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--deep));
  box-shadow: 0 10px 18px rgba(4,54,118,.18);
}

.ocr-file-row{
  display:flex;
  gap: 10px;
  align-items:center;
  margin-top: 14px;
  flex-wrap: wrap;
}

.btn-soft{
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  padding: 0 14px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--deep) 92%, white), var(--deep));
  color:#fff;
  font-weight: 800;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  box-shadow: 0 12px 20px rgba(4,54,118,.16);
  transition: transform .12s ease, filter .2s ease;
}
.btn-soft:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
}
.btn-soft:disabled{
  opacity:.6;
  cursor:not-allowed;
}

.ocr-file-pill{
  flex:1;
  min-width: 180px;
  min-height: 46px;
  border-radius: 14px;
  padding: 12px 14px;
  display:flex;
  align-items:center;
  background: rgba(255,255,255,.72);
  border: 1px dashed color-mix(in srgb, var(--deep) 20%, white);
  color: color-mix(in srgb, var(--deep) 72%, white);
  font-size: 13px;
  font-weight: 700;
  overflow:hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ocr-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.ocr-select{
  appearance:none;
}

.ocr-check{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  margin-top: 14px;
  color: color-mix(in srgb, var(--deep) 72%, white);
  font-size: 13px;
  font-weight: 700;
}
.ocr-check input{
  margin-top: 2px;
  accent-color: var(--deep);
}

.ocr-hint{
  margin-top: 10px;
  font-size: 12px;
  color: color-mix(in srgb, var(--deep) 55%, white);
}

.ocr-actions{
  margin-top: 14px;
}

.ocr-status{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--sky) 12%, white);
  color: var(--deep);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  border: 1px solid color-mix(in srgb, var(--sky) 18%, white);
}
.ocr-status.err{
  background: rgba(255,0,0,.07);
  color: #9f1d1d;
  border-color: rgba(255,0,0,.12);
}

.footer-btn{
  margin-top: 14px;
}
.footer-btn.dual{
  display:flex;
  gap:10px;
}
.footer-btn.dual .btn-cta{
  flex:1;
}

.btn-cta{
  width: 100%;
  height: 62px;
  border-radius: 18px;
  border:0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--deep) 92%, white), var(--deep));
  color:#fff;
  font-weight: 900;
  letter-spacing: .7px;
  cursor:pointer;
  box-shadow: 0 14px 24px rgba(4,54,118,.16);
  transition: transform .12s ease, filter .2s ease, box-shadow .2s ease;
}
.btn-cta:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
}
.btn-cta:disabled{
  opacity: .45;
  cursor:not-allowed;
  box-shadow: none;
}
.btn-cta.secondary{
  background: linear-gradient(180deg, color-mix(in srgb, var(--pink) 90%, white), var(--pink));
  color: var(--deep);
  box-shadow: 0 14px 24px rgba(197,124,161,.18);
}

/* ====== Modal ====== */
.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(9,18,34,.38);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
  z-index: 50;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal{
  width: 100%;
  max-width: 520px;
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 28px 54px rgba(11,27,51,.22);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.55);
}
.modal-header{
  padding: 14px 16px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--deep) 94%, white), var(--deep));
  color:#fff;
  display:flex;
  align-items:center;
  gap: 10px;
}
.modal-body{padding: 18px 16px 14px}
.modal-body p{
  margin:0 0 10px;
  color: color-mix(in srgb, var(--deep) 58%, white);
  line-height: 1.45;
}
.modal-actions{
  display:flex;
  gap:10px;
  padding: 0 16px 16px;
}
.modal-actions button{
  flex:1;
  height: 48px;
  border-radius: 14px;
  border:0;
  cursor:pointer;
  font-weight: 900;
}
.modal-actions .save{
  background: linear-gradient(180deg, color-mix(in srgb, var(--pink) 90%, white), var(--pink));
  color: var(--deep);
}
.modal-actions .cancel{
  background: #eef1f6;
  color: var(--deep);
}

/* ====== Toasts ====== */
.toasts{
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display:flex;
  flex-direction:column;
  gap: 10px;
  z-index: 60;
  padding: 0 12px;
  width: min(560px, 100%);
}
.toast{
  background: rgba(9,18,34,.84);
  color:#fff;
  padding: 12px 14px;
  border-radius: 16px;
  box-shadow: 0 18px 30px rgba(11,27,51,.16);
  display:flex;
  gap: 10px;
  align-items:flex-start;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.toast .material-symbols-rounded{font-size: 20px}
.toast .t-title{font-weight: 900}
.toast .t-msg{opacity: .88; font-size: 13px; margin-top: 2px}

/* ====== News ====== */
.news-sub{
  padding: 0 16px 12px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255,255,255,.82);
}

.news-list{
  display:flex;
  flex-direction:column;
  gap: 12px;
  margin-top: 12px;
}

.news-card{
  display:flex;
  gap: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.88));
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  overflow:hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255,255,255,.62);
  transition: transform .14s ease, box-shadow .2s ease;
}
.news-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(11,27,51,.12);
}
.news-card, .news-card *{
  text-decoration: none !important;
}

.news-img{
  width: 124px;
  height: 100px;
  object-fit: cover;
  background: color-mix(in srgb, var(--deep) 8%, white);
  flex: 0 0 auto;
}
.news-img.ph{
  position: relative;
}
.news-img.ph::after{
  content: "📰";
  position:absolute;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 28px;
  opacity: .45;
}

.news-body{
  padding: 12px 12px 12px 0;
  min-width: 0;
  flex: 1;
}
.news-title{
  margin: 0;
  font-weight: 900;
  color: var(--deep);
  font-size: 14px;
  line-height: 1.32;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.news-desc{
  margin: 6px 0 0;
  font-size: 12px;
  color: color-mix(in srgb, var(--deep) 55%, white);
  line-height: 1.42;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.news-meta{
  margin-top: 10px;
  display:flex;
  align-items:center;
  gap: 8px;
  font-size: 10px;
  font-weight: 900;
  color: var(--pink);
  flex-wrap: wrap;
}
.news-meta .material-symbols-rounded{font-size: 14px}

/* ====== Responsive ====== */
@media (max-width: 520px){
  .auth-card{
    padding: 28px 20px;
  }

  .h1{
    font-size: 38px;
  }

  .ocr-grid{
    grid-template-columns: 1fr;
  }

  .news-card{
    flex-direction: column;
  }

  .news-img{
    width: 100%;
    height: 170px;
  }

  .news-body{
    padding: 0 12px 12px;
  }

  .footer-btn.dual{
    flex-direction: column;
  }

  .fab{
    width: 68px;
    height: 68px;
    border-radius: 24px;
  }
}