/* Logged-in screens: boot loader, onboarding, dashboard, settings. */

/* tap targets ≥ 44px without changing the look */
a.sync-pill { position: relative; }
a.sync-pill::after { content: ''; position: absolute; inset: -6px -2px; }
.kv-card .text-link { min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; margin-right: -4px; }
.bars { touch-action: none; cursor: pointer; border-radius: 6px; }

/* ===================== 402 Upgrade (AICV) ===================== */
.up { padding-top: var(--s4); }
.up-tag { align-self: flex-start; margin-bottom: var(--s4); }
.up-title { font-size: 38px; line-height: 1.02; font-weight: 900; letter-spacing: -.035em; }
.up-sub { font-size: 17px; color: var(--ink-2); margin: var(--s3) 0 var(--s6); }
.up-proof { margin-top: var(--s7); padding: 14px 16px; background: var(--accent-soft); border-color: transparent; }
.up-proof-row { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.up-proof-row .num { font-size: 26px; color: var(--ink); }
.up-list { padding: 4px 14px; margin-top: var(--s3); }
.up-proof[hidden] + .up-list { margin-top: var(--s7); }
.up-list li { display: flex; gap: 12px; align-items: center; min-height: 64px; padding: 10px 0; font-size: 14px; color: var(--muted); }
.up-list li + li { border-top: 1.5px solid var(--line-soft); }
.up-list b { display: block; font-size: 16px; color: var(--ink); }
.up-close { margin: var(--s7) 0 var(--s5); padding: 20px 16px 16px; }
.up-close h2 { font-size: 26px; font-weight: 900; letter-spacing: -.03em; margin-bottom: var(--s4); }

/* Boot: shown until shell.js confirms the session. Says what it is loading. */
#boot { position: fixed; inset: 0; z-index: 40; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: var(--s5); }
.boot-line { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.boot-err { width: 100%; max-width: 400px; }
.boot-err b { font-size: 21px; font-weight: 900; display: block; }
.boot-err p { color: var(--ink-2); margin: 6px 0 20px; }

.page-main { flex: 1; padding: var(--s3) 0 var(--s6); display: flex; flex-direction: column; }
.page-head { margin-bottom: var(--s5); }
.page-sub { font-size: 16px; color: var(--ink-2); margin-top: var(--s2); }
.step-tag { display: inline-block; margin-bottom: var(--s3); }

/* onboarding progress */
.steps { display: flex; gap: 6px; margin: var(--s1) 0 var(--s5); }
.steps i { flex: 1; height: 4px; border-radius: 2px; background: var(--surface-2); }
.steps i.on { background: var(--ink); }

/* anti-abuse notice on sync */
.notice { display: flex; gap: 12px; padding: 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); }
.notice .icon { color: var(--accent-press); margin-top: 1px; }
[data-theme="dark"] .notice .icon { color: var(--accent); }
.notice b { display: block; font-size: 15px; }
.notice p { font-size: 14px; color: var(--ink-2); margin-top: 3px; }

.trust { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); margin-top: var(--s4); }
.trust .icon { width: 16px; height: 16px; }

/* synced success */
.synced-card { margin: var(--s5) 0 var(--s6); }
.synced-card .kv { display: flex; justify-content: space-between; align-items: center; min-height: 44px; font-size: 15px; }
.synced-card .kv + .kv { border-top: 1.5px solid var(--line-soft); }
.synced-card .kv span:first-child { color: var(--muted); }
.synced-card .kv span:last-child { font-weight: 700; }

