/* WatchPal's look (from the prototype, docs/WatchPal prototype/catflap.html).
   Phone first, one calm column; the dog is the only loud thing. Fonts are
   served from here (CSP font-src 'self'): Bricolage Grotesque for headings,
   Atkinson Hyperlegible for reading, both SIL OFL. */

@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/BricolageGrotesque-Variable.woff2") format("woff2");
  font-weight: 600 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("fonts/AtkinsonHyperlegible-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("fonts/AtkinsonHyperlegible-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #F3F6F3;
  --surface: #FFFFFF;
  --surface-2: #EAF0EC;
  --ink: #18282A;
  --muted: #566664;
  --line: #D6DFD8;
  --brand: #1D5A4F;
  --brand-ink: #FFFFFF;
  --brand-soft: #DCEBE5;
  --soon: #B4441B;
  --soon-soft: #F8E3D8;
  --bad: #C42B2B;            /* red: only for Private (Watching's Profile), never a job */
  --bad-soft: #F9DEDE;
  --good: #23764C;
  --good-soft: #DCEFE3;
  --later: #8A5A00;
  --later-soft: #F6EBD2;
  --extra: #4F5B8C;
  --extra-soft: #E3E6F3;
  --flame: #F28C00;         /* the streak's flame and its quiet days */
  --flame-core: #FFC93C;
  --flame-ink: #C25E00;     /* the count: the flame's orange, dark enough to read */
  --shadow: 0 1px 2px rgba(24,40,42,.06), 0 6px 20px rgba(24,40,42,.06);

  /* the dog */
  --coat: #E3A74F;
  --coat-deep: #C27F2F;
  --coat-light: #F6DAA9;
  --dog-ink: #2A1C13;
  --collar: #1D5A4F;
  /* the wordmark (_pal.html wordmark, "E2"); on dark, G5 */
  --wm-box: #FFFFFF; --wm-edge: #18282A; --wm-watch: #18282A; --wm-pal-bg: #1D5A4F; --wm-pal: #FFFFFF;
  /* the rat and its skirting board */
  --rat: #9A8676;
  --rat-light: #C9B8A8;
  --rat-ear: #E7A3AE;
  --skirt: #EFE7DA;
  --skirt-line: #D3C6B2;
  --hole: #2A1C13;

  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --s-lg: 1.375rem;
  --s-xs: .8125rem;
  --s-sm: .9375rem;
  --s-md: 1.0625rem;
  --r: 18px;
}
/* dark: the device's own (Settings > Appearance: System), unless Light was chosen; or Dark, chosen */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101816; --surface: #17211F; --surface-2: #1E2A27; --ink: #E6EEEA; --muted: #9DACA7; --line: #2A3835;
    --brand: #6CC3AB; --brand-ink: #0E1A17; --brand-soft: #1E3A33;
    --soon: #F2946B; --soon-soft: #3A2219; --good: #6BCB95; --good-soft: #17322A; --bad: #F28B8B; --bad-soft: #3B1D1D;
    --later: #E3B356; --later-soft: #33290F; --extra: #A9B3E6; --extra-soft: #232842;
    --flame: #F59A1B; --flame-core: #FFD45C; --flame-ink: #FFAE45;
    --wm-box: transparent; --wm-edge: #2C7A6B; --wm-watch: #FFFFFF; --wm-pal-bg: #6CC3AB; --wm-pal: #18282A;
    --skirt: #2A3835; --skirt-line: #3A4A46; --hole: #0A100E;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101816; --surface: #17211F; --surface-2: #1E2A27; --ink: #E6EEEA; --muted: #9DACA7; --line: #2A3835;
  --brand: #6CC3AB; --brand-ink: #0E1A17; --brand-soft: #1E3A33;
  --soon: #F2946B; --soon-soft: #3A2219; --good: #6BCB95; --good-soft: #17322A; --bad: #F28B8B; --bad-soft: #3B1D1D;
  --later: #E3B356; --later-soft: #33290F; --extra: #A9B3E6; --extra-soft: #232842;
  --flame: #F59A1B; --flame-core: #FFD45C; --flame-ink: #FFAE45;
  --wm-box: transparent; --wm-edge: #2C7A6B; --wm-watch: #FFFFFF; --wm-pal-bg: #6CC3AB; --wm-pal: #18282A;
  --skirt: #2A3835; --skirt-line: #3A4A46; --hole: #0A100E;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }   /* the hidden attribute wins over any display rule */
/* a box that scrolls on its own (the chats list, a note, a pop-up, the "+N more" stack, a menu)
   keeps the wheel while the pointer is over it: the page behind doesn't move, even at its ends */
.side, .side-chats, .side-menu, .panel, .sugg-stack, textarea { overscroll-behavior: contain; }
html:has(dialog[open]) { overflow: hidden; }   /* a pop-up open: the page behind stays put */
html, body { margin: 0; min-height: 100%; }
/* the scrollbar's room kept even when a page is short (To-do's tabs: All scrolls, Soon may not), so switching
   never makes the cards jump wider (founder 2026-11-14) */
