/* =====================================================================
   crestnotch.app, the search pages in the homepage's dark glass (2026-10-24,
   the owner's master plan Part 4.1-4.5). Only pages whose <body> carries the
   class "sg" load it and match it: Scripts/seo_glass.py writes the class, the
   <link> (right after c26-guide.css) and the markup these rules draw (the hero
   card, the pill, the closing card's top row, sg-us on our table column or row,
   sg-bento on bold-lead lists). Frozen pages (experiments) never carry it.
   Every rule starts with .sg main (or .sg-pill) so it wins over each page's own
   <style>, which comes later in the <head>, without !important.
   2026-10-29: redrawn in the final design (colour C Light): grey cards on the white sheet, blue primary and outlined secondary buttons. Was: glass at white 4% with a 10% hairline, 16px corners,
   a blur behind; white primary and glass secondary buttons; the pricing card's
   deep panel (var(--card), 26px corners, a 16% ring) for the closing ask.
   Hashed by Scripts/hash_site_assets.py.
   ===================================================================== */
.sg { --sg-glass: var(--cr-surface); --sg-edge: var(--cr-line); }

/* 4.3 prose stays a comfortable measure (~768px) inside the article */
.sg main article > p:not([class]) { max-width: 768px; }

/* ---------------------------------------------------------------- 4.1 the hero card */
.sg main .sg-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: center;
  margin: var(--cr-s-5) 0 var(--cr-s-6); padding: clamp(16px, 2.4vw, 28px); border-radius: var(--cr-r-lg); background: var(--cr-surface);
  border: 1px solid var(--cr-line-2); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
:is(.sg main, .sg-lead) .sg-shot { margin: 0; min-width: 0; }
.sg main .sg-shot img { width: 100%; height: auto; max-width: none; border-radius: var(--cr-r-sm); }
.sg main .sg-act { min-width: 0; }
.sg main .sg-btns { display: flex; flex-wrap: wrap; gap: var(--cr-s-3); margin: 0; }
.sg main .sg-btns .btn { flex: 1 1 auto; min-height: 48px; justify-content: center; text-decoration: none; white-space: nowrap; }
.sg main .sg-btns .btn-white { background: var(--cr-btn-bg); color: var(--cr-btn-ink); }
.sg main .sg-btns .btn-white:hover { background: var(--cr-btn-hover); }
.sg main .sg-req { margin: var(--cr-s-3) 0 0; max-width: none; font-size: var(--cr-t-micro); line-height: 1.5; color: var(--cr-ink-3); }
/* the hero clip in the kit's Mac frame (.k-mac: a thin bezel, the device-edge ring, the shadow). 2026-12-04: the clip is
   Crest's own UI cut (seo_glass._loop_row) and keeps its own shape (--ar): the box never crops it and never changes
   height while it loads (the poster is the video's own) */
:is(.sg main, .sg-lead) .sg-clip { position: relative; overflow: visible; aspect-ratio: auto; padding: clamp(4px, .7vw, 10px); border-radius: clamp(10px, 1.4vw, 22px);
  background: var(--cr-bg); box-shadow: 0 0 0 1px var(--cr-device-edge), var(--cr-shadow); }
:is(.sg main, .sg-lead) .sg-clip :is(img, video) { position: static; display: block; width: 100%; height: auto; aspect-ratio: var(--ar); max-height: none;
  object-fit: contain; border-radius: clamp(6px, .8vw, 12px); background: var(--cr-bg-2); }
/* 2026-10-25: the poster's fade moves only when motion is welcome (the gate's motion rule). */
@media (prefers-reduced-motion: no-preference) { :is(.sg main, .sg-lead) .sg-clip img { transition: opacity 0.4s ease; } }
:is(.sg main, .sg-lead) .sg-clip.playing img { opacity: 0; }
/* 2026-12-04 (Zack's review item 3): a guide outside the glass look that opened with text only starts with the same
   framed recording right under its lede (Scripts/seo_leadloop.py), at the narrow column's width */
