/* Direction C, "On the wire" (Lina's pick, 9 Nov 2026, L24; design/direction/c-wire.html). The only source of
   values: the CSS reads these as variables; emails, the manifest and the icon read them through tokens.js.
   From Enikő Eged's Black Cat (L6): flat ink, one dot of colour (her orange), the crow drawn big on its wire.
   From Luma: this week's real events as pictures, sitting on the same wire. The ground is the Dutch sky. */
:root {
  /* colour: sky ground, white cards and second ground, ink, one accent */
  --paper: #D6E3EC; /* the sky: the ground of the hero and of the app screens */
  --card: #FFFFFF;
  --white: #FFFFFF; /* the second ground on the first page */
  --ink: #111111;
  --muted: #4E5A63;
  --marker: #FF5A1F; /* the one accent, Eged's orange: the crow's gift, "You said", the Start button */
  --rule: #B9C7D1;
  --rule-soft: #E3E6E8;
  --error: #B3261E;

  /* type: one family, Bricolage Grotesque; the display cut condensed and heavy */
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Bricolage Grotesque", system-ui, sans-serif;
  --fv-body: "opsz" 14, "wdth" 100;
  --fv-display: "opsz" 96, "wdth" 78;
  --fv-title: "opsz" 48, "wdth" 85;
  --fv-name: "opsz" 96, "wdth" 85;
  --t-display: clamp(44px, 6.4vw, 92px);
  --t-ask: clamp(28px, 2.9vw, 40px);
  --t-title: 26px;
  --t-said: 18px;
  --t-lead: 21px;
  --t-body: 16px;
  --t-small: 13px;
  --t-tag: 11px; /* L73: the language tag over a card's photo */
  /* S23 (design/review/picks-close/proposal.css) */
  --scan-display: clamp(28px, 3.3vw, 48px);
  --t-powered-top: 13px; /* round 2: the 13 px floor (was 11) */
  --row-crow: 72px; /* round 2: the crow on the card row's top edge */
  --row-crow-right: 22px;
  --row-crow-top: -69px; /* its feet end on the card's top border */
  --row-crow-clear: 84px; /* on a phone the lines above the cards keep clear of it */
  --toast-ms: 4000; /* round 2: the answer toast stays 4 s (was 8) */
  --su-gap: 2px;
  --t-out-phone: 15px;
  --under-top: 100px;
  --underline: 1px;
  --underline-off: 4px;
  --more-h: 56px;
  --t-more: 17px;
  --more-min-w: 320px;
  --end-max-w: 560px;
  --t-end: 26px;
  --signin-min-w: 260px;
  --fade-h: 24px;
  --tag-h: 20px;
  --tag-in: 6px;
  --r-tag: 6px;
  --tag-bg: rgba(255, 255, 255, 0.94);
  --t-fine: 13px;
  --t-name: 31px;
  --w-regular: 400;
  --w-medium: 500;
  --w-bold: 700;
  --w-display: 750;
  --w-name: 800;
  --lh-display: 0.93;
  --lh-title: 1.08;
  --lh-body: 1.4;
  --track-display: -0.022em;
  --track-title: -0.01em;
  --track-name: -0.02em;

  /* spacing, on a 4px base */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --shell: 1240px;
  --gutter: 80px;
  --card-min: 340px;
  --field-min: 240px;
  --form-min: 340px;
  --form-max: 560px;
  --control-h: 46px;
  --border: 2.5px;
  --hair: 1px;
  --lift: -4px;
  --tilt-a: -3deg;
  --tilt-b: 2deg;
  --marker-h: 78%;
  --rise: 28px;
  --settle: 0.97;
  --measure: 40rem;
  --measure-wide: 44rem;
  --button-min: 16rem;
  --hero-ch: 15ch;
  /* Navigation B (Design, design/review/nav/spec-B.md §6, 16 Nov): the bar holds 44 px targets with 4 px above and below;
     the 8 px it gives back is what Adventure mode's third card was missing (was 60px) */
  --tabs-h: calc(var(--tap) + var(--s-2));
  --acct-w: 20rem; /* the Account panel on a laptop */
  --nav-gap: var(--s-5); /* 24 px between header items, as the landing header */
  /* B48 (L42; Design, design/review/taste-marks, 16 Nov): the like and love marks, masks drawn in the tile's own text colour */
  --tile-mark: 0.875em; /* the mark beside a label: 14 px on a 16 px tile (not --mark, the Hello Minds mark's size) */
  --tile-mark-gap: var(--s-1);
  --mark-like: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 7.2h3v7.6H1zM5.4 14.8V7.4L8.6 1.6c1.3 0 2 .9 1.8 2.2l-.6 2.6h3.6c1.2 0 2 1.1 1.7 2.2l-1.3 4.6c-.2.9-1 1.6-2 1.6z'/%3E%3C/svg%3E");
  --mark-love: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 14.6 1.9 8.7C.2 7 .2 4.3 1.9 2.8c1.6-1.5 4.1-1.3 5.4.4L8 4l.7-.8c1.3-1.7 3.8-1.9 5.4-.4 1.7 1.5 1.7 4.2 0 5.9z'/%3E%3C/svg%3E");
  --mark-drop: -0.1em; /* the mark sits a little below the middle of the line */
  --dot: 10px;
  --wave-h: 112px;
  --wave-dot: 4px;
  --wave-line: 2px;
  --wave-mark: 8px;
  --wave-kept: 7px; /* decision 7: a kept pick's orange dot in the picks page's two-week strip */
  --t-kept: clamp(28px, 2.9vw, 42px); /* decision 7: the picks page's "I read … and kept …" headline */
  --kept-u: 0.12em; /* decision 7: the orange underline's thickness and offset under what was kept */
  --email-width: 520px;
  --mark: 20px; /* the Hello Minds mark on the sign-in button */
  --tile-min: 13rem; /* the picker's group tiles: five across at 1440, two at 393 (S11) */
  --tile-h: 64px; /* a group tile's height */
  --switch-w: 44px; /* the settings switch; not --s-7, which shrinks on a phone and pushed the knob out */
  --pick-go-h: calc(var(--control-h) + 2 * var(--s-4) + var(--hair)); /* the picker's sticky button bar */
  /* the crow, c1 (app/crow.js, 6 Nov 2026, replacing the spider): the mark beside the name and the full cut
     where there is nothing else to show. Its colours are roles only: --ink, --paper for the eye, and --marker
     for its one gift. The email's PNG is made at twice --crow-big (scripts/crow-png.js). */
  --crow-mark: 32px;
  --crow-big: 120px;
  --crow-mail: 72px; /* the full cut on the first card of the Sunday email, as the first page shows it (S14) */

  /* S14, S15 (6 Nov 2026): the first page, the sheets, the cards' three buttons */
  --scrim: #1111115C; /* the page behind an open sheet: ink at 36% */
  --sheet-w: 40rem; /* a sheet on a wide screen, centred */
  --sheet-max-h: 86vh; /* and how tall it may get before its tiles scroll */
  --sheet-lift: none; /* C: no shadows (design/system/c/SPEC.md rule 1.5) */
  --t-hero: var(--t-display); /* the first page's headline (smaller on a phone, so the city tiles fit the first screen) */
  --t-chapter: clamp(30px, 3.6vw, 52px); /* a chapter's line on the first page */
  --chapter-gap: 120px; /* between the first page's chapters */
  --hero-card: 26rem; /* the example card beside the headline */
  --mail-max-h: 30rem; /* the top of the Sunday email, cut off */
  --step-n: 46px; /* the step numbers 01, 02, 03 */

  /* radius: pills for every control (c-wire), soft cards */
  --r-card: 14px;
  --r-control: 999px;
  --r-chip: 999px;
  --r-panel: 28px; /* the sky panel around the Sunday email on the first page */

  /* The design owner's token names (design/system/c/tokens.css, passed by Quality 9 Nov), with their values.
     Three of their names already mean something else here, so they are mapped, not copied: their --crow-big
     (470, the hero crow) is --c-crow; their --hair (a colour, #E3E6E8) is --rule-soft; their --dot (the accent)
     is --marker, and --accent below. Their @import of the font is the <link> in views.js. */
  --sky: #D6E3EC;
  --accent: #FF5A1F;
  --font: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
  --t-h2: clamp(38px, 4.2vw, 60px);
  --t-h3: clamp(24px, 2vw, 28px);
  --t-card: clamp(15px, 1.5vw, 21px);
  --t-card-app: 21px;
  --t-tiny: 11px;
  --t-wordmark: clamp(27px, 2.2vw, 31px);
  --w-semi: 600;
  --w-mark: 800;
  --lh-h2: 0.98;
  --track-h2: -0.03em;
  --track-mark: -0.02em;
  --max: 1440px;
  --s-9: 100px;
  --r-pill: 999px;
  --tap: 44px;
  --pill-h: 52px;
  --wire: 2.5px;
  --wire-sag: 60px;
  --crow-full: 120px;
  --perch-w: 280px;
  --d-quick: 160ms;
  --d-move: 320ms;
  --d-land: 600ms;
  --focus-ring: 3px solid #111111;
  /* W13, "Signing you in" (design/review/wait-toast/wait.html, passed by Quality 11 Nov): the crow on a short wire, three dots hop along it */
  --aw-w: 260px;
  --aw-h: 128px;
  --aw-dots-w: 140px;
  --aw-dots-h: 40px;
  --aw-dot: 12px;
  --aw-hop-1: 34px;
  --aw-hop-2: 68px;
  --aw-hop-3: 102px;
  --aw-hop-4: 128px;
  --aw-still-1: 48px;
  --aw-still-2: 78px;
  --aw-still-3: 108px;
  --aw-dur: 2400ms;
  --aw-step: 300ms;
  /* W20, the Save toast (design/review/wait-toast/toast.css, passed by Quality 11 Nov) */
  --toast-t: 14px;
  --toast-lh: 1.3;
  --toast-max: 720px;
  --toast-r-phone: 20px;
  --toast-line: 2px;
  --toast-offset: 4px;
  /* W1, the first page's crow, motion B round 2 (design/rehearsal/motion-b2.html): one 5.6 s cycle */
  --crow-cycle: 5600ms;
  --crow-glance: -1.6px;
  --crow-lean-origin: 50px 117px;
  --crow-ring-offset: 4px;
  --focus-ring-on-ink: 3px solid #FF5A1F;
  --focus-offset: 3px;
  --land-rise: -24px; /* a card lands on the wire from 24 px above */
  --land-turn: 4deg; /* and 4 degrees more turned */
  --nophoto-day: 46px; /* the no-photo card's day and time (perch 1440); 30px on the phone; 40px in the app */
  --app-top-h: 220px; /* an app card's top: photo or the ink no-photo top (SPEC 5.1) */
  --nophoto-day-app: 40px;
  --gift: 10px; /* the orange gift dot on the no-photo card */
  --c-hl-thick: 0.16em; /* the count's orange underline (SPEC 3.3) */
  --c-hl-offset: 0.06em;
  --track-caps: 0.08em; /* the no-photo card's interest in small caps */
  --t-opener: 15px; /* her line 3 opener in the email preview (SPEC 5.2) */

  /* Direction C, the first page (design/direction/c-wire.html at 1440 and 393) */
  --c-gutter: 80px;
  --c-hero-h: 900px; /* the sky hero at 1440 */
  --c-bar-pad: 22px;
  --c-pill-h: 44px;
  --c-city-h: 52px;
  --c-t-hero: 92px;
  --c-t-how: 60px;
  --c-t-line11: 26px;
  --c-t-step: 24px;
  --c-t-card: 21px;
  --c-t-card-meta: 13px;
  --c-t-said: 14px;
  --c-said-line: 3px; /* "You said" underlined in the accent */
  --c-tab-h: clamp(330px, 36.1vw, 520px); /* the wire tableau under the headline */
  --c-perch-w: clamp(150px, 19.44vw, 280px); /* a photo card sitting on the wire */
  --c-perch-ratio: 280 / 250; /* its photo, width to height */
  --c-perch-ratio-mix: var(--c-perch-ratio); /* d67: a no-city card's photo, which gives back its city line's height on phones */
  --pk-pin-w: 14px; /* the place picker's pin and chevron (the SVGs' width and height attributes read these) */
  --pk-pin-h: 18px;
  --pk-chev-w: 12px;
  --pk-chev-h: 8px;
  --c-place-tag-h: 26px; /* d67: the city tag on a mixed card's photo, laptops */
  --c-sep-w: 1.1em; /* the "·" between a highlight card's date, price and venue, and the strip that hides it at a line's start */
  --c-venue-min: 4em; /* the venue's least width on that line before it moves to the next (Design, 14 Nov) */
  --c-crow: clamp(172px, 32.6vw, 470px); /* the big crow at the wire's right end */
  --c-crow-max: 470px; /* its width and height attributes, before the stylesheet arrives */
  --c-wire: 2.5px;
  --c-mark-h: 32px; /* the mark on its short wire after the name */
  --c-thumb-w: 120px; /* a photo in the Sunday email preview */
  --c-thumb-h: 90px;
  --c-how-pad: 100px;
  --c-sub-ch: 31ch;
  --c-line11-ch: 26ch;
  --c-h1-max: 13.5em;
  --c-top-pad: 40px;
  --c-tab-lift: 30px; /* the wire's box starts a little above the end of the text, as drawn */
  --c-note-top: 64px;

  /* motion: one curve (Wispr's measured transform curve), three durations */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1); /* the design owner's curve (design/system/c/tokens.css) */
  --dur-fast: 160ms;
  --dur-standard: 320ms;
  --dur-slow: 1100ms;
  --dur-read: 2400ms;
  --stagger: 80ms;
  /* safety net, not motion: if the reading script fails, the first scan's cards show after this */
  --wait-failsafe: 6s;

  /* What's on (Explore B, 15 Nov; design/review/explore/b-board.html): App's first sizes, Design sets the look */
  --xp-side-w: 400px; /* the side column on a wide screen */
  --xp-col-gap: 48px;
  --xp-time-w: 64px; /* the time column of a row */
  --xp-img: 56px; /* a row's photo */
  --xp-pill-sm: 32px; /* a kind's pill */
  --xp-cal-max: 420px; /* the two-week date grid */
  --xp-cal-h: 52px;
  --xp-sticky-top: 16px;
  --xp-h1-ch: 24ch;
  /* Design's look (design/review/explore/wire-explore.css, round 2): the wire across the window with Eugene at its right */
  --x-crow: 120px; /* laptop: the crow stands wholly inside the wire's row; 96 on phones (below) */
  --x-crow-end: 72px; /* the crow on the end block's top edge */
  --x-head-pad: 18px;
  --x-head-top: 20px; /* room above the wire when it comes straight after the header */
  --x-wire-line: 30px; /* the wire's own box */
  --x-wire-room: 14px; /* laptop: the wire's row is the crow plus this */
  --x-bird-lift: 12px;
  --x-say-lift: 24px;
  --x-say-gap: 10px;
  --x-say-ch: 21ch;
  --t-x-say: 15px;
  --t-x-gh: 17px; /* a group heading */
  --t-x-pill: 14px; /* a kind's pill */
  --x-end-top: 92px;
  --x-end-pad-t: 22px;
  --x-end-pad: 20px;
  --t-x-end: 26px;
  --x-end-bird-in: 22px;
  --x-tap-pad: 11px; /* a link in a line gets a 44 px tap area without moving its text: (44 - its line) / 2 */
  /* What's on by genre (Design, drill.css) */
  --d-tile-h: 64px;
  --d-gap: 10px;
  --t-d-n: 22px;
  --d-mine-line: 3px;
  --d-tiles-max: 1120px;
  --d-answer-max: 820px;
  /* the walk (Discovery B, 15 Nov; Design's spec, design/review/explore/walk/walk.css): laptop sizes, phone ones below */
  --w-img: 72px;
  --w-pad-y: 14px;
  --w-pad-x: 16px;
  --w-gap: 10px;
  --w-gap-wide: 18px;
  --t-w-why: 14px;
  --lh-w-why: 18px;
  --t-w-title: 20px;
  --t-w-meta: 14px;
  --w-sep: 1.1em; /* the facts line's dot and its hidden-start pull */
  --w-venue-min: 4em; /* B67: the venue never shortens below this */
  --t-w-h2: 22px;
  --w-kinds-top: 34px;
  --w-kinds-pad: 22px;
  --w-door-h: 56px;
  --t-w-door: 16px;
  --t-w-door-n: 20px;
  --w-door-max: 840px;
  --w-crumb-ch: 22ch;
  --w-why-line: 3px; /* the reason's marker underline */
  --t-xp-h1: clamp(30px, 3.3vw, 48px); /* What's on's titles, as Design draws them (ws.css .h1) */
  --lh-xp-h1: 0.98;
  --track-xp-h1: -0.022em;
  --x-tight: 20px; /* the walk's first screen: the wire's row on a phone takes Eugene's line */
  --x-tight-wide: 40px;
  --x-invite-pad: 20px; /* the invitation to Adventure mode (Design, walk.css 5) */
  --x-invite-pad-b: 14px;
  --x-invite-line: 4px;
  --t-w-title-phone-invite: 20px;
  --w-day-gap: 18px; /* the walk's day choice under its cards */
  --t-w-step-h1: clamp(26px, 2.6vw, 38px); /* a walk step's title (Design, disc.css .h1.sm) */
  --w-step-h1-ch: 26ch;
  --x-tight-small: 24px; /* at 360 Eugene's walk line takes three lines */
}

