/* Lekha – mobile-first styles */
:root {
  color-scheme: light;
  --navy-900: #0b1b33;
  --navy-800: #13294b;
  --navy-600: #1f4f8a;
  --teal: #0f9d8a;
  --teal-600: #0b8574;
  --teal-50: #e7f6f3;
  --amber: #f5a524;
  --ink: #142033;
  --muted: #5d6b80;
  --line: #e2e7ef;
  --bg: #f2f5f9;
  --card: #ffffff;
  --danger: #d1344b;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 32, 64, .06), 0 6px 18px rgba(16, 32, 64, .07);
  --dock-h: 128px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-tap-highlight-color: transparent;
}
button, input, textarea, select { font: inherit; color: inherit; }
input, textarea {
  font-size: 16px; /* no zoom on focus */
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fbfcfe;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
textarea { resize: vertical; line-height: 1.35; }
input:focus, textarea:focus { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(15, 157, 138, .16); }
input[readonly] { background: var(--teal-50); border-color: #cdebe5; color: var(--teal-600); font-weight: 700; }
input.num { text-align: center; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; padding: 0 18px; border-radius: 14px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; background: #fff; text-decoration: none;
}
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--teal), var(--teal-600)); color: #fff; box-shadow: 0 4px 12px rgba(15, 157, 138, .3); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--navy-800); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-dashed { background: transparent; border: 1.5px dashed #b9c4d4; color: var(--navy-600); margin-top: 4px; }
.btn:active, .bottom-bar button:active, .chip:active { transform: scale(.97); }
.icon-btn {
  width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .12);
  display: inline-grid; place-items: center; cursor: pointer; color: #fff;
}
.icon-btn svg { width: 22px; height: 22px; fill: currentColor; }
.icon-btn-dark { background: transparent; color: var(--muted); }