html { scrollbar-gutter: stable; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: var(--s-md); line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; line-height: 1.15; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  max-width: 720px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ---------- Goldie's drawing (_pal.html): her colours, her blink, busy ---------- */
.char { display: block; }
.d-ear { fill: var(--coat-deep); }
.d-head { fill: var(--coat); }
.d-muzzle { fill: var(--coat-light); }
.c-eye { fill: var(--dog-ink); }
.c-line { fill: none; stroke: var(--dog-ink); stroke-width: 1.8; stroke-linecap: round; }
.blink { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.char-g { transform-box: fill-box; transform-origin: 50% 90%; }
.busy .char-g { animation: tilt 1.4s ease-in-out infinite alternate; }
.busy .pupils { animation: sweep 1.1s ease-in-out infinite alternate; }
.busy .d-ear-l { transform-box: fill-box; transform-origin: top center; animation: twitch .6s ease-in-out infinite alternate; }
.logo.busy g { transform-box: fill-box; transform-origin: 50% 90%; animation: tilt 1.1s ease-in-out infinite alternate; }   /* the paw logo busy: the same wiggle */
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
@keyframes tilt { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@keyframes sweep { from { transform: translateX(-2.2px); } to { transform: translateX(2.2px); } }
@keyframes twitch { from { transform: rotate(0); } to { transform: rotate(5deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
/* the header uses the whole width: logo far left, Sign in / Sign up far right */
.top-row { display: flex; align-items: center; gap: 10px; padding-block: 12px;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .top-row { padding-inline: 28px; } }
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 800;
  font-size: 1.25rem; letter-spacing: -.01em; text-decoration: none; }
.brand svg { width: 34px; height: 34px; }
/* the name where it's wide (_pal.html wordmark, "E2") */
.brand svg.wordmark { display: block; width: auto; height: 38px; }
.wordmark text { font-family: var(--f-display); }
.wm-box { fill: var(--wm-box); stroke: var(--wm-edge); }
.wm-paw { stroke: var(--wm-edge); }
.wm-watch { fill: var(--wm-watch); }
.wm-pal-bg { fill: var(--wm-pal-bg); }
.wm-pal { fill: var(--wm-pal); }
.top-acts { margin-left: auto; display: flex; gap: 6px; }

.btn { display: inline-block; border: 0; border-radius: 99px; padding: 10px 18px; font-weight: 700;
  background: var(--brand); color: var(--brand-ink); white-space: nowrap; text-decoration: none; }
.btn:hover { filter: brightness(1.06); }
/* the quieter button: an outline in the text's own colour (mixed down), so it shows on a white card, the page and
   dark mode alike; hover fills it lightly (never the brightening of a filled one, which washed it out) */
.btn-ghost { background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 24%, transparent); }
.btn-ghost:hover { filter: none; background: color-mix(in srgb, var(--ink) 7%, transparent);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 40%, transparent); }
.btn-ghost[aria-disabled="true"] { color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--line); background: transparent; }
.btn-sm { padding: 7px 14px; font-size: var(--s-sm); }
/* links: brand green and bold, never underlined (founder, 2026-10-29) */
.link { color: var(--brand); font-weight: 700; text-decoration: none; }
button.link { border: 0; background: none; padding: 0; font: inherit; font-weight: 700; cursor: pointer; }   /* opens something here, looks like a link */
.link:hover { filter: brightness(.85); }

/* ---------- home: logo, title, one line, the box; a note at the foot ---------- */
.home { display: flex; flex-direction: column; align-items: center; text-align: center;
  min-height: calc(100vh - 60px); min-height: calc(100dvh - 60px);
  padding-block: 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
/* centred a little above the middle: the optical centre, not the geometric one */
.home-main { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 18px; width: 100%; padding-bottom: 12vh; }
/* the home page's Goldie peeking over the domain box (_pal.html peek_head, peek_paws): her head behind the box
   (its edge hides her chin), her paws over its top edge; the room above it is hers */
.peek-form { position: relative; margin-top: 96px; }
.peek-form .ask-form { position: relative; z-index: 1; }
.peek-head { position: absolute; left: 50%; top: -100px; width: 168px; height: 140px; transform: translateX(-50%);
  z-index: 0; pointer-events: none; }
.peek-head .char-g { animation: tilt 4s ease-in-out infinite alternate; }
.peek-head.busy .char-g { animation-duration: 1.4s; }
.peek-paws { position: absolute; left: 50%; top: -18px; width: 168px; height: 28px; transform: translateX(-50%);
  z-index: 2; pointer-events: none; }
.d-toes { fill: none; stroke: var(--coat-deep); stroke-width: 1.5; stroke-linecap: round; }
/* the account pages' Goldie and the public profile's (account_base.html): peeking over the card, as over the
   home page's box; her head behind it (its edge hides her chin), her paws on its top edge. The wrapper makes no
   layer of its own (no z-index, no rise: the rise's transform would make one), so the card sits between her
   head and her paws; they rise in themselves. Placed without transforms, which the rise uses. */
.card-peek { position: relative; width: 168px; height: 100px; margin-bottom: -16px; }   /* -16: the page's gap; the card then hides her bottom 40px */
.account-main > .card-peek { animation: none; }
.card-peek > * { animation: page-rise 460ms cubic-bezier(.22, .61, .36, 1) 20ms both; }
.card-peek > .peek-head { top: 0; left: 0; transform: none; z-index: 0; }
.card-peek > .peek-paws { top: 82px; left: 0; transform: none; z-index: 2; }               /* the card's top edge at 100, less 18 */
.card-peek + .card { position: relative; z-index: 1; }
/* D1 (founder 2026-11-14): her arms in front of the card (_pal.html peek_front). An arm turns on a base under the
   card's edge; its limb stretches (scaleY) and the paw rides at its tip (translateY by the same length), so the two
   stay joined. Rest: just the paws on the edge. .cover: a paw on each eye. .peeking: the right paw to her cheek. */
.card-peek > .peek-front { position: absolute; top: 0; left: 0; width: 168px; height: 140px; overflow: visible; z-index: 2;
  pointer-events: none; }
.pk-skin { stroke: var(--coat-deep); stroke-width: .8; }
.pk-arm, .pk-hand, .pk-limb, .pk-paw { transition: transform .42s cubic-bezier(.34, 1.35, .64, 1); }
.pk-limb { transform-origin: 0 0; }
.pk-arm.pk-l, .pk-hand.pk-l { transform: translate(41px, 88px) rotate(0deg); }
.pk-arm.pk-r, .pk-hand.pk-r { transform: translate(79px, 88px) rotate(0deg); }
.pk-limb { transform: scaleY(.2474); }
.pk-paw { transform: translateY(-9.4px) rotate(0deg) scale(1); }
.card-peek.cover .pk-arm.pk-l, .card-peek.cover .pk-hand.pk-l { transform: translate(41px, 88px) rotate(11.89deg); }
.card-peek.cover .pk-arm.pk-r, .card-peek.cover .pk-hand.pk-r { transform: translate(79px, 88px) rotate(-11.89deg); }
.card-peek.cover .pk-limb { transform: scaleY(1.0219); }
.card-peek.cover .pk-l .pk-paw { transform: translateY(-38.833px) rotate(-6deg) scale(1.05); }
.card-peek.cover .pk-r .pk-paw { transform: translateY(-38.833px) rotate(6deg) scale(1.05); }
.card-peek.cover.peeking .pk-arm.pk-r, .card-peek.cover.peeking .pk-hand.pk-r { transform: translate(79px, 88px) rotate(-7.765deg); }
.card-peek.cover.peeking .pk-r .pk-limb { transform: scaleY(.5843); }
.card-peek.cover.peeking .pk-r .pk-paw { transform: translateY(-22.204px) rotate(18deg) scale(1); }
.card-peek.cover .peek-head .char-g { animation: none; }          /* her head still while her paws are on her eyes */
.card-peek .peek-head .pupils { transition: transform .25s ease; }
.card-peek.cover.peeking .peek-head .pupils { transform: translate(1.6px, 1.2px); }   /* a look down at the field */
@media (prefers-reduced-motion: reduce) { .pk-arm, .pk-hand, .pk-limb, .pk-paw { transition: none; } }
/* a password field's Show button (peek.js adds it) */
.pw-field { position: relative; display: block; }
.account .pw-field input { padding-right: 70px; }
.pw-show { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none;
  color: var(--brand); font: inherit; font-weight: 700; font-size: var(--s-sm); padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.pw-show:hover, .pw-show:focus-visible { background: var(--brand-soft); }
/* the same over a card on the home layout (welcome.html's offer; home.html for a team member who can't add) */
.home-main > .card-peek { margin-bottom: -18px; }              /* -18: .home-main's gap */
.home-main > .card-peek.home-peek { margin-top: 12px; }
.card-peek + .home-card { position: relative; z-index: 1; }
.home-card { width: 100%; max-width: 34rem; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow);
  padding: 24px 24px 22px; display: grid; gap: 14px; justify-items: center; }
.home-card h1 { font-size: clamp(1.6rem, 5vw, 2.1rem); }
.home-card p { margin: 0; }
.home-card .lede { max-width: none; }
.home h1 { font-size: clamp(2rem, 7vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
.home .lede { max-width: 30rem; color: var(--muted); margin: 0; }

.ask-form { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; max-width: 30rem; background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 30px; padding: 6px; box-shadow: var(--shadow); }
.ask-form:focus-within { border-color: var(--brand); }
.ask-form.invalid { border-color: var(--soon); }
.ask-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 14px; outline: none; }
.ask-form input::placeholder { color: var(--muted); opacity: .8; }
/* the home box's form: the box, then Turnstile under it (interaction-only: its checkbox shows
   only when Cloudflare needs the visitor), never inside it */
.start-form { width: 100%; max-width: 30rem; }
.start-form .captcha { display: flex; justify-content: center; margin-top: 10px; }
.start-form .captcha:empty { display: none; }
@media (max-width: 420px) { .ask-form .btn { flex-basis: 100%; } }

/* what the pal says back when it can't look: a speech bubble, not a red banner */
.pal-says { display: flex; align-items: flex-end; gap: 8px; max-width: 30rem; text-align: left; }
.pal-says svg { width: 36px; height: 36px; flex: none; }
.pal-says p { margin: 0; background: var(--surface); border-radius: 16px 16px 16px 4px; padding: 10px 14px;
  font-size: var(--s-sm); box-shadow: var(--shadow); }

.home-foot { margin: 28px 0 0; max-width: 34rem; font-size: var(--s-xs); color: var(--muted); }
.home-foot a { white-space: nowrap; }   /* "Privacy Policy" never breaks in two */

/* ======================================================================
   The free check as a chat (check.html): the domain as the owner's
   message, the dog narrating, results as its messages, the to-do one tap
   away (the paw), the rat peeking once from its mouse hole.
   ====================================================================== */
.chat-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
/* centred in a flex column, a box is only as wide as what's in it: full width up to its max, so a list's
   cards keep one width whichever tab shows them (To-do's Nice extras, locked cards only) */
.chat-page > .wrap { width: 100%; }
.chat-page .top { border-bottom: 1px solid var(--line); }
.site-pill { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: var(--s-xs);
  padding: 4px 10px; border-radius: 99px; background: var(--brand-soft); color: var(--ink); }
.site-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); flex: none; }
@media (max-width: 520px) { .brand-word { display: none; } .site-pill { max-width: 40vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; } }

/* like a chat app: messages sit at the bottom, by the chat box, and build upwards. The first
   message's auto top margin does it (justify-content: flex-end squashed a long chat) and no
   message ever shrinks */
.chat { flex: 1; width: 100%; display: flex; flex-direction: column; gap: 14px; padding-block: 20px 8px; }
.chat > :first-child { margin-top: auto; }
.chat .msg, .chat .results > * { flex-shrink: 0; }
#results, .results, .look-kept, .results-kept { display: contents; }   /* (a look kept in a chat: her messages, laid out as the chat's own) */
.msg { display: flex; gap: 10px; align-items: flex-end; max-width: 100%; animation: rise .35s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
/* like a chat app: the dog only shows beside its typing dots; a sent message is just the message */
.msg .av { width: 34px; height: 34px; flex: none; display: none; }
.msg.is-typing .av { display: block; }
.msg .av svg { width: 34px; height: 34px; }
.msg .stack { display: grid; gap: 10px; min-width: 0; flex: 1; }   /* the chat box's width, edge to edge */
/* like ChatGPT's and Claude's: what Goldie says is just words on the page, no box or shadow (cards, code
   and the progress card keep theirs); what you say sits in a soft bubble of its own, on the right */
.bubble { padding: 2px 0; min-width: 0; max-width: 100%; justify-self: start; }
.bubble.full { max-width: none; justify-self: stretch; }   /* the summary over the jobs: as wide as their cards */
.bubble p { margin: 0; }
.bubble > :not(:first-child) { margin-top: 8px; }   /* beats .bubble p's margin: 0 */
.bubble ul, .bubble ol { margin-bottom: 0; padding-inline-start: 1.2em; }
.bubble li + li { margin-top: 4px; }
.msg.me { justify-content: flex-end; }
.msg.me .bubble { background: var(--surface-2); color: var(--ink); border-radius: var(--r); padding: 10px 15px;
  max-width: min(480px, 80%); }
.typing { display: inline-flex; gap: 5px; padding: 6px 2px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .5; animation: bob 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bob { 0%, 100% { transform: none; opacity: .4; } 50% { transform: translateY(-4px); opacity: 1; } }
.how { font-size: var(--s-xs); color: var(--muted); }
.mono { font-family: var(--f-mono); font-size: .78rem; background: var(--surface-2); padding: 8px 10px;
  border-radius: 10px; overflow-wrap: anywhere; display: block; white-space: pre-wrap; }

/* the progress card: the real scan's steps, ticked as their results are written */
.scan { background: var(--surface); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.scan-head { display: flex; align-items: center; gap: 12px; }
.scan-head strong { font-family: var(--f-display); font-size: var(--s-lg); display: block; line-height: 1.2; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.step { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: var(--s-sm); color: var(--muted); }
.step .ic { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; margin-top: 1px; }
.step.now { color: var(--ink); }
.step.now .ic { border-color: var(--coat); border-top-color: transparent; animation: spin .8s linear infinite; }
.step.done { color: var(--ink); }
.step.done .ic { background: var(--brand); border-color: var(--brand); }
.step.done .ic::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--brand-ink);
  border-bottom: 2px solid var(--brand-ink); transform: translateY(-1px) rotate(-45deg); }
.step .res { display: block; color: var(--muted); font-size: var(--s-xs); }
@keyframes spin { to { transform: rotate(360deg); } }

/* the summary's tally */
.tally { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tally > * { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 10px 12px;   /* as the folds and job cards under it */
  border: 1.5px solid transparent; font: inherit; color: inherit; text-align: left; text-decoration: none; min-width: 0; }
.tally > button, .tally > a { cursor: pointer; }      /* opens its fold below (check.js) */
.tally > button:hover, .tally > a:hover { border-color: var(--line); }
.tally b { display: block; font-family: var(--f-display); font-size: 1.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tally span { font-size: var(--s-xs); color: var(--muted); }
.tally .g b { color: var(--good); } .tally .s b { color: var(--soon); }

/* jobs */
.group-label { font-family: var(--f-display); font-weight: 600; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 4px 0 0; }
.group-label small, .sheet-label small { font-family: var(--f-body); color: var(--muted); font-size: var(--s-xs); font-weight: 400; }
.job { background: var(--surface); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--shadow); display: grid; gap: 8px; min-width: 0;
  border: 1.5px solid transparent; cursor: pointer; transition: box-shadow .15s ease, border-color .15s ease; }
/* tapping a job opens what you can do with it: it lifts to say it's tappable */
.job { position: relative; }
/* the hover every tappable card shares (a job, a fold): a faint green edge, a touch more shadow */
.job:hover, .job:focus-within, .job.open, details.fold:hover, details.fold:focus-within {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
  box-shadow: 0 1px 2px rgba(24,40,42,.07), 0 10px 24px rgba(24,40,42,.09); }
.job-ask { all: unset; cursor: pointer; font: inherit; color: inherit; }
.job-ask:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
/* one open/close sign everywhere: the arrow, turned up when open (a job, a fold) */
.chev { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2.2; stroke-linecap: round;
  stroke-linejoin: round; transition: transform .2s ease; }
.job-chev { position: absolute; top: 16px; right: 16px; }
.job.open .job-chev { transform: rotate(180deg); }
/* the options slide open beneath (grid rows 0fr to 1fr: smooth, whatever the height) */
.job-opts { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .22s ease; }
.job.open .job-opts { grid-template-rows: 1fr; }
.job-opts-in { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s .22s; }
.job.open .job-opts-in { visibility: visible; transition: visibility 0s; }
.job-why { display: grid; gap: 10px; padding-top: 4px; }
.job-why p { margin: 0; font-size: var(--s-sm); line-height: 1.6; }
/* the next step, always in sight: a link, bottom left */
.job-foot { display: flex; justify-content: flex-start; margin-top: -4px; }
.job-next { border: 0; background: none; padding: 6px 0; font: inherit; font-weight: 700; font-size: var(--s-sm);
  color: var(--brand); cursor: pointer; }
/* To-do's "Ask Goldie" (founder 2026-11-15: not the pill, the arrow still): on hover the words deepen and glow
   softly in their own green; a chat's #tag the same */
.job-next { transition: color .15s, text-shadow .15s; }
a.job-next::after { content: "→"; display: inline-block; margin-left: 6px; }
a.job-next:hover, a.job-next:focus-visible { color: color-mix(in srgb, var(--brand) 70%, var(--ink));
  text-shadow: 0 0 10px color-mix(in srgb, var(--brand) 45%, transparent); }        /* a soft glow of its own green */
a.job-next { text-decoration: none; display: inline-block; }     /* a link (To-do's Ask Goldie): green and bold, never underlined */
.job h3 { font-size: 1.125rem; font-weight: 600; }
.prio { justify-self: start; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; }
.p-week { background: var(--soon-soft); color: var(--soon); }
.p-soon { background: var(--later-soft); color: var(--later); }
.p-extra { background: var(--extra-soft); color: var(--extra); }
.meta { margin: 0; font-size: var(--s-sm); color: var(--muted); line-height: 1.5; }
.meta b { color: var(--ink); font-weight: 700; }
.self-flag { color: inherit; font-weight: inherit; }   /* "You can do this one yourself": plain, like the rest */
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.actions.end { justify-content: flex-end; }      /* an Upgrade: on the right, like Settings' buttons */
.act { border: 1.5px solid var(--line); background: transparent; border-radius: 99px; padding: 6px 12px; font-size: var(--s-sm); font-weight: 700;
  color: inherit; text-decoration: none; display: inline-block; }
.act { cursor: pointer; transition: background-color .15s, border-color .15s; }
.act:hover { border-color: var(--brand); background: var(--brand-soft); }
.act:disabled { opacity: .5; cursor: progress; }
/* the first answer is the same plain button as the rest (no green); the class stays to say which one it is */
.act.primary { background: transparent; color: inherit; border-color: var(--line); }
.act.primary:hover { border-color: var(--brand); background: var(--brand-soft); }
/* a message's answers in one row: the main one, then the way back (_verify_chat.html) */
.act-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

details.fold { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); border: 1.5px solid transparent;
  transition: box-shadow .15s ease, border-color .15s ease; }
details.fold summary { cursor: pointer; padding: 12px 16px; font-weight: 700; list-style: none; display: flex; align-items: center; gap: 10px; }
details.fold summary::-webkit-details-marker { display: none; }
details.fold summary .chev { margin-left: auto; }
details.fold[open] summary .chev { transform: rotate(180deg); }
.fold-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--muted); }
.fold-dot.good { background: var(--good); }
.fold-dot.fix { background: var(--soon); }      /* things to fix: every job, folded (_check_results) */
.fold ul { margin: 0; padding: 0 16px 14px 42px; display: grid; gap: 6px; font-size: var(--s-sm); }
.fold li small { color: var(--muted); white-space: nowrap; }   /* a job's when: This week, Soon, ... */

/* the rat's view, beside a job */
.rat-aside { display: grid; grid-template-columns: 30px 1fr; gap: 8px; align-items: center; padding: 8px 10px;
  border-radius: 12px; background: var(--surface-2); font-size: var(--s-sm); }
.rat-aside svg { width: 30px; height: 30px; }
.rat-aside b { display: block; font-size: var(--s-xs); color: var(--muted); }
.r-fur { fill: var(--rat); }
.r-light { fill: var(--rat-light); }
.r-ear-in, .r-nose { fill: var(--rat-ear); }
.r-tooth { fill: #fff; stroke: var(--dog-ink); stroke-width: .8; }
.r-whisk { fill: none; stroke: var(--dog-ink); stroke-width: 1.2; stroke-linecap: round; opacity: .55; }
.r-skirt { fill: var(--skirt); }
.r-line { fill: none; stroke: var(--skirt-line); stroke-width: 1.5; }
.r-hole { fill: var(--hole); }
.glint { fill: #fff; }

/* the rat: lives in a strip just above the composer (check.js sets its bottom)
   and stays while there are gaps, sitting on the bar's top edge. Peeking: ears
   and eyes over the edge. Poked: it hops, ducks behind the bar and pops up on
   the other side. */
/* at the very bottom of the screen, by the footer note: it ducks and peeks below the screen's edge */
.rat-zone { position: fixed; left: 0; right: 0; bottom: 0; height: 480px; overflow: hidden; pointer-events: none; z-index: 6; }
.rat { position: absolute; bottom: env(safe-area-inset-bottom, 0px); display: flex; flex-direction: column-reverse; gap: 0;
  transform: translateY(115%); transition: transform .45s cubic-bezier(.2, .9, .3, 1.25); }
.rat.right { right: max(6px, env(safe-area-inset-right, 0px)); align-items: flex-end; }
.rat.left { left: max(6px, env(safe-area-inset-left, 0px)); align-items: flex-start; }
/* while the rat is around, the chat leaves room at the bottom for it and its cloud */
.chat-page .composer-note { padding-inline: 78px; }   /* room for the rat in the corners, from the start, so the text never jumps */
@media (max-width: 520px) { .chat-page .composer-note { padding-inline: 52px; } }   /* phones: the rat's body is ~40px of its drawing; the note gets the rest */
.rat.in { transform: none; }
.rat.peek { transform: translateY(10px); }   /* px, not %: the hidden bubble makes .rat tall; ears and eyes stay up */
.rat.duck { animation: rat-duck .42s ease-in forwards; }
@keyframes rat-duck { 0% { transform: none; } 30% { transform: translateY(-18px) rotate(-8deg); } 100% { transform: translateY(115%); } }
.rat-btn { pointer-events: auto; border: 0; background: none; padding: 0; flex: none; cursor: pointer; }
.rat-btn svg { width: 70px; height: auto; display: block; }
.rat.left .rat-btn svg { transform: scaleX(-1); }   /* facing the chat from either side */
.rat-btn { transition: transform .15s; }
.rat-btn:hover, .rat-btn:focus-visible { transform: translateY(-3px); }
.rat.peek .rat-btn:hover { transform: translateY(-6px); }
/* its thought cloud: a blobby cloud over its head, two little bubbles trailing down to it */
/* the cloud grows up out of the rat's head, right above it */
.rat-say { pointer-events: auto; position: absolute; bottom: calc(100% + 6px); width: max-content;
  background: var(--surface); color: var(--ink);
  border-radius: 46% 52% 48% 54% / 58% 54% 62% 56%; padding: 14px 20px 12px; margin-bottom: 0;
  font-size: var(--s-sm); line-height: 1.4; text-align: center; box-shadow: var(--shadow);
  max-width: min(230px, calc(100vw - 110px)); margin: 0; transition: opacity .2s; }
.rat-say::before, .rat-say::after { content: ""; position: absolute; background: var(--surface); border-radius: 50%;
  box-shadow: var(--shadow); }
.rat.right .rat-say { right: 0; transform-origin: 85% 100%; }
.rat.left .rat-say { left: 0; transform-origin: 15% 100%; }
/* the thinking bubbles trail down to its head */
.rat-say::before { width: 13px; height: 11px; bottom: -14px; right: 30px; }
.rat-say::after { width: 8px; height: 7px; bottom: -24px; right: 24px; }
.rat.left .rat-say::before { right: auto; left: 30px; }
.rat.left .rat-say::after { right: auto; left: 24px; }
.rat.in .rat-say { animation: cloud-pop .35s cubic-bezier(.2, .9, .3, 1.3) both; }
@keyframes cloud-pop { from { opacity: 0; transform: translateY(14px) scale(.4); } to { opacity: 1; transform: none; } }
.rat.peek .rat-say, .rat.duck .rat-say { opacity: 0; visibility: hidden; }


/* the composer: chips and the paw stay one tap away wherever the chat has scrolled */
.composer { position: sticky; bottom: 0; z-index: 4; background: linear-gradient(to bottom, transparent, var(--bg) 22%);
  padding-top: 14px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
.dock { display: flex; gap: 8px; align-items: center; padding-bottom: 8px; min-width: 0; }
.dock:not(:has(> :not([hidden]))) { display: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; flex: 1; min-width: 0; scrollbar-width: none; }
/* room for a chip's lift (and its shadow): a row that scrolls or hides its overflow would cut its top flat;
   the margin takes the room back, so nothing moves */
.chips { padding-block: 4px; margin-block: -4px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1.5px solid var(--line); background: var(--surface); border-radius: 99px; padding: 7px 13px; font-size: var(--s-sm); }
.chip:hover { border-color: var(--brand); }
/* a new set of chips (check.js setSuggestions): up and in, one after another, like a phone's suggestions */
.chip-in { animation: chip-in .28s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(min(var(--i, 0), 6) * 45ms); }
@keyframes chip-in { from { opacity: 0; transform: translateY(8px) scale(.96); } }
@media (prefers-reduced-motion: reduce) { .chip-in { animation: none; } }
/* her messages' buttons live here (check.js setSuggestions: her question's answers, then the rest), not in the
   message; the step she'd pick first stands out. Copy buttons stay by what they copy */
.chat .choices, .chat .bubble .actions { display: none; }
.chat .bubble .actions:has([data-act="copy"], [data-act="copytext"]) { display: flex; }
/* an earlier question nobody answered keeps its answers under its own message (check.js leaveOpen) */
.chat .choices.left-open, .chat .bubble .actions.left-open { display: flex; margin-top: 10px; animation: stick-down .35s cubic-bezier(.2, .8, .2, 1) backwards; }
@keyframes stick-down { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { .chat .left-open { animation: none !important; } }
.chip.pick-primary, .sugg.pick-primary { border-color: var(--brand); color: var(--brand); font-weight: 700; }
/* hover: every chip lifts a touch and tints; the primary one (its border's already green) fills soft green, deeper
   when pressed, so it answers the pointer as clearly as the rest */
.chip, .sugg { transition: background-color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.chip:hover, .chip:focus-visible { background: color-mix(in srgb, var(--brand) 6%, var(--surface)); transform: translateY(-1px); }
.chip.pick-primary:hover, .chip.pick-primary:focus-visible, .sugg.pick-primary:hover, .sugg.pick-primary:focus-visible {
  background: color-mix(in srgb, var(--brand) 14%, var(--surface)); box-shadow: 0 2px 8px color-mix(in srgb, var(--brand) 22%, transparent); }
.chip:active, .sugg:active { transform: translateY(0); }
.chip.pick-primary:active, .sugg.pick-primary:active { background: color-mix(in srgb, var(--brand) 22%, var(--surface)); }
@media (prefers-reduced-motion: reduce) { .chip, .sugg { transition: none; } .chip:hover { transform: none; } }
/* inside the chat box, on its left, centred on the box's line: the paw in its gold circle, the count on top */
.jobs-btn { flex: none; align-self: center; position: relative; display: grid; place-items: center; width: 34px; height: 34px;
  margin-left: 2px; border: 0; border-radius: 50%; background: var(--coat); padding: 0; }
.jobs-btn .ic { width: 19px; height: 19px; fill: var(--dog-ink); }
.jobs-btn .count { position: absolute; top: -5px; right: -7px; min-width: 16px; line-height: 16px; font-size: .62rem; padding: 0 4px; }
.jobs-btn:not([hidden]) ~ :is(input, textarea) { padding-left: 6px; }   /* the text starts near the paw, not a gap away */
.ask-wide { max-width: none; flex-wrap: nowrap; align-items: flex-end; border-radius: 26px; position: relative;
  --in: calc(6px + (1.55em + 20px - 34px) / 2); }   /* the paw's and send's way in from the edges: centred on line one */
/* the chat box: one line, growing with what's typed up to about six, then it scrolls (check.js fit). It runs
   to the box's right edge, with Ask floating over its end (room kept for it), so its thin scroll bar sits at
   the edge of the box, past the button, never between the words and Ask */
.ask-wide textarea { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 52px 10px 14px; outline: none;
  margin-right: -6px; resize: none; font: inherit; color: inherit; max-height: calc(1.55em * 6 + 20px);
  overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.ask-wide textarea::-webkit-scrollbar { width: 6px; }
.ask-wide textarea::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }
.ask-wide textarea::-webkit-scrollbar-track { margin-block: 16px; }   /* clear of the round corners */
/* Ask where it always was (the box's padding from its edge), staying at the bottom as the box grows */
/* send: the up arrow in a round button the paw's size (34px), centred on the first line like the paw, the same way in
   from the box's edge, and staying at the bottom as the box grows */
.ask-wide > .btn[type=submit] { position: absolute; right: var(--in); bottom: var(--in); }
.send-btn { display: grid; place-items: center; padding: 0; width: 34px; height: 34px; border-radius: 50%; }
.send-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round;
  stroke-linejoin: round; }
.ask-wide textarea::placeholder { color: var(--muted); opacity: .8; }
/* the paw: placed like send, on the other side (bottom left, the same way in), the words starting just past it */
.ask-wide .jobs-btn { position: absolute; left: var(--in); bottom: var(--in); margin: 0; }
.ask-wide .jobs-btn:not([hidden]) ~ textarea { padding-left: calc(var(--in) + 34px + 2px); }
@media (max-width: 420px) { .ask-wide .btn { flex-basis: auto; } }   /* the home box's full-width button, not here */
.ask-wide :is(input, textarea):disabled { cursor: progress; }
.btn:disabled { opacity: .5; cursor: progress; filter: none; }
.bubble .ai-note { font-size: .72rem; color: var(--muted); }   /* an answer she wrote herself (ai.py): it says so */
.composer-note { margin: 6px 0 0; text-align: center; font-size: .75rem; color: var(--muted); }
/* a new chat, nothing said yet (home_chat.html, chat-fresh): one sentence with the box under it and the
   suggestions under that, in the middle of the page, like ChatGPT's and Claude's. On a phone the sentence is
   in the middle and the box stays at the bottom, by the thumb */
.chat-hero { text-align: center; padding: 0 8px; }
.chat-hero h1 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
.chat-fresh .chat > .chat-hero { margin-block: auto; }
@media (min-width: 901px) {
  .chat-fresh .chat { flex: 0 0 auto; margin-top: auto; padding-bottom: 22px; }
  .chat-fresh .chat > .chat-hero { margin-block: 0; }
  .chat-fresh .composer { position: static; margin-bottom: auto; background: none; padding-bottom: 12vh; }
  .chat-fresh .composer .wrap { display: flex; flex-direction: column; }
  /* the suggestions under the box here, all of them, wrapping onto more rows (no "+N more") */
  .chat-fresh .dock { order: 2; padding: 12px 0 0; }
  .chat-fresh .chips { flex-wrap: wrap; justify-content: center; overflow: visible; }
  /* the AI line: at the foot of the page, not under the centred box, centred on the chat (not the window) */
  .chat-fresh .composer-note { position: fixed; left: var(--side-w); right: 0; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .chat-fresh:has(.side.collapsed) .composer-note { left: var(--side-rail); }
}

/* the sheet: the to-do, and the sign-up that says why */
/* the sheet (the to-do, a developer note, why it needs an account). Phone: from the bottom,
   a short glide. Wide screen: a pop-up centred over the chat (not the window: the sidebar's
   beside it), fading in; nothing slides, so nothing jumps. */
.sheet { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 640px; max-height: 88vh; background: transparent;
  color: var(--ink); overflow: visible; }
.sheet::backdrop { background: rgba(10,20,18,.45); animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.panel { background: var(--surface); border-radius: 22px 22px 0 0; display: grid; gap: 12px; overflow: auto; max-height: 88vh;
  padding: 20px max(16px, env(safe-area-inset-left, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-right, 0px));
  animation: up .24s cubic-bezier(.2, .8, .2, 1); outline: none; }
@keyframes up { from { transform: translateY(24px); opacity: 0; } }
@media (min-width: 901px) {
  .sheet { margin: auto; max-width: 560px; max-height: min(82vh, 720px); }
  body.with-side .sheet { translate: calc(var(--side-w) / 2) 0; }
  body.with-side:has(.side.collapsed) .sheet { translate: calc(var(--side-rail) / 2) 0; }
  .panel { border-radius: 22px; max-height: min(82vh, 720px); padding: 24px; box-shadow: 0 24px 60px rgba(10,20,18,.25);
    animation: pop .18s cubic-bezier(.2, .8, .2, 1); }
}
@keyframes pop { from { transform: scale(.97); opacity: 0; } }
.panel h3 { font-size: var(--s-lg); }
.panel p { margin: 0; color: var(--muted); font-size: var(--s-sm); }
.panel .gate-why { color: var(--ink); font-weight: 700; }
.gate-list { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; font-size: var(--s-sm); }
.panel .row { display: flex; gap: 8px; flex-wrap: wrap; }
.sheet-label { font-family: var(--f-display); font-weight: 600; color: var(--ink) !important; margin-top: 4px !important; }
.trows { display: grid; gap: 8px; }
.trow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center;   /* no tick (2026-11-14) */
  background: var(--surface-2); border-radius: 14px; padding: 10px 12px; }
.trow b { display: block; font-size: var(--s-sm); line-height: 1.3; }
.trow small { display: block; color: var(--muted); font-size: var(--s-xs); }
.tick { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); padding: 0;
  display: inline-grid; place-items: center; color: var(--good); transition: border-color .15s, background .15s; }
/* the tick inside, like To-do's circle (.td-tick): faint on hover, white once done */
.tick svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round;
  stroke-linejoin: round; opacity: 0; transition: opacity .15s; }
.tick:hover, .tick:focus-visible { border-color: var(--good); }
.tick:hover svg, .tick:focus-visible svg { opacity: .6; }

@media (max-width: 460px) { .tally b { font-size: 1.35rem; } }

/* ======================================================================
   Account pages (account_base.html): log in, sign up, codes, passwords,
   invites. Clereo's form markup, in WatchPal's look.
   ====================================================================== */
.account { --ink-2: var(--muted); --ink-3: var(--muted); }   /* names the pages' inline styles use */
.account a { color: var(--brand); font-weight: 700; text-decoration: none; }   /* never underlined */
.account a:hover { filter: brightness(.85); }
/* a link drawn as a button keeps the button's colours (the rule above is for words): "Add a website on Pro",
   "Upgrade"; never green on green */
.account a.btn { color: var(--brand-ink); }
.account a.btn:hover { filter: brightness(1.06); }
.account a.btn-ghost { color: var(--ink); }
.account a.btn-ghost:hover { filter: none; }
/* the buttons to a plan (Choose a plan, pricing's Pro and Business, Watching's Upgrade): the top-right button's hover,
   the same colours with a shadow all round and a little lift (founder 2026-11-14: brightening barely showed) */
.btn-plan { transition: background .18s, color .18s, box-shadow .18s, transform .18s; }
.btn-plan:hover, .btn-plan:focus-visible, .account a.btn-plan:hover, .account a.btn-plan:focus-visible {
  filter: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent), 0 8px 22px rgba(24,40,42,.22);
  transform: translateY(-1px); }
.btn-plan:active { transform: none; }
@media (prefers-reduced-motion: reduce) { .btn-plan { transition: none; } .btn-plan:hover, .btn-plan:focus-visible { transform: none; } }
.account .brand { color: var(--ink); }   /* the logo link keeps the ink colour */
.account .top-acts > a, .account .top-acts .linkbtn {
  display: inline-block; border: 0; border-radius: 99px; padding: 7px 14px; font-size: var(--s-sm); font-weight: 700;
  background: var(--surface-2); color: var(--ink); cursor: pointer; }
.account .top-acts form { margin: 0; }
.account-main { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-block: 28px 48px; }
.account .card { width: 100%; max-width: 420px; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow);
  padding: 28px 24px; }
.account .card.wide { max-width: 640px; }
.account .card h1 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 6px; }
.account .sub { color: var(--muted); font-size: var(--s-sm); margin: 0 0 18px; }
.account label { display: block; font-size: var(--s-sm); font-weight: 700; margin: 14px 0 6px; }
.account input:not([type=hidden]) { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px;
  background: var(--surface); color: var(--ink); outline: none; }
.account input:focus { border-color: var(--brand); }
.account input:disabled { background: var(--surface-2); }
.account .card .btn { display: block; width: 100%; margin-top: 18px; padding: 13px; text-align: center; font-size: var(--s-md);
  color: var(--brand-ink); }
/* the quieter ones keep the text's colour (white was right only on the filled ones): "Switch to Pro", "Keep Pro",
   and "Your current plan" quieter still */
.account .card .btn-ghost { color: var(--ink); }
.account .card .btn-ghost[aria-disabled="true"] { color: var(--muted); }
.account .banner { border-radius: 12px; padding: 11px 14px; font-size: var(--s-sm); font-weight: 700; margin-bottom: 14px; }
.account .banner.err { background: var(--soon-soft); color: var(--soon); }
.account .banner.ok { background: var(--good-soft); color: var(--good); }
.account .foot-link { text-align: center; font-size: var(--s-sm); color: var(--muted); margin-top: 16px; }
.account .oauth-divider { display: flex; align-items: center; gap: 10px; margin: 20px 0; }
.account .oauth-divider .line { flex: 1; height: 1px; background: var(--line); }
.account .oauth-divider span { font-size: var(--s-xs); color: var(--muted); }
.account .btn-oauth { display: flex; align-items: center; justify-content: center; gap: 10px; border: 1.5px solid var(--line);
  border-radius: 99px; padding: 11px 16px; color: var(--ink); background: var(--surface); }
.account .btn-oauth:hover { border-color: var(--brand); filter: none; }
.account .btn-oauth svg { width: 18px; height: 18px; flex: none; }
.account .linkbtn { font: inherit; }
/* the log-in pop-up (_auth.html): the sign-up sheet's look, the account pages' fields */
.auth-panel { gap: 0; }
.auth-panel h3 { margin: 0 44px 6px 0; }
.auth-panel .banner { margin: 14px 0 0; }
.auth-panel .btn { display: block; width: 100%; margin-top: 16px; padding: 13px; text-align: center; }
.auth-panel .auth-captcha { display: flex; justify-content: center; margin-top: 12px; }
.auth-panel .auth-captcha:empty { display: none; }
.auth-panel .auth-oauth { display: flex; flex-direction: column; gap: 10px; }
.auth-panel .linkbtn { background: none; border: 0; padding: 0; color: var(--brand); font-weight: 700; cursor: pointer; }

/* ---------- pricing (pricing.html): one plan, a month/year switch with no script ---------- */
.pricing h1 { text-align: center; }
.pricing > .sub { text-align: center; }
.pr-switch { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pr-switch > input { position: absolute; opacity: 0; pointer-events: none; }
.pr-switch > label { margin: 0; padding: 8px 16px; border-radius: 99px; background: var(--surface-2); cursor: pointer;
  font-size: var(--s-sm); }
.pr-switch > label small { font-weight: 700; color: var(--good); margin-left: 4px; }
.pr-switch > input:checked + label { background: var(--ink); color: var(--bg); }
.pr-switch > label { transition: background .15s, color .15s; }
.pr-switch > input:not(:checked) + label:hover { background: color-mix(in srgb, var(--ink) 12%, var(--surface-2)); color: var(--ink); }
.pr-switch > input:checked + label small { color: inherit; }
.pr-switch > input:focus-visible + label { outline: 3px solid var(--brand); outline-offset: 2px; }
#pr-month:checked ~ .pr-card .yearly, #pr-year:checked ~ .pr-card .monthly,
#pr-month:checked ~ .pr-cards .yearly, #pr-year:checked ~ .pr-cards .monthly { display: none; }
.pr-switch > .pr-cards { flex-basis: 100%; }
.pr-card { flex-basis: 100%; margin-top: 14px; border: 1.5px solid var(--line); border-radius: 20px; padding: 22px 20px; }
/* per website (plans.py): Pro and Business side by side, stacked on a phone */
.account .card.wide.pricing { max-width: 760px; }
.pr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 18px; }
.pr-cards .pr-card { margin-top: 0; display: flex; flex-direction: column; }
.pr-cards .pr-list { flex: 1; }
.pr-card.pr-top { border-color: var(--brand); }
.pr-card h2 { font-size: var(--s-lg); font-weight: 800; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
/* the plan we'd pick for most people: a small tag beside its name */
.pr-tag { font-family: var(--f-body, inherit); font-size: .7rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  padding: 2px 9px; border-radius: 99px; background: var(--brand); color: var(--brand-ink); }
.pr-price { margin: 6px 0 14px; color: var(--muted); }
.pr-price b { font-family: var(--f-display); font-size: 2.4rem; font-weight: 800; color: var(--ink); line-height: 1; }
.pr-price small { display: block; font-size: var(--s-xs); }
.pr-list { margin: 0; padding-left: 1.2em; display: grid; gap: 7px; font-size: var(--s-sm); }
.account .card .pr-btn { margin-top: 20px; }
.pr-cap { text-align: center; font-size: var(--s-xs); color: var(--muted); margin: 10px 0 0; }
.pr-notes { margin-top: 22px; }
.pr-notes h3 { font-size: var(--s-md); font-weight: 700; margin: 16px 0 4px; }
.pr-notes p { margin: 0; font-size: var(--s-sm); color: var(--muted); }
/* Terms, Privacy, WatchpalBot (pricing's look): a section's paragraphs apart, the date over the title */
.legal .pr-notes p + p { margin-top: 8px; }
.legal > .w-small { text-align: center; margin: 0 0 4px; }
.legal .mono { display: block; overflow-wrap: anywhere; }

/* ======================================================================
   An account's website (home_chat.html, home_watching.html): the tabs,
   the Watching cards, verifying in plain words, the developer note.
   ====================================================================== */
.top-acts form { margin: 0; }
.site-pill .dot.off { background: var(--later); }
.count { font-size: .75rem; min-width: 20px; padding: 0 6px; border-radius: 99px; background: var(--soon); color: #fff;
  line-height: 20px; text-align: center; }
.job.is-done h3, .trow:has(.is-done) b { text-decoration: line-through; color: var(--muted); }
.tick.is-done { background: var(--good); border-color: var(--good); color: #fff; }
.tick.is-done svg { opacity: 1; }
textarea.devnote { width: 100%; font-family: var(--f-mono); font-size: .8rem; line-height: 1.5; background: var(--surface-2);
  color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 12px; resize: vertical; }

.watch-page { display: grid; gap: 14px; padding-block: 20px 48px; grid-template-columns: minmax(0, 1fr); }
/* Watching's tabs (as To-do's) and what each shows: its cards, spaced as the page's */
.w-tabs { margin-top: 4px; }
.w-panel { display: grid; gap: 14px; min-width: 0; }
.w-panel[hidden] { display: none; }
.tab-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--soon); margin-left: 6px; vertical-align: middle; }
.w-card { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; display: grid; gap: 10px; }
.w-card h1 { font-size: var(--s-lg); font-weight: 800; }
.w-card h2 { font-size: var(--s-md); font-weight: 700; }
.w-card p { margin: 0; }
.w-hero { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.w-card.w-hero { grid-template-columns: auto 1fr; }
.w-pal { width: 84px; height: 84px; }
@media (max-width: 460px) { .w-hero, .w-card.w-hero { grid-template-columns: 1fr; justify-items: start; } .w-pal { width: 64px; height: 64px; } }
.w-small { font-size: var(--s-sm); color: var(--muted); }
.w-alert { background: var(--soon-soft); color: var(--soon); font-weight: 700; border-radius: 12px; padding: 10px 14px; }
.streak { justify-self: start; display: inline-flex; font-size: var(--s-xs); font-weight: 700; color: var(--good);
  background: var(--good-soft); padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.w-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }   /* the title, the day pill beside it */
.w-title h1 { min-width: 0; overflow-wrap: anywhere; }
/* the quiet streak (game.streak; Watching), like a language app's: a flame and the count, the week as circles,
   a ticked flame-orange circle for each quiet day. Cold (grey flame) at 0. */
.streak-card { gap: 12px; }
.streak-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.flame { width: 52px; height: 52px; flex: none; }
.flame .out { fill: var(--flame); } .flame .in { fill: var(--flame-core); }
.streak-card.cold .flame .out { fill: var(--line); } .streak-card.cold .flame .in { fill: var(--surface-2); }
.streak-count { display: grid; line-height: 1.05; }
.streak-count b { font-family: var(--f-display); font-size: 2.5rem; font-weight: 800; color: var(--flame-ink); }
.streak-card.cold .streak-count b { color: var(--muted); }
.streak-count span { font-weight: 700; }
.streak-best { margin-left: auto; font-size: var(--s-xs); font-weight: 700; color: var(--muted); background: var(--surface-2);
  padding: 3px 10px; border-radius: 99px; }
.streak-line { font-size: var(--s-sm); }
.streak-week { list-style: none; margin: 0; padding: 12px 8px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px; background: var(--surface-2); border-radius: 16px; }
.sw { display: grid; justify-items: center; gap: 6px; font-size: .72rem; font-weight: 700; color: var(--muted); }
.sw i { width: 32px; height: 32px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line);
  display: grid; place-items: center; }
.sw.quiet i { background: var(--flame); border-color: var(--flame); }
.sw.quiet i::after { content: ""; width: 11px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: translateY(-1px) rotate(-45deg); }
/* a day something got worse: the quiet day's circle in the to-fix orange, a white ✕ for its tick */
.sw.worse i { background: var(--soon); border-color: var(--soon); }
.sw.worse i::before, .sw.worse i::after { content: ""; grid-area: 1 / 1; width: 13px; height: 2.6px; border-radius: 2px;
  background: #fff; transform: rotate(45deg); }
.sw.worse i::after { transform: rotate(-45deg); }
/* checked, jobs still open (game.streak): not a quiet day, not worse either: a hollow orange ring */
.sw.open i { border-color: var(--soon); }
.sw.before i { border-style: dashed; opacity: .6; }
.sw.today i { border-color: var(--flame); border-style: dashed; }          /* today, before her look */
.sw.now span { color: var(--ink); }
/* stamps (game.stamps; _stamps.html): each its own medal (stamp_ic); dashed and greyed until earned, then in colour */
.stamp-set { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.stamp-item { border: 1.5px dashed var(--line); border-radius: 14px; padding: 12px 8px 10px; text-align: center;
  display: grid; justify-items: center; gap: 6px; font-size: var(--s-xs); font-weight: 700; color: var(--muted); }
.stamp-item.on { border-style: solid; color: var(--ink); background: var(--surface); }
.st-ic { width: 44px; height: 44px; display: block; }
.stamp-item:not(.on) .st-ic { filter: grayscale(1); opacity: .35; }
.st-ic .st-a { fill: var(--st-a); } .st-ic .st-b { fill: var(--st-b); }
.st-ic .pw { fill: #fff; }
.st-ic .ps { fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.st-ic .pn { fill: #fff; font: 800 7.6px var(--f-display); letter-spacing: -.02em; }
/* the medals' colours: fixed, so they read the same in light and dark */
.st-ic.t-gold { --st-a: #E39A00; --st-b: #F5B92A; }
.st-ic.t-green { --st-a: #1F7A4C; --st-b: #2E9662; }
.st-ic.t-blue { --st-a: #46528A; --st-b: #5F6CA6; }
.st-ic.t-orange { --st-a: #E07800; --st-b: #F29324; }
.st-ic.t-teal { --st-a: #1D5A4F; --st-b: #2C7A6B; }
.stamp-item.new { animation: stamp-in .5s cubic-bezier(.2, 1.4, .4, 1); }
/* an achievement's celebration (check.js celebrate): the page dimmed, confetti from the middle, the medal big there,
   then down into its place in the chat; a little bounce as it lands */
.cele { position: fixed; inset: 0; z-index: 60; pointer-events: none; background: rgba(10, 20, 18, .42);
  animation: cele-in .25s ease both; transition: opacity .25s ease; }
.cele.out { opacity: 0; }
@keyframes cele-in { from { opacity: 0; } }
.cele i { position: absolute; left: 50%; top: 50%; width: 9px; height: 14px; border-radius: 2px; background: var(--c);
  opacity: 0; animation: cele-bit 1.7s cubic-bezier(.15, .7, .35, 1) var(--delay) forwards; }
.cele i:nth-child(3n) { width: 8px; height: 8px; border-radius: 50%; }
@keyframes cele-bit {
  0% { opacity: 1; transform: translate(-50%, -50%) rotate(0); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y) + 120px)) rotate(var(--r)); } }
.cele-card { position: fixed; margin: 0; transform-origin: center; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.stamp-item.landed { animation: stamp-land .45s cubic-bezier(.2, 1.6, .4, 1); }
/* an earned medal plays again when tapped (celebrate.js) */
.stamp-item.on { cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; }
.stamp-item.on:hover, .stamp-item.on:focus-visible { transform: translateY(-2px); border-color: var(--coat);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--coat) 22%, transparent); }
@keyframes stamp-land { 0% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes stamp-in { from { transform: scale(.6) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .stamp-item.new { animation: none; } }
.stamp-news { margin: 0 0 10px; color: var(--good); font-size: var(--s-sm); }   /* Watching: earned since she last said */
.bubble .stamp-set { grid-template-columns: minmax(0, 1fr); max-width: 220px; margin-top: 10px; }   /* one stamp, said in the chat */
.bubble .stamp-set + * { margin-top: 10px; }        /* the same space under it as over it (founder 2026-11-14) */
.w-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.w-list li { display: grid; gap: 2px; font-size: var(--s-sm); }
.w-list span { color: var(--muted); }
.w-list small { color: var(--muted); font-size: var(--s-xs); }
/* What changed beyond the newest three: folded, "Show all N" opens the rest under them */
/* Watching's "Show all": an outline button across the card under the list, its arrow turning and its words changing
   as it opens; hover fills it lightly, like the other outline buttons (founder 2026-11-15) */
.w-more { margin-top: 12px; text-align: center; }
.w-more .w-list { text-align: left; margin-top: 10px; }
.w-more summary { display: flex; justify-content: center; align-items: center; gap: 6px;   /* the card's full width */ list-style: none; cursor: pointer;
  border: 1.5px solid color-mix(in srgb, var(--ink) 25%, var(--line)); border-radius: 99px; padding: 6px 14px;
  font-size: var(--s-sm); font-weight: 700; color: var(--ink); transition: background .15s, border-color .15s; }
.w-more summary::-webkit-details-marker { display: none; }
.w-more summary:hover, .w-more summary:focus-visible { background: color-mix(in srgb, var(--ink) 6%, transparent);
  border-color: color-mix(in srgb, var(--ink) 40%, var(--line)); }
.w-more summary .chev { width: 16px; height: 16px; transition: transform .2s; }
.w-more[open] summary .chev { transform: rotate(180deg); }
.w-more .wm-open, .w-more[open] .wm-closed { display: none; }
.w-more[open] .wm-open { display: inline; }
details.method { border: 1.5px solid var(--line); border-radius: 16px; padding: 4px 14px; }
details.method[open] { padding-bottom: 14px; }
details.method summary { cursor: pointer; list-style: none; padding: 10px 0; display: grid; gap: 2px; }
details.method summary::-webkit-details-marker { display: none; }
details.method summary small { color: var(--muted); font-size: var(--s-xs); }
details.method ol { margin: 0 0 10px; padding-left: 1.2em; display: grid; gap: 6px; font-size: var(--s-sm); }
details.method form { margin-top: 12px; }
.copy-row { display: flex; gap: 8px; align-items: center; margin-top: 6px; min-width: 0; }
.copy-row .mono { flex: 1; min-width: 0; }
/* a box to copy (_copy.html): its copy icon in the top right corner, room kept for it; hovered, "Copy" says
   what it does; tapped, a tick and "Copied!" for a moment (check.js, home.js, settings.js) */
.copy-box { position: relative; min-width: 0; }
.copy-row .copy-box { flex: 1; }
.copy-box > .mono { padding-right: 40px; min-height: 36px; }
.copy-box > textarea { padding-right: 44px; }
.copy-inline { display: inline-block; max-width: 100%; }
.copy-ic { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; display: grid; place-items: center;
  border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; padding: 0;
  transition: background-color .15s ease, color .15s ease; }
.copy-ic:hover, .copy-ic:focus-visible { background: color-mix(in srgb, var(--ink) 9%, transparent); color: var(--ink); }
.copy-ic svg { grid-area: 1 / 1; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
.copy-ic .ic-done { display: none; stroke-width: 2.6; }
.copy-ic.copied { color: var(--good); }
.copy-ic.copied .ic-copy { display: none; }
.copy-ic.copied .ic-done { display: block; }
.copy-ic::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); right: 0; white-space: nowrap;
  padding: 4px 8px; border-radius: 8px; background: var(--ink); color: var(--bg); font: 700 .7rem/1.2 var(--f-body);
  opacity: 0; pointer-events: none; transition: opacity .12s ease; }
.copy-ic:hover::after, .copy-ic:focus-visible::after, .copy-ic.copied::after { opacity: 1; }
.w-k { font-size: var(--s-xs); color: var(--muted); width: 44px; flex: none; }
/* answer buttons in a chat message (verifying through the chat) */
.bubble .copy-row .mono { font-size: .72rem; }
.bubble ol { margin: 0; padding-inline-start: 1.2em; }
/* Watching's "Check everything now": a strip along the hero card's foot, the line on the left, a small button on the right */
.w-check { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 12px; border-top: 1px solid var(--line); padding-top: 12px; font-size: var(--s-sm); }
.w-check p { flex: 1 1 220px; }
.w-check form { margin: 0; }
.w-check .act { white-space: nowrap; }
.w-sniff { margin: 12px 0 0; font-size: var(--s-sm); }
/* "Add it for me" (_how.html one_click) */
.one-click { display: grid; gap: 6px; justify-items: start; margin: 4px 0 6px; }
.one-click .how-hint { margin: 0; }
/* Show me how (_how.html): one thing per step, each box to fill on its own line */
ol.how-steps { margin: 0; padding-left: 1.4em; display: grid; gap: 10px; }
ol.how-steps li { padding-left: 2px; }
.how-fields { display: grid; gap: 6px; margin-top: 8px; }
.how-fields .copy-row { margin-top: 0; }
.how-fields .w-k { width: 76px; }
.how-fields .mono { white-space: pre-wrap; overflow-wrap: anywhere; }   /* a code box: its lines kept */
.how-hint { margin: -2px 0 0 84px; font-size: var(--s-xs); color: var(--muted); }
@media (max-width: 560px) { .how-fields .w-k { width: 62px; } .how-hint { margin-left: 70px; } }
/* one of several ways to do a step (guides.fixed_steps): its name and what it is, then its code */
.how-way { margin: 6px 0 -2px; }
.how-way:first-child { margin-top: 0; }
.how-note { margin: 8px 0 0; font-size: var(--s-sm); color: var(--muted); }
/* one way's heading over its own steps (two ways, both fitting) */
.how-section { margin: 12px 0 6px; }
.how-section:first-child { margin-top: 0; }
/* the note handed over in a walk's message (_check_results.html walk_node): its lines kept, scrolls when long */
.walk-note { margin-top: 8px; }
.walk-note > .mono { display: block; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 18em; overflow: auto;
  font-size: .72rem; }

/* ---------- the suggestions: a row above the chat box (.chips in the dock), as many
   as fit; "+N more" pops the rest up in a stack, like a macOS Dock stack ---------- */
.dock { position: relative; }
/* as wide as the chips that fit, so "+N more" sits right after the last one, never over it */
.dock > .chips { overflow: hidden; flex: 0 1 auto; }
.more-btn { background: var(--surface-2); font-weight: 700; }
.more-btn[aria-expanded="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
/* next to each other in rows, wrapping upwards: the first row nearest the row it came from */
.sugg-stack { position: absolute; left: 0; right: 0; bottom: calc(100% + 2px); z-index: 7; display: flex; flex-direction: row;
  flex-wrap: wrap-reverse; align-items: flex-end; gap: 8px; max-height: min(50vh, 320px); overflow-y: auto;
  padding: 12px; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow);
  background: color-mix(in srgb, var(--bg) 95%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.sugg { border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 99px;
  padding: 8px 14px; font-size: var(--s-sm); font-weight: 700; text-align: left; cursor: pointer;
  flex: none; max-width: 100%; }
.sugg:hover, .sugg:focus-visible { border-color: var(--brand); }
.sugg-stack .sugg { transform-origin: bottom left; }
.sugg-stack.in .sugg { animation: sugg-pop .3s cubic-bezier(.2, .9, .3, 1.35) both; animation-delay: calc(var(--i, 0) * 35ms); }
@media (max-width: 520px) { .sugg-stack { padding: 10px; gap: 6px; } .sugg { font-size: .84rem; padding: 7px 11px; } }
/* grows in place: a pill sliding up from below would poke out of the stack and flash a scrollbar */
@keyframes sugg-pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
/* an answer picked in Goldie's message: it stays bright, the others step back */
.choices.answered .act:not(.picked) { opacity: .55; }
.choices .act.picked { border-color: var(--brand); }

/* ---------- Settings (settings.html): the website cards' look, one section at a time ---------- */
.st-main { display: grid; gap: 16px; padding-block: 20px 56px; max-width: 980px; width: 100%; }   /* the same width on every section */
/* the sections listed down the left, the open one beside them; across the top on a phone */
.st-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; align-items: start; }
.st-body { display: grid; gap: 16px; min-width: 0; }
.st-row.stack { display: grid; justify-items: start; gap: 10px; }   /* a setting, its choice under it */
.st-h1 { font-size: 1.8rem; font-weight: 800; letter-spacing: -.01em; margin: 0; }
.st-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 20px; }
.st-nav::-webkit-scrollbar { display: none; }
.st-nav a { flex: none; padding: 9px 12px; border-radius: 10px; font-weight: 700; font-size: var(--s-sm); color: var(--muted); text-decoration: none; }
.st-nav a[aria-current="page"] { background: color-mix(in srgb, var(--ink) 9%, transparent); color: var(--ink); }   /* as the sidebar's open page */
@media (max-width: 760px) {
  .st-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .st-nav { flex-direction: row; gap: 4px; position: static; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 2px 4px; }
  .st-nav a { padding: 7px 14px; border-radius: 99px; }
}
/* Profile's logo: what the public profile shows at its top, Goldie until there's one */
/* About (_settings_about.html): each release folded, the newest open */
.about-version { margin: 0; }
.about-change { border-top: 1px solid var(--line); }
.about-change summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 10px; padding: 12px 8px;
  margin: 0 -8px; border-radius: 10px; transition: background .15s; }
.about-change summary:hover, .about-change summary:focus-visible { background: color-mix(in srgb, var(--ink) 5%, transparent); }
.about-change summary::-webkit-details-marker { display: none; }
.about-change summary .chev { margin-left: auto; align-self: center; transition: transform .15s; }
.about-change[open] summary .chev { transform: rotate(180deg); }
.about-change ul { margin: 0; padding: 0 0 14px 20px; display: grid; gap: 6px; font-size: var(--s-sm); }
.about-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: var(--s-sm); }
/* a shared chat's and the blog's header (founder 2026-11-17): on a phone, the bar with its divider line; on a desktop,
   only the logo and the buttons, not a bar that follows the page, so the text never scrolls behind it */
.plain-top .top { border-bottom: 1px solid var(--line); }
@media (min-width: 720px) {
  .plain-top .top { position: static; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; }
}
/* the blog (blog_post.html, blog_index.html): Help's card, set for reading */
.blog-post h2 { font-size: var(--s-lg); font-weight: 800; margin: 26px 0 8px; }
.blog-post p, .blog-post li { line-height: 1.7; }
.blog-post ul { padding-left: 22px; display: grid; gap: 6px; }
.blog-meta { margin: -4px 0 18px; font-size: var(--s-sm); color: var(--muted); }
.blog-lead { font-size: var(--s-md); }
.blog-sign { margin-top: 22px; font-weight: 700; }
.blog-cta { margin-top: 28px; padding: 22px; border-radius: var(--r); background: var(--surface-2); text-align: center; }
.blog-cta h2 { margin: 0 0 6px; }
.blog-cta p { margin: 0 0 14px; color: var(--muted); }
.blog-item { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.blog-item span { color: var(--muted); font-size: var(--s-sm); }
.blog-item:hover b { color: var(--brand); }
.about-socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.about-socials a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 11px; border-radius: 99px;
  border: 1.5px solid var(--line); color: var(--ink); font-weight: 700; font-size: var(--s-sm); text-decoration: none; }
.about-socials a:hover, .about-socials a:focus-visible { border-color: var(--brand); }
.about-socials .ic { width: 18px; height: 18px; fill: currentColor; flex: none; }
.about-socials .ic .ln { fill: none; stroke: currentColor; stroke-width: 2; }
.about-socials .ic .hole { fill: var(--surface); }
.settings-page .w-card h2 { font-size: var(--s-lg); font-weight: 800; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.settings-page .w-card h3 { font-size: var(--s-md); font-weight: 800; margin: 8px 0 0; }
.settings-page .w-card form { margin: 0; }
.st-flash { margin: 0; border-radius: 12px; padding: 11px 14px; font-size: var(--s-sm); font-weight: 700; }
.st-flash.err { background: var(--soon-soft); color: var(--soon); }
.st-flash.ok { background: var(--good-soft); color: var(--good); }
.st-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
/* a setting (settings.html row): what it is and a line on it on the left, its control on the right, a thin line
   between them; on a narrow screen the control drops under the words */
.set-card { gap: 4px; }
.set-card > h2 + .set-desc, .set-card > h2 + form, .set-card > h2 + .set-row { margin-top: 2px; }
.set-desc { color: var(--muted); font-size: var(--s-sm); margin: 0 0 6px !important; }
.set-row { display: flex; align-items: center; gap: 12px 16px; padding: 13px 0; border-top: 1px solid var(--line); }
.set-card > .set-row:first-of-type, .set-card > h2 + .set-desc + .set-row { border-top: 0; }
.set-text { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.set-text small { color: var(--muted); font-size: var(--s-xs); line-height: 1.45; }
.set-ctl { flex: none; display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; max-width: 60%; }
.set-ctl form { margin: 0; }
.set-ctl .st-field { width: auto; min-width: 180px; }
.set-val { font-size: var(--s-sm); color: var(--muted); text-align: right; overflow-wrap: anywhere; }
.set-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 600px) {
  .set-row { flex-wrap: wrap; }
  .set-ctl { max-width: none; width: 100%; justify-content: flex-start; }
  .set-ctl .st-field { flex: 1; min-width: 0; }
}
/* on or off (settings.html toggle): a switch, saved as it's flipped */
.switch { position: relative; display: inline-block; width: 42px; height: 24px; flex: none; cursor: pointer; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: inherit; }
.switch .knob { position: absolute; inset: 0; border-radius: 99px; background: var(--line); transition: background .18s ease; }
.switch .knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .18s ease; }
.switch input:checked + .knob { background: var(--brand); }
.switch input:checked + .knob::after { transform: translateX(18px); }
.switch input:focus-visible + .knob { outline: 2px solid var(--brand); outline-offset: 2px; }
.switch .knob { transition: background .18s ease, box-shadow .15s ease; }
.switch:hover input:not(:disabled) + .knob { box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); }
.switch input:disabled + .knob { opacity: .45; }
.switch:has(input:disabled) { cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { .switch .knob, .switch .knob::after { transition: none; } }
/* an integration: its logo, what it does or where it posts, and Connect (or Connected) on the right; its own
   settings tucked under it */
.int-logo { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px;
  background: var(--surface-2); }
.int-logo svg { width: 20px; height: 20px; }
.int-more { margin-left: 52px; }
.int-more .set-row:first-child { border-top: 1px solid var(--line); }
@media (max-width: 600px) { .int-more { margin-left: 0; } }
/* a card's title with its button on the right (Your team: Invite people, opening its pop-up) */
.set-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.set-head > h2 { margin: 0; }
/* a few choices as icons side by side, one lit (Appearance: system, light, dark); radios underneath */
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 99px; background: var(--surface-2); }
.seg-opt { position: relative; display: grid; place-items: center; width: 38px; height: 32px; border-radius: 99px;
  color: var(--muted); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.seg-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: inherit; }
.seg-opt svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.seg-opt:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.seg-opt:has(input:checked) { background: var(--surface); color: var(--brand); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 1px; }
/* two-step's pop-ups: the setup, tight: the lead line, ① the QR code centred (or, folded under it, the key with
   Copy), ② the code, wide and centred; the recovery codes */
.tf-dialog { width: min(400px, calc(100vw - 32px)); gap: 12px; }
.tf-lead { color: var(--muted); font-size: var(--s-sm); margin-top: -4px !important; }
.tf-step { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: var(--s-sm); margin-top: 4px !important; }
.tf-n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: var(--brand); color: var(--brand-ink); font-size: .72rem; font-weight: 800; }
.tf-qr { justify-self: center; width: 172px; padding: 10px; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.tf-qr svg { width: 100%; height: auto; display: block; }
.tf-alt { justify-self: center; text-align: center; font-size: var(--s-xs); }
.tf-alt > summary { cursor: pointer; color: var(--brand); font-weight: 700; list-style: none; }
.tf-alt > summary::-webkit-details-marker { display: none; }
.tf-alt[open] > summary { margin-bottom: 8px; }
.tf-key { display: flex; align-items: center; gap: 8px; text-align: left; }
.tf-key .mono { flex: 1; min-width: 0; font-size: .74rem; letter-spacing: .04em; }
.tf-code { text-align: center; font-size: 1.25rem; letter-spacing: .3em; font-variant-numeric: tabular-nums; }
.tf-code::placeholder { letter-spacing: .3em; }
.tf-dialog .pop-form .st-acts { margin-top: 4px; }
.tf-dialog .st-codes { margin: 4px 0; }
#twofa-codes > .st-acts { justify-content: center; }   /* the recovery codes' Download and I've saved them */
/* a pop-up's form (Invite people, Change your name or email): its fields one under another, the buttons at the end */
.st-dialog .pop-form { display: grid; gap: 6px; }
.st-dialog .pop-form label { font-size: var(--s-sm); font-weight: 700; margin-top: 6px; }
.st-dialog .pop-form .st-acts { justify-content: flex-end; margin-top: 12px; }
.st-dialog > .st-acts { justify-content: flex-end; }   /* a pop-up's own buttons, on the right (the recovery codes') */
/* the logo's Upload or Change: a button that opens the file picker; the picked one shows first (settings.js) */
/* a value you can change (Account: name and email): the value on the right with a small pencil, the settings' own
   tooltip on it; the pencil opens its pop-up */
.edit-btn { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 8px;
  background: var(--surface-2); color: var(--muted); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.edit-btn:hover, .edit-btn:focus-visible { background: color-mix(in srgb, var(--ink) 10%, var(--surface)); color: var(--ink); }
.edit-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.edit-btn .tip { left: auto; right: 0; transform: none; white-space: nowrap; }   /* at the row's end: opens leftwards */
/* choices as cards side by side, one picked (Account: how Goldie helps you); radios underneath, saved as tapped */
.pick-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pick-card { position: relative; display: grid; gap: 4px; align-content: start; padding: 12px 14px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.pick-card input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: inherit; }
.pick-card b { font-size: var(--s-sm); }
.pick-card small { color: var(--muted); font-size: var(--s-xs); line-height: 1.45; }
.pick-card:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.pick-card:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, var(--surface)); }
.pick-card:has(input:checked) b { color: var(--brand); }
.pick-card:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (max-width: 640px) { .pick-cards { grid-template-columns: minmax(0, 1fr); } }
.set-pending .set-text small { color: var(--ink); }   /* a change of email waiting for its link */
.st-row .grow { flex: 1 1 200px; min-width: 0; display: grid; gap: 2px; }
.st-row small { color: var(--muted); font-size: var(--s-xs); }
.st-row .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--good); flex: none; }
.st-row .dot.off { background: var(--later); }
.st-name { font-weight: 800; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.st-name:hover { color: var(--brand); }
.st-acts { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
/* Settings > websites: the crown on the primary one, icon actions on hover (always on touch); Watching's Addresses
   rows share its ⋮ menu, so its icons too */
.site-row .ic, .addr-list .ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-btn.crown { color: var(--later); cursor: help; }
.icon-btn.crown .ic { fill: color-mix(in srgb, var(--later) 30%, transparent); }
.icon-btn.crown:hover, .icon-btn.crown:focus-visible { color: var(--later); }
.site-acts form { display: contents; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--muted);
  display: inline-grid; place-items: center; padding: 0; cursor: pointer; text-decoration: none; }
.icon-btn:hover, .icon-btn:focus-visible { background: var(--line); color: var(--ink); }
.icon-btn.is-on { color: var(--brand); }
.icon-btn.st-danger:hover { color: var(--soon); }
.has-tip { position: relative; }
.has-tip .tip { display: none; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); z-index: 30;
  pointer-events: none; width: max-content; max-width: 240px; padding: 8px 12px; border-radius: 10px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--muted); font-size: var(--s-xs); font-weight: 400;
  line-height: 1.4; text-align: left; white-space: normal; }
.has-tip .tip b { display: block; color: var(--ink); font-size: var(--s-sm); font-weight: 700; }
.has-tip:hover .tip, .has-tip:focus-visible .tip { display: block; }
.site-acts .tip { left: auto; right: 0; transform: none; }       /* at the row's end: open leftwards */
.st-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--coat); color: var(--dog-ink); display: grid;
  place-items: center; font-weight: 800; flex: none; }
