/* nurturebot.app: the ONE stylesheet for every page in web/.
   Tokens are the app's Midnight theme, copied from src/constants/theme.ts (colors),
   src/constants/type.ts (the 5 text sizes + weights), src/constants/spacing.ts and
   src/constants/radius.ts, and the button kinds from src/components/primary-button.tsx.
   The only web-only additions: --display (a hero size the phone never needs) and a
   line-height, which the app leaves to the platform. Rules that carry over: ONE filled
   button per section, secondary = outlined, way back = link; brand green ONLY on the
   logo and success, never on a button; sentence-case labels; no em dashes; no emoji. */

:root {
  /* Midnight (the app's default; app.json userInterfaceStyle is "dark") */
  --bg: #0e0f13;
  --phone: #16181f;
  --card: #1f222c;
  --card2: #262a36;
  --bot: #3e424d;
  --user: #3b6cf0;
  --text: #eef0f5;
  --sub: #9aa1b2;
  --accent: #7da2ff;
  --accentbtn: #3b6cf0;
  --accentbtn2: #5d86f6;
  --green: #3fd084;
  --yellow: #f5b942;
  --gray: #8c94a8;
  --chip: #2e3342;
  --line: #262a36;
  --chipline: #3a4054;
  --destructive: #f06a5d;
  --brand-green: #0aa66e;

  /* type.ts: caption 12 · body 14 · name 16 · title 20 · heading 24 */
  --caption: 12px;
  --body: 15px;      /* 14 in the app; one notch up for a browser at arm's length */
  --name: 16px;
  --title: 20px;
  --heading: 24px;
  --display: 34px;   /* web-only: the hero headline */

  /* spacing.ts */
  --xs: 4px; --sm: 6px; --md: 8px; --lg: 10px; --xl: 12px; --xxl: 14px; --xxxl: 16px;
  --jumbo: 20px; --giant: 24px;

  /* radius.ts */
  --r-sm: 10px; --r-input: 12px; --r-item: 14px; --r-card: 16px; --r-bubble: 20px;
  --r-sheet: 28px; --r-pill: 99px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --measure: 640px;
  --wide: 1140px;
  color-scheme: dark;
}

@media (min-width: 720px) {
  :root { --display: 48px; --heading: 30px; --title: 22px; --body: 16px; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--body);
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { font-weight: 700; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 var(--jumbo); }
.narrow { max-width: var(--measure); }
section { padding: 56px 0; }
@media (min-width: 720px) { section { padding: 88px 0; } }
.split { display: grid; gap: var(--giant); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1.1fr 1fr; gap: 56px; } }

/* ---------- text ---------- */
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: var(--display); font-weight: 800; }
h2 { font-size: var(--heading); font-weight: 800; }
h3 { font-size: var(--name); font-weight: 700; }
.lede { font-size: var(--name); color: var(--sub); line-height: 1.55; margin-top: var(--xxxl); }
.sub { color: var(--sub); }
.caption { font-size: var(--caption); color: var(--sub); }
.sectionlabel {
  font-size: var(--caption); font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--sub); margin-bottom: var(--lg);
}
.section-head { margin-bottom: var(--giant); }
.section-head p { color: var(--sub); margin-top: var(--md); max-width: var(--measure); }
@media (min-width: 720px) { .section-head { margin-bottom: 36px; } }