.sg-lead { max-width: var(--cr-wrap-narrow); margin: var(--cr-s-5) 0 var(--cr-s-6); }

/* 2026-10-29: a page's second loop (SGLOOP) closes a section, in the final design's feature block
   (figure.shot: its 16/10 shape is held by c26-guide.css, so nothing moves while it loads) */
.sg main .sg-more { max-width: 768px; margin: 28px 0 32px; }
/* 4.2 the pictures are the app's own renders: no text drawn over them in the hero */
.sg main .sg-hero .lv { display: none; }
/* on a table-first page the card sits right above the table, which is the page's first ask: the card's own edge separates
   them, so the gap under it is --cr-s-4, not --cr-s-6 (2026-12-04: /notchnook-alternatives' table started at 902 on 900) */
.sg main .sg-hero:has(+ .tf-table) { margin-bottom: var(--cr-s-4); }
/* 2026-12-04 (table_first red): a hero over a table plays the UI cut, taller than the whole recording at the same width
   (musicWidgetsUi 1376 x 976), which put /notchnook-alternatives' table at y 920, under the first screen. There the
   picture is no taller than the whole recording was in that column (208px): its width follows from its own shape (--ar), so nothing is
   cropped, and it sits centred in its column. */
.sg main .sg-hero:has(+ .tf-table) .sg-clip { width: min(100%, calc(208px * var(--ar) + 2 * clamp(4px, .7vw, 10px))); margin-inline: auto; }
/* a phone: the picture whole at its own shape (2026-12-04: no more 140px strip, a page never crops a recording), the
   presses share one row when they fit, and the requirement is one small line */
@media (max-width: 760px) {
  .sg main .sg-hero { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 14px; margin: 16px 0 22px; }
  .sg main .sg-btns { gap: 8px; }
  .sg main .sg-btns .btn { padding-left: 12px; padding-right: 12px; font-size: 15px; }
  .sg main .sg-req { margin-top: 8px; font-size: 12.5px; line-height: 1.4; }
}
/* 2026-12-04 (coordinator: content is never covered on arrival; lead's A'): on a phone the pill waits for the hero card
   to leave, so the card's own Buy must be whole on the first screen. The card shows its presses first, then the picture,
   then the requirement line(s): .sg-act steps aside (display: contents) and its parts take their places by CSS order
   only, so the page's own order (picture, presses, requirement) is what a screen reader and the snippet read. A guide
   title of 80 characters or more (Scripts/seo_glass.py LONG_TITLE, which marks the card) takes the kit's h3 role here.
   The article starts var(--cr-s-5) (24px) under the bar, not c26.css's 40px floor: the hero plays the agents' UI cuts
   (taller than the whole recordings), and on google-authenticator-mac the first loop fell to 42% on arrival, under the
   45% c26.js plays it at; 24px brings it to about 49%. Same selector as c26.css's rule; this file loads after it. */
@media (max-width: 600px) {
  body.s26.sg:not([data-page="stage"]) main { padding-top: var(--cr-s-5); }
  /* 2026-12-04 (auth_banner_brew, the coordinator): while the news pill is docked under the bar (authbar.js sets
     html.authbar-on; the kit draws it absolute, 6px under the bar, about 34px tall), the article starts var(--cr-s-6)
     under the bar (38px: the first line, 6px higher on table-first heads, clears the pill, 34px tall, 6px under the
     bar), and the hero card gives the 14px back so the first loop sits where it did (stop-claude's 14% pin): its top
     margin goes to -6px, which collapses with the lede's 14px into an 8px gap (a 0 margin only saved 2px), and its
     top padding to 8px. Dismissed, the article starts at var(--cr-s-5) as above. */
  html.authbar-on body.s26.sg:not([data-page="stage"]) main { padding-top: 38px; }
  html.authbar-on .sg main .sg-hero { margin-top: -6px; padding-top: var(--cr-s-2); }
  .sg main .sg-act { display: contents; }
  .sg main .sg-hero .sg-btns { order: -1; }
  .sg main .sg-hero .sg-req { order: 1; margin-top: 0; }
  body.s26.sg:not([data-page="stage"]) main:has(.sg-hero[data-title="long"]) h1:not(.sr-only) { font-size: var(--cr-t-h3); line-height: 1.14; letter-spacing: -.015em; }
}