/* breakpoints: 720px (phone) and 900px (wide). CSS cannot read a variable inside @media,
   so styles.css repeats these two numbers in its media queries and nowhere else. */

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
    --r-card: 24px;
    --s-8: 44px;
    --s-7: 32px;
    --t-title: 26px;
    --wave-h: 88px;
    --tile-min: 9.5rem;
    --tile-h: 56px;
    --t-hero: 37px;
    --t-chapter: 30px;
    --chapter-gap: 72px;
    --step-n: 34px;
    --mail-max-h: 29rem;
    --t-name: 27px;
    --pill-h: 44px;
    --wire-sag: 34px;
    --perch-w: 150px;
    --t-card-app: 19px;
    --nophoto-day: 30px;
    --t-lead: 16px;
    --c-gutter: 16px;
    --c-bar-pad: 14px;
    --c-pill-h: 40px;
    --c-city-h: 44px;
    --c-t-hero: 50px;
    --c-t-how: 38px;
    --c-t-line11: 20px;
    --c-t-step: 19px;
    --c-t-card: 15px;
    --c-t-card-meta: 11px;
    --c-t-said: 12px;
    --t-w-step-h1: 22px; /* a walk step's title on a phone, still two lines (Design, 16 Nov, spec-B-fixes §1) */
    --c-tab-h: calc(324px - var(--tabs-h)); /* design owner, 10 Nov: the first screen fits at 393 x 852; 16 Nov: less the phone bar (nav B), 272 px */
    --c-perch-w: 146px;
    --c-perch-ratio: 146 / 120;
    --c-perch-ratio-mix: 146 / 100; /* 20 px less photo for the city line, so the card reaches no higher than a city's */
    --c-crow: 172px;
    --c-wire: 2px;
    --c-mark-h: 27px;
    --c-thumb-w: 90px;
    --c-thumb-h: 70px;
    --c-top-pad: 24px;
    --c-tab-lift: 0px;
    --c-note-top: 8px;
    --c-how-pad: 48px;
    --r-panel: 20px;
    --r-card: 10px;
    --border: 2px;
    /* B59, compact pick cards on the phone (design/review/cards-393/compact.css, passed by Quality 10 Nov) */
    --cc-photo: 104px;
    --cc-title: 18px;
    --cc-day-big: 24px;
    --cc-pad-x: 14px;
    --cc-small: 13px;
    --cc-orig: 13px; /* round 2: the 13 px floor (was 12) */
    --cc-orig-row: 32px;
    --cc-gap: 6px;
    --cc-credit: 12px; /* round 2: the photo credit, the one 12 px line (was 11) */
    --cc-space: 10px;
    --cc-btn: 14px;
    --cc-list-gap: 12px;
    --cc-stub-lh: 1.3; /* the folded card's line in the 222 px column (Design, 10 Nov) */
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur-standard: 0ms;
    --dur-slow: 0ms;
    --dur-read: 0ms;
    --stagger: 0ms;
    --d-quick: 0ms;
    --d-move: 0ms;
    --d-land: 0ms;
    --rise: 0px;
    --settle: 1;
    --lift: 0px;
  }
}