/* ---------- app bar ---------- */
.appbar {
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--navy-600) 100%);
  color: #fff; padding: calc(8px + env(safe-area-inset-top)) 14px 14px;
  border-radius: 0 0 22px 22px; box-shadow: 0 6px 20px rgba(11, 27, 51, .25);
}
.appbar-top { display: flex; align-items: center; justify-content: space-between; }
.appbar-actions { display: flex; gap: 8px; }
.wordmark { display: flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .3px; font-size: 15px; opacity: .92; }
.wordmark img { border-radius: 7px; }
.profile-switch {
  margin-top: 8px; width: 100%; display: flex; align-items: center; gap: 10px; text-align: left;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: #fff;
  border-radius: 14px; padding: 10px 12px; min-height: 56px; cursor: pointer;
}
.profile-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; background: #fff; }
.profile-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.profile-org { font-weight: 800; font-size: 17px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-sub { font-size: 12.5px; opacity: .78; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chev { width: 22px; height: 22px; fill: #fff; opacity: .85; flex: 0 0 auto; }

/* ---------- layout ---------- */
.app { max-width: 720px; margin: 0 auto; padding: 14px 12px calc(var(--dock-h) + 24px + env(safe-area-inset-bottom)); }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; min-width: 0; }
.field > span { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.field > span em { font-style: normal; text-transform: none; color: var(--teal-600); background: var(--teal-50); padding: 1px 6px; border-radius: 6px; margin-left: 4px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 8px; }
.span2 { grid-column: span 2; }

.head-preview {
  display: flex; flex-direction: column; align-items: center; width: 100%; text-align: center;
  border: 0; background: linear-gradient(180deg, #f6f8fc, #fff); border-radius: 12px; padding: 12px 8px 10px;
  margin-bottom: 12px; cursor: pointer; border-bottom: 1px dashed var(--line);
}
.hp-org { font-weight: 800; font-size: 16px; color: var(--navy-800); }
.hp-address { font-size: 13px; color: var(--muted); white-space: pre-line; margin-top: 2px; }
.hp-title { font-weight: 700; font-size: 14px; margin-top: 6px; letter-spacing: .3px; }
.hp-edit { font-size: 12px; color: var(--teal-600); font-weight: 600; margin-top: 6px; }

.date-wrap { display: flex; gap: 8px; align-items: stretch; }
.date-wrap input[type="text"] { flex: 1; }
.cal-btn {
  position: relative; flex: 0 0 48px; width: 48px; min-height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy-800); color: #fff; cursor: pointer; overflow: hidden;
}
.cal-btn svg { width: 22px; height: 22px; fill: currentColor; pointer-events: none; }
.cal-btn input[type="date"] {
  position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; cursor: pointer;
}
.cal-btn input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }

.note { font-size: 13px; color: var(--muted); background: #fff8e8; border: 1px solid #f6e2b4; border-radius: 12px; padding: 10px 12px; margin: 0 0 14px; line-height: 1.45; }

/* ---------- sections & row cards ---------- */
.section { margin-bottom: 16px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 4px 8px; }
.section-head h2 { margin: 0; font-size: 16px; color: var(--navy-800); }
.count { color: var(--muted); font-weight: 600; font-size: 14px; }
.subtotal { font-weight: 800; color: var(--navy-600); }
.rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.empty { text-align: center; color: var(--muted); font-size: 14px; padding: 14px; background: #fff; border-radius: 14px; margin: 0; }
.row-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border-left: 4px solid var(--teal); overflow: hidden; }
.row-card.expense { border-left-color: var(--amber); padding: 12px 12px 4px; }
.row-card.flash { animation: flash 1.2s ease; }
@keyframes flash { 0% { box-shadow: 0 0 0 3px rgba(15, 157, 138, .55); } 100% { box-shadow: var(--shadow); } }
.rc-head { display: flex; align-items: center; gap: 10px; padding: 10px 8px 10px 12px; min-height: 60px; cursor: pointer; }
.rc-num { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--teal-50); color: var(--teal-600); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.rc-sum { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rc-route { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-meta { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-amt { font-weight: 800; color: var(--navy-800); white-space: nowrap; }
.rc-body { display: none; padding: 4px 12px 6px; border-top: 1px solid var(--line); padding-top: 12px; }
.row-card.open .rc-body { display: block; }
.del-btn { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; border: 0; background: #fdecef; color: var(--danger); display: grid; place-items: center; cursor: pointer; }
.del-btn svg { width: 20px; height: 20px; fill: currentColor; }
.chips { display: flex; gap: 8px; margin-bottom: 8px; }
.chip {
  flex: 1; min-height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700;
  cursor: pointer; color: var(--navy-800);
}
.chip small { font-weight: 600; color: var(--muted); }
.chip.on { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chip.on small { color: #bcd0ee; }
.amount-field input { text-align: right; font-size: 18px; }
.exp-line { display: flex; gap: 8px; align-items: flex-end; }
.exp-desc { flex: 1; }
.exp-amt { flex: 0 0 104px; }
.exp-amt input { text-align: right; font-weight: 700; }
.exp-line .del-btn { margin-bottom: 11px; height: 46px; }
.exp-more { margin: 0 0 8px; }
.exp-more summary { font-size: 13px; color: var(--muted); cursor: pointer; padding: 6px 0; min-height: 32px; }

/* ---------- totals ---------- */
.total-card { padding: 0; overflow: hidden; }
.total-line { display: flex; justify-content: space-between; align-items: center; padding: 16px; font-weight: 800; font-size: 18px; background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: #fff; }
.total-amt { font-size: 22px; }
.sign-line { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px 22px; font-size: 13px; color: var(--muted); }
.more-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.more-actions .btn { flex: 1; }
.status { min-height: 1.2em; font-size: 12.5px; color: var(--muted); margin: 10px 4px 0; }
.privacy { font-size: 12.5px; margin: 6px 4px; }

/* ---------- install card ---------- */
.install-card { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: var(--radius); padding: 12px; margin-bottom: 14px; box-shadow: var(--shadow); border: 1px solid #d5ece7; }
.install-text { flex: 1; display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.install-text strong { color: var(--navy-800); font-size: 15px; }

/* ---------- bottom dock ---------- */
.bottom-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 0 10px calc(10px + env(safe-area-inset-bottom)); pointer-events: none; }
.dock-total, .bottom-bar { pointer-events: auto; max-width: 700px; margin: 0 auto; }
.dock-total {
  display: flex; justify-content: space-between; align-items: center; background: var(--navy-900); color: #fff;
  border-radius: 14px 14px 0 0; padding: 8px 16px; font-size: 13px; width: calc(100% - 24px);
}
.dock-total strong { font-size: 17px; color: #7ff0dc; }
.bottom-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: #fff; border-radius: 18px; padding: 6px;
  box-shadow: 0 -2px 24px rgba(11, 27, 51, .18);
}
.bottom-bar button {
  min-height: 60px; border: 0; border-radius: 13px; background: transparent; color: var(--navy-800); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 12.5px; font-weight: 700;
}
.bottom-bar svg { width: 24px; height: 24px; fill: currentColor; }
.bottom-bar .bar-save { background: var(--teal-50); color: var(--teal-600); }
.bottom-bar .bar-primary { background: linear-gradient(135deg, var(--teal), var(--teal-600)); color: #fff; }

/* ---------- sheets / panels ---------- */
.scrim { position: fixed; inset: 0; background: rgba(8, 18, 36, .45); z-index: 40; }
.sheet-panel {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-radius: 22px 22px 0 0;
  padding: 8px 16px calc(18px + env(safe-area-inset-bottom)); max-height: 82vh; overflow: auto; max-width: 720px; margin: 0 auto;
  transform: translateY(100%); transition: transform .22s ease;
}
.sheet-panel.tall { max-height: 92vh; }
.sheet-panel.show { transform: translateY(0); }
.sheet-panel h3 { margin: 6px 0 4px; color: var(--navy-800); }
.sheet-panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.grab { width: 44px; height: 5px; border-radius: 3px; background: #d6dce6; margin: 4px auto 10px; }
.menu-item { display: flex; flex-direction: column; align-items: flex-start; width: 100%; text-align: left; border: 0; background: none; padding: 13px 6px; min-height: 52px; font-size: 16px; font-weight: 600; cursor: pointer; border-radius: 10px; }
.menu-item small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.menu-item:active { background: var(--bg); }
.panel-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px; }
.panel-actions .btn { flex: 1; }
.profile-list, .history-list { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.profile-item, .history-item { border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; }
.profile-item.on { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15, 157, 138, .12); }
.pi-main { display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: none; padding: 12px; text-align: left; cursor: pointer; min-height: 60px; }
.pi-main img, .pi-badge { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; flex: 0 0 40px; }
.pi-badge { background: var(--navy-800); color: #fff; display: grid; place-items: center; font-weight: 800; }
.pi-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pi-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pi-text small, .hi-text small { color: var(--muted); font-size: 12.5px; }
.pi-check { color: var(--teal-600); font-weight: 800; font-size: 20px; }
.pi-actions, .hi-actions { display: flex; border-top: 1px solid var(--line); }
.pi-actions button, .hi-actions button { flex: 1; min-height: 44px; border: 0; background: #f8fafc; font-weight: 600; color: var(--navy-600); cursor: pointer; }
.pi-actions button + button, .hi-actions button + button { border-left: 1px solid var(--line); }
.danger { color: var(--danger) !important; }
.hi-text { padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.logo-row img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: #fff; }

/* ---------- modal & toast ---------- */
.modal { position: fixed; inset: 0; z-index: 70; background: rgba(8, 18, 36, .5); display: grid; place-items: center; padding: 20px; }
.modal-card { background: #fff; border-radius: 20px; padding: 20px; width: 100%; max-width: 400px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.modal-card h3 { margin: 0 0 8px; color: var(--navy-800); }
.modal-card p { margin: 0 0 16px; color: var(--muted); line-height: 1.45; }
.modal-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1; }
.toast {
  position: fixed; left: 50%; bottom: calc(var(--dock-h) + 18px + env(safe-area-inset-bottom)); z-index: 80;
  transform: translate(-50%, 20px); opacity: 0; transition: all .2s ease;
  background: var(--navy-900); color: #fff; border-radius: 999px; padding: 12px 18px; font-weight: 600; font-size: 14.5px;
  display: flex; gap: 14px; align-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); white-space: nowrap;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast button { background: none; border: 0; color: #7ff0dc; font-weight: 800; min-height: 32px; cursor: pointer; text-transform: uppercase; font-size: 13px; }

/* ---------- setup ---------- */
.setup { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: linear-gradient(160deg, var(--navy-900), var(--navy-800) 50%, var(--navy-600)); }
.setup-card { width: 100%; max-width: 420px; background: #fff; border-radius: 24px; padding: 26px 20px 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); text-align: center; }
.setup-card form { text-align: left; margin-top: 16px; }
.setup-card h1 { font-size: 22px; margin: 10px 0 6px; color: var(--navy-800); }
.setup-card .btn { margin-top: 8px; }
.setup-logo { border-radius: 18px; box-shadow: 0 8px 20px rgba(19, 41, 75, .3); }
.brand-word { color: var(--teal-600); }

/* ---------- wider screens ---------- */
@media (min-width: 760px) {
  .grid2.span-wide { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- print ---------- */
.print-view { display: none; }
@media print {
  @page { size: A4 portrait; margin: 12mm; }
  body { background: #fff; }
  .shell, .setup, .sheet-panel, .scrim, .modal, .toast { display: none !important; }
  .print-view { display: block; font-family: Arial, Helvetica, sans-serif; color: #000; font-size: 10pt; }
  .pv-logo { display: block; max-height: 48px; margin: 0 auto 4px; }
  .pv-org, .pv-title { text-align: center; font-weight: 700; }
  .pv-addr { text-align: center; white-space: pre-line; }
  .pv-title { margin-bottom: 6px; }
  .print-view table { width: 100%; border-collapse: collapse; }
  .print-view th, .print-view td { border: 1px solid #000; padding: 3px 4px; text-align: left; vertical-align: top; }
  .pv-head { border-bottom: 0; }
  .pv-rows th { font-weight: 700; }
  .print-view .c { text-align: center; }
  .print-view .r { text-align: right; }
}

/* Auto (auto-rickshaw) amount – prints in the "Auto" row after the expenses */
.auto-field { margin-top: 12px; background: var(--card, #fff); border: 1px solid #f3d9a4; border-radius: 14px; padding: 12px 14px; }
.auto-field > span small { display: block; margin-top: 2px; font-size: 11px; font-weight: 500; text-transform: none; letter-spacing: 0; }
.auto-field input { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- server login edition ---------- */
.boot { color: #fff; text-align: center; }
.boot-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.boot-inner p { margin: 0; opacity: .9; font-weight: 600; max-width: 300px; line-height: 1.45; }
.login-card h1 { margin-top: 12px; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 70px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: var(--teal-50); color: var(--teal-600); font-weight: 700; font-size: 13px; border-radius: 9px; min-height: 34px; padding: 0 10px; cursor: pointer; }
.form-error { margin: 2px 0 6px; color: var(--danger); background: #fdecef; border-radius: 10px; padding: 9px 12px; font-size: 14px; font-weight: 600; text-align: left; }
.login-foot { display: flex; gap: 8px; align-items: flex-start; text-align: left; margin: 16px 2px 0; line-height: 1.4; }
.login-foot svg { width: 16px; height: 16px; flex: 0 0 16px; fill: var(--muted); margin-top: 1px; }
.small { font-size: 13px; }
.view-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--amber); color: #3a2600; padding: calc(6px + env(safe-area-inset-top)) 12px 6px; font-size: 13.5px; min-height: 40px; }
.view-banner button { border: 0; background: #3a2600; color: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 12.5px; cursor: pointer; white-space: nowrap; }
body.viewing .appbar { top: 40px; }
body.viewing .shell, body.viewing .setup { padding-top: 40px; }
.account-chip { display: flex; align-items: center; gap: 10px; padding: 6px 6px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.ac-badge, .uc-badge { width: 38px; height: 38px; border-radius: 12px; background: var(--navy-800); color: #fff; display: grid; place-items: center; font-weight: 800; flex: 0 0 38px; }
.ac-text, .uc-text { display: flex; flex-direction: column; min-width: 0; }
.ac-text small, .uc-text small { color: var(--muted); font-size: 12.5px; }
.ad-box { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px; margin: 12px 0; background: #fbfcfe; }
.ad-title { display: block; margin-bottom: 8px; color: var(--navy-800); }
.field > span small { text-transform: none; font-weight: 500; letter-spacing: 0; }
.ad-head { margin-top: 6px; }
.ad-users { display: flex; flex-direction: column; gap: 10px; }
.user-card { border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; }
.user-card.off { opacity: .65; }
.uc-main { display: flex; gap: 12px; align-items: center; padding: 12px; }
.uc-text b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.tag { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 8px; background: var(--bg); color: var(--navy-600); }
.tag.admin { background: var(--navy-800); color: #fff; }
.tag.warn { background: #fff4dc; color: #8a5a00; }
.tag.off { background: #fdecef; color: var(--danger); }
.uc-actions { display: flex; border-top: 1px solid var(--line); }
.uc-actions button { flex: 1; min-height: 44px; border: 0; background: #f8fafc; font-weight: 600; color: var(--navy-600); cursor: pointer; font-size: 14px; }
.uc-actions button + button { border-left: 1px solid var(--line); }
.ad-audit { margin-top: 14px; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.ad-audit summary { font-weight: 700; cursor: pointer; color: var(--navy-800); }
.audit-row { font-size: 12.5px; padding: 7px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 1px; }
.audit-row b { color: var(--navy-800); }
.audit-row small { color: var(--muted); }
.secret-box { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 18px; font-weight: 700; letter-spacing: .5px; background: var(--teal-50); color: var(--navy-900); border-radius: 12px; padding: 12px; margin: 8px 0 4px; user-select: all; word-break: break-all; }
.sync-bad { color: var(--danger) !important; font-weight: 600; }
.sync-ok { color: var(--teal-600) !important; }
/* ---------- forgot password (email code) ---------- */
.link-btn { display: block; width: 100%; margin: 12px 0 0; border: 0; background: transparent; color: var(--teal-600); font-weight: 700; font-size: 14.5px; min-height: 40px; cursor: pointer; text-align: center; }
.link-btn:disabled { color: var(--muted); cursor: default; font-weight: 600; }
.form-info { margin: 0 0 10px; color: var(--navy-800); background: var(--teal-50); border-radius: 10px; padding: 10px 12px; font-size: 14px; line-height: 1.45; text-align: left; }
.form-ok { margin: 6px 0 14px; color: #0f5b3a; background: #e3f6ec; border-radius: 10px; padding: 12px; font-size: 14.5px; font-weight: 600; line-height: 1.45; text-align: left; }
.otp-input { font-size: 24px !important; letter-spacing: 8px; text-align: center; font-variant-numeric: tabular-nums; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.uc-text small.uc-email { color: var(--navy-600); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-text small.uc-email.none { color: var(--muted); font-style: italic; }
.uc-actions button { font-size: 13.5px; padding: 0 4px; }