/* ---------------------------------------------------------------- 4.3 step cards */
.sg main ol.steps { list-style: none; counter-reset: sgstep; display: grid; gap: 12px; margin: 18px 0 22px; padding: 0;
  background: none; border: 0; border-radius: 0; overflow: visible; }
.sg main ol.steps > li { counter-increment: sgstep; position: relative; padding: 22px 26px 22px 76px; border-radius: var(--cr-r-lg);
  background: var(--sg-glass); box-shadow: inset 0 0 0 1px var(--sg-edge); font-size: 15px; color: var(--t2); }
.sg main ol.steps > li::before { content: counter(sgstep); position: absolute; left: 24px; top: 20px; width: 36px; height: 36px;
  display: grid; place-items: center; border-radius: 50%; font: 700 1rem/1 var(--cr-f-num); letter-spacing: 0; color: var(--cr-btn-ink);
  background: var(--cr-btn-bg); }

/* ---------------------------------------------------------------- 4.3 bento lists */
.sg main ul.sg-bento { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0 22px; padding: 0; max-width: none; }
.sg main ul.sg-bento > li { margin: 0; padding: 18px 20px; border-radius: var(--cr-r-md); background: var(--sg-glass); box-shadow: inset 0 0 0 1px var(--sg-edge);
  font-size: 14.5px; line-height: 1.5; color: var(--t2); }
.sg main ul.sg-bento > li::before { content: none; }
.sg main ul.sg-bento > li > :is(strong, b):first-child { display: block; margin: 0 0 6px; font: 650 16px/1.3 var(--display); letter-spacing: -0.012em; color: var(--t1); }
/* a phone: one column of slim cards, the bold lead inline, so a list costs about what it did as bullets */
@media (max-width: 640px) {
  .sg main ul.sg-bento { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .sg main ul.sg-bento > li { padding: 10px 14px; font-size: 14.5px; border-radius: var(--cr-r-md); }
  .sg main ul.sg-bento > li > :is(strong, b):first-child { display: inline; margin: 0; font: inherit; font-weight: 650; }
}

/* ---------------------------------------------------------------- 4.4 tables in glass */
.sg main :is(.tblwrap, .tablecard) { border: 0; border-radius: var(--cr-r-md); background: var(--sg-glass); box-shadow: inset 0 0 0 1px var(--sg-edge);
  -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); }
.sg main :is(.tblwrap, .tablecard) thead th { background: var(--cr-surface); }
/* our column (the vs pages) */
.sg main th.sg-us, .sg main td.sg-us { background: color-mix(in srgb, var(--cr-accent) 10%, transparent);
  box-shadow: inset 1px 0 0 color-mix(in srgb, var(--cr-accent) 48%, transparent), inset -1px 0 0 color-mix(in srgb, var(--cr-accent) 48%, transparent); }