.st-chip { display: inline-block; font-size: var(--s-xs); font-weight: 700; padding: 3px 10px; border-radius: 99px;
  background: var(--surface-2); color: var(--muted); }
.st-chip.good { background: var(--good-soft); color: var(--good); }
.st-chip.warn { background: var(--soon-soft); color: var(--soon); }
.st-form { display: grid; gap: 6px; max-width: 420px; }
.st-form label { font-size: var(--s-sm); font-weight: 700; margin-top: 8px; }
.st-form .btn { justify-self: start; margin-top: 12px; }
.st-inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.st-inline .st-field { flex: 1 1 200px; width: auto; }
.st-field { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 13px; font: inherit;
  font-size: var(--s-sm); background: var(--surface); color: var(--ink); }
.st-field:focus { border-color: var(--brand); outline: none; }
.st-field:disabled { background: var(--surface-2); color: var(--muted); }
.st-select { width: auto; flex: none !important; padding-right: 30px; }
.st-code { max-width: 220px; letter-spacing: .08em; }
.st-check { display: flex; gap: 10px; align-items: center; padding: 6px 0; font-size: var(--s-sm); }
.st-check input { width: 18px; height: 18px; accent-color: var(--brand); }
.st-danger { color: var(--soon) !important; }
.st-danger-solid { background: var(--soon); color: #fff; }
.st-danger-card { border: 1.5px solid var(--soon-soft); }
.st-qr { width: 180px; padding: 10px; background: #fff; border-radius: 14px; }
.st-qr svg { width: 100%; height: auto; display: block; }
.st-codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px; }
.st-codes code { background: var(--surface-2); border-radius: 8px; padding: 6px 10px; text-align: center; }
.st-dialog { border: 0; border-radius: 22px; padding: 22px; max-width: min(440px, calc(100vw - 32px)); background: var(--surface);
  color: var(--ink); box-shadow: var(--shadow); display: none; gap: 10px; }
.st-dialog[open] { display: grid; grid-template-columns: minmax(0, 1fr); }   /* one column the pop-up's width: never
   stretched by its widest thing (Invite's role choices on a phone, founder 2026-11-17) */
.st-dialog .pop-form { grid-template-columns: minmax(0, 1fr); }
.st-dialog .pop-form .st-select { width: 100%; min-width: 0; text-overflow: ellipsis; }
.st-dialog::backdrop { background: rgba(10, 20, 18, .45); }
.st-dialog h2 { font-size: var(--s-lg); font-weight: 800; margin: 0; }
.st-dialog p { margin: 0; }
/* what the plan doesn't include: the words left, the way to it (Upgrade, or straight to Checkout) right, as a row */
.st-offer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px;
  background: var(--surface-2); border-radius: 16px; padding: 14px 16px; }
