/* The front of Evident: the lamp-lit desk (the approved sample EvidentDesk.fx4,
   moved into the site). This file styles templates/index.html only; every other
   page keeps static/style.css, its own fonts and its own tokens.
   Layout concept: one lamp-lit desk is the whole page. A tall native scroll
   track drives one eased value that moves the camera, the light and the
   captions. The answer comes first; the reasoning waits below it, one stop at
   a time, with a Next control that always says what comes next. */

/* Fonts are served from here (latin subsets, the same ranges as style.css):
   no third-party request, and they work offline. The display face is the full
   variable file (opsz 12 to 96, wght 200 to 800); the painted card needs 700. */
@font-face {
  font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800;
  font-display: swap; src: url("/static/fonts/woff2/bricolagegrotesque-opsz12-96-200-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600;
  font-display: swap; src: url("/static/fonts/woff2/instrumentsans-normal-400-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("/static/fonts/woff2/ibmplexmono-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("/static/fonts/woff2/ibmplexmono-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The desk's own tokens: the sample's values under desk names (DESIGN.md,
   "The desk front"). The short names below are aliases so the sample's rules
   read as they were approved; they mean these values on this page only. */
:root {
  color-scheme: dark;
  --desk-night: #0d0c0b;        /* the room beyond the lamp, and the page ground */
  --desk-deep: #12110f;         /* a solid ground for words over the desk */
  --desk-deep-2: #1c1a19;       /* the strip and the bar */
  --desk-line: #302f2c;         /* rules on the night ground */
  --desk-edge: #42403d;         /* the outline of a bar control */
  --desk-edge-2: #44423f;       /* the outline of a field and a Details button */
  --desk-edge-3: #62605d;       /* a ghost button, a rail dot, a hovered outline */
  --desk-quote: #53514e;        /* the rule beside a quoted conclusion */
  --desk-ref: #666461;          /* the box round a study number in the prose */
  --desk-on: #f0ede9;           /* words on the night ground */
  --desk-on-2: #b1aeaa;         /* quieter words */
  --desk-on-3: #979591;         /* the rail's stop names */
  --desk-white: #ffffff;        /* the wordmark, a lifted study's title */
  --desk-paper: #f4f2ef;        /* the light shape: the button to press */
  --desk-card: #efe6d2;         /* the answer card */
  --desk-ink: #151412;          /* words on paper and on the card */
  --desk-ink-2: #4a4845;
  --desk-card-label: #403e3b;   /* the card's small label */
  --desk-card-ink: #262522;     /* the card's claim and short answer */
  --desk-card-verdict: #12100f; /* the card's verdict words */
  --desk-panel: #0e0d0c;        /* the reading panels */
  --desk-well: rgba(18, 17, 15, 0.72); /* the claim field, a well in the night */
  --desk-scrim: rgba(10, 9, 8, 0.8);
  --desk-scrim-0: rgba(10, 9, 8, 0);
  --desk-focus: var(--desk-on); /* the focus ring: the words colour, drawn outside the control (no accent) */

  --night: var(--desk-night);
  --deep: var(--desk-deep);
  --deep-2: var(--desk-deep-2);
  --deep-line: var(--desk-line);
  --on-deep: var(--desk-on);
  --on-deep-2: var(--desk-on-2);
  --on-deep-3: var(--desk-on-3);
  --paper: var(--desk-paper);
  --card: var(--desk-card);
  --ink: var(--desk-ink);
  --ink-2: var(--desk-ink-2);
  --panel: var(--desk-panel);
  --scrim: var(--desk-scrim);
  --scrim-0: var(--desk-scrim-0);
  --focus: var(--desk-focus);

  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --strip: 32px;
  --bar: 0px;
  --bar-space: calc(84px + env(safe-area-inset-bottom, 0px));
}
/* on a result the foot bar is one row (the section picker, 56px at most plus the safe area); on a wide screen the rail
   is the picker and there is no bar. Everything laid out against the bar uses this */
html.checked { --bar-space: calc(64px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 761px) and (min-aspect-ratio: 17/20) { html.checked { --bar-space: 32px; } }
/* hidden means hidden, whatever display a class gives (a study's Details fold
   is the one exception: on a wide screen it is always open) */
[hidden]:not(.more):not(.rows) { display: none !important; }
.rows[hidden] { display: none; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-anchor: none; } /* the stops are measured by script; the browser shifting the page to keep an anchor would fight the glide */
/* a control brought into view by Tab, or a link to a row, stops clear of the strip and of the bar (the script's own moves set exact positions and are not affected) */
html { scroll-padding-top: calc(var(--strip) + 8px); scroll-padding-bottom: calc(var(--bar-space) + 8px); }
body { margin: 0; background: var(--night); color: var(--on-deep); font-family: var(--body); font-size: 17px; line-height: 1.5; overflow-x: hidden; }
a { color: var(--on-deep); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
/* the fixed bar's controls draw their focus ring inside their own box, so it never sits over words passing under the bar */
.bar > button:focus-visible { outline-offset: -5px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Skip to the answer: out of sight until a keyboard reaches it, then on the night ground over the strip */
.skip { position: fixed; z-index: 40; top: 6px; left: 16px; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 3px; background: var(--deep); color: var(--on-deep); font-size: 16px; text-decoration: none; }
.skip:not(:focus) { width: 1px; height: 1px; min-height: 0; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip[hidden] { display: none; }
button { font-family: var(--body); }

/* the sample strip, which also carries the standing disclaimer */
.strip { margin: 0; position: fixed; z-index: 20; top: 0; left: 0; right: 0; min-height: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 14px;
  padding: calc(6px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 6px max(16px, env(safe-area-inset-left, 0px));
  background: var(--deep-2); border-bottom: 1px solid var(--deep-line); font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--on-deep-2); text-align: center; line-height: 1.5; }
.strip b { font-weight: 500; color: var(--on-deep); }
/* its own compositing group: without it Chromium's compositor can drop the canvas's bottom rows (a band the strip's height) once the canvas stops redrawing */
.strip { opacity: 0.999; }

/* the scene */
#stage { position: fixed; inset: 0; z-index: 0; }
#stage canvas { display: block; width: 100%; height: 100%; }

/* the page: one scroller, the document. Short stops are one screen; long stops are as tall as their words. */
/* no scroll snap: under real wheel steps it pulled the page back up to a stop top (brief fix 15: take it out if it misbehaves) */
main { position: relative; z-index: 2; pointer-events: none; overflow-x: clip; }
.stop { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  padding: calc(var(--strip) + 28px) max(16px, env(safe-area-inset-right, 0px)) var(--bar-space) max(16px, env(safe-area-inset-left, 0px)); }
.stop.long { min-height: 0; padding-bottom: 40px; }
.stop:last-child { padding-bottom: calc(var(--bar-space) + 8px); }
html:not(.checked) .stop:not(#s1) { display: none; }
.cap { position: relative; z-index: 2; flex: 1 0 auto; display: flex; align-items: center; }
.cap.right { justify-content: flex-end; }
.cap.bottom { align-items: flex-end; }
.long .cap { align-items: flex-start; }
.inner { position: relative; width: min(520px, 100%); }
.inner::before { content: ""; position: absolute; inset: -90px -120px; z-index: -1; background: radial-gradient(closest-side, var(--scrim), var(--scrim-0)); pointer-events: none; }
.cap.right .inner { margin-right: clamp(0px, 9vw, 150px); }
.cap.left .inner { margin-left: clamp(0px, 4vw, 80px); }
@media (min-width: 761px) { #cap-answer .inner { width: min(440px, 100%); } }
.inner a, .inner button, .inner input, .inner textarea, .panel { pointer-events: auto; }

.wordmark { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; margin: 0 0 28px; color: var(--desk-white); }
.eyebrow { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-deep-2); margin: 0 0 16px; }
.eyebrow b { color: var(--on-deep-2); font-weight: 500; margin-right: 10px; }
h1, .h1, .h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; line-height: 0.98; margin: 0; color: var(--on-deep); }
/* the headline is sized by the screen's height as well as its width, so on a short laptop screen the claim box and the button stay on the first screen */
h1, .h1 { font-size: clamp(46px, min(7.2vw, 11.5vh), 104px); }
.h2 { font-size: clamp(42px, 5.6vw, 84px); }
.h2.mid { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.02; }
.lede { font-size: 19px; line-height: 1.45; color: var(--on-deep-2); margin: 18px 0 0; max-width: 26em; }
.still-open { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.08; letter-spacing: -0.025em; margin: 0; color: var(--on-deep); }

form.ask { margin-top: 30px; display: grid; gap: 12px; }
.ask label { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-deep-2); }
.ask textarea { font: 400 19px/1.4 var(--body); color: var(--on-deep); background: var(--desk-well); border: 1px solid var(--desk-edge-2); border-radius: 3px; padding: 14px 16px; resize: none; min-height: 84px; width: 100%; }
.btn { appearance: none; font: 600 17px/1.2 var(--body); min-height: 52px; padding: 0 24px; border-radius: 3px; border: 1px solid var(--paper); background: var(--paper); color: var(--ink); cursor: pointer; justify-self: start; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.btn:hover { text-decoration: underline; text-underline-offset: 4px; }
/* pressed: the light shape dims to the quieter words' grey for the press (pointer, Space, or Enter by app.js's .pressed);
   colour only, so it paints in the press's own frame; the focus ring is untouched */
.btn:not(.ghost):not(.quiet):active, .btn.pressed:not(.ghost):not(.quiet) { background: var(--desk-on-2); border-color: var(--desk-on-2); }
.btn.ghost { background: transparent; color: var(--on-deep); border-color: var(--desk-edge-3); }
.btn.ghost:hover { border-color: var(--on-deep); }
.btn.quiet { background: transparent; border-color: transparent; color: var(--on-deep-2); padding: 0 12px; text-decoration: underline; text-underline-offset: 4px; }
.btn.quiet:hover { color: var(--on-deep); }
.nma { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--on-deep-2); margin: 18px 0 0; }

/* stop 2: the short answer */
.layer { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-deep-2); margin: 0 0 14px; }
.sure { font-size: 22px; line-height: 1.38; margin: 0; color: var(--on-deep); max-width: 22em; }
.sure-label { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-deep-2); margin: 0 0 8px; }
.doctor { font-size: 17px; color: var(--on-deep-2); margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--deep-line); }
.two { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 24px; }

/* stop 3: what was read */
.scope { margin: 22px 0 0; font-size: 18px; line-height: 1.5; color: var(--on-deep); max-width: 27em; }
.scope b { font-weight: 600; }
.legend { margin: 16px 0 0; font-size: 17px; color: var(--on-deep-2); max-width: 30em; }

/* panels: the thorough layer, set for reading */
.panel { position: relative; background: var(--panel); border-top: 2px solid var(--desk-edge-3); border-radius: 3px; padding: 26px 30px 30px; }
.inner.wide { width: min(600px, 47vw); }
.inner.wider { width: min(700px, 54vw); }
.panel::before { display: none; }
.panel h2 { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 2.8vw, 40px); letter-spacing: -0.03em; line-height: 1.04; margin: 0 0 10px; color: var(--on-deep); }
.panel h3 { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-deep-2); margin: 30px 0 10px; padding-top: 18px; border-top: 1px solid var(--deep-line); }
.panel p, .panel li { font-size: 17px; line-height: 1.6; max-width: 30em; }
.panel p { margin: 0 0 12px; color: var(--on-deep); }
.panel .intro { color: var(--on-deep-2); margin-bottom: 4px; max-width: 28em; }
.panel ul.ev { margin: 0; padding: 0 0 0 18px; }
.panel ul.ev li { margin: 0 0 10px; color: var(--on-deep); }
.effect { border-left: 2px solid var(--desk-edge-3); padding: 2px 0 2px 14px; }
.effect .fig { font-family: var(--mono); font-size: 14px; color: var(--on-deep-2); display: block; margin-top: 6px; }
.panel blockquote { margin: 0 0 6px; padding: 0 0 0 14px; border-left: 2px solid var(--desk-quote); color: var(--on-deep); font-size: 17px; line-height: 1.6; max-width: 30em; }
.said { list-style: none; margin: 0; padding: 0; }
.said li { margin: 0 0 18px; }
.said .who { font-family: var(--mono); font-size: 13px; color: var(--on-deep-2); margin: 0 0 6px; }
.fine { font-size: 17px !important; color: var(--on-deep-2) !important; }
.rests { list-style: none; margin: 0; padding: 0; }
.rests li { display: flex; gap: 12px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--deep-line); }
.rests li b { font-family: var(--display); font-size: 22px; font-weight: 600; min-width: 1.2em; }
.ref { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; margin: -11px -7px; vertical-align: middle;
  color: var(--on-deep); font: 500 14px/1 var(--mono); text-decoration: none; cursor: pointer; }