/* rules: one grouped card, sections split by hairlines */
.filters { padding: 0 var(--s4); }
.f-group { padding: var(--s4) 0; }
.f-group + .f-group { border-top: 1.5px solid var(--line-soft); }
.f-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s3); }
.f-name { font-weight: 700; font-size: 16px; display: block; }
.f-meta { font: 500 12px/1.2 var(--font-mono); color: var(--muted); }
.f-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.f-row .stepper { width: 148px; flex: none; }
.f-group .field-error { margin-top: 10px; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.pair .t-label { display: block; margin-bottom: 6px; }

/* compact stepper with a typeable value */
.stepper-sm { height: 48px; }
.stepper-sm button { width: 44px; min-width: 44px; flex: none; font-size: 20px; }
.stepper-field { flex: 1; height: 100%; display: flex; align-items: center; justify-content: center; gap: 1px; border-left: 1.5px solid var(--line-soft); border-right: 1.5px solid var(--line-soft); font: 700 18px/1 var(--font-mono); cursor: text; }
.stepper-field .pre { color: var(--muted); }
.stepper-field input { min-width: 2ch; max-width: 7ch; border: 0; background: transparent; text-align: center; font: inherit; color: var(--ink); outline: none; padding: 0; }
.stepper-field:focus-within { background: var(--accent-soft); }

/* facilities: code + name rows */
.fac-list { display: flex; flex-direction: column; gap: var(--s2); }
.fac { display: grid; grid-template-columns: 22px auto 1fr; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; text-align: left; border-radius: 12px; border: 1.5px solid var(--line-soft); background: var(--surface); }
.fac[aria-pressed="true"] { border: 2px solid var(--line); background: var(--accent-soft); padding: 7px 13px; }
.fac .tick { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line-soft); display: grid; place-items: center; background: var(--surface); }
.fac[aria-pressed="true"] .tick { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.fac-code { font: 700 15px/1 var(--font-mono); }
.fac-name { font-size: 15px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* hours */
.select { appearance: none; -webkit-appearance: none; height: 48px; font: 700 16px/1 var(--font-mono); padding: 0 34px 0 12px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 17px) 21px, calc(100% - 12px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.chip-sm { height: 44px; font-size: 14px; padding: 0 12px; }
.chip-sm .tick { width: 18px; height: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.f-hint { font-size: 13px; color: var(--muted); margin-top: var(--s2); }

.group-label { display: block; margin: var(--s5) 0 var(--s2) 2px; }
.group-label:first-child { margin-top: 0; }

/* delivery days: 7 square toggles */
.days { display: grid; grid-template-columns: repeat(7, minmax(44px, 1fr)); gap: 2px; }
.day { height: 46px; border-radius: 10px; border: 1.5px solid var(--line-soft); background: var(--surface); font: 700 15px/1 var(--font-mono); color: var(--muted); }
.day[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* nullable max filters show "Any" */
.stepper.is-any .stepper-field { color: var(--muted); font-weight: 500; }
.stepper.is-any .pre, .stepper.is-any .suf { display: none; }
.stepper-field .suf { color: var(--muted); font-size: 13px; margin-left: 3px; }

.summary { font-size: 14px; color: var(--ink-2); padding: var(--s3) var(--s4); border-radius: 12px; background: var(--surface-2); margin: var(--s2) 0 var(--s4); }
.summary b { color: var(--ink); }

/* filters preview — shown in the sheet after saving */
.fp { display: flex; flex-direction: column; margin: -4px 0 var(--s5); border: 1.5px solid var(--line-soft); border-radius: 14px; background: var(--surface); }
.fp-row { display: grid; grid-template-columns: 60px 1fr; gap: 10px; align-items: baseline; padding: 9px 14px; }
.fp-row + .fp-row { border-top: 1.5px solid var(--line-soft); }
.fp dt { font: 500 11px/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fp dd { display: flex; flex-wrap: wrap; gap: 2px 6px; font-size: 14.5px; line-height: 1.35; font-weight: 700; color: var(--ink); }
.fp dd span:not(:last-child)::after { content: '·'; margin-left: 6px; color: var(--muted); font-weight: 400; }
.fp dd.is-any { font-weight: 500; color: var(--muted); }

/* sticky bottom action for long forms */
.action-bar { position: sticky; bottom: 0; padding: var(--s3) 0 calc(var(--s3) + env(safe-area-inset-bottom)); background: linear-gradient(to bottom, transparent, var(--bg) 24%); margin-top: var(--s2); }

/* key filters: highlighted card */
.filters-key { border: 2px solid var(--line); }
.filters-key .f-name { font-size: 17px; }
.key-label { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.key-label i { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

/* facility: code on top, address below */
.fac { grid-template-columns: 22px 1fr; }
.fac-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fac-top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.fac-top .fac-name { font-size: 14px; font-weight: 600; min-width: 0; }
.fac-addr { font-size: 13.5px; line-height: 1.3; color: var(--muted); overflow-wrap: anywhere; }
.fac[aria-pressed="true"] .fac-addr { color: var(--ink-2); }

/* per-filter icon tiles */
.f-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.f-title .f-meta { display: block; margin-top: 2px; }
.f-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; background: var(--surface-2); color: var(--ink-2); }
.f-ic .icon { width: 18px; height: 18px; }
.filters-key .f-ic { background: var(--accent-soft); color: var(--accent-press); }
[data-theme="dark"] .filters-key .f-ic { color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .filters-key .f-ic { color: var(--accent); } }
.filters-key .f-group + .f-group { border-top-style: dashed; }

/* areas + cities share one section */
.sub + .sub { margin-top: var(--s3); }
.sub-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.f-empty { font-size: 13.5px; color: var(--muted); padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }

/* collapsible "More filters" */
.more { margin-top: var(--s5); }
.more summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.more summary::-webkit-details-marker { display: none; }
.more summary .group-label { margin: 0; }
.more-count { font: 700 11px/1 var(--font-mono); padding: 4px 7px; border-radius: 6px; background: var(--ink); color: var(--bg); }
.more-count:empty { display: none; }
.more-chev { margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform .15s; }
.more[open] .more-chev { transform: rotate(-135deg) translate(-3px, -3px); }
.more .card { margin-top: var(--s1); }

/* ===================== Dashboard ===================== */
.dash { display: flex; flex-direction: column; gap: var(--s3); padding-bottom: var(--s5); }
.sync-pill { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-radius: 99px; border: 1.5px solid var(--line-soft); font: 500 12px/1 var(--font-mono); text-decoration: none; color: var(--ink); }
.sync-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }

/* trial strip */
.trial { padding: 12px 14px; }
.trial-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.trial-time { font: 700 15px/1 var(--font-mono); }
.trial.is-warn { background: var(--warn-soft); border-color: transparent; }
.trial.is-warn .t-label, .trial.is-warn .trial-time { color: var(--warn); }
.trial a { color: inherit; font-weight: 700; }

/* bot card */
.bot { padding: 18px 16px 16px; }
.bot-head { display: flex; align-items: center; gap: 10px; }
.bot-title { font-size: 30px; font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.bot-sub { color: var(--muted); font-size: 15px; margin: 6px 0 14px; }
.bot-sub b { color: var(--ink); font-family: var(--font-mono); }
.bot-meta { display: flex; justify-content: space-between; align-items: center; font: 500 12px/1 var(--font-mono); color: var(--muted); padding: 12px 0 8px; border-top: 1.5px dashed var(--line-soft); }
.bot-meta b { color: var(--ink); font-weight: 700; }
.bot .pips { margin-bottom: 16px; }
.bot.is-paused { border-color: var(--warn); }
.bot .tag-sched { margin-left: auto; }
.countdown { font: 700 30px/1 var(--font-mono); letter-spacing: -.02em; }

/* earnings */
.earn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
.stat { padding: 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat .num { font-size: clamp(17px, 5.4vw, 21px); white-space: nowrap; }
@media (max-width: 350px) { .stat { padding: 10px; } }
.num .cents { font-size: 0.7em; letter-spacing: 0; }
.stat small { font: 500 11px/1 var(--font-mono); color: var(--muted); }

/* last claim */
/* last claim: a receipt — status + time, route + pay, facts + day, one line of what it means */
.last { display: flex; flex-direction: column; gap: 8px; padding: 0 14px 12px; overflow: hidden; }
.last-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 -14px 4px; padding: 9px 14px; border-bottom: 1.5px dashed var(--line-soft); }
.last-tag { display: inline-flex; align-items: center; gap: 6px; font: 600 10.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.last-tag .icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; stroke-width: 3; background: var(--accent); color: #16140F; }
.last.is-fail .last-tag .icon { background: var(--danger-soft); color: var(--danger); stroke-width: 2.4; }
.last-ago { font: 500 11.5px/1 var(--font-mono); color: var(--muted); white-space: nowrap; }
.last-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.last-zone { font-weight: 700; font-size: 17px; line-height: 1.2; min-width: 0; overflow-wrap: anywhere; }
.last-pay { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 20px; line-height: 1; white-space: nowrap; }
.last-pay .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.last-pay.is-final { color: var(--ok); }
.last-meta { display: flex; align-items: center; gap: 6px; min-width: 0; }
.last-facts { flex: none; font: 11.5px/1 var(--font-mono); color: var(--ink-2); white-space: nowrap; }
.last-when { flex: none; margin-left: auto; padding-left: 6px; font: 500 11.5px/1 var(--font-mono); color: var(--ink-2); white-space: nowrap; }
.last-note { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }
.last-note.is-fail { color: var(--danger); font-weight: 600; }
.last.is-ok { box-shadow: inset 4px 0 0 var(--accent); }
.last.is-fail .last-zone { color: var(--ink-2); }
.last.is-fail .last-pay { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }

/* offers */
.offers { padding: 12px 14px 4px; }
.live-tag { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--font-mono); color: var(--ok); }
.live-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.live-tag.is-off { color: var(--muted); }
.live-tag.is-warn { color: var(--warn); }
.offer { display: flex; align-items: center; gap: 12px; padding: 11px 0; }
.offer + .offer { border-top: 1.5px solid var(--line-soft); }
.o-main { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.o-zone { font-weight: 700; font-size: 15.5px; line-height: 1.25; overflow-wrap: anywhere; } /* full area name, wraps instead of “Delivery Area …” */
.o-meta { font: 11.5px/1.3 var(--font-mono); color: var(--muted); }
.o-date { font: 500 11px/1 var(--font-mono); color: var(--muted); margin-left: 4px; white-space: nowrap; }
.o-side { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex: none; }
.o-pay { font-size: 16px; }
.offer.is-skip .o-zone, .offer.is-skip .o-pay { color: var(--muted); }
.offer.is-new { animation: flash 1.2s ease-out; }
@keyframes flash { from { background: var(--accent-soft); } }
.offers-empty { font-size: 14px; color: var(--muted); padding: 14px 0 16px; }

/* upgrade card (entitlement ended) — compact AICV */
.upgrade { padding: 20px 16px 16px; }
.upgrade h2 { font-size: 26px; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.upgrade p { color: var(--ink-2); margin: 6px 0 16px; }

/* ---- bot running: unmistakable "working" state ---- */
.bot { position: relative; overflow: hidden; }
.bot.is-running { border-color: var(--ok); background: linear-gradient(180deg, var(--ok-soft) 0%, var(--surface) 58%); }
.bot .scan { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--ok-soft); overflow: hidden; }
.bot .scan::after { content: ''; position: absolute; top: 0; bottom: 0; width: 45%; background: linear-gradient(90deg, transparent, var(--ok), transparent); animation: sweep 1.4s ease-in-out infinite; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(230%); } }
.bot.is-running .live { width: 14px; height: 14px; }
.bot.is-running .bot-sub { display: flex; flex-direction: column; gap: 2px; }
.searching { color: var(--ok); font-weight: 700; }
.dots i { font-style: normal; animation: blink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .15; } 30% { opacity: 1; } }
.checked { font-size: 13px; }
.bot.is-running .pips > i.on { background: var(--ok); }
@media (prefers-reduced-motion: reduce) { .bot .scan::after { animation: none; left: 0; width: 100%; } }

/* ---- offers: matched & claimed rows stand out ---- */
.offers .offer.is-match, .offers .offer.is-claimed { margin: 0 -14px; padding: 12px 14px 12px 18px; border-top-color: transparent; }
.offer.is-match + .offer, .offer.is-claimed + .offer { border-top-color: transparent; }
.offer.is-match { background: var(--ok-soft); box-shadow: inset 4px 0 0 var(--ok); }
.offer.is-claimed { background: var(--accent-soft); box-shadow: inset 4px 0 0 var(--accent); }
.offer.is-match .o-zone, .offer.is-claimed .o-zone { font-size: 16.5px; }
.offer.is-match .o-pay, .offer.is-claimed .o-pay { font-size: 19px; }
.offer.is-match .o-meta, .offer.is-claimed .o-meta { color: var(--ink-2); }
.offer .badge .icon { width: 13px; height: 13px; stroke-width: 3; }
.offer.is-new.is-match, .offer.is-new.is-claimed { animation: pop .5s cubic-bezier(.2,1.4,.4,1); }
@keyframes pop { from { transform: scale(.97); opacity: .4; } }
.offer.is-match .badge-ok { background: var(--ok); color: var(--surface); }

/* ===================== Settings ===================== */
.backbar h1 { margin-left: 2px; }
.center { text-align: center; }
.me { display: flex; align-items: center; gap: 12px; padding: 14px; margin-bottom: var(--s3); }
.me-av { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--accent); color: #16140F; font-weight: 900; font-size: 19px; }
.me-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.me-txt b { font-size: 16px; } .me-txt span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu { padding: 0 14px; }
.menu-row { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 10px 0; text-decoration: none; color: var(--ink); }
.menu-row + .menu-row { border-top: 1.5px solid var(--line-soft); }
.menu-row:active { opacity: .7; }
.menu-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.menu-txt b { font-size: 16px; }
.menu-txt span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu .chev { color: var(--muted); width: 18px; height: 18px; }
/* Settings: grouped sections */
.set-group { margin-top: var(--s5); }
.set-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); }
.set-label { display: block; margin: 0 0 var(--s2) 4px; }
.set-saved { font: 500 12px/1 var(--font-mono); color: var(--ok); }
.notif { padding: 0 14px; }
.notif-to { padding: 14px 0; display: flex; flex-direction: column; gap: 10px; }
.notif-to-l { font-size: 13px; color: var(--muted); }
.notif-to .chip-sm { height: 44px; }
.chip-sub { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.chip:disabled { opacity: .55; cursor: not-allowed; }
.notif-hint { font-size: 13px; color: var(--muted); }
.notif-hint a { color: var(--ink); font-weight: 700; }
.notif-row { display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 10px 0; border-top: 1.5px solid var(--line-soft); cursor: pointer; }
.notif-row .menu-txt span { white-space: normal; }
.notif.is-off .notif-row { cursor: default; }
.look { padding: 12px; }
.look-hint { font-size: 13px; color: var(--muted); margin: 10px 4px 2px; }
.set-foot { margin-top: var(--s7); display: flex; flex-direction: column; gap: var(--s4); padding-bottom: var(--s5); }
.set-meta { display: flex; justify-content: center; align-items: center; gap: 10px; font: 500 12px/1 var(--font-mono); color: var(--muted); }
.set-meta a { color: var(--muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.set-meta a:hover { color: var(--ink); }

.kv-card { padding: 0 14px; }
.kv-card .kv { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; font-size: 15px; }
.kv-card .kv + .kv { border-top: 1.5px solid var(--line-soft); }
.kv-card .kv > span:first-child { color: var(--muted); }
.kv-card .kv b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kv-card .text-link { font-size: 15px; background: none; border: 0; text-decoration: underline; }
.btn-danger + .btn-danger { margin-top: 0; }

/* schedule */
.sched-switch { display: flex; align-items: center; gap: 14px; padding: 14px; }
.sched-switch b { font-size: 16px; } .sched-switch p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.win { padding: 14px; margin-top: var(--s3); }
.win-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.icon-btn { width: 44px; height: 44px; margin: -10px -10px -10px 0; border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
.icon-btn:hover { background: var(--surface-2); color: var(--danger); }
.add-win { margin-top: var(--s3); border-style: dashed; }
.win .field-error { margin-top: 10px; }

/* billing */
.plan { padding: 16px; margin-bottom: var(--s4); }
.plan.is-warn { background: var(--warn-soft); border-color: transparent; }
.plan-name { font-size: 26px; font-weight: 900; letter-spacing: -.03em; margin-top: 8px; }
.plan-name.num { font-family: var(--font-mono); font-size: 28px; }
.plan-sub { color: var(--ink-2); margin-top: 4px; } .plan-sub b { color: var(--ink); }
.up-h { font-size: 24px; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; margin: var(--s2) 0 var(--s4); }
.perks { display: flex; flex-direction: column; gap: 10px; margin: var(--s5) 0; }
.perks li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.perks .icon { color: var(--ok); width: 18px; height: 18px; }
.danger-link { color: var(--danger); margin-top: var(--s5); }
#billing .f-hint { margin-top: var(--s3); }

/* ===================== Invite (referral) ===================== */
.f-ic-accent { background: var(--accent-soft); color: var(--accent-press); }
.ref-hero { text-align: center; padding: 24px 16px 20px; margin-bottom: var(--s4); }
.ref-ic { width: 56px; height: 56px; border-radius: 16px; display: inline-grid; place-items: center; background: var(--accent); color: #16140F; margin-bottom: 12px; }
.ref-ic .icon { width: 28px; height: 28px; }
.ref-big { font-size: 32px; font-weight: 900; letter-spacing: -.035em; line-height: 1.05; }
.ref-hero p { color: var(--ink-2); margin-top: 6px; }
.ref-link { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 12px; border: 1.5px dashed var(--line-strong); background: var(--surface); margin-bottom: var(--s3); }
.ref-link .mono { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ref-link .btn { height: 44px; padding: 0 16px; flex: none; }
.ref-stats { margin-top: var(--s4); }
.ref-stats .stat { align-items: flex-start; }
.ref-steps { padding: 4px 14px; counter-reset: none; }
.ref-steps li { display: flex; align-items: center; gap: 12px; min-height: 56px; font-size: 15px; }
.ref-steps li + li { border-top: 1.5px solid var(--line-soft); }
.ref-steps .l-step-n { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: none; font: 700 14px/1 var(--font-mono); background: var(--ink); color: var(--bg); }

/* topbar text link (also used outside auth pages) */
.topbar-link { font-weight: 700; font-size: 15px; text-decoration: none; height: 44px; padding: 0 12px; margin-right: -12px; display: inline-flex; align-items: center; border-radius: 10px; color: var(--ink); }

/* ===================== History ===================== */
.hist { gap: var(--s3); display: flex; flex-direction: column; }
.chart-card { padding: 14px; }
.chart-card .num { font-size: 21px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; margin: 14px 0 6px; }
.bar { flex: 1; height: var(--h); min-height: 3px; border-radius: 3px 3px 1px 1px; background: var(--ink); opacity: .85; padding: 0; }
.bar.is-zero { background: var(--surface-2); opacity: 1; }
.bar.on, .bar:hover { background: var(--accent); opacity: 1; }
.bars-axis { font: 11px/1 var(--font-mono); color: var(--muted); }
.bar-tip { font-size: 13.5px; color: var(--muted); margin-top: 10px; min-height: 20px; }
.bar-tip b { color: var(--ink); }
.hist-list { padding: 4px 14px; }
.hist-list .loading-line { padding: 16px 0; }
/* history list: calmer than the live feed — badge only, no full-row color */
.hist-list .offer.is-claimed, .hist-list .offer.is-match { background: none; box-shadow: none; }
.hist-list .offer.is-claimed .o-pay, .hist-list .offer.is-match .o-pay { font-size: 17px; }
.hist-list .offer + .offer { border-top: 1.5px solid var(--line-soft); }

/* ===================== Live Offers (bot OFF) ===================== */
/* summary under the title: plain ink text, no orange — orange is kept for the matching routes themselves */
.lo-count { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 6px 0 10px; font-size: 14px; color: var(--muted); }
.lo-sum b { font: 700 16px/1 var(--font-mono); color: var(--ink); margin-right: 1px; }
.lo-count.has-match .lo-sum { color: var(--ink-2); }
.lo-day { flex: none; font: 500 11.5px/1 var(--font-mono); color: var(--muted); }

/* group labels: "Fits your filters" / "Skipped" */
.lo-group { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 2px 0 8px; font: 600 10.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lo-group span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.lo-group span:first-child::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: color-mix(in srgb, var(--muted) 55%, transparent); }
.lo-group.is-pass span:first-child { color: var(--ink-2); }
.lo-group.is-pass span:first-child::before { background: var(--accent); }
.lo-group span + span { font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 11px; }
.lo-group.is-skip { padding-top: 14px; }

/* one offer: city + area | pay + price state, then the route specs */
.lo-row { display: flex; flex-direction: column; gap: 12px; container-type: inline-size; }
.lo-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.lo-title { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
/* the city is the headline — readable at arm's length */
.lo-city { display: block; min-width: 0; font-weight: 800; font-size: 20px; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lo-city.is-zone { font-size: 17px; letter-spacing: -.01em; }
.lo-zone { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; line-height: 1.2; color: var(--muted); }
.lo-money { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.lo-pay { font-size: 17px; font-weight: 600; line-height: 1.1; white-space: nowrap; color: var(--ink-2); letter-spacing: -.01em; }
.lo-pay.is-final, .lo-pay.is-single { font-size: 20px; font-weight: 700; color: var(--ink); }
/* price state: Negotiating (range, pulsing dot) · Final (locked) */
.lo-price { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 99px; font: 700 9.5px/1 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.lo-price.is-nego { background: var(--warn-soft); color: var(--warn); }
.lo-price.is-nego i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: lo-pulse 1.4s ease-in-out infinite; }
.lo-price.is-final { background: var(--ok-soft); color: var(--ok); }
.lo-price .icon { width: 11px; height: 11px; stroke-width: 2.8; }
@keyframes lo-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }

/* spec strip: Starts · Stops · Pkgs · Miles */
.lo-stats { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; margin: 0; border-radius: 10px; overflow: hidden;
  background: color-mix(in srgb, var(--surface-2) 60%, var(--surface)); }
.lo-stats > div { display: flex; flex-direction: column; gap: 5px; padding: 9px 10px; min-width: 0; }
.lo-stats > div + div { box-shadow: inset 1px 0 0 color-mix(in srgb, var(--line-soft) 80%, transparent); }
.lo-stats dt { font: 600 9.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lo-stats dd { margin: 0; font: 700 14px/1 var(--font-mono); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
@container (max-width: 290px) {
  .lo-stats { grid-template-columns: 1fr 1fr; }
  .lo-stats > div:nth-child(odd) { box-shadow: none; }
  .lo-stats > div:nth-child(n+3) { border-top: 1px solid color-mix(in srgb, var(--line-soft) 80%, transparent); }
  .lo-city { font-size: 18px; }
}
@container (min-width: 420px) { .lo-city { font-size: 22px; } }

.lo-facts { font: 11.5px/1.2 var(--font-mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Negotiating → Final between two polls */
.lo-row.just-locked .lo-pay { animation: lo-lock .45s cubic-bezier(.2, .9, .3, 1.4); }
.lo-row.just-locked .lo-price { animation: lo-fade .35s ease-out; }
@keyframes lo-lock { from { transform: scale(.82); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes lo-fade { from { opacity: 0; transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) { .lo-price.is-nego i, .lo-row.just-locked .lo-pay, .lo-row.just-locked .lo-price { animation: none; } }

/* match: a clean card — warm hairline, faint tint, soft lift */
.lo-row.is-pass { margin-bottom: 10px; padding: 14px 14px 12px; border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 4%, var(--surface));
  border: 1.5px solid color-mix(in srgb, var(--accent) 38%, var(--line-soft));
  box-shadow: 0 1px 0 color-mix(in srgb, var(--accent) 14%, transparent), 0 10px 22px -16px color-mix(in srgb, var(--ink) 40%, transparent); }
[data-theme="dark"] .lo-row.is-pass { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); box-shadow: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lo-row.is-pass { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); box-shadow: none; } }

/* skipped: flat list, muted by color (not opacity, so it stays readable in sunlight and dark) */
.lo-row.is-skip { gap: 8px; padding: 13px 2px; cursor: pointer; border-top: 1.5px solid var(--line-soft); -webkit-tap-highlight-color: transparent; }
.lo-group.is-skip + .lo-row.is-skip { border-top: 0; }
.lo-row.is-skip .lo-city { font-size: 17px; font-weight: 700; color: var(--ink-2); }
.lo-row.is-skip .lo-pay { font-size: 15px; color: var(--muted); }
.lo-row.is-skip .lo-pay.is-final, .lo-row.is-skip .lo-pay.is-single { font-size: 16px; color: var(--ink-2); }
.lo-row.is-skip .lo-price { opacity: .8; }
.lo-row.is-skip:hover .lo-city, .lo-row.is-skip.is-open .lo-city { color: var(--ink); }
.lo-row.is-skip:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
.lo-why { display: none; align-items: center; gap: 6px; align-self: flex-start; margin-top: 1px; padding: 6px 10px; border-radius: 8px;
  background: var(--surface-2); font: 500 12.5px/1.2 var(--font-mono); color: var(--ink); }
.lo-why .icon { width: 14px; height: 14px; color: var(--muted); }
.lo-row.is-open .lo-why { display: inline-flex; }

.lo-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; font-size: 14px; color: var(--ink-2); }
.lo-note .icon { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--muted); }
.lo-note.is-warn .icon { color: var(--warn); }
.lo-note a { color: var(--ink); font-weight: 700; }
.lo-note + .lo-group { padding-top: 4px; }
.lo-more { font: 500 12px/1 var(--font-mono); color: var(--muted); padding: 12px 0; text-align: center; border-top: 1.5px solid var(--line-soft); }
.lo-row.is-pass + .lo-more { border-top: 0; padding-top: 4px; }
/* pay legend */
.lo-key { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 12px 0 12px; border-top: 1.5px dashed var(--line-soft); font: 11px/1 var(--font-mono); color: var(--muted); }
.lo-row.is-pass + .lo-key { margin-top: 4px; }
.lo-key span { display: inline-flex; align-items: center; gap: 6px; }
.lo-key .k-nego { color: var(--warn); }
.lo-key .k-nego i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.lo-key .k-final { color: var(--ok); }
.lo-key .icon { width: 13px; height: 13px; stroke-width: 2.6; }

/* Start-bot hint when live offers already match */
.go-hint { display: flex; align-items: center; gap: 10px; margin: 2px 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); font-size: 14.5px; color: var(--ink-2); }
.go-hint b { color: var(--ink); }
.go-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 91, 31, .2); animation: pulse-o 1.6s ease-in-out infinite; flex: none; }
@keyframes pulse-o { 50% { box-shadow: 0 0 0 8px transparent; } }
@media (prefers-reduced-motion: reduce) { .go-dot { animation: none; } }

/* ===================== Filters row (dashboard bot card) ===================== */
.filters-row { display: flex; align-items: center; gap: 12px; min-height: 56px; margin: 4px 0 14px; padding: 9px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); background: var(--surface-2); border: 1.5px solid transparent; transition: border-color .12s, background .12s; }
.filters-row:hover { border-color: var(--line-strong); }
.filters-row:active { transform: translateY(1px); }
.fr-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent-press); }
.fr-ic .icon { width: 18px; height: 18px; }
.fr-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.fr-top { display: flex; align-items: center; gap: 8px; font-size: 14.5px; }
.fr-count { font: 700 11px/1 var(--font-mono); padding: 3px 6px; border-radius: 5px; background: var(--ink); color: var(--bg); }
.fr-sum { font: 500 12px/1.2 var(--font-mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fr-edit { flex: none; font-weight: 700; font-size: 14px; color: var(--ink); }
.filters-row.is-empty { background: var(--warn-soft); }
.filters-row.is-empty .fr-ic { background: transparent; color: var(--warn); border: 1.5px solid var(--warn); }
.filters-row.is-empty .fr-sum { color: var(--warn); }
.bot.is-running .filters-row { background: rgba(255,255,255,.55); }
[data-theme="dark"] .fr-ic { color: var(--accent); }
[data-theme="dark"] .bot.is-running .filters-row { background: rgba(0,0,0,.25); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fr-ic { color: var(--accent); } :root:not([data-theme="light"]) .bot.is-running .filters-row { background: rgba(0,0,0,.25); } }
.notif.no-anim .track, .notif.no-anim .track::after { transition: none; }
.menu-row[hidden] + .menu-row { border-top: 0; }


/* ---------- dashboard header links ---------- */
.earn-head { margin: 0 2px -6px; }
.link-sm { display: inline-flex; align-items: center; gap: 2px; min-height: 44px; font-weight: 700; font-size: 14px; color: var(--ink); text-decoration: none; }
.link-sm .icon { width: 16px; height: 16px; }

/* ===================== Plan: status · the two plans · one button (pay sheet: card or coin) ===================== */
.pl { gap: 14px; }
.pl-status { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-soft); --rc: var(--ok); }
.pl-status.is-warn { --rc: var(--warn); }
.pl-status.is-danger { --rc: var(--danger); border-color: color-mix(in srgb, var(--danger) 45%, var(--line-soft)); }
.pl-ring { position: relative; width: 40px; height: 40px; flex: none; }
.pl-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pl-ring circle { fill: none; stroke-width: 3.5; }
.pl-ring .tr { stroke: var(--surface-2); }
.pl-ring .fg { stroke: var(--rc); stroke-linecap: round; }
.pl-ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 700 10.5px/1 var(--font-mono); letter-spacing: -.02em; color: var(--ink); }
.pl-status-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pl-status-t b { font-size: 15px; font-weight: 700; }
.pl-status-t span { font-size: 13px; color: var(--muted); }
.pl-status.is-warn .pl-status-t span { color: var(--warn); }
.pl-status.is-danger .pl-status-t span { color: var(--danger); }

/* plan cards — Watch light, Pro dark */
.pl-plans { display: flex; flex-direction: column; gap: 10px; }
.pl-plan { display: flex; flex-direction: column; gap: 14px; width: 100%; padding: 18px; border-radius: 20px; text-align: left; font: inherit;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line-soft); transition: border-color .15s, box-shadow .15s, opacity .15s; }
button.pl-plan { cursor: pointer; }
.pl-plan.is-pro { --pl-ink: #F3F0E8; --pl-mut: #A9A294; --pl-line: rgba(243, 240, 232, .14); background: #16140F; border-color: #16140F; color: var(--pl-ink); }
[data-theme="dark"] .pl-plan.is-pro { background: #2A2723; border-color: #3A362E; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pl-plan.is-pro { background: #2A2723; border-color: #3A362E; } }
.pl-plan[aria-checked="true"] { border-color: var(--accent); box-shadow: 0 0 0 1.5px var(--accent); }
.pl-plan.is-mine { border-color: var(--ok); box-shadow: 0 0 0 1.5px var(--ok); }
button.pl-plan:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.pl-plan-h { display: flex; align-items: center; gap: 10px; }
.pl-radio { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-strong); }
.is-pro .pl-radio { border-color: #5A544B; }
.pl-plan[aria-checked="true"] .pl-radio { border: 6px solid var(--accent); }
.pl-name { font-size: 22px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.pl-tag { padding: 5px 8px; border-radius: 99px; font: 700 10px/1 var(--font-mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; background: var(--ok-soft); color: var(--ok); }
.is-pro .pl-tag { background: rgba(92, 201, 133, .16); color: #5CC985; }
.pl-price { margin-left: auto; display: flex; align-items: baseline; gap: 2px; white-space: nowrap; }
.pl-price b { font-size: 28px; font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.pl-price small { font-size: 13px; color: var(--muted); }
.is-pro .pl-price small { color: var(--pl-mut); }
.pl-feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 12px; margin: 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--line-soft); }
.is-pro .pl-feat { border-top-color: var(--pl-line); }
.pl-feat li { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; line-height: 1.3; color: var(--ink-2); }
.pl-feat li .icon { width: 15px; height: 15px; flex: none; margin-top: 1px; color: var(--ok); stroke-width: 2.6; }
.is-pro .pl-feat li { color: var(--pl-ink); }
.is-pro .pl-feat li .icon { color: var(--accent); }
.pl-feat li.is-lead { grid-column: 1 / -1; font-weight: 700; }
.pl-feat li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 359px) { .pl-feat { grid-template-columns: 1fr; } }

.pl-action { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.pl-fine { display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; font: 500 11.5px/1.35 var(--font-mono); color: var(--muted); }
.pl-fine .icon { width: 13px; height: 13px; flex: none; }

/* pay sheet: one list — Card, then each coin */
.pl-sh-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.pl-sheet .pl-sh-h h2 { margin: 0; }
.pl-sh-h span { font: 500 13px/1 var(--font-mono); color: var(--muted); white-space: nowrap; }
.pl-opts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.pl-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 10px 14px; border-radius: 14px; cursor: pointer; text-align: left; font: inherit;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line-soft); }
.pl-opt-i { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); }
.pl-opt-i .icon { width: 19px; height: 19px; color: var(--ink-2); }
.pl-opt-i svg:not(.icon) { width: 32px; height: 32px; }
.pl-opt-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pl-opt-t b { font-size: 15px; font-weight: 700; }
.pl-opt-t small { font-size: 12.5px; color: var(--muted); }
.pl-opt > i { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-strong); }
.pl-opt[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pl-opt[aria-checked="true"] > i { border: 6px solid var(--accent); }
.pl-opt:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pl-sheet .pl-fine { margin: 10px 0 0; }
.coin-glyph { font-family: var(--font-sans); font-weight: 900; }

/* ===================== Filters v2: one list, rows that open ===================== */
.fx-card { padding: 0 var(--s4); }
.fx + .fx, .fx-days + .fx, .fx + .fx-days { border-top: 1.5px solid var(--line-soft); }
.fx-sum { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 0; list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fx-sum::-webkit-details-marker { display: none; }
.fx-sum.is-static { cursor: default; min-height: 0; padding: 14px 0 12px; }
.fx-name { flex: 1; min-width: 0; font-weight: 700; font-size: 16px; line-height: 1.2; }
.fx-name small { display: block; margin-top: 2px; font: 500 11.5px/1.2 var(--font-mono); color: var(--muted); }
.fx-val { flex: none; max-width: 48%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 14px/1 var(--font-mono); color: var(--muted); }
.fx-val.is-set { height: 30px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 8px; background: var(--ink); color: var(--bg); font-weight: 700; }
.fx-chev { flex: none; width: 9px; height: 9px; margin: -4px 4px 0 2px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .15s, margin .15s; }
.fx[open] .fx-chev { transform: rotate(225deg); margin-top: 5px; }
.fx[open] .fx-sum { padding-bottom: 6px; }
.fx-body { padding: 4px 0 16px; }
.fx-body .pair .t-label { margin-bottom: 6px; }
.fx-one .stepper { max-width: 220px; }
.fx-hint { margin-top: 10px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.fx-body .field-error { margin-top: 10px; }
.fx-days { padding-bottom: 16px; }
.fx-days .field-error { margin-top: 10px; }
.fx[open] { background: linear-gradient(var(--surface), var(--surface)); }
.fx-sum:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; border-radius: 10px; }
/* schedule inside Filters & schedule */
#sched .group-label { margin-top: var(--s5); }
.sched-line { display: flex; align-items: center; gap: 14px; }
.sched-line p { flex: 1; font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.fx-body .win { margin-top: var(--s3); padding: 12px; border-radius: 12px; background: var(--surface-2); }
.fx-body .win .days { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.fx-body .win .day { background: var(--surface); min-width: 0; }
.fx-body .win .day[aria-pressed="true"] { background: var(--ink); }
.fx-body .add-win { margin-top: var(--s3); }

.lo-sum a { color: var(--ink); font-weight: 700; }

/* 3 PM – 9 PM: tomorrow's routes aren't out yet */
.lo-closed { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 22px 8px 24px; }
.lo-closed-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); margin-bottom: 4px; }
.lo-closed-ic .icon { width: 24px; height: 24px; }
.lo-closed h3 { font-size: 19px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; max-width: 26ch; }
.lo-closed-cd { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 14px; color: var(--ink-2); }
.lo-closed-cd b { font: 700 22px/1.1 var(--font-mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.lo-closed-cd span { font: 500 11.5px/1 var(--font-mono); color: var(--muted); }
.lo-closed-note { max-width: 30ch; margin-top: 4px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }

/* ===================== Round 6: compact dashboard ===================== */
/* bot card: one row — dot · title + one line · button */
.bot { padding: 14px 14px 14px 16px; }
.bc { display: flex; align-items: center; gap: 12px; }
.bc .live { width: 10px; height: 10px; box-shadow: 0 0 0 4px var(--ok-soft); }
.bc .live.is-off { box-shadow: 0 0 0 4px var(--surface-2); }
.bc .live.is-warn { box-shadow: 0 0 0 4px var(--warn-soft); }
.bot.is-running .bc .live { width: 10px; height: 10px; }
.bc-ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent-press); }
[data-theme="dark"] .bc-ic { color: var(--accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bc-ic { color: var(--accent); } }
.bc-ic .icon { width: 19px; height: 19px; }
.bc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bc-title { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 900; letter-spacing: -.025em; line-height: 1.1; }
.bc-title .badge { height: 20px; font-size: 10px; }
.bc-sub { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13.5px; line-height: 1.25; color: var(--muted); }
.bc-sub b { color: var(--ink); font-family: var(--font-mono); font-size: 13px; }
.bc-sub .go-dot { width: 8px; height: 8px; box-shadow: 0 0 0 3px rgba(255, 91, 31, .2); }
.bot.has-hint .bc-sub { color: var(--ink-2); }
.bot.is-running .bc-sub { color: var(--ok); font-weight: 600; }
.bc-btn { flex: none; min-width: 92px; height: 46px; padding: 0 16px; font-size: 16px; }
.bot.is-watch { border-color: color-mix(in srgb, var(--accent) 45%, var(--line-soft)); }

/* mini cards: claims today · filters */
.dash-mini { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--s2); }
.dash-mini.is-one { grid-template-columns: minmax(0, 1fr); }
.mini { display: flex; flex-direction: column; gap: 6px; padding: 11px 12px; min-width: 0; }
.mini[hidden] { display: none; }
.mini > b { font: 700 17px/1.1 var(--font-mono); color: var(--ink); }
.mini > b small { font-size: 12px; color: var(--muted); font-weight: 500; }
.mini-bar { display: block; height: 4px; margin-top: 2px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.mini-bar i { display: block; height: 100%; border-radius: 99px; background: var(--accent); }
.mini-link { position: relative; text-decoration: none; color: var(--ink); }
.mini-link > b { font-family: var(--font-sans); font-size: 15px; font-weight: 800; }
.mini-sum { font: 11.5px/1.2 var(--font-mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 36px; }
.mini-edit { position: absolute; top: 10px; right: 12px; font-size: 13px; font-weight: 700; color: var(--ink); }
.mini-link.is-empty { background: var(--warn-soft); border-color: transparent; }
.mini-link.is-empty .mini-sum { color: var(--warn); }

/* earnings: calmer numbers */
.earn-head { margin: 4px 2px -4px; }
.stat { padding: 10px 12px; gap: 5px; }
.stat .num { font-size: clamp(15px, 4.4vw, 17.5px); }

/* last claim: one row */
.last1 { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.l1-ic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 9px; background: var(--accent); color: #16140F; }
.l1-ic .icon { width: 16px; height: 16px; stroke-width: 2.8; }
.last1.is-fail .l1-ic { background: var(--danger-soft); color: var(--danger); }
.l1-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.l1-txt b { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l1-txt span { font: 11.5px/1.2 var(--font-mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.last1.is-fail .l1-txt span { color: var(--danger); }
.l1-pay { flex: none; font-size: 16px; font-weight: 700; }
.last1.is-fail .l1-pay { color: var(--muted); text-decoration: line-through; }

/* live offers: thinner rows, calmer pay → more routes on screen */
.lo-row.is-pass { position: relative; margin-bottom: 8px; padding: 11px 12px 10px; gap: 9px; border-radius: 13px; }
.lo-row.is-pass .lo-city { font-size: 17.5px; }
.lo-row.is-pass .lo-pay { font-size: 15px; }
.lo-row.is-pass .lo-pay.is-final, .lo-row.is-pass .lo-pay.is-single { font-size: 17px; }
.lo-head { gap: 10px; }
.lo-title { gap: 3px; }
.lo-money { gap: 5px; }
.lo-stats > div { padding: 7px 9px; gap: 4px; }
.lo-stats dt { font-size: 9px; }
.lo-stats dd { font-size: 13px; }
.lo-row.is-skip { padding: 10px 2px; gap: 6px; }
.lo-row.is-skip .lo-city { font-size: 15.5px; }
.lo-row.is-skip .lo-pay { font-size: 14px; }
.lo-row.is-skip .lo-pay.is-final, .lo-row.is-skip .lo-pay.is-single { font-size: 15px; }


/* Settings → notifications: channels on top, events below */
.notif-row.is-channel .menu-txt span a { color: var(--ink); font-weight: 700; }
.notif-row.is-channel .menu-txt span .mono { font-size: 12.5px; color: var(--ink-2); }
.notif-sub { display: block; padding: 14px 0 2px; border-top: 1.5px solid var(--line-soft); font: 600 10.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.notif-row[hidden] { display: none; }
.notif > .notif-row:first-child, .notif-sub + .notif-row { border-top: 0; }
.notif > .notif-hint { padding: 0 0 12px; }
.kv-act { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.kv-act .text-link { min-height: 44px; }
/* bot ON — recent offers: same thinner rhythm as Live offers */
.offers .offer { padding: 9px 0; gap: 10px; }
.offers .offer.is-match, .offers .offer.is-claimed { padding: 10px 12px 10px 14px; }
.offers .o-zone { font-size: 15px; }
.offers .o-pay { font-size: 15px; }
.offers .offer.is-match .o-pay, .offers .offer.is-claimed .o-pay { font-size: 16.5px; }
.offers .o-side { gap: 4px; }
.offers .o-side .badge { height: 22px; font-size: 11px; padding: 0 7px; }

/* ===================== Dashboard (round 7): calm, mostly neutral — orange only on Start ===================== */
.dh { display: flex; flex-direction: column; padding-bottom: var(--s6); }
/* status */
.dh-status { display: flex; align-items: center; gap: 16px; padding: 22px 0 18px; }
.dh-st-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.dh-state { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dh-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); flex: none; }
.dh-dot.is-on { background: var(--ink); }
.dh-dot.is-live { background: var(--ok); animation: dh-pulse 1.6s ease-in-out infinite; }
@keyframes dh-pulse { 50% { opacity: .3; } }
.dh-dot.is-warn { background: var(--warn); }
.dh-dot.is-danger { background: var(--danger); }
.dh-title { font-size: clamp(26px, 7.6vw, 32px); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.dh-sub { font-size: 14.5px; line-height: 1.4; color: var(--muted); }
.dh-sub b { color: var(--ink); font-weight: 600; font-size: 14px; }
.dh-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 104px; height: 52px; padding: 0 22px; border-radius: 99px;
  font: 700 16px/1 var(--font-sans); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .1s, background .15s; }
.dh-btn:active { transform: scale(.97); }
.dh-btn.is-primary { background: var(--accent); color: var(--on-accent); }
.dh-btn.is-primary:hover { background: var(--accent-hover); }
.dh-btn.is-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.dh-btn:disabled { background: var(--surface-2); color: var(--muted); cursor: not-allowed; }
.dh-btn.is-loading { min-width: 132px; }
.dh-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* meta line */
.dh-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding-bottom: 18px; font: 12.5px/1.4 var(--font-mono); color: var(--muted); border-bottom: 1px solid var(--line-soft); }
.dh-meta:empty { display: none; }
.dh-meta b { color: var(--ink); font-weight: 600; }
.dh-meta i { font-style: normal; color: var(--line-strong); }
.dh-meta a { color: var(--ink); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.dh-meta .is-warn, .dh-meta .is-warn b { color: var(--warn); }
.dh-meta .is-warn a { color: var(--warn); text-decoration: underline; }

/* earnings strip */
.dh-earn { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 18px 0 14px; }
.dh-earn > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding-left: 14px; border-left: 1px solid var(--line-soft); }
.dh-earn > div:first-child { padding-left: 0; border-left: 0; }
.dh-earn span { font: 600 10.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dh-earn b { font: 600 clamp(16px, 4.8vw, 19px)/1 var(--font-mono); color: var(--ink); white-space: nowrap; }
.dh-earn b .cents { color: var(--muted); }
.dh-last { padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dh-last[hidden] { display: none; }
.dh-last b { color: var(--ink-2); font-weight: 600; }
.dh-last.is-fail b { color: var(--muted); }

/* offers */
.dh-offers { padding-top: 22px; }
.dh-offers-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.dh-offers-h h2 { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.dh-offers .live-tag { font-size: 11px; }
.dh-count { margin-top: 4px; font-size: 13px; color: var(--muted); }
.dh-count b { color: var(--ink); }
.dh-count a { color: var(--ink); font-weight: 600; }
.dh-list { margin: 10px 0 0; padding: 0; list-style: none; }
.dr { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.dr-dot { width: 6px; height: 6px; border-radius: 50%; flex: none; background: transparent; }
.dr.is-match .dr-dot { background: var(--accent); }
.dr.is-claimed .dr-dot { background: var(--ok); }
.dr-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.dr-main b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-main > span { font: 12px/1.25 var(--font-mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-main em { font-style: normal; color: var(--ink-2); }
.dr-pay { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.dr-pay > span { display: flex; align-items: baseline; gap: 4px; }
.dr-pay time { font: 12px/1 var(--font-mono); color: var(--muted); }
.dr-pay b { font: 600 15px/1 var(--font-mono); color: var(--ink); }
.dr-pay small { font: 500 10.5px/1 var(--font-mono); color: var(--muted); }
.dr.is-other .dr-main b, .dr.is-other .dr-pay b { color: var(--muted); font-weight: 600; }
.dr.is-claimed .dr-main em { color: var(--ok); }
.dr.just-locked .dr-pay { animation: lo-fade .4s ease-out; }
.dh-more button { width: 100%; min-height: 48px; background: none; border: 0; border-bottom: 1px solid var(--line-soft); font: 600 13.5px/1 var(--font-sans); color: var(--ink-2); cursor: pointer; text-align: left; }
.dh-more button::after { content: ' ›'; }
.dh-more button[aria-expanded="true"]::after { content: ' ‹'; }
.dh-note { padding: 16px 0; font-size: 14px; line-height: 1.45; color: var(--muted); border-bottom: 1px solid var(--line-soft); }
.dh-note a { color: var(--ink); font-weight: 600; }
.dh-note.is-warn { color: var(--warn); }
.dh-closed { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px 0; }
.dh-closed .icon { width: 22px; height: 22px; color: var(--muted); }
.dh-closed h3 { font-size: 18px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; max-width: 26ch; }
.dh-closed p { font-size: 14px; color: var(--ink-2); }
.dh-closed p b { color: var(--ink); font-size: 15px; }
.dh-closed-note { color: var(--muted) !important; font-size: 13px !important; }

/* ===================== Dashboard (round 8): dark status panel · cards ===================== */
.dh { --hp: #16140F; --hp-2: #24211C; --hp-ink: #F3F0E8; --hp-muted: #A9A294; --hp-line: #34302A; padding-top: 4px; gap: 14px; }
[data-theme="dark"] .dh { --hp: #201D19; --hp-2: #2B2723; --hp-line: #3A352E; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dh { --hp: #201D19; --hp-2: #2B2723; --hp-line: #3A352E; } }
.dh-hero { position: relative; overflow: hidden; padding: 20px 18px 16px; border-radius: 24px; background: var(--hp); color: var(--hp-ink);
  box-shadow: 0 24px 44px -30px rgba(0, 0, 0, .65); }
.dh-hero::after { content: ''; position: absolute; right: -70px; top: -90px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 70%); pointer-events: none; }
.dh-hero.is-running::after { background: radial-gradient(circle, color-mix(in srgb, #5CC985 22%, transparent) 0%, transparent 70%); }
.dh-hero.is-paused::after { background: radial-gradient(circle, color-mix(in srgb, #F0B04A 22%, transparent) 0%, transparent 70%); }
.dh-hero .dh-status { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding: 0; }
.dh-hero .dh-state { color: var(--hp-muted); }
.dh-hero .dh-dot { background: var(--hp-muted); }
.dh-hero .dh-dot.is-on { background: var(--hp-ink); }
.dh-hero .dh-dot.is-live { background: #5CC985; }
.dh-hero .dh-dot.is-warn { background: #F0B04A; }
.dh-hero .dh-dot.is-danger { background: #FF7B6B; }
.dh-hero .dh-title { color: var(--hp-ink); font-size: clamp(30px, 9vw, 38px); }
.dh-hero .dh-sub { color: var(--hp-muted); font-size: 15px; }
.dh-hero .dh-sub b { color: var(--hp-ink); }
.dh-hero .dh-btn { width: 100%; height: 56px; font-size: 17px; }
.dh-hero .dh-btn.is-ghost { color: var(--hp-ink); border-color: var(--hp-line); background: var(--hp-2); }
.dh-hero .dh-btn:disabled { background: var(--hp-2); color: var(--hp-muted); }
.dh-hero .dh-btn.is-primary { box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--accent) 90%, transparent); }
.dh-hero .dh-meta { position: relative; z-index: 1; margin-top: 14px; padding: 14px 0 0; border-bottom: 0; border-top: 1px solid var(--hp-line); color: var(--hp-muted); gap: 6px 10px; }
.dh-hero .dh-meta b { color: var(--hp-ink); }
.dh-hero .dh-meta i { color: var(--hp-line); }
.dh-hero .dh-meta a { color: var(--hp-ink); }
.dh-hero .dh-meta .is-warn, .dh-hero .dh-meta .is-warn b, .dh-hero .dh-meta .is-warn a { color: #F0B04A; }

/* earnings card */
.dh-card { padding: 16px 16px 14px; border-radius: 20px; background: var(--surface); border: 1.5px solid var(--line-soft); }
.dh-card.dh-money { display: block; }
.dh-earn-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dh-earn-row > div { display: flex; flex-direction: column; gap: 7px; min-width: 0; padding-left: 12px; border-left: 1px solid var(--line-soft); }
.dh-earn-row > div:first-child { padding-left: 0; border-left: 0; }
.dh-earn-row span { font: 600 10px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.dh-earn-row b { font: 700 clamp(16px, 4.8vw, 19px)/1 var(--font-mono); color: var(--ink); white-space: nowrap; }
.dh-earn-row b .cents { color: var(--muted); }
.dh-card .dh-last { margin-top: 14px; padding: 12px 0 0; border-top: 1px solid var(--line-soft); border-bottom: 0; }

/* offers: identical cards */
.dh-offers { padding-top: 10px; }
.dh-offers-h h2 { font-size: 20px; }
.dh-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.oc { padding: 14px 14px 12px; border-radius: 18px; background: var(--surface); border: 1.5px solid var(--line-soft); }
.oc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.oc-top b { min-width: 0; font-size: 18px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-pay { flex: none; display: flex; align-items: baseline; gap: 4px; }
.oc-pay b { font: 700 16px/1 var(--font-mono); color: var(--ink); white-space: nowrap; }
.oc-pay small { font: 500 10.5px/1 var(--font-mono); color: var(--muted); }
.oc-sub { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-facts { display: flex; align-items: center; gap: 6px; margin-top: 12px; min-width: 0; }
.oc-facts span { flex: none; padding: 6px 8px; border-radius: 8px; background: var(--surface-2); font: 500 11.5px/1 var(--font-mono); color: var(--ink-2); white-space: nowrap; }
.oc-facts .oc-time { margin-left: auto; background: none; padding-right: 0; color: var(--ink); font-weight: 600; }
.oc-facts .is-claimed { background: var(--ok-soft); color: var(--ok); }
.oc.just-locked .oc-pay { animation: lo-fade .4s ease-out; }
.dh-list .dh-note, .dh-list .dh-closed { padding: 18px 16px; border-radius: 18px; background: var(--surface); border: 1.5px solid var(--line-soft); }
@media (max-width: 350px) { .oc-facts span:nth-child(2) { display: none; } }

/* ===================== Round 10 · Settings ===================== */
.st { --hx: #16140F; --hx-2: #24211C; --hx-ink: #F3F0E8; --hx-muted: #A9A294; --hx-line: #34302A; padding-top: 4px; }
[data-theme="dark"] .st { --hx: #201D19; --hx-2: #2B2723; --hx-line: #3A352E; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .st { --hx: #201D19; --hx-2: #2B2723; --hx-line: #3A352E; } }
.st-gap { margin-top: var(--s5); }
/* 1 · account */
.st-acct { display: flex; align-items: center; gap: 14px; padding: 14px; text-decoration: none; color: var(--ink); }
.st-acct:active { opacity: .75; }
.st-av { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--surface-2); color: var(--ink); font: 800 16px/1 var(--font-sans); letter-spacing: .02em; }
.st-acct-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.st-name { font: 700 17px/1.2 var(--font-sans); letter-spacing: -.01em; }
.st-mail { font: 12.5px/1.3 var(--font-mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-sync { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-sync span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.st-sync i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.st-acct .chev, .st-help .chev { color: var(--muted); width: 18px; height: 18px; flex: none; }
/* 2 · filters hero */
.set-filters-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 56px 1fr auto; column-gap: 14px; row-gap: 6px; align-items: center;
  margin-top: var(--s3); padding: 20px 16px 20px 18px; min-height: 120px;
  border-radius: 20px; background: var(--hx); color: var(--hx-ink); text-decoration: none; box-shadow: 0 20px 40px -30px rgba(0, 0, 0, .7); }
.set-filters-hero::after { content: ''; position: absolute; right: -60px; top: -80px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 24%, transparent) 0%, transparent 70%); pointer-events: none; }
.set-filters-hero > * { position: relative; z-index: 1; }
.set-filters-hero:active { transform: scale(.99); }
.st-filters-ic { grid-row: 1 / 4; align-self: start; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--accent); color: #16140F; }
.st-filters-ic .icon { width: 30px; height: 30px; stroke-width: 2.2; }
.st-f-title { font-size: 24px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.st-f-sum { grid-column: 2 / 4; font-size: 14.5px; line-height: 1.4; font-weight: 600; color: var(--hx-ink); }
.st-f-sched { grid-column: 2 / 4; font-size: 12.5px; color: var(--hx-muted); }
.st-f-sched[hidden] { display: none; }
.st-edit { display: inline-flex; align-items: center; gap: 2px; height: 34px; padding: 0 8px 0 13px; border-radius: 99px;
  background: var(--hx-2); border: 1px solid var(--hx-line); font-weight: 700; font-size: 14px; color: var(--hx-ink); }
.st-edit .icon { width: 16px; height: 16px; }
/* 3 · notifications: link inside the SMS line */
.notif-row.is-channel .menu-txt span a { color: var(--ink); font-weight: 700; }
/* 5 · appearance: one compact line */
.st-look { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 6px 6px 14px; }
.st-look-l { font-weight: 700; font-size: 15px; }
.st-seg { flex: none; padding: 3px; gap: 2px; border-radius: 10px; }
.st-seg button { flex: none; height: 34px; padding: 0 12px; font-size: 13.5px; border-radius: 8px; }
/* 6 · help: one row */
.st-help { min-height: 60px; }
@media (max-width: 350px) { .st-seg button { padding: 0 9px; } .set-filters-hero { grid-template-columns: 46px 1fr auto; } .st-filters-ic { width: 46px; height: 46px; } }

/* ===================== Round 10 · Invite drivers ===================== */
.iv { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.iv-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 14px 8px 10px; }
.iv-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--accent); color: #16140F; box-shadow: 0 14px 28px -16px color-mix(in srgb, var(--accent) 90%, transparent); }
.iv-ic .icon { width: 32px; height: 32px; }
.iv-hero h2 { font-size: clamp(24px, 7vw, 28px); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; max-width: 17ch; }
.iv-code { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 14px 14px; border-style: dashed; border-color: var(--line-strong); }
.iv-code-l { font: 600 10.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.iv-code-v { font: 700 clamp(18px, 5.6vw, 22px)/1.1 var(--font-mono); letter-spacing: .04em; color: var(--ink); text-align: center; word-break: break-all; user-select: all; }
.iv-copy { height: 44px; padding: 0 16px; gap: 8px; font-size: 15px; }
.iv-copy .icon, .iv-share .icon { width: 18px; height: 18px; }
.iv-share { gap: 10px; }
.iv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 16px 6px; margin-top: 4px; }
.iv-stats > div { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.iv-stats > div + div { border-left: 1px solid var(--line-soft); }
.iv-stats b { font: 700 24px/1 var(--font-mono); color: var(--ink); }
.iv-stats span { font: 600 10px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; }
.iv-how { padding: 10px 4px 20px; }
.iv-how-t { font: 600 10.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.iv-how ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.iv-how li { display: flex; align-items: baseline; gap: 12px; font: 500 12.5px/1.45 var(--font-mono); color: var(--ink-2); }
.iv-how li span { flex: none; color: var(--accent-press); font-weight: 700; }

/* ===================== Round 10 · Plan (landing-style) ===================== */
.pn { --hx: #16140F; --hx-2: #24211C; --hx-ink: #F3F0E8; --hx-muted: #A9A294; --hx-line: #34302A; display: flex; flex-direction: column; gap: 14px; padding-top: 4px; padding-bottom: var(--s6); }
[data-theme="dark"] .pn { --hx: #201D19; --hx-2: #2B2723; --hx-line: #3A352E; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pn { --hx: #201D19; --hx-2: #2B2723; --hx-line: #3A352E; } }
.pn-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* buttons */
.pn-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 54px; padding: 0 18px; border-radius: 99px; cursor: pointer;
  font: 700 16.5px/1 var(--font-sans); text-decoration: none; border: 1.5px solid transparent; transition: transform .1s, background .15s; }
.pn-btn:active { transform: scale(.98); }
.pn-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.pn-btn.is-primary { background: var(--accent); color: #16140F; box-shadow: 0 10px 24px -14px color-mix(in srgb, var(--accent) 90%, transparent); }
.pn-btn.is-primary:hover { background: var(--accent-hover); }
.pn-btn.is-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.pn-btn.is-loading { opacity: .8; }
.pn-fine { display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; font: 500 11.5px/1.35 var(--font-mono); color: var(--muted); }
.pn-fine .icon { width: 13px; height: 13px; flex: none; }
/* 1 · hero */
.pn-hero { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 20px; padding: 22px 18px 18px; border-radius: 24px;
  background: var(--hx); color: var(--hx-ink); box-shadow: 0 24px 44px -30px rgba(0, 0, 0, .65); --tone: #5CC985; }
.pn-hero.is-warn { --tone: #F0B04A; } .pn-hero.is-danger { --tone: #FF7B6B; }
.pn-hero::after { content: ''; position: absolute; right: -80px; top: -100px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 26%, transparent) 0%, transparent 70%); pointer-events: none; }
.pn-hero > * { position: relative; z-index: 1; }
.pn-status { display: flex; flex-direction: column; gap: 8px; }
.pn-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--hx-muted); }
.pn-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--tone); }
.pn-big { font-size: clamp(32px, 9.6vw, 40px); font-weight: 900; letter-spacing: -.035em; line-height: 1.02; color: var(--hx-ink); }
.pn-count b { font: 700 clamp(40px, 12.4vw, 52px)/1 var(--font-mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pn-hero.is-warn .pn-count b { color: #F0B04A; }
.pn-line { font-size: 14.5px; color: var(--hx-muted); }
.pn-hero.is-danger .pn-line { color: #FF9D90; }
.pn-pitch { padding-top: 18px; border-top: 1px solid var(--hx-line); }
.pn-pitch h2 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: var(--hx-ink); }
.pn-pitch p { margin-top: 6px; font-size: 14.5px; line-height: 1.4; color: var(--hx-muted); }
.pn-cta { display: flex; flex-direction: column; gap: 10px; }
.pn-hero .pn-btn.is-ghost { color: var(--hx-ink); border-color: var(--hx-line); background: var(--hx-2); }
.pn-hero .pn-fine { color: var(--hx-muted); }
/* sections */
.pn-sec { padding: 18px 16px; border-radius: 20px; background: var(--surface); border: 1.5px solid var(--line-soft); }
.pn-kicker { display: block; font: 600 10.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pn-h { margin-top: 8px; font-size: 34px; font-weight: 900; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.pn-h.is-sm { font-size: 22px; letter-spacing: -.025em; }
.pn-p { margin-top: 6px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
/* 2 · head start timeline */
.pn-head .pn-h { color: var(--accent-press); }
.pn-tl { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.pn-tl-axis { display: flex; justify-content: space-between; margin-left: 74px; font: 500 10px/1 var(--font-mono); color: var(--muted); }
.pn-tl-row { display: flex; align-items: center; gap: 10px; }
.pn-tl-who { width: 64px; flex: none; font-size: 13px; font-weight: 700; color: var(--ink); }
.pn-tl-track { position: relative; flex: 1; height: 12px; border-radius: 99px; background: var(--surface-2); }
.pn-tl-track i { position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; border: 3px solid var(--surface); }
.is-takker .pn-tl-track { background: linear-gradient(90deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 35%, var(--surface-2)) 100%); }
.is-takker .pn-tl-track i { left: -2px; background: var(--accent); box-shadow: 0 0 0 1.5px var(--accent); }
.is-veho .pn-tl-track i { right: -2px; background: var(--muted); box-shadow: 0 0 0 1.5px var(--muted); }
/* 3 · plan cards: Watch light, Pro dark + orange */
.pn-plans { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 12px; }
.pn-plan { display: flex; flex-direction: column; gap: 16px; padding: 20px 18px 18px; border-radius: 22px; background: var(--surface); border: 1.5px solid var(--line-soft); color: var(--ink); }
.pn-plan.is-pro { --pi: #F3F0E8; --pm: #A9A294; --pl: rgba(243, 240, 232, .14); background: #16140F; border: 2px solid var(--accent); color: var(--pi);
  box-shadow: 0 22px 40px -26px color-mix(in srgb, var(--accent) 80%, transparent); }
[data-theme="dark"] .pn-plan.is-pro { background: #24201B; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pn-plan.is-pro { background: #24201B; } }
.pn-plan.is-mine { box-shadow: 0 0 0 2px var(--ok); border-color: var(--ok); }
.pn-plan-h { display: flex; align-items: center; gap: 10px; }
.pn-name { font-size: 26px; font-weight: 900; letter-spacing: -.035em; line-height: 1; }
.pn-tag { padding: 5px 8px; border-radius: 99px; font: 700 10px/1 var(--font-mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; background: var(--ok-soft); color: var(--ok); }
.is-pro .pn-tag { background: rgba(92, 201, 133, .16); color: #5CC985; }
.pn-price { margin-left: auto; display: flex; align-items: baseline; gap: 2px; white-space: nowrap; }
.pn-price b { font-size: 32px; font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.pn-price small { font-size: 13px; color: var(--muted); }
.is-pro .pn-price small { color: var(--pm); }
.pn-feat { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--line-soft); }
.is-pro .pn-feat { border-top-color: var(--pl); }
.pn-feat li { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.3; color: var(--ink-2); }
.pn-feat li .icon { width: 18px; height: 18px; flex: none; color: var(--ok); stroke-width: 2.6; }
.is-pro .pn-feat li { color: var(--pi); }
.is-pro .pn-feat li .icon { color: var(--accent); }
.pn-feat li.is-lead { font-weight: 700; }
.pn-plan .pn-btn.is-ghost { border-color: var(--line-strong); }
/* 4 · compare */
.pn-cmp { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 14px; }
.pn-cmp th, .pn-cmp td { padding: 11px 0; border-top: 1px solid var(--line-soft); }
.pn-cmp thead th { border-top: 0; padding-top: 4px; font: 700 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pn-cmp thead th:last-child { color: var(--accent-press); }
.pn-cmp th[scope="row"] { text-align: left; font-weight: 600; color: var(--ink); padding-right: 8px; }
.pn-cmp td, .pn-cmp thead th:not(:first-child) { width: 64px; text-align: center; }
.pn-yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.pn-cmp td:last-child .pn-yes { background: var(--accent-soft); color: var(--accent-press); }
.pn-yes .icon { width: 14px; height: 14px; stroke-width: 3; }
.pn-no { font: 600 15px/1 var(--font-mono); color: var(--line-strong); }
/* 5 · FAQ */
.pn-faq { margin-top: 10px; }
.pn-faq details { border-top: 1px solid var(--line-soft); }
.pn-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 12px 0; list-style: none; cursor: pointer; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.pn-faq summary::-webkit-details-marker { display: none; }
.pn-faq summary i { position: relative; width: 14px; height: 14px; flex: none; }
.pn-faq summary i::before, .pn-faq summary i::after { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: var(--muted); transition: transform .2s; }
.pn-faq summary i::after { transform: rotate(90deg); }
.pn-faq details[open] summary i::after { transform: rotate(0); }
.pn-faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.pn-faq p { padding: 0 0 14px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
/* 6 · closing */
.pn-end { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 4px 0; text-align: center; }
.pn-end .pn-h { margin: 0; }
.pn-help { align-self: center; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14.5px; color: var(--muted); text-decoration: none; }
.pn-help b { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.pn-help .icon { width: 18px; height: 18px; }

/* ===================== Round 10 · Dashboard ===================== */
/* reuses the round-8 panel colors (--hp …) set on .dh */
.db { gap: 14px; }
/* 1 · hero */
.db-hero { position: relative; overflow: hidden; padding: 18px 18px 18px; border-radius: 26px; color: var(--hp-ink); --tone: var(--hp-muted);
  background: linear-gradient(160deg, var(--hp-2) 0%, var(--hp) 55%); box-shadow: 0 26px 46px -30px rgba(0, 0, 0, .7); }
.db-hero::after { content: ''; position: absolute; right: -80px; top: -110px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--glow, var(--accent)) 26%, transparent) 0%, transparent 70%); pointer-events: none; }
.db-hero.is-running { --glow: #5CC985; } .db-hero.is-paused { --glow: #F0B04A; } .db-hero.is-ended { --glow: #FF7B6B; } .db-hero.is-route { --glow: #5CC985; }
.db-status { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.db-top { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.db-ic { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--hp-2); border: 1px solid var(--hp-line); color: var(--hp-ink); }
.db-ic .icon { width: 28px; height: 28px; stroke-width: 2; }
.db-ic.is-live { background: rgba(92, 201, 133, .14); border-color: rgba(92, 201, 133, .35); color: #5CC985; }
.db-ic.is-live .icon { animation: dh-pulse 1.6s ease-in-out infinite; }
.db-ic.is-warn { background: rgba(240, 176, 74, .14); border-color: rgba(240, 176, 74, .35); color: #F0B04A; }
.db-ic.is-danger { background: rgba(255, 123, 107, .14); border-color: rgba(255, 123, 107, .35); color: #FF7B6B; }
.db-ic.is-ok, .db-ic.is-on { background: rgba(92, 201, 133, .12); border-color: rgba(92, 201, 133, .3); color: #5CC985; }
.db-ic.is-off { background: color-mix(in srgb, var(--accent) 16%, var(--hp-2)); border-color: color-mix(in srgb, var(--accent) 40%, var(--hp-line)); color: var(--accent); }
.db-state { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--hp-muted); }
.db-hero .dh-dot { background: var(--hp-muted); }
.db-hero .dh-dot.is-on, .db-hero .dh-dot.is-ok { background: #5CC985; }
.db-hero .dh-dot.is-live { background: #5CC985; }
.db-hero .dh-dot.is-warn { background: #F0B04A; }
.db-hero .dh-dot.is-danger { background: #FF7B6B; }
.db-trial { margin-left: auto; display: inline-flex; flex-direction: column; align-items: flex-end; gap: 4px; padding: 7px 10px; border-radius: 12px; text-decoration: none;
  background: var(--hp-2); border: 1px solid var(--hp-line); color: var(--hp-ink); }
.db-trial span { font: 600 9.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--hp-muted); }
.db-trial b { font: 700 15px/1 var(--font-mono); font-variant-numeric: tabular-nums; }
.db-trial.is-warn { border-color: rgba(240, 176, 74, .45); }
.db-trial.is-warn b { color: #F0B04A; }
.db-title { font-size: clamp(34px, 10.4vw, 42px); line-height: 1; font-weight: 900; letter-spacing: -.04em; color: var(--hp-ink); }
.db-sub { font-size: 15px; line-height: 1.4; color: var(--hp-muted); }
.db-sub b { color: var(--hp-ink); font-weight: 600; }
.db-match { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--hp-muted); }
.db-match i { width: 7px; height: 7px; border-radius: 50%; background: var(--hp-line); flex: none; }
.db-match.is-hit { color: var(--hp-ink); font-weight: 600; }
.db-match.is-hit i { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.db-act { margin-top: 8px; }
.db-hero .dh-btn { width: 100%; height: 58px; font-size: 17.5px; }
.db-hero .dh-btn.is-ghost { color: var(--hp-ink); border-color: var(--hp-line); background: var(--hp-2); }
.db-hero .dh-btn:disabled { background: var(--hp-2); color: var(--hp-muted); }
.db-hero .dh-btn.is-primary { box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--accent) 90%, transparent); }
/* 2 · route in progress (inside the hero) */
.db-route { margin-top: 8px; padding: 14px; border-radius: 18px; background: var(--hp-2); border: 1px solid var(--hp-line); display: flex; flex-direction: column; gap: 12px; }
.db-route-leg { position: relative; display: flex; gap: 12px; }
.db-route-leg > i { width: 12px; height: 12px; margin-top: 3px; flex: none; border-radius: 50%; }
.db-route-leg > i.is-from { border: 3px solid #5CC985; }
.db-route-leg > i.is-to { background: var(--accent); }
.db-route-leg:first-child::after { content: ''; position: absolute; left: 5px; top: 18px; bottom: -14px; border-left: 2px dotted var(--hp-line); }
.db-route-leg > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.db-route-leg span, .db-route-facts span { font: 600 10px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--hp-muted); }
.db-route-leg b { font-size: 16px; font-weight: 700; color: var(--hp-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.db-route-leg small { font-size: 13.5px; color: var(--hp-muted); }
.db-route-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 12px; border-top: 1px solid var(--hp-line); }
.db-route-facts > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.db-route-facts > div + div { padding-left: 12px; border-left: 1px solid var(--hp-line); }
.db-route-facts b { font: 700 16px/1 var(--font-mono); color: var(--hp-ink); white-space: nowrap; }
/* cards shared by filters + earnings */
.db-card { padding: 16px; border-radius: 20px; background: var(--surface); border: 1.5px solid var(--line-soft); }
.db-sec-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.db-sec-h h2 { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.db-link { min-height: 36px; padding: 0 12px; margin-right: -6px; border-radius: 99px; font-weight: 700; font-size: 14px; color: var(--ink); background: var(--surface-2); }
.db-link:active { opacity: .7; }
.db-chev { width: 18px; height: 18px; color: var(--muted); }
/* 3 · filter chips */
.db-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.db-chip { display: inline-flex; align-items: center; height: 38px; padding: 0 13px; border-radius: 99px; cursor: pointer;
  font: 600 14px/1 var(--font-sans); color: var(--ink); background: var(--bg); border: 1.5px solid var(--line-soft); transition: border-color .15s, transform .1s; }
.db-chip:hover { border-color: var(--ink-2); }
.db-chip:active { transform: scale(.97); }
.db-chip:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.db-chip:first-child:not(.is-base) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.db-chip.is-add { border-style: dashed; color: var(--muted); }
.db-chip.is-ghost { cursor: default; color: var(--muted); }
/* filters sheet */
.db-fs-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.db-fsheet .db-fs-h h2 { margin: 0; outline: none; }
.db-x { width: 40px; height: 40px; margin-right: -8px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.db-x .icon { width: 20px; height: 20px; }
.db-x:hover { background: var(--surface-2); color: var(--ink); }
.db-fs-body .group-label { margin-top: 14px; }
.db-fs-body .group-label:first-child { margin-top: 0; }
.db-fs-body [hidden] { display: none !important; }
.db-fs-body.is-only .fx-card { margin-top: 0; }
.db-fs-body.is-only .group-label { display: none !important; }
.db-fs-foot { position: sticky; bottom: calc(-1 * (var(--s5) + env(safe-area-inset-bottom))); margin: 16px calc(-1 * var(--s5)) calc(-1 * (var(--s5) + env(safe-area-inset-bottom)));
  padding: 12px var(--s5) calc(var(--s5) + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 4px; }
/* 4/5 · offers */
.db-count { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.db-count[hidden] { display: none; }
.db-pill { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; border-radius: 99px; background: var(--surface); border: 1.5px solid var(--line-soft);
  font-size: 13px; color: var(--muted); white-space: nowrap; }
.db-pill b { color: var(--ink); font-family: var(--font-mono); font-weight: 700; }
.db-pill b.is-hit { color: var(--accent-press); }
.db-day { font: 500 11.5px/1 var(--font-mono); color: var(--muted); white-space: nowrap; }
.db-thin { padding: 12px 2px; font-size: 14px; line-height: 1.45; color: var(--muted); border-bottom: 1px solid var(--line-soft); list-style: none; }
.db-thin a { color: var(--ink); font-weight: 600; }
.db-thin.is-warn { color: var(--warn); }
.oc-pickup { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-pickup .icon { width: 13px; height: 13px; flex: none; color: var(--muted); }
/* 6/7 · earnings + last claim */
.db-earn .dh-earn-row { margin-top: 14px; }
.db-earn .dh-earn-row b { font-size: clamp(17px, 5.2vw, 21px); }
.db-last { display: flex; align-items: center; gap: 7px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-last[hidden] { display: none; }
.db-last i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.db-last.is-fail i { background: var(--line-strong); }
.db-last b { color: var(--ink-2); font-weight: 600; }
@media (max-width: 350px) { .db-ic { width: 44px; height: 44px; } .db-pill { font-size: 12px; padding: 0 10px; } }

/* ===================== Round 10 · Dashboard — iteration 2: one live panel ===================== */
.db { --hl: color-mix(in srgb, var(--ink) 14%, transparent); --num: 600 1em/1 var(--font-sans); flex: 1; gap: 7px; }
/* numbers: sans 600, tight, tabular (mono-like alignment without mono) */
.db .tnum, .db-trial b, .db-route-facts b, .db-earn .dh-earn-row b, .oc-pay b, .oc-stops b, .oc-time {
  font-family: var(--font-sans); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
/* 1 · hero: ~30% shorter */
.db-hero { padding: 16px; border-radius: 22px; }
.db-status { gap: 6px; }
.db-top { gap: 10px; margin-bottom: 2px; }
.db-ic { width: 40px; height: 40px; border-radius: 12px; }
.db-ic .icon { width: 22px; height: 22px; }
.db-trial { padding: 5px 9px; border-radius: 10px; gap: 3px; }
.db-trial span { font-size: 9px; }
.db-trial b { font-size: 15px; font-weight: 600; }
.db-title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.db-sub { font-size: 14px; line-height: 1.35; }
.db-match { font-size: 13px; }
.db-act { margin-top: 6px; }
.db-hero .dh-btn { height: 46px; font-size: 16px; }
/* 2 · route in progress, compacted the same way */
.db-route { margin-top: 4px; padding: 11px 12px; gap: 9px; border-radius: 14px; }
.db-route-leg { gap: 10px; }
.db-route-leg > i { width: 10px; height: 10px; margin-top: 2px; }
.db-route-leg > i.is-from { border-width: 2.5px; }
.db-route-leg:first-child::after { left: 4px; top: 15px; bottom: -11px; }
.db-route-leg b { font-size: 15px; font-weight: 600; }
.db-route-leg small { font-size: 12.5px; }
.db-route-facts { padding-top: 9px; }
.db-route-facts > div { gap: 4px; }
.db-route-facts b { font-size: 16px; font-weight: 600; }
/* 3 · filters: one quiet row, scrolls sideways */
.db-frow { display: flex; align-items: center; gap: 6px; padding: 0 4px 0 6px; border-radius: 10px;
  background: color-mix(in srgb, var(--ink) 3%, transparent); border: 1px solid var(--hl); }
.db-chips { flex: 1; min-width: 0; display: flex; flex-wrap: nowrap; gap: 6px; margin: 0; padding: 8px 2px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.db-chips::-webkit-scrollbar { display: none; }
.db-chip { position: relative; flex: none; height: auto; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--hl); background: transparent;
  font: 500 11px/1.2 var(--font-mono); color: var(--ink-2); white-space: nowrap; }
.db-chip::after { content: ''; position: absolute; inset: -8px -3px; }
.db-chip:first-child:not(.is-base) { background: transparent; color: var(--ink-2); border-color: var(--hl); }
.db-chip:hover { border-color: var(--muted); color: var(--ink); }
.db-chip.is-ghost { border-color: transparent; }
.db-edit { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 8px; border-radius: 8px;
  font: 500 11px/1 var(--font-mono); color: var(--ink); border-left: 1px solid var(--hl); border-radius: 0 8px 8px 0; }
.db-edit .icon { width: 14px; height: 14px; }
.db-edit:hover { background: color-mix(in srgb, var(--ink) 5%, transparent); }
/* 4/5 · offers: one panel, rows split by hairlines */
.db-offers { display: flex; flex-direction: column; }
.db-offers-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 2px 8px; }
.db-offers-h h2 { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.db-tag { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--font-mono); color: var(--muted); text-transform: lowercase; }
.db-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.db-tag.is-live { color: var(--ok); }
.db-tag.is-live::before { animation: db-dot 1.8s ease-in-out infinite; }
.db-tag.is-warn { color: var(--warn); }
@keyframes db-dot { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.db-list { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0 14px; list-style: none; min-height: 40vh;
  background: var(--surface); border: 1px solid var(--hl); border-radius: 18px; }
.db-list > li + li { border-top: 1px solid var(--hl); }
.db-list .oc { padding: 12px 0; border: 0; border-radius: 0; background: none; }
.db-list > li.oc + li.oc { border-top: 1px solid var(--hl); }
.db-list .loading-line { padding: 18px 0; }
.oc-city { min-width: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-list .oc-top b.oc-city { font-size: 18px; font-weight: 600; }
.db-list .oc-pay b { font-size: 18px; font-weight: 700; color: var(--ink); }
.db-list .oc-pay small { font: 500 10.5px/1 var(--font-mono); color: var(--muted); }
.oc-mid { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.oc-stops { font-size: 13px; color: var(--muted); }
.oc-stops b { font-size: 18px; font-weight: 700; color: var(--ink); margin-right: 1px; }
.oc-mid .is-claimed { padding: 3px 7px; border-radius: 6px; background: var(--ok-soft); color: var(--ok); font: 600 10.5px/1 var(--font-mono); }
.oc-mid .oc-time { margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.db-list .oc-pickup { margin-top: 6px; font-size: 13px; }
.db-list .oc-pickup .icon { width: 12px; height: 12px; }
.oc-meta { display: block; margin-top: 5px; font: 400 11px/1.3 var(--font-mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc.is-fresh { animation: db-fresh .2s ease-out; }
@keyframes db-fresh { from { opacity: .35; } }
.db-list .db-thin { padding: 12px 0; border-bottom: 0; }
/* empty: a quiet radar fills the panel so the page never looks empty and the tab bar never moves up */
.db-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: calc(40vh - 2px); padding: 24px 8px; text-align: center; }
.db-empty h3 { margin-top: 10px; font-size: 17px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.db-empty p { font-size: 13.5px; color: var(--muted); }
.db-cd { font: 500 12px/1 var(--font-mono); color: var(--muted); }
.db-cd b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.db-radar { width: 112px; height: 112px; }
.db-radar .r-ring, .db-radar .r-cross { fill: none; stroke: var(--hl); stroke-width: 1; }
.db-radar .r-sweep { fill: color-mix(in srgb, var(--accent) 20%, transparent); transform-box: view-box; transform-origin: 60px 60px; animation: db-sweep 3.2s linear infinite; }
.db-radar .r-pulse { fill: none; stroke: color-mix(in srgb, var(--accent) 55%, transparent); stroke-width: 1.5; transform-box: view-box; transform-origin: 60px 60px; animation: db-pulse 2.4s ease-out infinite; }
.db-radar .r-core { fill: var(--accent); }
.db-empty.is-closed .r-sweep, .db-empty.is-closed .r-pulse { display: none; }
.db-empty.is-closed .r-core { fill: var(--muted); }
@keyframes db-sweep { to { transform: rotate(360deg); } }
@keyframes db-pulse { from { transform: scale(.4); opacity: .9; } to { transform: scale(2.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .db-radar .r-sweep, .db-radar .r-pulse, .db-tag.is-live::before, .oc.is-fresh, .db-ic.is-live .icon { animation: none; } }
/* 6/7 · earnings: same hairline panel */
.db-card { border: 1px solid var(--hl); border-radius: 18px; padding: 14px; }
.db-earn .dh-earn-row { margin-top: 10px; }
.db-earn .dh-earn-row > div { border-left-color: var(--hl); }
.db-earn .dh-earn-row b { font-size: clamp(17px, 5.2vw, 20px); font-weight: 600; }
.db-last { margin-top: 12px; padding-top: 10px; border-top-color: var(--hl); }
.db-list > .loading-line:only-child { margin: auto; }
.db-empty p a { color: var(--ink); font-weight: 600; }

/* ===================== R10C · Checkout: Card (Stripe) first, crypto as a quiet alternative ===================== */
.ck { --hl: color-mix(in srgb, var(--ink) 14%, transparent); }
.ck-tier { margin: -2px 0 14px; }
.ck-tier button { height: 40px; font-size: 14px; }
.ck-tier button[aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1.5px var(--line-soft); }
.ck-opts { display: flex; flex-direction: column; }
/* card: the big, selected-by-default option */
.ck-card { display: flex; flex-direction: column; gap: 12px; width: 100%; padding: 16px; border-radius: 16px; cursor: pointer; text-align: left; font: inherit;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line-soft); }
.ck-card[aria-checked="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ck-card:focus-visible, .ck-coin:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ck-card-h { display: flex; align-items: center; gap: 12px; }
.ck-card-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ck-card-t b { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.ck-card-t small { font-size: 13px; color: var(--muted); }
.ck-card-h > i { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-strong); }
.ck-card[aria-checked="true"] .ck-card-h > i { border: 6px solid var(--accent); }
.ck-brands { display: flex; gap: 6px; }
.ck-brands svg { width: 38px; height: 24px; flex: none; }
.ck-bt { font-family: var(--font-sans); font-weight: 900; letter-spacing: .02em; }
.ck-stripe { display: flex; align-items: center; gap: 6px; padding-top: 10px; border-top: 1px solid var(--hl); font: 500 11.5px/1.3 var(--font-mono); color: var(--muted); }
.ck-stripe .icon { width: 13px; height: 13px; flex: none; }
.ck p.ck-hint { margin: 8px 2px 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
/* divider */
.ck-or { display: flex; align-items: center; gap: 10px; margin: 20px 0; font: 500 10.5px/1 var(--font-mono); color: var(--muted); }
.ck-or::before, .ck-or::after { content: ''; flex: 1; height: 1px; background: var(--hl); }
/* crypto: one compact row of small chips */
.ck-coins { display: flex; gap: 6px; }
.ck-coin { flex: 1; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 36px; padding: 0 6px; border-radius: 10px; cursor: pointer;
  font: 600 12px/1 var(--font-mono); color: var(--ink-2); background: transparent; border: 1px solid var(--hl); }
.ck-coin svg { width: 16px; height: 16px; flex: none; }
.ck-coin[aria-checked="true"] { color: var(--ink); border-color: var(--ink); background: var(--surface); }
.ck p.ck-micro { margin: 8px 2px 0; font: 500 10.5px/1.3 var(--font-mono); color: var(--muted); }
.ck p.ck-micro + p.ck-hint { margin-top: 4px; }
.ck-go { margin-top: 18px; }
.ck-go.btn-primary { background: var(--ink); color: var(--bg); border-color: var(--ink); box-shadow: none; }
.ck-go.btn-primary:hover { background: var(--ink-2); }
.ck .pl-fine { margin-bottom: 0; }
.ck .pl-fine[hidden] { display: none; }
/* plan hero: "Prefer crypto?" fine print under the main button */
.pn-alt { align-self: center; min-height: 32px; padding: 0 6px; font: 500 12px/1 var(--font-mono); color: var(--hx-muted); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pn-alt:hover { color: var(--hx-ink); }
@media (max-width: 350px) { .ck-coin svg { display: none; } .ck-brands svg { width: 34px; height: 22px; } }
