/* Design tokens — from the "CV Tracker Redesign" Claude Design canvas. */
:root {
  --bg: #F2F4F3;
  --surface: #FFFFFF;
  --surface-2: #F2F4F3;
  --track: #EEF1F0;
  --line: #E3E8E6;
  --ink: #0E1A16;
  --ink-2: #3B4A44;
  --muted: #56655F;
  --faint: #8A9590;

  --brand: #0B5D4B;
  --on-brand: #FFFFFF;
  --hero: #0B3D33;
  --hero-2: #134B3F;
  --hero-chip: #1A5A4C;
  --hero-muted: #A9D3C6;
  --mint: #5EE0B8;
  --mint-ink: #0B3D33;
  --coral: #FF8F84;
  --pos: #0B7A55;
  --neg: #C2412D;
  --nav: #0E1A16;
  --nav-muted: #A3B1AB;
  --funnel-1: #B8E8D8;
  --funnel-2: #3FA88A;

  --st-new-bg: #E4EDFF;     --st-new-fg: #1F4BB8;
  --st-contacted-bg: #FFF1D6; --st-contacted-fg: #8A5300;
  --st-paid-bg: #DDF5EA;    --st-paid-fg: #0B6B4A;
  --st-lost-bg: #ECEFEE;    --st-lost-fg: #56655F;
  --wa-bg: #E6F6EF;

  --display: "Space Grotesk", system-ui, sans-serif;
  --text: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --nav-h: 68px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1310;
    --surface: #141D19;
    --surface-2: #1B2621;
    --track: #24302B;
    --line: #26332D;
    --ink: #E8EFEC;
    --ink-2: #C3CFCA;
    --muted: #93A39C;
    --faint: #6E7D77;
    --brand: #5EE0B8;
    --on-brand: #0B3D33;
    --hero: #10372F;
    --hero-2: #17463B;
    --pos: #4FD8A4;
    --neg: #FF8F84;
    --nav: #1B2621;
    --funnel-1: #1F5446;
    --funnel-2: #2F9476;
    --st-new-bg: #1E2F5C;      --st-new-fg: #B9CCFF;
    --st-contacted-bg: #4A3510; --st-contacted-fg: #FFD58A;
    --st-paid-bg: #123F30;     --st-paid-fg: #8DEBC4;
    --st-lost-bg: #26302C;     --st-lost-fg: #A3B1AB;
    --wa-bg: #123F30;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.45 var(--text); }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
a { color: var(--brand); }
.display { font-family: var(--display); letter-spacing: -0.02em; }
.num { font-family: var(--display); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.pos { color: var(--pos); }
.neg { color: var(--neg); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---- Buttons & fields ---- */
.btn {
  height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
}
.btn-primary { background: var(--brand); color: var(--on-brand); border-color: transparent; }
.btn-dark { background: var(--ink); color: var(--bg); border-color: transparent; }
.btn-danger { color: var(--neg); }
.btn-block { width: 100%; height: 52px; border-radius: 16px; font-size: 16px; }
.btn-ghost { border: 0; background: transparent; color: var(--brand); }
.icon-btn {
  width: 44px; height: 44px; border-radius: 14px; border: 0; background: transparent; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.icon-btn svg, .btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 400;
}
.field textarea { min-height: 84px; resize: vertical; }
.form-error { color: var(--neg); min-height: 1.2em; font-size: 14px; }

/* ---- Login ---- */
.login { min-height: 100dvh; display: grid; place-items: center; padding: 16px; }
.login-card {
  width: min(380px, 100%); background: var(--surface); border-radius: 24px; padding: 32px 24px;
  display: grid; gap: 16px;
}
.login-card img { justify-self: center; }
.login-card h1 { text-align: center; font-size: 24px; }

/* ---- Shell ---- */
#app { max-width: 560px; margin: 0 auto; }
.view {
  display: flex; flex-direction: column; gap: 16px;
  padding: 0 20px calc(var(--nav-h) + 48px + env(safe-area-inset-bottom));
}
.view > * { min-width: 0; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 20px; }
.head .eyebrow { font-size: 13px; font-weight: 500; color: var(--muted); }
.head h1 { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.head-meta { font-size: 13px; color: var(--muted); padding-bottom: 6px; white-space: nowrap; }
.head-meta strong { font-family: var(--display); font-size: 15px; color: var(--ink); }
.avatar-btn {
  width: 44px; height: 44px; border-radius: 22px; border: 0; background: var(--brand); color: var(--on-brand);
  font-family: var(--display); font-weight: 700; font-size: 15px; flex: none;
}

.tabbar {
  position: fixed; z-index: 10; left: 50%; transform: translateX(-50%);
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: min(536px, calc(100% - 24px)); height: var(--nav-h);
  background: var(--nav); border-radius: 24px; padding: 0 6px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center;
  box-shadow: 0 8px 24px rgb(14 26 22 / 0.18);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; gap: 3px; height: 100%; justify-content: center;
  color: var(--nav-muted); text-decoration: none; font-size: 11px; font-weight: 600;
}
.tabbar a[aria-current="page"] { color: var(--mint); }
.tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tab-add {
  justify-self: center; width: 52px; height: 52px; border-radius: 18px; border: 0;
  background: var(--mint); color: var(--mint-ink); display: flex; align-items: center; justify-content: center;
}
.tab-add svg { width: 24px; height: 24px; stroke-width: 2.5; }

/* ---- Segmented controls ---- */
.seg-row { display: flex; gap: 8px; align-items: center; }
.seg {
  flex: 1; padding: 4px; background: var(--line); border-radius: 14px;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px;
}
.seg button {
  height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--muted);
  font-size: 14px; font-weight: 600; white-space: nowrap;
}
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(14 26 22 / 0.12); }
.seg-row .icon-btn { background: var(--line); color: var(--muted); width: 48px; height: 48px; }
.seg-row .icon-btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.custom-range { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; }
.custom-range input { flex: 1; min-height: 40px; padding: 6px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }

/* ---- Cards ---- */
.card { background: var(--surface); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card h2 { font-size: 15px; font-weight: 600; }

.hero { background: var(--hero); color: #FFFFFF; border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.hero-label { font-size: 13px; font-weight: 500; color: var(--hero-muted); }
.hero-value { display: block; font-family: var(--display); font-size: clamp(36px, 11vw, 44px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-top: 4px; }
.hero-chip { background: var(--hero-chip); color: #CFF5E8; font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.hero-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hero-tile { background: var(--hero-2); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hero-tile .k { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--hero-muted); }
.hero-tile .v { font-family: var(--display); font-size: 22px; font-weight: 600; overflow-wrap: anywhere; }
.hero-tile .s { font-size: 12px; color: var(--hero-muted); }
.dot { width: 8px; height: 8px; border-radius: 4px; display: inline-block; flex: none; }

.funnel-row { display: flex; flex-direction: column; gap: 6px; }
.funnel-row .lbl { display: flex; justify-content: space-between; font-size: 13px; }
.funnel-row .lbl span:first-child { color: var(--ink-2); font-weight: 500; }
.funnel-row .lbl span:last-child { font-family: var(--display); font-weight: 600; }
.bar-track { height: 10px; background: var(--track); border-radius: 5px; overflow: hidden; }
.bar-track > div { height: 100%; border-radius: 5px; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile { background: var(--surface); border-radius: 16px; padding: 14px 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tile .k { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.tile .v { font-family: var(--display); font-size: 19px; font-weight: 600; overflow-wrap: anywhere; }

.legend { display: flex; gap: 12px; font-size: 12px; color: var(--muted); }
.legend span { display: flex; align-items: center; gap: 5px; }
.legend i { width: 8px; height: 8px; border-radius: 2px; }
.chart { height: 150px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; align-items: end; border-bottom: 1px solid var(--line); }
.chart .day { display: flex; justify-content: center; align-items: flex-end; gap: 2px; height: 100%; }
.chart .day div { width: min(12px, 40%); border-radius: 4px 4px 1px 1px; min-height: 2px; }
.chart-labels { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; margin-top: -6px; }
.chart-labels span { text-align: center; font-size: 11px; color: var(--muted); font-weight: 500; white-space: nowrap; overflow: visible; }

.rows { background: var(--surface); border-radius: 20px; padding: 6px 18px; display: flex; flex-direction: column; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--track); }
.row:last-child { border-bottom: 0; }
.row .l { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.row .r { display: flex; flex-direction: column; gap: 2px; align-items: flex-end; flex: none; }
.row .t { font-size: 14px; font-weight: 600; }
.row .m { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .amt { font-family: var(--display); font-size: 15px; font-weight: 600; }
.row .sub { font-size: 12px; font-weight: 600; }

.export { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--muted); }
.export .btn { height: 36px; font-size: 13px; }

/* ---- Leads ---- */
.search {
  height: 48px; background: var(--surface); border-radius: 14px; border: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px; padding: 0 14px;
}
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; }
.filters { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px; padding: 0 20px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button {
  flex: none; height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
}
.filters button span { font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--track); color: var(--muted); }
.filters button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filters button[aria-selected="true"] span { background: rgb(255 255 255 / 0.14); color: var(--mint); }

.list { display: flex; flex-direction: column; gap: 10px; }
.lead-card { background: var(--surface); border-radius: 18px; padding: 12px; display: flex; align-items: center; gap: 12px; }
.lead-card .main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: var(--ink); }
.lead-card .side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.lead-card .name { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lead-card .meta { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lead-card .amt { font-family: var(--display); font-size: 15px; font-weight: 600; flex: none; }
.lead-card .amt.paid { color: var(--st-paid-fg); }
.lead-card .amt.lost { color: var(--faint); text-decoration: line-through; }
.avatar {
  width: 44px; height: 44px; flex: none; border-radius: 14px; color: #FFFFFF;
  display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 15px;
}
.avatar.lg { width: 72px; height: 72px; border-radius: 24px; font-size: 26px; }
.avatar.sm { width: 36px; height: 36px; border-radius: 12px; font-size: 13px; }
.wa-btn { width: 44px; height: 44px; border-radius: 14px; background: var(--wa-bg); color: var(--pos); display: flex; align-items: center; justify-content: center; flex: none; }
.wa-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pill { flex: none; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.pill.new { background: var(--st-new-bg); color: var(--st-new-fg); }
.pill.contacted { background: var(--st-contacted-bg); color: var(--st-contacted-fg); }
.pill.paid { background: var(--st-paid-bg); color: var(--st-paid-fg); }
.pill.lost { background: var(--st-lost-bg); color: var(--st-lost-fg); }
.empty { background: var(--surface); border-radius: 18px; padding: 32px 20px; text-align: center; color: var(--muted); font-size: 14px; }

/* ---- Entry cards (money / ads) ---- */
.total-card { flex-direction: row; justify-content: space-between; align-items: center; }
.total-card .v { font-family: var(--display); font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.day-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); font-weight: 600; padding: 4px 4px 0; }
.entry { background: var(--surface); border-radius: 16px; padding: 14px 16px; border: 0; width: 100%; text-align: left; display: flex; align-items: center; gap: 12px; color: var(--ink); }
.entry .l { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.entry .t { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.entry .m { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.entry .amt { font-family: var(--display); font-size: 16px; font-weight: 600; }

/* ---- Lead detail ---- */
.detail-top { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; margin: 0 -8px; }
.profile { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.profile h1 { font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.profile p { font-size: 14px; color: var(--muted); }
.actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.action {
  height: 72px; border-radius: 18px; background: var(--surface); color: var(--ink); text-decoration: none; border: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 600;
}
.action svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.action.wa { color: var(--pos); }
.action.primary { background: var(--brand); color: var(--on-brand); }
.action[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }
.stepper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.stepper div { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 500; }
.stepper i { height: 6px; border-radius: 3px; background: var(--line); }
.stepper .done i { background: var(--brand); }
.stepper .done { color: var(--brand); font-weight: 600; }
.stepper .current { color: var(--ink); font-weight: 700; }
.stepper.lost i { background: var(--line); }
.status-actions { display: flex; gap: 8px; }
.status-actions .btn:first-child { flex: 1; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--track); font-size: 14px; }
.kv:last-child { border-bottom: 0; }
.kv span:first-child { color: var(--muted); }
.kv span:last-child { font-weight: 600; text-align: right; }
.timeline { display: flex; flex-direction: column; }
.tl { display: flex; gap: 12px; }
.tl .rail { display: flex; flex-direction: column; align-items: center; }
.tl .rail b { width: 10px; height: 10px; border-radius: 5px; margin-top: 4px; flex: none; }
.tl .rail i { flex: 1; width: 2px; background: var(--line); margin-top: 4px; }
.tl:last-child .rail i { display: none; }
.tl .body { display: flex; flex-direction: column; gap: 2px; padding-bottom: 16px; }
.tl:last-child .body { padding-bottom: 0; }
.tl .t { font-size: 14px; font-weight: 600; }
.tl .m { font-size: 13px; color: var(--muted); }
.notes { font-size: 14px; line-height: 1.5; color: var(--ink-2); white-space: pre-wrap; }

/* ---- Sheets ---- */
.sheet {
  border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 560px; max-height: 94dvh;
  border-radius: 24px 24px 0 0; background: var(--surface); color: var(--ink);
}
.sheet.full { height: 100dvh; max-height: 100dvh; border-radius: 0; }
@media (min-width: 640px) {
  .sheet { margin: auto; border-radius: 24px; }
  .sheet.full { height: min(860px, 94dvh); max-height: 94dvh; border-radius: 24px; }
}
.sheet::backdrop { background: rgb(14 26 22 / 0.45); }
.sheet-body { display: flex; flex-direction: column; gap: 14px; padding: 16px 20px calc(20px + env(safe-area-inset-bottom)); min-height: 100%; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sheet-head h2 { font-family: var(--display); font-size: 20px; font-weight: 700; }
.sheet-head .icon-btn { margin-left: -10px; }
.sheet .seg { flex: none; background: var(--surface-2); }
.sheet .seg button { height: 36px; padding: 0 12px; font-size: 13px; }
.sheet .seg button[aria-selected="true"] { background: var(--surface); }
@media (prefers-color-scheme: dark) { .sheet .seg button[aria-selected="true"] { background: var(--track); } }

.amount { display: flex; flex-direction: column; align-items: center; gap: 6px; padding-top: 4px; }
.amount span { font-size: 13px; font-weight: 600; color: var(--muted); }
.amount output { font-family: var(--display); font-size: clamp(44px, 14vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.amount output.spend { color: var(--neg); }
.quick { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.quick button { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 600; }
.panel { background: var(--surface-2); border-radius: 18px; display: flex; flex-direction: column; }
.panel > * { border-bottom: 1px solid var(--line); }
.panel > *:last-child { border-bottom: 0; }
.panel-row { display: flex; align-items: center; gap: 10px; padding: 8px 14px; min-height: 56px; }
.panel-row > .k { font-size: 13px; color: var(--muted); font-weight: 500; margin-right: auto; white-space: nowrap; }
.panel-row input, .panel-row select {
  border: 0; background: transparent; color: var(--ink); font-size: 15px; font-weight: 600; min-width: 0; outline: 0;
}
.panel-row input:focus-visible, .panel-row select:focus-visible { outline: 2px solid var(--brand); border-radius: 8px; }
.panel-row input[type="text"], .panel-row input[type="tel"] { flex: 1; text-align: right; font-weight: 500; }
.panel-row select { flex: 1; text-align: right; text-align-last: right; appearance: none; padding-right: 2px; }
.panel-row .chev { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.chips { display: flex; gap: 6px; }
.chips button { height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 600; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.keypad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: auto; }
.keypad button { height: 56px; border: 0; border-radius: 16px; background: var(--surface-2); color: var(--ink); font-family: var(--display); font-size: 22px; font-weight: 600; }
.keypad button:active { background: var(--line); }
.keypad svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sheet-foot { display: flex; gap: 10px; }
.sheet-foot .btn-block { flex: 1; }
.sheet-foot .btn-danger { height: 52px; border-radius: 16px; }
.form-grid { display: flex; flex-direction: column; gap: 14px; }
.form-grid .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.menu { display: flex; flex-direction: column; gap: 8px; }
.menu button { height: 56px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface-2); text-align: left; padding: 0 16px; font-weight: 600; display: flex; align-items: center; gap: 12px; }

.toast {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 30;
  bottom: calc(var(--nav-h) + 32px + env(safe-area-inset-bottom));
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 12px;
  font-weight: 600; font-size: 14px; max-width: calc(100% - 32px);
}