.ref::before { content: ""; position: absolute; inset: 10px 8px; border: 1px solid var(--desk-ref); border-radius: 3px; }
.ref:hover::before { border-color: var(--on-deep-2); }

/* stop 4: the study list */
.grp-h { margin: 18px 0 0; }
.grp-btn { appearance: none; background: none; border: 0; border-top: 1px solid var(--deep-line); width: 100%; min-height: 48px; padding: 12px 0 10px; display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer;
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-deep); }
.grp-btn::after { content: "Show"; margin-left: auto; text-transform: none; letter-spacing: 0; color: var(--on-deep-2); text-decoration: underline; text-underline-offset: 3px; }
.grp-btn[aria-expanded="true"]::after { content: "Hide"; }
.grp-btn:hover::after { color: var(--on-deep); }
.row-more { appearance: none; background: none; border: 1px solid var(--desk-edge-2); border-radius: 3px; min-height: 44px; padding: 0 14px; margin: 2px 0 4px; color: var(--on-deep); font: 500 13px/1 var(--mono); letter-spacing: 0.04em; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.row .more { padding-top: 4px; }
.row .named { font-family: var(--mono); font-size: 13px !important; color: var(--on-deep-2) !important; margin: 0 0 4px !important; }
/* a study's two actions, on every width: Read abstract (a disclosure, open in place) and Open PubMed (a new tab) */
.row .acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 2px 0 2px; }
.row .act { appearance: none; box-sizing: border-box; min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--desk-edge-2); border-radius: 3px; background: none; color: var(--on-deep); font: 500 15px/1.2 var(--body); cursor: pointer; text-decoration: none; }
.row .act:hover { border-color: var(--desk-edge-3); text-decoration: underline; text-underline-offset: 3px; }
.row .act.quiet { border: 0; padding: 0; color: var(--on-deep-2); text-decoration: underline; text-underline-offset: 3px; }
.row .act.quiet:hover { color: var(--on-deep); }
.row .acts { position: relative; }
.row .abs { flex: 1 0 100%; }
.row .abs > summary { list-style: none; width: 140px; }
.row .abs ~ .pm { position: absolute; top: 0; left: 152px; }
.row .abs > summary::-webkit-details-marker { display: none; }
.row .abs[open] .shut, .row .abs:not([open]) .open { display: none; }
.row .abs-body { padding: 12px 0 2px; }
.row .abs-text { white-space: pre-line; font-size: 16px !important; line-height: 1.55 !important; color: var(--on-deep-2) !important; margin: 0 0 6px !important; max-width: 40em; }
.row .noabs { display: inline-flex; align-items: center; min-height: 44px; margin: 0 !important; font: 500 13px/1.2 var(--mono) !important; color: var(--on-deep-2) !important; }
.said-wrap summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-deep); margin: 30px 0 10px; padding-top: 14px; border-top: 1px solid var(--deep-line); list-style: none; }
.said-wrap summary::-webkit-details-marker { display: none; }
.said-wrap + .said-wrap summary { margin-top: 0; }
.said-wrap[open] { padding-bottom: 8px; }
.said-wrap summary::after { content: "Show"; margin-left: auto; text-transform: none; letter-spacing: 0; color: var(--on-deep-2); text-decoration: underline; text-underline-offset: 3px; }
.said-wrap[open] summary::after { content: "Hide"; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { border-top: 1px solid var(--deep-line); padding: 6px 0 14px; scroll-margin: 12px; }
.row-head { appearance: none; display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; width: 100%; text-align: left; background: none; border: 0; border-radius: 3px; padding: 10px 8px 6px 0; color: var(--on-deep); cursor: pointer; min-height: 44px; }
.row-head .num { grid-row: span 2; font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1; color: var(--on-deep-2); padding-top: 2px; text-align: center; }
.row-head .design { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-deep-2); }
.row-head .ttl { font-size: 17px; font-weight: 600; line-height: 1.4; }
.row-head:hover .ttl { text-decoration: underline; text-underline-offset: 3px; }
.row-head[aria-pressed="true"] .num { color: var(--ink); background: var(--paper); border-radius: 3px; }
.row-head[aria-pressed="true"] .ttl { color: var(--desk-white); }
.row .body { padding-left: 52px; }
.row .src { font-size: 17px !important; color: var(--on-deep-2) !important; margin: 4px 0 6px !important; }
.row .src a { display: inline-flex; align-items: center; min-height: 44px; }
/* Under each study, what it contributes, its caution and Indirect context: plain sentences, the label in mono. */
.row .contrib, .row .studied, .row .caution, .row .indirect { font-size: 16px !important; line-height: 1.45 !important; color: var(--on-deep) !important; margin: 0 0 6px !important; }
.row .caution { color: var(--on-deep-2) !important; }
.row .lbl { display: block; font: 500 13px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--on-deep-2); margin-bottom: 2px; }
.row .status { font-family: var(--mono); font-size: 13px !important; color: var(--on-deep) !important; margin: 0 0 4px !important; }
.row .status.no { color: var(--on-deep-2) !important; }
.row .note { font-size: 17px !important; color: var(--on-deep-2) !important; margin: 0 !important; }

