/* Carter's design system: one stylesheet for every person page (the web chat, השבוע, התוצאות, sign-in). The
   calm and guided look: one accent, green for done, cards only where they carry meaning,
   one primary action per screen, a journey bar that says where they are. Logical properties throughout (Hebrew RTL
   and English LTR from the same rules). Classes start with c-. */
:root {
  /* Carter's colours (Ron, Oct 18: "Carter light blue and white"): the logo's sky-to-blue (#5ac8fa → #007aff) on white. */
  --c-bg: #f2f8fd; --c-surface: #ffffff; --c-ink: #0f1c2b; --c-muted: #546577; --c-faint: #8797a8; --c-line: #dce8f3;
  --c-accent: #0a6fe0; --c-accent-ink: #ffffff; --c-accent-soft: #e4f2ff; --c-sky: #5ac8fa; --c-brand: #007aff;
  /* The chunky C (Ron, Oct 26): its ceramic white, its deep navy and the ion beam's glow; the same in light and dark. */
  --c-navy: #0b2a6e; --c-navy-2: #1556c4; --c-ion: #7cc4ff;
  --c-hero: radial-gradient(120% 80% at 50% 0%, #2f86ff 0%, #1556c4 45%, #0b2a6e 100%);
  --c-btn-bg: linear-gradient(180deg, #2a86f5 0%, #0a6fe0 55%, #0858c0 100%); --c-btn-glow: 0 6px 18px rgba(10,111,224,.32);
  --c-good: #0d7449; --c-good-soft: #e2f4ea; --c-warn: #9a4d08; --c-warn-soft: #fdf1e3;
  --c-r: 16px; --c-r-s: 10px;
  --c-font: "Instrument Sans", "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --c-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --c-bg: #081430; --c-surface: #0f2147; --c-ink: #e9f1fb; --c-muted: #a3b6cf; --c-faint: #7d92ae; --c-line: #1f3767;
  --c-accent: #6cbcff; --c-accent-ink: #061634; --c-accent-soft: #15346b; --c-good: #4fd19a; --c-good-soft: #15302a; --c-warn: #f0a35c; --c-warn-soft: #33251a; color-scheme: dark } }
:root[data-theme="dark"] {
  --c-bg: #081430; --c-surface: #0f2147; --c-ink: #e9f1fb; --c-muted: #a3b6cf; --c-faint: #7d92ae; --c-line: #1f3767;
  --c-accent: #6cbcff; --c-accent-ink: #061634; --c-accent-soft: #15346b; --c-good: #4fd19a; --c-good-soft: #15302a; --c-warn: #f0a35c; --c-warn-soft: #33251a; color-scheme: dark }

.c-screen { background: var(--c-bg); color: var(--c-ink); font-family: var(--c-font); font-size: 15px; line-height: 1.45; display: flex; flex-direction: column; height: 100%; box-sizing: border-box; }
.c-screen *, .c-screen *::before { box-sizing: border-box; }

/* The top bar: back, the page's name, and the journey under it. */
.c-bar { background: var(--c-surface); border-block-end: 1px solid var(--c-line); padding: 10px 16px 12px; display: grid; gap: 10px; }
.c-bar-row { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.c-bar-row h1 { margin: 0; font-size: 17px; font-weight: 600; flex: 1; }
.c-back { width: 44px; height: 44px; border: 0; background: none; color: var(--c-accent); display: grid; place-items: center; margin-inline-start: -10px; border-radius: 12px; }
.c-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(180deg, var(--c-sky), var(--c-brand)); color: #ffffff; display: grid; place-items: center; font-weight: 700; flex: none; }
.c-avatar.is-bot { background: var(--c-hero); color: transparent; font-size: 0; overflow: hidden; box-shadow: 0 0 0 1.5px rgba(124,196,255,.55), 0 4px 12px rgba(10,111,224,.3); }
.c-avatar.is-bot img { width: 100%; height: 100%; object-fit: contain; margin-top: 6%; }   /* the whole robot, as on the blog (Ron, Oct 26) */


.c-body { flex: 1; overflow: auto; padding: 20px 16px 24px; display: grid; gap: 28px; align-content: start; }
.c-head { display: grid; gap: 6px; }
.c-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--c-muted); }
.c-eyebrow:lang(en) { font-family: var(--c-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.c-title { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 650; letter-spacing: -.01em; text-wrap: balance; }
.c-lede { margin: 0; font-size: 16px; color: var(--c-muted); max-width: 36ch; }
.c-section { display: grid; gap: 10px; }
/* A section's title reads as a title (Ron, Oct 20: titles were mixing with the text): ink, larger, bold; what it means
   goes on its own quieter line under it (.c-sub), never after a "·" in the title. */
.c-section > h2 { margin: 0; font-size: 18px; line-height: 1.25; font-weight: 700; color: var(--c-ink); letter-spacing: -.005em; text-wrap: balance; }
.c-section > .c-sub { margin: -6px 0 2px; font-size: 13.5px; color: var(--c-muted); }
/* Label and value pairs in one card (their words on נקודת הפתיחה): the label small and quiet, the value as text. */
.c-fields { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--c-r); margin: 0; }
.c-fields > div { display: grid; gap: 4px; padding: 14px 16px; border-block-end: 1px solid var(--c-line); }
.c-fields > div:last-child { border-block-end: 0; }
.c-fields dt { font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--c-muted); }
.c-fields dd { margin: 0; font-size: 16px; color: var(--c-ink); }
.c-fields dd.empty { color: var(--c-faint); font-size: 14.5px; }
.c-label { font-size: 13.5px; font-weight: 600; color: var(--c-muted); }

/* A step inside a page (the deep conversation's three). */
.c-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.c-steps li { display: grid; gap: 6px; font-size: 12.5px; color: var(--c-faint); }
.c-steps li::before { content: ""; height: 4px; border-radius: 2px; background: var(--c-line); }
.c-steps li.done { color: var(--c-muted); } .c-steps li.done::before { background: var(--c-good); }
.c-steps li.now { color: var(--c-ink); font-weight: 600; } .c-steps li.now::before { background: var(--c-accent); }

.c-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--c-r); padding: 16px; display: grid; gap: 10px; }
.c-card.is-next { background: var(--c-accent-soft); border-color: transparent; }
.c-card h3 { margin: 0; font-size: 17px; font-weight: 600; }
.c-card p { margin: 0; color: var(--c-muted); }

.c-list { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--c-r); overflow: hidden; }
.c-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 56px; border-block-end: 1px solid var(--c-line); }
.c-row:last-child { border-block-end: 0; }
.c-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--c-bg); color: var(--c-muted); display: grid; place-items: center; flex: none; }
.c-ico.ok { background: var(--c-good-soft); color: var(--c-good); }
.c-ico.now { background: var(--c-accent-soft); color: var(--c-accent); }
.c-main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.c-main b { font-size: 15px; font-weight: 600; }
.c-main small { font-size: 13px; color: var(--c-muted); overflow-wrap: anywhere; }

.c-tag { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; background: var(--c-bg); color: var(--c-muted); }
.c-tag.ok { background: var(--c-good-soft); color: var(--c-good); }
.c-tag.busy { background: var(--c-accent-soft); color: var(--c-accent); }
.c-tag.warn { background: var(--c-warn-soft); color: var(--c-warn); }

.c-btn { min-height: 50px; padding: 0 20px; border-radius: 14px; border: 0; font: inherit; font-size: 16px; font-weight: 600; background: var(--c-accent); background-image: var(--c-btn-bg); box-shadow: var(--c-btn-glow); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; cursor: pointer; }
.c-btn.ghost { background: var(--c-surface); background-image: none; box-shadow: none; color: var(--c-accent); border: 1px solid var(--c-line); }
.c-btn.block { width: 100%; }
.c-btn:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.c-link { color: var(--c-accent); text-decoration: none; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }

/* The one action at the bottom of a page. */
.c-dock { background: var(--c-surface); border-block-start: 1px solid var(--c-line); padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 8px; }
.c-dock small { text-align: center; color: var(--c-muted); font-size: 13px; }

.c-drop { border: 1.5px dashed var(--c-line); border-radius: var(--c-r); padding: 16px; display: flex; align-items: center; gap: 12px; background: var(--c-surface); color: var(--c-accent); font-weight: 600; min-height: 64px; }
.c-drop small { display: block; color: var(--c-muted); font-weight: 400; font-size: 13px; }

.c-meter { display: grid; gap: 8px; }
.c-meter-track { height: 8px; border-radius: 4px; background: var(--c-line); overflow: hidden; }
.c-meter-fill { height: 100%; border-radius: 4px; background: var(--c-good); }
.c-meter-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.c-num { font-variant-numeric: tabular-nums; }
.c-big { font-size: 30px; font-weight: 650; line-height: 1; }