.st-offer p { flex: 1 1 260px; }
.st-offer p { margin: 0; font-size: var(--s-sm); }

/* the sniff offer (welcome.html) uses the home's look; its buttons centred */
.home .st-acts { justify-content: center; }

/* ---------- the sidebar on an account's pages (_sidebar.html), like ChatGPT's:
   fixed on the left on a wide screen; on a phone, a top bar and a drawer ---------- */
:root { --side-w: 268px; --side-rail: 64px; }
.side { position: fixed; top: 0; bottom: 0; left: 0; z-index: 20; width: var(--side-w); display: flex; flex-direction: column;
  gap: 4px; padding: 12px 10px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--surface-2);
  border-right: 1px solid var(--line); }
.side .ic { width: 19px; height: 19px; flex: none; fill: currentColor; }
.side .ic .ln { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.side-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 8px; }
.side .brand { color: var(--ink); text-decoration: none; font-size: 1.15rem; }
.side .brand svg { width: 30px; height: 30px; }
.side .brand svg.wordmark { width: auto; height: 32px; }
.side-btn { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: none;
  color: var(--muted); cursor: pointer; flex: none; list-style: none; }
.side-btn::-webkit-details-marker { display: none; }
.side-btn:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); }
.side-close, .side-logo, .side .tip { display: none; }
.side-site-ic { position: relative; display: grid; place-items: center; flex: none; width: 19px; }   /* the icons' width: the dot lines up with them */
.side-site-ic .ic { display: none; }
.side a { text-decoration: none; }
.side-site { border-radius: 12px; }
.side-site-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; min-width: 0;
  color: var(--ink); font-weight: 800; }