/* wayfinding */
.rail { position: fixed; z-index: 10; right: max(14px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); display: grid; gap: 0; }
.rail button { appearance: none; background: none; border: 0; min-height: 44px; min-width: 44px; padding: 0 0 0 14px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; font: 500 13px/1 var(--mono); letter-spacing: 0.04em; color: var(--on-deep-3); cursor: pointer; text-align: right; }
.rail button::after { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--desk-edge-3); flex: none; }
.rail button:hover { color: var(--on-deep); }
.rail button[aria-current] { color: var(--on-deep); }
.rail button[aria-current]::after { background: var(--on-deep); border-color: var(--on-deep); }
.menu .menu-again { margin-top: 6px; border-top: 1px solid var(--deep-line); }
.rail button span { background: var(--scrim); padding: 3px 6px; border-radius: 3px; }

.bar { position: fixed; z-index: 12; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr; align-items: center; pointer-events: none;
  padding: 5px max(16px, env(safe-area-inset-right, 0px)) calc(5px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: var(--deep-2); border-top: 1px solid var(--deep-line); } /* one solid strip, like the top strip: words never show between the controls */
/* its own compositing group too, for the same Chromium fault as the strip: without it the canvas loses a band of rows under the top strip */
.bar { opacity: 0.999; }
html:not(.checked) .bar, html:not(.checked) .rail { display: none; }
@media (min-width: 761px) and (min-aspect-ratio: 17/20) { .bar { display: none; } }
/* the phone keyboard is open (desk.js sets .kbd): the bar would sit on the box being typed in, so it waits below */
html.kbd .bar { visibility: hidden; }
.bar > * { pointer-events: auto; }
.where { justify-self: stretch; appearance: none; min-height: 44px; padding: 0 14px; border-radius: 3px; border: 1px solid var(--desk-edge); background: var(--panel); color: var(--on-deep); font: 500 16px/1 var(--body); cursor: pointer; white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 10px; }
.where-k { font: 500 13px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-deep-2); }
.where svg { width: 14px; height: 14px; flex: none; }
.where:hover { color: var(--on-deep); }
.menu { position: fixed; z-index: 13; left: 50%; transform: translateX(-50%); bottom: calc(62px + env(safe-area-inset-bottom, 0px)); background: var(--deep); border: 1px solid var(--deep-line); border-radius: 3px; padding: 6px; display: grid; min-width: 210px; }
.menu[hidden] { display: none; }
.menu button { appearance: none; background: none; border: 0; min-height: 44px; text-align: left; padding: 0 12px; color: var(--on-deep-2); font: 500 15px/1 var(--body); cursor: pointer; border-radius: 3px; }
.menu button[aria-current] { color: var(--on-deep); background: var(--deep-2); }
.menu-links { margin: 6px 0 0; padding: 6px 0 0; border-top: 1px solid var(--deep-line); display: grid; }
.menu-links a { min-height: 44px; display: flex; align-items: center; padding: 0 12px; color: var(--on-deep-2); font: 500 15px/1 var(--body); }
.menu-links a:hover { color: var(--on-deep); }