/* Direction A, piece 1, "The wire runs on" (Lina, 13 Nov: "A with B's touches"; Design, design/review/wire-a/wire.css).
   The picks perch on a wire across the window with the crow at its end. Design's --t-said is --t-said-top here (--t-said
   is taken). */
:root {
  --w-crow: 270px;       /* the crow at the end of the wire, laptop */
  --w-sag: 54px;         /* how far a laptop wire sags at its middle */
  --w-card: 330px;       /* a perched card's widest */
  --w-top: 150px;        /* a perched card's photo or ink top, laptop */
  --w-crow-gap: 4px;     /* the lines beside the crow keep this much more room */
  --t-said-top: 18px;    /* B: "You said" under the title */
  --t-perch-title: 20px; /* a perched card's title, laptop */
  --said-top-offset: 4px; /* the orange line's distance under "You said" */
}
@media (max-width: 1300px) { :root { --w-crow: 220px; --w-sag: 42px; } }
@media (max-width: 1100px) { :root { --w-crow: 170px; --w-sag: 30px; } }
@media (max-width: 900px) { :root { --w-crow: 150px; --w-sag: 12px; } }
@media (max-width: 900px) { :root { --x-crow: 96px; } } /* What's on: the phone's crow may rise beside the title */
@media (max-width: 900px) { :root { --w-pad-y: 12px; --w-pad-x: 14px; --w-gap: 8px; --w-img: 56px; --t-w-title: 18px; } } /* the walk on a phone: three cards above the tabs */
@media (max-width: 720px) { :root { --w-crow: 120px; --w-sag: 9px; --t-said-top: 16px; } }