/* ---------- buttons: the app's kinds ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--md);
  min-height: 52px; padding: 14px 22px; border-radius: var(--r-pill);
  font: inherit; font-size: var(--name); font-weight: 700; line-height: 1.25;
  cursor: pointer; border: 1px solid transparent; text-decoration: none;
  max-width: 100%; text-align: center; transition: opacity .12s;
}
.btn:hover { text-decoration: none; }
.btn:active { opacity: .7; }
.btn-filled { background: var(--accentbtn); color: #fff; }
.btn-filled:hover { background: var(--accentbtn2); }
.btn-outlined { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outlined:active { opacity: .6; }
.btn-link {
  min-height: 44px; padding: 10px 14px; border-radius: 0; background: none;
  color: var(--accent); font-size: var(--body); font-weight: 600;
}
.btn-link:active { opacity: .6; }
.btn[disabled], .btn.is-disabled { background: var(--chipline); color: var(--sub); cursor: default; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--lg); align-items: center; }

/* ---------- surfaces ---------- */
.card {
  background: var(--card); border: 1px solid var(--chipline);
  border-radius: var(--r-card); padding: var(--xxxl);
}
.card2 { background: var(--card2); }
.pill {
  display: inline-flex; align-items: center; gap: var(--md);
  background: var(--chip); border: 1px solid var(--chipline); color: var(--text);
  font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: var(--r-pill);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.tipbox {
  background: var(--card2); border: 1px solid var(--chipline); border-radius: var(--r-input);
  padding: var(--lg) 13px; font-size: 13px; color: var(--sub); line-height: 1.5;
}
.hr { height: 1px; background: var(--line); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14, 15, 19, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: var(--xxl); min-height: 60px; }
.brand { display: flex; align-items: center; gap: var(--lg); color: var(--text); font-weight: 800; font-size: 18px; letter-spacing: .2px; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: none; gap: var(--xxl); margin-left: var(--md); }
.nav-links a { color: var(--sub); font-size: 14px; font-weight: 600; padding: 8px 4px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta { margin-left: auto; min-height: 40px; padding: 8px 16px; font-size: 14px; }
@media (min-width: 860px) { .nav-links { display: flex; } }

/* ---------- forms (the app's input: card2 fill, chipline border, radius 12) ---------- */
.field {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--card2); border: 1px solid var(--chipline); border-radius: var(--r-input);
  color: var(--text); font: inherit; font-size: var(--name);
}
.field::placeholder { color: var(--gray); }
.field:focus { outline: none; border-color: var(--accent); }
.form-row { display: grid; gap: var(--lg); }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr auto; } }

/* ---------- the phone: drawn screens, measured off the real components ----------
   The frame (a 350 phone, 6px bezel) and its status bar, then every drawn screen of the app
   as it is with the chat hidden (chat phase-out Step 20, 7 Oct 2026): the header with only
   the credit pill, the Settings · Scan connection · People bar. Used by index.html and
   demo.html. SIZES ARE NOT EYEBALLED: every number is the real component's, scaled by 0.87
   (the 338px drawn screen over a 390pt phone). Sources: screen-header.tsx, credit-pill.tsx,
   icon-button.tsx, people/styles.ts, section-label.tsx, todo-day-list.tsx,
   nudge-row-styles.ts, score-chip.tsx, row-finish.tsx, suggestion-card.tsx, enrich-rows.tsx,
   details-ask.tsx, offer-buttons.tsx, primary-button.tsx, filter-bar.tsx, all-view.tsx,
   list-row.tsx, draft-card-styles.ts, people/events/list.tsx, (tabs)/scan.tsx and
   (tabs)/_layout.tsx; colours are Midnight. Pinned two-sided against the app by
   src/__tests__/logic/web-home-phones.test.ts and demo-deck.test.ts. */
.phone {
  width: 100%; max-width: 350px; margin: 0 auto;
  background: var(--phone); border: 6px solid #2a2d38; border-radius: 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45); overflow: hidden;
  font-size: 13px; line-height: 1.4; color: var(--text);
}
.phone.large { max-width: 350px; }
.phone .statusbar { height: 36px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; font-size: 12px; font-weight: 600; color: var(--sub); }
.phone.app { text-align: left; }   /* the stacked narrow layout centres .duo; the app never does */
.phone.app .ascreen { flex: 1; display: flex; flex-direction: column; min-height: 0; background: var(--bg); }
/* ScreenHeader: pad 14/12, gap 10, orb 36, title name 16, "online" caption 12, then the credit
   pill alone (the gear left the top for the bar's Settings, chat phase-out Step 20) */