/* the verdict card, real text */
.vcard { display: none; }
/* the claim on the card is quoted, as the sample prints it; desk.js paints the same quotes on the card's face */
.vcard .q::before { content: "\201C"; } .vcard .q::after { content: "\201D"; }
.vcard .lbl { display: none; }
#short-label { display: none; }
/* with the 3D desk: the card's words are HTML laid exactly over the settled paper card (placed by script); words in the page pass over it */
.has-gl .vcard { display: block; position: fixed; z-index: 1; left: 0; top: 0; width: 0; height: 0; margin: 0; padding: 0; opacity: 0; pointer-events: none; color: var(--ink); overflow: hidden; }
/* the words fade in over 150 ms once the card has settled, and out as it leaves: driven by the frame loop (placeCard), so the loop knows when it is done */
.has-gl .vcard p, .has-gl .vcard h1, .has-gl .vcard h2 { position: absolute; margin: 0; white-space: nowrap; }
.has-gl .vcard .lbl { display: block; font-family: var(--mono); font-weight: 500; text-transform: uppercase; color: var(--desk-card-label); }
.has-gl .vcard .q { font-family: var(--body); font-weight: 400; color: var(--desk-card-ink); }
.has-gl .vcard .v { font-family: var(--display); font-weight: 700; letter-spacing: 0; line-height: 1; color: var(--desk-card-verdict); }
.has-gl .vcard .t { font-family: var(--body); font-weight: 400; color: var(--desk-card-ink); white-space: normal; }
.has-gl .vcard.compact { padding: 10px 16px; }
.has-gl .vcard.compact p, .has-gl .vcard.compact h1, .has-gl .vcard.compact h2 { position: static; white-space: normal; }
.has-gl .vcard.compact .lbl { font-size: 13px; line-height: 16px; margin-bottom: 8px; }
.has-gl .vcard.compact .q { font-size: 17px; line-height: 1.2; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.has-gl .vcard.compact .v { line-height: 1.02; margin: 5px 0 5px; letter-spacing: -0.01em; }
.has-gl .vcard.compact .t { font-size: 17px; line-height: 1.24; }
.has-gl #short-label { display: block; position: fixed; z-index: 1; margin: 0; opacity: 0; pointer-events: none; left: 0; top: 0; }
/* the rest of the answer sits on a calm, solid dark ground */
.has-gl #cap-answer .inner, .has-gl #s3 .inner, .has-gl #s6 .inner { background: var(--deep); border-radius: 3px; padding: 24px 26px 26px; }
.has-gl #cap-answer .inner::before, .has-gl #s3 .inner::before, .has-gl #s6 .inner::before { display: none; }
@media (min-width: 761px) {
  /* the panel adds its padding outside the original text column, so words keep their width and place */
  .has-gl #s3 .inner { width: min(572px, 100%); }
  /* the last stop's column is a little wider so the open search still fits one screen (the saved "still open" line runs to five lines at 520) */
  .has-gl #s6 .inner { width: min(652px, 100%); }
  .has-gl #s3 .cap.right .inner { margin-right: calc(clamp(0px, 9vw, 150px) - 26px); }
  .has-gl #s6 .cap.left .inner { margin-left: calc(clamp(0px, 4vw, 80px) - 26px); }
  .has-gl #cap-answer .inner { width: min(480px, 100%); }
}

@media (max-width: 760px) {
  .where { padding: 0 10px; }
  .cap .inner::before { inset: -36px -16px; background: linear-gradient(to bottom, var(--scrim-0), var(--scrim) 48px, var(--scrim) calc(100% - 48px), var(--scrim-0)); }
  .stop { padding-top: calc(var(--strip) + 20px); }
  .cap { align-items: flex-start; }
  .cap.bottom { align-items: flex-end; }
  .wordmark { margin-bottom: 14px; font-size: 20px; }
  .has-gl .nma { display: inline-block; background: var(--deep); padding: 6px 10px; border-radius: 3px; }
  .lede { font-size: 17px; margin-top: 10px; }
  form.ask { margin-top: 16px; gap: 10px; }
  .ask textarea { font-size: 17px; min-height: 76px; padding: 12px 14px; }
  .eyebrow { margin-bottom: 10px; }
  .doctor { margin-top: 12px; padding-top: 10px; }
  .two { margin-top: 14px; }
  .two .btn { min-height: 48px; }
  .scope { font-size: 17px; margin-top: 14px; }
  .legend { display: none; }
  .panel { padding: 18px 16px 22px; }
  .has-gl #cap-answer .inner, .has-gl #s3 .inner, .has-gl #s6 .inner { padding: 18px 18px 20px; }
  .panel h2 { font-size: 30px; }
  .row .body { padding-left: 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; }
  .row .body .src { flex: 1 1 180px; }
  .row .body .row-more { flex: none; margin: 0; }
  .row .body .acts { flex: 1 0 100%; }
  .row .body .more { flex: 1 0 100%; }
  .row-head { grid-template-columns: 34px 1fr; }
  .h2.mid { font-size: 34px; }
  .still-open { font-size: 28px; }
}
@media (max-width: 359px) {
  .strip { letter-spacing: -0.02em; padding-left: 10px; padding-right: 10px; }
  h1, .h1 { font-size: 42px; }
  .h2 { font-size: 38px; }
  .still-open { font-size: 23px; }
  .h2.mid { font-size: 30px; }
}
/* tall screens (phones, portrait tablets): one column; on the long stops the picture shows at the top */
@media (max-width: 760px), (max-aspect-ratio: 17/20) {
  .rail { display: none !important; }
  .cap.right { justify-content: flex-start; }
  .cap.right .inner, .cap.left .inner { margin: 0; }
  .inner.wide, .inner.wider, .inner { width: 100%; }
  .inner.wide::before, .inner.wider::before { display: none; }
  /* content before scenery: each section starts under a band of the desk, its heading in the top 28% of the screen;
     the Answer and the first half of Studies are as tall as their words, so what follows always shows at the foot */
  .has-gl .stop.long, .has-gl #s3, .has-gl #s6 { padding-top: calc(var(--strip) + 14vh); padding-top: calc(var(--strip) + 14svh); }
  .has-gl #s4 { padding-top: 0; }
  html.checked #s2, html.checked #s3 { min-height: 0; }
  html.checked #s2 { padding-bottom: 8px; }
  .has-gl #s3 { padding-top: calc(var(--strip) + 4vh); padding-top: calc(var(--strip) + 4svh); }
  /* the strip's share of that padding sits under the end of the Answer, so the Studies heading shows on the Answer's
     first screen; the overlap is empty and lets presses through */
  html.checked #s3 { margin-top: calc(-1 * var(--strip)); pointer-events: none; }
  html.checked #s3 > * { pointer-events: auto; }
  @media (max-height: 700px) { .has-gl #s3 { padding-top: var(--strip); } .has-gl #s3 .inner { padding-top: 10px; } }
  html.checked #s3 { padding-bottom: 16px; }
  .has-gl #cap-answer .inner { width: 100%; }
}
/* L2, the phone's first screen: held upright, before a check, the lamp has the band under the strip (desk3d.js fits
   the lamp, its light and the lit wood inside it) and the words start below it, so no word lies on the lamp and no
   scrim dims it. The band is a third of the screen at most and gives way so the claim box and the button stay on the
   first screen. The page's own "Evident" line steps aside here: the strip above already names the site. */
@media (max-width: 760px) and (orientation: portrait) {
  html.js:not(.no-gl):not(.checked) { --lamp-band: clamp(116px, calc(100svh - 478px), 30svh); }
  html.js:not(.no-gl):not(.checked) #s1 { padding-top: calc(var(--strip) + var(--lamp-band)); }
  html.js:not(.no-gl):not(.checked) #s1 .wordmark { display: none; }
  html.js:not(.no-gl):not(.checked) #s1 .inner::before { top: -14px; }
}
/* short phones: the main button comes up to the first screen; the doctor line and "Check another claim" follow just below it */
@media (max-width: 760px) and (max-height: 700px) {
  .has-gl #cap-answer .inner { display: flex; flex-direction: column; align-items: flex-start; }
  .has-gl #cap-answer .two { display: contents; }
  .has-gl #cap-answer .sure-label { order: 1; } .has-gl #cap-answer .sure { order: 2; } .has-gl #cap-answer .sure-more { order: 2; }
  .has-gl #how-answer { order: 3; margin-top: 14px; }
  .has-gl #cap-answer .doctor { order: 5; align-self: stretch; }
  .has-gl #cap-answer [data-again] { order: 6; margin-top: 8px; }
}
/* the shortest phones: the button first, how sure right after it */
@media (max-width: 760px) and (max-height: 600px) {
  .has-gl #how-answer { order: 1; margin-top: 0; }
  .has-gl #cap-answer .sure-label { order: 3; margin-top: 18px; }
  .has-gl #cap-answer .sure { order: 4; } .has-gl #cap-answer .sure-more { order: 4; }
}
/* short laptop screens: stop 1 sits closer together */
@media (min-width: 761px) and (max-height: 760px) {
  .wordmark { margin-bottom: 16px; }
  .lede { margin-top: 12px; }
  form.ask { margin-top: 20px; gap: 10px; }
}
/* content before scenery on a wide screen: the Answer stops short of a full screen so the Studies heading shows at the
   foot, and the first half of Studies is as tall as its words, so the list follows it */
@media (min-width: 761px) and (min-aspect-ratio: 17/20) {
  html.checked #s2 { min-height: calc(100vh - 150px); min-height: calc(100svh - 150px); }
  html.checked #s3 { min-height: 0; padding-bottom: 24px; }
  .has-gl #s2 .cap { align-items: flex-start; }
  /* text mode too: the answer card starts just under the strip, not halfway down a tall screen (q10-rel) */
  html.no-gl #short-label { margin-top: 0; }
  /* the rail at the right edge is the picker: no text panel runs under its labels */
  .cap.right .inner { margin-right: max(clamp(0px, 9vw, 150px), 196px); }
  .has-gl #s3 .cap.right .inner { margin-right: calc(max(clamp(0px, 9vw, 150px), 196px) - 26px); }
}
@media (min-width: 761px) and (max-aspect-ratio: 17/20) {
  .inner, .inner.wide, .inner.wider { max-width: 640px; }
  .cap { justify-content: center !important; }
}

/* early: the answer was asked for before the desk was ready. The text-mode card shows on the night ground until the 3D card has settled */
.early #s2 { align-items: center; }
.early #s2 .cap { width: min(680px, 100%); flex-grow: 0; justify-content: center !important; margin-bottom: auto; }
.early #s2 .inner { margin-left: auto !important; margin-right: auto !important; width: min(680px, 100%); }
.early #s2 .inner::before { display: none; }
.early #short-label { display: block; width: min(680px, 100%); margin: auto 0 10px; }
.early .vcard { display: block; width: min(680px, 100%); background: var(--card); color: var(--ink); border-radius: 3px; padding: 22px 22px 24px; margin-bottom: 18px; }
.early .vcard .lbl { display: block; font-family: var(--mono); font-size: 13px; font-weight: 500; text-transform: uppercase; color: var(--desk-card-label); margin: 0 0 8px; }
.early .vcard p, .early .vcard h1, .early .vcard h2 { margin: 0; }
.early .vcard .q { font-size: 17px; color: var(--ink-2); }
.early .vcard .v { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 8vw, 64px); letter-spacing: -0.03em; line-height: 1; margin: 10px 0 12px; }
.early .vcard .t { font-size: 17px; max-width: 31em; }
.early #cap-answer .inner { background: var(--deep); border-radius: 3px; padding: 18px 18px 20px; }

/* text mode's still of the desk, home page only (DECISIONS 2026-11-24 q10-still) */
.desk-still { display: none; }
.desk-still img { display: block; width: 100%; height: 100%; }
@media (max-width: 760px) and (orientation: portrait) {
  html.no-gl:not(.checked), html:not(.js):not(.checked) { --lamp-band: clamp(116px, calc(100svh - 478px), 30svh); }
  html.no-gl:not(.checked) #s1, html:not(.js):not(.checked) #s1 { padding-top: calc(var(--strip) + var(--lamp-band)); }
  html.no-gl:not(.checked) #s1 .wordmark, html:not(.js):not(.checked) #s1 .wordmark { display: none; }
  html.no-gl:not(.checked) .desk-still, html:not(.js):not(.checked) .desk-still { display: block; position: absolute; z-index: 0; left: 0; right: 0; top: var(--strip); height: var(--lamp-band); pointer-events: none; }
    .desk-still img { width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; -webkit-mask-image: linear-gradient(to right, transparent, var(--deep) 12%, var(--deep) 88%, transparent), linear-gradient(to bottom, var(--deep) 70%, transparent);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, var(--deep) 12%, var(--deep) 88%, transparent), linear-gradient(to bottom, var(--deep) 70%, transparent); mask-composite: intersect; }
}
@media (max-width: 760px) and (orientation: portrait) and (max-aspect-ratio: 37/80) {
  .desk-still img { width: 100%; -webkit-mask-image: linear-gradient(to bottom, var(--deep) 70%, transparent); mask-image: linear-gradient(to bottom, var(--deep) 70%, transparent); }
}
@media (min-width: 1200px) {
  html.no-gl:not(.checked) .desk-still, html:not(.js):not(.checked) .desk-still { display: block; position: absolute; z-index: 0; top: 0; right: calc(50% + 352px); width: min(300px, calc(50vw - 364px)); aspect-ratio: 1040 / 1769; pointer-events: none; }
    .desk-still img { -webkit-mask-image: radial-gradient(closest-side, var(--deep) 45%, transparent); mask-image: radial-gradient(closest-side, var(--deep) 45%, transparent); }
}
/* fallback without WebGL: the same six stops, set on the night ground */
.no-gl #stage, html:not(.js) #stage { display: none; }
.no-gl main, html:not(.js) main { pointer-events: auto; }
.no-gl .cap, html:not(.js) .cap { justify-content: center !important; }
.no-gl .inner, .no-gl .inner.wide, .no-gl .inner.wider, html:not(.js) .inner, html:not(.js) .inner.wide, html:not(.js) .inner.wider { margin-left: auto !important; margin-right: auto !important; width: min(680px, 100%); }
.no-gl .inner::before, html:not(.js) .inner::before { display: none; }
.no-gl #s2, html:not(.js) #s2 { align-items: center; }
.no-gl #s2 .cap, html:not(.js) #s2 .cap { width: min(680px, 100%); flex-grow: 0; }
.no-gl #short-label, html:not(.js) #short-label { display: block; width: min(680px, 100%); margin: auto 0 10px; }
.no-gl .vcard, html:not(.js) .vcard { display: block; width: min(680px, 100%); background: var(--card); color: var(--ink); border-radius: 3px; padding: 22px 22px 24px; margin-bottom: 18px; }
.no-gl .vcard .lbl, html:not(.js) .vcard .lbl { display: block; font-family: var(--mono); font-size: 13px; font-weight: 500; text-transform: uppercase; color: var(--desk-card-label); margin: 0 0 8px; }
.no-gl .vcard p, .no-gl .vcard h1, .no-gl .vcard h2, html:not(.js) .vcard p, html:not(.js) .vcard h1, html:not(.js) .vcard h2 { margin: 0; }
.no-gl .vcard .q, html:not(.js) .vcard .q { font-size: 17px; color: var(--ink-2); }
.no-gl .vcard .v, html:not(.js) .vcard .v { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 8vw, 64px); letter-spacing: -0.03em; line-height: 1; margin: 10px 0 12px; }
.no-gl .vcard .t, html:not(.js) .vcard .t { font-size: 17px; max-width: 31em; }
.no-gl #s2 .cap, html:not(.js) #s2 .cap { margin-bottom: auto; }