.side-site-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--good); flex: none; }
.side .dot.off { background: var(--later); }
.side-nav a[aria-current="page"], .side-chat.on { background: color-mix(in srgb, var(--ink) 9%, transparent); }
summary.side-site-row:hover, .side-switch[open] > summary, .side-nav a:hover, .side-chat:hover {
  background: color-mix(in srgb, var(--ink) 6%, transparent); }
.side-site-name { flex: 1; min-width: 0; }
summary.side-site-row > .ic { color: var(--muted); }
.side-nav { display: grid; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; color: var(--ink);
  font-weight: 700; font-size: var(--s-sm); }
.side-nav .count { margin-left: auto; }
.side-label { margin: 14px 10px 4px; font-size: var(--s-xs); font-weight: 800; color: var(--muted); text-transform: uppercase;
  letter-spacing: .06em; }
/* one column the sidebar's width: a long name never widens its row */
.side-chats { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; grid-template-columns: minmax(0, 1fr); display: grid; align-content: start; gap: 1px; margin-inline: -2px; padding-inline: 2px; }
.side-chat { display: flex; align-items: center; border-radius: 12px; min-width: 0; }
/* a chat Goldie opened on her own, not opened yet: like an unread email, bold, on the hover's tint, with a dot
   (founder 2026-11-17); opening it makes it a plain row */