/* The chat: Carter's bubbles, theirs, quick replies, the composer. */
.c-chat { flex: 1; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.c-day { align-self: center; font-size: 12px; color: var(--c-muted); background: var(--c-surface); border: 1px solid var(--c-line); padding: 3px 10px; border-radius: 999px; }
.c-msg { max-width: 86%; padding: 10px 13px; border-radius: 18px; font-size: 15px; background: var(--c-surface); border: 1px solid var(--c-line); align-self: flex-start; white-space: pre-line; }
.c-msg.me { align-self: flex-end; background: var(--c-accent); color: var(--c-accent-ink); border-color: transparent; }
.c-msg ul { margin: 6px 0 0; padding-inline-start: 18px; display: grid; gap: 2px; white-space: normal; }
.c-quick { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-start; max-width: 92%; }
.c-chip { min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--c-accent); background: var(--c-surface); color: var(--c-accent); font: inherit; font-size: 14px; font-weight: 500; }
.c-compose { display: flex; align-items: center; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--c-surface); border-block-start: 1px solid var(--c-line); }
.c-compose input { flex: 1; min-width: 0; min-height: 44px; border-radius: 22px; border: 1px solid var(--c-line); background: var(--c-bg); color: var(--c-ink); padding: 0 16px; font: inherit; }
.c-round { width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; color: var(--c-muted); display: grid; place-items: center; flex: none; }
.c-round.send { background: var(--c-accent); color: var(--c-accent-ink); }
.c-pin { margin: 0 12px; padding: 10px 12px; border-radius: 12px; background: var(--c-accent-soft); display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.c-pin b { font-weight: 600; }

/* A timeline (the way): a dot and a line down the start edge. */
.c-tl { display: grid; }
.c-tl-item { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 12px; padding-block-end: 14px; position: relative; }
.c-tl-item::before { content: ""; position: absolute; inset-inline-start: 6px; top: 14px; bottom: 0; width: 2px; background: var(--c-line); }
.c-tl-item:last-child::before { display: none; }
.c-tl-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c-good); margin-top: 3px; position: relative; z-index: 1; }
.c-tl-dot.now { background: var(--c-accent); }
.c-tl-item small { display: block; font-family: var(--c-mono); font-size: 11.5px; color: var(--c-muted); }

/* On a computer: the chat and the page side by side. */
.c-split { display: grid; grid-template-columns: minmax(360px, 420px) minmax(0, 1fr); height: 100%; }
.c-split > .c-screen + .c-screen { border-inline-start: 1px solid var(--c-line); }
@media (max-width: 860px) { .c-split { grid-template-columns: 1fr; } .c-split > .c-screen:first-child { display: none; } }

/* The menu: צ׳אט · השבוע · התוצאות. On a phone a bar at the bottom; on a computer the same three in the page's header.
.c-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--c-surface); border-block-start: 1px solid var(--c-line); padding: 4px 6px calc(4px + env(safe-area-inset-bottom, 0px)); }
.c-tab { min-height: 54px; display: grid; justify-items: center; align-content: center; gap: 3px; color: var(--c-faint); text-decoration: none; font-size: 12px; font-weight: 500; border-radius: 12px; }
.c-tab[aria-current="page"] { color: var(--c-accent); font-weight: 600; }
.c-tab svg { width: 24px; height: 24px; }
.c-topnav { display: flex; gap: 4px; }
.c-topnav a { min-height: 40px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; color: var(--c-muted); text-decoration: none; font-weight: 500; }
.c-topnav a[aria-current="page"] { background: var(--c-accent-soft); color: var(--c-accent); font-weight: 600; }
/* The week: seven days, a dot per step (done green). */
.c-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.c-dayc { display: grid; justify-items: center; gap: 4px; padding: 8px 0; border-radius: 12px; font-size: 12px; color: var(--c-muted); }
.c-dayc b { font-size: 16px; color: var(--c-ink); font-weight: 600; }
.c-dayc.today { background: var(--c-accent-soft); }
.c-dayc.today b { color: var(--c-accent); }
.c-dots { display: flex; gap: 3px; min-height: 6px; }
.c-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-line); }
.c-dots i.done { background: var(--c-good); }

