/* Customer app layout and components. */
:root {
  --column:760px;
  /* The tab bar's height: the handoff's 56 px tabs with 8 px above and 14 px below them. */
  --tab-bar:78px;
  /* The offer sheet (handoff screens 10 and 11): the ground under its map, the map's dark controls, the ground of the
     smaller sheets over it and the line between their rows. */
  --map-ground:#344955; --map-control:#171c1e; --sub-sheet:#252626; --sub-line:#494b4b;
  /* The top veil: how far every page, and the offer sheet where it reaches the top of the screen, keep their content down
     from it. Since iOS 26, iOS blurs whatever sits just under the status bar, in Safari and in home-screen apps, and there is
     no documented way to turn that off. The owner reported it on 24 November 2026 from the iPhone home-screen app
     ("Розмивається фон зверху"): the header's cells smeared in a band about 35 pt tall. So there a strip of the page's own
     background stands in that band (body::before), plain for iOS to blur, and our content starts under it. Everywhere else
     it is 0 and nothing moves. The 40 px comes from one screenshot: tune it here, in this one place. */
  --top-veil:0px;
}
/* The home-screen app (display-mode: standalone, as push.js checks it) on iOS and iPadOS only, the only systems that support
   -webkit-touch-callout: Android's home-screen apps, every browser tab and the Telegram app keep 0. */
@media (display-mode: standalone) { @supports (-webkit-touch-callout: none) { :root { --top-veil:40px; } } }

/* The handoff draws Inter in its text cut at every size, as the fonts it loads have no other; ours has an optical size
   axis, which would narrow the large titles by a twentieth: Inter at the handoff's own widths, on the website and in the
   Telegram app alike. */
body { font-size:16px; line-height:1.5; -webkit-font-smoothing:antialiased; font-optical-sizing:none; }
/* Every page starts under the top veil (--top-veil): the cabinet's header, the pages before sign-in and the header behind a
   sheet. Over the veil stands a strip of the page's own background, fixed at the top: above the page's content, which
   scrolls under it and cannot be tapped through it, and under the sheets' backdrop (z-index 40), so it dims with the page
   under a sheet. An anchor and the focused skip link land below it too. */
body { padding-top:var(--top-veil); }
body::before { content:""; position:fixed; top:0; left:0; right:0; z-index:39; height:var(--top-veil); background:var(--bg); }
html { scroll-padding-top:var(--top-veil); }
.skip-link:focus { top:calc(16px + var(--top-veil)); }
a { color:var(--win); }
:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible,
.field select:focus-visible { outline:2px solid var(--win); outline-offset:3px; border-radius:6px; }
.skip-link { background:var(--text); color:var(--bg); }
.visually-hidden { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }

/* Titles as the handoff draws them: a small teal label, then thin words ending bold; small labels in mono capitals. Teal
   text on the dark panels is the lighter --win (6.8 : 1); --teal-mid (3.8 : 1) stays the brand colour of borders, marks and
   selected states, which are not text. */
h1, .page-heading h1, .page-title { font-size:46px; line-height:1; font-weight:300; letter-spacing:-2px; margin:10px 0 14px; }
h1 strong, .page-title strong { font-weight:800; }
.page-kicker { margin:0; font-family:var(--mono); font-size:10px; font-weight:700; letter-spacing:1.2px; text-transform:uppercase;
  color:var(--win); }
h2 { font-size:21px; font-weight:600; letter-spacing:-.01em; }
h3 { font-weight:600; }
.eyebrow, .app-footer {
  font-family:var(--mono); letter-spacing:.12em; text-transform:uppercase; }
.eyebrow { font-size:11px; font-weight:600; color:var(--win); }
/* The shared theme's teal text, in the readable teal: links in the access pages' text and the empty states' sign. */
.access-panel a:not(.button), .empty-icon { color:var(--win); }
.intro { color:var(--muted); font-size:16px; }

/* Header: three outlined cells, the logo, the languages and Log out, as the handoff draws them; from 900px they span
   the handoff's wider row. */
.app-header, .access-top { position:static; display:flex; align-items:stretch; gap:6px; height:auto; max-width:1180px; margin:0 auto;
  padding:10px; background:transparent; border:0; }
.cell { display:inline-flex; align-items:center; justify-content:space-between; gap:10px; min-height:44px; padding:0 12px;
  border:1px solid var(--border-strong); border-radius:8px; background:transparent; color:var(--text);
  transition:border-color var(--motion), box-shadow var(--motion); }
a.cell:hover, button.cell:hover { border-color:var(--teal-mid); box-shadow:0 0 0 1px rgba(62,130,159,.35); text-decoration:none; }
.brand.cell { gap:8px; font-size:16px; font-weight:300; letter-spacing:2px; }
.logo { white-space:nowrap; }
.logo-flex { font-weight:300; }
.logo-win { font-weight:800; color:var(--win); }
/* The languages' cell is as wide as its three buttons, pushed to the right, not a wide box that reads as an empty field; each
   button is a 44 px target, 8 px from the next. */
.language-switch.cell { flex:none; margin:0 0 0 auto; justify-content:center; gap:8px; padding:0 4px; }
/* Each language is a 44 px target that reaches over the cell's own border lines, so the cell keeps the handoff's 44 px; its
   face, white for the chosen one, is the handoff's 36 px tall inside it (the 4 px of padding the ground is clipped to). */
.language-switch button { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; margin:-1px 0; padding:4px 0;
  background-color:transparent; background-clip:content-box; border:0; border-radius:10px; color:var(--muted); font:700 11px/1 var(--mono);
  letter-spacing:1.2px; cursor:pointer; transition:color var(--motion), background-color var(--motion); }
.language-switch button:hover { color:var(--text); }
.language-switch button[aria-current=true] { color:var(--bg); background-color:var(--text); }
.sign-out { display:flex; margin:0; }
/* The shared theme gives this button no border or padding of its own; the cell's come back here. */
.sign-out button.cell { gap:8px; min-width:44px; padding:0 12px; justify-content:center; border:1px solid var(--border-strong);
  color:var(--text); font:400 10px/1 var(--mono); letter-spacing:1.2px; text-transform:uppercase; cursor:pointer; }
.sign-out button.cell:hover { border-color:var(--teal-mid); }
.sign-out svg { display:block; flex:none; width:16px; height:16px; }
.sign-out .sign-out-label { display:inline; white-space:nowrap; }
/* Where the three languages, 44 px targets each, leave no room for Log out's words, the icon alone; assistive technology still
   reads them. "Log out" needs about 405 px of page, "Cerrar sesión" about 450. */
@media(max-width:419px) {
  .sign-out .sign-out-label { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); }
}
@media(max-width:469px) {
  :lang(es) .sign-out .sign-out-label { position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); }
}

/* One column; the tab bar at the bottom on every width, once there is a Flex account. */
.app-layout { display:block; max-width:none; min-height:0; margin:0; border:0; }
.app-main { max-width:var(--column); margin:0 auto; padding:22px 16px calc(var(--tab-bar) + 32px + env(safe-area-inset-bottom)); }
.app-main.without-tabs { padding-bottom:40px; }
.app-navigation { position:fixed; left:0; right:0; bottom:0; z-index:6; display:flex; flex-direction:row; justify-content:center;
  gap:4px; padding:8px 8px calc(14px + env(safe-area-inset-bottom)); background:rgba(5,5,5,.96); border:0;
  border-top:1px solid var(--border); }
/* Five tabs in the handoff's 560 px, each 56 px tall with 12 px corners: a label sits centred under its icon in the handoff's
   11 px and may take two lines, as "Instant Offers" does on a phone, so none is cut off; the bar keeps its height. */
.app-navigation a { flex:1; max-width:calc((560px - 16px) / 5); min-width:0; min-height:56px; display:flex; flex-direction:column; align-items:center;
  justify-content:center; gap:4px; padding:2px; border-radius:12px; color:var(--muted); font-size:11px; line-height:12px;
  font-weight:700; text-align:center; transition:color var(--motion), background-color var(--motion), transform var(--motion); }