.side-chat.new { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.side-chat.new { position: relative; }
.side-chat.new a { font-weight: 800; }      /* a plain row still, so a long name slides like the rest; the dot sits where ⋯ shows on hover */
.side-chat .new-dot { position: absolute; right: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: var(--brand); pointer-events: none; }
.side-chat.new:hover .new-dot, .side-chat.new:focus-within .new-dot { display: none; }   /* the ⋯ button shows there instead */
.side-chat a { flex: 1; min-width: 0; padding: 8px 10px; color: var(--ink); font-size: var(--s-sm); overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.side-chat .side-btn { width: 30px; height: 30px; opacity: 0; }
.side-chat:hover .side-btn, .side-chat.on .side-btn, .side-chat .side-btn:focus-visible,
.chat-more[open] .side-btn { opacity: 1; }
.chat-more .side-menu { min-width: 180px; z-index: 30; }
.side-menu button.danger { color: var(--soon); }
.pin-mark { display: inline-flex; vertical-align: -3px; margin-right: 5px; color: var(--muted); }
.pin-mark .ic { width: 14px; height: 14px; }
.side-empty { margin: 4px 10px; font-size: var(--s-xs); color: var(--muted); }
/* the pop-ups: switching website (down), the profile menu (up) */
.side-pop { position: relative; }
.side-pop > summary { list-style: none; cursor: pointer; }
.side-pop > summary::-webkit-details-marker { display: none; }
.side-menu { position: absolute; z-index: 2; min-width: 220px; display: grid; gap: 2px; padding: 6px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: sugg-pop .2s cubic-bezier(.2, .9, .3, 1.3) both; }
.side-switch .side-menu { left: 0; right: 0; top: calc(100% + 4px); transform-origin: top left; }
.side-me .side-menu { left: 0; right: 0; bottom: calc(100% + 6px); transform-origin: bottom left; }
.side-menu a, .side-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0;
  border-radius: 10px; background: none; color: var(--ink); font: inherit; font-weight: 700; font-size: var(--s-sm);
  text-align: left; cursor: pointer; }
.side-menu a:hover, .side-menu button:hover, .side-menu a[aria-current="page"] { background: var(--surface-2); }
.side-menu .side-crown { margin-left: auto; color: var(--later); display: inline-grid; }   /* the primary website, on the right */
.side-menu .side-crown .ic { width: 17px; height: 17px; }
.side-menu .side-crown .ln { fill: color-mix(in srgb, var(--later) 30%, transparent); }
.side-menu form { margin: 0; }
.side-me { border-top: 1px solid var(--line); padding-top: 8px; }
.side-me > summary { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; color: var(--muted); }
.side-me > summary:hover, .side-me[open] > summary { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.side-me-text { flex: 1; min-width: 0; display: grid; }
.side-me-text b { color: var(--ink); font-size: var(--s-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-me-text small { font-size: var(--s-xs); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar { display: none; }
.side-shade { display: none; }
/* the page beside it */
body.with-side { padding-left: var(--side-w); }
body.with-side .rat-zone { left: var(--side-w); }
@media (max-width: 900px) {
  body.with-side { padding-left: 0; }
  body.with-side .rat-zone { left: 0; }
  .topbar { display: flex; align-items: center; gap: 8px; position: sticky; top: 0; z-index: 15; padding: 8px 10px;
    background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line); }
  .topbar .side-btn { color: var(--ink); width: 42px; height: 42px; }
  .topbar .ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .topbar-title { flex: 1; text-align: center; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .side { width: min(84vw, 320px); transform: translateX(-102%); transition: transform .25s ease; box-shadow: var(--shadow); }
  .side-open .side { transform: none; }
  .side-close { display: grid; }
  .side-collapse { display: none; }     /* a phone's drawer closes, it never shrinks to icons */
  .side-open .side-shade { display: block; position: fixed; inset: 0; z-index: 19; background: rgba(10, 20, 18, .4); }
  .side-chat .side-btn { opacity: 1; }
}
/* beside the sidebar there's no room for the rat's thought next to the chat box:
   it floats up over it instead, the thought bubbles trailing down to the rat */
@media (min-width: 901px) and (max-width: 1599px) {
  body.with-side .rat-say { bottom: calc(100% + 120px); }
  body.with-side .rat-say::before { bottom: -40px; }
  body.with-side .rat-say::after { bottom: -90px; }
}
/* closed to a strip of icons (wide screens; sidebar.js, the wp_side cookie), like Clereo's */
@media (min-width: 901px) {
  body.with-side:has(.side.collapsed) { padding-left: var(--side-rail); }
  body.with-side:has(.side.collapsed) .rat-zone { left: var(--side-rail); }
  .side.collapsed { width: var(--side-rail); padding-inline: 8px; align-items: center; }
  .side.collapsed .brand, .side.collapsed .side-collapse, .side.collapsed .lbl, .side.collapsed summary.side-site-row > .ic,
  .side.collapsed .side-chats, .side.collapsed .side-me-text, .side.collapsed .side-me summary > .ic { display: none; }
  .side.collapsed .side-top { padding: 2px 0 8px; justify-content: center; width: 100%; }
  .side.collapsed .side-logo { display: grid; place-items: center; position: relative; width: 100%; height: 44px; border: 0;
    border-radius: 12px; background: none; padding: 0; cursor: pointer; }
  .side.collapsed .side-logo svg { width: 30px; height: 30px; }
  .side-logo-open { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 12px; opacity: 0;
    background: var(--surface); color: var(--ink); transition: opacity .15s; }
  .side-logo:hover .side-logo-open, .side-logo:focus-visible .side-logo-open { opacity: 1; }
  .side.collapsed .side-site, .side.collapsed .side-nav { width: 100%; }
  .side.collapsed .side-site-row, .side.collapsed .side-nav a { justify-content: center; padding: 10px 0; position: relative; }
  /* closed: the switcher opens beside the strip, like the profile menu */
  .side.collapsed .side-switch .side-menu { left: calc(100% + 12px); right: auto; top: 0; min-width: 220px; }
  .side.collapsed .side-switch[open] > summary .lbl { display: none !important; }   /* its menu is open: that says enough */
  .side.collapsed .side-site-ic .ic { display: block; color: var(--ink); }
  .side.collapsed .side-site-ic .dot { position: absolute; right: -2px; bottom: -1px; width: 8px; height: 8px;
    box-shadow: 0 0 0 2px var(--surface-2); }
  .side.collapsed .side-nav .count { position: absolute; top: 3px; right: 6px; min-width: 16px; line-height: 16px; font-size: .62rem; padding: 0 4px; }
  .side.collapsed .side-me { margin-top: auto; width: 100%; }
  .side.collapsed .side-me > summary { justify-content: center; padding: 6px 0; }
  /* outside the strip, from the bottom, as far from the line as the name on hover */
  .side.collapsed .side-me .side-menu { left: calc(100% + 12px); right: auto; bottom: 0; min-width: 200px;
    transform-origin: bottom left; }
}
/* closed: each icon's name on hover or focus, beside it, like Clereo's */
@media (min-width: 901px) {
  .side.collapsed .side-site-row:hover .lbl, .side.collapsed .side-site-row:focus-visible .lbl,
  .side.collapsed .side-nav a:hover .lbl, .side.collapsed .side-nav a:focus-visible .lbl,
  .side.collapsed .side-logo:hover .tip, .side.collapsed .side-logo:focus-visible .tip,
  .side.collapsed .side-me > summary:hover .tip, .side.collapsed .side-me > summary:focus-visible .tip {
    display: block; position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); z-index: 40;
    pointer-events: none; white-space: nowrap; padding: 7px 12px; border-radius: 10px; background: var(--surface);
    border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); font-size: var(--s-sm); font-weight: 700; }
  .side.collapsed .side-me > summary { position: relative; }
  .side.collapsed .side-me[open] > summary .tip { display: none; }    /* the menu is open: it says enough */
}
/* no plan yet: Upgrade, top right; signed out (the free check): Sign up for free there */
.upgrade-btn { display: none; }
@media (min-width: 901px) {
  .upgrade-btn { position: fixed; top: 14px; right: 18px; z-index: 12; display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 16px; border-radius: 99px; background: var(--brand); color: var(--brand-ink); font-weight: 800;
    font-size: var(--s-sm); text-decoration: none; box-shadow: var(--shadow);
    transition: background .18s, color .18s, box-shadow .18s, transform .18s; }
  .upgrade-btn .ic { width: 16px; height: 16px; fill: currentColor; transition: transform .3s; }
  /* hover: a clear change (founder 2026-11-14: brightening barely showed): the same colours, a shadow all round (a
     soft green halo, and deeper underneath), lifted a touch; the star gives a turn */
  .upgrade-btn:hover, .upgrade-btn:focus-visible {
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent), 0 8px 22px rgba(24,40,42,.22);
    transform: translateY(-1px); }
  .upgrade-btn:hover .ic, .upgrade-btn:focus-visible .ic { transform: rotate(-14deg) scale(1.1); }
  .upgrade-btn:active { transform: none; box-shadow: var(--shadow); }
}
@media (prefers-reduced-motion: reduce) {
  .upgrade-btn, .upgrade-btn .ic { transition: none; }
  .upgrade-btn:hover, .upgrade-btn:focus-visible, .upgrade-btn:hover .ic, .upgrade-btn:focus-visible .ic { transform: none; }
}
/* the sidebar signed out (the free check): Log in at the bottom, under what an account adds */
.side-nav button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 12px;
  background: none; color: var(--ink); font: inherit; font-weight: 700; font-size: var(--s-sm); text-align: left; cursor: pointer; }
.side-nav button:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.side-nav button[hidden] { display: none; }
.side-guest { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.side-guest .btn { text-align: center; }
.side-guest-ic { display: none; }
.topbar-login { font-weight: 800; font-size: var(--s-sm); color: var(--brand); text-decoration: none; padding: 8px 6px; }
@media (min-width: 901px) {
  .side.collapsed .side-guest { border: 0; justify-items: center; width: 100%; margin-top: auto; }
  .side.collapsed .side-guest .btn { display: none; }
  .side.collapsed .side-guest-ic { display: grid; position: relative; width: 100%; height: 44px; }   /* full width: its name lines up with the others' */
  .side.collapsed .side-guest-ic:hover .tip, .side.collapsed .side-guest-ic:focus-visible .tip,
  .side.collapsed .side-nav button:hover .lbl, .side.collapsed .side-nav button:focus-visible .lbl {
    display: block; position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); z-index: 40;
    pointer-events: none; white-space: nowrap; padding: 7px 12px; border-radius: 10px; background: var(--surface);
    border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); font-size: var(--s-sm); font-weight: 700; }
  .side.collapsed .side-nav button { justify-content: center; padding: 10px 0; position: relative; }
  .side.collapsed .side-nav button .count { position: absolute; top: 3px; right: 6px; min-width: 16px; line-height: 16px;
    font-size: .62rem; padding: 0 4px; }
}
/* the cross that closes pricing, logged in (pricing.html) */
.account .top-acts > a.close-x { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; }
.close-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
/* the home with the sidebar (logged in): no header above it, so the whole screen high, the note at the very bottom */
body.with-side .home { min-height: 100vh; min-height: 100dvh; }
@media (max-width: 900px) { body.with-side .home { min-height: calc(100vh - 59px); min-height: calc(100dvh - 59px); } }
/* Goldie writing a reply out (check.js writeOut): each word in its place, fading in; what
   isn't words waits for them. Nothing moves: the message has its full size from the start. */