/* ===== The site's own pieces, in the desk's grammar ===== */

/* the strip: the wordmark goes home, Beta says what this is, the disclaimer stays */
.strip .name { display: inline-flex; align-items: center; gap: 10px; }
.strip .sw { color: var(--on-deep); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
/* the strip is 32px tall; the wordmark's tap area grows past it to 44px, so the strip keeps its height */
.strip .sw { position: relative; } .strip .sw::after { content: ""; position: absolute; inset: -6px -8px; }
.strip .sw:hover { text-decoration: underline; }
.strip .beta { font-weight: 400; color: var(--on-deep-2); }

/* the result's stops are children of one wrapper the scripts address as a whole */
#result { display: contents; }
.inner summary, .inner label, .inner select, .inner [tabindex] { pointer-events: auto; }

/* the card's claim is the page's heading: it reads as the card's words, not as a headline */
.vcard h1.q { font-family: var(--body); font-weight: 400; letter-spacing: 0; line-height: 1.4; }

/* stop 1: the claim box and what is around it */
.field-help { margin: -4px 0 0; font-size: 15px; line-height: 1.45; color: var(--on-deep-2); }
#examples .field-help { margin: 0 0 8px; }
.claim-box { position: relative; }
.claim-box textarea { display: block; padding-right: 92px; }
.claim-box textarea::placeholder { color: var(--on-deep-3); }
.clear, .mic { position: absolute; bottom: 6px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; border-radius: 3px; color: var(--on-deep-2); cursor: pointer; }
.clear { right: 46px; } .mic { right: 4px; }
.clear:hover, .mic:hover { color: var(--on-deep); }
.mic.listening { color: var(--on-deep); outline: 1px solid var(--desk-edge-3); outline-offset: -4px; } /* listening: lit words and a ring, not a colour alone */
.field-error { margin: 0; padding-left: 12px; border-left: 2px solid var(--on-deep); font-size: 15px; line-height: 1.45; color: var(--on-deep); }
.claim-box:has(#claim-input[aria-invalid="true"]) textarea { border-color: var(--on-deep); }
.suggest { background: var(--deep-2); border: 1px solid var(--deep-line); border-radius: 3px; overflow: hidden; }
.suggest-head { margin: 0; padding: 10px 14px 2px; font: 500 13px/1.3 var(--mono); color: var(--on-deep-2); }
.suggest-note { margin: 0; padding: 0 14px 9px; font-size: 13px; line-height: 1.4; color: var(--on-deep-2); border-bottom: 1px solid var(--deep-line); }
.suggest-list { list-style: none; margin: 0; padding: 0; }
.suggest-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 12px 14px; min-height: 44px; cursor: pointer; border-top: 1px solid var(--deep-line); border-left: 2px solid transparent; }
.suggest-row:first-child { border-top: 0; }
.suggest-row:hover, .suggest-row[aria-selected="true"] { background: var(--deep); }
.suggest-row[aria-selected="true"] { border-left-color: var(--on-deep); }
.suggest-claim { font-size: 15px; line-height: 1.4; color: var(--on-deep); }
.suggest-also { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--on-deep-2); }
.suggest-verdict { flex: none; font: 500 13px/1.3 var(--mono); color: var(--on-deep-2); white-space: nowrap; }
.privacy-line { margin: 0; font-size: 15px; line-height: 1.45; color: var(--on-deep-2); max-width: 30em; }
.status { margin: 0; font: 500 13px/1.5 var(--mono); color: var(--on-deep-2); }
.status:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { appearance: none; min-height: 44px; padding: 8px 12px; border: 1px solid var(--desk-edge-2); border-radius: 3px; background: transparent; color: var(--on-deep); font: 400 15px/1.3 var(--body); text-align: left; cursor: pointer; }
.chip:hover { border-color: var(--on-deep); }
.site-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; margin: 10px 0 0; font-size: 15px; }
.site-links a { display: inline-flex; align-items: center; min-height: 44px; }
.site-links .install { min-height: 44px; }
.btn[aria-busy="true"] { cursor: progress; }