/* Direction A, piece 2: the chosen interests on a wire under "What are you into?" (Design, design/review/wire-a). Design's
   --t-tag is --t-wtag here (--t-tag is taken). */
:root { --w-crow-taste: 200px; --w-tag-h: 40px; --t-wtag: 17px; }
@media (max-width: 1100px) { :root { --w-crow-taste: 150px; } }
@media (max-width: 720px) { :root { --w-crow-taste: 96px; --w-tag-h: 36px; --t-wtag: 14px; } }

/* The laptop fold with chips (Design, design/review/wire-a/fold.css, 13 Nov): laptop windows 900 tall or less get a
   shorter dot strip (every dot kept) and a shorter perched-card top, so the first pick starts in the first screen. */
@media (min-width: 901px) and (max-height: 900px) { :root { --wave-h: 64px; --w-top: 110px; } }

/* B67, the first page on a laptop window (Design, design/review/fold-laptop/short.css, rounds 1 to 5 and the six-city
   block of 14 Nov; SPEC.md there). Above 720 wide every hero size is the smaller of its width rule and a height rule
   in svh, so a tall screen looks as before; the hero is the window's height and each card is capped to the space
   under "Picked from", its photo cropping (never the words). Net values of the file's cascade; rules in styles.css. */
:root {
  --c-tilt-rise: calc(var(--c-perch-w) * 0.05 + 2px); /* a card turned up to 5.5 degrees lifts a corner by about 5% of its width */
  --c-hero-max: 1000px;
  --c-hero-min: 400px;
  --c-hero-tilt-gap: 6px; /* a tilted card corner stays inside the window */
  --c-tab-min: 170px;
  --c-tab-min-short: 120px; /* six pills in a window 500 tall or less */
  --c-ph-min: 44px; /* a card's photo never crops shorter */
  --c-crow-gap: 8px;
  --c-city-pad-tight: 16px; /* the pills and Start on narrower laptop windows */
  --c-start-pad-tight: 22px;
  --c-city-pad-tighter: 13px;
  --c-t-sub-tight: 18px;
  --c-t-city-tight: 15px;
  --c-note-top-right: 4px; /* the note on the right above the crow, in short windows */
  --c-t-credit-m: 12px; /* the photo credit on the phone (the audit's floor, 13 Nov) */
}
@media (min-width: 721px) {
  :root {
    --c-t-hero: clamp(40px, 9.6svh, 92px);
    --c-top-pad: clamp(12px, 3.6svh, 40px);
    --c-tab-h: min(clamp(330px, 36.1vw, 520px), max(220px, 52svh));
    --c-perch-w: min(clamp(150px, 19.44vw, 280px), max(130px, 27svh));
    --c-crow: min(clamp(172px, 32.6vw, 470px), max(180px, 40svh));
    --c-t-card: clamp(13px, 2.3svh, 21px);
    --c-note-top: clamp(18px, 6svh, 64px);
    --c-tab-lift: 0px;
    --c-note-space: calc(var(--c-note-top) + 18px + 12px + var(--c-tilt-rise));
  }
}
@media (min-width: 721px) and (max-height: 900px) { :root { --c-perch-ratio: 280 / 175; } }
@media (min-width: 721px) and (max-width: 1100px) { :root { --c-gutter: 48px; } }
@media (min-width: 721px) and (max-height: 700px) {
  :root {
    --c-perch-ratio: 280 / 140;
    --c-note-top: 14px;
    --c-t-hero: clamp(40px, 8.4svh, 92px);
    --c-perch-w: min(clamp(150px, 19.44vw, 280px), max(140px, 27svh));
    --c-tab-h: min(clamp(330px, 36.1vw, 520px), max(200px, 46svh));
    --c-crow: min(clamp(172px, 32.6vw, 470px), max(170px, 36svh));
    --c-note-space: calc(4px + 18px + 12px + var(--c-tilt-rise));
  }
}
@media (min-width: 721px) and (max-height: 580px) {
  :root { --c-perch-ratio: 280 / 105; --c-t-card: 13px; --c-t-hero: 40px; --c-perch-w: 170px; --c-tab-h: max(180px, calc(100svh - 296px)); --c-crow: max(150px, 32svh); --c-top-pad: 10px; }
}
@media (min-width: 721px) and (max-height: 500px) { :root { --c-perch-ratio: 280 / 92; } }
@media (max-width: 720px) {
  :root {
    --c-note-space: calc(var(--c-note-top) + 18px + 8px + var(--c-tilt-rise));
    --c-t-card-meta: 13px; /* the audit's 13 px floor (13 Nov): the card's date line, from 11 */
  }
}

