/* The site's look: "Mirror" (5 Dec 2026, the owner's pick of design/landing-variations-2026-12-04/22-saancho-mirror),
   replacing "Lokta" (19 Nov). Light only. Notes: design/site-migration-2026-12-05/THEME.md.
   Rules:
   - sand (--paper) is the canvas. White (--sheet) is for text only: a text someone wrote, checked or rewrote sits on a
     white sheet; everything else sits on sand, cobalt or ink, split by space and hairlines, never boxed in cards;
   - cobalt (--cobalt) means "yours": the field around the box where you paste, and the big fields that echo it. Text
     on cobalt is white or --cobalt-l; focus on cobalt is the yellow --focus-on-cobalt, elsewhere cobalt;
   - ink (--ink, via --brand) fills the one main action on a screen (Check, Rewrite, Sign up). Quiet actions are text
     with an icon, or an outline (--control-edge, 3:1 on every surface). Links are ink, underlined;
   - vermilion (--ai) means "reads as AI" and nothing else: no red errors, no red headings. Teal (--human) means "reads
     as human", slate (--unclear) "can't tell". In charts our model is cobalt and other tools are warm grey;
   - corners: slight, 6px on controls and sheets; round only for number badges, dots and the lens. No pills, no soft
     cards, no gradients, no glow, no shadow on sand (a sheet on cobalt casts one deep, soft shadow);
   - no small all-caps labels above headings (eyebrows), no full stop at the end of a heading, no highlighted word in a
     headline;
   - type: Epilogue for the interface, headings and numbers; Lora for the text being checked and for long reading.
     Devanagari falls back to Mukta (interface), Eczar (headings) and Noto Serif Devanagari (reading). Sizes 13 / 15 / 16
     / 18 / 22 / 28-40 / 32-48 and 52 for result numbers; weights 400 to 800. Reading widths are set by counting
     characters (see --measure), not in ch;
   - motion: one authored moment per page (the home page's lens; a result's marks sweeping in). State changes take
     150 to 300ms and ease out; nothing bounces; everything stops under prefers-reduced-motion. */
:root {
  --paper: #f3efe7;          /* warm sand paper: the canvas */
  --paper-2: #eae4d8;        /* a quiet fill on sand: bands, hover, the file row, code */
  --sheet: #ffffff;          /* a page of text */
  --ink: #17182a;
  --ink-2: #45465a;
  --ink-3: #686979;          /* 4.7:1 on sand; on --paper-2 use --ink-2 for small text */
  --line: #e3ded3;
  --line-strong: #cfc8ba;
  --control-edge: #807e8b;   /* outline of quiet buttons and fields: 3:1 on sand, white and the tints */
  --cobalt: #2a45c4;         /* yours */
  --cobalt-d: #1e3399;
  --cobalt-l: #dde3ff;       /* text on cobalt, and a light cobalt tint */
  --cobalt-soft: #eef1fc;    /* notes and messages */
  --focus: #2a45c4;
  --focus-on-cobalt: #ffc94a;
  --brand: #17182a;          /* the one main action: ink */
  --brand-hover: #1e3399;
  --brand-edge: #17182a;
  --brand-ink: #ffffff;
  --brand-soft: #eef1fc;
  --ai: #c9341c;             /* vermilion: reads as AI */
  --ai-ink: #a72914;
  --ai-soft: #fbd5c9;        /* the mark's wash */
  --ai-faint: #fdeae3;
  --human: #0f7b72;          /* teal: reads as human */
  --human-ink: #0b6a62;
  --human-soft: #dcefec;
  --unclear: #7d7f95;
  --unclear-ink: #4a4c63;
  --unclear-soft: #ebebf1;
  --monal: #2a45c4;          /* our own models in charts (the old name stays so every page follows) */
  --monal-soft: #b9c2ea;
  --other: #9a9488;          /* other tools in charts */
  --error: #17182a;          /* messages are ink on a cobalt note, never red */
  --r: 6px;                  /* controls */
  --r-sheet: 6px;            /* sheets and panels */
  --shadow-sheet: 0 1px 2px rgba(23, 24, 42, .05), 0 3px 8px -4px rgba(23, 24, 42, .1);
  --shadow-cobalt: 0 1px 0 rgba(0, 0, 0, .05), 0 28px 50px -30px rgba(6, 10, 60, .75);
  --font-display: "Epilogue", "Eczar", "Mukta", system-ui, sans-serif;
  --font-text: "Epilogue", "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-read: "Lora", "Noto Serif Devanagari", Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: 16px;            /* the page's side margin; the content is at most 1240px wide with it */
  --edge: max(var(--gutter), calc(50vw - 620px + var(--gutter)));   /* where content starts in a full-bleed band */
  color-scheme: light;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--font-text); -webkit-font-smoothing: antialiased;
  font-kerning: normal; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--control-edge); }
a:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
[tabindex="-1"]:focus { outline: none; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.small { font-size: 13px; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { display: none; }
.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
kbd { font: 12px/1 ui-monospace, Menlo, monospace; border: 1px solid var(--line-strong); border-radius: 4px; padding: 2px 5px; color: var(--ink-2); background: var(--sheet); }
[hidden] { display: none !important; }

/* ---------- header: on sand, a hairline below; the brand is a plain wordmark (the name is still to be chosen) */
.top { position: relative; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--ink); }
.brand span { font: 800 22px/1 var(--font-display); letter-spacing: -0.035em; }
.brand-mark { display: block; width: 30px; height: 30px; border-radius: 7px; flex: none; }   /* the mark beside the name (owner, 6 Dec 2026) */
.brand:hover { text-decoration: none; }
.top nav { margin-left: auto; display: flex; gap: 26px; align-self: stretch; }
.top nav a { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 24px; text-decoration: none; color: var(--ink-2);
  font-weight: 500; font-size: 15.5px; }
.top nav a:hover { color: var(--ink); }
.top nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.top nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0);
  transform-origin: left; transition: transform 200ms var(--ease); }
.top nav a:hover::after { transform: scaleX(1); background: var(--ink-3); }
.top nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--ink); }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: 6px; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
  background: none; border: 1px solid var(--control-edge); border-radius: var(--r); min-height: 40px; padding: 0 12px; cursor: pointer; }
.menu-btn:hover { border-color: var(--ink); }
.menu-btn:active { transform: translateY(1px); }

/* ---------- type */
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
h1, h2 { font-weight: 700; letter-spacing: -0.025em; }
h3 { font: 700 17px/1.35 var(--font-text); letter-spacing: -0.01em; }
/* one title size on every page (change it here only); headlines on the home and checker pages are set in .mirror */
h1 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -0.03em; max-width: none; }   /* titles use the full width (owner, 6 Dec 2026) */
:lang(hi) h1, h1:lang(hi), :lang(hi) h2 { line-height: 1.3; letter-spacing: 0; }
/* a word in a headline is never highlighted (round-1 review); the old marked words read as plain text */
h1 .hl { background: none; text-decoration: none; padding: 0; }
.lead { font: 400 19px/1.55 var(--font-read); color: var(--ink-2); margin: 14px 0 0; max-width: 34em; }
.hero { padding: 40px 0 26px; }