.sg main th.sg-us { color: var(--ink); box-shadow: inset 1px 0 0 color-mix(in srgb, var(--cr-accent) 48%, transparent), inset -1px 0 0 color-mix(in srgb, var(--cr-accent) 48%, transparent), inset 0 1px 0 color-mix(in srgb, var(--cr-accent) 48%, transparent); }
.sg main tr:last-child > td.sg-us { box-shadow: inset 1px 0 0 color-mix(in srgb, var(--cr-accent) 48%, transparent), inset -1px 0 0 color-mix(in srgb, var(--cr-accent) 48%, transparent), inset 0 -1px 0 color-mix(in srgb, var(--cr-accent) 48%, transparent); }
/* our row (the app lists) */
.sg main tr.sg-us > td { background: color-mix(in srgb, var(--cr-accent) 10%, transparent); box-shadow: inset 0 1px 0 color-mix(in srgb, var(--cr-accent) 48%, transparent), inset 0 -1px 0 color-mix(in srgb, var(--cr-accent) 48%, transparent); }
.sg main tr.sg-us > td:first-child { box-shadow: inset 0 1px 0 color-mix(in srgb, var(--cr-accent) 48%, transparent), inset 0 -1px 0 color-mix(in srgb, var(--cr-accent) 48%, transparent), inset 1px 0 0 color-mix(in srgb, var(--cr-accent) 48%, transparent); color: var(--ink); font-weight: 650; }
.sg main tr.sg-us > td:last-child { box-shadow: inset 0 1px 0 color-mix(in srgb, var(--cr-accent) 48%, transparent), inset 0 -1px 0 color-mix(in srgb, var(--cr-accent) 48%, transparent), inset -1px 0 0 color-mix(in srgb, var(--cr-accent) 48%, transparent); }
/* the badge: drawn by CSS, so a search snippet never quotes it */
.sg main :is(th.sg-us, tr.sg-us > td:first-child)::after { content: "#1 Pick \00B7  Best Value"; display: block; width: max-content; margin: 6px 0 0;
  padding: 3px 8px; border-radius: 999px; font: 650 10.5px/1.2 var(--sans); letter-spacing: 0.02em; text-transform: none; white-space: nowrap;
  color: var(--cr-accent); background: color-mix(in srgb, var(--cr-accent) 19%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cr-accent) 56%, transparent), 0 0 14px color-mix(in srgb, var(--cr-accent) 40%, transparent); }
/* green checks in our cells */
.sg main :is(td.sg-us, tr.sg-us > td) :is(svg.ck, .mk.y) { color: var(--cr-accent); }

/* ---------------------------------------------------------------- 4.5 the closing card */
.sg main .endcta { padding: 30px 28px; border: 0; border-radius: 26px; text-align: left; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--cr-line); }
.sg main .endcta .sg-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; font: 700 19px/1.2 var(--display); color: var(--t1); }
.sg main .endcta .sg-top .tag { margin: 0; vertical-align: 0; font-size: 12px; letter-spacing: 0.02em; text-transform: none; }
.sg main .endcta h2 { margin: 0 0 10px; font: 750 clamp(26px, 3.4vw, 34px)/1.08 var(--display); letter-spacing: -0.03em; }
.sg main .endcta p { max-width: 640px; margin: 0 0 20px; }
.sg main .endcta .btn { margin: 0 8px 8px 0; min-height: 48px; }
.sg main .endcta .fine { margin: 10px 0 0; }

/* ---------------------------------------------------------------- 10 the topic block (2026-12-01): what Crest does for this page's question, before the closing card */
/* the topic block ("Where Crest fits", SGTOPIC, 2026-12-01) in the review build's kit (2026-12-04, lane 1): the card
   (surface, line, r-lg, 26px), the eyebrow with its accent dot, the head on t-h3, the words in ink-2, the link .link with
   its chevron; the guide's section-head rule (a top rule, padding) is not for a head inside a card */
.sg main .sgtopic { margin: var(--cr-s-8) 0 0; padding: 26px; border-radius: var(--cr-r-lg); background: var(--cr-surface); border: 1px solid var(--cr-line); box-shadow: none; }
.sg main .sgtopic + .endcta { margin-top: var(--cr-s-4); }
.sg main .sgtopic .sgtopic-k { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 600 var(--cr-t-small)/1.3 var(--cr-f-text); letter-spacing: .01em; text-transform: none; color: var(--cr-ink-2); }
.sg main .sgtopic .sgtopic-k::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cr-accent); }
.sg main .sgtopic .sgtopic-h { margin: 0 0 10px; padding: 0; border: 0; font: 650 var(--cr-t-h3)/1.14 var(--cr-f-display); letter-spacing: -.015em; color: var(--cr-ink); }
.sg main .sgtopic p { max-width: 640px; margin: 0 0 16px; color: var(--cr-ink-2); }
.sg main .sgtopic .sgtopic-go { display: inline-flex; align-items: center; gap: 4px; color: var(--cr-link); font-weight: 500; text-decoration: none; }
.sg main .sgtopic .sgtopic-go::after { content: "\203A"; font-size: 1.15em; line-height: 1; }
@media (prefers-reduced-motion: no-preference) { .sg main .sgtopic .sgtopic-go::after { transition: transform var(--cr-d-fast) var(--cr-ease); } }
.sg main .sgtopic .sgtopic-go:hover::after { transform: translateX(3px); }