/* while a check runs the form goes quiet: the log prints right under the claim and nothing else asks to be read */
html[data-screen="checking"] #claim-help, html[data-screen="checking"] #privacy-line, html[data-screen="checking"] #examples { display: none; }
/* and so does all but the headline and the claim, so the newest line and Cancel stay on the first screen of a short laptop or a phone */
html[data-screen="checking"] #ask .wordmark, html[data-screen="checking"] #ask .lede, html[data-screen="checking"] #submit-btn { display: none; }
/* "Or try one of these:" shows only with examples under it: with scripts off the chips are never filled */
#examples:has(.chips:empty), html:not(.js) #examples { display: none; }
/* the reading log: what the check is doing, printed as it happens */
.reading { list-style: none; margin: 24px 0 0; padding: 0; font: 500 13px/1.5 var(--mono); color: var(--on-deep-2); }
.reading li { position: relative; padding: 4px 0 4px 19px; animation: line-in 240ms ease-out both; }
.reading li::before { content: ""; position: absolute; left: 0; top: 13px; width: 9px; height: 1px; background: var(--on-deep-3); }
/* a line the check has moved past keeps two lines of its words: a long search does not push the newest line off the screen */
.reading li:not(.live):not(.cancel-row) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.reading li.live { color: var(--on-deep); }
/* the shortest screens: the line the check is on keeps four lines of a long search, so Cancel stays on the screen (the claim itself is in the box above) */
@media (max-height: 600px) { .reading li.live { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; } }
.reading li.live::before { width: 7px; height: 7px; top: 10px; border-radius: 50%; background: var(--on-deep); }
.cancel-row { margin: 0; padding: 4px 0; }
.cancel-row .link-btn { appearance: none; background: none; border: 0; padding: 0; min-height: 44px; color: var(--on-deep); font: 500 15px/1.3 var(--body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@keyframes line-in { from { opacity: 0; } to { opacity: 1; } }

/* what went wrong, and the way out */
#error { margin-top: 8px; }
.error-title { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.03em; line-height: 1.04; margin: 0; color: var(--on-deep); }
.error-title:focus { outline: none; }
#stamp:focus { outline: none; } /* focus lands on the verdict when the answer arrives; it is not a control */
.error-msg { margin: 14px 0 0; font-size: 17px; color: var(--on-deep); max-width: 30em; }
.error-claim { margin: 10px 0 0; font-size: 15px; color: var(--on-deep-2); }
.error-claim:empty { display: none; }
.countdown { margin: 10px 0 0; font: 500 13px/1.5 var(--mono); color: var(--on-deep-2); }

/* home, before a check: one night panel below the claim box */
.home-more { position: relative; z-index: 2; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 48px max(16px, env(safe-area-inset-left, 0px)); }
html.checked .home-more { display: none; }
.panel.home { width: min(680px, 100%); margin: 0 auto; }
.home .sec-title, .home .trust-title { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.03em; line-height: 1.06; margin: 0 0 10px; color: var(--on-deep); }
.home > div + div, .home > div + section, .home > section + div { margin-top: 30px; }
.home .section-label, .home .trust-q { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-deep-2); margin: 0 0 10px; }
.home .trust-q { margin: 26px 0 8px; padding-top: 16px; border-top: 1px solid var(--deep-line); }
.section-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-row .section-label { margin: 0; }
.claim-list, .ledger-list { list-style: none; margin: 0; padding: 0; }
.claim-list li, .ledger-list .entry { border-top: 1px solid var(--deep-line); }
.entry { padding: 12px 0; }
.entry-link { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-height: 44px; color: var(--on-deep); text-decoration: none; }
.entry-link:hover .entry-claim { text-decoration: underline; text-underline-offset: 3px; }
.entry-claim { font-size: 17px; line-height: 1.4; overflow-wrap: break-word; }
.entry-verdict { flex: none; font: 500 13px/1.4 var(--mono); color: var(--on-deep-2); text-align: right; white-space: nowrap; }
.entry-meta { margin: 6px 0 0 !important; font: 400 13px/1.4 var(--mono); color: var(--on-deep-2) !important; font-variant-numeric: tabular-nums; }
.entry-years { white-space: nowrap; }
.recent-btn { appearance: none; display: block; width: 100%; min-height: 44px; padding: 10px 0; background: none; border: 0; text-align: left; color: var(--on-deep); font: 400 17px/1.4 var(--body); cursor: pointer; }
.recent-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.claim-list a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; color: var(--on-deep); text-decoration: none; }
.claim-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.claim-list .tag { margin-left: auto; padding-left: 12px; font: 500 13px/1.4 var(--mono); color: var(--on-deep-2); white-space: nowrap; }
.home .fine { margin: 8px 0 0; }
.nudge-body { color: var(--on-deep); }
.trust-a p { color: var(--on-deep); }
.proof { border-left: 2px solid var(--desk-quote); padding-left: 14px; }
.proof-claim { margin: 0 0 6px !important; }
.proof-verdict { font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; margin: 0 0 6px !important; }
.proof-tldr { margin: 0 0 6px !important; }
.proof-meta { font: 400 13px/1.5 var(--mono) !important; color: var(--on-deep-2) !important; }
.trust-links { margin-top: 14px !important; }