/* ---------- buttons: one shape. The main action is ink; a quiet one is an outline */
.btn { font: inherit; font-size: 15.5px; font-weight: 600; line-height: 1.1; border-radius: var(--r); padding: 0 16px; min-height: 44px; display: inline-flex;
  align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; text-align: center;
  border: 1px solid var(--control-edge); background: transparent; color: var(--ink);
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), transform 120ms var(--ease); }
.btn:hover { border-color: var(--ink); background: rgba(23, 24, 42, .045); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); border-color: var(--brand-edge); color: var(--brand-ink); padding: 0 22px; }
@media (hover: hover) { .btn.primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); } }   /* a tap leaves no hover colour */
.btn[disabled] { opacity: .6; cursor: progress; }
.btn[disabled]:not(.primary) { cursor: default; opacity: .5; }
.btn.primary[disabled] { opacity: 1; background: #6e6f80; border-color: #6e6f80; }
.error { margin: 0 16px 12px; padding: 12px 14px; border-radius: var(--r); background: var(--cobalt-soft); color: var(--ink); font-size: 15.5px;
  line-height: 1.5; font-weight: 500; }
.error a { color: var(--cobalt-d); font-weight: 600; }

/* =====================================================================================================================
   The checker: "the mirror" (5 Dec 2026). On cobalt, the headline and the visitor's own white sheet with one ink Check;
   on sand beside it, the Example: a real result of the mixed sample, its bar level with Check (press here, get this).
   Rows are shared through a subgrid, so the two sheets start and end level. Markup: site/src/components/Checker.astro.
   ===================================================================================================================== */
.mirror { --gap: clamp(28px, 4vw, 56px); --sheet-h: 468px; position: relative; display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto; }
/* the cobalt half is the left cells' own background: they stretch to fill their rows, so it runs unbroken */
.m-head, .m-sheet, .m-under { grid-column: 1; padding-left: var(--edge); padding-right: var(--gap); color: #fff; background: var(--cobalt); }
.m-head { grid-row: 1; padding-top: clamp(36px, 4.4vw, 60px); padding-bottom: 26px; display: flex; flex-direction: column; justify-content: flex-end; }
.m-sheet { grid-row: 2; }
.m-under { grid-row: 3; padding-top: 18px; padding-bottom: clamp(48px, 6vw, 84px); }
.mirror h1 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -0.03em; max-width: none; color: #fff; text-wrap: balance; }   /* the column's full width, even lines (owner, 6 Dec 2026) */
.mirror h1.long, .tool .mirror h1 { max-width: none; font-size: clamp(30px, 3.1vw, 42px); }
.m-sub { margin: 12px 0 0; font-weight: 500; font-size: 17px; line-height: 1.5; color: var(--cobalt-l); max-width: 40em; }
.m-sub a { color: #fff; }
.mirror :focus-visible { outline-color: var(--focus); }
.m-head :focus-visible, .m-sheet :focus-visible, .m-under :focus-visible { outline-color: var(--focus-on-cobalt); }
.input-card :focus-visible { outline-color: var(--focus); }
.m-head a, .m-under a { color: #fff; text-decoration-color: rgba(255, 255, 255, .6); }
.m-head a:hover, .m-under a:hover { text-decoration-color: #fff; }
::selection { background: rgba(42, 69, 196, .22); color: var(--ink); }
.m-head ::selection, .m-under ::selection { background: #fff; color: var(--cobalt-d); }

/* the visitor's sheet: white, one deep soft shadow on cobalt; a yellow ring while you type. The Humanizer reuses the
   sheet's parts (.input-card, .tabs, .drop, .input-bar) on sand; humanizer.css lays them out there. */
.input-card { position: relative; background: var(--sheet); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-sheet); }
.input-card:focus-within { border-color: var(--control-edge); }
.input-card.drag-over { border-color: var(--cobalt); box-shadow: 0 0 0 2px var(--cobalt); }
.mirror .input-card { border: 0; box-shadow: var(--shadow-cobalt); height: var(--sheet-h); display: flex; flex-direction: column; }
.mirror .input-card:has(textarea:focus, input[type="url"]:focus) { outline: 3px solid var(--focus-on-cobalt); outline-offset: 5px; }
.mirror .input-card.drag-over { box-shadow: var(--shadow-cobalt); outline: 3px dashed var(--focus-on-cobalt); outline-offset: 5px; }
.mirror #form { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.mirror #p-text, .mirror #p-file, .mirror #p-url { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.s-label { display: block; margin: 0; padding: 18px 24px 4px; font: 600 15px/1.3 var(--font-text); color: var(--ink-2); }
textarea, input[type="url"] { width: 100%; color: var(--ink); }
textarea { font: 400 18px/1.6 var(--font-read); resize: vertical; display: block; border: 0; background: none; padding: 16px 22px; }
textarea:focus { outline: none; }
.mirror #text { flex: 1; min-height: 0; resize: none; padding: 20px 24px 14px; }
.mirror #text::placeholder { color: #5e5f70; font: 500 23px/1.4 var(--font-text); letter-spacing: -0.01em; opacity: 1; }
textarea::placeholder, input::placeholder { color: #5e5f70; opacity: 1; }
input[type="url"] { font: inherit; font-size: 17px; min-height: 52px; padding: 10px 14px; background: var(--sheet); border: 1px solid var(--control-edge);
  border-radius: var(--r); }
input[type="url"]:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 1px var(--cobalt); }
.mirror #p-url, .mirror #p-file { padding: 20px 24px 16px; }
.mirror #p-url .s-label, .mirror #p-file .s-label { padding: 0 0 8px; }
.mirror .ck-tabs { flex: none; padding: 0 24px; }
.field-label { display: block; font-size: 15px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
.hint { margin: 10px 2px 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); max-width: 36em; }
/* the file view: what it reads, then the file it will check (app.js draws the row) */
.drop { position: relative; min-height: 200px; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; padding: 28px;
  border: 1.5px dashed var(--line-strong); border-radius: var(--r); background: var(--paper); color: var(--ink-2);
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease); }
.drop p { margin: 0; }
.drop .big-ic { color: var(--ink-3); margin-bottom: 2px; }
.drop .big-ic .icon { width: 28px; height: 28px; }
.drop.over { border-color: var(--cobalt); background: var(--cobalt-soft); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop label { color: var(--cobalt-d); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 600; }
.drop:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.mirror .drop { flex: 1; min-height: 120px; font-size: 15.5px; line-height: 1.5; }   /* the File tab: a real drop area (6 Dec 2026) */
.mirror #file-picked:empty { display: none; }
.file-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin-top: 12px; border-radius: var(--r); background: var(--paper);
  border: 1px solid var(--line); }
.file-row .icon { color: var(--cobalt); }
.file-row .name { font-weight: 600; overflow-wrap: anywhere; }
.file-row .size { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.file-row button { margin-left: auto; background: none; border: 0; font: inherit; font-size: 14px; color: var(--ink-2); text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer; min-height: 32px; }

/* the foot of the sheet: Check, the "Add a check" menu, then the count once there is text (files come in by the File
   tab or by dropping them anywhere on the checker, 6 Dec 2026) */
.input-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); }
.input-bar .spacer { flex: 1; }
.mirror .input-bar { flex-wrap: nowrap; padding: 14px 16px; }
.mirror .input-bar .btn.primary { min-height: 56px; padding: 0 44px; font-size: 18px; font-weight: 700; letter-spacing: -0.005em; }
.file-in { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.counter { font-size: 14.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* "Add a check" (5 Dec 2026): a quiet menu in the bar, drawn by us (Checker.astro, extras.js). The list opens upward
   over the text so the page never jumps; the chosen check shows on the button in cobalt. */
.ck-pick { position: relative; min-width: 0; flex: 0 1 auto; }
.ck-pick-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; padding: 0 10px 0 12px; border: 0; background: none;
  border-radius: var(--r); font: 500 16px/1 var(--font-text); color: var(--ink-2); cursor: pointer; white-space: nowrap;
  transition: background-color 180ms var(--ease), color 180ms var(--ease); }
.ck-pick-btn [data-ck-pick-val] { min-width: 0; overflow: hidden; text-overflow: ellipsis; }   /* a long pick never pushes out of the sheet */
.ck-pick-btn:hover, .ck-pick-btn[aria-expanded="true"] { background: #eff1f7; color: var(--ink); }
.ck-pick-btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.ck-pick-btn .icon { width: 18px; height: 18px; flex: none; color: var(--ink-2); }
.ck-pick-btn .ck-chev { width: 16px; height: 16px; transition: transform 180ms var(--ease); }
.ck-pick-btn[aria-expanded="true"] .ck-chev { transform: rotate(180deg); }
.ck-pick.on .ck-pick-btn { color: var(--cobalt); font-weight: 600; }
.ck-pick.on .ck-pick-btn .icon { color: var(--cobalt); }
.ck-pick-pop { position: absolute; z-index: 20; left: 0; bottom: calc(100% + 8px); width: 280px; max-width: calc(100vw - 32px); padding: 6px;
  background: var(--sheet); border: 1px solid var(--line-strong); border-radius: var(--r-sheet); box-shadow: 0 12px 32px -12px rgba(23, 24, 42, .35); }
.ck-pick-pop[hidden] { display: none; }
.ck-pick-list { margin: 0; padding: 0; list-style: none; max-height: 52vh; overflow: auto; outline: none; }
.ck-pick-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr) 16px; gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--r);
  cursor: pointer; color: var(--ink); font-size: 15.5px; line-height: 1.3; }
.ck-pick-list li .icon { width: 18px; height: 18px; color: var(--ink-2); }
.ck-pick-list li::after { content: ""; width: 16px; height: 16px; }
.ck-pick-list li[aria-selected="true"]::after { background: var(--cobalt);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.ck-pick-list li.act { background: #eff1f7; }
.ck-pick-list li[aria-selected="true"] { font-weight: 600; color: var(--cobalt); }
.ck-pick-list li[aria-selected="true"] .icon { color: var(--cobalt); }
.ck-pick-note { margin: 4px 0 0; padding: 8px 12px 6px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.ck-pick-note a { color: var(--cobalt-d); font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) { .ck-pick-btn { padding: 0 8px; font-size: 15px; } .ck-pick-pop { left: auto; right: 0; width: 264px; } }
@media (prefers-reduced-motion: reduce) { .ck-pick-btn .ck-chev { transition: none; } }
.mirror .counter { margin-left: auto; padding-right: 8px; font-size: 15px; }
.counter b { color: var(--ink-2); font-weight: 600; }
.shortcut { font-size: 13px; color: var(--ink-3); }
.model-tag { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none;
  white-space: nowrap; }
.model-tag .icon { width: 16px; height: 16px; color: var(--cobalt); }
.model-pick { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--control-edge); border-radius: var(--r); padding: 0 2px 0 10px;
  color: var(--ink-3); background: var(--sheet); }
select { font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); background: transparent; border: 0; min-height: 42px; padding: 0 28px 0 4px;
  cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 14px) 52%, calc(100% - 9px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
select:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

/* under the sheet, on cobalt: the samples on one quiet line (examples.js), the way into checking a web page */
.m-under p { margin: 0; }
.examples { font-size: 16px; line-height: 1.55; color: var(--cobalt-l); }
.ex-line { margin: 0; }
.ex-btn { font: inherit; color: #fff; font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline;
  text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: rgba(255, 255, 255, .65); }
.ex-btn:hover { text-decoration-thickness: 2px; text-decoration-color: #fff; }
.ex-src { margin: 8px 0 0 !important; font-size: 14px; line-height: 1.5; color: var(--cobalt-l); max-width: 42em; }
.ex-src a { color: #fff; }
.m-url { margin-top: 10px !important; }
.m-link { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0; font: inherit; font-size: 16px; font-weight: 600; color: #fff;
  background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .65); }
.m-link:hover { text-decoration-thickness: 2px; text-decoration-color: #fff; }
.m-link .icon { width: 17px; height: 17px; }
#form[data-mode="url"] ~ * .m-url, .mirror:has(#form[data-mode="url"]) .m-url { display: none; }
.m-free { margin-top: 10px !important; font-size: 16px; font-weight: 500; color: var(--cobalt-l); }

/* the right column: the Example (ExampleSheet.astro), or the result once there is one */
.mirror > #out { grid-column: 2; grid-row: 1 / 4; display: grid; grid-template-rows: subgrid; padding-left: var(--gap); padding-right: var(--edge); }
.ex-head { grid-row: 1; align-self: end; padding: clamp(36px, 4.4vw, 60px) 0 26px; }
.ex-title { font-size: 22px; letter-spacing: -0.02em; }
.ex-sheet { grid-row: 2; }
.ex-under { grid-row: 3; margin: 0; padding: 18px 0 clamp(48px, 6vw, 84px); font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.ex-under a { color: var(--ink); }
.ex-sheet { margin: 0; background: var(--sheet); border: 1px solid #ece7de; border-radius: var(--r-sheet); height: var(--sheet-h); display: flex;
  flex-direction: column; min-width: 0; }
.ex-sheet .s-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px 22px 8px; }
.ex-sheet .lab { font: 600 14.5px/1.35 var(--font-text); color: var(--ink-2); }
.ex-sheet .wc { flex: none; font-size: 14.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ex-wrap { position: relative; flex: 1; min-height: 0; display: flex; }
.ex-wrap::after { content: ""; position: absolute; left: 0; right: 12px; bottom: 0; height: 40px; pointer-events: none;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.ex-body { flex: 1; overflow: auto; padding: 2px 22px 22px; font: 400 15px/1.62 var(--font-read); color: var(--ink); scrollbar-width: thin; }
.ex-body:focus-visible { outline-offset: -3px; }
.ex-body p { margin: 0 0 12px; }
.ex-body .tag { display: flex; gap: 10px; align-items: center; margin: 16px 0 6px; font: 700 13px/1 var(--font-text); }
.tag .lvl { display: inline-flex; align-items: center; gap: 6px; color: var(--ai-ink); }
.tag .lvl::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--ai); }
.tag .lvl.l1::before { background: var(--sheet); box-shadow: inset 0 0 0 1.5px var(--ai); }
.tag .rank { color: var(--ink-2); font-weight: 600; }
mark.m { color: inherit; background: var(--ai-soft); padding: 2px 0; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  text-decoration: underline 2px var(--ai); text-underline-offset: 4px; text-decoration-skip-ink: none; }
mark.m.l1 { background: var(--ai-faint); text-decoration-style: dashed; }
/* the readout: the two numbers, how sure, and the bar, level with the visitor's Check */
.readout { padding: 14px 20px 18px; border-top: 1px solid var(--line); }
.nums { display: flex; align-items: baseline; gap: 6px 18px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.nums b { font-weight: 800; font-size: 21px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.n-ai { color: var(--ai-ink); }
.n-hu { color: var(--human-ink); }
.nums .meter-line { margin-left: auto; }
.meter-line { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14.5px; font-weight: 500; }
.meter { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; }
.meter i { display: block; width: 5px; border-radius: 1px; background: #d8d6e0; }
.meter i:nth-child(1) { height: 6px; } .meter i:nth-child(2) { height: 10px; } .meter i:nth-child(3) { height: 14px; }
.meter i.on { background: var(--ink); }
.bar2 { display: flex; gap: 3px; height: 12px; margin-top: 10px; }
.bar2 span { display: block; height: 100%; border-radius: 2px; }
.bar2 .b-ai { background: var(--ai); }
.bar2 .b-hu { background: var(--human); }

/* before a result, on pages without the Example (other languages, the result page opened by itself) */
.empty { grid-row: 2; display: grid; align-content: center; justify-items: start; gap: 6px; padding: 28px 30px; height: var(--sheet-h);
  border: 1.5px dashed var(--line-strong); border-radius: var(--r-sheet); color: var(--ink-2); }
.empty h2 { font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.empty .mascot { display: none; }
.points { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line); width: 100%; }
.points li { display: flex; gap: 12px; align-items: center; font-size: 16px; color: var(--ink-2); padding: 12px 0; border-bottom: 1px solid var(--line); }
.points .ic { display: grid; place-items: center; flex: none; color: var(--ink-3); }
.points .ic.a { color: var(--ai); }

/* while a text is checked: the right column says so where the result will be */
.loading { text-align: center; padding: 14px 0; color: var(--ink-2); }
.mirror > #out > .loading { grid-row: 2; height: var(--sheet-h); display: grid; place-content: center; padding: 24px; border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-sheet); }
.loading p { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); }
.loading p.small { font-size: 14px; font-weight: 400; color: var(--ink-2); margin-top: 6px; }
.loading .mascot { display: none; }
.loading .bar { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; width: min(260px, 60vw); margin: 16px auto 0; }
.loading .bar i { display: block; height: 100%; width: 35%; background: var(--cobalt); border-radius: 2px; animation: slide 1.1s ease-in-out infinite; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(300%); } }

/* a result shown in place (the other languages, a shared link, or a browser that can't pass the result to /result):
   the text on the cobalt side, the result on sand */
.mirror.has-result { grid-template-rows: auto auto 1fr; }
.mirror.has-result > #out { display: block; grid-row: 1 / 4; padding-top: clamp(36px, 4.4vw, 60px); padding-bottom: 72px; }
.mirror.has-result .m-under > * { display: none; }
.mirror.has-result .input-card, .result-page .input-card { height: auto; }
.result-page .input-card:has(#form:not([hidden])) { height: var(--sheet-h); }   /* /result opened by itself: a plain checker */
.mirror.has-result .m-under { padding-bottom: 72px; }

/* ---------- the marked text, in the visitor's sheet */
.doc-head { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding: 14px 16px 12px 24px; border-bottom: 1px solid var(--line); }
.doc-head h2 { font: 700 18px/1.3 var(--font-text); letter-spacing: -0.01em; }
.doc-actions { margin-left: auto; display: inline-flex; gap: 8px; flex-wrap: wrap; }
.doc-head .btn { min-height: 38px; font-size: 14.5px; padding: 0 12px; }
.legend { display: inline-flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.swatch { display: inline-block; width: 22px; height: 11px; border-radius: 2px; background: var(--ai-soft); border-bottom: 2px solid var(--ai); }
.swatch.l1 { background: var(--ai-faint); border-bottom: 2px dashed var(--ai); }
.doc { padding: 20px 24px 26px; font: 400 17.5px/1.75 var(--font-read); white-space: pre-wrap; overflow-wrap: anywhere; max-height: min(72vh, 820px); overflow: auto;
  scrollbar-width: thin; }
.result-page .doc { max-height: none; overflow: visible; font-size: 18px; padding: 22px 28px 30px; }
.result-page #again { display: none; }           /* "Check another text" is above the headline and under the result */
.doc mark.ai { background: linear-gradient(var(--ai-soft), var(--ai-soft)) no-repeat 0 0 / 100% 100%; color: inherit; padding: 2px 0;
  border-bottom: 2px solid var(--ai); -webkit-box-decoration-break: clone; box-decoration-break: clone; scroll-margin: 30vh;
  transition: background-color 400ms var(--ease); }
.doc mark.ai.l1 { background-color: transparent; background-image: linear-gradient(var(--ai-faint), var(--ai-faint)); border-bottom: 2px dashed var(--ai); }
.doc mark.ai.flash { background-image: linear-gradient(#f7b8a5, #f7b8a5); }
.doc mark.ai .n { display: inline-grid; place-items: center; min-width: 17px; height: 17px; margin-right: 4px; border-radius: 50%; background: var(--ai); color: #fff;
  font: 700 11px/1 var(--font-text); vertical-align: 2px; user-select: none; }
.doc mark.ai.l1 .n { background: var(--sheet); color: var(--ai-ink); box-shadow: inset 0 0 0 1.5px var(--ai); }

/* ---------- the result, on sand */
.res-top { display: flex; align-items: center; gap: 12px; }
.res-top .mascot { display: none; }
.res-top h2 { font-size: 22px; letter-spacing: -0.02em; }
.result-page .res-top h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.facts { display: flex; flex-wrap: wrap; gap: 0; margin: 2px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.facts li:not(:last-child)::after { content: "·"; margin: 0 7px; color: var(--ink-3); }
.facts li.model { color: var(--ink); font-weight: 600; }
/* the two numbers: big figures in their meaning's colour, a hairline between, on a quiet panel with the bar */
.score { display: grid; grid-template-columns: 1fr 1fr; margin: 20px 0 12px; }
.score .num { padding: 0 0 2px; }
.score .num + .num { border-left: 1px solid var(--line-strong); padding-left: 22px; }
.score .num b { display: block; font: 800 52px/1 var(--font-display); letter-spacing: -0.035em; }
.score .num span { display: block; font-size: 15.5px; font-weight: 600; margin-top: 6px; }
.score .ai { color: var(--ai-ink); }
.score .human { color: var(--human-ink); }
.score .unclear, .score .unclear-box { grid-column: 1 / -1; color: var(--unclear-ink); }
.score .ev, .score .rest { color: var(--ink-2); }
.score .ev b small { font-size: 18px; margin-left: 2px; color: var(--ink-3); letter-spacing: 0; }
.score .num.wide { grid-column: 1 / -1; }
.score .num b.small-b { font-size: 34px; line-height: 1.15; }
.split { display: flex; gap: 3px; height: 12px; background: transparent; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.split .seg { display: block; height: 100%; border-radius: 2px; }
.split .seg.ai { background: var(--ai); }
.split .seg.human { background: var(--human); }
.split .seg.unclear { background: var(--unclear); }
.split .seg.rest { background: var(--line-strong); }
.split .seg.hatch { background: repeating-linear-gradient(135deg, var(--unclear) 0 6px, var(--unclear-soft) 6px 12px); }
.ev-line { font-size: 14px; color: var(--ink-2); margin: 8px 0 0; line-height: 1.45; }
.ev-more { margin: 12px 0 0; font-size: 15px; color: var(--ink-2); }
.ev-more summary { cursor: pointer; padding: 3px 0; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--control-edge); text-underline-offset: 3px; }
.ev-more summary:hover { color: var(--ink); }
.ev-more p { margin: 8px 0 0; line-height: 1.5; max-width: 34em; }
.say { font-size: 16.5px; line-height: 1.55; color: var(--ink); margin: 12px 0 0; max-width: 34em; }
.vote { font-size: 15px; color: var(--ink-2); margin: 8px 0 0; }
/* confidence: three rising bars and the word, no pill */
.conf { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.conf .dots { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; }
.conf .dots i { width: 5px; border-radius: 1px; background: #d8d6e0; display: block; }
.conf .dots i:nth-child(1) { height: 6px; } .conf .dots i:nth-child(2) { height: 10px; } .conf .dots i:nth-child(3) { height: 14px; }
.conf-high .dots i, .conf-medium .dots i:nth-child(-n+2), .conf-low .dots i:first-child { background: var(--ink); }
.conf + .say { margin-top: 6px; }

.sec { border-top: 1px solid var(--line-strong); margin-top: 24px; padding-top: 18px; }
.sec h3 { margin-bottom: 10px; display: flex; align-items: center; gap: 8px; font-size: 17px; }
.sec h3 .icon { color: var(--ink-2); }
/* marked parts, strongest first: a numbered list with hairlines; each row jumps to its passage */
.passages { list-style: none; margin: 0; padding: 0; counter-reset: p; border-top: 1px solid var(--line); }
.passages li { counter-increment: p; border-bottom: 1px solid var(--line); }
.passages button { all: unset; box-sizing: border-box; display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; width: 100%;
  padding: 12px 6px; cursor: pointer; font-size: 15px; color: var(--ink-2); border-radius: 4px; transition: background-color 180ms var(--ease); }
.passages button::before { content: counter(p); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ai);
  color: #fff; font: 700 12px/1 var(--font-text); margin-top: 1px; }
.passages button:hover { background: rgba(251, 213, 201, .45); color: var(--ink); }
.passages button:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; }
.passages .pq { display: grid; gap: 3px; min-width: 0; }
.passages .pq b { font: 700 13.5px/1.3 var(--font-text); color: var(--ai-ink); }
.passages li.l1 .pq b { color: var(--ink-2); }
.passages li.l1 button::before { background: var(--sheet); color: var(--ai-ink); box-shadow: inset 0 0 0 1.5px var(--ai); }
#parts-more { margin-top: 10px; }
.passages .q { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-family: var(--font-read);
  font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.result-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.result-actions .btn { min-height: 42px; font-size: 15px; }

/* "Was this result right?": one button shape; each answer carries its meaning's colour */
.fb-ask { margin: 0 0 10px; font-weight: 700; font-size: 17px; }
.fb-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn.small { min-height: 40px; padding: 0 14px; font-size: 15px; }
.btn.small[disabled]:not([aria-pressed="true"]) { opacity: .5; cursor: default; }
.btn.small[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.small.fb-right { color: var(--cobalt-d); border-color: #8f9bd6; }
.btn.small.fb-human { color: var(--human-ink); border-color: #79b6ae; }
.btn.small.fb-ai { color: var(--ai-ink); border-color: #e39a87; }
.btn.small.fb-mixed { color: var(--ink); border-color: var(--control-edge); }
.btn.small.fb-right:hover { border-color: var(--cobalt); background: var(--cobalt-soft); }
.btn.small.fb-human:hover { border-color: var(--human-ink); background: var(--human-soft); }
.btn.small.fb-ai:hover { border-color: var(--ai-ink); background: var(--ai-faint); }
.btn.small.fb-mixed:hover { border-color: var(--ink); background: var(--paper-2); }
.btn.small.fb-right[aria-pressed="true"] { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.btn.small.fb-human[aria-pressed="true"] { background: var(--human-ink); border-color: var(--human-ink); color: #fff; }
.btn.small.fb-ai[aria-pressed="true"] { background: var(--ai-ink); border-color: var(--ai-ink); color: #fff; }
.btn.small.fb-mixed[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.fb-label { display: block; margin: 14px 0 6px; font-size: 15px; color: var(--ink-2); }
#fb-comment, .general-feedback textarea { font: 400 16px/1.5 var(--font-text); min-height: 84px; padding: 10px 12px; background: var(--sheet);
  border: 1px solid var(--control-edge); border-radius: var(--r); width: 100%; }
#fb-comment:focus, .general-feedback textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 1px var(--cobalt); }
.fb-send { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.fb-send .btn { min-height: 42px; }
#fb-send:not([disabled]) { background: var(--ink); border-color: var(--ink); color: #fff; }
.fb-done { margin: 8px 0 0; color: var(--human-ink); font-weight: 600; }
.caution { font-size: 13px; color: var(--ink-3); margin: 14px 0 0; }
.stamp { font-size: 13px; color: var(--ink-3); margin: 18px 0 0; }

/* share links, the report and "Check another text": the actions row */
/* one row since 6 Dec 2026: Share and the report on the left, "Check another text" on the right, all one size */
.res-acts { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 12px; }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; }
.res-acts .share-row { margin: 0; flex: 1 1 auto; min-width: 0; }
.res-acts .btn.small .icon { width: 16px; height: 16px; }
.res-again { flex: none; }
.share-box { display: flex; gap: 6px; flex: 1 1 260px; min-width: 0; }
.share-box[hidden] { display: none; }
.share-box input { flex: 1; min-width: 0; font: inherit; font-size: 14px; min-height: 40px; padding: 0 10px; color: var(--ink);
  background: var(--sheet); border: 1px solid var(--control-edge); border-radius: var(--r); }
.share-msg { color: var(--ink-2); }
.shared-note { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; color: var(--ink-2); border-bottom: 1px solid var(--line-strong);
  padding: 0 0 12px; margin: 0 0 16px; }
.shared-note .icon { flex: none; margin-top: 3px; color: var(--ink-2); }

/* across the text (22 Nov 2026): where the marked parts sit, first word to last. Height is the level: "very likely AI"
   reaches the top line, "possibly AI" the middle one, human-written is the teal band on the floor; each bar is as wide
   as its words. A marked bar jumps to its passage in the text. */
.flow { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; margin: 4px 0 0; --h: 76px; }
.flow-rows { display: flex; flex-direction: column; justify-content: space-between; height: var(--h); padding-top: 3px; font-size: 12.5px;
  line-height: 1; color: var(--ink-2); text-align: right; white-space: nowrap; }
.flow-plot { position: relative; height: var(--h); border-bottom: 2px solid var(--ink-2);
  background: linear-gradient(var(--line-strong), var(--line-strong)) 0 8px / 100% 1px no-repeat,
              linear-gradient(var(--line-strong), var(--line-strong)) 0 calc(var(--h) / 2) / 100% 1px no-repeat; }
.flow.r2 .flow-plot { background: linear-gradient(var(--line-strong), var(--line-strong)) 0 8px / 100% 1px no-repeat; }
.fs { all: unset; box-sizing: border-box; position: absolute; bottom: 0; box-shadow: inset -1px 0 0 var(--paper);
  -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.fs.l2, .fs.l0 { height: calc(var(--h) - 8px); min-width: 2px; background: var(--ai-soft); border-top: 3px solid var(--ai); }
.fs.l1 { height: calc(var(--h) / 2); min-width: 2px; background: var(--ai-faint); border-top: 3px dashed var(--ai); }
.fs.h { height: 8px; background: var(--human); }
button.fs { cursor: pointer; transition: background-color 180ms var(--ease); }
button.fs:hover { background: #f5b9a7; }
button.fs:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; z-index: 1; }
.flow-axis { grid-column: 2; display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }
.flow-key { display: flex; flex-wrap: wrap; gap: 4px 16px; list-style: none; margin: 10px 0 0; padding: 0; font-size: 14px; color: var(--ink-2); }
.flow-key li { display: inline-flex; align-items: center; gap: 6px; }
.flow-key b { color: var(--ink); font-weight: 700; }
.flow-key .k { display: inline-block; width: 16px; height: 10px; border-radius: 1px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.flow-key .k.l2, .flow-key .k.l0 { background: var(--ai-soft); border-top: 2px solid var(--ai); }
.flow-key .k.l1 { background: var(--ai-faint); border-top: 2px dashed var(--ai); }
.flow-key .k.h { background: var(--human); }

/* ---------- Danphe's faces (the mascot is still drawn on a few pages: 404, the Help button, the end of articles) */
.mascot .m-eye-happy, .mascot .m-brow, .mascot .m-badge { display: none; }
.mascot.is-human .m-eye-open { display: none; }
.mascot.is-human .m-eye-happy { display: inline; }
.mascot.is-ai .m-badge-ai { display: inline; }
.mascot.is-ai .m-brow { display: inline; }
.mascot.is-unclear .m-badge-q { display: inline; }
.mascot.is-unclear .m-pupil { transform: translate(-2px, -2px); }
.mascot.is-thinking .m-badge-dots { display: inline; }

/* ---------- content pages: feedback, benchmarks. Sections are split by a rule and space, never boxed */
.page { padding-top: 40px; padding-bottom: 72px; max-width: 920px; }
.page .lead { margin-bottom: 8px; }
.general-feedback .card { max-width: 680px; margin-top: 24px; }
.bench .card { border-top: 1px solid var(--line-strong); padding-top: 28px; margin-top: 40px; }
.bench h2 { font-size: 28px; margin-bottom: 4px; }
.bench .sub { color: var(--ink-2); margin: 0 0 16px; font-size: 16px; max-width: var(--measure-text); }
.bench h3 { font-size: 17px; margin: 26px 0 8px; }
/* bar charts: a plain list, one bar and one number per row */
.bars { list-style: none; margin: 0; padding: 0; }
.bars-title { font-weight: 700; font-size: 16px; color: var(--ink); margin: 20px 0 6px; }
.bars li { display: grid; grid-template-columns: 136px minmax(0, 1fr); align-items: center; gap: 12px; padding: 3px 0; font-size: 15px; color: var(--ink-2); }
.bars .track { display: flex; align-items: center; gap: 8px; }
.bars .fill { flex: none; height: 18px; min-width: 2px; width: calc(var(--v) * (100% - 56px) / 100); border-radius: 0 2px 2px 0; background: var(--other); }
.bars .fill.ours { background: var(--monal); }
.bars .fill.prev { background: var(--monal-soft); }
.bars b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .bars li { grid-template-columns: 104px minmax(0, 1fr); font-size: 14px; } }
table.data { border-collapse: collapse; width: 100%; font-size: 15px; color: inherit; line-height: inherit; }
table.data th, table.data td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-strong); text-align: left; vertical-align: top; }
table.data thead th { font-size: 14px; color: var(--ink-2); font-weight: 600; border-bottom: 1.5px solid var(--ink); }
table.data tbody th { font-weight: 500; }
table.data td.n { font-variant-numeric: tabular-nums; }
table.data td b { font-weight: 700; }
.table-scroll { overflow-x: auto;
  /* a soft shadow on the edge that has more table behind it, so a sideways-scrolling table never looks cut off */
  background: linear-gradient(to right, var(--paper) 30%, transparent) left / 40px 100% no-repeat local,
    linear-gradient(to left, var(--paper) 30%, transparent) right / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(23, 24, 42, .2), transparent) left / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(23, 24, 42, .2), transparent) right / 14px 100% no-repeat scroll; }
@media (max-width: 640px) {
  table.data .opt { display: none; }
  table.data { font-size: 14px; }
  table.data th, table.data td { padding-right: 6px; }
  table.data thead th { font-size: 13px; }
}
.model-tag i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.takeaway { margin: 18px 0 0; font-size: 17px; font-weight: 600; color: var(--ink); max-width: var(--measure-text); }
.notes { font-size: 14px; color: var(--ink-2); margin-top: 40px; border-top: 1px solid var(--line-strong); padding-top: 16px; }
.notes li { margin: 6px 0; }
.updated { font-size: 14px; color: var(--ink-3); margin: 6px 0 0; }

/* ---------- the short footer of the French, Spanish and Hindi pages: ink, like the full one */
footer { background: var(--ink); color: #c9cad6; padding: 28px 0 36px; font-size: 14.5px; }
footer .wrap { display: flex; gap: 8px 20px; flex-wrap: wrap; align-items: center; }
footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .45); }
footer:not(.site-foot) a { display: inline-flex; align-items: center; min-height: 32px; }
footer a:hover { text-decoration-color: #fff; }
footer .langs { margin-left: auto; }

@media (max-width: 640px) {
  .hero { padding: 26px 0 18px; }
  .doc-head { padding: 12px 14px 12px 18px; }
  .doc { padding: 16px 18px 20px; }
  .result-page .doc { padding: 18px 18px 22px; font-size: 17px; }
  .score .num b { font-size: 44px; }
  .doc-actions { margin-left: 0; width: 100%; }
  .doc-actions .btn { flex: 1 1 auto; }
  footer .langs { margin-left: 0; }
}

/* ---------- printed report */
@media print {
  body { background: #fff; font-size: 11pt; }
  .top nav, .hero, #form, .result-actions, .fb, footer .langs, .doc-head .btn, .loading { display: none !important; }
  .mirror { display: block; }
  .m-head, .m-sheet, .m-under { background: none; color: var(--ink); }
  .m-under { display: none !important; }
  .input-card { box-shadow: none; border: 0; }
  .doc { max-height: none; overflow: visible; padding: 0; }
  .doc mark.ai { -webkit-print-color-adjust: exact; print-color-adjust: exact; text-decoration: underline 2px #a72914; }
}

/* ---------- the PDF report (22 Nov 2026). app.js builds #tw-report when someone saves or prints a result, and then
   only the report prints. It reuses the result's own pieces (.facts, .score, .split, .conf, .flow) on white paper. */
#tw-report { display: none; }
@media print {
  body.has-report { background: #fff; }
  body.has-report > :not(#tw-report) { display: none !important; }
  body.has-report > #tw-report { display: block; }
}
.report { --paper: #fff; color: var(--ink); font: 400 10.5pt/1.5 var(--font-text); }
.report * { -webkit-print-color-adjust: exact; print-color-adjust: exact; animation: none !important; transition: none !important; }
.rp-head { display: flex; align-items: center; justify-content: space-between; gap: 12pt; padding-bottom: 8pt; border-bottom: 1px solid var(--line-strong); }
.rp-brand { display: inline-flex; align-items: center; gap: 7pt; font: 800 15pt/1 var(--font-display); letter-spacing: -0.03em; }
.rp-brand img { display: none; }
.rp-model { font-weight: 600; color: var(--ink-2); }
.report h1 { font: 700 21pt/1.15 var(--font-display); letter-spacing: -0.02em; margin: 16pt 0 3pt; }
.rp-of { margin: 0; font: italic 400 12pt/1.45 var(--font-read); color: var(--ink-2); overflow-wrap: anywhere; }
.report .rp-facts { margin-top: 6pt; font-size: 9.5pt; }
.report h2 { font: 700 12.5pt/1.3 var(--font-display); margin: 0 0 6pt; }
.rp-sec { border-top: 1px solid var(--line); margin-top: 14pt; padding-top: 10pt; }
.rp-sum, .rp-flow { break-inside: avoid; }
.report .score { margin: 6pt 0 8pt; }
.report .score .num b { font-size: 32pt; }
.report .score .num span { font-size: 11pt; margin-top: 2pt; }
.report .conf { font-size: 10pt; margin-top: 10pt; }
.report .say { font-size: 11.5pt; margin: 4pt 0 0; }
.rp-ev { margin: 6pt 0 0; font-size: 9.5pt; color: var(--ink-2); }
.report .flow-key { font-size: 9.5pt; }
.rp-text h2 { margin-bottom: 8pt; }
.rp-part { margin: 0 0 9pt; padding: 1pt 0 1pt 10pt; border-left: 3px solid var(--human); }
.rp-part.l2, .rp-part.l0 { border-left-color: var(--ai); }
.rp-part.l1 { border-left-style: dashed; border-left-color: var(--ai); }
.rp-tag { margin: 0 0 1pt; font-size: 8.5pt; color: var(--ink-3); break-after: avoid; }
.rp-tag b { font-weight: 700; color: var(--human-ink); }
.rp-part.l2 .rp-tag b, .rp-part.l0 .rp-tag b { color: var(--ai-ink); }
.rp-part.l1 .rp-tag b { color: var(--ink-2); }
.rp-q { margin: 0; font: 400 10.5pt/1.6 var(--font-read); white-space: pre-wrap; overflow-wrap: anywhere; orphans: 3; widows: 3; }
.rp-note { margin: 16pt 0 0; padding-top: 8pt; border-top: 1px solid var(--line); font-size: 8.5pt; color: var(--ink-3); overflow-wrap: anywhere; break-inside: avoid; }

/* =====================================================================================================================
   Every page: the phone menu sheet, the footer, articles, hubs and motion. Motion follows one scale: 120 micro,
   180 fast, 200 UI, 320 layout, 400 sheet, 520-760 one authored reveal; ease-out for arrivals, the iOS curve for the
   menu sheet; nothing loops except loading bars; everything stops under prefers-reduced-motion.
   ===================================================================================================================== */
:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);       /* arrivals, reveals */
  --ease-sheet: cubic-bezier(0.32, 0.72, 0, 1);    /* the menu sheet */
  --ease-exit: cubic-bezier(0.4, 0, 1, 1);         /* things leaving, < 180ms */
  /* Reading widths (5 Dec 2026, Lora and Epilogue). --measure is the article column, about 70 characters a line of
     18px Lora. --measure-text caps running text at about 70 characters in whatever size that text is set (em follows
     it; Epilogue is wide, so 31em holds about 70 of its letters). */
  --measure: 610px;
  --measure-text: 31em;
  --measure-list: 38em;   /* short notes in lists: one line when short, else two even lines (pair with text-wrap: balance) */
  interpolate-size: allow-keywords;               /* lets <details> animate to auto height where supported */
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r);
  text-decoration: none; font-weight: 600; transition: top 160ms var(--ease); }
.skip:focus { top: 12px; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
/* below the fold: revealed once when scrolled into view (site.js adds .in; without JS nothing is hidden) */
.reveal.pre:not(.in) { opacity: 0; transform: translateY(14px); }
.reveal.pre { transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }

/* ---------- the phone menu: a sheet from the bottom; drag it down or tap outside to close */
.sheet-wrap { position: fixed; inset: 0; z-index: 40; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(23, 24, 42, .32); opacity: 0; transition: opacity 320ms var(--ease); }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow: auto; background: var(--paper); border-radius: 10px 10px 0 0;
  box-shadow: 0 -12px 40px -16px rgba(23, 24, 42, .35); padding: 8px 20px 28px; transform: translateY(100%);
  transition: transform 400ms var(--ease-sheet); overscroll-behavior: contain; touch-action: pan-y; }
.sheet-wrap.open .sheet { transform: translateY(var(--drag, 0px)); }
.sheet-wrap.open .sheet-backdrop { opacity: 1; }
.sheet-wrap.dragging .sheet { transition: none; }
.sheet-wrap.closing .sheet { transition: transform 180ms var(--ease-exit); transform: translateY(100%); }
.sheet-wrap.closing .sheet-backdrop { opacity: 0; transition-duration: 180ms; }
.sheet-grip { width: 40px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 4px auto 10px; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.sheet-brand { font: 800 20px/1 var(--font-display); letter-spacing: -0.035em; }
.sheet-close { background: none; border: 0; padding: 10px; margin-right: -10px; color: var(--ink-2); cursor: pointer; border-radius: var(--r); }
.sheet-main { display: grid; border-top: 1px solid var(--line-strong); }
.sheet-main a { font: 700 21px/1.2 var(--font-display); letter-spacing: -0.02em; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line-strong); }
.sheet-main a[aria-current="page"] { color: var(--ink); box-shadow: inset 3px 0 0 var(--cobalt); padding-left: 12px; }
.sheet-more { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; margin-top: 18px; }
.sheet-more a { display: block; font-size: 15px; color: var(--ink-2); text-decoration: none; padding: 6px 0; }
.sheet-h { font-size: 14px; font-weight: 700; color: var(--ink); margin: 12px 0 2px; }
body.sheet-open { overflow: hidden; }

/* ---------- footer: ink, a sitemap in columns */
.site-foot { background: var(--ink); color: #c9cad6; margin-top: 0; padding: 56px 0 92px; font-size: 15px; }
.site-foot .wrap { display: grid; grid-template-columns: minmax(200px, 1fr) 3.4fr; gap: 32px 48px; }
.site-foot .brand { color: #fff; }
.foot-brand .brand span { font-size: 22px; }
.foot-brand p { margin: 12px 0 0; max-width: 26ch; color: #c9cad6; text-wrap: balance; }
.foot-status { display: flex; gap: 8px; align-items: baseline; font-size: 14px; color: #a9aabb !important; }
.foot-status i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #3fb2a7; transform: translateY(-1px); }
.foot-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.fcol h2 { font: 700 15px/1.2 var(--font-text); letter-spacing: 0; color: #fff; margin: 0 0 14px; }
.fcol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fcol a { display: inline-block; min-width: 24px; padding: 2px 0; color: #c9cad6; text-decoration: none; transition: color 160ms linear; }
.fcol a:hover { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); }
.foot-bar { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 20px; font-size: 14px; color: #a9aabb; }
.foot-bar .langs { display: inline-flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.foot-bar .langs .icon { color: #a9aabb; }
.foot-bar a { color: #fff; }
.site-foot :focus-visible, footer :focus-visible { outline-color: var(--focus-on-cobalt); }
.site-foot ::selection, footer ::selection { background: rgba(255, 255, 255, .3); color: #fff; }
@media (max-width: 1080px) { .site-foot .wrap { grid-template-columns: 1fr; } .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .foot-cols { grid-template-columns: 1fr 1fr; gap: 26px 18px; } .site-foot { padding-top: 40px; } }

/* ---------- toast: copied, saved */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 8px); opacity: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: var(--r); font-size: 15px; font-weight: 600; pointer-events: none;
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reading progress on long pages (scroll-driven, no script) */
.read-progress { display: none; }
@supports (animation-timeline: scroll()) {
  .read-progress { display: block; position: fixed; inset: 0 0 auto 0; height: 3px; background: var(--cobalt); transform-origin: 0 50%; z-index: 30;
    animation: progress linear both; animation-timeline: scroll(root); }
  @keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* ---------- content pages: guides, comparisons, research, glossary. The text is Lora on sand, at a reading width */
.article-page { padding-top: 22px; padding-bottom: 48px;
  /* owner, 5 Dec 2026: content pages use the full width beside the contents list, not a 610px reading column */
  --measure: 100%; --measure-text: none; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0 0 22px; padding: 0; font-size: 14px; color: var(--ink-2); }
.crumbs li { display: inline-flex; align-items: center; min-height: 28px; }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 8px; color: var(--line-strong); }
.crumbs a { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; min-height: 28px; }
.crumbs a:hover { text-decoration: underline; color: var(--ink); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 56px; align-items: start; }   /* a contents list wide enough that its entries don't wrap word by word */
.article { min-width: 0; }
.article h1 { max-width: none; margin: 8px 0 0; }
.kicker { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 14px 0 0; font-size: 14.5px; color: var(--ink-2); }
.kicker a { color: var(--ink-2); }
.kicker span:not(:last-child)::after { content: "·"; margin: 0 8px; }
.status { display: inline-flex; align-items: center; gap: 6px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.status.st-available::before { background: var(--human); }
.status.st-beta::before { background: var(--cobalt); }
.status.st-soon::before { background: var(--unclear); }
/* the short answer: what AI assistants quote. An ink rule above it, no box */
.answer { margin: 28px 0 6px; padding: 16px 0 0; border-top: 3px solid var(--ink); max-width: var(--measure); }
.answer-h { margin: 0 0 6px; font: 700 15px/1.3 var(--font-text); color: var(--ink); }
.answer p:last-child { margin: 0; font: 400 19.5px/1.6 var(--font-read); color: var(--ink); }
.prose { font: 400 18px/1.72 var(--font-read); color: var(--ink); max-width: var(--measure); overflow-wrap: break-word; }   /* long links and citations wrap instead of widening the page */
.prose > :first-child { margin-top: 28px; }
.prose h2 { font-size: clamp(24px, 2.3vw, 29px); line-height: 1.2; letter-spacing: -0.025em; margin: 48px 0 12px; scroll-margin-top: 24px; }
.prose h3 { font: 700 19px/1.35 var(--font-text); letter-spacing: -0.01em; margin: 30px 0 8px; scroll-margin-top: 24px; }
.prose p { margin: 0 0 16px; text-wrap: pretty; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin: 6px 0; padding-left: 2px; }
.prose li::marker { color: var(--ink-3); }
.prose strong { font-weight: 600; }
.prose a { text-decoration-color: var(--control-edge); transition: text-decoration-color 160ms linear; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose blockquote { margin: 18px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--line-strong); color: var(--ink-2); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose code { font: 0.86em/1 ui-monospace, Menlo, monospace; background: var(--paper-2); padding: 2px 5px; border-radius: 4px;
  overflow-wrap: anywhere; }
.prose a, .faq a, .answer a { overflow-wrap: anywhere; }
.prose hr { border: 0; border-top: 1px solid var(--line-strong); margin: 32px 0; }
.prose .table-scroll { margin: 18px 0 24px; }
.prose table.data { font: 400 15.5px/1.5 var(--font-text); }
@media (max-width: 640px) { .prose .table-scroll table.data:has(tr > :nth-child(4)) { min-width: 560px; } }   /* tables of 4+ columns scroll sideways instead of squeezing a column to one word a line; narrower ones fit the screen */
.prose table.data th { font-weight: 600; }
.prose table.data code { overflow-wrap: normal; white-space: nowrap; }   /* tool and field names stay whole */
.copyable { position: relative; margin: 18px 0 22px; }
.copyable pre { margin: 0; background: var(--ink); border-radius: var(--r-sheet); padding: 18px 20px; padding-right: 92px;
  overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 14.5px/1.6 ui-monospace, Menlo, monospace; color: #e8e9f2; }
.copyable pre code { background: none; padding: 0; font: inherit; color: inherit; }
.copyable .copy { position: absolute; top: 10px; right: 10px; min-height: 34px; padding: 0 12px; font-size: 14px; color: #fff; border-color: rgba(255, 255, 255, .5); }
.copyable .copy:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
/* table of contents: sticky beside the text on wide screens; the section you are reading is marked */
.toc { position: sticky; top: 28px; padding-left: 20px; border-left: 1px solid var(--line-strong); font-size: 15px; margin-top: 150px; }
.toc-h { margin: 0 0 8px; font: 700 15px/1.3 var(--font-text); color: var(--ink); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; color: var(--ink-2); text-decoration: none; padding: 5px 0 5px 12px; margin-left: -21px; border-left: 3px solid transparent;
  transition: color 160ms linear, border-color 200ms var(--ease); }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); border-left-color: var(--cobalt); font-weight: 600; }
@media (max-width: 1100px) { .article-grid { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }
/* questions: one hairline per question, a plus that turns into a cross, the answer slides open */
.faq { margin-top: 52px; max-width: var(--measure); }
.faq h2 { font-size: 26px; margin: 0 0 12px; }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq details:first-of-type { border-top: 1px solid var(--line-strong); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; cursor: pointer; padding: 16px 0;
  font-weight: 600; font-size: 17px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 14px; height: 14px; transition: transform 240ms var(--ease-out); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--ink); border-radius: 1px; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq summary:hover span { text-decoration: underline; text-decoration-color: var(--control-edge); text-underline-offset: 3px; }
.faq .faq-a p { margin: 0 0 18px; color: var(--ink-2); font: 400 17px/1.65 var(--font-read); max-width: var(--measure-text); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 320ms var(--ease-out), content-visibility 320ms allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.related { margin-top: 48px; max-width: var(--measure); }
.related h2 { font-size: 22px; margin: 0 0 8px; }
.related ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.related li { border-bottom: 1px solid var(--line-strong); padding: 13px 0; display: grid; gap: 3px; }
.related li a { font-weight: 600; text-decoration: none; }
.related li a:hover { text-decoration: underline; }
.related li span { color: var(--ink-2); font-size: 15px; max-width: var(--measure-list); text-wrap: balance; }
/* the call at the end of a page: a cobalt band with one line and one ink button */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; margin: 64px 0 8px;
  padding: 28px 32px; background: var(--cobalt); color: #fff; border-radius: var(--r-sheet); }
.cta-band :focus-visible { outline-color: var(--focus-on-cobalt); }
.cta-mascot { display: none; }
.cta-h { margin: 0; font: 700 24px/1.2 var(--font-display); letter-spacing: -0.02em; color: #fff; }
.cta-s { margin: 6px 0 0; color: var(--cobalt-l); }
.cta-band .btn.primary { min-height: 52px; padding: 0 26px; font-size: 16.5px; }
.cta-band .btn.primary:hover { background: #0e0f1c; border-color: #0e0f1c; }
.cta-wait { grid-template-columns: minmax(0, 1fr); }
.cta-wl { max-width: 560px; }
.cta-band .field-label { color: #fff; }
.cta-band .wl-src, .cta-band .wl-msg { color: var(--cobalt-l); }
@media (max-width: 640px) {
  .cta-band { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; }
  .cta-band .btn { width: 100%; }
}
.waitlist .wl-row { display: flex; gap: 8px; flex-wrap: wrap; }
.waitlist input[type="email"] { flex: 1 1 220px; min-width: 0; font: inherit; min-height: 46px; padding: 0 12px; background: var(--sheet);
  border: 1px solid var(--control-edge); border-radius: var(--r); color: var(--ink); }
.waitlist input[type="email"]:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 1px var(--cobalt); }
.wl-msg { margin: 8px 0 0; color: var(--ink-2); }
.wl-msg.ok { color: var(--human-ink); font-weight: 600; }
.bookmarklet { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 22px 0 0; color: var(--ink-2); }
.bookmarklet .btn { cursor: grab; }
.contact-go { margin: 22px 0 0; }

/* ---------- hubs: a plain list, a hairline per entry, the title and one line */
.hub-page { padding-top: 22px; padding-bottom: 48px; }
.hub-page > * { max-width: 1000px; }
.wrap.page { max-width: 1240px; }
.wrap.page > * { max-width: 920px; }
.hub-page h1 { margin-top: 4px; }
.hub-page .lead { max-width: 33em; margin-top: 14px; color: var(--ink-2); }
.hub-intro { margin-bottom: 18px; max-width: var(--measure); }
.hub-intro > :first-child { margin-top: 18px; }
.group-h { font-size: 24px; margin: 44px 0 8px; }
.entries { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.entries li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; align-items: baseline; border-bottom: 1px solid var(--line-strong); }
.entries li a { display: grid; gap: 4px; padding: 16px 0; text-decoration: none; color: var(--ink); }
.entries .e-t { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; transition: color 140ms linear; }
.entries .e-s { color: var(--ink-2); font-size: 15px; max-width: var(--measure-list); text-wrap: balance; }
.entries .e-m { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.entries li a:hover .e-t { text-decoration: underline; text-decoration-color: var(--control-edge); text-underline-offset: 3px; }
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px 40px; margin-top: 24px; }
.res-block { border-top: 1.5px solid var(--ink); padding: 16px 0 18px; }
.res-block h2, .res-block h3 { font: 700 21px/1.2 var(--font-display); letter-spacing: -0.02em; margin: 0; }
.res-block h2 a, .res-block h3 a { text-decoration: none; display: inline-block; padding: 4px 0; }
.res-block h2 a:hover, .res-block h3 a:hover { text-decoration: underline; }
.res-block p { color: var(--ink-2); margin: 6px 0 10px; font-size: 15px; }
.res-block ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.res-block ul a { font-size: 15px; }
.res-block .more { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-weight: 600; font-size: 15px; text-decoration: none; }
.res-block .more .icon { transition: transform 200ms var(--ease); }
.res-block .more:hover .icon { transform: translateX(3px); }
@media (max-width: 640px) { .entries li { grid-template-columns: 1fr; } .entries .e-m { padding-bottom: 12px; margin-top: -8px; } }

/* ---------- pricing: columns split by hairlines (two by two on tablets) */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 30px 0 10px; border-top: 1.5px solid var(--ink); }
.plan { padding: 22px 24px 24px 0; display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--line-strong); padding-left: 22px; }
@media (min-width: 861px) and (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plan:nth-child(odd) { border-left: 0; padding-left: 0; } .plan:nth-child(n+3) { border-top: 1px solid var(--line-strong); } }
.plan h2 { font-size: 23px; margin: 0; }
.plan .price { font: 800 40px/1.1 var(--font-display); margin: 10px 0 2px; letter-spacing: -0.03em; }
.plan .plan-note { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }
.plan ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 9px; font-size: 15px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li a { display: inline-block; padding: 3px 0; }
.plan li .icon { color: var(--human); margin-top: 2px; }
.plan .btn { align-self: flex-start; }
.plan-wait { max-width: 560px; margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line-strong); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } .plan + .plan { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-strong); } }

/* ---------- the result arrives: numbers count up, the bar fills, rows and marks follow in turn */
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hop { 0% { transform: translateY(0); } 40% { transform: translateY(-6px); } 100% { transform: translateY(0); } }
@keyframes sweep { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
.res > * { animation: rise 520ms var(--ease-out) both; }
.res > *:nth-child(2) { animation-delay: 60ms; } .res > *:nth-child(3) { animation-delay: 120ms; }
.res > *:nth-child(4) { animation-delay: 180ms; } .res > *:nth-child(5) { animation-delay: 240ms; }
.res > *:nth-child(n+6) { animation-delay: 280ms; }
.split { transform-origin: left center; animation: grow-x 700ms var(--ease-out) 160ms both; }
.passages li { animation: rise 480ms var(--ease-out) both; animation-delay: calc(340ms + var(--i, 0) * 40ms); }
.doc mark.ai { animation: sweep 760ms var(--ease-out) both; animation-delay: calc(200ms + var(--i, 0) * 90ms); }
.loading { animation: fade 240ms var(--ease) both; }

/* tabs (the Humanizer keeps its Text / File / Link tabs): text with an ink rule under the current one */
.tabs { position: relative; display: flex; gap: 24px; padding: 0 22px; border-bottom: 1px solid var(--line); }
.tabs button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; font: inherit; font-size: 15.5px; font-weight: 500;
  color: var(--ink-2); padding: 14px 0 12px; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; min-height: 48px; }
.tabs button .icon { color: var(--ink-3); }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.tabs button[aria-selected="true"] .icon { color: var(--ink); }
.tabs .tab-ind { position: absolute; left: 0; bottom: -1px; height: 2px; width: 1px; background: var(--ink); transform-origin: left center;
  transition: transform 320ms var(--ease-out); pointer-events: none; }
.tabs.has-ind button[aria-selected="true"] { border-bottom-color: transparent; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important;
    transition-duration: 1ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .reveal.pre:not(.in) { opacity: 1; transform: none; }
}
/* the header stays on one line (28 Nov 2026). When the menu and the account links don't fit, site.js adds .compact:
   they step aside and the Menu button opens them in the sheet. Without JavaScript the 760px rule below does the same. */
.top .wrap { flex-wrap: nowrap; }
.top nav { flex-wrap: nowrap; white-space: nowrap; }
.top.compact nav, .top.compact .acct { display: none; }
.top.compact .menu-btn { display: inline-flex; }
.top.compact .wrap { min-height: 60px; }
/* wider than a phone the sheet drops from the Menu button as a panel instead of rising from the bottom */
@media (min-width: 761px) {
  .sheet { left: auto; right: max(16px, calc((100vw - 1240px) / 2 + 32px)); top: 68px; bottom: auto; width: min(440px, calc(100vw - 32px));
    max-height: calc(100vh - 92px); border: 1px solid var(--line-strong); border-radius: var(--r-sheet); box-shadow: 0 18px 48px -20px rgba(23, 24, 42, .38);
    padding: 6px 22px 22px; opacity: 0; transform: translateY(-6px); transition: transform 220ms var(--ease-out), opacity 160ms var(--ease); }
  .sheet-wrap.open .sheet { opacity: 1; transform: none; }
  .sheet-wrap.closing .sheet { opacity: 0; transform: translateY(-6px); }
  .sheet-grip { display: none; }
  .sheet-backdrop { background: rgba(23, 24, 42, .14); }
}
@media (max-width: 760px) {
  .top:has(.menu-btn) nav { display: none; }
  .menu-btn { display: inline-flex; }
  .top:has(.menu-btn) .wrap { min-height: 60px; }
}
@media print { .site-foot, .menu-btn, .sheet-wrap, .toc, .cta-band, .read-progress, .below, .help { display: none !important; } }
/* 404: Danphe, one line, the ways back */
.nf-page { padding-top: 40px; padding-bottom: 72px; }
.nf-mascot { display: block; width: 104px; height: 104px; margin: 8px 0 14px -6px; }
.nf-page .entries a { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; text-decoration: underline; text-decoration-color: var(--control-edge); text-underline-offset: 4px; }
.nf-page .entries a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* pricing: the plans use the full width (no contents list); the text keeps its reading width */
.pg-pricing .article-grid { grid-template-columns: minmax(0, 1fr); }
.pg-pricing .toc { display: none; }
.pg-pricing .plans { max-width: 1180px; }

/* one-tap sharing after a share link is made: same small buttons, beside the link */
.share-more { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.share-more:not([hidden]) { animation: rise 320ms var(--ease-out) both; }

/* invisible character checker (/invisible-character-checker): the text sits on a sheet; findings are small slate labels */
.cc { margin: 28px 0 8px; max-width: var(--measure); }
.cc-sheet { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-sheet); }
.cc-sheet:focus-within { border-color: var(--cobalt); box-shadow: 0 0 0 1px var(--cobalt); }
.cc textarea { font: 400 17px/1.7 var(--font-read); min-height: 200px; resize: vertical; padding: 18px 22px; border: 0; background: none; display: block; }
.cc textarea:focus { outline: none; }
.cc-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); }
.cc-bar .spacer { flex: 1; }
#cc-out { margin-top: 22px; animation: rise 320ms var(--ease-out) both; }
.cc-sum { font: 700 20px/1.3 var(--font-display); letter-spacing: -0.02em; margin: 0 0 10px; }
.cc-sum.ok { color: var(--human-ink); }
.cc-note { border-left: 3px solid var(--cobalt); padding-left: 14px; color: var(--ink-2); }
.cc-kinds { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.cc-kinds li { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line-strong); }
.cc-kinds li span { color: var(--ink-2); font-size: 15px; }
.cc-kinds code { font: 13px/1.4 ui-monospace, Menlo, monospace; color: var(--ink-2); overflow-wrap: anywhere; }
.cc-msg { margin: 14px 0 0; padding: 12px 14px; background: var(--cobalt-soft); border-radius: var(--r); overflow-wrap: anywhere; }
.cc-h { margin: 22px 0 8px; }
.cc-view { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-sheet); padding: 16px 20px; max-height: 50vh;
  overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 400 16px/1.8 var(--font-read); }
mark.hc { background: var(--unclear-soft); color: var(--unclear-ink); font: 700 11px/1 var(--font-text); padding: 2px 4px; border-radius: 3px;
  margin: 0 1px; vertical-align: 1px; letter-spacing: .02em; }
mark.hc.hc-mixed { font: inherit; background: var(--unclear-soft); color: inherit; padding: 0; border-bottom: 2px dotted var(--unclear-ink); border-radius: 0; margin: 0; }
.cc-actions { display: flex; gap: 10px 14px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.wl-src { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.wl-src select { font-size: 14px; font-weight: 400; min-height: 38px; border: 1px solid var(--control-edge); border-radius: var(--r);
  background-color: var(--sheet); padding-left: 10px; }
.shared-note .share-del { margin-left: auto; flex: none; }

/* Spot the AI (/spot-the-ai): one passage at a time on a sheet, two big choices, the answer underneath */
.spot { margin: 28px 0 8px; max-width: var(--measure); }
.spot-loading, .spot-err { color: var(--ink-2); }
.spot-card, .spot-end { animation: rise 420ms var(--ease-out) both; scroll-margin-top: 20px; }
.spot-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.spot-step { margin: 0; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.spot-dots { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.spot-dots li { width: 22px; height: 8px; border-radius: 2px; background: var(--line-strong); transition: background-color 240ms var(--ease); }
.spot-dots li[aria-current="step"] { background: var(--ink-2); }
.spot-dots li.ok { background: var(--human); }
.spot-dots li.no { background: var(--ai); }
.spot-sheet { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-sheet); padding: 22px 26px; font: 400 18px/1.7 var(--font-read); }
.spot-sheet p { margin: 0 0 12px; }
.spot-sheet p:last-child { margin: 0; }
.spot-q { font: 700 20px/1.3 var(--font-display); letter-spacing: -0.02em; margin: 24px 0 12px; }
.spot-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spot-btns .btn { min-height: 58px; font-size: 18px; }
.spot-btns .btn[disabled] { opacity: 1; cursor: default; }
.spot-btns .btn.truth { border-color: var(--human-ink); background: var(--human-soft); color: var(--human-ink); }
.spot-btns .btn.chosen:not(.truth) { border-color: var(--ai-ink); background: var(--ai-faint); color: var(--ai-ink); }
.spot-btns .btn.chosen::after { content: "your pick"; font-size: 12.5px; font-weight: 500; margin-left: 6px; opacity: .85; }
.spot-reveal:not(:empty) { margin-top: 16px; animation: rise 360ms var(--ease-out) both; }
.spot-ans { border-left: 3px solid var(--human); padding: 2px 0 2px 14px; margin-bottom: 14px; }
.spot-ans.no { border-left-color: var(--ai); }
.spot-verdict { font-weight: 700; font-size: 17px; margin: 0 0 4px; }
.spot-src, .spot-rara { margin: 2px 0 0; color: var(--ink-2); font-size: 15px; }
.spot-end h2 { font-size: 34px; margin: 4px 0 6px; }
.spot-grid { font-size: 34px; letter-spacing: 4px; margin: 6px 0 10px; }
.spot-msg { font-size: 17px; margin: 0 0 6px; }
.spot-streak { color: var(--ink-2); margin: 8px 0 16px; }
.spot-share { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) { .spot-sheet { padding: 16px 18px; font-size: 17px; } .spot-btns .btn { min-height: 52px; } }

/* where to go next, under a result (23 Nov 2026) */
.next-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 20px 0 0; font-size: 15px; }
.next-links a { color: var(--ink-2); }
.next-links a:hover { color: var(--ink); }

/* The Help button, bottom right (site/src/components/Support.astro): Danphe and one word, flat, slight corners */
.help { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 48px;
  padding: 6px 16px 6px 9px; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); border-radius: var(--r);
  font-weight: 600; font-size: 16px; text-decoration: none; box-shadow: 0 6px 16px -8px rgba(23, 24, 42, .35); transition: box-shadow 180ms var(--ease), background-color 180ms var(--ease); }
.help:hover { box-shadow: 0 10px 22px -8px rgba(23, 24, 42, .45); background: #fff; text-decoration: none; }
.help:active { transform: translateY(1px); }
.help img { width: 30px; height: 30px; }
.help.busy { opacity: .7; cursor: progress; }
.help[hidden] { display: none; }
@media (max-width: 640px) {
  .help { right: 12px; bottom: 12px; padding: 6px; }
  .help span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  body:has(textarea:focus, input:focus) .help { display: none; }
}

/* The row of logos: where our outside tests come from (site/src/components/TrustLogos.astro) */
.proof-title { font: 400 17px/1.4 var(--font-text); color: var(--ink-2); margin: 0; }
.proof-title.used { margin-top: 22px; }
.names { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px clamp(28px, 3.6vw, 56px); }
.names li { font: 700 clamp(20px, 2vw, 26px)/1.15 var(--font-display); letter-spacing: -0.02em; }
.names a, .names span { color: #7f7a6c; text-decoration: none; transition: color 160ms linear; }
.names a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
/* logos: one grey, all the same visual weight; their own colours on hover */
.names.logos { align-items: center; gap: 18px clamp(36px, 5vw, 72px); margin-top: 18px; }
.names.logos a { display: block; line-height: 0; padding: 4px 0; }
.names.logos img { display: block; height: clamp(26px, 2.4vw, 34px); width: auto; filter: grayscale(1) brightness(0) opacity(.5);
  transition: filter 200ms linear; }
.names.logos li.tall img { height: clamp(40px, 3.6vw, 52px); }
.names.logos a:hover img, .names.logos a:focus-visible img { filter: none; }
.logo-note { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); }
.logo-note a { color: var(--ink-3); }
@media (max-width: 520px) { .names { gap: 8px 22px; } }
/* pricing: an icon per plan; "Coming soon" quieter than a price */
.plan-ic { width: 32px; height: 32px; stroke-width: 1.5; margin-bottom: 10px; color: var(--ink); }
.plan .price.soon { font-size: 24px; color: var(--ink-2); margin: 14px 0 6px; }
.plan-trust { margin: 36px 0 44px; padding-top: 20px; border-top: 1.5px solid var(--ink); }
.plan-trust .names.logos img { height: clamp(22px, 2vw, 28px); }
.plan-trust .names.logos li.tall img { height: clamp(34px, 3vw, 44px); }
.plan-trust .names.logos { gap: 16px clamp(28px, 4vw, 52px); }
/* Benchmarks: the download, reuse and citation note (site/src/pages/benchmarks.astro) */
.bench-reuse { margin: 40px 0 0; padding-top: 18px; max-width: 760px; }
.bench-reuse h2 { font-size: 24px; margin: 0 0 8px; }
.bench-reuse p { margin: 0 0 10px; color: var(--ink-2); }
.bench-reuse .cite { font-size: 15px; background: var(--paper-2); padding: 12px 14px; border-radius: var(--r); color: var(--ink); overflow-wrap: anywhere; }

/* ---------- accounts (23 Nov 2026): the header's sign-in area (account.js) and the dashboard (dashboard.js).
   House rules hold: flat sections split by hairlines, slight corners, no pills, sentence-case headings. */
.acct { display: flex; align-items: center; gap: 16px; margin-left: 6px; }
.acct[hidden] { display: none; }
.acct a { text-decoration: none; white-space: nowrap; }
.top .brand { flex: none; white-space: nowrap; }
.acct-in { color: var(--ink-2); font-size: 15.5px; font-weight: 500; }
.acct-in:hover { color: var(--ink); text-decoration: underline; }
.acct .btn.small { min-height: 38px; padding: 0 14px; }
/* Sign up in the header is an ink outline: the one filled ink button on a screen stays its main action (Check) */
.top .acct .btn.primary { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
@media (hover: hover) { .top .acct .btn.primary:hover { background: var(--ink); color: #fff; } }
.acct-me { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 15.5px; font-weight: 500; }
.acct-me:hover, .acct-me[aria-current="page"] { color: var(--ink); }
.acct-me[aria-current="page"] { font-weight: 600; }
.acct-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--cobalt); color: #fff; font: 700 13px/28px var(--font-text); text-align: center; }
.sheet-acct { display: grid; grid-auto-flow: column; gap: 10px; padding: 14px 0 4px; }
.sheet-acct[hidden] { display: none; }
.sheet-acct a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border: 1px solid var(--control-edge); border-radius: var(--r);
  text-decoration: none; font-weight: 600; color: var(--ink); background: transparent; }
.sheet-acct a.acct-up { background: var(--brand); border-color: var(--brand-edge); color: var(--brand-ink); }

/* a kept result's note under the result, and a limit message's link */
.keep-note { margin: 10px 0 0; color: var(--ink-2); }
.keep-note a { font-weight: 600; }
#err a, .hz-err a { color: inherit; font-weight: 600; }

.dash { padding-top: 40px; padding-bottom: 72px; }
.wrap.page.dash > * { max-width: 1000px; }
.dash-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.dash-who { margin: 0; color: var(--ink-2); font-size: 16px; }
.dash-out-go, .dash-go, .acc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 0; }
.dash-why { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line-strong); max-width: 640px; }
.dash-why li { padding: 12px 0; border-bottom: 1px solid var(--line-strong); color: var(--ink-2); }
.dash-why b { color: var(--ink); }
.dash-tabs { display: flex; gap: 26px; margin: 22px 0 0; border-bottom: 1px solid var(--line-strong); overflow-x: auto; scrollbar-width: none; }
.dash-tabs a { padding: 12px 0 10px; text-decoration: none; color: var(--ink-2); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.dash-tabs a:hover { color: var(--ink); }
.dash-tabs a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.dash-view { padding-top: 28px; }
.dash-view h2 { font-size: 28px; margin: 0 0 6px; }
.dash-view .lead { margin-top: 4px; }
.dash-h { font: 700 20px/1.2 var(--font-display); letter-spacing: -0.02em; margin: 40px 0 0; }
.dash-note { display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; background: var(--brand-soft);
  border-radius: var(--r); padding: 14px 16px; margin: 0 0 22px; }
.dash-note p { margin: 0; }
.dash-note-go { display: flex; gap: 8px; }
.use { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 6px 48px; }
.use-n { margin: 0; color: var(--ink-2); font-size: 17px; }
.use-n b { font: 800 40px/1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.use-l { margin: 4px 0 8px; color: var(--ink-2); font-size: 15px; }
.use-bar { height: 4px; background: var(--line-strong); border-radius: 2px; overflow: hidden; }
.use-bar i { display: block; height: 100%; width: 0; background: var(--cobalt); transition: width 500ms var(--ease-out); }
.use-reset { grid-column: 1 / -1; margin: 10px 0 0; color: var(--ink-3); }
.dash-all { margin: 10px 0 0; font-size: 15px; }
.dash-more { margin: 16px 0 0; }
.rows { border-top: 1px solid var(--line-strong); margin-top: 12px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 20px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-strong); }
.row-main { grid-column: 1; display: flex; align-items: baseline; gap: 12px; min-width: 0; text-decoration: none; color: var(--ink); background: none; border: 0;
  padding: 0; font: inherit; text-align: left; cursor: pointer; }
.row-main:hover .row-title { text-decoration: underline; text-underline-offset: 3px; }
.row-res { flex: none; min-width: 108px; font-weight: 700; font-variant-numeric: tabular-nums; }
.row-res.is-ai { color: var(--ai-ink); }
.row-res.is-human { color: var(--human-ink); }
.row-res.is-unclear { color: var(--unclear-ink); }
.row-res.is-none { color: var(--ink-3); font-weight: 400; }
.row-res.is-beni { color: var(--cobalt); }
.row-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-read); font-size: 16px; }
.row-meta { grid-column: 1; color: var(--ink-3); font-size: 13px; padding-left: 120px; }
.row-act { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 8px; }
.row-act .btn.small { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn.danger { border-color: var(--ink); color: var(--ink); }
.btn.danger:hover { background: var(--paper-2); border-color: var(--ink); }
.row-body { grid-column: 1 / -1; padding: 14px 0 6px; }
.rw { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.rw h4 { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 8px; font: 600 15px/1.2 var(--font-text); color: var(--ink-2); min-height: 36px; }
.rw-text { margin: 0; font: 400 16px/1.65 var(--font-read); white-space: pre-wrap; overflow-wrap: anywhere; max-height: 420px; overflow-y: auto;
  background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r-sheet); padding: 14px 16px; }
.rows-empty { margin: 0; padding: 18px 0; color: var(--ink-2); border-bottom: 1px solid var(--line-strong); }
.invite-row, .acc-line { display: flex; gap: 8px; flex-wrap: wrap; max-width: 640px; }
.invite-row input, .acc-line input { flex: 1 1 240px; min-width: 0; font: inherit; min-height: 44px; padding: 0 12px; background: var(--sheet);
  border: 1px solid var(--control-edge); border-radius: var(--r); color: var(--ink); }
.invite-row input:focus, .acc-line input:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 1px var(--cobalt); }
.invite-row { margin-bottom: 4px; }
.invite-steps { margin: 26px 0 0; padding: 0; list-style: none; counter-reset: s; border-top: 1px solid var(--line-strong); max-width: 640px; }
.invite-steps li { counter-increment: s; display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-strong); }
.invite-steps li::before { content: counter(s); font: 800 20px/1.3 var(--font-display); color: var(--cobalt); min-width: 18px; }
.invite-count { margin: 22px 0 6px; font-size: 17px; }
.plan-table { max-width: 760px; margin-top: 18px; table-layout: fixed; }
.plan-table th:first-child { width: 150px; }
.plan-table td.is-mine { background: var(--brand-soft); font-weight: 600; }
.plan-table td, .plan-table thead th:not(:first-child) { padding-left: 12px; }
.plan-pro { margin: 20px 0 0; color: var(--ink-2); }
.acc-row { margin: 18px 0 0; }
.acc-facts { margin: 22px 0 0; border-top: 1px solid var(--line-strong); max-width: 640px; }
.acc-facts div { display: flex; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line-strong); }
.acc-facts dt { width: 140px; color: var(--ink-2); flex: none; }
.acc-facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .use { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; }
  .use-n b { font-size: 32px; }
  .row { grid-template-columns: minmax(0, 1fr); }
  .row-main { flex-direction: column; gap: 2px; }
  .row-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .row-meta { padding-left: 0; }
  .row-act { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .rw { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .acc-facts div { flex-direction: column; gap: 2px; }
  .dash-tabs { gap: 20px; }
}
@media print { .acct, .dash-tabs, .row-act { display: none !important; } }

/* ---------- 25 Nov 2026 (night build): the label line, least AI-like passages, help after a flag, the keep toggle,
   and highlights drawn by tw-core.js (TW.overlay / TW.goto) */
.rlabel { flex-wrap: wrap; }
.rlabel .rl-word { font: 800 22px/1.1 var(--font-display); letter-spacing: -0.02em; margin-right: 6px; }
.rl-ai .rl-word { color: var(--ai-ink); }
.rl-mixed .rl-word { color: var(--ink); }
.rl-human .rl-word { color: var(--human-ink); }
.rl-unclear .rl-word { color: var(--unclear-ink); }
.report .rlabel .rl-word { font-size: 14pt; }
/* ranked parts keep the number on their badge in the text */
.passages.ranked button::before { content: attr(data-n); }
.passages.low button::before { content: none; }
.passages.low button { grid-template-columns: 1fr; padding-left: 16px; }
.passages.low button:hover { background: var(--paper-2); }
.passages.low li { position: relative; }
.passages.low li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 8px; height: 2px; background: var(--human); }
.passages.low .q { font-style: italic; color: var(--ink-2); }
.rp-low-list { margin: 0; padding-left: 18pt; }
.rp-low-list li + li { margin-top: 6pt; }
/* "Wrote this yourself?" after a flag: one line with its two links (6 Dec 2026) */
.wrote-help { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.wrote-help .icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--ink); }
.wrote-help b { margin-right: 4px; color: var(--ink); }
.wrote-help a { white-space: nowrap; }
.keep { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; min-height: 40px; }
.keep input { width: 17px; height: 17px; margin: 0; accent-color: var(--ink); }
.keep input:disabled, .keep input:disabled + span { cursor: default; opacity: .7; }
.tw-dots { display: inline-flex; align-items: flex-end; gap: 3px; vertical-align: middle; height: 14px; }
.tw-dots i { width: 5px; border-radius: 1px; background: #d8d6e0; display: block; }
.tw-dots i:nth-child(1) { height: 6px; } .tw-dots i:nth-child(2) { height: 10px; } .tw-dots i:nth-child(3) { height: 14px; }
.tw-dots i.on { background: var(--ink); }
.doc .ov-goto { border-radius: 2px; transition: background-color 400ms var(--ease); }
.doc .ov-goto.flash { background: #f7b8a5; }
@media print { .wrote-help, .keep, .low-sec { display: none !important; } }

/* ---------- design audit rules (28 Nov 2026, kept): even headings, no lonely last word, the browser's own parts in
   the palette, tap areas, numbers that line up */
h1, h2, h3, h4 { text-wrap: balance; }
p, li, dd, figcaption, blockquote { text-wrap: pretty; }
.hs-research ::selection, .hs-final ::selection, .it-api ::selection, .hs-langs ::selection { background: rgba(255, 255, 255, .3); color: #fff; }
textarea, input, [contenteditable] { caret-color: var(--cobalt); }
html { scrollbar-color: var(--line-strong) transparent; }
.foot-bar .langs a, .next-links a { display: inline-flex; align-items: center; min-height: 32px; }
td, th { font-variant-numeric: tabular-nums; }
.mascot.off, .mascot.off * { animation-play-state: paused !important; }
.bench .notes, .bench-reuse p { max-width: var(--measure-text); }

/* ---------- the mirror on narrow screens: one column, your sheet and Check first, inside the first screen */
@media (max-width: 880px) {
  .mirror { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; --gap: var(--gutter); --sheet-h: 400px; }
  .m-head, .m-sheet, .m-under { padding-left: var(--edge); padding-right: var(--edge); }
  .m-head { grid-row: 1; padding-top: 24px; padding-bottom: 18px; }
  .m-sheet { grid-row: 2; }
  .m-under { grid-row: 3; padding-top: 16px; padding-bottom: 36px; }
  .mirror h1, .mirror h1.long, .tool .mirror h1 { font-size: 30px; max-width: none; }
  .m-sub { margin-top: 8px; font-size: 16px; }
  .mirror > #out { grid-column: 1; grid-row: 4; display: block; padding: 0 var(--edge) 52px; }
  .ex-head { padding: 40px 0 16px; }
  .ex-under { padding: 16px 0 0; }
  .mirror > #out > .loading { margin-top: 32px; height: auto; min-height: 220px; }
  .empty { margin-top: 32px; height: auto; }
  .mirror.has-result > #out { grid-row: 4; padding-top: 32px; }
  .mirror.has-result .m-under { display: none; }
  /* the result page: the headline, then the result, then the marked text */
  .result-page .m-head { grid-row: 1; }
  .result-page.mirror > #out { grid-row: 2; padding-top: 28px; }
  .result-page .m-sheet { grid-row: 3; background: none; padding-bottom: 48px; }
  .result-page .m-under { display: none; }
  .result-page .input-card { box-shadow: none; border: 1px solid var(--line); }
  .mirror .s-label { padding: 14px 18px 2px; }
  .mirror #text { padding: 16px 18px 12px; }
  .mirror #text::placeholder { font-size: 21px; }
  .mirror #p-file, .mirror #p-url { padding: 0 18px; }
  .mirror #p-file .s-label, .mirror #p-url .s-label { padding: 14px 0 6px; }
  .mirror .input-bar { padding: 12px; }
  .mirror .input-bar .btn.primary { padding: 0 32px; min-height: 54px; }
  .mirror .counter { display: none; }
  .ex-sheet { height: auto; }
  .ex-wrap { flex: none; height: 400px; }
  .ex-body { padding: 2px 18px 18px; }
  .ex-sheet .s-head { padding: 14px 18px 6px; }
  .readout { padding: 12px 16px 16px; }
  .nums .meter-line { margin-left: 0; width: 100%; }
}
/* the result page on a phone (5 Dec 2026): the headline, the numbers, the marked text, then the passages and the rest.
   The result's own boxes are laid out by the page's grid (display: contents), in this order. */
@media (max-width: 880px) {
  .result-page.mirror.has-result > #out, .result-page.mirror.has-result > #out > .res { display: contents; }
  .result-page.mirror.has-result > * { grid-row: auto; }
  .result-page.has-result .m-head { order: 1; }
  .result-page.has-result #out .res > *, .result-page.has-result #out > .shared-note { order: 4; margin-left: var(--edge); margin-right: var(--edge); }
  .result-page.has-result #out .res > :is(.res-top, .score, .split, .ev-more, .conf, .say, .vote) { order: 2; }
  .result-page.has-result #out .res > .res-top { margin-top: 26px; }
  .result-page.has-result .m-sheet { order: 3; padding-top: 28px; padding-bottom: 8px; }
  .result-page.has-result #out .res > .stamp { margin-bottom: 52px; }
  .result-page.has-result .m-under { order: 5; }
}
@media (max-width: 480px) {
  .mirror .input-bar { flex-wrap: wrap; gap: 6px; }
  .mirror .input-bar .btn.primary { padding: 0 26px; }
}

/* ---------- a tool on a cobalt band (the Humanizer, the Rewriter, 5 Dec 2026): your text sits on cobalt, as on the
   checker; the sheets keep cobalt focus rings inside, the band a yellow one */
.tool-band { background: var(--cobalt); color: #fff; }
.tool-band h1 { color: #fff; }
.tool-band .tool-top { padding-bottom: clamp(48px, 6vw, 72px); }
.tool-band :focus-visible { outline-color: var(--focus-on-cobalt); }
.tool-band .input-card :focus-visible, .tool-band .hz-sheet :focus-visible, .tool-band .rwp-spread :focus-visible { outline-color: var(--focus); }
.tool-band .hero ::selection, .tool-band .rwp-hero ::selection { background: #fff; color: var(--cobalt-d); }

/* the analytics notice (5 Dec 2026, owner: minimal): one quiet bar at the bottom left, only when Google Analytics is set */
.consent { position: fixed; left: 16px; bottom: 16px; z-index: 45; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px;
  max-width: min(520px, calc(100vw - 32px)); padding: 10px 12px 10px 16px; background: var(--sheet); border: 1px solid var(--line-strong);
  border-radius: var(--r-sheet); box-shadow: 0 12px 32px -14px rgba(23, 24, 42, .35); font-size: 14.5px; color: var(--ink); }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 220px; }
.consent a { color: var(--ink-2); }
@media (max-width: 560px) { .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; justify-content: flex-end; } .consent p { flex-basis: 100%; } }