/* ---------------------------------------------------------------- 4.5 the floating pill */
.sg-pill { position: fixed; z-index: 80; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 8px;
  width: max-content; max-width: calc(100vw - 24px); padding: 7px 7px 7px 18px; border-radius: 999px;
  background: var(--cr-surface); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 0 0 1px var(--cr-line), 0 12px 40px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  transform: translate(-50%, calc(100% + 24px)); opacity: 0; visibility: hidden; }
.sg-pill.on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: no-preference) {
  .sg-pill { transition: transform 0.35s var(--ease-out), opacity 0.25s ease, visibility 0s linear 0.35s; }
  .sg-pill.on { transition: transform 0.35s var(--ease-out), opacity 0.25s ease, visibility 0s; }
}
.sg-pill .sg-pill-t { margin: 0 6px 0 0; min-width: 0; font-size: 14px; line-height: 1.25; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-pill .sg-pill-t b { color: var(--t1); font-weight: 650; margin-right: 8px; }
.sg-pill .btn { --bh: 40px; flex: none; min-height: 44px; padding: 0 16px; font-size: 14.5px; text-decoration: none; }
.sg-pill .btn-white { background: var(--btn-bg); color: var(--btn-ink); }
.sg-pill .sg-x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -2px; border-radius: 50%; color: var(--t2); }
.sg-pill .sg-x:hover { color: var(--ink); background: var(--cr-surface-2); }
/* the page's last lines are never left under the pill */
body.sg main { padding-bottom: 76px; }
@media (max-width: 900px) { .sg-pill .sg-pill-t span { display: none; } }
/* our row on a phone: the cells stack, so the row is tinted without the edge lines */
@media (max-width: 720px) {
  .sg main tr.sg-us > td, .sg main tr.sg-us > td:is(:first-child, :last-child) { box-shadow: none; }
  /* the badge sits beside the name, not under it, so the stacked table grows no taller */
  .sg main :is(th.sg-us, tr.sg-us > td:first-child)::after { display: inline-block; margin: 0 0 0 8px; vertical-align: 1px; }
}
@media (max-width: 520px) {
  .sg-pill { left: 12px; right: 12px; width: auto; max-width: none; padding-left: 14px; transform: translate(0, calc(100% + 24px)); }
  .sg-pill.on { transform: none; }
  .sg-pill:not(.sg-pill-2) { gap: 6px; }

  /* the name wraps to a second line on a narrow phone rather than being cut to "Cres..." */
  body.sg main .sg-pill:not(.sg-pill-2) .sg-pill-t { flex: 1 1 auto; margin: 0; font-size: 13.5px; line-height: 1.2; white-space: normal; text-overflow: clip; }
  .sg-pill .sg-pill-t b { margin: 0; }
  /* "body.sg main": the guide shell's ".s26[data-shell] main .btn" (padding 20px, 16px type) outranked ".sg-pill .btn",
     so on a phone the presses kept their full size and the name was cut to "Cres..." (2026-11-11) */
  body.sg main .sg-pill .btn { padding: 0 12px; font-size: 14px; }
  /* Take and Minutes: their Buy says "All three apps", so the name and what it needs
     (Minutes: macOS 26) take a line of their own above the presses */
  .sg-pill-2 { flex-wrap: wrap; border-radius: 22px; padding: 10px 6px 8px 14px; row-gap: 6px; }
  .sg-pill-2 .sg-pill-t { flex: 1 0 100%; margin: 0; white-space: normal; font-size: 13px; }
  .sg-pill-2 .sg-pill-t span { display: inline; }
  .sg-pill-2 .sg-pill-t b { margin-right: 6px; }
  body.sg main .sg-pill-2 .btn { flex: 1 1 auto; }
}