.bubble.writing .w { opacity: 0; transition: opacity .18s ease; }
.bubble.writing .w.on { opacity: 1; }
.bubble.writing .wait { visibility: hidden; }   /* not reached by the writing yet (check.js writeOut) */
/* a long chat name, or website name in the switcher, slides to its end on hover (sidebar.js sets --shift, --slide) */
.side-dom { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:is(.side-chat a, .side-site-name, .side-dom).slide { text-overflow: clip; }
:is(.side-chat a, .side-site-name, .side-dom).slide .t { display: inline-block; transform: translateX(var(--shift, 0));
  transition: transform var(--slide, 2s) linear .35s; }
/* WatchPal's own pop-up for renaming or deleting a chat (_sidebar.html, sidebar.js) */
.side-dialog { border: 0; border-radius: 22px; padding: 22px; width: min(400px, calc(100vw - 32px)); background: var(--surface);
  color: var(--ink); box-shadow: var(--shadow); }
.side-dialog[open] { animation: sugg-pop .2s cubic-bezier(.2, .9, .3, 1.3) both; }
.side-dialog::backdrop { background: rgba(10, 20, 18, .45); backdrop-filter: blur(3px); }
.side-dialog form { display: grid; gap: 12px; margin: 0; }
.side-dialog h2 { margin: 0; font-size: var(--s-lg); font-weight: 800; }
/* sharing a chat (chat_share.py): its two settings, a line each; the link, once */
.share-dialog { width: min(460px, calc(100vw - 32px)); }
.share-dialog form { grid-template-columns: minmax(0, 1fr); }      /* (a grid cell never grows past the box) */
.share-dialog .st-field { min-width: 0; box-sizing: border-box; }
.share-dialog .share-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 10px; align-items: center; font-weight: 700; }
.share-dialog .side-dialog-acts { flex-wrap: wrap; }              /* up to three buttons: they wrap, never overflow */
.share-dialog .share-row small { font-weight: 400; color: var(--muted); }
.share-dialog #share-new, .share-dialog #share-made { display: grid; gap: 10px; }
.share-dialog [hidden] { display: none !important; }
.share-dialog .share-error { color: var(--bad, #b3261e); }
/* a shared chat's page (shared.html): the chat, to read */
.shared-page .shared-note, .shared-page .shared-gate { max-width: 560px; margin: 40px auto; padding: 0 16px; text-align: center; }
.shared-page .shared-gate form { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.side-dialog p { margin: 0; color: var(--muted); }
.side-dialog [hidden] { display: none !important; }
.side-dialog-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
/* To-do, its own page (home_todo.html): the jobs as cards */
.todo-page { max-width: 760px; }
.td-top h1 { font-size: 1.8rem; font-weight: 800; letter-spacing: -.01em; margin: 0 0 4px; }
/* To-do's job cards: the chat's (.job), with "I've done this" and the arrow top right */
.td-job h3 { margin: 0; }
.td-row { display: flex; align-items: center; gap: 10px; }
.td-row .td-right { margin-left: auto; }
.td-right { display: flex; align-items: center; gap: 10px; }
/* what fixing a job earns (home_todo.html): a small gold pill; once fixed, earned */
/* Free (free.py): a locked job: placeholder words, blurred, never the real ones (they aren't in the page) */
.locked-blur { filter: blur(5px); user-select: none; pointer-events: none; }
.job.is-locked, .trow.is-locked { background: var(--surface-2); }
.is-locked .prio { opacity: .8; }
/* a locked job's tick: a lock, plainly not a button (nothing to re-check), in the To-do and its sheet */
.tick.tick-lock, .td-tick.td-lock { cursor: default; color: var(--muted); border-color: var(--line); background: var(--surface-2); }
.tick.tick-lock svg, .td-tick.td-lock svg { opacity: 1; width: 14px; height: 14px; stroke-width: 2; }
.tick.tick-lock:hover, .td-tick.td-lock:hover { border-color: var(--line); }
.tick.tick-lock:hover svg, .td-tick.td-lock:hover svg { opacity: 1; }
/* the To-do's locked card: its words on the left, "Upgrade to unlock" on the right, in the middle of its height */
.td-job.td-locked { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; }
.td-locked > div { display: grid; gap: 8px; min-width: 0; }
.td-locked > .act { white-space: nowrap; }
.td-locked .job-foot { margin-top: 4px; }   /* an open card's foot sits under its folded options: one size */
.xp-chip { font-size: var(--s-xs); font-weight: 700; color: var(--flame); background: var(--surface-2);
  padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.xp-chip.earned { color: var(--muted); }
/* a job's technical name as a social tag, at the foot of the opened card (check_chat.hashtag; founder 2026-11-15) */
.tech-hash { margin: 10px 0 0; font-size: var(--s-xs); font-weight: 700; color: var(--brand); opacity: .8; }
.tech-hash a { color: inherit; text-decoration: none; transition: color .15s, text-shadow .15s; }
.tech-hash a:hover, .tech-hash a:focus-visible { color: color-mix(in srgb, var(--brand) 70%, var(--ink));
  text-shadow: 0 0 10px color-mix(in srgb, var(--brand) 45%, transparent); }   /* a chat's #tag: as Ask Goldie's */
.td-job.td-asked { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 35%, transparent), var(--shadow); }
.td-item { scroll-margin-top: 24px; }
.td-item[hidden] { display: none; }
.td-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.td-title h1 { margin: 0; }
.xp-chip.lost { color: var(--soon); }                 /* What changed: XP lost to something new opening */
.td-job.open .td-right .chev { transform: rotate(180deg); }
.td-job .td-tabs { margin-top: 4px; }
.td-job .td-panels { padding-top: 10px; }
.p-fixed { background: var(--good-soft); color: var(--good); }
/* the circle, like a real to-do list: empty; on hover the tick shows; ticked: filled green */
/* each job: its circle beside the card, level with the card's top row */
.td-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; }
.td-item > .td-tick { margin-top: 17px; }
@media (max-width: 520px) { .td-item { gap: 8px; } }
.td-tick { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--muted) 55%, var(--line));
  background: var(--surface); padding: 0; display: inline-grid; place-items: center; cursor: pointer; color: var(--good);
  transition: border-color .15s, background .15s; }
.td-tick svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round;
  stroke-linejoin: round; opacity: 0; transition: opacity .15s; }
.td-tick:hover, .td-tick:focus-visible { border-color: var(--good); }
.td-tick:hover svg, .td-tick:focus-visible svg { opacity: .6; }
.td-tick.is-done { background: var(--good); border-color: var(--good); color: #fff; cursor: default; }
.td-tick.is-done svg { opacity: 1; }
.td-tick.busy { border-color: var(--line); border-top-color: var(--brand); animation: td-spin .8s linear infinite; cursor: progress; }
.td-tick.busy svg { opacity: 0; }
@keyframes td-spin { to { transform: rotate(360deg); } }
.fixed-note { color: var(--good); font-weight: 700; font-size: var(--s-sm); }
.td-job.is-fixed h3 { color: var(--muted); }
/* To do or Done: the pills Settings uses */
.td-switch { display: flex; gap: 4px; }
@media (max-width: 760px) {      /* a phone: one row that scrolls, like Settings' tabs; the one chosen is centred (home.js) */
  .td-switch { overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 2px 4px; scroll-behavior: smooth; }
  .td-switch::-webkit-scrollbar { display: none; }
  .td-switch button { flex: none; white-space: nowrap; }
}
.p-hold { background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); }
.td-switch button { border: 0; background: none; padding: 7px 14px; border-radius: 99px; font: inherit; font-weight: 700;
  font-size: var(--s-sm); color: var(--muted); cursor: pointer; }
.td-switch button span { font-weight: 600; opacity: .7; margin-left: 2px; }
.td-switch button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.td-switch button:not([aria-selected="true"]):hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
/* one column, the page's width: never sized by its widest card's longest word, so every tab's cards (All, Soon,
   Nice extras, Done) are the same width (founder 2026-11-14) */
.td-list, .td-groupset, .td-done-cards { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.td-done-head, .td-hold-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-left: 38px; }   /* starts where the cards do: past the circle (26px) and its gap (12px) */
@media (max-width: 520px) { .td-done-head, .td-hold-top { padding-left: 34px; } }   /* the phone's 8px gap */
.td-head { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.td-head .act { flex: none; }
.td-status { margin: 0; }
.td-status:empty { display: none; }
/* a leaked key's line on its card: which key, where, and "I've cancelled this key" */
.td-keys { display: grid; gap: 10px; margin: 10px 0 4px; }
.td-key { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.td-key-what { display: grid; gap: 2px; min-width: 0; }
.td-key-what .mono { overflow-wrap: anywhere; }
.td-key form { margin: 0; }
.td-tabs { display: flex; gap: 4px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 10px; }
.td-tabs button { border: 0; background: none; padding: 6px 12px; border-radius: 99px; font: inherit; font-weight: 700;
  font-size: var(--s-sm); color: var(--muted); cursor: pointer; }
.td-tabs button:hover { color: var(--ink); }
.td-tabs button[aria-selected="true"] { background: var(--surface-2); color: var(--ink); }
/* only the open tab takes room: the card is as tall as what it shows */
.td-panel { display: none; gap: 8px; align-content: start; }
.td-panel.on { display: grid; }
.td-panel p, .td-panel ol { margin: 0; }
.td-panel textarea { width: 100%; resize: none; }
.td-panel .btn { justify-self: start; }
.td-job.is-done h3 { text-decoration: line-through; color: var(--muted); }
/* Free: how many one-off checks are used, under the home's box */
.checks-used { margin: 2px 0 0; font-size: var(--s-xs); font-weight: 700; color: var(--muted); }
/* Free on Watching and Deep sniffing: the upgrade, plainly (home_watching.html, home_deep.html) */
.upgrade-card { border: 2px solid var(--brand); gap: 14px; }
.upgrade-card h1 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; margin: 0 0 4px; }
.upgrade-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.upgrade-card .actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
/* scroll bars: slim, a little darker than the page, no track (the page, the chat history, every box);
   a row that hides its scroll bar (scrollbar-width: none) keeps hiding it */
* { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--ink) 38%, transparent) transparent; }
@supports not (scrollbar-color: auto) {      /* Safari: the same, its own way */
  ::-webkit-scrollbar { width: 8px; height: 8px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--ink) 38%, transparent); border-radius: 99px;
    border: 2px solid transparent; background-clip: content-box; }
}
/* no website yet: "Add a website" where the switcher goes (_sidebar.html) */
.side-add { color: var(--ink); font-weight: 800; }
.side-add:hover, .side-add[aria-current="page"] { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.side-add-ic .ic { display: block; width: 18px; height: 18px; }
@media (min-width: 901px) {
  .side.collapsed .side-add:hover .lbl, .side.collapsed .side-add:focus-visible .lbl {
    display: block; position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); z-index: 40;
    pointer-events: none; white-space: nowrap; padding: 7px 12px; border-radius: 10px; background: var(--surface);
    border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); font-size: var(--s-sm); font-weight: 700; }
}
/* when it was, in the middle of the chat (check.js stamp) */
.stamp { align-self: center; margin: 6px 0 -2px; font-size: var(--s-xs); font-weight: 700; color: var(--muted); }
/* the sheet's close cross, top right by the heading, scrolling away with it (check.js puts it in the panel) */
.panel { position: relative; }
.sheet-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--surface-2); color: var(--ink); display: grid; place-items: center; padding: 0; cursor: pointer; }
.sheet-x:hover { background: color-mix(in srgb, var(--ink) 12%, var(--surface)); }
.sheet-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.panel > .sheet-x + h3, .panel > h3:first-child { padding-right: 48px; }
/* everything you can click says so on hover (the ones without a hover of their own) */
.jobs-btn { cursor: pointer; transition: filter .15s ease; }
.jobs-btn:hover, .jobs-btn:focus-visible { filter: brightness(1.08); }
.st-nav a:not([aria-current]):hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.account .top-acts > a:hover { filter: brightness(.95); }
.tick { cursor: pointer; }

/* ---------- the badge's public page (watched.html): the facts as rows, what's checked as a list ---------- */
.watched-facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.watched-facts li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 10px 0;
  border-bottom: 1px solid var(--line); font-size: var(--s-sm); }
.watched-facts span { color: var(--muted); }
.watched-list { margin: 6px 0 10px; padding-left: 1.2em; display: grid; gap: 6px; font-size: var(--s-sm); color: var(--muted); }
.watched-list b { color: var(--ink); }
.badge-preview svg { display: block; width: 200px; height: 40px; }   /* Watching's badge card: the badge as it reads now */
/* Watching's Badge tab: what it is (and On), the badge on its stage, the one step, then the profile link and the switch */
.badge-card { gap: 14px; }
.badge-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.badge-head h2 { margin: 0 0 4px; }
.badge-head p { margin: 0; }
.badge-stage { display: grid; place-items: center; padding: 24px 16px; border-radius: 14px; background: var(--surface-2); }
.badge-stage svg { display: block; width: 200px; height: 40px; max-width: 100%; }
.badge-step { display: grid; gap: 8px; }
.badge-step p { margin: 0; font-size: var(--s-sm); }
.badge-step .copy-row { margin-top: 0; }
/* phone: the badge code takes the full width, Copy under it on the left (founder 2026-11-17) */
@media (max-width: 520px) { .badge-step .copy-row { flex-direction: column; align-items: flex-start; } .badge-step .copy-row .mono { width: 100%; } }
.badge-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px;
  padding-top: 12px; border-top: 1px solid var(--line); }
.badge-foot p { margin: 0; flex: 1 1 240px; }
.badge-foot form { margin: 0; }
.badge-note { margin: 0; }
/* the profile's address, with Open and Edit (the username, in its pop-up) as icons */
.link-row { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.link-url { flex: 1 1 220px; min-width: 0; overflow-wrap: anywhere; }
.link-acts { display: flex; gap: 6px; flex: none; }
.link-acts .tip { left: 50%; right: auto; transform: translateX(-50%); }
/* in the username's pop-up: its address in front */
.username-field { display: flex; align-items: center; gap: 6px; min-width: 0; }
.username-field .st-field { flex: 1; min-width: 0; }
/* the profile page's Public/Private: the tag (green public, red private) and the toggle, top right */
.profile-switch, .profile-switch.deep-form { margin: 0; display: flex; align-items: center; gap: 10px; flex: none; }
/* (the Deep card's switch is also its yes, marked deep-form: the tag stays beside the switch, never above it) */
.vis-tag { font-size: var(--s-xs); font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.vis-tag.public { background: var(--good-soft); color: var(--good); }
.vis-tag.private { background: var(--bad-soft); color: var(--bad); }
.bubble .badge-preview { margin: 8px 0; }
.profile-head { margin-bottom: 14px; }
.profile-head h1 { margin-top: 0; }
.profile-head .sub { text-align: center; max-width: 34rem; margin-inline: auto; }   /* under its centred heading, centred too */
/* the header's Share (watched.html, share.js): a pill, opening a menu of ways */
.share-pop { position: relative; }
.share-pop > summary { list-style: none; }
.share-pop > summary::-webkit-details-marker { display: none; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; border-radius: 99px; padding: 7px 14px; font-size: var(--s-sm);
  font-weight: 700; background: var(--brand); color: var(--brand-ink); cursor: pointer; }
.share-btn:hover { filter: brightness(1.1); }
.share-pop .ic { width: 18px; height: 18px; flex: none; fill: currentColor; }
.share-pop .ic .ln { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.share-pop .ic .hole { fill: var(--surface); }
.share-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 190px; display: grid; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px rgba(24,40,42,.16); }
.share-menu > a, .share-menu > button { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: 10px;
  background: none; color: var(--ink); font: inherit; font-size: var(--s-sm); font-weight: 600; text-align: left; cursor: pointer; }
.share-menu > a:hover, .share-menu > button:hover { background: var(--surface-2); filter: none; }
.share-menu > [hidden] { display: none; }
.profile-h { font-size: 1.05rem; margin: 22px 0 10px; }
.profile-stamps .stamp-item small { font-size: var(--s-xs); color: var(--muted); }
.watched .profile-note { margin-top: 24px; }

/* ---------- personal records and XP (_records.html): tiles, like a language app's profile ---------- */
.records { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 8px; }
.records li { border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 12px; min-width: 0;
  display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 10px; row-gap: 1px; align-items: center; }
.records b { font-size: 1.35rem; line-height: 1.15; font-variant-numeric: tabular-nums; }
.records span { font-size: var(--s-xs); color: var(--muted); }
/* each record's drawing, two-tone like the flame (_records.html): left of its number and words */
.rec-ic { grid-row: 1 / span 2; width: 32px; height: 32px; }
.rec-ic .f1 { fill: var(--flame); } .rec-ic .f2 { fill: var(--flame-core); }
.rec-ic .rib { fill: var(--extra); } .rec-ic .rib2 { fill: var(--extra); opacity: .7; }
.rec-ic .ring { fill: none; stroke: var(--flame); stroke-width: 1.2; }
.rec-ic .moon { fill: var(--extra); }
.rec-ic .ok { fill: var(--good); }
.rec-ic .tick { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.rec-ic .bolt { fill: var(--flame-core); stroke: var(--flame); stroke-width: 1.4; stroke-linejoin: round; }

/* ---------- Goldie's hooray (a quiet streak's achievement, _chat_offers.html) ---------- */
.bubble.hooray .hooray-top { font-size: 2.2rem; line-height: 1; margin: 0 0 4px; }
.bubble .deep-form { margin-top: 8px; display: grid; gap: 8px; }
.bubble .deep-fold { margin: 6px 0; }
.bubble details.fold { margin: 10px 0 4px; }      /* the same card and hover as the results' folds */
/* "How I checked" under a job's why, in a chat: one quiet line, the raw look inside (_check_results explain-*) */
.bubble details.how-fold summary { font-weight: 500; font-size: var(--s-sm); padding: 10px 14px; align-items: flex-start; }
.how-fold summary .fold-dot { margin-top: 6px; }      /* (a sentence may wrap: the dot stays by its first line) */
.how-fold .fold-body { padding: 0 14px 12px; display: grid; gap: 8px; }
.how-fold .fold-body .how { margin: 0; }
.how-fold .fold-body .mono { display: block; overflow-wrap: anywhere; white-space: pre-wrap; }
.bubble details.fold .deep-hosts { padding: 0 16px 8px 42px; }

/* ---------- Deep sniffing (home_deep.html): the addresses as rows, a fold, the say-so tick ---------- */
.deep-hosts { list-style: none; margin: 0; padding: 0; display: grid; }
.deep-hosts li { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--s-sm);
  min-width: 0; }
.deep-hosts li:last-child { border-bottom: 0; }
.deep-hosts b { overflow-wrap: anywhere; }
.deep-hosts span { color: var(--muted); overflow-wrap: anywhere; }
.deep-hosts small, .fold .deep-hosts li small { color: var(--muted); font-size: var(--s-xs); white-space: normal; }   /* sentences: they wrap (beats .fold li small's nowrap) */
/* on a phone the addresses never run past their card: the folds and the deep body shrink to it, the list's indent eases */
.deep-body, .deep-fold { min-width: 0; }
@media (max-width: 520px) { details.fold .deep-hosts { padding: 0 0 4px; } .bubble details.fold .deep-hosts { padding: 0 14px 8px 16px; } }   /* the fold's own 16px margin is the indent */
.deep-hosts form { margin-top: 6px; }
/* Watching's Addresses tab (_addresses.html): the heading with Add on its right; a row = the address, Key and its
   ⋮ menu on one line, then what it is · how I found it, then its open jobs; ones gone from DNS greyed in their own part */
.addr-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }   /* the + stays on the right, phones too */
.addr-head h2 { margin-bottom: 4px; }
.addr-head > div { flex: 1 1 auto; min-width: 0; }
.addr-head .btn { flex: none; }
.addr-add-btn { flex: none; align-self: center; border: 1.5px solid var(--line); color: var(--ink); }   /* level with the heading and its line together */
.addr-add-btn .ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.addr-add-btn .tip { left: auto; right: 0; transform: none; white-space: nowrap; }   /* at the card's edge: opens leftwards */
#addresses > .st-flash { margin-top: 12px; }
.addr-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.addr-list li { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--s-sm); }
.addr-list li:last-child { border-bottom: 0; }
.addr-list li > span { color: var(--muted); overflow-wrap: anywhere; }
.addr-list li > small { color: var(--muted); font-size: var(--s-xs); }
.addr-list .addr-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; }
.addr-list .addr-row.with-menu { grid-template-columns: minmax(0, 1fr) auto 36px; column-gap: 8px; }
.addr-main { display: grid; gap: 2px; min-width: 0; }
.addr-main > span { color: var(--muted); overflow-wrap: anywhere; }
.addr-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.addr-name { overflow-wrap: anywhere; min-width: 0; }
.addr-count { justify-self: end; white-space: nowrap; font-size: var(--s-xs); font-weight: 700; padding: 3px 10px;
  border-radius: 99px; text-decoration: none; }