.app-navigation a:hover { background:transparent; color:var(--text); text-decoration:none; }
.app-navigation a:active { transform:scale(.97); }
.app-navigation a.active { color:#ffffff; background:var(--teal); }
.nav-icon { display:block; width:22px; height:22px; font-size:0; }
.nav-icon svg { width:22px; height:22px; display:block; }
.app-navigation a span:last-child { max-width:100%; overflow-wrap:anywhere; }
.app-footer { margin-top:40px; padding-top:20px; font-size:10px; color:var(--tertiary); flex-direction:column; gap:4px; }

@media(min-width:900px) {
  /* The handoff's computer header: the languages stand at the right end of a bar that fills the row between the logo and
     Log out. */
  .app-header .language-switch.cell { flex:1; margin:0; justify-content:flex-end; }
  /* The handoff keeps the phone's 22 px above the page's label on a computer too. */
  .app-main { padding:22px 0 calc(var(--tab-bar) + 56px); }
  h1, .page-heading h1, .page-title { font-size:72px; line-height:70px; }
  .app-footer { flex-direction:row; justify-content:space-between; }
}

/* Pages before sign-in: the same column, narrower. Under the top veil (--top-veil, the iPhone home-screen app's 40 px) its
   own top and bottom spacing give the veil's height back, 14 and 26 px, so such a page is no taller than without the veil and
   gains no scroll on a screen it fitted (a Pro Max's home-screen view is about 894 px); its cells still start 10 px under the
   veil, and 22 px stay at its foot. Without the veil nothing changes: 24 and 48 px. */
.access-main { max-width:440px; margin:0 auto;
  padding:max(10px, calc(24px - var(--top-veil))) 16px max(22px, calc(48px - var(--top-veil))); }
.access-top { padding:0; margin-bottom:20px; }
.access-panel .page-title { font-size:40px; line-height:42px; letter-spacing:-1.8px; }
/* Create account and Log in, the two tabs above the signup and login forms. */
.access-tabs { display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; margin:0 0 16px; border:1px solid var(--border-strong);
  border-radius:12px; }
.access-tabs a { display:flex; align-items:center; justify-content:center; min-height:44px; border-radius:9px; color:var(--muted);
  font-size:15px; font-weight:700; text-decoration:none; transition:color var(--motion), background-color var(--motion); }
.access-tabs a:hover { color:var(--text); text-decoration:none; }
.access-tabs a[aria-current=page] { color:var(--bg); background:var(--text); }
.access-form .field label { font-family:var(--mono); font-size:10px; font-weight:500; letter-spacing:1.2px; text-transform:uppercase; color:var(--muted); }
.referral-input { border-style:dashed !important; font-family:var(--mono); }
.code-input { font-family:var(--mono); font-size:22px; letter-spacing:.4em; text-align:center; }
.code-resend { margin-top:10px; }

/* Back, as a cell beside the languages, where a page has no header of its own. */
.back-cell { gap:8px; font:400 10px/1 var(--mono); letter-spacing:1.2px; text-transform:uppercase; }
.back-cell svg { display:block; width:16px; height:16px; }

/* Legal & support: the handoff's one page of five sections, with a cell for each above them. */
.legal-main { max-width:var(--column); }
/* Each section's cell keeps the 44 px of .cell, 8 px from the next, across and down where they wrap (stage QA of 18 November,
   U1; they were 42 px, 6 px apart). */
.legal-sections { display:flex; flex-wrap:wrap; gap:8px; margin:4px 0 16px; }
.legal-sections .cell { font-size:14px; font-weight:600; }
/* The section the address names is the chosen one (aria-current, legal.js), drawn as History's chosen chip is; below 480 px
   the four stand two by two rather than three and one (stage QA of 18 November, Part 2). */
.legal-sections .cell[aria-current=true] { background:var(--teal); border-color:var(--teal); color:var(--text); }
@media(max-width:479px) {
  .legal-sections { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .legal-sections .cell { justify-content:center; text-align:center; }
}
.legal-section { padding:22px 0; border-top:1px solid var(--border); scroll-margin-top:16px; }
.legal-section h2 { margin:0 0 8px; font-size:24px; font-weight:700; }
.legal-section p { margin:0 0 8px; color:var(--muted); }
/* The Terms and the Privacy Policy: numbered parts, named paragraphs inside the longer ones, and lists. */
.legal-section h3 { margin:22px 0 8px; font-size:17px; font-weight:700; }
.legal-section h4 { margin:14px 0 4px; font-size:14px; font-weight:700; }
.legal-section ul { margin:0 0 8px; padding-left:20px; color:var(--muted); }
.legal-section li { margin:0 0 4px; }
.legal-section .legal-updated { font-size:13px; }
.legal-home { margin-top:28px; }
.access-panel { padding:24px; }
/* Forgot password? is a target of its own, clear of Log in above it and of the Sign up line under it. */
.access-forgot { margin:12px 0; }
/* Back to log in, a link of its own line. */
.access-back { margin:16px 0 0; }
/* 44 px tall targets: the links on a line of their own, Forgot password?, Back to log in and Balance's support address; and,
   at every width rather than only below 600 px by padding, the sign-in page's Sign up beside its question and a link beside a
   section's heading (stage QA of 18 November, U1). */
.access-forgot a, .access-back a, .support-link, .signup-link, .section-heading a { display:inline-flex; align-items:center;
  min-height:44px; }
/* Refresh status on the Flex sign-in page: a button on a line of its own, as wide as the page's other buttons (.full-width; stage
   QA of 18 November, Part 2), under Choose a station or the status it refreshes. */
.refresh-status { display:flex; margin-top:12px; }

/* Cards look tappable: a raised edge and a small lift on hover. */
.panel { background:var(--panel); border:1px solid var(--border);
  border-radius:var(--radius); }
.status-chip { background:var(--panel-raised); }
.page-heading { display:block; margin-bottom:24px; }
.page-heading .status, .page-heading>.status { margin-top:6px; }

/* Buttons: white primary, outlined secondary, red for Stop and Decline. Hover lifts 1px and moves the arrow 3px; a
   press shrinks to .97 with the teal ring. */
.button { min-height:48px; padding:12px 20px; border-radius:14px; font-size:15px; font-weight:600; letter-spacing:0;
  transition:transform var(--motion), box-shadow var(--motion), background-color var(--motion), border-color var(--motion), color var(--motion); }
.button:hover { transform:translateY(-1px); text-decoration:none; filter:none; }
/* A press on a link or button cell; the languages' cell holds buttons of its own, which press alone. */
.button:active, a.cell:active, button.cell:active, .language-switch button:active { transform:scale(.97); box-shadow:0 0 0 2px rgba(62,130,159,.6); }
.button > span[aria-hidden=true] { display:inline-block; transition:transform var(--motion); }
.button:hover > span[aria-hidden=true] { transform:translateX(3px); }
.button-primary { background:var(--text); color:var(--bg); border:1px solid var(--text); }
.button-primary:hover { background:#ffffff; box-shadow:0 10px 24px rgba(0,0,0,.45), 0 0 0 1px rgba(247,247,247,.4); }
.button-secondary, .chip { background:transparent; color:var(--text); border:1px solid var(--border-strong); }
.button-secondary:hover, .chip:hover { border-color:var(--teal-mid); box-shadow:0 0 0 1px rgba(62,130,159,.35); }
/* Quiet buttons (Refresh status, Refresh station list, Sign-in details, Close, a station's star) keep an outline, so they read
   as buttons, not captions; Unlink is quiet too, in the red of a step that undoes something. */
.button-quiet { background:transparent; border:1px solid var(--border-strong); color:var(--muted); }
.button-quiet:hover { color:var(--text); border-color:var(--teal-mid); }
.button-quiet.button-destructive { color:var(--error); border-color:var(--red); }
.button-quiet.button-destructive:hover { color:var(--error); border-color:var(--error); }
.chip { border-radius:999px; }

/* Status: green pill while online, grey while off, teal for the driver's turn or work in progress, soft red for a
   problem. A searching account's card pulses green. */
.status-chip { font-size:13px; font-weight:600; border:1px solid var(--border); color:var(--muted); }
.status-chip.tone-active { color:var(--green); background:var(--success-bg); border-color:var(--success-border); }
.status-chip.tone-busy { color:var(--win); background:var(--warning-bg); border-color:var(--warning-border); }
.status-chip.tone-attention { color:var(--error); background:var(--danger-bg); border-color:var(--danger-border); }
.status-chip.tone-action, .status-dot.tone-action { color:var(--text); background:var(--teal); border-color:var(--teal); box-shadow:none; }
.status-dot.tone-active { background:var(--green); box-shadow:0 0 0 4px var(--success-bg); }

/* Forms: dark fields with the strong border; at least 16px so phones do not zoom into a focused field. */
.field label { font-size:14px; font-weight:500; color:var(--muted); }
.field input, .field select { min-height:48px; border-radius:12px; font-size:16px; color:var(--text); }
.field input:focus-visible, .field select:focus-visible { border-color:var(--win); }
.field-hint, .form-footnote { font-size:14px; color:var(--tertiary); }
.field-error { margin:6px 0 0; color:var(--error); font-size:14px; }
.field input[aria-invalid=true] { border-color:var(--danger-border); }
.consent-field { display:flex; gap:12px; align-items:flex-start; margin:0 0 14px; font-size:15px; line-height:1.45; color:var(--text); cursor:pointer; }
.consent-field input { flex:none; width:20px; height:20px; margin:2px 0 0; accent-color:var(--teal-mid); }
/* Sign-up's checkbox sits in a label of its own that is a 44 px target; its margins keep the box where it was drawn. The
   links in the sentence beside it stay words of the sentence, which wraps and keeps its line spacing as text does: each link's
   words stay together, and a 44 px tall target is drawn behind them (::before), behind every word of the sentence too, so
   where the sentence wraps no link's target covers the other link's words or the sentence's own, which tick the box. An
   inline block for each link broke the line before "Privacy Policy" with a gap (stage QA of 18 November, Part 2). */
.consent-target { flex:none; display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; margin:-10px -12px -12px; cursor:pointer; }
.consent-target input { margin:0; }
.access-form .consent-field { margin-bottom:24px; }
.consent-field label[for] { isolation:isolate; }
.consent-field label a { position:relative; white-space:nowrap; }
.consent-field label a::before { content:""; position:absolute; z-index:-1; left:0; right:0; top:50%; height:44px; transform:translateY(-50%); }

/* Notices. */
.notice { border-radius:14px; font-size:15px; }
.notice-error { color:var(--error); background:var(--danger-bg); border-color:var(--danger-border); }
.notice-success { color:var(--green); background:var(--success-bg); border-color:var(--success-border); }

/* FR-28: a new offer on every page, a teal bar under the header. */
.offer-alert { display:flex; align-items:center; gap:14px; padding:12px 16px; background:var(--teal); border-bottom:1px solid var(--teal-mid); }
.offer-alert p { margin:0; flex:1; color:var(--text); font-size:15px; }
.offer-alert .button { min-height:40px; padding:8px 16px; }
@media(max-width:899px) { .offer-alert { flex-wrap:wrap; } .offer-alert .button { width:100%; } }
@media(min-width:900px) { .offer-alert { padding:12px max(24px, calc((100vw - var(--column)) / 2)); } }

/* Pages' own parts, unchanged in behaviour. */
.status-chip, .account-status-description, .account-email, .notice,
.add-account-panel>p:not(.eyebrow), .section-heading a { font-size:14px; }
.home-accounts { grid-template-columns:minmax(0, 1fr); }

@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { transition:none !important; animation:none !important; }
  .button:hover, .button:active, a.cell:active, button.cell:active, .language-switch button:active { transform:none; }
}

/* Two-step sign-in: the authenticator's QR code on white, as apps scan it best, and its key in groups to copy. */
.mfa-qr { display: block; width: 200px; height: 200px; margin: 8px auto 12px; padding: 8px; background: #fff; border-radius: 8px; image-rendering: pixelated; }
.mfa-key { font-family:var(--mono); letter-spacing:.04em; overflow-wrap: anywhere; user-select: all; }

/* Accounts (handoff screens 05 and 06). */
.pill { display:inline-flex; align-items:center; white-space:nowrap; }
/* Stage QA of 18 November, N3: a search under way but not Online, in its status's tone, with the status chip's colours. */
.pill.tone-busy { color:var(--win); background:var(--warning-bg); border-color:var(--warning-border); }
.pill.tone-attention { color:var(--error); background:var(--danger-bg); border-color:var(--danger-border); }
/* What an action did: the handoff's green line with its check. */
.toast { display:flex; align-items:center; gap:10px; margin:18px 0 0; padding:14px 16px; border-radius:14px; background:#1f3a2a; color:var(--green);
  font-size:15px; font-weight:700; line-height:1.4; }
.toast svg { stroke-width:2.8; }
/* A notice's place on the website's pages stops at the Telegram app's page, whose main part is an .app-main too and keeps
   its notice over the view (telegram-app.css): :where() leaves the rule's weight as it was. */
:where(body:not(.tg-app)) .app-main > .notice { margin:18px 0 0; }
/* Before the first link: the phone that waits for an account, in a dashed card. */
.dash-card { display:flex; flex-direction:column; gap:10px; margin-top:22px; padding:16px; border-radius:16px; border:1px dashed var(--border-strong); }
.dash-card-head { display:flex; align-items:center; justify-content:space-between; }
.dash-card-lock { color:var(--dot-off); }
.dash-card h2 { margin:0; font-size:17px; font-weight:800; line-height:1.3; letter-spacing:0; }
.dash-card p { margin:0; font-size:15px; line-height:23px; color:var(--muted); }
/* "Your accounts": one card; its head with the count and the round "+", then a row per account. */
.accounts-card { margin-top:22px; padding:18px 16px 6px; border-radius:20px; border:1px solid var(--border-strong); background:var(--panel); }
.accounts-card-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:0 2px 10px; }
.accounts-card-head h2 { margin:0; font-size:22px; font-weight:800; line-height:1.25; letter-spacing:-.4px; }
.add-button { flex:none; display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; border-radius:24px; background:var(--teal);
  color:#ffffff; box-shadow:0 0 0 4px rgba(0,86,110,.25); transition:transform var(--motion), filter var(--motion); }
.add-button svg { stroke-width:2.6; }
.add-button:hover { filter:brightness(1.15); }
.add-button:active { transform:scale(.97); }
/* A row: the avatar, the name over the masked email, and on the right the pill over the phone's last check-in. The whole
   head opens and closes the row. */
.account-row { border-top:1px solid var(--border); scroll-margin-top:16px; }
.account-row-head { display:flex; align-items:center; gap:12px; padding:14px 2px; margin:0; color:var(--text); cursor:pointer; list-style:none;
  transition:opacity var(--motion); }
.account-row-head::-webkit-details-marker { display:none; }
.row-avatar { width:48px; height:48px; font-size:17px; }
.row-avatar .avatar-dot { right:0; bottom:0; width:12px; height:12px; border-radius:6px; }
.account-row.is-online .avatar-dot { background:var(--green); }
.account-row-name { flex:1; min-width:0; display:block; }
/* The account's name and email are never cut short: where the row is narrow, as on a phone in Spanish, they take another line. */
.account-name { display:block; font-size:17px; font-weight:700; line-height:1.3; overflow-wrap:anywhere; }
.account-row-name .account-email { display:block; margin:0; font-size:13px; line-height:1.4; color:var(--muted); overflow-wrap:anywhere; }
.account-row-state { flex:none; display:flex; flex-direction:column; align-items:flex-end; gap:6px; }
.account-row-state .pill { padding:4px 10px; font-size:13px; }
.mono-label.account-seen { color:var(--tertiary); white-space:nowrap; }
/* An open row: the search toggle on its near-black card, the small dark chips, what the account waits for, the one step the
   driver can take, then Relink and Remove side by side with the quiet links under them. */
/* An open row's head ends 8 px above what stands under it, so the head and the row's switch are two targets apart. */
.account-row[open] > .account-row-head { padding-bottom:6px; margin-bottom:8px; }
.account-open { padding:0 2px 14px; }
/* Scoped to the row, so that `.account-open form` below cannot take its margin away: the switch kept no gap above the
   chips (stage QA of 23 November, finding 1). */
.account-open .search-toggle { margin:0 0 10px; }
.switch-card { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:44px; padding:12px 14px; border-radius:14px;
  border:1px solid var(--border); background:var(--bg); color:var(--text); font-family:inherit; text-align:left; cursor:pointer;
  transition:border-color var(--motion), box-shadow var(--motion); }
.switch-card:hover { border-color:var(--teal-mid); }
.switch-card .switch-text { min-width:0; }
.switch-title { display:block; font-size:15px; font-weight:800; line-height:1.35; }
.switch-line { display:block; font-size:13px; line-height:1.4; color:var(--muted); overflow-wrap:anywhere; }
.switch-line.is-on { color:var(--green); }
.switch-line.tone-busy { color:var(--win); }
.switch-line.tone-attention { color:var(--error); }
.switch-card .switch-track { flex:none; position:relative; width:56px; height:32px; border-radius:16px; background:var(--border-strong); transition:background-color .15s; }
.switch-card .switch-thumb { position:absolute; top:4px; left:4px; width:24px; height:24px; border-radius:12px; background:var(--text); transform:none; transition:left .15s; }
.switch-card[aria-checked=true] .switch-track { background:var(--teal); }
.switch-card[aria-checked=true] .switch-thumb { left:28px; transform:none; }
.fact-chips { display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:0; list-style:none; }
.fact-chip { padding:6px 10px; border-radius:8px; background:var(--bg); font:400 10px/1.3 var(--mono); letter-spacing:1.2px; text-transform:uppercase; color:var(--muted); }
.fact-chip.is-phone { color:var(--fee); }
.row-hint { margin:10px 0 0; font-size:13px; line-height:19px; color:var(--muted); }
.row-status { margin-top:12px; }
.row-status .account-status-description { margin:8px 0 0; padding:0; border:0; font-size:14px; line-height:20px; color:var(--muted); }
.account-open > .notice, .account-open .notice { margin:12px 0 0; }
.account-open .notice p { margin:0; }
.button.row-action { display:flex; justify-content:center; gap:10px; min-height:48px; margin-top:12px; font-size:15px; font-weight:800; }
.account-open form { margin:0; }
/* The handoff's step bar: a thin segment for each step, teal up to the one the account is at. */
.step-bar-block { margin-top:12px; }
.mono-label.step-bar-label { font-weight:700; color:var(--win); }
.step-bar { display:flex; gap:6px; margin:8px 0 0; padding:0; list-style:none; }
.step-bar li { flex:1; height:4px; border-radius:2px; background:var(--border); }
.step-bar li.is-done { background:var(--teal-mid); }
/* Relink and Remove, and each one's question in the row: a sentence, then the action beside Keep. An open question takes
   the row's width and puts the other buttons away. */
.row-asks { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px; margin-top:12px; }
.row-ask { min-width:0; }
.row-ask > summary { list-style:none; cursor:pointer; }
/* Side by side, the two buttons keep one height when a label takes two lines, as the Ukrainian "Прив’язати знову" does
   on a phone (stage QA of 23 November, finding 2): each fills its cell of the row. */
.row-ask > summary.row-button { height:100%; }
.row-ask > summary::-webkit-details-marker { display:none; }
.row-button { display:flex; align-items:center; justify-content:center; min-height:46px; padding:6px 12px; border:1px solid var(--border-strong); border-radius:12px;
  background:var(--border); color:var(--text); font-family:inherit; font-size:15px; font-weight:700; line-height:1.25; text-align:center; text-decoration:none; cursor:pointer;
  transition:border-color var(--motion), box-shadow var(--motion), transform var(--motion), filter var(--motion); }
.row-button:hover { border-color:var(--teal-mid); box-shadow:0 0 0 1px rgba(62,130,159,.35); text-decoration:none; }
.row-button:active { transform:scale(.97); }
.row-button.is-danger { color:var(--error); }
.row-button.is-solid { border-color:var(--text); background:var(--text); color:var(--bg); font-weight:800; }
.row-button.is-solid.is-danger { border-color:var(--red); background:var(--red); color:#ffffff; }
.row-confirm-buttons .row-button:not(.is-solid) { background:var(--panel); }
.row-asks > .row-ask.is-danger:first-child { grid-column:1 / -1; }
.row-ask[open] { grid-column:1 / -1; }
.row-ask[open] > summary { display:none; }
.row-asks:has(> .row-ask[open]) > :not([open]) { display:none; }
.row-confirm p { margin:0; font-size:14px; line-height:20px; color:var(--text); }
.row-confirm .row-hint { margin-top:8px; color:var(--muted); }
.row-confirm .field { margin:10px 0 0; }
.row-confirm-buttons { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px; margin-top:10px; }
.row-link { display:flex; align-items:center; justify-content:center; min-height:44px; padding:0 8px; border-radius:12px; color:var(--muted); font-size:14px; font-weight:600;
  text-align:center; text-decoration:underline; text-decoration-color:var(--border-strong); text-underline-offset:3px; }
.row-link:hover { color:var(--text); }
/* Sign-in details stands beside Disconnect, and in the middle of the row where it stands alone. */
.row-asks > .row-ask-link { grid-column:1 / -1; }
.row-asks > .row-ask.is-quiet + .row-ask-link { grid-column:auto; }
/* "Connect your account": the label with Close, the thin title, the two numbered ways with their note and Choose; then the
   step of one, with Back, its bold title, the fields under their small capitals and the white action. */
.link-section { margin-top:28px; padding-top:20px; border-top:1px solid var(--border); scroll-margin-top:16px; }
.link-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.link-section .page-kicker { color:var(--teal-mid); }
.link-close { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 12px; color:var(--text); text-decoration:none;
  font:700 10px/1 var(--mono); letter-spacing:1.2px; text-transform:uppercase; background:linear-gradient(var(--panel), var(--panel)) center / 100% 36px no-repeat;
  border-radius:12px; box-shadow:inset 0 0 0 1px var(--border-strong); background-clip:padding-box; }
.link-close:hover { text-decoration:none; box-shadow:inset 0 0 0 1px var(--teal-mid); }
.link-title { margin:14px 0 8px; font-size:34px; line-height:36px; font-weight:300; letter-spacing:-1.4px; }
.link-text { margin:0; font-size:15px; line-height:23px; color:var(--muted); }
.method-cards { display:block; margin:16px 0 0; padding:0; list-style:none; }
.method-card { display:block; margin-top:10px; padding:18px; border-radius:18px; border:1px solid var(--border-strong); background:var(--panel); color:var(--text);
  text-decoration:none; transition:transform var(--motion), border-color var(--motion), box-shadow var(--motion); }
a.method-card:hover { transform:translateY(-2px); border-color:#6a6c6b; box-shadow:0 12px 28px rgba(0,0,0,.45); text-decoration:none; }
a.method-card:active { transform:scale(.97); box-shadow:0 0 0 2px rgba(62,130,159,.6); }
.method-head { display:flex; align-items:center; gap:12px; }
.method-head strong { font-size:19px; font-weight:800; line-height:1.25; }
.method-number { flex:none; display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:18px; background:var(--teal);
  color:#ffffff; font:700 12px/1 var(--mono); }
.method-text { display:block; margin-top:10px; font-size:14px; line-height:21px; color:var(--muted); }
.method-foot { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; margin-top:14px; }
.mono-label.method-note { font-weight:700; color:var(--win); }
.choose-pill { display:inline-flex; align-items:center; gap:8px; min-height:40px; margin-left:auto; padding:0 16px; border-radius:20px; background:var(--text);
  color:var(--bg); font-size:14px; font-weight:900; }
.choose-pill svg { stroke-width:2.6; transition:transform var(--motion); }
a.method-card:hover .choose-pill svg { transform:translateX(3px); }
.method-card.is-disabled { opacity:.7; }
.method-card.is-disabled .dash-tag { margin-left:auto; }
.back-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 16px; border-radius:12px;
  border:1px solid var(--border-strong); background:var(--panel); color:var(--text); font-size:15px; font-weight:700; text-decoration:none;
  transition:border-color var(--motion), box-shadow var(--motion), transform var(--motion); }
.back-button svg { stroke-width:2.4; }
.back-button:hover { border-color:var(--teal-mid); box-shadow:0 0 0 1px rgba(62,130,159,.35); text-decoration:none; }
.back-button:active { transform:scale(.97); }
.step-title { margin:16px 0 6px; font-size:30px; line-height:32px; font-weight:800; letter-spacing:-1.2px; }
.step-form { margin:0; }
.step-field { margin-top:14px; }
.step-field label { display:block; }
.step-field input, .step-field textarea { display:block; width:100%; min-height:52px; margin-top:6px; padding:0 14px; border-radius:12px; border:1px solid var(--border-strong);
  background:var(--field); color:var(--text); font-size:16px; font-family:inherit; }
.step-field input::placeholder, .step-field textarea::placeholder { color:var(--tertiary); }
.step-field input:focus-visible, .step-field textarea:focus-visible { border-color:var(--win); }
.step-lock { display:flex; align-items:flex-start; gap:8px; margin:12px 0 0; font-size:13px; line-height:19px; color:var(--muted); }
.step-lock svg { flex:none; margin-top:2px; color:var(--green); stroke-width:2.2; }
.step-error { margin:12px 0 0; font-size:14px; line-height:20px; color:var(--error); }
.button.step-submit { margin-top:16px; }
.step-submit svg { stroke-width:2.6; }
.step-footnote { text-align:center; }
.link-section .notice { margin:14px 0 0; }
.notifications-row { margin-top:22px; }
/* The account's sign-in page, in the same steps: Back under the label, the account it is for, the step, and the waiting
   state with the ring that turns. */
.step-page .step-back { margin-top:14px; }
.step-page > .step-error { margin-top:14px; }
.step-account { display:flex; align-items:center; gap:8px; margin:16px 0 0; min-width:0; font-size:14px; line-height:1.3; }
.step-account-name { font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.step-account .account-email { margin:0; color:var(--muted); font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.step-page .step-title { margin-top:14px; }
.step-busy { padding:40px 0 24px; text-align:center; }
.spinner { display:inline-block; width:48px; height:48px; border-radius:24px; border:4px solid var(--border); border-top-color:var(--green); animation:spin .9s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.step-busy-title { margin:18px 0 6px; font-size:18px; line-height:1.3; font-weight:800; letter-spacing:0; }
.step-page .notice { margin:14px 0 0; }
.step-page form { margin:0; }
.step-page .password-field input { margin-top:0; }
.step-page .password-field { margin-top:6px; }
/* The verification code in the handoff's large field: its border turns green once six digits stand in it. */
.code-field input { min-height:64px; margin-top:8px; padding:0; border-width:2px; border-radius:14px; font-family:var(--mono); font-size:30px; font-weight:700;
  letter-spacing:12px; text-align:center; }
.code-field input:valid { border-color:var(--green); }
.button.step-second { display:flex; justify-content:center; gap:8px; min-height:52px; margin-top:16px; border-radius:14px; background:var(--panel); font-size:16px; font-weight:800; }
.step-page .refresh-status { margin-top:8px; }
/* Handoff screen 05, Secure key (plan 4.6): the three numbered steps, on the link sheet and on the sign-in page. */
.key-steps { display:grid; gap:12px; margin:12px 0; padding:0; list-style:none; counter-reset:key-step; }
.key-steps > li { display:grid; gap:8px; padding:12px 14px 12px 50px; position:relative; border:1px solid var(--border-strong);
  border-radius:14px; background:var(--panel-raised); color:var(--muted); font-size:14px; counter-increment:key-step; overflow-wrap:anywhere; }
.key-steps > li::before { content:counter(key-step); position:absolute; left:14px; top:12px; display:flex; align-items:center;
  justify-content:center; width:26px; height:26px; border-radius:50%; color:var(--text); background:var(--teal); font-size:13px; }
.key-steps > li strong { color:var(--text); font-size:15px; }
.method-card .key-steps { margin:4px 0 0; gap:6px; }
.method-card .key-steps > li { padding:8px 10px 8px 44px; background:transparent; }
.method-card .key-steps > li::before { left:10px; top:8px; }
.sign-in-method { display:grid; gap:10px; margin-top:16px; }
.sign-in-method-title { margin:16px 0 0; font-size:17px; font-weight:800; letter-spacing:0; }
.key-address .field-hint.is-error { color:var(--danger); }
.key-video { display:flex; align-items:center; justify-content:center; min-height:96px; border:1px dashed var(--border-strong); border-radius:12px;
  color:var(--tertiary); font-size:13px; text-align:center; padding:8px; }
.key-address textarea { width:100%; min-width:0; min-height:96px; padding:12px 14px; border:1px solid var(--input-border); border-radius:12px;
  background:var(--input); color:var(--text); font-family:var(--mono); font-size:16px; resize:vertical; overflow-wrap:anywhere; }
.key-address textarea:focus-visible { border-color:var(--win); }

/* ---------------------------------------------------------------------------------------------------------------------
   The customer app in the owner's design (artifacts/tasks/app-to-design.md). The measures below are the handoff's own, read
   from the inline styles of its design files; a colour the theme has no name for is named here once.
   --------------------------------------------------------------------------------------------------------------------- */
:root {
  /* The dark teal surface of something chosen or Online, and its border. */
  --teal-surface:#0e1e22;
  --teal-line:#285e76;
  /* Online's own green surface and border, as the handoff's pills and the live frame have them. */
  --online-bg:#13261a;
  --online-border:#2f6b3a;
  /* A switched-off dot, a hairline between rows, the pale teal of a fee, the field's ground. */
  --dot-off:#545551;
  --hairline:#161616;
  --fee:#d6eef4;
  --field:#0b0c0c;
  /* The handoff's third text colour. It reaches AA (4.8 : 1) only on the page's ground and on the near-black surface, so it
     is used there alone; on a grey panel the theme's lighter --tertiary stands in. */
  --dim:#7b7d7b;
}

/* The handoff's small capitals: JetBrains Mono, spaced, in the muted text colour. */
.mono-label { margin:0; font-family:var(--mono); font-size:10px; font-weight:400; letter-spacing:1.2px; line-height:1.3; text-transform:uppercase;
  color:var(--muted); }
/* Icons drawn in the text's colour: a line icon, or a filled mark such as Start's. */
.icon-line { flex:none; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.icon-fill { flex:none; fill:currentColor; }

/* A page's label with something on its right, as Instant Offers' count of accounts Online; then the title, with no sentence
   under it on the tab pages. The label on the page's ground is the handoff's teal (4.8 : 1 there). */
.kicker-row { display:flex; align-items:center; justify-content:space-between; gap:12px; }
/* The label's line is the handoff's: as tall as a line of the page's own text. */
.app-main > .page-heading .page-kicker, .offers-live .page-kicker { color:var(--teal-mid); line-height:19px; }
.app-main .page-heading .page-title { margin:10px 0 0; line-height:46px; }
@media(min-width:900px) { .app-main .page-heading .page-title { line-height:70px; } }
.app-main > .page-heading, .offers-live > .page-heading { margin-bottom:16px; }
/* "Your Flex" over "accounts.", on a computer too, as the handoff breaks it. */
.title-two-lines .page-title strong { display:block; }

/* Online and Offline, as the handoff's pills: Inter, bold, in a soft-cornered box. */
.pill { padding:3px 10px; border-radius:12px; border:1px solid var(--border-strong); background:var(--border); color:var(--muted);
  font:700 12px/1.35 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing:0; text-transform:none; }
.pill-online { color:var(--green); background:var(--online-bg); border-color:var(--online-border); }
.pill-offline { color:var(--muted); background:var(--border); border-color:var(--border-strong); }
.online-pill { display:inline-flex; align-items:center; gap:6px; padding:4px 10px; border-radius:12px; background:var(--panel);
  border:1px solid var(--border-strong); }
.online-pill > span:last-child { font:700 10px/1.3 var(--mono); letter-spacing:1.2px; text-transform:uppercase; color:var(--muted); white-space:nowrap; }
.online-dot { width:8px; height:8px; border-radius:4px; background:var(--dot-off); }
.online-pill.is-on { background:var(--online-bg); border-color:var(--online-border); }
.online-pill.is-on > span:last-child { color:var(--green); }
.online-pill.is-on .online-dot { background:var(--green); }

/* Avatars: the name's initials on one of the handoff's four colours, with the small status square at the corner. */
.avatar { position:relative; flex:none; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; color:#ffffff; font-weight:800; }
/* The handoff's four avatar colours. The first is a shade under the brand's teal (#3e829f), on which white initials at the
   offer sheet's 11 px stood at 4.29 : 1; here they reach AA's 4.5 : 1 at any size. */
.avatar-1 { background:#3b7d99; } .avatar-2 { background:#285e76; } .avatar-3 { background:#545551; } .avatar-4 { background:#00566e; }
.avatar-dot { position:absolute; right:2px; bottom:2px; width:14px; height:14px; border-radius:7px; background:var(--dot-off); border:2px solid var(--panel); }

/* Instant Offers (handoff screens 07 and 08). Its parts follow one another with the handoff's own gaps. */
.offers-live { display:block; }
.balance-row { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:44px; padding:14px 16px; border-radius:16px;
  border:1px solid var(--panel); background:var(--panel-raised); color:var(--text); text-decoration:none;
  transition:border-color var(--motion), box-shadow var(--motion); }
.balance-row:hover { border-color:var(--teal-mid); text-decoration:none; }
.balance-row-label { display:grid; gap:4px; }
.balance-row-free { color:var(--dim); }
.balance-row-amount { font-size:24px; font-weight:800; letter-spacing:-.5px; line-height:1.2; white-space:nowrap; }

/* "Checking Instant Offers": the head, the thin line that moves while a search runs, the stations' chips, the newest events
   as rows, then Stop search in the centre; or, while off, Start search. Its frame pulses green while a search is live. */
.search-block { margin-top:16px; padding:18px 16px; border-radius:20px; border:1px solid var(--panel); background:var(--panel-raised); }
.search-block.is-live { padding:16px 12px 14px; border-color:var(--online-border); animation:live-frame 3s ease-in-out infinite; }
@keyframes live-frame { 0%, 100% { border-color:var(--online-border); box-shadow:0 0 0 rgba(119,220,105,0); }
  50% { border-color:#5fb257; box-shadow:0 0 18px rgba(119,220,105,.18); } }
.search-block-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.search-block.is-live .search-block-head, .search-block.is-pending .search-block-head { min-height:24px; }
.search-block-head h2 { font-weight:700; color:var(--dim); }
.search-block.is-live .search-block-head h2, .search-block.is-pending .search-block-head h2 { color:var(--text); }
.search-state { display:inline-flex; align-items:center; gap:6px; }
.search-state .mono-label { font-size:9px; font-weight:700; color:var(--dim); white-space:nowrap; }
.search-state-dot { width:7px; height:7px; border-radius:4px; background:var(--dot-off); }
.is-live .search-state .mono-label { color:var(--green); }
.is-live .search-state-dot { background:var(--green); animation:live-blink 1.2s infinite; }
.is-pending .search-state .mono-label { color:var(--win); }
.is-pending .search-state-dot { background:var(--win); }
@keyframes live-blink { 0%, 100% { opacity:1; } 50% { opacity:.25; } }
.search-scan { position:relative; height:2px; margin:8px 0 16px; background:var(--panel); border-radius:1px; overflow:hidden; }
.is-live .search-scan { margin-bottom:10px; }
.search-scan > span { display:none; position:absolute; left:0; top:0; width:30%; height:2px; background:linear-gradient(90deg, transparent, var(--text), transparent); }
.is-live .search-scan > span { display:block; animation:live-scan 1.6s linear infinite; }
@keyframes live-scan { 0% { transform:translateX(-100%); } 100% { transform:translateX(330%); } }
.station-chips { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 10px; padding:0; list-style:none; }
.station-chip { display:inline-flex; align-items:center; gap:6px; padding:4px 10px; border-radius:10px; border:1px solid var(--border); background:var(--bg);
  font:700 10px/1.3 var(--mono); letter-spacing:1.2px; text-transform:uppercase; color:var(--text); }
.station-chip-fee { color:var(--fee); }
/* The log: the time, the account, an offer's pay, and one word for what happened, on the handoff's 30 px rows. Five rows
   fill it; then the oldest fades into the block, as the handoff's list does at its edge. */
.event-rows { position:relative; margin:0 0 4px; padding:0; list-style:none; }
.event-rows li { display:grid; grid-template-columns:62px minmax(0, 1fr) auto auto; column-gap:8px; align-items:center; min-height:30px;
  border-bottom:1px solid var(--hairline); text-align:left; }
.event-rows time { font:400 9px/1.3 var(--mono); letter-spacing:1.2px; text-transform:uppercase; color:var(--dim); white-space:nowrap; }
.event-who { font-size:13px; font-weight:600; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.event-pay { font:700 12px/1.3 var(--mono); color:var(--muted); white-space:nowrap; }
.event-tag { min-width:64px; text-align:right; font:400 9px/1.3 var(--mono); letter-spacing:1.2px; text-transform:uppercase; color:var(--dim); white-space:nowrap; }
.event-rows .tone-active .event-tag { color:var(--green); }
.event-rows .tone-action .event-tag, .event-rows .tone-action .event-pay { color:var(--win); }
.event-rows .tone-attention .event-tag { color:var(--error); }
.event-rows:has(li:nth-child(5))::before { content:""; position:absolute; left:0; right:0; top:0; height:30px;
  background:linear-gradient(var(--panel-raised), transparent); pointer-events:none; }
.search-note { margin:0 0 4px; font-size:13px; line-height:18px; color:var(--muted); text-align:left; }
.search-progress { display:flex; justify-content:center; align-items:center; min-height:18px; margin:10px 0 0; }
.search-progress .mono-label { font-weight:700; }
/* Four dots that come one by one, in the width they take. */
.search-dots { display:inline-block; overflow:hidden; width:0; text-align:left; font:400 10px/1.3 var(--mono); letter-spacing:1.2px; color:var(--muted);
  white-space:nowrap; animation:live-dots 1.4s steps(4) infinite; }
@keyframes live-dots { 0% { width:0; } 100% { width:2.4em; } }
.search-stop { display:flex; justify-content:center; margin:14px 0 0; }
.stop-pill { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:44px; padding:0 22px; border:0; border-radius:22px;
  background:var(--red); color:#ffffff; font-family:inherit; font-size:14px; font-weight:800; line-height:1.2; letter-spacing:.2px; cursor:pointer;
  box-shadow:0 6px 18px rgba(201,63,75,.25); transition:transform var(--motion), filter var(--motion), box-shadow var(--motion); }
.stop-pill:hover { filter:brightness(1.1); transform:translateY(-1px); }
.stop-pill:active { transform:scale(.97); box-shadow:0 0 0 2px rgba(62,130,159,.6); }
.stop-mark { width:10px; height:10px; border-radius:2px; background:#ffffff; }
.search-off-title { margin:0; font-size:16px; font-weight:700; line-height:1.3; color:var(--text); }
.search-off-hint { margin:4px 0 0; font-size:13px; line-height:18px; color:var(--muted); }
/* The white Start with its play mark: taller and heavier than the page's other buttons, as the handoff draws it. */
.button.start-button { display:flex; justify-content:center; gap:10px; min-height:52px; margin-top:14px; padding:12px 20px; font-size:16px; font-weight:900; }

/* A dashed row: the handoff's own "Send test Instant Offer", and whatever else stands in its place and style. */
.dash-row { display:flex; align-items:center; justify-content:center; gap:10px; min-height:48px; margin-top:12px; padding:8px 14px; border-radius:14px;
  border:1px dashed var(--border-strong); background:transparent; color:var(--text); font-size:15px; font-weight:700; line-height:1.3; text-align:center;
  text-decoration:none; cursor:pointer; transition:border-color var(--motion), box-shadow var(--motion), transform var(--motion); }
.dash-row:hover { border-color:var(--teal-mid); box-shadow:0 0 0 1px rgba(62,130,159,.35); text-decoration:none; }
.dash-row:active { transform:scale(.97); box-shadow:0 0 0 2px rgba(62,130,159,.6); }
.dash-icon { color:var(--teal-mid); }
.dash-tag { flex:none; padding:2px 8px; border-radius:8px; border:1px solid var(--border-strong); font:400 9px/1.4 var(--mono); letter-spacing:1.2px;
  text-transform:uppercase; color:var(--muted); white-space:nowrap; }
.dash-tag-action { color:var(--text); border-color:var(--teal-mid); }
.dash-tag[hidden] { display:none; }
.dash-note { margin:6px 2px 0; font-size:13px; line-height:18px; color:var(--dim); text-align:center; }
.dash-note[hidden] { display:none; }
.push-where .push-where-line { min-width:0; overflow-wrap:anywhere; }

/* The last 30 days: three numbers in one card, parted by hairlines. */
.offer-stats { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:0; margin:12px 0 0; border-radius:18px;
  border:1px solid var(--border-strong); background:var(--panel); overflow:hidden; }
.offer-stats div { min-width:0; padding:14px 12px; border-right:1px solid var(--border); }
.offer-stats div:last-child { border-right:0; }
.offer-stats dt { font:400 9px/1.3 var(--mono); letter-spacing:1.2px; text-transform:uppercase; color:var(--muted); overflow-wrap:anywhere; }
.offer-stats dd { margin:6px 0 0; font-size:26px; font-weight:800; line-height:31px; overflow-wrap:anywhere; }
.offer-stats dd.is-quiet { color:var(--muted); }
.offer-stats .money { font-size:22px; letter-spacing:-.5px; white-space:nowrap; color:var(--green); }
.stats-period { margin:6px 2px 0; font-size:9px; color:var(--dim); }

/* "Your accounts": a tile per account, two in a row on a phone and four on a computer. */
.section-label { margin:18px 0 0; }
.tiles { display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:10px; margin:10px 0 0; padding:0; list-style:none; }
@media(min-width:900px) { .tiles { grid-template-columns:repeat(4, minmax(0, 1fr)); } }
.tiles > li { display:flex; min-width:0; }
.tile { flex:1; min-width:0; display:flex; flex-direction:column; align-items:center; gap:8px; padding:16px 12px; border-radius:18px; border:1px solid var(--border);
  background:var(--panel); color:var(--text); text-align:center; text-decoration:none;
  transition:transform var(--motion), border-color var(--motion), box-shadow var(--motion); }
.tile:hover { transform:translateY(-2px); border-color:#6a6c6b; box-shadow:0 12px 28px rgba(0,0,0,.45); text-decoration:none; }
.tile:active { transform:scale(.97); box-shadow:0 0 0 2px rgba(62,130,159,.6); }
.tile.is-online { border-color:var(--teal-line); background:var(--teal-surface); }
.tile-avatar { width:60px; height:60px; font-size:20px; box-shadow:0 0 0 2px var(--border-strong); }
.tile:not(.is-online) .tile-avatar { filter:grayscale(1); }
.tile.is-online .tile-avatar { box-shadow:0 0 0 3px var(--green), 0 0 26px rgba(119,220,105,.55); animation:tile-glow 2.2s ease-in-out infinite; }
.tile.is-online .avatar-dot { background:var(--green); }
@keyframes tile-glow { 0%, 100% { filter:brightness(1); } 50% { filter:brightness(1.25); } }
.tile-name { max-width:100%; font-size:15px; font-weight:700; line-height:1.3; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tile-line { display:inline-flex; align-items:center; justify-content:center; gap:6px; max-width:100%; color:var(--text); overflow-wrap:anywhere; }
.tile.is-online .tile-line { color:var(--green); }
.tile-line-dot { flex:none; width:6px; height:6px; border-radius:3px; background:currentColor; }

/* Sheets (handoff screens 09 and 14, and the link steps): a page drawn as the handoff's sheet. The cabinet's header stays
   behind it, dimmed and out of reach; the sheet stands on the screen's bottom edge, 560 px wide at most and 90% of the
   screen tall at most; its content scrolls inside it and its one action stays in view at its foot. The dimmed ground and
   the round button close it. */
body.sheet-page { overflow:hidden; }
.sheet-backdrop { position:fixed; inset:0; z-index:40; background:rgba(0,0,0,.66); cursor:default; }
.sheet { position:fixed; left:0; right:0; bottom:0; z-index:41; display:flex; flex-direction:column; max-width:560px; max-height:90vh; max-height:90dvh;
  margin:0 auto; border-radius:24px 24px 0 0; border:1px solid var(--border); border-bottom:0; background:var(--panel-raised); color:var(--text); }
.sheet-scroll { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:10px 16px 8px; }
.sheet-handle { display:block; width:40px; height:4px; margin:0 auto 12px; border-radius:2px; background:var(--border-strong); }
.sheet-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.sheet .sheet-title { margin:0; font-size:26px; line-height:1.2; font-weight:300; letter-spacing:-.8px; }
.sheet .sheet-title strong { font-weight:800; }
/* The round close button: the handoff's 40 px circle inside a 44 px target. */
.sheet-exit { flex:none; display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; margin:-2px; color:var(--text); }
.sheet-exit > span { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:20px;
  border:1px solid var(--border-strong); transition:border-color var(--motion), box-shadow var(--motion); }
.sheet-exit:hover > span { border-color:var(--teal-mid); box-shadow:0 0 0 1px rgba(62,130,159,.35); }
.sheet-exit:active > span { transform:scale(.97); }
.sheet .notice { margin:14px 0 0; }
.sheet-row-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:18px; }
.sheet-label { margin:0; font-size:15px; font-weight:700; line-height:1.3; letter-spacing:0; }
.sheet-hint { margin:4px 0 0; font-size:13px; line-height:18px; color:var(--muted); }
.sheet-note { margin:18px 0 8px; font-size:14px; line-height:20px; color:var(--muted); }
.sheet-empty { margin:16px 0 6px; font-size:14px; color:var(--dim); text-align:center; }
.sheet-empty[hidden] { display:none; }
.sheet-foot { flex:none; padding:12px 16px calc(18px + env(safe-area-inset-bottom)); border-top:1px solid var(--panel); background:var(--panel-raised); }
.sheet-foot-note { margin:0 0 8px; font-size:13px; line-height:18px; color:var(--muted); text-align:center; }
/* A sheet's one action: the handoff's 56 px white button, its mark beside its words. */
.button.sheet-action { display:flex; justify-content:center; gap:10px; min-height:56px; font-size:17px; font-weight:900; }

/* Go online (handoff screen 09). "Who goes online": Select all with the dashed edge, then a chip per account, its avatar and
   name, teal with a check once chosen. Each chip is its account's tick, so the form works without a script. */
.who-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.who-chip { position:relative; display:inline-flex; max-width:100%; cursor:pointer; }
.who-chip input { position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; }
.who-chip-face, .who-all { display:inline-flex; align-items:center; gap:8px; min-height:44px; min-width:0; padding:0 12px 0 6px; border-radius:22px;
  border:1px solid var(--border); background:transparent; color:var(--text); font-size:14px; font-weight:700; line-height:1.2;
  transition:border-color var(--motion), background-color var(--motion), box-shadow var(--motion), transform var(--motion); }
.who-all { padding:0 14px; border:1px dashed var(--border-strong); font-family:inherit; font-size:13px; cursor:pointer; }
.who-all[hidden] { display:none; }
.who-all:hover, .who-chip:hover .who-chip-face { border-color:var(--teal-mid); box-shadow:0 0 0 1px rgba(62,130,159,.35); }
.who-all:active, .who-chip:active .who-chip-face { transform:scale(.97); }
.who-avatar { width:30px; height:30px; font-size:11px; }
.who-name { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.who-check { display:none; color:var(--teal-mid); stroke-width:2.6; }
.who-chip input:checked + .who-chip-face { border-color:var(--teal); background:var(--teal-surface); }
.who-chip input:checked + .who-chip-face .who-check { display:block; }
.who-chip input:focus-visible + .who-chip-face { outline:2px solid var(--win); outline-offset:3px; }
.show-stations { margin-top:12px; }
.show-stations[hidden] { display:none; }
.station-heading { margin-top:22px; }
/* The search field, with its magnifier inside it on the left. */
.sheet-search { position:relative; display:block; margin-top:12px; color:var(--dim); }
.sheet-search svg { position:absolute; left:14px; top:50%; margin-top:-9px; pointer-events:none; }
.sheet-search input { display:block; width:100%; min-height:48px; padding:0 14px 0 42px; border-radius:12px; border:1px solid var(--border-strong);
  background:var(--field); color:var(--text); font-size:16px; font-family:inherit; }
.sheet-search input::placeholder { color:var(--tertiary); }
.sheet-search input:focus-visible { border-color:var(--win); }
.go-online-form fieldset { border:0; margin:0; padding:0; min-width:0; }
/* A station's card: its place in bold, its code and type in the small capitals, its fee; the star in its own column behind a
   hairline; under both, why an account cannot use it. The whole card but the star is its station's choice. */
.station-list { display:flex; flex-direction:column; gap:8px; margin:10px 0 0; padding:0; list-style:none; }
.station-card { display:grid; grid-template-columns:minmax(0, 1fr) 48px; column-gap:8px; border-radius:14px; border:1px solid var(--border); background:var(--bg);
  transition:border-color var(--motion), background-color var(--motion), box-shadow var(--motion), transform var(--motion); }
.station-card[hidden] { display:none; }
.station-card:hover { border-color:#6a6c6b; }
.station-card:has(input:checked) { border-color:var(--teal); background:var(--teal-surface); }
.station-pick { position:relative; display:flex; min-width:0; cursor:pointer; }
.station-pick input { position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor:pointer; }
.station-pick input:disabled { cursor:not-allowed; }
.station-face { flex:1; min-width:0; display:flex; align-items:center; gap:10px; padding:12px 0 12px 14px; }
.station-text { flex:1; min-width:0; display:block; }
.station-name { display:block; font-size:15px; font-weight:700; line-height:1.3; overflow-wrap:anywhere; }
.station-code { display:block; margin-top:3px; }
.fee-chip { display:inline-block; margin-top:6px; padding:2px 8px; border-radius:8px; border:1px solid var(--teal-line); background:var(--teal-surface);
  font:700 10px/1.4 var(--mono); letter-spacing:1.2px; text-transform:uppercase; color:var(--fee); }
.station-check { display:none; color:var(--teal-mid); stroke-width:2.6; }
.station-pick input:checked + .station-face .station-check { display:block; }
.station-pick input:focus-visible + .station-face { outline:2px solid var(--win); outline-offset:-2px; border-radius:14px 0 0 14px; }
.station-star { display:flex; align-items:center; justify-content:center; min-height:48px; padding:0; border:0; border-left:1px solid var(--panel);
  border-radius:0 14px 14px 0; background:transparent; color:var(--tertiary); cursor:pointer; transition:color var(--motion); }
.station-star svg { fill:none; stroke:currentColor; stroke-width:1.6; stroke-linejoin:round; }
.station-star[aria-pressed=true] { color:var(--text); }
.station-star[aria-pressed=true] svg { fill:currentColor; }
.station-star:hover { color:var(--text); }
.station-card.is-unusable .station-face, .station-card.is-unusable .station-star { opacity:.55; }
.station-blocked { grid-column:1 / -1; margin:0; padding:0 14px 10px; list-style:none; font-size:13px; line-height:18px; color:var(--muted); overflow-wrap:anywhere; }
/* FR-10 on the card: the way to move an account's connection to the station's state, under its reason. */
.switch-connection { display:flex; align-items:center; min-height:44px; margin:2px 0 0; padding:0; border:0; background:transparent; color:var(--win);
  font-family:inherit; font-size:14px; font-weight:700; text-align:left; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.switch-connection:hover { color:var(--text); }
.sheet .toast { margin-top:14px; }
/* "Don't see your station?": put away under the list. */
.sheet-more { margin:14px 0 6px; }
.sheet-more > summary { display:flex; align-items:center; justify-content:center; min-height:44px; color:var(--muted); font-size:14px; font-weight:600;
  text-decoration:underline; text-decoration-color:var(--border-strong); text-underline-offset:3px; cursor:pointer; list-style:none; }
.sheet-more > summary::-webkit-details-marker { display:none; }
.sheet-more > summary:hover { color:var(--text); }
.sheet-more form { margin:8px 0 0; }
.go-online-results { list-style:none; display:grid; gap:4px; }
.go-online-results .is-refused span { color:var(--error); }
/* Stage QA of 18 November, N1: each account whose stations need loading, its line and its Load stations under it. */
.go-online-catalogs { margin:0; padding:0; list-style:none; display:grid; gap:12px; }
.go-online-catalogs p { margin:0; overflow-wrap:anywhere; }
.switch { display:inline-flex; gap:10px; align-items:center; min-height:44px; background:none; border:0; color:var(--text); font-size:15px;
  text-align:left; cursor:pointer; padding:4px 0; }
.switch-text { display:flex; flex-direction:column; gap:2px; }
/* Where On would start a search: the station of the account's last one. */
.switch-station { color:var(--muted); font-size:14px; overflow-wrap:anywhere; }
.switch-track { flex:none; width:40px; height:22px; border-radius:999px; background:var(--border-strong); position:relative; transition:background var(--motion); }
.switch-thumb { position:absolute; top:3px; left:3px; width:16px; height:16px; border-radius:50%; background:var(--text); transition:transform var(--motion); }
.switch[aria-checked=true] .switch-track { background:var(--green); }
.switch[aria-checked=true] .switch-thumb { transform:translateX(18px); }
/* The Instant Offer sheet (handoff screens 10 and 11), on the website and in the Telegram app alike: every rule here stands
   under .offer-design, the sheet's own class, or is a name of its own. On the website it is a dialog over a cabinet page
   (sheet.js) and the offer's own page (.offer-host). On a phone, up to 600 px wide, it fills the screen edge to edge (the
   phone rule below the decisions' rules); on a wider screen, a phone on its side among them, it is at most 393 px wide and
   780 px tall, in the middle of the screen over a dimmed ground. In the Telegram app it fills Telegram's view (telegram-app.css). From
   the top: the teal bar; the map, which takes the height that is left; the panel with the offer's facts, which scrolls
   where the screen is short; and under them the time to decide with the two decisions, always in view. */
/* As a card it is centred in the screen under the top veil (--top-veil), so on a short screen, a phone on its side, its bar
   starts under the band rather than in it. */
.offer-sheet-dialog { position:fixed; inset:var(--top-veil) 0 0; margin:auto; width:100%; max-width:393px; height:calc(100% - var(--top-veil));
  max-height:780px; padding:0; border:0; border-radius:18px; overflow:hidden; background:var(--panel); color:var(--text); }
.offer-sheet-dialog[open] { display:flex; }
.offer-sheet-dialog::backdrop { background:rgba(0,0,0,.75); }
.offer-sheet-dialog > [data-sheet-body] { flex:1; min-width:0; min-height:0; display:flex; }
.offer-page .sheet-backdrop { background:rgba(0,0,0,.75); }
.offer-host { position:fixed; inset:var(--top-veil) 0 0; z-index:41; margin:auto; width:100%; max-width:393px; height:calc(100% - var(--top-veil));
  max-height:780px; display:flex; flex-direction:column; border-radius:18px; overflow:hidden; background:var(--panel); color:var(--text); }
/* An offer that cannot be shown: its word and the way back, as tall as they are. */
.offer-host:not(:has(#offer-detail)) { height:auto; padding:16px; gap:14px; }
.offer-host > .notice { flex:none; margin:10px 12px; }
.offer-host:not(:has(#offer-detail)) > .notice { margin:0; }
#offer-detail { flex:1; min-height:0; display:flex; }
.offer-design { position:relative; flex:1; min-width:0; min-height:0; display:flex; flex-direction:column; overflow:hidden; background:var(--panel);
  color:var(--text); font-size:14px; line-height:1.5; text-align:left; }
.offer-bar { position:relative; z-index:5; flex:none; display:flex; align-items:center; justify-content:center; height:36px; background:var(--teal); }
.offer-bar-title { margin:0; font:700 15px/1 var(--mono); letter-spacing:1.2px; text-transform:uppercase; color:#ffffff; }
.offer-bar-tag { position:absolute; left:12px; top:50%; transform:translateY(-50%); padding:1px 7px; border-radius:7px; border:1px solid rgba(255,255,255,.5);
  font:400 9px/1.5 var(--mono); letter-spacing:1.2px; text-transform:uppercase; color:#ffffff; }
/* The bar's close: the handoff's small cross in a 44 px target. */
.offer-bar-close { position:absolute; right:0; top:50%; display:flex; align-items:center; justify-content:center; width:44px; height:44px; margin-top:-22px;
  color:#ffffff; }
.offer-bar-close:hover { color:var(--fee); }
/* The map fills what the panel leaves, 150 px at least; the panel's round corners stand 5 px over its lower edge. */
.offer-map-area { position:relative; flex:1 1 0; min-height:150px; background:var(--map-ground); }
.offer-map-area:has(.offer-map[hidden]) { display:none; }
.offer-design .offer-map { position:absolute; inset:0; height:auto; border:0; border-radius:0; background:var(--map-ground); }
.offer-design .offer-map:focus-visible { outline-offset:-2px; }
.offer-design .map-attribution { position:absolute; right:6px; bottom:9px; z-index:3; max-width:calc(100% - 12px); margin:0; padding:1px 6px; border-radius:6px;
  background:rgba(5,5,5,.62); font-size:10px; line-height:1.5; color:var(--text); }
.offer-design .offer-map .maplibregl-ctrl-attrib { margin-bottom:6px; background:rgba(5,5,5,.62); color:var(--text); }
/* The zoom: the handoff's one dark box of two 30 by 29 px faces with a line between them, each inside a 44 px target that
   grows away from the other. */
.offer-design .offer-map-controls { top:-3px; right:17px; gap:0; }
.offer-design .offer-map-zoom { position:relative; isolation:isolate; width:44px; height:44px; padding:0; border:solid transparent; border-width:15px 0 0 14px;
  border-radius:0; background:transparent; color:#ffffff; font-size:18px; line-height:1; }
.offer-design .offer-map-zoom + .offer-map-zoom { border-width:0 0 15px 14px; }
.offer-design .offer-map-zoom::before { content:""; position:absolute; inset:0; z-index:-1; border:0; border-radius:6px 6px 0 0; background:var(--map-control); }
.offer-design .offer-map-zoom + .offer-map-zoom::before { border-top:1px solid #4a5256; border-radius:0 0 6px 6px; }
.offer-design .offer-map-zoom:focus-visible { outline:0; }
.offer-design .offer-map-zoom:focus-visible::before { outline:2px solid var(--win); outline-offset:2px; }
/* The legend and the map's credit stand along the lower edge, clear of the pins (map.js leaves that room). */
.offer-design .offer-map-legend { top:auto; left:12px; bottom:13px; background:var(--map-control); color:#d0d4d6; }
/* The test offer's map is a drawing: a ground, parks, streets, the eight stops and the station's mark. It is as wide as
   the sheet and taller than any map area, which shows its upper part, so its pins keep their size. */
.offer-design.is-test .offer-map-area { overflow:hidden; background:#2a3640; }
.sample-map { position:absolute; left:0; top:0; width:100%; height:auto; display:block; }
.sm-ground { fill:#2a3640; } .sm-park { fill:#2c463c; }
.sm-street { fill:none; stroke:#35424d; stroke-width:3; } .sm-road { fill:none; stroke:#48566a; stroke-width:7; stroke-linecap:round; }
.sm-pin path { fill:var(--bg); stroke:#ffffff; stroke-width:1.2; }
.sm-pin text { fill:#ffffff; font:700 9px Inter, sans-serif; text-anchor:middle; dominant-baseline:central; }
.sm-station circle { fill:var(--text); stroke:var(--teal); stroke-width:3; }
.sm-station text { fill:var(--teal); font:800 17px Inter, sans-serif; text-anchor:middle; dominant-baseline:central; }
/* The panel: a flex item with a level of its own, so it stands over the map without holding the smaller sheets inside it. */
.offer-panel { z-index:4; flex:0 1 auto; min-height:0; display:flex; flex-direction:column; margin-top:-5px; padding:10px 21px 18px; border-radius:20px 20px 0 0;
  background:var(--panel); }
.offer-panel-handle { flex:none; display:block; width:42px; height:4px; margin:0 auto 10px; border-radius:2px; background:var(--dim); }
.offer-panel-body { flex:0 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain; }
.offer-panel-body > .notice { margin:0 0 4px; }
.offer-panel-body > .notice .pill-button { margin-top:12px; }
.offer-top { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:10px; border-bottom:1px solid var(--border-strong); }
.offer-place { min-width:0; }
.offer-place h2 { margin:0; font-size:26px; line-height:31px; font-weight:750; letter-spacing:-.6px; overflow-wrap:anywhere; }
.offer-place p { margin:0; font-size:16px; line-height:20px; color:var(--muted); overflow-wrap:anywhere; }
.offer-place .offer-test-note { margin-top:2px; font-size:13px; line-height:18px; }
.offer-account { flex:none; display:flex; align-items:center; gap:8px; min-height:48px; max-width:172px; margin:0; padding:7px 11px 7px 7px; border-radius:30px;
  border:1px solid rgba(247,247,247,.5); background:var(--teal); color:var(--text); }
.offer-account .avatar { width:32px; height:32px; font-size:11px; border:1px solid var(--text); }
.offer-account-text { display:grid; min-width:0; }
.offer-account-text small { font:750 9px/11px var(--mono); letter-spacing:1.2px; text-transform:uppercase; color:var(--fee); }
.offer-account-text strong { font-size:13px; line-height:17px; font-weight:650; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
/* The pay: the large figure, smaller where it is long, and beside it the base pay over the tips. */
.offer-money { display:grid; grid-template-columns:minmax(0, 1fr) 124px; gap:12px; align-items:center; padding:12px 0; border-bottom:1px solid var(--border-strong); }
.offer-money.is-single { grid-template-columns:minmax(0, 1fr); }
.offer-figure { display:block; font-size:46px; line-height:1.16; font-weight:750; letter-spacing:-2.3px; white-space:nowrap; }
.offer-figure.is-mid { font-size:42px; letter-spacing:-2.1px; }
.offer-figure.is-long { font-size:32px; letter-spacing:-1.4px; }
.offer-figure.is-longer { font-size:26px; letter-spacing:-1px; }
.offer-tips-note { margin:0; font-size:12px; line-height:17px; color:var(--muted); }
.offer-money-parts { margin:0; padding-left:17px; border-left:1px solid var(--border-strong); }
.offer-money-parts dt { font:400 9px/12px var(--mono); letter-spacing:1.2px; text-transform:uppercase; color:var(--muted); }
.offer-money-parts dd { margin:0; font-size:16px; line-height:19px; font-weight:750; }
.offer-money-parts .is-tips { margin-top:6px; padding-top:6px; border-top:1px solid var(--border-strong); }
.offer-money-parts .is-tips dt, .offer-money-parts .is-tips dd { color:var(--green); }
.offer-three { display:grid; grid-template-columns:.85fr .9fr 1.25fr; margin:0; padding:11px 0; border-bottom:1px solid var(--border-strong); color:var(--text); }
.offer-three span { min-width:0; padding:0 4px; text-align:center; font-size:14px; line-height:19px; font-weight:750; }
.offer-three span + span { border-left:1px solid var(--border-strong); }
/* "Pickup in" and Show details, one row, the row being what opens the details. */
.offer-more > summary, .offer-pickup-row { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:44px; margin:0;
  border-bottom:1px solid var(--border-strong); }
.offer-more > summary { cursor:pointer; list-style:none; }
.offer-more > summary::-webkit-details-marker { display:none; }
.offer-pickup { min-width:0; font-size:14px; line-height:20px; font-weight:650; color:var(--green); }
.offer-pickup.is-past { color:var(--muted); }
.offer-more-link { flex:none; display:inline-flex; align-items:center; gap:3px; margin-left:auto; font-size:14px; line-height:20px; }
.offer-more-link > span { text-decoration:underline; text-underline-offset:3px; }
.offer-more > summary:hover .offer-more-link { color:var(--win); }
.offer-facts-block.is-over .offer-figure, .offer-facts-block.is-over .offer-pickup, .offer-facts-block.is-over .is-tips dt,
.offer-facts-block.is-over .is-tips dd { color:var(--muted); }
.offer-note { margin:10px 0 0; font-size:13px; line-height:18px; color:var(--muted); }
/* The time to decide: its seconds and the bar that runs down with them, both grey once it is over; what an accept costs;
   then Decline, as wide as its word, and Hold to accept in the rest. */
.offer-decide { flex:none; padding-top:11px; }
.decide-label { margin:0 0 2px; font:650 10px/14px var(--mono); letter-spacing:1.2px; text-transform:uppercase; color:var(--muted); }
.decide-time { display:flex; align-items:center; gap:12px; }
.decide-count { flex:none; display:flex; align-items:baseline; gap:4px; min-width:54px; margin:0; color:var(--green); font-variant-numeric:tabular-nums; }
.decide-count strong { font-size:28px; line-height:32px; font-weight:800; letter-spacing:-1px; }
.decide-count span { font-size:12px; color:var(--muted); }
.decide-bar { flex:1; min-width:0; height:8px; border:1px solid #484d4a; border-radius:20px; overflow:hidden; background:var(--border); }
.decide-bar span { display:block; width:100%; height:100%; border-radius:20px; background:var(--green); transition:width 1s linear; }
.offer-design.is-ended .decide-count { color:#c1b4a1; }
.offer-design.is-ended .decide-bar span { background:#c1b4a1; }
.decide-reason, .offer-design .fee-line { margin:6px 0 0; font-size:12px; line-height:17px; color:var(--muted); }
.decide-reason { color:var(--error); }
.not-enough { display:flex; align-items:center; gap:10px; margin-top:8px; padding:8px 8px 8px 12px; border-radius:14px; border:1px solid var(--danger-border);
  background:var(--danger-bg); }
.not-enough p { flex:1; min-width:0; margin:0; font-size:13px; line-height:18px; color:var(--text); }
.not-enough a { flex:none; display:inline-flex; align-items:center; min-height:44px; padding:0 14px; border-radius:22px; background:var(--text); color:var(--bg);
  font-size:13px; font-weight:800; }
.not-enough a:hover { text-decoration:none; }
.decide-forms { display:grid; grid-template-columns:minmax(100px, max-content) minmax(0, 1fr); gap:10px; align-items:stretch; margin-top:8px; }
.decide-forms.is-decline-only, .decide-forms:has(> .hold-form[hidden]) { grid-template-columns:minmax(0, 1fr); }
.decide-forms form { height:100%; margin:0; }
.decide-forms noscript { grid-column:1 / -1; }
.decline-button { display:flex; align-items:center; justify-content:center; gap:6px; width:100%; height:100%; min-height:64px; padding:0 12px; border-radius:36px;
  border:1px solid var(--dot-off); background:transparent; color:#e4e3df; font-family:inherit; font-size:13px; line-height:18px; font-weight:750; cursor:pointer;
  transition:border-color var(--motion), transform var(--motion); }
.decline-button:hover { border-color:var(--teal-mid); }
.decline-button:active { transform:scale(.97); }
.decline-button[aria-expanded=true] { color:var(--muted); }
/* Hold to accept: white, breathing with a green glow while it waits; held, it fills with green from the left over the
   hold's 1.2 s (offer.js marks it is-holding). Its words are the button's whole content, which the script rewrites. */
.hold-pill { display:block; width:100%; height:100%; min-height:64px; padding:8px 12px; border:0; border-radius:36px;
  background:linear-gradient(var(--green), var(--green)) left / 0 100% no-repeat var(--text); color:var(--bg); font-family:inherit; font-size:17px;
  line-height:24px; font-weight:800; letter-spacing:.35px; text-transform:uppercase; text-wrap:balance; cursor:pointer; animation:hold-wait 1.6s ease-in-out infinite; }
.hold-pill.is-holding { background-size:100% 100%; box-shadow:0 0 0 2px var(--green) inset; animation:none; transition:background-size 1.2s linear; }
.decline-button:disabled, .hold-pill:disabled { opacity:.45; cursor:not-allowed; animation:none; }
@keyframes hold-wait {
  0%, 100% { transform:scale(1); box-shadow:0 0 0 0 rgba(119,220,105,0); }
  50% { transform:scale(1.04); box-shadow:0 0 0 9px rgba(119,220,105,.22), 0 0 22px rgba(119,220,105,.3); }
}
/* On a screen shorter than the sheet its lower edge is the screen's: the decisions stay clear of the home indicator. */
@media (max-height:780px) { .offer-decide { padding-bottom:env(safe-area-inset-bottom); } }
/* On a phone the sheet is the screen (the owner's word of 24 November 2026): the dialog and the offer's own page fill it edge
   to edge, without the card's round corners, and with no limit of their own or the dialog's built-in one
   (calc(100% - 6px - 2em)). The map takes the height this gives. The teal bar grows by the status bar's inset and the top
   veil (--top-veil), a border in its own colour above its 36 px, so its title, its tag and its close keep their places,
   the close is never under the status bar and they all stand under the band iOS blurs; the decisions stay clear of the home
   indicator. An offer that cannot be shown keeps its small card. Only the website's sheet: the Telegram app's fills its
   view already and stays as it is. */
@media (max-width:600px) {
  .offer-sheet-dialog, .offer-host:has(#offer-detail) { inset:0; height:100%; max-width:none; max-height:none; border-radius:0; }
  :is(.offer-sheet-dialog, .offer-host) .offer-bar { height:calc(36px + env(safe-area-inset-top) + var(--top-veil));
    border-top:calc(env(safe-area-inset-top) + var(--top-veil)) solid var(--teal); }
  :is(.offer-sheet-dialog, .offer-host) .offer-decide { padding-bottom:env(safe-area-inset-bottom); }
}
/* The smaller sheets over the offer: its details, the decline question and its result. Each stands on the sheet's lower
   edge, 86% of it tall at most, its content scrolling inside; its wide shadow dims everything behind it. */
.sub-sheet { position:absolute; z-index:21; left:0; right:0; bottom:0; max-height:86%; display:flex; flex-direction:column; border-radius:22px 22px 0 0;
  background:var(--sub-sheet); box-shadow:0 -16px 48px rgba(0,0,0,.2), 0 0 0 200vmax rgba(0,0,0,.34); cursor:auto; }
.sub-sheet[hidden], .offer-design .decline-sheet[hidden] { display:none; }
.offer-design .decline-sheet { display:flex; gap:0; margin:0; }
.sub-sheet-handle { flex:none; display:grid; place-items:center; height:30px; }
.sub-sheet-handle::before { content:""; width:42px; height:5px; border-radius:999px; background:#727575; }
.sub-sheet-head { flex:none; display:grid; gap:4px; padding:0 18px 14px; }
.sub-sheet-head :is(h2, h3) { margin:0; font-size:22px; line-height:1.25; font-weight:750; letter-spacing:0; text-wrap:balance; overflow-wrap:anywhere; }
.sub-sheet-head p { margin:0; font-size:13px; line-height:1.35; color:var(--muted); }
.sub-sheet-body { min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:0 18px calc(30px + env(safe-area-inset-bottom)); }
/* A line of facts with a middle dot between them, whichever of them are there. */
.dot-line > span + span::before { content:" · "; }
/* A sheet's own buttons: the white pill, the red one of a decline, the outlined quiet one under it. */
.pill-button { display:flex; align-items:center; justify-content:center; width:100%; min-height:48px; padding:12px 16px; border:0; border-radius:26px;
  background:var(--text); color:var(--bg); font-family:inherit; font-size:16px; line-height:1.3; font-weight:700; text-align:center; text-decoration:none;
  cursor:pointer; transition:transform var(--motion), box-shadow var(--motion), border-color var(--motion); }
.pill-button:hover { text-decoration:none; box-shadow:0 10px 24px rgba(0,0,0,.45), 0 0 0 1px rgba(247,247,247,.4); }
.pill-button:active { transform:scale(.98); }
.pill-button.is-danger { background:var(--red); color:#ffffff; }
.pill-button.is-quiet { min-height:46px; margin-top:12px; padding:12px 14px; border:1px solid var(--border-strong); border-radius:24px; background:transparent;
  color:var(--text); font-size:14px; font-weight:600; }
.pill-button.is-quiet:hover { border-color:var(--teal-mid); box-shadow:0 0 0 1px rgba(62,130,159,.35); }
/* The details: the figure again with the round close beside it, the offer's rows, its notes, then the delivery locations,
   each with its number in a ring. */
.details-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.details-figure { min-width:0; font-size:32px; line-height:1.2; font-weight:750; letter-spacing:-1px; overflow-wrap:anywhere; }
.details-close { flex:none; display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; margin:-4px; color:#ffffff; }
.details-close > span { display:grid; place-items:center; width:36px; height:36px; border-radius:50%; background:#393b3b; }
.details-close svg { stroke-width:2.2; }
.offer-rows { margin:18px 0 10px; }
.offer-rows > div { display:flex; justify-content:space-between; gap:16px; padding:11px 0; border-bottom:1px solid var(--sub-line); font-size:14px; line-height:1.4; }
.offer-rows dt { color:#b9baba; }
.offer-rows dd { margin:0; font-weight:650; text-align:right; }
.details-heading { margin:24px 0 8px; font-size:15px; line-height:1.3; font-weight:700; }
.offer-design .map-locations { display:block; margin:0 0 18px; }
.offer-design .map-locations li { display:flex; align-items:center; flex-wrap:nowrap; gap:12px; padding:12px 0; border-bottom:1px solid #424444; }
.offer-design .map-locations li.is-plain { font-size:13px; color:var(--muted); }
.offer-design .map-pin-number { flex:none; display:grid; place-items:center; width:29px; min-width:29px; height:29px; border-radius:50%; border:1px solid #929c9f;
  background:#101213; color:var(--text); font:700 13px/1 Inter, sans-serif; }
.offer-design .map-pin-number.is-station { border:2px solid var(--teal); background:var(--text); color:var(--teal); font-weight:800; }
.map-location-text { min-width:0; }
.offer-design .map-location-text strong { display:block; font-size:14px; line-height:1.3; }
.offer-design .map-location-text small { display:block; margin-top:3px; font-size:12px; color:var(--muted); }
/* A stop's name and street address as the delivery platform sends them: under its kind, before the leg, each wrapping
   within the line however long, on the cabinet's sheet and in the Telegram app alike. The text takes the line's width
   beside the pin's number, so a long one never drops under the number where the line may wrap (the Telegram app's list). */
.map-locations li > .map-location-text { flex:1 1 0; }
.map-location-name, .map-location-address { display:block; overflow-wrap:anywhere; line-height:1.3; }
.map-location-name { margin-top:2px; }
.map-location-address { margin-top:2px; font-size:14px; color:var(--muted); }
.offer-design .map-location-name { margin-top:3px; font-size:14px; }
.offer-design .map-location-address { font-size:13px; }
.details-back { margin-top:18px; }
/* The result: in the middle, the logo's flash and the green mark of an accept, or the cross of an offer its driver did not
   get; its words; an accept's charge and the balance now; and the way back. */
.result-body { display:flex; flex-direction:column; align-items:center; gap:14px; padding:12px 0 0; text-align:center; }
.result-body > .notice { align-self:stretch; margin:0; text-align:left; }
.win-logo { margin:0; font-size:34px; line-height:38px; letter-spacing:3px; color:var(--text); }
.win-logo > span:first-child { font-weight:300; color:var(--text); }
.offer-design .win-logo .win { display:inline-block; margin:0 0 0 -1px; font-size:inherit; font-weight:800; letter-spacing:inherit; color:var(--win);
  animation:win-pop 1.6s cubic-bezier(.2,.8,.2,1) 1 both; }
@keyframes win-pop {
  0% { color:var(--border); transform:scale(.8); text-shadow:none; }
  35% { color:var(--green); transform:scale(1.18); text-shadow:0 0 28px rgba(119,220,105,.9); }
  70% { color:var(--green); transform:scale(1); text-shadow:0 0 14px rgba(119,220,105,.5); }
  100% { color:var(--win); transform:scale(1); text-shadow:0 0 0 rgba(0,0,0,0); }
}
.result-mark circle { fill:var(--green); }
.result-mark path { fill:none; stroke:var(--panel); stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; }
.result-cross { color:#ff5b5b; stroke-width:2.4; }
.result-wait { color:var(--win); stroke-width:2; }
.result-words { margin:0; font-size:18px; line-height:1.35; font-weight:700; color:var(--text); text-wrap:balance; overflow-wrap:anywhere; }
.result-text { margin:0; font-size:14px; line-height:1.45; color:#b8bdbd; }
.result-body .offer-rows { align-self:stretch; margin:4px 0 0; text-align:left; }
.result-back { margin-top:8px; }
/* A finished offer's details open over its result, which steps aside meanwhile: they stand in the panel under it. */
.result-details[hidden] { display:none; }
.offer-design:has(details[data-offer-more][open]) > .result-sheet { display:none; }
.result-body .pill-button.is-quiet { margin-top:-2px; }
/* An offer's card (handoff page 12): the sheet's own parts at a smaller size, in a History row. It is as tall as its
   content, its map a strip under the bar, and it holds no decision. */
.offer-design.is-card { display:block; flex:none; border-radius:18px; border:1px solid var(--border); }
.is-card .offer-bar-title { font-size:13px; }
.is-card .offer-map-area { height:170px; min-height:0; }
.is-card .offer-panel { display:block; margin-top:0; padding:12px 16px 14px; border-radius:0; }
.hist-map:not([hidden]) + .offer-panel { margin-top:-5px; border-radius:16px 16px 0 0; position:relative; }
.offer-place :is(h3, h4) { margin:0; font-size:22px; line-height:27px; font-weight:750; letter-spacing:-.5px; overflow-wrap:anywhere; }
.is-card .offer-place p { font-size:14px; }
.is-card .offer-account { min-height:0; padding:5px 11px 5px 5px; }
.is-card .offer-account .avatar { width:28px; height:28px; font-size:10px; }
.is-card .offer-account-text small { font-size:8px; line-height:10px; }
.is-card .offer-account-text strong { font-size:12px; line-height:16px; }
.is-card .offer-money { grid-template-columns:minmax(0, 1fr) 108px; padding:10px 0; }
.is-card .offer-money.is-single { grid-template-columns:minmax(0, 1fr); }
.is-card .offer-figure { font-size:34px; line-height:1.2; letter-spacing:-1.5px; overflow:hidden; text-overflow:ellipsis; }
.is-card .offer-money-parts { padding-left:12px; }
.is-card .offer-money-parts dt { font-size:8px; }
.is-card .offer-money-parts dd { font-size:14px; line-height:18px; }
.is-card .offer-money-parts .is-tips { margin-top:4px; padding-top:4px; }
.is-card .offer-three { grid-template-columns:repeat(3, minmax(0, 1fr)); padding:9px 0; }
.is-card .offer-three span { font-size:13px; }

/* History (handoff page 12). The chips choose a status at once; the two small lists beside them, the account and the
   period. Then each day: its name and date, its sums in one card, and its offers as slim rows that open in place. */
.hist-filters { display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; margin-top:18px; }
.hist-chips { display:flex; flex-wrap:wrap; gap:8px; }
.hist-chip { display:inline-flex; align-items:center; min-height:44px; padding:0 16px; border-radius:22px; border:1px solid var(--border-strong); color:var(--text);
  font-size:14px; font-weight:700; text-decoration:none; transition:border-color var(--motion), background-color var(--motion), transform var(--motion); }
.hist-chip:hover { border-color:var(--teal-mid); text-decoration:none; }
.hist-chip:active { transform:scale(.97); }
.hist-chip[aria-current=true] { border-color:var(--teal); background:var(--teal-surface); }
/* The two lists beside the chips. Each is as wide as its longest choice at least, so a choice is never cut short: where the
   row has no room for both, as on a phone, the account's list takes a line and the period with Show the next. Their words
   are 16 px, as every field's are: a phone zooms into a smaller field when it is tapped. */
.hist-lists { flex:1 1 300px; display:flex; flex-wrap:wrap; align-items:center; gap:8px; min-width:0; margin:0; }
.hist-list { flex:1 1 auto; display:flex; max-width:100%; }
.hist-pair { flex:1 1 auto; display:flex; align-items:center; gap:8px; max-width:100%; }
.hist-pair > .hist-list { min-width:0; }
.hist-list select { width:100%; max-width:100%; min-height:44px; padding:0 30px 0 14px; border-radius:22px; border:1px solid var(--border); background-color:var(--panel-raised);
  color:var(--muted); font-family:inherit; font-size:16px; font-weight:600; }
.hist-list select:hover { border-color:var(--teal-mid); color:var(--text); }
.hist-show { flex:none; min-height:44px; padding:0 14px; border-radius:22px; border:1px solid var(--border); background:transparent; color:var(--muted); font-family:inherit;
  font-size:13px; font-weight:700; cursor:pointer; }
.hist-show:hover { border-color:var(--teal-mid); color:var(--text); }
.hist-empty { margin-top:18px; }
.hist-empty h2 { margin:0 0 4px; font-size:16px; line-height:1.3; font-weight:700; letter-spacing:0; }
.hist-empty p { font-size:13px; line-height:18px; }
.hist-empty .row-link { margin-top:6px; }
.hist-none { margin:18px 0 0; font-size:14px; color:var(--dim); }
.hist-day { margin-top:22px; }
.hist-day-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.hist-day-head h2 { margin:0; font-size:22px; line-height:1.25; font-weight:800; letter-spacing:-.5px; }
.hist-day-head .mono-label { flex:none; font-size:10px; color:var(--muted); }
.hist-sums { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); margin:10px 0 0; border-radius:16px; border:1px solid var(--border-strong);
  background:var(--panel); overflow:hidden; }
.hist-sums > div { min-width:0; padding:12px; border-right:1px solid var(--border); }
.hist-sums > div:nth-child(3) { border-right:0; }
.hist-sums > .is-wide { grid-column:1 / -1; border-right:0; border-top:1px solid var(--border); }
.hist-sums dt { font:400 9px/1.3 var(--mono); letter-spacing:1.2px; text-transform:uppercase; color:var(--muted); overflow-wrap:anywhere; }
.hist-sums dd { margin:4px 0 0; font-size:20px; line-height:1.2; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hist-sums .is-quiet dd { color:var(--muted); }
.hist-sums .is-wide dd { color:var(--green); }
.hist-rows { display:flex; flex-direction:column; gap:8px; margin-top:10px; }
.hist-item { border-radius:16px; border:1px solid var(--panel); background:var(--panel-raised); padding:4px; transition:border-color var(--motion); }
.hist-item:has(> .hist-row[open]) { border-color:var(--teal-line); }
/* A row's face: its summary, which opens it in place; in the Telegram app's list a link to the offer's card (.hist-link). */
.hist-row > summary, .hist-link { display:grid; grid-template-columns:auto minmax(0, 1fr) auto; align-items:center; gap:10px; min-height:44px; padding:10px;
  border-radius:12px; cursor:pointer; list-style:none; }
.hist-row > summary::-webkit-details-marker { display:none; }
.hist-row > summary:hover, .hist-link:hover { background:rgba(247,247,247,.03); }
.mono-label.hist-time { min-width:46px; font-size:11px; color:var(--muted); white-space:nowrap; }
.hist-main { min-width:0; }
/* A row's words are never cut short: where the row is narrow they take another line, the pay staying whole. */
.hist-main strong { display:block; font-size:15px; line-height:1.3; font-weight:700; overflow-wrap:anywhere; }
.hist-main strong.dot-line > span:last-child { white-space:nowrap; }
.hist-main strong.is-lost { color:var(--muted); }
.hist-main small { display:block; margin-top:2px; font-size:12px; line-height:1.3; color:var(--muted); overflow-wrap:anywhere; }
.hist-end { display:flex; flex-direction:column; align-items:flex-end; gap:4px; }
/* How it ended, as a small pill: green for an accept, grey for a decline, the page's other tones for the rest. */
.hist-pill { padding:2px 9px; border-radius:10px; border:1px solid var(--border-strong); background:var(--panel); color:var(--muted); font-size:11px; line-height:1.4;
  font-weight:700; white-space:nowrap; }
.hist-pill.tone-active { border-color:var(--online-border); background:var(--online-bg); color:var(--green); }
.hist-pill.tone-busy { border-color:var(--warning-border); background:var(--warning-bg); color:var(--win); }
.hist-pill.tone-attention { border-color:var(--danger-border); background:var(--danger-bg); color:var(--error); }
.hist-pill.tone-action { border-color:var(--teal); background:var(--teal); color:var(--text); }
.hist-fee { font-size:13px; line-height:1.3; font-weight:800; white-space:nowrap; }
.hist-fee.is-none { color:var(--dim); }
.hist-open { padding:0 6px 6px; }
.hist-open > .offer-design, .hist-plain { margin-top:10px; }
.hist-plain { padding:0 4px 4px; font-size:13px; line-height:18px; color:var(--muted); }
.hist-plain p { margin:0 0 8px; }
.hist-foot { margin:10px 0 0; font-size:13px; line-height:18px; font-weight:650; color:var(--muted); }
.hist-foot.tone-active { color:var(--green); }
.hist-foot.tone-busy, .hist-foot.tone-action { color:var(--win); }
.hist-foot.tone-attention { color:var(--error); }
.offer-design .history-unknown { margin:10px 0 0; }
.hist-ref { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:2px 12px; margin:6px 0 0; font-size:12px; line-height:17px; color:var(--tertiary); }
.hist-ref .row-link { margin-left:auto; }
.hist-pages { margin-top:18px; }
.hist-pages .pill-button { margin-top:0; }
@media(min-width:900px) {
  .hist-lists { flex:0 1 420px; margin-left:auto; }
  .hist-rows { gap:10px; }
}
/* The handoff's empty History card is a plain one, not the dashed card of something to do. */
.dash-card.hist-empty { gap:0; border:1px solid var(--panel); background:var(--panel-raised); }

/* Balance (handoff screen 13): what is available, large, in a card with Top up; the free start and today's charges side by
   side; the transactions in one card, each with its mark, its date in the small capitals, the money and the balance after. */
.bal-card { margin-top:20px; padding:18px 16px 16px; border-radius:18px; border:1px solid var(--border-strong); background:var(--panel); }
.bal-card .mono-label { margin:0; font-size:10px; color:var(--muted); }
.bal-amount { margin:8px 0 0; font-size:56px; line-height:56px; font-weight:800; letter-spacing:-2.5px; color:var(--text); overflow-wrap:anywhere; }
.bal-note { margin:8px 0 0; font-size:13px; line-height:18px; color:var(--muted); }
.bal-card .notice { margin:12px 0 0; }
.button.bal-top-up { gap:8px; margin-top:16px; border-radius:14px; font-size:17px; }
.bal-top-up svg { stroke-width:2.8; }
.app-main > .bal-card + .notice { margin-top:12px; }
.bal-two { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); margin:12px 0 0; border-radius:18px; border:1px solid var(--border-strong);
  background:var(--panel); overflow:hidden; }
.bal-two.is-single { grid-template-columns:minmax(0, 1fr); }
.bal-two > div { min-width:0; padding:14px 12px; }
.bal-two > div + div { border-left:1px solid var(--border); }
.bal-two dt { font:400 9px/1.3 var(--mono); letter-spacing:1.2px; text-transform:uppercase; color:var(--muted); overflow-wrap:anywhere; }
.bal-two dd { margin:6px 0 0; font-size:26px; line-height:1.2; font-weight:800; white-space:nowrap; }
.bal-two dd small { font-size:14px; font-weight:600; color:var(--tertiary); }
.bal-hint { margin:10px 0 0; font-size:13px; line-height:19px; color:var(--muted); }
.bal-list { margin-top:22px; }
.bal-list > .mono-label { margin:0; font-size:10px; font-weight:400; line-height:1.4; color:var(--muted); }
.bal-list > .dash-card { margin-top:10px; font-size:14px; color:var(--dim); }
.bal-rows { margin:10px 0 0; padding:0; list-style:none; border-radius:18px; border:1px solid var(--border-strong); background:var(--panel); overflow:hidden; }
/* The row's parts start at its top, so a date stands as far into its row whether the row has a note under it or not (stage QA
   of 18 November, N13); the two-line parts are set down a little, level with the mark's middle. */
.bal-rows > li { display:flex; align-items:flex-start; gap:12px; padding:14px; border-top:1px solid var(--border); }
.bal-rows > li:first-child { border-top:0; }
.bal-mark { flex:none; display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:12px; border:1px solid var(--border);
  background:var(--panel-raised); color:var(--muted); }
.bal-mark.is-offer { color:var(--teal-mid); }
.bal-mark.is-offer svg { stroke-width:1.9; }
.bal-mark.is-in { border-color:var(--online-border); background:var(--online-bg); color:var(--green); }
.bal-mark.is-in svg { stroke-width:2.4; }
.bal-what { flex:1; min-width:0; padding-top:2px; }
.bal-what strong { display:block; font-size:15px; line-height:1.3; font-weight:700; overflow-wrap:anywhere; }
.bal-what .mono-label { display:block; margin-top:2px; font-size:10px; color:var(--tertiary); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bal-detail { display:block; margin-top:2px; font-size:12px; line-height:16px; color:var(--muted); overflow-wrap:anywhere; }
.bal-money { flex:none; padding-top:1px; text-align:right; }
.bal-money strong { display:block; font-size:16px; line-height:1.3; font-weight:800; white-space:nowrap; }
.bal-money strong.is-in { color:var(--green); }
.bal-money .mono-label { display:block; margin-top:2px; font-size:11px; letter-spacing:0; color:var(--tertiary); white-space:nowrap; }
.bal-list > .bal-hint { margin-top:14px; }

/* The top-up sheet (handoff screen 14): a card for each preset, its amount large, its lines each behind a teal check, its
   button; the largest in teal with the white button. */
.top-cards { display:grid; gap:12px; margin:16px 0 0; }
.top-card { padding:18px 16px 16px; border-radius:18px; border:1px solid var(--border-strong); background:var(--panel); }
.sheet-scroll > .top-card { margin-top:16px; }
.top-card.is-chosen { border-color:var(--teal); box-shadow:0 0 0 1px var(--teal) inset; }
.top-card .mono-label { margin:0; font-size:10px; color:var(--muted); }
.top-amount { margin:4px 0 0; font-size:44px; line-height:48px; font-weight:800; letter-spacing:-2px; color:var(--text); }
.top-text { margin:10px 0 0; font-size:15px; line-height:22px; color:var(--muted); }
.top-lines { display:grid; gap:8px; margin:14px 0 0; padding:0; list-style:none; }
.top-lines li { position:relative; padding-left:28px; font-size:15px; line-height:20px; color:var(--muted); }
.top-lines li::before { content:""; position:absolute; left:3px; top:4px; width:11px; height:6px; border:solid var(--teal-mid); border-width:0 0 2.6px 2.6px;
  border-radius:1px; transform:rotate(-45deg); }
.button.top-button { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:54px; margin-top:16px; border-radius:14px;
  font-size:17px; font-weight:900; }
.button.top-button:disabled { opacity:.45; cursor:not-allowed; }
.top-card .pill-button.is-quiet { margin-top:10px; }

/* The pages before the sign-in, as the handoff draws them (screens 02 and 03): the form stands on the page itself, not in a
   card; its one action is the tall white button with its words in the middle; the way back is a quiet underlined line
   under it. A password's reset says its step over a bar of three parts and carries its mark; sign-up ends with what an
   account costs, each line behind a green check. */
.access-main .access-panel { padding:0; border:0; background:transparent; box-shadow:none; }
.access-main .button.full-width { display:flex; justify-content:center; gap:10px; min-height:60px; border-radius:16px; font-size:17px; font-weight:900; }
.access-main .access-back { margin:20px 0 0; text-align:center; }
.access-main .access-back a { color:var(--muted); text-decoration:underline; text-underline-offset:3px; }
.access-main .access-back a:hover { color:var(--text); }
.steps-row { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.steps-row p { margin:0; }
.steps-row .mono-label { font-size:10px; color:var(--muted); }
.steps-bar { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:6px; margin:10px 0 22px; padding:0; list-style:none; }
.steps-bar li { height:4px; border-radius:2px; background:var(--border); }
.steps-bar li.is-done { background:var(--teal-mid); }
.step-mark { display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; margin-bottom:14px; border-radius:12px; background:var(--teal);
  color:var(--text); }
.access-points { margin:24px 0 0; padding:0; list-style:none; border-top:1px solid var(--border); }
.access-points li { position:relative; padding:10px 0 10px 28px; border-bottom:1px solid var(--border); font-size:15px; line-height:20px; color:var(--text); }
.access-points li::before { content:""; position:absolute; left:3px; top:15px; width:11px; height:6px; border:solid var(--green); border-width:0 0 2.4px 2.4px;
  border-radius:1px; transform:rotate(-45deg); }
/* A page's own first words, under its title: kept apart from it, in the quiet colour. */
.app-main .page-heading .intro { margin:12px 0 0; font-size:15px; line-height:22px; color:var(--muted); }

/* The offer map (handoff increment 4b, plan 4.9), drawn by map.js: tiles from our own proxy, or a plain background. */
.offer-map { position:relative; height:280px; overflow:hidden; border-radius:12px; border:1px solid var(--border);
  background:var(--panel-raised); touch-action:none; cursor:grab; user-select:none; }
.offer-map:focus-visible { outline:2px solid var(--win); outline-offset:2px; }
.offer-map-dragging { cursor:grabbing; }
/* MapLibre's own frame fills ours; its stylesheet, loaded after this one, would make it relative. */
.offer-map .offer-map-canvas { position:absolute; inset:0; }
.offer-map[hidden] { display:none; }
/* "Loading map…" over the frame until map.js has drawn the offer; under the zoom buttons, and never in the pointer's way. */
.offer-map-loading { position:absolute; inset:0; z-index:2; display:grid; place-items:center; margin:0; color:var(--muted);
  font-size:14px; pointer-events:none; }
/* The legend's line as map.js draws the legs (stage QA of 18 November, N11): teal dashes over a light casing. */
.offer-map-leg-casing { stroke:var(--text); stroke-width:5; stroke-opacity:.9; }
.offer-map-leg { stroke:var(--teal); stroke-width:3; stroke-dasharray:6 4.5; }
.offer-map .maplibregl-ctrl-attrib { background:var(--panel); color:var(--muted); font-size:10px; }
.offer-map .maplibregl-ctrl-attrib a { color:inherit; }
.offer-map-controls { position:absolute; top:8px; right:8px; z-index:3; display:grid; gap:4px; }
.offer-map-zoom { width:36px; height:36px; border-radius:8px; border:1px solid var(--border-strong); background:var(--panel);
  color:var(--text); font-size:18px; cursor:pointer; }
.offer-map-legend { position:absolute; left:8px; top:8px; z-index:3; display:flex; gap:6px; align-items:center; padding:2px 8px;
  border-radius:8px; background:var(--panel); color:var(--muted); font-size:11px; }
.map-attribution { font-size:11px; color:var(--muted); margin:4px 0 0; }
.map-attribution a { color:inherit; }
/* Expand the phone targets outwards from the two 36px zoom buttons.
   Their transparent borders receive taps while the inner faces stay in place. */
@media (max-width:600px) {
  .offer-map-controls { top:2px; gap:2px; }
  .offer-map-zoom {
    position:relative; isolation:isolate; width:44px; height:44px;
    border:solid transparent; border-width:6px 0 2px 8px; border-radius:0; background:transparent;
  }
  .offer-map-zoom + .offer-map-zoom { border-width:0 0 8px 8px; }
  .offer-map-zoom::before {
    content:""; position:absolute; inset:0; z-index:-1;
    border:1px solid var(--border-strong); border-radius:8px; background:var(--panel);
  }
  .offer-map-zoom:focus-visible { outline:0; }
  .offer-map-zoom:focus-visible::before { outline:2px solid var(--win); outline-offset:3px; border-radius:6px; }
  .map-attribution a { position:relative; display:inline-block; min-width:44px; padding-bottom:28px; margin-bottom:-28px; vertical-align:top; }
  /* In-map credits grow upwards, clear of the map’s clipped bottom corners. */
  .offer-map .maplibregl-ctrl-attrib-inner a {
    position:relative; display:inline-block; height:44px; padding-top:28px; margin:-28px 0 4px; vertical-align:top;
  }
}
.map-locations { margin:0; padding-left:0; list-style:none; display:grid; gap:6px; }
.map-locations li { display:flex; gap:8px; align-items:baseline; flex-wrap:wrap; }
.map-pin-number { display:inline-grid; place-items:center; min-width:22px; height:22px; border-radius:11px; background:var(--teal);
  color:var(--text); font:600 11px var(--mono); }

/* Notifications plan, task 2: this device's offer alerts. The Notifications page's card and Instant Offers' onboarding card
   show the part for this browser's state (push.js); the iPhone guide is three pictures, drawn here in the cabinet's colours
   with classes rather than inline styles, which the policy forbids, each beside its caption; the search pages' line says
   where alerts go, with the sound's hint and Keep screen on while searching (arrival.js). */
[data-push-state][hidden], [data-push-failed][hidden], [data-push-where][hidden], .push-where [hidden] { display:none; }
.push-card > p:not(.form-footnote), [data-push-region] [data-push-state] > p:not(.field-hint) { font-size:14px; }
.push-guide { display:grid; gap:10px; margin:12px 0 0; padding:0; list-style:none; counter-reset:push-guide; }
.push-guide > li { display:grid; grid-template-columns:60px minmax(0, 1fr); gap:14px; align-items:center; padding:10px 14px 10px 10px;
  border:1px solid var(--border-strong); border-radius:14px; background:var(--panel-raised); color:var(--muted); font-size:14px;
  counter-increment:push-guide; overflow-wrap:anywhere; }
.push-guide > li > span::before { content:counter(push-guide) ". "; color:var(--text); font-weight:700; }
.guide-art { display:block; width:60px; height:auto; }
.guide-phone { fill:var(--panel); stroke:var(--border-strong); stroke-width:2; }
.guide-screen { fill:var(--bg); }
.guide-faint, .guide-sheet { fill:var(--panel); }
.guide-sheet { stroke:var(--border-strong); stroke-width:1; }
.guide-muted { fill:var(--border-strong); }
.guide-line, .guide-line-light { fill:none; stroke:var(--border-strong); stroke-width:3; stroke-linecap:round; }
.guide-line-light { stroke:var(--text); }
.guide-stroke { fill:none; stroke:var(--tertiary); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.guide-mark, .guide-box, .guide-ring { fill:none; stroke:var(--win); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.guide-tap { fill:var(--win); opacity:.45; }
.guide-highlight { fill:var(--teal); }
/* The app's own icon on the Home Screen, as icons/mark.svg draws it. */
.guide-app { fill:#ffbc85; }
.guide-app-mark { fill:#301c10; }
.keep-screen { margin-top:12px; }
.keep-screen .field-error { margin-top:4px; }

/* Notifications plan, task 4: each card of the Notifications page says what it carries; the browser card's blocked state
   says where to allow notifications again, its test button keeps its answer under it, its list of devices with alerts on
   has a row per device with its own Remove (push.js marks this device's row), and the lock screen's hint closes it. The
   Accounts page keeps a short line and the way to the page. */
.channel-carries { margin:4px 0 12px; color:var(--text); }
/* When Telegram last sent a message: 12 px above Unlink, or the notice, under it, where nothing parted them and its words sat
   6 px from Unlink (stage QA of 18 November, Part 2). */
[data-telegram-last-sent] { margin-bottom:12px; }
[data-push-this][hidden], [data-push-test-note][hidden] { display:none; }
.push-unblock { display:grid; gap:6px; margin:8px 0 0; padding-left:20px; font-size:14px; color:var(--muted); overflow-wrap:anywhere; }
.push-test { margin-top:12px; }
.push-devices { margin-top:20px; padding-top:16px; border-top:1px solid var(--border); }
.push-devices h3 { margin:0; font-size:16px; font-weight:700; }
.push-devices .notice { margin:12px 0 0; }
.push-device-list { display:grid; gap:10px; margin:12px 0 0; padding:0; list-style:none; }
.push-device { display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:4px 12px; align-items:center; padding:12px 14px;
  border:1px solid var(--border-strong); border-radius:14px; background:var(--panel-raised); }
.push-device-name { grid-column:1; display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0; font-size:15px; color:var(--text); overflow-wrap:anywhere; }
.push-device-facts { grid-column:1; margin:0; font-size:13px; color:var(--muted); overflow-wrap:anywhere; }
.push-device form { grid-column:2; grid-row:1 / span 2; margin:0; }
.push-device .button { min-height:44px; padding:8px 14px; }
.push-card > .field-hint { margin-top:16px; }