/* stop 2 */
.typed-note { margin: 0 0 14px; font-size: 15px; line-height: 1.45; color: var(--on-deep-2); max-width: 30em; }
.sure-more { margin: 4px 0 0 -12px; }
.sure-more .btn { min-height: 44px; font-size: 15px; font-weight: 500; }

/* stop 3: a check that read nothing */
.nothing { margin-top: 4px; }
.nothing .scope { color: var(--on-deep); }
.no-evidence { margin: 16px 0 0; font-size: 17px; color: var(--on-deep); max-width: 30em; }
.no-evidence b { display: block; font-weight: 600; }
.query-line code, .legend code, #query { font: 400 14px/1.5 var(--mono); color: var(--on-deep-2); overflow-wrap: anywhere; }
.nothing .query-line:empty { display: none; }
.nosteps { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--deep-line); }
.nosteps .section-label { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-deep-2); margin: 0; }
.nosteps-why { margin: 8px 0 12px; font-size: 17px; color: var(--on-deep); }
.nosteps-acts { list-style: none; margin: 0; padding: 0; }
.nosteps-acts li { padding: 10px 0; border-top: 1px solid var(--deep-line); font-size: 17px; line-height: 1.5; }
.nosteps-acts a { display: inline-flex; align-items: center; min-height: 44px; }
.nosteps-acts code { font: 400 14px var(--mono); }
.nosteps-sub { margin-top: 20px !important; }

/* stop 4: a study's reason and its deep dive */
.row .study-go { margin-top: 10px; }
.grp-btn { color: var(--on-deep); }

/* stop 5: the thorough answer */
.panel .says-p { color: var(--on-deep); }
.panel .who h3 { margin-top: 30px; }
.panel .narrow { padding-left: 14px; border-left: 2px solid var(--desk-quote); color: var(--on-deep-2); }
.panel .part-claim { color: var(--on-deep); font-weight: 600; margin-top: 8px; }
.panel .part-take { color: var(--on-deep-2); }
.panel .evline { font-size: 20px; line-height: 1.4; }
.panel .strength, .panel .unknowns { color: var(--on-deep-2); }
.panel .rests-line { color: var(--on-deep); }