/* ---------------------------------------------------------------- the live ask demo (Scripts/seo_askdemo.py)
   Moved here from /claude-code-notch's own <style> on 2026-12-04, when the agent guides got it too (Zack's review items
   5 to 8); the page had --amber-live and --ease, which nothing defined, so the waiting line and Run it again are the
   kit's --cr-warn now. */
/* the live approval demo (2026-09-25): the real notch prompt, rebuilt in HTML
   from the shipped UI (DeveloperView + ApprovalDetailView), answering a small
   Claude Code terminal. Colours are the app's: black notch, #F5B041 Allow. */
.ccdemo{margin:26px 0 18px;border-radius:18px;background:var(--cr-surface-2);overflow:hidden;
    box-shadow:0 1px 0 var(--cr-line) inset,0 24px 60px -30px var(--cr-line)}
.ccdemo-screen{position:relative;padding:0 18px 22px}
.ccdemo-notch{position:relative;z-index:2;margin:0 auto;max-width:560px;background:#000;
    border-radius:0 0 26px 26px;padding:0 16px 6px;transition:transform .35s var(--cr-ease,ease),opacity .25s,border-radius .3s}
/* 2026-12-05 (scroll CLS): opening adds 8px under the notch's row (padding 6 to 14), and the nudge opens it with no press,
   which moved everything under the demo. Open, a -8px margin takes them back (it adds to the terminal's own margin
   whatever that is, where a positive closed margin collapsed into it), so the screen's height never changes. */
.ccdemo.is-open .ccdemo-notch{border-radius:0 0 28px 28px;padding-bottom:14px;margin-bottom:-8px}
.ccdemo.is-answered .ccdemo-notch{transform:translateY(-100%);opacity:0;pointer-events:none}
/* Crest 6 (2026-09-30): the pill is the island itself, orb, name and command;
   open, it becomes the allow sheet's header and the sheet carries Deny and Allow. */
.ccdemo-pill{display:flex;align-items:center;min-height:40px}
.ccdemo-lead{flex:1;min-width:0;display:flex;align-items:center;gap:9px;background:none;border:0;
    padding:0;cursor:pointer;color:var(--cr-ink);font-family:inherit;font-size:15px;font-weight:600;line-height:1.2;text-align:left}
.ccdemo-lead:focus-visible{outline:2px solid var(--cr-line-2);outline-offset:3px;border-radius:8px}
.ccdemo-orb{width:20px;height:20px;border-radius:50%;flex:none;background:radial-gradient(circle at 35% 30%,var(--cr-warn),var(--cr-bad) 55%,var(--cr-bad))}
.ccdemo-lead-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ccdemo-repo{color:var(--cr-ink-3);font-weight:500;display:none}
.ccdemo-cmd{margin-left:auto;font-family:var(--mono);font-size:13px;font-weight:500;color:var(--cr-ink);background:var(--cr-surface-2);
    border-radius:8px;padding:4px 9px;white-space:nowrap}
.ccdemo-asks{margin-left:auto;font-size:13px;font-weight:500;color:var(--cr-ink-3);display:none}
.ccdemo.is-open .ccdemo-repo,.ccdemo.is-open .ccdemo-asks{display:inline}
.ccdemo.is-open .ccdemo-cmd{display:none}
/* 2026-12-05 (the lead's vitals A/B: CLS while scrolling 0.19 on /best-notch-apps-for-ai-agents): the nudge opens the sheet
   with no press, and a growing row moved everything under the demo. The sheet's row is always reserved; opening fades it in. */