/* The place picker, Direction 2 (Design, design/review/city-picker/picker.css; views.js cPicker) */
:root {
  --pk-t: 17px; /* the place button and the list's rows */
  --pk-t-sub: 14px;
  --pk-t-add: 16px;
  --pk-t-compact: 15px; /* the place pill on taste and picks */
  --pk-t-bubble: 15px;
  --pk-t-why: 15px;
  --pk-t-title-m: 20px; /* the sheet's title on a phone */
  --pk-lead-gap: 10px;
  --pk-place-min: 300px;
  --pk-row-h: 48px;
  --pk-row-h-d: 44px; /* rows on a laptop */
  --pk-opt-r: 10px;
  --pk-panel-min: 280px;
  --pk-panel-w: 360px;
  --pk-panel-max: 520px;
  --pk-panel-room: 120px; /* the laptop panel never taller than the window less this */
  --pk-sheet-max: 72svh;
  --pk-rule: 1px; /* the hairline above "Add your city" */
  --pk-outline: 2px;
  --pk-focus-off: 2px;
  --pk-underline: 2px;
  --pk-underline-off: 5px;
  --pk-crow-w: 44px;
  --pk-crow-h: 34px;
  --pk-bubble-r: 16px 16px 16px 4px;
  --pk-bubble-lift: 6px;
}
@media (min-width: 721px) { :root { --pk-t-why: 14px; } }