.phone.app .ahdr { display: flex; align-items: center; gap: 8.5px; padding: 3.5px 12px 10.5px; background: var(--phone); border-bottom: .5px solid var(--line); }
.phone.app .abrand { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8.5px; }
.phone.app .aorb { width: 31px; height: 31px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px var(--green), 0 0 9px rgba(63, 208, 132, .5); }
.phone.app .abrand b { display: block; font-size: 14px; font-weight: 700; line-height: 1.2; }
.phone.app .abrand i { display: block; font-style: normal; font-size: 10.5px; line-height: 1.2; margin-top: 1px; color: var(--green); }
.phone.app .acredit { flex: none; border: 1px solid var(--chipline); background: var(--card); border-radius: var(--r-pill); padding: 8.5px 10.5px; font-size: 12px; font-weight: 800; line-height: 1.2; }
.phone.app .around { flex: none; width: 31px; height: 31px; border-radius: 50%; border: 1px solid var(--chipline); background: var(--card); display: grid; place-items: center; color: var(--text); }
/* People's segments: margin 14 (bottom 2), pad 3, gap 3, radius 10; each pad 12, caption 12 */
.phone.app .aseg { display: flex; gap: 2.5px; padding: 2.5px; margin: 12px 12px 2px; background: var(--card2); border-radius: 8.5px; }
.phone.app .aseg span { flex: 1; text-align: center; padding: 10.5px 2px; border-radius: 7px; font-size: 10.5px; line-height: 1.2; color: var(--sub); }
.phone.app .aseg span.on { background: var(--accentbtn); color: #fff; font-weight: 600; }
/* the list's scroll: pad 14 (top 12), gap 8; the day list: gap 8, label margins 12/8 */
.phone.app .alist { flex: 1; display: flex; flex-direction: column; gap: 7px; padding: 10.5px 12px 12px; }
.phone.app .aday { display: flex; flex-direction: column; gap: 7px; }
.phone.app .alabel { align-self: center; margin: 10.5px 0 7px; font-size: 10.5px; font-weight: 700; letter-spacing: .5px; line-height: 1.2; text-transform: uppercase; color: var(--sub); }
/* a nudge row: border 1, radius 14; inner pad 10/12, gap 8; avatar 36; name 16 bold; line caption 12 */
.phone.app .arows { display: flex; flex-direction: column; gap: 5px; margin-top: 7px; }
.phone.app .arow { background: var(--card); border: 1px solid var(--chipline); border-radius: 12px; overflow: hidden; }
.phone.app .ahead { display: flex; align-items: center; padding-right: 10.5px; }
.phone.app .atap { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; padding: 8.5px 10.5px; }
.phone.app .aav { width: 31px; height: 31px; border-radius: 50%; flex: none; object-fit: cover; }
.phone.app .aname { flex: 1; min-width: 0; }
.phone.app .aname b { display: block; font-size: 14px; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone.app .aname span { display: block; font-size: 10.5px; line-height: 1.3; margin-top: 1px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone.app .achev { flex: none; width: 12px; height: 12px; color: var(--sub); }
/* ScoreChip: pad 3/8, caption 12 bold, a solid tint of the band over card (alpha 43/255) */
.phone.app .ascore { flex: none; padding: 2.5px 7px; border-radius: var(--r-pill); font-size: 10.5px; font-weight: 700; line-height: 1.2; }
.phone.app .ascore.g { background: #243f3b; color: var(--green); }
.phone.app .ascore.y { background: #433c30; color: var(--yellow); }
.phone.app .ascore.n { background: #313541; color: var(--gray); }
/* FinishBox, her tick: 30 square, border 2, radius 7, a faint check */
.phone.app .atick { flex: none; width: 26px; height: 26px; border: 1.75px solid var(--chipline); border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 700; line-height: 1; color: rgba(154, 161, 178, .45); }
/* the open row: pad 12, gap 10; reason caption 12 / lh 18; every button row carries marginTop 10 */
.phone.app .abody { display: flex; flex-direction: column; gap: 8.5px; padding: 0 10.5px 10.5px; }
.phone.app .awhy { font-size: 10.5px; line-height: 15.5px; color: var(--sub); }
.phone.app .aact { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 8.5px; }
/* a button's label is one line, as OfferButtons draws it; a row that runs out of room wraps */
.phone.app .aact > span, .phone.app .adraft .abtns > span { flex: none; white-space: nowrap; }
.phone.app .aprimary { padding: 8.5px 12px; border-radius: var(--r-pill); background: var(--accentbtn); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.25; }
.phone.app .amore { flex: none; width: 31px; height: 31px; border-radius: 12px; border: 1px solid var(--chipline); background: var(--card); display: grid; place-items: center; color: var(--sub); }
.phone.app .amore svg { width: 15.5px; height: 15.5px; }
.phone.app .aanswers { display: flex; flex-direction: column; gap: 7px; }
.phone.app .aask { font-size: 10.5px; line-height: 1.3; color: var(--sub); }
.phone.app .achips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8.5px; }
.phone.app .achips span { padding: 8.5px 12px; border-radius: var(--r-pill); border: 1px solid var(--chipline); background: var(--chip); font-size: 12px; font-weight: 700; line-height: 1.25; }
.phone.app .alinkrow { margin-top: 8.5px; }
.phone.app .alinkrow span { display: inline-flex; align-items: center; min-height: 38px; padding: 8.5px 12px; font-size: 12px; font-weight: 600; color: var(--accent); }
/* "Mark done for today": a full-bleed band, border-top 1, pad 14/12, box 16, label body 14 */
.phone.app .adone { display: flex; align-items: center; gap: 7px; margin: 0 -10.5px -10.5px; padding: 12px 10.5px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--sub); }
.phone.app .adone i { width: 14px; height: 14px; border: 1.5px solid var(--sub); border-radius: 6px; flex: none; }
/* ↻ Refresh: the outlined OfferButtons kind, border 1 accent, pad 10/14, body 14 bold */
/* the details card on top of To Do (details-ask.tsx): BotRow orb 26, gap 6; the bot bubble
   radius 20 (bottom-left 8), pad 10/14; its line body 14 / lh 21 beside a chevron.up 14;
   the people in it are nudge rows (enrich-rows.tsx reuses nudge-row-styles) without a score */
.phone.app .abot { display: flex; align-items: flex-start; gap: 5px; }
.phone.app .abot > .aorb { width: 22.5px; height: 22.5px; }
.phone.app .abubble { flex: 1; min-width: 0; padding: 8.5px 12px; border-radius: 17.5px 17.5px 17.5px 7px; background: var(--bot); }
.phone.app .abline { display: flex; align-items: center; gap: 7px; padding: 3.5px 0; font-size: 12px; line-height: 18px; }
.phone.app .abline span { flex: 1; min-width: 0; }
.phone.app .arefresh { margin-top: 8.5px; display: flex; }
.phone.app .arefresh span { padding: 8.5px 12px; border-radius: var(--r-pill); border: 1px solid var(--accent); color: var(--accent); font-size: 12px; font-weight: 700; line-height: 1.25; }
/* Scan: pad 20; lockup logo 28 + title 20 heavy; "Scan a connection" name 16; window border 3,
   radius 24, min 230, takes the leftover height; "#" box 26; line body 14 / lh 20, max 280;
   the two pills body 14, pad 12/14, border 1.5 gray on card2, gap 6 */
.phone.app .acam { align-items: center; padding: 10.5px 17.5px 14px; text-align: center; }
.phone.app .alock { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; font-size: 17.5px; font-weight: 800; letter-spacing: .2px; line-height: 1.2; }
.phone.app .alock img { width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 2px var(--green), 0 0 8px rgba(63, 208, 132, .5); }
.phone.app .atitle { min-height: 31px; display: flex; align-items: center; margin-bottom: 17.5px; font-size: 14px; font-weight: 700; }
.phone.app .awin { flex: 1; align-self: stretch; min-height: 200px; position: relative; overflow: hidden; border: 3px solid var(--accent); border-radius: 21px; background: var(--card); }
.phone.app .awin img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone.app .awin .aline { position: absolute; left: 10.5px; right: 10.5px; top: 50%; height: 2px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 7px var(--accent); }
.phone.app .aqr { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px; font-size: 14px; font-weight: 700; }
.phone.app .ahash { width: 22.5px; height: 22.5px; border-radius: 6px; border: 1.5px solid var(--accent); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--accent); }
.phone.app .ahint { max-width: 243.5px; margin-top: 7px; font-size: 12px; line-height: 17.5px; color: var(--sub); }
.phone.app .apills { align-self: stretch; display: flex; gap: 5px; margin-top: 14px; }
.phone.app .apills span { flex: 1; padding: 10.5px 12px; border-radius: var(--r-pill); border: 1.5px solid var(--gray); background: var(--card2); font-size: 12px; font-weight: 600; line-height: 1.25; }
/* Events: content gap 12; calendar card pad 14, radius 16; day cells 1/7 wide at 1.15, caption 12;
   the dashed add box border 1.5, radius 12, min 44, name 16 bold; sort chips caption 12, pad 10/12;
   an event row pad 12, gap 12, radius 14, name 16 medium, lines caption 12 */
.phone.app .aevents { gap: 10.5px; }
.phone.app .acal { background: var(--card); border-radius: 14px; padding: 12px; }
.phone.app .acalhd { display: flex; align-items: center; margin-bottom: 8.5px; }
.phone.app .acalhd .mid { flex: 1; text-align: center; }
.phone.app .acalhd .mid b { display: block; font-size: 14px; font-weight: 700; line-height: 1.2; }
.phone.app .acalhd .mid span { display: block; margin-top: 2px; font-size: 10.5px; line-height: 1.2; color: var(--sub); }
.phone.app .acalhd .ac { color: var(--accent); font-size: 14px; font-weight: 700; }
.phone.app .acalhd .ac .achev { width: 15.5px; height: 15.5px; color: var(--accent); }
.phone.app .acalhd .rf { margin-left: 5px; }
.phone.app .adow, .phone.app .agrid { display: grid; grid-template-columns: repeat(7, 1fr); }
.phone.app .adow { margin-bottom: 3.5px; }
.phone.app .adow i { font-style: normal; text-align: center; font-size: 10.5px; color: var(--sub); }
.phone.app .agrid span { aspect-ratio: 1.15; padding: 2.5px; display: flex; }
.phone.app .agrid u { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 8.5px; text-decoration: none; font-size: 10.5px; line-height: 1.2; color: var(--text); }
.phone.app .agrid .ev u { background: var(--card2); font-weight: 700; }
.phone.app .agrid .ev u::after { content: ""; width: 3.5px; height: 3.5px; margin-top: 1px; border-radius: 50%; background: var(--accent); }
.phone.app .agrid .today u { background: var(--accentbtn); color: #fff; font-weight: 700; }
/* the dashed add box (primary-button.tsx `dashed`): border 1.5 in the control edge (chipline in
   Midnight), radius 12, pad 14/10, min 44; its label body 14 medium in accent */
.phone.app .aadd { min-height: 38px; display: grid; place-items: center; padding: 8.5px 12px; border: 1.5px dashed var(--chipline); border-radius: 10.5px; font-size: 12px; font-weight: 600; line-height: 1.2; color: var(--accent); }
.phone.app .asort { display: flex; gap: 7px; }
.phone.app .asort span { padding: 8.5px 10.5px; border-radius: var(--r-pill); border: 1px solid var(--chipline); background: var(--chip); font-size: 10.5px; line-height: 1.2; color: var(--text); }
.phone.app .asort span.on { background: var(--accentbtn); border-color: var(--accentbtn); color: #fff; font-weight: 600; }
.phone.app .aevent { display: flex; align-items: center; gap: 10.5px; padding: 10.5px; border-radius: 12px; background: var(--card); }
.phone.app .aevent + .aevent { margin-top: 7px; }
.phone.app .aevent .grow { flex: 1; min-width: 0; }
.phone.app .aevent b { display: block; font-size: 14px; font-weight: 600; line-height: 1.25; }
.phone.app .aevent span { display: block; margin-top: 2px; font-size: 10.5px; line-height: 1.3; color: var(--sub); }
.phone.app .aevent .hk.y { color: var(--yellow); }
.phone.app .aevent .hk.r { color: #ff8a7a; }
.phone.app .aevent .achev { width: 14px; height: 14px; }
/* People > All (all-view.tsx, filter-bar.tsx, people-filter-chips.tsx): the search box pad
   14/10, radius 12, border 1 edge, icon 15, body placeholder; five chips gap 8, pad 12/10,
   caption, chip on chipline; the count row caption + a body Select link; a person row card,
   radius 14, pad 12/14, gap 12, photo 34, name 16 medium, caption sub, score chip, no chevron */
.phone.app .asearch { display: flex; align-items: center; gap: 7px; padding: 8.5px 12px; border: 1px solid var(--chipline); border-radius: 10.5px; background: var(--card); font-size: 12px; line-height: 1.3; color: var(--sub); }
.phone.app .asearch { display: block; min-height: 46px; }
.phone.app .asearch .ajob { color: var(--accent); font-weight: 600; }
.phone.app .afilters { display: flex; flex-wrap: wrap; gap: 7px; }
.phone.app .afilters span { padding: 8.5px 10.5px; border-radius: var(--r-pill); border: 1px solid var(--chipline); background: var(--chip); font-size: 10.5px; line-height: 1.2; color: var(--text); }
.phone.app .acount { display: flex; align-items: center; justify-content: space-between; font-size: 10.5px; line-height: 1.2; color: var(--sub); }
.phone.app .acount b { padding: 8.5px 0 8.5px 12px; font-size: 12px; font-weight: 600; color: var(--accent); }
.phone.app .aperson { display: flex; align-items: center; gap: 10.5px; padding: 10.5px 12px; border-radius: 12px; background: var(--card); }
.phone.app .aperson .aav { width: 29.5px; height: 29.5px; }
.phone.app .aperson .aname b { font-weight: 600; }
/* People > Lists (lists-view.tsx, list-row.tsx): the dashed New list, then rows: card (card2 for an
   event's list), radius 14, pad 12, gap 12; emoji 24 in a 30 box; name 16 medium; sub caption;
   the calendar line in accent; the count as a green score chip */
.phone.app .alistrow { display: flex; align-items: center; gap: 10.5px; padding: 10.5px; border-radius: 12px; background: var(--card); }
.phone.app .alistrow.ev { background: var(--card2); }
.phone.app .alistrow .aemo { flex: none; min-width: 26px; text-align: center; font-size: 21px; line-height: 1.2; }
.phone.app .alistrow .grow { flex: 1; min-width: 0; }
.phone.app .alistrow .grow b { display: block; font-size: 14px; font-weight: 600; line-height: 1.25; }
.phone.app .alistrow .grow span { display: block; margin-top: 2px; font-size: 10.5px; line-height: 1.3; color: var(--sub); }
.phone.app .alistrow .grow span.acc { color: var(--accent); }
/* the outlined button kind (offer-buttons.tsx, draft-card-styles.ts actionPill): no fill, a 1px
   accent line and label, body bold, pad 14/10 */
.phone.app .aout { padding: 8.5px 12px; border-radius: var(--r-pill); border: 1px solid var(--accent); color: var(--accent); font-size: 12px; font-weight: 700; line-height: 1.25; }
/* the draft in the row (DraftCard `fill`, draft-card-styles.ts): card, border 1 chipline, radius
   16, pad 12, gap 10; the label caption bold spaced 0.5; the words body 14 / lh 21 in a bg box,
   border 1 chipline, radius 12, pad 12/10; then Copy (filled, pad 16/10) and the outlined pills */
.phone.app .adraft { display: flex; flex-direction: column; gap: 8.5px; padding: 10.5px; border: 1px solid var(--chipline); border-radius: 14px; background: var(--card); }
.phone.app .adraft .alab { font-size: 10.5px; font-weight: 700; letter-spacing: .5px; line-height: 1.3; color: var(--sub); }
.phone.app .adraft .alab span { white-space: nowrap; }   /* never "AUTO-" on one line, "SENT" on the next */
.phone.app .adraft .atext { padding: 8.5px 10.5px; border: 1px solid var(--chipline); border-radius: 10.5px; background: var(--bg); font-size: 12px; line-height: 18px; }
.phone.app .adraft .abtns { display: flex; flex-wrap: wrap; gap: 7px; }
.phone.app .adraft .acopy { padding: 8.5px 14px; border-radius: var(--r-pill); background: var(--accentbtn); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.25; }
/* the tab bar: border-top 1, pad 10 / 14; Settings and People pills 88 wide, icon 23, caption 12;
   Scan a 60 circle, accentBtn to accentBtn2, icon 26, "Scan connection" caption 12 bold */
.phone.app .abar { flex: none; display: flex; align-items: center; padding: 8.5px 0 14px; border-top: 1px solid var(--chipline); background: var(--phone); }
.phone.app .atab { flex: 1; display: flex; justify-content: center; }
.phone.app .atab > span { width: 76.5px; display: flex; flex-direction: column; align-items: center; gap: 2.5px; padding: 5px 0; border-radius: 14px; border: 1.5px solid transparent; font-size: 10.5px; font-weight: 600; line-height: 1.2; color: var(--sub); }
.phone.app .atab svg { width: 20px; height: 20px; }
.phone.app .atab.on > span { background: rgba(125, 162, 255, .2); border-color: var(--accent); color: var(--accent); }
.phone.app .ascan { flex: 1.3; display: flex; flex-direction: column; align-items: center; gap: 3.5px; }
.phone.app .ascan i { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accentbtn), var(--accentbtn2)); box-shadow: 0 4px 16px rgba(59, 108, 240, .4); }
.phone.app .ascan i svg { width: 22.5px; height: 22.5px; }
.phone.app .ascan.on i { border: 3px solid var(--accent); box-shadow: 0 4px 16px rgba(59, 108, 240, .7); }
.phone.app .ascan b { font-size: 10.5px; font-weight: 700; line-height: 1.2; color: var(--accent); }
.phone.app .ascan.on b { font-weight: 800; }

/* ---------- long-form pages (privacy, terms, support) ---------- */
.doc { padding: 40px 0 72px; }
.doc h1 { font-size: var(--heading); margin-bottom: var(--md); }
.doc .meta { color: var(--sub); font-size: var(--caption); margin-bottom: 28px; }
.doc h2 { font-size: var(--title); margin: 36px 0 var(--lg); }
.doc h3 { font-size: var(--name); margin: var(--jumbo) 0 var(--sm); }
.doc p, .doc li { margin-bottom: var(--xl); color: var(--text); }
.doc ul, .doc ol { padding-left: 22px; }
.doc .short, .doc .callout { background: var(--card); border: 1px solid var(--chipline); border-radius: var(--r-card); padding: var(--xxxl) var(--jumbo); margin: var(--jumbo) 0 28px; }
.doc .short p:last-child, .doc .callout p:last-child { margin-bottom: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: var(--xxl) 0 var(--giant); font-size: 14px; }
.doc th, .doc td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--sub); font-size: var(--caption); text-transform: uppercase; letter-spacing: .06em; }
.doc .tablewrap { overflow-x: auto; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--sub); font-size: 14px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: var(--xxl) 28px; align-items: center; }
.footer .links { display: flex; gap: var(--jumbo); flex-wrap: wrap; }
.footer .links a { color: var(--sub); font-weight: 600; }
.footer .links a:hover { color: var(--text); }
.footer .spacer { flex: 1; }