.ccdemo-sheet{display:grid;grid-template-rows:1fr}
.ccdemo-sheet-in{opacity:0;visibility:hidden;transition:opacity .3s var(--cr-ease,ease),visibility .3s}
.ccdemo.is-open .ccdemo-sheet-in{opacity:1;visibility:visible}
.ccdemo-sheet-in{overflow:hidden}
.ccdemo-sheet-box{padding:6px 0 0}
.ccdemo-code{font-family:var(--mono);font-size:14px;color:var(--cr-ink);background:var(--cr-bg-2);border-radius:12px;padding:11px 14px;margin-bottom:10px}
.ccdemo-prompt{color:var(--cr-ink-2)}
.ccdemo-why{font-size:13px;color:var(--cr-ink-2);margin:0 0 6px}
.ccdemo-meta{display:flex;justify-content:space-between;gap:10px;font-size:12.5px;color:var(--cr-ink-3);margin-bottom:12px}
.ccdemo-row{display:flex;align-items:center;gap:8px}
.ccdemo-session{flex:1;min-width:0;display:flex;align-items:center;gap:9px;font-size:13px;color:var(--cr-ink-2)}
.ccdemo-switch{width:30px;height:18px;border-radius:999px;background:var(--cr-surface-2);position:relative;flex:none}
.ccdemo-switch::after{content:"";position:absolute;left:2px;top:2px;width:14px;height:14px;border-radius:50%;background:var(--cr-surface)}
.ccdemo-deny,.ccdemo-allow{flex:none;font-family:inherit;font-size:14px;font-weight:600;line-height:1;border-radius:999px;
    border:0;padding:9px 16px;cursor:pointer}
.ccdemo-deny{background:var(--cr-surface-2);color:var(--cr-ink)}
.ccdemo-deny:hover{background:var(--cr-surface-2)}
.ccdemo-allow{background:var(--cr-surface);color:var(--cr-ink)}
.ccdemo-allow:hover{background:var(--cr-surface-2)}
.ccdemo-deny:focus-visible,.ccdemo-allow:focus-visible{outline:2px solid var(--cr-line-2);outline-offset:2px}
@media(max-width:520px){.ccdemo-session{display:none}.ccdemo-meta span:last-child{display:none}}
.ccdemo-term{position:relative;z-index:1;max-width:620px;margin:18px auto 0;background:var(--cr-bg-2);
    border:1px solid var(--cr-line);border-radius:12px;overflow:hidden}
.ccdemo.is-answered .ccdemo-term{margin-top:-28px;transition:margin-top .35s var(--cr-ease,ease)}
.ccdemo-bar{display:flex;align-items:center;gap:7px;padding:9px 12px;border-bottom:1px solid var(--cr-line);
    font-size:11.5px;color:var(--cr-ink-2)}
.ccdemo-bar i{width:10px;height:10px;border-radius:50%;background:var(--cr-surface-3);display:block}
.ccdemo-bar span{margin-left:8px;font-family:var(--mono)}
.ccdemo-log{font-family:var(--mono);font-size:12.5px;line-height:1.7;color:var(--cr-ink);padding:12px 16px 14px;
    margin:0;min-height:118px;white-space:pre-wrap}
.ccdemo-log .me{color:var(--cr-ink-3)}
.ccdemo-log .wait{color:var(--cr-warn)}
.ccdemo-log .ok{color:var(--cr-good)}
.ccdemo-log .no{color:var(--cr-bad)}
.ccdemo-log .wait::after{content:"";display:inline-block;width:7px;height:1em;margin-left:3px;
    vertical-align:-2px;background:currentColor;animation:ccblink 1s steps(1) infinite}
@keyframes ccblink{50%{opacity:0}}
.ccdemo-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;
    padding:12px 18px;border-top:1px solid var(--cr-line);font-size:12.5px;color:var(--cr-ink-3)}