/* The phone picks page's first screen (Design, design/review/wire-a/phone.css, Fable 14 Nov): the dot strip 52 px tall
   on phones (every dot still there) */
@media (max-width: 720px) { :root { --wave-h: 52px; } }

/* B59 on a laptop (Lina, 10 and 11 Nov: the pick and saved cards "comically large"; Design, design/review/cards-laptop,
   16 Nov): the laptop values of the phone's compact-card tokens, plus --cc-top-h */
@media (min-width: 721px) {
  :root {
    --cc-top-h: 88px;      /* the photo or the ink date block (was 117) */
    --cc-day-big: 26px;    /* the date in the ink block (was 40) */
    --cc-title: 19px;      /* was 20 */
    --cc-small: 14px;      /* date line, place, "You said" (were 16) */
    --app-top-h: var(--cc-top-h); /* the card top off the wire (styles.css 1046) */
    --w-top: var(--cc-top-h);     /* and on the wire (styles.css 1235; tokens.css 428 and 449 had 150 and 110) */
    --t-said-top: 15px;    /* "You said …" under the title (was 18) */
    --cc-orig: 13px; --cc-orig-row: 32px; --cc-gap: 6px; --cc-credit: 12px; --cc-space: 10px; --cc-btn: 15px; --cc-pad-x: 16px;
  }
}
@media (min-width: 901px) and (max-height: 900px) { :root { --w-top: var(--cc-top-h); } } /* beats the shorter-window --w-top above */

/* B59 follow-ups (Design, design/review/cards-laptop/README-followups.md, 16 Nov): on laptop windows 900 px tall or less the
   dot strip at the phone's height (every dot still drawn) and a flatter wire; 800 px tall or less flatter still and a smaller
   "I read … and kept …" headline (1366 x 768) */
@media (min-width: 901px) and (max-height: 900px) { :root { --wave-h: 52px; --w-sag: 24px; } }
@media (min-width: 901px) and (max-height: 800px) { :root { --w-sag: 12px; --t-kept: 32px; } }