/* A whole page built from this file: <body class="c-page">. The page itself scrolls; a dock or the menu stays at the bottom. */
html:has(body.c-page) { height: 100%; }
body.c-page *, body.c-page *::before, body.c-page *::after { box-sizing: border-box; }
body.c-page { margin: 0; min-height: 100%; background: var(--c-bg); color: var(--c-ink); font-family: var(--c-font); -webkit-font-smoothing: antialiased; }
body.c-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body.c-page #app { flex: 1 0 auto; display: flex; flex-direction: column; min-height: 0; }
body.c-page .c-screen { flex: 1 0 auto; height: auto; }
body.c-page .c-body { overflow: visible; width: 100%; max-width: 680px; margin-inline: auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
body.c-page .c-bar { position: sticky; top: 0; z-index: 2; padding-top: max(10px, env(safe-area-inset-top, 0px)); }
body.c-page .c-dock, body.c-page .c-tabs { position: sticky; bottom: 0; z-index: 2; }
.c-dock > * { width: 100%; max-width: 648px; margin-inline: auto; }
.c-hide-wide { }
@media (min-width: 900px) { .c-hide-wide { display: none !important; } }
.c-field { width: 100%; min-height: 44px; border-radius: 12px; border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-ink); padding: 10px 12px; font: inherit; font-size: 16px; resize: vertical; }
.c-field:focus { outline: 2px solid var(--c-accent-soft); border-color: var(--c-accent); }
.c-inline { display: flex; gap: 8px; }
.c-inline .c-field { flex: 1; min-width: 0; }
.c-inline .c-btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
.c-note { margin: 0; font-size: 13.5px; color: var(--c-muted); }
.c-toast { position: fixed; inset-inline: 16px; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); margin-inline: auto; max-width: 420px; background: var(--c-ink); color: var(--c-bg); padding: 12px 16px; border-radius: 12px; font-size: 14px; z-index: 10; text-align: center; }
.c-drop.over { border-color: var(--c-accent); background: var(--c-accent-soft); }
/* Loading: the two peaks of the mark, a stroke tracing their outline in a loop. .s is the inline size (a reply on its way). */
.c-loader { display: grid; place-items: center; min-height: 40vh; }
.c-loader svg { width: 64px; height: auto; overflow: visible; }
.c-loader:has(.c-coin) { position: fixed; inset: 0; min-height: 0; z-index: 1; } /* Focus: the coin in the middle of the screen (Ron, Nov 12) */
.c-loader .c-coin { width: 96px; height: 96px; display: block; } /* Focus: the coin drawing itself (carter-loader.svg) */
.c-loader path { fill: none; stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.c-loader .base { stroke: color-mix(in srgb, var(--c-accent) 22%, transparent); }
.c-loader .trace { stroke: var(--c-accent); stroke-dasharray: 26 74; animation: c-trace 1.8s cubic-bezier(.45,.1,.55,.9) infinite; }
.c-loader.s { display: inline-grid; min-height: 0; vertical-align: middle; }
.c-loader.s svg { width: 28px; }
.c-loader.s path { stroke-width: 3.4; }
/* In a button (common.js busy): beside its words, in the button's own colour. */
button .c-loader.s { margin-inline-start: 8px; }
button .c-loader.s svg { width: 22px; }
button .c-loader .base { stroke: color-mix(in srgb, currentColor 30%, transparent); }
button .c-loader .trace { stroke: currentColor; }
@keyframes c-trace { to { stroke-dashoffset: -100; } }
@media (prefers-reduced-motion: reduce) { .c-loader .trace { animation: none; stroke-dasharray: none; opacity: .6; } }




/* The shared menu (common.js mountMenu; the product review, Oct 19, #4): צ׳אט · השבוע · התוצאות on every page opened
   on its own. A phone: a bar fixed at the bottom, above the home indicator (the docks and the 🐞 button sit above it);
   a computer: across the top, as /chat's. The full-screen flows get one compact "back to chat" instead. */
:root { --c-menu-h: 62px; }
.c-menu { font-family: var(--c-font); background: var(--c-surface); z-index: 45; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  position: fixed; inset-inline: 0; bottom: 0; border-block-start: 1px solid var(--c-line); padding: 4px max(6px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(6px, env(safe-area-inset-left, 0px)); }
.c-menu a { min-height: 54px; display: grid; justify-items: center; align-content: center; gap: 3px; color: var(--c-faint); text-decoration: none; font-size: 12px; font-weight: 500; -webkit-tap-highlight-color: transparent; }
.c-menu a[aria-current="page"] { color: var(--c-accent); font-weight: 600; }
.c-menu a:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -4px; border-radius: 12px; }
.c-menu svg { width: 24px; height: 24px; }
body.c-has-menu::after { content: ""; display: block; height: calc(var(--c-menu-h) + env(safe-area-inset-bottom, 0px)); }
body.c-has-menu .c-dock, body.c-has-menu .c-tabs { bottom: calc(var(--c-menu-h) + env(safe-area-inset-bottom, 0px)) !important; }
body.c-has-menu .c-dock { padding-bottom: 12px; }
body.c-has-menu .c-toast { bottom: calc(var(--c-menu-h) + 24px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 900px) {
  .c-menu { position: static; display: flex; gap: 4px; padding: max(10px, env(safe-area-inset-top, 0px)) 16px 10px; border-block-start: 0; border-block-end: 1px solid var(--c-line); align-items: center; }
  .c-menu a { min-height: 40px; padding: 0 16px; border-radius: 999px; display: inline-flex; gap: 8px; color: var(--c-muted); font-size: 15px; }
  .c-menu a[aria-current="page"] { background: var(--c-accent-soft); color: var(--c-accent); }
  .c-menu svg { width: 18px; height: 18px; }
  body.c-has-menu::after { display: none; }
  body.c-has-menu .c-dock, body.c-has-menu .c-tabs { bottom: 0 !important; }
  body.c-has-menu .c-dock { padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  body.c-has-menu .c-toast { bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
}
.c-menu-back { display: contents; }
/* The deep conversation fills the screen under it; a session in the practice room has its own End, so no pill there. */
.c-menu-back a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; color: var(--c-accent); background: var(--c-accent-soft); text-decoration: none; font-size: 14px; font-weight: 600; }
.c-menu-back svg { width: 18px; height: 18px; }
/* ---------- The page shell (Ron, Oct 20: "converge the container and elements UI to be the deep intake UI for everything…
   a single UI container and layout for all"). common.js fills <header data-shell> on every person page: Carter's "C",
   the page's name, one line of where it stands, the page's controls, the bug icon (the only way to the report sheet);
   on a computer the menu sits in it, on a phone the menu is the bar at the bottom. Under it, one container (.c-body):
   the same width, gutters, cards, rows, buttons, chips, segmented controls and sheets on every page. */
.c-top { position: sticky; top: 0; z-index: 30; font-family: var(--c-font); color: var(--c-ink); background: var(--c-surface); border-block-end: 1px solid var(--c-line);
  padding: max(6px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) 6px max(12px, env(safe-area-inset-left, 0px)); display: grid; gap: 6px; box-sizing: border-box; }
.c-top-row { display: flex; align-items: center; gap: 10px; min-height: 44px; min-width: 0; }
.c-top-row .c-avatar { width: 36px; height: 36px; font-size: 15px; }
.c-top-row h1 { margin: 0; font-size: 17px; font-weight: 600; flex: none; white-space: nowrap; }
.c-top-now { margin: 0; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; color: var(--c-muted); }
.c-top .c-round { color: var(--c-muted); cursor: pointer; }
.c-top .c-round:hover, .c-top .c-round:focus-visible { color: var(--c-accent); }
.c-top .c-round:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -2px; }
.c-top .c-menu-back a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; color: var(--c-accent); background: var(--c-accent-soft); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; flex: none; }
.c-top .c-menu-back svg { width: 18px; height: 18px; }
.c-top .c-steps li { display: flex; align-items: center; gap: 8px; font-size: 12px; white-space: nowrap; }
.c-top .c-steps li::before { order: 2; flex: 1; height: 3px; min-width: 16px; }
@media (max-width: 560px) { .c-top .c-menu-back span { display: none; } .c-top .c-menu-back a { padding: 0 10px; } .c-top .c-steps li:not(.now) { font-size: 0; gap: 0; } }
@media (max-width: 380px) { .c-top-row h1 { display: none; } }
/* Inside the web chat's panel the chat has the avatar and the menu: the page keeps its name, its line and the bug. */
body.c-in-frame .c-top .c-avatar { display: none; }
@media (min-width: 900px) {
  .c-top .c-menu { position: static; padding: 0; border: 0; background: none; flex: none; margin-inline-start: auto; }
  .c-top .c-top-now { flex: 1; }
}
body.c-shelled .c-body { padding-top: 20px; }

/* The basics every page shares (what the dark room stylesheet gave the older pages). */
body.c-page .center { min-height: 60vh; display: grid; place-items: center; padding: 24px 16px; }
body.c-page .muted { color: var(--c-muted); }
body.c-page .small { font-size: 13px; }
body.c-page .err { color: #d93025; margin: 0; min-height: 1.2em; font-size: 14px; }
body.c-page .row { display: flex; gap: 8px; align-items: center; } body.c-page .row.wrap { flex-wrap: wrap; } body.c-page .spacer { flex: 1; }
body.c-page [hidden] { display: none !important; }
body.c-page button { font: inherit; }
.c-narrow { width: min(440px, 100%); }
.c-code { font-family: var(--c-mono); font-size: 22px; letter-spacing: .25em; text-align: center; text-transform: uppercase; }
.c-toast.bad { background: #b3261e; color: #fff; }
.c-toast { z-index: 70; }

/* Buttons, small and quiet: the same family as .c-btn. */
.c-btn.small { min-height: 44px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.c-btn.quiet { background: var(--c-accent-soft); background-image: none; box-shadow: none; color: var(--c-accent); }
.c-btn.danger { background: none; box-shadow: none; color: #d93025; border: 1px solid var(--c-line); }
.c-btn:disabled { opacity: .5; cursor: default; }
.c-chip { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.c-chip.on, .c-chip[aria-pressed="true"] { background: var(--c-accent); color: var(--c-accent-ink); border-color: var(--c-accent); font-weight: 600; }
.c-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.c-chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-block: 2px; } .c-chips.scroll::-webkit-scrollbar { display: none; }
button.c-link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }

/* A segmented control (a page's views: by day · by goal; a goal filter): one rounded track, the chosen one raised. */
.c-seg { display: flex; gap: 2px; padding: 3px; border-radius: 14px; background: var(--c-line); max-width: 100%; }
.c-seg button { flex: 1 1 0; min-width: 0; min-height: 40px; padding: 0 12px; border: 0; border-radius: 11px; background: none; color: var(--c-muted); font: inherit; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.c-seg button[aria-selected="true"], .c-seg button.on { background: var(--c-surface); color: var(--c-ink); font-weight: 600; box-shadow: 0 1px 2px rgba(15, 28, 43, .12); }
.c-seg button:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -2px; }

/* A page's toolbar under its title: a segmented control and a few round buttons. */
.c-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.c-toolbar .c-seg { flex: 1 1 220px; }
.c-toolbar .c-round { border: 1px solid var(--c-line); background: var(--c-surface); color: var(--c-accent); cursor: pointer; }

/* An empty state: a line of what will be here, and at most one action. */
.c-empty { background: var(--c-surface); border: 1px dashed var(--c-line); border-radius: var(--c-r); padding: 16px; display: grid; gap: 10px; color: var(--c-muted); }
.c-empty p { margin: 0; }
.c-empty .c-btn, .c-empty .c-link { justify-self: start; }

/* Rows that open something: the whole row is the button. */
.c-row.tap, button.c-row { cursor: pointer; width: 100%; text-align: start; font: inherit; color: inherit; background: none; border: 0; border-block-end: 1px solid var(--c-line); }
button.c-row:last-child { border-block-end: 0; }
.c-row.tap:hover, button.c-row:hover { background: color-mix(in srgb, var(--c-accent) 4%, transparent); }
.c-row .c-go { color: var(--c-faint); flex: none; display: grid; }
.c-val { color: var(--c-muted); font-size: 14px; white-space: nowrap; flex: none; }

/* A sheet over the page (an editor, settings, a report): the page's card, from the bottom on a phone, centred on a computer. */
.c-sheet-wrap { position: fixed; inset: 0; z-index: 60; background: rgba(8, 16, 26, .45); display: flex; align-items: flex-end; justify-content: center; font-family: var(--c-font); color: var(--c-ink); }
.c-sheet { width: min(520px, 100%); max-height: calc(100dvh - 24px); overflow-y: auto; box-sizing: border-box; background: var(--c-surface); border-radius: 20px 20px 0 0; padding: 0 16px max(16px, env(safe-area-inset-bottom, 0px)); display: grid; gap: 12px; align-content: start; }
@media (min-width: 600px) { .c-sheet-wrap { align-items: center; padding: 16px; } .c-sheet { border-radius: 20px; } }
.c-sheet-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 56px; margin: 0 -16px; padding: 0 16px; background: var(--c-surface); border-block-end: 1px solid var(--c-line); }
.c-sheet-head h2 { margin: 0; font-size: 17px; font-weight: 600; }
.c-sheet-foot { position: sticky; bottom: 0; display: flex; gap: 8px; align-items: center; margin: 0 -16px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--c-surface); border-block-start: 1px solid var(--c-line); }
.c-sheet-foot .spacer { flex: 1; }

/* Forms: a label over its field; two to a row where they fit. */
.c-label { display: grid; gap: 4px; font-size: 13px; color: var(--c-muted); font-weight: 500; }
.c-label > .c-field, .c-label > select, .c-label > input { color: var(--c-ink); font-weight: 400; }
select.c-field { -webkit-appearance: none; appearance: none; padding-inline-end: 34px; background: var(--c-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238797a8' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; }
[dir="rtl"] select.c-field { background-position: left 14px center; }
input[type="range"].c-field { padding: 0; min-height: 32px; accent-color: var(--c-accent); border: 0; background: none; }
.c-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .c-two > :only-child { grid-column: 1 / -1; }
.c-three { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; }
@media (max-width: 560px) { .c-three { grid-template-columns: 1fr 1fr; } .c-three > :first-child { grid-column: 1 / -1; } }
.c-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; color: var(--c-ink); cursor: pointer; }
.c-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--c-accent); }
.c-box { border: 1px dashed var(--c-warn); background: var(--c-warn-soft); border-radius: var(--c-r-s); padding: 12px; display: grid; gap: 6px; }


   in Telegram's shape (their lines on one side, ours on the other, buttons under ours). A computer: chat | pages; a phone:
   the chat, a page as a sheet over it, the menu bar at the bottom. Its header is the page shell's row (.c-top.wc-head). */
html, body.wc-page { height: 100%; }
body.wc-page { margin: 0; height: 100%; min-height: 0; background: var(--c-bg); color: var(--c-ink); font: 16px/1.4 var(--c-font); -webkit-font-smoothing: antialiased; overflow: hidden; }
body.wc-page #app { height: 100%; flex: 1 1 0; min-height: 0; }
.wc-page button { font: inherit; cursor: pointer; }
.wc-page .center { min-height: 100%; display: grid; place-items: center; padding: 16px; box-sizing: border-box; }
.wc-page .muted { color: var(--c-muted); }

/* the shell: the page's own header and menu (common.js), the chat in the rest; signed out (.c-bare) there is neither */
body.wc-page { display: flex; flex-direction: column; }
body.wc-page #app { height: auto; }
body.c-bare [data-shell], body.c-bare [data-menu] { display: none !important; }
body.c-bare::after { display: none !important; }
.wc { height: 100%; width: min(100%, 780px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); }
.wc-chat { display: grid; grid-template-rows: minmax(0, 1fr); grid-auto-rows: auto; grid-template-columns: minmax(0, 1fr); min-height: 0; min-width: 0; background: var(--c-bg); }
@media (min-width: 900px) { .wc { border-inline: 1px solid var(--c-line); } }
.wc-log { overflow-y: auto; padding: 12px 12px 4px; display: flex; flex-direction: column; gap: 6px; overscroll-behavior: contain; }
.wc-day { align-self: center; font-size: 12px; color: var(--c-muted); background: var(--c-bg); padding: 2px 10px; border-radius: 10px; margin: 8px 0 4px; }
.wc-msg { max-width: 82%; display: flex; flex-direction: column; gap: 4px; }
.wc-msg.ours { align-self: flex-start; }
.wc-msg.mine { align-self: flex-end; align-items: flex-end; }
.wc-b { padding: 10px 13px; border-radius: 18px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15.5px; line-height: 1.45; }
.ours .wc-b { background: var(--c-surface); color: var(--c-ink); border: 1px solid var(--c-line); border-end-start-radius: 6px; }
.mine .wc-b { background: var(--c-accent); color: var(--c-accent-ink); border-end-end-radius: 6px; }
.mine .wc-b a { color: inherit; }
.wc-b a { color: var(--c-accent); }
.wc-b img { display: block; max-width: 100%; border-radius: 12px; margin: -2px -6px 6px; }
.wc-msg.old .wc-b { opacity: .72; }
.wc-meta { font-size: 11px; color: var(--c-muted); padding: 0 6px; }
.wc-kb { display: grid; gap: 4px; }
.wc-kb > div { display: flex; gap: 4px; }
.wc-kb button { flex: 1; min-height: 44px; border: 1px solid var(--c-accent); border-radius: 999px; background: var(--c-surface); color: var(--c-accent); font-size: 14.5px; font-weight: 500; padding: 6px 14px; }
.wc-kb button:hover { background: var(--c-accent-soft); }
.wc-kb button:disabled { opacity: .5; cursor: default; }
.wc-kb button.go::after { content: " ↗"; font-size: 12px; }
.wc-answered { font-size: 13px; color: var(--c-muted); padding: 0 6px; }
.wc-typing .wc-b { color: var(--c-muted); display: flex; align-items: center; gap: 8px; }
.wc-chip { display: inline-flex; gap: 6px; align-items: center; }

/* the composer */
.wc-compose { display: flex; align-items: flex-end; gap: 6px; padding: 8px 10px max(8px, env(safe-area-inset-bottom)); background: var(--c-surface); border-top: 1px solid var(--c-line); }
.wc-compose textarea { overflow-y: hidden; flex: 1; min-width: 0; width: 0; resize: none; border: 1px solid var(--c-line); border-radius: 22px; padding: 11px 14px; font: 16px/1.35 var(--c-font); background: var(--c-bg); color: var(--c-ink); max-height: 160px; min-height: 44px; box-sizing: border-box; outline: none; }
.wc-compose textarea:focus { border-color: var(--c-accent); }
.wc-compose button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; color: var(--c-accent); font-size: 20px; flex: none; display: grid; place-items: center; }
.wc-compose button.send { background: var(--c-accent); color: #fff; font-size: 18px; }
.wc-compose button.rec { background: #d93025; color: #fff; animation: wc-pulse 1.2s infinite; }
@keyframes wc-pulse { 50% { opacity: .6; } }
.wc-recbar { flex: 1; display: flex; align-items: center; gap: 8px; height: 44px; color: #d93025; font-variant-numeric: tabular-nums; }

/* the pages: on a computer beside the chat, the menu on top; on a phone over the chat, full screen, above the menu bar */
.wc-empty { display: grid; place-items: center; height: 100%; color: var(--c-muted); text-align: center; padding: 24px; }

/* signed out, the invite */
.wc-card { background: var(--c-surface); border-radius: 20px; padding: 24px; width: min(440px, 100%); box-sizing: border-box; display: grid; gap: 14px; box-shadow: 0 8px 30px rgba(0, 0, 0, .06); }
.wc-card h1 { margin: 0; font-size: 26px; }
.wc-card p { margin: 0; }
.wc-card .wc-btn { min-height: 48px; border-radius: 14px; border: 0; background: var(--c-accent); color: #fff; font-size: 17px; font-weight: 600; text-decoration: none; display: grid; place-items: center; }
.wc-card .wc-btn.alt { background: var(--c-bg); color: var(--c-ink); font-weight: 500; }
.wc-card input, .wc-card select { min-height: 44px; box-sizing: border-box; border-radius: 12px; border: 1px solid var(--c-line); padding: 0 12px; font: 16px var(--c-font); background: var(--c-surface); color: var(--c-ink); }
/* Launch audit: Safari draws a native select at ~23px whatever min-height says; drawn by us, it keeps 44px (a chevron of our own). */
.wc-card select { -webkit-appearance: none; appearance: none; height: 44px; padding-inline-end: 34px; background: var(--c-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238e8e93' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; }
[dir="rtl"] .wc-card select, .wc-card select:dir(rtl) { background-position: left 14px center; }
.wc-card .wc-err { color: #d93025; font-size: 14px; min-height: 1em; }
.wc-small { font-size: 13px; color: var(--c-muted); line-height: 1.45; }

/* the settings sheet */
.wc-sheet { position: fixed; inset: 0; background: rgba(0, 0, 0, .35); display: grid; place-items: end center; z-index: 50; }
.wc-sheet > .wc-card { border-end-start-radius: 0; border-end-end-radius: 0; width: min(520px, 100%); padding-bottom: max(24px, env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .wc-sheet { place-items: center; } .wc-sheet > .wc-card { border-radius: 20px; } }
.wc-row { display: flex; gap: 8px; align-items: center; justify-content: space-between; }

/* the phone */
@media (max-width: 899px) {
  .wc-compose { padding-bottom: 8px; }
  .wc-msg { max-width: 88%; }
}

.wc-patience { font-size: 13px; opacity: .75; margin-inline-start: 6px; }

/* The web chat without the room's stylesheet: every box sized the same way. */
body.wc-page *, body.wc-page *::before, body.wc-page *::after { box-sizing: border-box; }
body.c-room-page:not(:has(.room)) .one { background: var(--c-accent-soft); border-color: var(--c-accent); color: var(--c-ink); }
body.c-room-page:not(:has(.room)) .banner { top: auto; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); box-shadow: none; }

/* The header: the menu items centred in their pills; controls at 44px; the segmented control a 44px target. */
@media (min-width: 900px) { .c-top .c-menu a { align-items: center; } }
.c-seg button { min-height: 44px; }
.c-goal-change { min-width: 44px; }
/* In the web chat's panel on a computer the chat's header has the bug icon: one, not two side by side. */
@media (min-width: 900px) { body.c-in-frame .c-top-bug, body.c-in-frame .c-top-cog { display: none; } }

/* ---------- בית (/home) and the week as days (/week) (Ron, Oct 20: "a home UI that holds all the parts of the system,
   and a weekly planner view"). A row can be a link or a button (a part of the system, a step to talk over); the week's
   strip on בית; on השבוע each day a card: stacked on a phone (an agenda), seven columns on a computer. */
a.c-row, button.c-row { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; cursor: pointer; }
button.c-row { width: 100%; border: 0; border-block-end: 1px solid var(--c-line); background: none; font: inherit; text-align: start; }
button.c-row:last-child { border-block-end: 0; }
a.c-row:hover, button.c-row:hover { background: var(--c-bg); }
a.c-row:focus-visible, button.c-row:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -2px; }
.c-ico svg { width: 19px; height: 19px; }
.c-ico.warn { background: var(--c-warn-soft); color: var(--c-warn); }
.c-chev { color: var(--c-faint); flex: none; }
[dir="rtl"] .c-chev { transform: scaleX(-1); }
.c-link .c-chev { color: currentColor; }
.c-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.c-btn svg { width: 20px; height: 20px; flex: none; }
.c-today .c-list { border-color: transparent; }
a.c-strip { text-decoration: none; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--c-r); padding: 6px; }
a.c-strip:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.c-strip .c-dayc { min-height: 64px; align-content: center; }
.c-strip .c-dayc.past b { color: var(--c-muted); font-weight: 500; }
.c-dots i.open { background: var(--c-accent); }
.c-dots i.late { background: var(--c-warn); }

.c-plan { display: grid; gap: 8px; }
.c-pday { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--c-r); padding: 10px 12px 12px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.c-pday.today { border-color: var(--c-accent); box-shadow: 0 0 0 1px var(--c-accent); }
.c-pday-h { margin: 0; display: flex; align-items: center; gap: 8px; min-height: 26px; font-size: 14.5px; font-weight: 600; color: var(--c-ink); }
.c-pday-h b { font-weight: 500; color: var(--c-muted); font-size: 13.5px; }
.c-pday-h .c-tag { margin-inline-start: auto; }
.c-pday.past:not(.today) .c-pday-h { color: var(--c-muted); }
.c-pday-empty { margin: 0; font-size: 13px; color: var(--c-faint); }
.c-pday.empty { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding-block: 8px; }
.c-pday-items { display: grid; gap: 6px; min-width: 0; }
.c-pi { display: flex; align-items: flex-start; gap: 8px; min-height: 44px; padding: 10px; border-radius: var(--c-r-s); background: var(--c-bg); border: 0; border-inline-start: 3px solid transparent;
  width: 100%; min-width: 0; font: inherit; font-size: 14.5px; line-height: 1.35; color: var(--c-ink); text-align: start; }
button.c-pi { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button.c-pi:hover { background: var(--c-accent-soft); }
button.c-pi:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -2px; }
.c-pi-mark { flex: none; width: 16px; text-align: center; color: var(--c-accent); }
.c-pi-t { flex: 1; min-width: 0; display: grid; gap: 2px; overflow-wrap: break-word; }
.c-pi small { font-size: 12.5px; color: var(--c-muted); }
.c-pi.late { border-inline-start-color: var(--c-warn); }
.c-pi.late .c-pi-mark, .c-pi.late small { color: var(--c-warn); }
.c-pi.done { color: var(--c-muted); background: none; border: 1px solid var(--c-line); }
.c-pi.done .c-pi-mark { color: var(--c-good); }
.c-pi.done .c-pi-t > span { text-decoration: line-through; text-decoration-color: var(--c-faint); }
.c-pi.done > svg { flex: none; color: var(--c-accent); margin-block-start: 2px; }
.c-pi.done .c-pi-t > small { text-decoration: none; }
/* Steps outside a day's card (this week any day, from before, later, closed lately): a box of their own. */
.c-section > .c-pday-items > .c-pi:not(.done) { background: var(--c-surface); box-shadow: 0 0 0 1px var(--c-line); }
.c-pi.is-session { background: var(--c-accent-soft); }
.c-pi.is-session .c-pi-t > span { font-weight: 600; }
.c-pi.is-plan { background: none; border: 1px dashed var(--c-line); }
.c-pi.is-plan .c-pi-mark { color: var(--c-muted); }
.c-wide-two, .c-col { display: grid; gap: 28px; align-content: start; min-width: 0; }
.c-col:empty { display: none; }
@media (min-width: 900px) {
  body.c-page .c-body.c-wide { max-width: 1240px; }
  .c-wide-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
}
/* Seven columns only where each has room (the chat's panel on a computer stays an agenda). */
@media (min-width: 1100px) {
  .c-plan { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
  .c-pday, .c-pday.empty { grid-template-columns: minmax(0, 1fr); align-items: start; align-content: start; min-height: 240px; padding: 10px; }
  .c-pday-h { flex-wrap: wrap; gap: 2px 6px; }
  .c-pi { font-size: 13.5px; padding: 8px; }
}

/* The chat's file tray: what is about to be sent, one chip each, with its progress; nothing leaves until Send. */
.wc-tray { display: grid; gap: 6px; max-height: 38vh; overflow-y: auto; padding: 8px 12px; border-top: 1px solid var(--c-line); background: var(--c-surface); }
.wc-tray[hidden] { display: none; }
.wc-file { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid var(--c-line); border-radius: 12px; background: var(--c-bg); box-sizing: border-box; }
.wc-file img, .wc-file-ico { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex: none; display: grid; place-items: center; font-size: 22px; background: var(--c-accent-soft); }
.wc-file-main { min-width: 0; flex: 1; display: grid; gap: 2px; }
.wc-file-main b { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wc-file-main small { font-size: 12px; color: var(--c-muted); }
.wc-file.done small { color: var(--c-good); }
.wc-unsent { color: #b3261e; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.wc-file-retry { font: 600 12px var(--c-font); color: #b3261e; background: none; border: 0; padding: 0; text-align: start; cursor: pointer; min-height: 24px; }
.wc-file-x { flex: none; width: 44px; height: 44px; margin-inline-end: -8px; border: 0; background: none; color: var(--c-muted); font-size: 16px; cursor: pointer; border-radius: 50%; }
.wc-file-x:disabled { opacity: .3; cursor: default; }
.wc-bar { height: 4px; border-radius: 2px; background: var(--c-accent-soft); overflow: hidden; }
.wc-bar i { display: block; height: 100%; background: var(--c-accent); transition: width .2s linear; }
.wc-file.done .wc-bar i { background: var(--c-good); }
.wc-compose .send.files { box-shadow: 0 0 0 3px var(--c-accent-soft); }
@media (prefers-reduced-motion: reduce) { .wc-bar i { transition: none; } }

/* The starting point (/intake), Erez, Oct 22: centred; a dark header with the mountain (the landing page's and the share
   card's look); what we see as Ron and Erez's words; the two routes as equal cards on a dark panel, glowing in turn. */
.c-start { text-align: center; }
.c-start .c-lede { margin-inline: auto; }
/* Paragraphs read from the start of the line (Ron, Oct 22: centred long text read badly); the short headings stay centred. */
.c-start .c-fields > div, .c-start .c-card { justify-items: stretch; text-align: start; }
.c-start .c-fields > div > :first-child, .c-start .c-card .c-label { text-align: center; }
.c-start ol, .c-start ul { text-align: start; }
.c-start-hero { display: grid; gap: 10px; justify-items: center; margin: -20px -16px 0; padding: 40px 20px 34px; border-radius: 0 0 28px 28px; color: #fff;
  background: radial-gradient(120% 90% at 50% 0%, #0b3a6b 0%, #071a2e 55%, #03070d 100%); }
.c-start-hero img { width: 64px; height: 64px; filter: drop-shadow(0 0 22px rgba(10,132,255,.65)); }
.c-start-hero h1 { margin: 0; font-size: clamp(28px, 6vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.c-start-hero .c-lede { color: #b8c7d8; max-width: 40ch; }
.c-start-quote { margin: 0 auto; max-width: 34ch; font-size: 20px; line-height: 1.5; font-weight: 500; color: var(--c-ink); text-wrap: pretty; }
.c-start-sign { font-size: 14px; color: var(--c-muted); }
.c-routes-panel { margin: 0 -16px; padding: 30px 16px 26px; border-radius: 28px; color: #fff;
  background: radial-gradient(110% 80% at 50% 0%, #0b3a6b 0%, #071a2e 60%, #03070d 100%); }
.c-section.c-routes-panel > h2 { color: #fff; }
.c-section.c-routes-panel > .c-sub { color: #b8c7d8; }
.c-routes-panel .c-note { color: #fff; }
.c-routes { display: grid; gap: 18px; }
@media (min-width: 640px) { .c-routes { grid-template-columns: 1fr 1fr; gap: 12px; } }
.c-route { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 18px 18px; border-radius: 20px; text-align: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); animation: c-route-glow 4s ease-in-out infinite; }
.c-routes > .c-route:nth-child(2) { animation-delay: -2s; }
.c-route h3 { margin: 0; font-size: 18px; font-weight: 700; color: #fff; }
.c-route-fit { margin: -4px 0 0; font-size: 14.5px; color: #b8c7d8; text-wrap: balance; }
.c-route-price { display: flex; align-items: baseline; gap: 6px; }
.c-route-price b { font-size: 44px; line-height: 1; font-weight: 700; letter-spacing: -.02em; }
.c-route-price small { color: #b8c7d8; font-size: 14px; }
.c-route ul { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.c-route li { display: flex; gap: 8px; }
.c-route li::before { content: "✓"; color: #7cc4ff; font-weight: 700; flex: none; }
.c-route li.c-give { display: grid; gap: 1px; justify-items: center; text-align: center; }
.c-route li.c-give::before { display: none; }
.c-route li.c-give b { color: #fff; font-size: 15.5px; } .c-route li.c-give b::before { content: "✓ "; color: #7cc4ff; }
.c-route li.c-give span { color: #c9d8f2; font-size: 14px; line-height: 1.45; text-wrap: balance; white-space: pre-line; }
.c-route ul:has(.c-give) { gap: 12px; }
.c-route .c-btn { width: 100%; margin-top: auto; background: #fff; box-shadow: none; color: #0059c7; }
.c-route.is-chosen { border-color: #7cc4ff; }
@keyframes c-route-glow { 0%, 50%, 100% { box-shadow: 0 0 0 0 rgba(10,132,255,0); border-color: rgba(255,255,255,.14); }
  25% { box-shadow: 0 0 46px 2px rgba(10,132,255,.75), 0 0 0 1px rgba(124,196,255,.9) inset; border-color: rgba(124,196,255,.9); } }
@media (prefers-reduced-motion: reduce) { .c-route { animation: none; } }

/* The new intake's page (intake.js renderPage, Erez, Oct 26): the original price crossed out with the site's "intro price"
   pill (how.html .plan .intro), the steps for today with their minutes, the loop's three words, the key line. */
.c-route-was { display: flex; align-items: center; gap: 8px; }
.c-was { color: #b8c7d8; font-size: 18px; text-decoration: line-through; }
.c-intro { font-size: 13px; font-weight: 800; padding: 4px 11px; border-radius: 999px; background: #ffc145; color: #2b1d00; }
.c-legal { text-align: center; margin: 6px 0 0; }
.c-receipts { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; text-align: start; }
.c-receipts li::before { content: "✓ "; color: var(--c-accent); font-weight: 700; }
.c-receipts li.is-new { font-weight: 600; } .c-new { font-size: 12px; font-weight: 700; color: var(--c-good); border: 1px solid currentColor; border-radius: 999px; padding: 0 7px; vertical-align: 1px; }
.c-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: step; text-align: start; }
.c-step { counter-increment: step; display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: start; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 12px; padding: 12px 14px; }
.c-step::before { content: counter(step); width: 26px; height: 26px; border-radius: 50%; background: var(--c-accent); color: var(--c-accent-ink); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
/* The page's steps are a list, not the progress bar's three columns (the same class, line 53): one column, the number. */
.c-start .c-steps { grid-template-columns: minmax(0, 1fr); font-size: 15px; color: var(--c-ink); }
.c-start .c-steps .c-step::before { content: counter(step); width: 26px; height: 26px; border-radius: 50%; background: var(--c-accent); color: var(--c-accent-ink); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
.c-start .c-steps li.c-step { font-size: 15px; color: var(--c-ink); }
/* The page's second shape (Erez, Oct 27, then "drastically better"): the insight as a card that reads first, the two
   weeks as one premium dark frame with each outcome in its own block, the price as before with "no commitment" alone. */
.c-find { color: var(--c-accent) !important; }
.c-insight { position: relative; overflow: hidden; gap: 12px; padding: 22px 18px 18px; border-radius: 20px; text-align: start; background: var(--c-surface); border: 1px solid var(--c-line); box-shadow: 0 12px 32px rgba(10,111,224,.10); }
.c-insight::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c-btn-bg); }
.c-insight-tag { justify-self: start; font-size: 12.5px; font-weight: 700; color: var(--c-accent); background: var(--c-accent-soft); padding: 3px 11px; border-radius: 999px; }
.c-insight-text { margin: 0; font-size: clamp(17px, 4.8vw, 19px); line-height: 1.55; font-weight: 600; color: var(--c-ink); white-space: pre-line; text-wrap: balance; }
.c-insight-quote { margin: 0; padding: 10px 14px; border-inline-start: 3px solid var(--c-sky); background: var(--c-bg); border-radius: 10px; color: var(--c-muted); font-size: 15px; line-height: 1.6; }
.c-insight-words { display: block; font-size: 12px; font-weight: 700; color: var(--c-faint); margin-bottom: 2px; }
.c-insight-more { color: var(--c-accent); font-weight: 600; font-size: 14.5px; }
.c-insight .c-step-more p, .c-step .c-step-more p { font-size: 15px; line-height: 1.65; margin: 6px 0 0; }
.c-ahead { display: grid; gap: 14px; padding: 22px 18px; border-radius: 22px; text-align: start; color: #fff;
  background: radial-gradient(120% 70% at 50% 0%, rgba(124,196,255,.22) 0%, rgba(124,196,255,0) 55%), linear-gradient(165deg, #12357d 0%, #0b2459 55%, #08183d 100%);
  border: 1px solid rgba(124,196,255,.28); box-shadow: 0 18px 40px rgba(8,24,61,.35), inset 0 1px 0 rgba(255,255,255,.10); }
.c-ahead p, .c-ahead b { margin: 0; color: #fff; }
.c-ahead-lead { font-size: 20px; font-weight: 800; letter-spacing: -.01em; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.12); }
.c-ahead-block { display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); }
.c-ahead-label { font-size: 12.5px; font-weight: 700; letter-spacing: .03em; color: #ffd75e; }
.c-ahead .c-ahead-big { font-size: 18px; font-weight: 700; line-height: 1.5; }
.c-ahead .c-ahead-how { font-size: 15.5px; line-height: 1.65; color: #c9d8f2; }
.c-ahead-out { display: grid; gap: 3px; padding-inline-start: 12px; border-inline-start: 3px solid #4fd19a; }
.c-ahead-out.is-no { border-color: #ffd75e; }
.c-ahead-out b { font-size: 15px; }
.c-ahead .c-ahead-out p { font-size: 15.5px; line-height: 1.65; color: #e3ebfa; }
.c-ahead-more summary { list-style: none; cursor: pointer; display: inline-flex; padding: 6px 14px; border: 1px solid rgba(255,215,94,.55); border-radius: 999px; color: #ffd75e; font-weight: 600; font-size: 14px; }
.c-ahead-more summary::-webkit-details-marker { display: none; }
.c-ahead-more summary::after { content: " ▾"; margin-inline-start: 4px; }
.c-ahead-more[open] summary::after { content: " ▴"; }
.c-ahead .c-ahead-more p { margin: 10px 0 0; font-size: 15px; line-height: 1.65; color: #d6e2f7; }
#s-offer .c-held { text-wrap: balance; }
/* One route on show, the other folded under it behind a 🤫 (Erez, Oct 28). */
.c-routes.is-one { grid-template-columns: minmax(0, 1fr); max-width: 420px; width: 100%; margin-inline: auto; }
.c-route-hush { width: 100%; }
.c-route-hush > summary { width: fit-content; margin: 0 auto; list-style: none; cursor: pointer; font-size: 30px; line-height: 1; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); transition: transform .2s; }
.c-route-hush > summary::-webkit-details-marker { display: none; }
.c-route-hush > summary:hover { transform: scale(1.08); }
.c-route-hush[open] > summary { opacity: .6; }
.c-route-hush > .c-route { margin-top: 12px; }
.c-terms { display: grid; gap: 6px; justify-items: center; text-align: center; margin-top: 4px; }
.c-terms-main { margin: 0; padding: 10px 22px; border-radius: 18px; line-height: 1.5; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff; font-weight: 700; font-size: 15px; }
.c-step-min { font-size: 13px; color: var(--c-muted); white-space: nowrap; }
/* When they take the first step (intake.js when): the times, or the one set and "add to my calendar". */
.c-when h3 { font-size: 17px; color: var(--c-ink); }
.c-when-set { margin: 0; font-size: 17px; font-weight: 700; color: var(--c-ink); }
.c-when-links { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.c-when-links a, .c-when-links .c-link { color: var(--c-accent); background: none; border: 0; padding: 8px 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.c-when-other { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.c-cycle { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.c-cycle span { border: 1px solid var(--c-accent); color: var(--c-accent); border-radius: 999px; padding: 2px 12px; font-weight: 700; font-size: 14px; }
.c-cycle i { font-style: normal; color: var(--c-accent); }
.c-key { margin: 4px 0 0; font-size: 17px; line-height: 1.5; font-weight: 600; color: var(--c-ink); }
/* Telegram from the website (common.js tgConnect): a quiet bar over the chat, a QR sheet on a computer. */
.wc-chat.has-bar { grid-template-rows: auto minmax(0, 1fr); }
/* Each part in its own row (Ron, Oct 28: on his phone the box sat over the last message): with the Telegram bar gone
   (linked, or closed: .wc-top:empty is display:none) the others moved up a row, the messages took the bar's auto row at
   their full length, and the box got the flexible row, squeezed to nothing. */
.wc-chat.has-bar > .wc-top { grid-row: 1; } .wc-chat.has-bar > .wc-log { grid-row: 2; } .wc-chat.has-bar > .wc-tray { grid-row: 3; } .wc-chat.has-bar > .wc-compose { grid-row: 4; }
/* The first conversation's four stages (chat.js drawStage): a thin line each, the current one in the accent. */
.wc-top:empty { display: none; }
.wc-stage { list-style: none; margin: 8px 12px 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.wc-stage li { display: grid; gap: 4px; font-size: 12px; line-height: 1.25; color: var(--c-faint); text-align: center; }
.wc-stage li::before { content: ""; height: 4px; border-radius: 2px; background: var(--c-line); }
.wc-stage li.done { color: var(--c-muted); } .wc-stage li.done::before { background: var(--c-good); }
.wc-stage li.now { color: var(--c-ink); font-weight: 600; } .wc-stage li.now::before { background: var(--c-accent); }
.c-tgbar { display: flex; align-items: center; gap: 10px; margin: 8px 12px 0; padding: 8px 8px 8px 12px; border-radius: 14px; background: color-mix(in srgb, #2aabee 12%, var(--c-surface, #fff)); border: 1px solid color-mix(in srgb, #2aabee 30%, transparent); font-size: 14px; line-height: 1.35; }
.c-tgbar.is-done { justify-content: center; color: var(--c-ink); }
.c-tgbar-ic { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #2aabee; color: #fff; font-size: 14px; }
.c-tgbar-t { flex: 1; min-width: 0; }
.c-tgbar-go { flex: none; border: 0; border-radius: 999px; padding: 7px 14px; background: #2aabee; color: #fff; font: inherit; font-weight: 600; cursor: pointer; min-height: 36px; }
.c-tgbar-x { flex: none; border: 0; background: none; color: var(--c-ink2, #666); font-size: 20px; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.c-tgqr { display: grid; justify-items: center; gap: 10px; text-align: center; max-width: 340px; }
.c-tgqr-head { margin: 0; font-weight: 700; font-size: 18px; }
.c-tgqr-img svg { display: block; width: 220px; height: 220px; border-radius: 12px; }


/* The starting page and its paywall (Ron, Oct 26: "like Duolingo"): the value on the page, in Carter's look (the icon on
   navy), with one button; the routes on one full screen of their own, no scroll. */
.c-pw { gap: 20px; }
.c-pw-hero { display: grid; gap: 12px; margin: -20px -16px 0; padding: 22px 18px 22px; border-radius: 0 0 28px 28px; color: #fff;
  background: radial-gradient(120% 90% at 50% 0%, #123a6b 0%, #0b1729 70%); }
.c-pw-title { display: flex; align-items: center; gap: 12px; }
.c-pw-title img { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 0 16px rgba(10,132,255,.6)); }
.c-pw-title h1 { margin: 0; font-size: clamp(24px, 6.4vw, 32px); line-height: 1.15; font-weight: 750; letter-spacing: -.02em; text-wrap: balance; }
.c-pw-goal { margin: 0; font-size: 17px; line-height: 1.5; }
.c-pw-quote { margin: 0; color: #b8c7d8; font-size: 15px; }
.c-pw-proof { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.c-pw-proof li { padding: 5px 10px; border-radius: 999px; background: rgba(90,200,250,.16); color: #e6f4ff; font-size: 13.5px; }
.c-pw-proof li::before { content: "✓ "; color: #7cd9a8; font-weight: 700; }
.c-pw-proof a { color: inherit; }
.c-pw-step { gap: 6px; }
.c-pw-step-row { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.c-pw-step-row b { font-size: 16.5px; }
.c-pw-line { display: grid; gap: 4px; padding: 0 2px; }
.c-pw-line .c-start-quote { margin: 0; }
.c-pw-next { display: grid; gap: 6px; text-align: center; }
.c-pw-next .c-sub { margin: 0; }
.c-fold > summary { cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.c-fold > summary::after { content: "⌄"; color: var(--c-muted); transition: rotate .2s; }
.c-fold[open] > summary::after { rotate: 180deg; }
.c-fold[open] { gap: 10px; }
/* The paywall: one screen. */
.c-sheet { position: fixed; inset: 0; z-index: 1000; background: rgba(5,12,22,.55); display: grid; align-content: end; animation: c-fade .2s ease-out; }
.c-sheet-in { position: relative; background: var(--c-surface); color: var(--c-ink); border-radius: 26px 26px 0 0; padding: 22px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  display: grid; gap: 14px; justify-items: center; max-height: 100dvh; overflow: auto; max-width: 560px; width: 100%; margin-inline: auto; animation: c-up .28s cubic-bezier(.2,.8,.2,1); }
@media (min-width: 640px) { .c-sheet { align-content: center; } .c-sheet-in { border-radius: 26px; } }
.c-sheet-x { position: absolute; inset-inline-end: 10px; top: 10px; width: 44px; height: 44px; border: 0; background: none; color: var(--c-muted); font-size: 18px; border-radius: 12px; }
.c-sheet-icon { width: 52px; height: 52px; filter: drop-shadow(0 0 14px rgba(10,132,255,.45)); }
.c-sheet-in h2 { margin: 0; font-size: 22px; font-weight: 750; text-align: center; }
.c-tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; width: 100%; }
.c-tl li { position: relative; display: grid; grid-template-columns: 22px 70px 1fr; align-items: start; gap: 8px; font-size: 14px; color: var(--c-muted); }
.c-tl li > div { display: grid; gap: 1px; } .c-tl strong { color: var(--c-ink); font-weight: 650; } .c-tl small { font-size: 12.5px; line-height: 1.35; }
.c-tl li::before { content: ""; margin-top: 3px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--c-accent); background: var(--c-surface); justify-self: center; }
.c-tl li.is-now::before { background: var(--c-accent); box-shadow: 0 0 0 4px var(--c-accent-soft); }
.c-tl li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 10px; top: 21px; bottom: -8px; width: 2px; background: var(--c-line); }
.c-tl b { color: var(--c-ink); }
.c-plans { display: grid; gap: 8px; width: 100%; }
.c-plan { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; border: 2px solid var(--c-line);
  background: var(--c-surface); color: var(--c-ink); font: inherit; text-align: start; cursor: pointer; }
.c-plan[aria-checked="true"] { border-color: var(--c-accent); background: var(--c-accent-soft); }
.c-plan-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--c-faint); }
.c-plan[aria-checked="true"] .c-plan-dot { border: 6px solid var(--c-accent); }
.c-plan-name { display: grid; gap: 2px; } .c-plan-name small { color: var(--c-muted); font-size: 12.5px; line-height: 1.35; }
.c-plan-price { display: grid; justify-items: end; } .c-plan-price b { font-size: 22px; } .c-plan-price small { color: var(--c-muted); font-size: 12px; }
.c-sheet-go { min-height: 54px; font-size: 17px; }
.c-sheet-small { margin: -4px 0 0; font-size: 12.5px; color: var(--c-muted); text-align: center; text-wrap: balance; }
@keyframes c-up { from { transform: translateY(40px); opacity: 0; } }
@keyframes c-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .c-sheet, .c-sheet-in { animation: none; } }
body.c-sheet-open { overflow: hidden; }
body.c-sheet-open .c-menu { display: none; }
/* Their mountain: the Kurzgesagt-like scene, the five stations under it, two of them done. */
.c-mtn-box { display: grid; gap: 8px; margin: -6px -4px 0; }
.c-mtn-wrap { border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(5,10,40,.35); }
.c-mtn { display: block; width: 100%; height: auto; }
:root[dir="ltr"] .c-mtn { transform: scaleX(-1); }
.c-mtn .st circle { fill: #2a3f8f; stroke: #ffe3a0; stroke-width: 2; }
.c-mtn .st.done circle { fill: #ffd36b; stroke: #fff3cf; }
.c-mtn .st.next circle { fill: #0b1a3a; stroke: #ffd36b; stroke-width: 2.5; animation: c-pulse 1.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.c-mtn .me { animation: c-bob 2.6s ease-in-out infinite; }
.c-mtn .glow { animation: c-glow 3.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.c-mtn .tw { animation: c-tw 2.8s ease-in-out infinite; } .c-mtn .tw2 { animation: c-tw 3.6s ease-in-out infinite -1s; }
@keyframes c-pulse { 0%, 100% { scale: 1; } 50% { scale: 1.35; } }
@keyframes c-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
@keyframes c-glow { 0%, 100% { opacity: .8; } 50% { opacity: 1; } }
@keyframes c-tw { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .c-mtn * { animation: none !important; } }
.c-stations { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; text-align: center; font-size: 11.5px; line-height: 1.25; color: #8fa3c2; }
.c-stations li.done { color: #ffd36b; } .c-stations li.done::before { content: "✓ "; }
.c-stations li.next { color: #fff; font-weight: 700; }
.c-mtn-note { margin: 0; text-align: center; font-size: 13.5px; font-weight: 650; color: #ffd36b; }
.c-pw-goal14 { margin: 0; font-size: 15px; color: var(--c-ink); text-wrap: balance; }
.c-pw-goal14 b { color: var(--c-accent); }
.c-sheet-sub { margin: -8px 0 0; font-size: 13.5px; color: var(--c-muted); text-align: center; }
.c-pw-hero { text-align: center; }
.c-pw-hero h1 { margin: 2px 0 0; font-size: clamp(24px, 6.4vw, 32px); line-height: 1.15; font-weight: 750; letter-spacing: -.02em; text-wrap: balance; }
.c-pw-hero .c-pw-proof { justify-content: center; }
.c-held { margin: -6px 0 0; padding: 8px 12px; border-radius: 12px; background: var(--c-warn-soft); color: var(--c-warn); font-size: 14px; text-align: center; }
.c-held b { font-size: 16px; margin-inline: 2px; }
.c-pw-from { margin: -2px 0 0; font-size: 13.5px; color: var(--c-muted); }
.c-pw-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; }
.c-pw-strip button { display: grid; gap: 1px; justify-items: center; padding: 10px 8px; border-radius: 14px; border: 1.5px solid var(--c-line); background: var(--c-surface); color: var(--c-ink); font: inherit; cursor: pointer; }
.c-pw-strip button.is-first { border-color: var(--c-accent); background: var(--c-accent-soft); }
.c-pw-strip span { font-size: 12.5px; color: var(--c-muted); line-height: 1.3; text-wrap: balance; }
.c-pw-strip b { font-size: 22px; line-height: 1.1; }
.c-pw-strip small { font-size: 11.5px; color: var(--c-muted); }
.c-pw-strip .c-was, .c-plan-price .c-was { font-size: 13px; color: var(--c-faint); text-decoration: line-through; line-height: 1; }
/* The two choices, drawn (the landing page's style). */
.c-scene-wrap { display: block; width: 100%; border-radius: 10px; overflow: hidden; }
.c-scene { display: block; width: 100%; height: auto; }
.c-pw-strip button { padding: 6px 6px 10px; overflow: hidden; }
.c-pw-strip .c-scene-wrap { margin: 0 0 6px; }
.c-plan { grid-template-columns: 22px 64px 1fr auto; }
.c-plan .c-scene-wrap { width: 64px; border-radius: 10px; }
:root[dir="ltr"] .c-scene { transform: scaleX(-1); }
/* Erez's starting point as screens (Ron, Oct 26): each section snaps into place and slides in; dots at the side. */
html:has(.c-snap) { scroll-snap-type: y proximity; scroll-padding-top: 64px; }   /* proximity: a tall screen scrolls freely (mandatory jumped away mid-read) */
.c-snap { gap: 0; padding-top: 0; }
.c-snapsec { min-height: calc(100svh - 64px - var(--c-menu-h, 0px)); scroll-snap-align: start; scroll-snap-stop: normal; display: grid; align-content: center; padding: 20px 0 28px; }
.c-snapsec:first-child { align-content: start; padding-top: 0; }
.c-snapin { display: grid; gap: 18px; opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.c-snapsec.in .c-snapin { opacity: 1; transform: none; }
.c-snapin > * { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.c-snapsec.in .c-snapin > * { opacity: 1; transform: none; }
.c-snapsec.in .c-snapin > *:nth-child(2) { transition-delay: .12s; } .c-snapsec.in .c-snapin > *:nth-child(3) { transition-delay: .24s; }
.c-snapdots { position: fixed; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); display: grid; gap: 8px; z-index: 5; }
.c-snapdots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--c-line); transition: height .2s, background .2s; }
.c-snapdots button.on { height: 20px; border-radius: 6px; background: var(--c-accent); }
@media (prefers-reduced-motion: reduce) { .c-snapin, .c-snapin > * { opacity: 1 !important; transform: none !important; transition: none !important; } html:has(.c-snap) { scroll-snap-type: y proximity; } }
/* Erez's three parts (Oct 26): the offer, simple and practical. The cards (Ron, Oct 26): aligned row by row (subgrid),
   deep blue gradients, a moving sheen and a few sparkles on the first; still when motion isn't welcome. */
.c-snap-title { margin: 0; font-size: 22px; font-weight: 750; text-align: center; }
.c-section h3 { margin: 0; font-size: 16px; font-weight: 700; }
.c-offer { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(6, auto); column-gap: 10px; }
.c-offer-card { position: relative; overflow: hidden; grid-row: span 6; display: grid; grid-template-rows: subgrid; justify-items: center; align-items: center; row-gap: 8px; text-align: center;
  padding: 0 10px 14px; border-radius: 20px; color: #fff; border: 1px solid rgba(255,255,255,.14);
  background: radial-gradient(120% 80% at 50% 0%, #1d4f9c 0%, #0e2a5c 55%, #0a1a3d 100%); box-shadow: 0 10px 28px rgba(6,20,52,.35); }
.c-offer-card.is-first { border-color: rgba(124,196,255,.7);
  background: radial-gradient(120% 80% at 50% 0%, #2f86ff 0%, #1556c4 45%, #0b2a6e 100%); box-shadow: 0 12px 34px rgba(10,111,224,.45), 0 0 0 1px rgba(124,196,255,.35) inset; }
.c-offer-card.is-first::before { content: ""; position: absolute; inset: -40% -60%; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.22) 50%, transparent 60%); transform: translateX(-60%); animation: c-sheen 3.6s ease-in-out infinite; pointer-events: none; }
.c-offer-card.is-chosen { box-shadow: 0 0 0 3px #7cc4ff, 0 12px 34px rgba(10,111,224,.45); }
.c-offer-name { font-size: 15px; line-height: 1.25; align-self: start; }
.c-offer-card .c-route-was { min-height: 24px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.c-offer-card .c-was { color: #a9bfdc; font-size: 15px; }
.c-offer-card .c-intro { font-size: 11.5px; white-space: nowrap; padding: 3px 8px; }
.c-offer-card .c-route-price { display: flex; align-items: baseline; gap: 4px; }
.c-offer-card .c-route-price b { font-size: 36px; line-height: 1; letter-spacing: -.02em; text-shadow: 0 2px 14px rgba(124,196,255,.45); }
.c-offer-card .c-route-price small { color: #b8c7d8; font-size: 13px; }
.c-offer-adds { margin: 0; font-size: 12.5px; line-height: 1.45; color: #cfe0f5; align-self: start; }
.c-offer-card .c-btn { width: 100%; min-height: 46px; padding: 0 6px; white-space: nowrap; font-size: 15px; background: #fff; box-shadow: none; color: #0b4fb3; font-weight: 700; align-self: end; }
.c-offer-card.is-first .c-btn { box-shadow: 0 0 0 0 rgba(255,255,255,.6); animation: c-btnpulse 2.4s ease-out infinite; }
.c-sparkles { position: absolute; inset: 0; pointer-events: none; }
.c-sparkles i { position: absolute; color: #fff; font-style: normal; opacity: 0; animation: c-twinkle 2.8s ease-in-out infinite; pointer-events: none; text-shadow: 0 0 8px #bfe3ff; }
.c-sparkles i:nth-child(1) { top: 12px; inset-inline-start: 14px; font-size: 18px; }
.c-sparkles i:nth-child(2) { top: 40%; inset-inline-end: 12px; font-size: 14px; animation-delay: .7s; }
.c-sparkles i:nth-child(3) { top: 24%; inset-inline-start: 16%; font-size: 12px; animation-delay: 1.4s; }
.c-sparkles i:nth-child(4) { bottom: 78px; inset-inline-start: 12px; font-size: 13px; animation-delay: 2.1s; }
@keyframes c-sheen { 0%, 55% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
@keyframes c-twinkle { 0%, 100% { opacity: .25; transform: scale(.6); } 50% { opacity: .95; transform: scale(1.1); } }
@keyframes c-btnpulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 70% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
@media (prefers-reduced-motion: reduce) { .c-offer-card::before, .c-sparkles i, .c-offer-card .c-btn { animation: none !important; } .c-sparkles i { opacity: .7; } }

/* Carter, the chunky C (Ron, Oct 26): the scene across the top of each card, edge to edge; Carter cheering in the hero. */
.c-route > .c-scene { width: 62%; max-width: 200px; margin: 0 auto 4px; }
.c-offer-card > .c-scene { width: 82%; max-width: 190px; height: auto; margin: 0 auto 6px; display: block; }
.c-start-hero .c-hero-bot { width: 178px; margin: -14px 0 -2px; }
/* Carter the lion (common.js mascot()). The art leaves the top 18% empty and puts the paws at 94%: the box crops the top,
   and a soft contact shadow sits where the paws are, so he stands on the surface instead of floating in a glow. On dark
   and blue surfaces a warm light behind him keeps the teal mane apart from the blue. No drop-shadow filters (muddy). */
.c-lion { position: relative; display: inline-block; isolation: isolate; aspect-ratio: 1 / .82; vertical-align: bottom; --c-lion-ground: rgba(16, 36, 80, .1); --c-lion-core: rgba(16, 36, 80, .14); }
.c-lion > carter-mascot { position: absolute; inset: auto 0 0 0; z-index: 1; width: 100%; height: auto; aspect-ratio: 1; display: block; transform-origin: 50% 94%; animation: c-lion-in .55s cubic-bezier(.2, 1.3, .4, 1) both; }
.c-lion carter-mascot > img { display: block; width: 100%; height: 100%; object-fit: contain; filter: none; border-radius: 0; box-shadow: none; background: none; }
.c-lion-ground, .c-lion-ground::before { position: absolute; border-radius: 50%; }
/* Cel-shaded contact shadow, flush with the paws (the art's ground line is 93.9% down, 6.1% of the width from its foot,
   7.44% of this box's height): a flat outer band a little wider than the paws, and a darker flat core exactly under them. */
.c-lion-ground { left: calc(var(--paw-l, 27%) - 4%); right: calc(var(--paw-r, 30%) - 4%); bottom: 5%; height: 4.9%; background: var(--c-lion-ground); }
.c-lion-ground::before { content: ''; inset: 27% 4.5%; background: var(--c-lion-core); }
.c-start-hero .c-lion, .c-offer-card .c-lion, .c-route .c-lion { --c-lion-ground: rgba(0, 6, 24, .28); --c-lion-core: rgba(0, 6, 24, .38); }
.c-start-hero .c-lion::before, .c-offer-card .c-lion::before, .c-route .c-lion::before { content: ''; position: absolute; z-index: -1; left: -6%; right: -6%; top: 2%; bottom: -4%; border-radius: 50%;
  background: radial-gradient(closest-side at 50% 62%, rgba(255, 236, 196, .2), rgba(150, 210, 255, .07) 58%, transparent); }
@keyframes c-lion-in { from { opacity: 0; transform: scale(.9) translateY(4%); } }
@media (prefers-reduced-motion: reduce) { .c-lion > carter-mascot { animation: none; } }
.wc-typing .wc-bot { width: 34px; height: 34px; margin: -6px 0 -6px -4px; flex: none; }
.c-step-more summary { list-style: none; cursor: pointer; }
.c-step-more summary::-webkit-details-marker { display: none; }
.c-step-more summary::after { content: " ▾"; color: var(--c-accent); font-size: 12px; }
.c-step-more[open] summary::after { content: " ▴"; }
.c-step-more p { margin: 6px 0 0; color: var(--c-muted); font-size: 14px; line-height: 1.45; }
/* The starting point as three cards (Ron, Oct 26): the page scrolls freely and smoothly; each card has its number and
   title and slides in as it arrives (still when motion isn't welcome). */
html:has(.c-parts) { scroll-behavior: smooth; scroll-padding-top: 76px; }
.c-parts { gap: 18px; }
.c-part { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 24px; padding: 18px 16px 20px; display: grid; gap: 18px; box-shadow: 0 10px 30px rgba(11,42,110,.08);
  opacity: 0; transform: translateY(26px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.c-part.in { opacity: 1; transform: none; }
.c-part-head { display: flex; align-items: center; gap: 10px; }
.c-part-head h2 { margin: 0; font-size: 21px; font-weight: 750; }
.c-part-n { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 16px; color: #fff; background: var(--c-hero); box-shadow: 0 0 0 3px var(--c-accent-soft); }
.c-part .c-section { gap: 10px; }
.c-part h3 { margin: 0; font-size: 16px; font-weight: 700; }
/* The starting page reads down the middle (Erez, Oct 28): every heading, card and line centred, the step's number and
   minutes on either side of its centred text, the time chips and the ticks centred too. */
.c-steps-help { display: block; margin-top: 2px; font-size: 14.5px; font-weight: 500; color: var(--c-muted); }
.c-parts .c-part-head { justify-content: center; }
.c-parts .c-part .c-card, .c-parts .c-part ol, .c-parts .c-part ul, .c-parts .c-insight, .c-parts .c-ahead { text-align: center; justify-items: center; }
.c-parts .c-part .c-card > *, .c-parts .c-ahead > *, .c-parts .c-ahead-block > * { justify-self: stretch; }
.c-parts .c-part .c-steps { justify-items: stretch; }
.c-parts .c-step { align-items: center; }
.c-parts .c-steps li.c-step { text-align: center; }
.c-parts .c-chips, .c-parts .c-when-links { justify-content: center; }
.c-parts .c-insight-tag { justify-self: center; }
.c-parts .c-insight-quote { border-inline-start: 0; border-top: 3px solid var(--c-sky); }
.c-parts .c-ahead-out { padding-inline-start: 0; border-inline-start: 0; padding-top: 8px; border-top: 3px solid #4fd19a; }
.c-parts .c-ahead-out.is-no { border-color: #ffd75e; }
.c-parts .c-receipts li, .c-parts .c-route li { justify-content: center; }
.c-parts .c-route ul { justify-items: center; }
#s-offer { background: var(--c-hero); border-color: transparent; color: #fff; }
#s-offer .c-part-n { background: #fff; color: var(--c-navy); box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
#s-offer > .c-sub { color: #cfe0f5; }
@media (prefers-reduced-motion: reduce) { .c-part { opacity: 1 !important; transform: none !important; transition: none !important; } html:has(.c-parts) { scroll-behavior: auto; } }
/* Narrow phones (Ron, Oct 26: the ₪500 card was cut on both sides): the columns never grow past half, and what can't fit
   wraps or shrinks instead of spilling under the card's edge. */
.c-offer { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; }
#s-offer { padding-inline: 12px; }
.c-offer-card { padding: 0 8px 12px; }
.c-offer-card > * { min-width: 0; max-width: 100%; }
.c-offer-card > .c-scene { width: 86%; margin: 0 auto 4px; }
.c-offer-name { font-size: clamp(13px, 3.7vw, 15px); overflow-wrap: anywhere; }
.c-offer-card .c-route-price b { font-size: clamp(28px, 9vw, 36px); }
.c-offer-card .c-btn { white-space: normal; line-height: 1.2; padding: 6px 8px; font-size: clamp(13.5px, 3.8vw, 15px); }
.c-offer-card .c-intro { white-space: normal; text-align: center; }

/* Buttons behave like objects on every page (Ron, Nov 12: "buttons behave like objects throughout all pages, no
   highlighting, immediate UX feedback before any server work"): no blue flash or text selection on a tap, no tap delay,
   and a press you can feel the moment the finger lands. */
button, a.btn, .btn, .d-btn, .pill, .chip, .quiet, [role="button"], [role="checkbox"], [role="radio"], summary, .lionbtn {
  -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; touch-action: manipulation; }
button:not(:disabled):active, a.btn:active, .btn:not(:disabled):active, .d-btn:not(:disabled):active, .pill:active, .chip:active, .quiet:active, [role="checkbox"]:active, [role="radio"]:active {
  transform: scale(.96); transition: transform 70ms ease-out; }