.ccdemo-foot p{margin:0;font-size:12.5px;color:var(--cr-ink-3)}
.ccdemo-foot a{color:var(--cr-ink) !important;text-decoration-color:var(--cr-line-2) !important}
.ccdemo-replay{background:none;border:0;padding:0;color:var(--cr-warn);font-family:inherit;
    font-size:12.5px;font-weight:600;line-height:1;cursor:pointer}
.ccdemo-replay[hidden]{display:none}
html:not(.js) .ccdemo-deny,html:not(.js) .ccdemo-allow,html:not(.js) .ccdemo-lead{pointer-events:none}
html:not(.js) .ccdemo-hint{display:none}
.ccdemo.is-answered .ccdemo-hint{display:none}
@media (max-width:560px){
  .ccdemo-screen{padding:0 8px 14px}
  .ccdemo-notch{padding:0 12px 6px}
  .ccdemo-lead{font-size:14px;gap:8px}
  .ccdemo-code{font-size:12.5px}
  .ccdemo-row{justify-content:flex-end}
  .ccdemo-deny,.ccdemo-allow{font-size:13px;padding:8px 14px}
  .ccdemo-log{font-size:11.5px;padding:10px 12px 12px}
}
@media (max-width:360px){
  .ccdemo-lead-text{white-space:normal;line-height:1.3;padding:6px 0}
}
@media (prefers-reduced-motion:reduce){
  .ccdemo-notch,.ccdemo-sheet,.ccdemo.is-answered .ccdemo-term{transition:none}
  .ccdemo-log .wait::after{animation:none}
}
/* 2026-12-04 (Zack's review item 6: he only found out it was live by pressing it): it looks like something to press.
   A "Try it" badge on the prompt itself; a ring on the prompt, then on Deny and Allow once the sheet is open, until the
   first press (.is-touched); hover states. The ring pulses only when motion is welcome; under Reduce Motion it is still. */
.ccdemo-try{flex:none;margin-left:2px;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:600;line-height:1.2;
    color:var(--cr-btn-ink);background:var(--cr-accent)}
.ccdemo.is-open .ccdemo-try,.ccdemo.is-answered .ccdemo-try,.ccdemo.is-touched .ccdemo-try{display:none}
.ccdemo-lead:hover .ccdemo-cmd{background:var(--cr-surface-3)}
.ccdemo-allow:hover{background:var(--cr-accent);color:var(--cr-btn-ink)}
.ccdemo-deny:hover{background:var(--cr-surface-3)}
.ccdemo:not(.is-touched):not(.is-open):not(.is-answered) .ccdemo-notch,
.ccdemo.is-open:not(.is-touched) :is(.ccdemo-allow,.ccdemo-deny){box-shadow:0 0 0 2px color-mix(in srgb,var(--cr-accent) 70%,transparent)}
@media (prefers-reduced-motion:no-preference){
  .ccdemo:not(.is-touched):not(.is-open):not(.is-answered) .ccdemo-notch,
  .ccdemo.is-open:not(.is-touched) :is(.ccdemo-allow,.ccdemo-deny){animation:ccring 1.8s ease-out infinite}
  @keyframes ccring{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--cr-accent) 70%,transparent)}
    70%{box-shadow:0 0 0 12px transparent}100%{box-shadow:0 0 0 0 transparent}}
}
/* the Codex ask, as Crest shows it: a blue orb (the agents recording, 2 s to 11.5 s) */
.ccdemo-codex .ccdemo-orb{background:radial-gradient(circle at 35% 30%,color-mix(in srgb,var(--cr-accent) 35%,var(--cr-ink)),var(--cr-accent) 60%,var(--cr-accent))}
/* 2026-12-05 (auth_banner_brew at 360): the docked pill wraps to two lines on the narrowest phones (bottom 106), so the
   article starts 16px lower there (after the 600px rule above, so it wins) */
@media (max-width: 380px) {
  html.authbar-on body.s26.sg:not([data-page="stage"]) main { padding-top: calc(var(--cr-s-5) + var(--cr-s-6)); }
}