/* stop 6 */
#s6 .still-open { margin: 0 0 6px; }
#s6 .legend { display: block; }
/* The Privacy details link sits in a sentence: its tap area grows round it to 44px, so the sentence does not move. */
.legend.privacy a { position: relative; }
.legend.privacy a::after { content: ""; position: absolute; inset: -12px -6px; }
.qwrap .legend { margin-top: 0; }
.legend.checked, #cached-note { font-size: 17px; }
.toast { display: inline-block; margin: 10px 0 0; font: 500 13px/1.5 var(--mono); color: var(--on-deep-2); }
.toast:empty { display: none; }
.feedback { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 18px 0 0; font-size: 17px; color: var(--on-deep-2); }
.feedback .thumb { min-height: 44px; }
.feedback .thumb[aria-pressed="true"] { color: var(--on-deep); }
.report { margin: 6px 0 0; }
.report-open { margin-left: -12px; min-height: 44px; }
.report-form { margin-top: 10px; }
.report-form textarea { min-height: 84px; }
.report-done { margin: 10px 0 0; font-size: 17px; color: var(--on-deep); }
#s6 .site-links { margin-top: 6px; }

/* the sheets: a study's abstract and How it works, laid over the desk on the night ground */
dialog.sheet { border: 1px solid var(--deep-line); border-bottom: 0; padding: 0; margin: 0; width: min(720px, 100%); max-width: 100%; max-height: 88dvh; position: fixed; inset: auto 0 0 0; margin-inline: auto;
  background: var(--deep); color: var(--on-deep); border-radius: 3px 3px 0 0; overflow: auto; overscroll-behavior: contain;
  opacity: 0; transform: translateY(40px); transition: opacity 200ms ease, transform 260ms cubic-bezier(0.2, 0.9, 0.3, 1), overlay 260ms allow-discrete, display 260ms allow-discrete; }
dialog.sheet[open] { opacity: 1; transform: translateY(0); }
@starting-style { dialog.sheet[open] { opacity: 0; transform: translateY(40px); } }
dialog.sheet.dragging { transition: none; }
dialog.sheet::backdrop { background: var(--scrim); opacity: 0; transition: opacity 200ms ease, overlay 200ms allow-discrete, display 200ms allow-discrete; }
dialog.sheet[open]::backdrop { opacity: 1; }
@starting-style { dialog.sheet[open]::backdrop { opacity: 0; } }
.sheet-handle { width: 40px; height: 4px; border-radius: 3px; background: var(--desk-edge-3); position: absolute; top: 8px; left: 50%; transform: translateX(-50%); }
.sheet-bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: flex-end; align-items: center; min-height: 52px; padding: 0 16px; background: var(--deep); border-bottom: 1px solid var(--deep-line); }
.sheet-close { min-width: 44px; min-height: 44px; }
.sheet-body { padding: 16px 20px max(24px, env(safe-area-inset-bottom)); }
.sheet-title { margin: 8px 0; font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.15; letter-spacing: -0.03em; color: var(--on-deep); }
.sheet-title:focus { outline: none; }
.sheet-src { margin: 0 0 16px; font-size: 15px; color: var(--on-deep-2); }
.sheet-body .meta { margin: 8px 0 0; font: 500 13px/1.4 var(--mono); color: var(--on-deep-2); }
.sheet-body .meta .used { color: var(--on-deep); }
.sheet-section { margin-top: 22px; }
.sheet-section p { margin: 0; font-size: 17px; line-height: 1.6; }
.sheet .section-label { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-deep-2); margin: 0 0 6px; }
.type-card { border-top: 1px solid var(--desk-edge-3); border-bottom: 1px solid var(--deep-line); padding: 12px 0; font-size: 17px; }
.type-card b { display: block; margin-bottom: 4px; font: 500 13px/1.4 var(--mono); color: var(--on-deep-2); }
.type-card.retracted b { color: var(--on-deep); }
.abstract p { margin: 0 0 12px; font-size: 17px; line-height: 1.65; }
.abstract p b { display: block; font: 500 13px/1.4 var(--mono); color: var(--on-deep-2); }
.sheet-actions { display: flex; gap: 12px; align-items: center; margin-top: 26px; }
.steps { padding-left: 20px; margin: 12px 0 20px; }
.steps li { margin-bottom: 12px; font-size: 17px; line-height: 1.6; }
.sheet ul.legend { display: block; padding-left: 18px; margin: 8px 0 0; font-size: 17px; line-height: 1.55; color: var(--on-deep); }
.sheet ul.legend li { margin-bottom: 6px; }
.sheet .fine { margin: 12px 0 0; }
.dive-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--desk-edge-3); }
.dive-figs > div { padding: 6px 0; }
.dive-figs dt { font: 500 13px/1.3 var(--mono); color: var(--on-deep-2); }
.dive-figs dd { margin: 4px 0 0; font: 400 26px/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.dive-status { font-size: 15px; color: var(--on-deep-2); margin: 10px 0 0; }
.dive-links { margin: 14px 0 0; font-size: 15px; font-weight: 500; }
.dive-links a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; }
.dive-sub { margin: 18px 0 6px !important; }
.studies.related { list-style: none; margin: 0; padding: 0; }
.studies.related li { border-top: 1px solid var(--deep-line); padding: 10px 0; }
.studies.related .title { display: block; color: var(--on-deep); font-weight: 600; }
.studies.related .src, .studies.related .meta { font-size: 15px; color: var(--on-deep-2); }

/* no scripts: every group and every fold is open, and the controls that only scripts can work are not shown */
html:not(.js) .rows[hidden] { display: block; }
html:not(.js) .grp-btn::after, html:not(.js) .row-more, html:not(.js) .study-go, html:not(.js) .bar, html:not(.js) .rail,
html:not(.js) #how-answer, html:not(.js) #back-btn, html:not(.js) .sure-more, html:not(.js) #s6 .two, html:not(.js) .feedback, html:not(.js) .report { display: none !important; }
html:not(.js) .stop { min-height: 0; }
/* the end of the page's "Check another claim" without scripts: a link home in place of the action row's button */
html.js .nojs-again { display: none; }
.nojs-again a { display: inline-flex; align-items: center; min-height: 44px; }
html:not(.js).checked #s1 { display: none; }
html:not(.js) .stop:last-child { padding-bottom: 48px; }

@media (max-width: 760px) {
  .home-more { padding-bottom: 32px; }
  .entry-link { flex-direction: column; gap: 4px; }
  .entry-verdict { text-align: left; }
  .sheet-body { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .reading li { animation: none; }
  dialog.sheet, dialog.sheet::backdrop { transition: none; }
}