.addr-count.fix { background: var(--soon-soft); color: var(--soon); }
.addr-count.good { background: var(--good-soft); color: var(--good); }
.addr-count.off { background: var(--surface-2); color: var(--muted); }
.addr-count.wait { background: color-mix(in srgb, var(--later) 18%, transparent); color: var(--later); justify-self: start; }
.st-crown.addr-deepmark { color: var(--brand); }
/* deep sniffing's strip at the top of Addresses (founder 2026-11-19: its switch here, no figures) */
.addr-deep { gap: 8px; }   /* its own card, above the addresses (the panel spaces the cards: 14px) */
.addr-deep p { margin: 0; }
.addr-deep-top { display: flex; align-items: center; gap: 10px; }
.addr-deep-top h2 { margin: 0; flex: 1; }
.addr-deep-ic { width: 20px; height: 20px; color: var(--muted); }
.addr-deep-ic.on { color: var(--brand); }
.addr-deep .addr-deep-ic { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.addr-net { font-size: var(--s-xs); color: var(--muted); overflow-wrap: anywhere; }
/* Business: When it runs, a fold like Results' (founder 2026-11-19): its line says the setting, Settings' rows inside */
.when-fold summary small { font-weight: 400; color: var(--muted); font-size: var(--s-sm); overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; min-width: 0; }
.when-fold .when-ic { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.when-body { padding: 0 16px 12px; display: grid; gap: 8px; }
.addr-deep details.when-fold { background: var(--surface-2); box-shadow: none; margin-top: 4px; }   /* inside the card */
.code-fold .addr-head p { flex: 1 1 auto; min-width: 0; }
.code-fold .addr-list { margin-top: 0; }
#when form { margin: 0; }
/* the folds inside the deep card on a phone (founder 2026-11-19: they broke the page): the line under the title wraps,
   the rows stack, the selects take the width they're given and never more */
.when-fold, .when-fold summary, .when-body, .when-body form { min-width: 0; max-width: 100%; }
.when-fold .st-field { max-width: 100%; min-width: 0; }
@media (max-width: 600px) {
  .when-fold summary { flex-wrap: wrap; row-gap: 2px; padding: 12px 14px; }
  .when-fold summary small { white-space: normal; flex: 1 1 100%; order: 3; padding-left: 28px; }
  .when-body { padding: 0 14px 12px; }
  .when-fold .set-ctl .st-field { width: 100%; }
}
#when .set-row:first-child { border-top: 0; }
#when .when-save { justify-content: flex-end; }
#when .when-save .set-ctl { max-width: none; justify-content: flex-end; width: 100%; }
/* a new or moved address waiting for the owner's yes: above the list, never folded */
.addr-wait { margin-top: 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 14px; border: 1.5px solid color-mix(in srgb, var(--later) 45%, transparent);
  background: color-mix(in srgb, var(--later) 8%, transparent); font-size: var(--s-sm); }
.addr-wait .addr-main > span { color: var(--muted); }
.addr-org { color: var(--ink); text-decoration: none; font-weight: 700; }
.addr-org:hover { color: var(--brand); }
.addr-list li .addr-main > small { font-size: var(--s-xs); }
.addr-field span:first-child { margin-right: 1px; }
.addr-more { width: 36px; height: 36px; }
.addr-site { display: inline-grid; place-items: center; color: var(--muted); }
.addr-site .tip { left: auto; right: 0; transform: none; }       /* at the row's end: opens leftwards */
.addr-why { display: grid; gap: 8px; margin-top: 4px; }
.addr-why .addr-reason { width: 100%; color: var(--soon); }
.addr-why .addr-keep { color: var(--ink); }   /* the way out: the same outline and size, the usual text colour */
/* Add an address: the box holds the name, the website's domain fixed at its end (a click anywhere types the name) */
.addr-field { display: flex; align-items: center; gap: 0; cursor: text; }
.addr-field:focus-within { border-color: var(--brand); }
.addr-field input { flex: 1; min-width: 0; border: 0; padding: 0; background: none; font: inherit; color: inherit; outline: none; }
.addr-field span { flex: none; color: var(--muted); white-space: nowrap; }
.addr-others { text-align: left; }
.addr-others .addr-list { margin-top: 10px; }
.addr-off .addr-main { opacity: .6; }          /* not watched now: greyed */
.addr-foot { margin: 12px 0 0; }
.deep-fold summary { cursor: pointer; list-style: none; display: grid; gap: 2px; }
.deep-fold summary::-webkit-details-marker { display: none; }
.deep-fold summary small { color: var(--muted); font-size: var(--s-xs); }
.deep-fold[open] summary { margin-bottom: 8px; }
.deep-fold form { margin-top: 10px; }
.deep-form { display: grid; gap: 12px; justify-items: start; }
.deep-agree { display: flex; gap: 10px; align-items: flex-start; font-size: var(--s-sm); }
.deep-agree input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }

/* ---------- pages open with their sections rising in, one after another (Clereo's .stagger) ---------- */
@keyframes page-rise { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
:is(.watch-page, .st-main, .account-main, .watched) > * { animation: page-rise 460ms cubic-bezier(.22, .61, .36, 1) both; }
:is(.watch-page, .st-main, .account-main, .watched) > :nth-child(1) { animation-delay: 20ms; }
:is(.watch-page, .st-main, .account-main, .watched) > :nth-child(2) { animation-delay: 60ms; }
:is(.watch-page, .st-main, .account-main, .watched) > :nth-child(3) { animation-delay: 100ms; }
:is(.watch-page, .st-main, .account-main, .watched) > :nth-child(4) { animation-delay: 140ms; }
:is(.watch-page, .st-main, .account-main, .watched) > :nth-child(5) { animation-delay: 180ms; }
:is(.watch-page, .st-main, .account-main, .watched) > :nth-child(6) { animation-delay: 220ms; }
:is(.watch-page, .st-main, .account-main, .watched) > :nth-child(7) { animation-delay: 260ms; }
:is(.watch-page, .st-main, .account-main, .watched) > :nth-child(8) { animation-delay: 300ms; }
:is(.watch-page, .st-main, .account-main, .watched) > :nth-child(n+9) { animation-delay: 340ms; }
/* Goldie over a card (account pages, the public profile): she and the card come in as ONE (founder 2026-11-14:
   apart, the card fading in let her chin show through it for a moment); the page rises with them instead */
.card-peek > *, :is(.watch-page, .st-main, .account-main, .watched) > .card-peek,
:is(.watch-page, .st-main, .account-main, .watched) > .card-peek + * { animation: none; }
:is(.account-main, .watched):has(> .card-peek) { animation: page-rise 460ms cubic-bezier(.22, .61, .36, 1) 20ms both; }
@media (prefers-reduced-motion: reduce) { :is(.watch-page, .st-main, .account-main, .watched) > * { animation: none; } }
@media (prefers-reduced-motion: reduce) { :is(.account-main, .watched):has(> .card-peek) { animation: none; } }
#first-kept { display: contents; }      /* the first sniff kept in a verify chat: its messages sit in the chat like the rest */
/* the deep scan's places (home_deep.html, step 4d): a host the owner chose, and undoing it */
.deep-unpick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
/* a website's level (_xp_level.html, game.level, step 4j): paw-gold, rounded; the To-do's slim one along its top */
.lv { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 10px; margin-top: 10px; }
.lv-n { font-family: var(--f-display); font-weight: 800; font-size: var(--s-sm); color: var(--ink); }
.lv-title { font-size: var(--s-xs); font-weight: 700; color: var(--muted); }
.lv-bar { grid-column: 1 / -1; width: 100%; height: 10px; border: 0; border-radius: 99px; overflow: hidden;
  appearance: none; -webkit-appearance: none; background: var(--surface-2); }
.lv-bar::-webkit-progress-bar { background: var(--surface-2); border-radius: 99px; }
.lv-bar::-webkit-progress-value { background: var(--coat); border-radius: 99px; transition: width .6s ease; }
.lv-bar::-moz-progress-bar { background: var(--coat); border-radius: 99px; }
.lv-next { grid-column: 1 / -1; font-size: var(--s-xs); color: var(--muted); }
.lv-slim { grid-template-columns: auto 1fr auto; margin: 0 0 8px; }
.lv-slim .lv-bar { grid-column: auto; height: 6px; }
.lv-slim .lv-next { grid-column: auto; }
/* the moment she sees a fix (home.js): what it earned, and a level crossed */
.xp-gain { font-weight: 800; color: var(--good); }
.lv-up { font-weight: 800; color: var(--ink); }
.bubble .xp-line { margin-top: 6px; font-size: var(--s-sm); }
/* Settings, Websites: a website's plan (Upgrade on Free; on a paid plan, its card icon), the pricing page for it */
.site-acts .site-plan { padding: 6px 12px; margin-left: 4px; }
/* Settings, Websites: a website's ⋮ menu (primary, delete), opening leftwards from the row's end; the primary's crown */
.st-more .side-menu { right: 0; top: calc(100% + 4px); transform-origin: top right; }
.st-more .side-menu .site-plan-item { text-decoration: none; color: var(--ink); }
/* phones (founder 2026-11-19): the ⋮ beside the name, at the row's right, its menu opening leftwards into the card;
   Free's Upgrade kept in sight, on its own line under the name */
@media (max-width: 600px) {
  .site-row { position: relative; padding-right: 44px; }
  .site-row .grow { flex-basis: calc(100% - 21px); }
  .site-row .site-acts { display: contents; }
  .site-row .st-more { position: absolute; top: 6px; right: 0; }
  .site-row .site-plan { margin-left: 21px; }
}
.st-more > summary.icon-btn { display: inline-grid; }
.st-more .side-menu .st-danger { color: var(--soon); }
.st-more .side-menu .ic { width: 17px; height: 17px; flex: none; }
.st-title { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.st-crown { display: inline-grid; color: var(--later); position: relative; flex: none; }
.st-crown .ic { width: 16px; height: 16px; }
/* a job's group and what fixing it earns, side by side (To-do, the chat's cards) */
.td-tags { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-self: start; }
/* Watching's Deep sniffing card (_deep_panel.html inside home_watching.html): one card, its parts stacked */
.deep-body { display: grid; gap: 12px; margin-top: 12px; }
.deep-body > p { margin: 0; }
/* its dropdowns (and Watching's "Show all"): the folds' own look (the arrow, the green edge on hover), a thin border
   inside the card */
:is(.deep-body, .w-card) details.fold { box-shadow: none; border-color: var(--line); }
:is(.deep-body, .w-card) details.fold:hover, :is(.deep-body, .w-card) details.fold:focus-within {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); }
:is(.deep-body, .w-card) details.fold > :not(summary) { margin: 0 16px 12px; }
:is(.deep-body, .w-card) .fold-words { display: grid; gap: 2px; min-width: 0; }
.deep-body .fold-words small { color: var(--muted); font-size: var(--s-xs); font-weight: 600; }
.deep-waiting { display: grid; gap: 8px; border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.deep-waiting p { margin: 0; }

/* Wordfence Intelligence's credit under a plugin hole's evidence (_vuln_credits.html): its terms ask for it */
.vuln-credits { margin: 8px 0 0; }
.vuln-credits ul { margin: 4px 0 6px; padding-left: 18px; }
.vuln-credits li { margin: 2px 0; }
.vuln-licence { margin: 4px 0; color: var(--ink-2); }
.vuln-licence summary { cursor: pointer; }
.vuln-licence p { margin: 4px 0 0; }

/* Free's locked jobs in the "to fix" fold: one plain line under the open ones, with the way to them (founder 2026-11-16) */
.fold li.locked-rest { list-style: none; color: var(--muted); margin-top: 2px; }

/* remind me later on a To-do card (parked.py): words after Ask Goldie in their own grey, the same hover (deepen and
   glow softly in their own colour); its days in a menu like the ⋯ ones; on a phone, under Ask Goldie (founder 2026-11-17) */
.job-foot { gap: 22px; align-items: center; }
.td-later { display: inline-flex; }
.job-later { padding: 6px 0; font-weight: 700; font-size: var(--s-sm); color: var(--muted); white-space: nowrap;
  transition: color .15s, text-shadow .15s; }
.job-later:hover, .job-later:focus-visible, .td-later[open] > .job-later { color: color-mix(in srgb, var(--muted) 60%, var(--ink));
  text-shadow: 0 0 10px color-mix(in srgb, var(--muted) 45%, transparent); }
.td-later .side-menu .ic .ln { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.td-later .side-menu { top: calc(100% + 4px); left: -10px; min-width: 210px; z-index: 40; transform-origin: top left; }
@media (max-width: 520px) { .job-foot { flex-direction: column; align-items: flex-start; gap: 0; } }
/* open: above the later cards, and above the Done list (each .td-list rises in on its own layer) */
.td-item:has(.td-later[open]), .td-list:has(.td-later[open]) { position: relative; z-index: 40; }
.td-later .side-menu .ic { width: 18px; height: 18px; fill: currentColor; }
.td-later-head { margin: 4px 12px 2px; font-size: var(--s-xs); font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.td-later-day { margin-left: auto; font-weight: 600; color: var(--muted); }
.td-hold-top p { margin: 0; }
