/* 视微 · design system — paper, ink and lapis.
   Warm low-contrast surfaces separated by small lightness steps and hairlines, one brand accent,
   one closed border per line of sight. Unknown is always drawn (hatched), never hidden. */
@property --gauge { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --fade-start { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --fade-end { syntax: '<length>'; inherits: false; initial-value: 0px; }

:root {
  color-scheme: light;
  /* Surfaces: canvas → raised. */
  --bg: #f5f4ef;
  --surface-1: #faf9f6;
  --surface-2: #ffffff;
  --surface-3: #ffffff;
  --sunken: #efeee8;
  --fill-hover: rgb(31 29 25 / .05);
  --fill-press: rgb(31 29 25 / .09);
  --border: rgb(31 29 25 / .11);
  --border-strong: rgb(31 29 25 / .2);
  --divider: rgb(31 29 25 / .08);
  --hairline: 1px;
  /* Ink */
  --text: #1c1b18;
  --text-2: #4f4b44;
  --text-3: #6e6a62;
  --text-4: #a29e95;
  /* Brand: lapis (青金). The gold glint is reserved for the mark and highlights. */
  --brand: #2f48a6;
  --brand-hover: #253b8c;
  --brand-2: #5a70c4;
  --brand-3: #9eabdd;
  --brand-soft: #ebeef9;
  --brand-ring: rgb(47 72 166 / .2);
  --on-brand: #ffffff;
  --glint: #e3a536;
  --glint-soft: rgb(240 180 60 / .26);
  /* Deterministic rule observations are drawn in ink; AI judgement in lapis. */
  --rule: #45413a;
  --rule-soft: #ecebe5;
  /* Semantic tones */
  --good: #2c7a4d; --good-soft: #e5f1e9; --good-solid: #3b8f5e;
  --warn: #8f5d07; --warn-soft: #f7eed9; --warn-solid: #d79a2b;
  --bad: #b0391f; --bad-soft: #f9e7e1; --bad-solid: #c0472c; --on-bad: #ffffff;
  --unknown: #626873; --unknown-soft: #eef0f2;
  /* Geometry */
  --r-xs: 4px; --r-sm: 6px; --r-md: 8px; --r-panel: 10px; --r-lg: 12px; --r-xl: 16px; --r-2xl: 20px; --r-pill: 999px;
  --shadow-xs: 0 1px 2px rgb(28 24 18 / .05);
  --shadow-sm: 0 1px 2px rgb(28 24 18 / .04), 0 2px 8px rgb(28 24 18 / .045);
  --shadow-md: 0 2px 4px rgb(28 24 18 / .04), 0 8px 22px rgb(28 24 18 / .07);
  --shadow-lg: 0 4px 8px rgb(28 24 18 / .05), 0 20px 44px -6px rgb(28 24 18 / .14);
  --chamfer: inset 0 0 0 0 transparent;
  --gutter: 1.5rem;
  /* Type */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "Noto Serif CJK SC", "STSong", var(--font-sans);
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;
  /* Motion: short durations, decelerating curves; nothing bounces except small pills. */
  --dur-fast: 70ms; --dur-snap: 120ms; --dur-base: 200ms; --dur-sheet: 300ms; --dur-slow: 450ms;
  --ease-swift: cubic-bezier(.16, 1, .3, 1);
  --ease-expand: cubic-bezier(.19, 1, .22, 1);
  --ease-enter: cubic-bezier(.22, 1, .36, 1);
  --ease-overshoot: cubic-bezier(.34, 1.3, .64, 1);
  --ease-pulse: cubic-bezier(.4, 0, .2, 1);
}
@media (min-resolution: 2dppx) { :root { --hairline: .5px; } }
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #141413;
    --surface-1: #191917;
    --surface-2: #1e1e1c;
    --surface-3: #262623;
    --sunken: #10100f;
    --fill-hover: rgb(255 255 255 / .05);
    --fill-press: rgb(255 255 255 / .09);
    --border: rgb(255 255 255 / .09);
    --border-strong: rgb(255 255 255 / .17);
    --divider: rgb(255 255 255 / .065);
    --text: #edece7;
    --text-2: #b4b0a7;
    --text-3: #918d84;
    --text-4: #625f58;
    --brand: #98a9f3;
    --brand-hover: #b4c1f7;
    --brand-2: #6f84d9;
    --brand-3: #4b5ca6;
    --brand-soft: rgb(152 169 243 / .13);
    --brand-ring: rgb(152 169 243 / .28);
    --on-brand: #0f1631;
    --glint: #f0bb55;
    --glint-soft: rgb(240 187 85 / .16);
    --rule: #d3cfc6;
    --rule-soft: rgb(255 255 255 / .075);
    --good: #74c99a; --good-soft: rgb(116 201 154 / .12); --good-solid: #5cb585;
    --warn: #e5b765; --warn-soft: rgb(229 183 101 / .12); --warn-solid: #d9a145;
    --bad: #f39079; --bad-soft: rgb(243 144 121 / .12); --bad-solid: #e2694e; --on-bad: #1d0b06;
    --unknown: #a0a6b0; --unknown-soft: rgb(160 166 176 / .1);
    --shadow-xs: 0 1px 2px rgb(0 0 0 / .4);
    --shadow-sm: 0 1px 2px rgb(0 0 0 / .4), 0 2px 8px rgb(0 0 0 / .3);
    --shadow-md: 0 2px 4px rgb(0 0 0 / .4), 0 8px 22px rgb(0 0 0 / .4);
    --shadow-lg: 0 4px 8px rgb(0 0 0 / .5), 0 20px 44px -4px rgb(0 0 0 / .55);
    /* A faint top-edge highlight stands in for borders on dark raised surfaces. */
    --chamfer: inset 0 1px 0 rgb(255 255 255 / .045);
  }
}

[data-tone="good"] { --tone: var(--good); --tone-soft: var(--good-soft); --tone-solid: var(--good-solid); }
[data-tone="warn"] { --tone: var(--warn); --tone-soft: var(--warn-soft); --tone-solid: var(--warn-solid); }
[data-tone="bad"] { --tone: var(--bad); --tone-soft: var(--bad-soft); --tone-solid: var(--bad-solid); }
[data-tone="unknown"] { --tone: var(--unknown); --tone-soft: var(--unknown-soft); --tone-solid: var(--unknown); }
[data-tone="na"] { --tone: var(--text-3); --tone-soft: var(--sunken); --tone-solid: var(--border-strong); }
[data-tone="info"] { --tone: var(--brand); --tone-soft: var(--surface-2); --tone-solid: var(--brand); }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { interpolate-size: allow-keywords; scroll-padding-block-start: 4.5rem; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: 1rem; line-height: 1.7; overflow-wrap: break-word; }
main { flex: 1 0 auto; min-width: 0; }
[hidden] { display: none !important; }
a { color: var(--brand); text-decoration-thickness: from-font; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: .24em; text-decoration-skip-ink: auto; transition: color var(--dur-snap) var(--ease-swift), text-decoration-color var(--dur-snap) var(--ease-swift); }
a:hover { text-decoration-color: currentColor; }
button, input, select { font: inherit; color: inherit; }
button, .button, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: var(--r-xs); }
::selection { background: color-mix(in srgb, var(--brand) 22%, transparent); }
h1, h2, h3, h4, p, dl, dd, figure { margin-block-start: 0; }
h1, h2, h3, h4 { text-wrap: balance; color: inherit; }
/* Chinese headings break at punctuation and spaces, not inside a phrase; long runs still wrap. */
h1, h2 { font-family: var(--font-serif); font-weight: 700; letter-spacing: -.005em; word-break: keep-all; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.2; margin-block-end: 1.25rem; }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.875rem); line-height: 1.35; margin-block-end: .75rem; }
h3 { font-size: 1.0625rem; line-height: 1.5; font-weight: 600; margin-block-end: .5rem; }
h4 { font-size: 1rem; line-height: 1.55; font-weight: 600; margin-block-end: .375rem; }
p { margin-block-end: 1rem; text-wrap: pretty; }
p:last-child { margin-block-end: 0; }
li + li { margin-block-start: .4rem; }
code, pre, .mono { font-family: var(--font-mono); }
code { font-size: .85em; overflow-wrap: anywhere; }
section, details { scroll-margin-block-start: 4.5rem; }
details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .6rem; min-height: 2.75rem; font-weight: 550; border-radius: var(--r-md); transition: color var(--dur-snap) var(--ease-swift); }
details > summary::-webkit-details-marker { display: none; }
details > summary::before { content: ""; flex: none; width: .4rem; height: .4rem; border-inline-end: 1.5px solid currentColor; border-block-end: 1.5px solid currentColor; transform: rotate(-45deg); margin-inline: .15rem .2rem; opacity: .5; transition: transform var(--dur-base) var(--ease-swift); }
details[open] > summary::before { transform: rotate(45deg); }
details[open] > summary { margin-block-end: .5rem; }
blockquote { margin: 0; padding: .75rem 1rem; border-inline-start: 2px solid var(--border-strong); background: var(--sunken); border-radius: 0 var(--r-md) var(--r-md) 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .9rem; line-height: 1.75; }
dt { font-size: .8125rem; color: var(--text-3); }
dd { margin: .2rem 0 0; }
table { border-collapse: separate; border-spacing: 0; }

.shell { width: min(100% - 2 * var(--gutter), 76rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-block-start: -5rem; inset-inline-start: 1rem; padding: .75rem 1rem; background: var(--surface-3); color: var(--text); border-radius: var(--r-md); box-shadow: var(--shadow-md); z-index: 50; }
.skip-link:focus { inset-block-start: 1rem; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: 0; }
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; font-size: .75rem; line-height: 1.6; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-block-end: .875rem; }
.small-label, .field-hint, .privacy-note { font-size: .8125rem; color: var(--text-3); }
.muted { color: var(--text-2); }
.site-url { overflow-wrap: anywhere; word-break: normal; unicode-bidi: plaintext; }
/* A highlighter stroke: the same gesture as marking evidence in a printed page. */
.accent-text { color: var(--brand); background-image: linear-gradient(var(--glint-soft), var(--glint-soft)); background-repeat: no-repeat; background-size: 100% .24em; background-position: 0 84%; padding-inline: .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.live-dot { position: relative; width: .5rem; height: .5rem; border-radius: 50%; background: var(--brand); flex: none; box-shadow: 0 0 0 3px var(--brand-soft); }
.text-link { font-size: .875rem; font-weight: 600; text-decoration: none; }
.empty-state { padding: 1.25rem 1.5rem; background: repeating-linear-gradient(135deg, var(--fill-hover) 0 8px, transparent 8px 16px), var(--surface-1); border: 1px dashed var(--border-strong); color: var(--text-2); border-radius: var(--r-xl); font-size: .9375rem; }

/* Inverse surface: an ink panel in light mode, a lifted panel in dark mode. */
.inverse { --text: #edece7; --text-2: #bdb9b0; --text-3: #98948b; --border: rgb(255 255 255 / .1); --border-strong: rgb(255 255 255 / .18); --divider: rgb(255 255 255 / .09); --brand: #a9b8f6; --brand-soft: rgb(169 184 246 / .14); --sunken: rgb(0 0 0 / .25);
  background: #1f1e1b; color: var(--text); color-scheme: dark; }
@media (prefers-color-scheme: dark) { .inverse { background: #23231f; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07); } }

/* Header & footer */
.site-header { position: relative; z-index: 20; background: var(--bg); border-block-end: var(--hairline) solid var(--border); }
.site-header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; min-height: 4rem; padding-block: .5rem; }
.brand { display: inline-flex; align-items: center; gap: .625rem; color: var(--text); text-decoration: none; border-radius: var(--r-md); }
.brand-mark { flex: none; display: block; border-radius: 26.5%; box-shadow: 0 1px 2px rgb(20 30 80 / .18); }
.brand-name { font-family: var(--font-serif); font-size: 1.375rem; font-weight: 700; letter-spacing: .06em; line-height: 1; }
.brand-sub { font-size: .65rem; font-weight: 500; letter-spacing: .14em; color: var(--text-3); padding-inline-start: .65rem; border-inline-start: 1px solid var(--border-strong); line-height: 1.3; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; font-size: .875rem; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 2.25rem; padding-inline: .8rem; border-radius: var(--r-md); color: var(--text-2); text-decoration: none; font-weight: 500; transition: background-color var(--dur-base) var(--ease-swift), color var(--dur-base) var(--ease-swift); }
.site-header nav .nav-cta { margin-inline-start: .35rem; background: var(--text); color: var(--bg); font-weight: 600; }
.site-footer { margin-block-start: 6rem; border-block-start: var(--hairline) solid var(--border); background: var(--surface-1); font-size: .8125rem; color: var(--text-3); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; padding-block: 2.5rem 3rem; }
.footer-inner p { margin-block-end: .5rem; }
.brand-line { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; color: var(--text); font-size: .9375rem; }
.brand-line strong { font-family: var(--font-serif); letter-spacing: .06em; }
.brand-line span { font-size: .8125rem; color: var(--text-3); }
.brand-line .brand-mark { box-shadow: none; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; align-items: flex-start; }
.footer-inner nav a { color: var(--text-2); text-decoration: none; min-height: 2.5rem; display: inline-flex; align-items: center; }
.noscript { margin: 0; padding: 1rem; background: var(--warn-soft); color: var(--warn); text-align: center; font-size: .875rem; }

/* Buttons & forms */
.button { --btn-h: 2.5rem; display: inline-flex; justify-content: center; align-items: center; gap: .5rem; min-height: var(--btn-h); padding: .45rem 1rem; border: 0; border-radius: var(--r-panel); background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong), var(--shadow-xs); font-size: .875rem; font-weight: 600; text-decoration: none; text-align: center; line-height: 1.4; white-space: nowrap; }
.button.primary { background: var(--brand); color: var(--on-brand); box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), 0 1px 2px rgb(20 30 80 / .2), 0 2px 8px rgb(47 72 166 / .14); }
.button.ghost { background: transparent; box-shadow: none; }
.button.danger { color: var(--bad); }
.button.danger-solid { background: var(--bad-solid); color: var(--on-bad); box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), var(--shadow-xs); }
.button.large { --btn-h: 3rem; padding-inline: 1.5rem; font-size: 1rem; border-radius: var(--r-lg); }
label { display: block; font-size: .8125rem; font-weight: 600; margin-block-end: .45rem; color: var(--text); }
.required-label { font-weight: 400; color: var(--text-3); margin-inline-start: .25rem; }
input, select { width: 100%; min-width: 0; min-height: 2.75rem; padding: .6rem .85rem; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text); border-radius: var(--r-panel); font-size: max(16px, 1rem); transition: border-color var(--dur-base) var(--ease-swift), box-shadow var(--dur-base) var(--ease-swift), background-color var(--dur-base) var(--ease-swift); }
select { appearance: none; padding-inline-end: 2.25rem; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 1.1rem) 52%, calc(100% - .8rem) 52%; background-size: .3rem .3rem; background-repeat: no-repeat; }
input::placeholder { color: var(--text-4); opacity: 1; }
input:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-ring); }
input[aria-invalid="true"] { border-color: var(--bad); box-shadow: 0 0 0 3px var(--bad-soft); }
input[readonly] { background: var(--sunken); }
select option { color: #1c1b18; background: #fff; }
.field-hint { margin-block: .5rem 1rem; min-height: 1.4em; }
.hint-warn { color: var(--warn); }
.hint-target { color: var(--brand); overflow-wrap: anywhere; }
.hint-fix { margin-inline-start: .25rem; padding: .1rem .5rem; border: 0; border-radius: var(--r-panel); background: var(--brand-soft); color: var(--brand); font: inherit; font-weight: 600; cursor: pointer; }
.hint-fix:hover { text-decoration: underline; }
.hint-fix:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.error-text { color: var(--bad); margin-block: .5rem; font-size: .875rem; }
.error-text:empty, [role="status"]:empty { margin: 0; min-height: 0; }
.privacy-note { margin-block: 1.1rem 0; line-height: 1.75; }
.scan-frame .privacy-note { text-align: center; text-wrap: balance; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; margin-block-start: .5rem; }

/* Composer: the scan form is the single closed container; everything inside it is borderless. */
.scan-frame { width: min(100%, 44rem); margin-inline: auto; text-align: start; }
.scan-card { position: relative; padding: .625rem; border-radius: var(--r-2xl); background: var(--surface-3); border: 1px solid var(--border); box-shadow: 0 4px 20px rgb(28 24 18 / .05), 0 1px 2px rgb(28 24 18 / .04), var(--chamfer); transition: border-color var(--dur-base) var(--ease-swift), box-shadow var(--dur-base) var(--ease-swift); }
/* Viewfinder corners 「」 echo the mark. */
.scan-card::before, .scan-card::after { content: ""; position: absolute; width: 1.5rem; height: 1.5rem; border: 2px solid var(--brand); opacity: .5; pointer-events: none; transition: opacity var(--dur-base) var(--ease-swift), inset var(--dur-sheet) var(--ease-swift); }
.scan-card::before { inset-block-start: -.7rem; inset-inline-start: -.7rem; border-inline-end: 0; border-block-end: 0; border-start-start-radius: .55rem; }
.scan-card::after { inset-block-end: -.7rem; inset-inline-end: -.7rem; border-inline-start: 0; border-block-start: 0; border-end-end-radius: .55rem; }
.scan-card:focus-within { border-color: color-mix(in srgb, var(--brand) 50%, var(--border-strong)); box-shadow: 0 0 0 4px var(--brand-ring), 0 8px 28px rgb(28 24 18 / .08), var(--chamfer); }
.scan-card:focus-within::before, .scan-card:focus-within::after { opacity: 1; }
.scan-card:focus-within::before { inset-block-start: -.85rem; inset-inline-start: -.85rem; }
.scan-card:focus-within::after { inset-block-end: -.85rem; inset-inline-end: -.85rem; }
.scan-card:has(input[aria-invalid="true"]) { border-color: var(--bad); box-shadow: 0 0 0 4px var(--bad-soft), var(--chamfer); }
.scan-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; padding: .35rem .6rem .15rem; }
.scan-card-head label { margin: 0; color: var(--text-2); }
.composer-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.url-field { position: relative; flex: 1 1 18rem; min-width: 0; }
.url-field input { min-height: 3.25rem; padding-inline: 2.6rem .5rem; border: 0; background: transparent; box-shadow: none; font-family: var(--font-mono); font-size: max(16px, 1.125rem); letter-spacing: -.01em; }
.url-field input:focus, .url-field input[aria-invalid="true"] { box-shadow: none; }
.url-prefix { position: absolute; inset-inline-start: .95rem; inset-block-start: 50%; width: .85rem; height: .85rem; margin-block-start: -.5rem; border: 1.75px solid var(--text-3); border-radius: 50%; pointer-events: none; }
.url-prefix::after { content: ""; position: absolute; width: .38rem; height: 1.75px; background: var(--text-3); inset-inline-end: -.36rem; inset-block-end: -.17rem; transform: rotate(45deg); border-radius: 2px; }
.submit-button { flex: none; --btn-h: 3rem; padding-inline: 1.25rem 1.1rem; font-size: .9375rem; border-radius: var(--r-lg); }
.submit-arrow { display: inline-block; transition: transform var(--dur-base) var(--ease-swift); }
form[aria-busy="true"] .submit-arrow { width: 1rem; height: 1rem; font-size: 0; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; }
.scan-card #url-hint { margin: .2rem .6rem .5rem; }
.scan-card #url-hint:empty { margin: 0; min-height: 0; }
.scan-card > form > .error-text, .scan-card > form > [role="status"] { margin-inline: .6rem; }
.scan-notes { margin-block-start: 1rem; display: grid; gap: .25rem; text-align: center; }
.scan-notes p { margin: 0; }
.scan-notes a { margin-inline-start: .5rem; color: inherit; }
.optional-fields { margin: 0; padding: .25rem .25rem 0; border-block-start: var(--hairline) solid var(--divider); }
.optional-fields > summary { min-height: 2.5rem; padding-inline: .35rem; font-size: .8125rem; color: var(--text-2); }
.optional-fields > summary .small-label { font-weight: 400; }
.optional-fields .form-grid { padding: .25rem .35rem 0; }
.form-grid .form-wide { grid-column: 1 / -1; }
.optional-fields input, .optional-fields select { background-color: var(--sunken); border-color: transparent; }
.optional-fields input:focus, .optional-fields select:focus { background-color: var(--surface-2); border-color: var(--brand); }
.optional-fields > .field-hint { margin: .6rem .35rem .5rem; }

/* Home */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3.5rem, 9vw, 7rem) 0; }
.hero::before, .report-hero::before, .method-header::before, .progress::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--text) 14%, transparent) 1px, transparent 0); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 28%, #000 8%, transparent 74%); mask-image: radial-gradient(ellipse 72% 62% at 50% 28%, #000 8%, transparent 74%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60rem 24rem at 50% -8%, color-mix(in srgb, var(--brand) 6%, transparent), transparent 72%); }
.hero-inner { display: grid; justify-items: center; text-align: center; }
.hero-inner > .eyebrow { justify-content: center; padding: .3rem .8rem .3rem .65rem; border-radius: var(--r-pill); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border), var(--shadow-xs); color: var(--text-2); letter-spacing: .06em; margin-block-end: 1.75rem; }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); line-height: 1.16; margin-block-end: 1.5rem; }
.hero-description { max-width: 36rem; margin-inline: auto; color: var(--text-2); font-size: 1.125rem; line-height: 1.85; margin-block-end: 2.5rem; }
.hero-facts { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.5rem; }
.hero-facts li { margin: 0; display: inline-flex; align-items: center; gap: .45rem; font-size: .8125rem; color: var(--text-2); }
.hero-facts li::before { content: ""; width: .75rem; height: .4rem; border-inline-start: 1.75px solid var(--brand); border-block-end: 1.75px solid var(--brand); transform: translateY(-.15rem) rotate(-45deg); }
.signal-strip { list-style: none; margin: clamp(3.5rem, 7vw, 5.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-block-start: var(--hairline) solid var(--border); }
.signal-strip li { margin: 0; padding: 1.5rem 1.25rem 1.75rem; display: grid; align-content: start; gap: .15rem; border-inline-start: var(--hairline) solid var(--border); }
.signal-strip li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.signal-strip .mono { font-size: 2rem; font-weight: 600; color: var(--text); line-height: 1.2; letter-spacing: -.03em; }
.signal-strip strong { font-size: .875rem; font-weight: 600; }
.signal-strip span:last-child { font-size: .75rem; color: var(--text-3); }
.signal-strip small { font-size: .55em; font-weight: 500; color: var(--text-3); margin-inline-start: .08em; letter-spacing: 0; }
.signal-strip li[data-extra] .mono { color: var(--brand); }
.home-notice { margin-block-start: 2rem; }
.home-section { padding-block: clamp(4rem, 8vw, 6.5rem) 0; }
.section-title { max-width: 46rem; margin-block-end: 1.75rem; }
.section-title h2 { margin-block-end: .5rem; }
.section-title.wide { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .25rem 2rem; margin-block-end: 2.75rem; }
.section-title.wide .eyebrow { grid-column: 1 / -1; margin: 0 0 .25rem; }
.section-title.wide h2 { font-size: clamp(1.65rem, 3vw, 2.375rem); margin: 0; }
.chain { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
@media (min-width: 64.01rem) { .chain[data-count="6"] { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.chain li { position: relative; margin: 0; padding-block-start: 3.5rem; }
.chain li::before { content: ""; position: absolute; inset-block-start: 1.125rem; inset-inline: 3rem -1.25rem; height: 1px; background-image: linear-gradient(90deg, var(--border-strong) 55%, transparent 0); background-size: 7px 1px; }
.chain li:last-child::before { display: none; }
.chain-node { position: absolute; inset-block-start: 0; inset-inline-start: 0; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: var(--r-panel); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border), var(--shadow-sm); font-size: .75rem; font-weight: 600; color: var(--brand); }
.chain .eyebrow { margin-block-end: .35rem; color: var(--brand); }
.chain h3 { font-size: 1.0625rem; }
.chain p:last-child { font-size: .875rem; color: var(--text-2); line-height: 1.75; }
.anatomy { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.anatomy-copy h2 { font-size: clamp(1.65rem, 3vw, 2.375rem); margin-block-end: 1.75rem; }
.anatomy-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 0; }
.anatomy-steps li { counter-increment: step; position: relative; margin: 0; display: grid; gap: .15rem; padding: .95rem 0 .95rem 2.6rem; border-block-start: var(--hairline) solid var(--border); }
.anatomy-steps li::before { content: counter(step); position: absolute; inset-inline-start: 0; inset-block-start: 1rem; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font: 600 .75rem/1 var(--font-mono); }
.anatomy-steps strong { font-weight: 600; }
.anatomy-steps span { font-size: .875rem; color: var(--text-2); }
.anatomy-figure { position: relative; margin: 0; padding: clamp(1rem, 3vw, 1.75rem); border-radius: var(--r-2xl); background: var(--sunken); }
.anatomy-figure figcaption { margin-block-end: .75rem; text-align: center; }
.anatomy-figure .finding { margin: 0; box-shadow: var(--shadow-md), var(--chamfer); }
.anatomy-figure .reference { grid-template-columns: minmax(0, 1fr); }
.anatomy-figure .reference figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; text-align: start; white-space: normal; }
.scope-grid { display: grid; grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.composition { margin: 0; display: grid; gap: 1.75rem; justify-items: center; }
.composition-ring { position: relative; width: min(100%, 15rem); aspect-ratio: 1; display: grid; place-items: center; }
.composition-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--stops)); -webkit-mask: radial-gradient(farthest-side, transparent 70%, #000 70.5%); mask: radial-gradient(farthest-side, transparent 70%, #000 70.5%); }
.composition-ring > div { position: relative; display: grid; justify-items: center; line-height: 1.2; }
.composition-ring .mono { font-size: .6875rem; color: var(--text-3); letter-spacing: .06em; }
.composition-ring strong { font-size: 2.75rem; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.composition-ring span:last-child { font-size: .75rem; color: var(--text-3); }
.composition figcaption { width: 100%; }
.composition ul { list-style: none; padding: 0; margin: 0; display: grid; }
.composition li { margin: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .65rem; font-size: .875rem; padding-block: .5rem; border-block-end: var(--hairline) solid var(--border); }
.swatch { width: .65rem; height: .65rem; border-radius: 3px; }
.scope-cards { display: grid; gap: .75rem; }
.scope-cards article { padding: 1.4rem 1.5rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-sm), var(--chamfer); transition: transform var(--dur-base) var(--ease-swift), box-shadow var(--dur-base) var(--ease-swift), border-color var(--dur-base) var(--ease-swift); }
.scope-cards h3 { margin-block: .75rem .35rem; font-size: 1.125rem; }
.scope-cards p { color: var(--text-2); font-size: .9375rem; }
.source-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .1rem .5rem; border-radius: var(--r-sm); font-size: .6875rem; font-weight: 600; letter-spacing: .02em; text-transform: none; line-height: 1.6; color: var(--rule); background: var(--rule-soft); white-space: nowrap; }
.source-chip::before { content: ""; width: .375rem; height: .375rem; border-radius: 50%; background: currentColor; }
.source-chip[data-source="ai"] { color: var(--brand); background: var(--brand-soft); }
.source-chip[data-source="signal"] { color: var(--text-2); background: transparent; box-shadow: inset 0 0 0 1px var(--border-strong); }
.source-chip[data-source="mixed"] { color: var(--brand); background: linear-gradient(90deg, var(--rule-soft), var(--brand-soft)); }
.source-chip[data-source="signal"]::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.boundary { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem 4rem; padding: clamp(1.75rem, 5vw, 3.5rem); border-radius: 24px; }
.boundary .eyebrow { color: var(--brand); }
.boundary h2 { font-size: clamp(1.65rem, 3vw, 2.375rem); }
.boundary-list { margin: 0; display: grid; gap: 1.25rem; }
.boundary-list > div { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 1rem; padding-block-end: 1.25rem; border-block-end: var(--hairline) solid var(--divider); }
.boundary-list > div:last-child { border: 0; padding: 0; }
.boundary-list dt { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--text); padding-block-start: .05rem; }
.boundary-list dd { margin: 0; color: var(--text-2); }
.cta { text-align: center; display: grid; justify-items: center; gap: 1.5rem; }
.cta h2 { max-width: 32rem; margin: 0; }

/* Notices: a tone icon instead of a colored edge stripe. */
.notice { position: relative; padding: .9rem 1.15rem .9rem 2.85rem; background: var(--tone-soft); color: var(--text); border-radius: var(--r-lg); margin-block: 0 1.5rem; font-size: .9rem; }
.notice:not([data-tone]) { --tone: var(--warn); --tone-soft: var(--warn-soft); }
.notice[data-tone="info"] { box-shadow: inset 0 0 0 1px var(--border); }
.lead-finding { padding-block: 1.1rem; }
.lead-finding h2 { font-size: 1.15rem; margin-block: .25rem .5rem; }
.lead-finding .eyebrow { margin: 0; }
.notice::before { content: "!"; position: absolute; inset-inline-start: 1rem; inset-block-start: 1.05rem; width: 1.15rem; height: 1.15rem; display: grid; place-items: center; border-radius: 50%; background: var(--tone); color: var(--surface-2); font: 800 .7rem/1 var(--font-sans); }
.notice[data-tone="info"]::before { content: "i"; font-family: var(--font-serif); font-style: italic; }
.notice strong { display: block; margin-block-end: .2rem; color: var(--tone); font-weight: 650; }
.notice[data-tone="info"] strong { color: var(--text); }
.notice h2 { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 650; color: var(--tone); }
.notice p { color: var(--text-2); }

/* Progress */
.progress { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3rem, 8vw, 6rem); }
.progress::before { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 20% 20%, #000 8%, transparent 72%); mask-image: radial-gradient(ellipse 60% 70% at 20% 20%, #000 8%, transparent 72%); }
.progress-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.progress h1 { font-size: clamp(1.9rem, 4vw, 2.875rem); margin-block-end: .75rem; }
.progress h1 .site-url { font-family: var(--font-sans); font-weight: 650; letter-spacing: -.02em; }
.progress-url { color: var(--text-3); font-family: var(--font-mono); font-size: .875rem; }
.back-link { color: var(--text-2); text-decoration: none; font-size: .875rem; }
.progress-current { display: flex; align-items: center; gap: .9rem; margin-block: 2rem 1.25rem; padding: 1rem 1.25rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-sm), var(--chamfer); font-size: 1.0625rem; font-weight: 500; }
.progress-current p { margin: 0; }
.scan-pulse { position: relative; flex: none; width: .625rem; height: .625rem; border-radius: 50%; background: var(--brand); }
.scan-pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid var(--brand); opacity: 0; }
.page-counter { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-block-end: 1.25rem; }
.page-counter > span:not(.mono) { width: 2.25rem; height: .375rem; border-radius: var(--r-pill); background: transparent; box-shadow: inset 0 0 0 1px var(--border-strong); }
.page-counter > span[data-done] { background: var(--brand); box-shadow: none; }
.page-counter .mono { font-size: .8125rem; color: var(--text-2); margin-inline-start: .5rem; }
.pipeline { list-style: none; margin: 0; padding: 1.25rem 1.5rem; display: grid; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-2xl); box-shadow: var(--shadow-md), var(--chamfer); }
.pipeline li { position: relative; margin: 0; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 1rem; padding-block: .85rem; color: var(--text-3); }
.pipeline li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 1.125rem; inset-block: 3.1rem -.85rem; width: 1px; background-image: linear-gradient(var(--border-strong) 55%, transparent 0); background-size: 1px 6px; }
.pipeline li[data-state="done"]::after { background: var(--brand); }
.pipeline-node { width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--border-strong); font-size: .75rem; font-weight: 600; background: var(--surface-2); }
.pipeline li strong { display: block; color: var(--text-2); font-size: 1rem; font-weight: 600; line-height: 1.5; padding-block-start: .35rem; }
.pipeline li span:not(.pipeline-node) { font-size: .8125rem; }
.pipeline li[data-state="done"] .pipeline-node { background: var(--brand); box-shadow: none; color: var(--on-brand); }
.pipeline li[data-state="active"] { color: var(--text-2); }
.pipeline li[data-state="active"] strong { color: var(--text); }
.pipeline li[data-state="active"] .pipeline-node { color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand), 0 0 0 4px var(--brand-soft); }

/* Report hero */
.report-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(2.25rem, 5vw, 3.75rem); background: linear-gradient(var(--surface-1), var(--bg)); border-block-end: var(--hairline) solid var(--border); }
.report-hero::before { -webkit-mask-image: radial-gradient(ellipse 55% 80% at 82% 30%, #000 5%, transparent 70%); mask-image: radial-gradient(ellipse 55% 80% at 82% 30%, #000 5%, transparent 70%); }
.report-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 31rem); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.report-identity .eyebrow { color: var(--text-2); }
.report-hero h1 { font-family: var(--font-sans); font-weight: 650; letter-spacing: -.03em; font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.12; margin-block-end: .5rem; }
.report-url { color: var(--text-3); font-family: var(--font-mono); font-size: .8125rem; margin-block-end: 1.25rem; }
.report-status { margin-block-end: 1.75rem; }
.meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; margin: 0; padding-block-start: 1.25rem; border-block-start: var(--hairline) solid var(--border); }
.meta-grid dd { font-size: .9375rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.score-panel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.75rem; align-items: center; padding: 1.5rem 1.6rem; border-radius: var(--r-2xl); background: var(--surface-2); border: 1px solid var(--border); box-shadow: var(--shadow-md), var(--chamfer); scroll-margin-block-start: 5rem; }
.gauge { position: relative; width: 10.5rem; aspect-ratio: 1; flex: none; --gauge: var(--value); }
.gauge-ring { position: absolute; inset: 6px; border-radius: 50%; background: conic-gradient(var(--brand) calc(var(--gauge) * 1%), var(--sunken) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9.5px)); }
.gauge[data-state="unknown"] .gauge-ring { background: repeating-conic-gradient(var(--border-strong) 0 2deg, transparent 2deg 6deg); }
/* Confirmed points in lapis, the span the unconfirmed items could add in a lighter lapis. */
.gauge[data-state="range"] .gauge-ring { background: conic-gradient(var(--brand) 0 calc(var(--gauge) * 1%), var(--brand-3) 0 calc(var(--high) * 1%), var(--sunken) 0); }
.score-range { font-size: 1.75rem; letter-spacing: -.03em; }
.score-range span { font-size: 1.15rem; margin-inline: .1rem; color: var(--text-3); }
.gauge-ticks { position: absolute; inset: -2px; border-radius: 50%; background: repeating-conic-gradient(var(--border-strong) 0 .5deg, transparent .5deg 6deg); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px)); }
.gauge-center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; }
.score-number { margin: 0; font-size: 3.5rem; line-height: 1; font-weight: 600; letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: var(--text); }
.score-number span { font-size: .8125rem; font-weight: 500; letter-spacing: 0; color: var(--text-3); margin-inline-start: .2rem; }
.score-unknown { margin: 0; font-family: var(--font-serif); font-size: 1.375rem; font-weight: 700; color: var(--text); }
.gauge-caption { margin: .5rem 0 0; font-size: .75rem; color: var(--text-3); }
.score-context { font-size: .9rem; }
.score-context > p:not(.small-label) { color: var(--text-2); margin-block-end: .6rem; }
.score-context .small-label { margin-block-end: .35rem; }
.coverage-line { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.coverage-line h2 { font-family: var(--font-sans); font-size: .875rem; font-weight: 600; margin: 0; color: var(--text-2); letter-spacing: 0; }
.coverage-line strong { font-size: 1.5rem; font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: -.02em; }
.bar { position: relative; height: .4375rem; border-radius: var(--r-pill); background: var(--sunken); overflow: hidden; margin-block: .65rem .85rem; }
.bar[data-state="unknown"] { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--unknown) 32%, transparent) 0 3px, transparent 3px 7px), var(--sunken); }
.bar-fill { position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--value) * 1%); border-radius: inherit; background: var(--brand); transform-origin: left center; }
.dimension[data-source="rule"] .bar-fill { background: var(--rule); }
.bar-range { position: absolute; inset-block: 0; inset-inline-start: calc(var(--from) * 1%); width: calc((var(--to) - var(--from)) * 1%); background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--text-3) 42%, transparent) 0 2px, transparent 2px 5px); }
.bar-coverage { height: .3125rem; }

/* Action bar & report nav */
.action-bar { background: var(--surface-1); border-block-end: var(--hairline) solid var(--border); }
.action-bar .shell { padding-block: .75rem; }
.action-bar-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.action-bar-note { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .5rem; font-size: .875rem; color: var(--text-2); }
.action-bar-note .small-label { flex-basis: 100%; padding-inline-start: 1.4rem; }
.lock { position: relative; width: .75rem; height: .575rem; margin-inline-end: .35rem; border-radius: 2px; background: var(--brand); margin-block-start: .3rem; }
.lock::before { content: ""; position: absolute; inset-inline: .14rem; inset-block-start: -.4rem; height: .48rem; border: 1.5px solid var(--brand); border-block-end: 0; border-radius: .35rem .35rem 0 0; }
.action-bar .actions-row { margin: 0; }
.actions-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-block: 1rem; }
.share-result { margin-block: 1rem .25rem; max-width: 46rem; }
.share-result label .small-label { font-weight: 400; margin-inline-start: .5rem; }
.share-field { display: flex; gap: .5rem; }
.share-field input { font-family: var(--font-mono); font-size: max(16px, .875rem); min-height: 2.5rem; }
.action-bar .field-hint, .action-bar .error-text { margin: .35rem 0 0; }
dialog { width: min(28rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: 1.5rem; border: 0; border-radius: var(--r-xl); color: var(--text); background: var(--surface-3); box-shadow: 0 0 0 1px var(--border), var(--shadow-lg), var(--chamfer); overscroll-behavior: contain; overflow: auto; }
dialog::backdrop { background: rgb(20 18 14 / .42); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
dialog h2 { font-family: var(--font-sans); font-size: 1.1875rem; font-weight: 650; letter-spacing: -.01em; }
dialog p { color: var(--text-2); font-size: .9375rem; }
dialog .actions-row { justify-content: flex-end; margin-block: 1.5rem 0; }
.report-nav { position: sticky; inset-block-start: 0; z-index: 15; background: color-mix(in srgb, var(--bg) 84%, transparent); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); border-block-end: var(--hairline) solid var(--border); }
.report-nav ol { list-style: none; margin: 0; padding: .4rem 0; display: flex; gap: .15rem; overflow-x: auto; scrollbar-width: none; }
.report-nav ol::-webkit-scrollbar { display: none; }
.report-nav li { margin: 0; flex: none; }
.report-nav a { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.25rem; padding-inline: .7rem; border-radius: var(--r-md); color: var(--text-2); text-decoration: none; font-size: .875rem; font-weight: 550; transition: background-color var(--dur-base) var(--ease-swift), color var(--dur-base) var(--ease-swift); }
.report-nav a .mono { font-size: .6875rem; color: var(--text-4); }
/* Scroll-driven edge fade: zero at the ends, so nothing is clipped when there is nothing to scroll. */
@supports (animation-timeline: scroll()) {
  .report-nav ol { -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--fade-start), #000 calc(100% - var(--fade-end)), transparent); animation: edge-fade linear both; animation-timeline: scroll(self inline); }
}
@keyframes edge-fade { 0% { --fade-start: 0px; --fade-end: 28px; } 10% { --fade-start: 28px; } 90% { --fade-end: 28px; } 100% { --fade-start: 28px; --fade-end: 0px; } }

/* Report body */
.report-body { padding-block-start: 2.75rem; }
.report-section { margin-block: 0 4.5rem; }
.report-section > .section-title h2 { font-size: clamp(1.45rem, 2.6vw, 1.875rem); }
.subheading { margin-block: 2.5rem 1rem; font-size: 1.125rem; }
.dimensions-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 64.01rem) { .dimensions-grid[data-count="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.keyword-matrix td { text-align: start; }
.keyword-matrix .cell-pages { font-family: var(--font-mono); font-size: .75rem; color: var(--tone, var(--text-3)); }
.keyword-matrix th[scope="row"] .chip { margin-inline-start: .4rem; font-weight: 400; }
#seo .criteria-grid { margin-block-start: 2rem; }
.keyword-questions { margin: 1rem 0 0; padding-inline-start: 1.25rem; color: var(--text-2); }
.dimension { display: flex; flex-direction: column; padding: 1.25rem 1.3rem .9rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-sm), var(--chamfer); transition: transform var(--dur-base) var(--ease-swift), box-shadow var(--dur-base) var(--ease-swift), border-color var(--dur-base) var(--ease-swift); }
.dimension-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-block-end: 1rem; flex-wrap: wrap; }
.dimension h3 { font-size: 1rem; margin-block-end: .25rem; }
.dimension-score { margin: 0; font-size: 2.375rem; line-height: 1.15; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.dimension-score span { font-size: .8125rem; font-weight: 500; color: var(--text-3); letter-spacing: 0; margin-inline-start: .2rem; }
.dimension .small-label { margin-block-end: .25rem; }
.dimension details { margin-block-start: auto; border-block-start: var(--hairline) solid var(--divider); padding-block-start: .25rem; font-size: .8125rem; color: var(--text-2); }
.dimension details > summary { min-height: 2.5rem; font-size: .8125rem; }
.summary-card { position: relative; padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-2xl); box-shadow: var(--shadow-sm), var(--chamfer); overflow: hidden; }
.summary-copy { font-family: var(--font-serif); font-size: 1.1875rem; max-width: 66ch; line-height: 1.95; white-space: pre-line; }
.business { margin-block-start: 2rem; padding-block-start: 1.5rem; border-block-start: var(--hairline) solid var(--divider); }
.business h3 { font-size: .875rem; color: var(--text-2); }
.business-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; margin-block: 1rem; }
.business-grid dd { overflow-wrap: anywhere; }

/* Findings */
.finding { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 1.5rem 1.6rem; margin-block-start: .75rem; box-shadow: var(--shadow-sm), var(--chamfer); }
.finding-heading { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; margin-block-end: .75rem; }
.finding-number { width: 2.375rem; height: 2.375rem; display: grid; place-items: center; border-radius: var(--r-panel); background: var(--tone-soft); color: var(--tone); font-size: .8125rem; font-weight: 700; }
.finding[data-tone="unknown"] .finding-number { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--unknown) 18%, transparent) 0 3px, transparent 3px 6px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--unknown) 45%, transparent); }
.finding-heading h3 { margin: .45rem 0 0; font-size: 1.1875rem; }
.finding > p { color: var(--text-2); }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.severity { display: inline-flex; align-items: center; padding: .1rem .5rem; border-radius: var(--r-sm); font-size: .75rem; font-weight: 650; line-height: 1.55; color: var(--tone); background: var(--tone-soft); }
.severity[data-tone="unknown"] { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 45%, transparent); background: transparent; }
.observation { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .65rem; font-size: .8125rem; }
.observation > span { flex: none; color: var(--text-3); font-size: .75rem; font-weight: 600; letter-spacing: .04em; }
.observation code { padding: .2rem .5rem; border-radius: var(--r-sm); background: var(--sunken); color: var(--text-2); font-size: .78rem; }
.recommendation { padding: .9rem 1.1rem; border-radius: var(--r-lg); background: var(--brand-soft); margin-block: 1rem; }
.recommendation strong { display: flex; align-items: center; gap: .4rem; color: var(--brand); font-size: .8125rem; margin-block-end: .2rem; }
.recommendation strong::before { content: "→"; font-weight: 700; }
.recommendation p { white-space: pre-line; color: var(--text); font-size: .9375rem; }
.example { margin-block: 1rem; }
.example .small-label { margin-block-end: .4rem; }
.example blockquote { border-inline-start-style: dashed; background: transparent; box-shadow: inset 0 0 0 1px var(--border); border-radius: var(--r-md); }
.more-findings { margin-block-start: 1.25rem; }
.more-findings > summary { color: var(--text-2); padding-inline: .5rem; }
/* A quote and its evidence ID share one row; the ID is the way back to the saved source text. */
.references { display: grid; gap: .375rem; margin-block: 1rem; }
.reference { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .15rem 1.25rem; padding: .55rem .9rem .55rem 1rem; background: var(--sunken); border-inline-start: 2px solid var(--brand-3); border-radius: 0 var(--r-md) var(--r-md) 0; }
.reference blockquote { padding: 0; background: none; border: 0; border-radius: 0; font-size: .875rem; line-height: 1.65; }
.reference figcaption { margin: 0; font-size: .75rem; white-space: nowrap; }
.evidence-link { text-decoration: none; color: var(--text-3); }
.evidence-link .mono { color: var(--brand); font-weight: 600; }
.source-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-block: 1rem 0; padding-block-start: .85rem; border-block-start: var(--hairline) solid var(--divider); font-size: .8125rem; }
.source-link { font-size: .8125rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.page-tag { display: inline-flex; align-items: baseline; gap: .45rem; min-width: 0; color: var(--text-3); font-size: .8125rem; }
.page-tag .mono { flex: none; padding: .05rem .4rem; border-radius: var(--r-xs); background: var(--sunken); color: var(--text-2); font-size: .7rem; font-weight: 600; }

/* Pills, chips, stats */
.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .12rem .6rem .12rem .28rem; border-radius: var(--r-pill); font-size: .75rem; font-weight: 600; line-height: 1.5; color: var(--tone); background: var(--tone-soft); white-space: nowrap; }
.pill[data-tone="unknown"] { background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 45%, transparent); }
.pill-glyph { display: inline-grid; place-items: center; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--tone); color: var(--surface-2); font-size: .6rem; font-weight: 800; line-height: 1; }
.pill[data-tone="unknown"] .pill-glyph, .pill[data-tone="na"] .pill-glyph { background: transparent; color: var(--tone); box-shadow: inset 0 0 0 1px currentColor; }
.chip-list { list-style: none; padding: 0; margin: .25rem 0 1rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.chip-list li { margin: 0; }
.chip { display: inline-flex; align-items: center; padding: .1rem .5rem; border-radius: var(--r-sm); background: var(--sunken); color: var(--text-2); font-size: .75rem; font-family: var(--font-mono); white-space: nowrap; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-block-end: 1.5rem; }
.stat { display: grid; gap: .05rem; padding: 1rem 1.15rem; border-radius: var(--r-xl); background: var(--surface-2); border: 1px solid var(--border); box-shadow: var(--chamfer); }
.stat[data-tone="unknown"] { background: repeating-linear-gradient(135deg, var(--fill-hover) 0 7px, transparent 7px 14px), var(--surface-2); }
.stat-value { font-size: 2rem; line-height: 1.15; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--tone); }
.stat-label { display: inline-flex; align-items: center; gap: .4rem; font-size: .8125rem; color: var(--text-2); }
.stat-label::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--tone); }
.stat[data-tone="unknown"] .stat-label::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--tone); }

/* AI access */
.access-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-block-end: 1rem; }
.access-group { padding: 1rem 1.25rem .4rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--chamfer); }
.access-group h3 { font-size: .75rem; color: var(--text-3); letter-spacing: .06em; margin-block-end: .25rem; }
.access-list { list-style: none; margin: 0; padding: 0; }
.access-list li { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1rem; align-items: center; padding-block: .75rem; border-block-start: var(--hairline) solid var(--divider); }
.access-list li:first-child { border-block-start: 0; }
.access-agent { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .6rem; min-width: 0; }
.access-agent .mono { font-size: .875rem; font-weight: 600; }
.access-evidence { grid-column: 1 / -1; margin: 0; font-size: .75rem; color: var(--text-3); overflow-wrap: anywhere; }
.llms-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 1rem; align-items: center; padding: 1rem 1.25rem; margin-block-end: 1rem; background: transparent; border: 1px dashed var(--border-strong); border-radius: var(--r-xl); }
.llms-row h3 { font-family: var(--font-mono); font-size: .9375rem; margin-block-end: .15rem; }
.llms-row .small-label { margin: 0; }


/* One-page verdict */
.verdict-card { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-2xl); box-shadow: var(--shadow-sm), var(--chamfer); }
.verdict-card .summary-copy { margin-block-end: 1.5rem; }
.business-refs { margin-block-start: 1rem; font-size: .875rem; }
.access-details { margin-block-end: 1rem; }
.access-details > summary { color: var(--text-2); }

/* Content signals */
.signal-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.signal { margin: 0; display: flex; flex-direction: column; padding: 1.1rem 1.2rem 1rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--chamfer); }
.signal[data-found="no"] { background: transparent; border-style: dashed; border-color: var(--border-strong); }
.signal-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-block-end: .4rem; }
.signal-head h3 { margin: 0; font-size: 1rem; }
.signal-why { margin: 0 0 .75rem; font-size: .8125rem; color: var(--text-2); }
.signal-quote { margin: 0 0 .5rem; padding: .55rem .8rem; background: var(--sunken); border-inline-start: 2px solid var(--rule); border-radius: 0 var(--r-md) var(--r-md) 0; }
.signal-quote blockquote { margin: 0; padding: 0; background: none; border: 0; font-size: .8125rem; line-height: 1.6; overflow-wrap: anywhere; }
.signal-quote figcaption { margin: .35rem 0 0; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem .75rem; }
.reference figcaption { display: flex; flex-wrap: wrap; gap: .25rem .9rem; }
.locate-link { font-size: .75rem; }
.site-title { display: flex; align-items: center; gap: .6rem; }
.site-icon { flex: none; width: 1em; height: 1em; min-width: 24px; min-height: 24px; max-width: 40px; max-height: 40px; border-radius: 6px; object-fit: contain; background: var(--surface-1); }
.attribution-list .signal > p:not(.signal-why) { margin: 0 0 .6rem; font-size: .875rem; }
.signal-match { background: var(--glint-soft); color: inherit; border-radius: 2px; padding-inline: .1em; }
.signal-basis { margin: auto 0 0; padding-block-start: .5rem; }

/* Fix snippets */
.fix-list { display: grid; gap: .75rem; }
.fix { padding: 1.25rem 1.4rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--chamfer); }
.fix-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-block-end: .35rem; }
.fix-head h3 { margin: 0; font-size: 1.0625rem; }
.fix > p { margin-block: 0 .75rem; font-size: .875rem; }
pre.code-block { margin: 0 0 .6rem; padding: .9rem 1rem; max-height: 24rem; overflow: auto; background: var(--sunken); border-radius: var(--r-lg); font-size: .8rem; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.button.small { --btn-h: 2rem; padding-inline: .75rem; font-size: .8125rem; }

/* Content criteria */
.agreement { margin: 0 0 .5rem; }
.agreement[data-split] { color: var(--warn); }
.criteria-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.criterion { padding: .45rem 1.1rem .7rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--chamfer); transition: border-color var(--dur-base) var(--ease-swift), box-shadow var(--dur-base) var(--ease-swift); }
.criterion[open] { grid-column: 1 / -1; box-shadow: var(--shadow-md), var(--chamfer); }
.criterion > summary { justify-content: space-between; min-height: 3.25rem; }
.criterion-title { flex: 1; font-weight: 600; }
.criterion-count { margin-inline-end: .5rem; }
.method-checks { list-style: none; padding: 0; margin: .35rem 0 0; display: grid; gap: .3rem; }
.method-checks li { display: flex; align-items: center; gap: .5rem; margin: 0; }
.checklist { list-style: none; padding: 0; margin: .75rem 0; display: grid; gap: .6rem; }
.check { margin: 0; padding: .6rem .75rem; border-radius: var(--r-md); background: var(--surface-1); border: 1px solid var(--divider); }
.check[data-status="missing"] { border-color: var(--border-strong); }
.check-head { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; }
.check-title { flex: 1 1 12rem; font-weight: 600; font-size: .9rem; }
.check > p { margin: .3rem 0 0; }
.check .signal-quote, .check .references { margin-top: .5rem; }
.criterion > p { color: var(--text-2); }
.opportunity { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; padding: 1.2rem 1.4rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-xl); margin-block-start: .6rem; box-shadow: var(--chamfer); }
.opportunity-index { width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: var(--r-panel); background: var(--brand-soft); color: var(--brand); font-size: .75rem; font-weight: 700; }
.opportunity p { color: var(--text-2); font-size: .9375rem; }
.rejected { margin-block-start: 2rem; padding: .25rem 1.25rem .75rem; border: 1px dashed color-mix(in srgb, var(--bad) 40%, transparent); border-radius: var(--r-xl); background: transparent; }
.rejected > summary { color: var(--bad); }
.rejected.skipped { border-color: var(--border-strong); }
.rejected.skipped > summary { color: var(--text-2); }
.rejected.skipped code { overflow-wrap: anywhere; }
.rejected ul { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; gap: .75rem; }
.rejected li { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; }
.rejected blockquote { flex-basis: 100%; text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--bad) 60%, transparent); color: var(--text-2); }
.score-record { margin-block-start: 2rem; padding: .25rem 1.25rem .75rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-xl); }
.record-list details { border-block-start: var(--hairline) solid var(--divider); padding-block: .25rem; }
.record-list summary > span:first-of-type { flex: 1; }

/* Pages & checks */
.selection-note { max-width: 70ch; margin-block-end: 1.25rem; }
.page-list { display: grid; gap: .5rem; }
.page-card { padding: .35rem 1.2rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--chamfer); }
.page-card > summary { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: .75rem; min-height: 3.75rem; }
.page-index { font-size: .75rem; font-weight: 700; color: var(--text-2); padding: .1rem .45rem; border-radius: var(--r-sm); background: var(--sunken); }
.page-heading { display: grid; min-width: 0; line-height: 1.45; }
.page-title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-heading .small-label { font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-mono); font-size: .75rem; }
.page-meta { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
.page-card .business-grid { padding: 1rem 0; border-block: var(--hairline) solid var(--divider); }
.page-text { margin-block: .5rem; }
pre.evidence-text { margin: 0; padding: 1rem; max-height: 28rem; overflow: auto; background: var(--sunken); border-radius: var(--r-lg); font-size: .8125rem; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
/* Positioned so the visually hidden cell labels are clipped with the table instead of widening the page. */
.matrix-scroll { position: relative; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface-2); box-shadow: var(--chamfer); }
.check-matrix { width: 100%; font-size: .8125rem; }
.check-matrix th, .check-matrix td { padding: .6rem .75rem; border-block-end: var(--hairline) solid var(--divider); text-align: center; vertical-align: middle; }
.check-matrix tbody tr:last-child > * { border-block-end: 0; }
.check-matrix thead th { font-weight: 600; color: var(--text-2); background: var(--surface-1); min-width: 6.5rem; border-block-end-color: var(--border); }
.check-matrix thead th .mono { display: block; font-size: .7rem; color: var(--text); }
.matrix-path { display: block; max-width: 9rem; margin-inline: auto; font-weight: 400; font-size: .7rem; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-mono); }
.check-matrix th[scope="row"], .check-matrix thead th:first-child { position: sticky; inset-inline-start: 0; z-index: 1; text-align: start; background: var(--surface-2); min-width: 9.5rem; font-weight: 600; color: var(--text); box-shadow: 1px 0 0 var(--divider); }
.check-matrix thead th:first-child { background: var(--surface-1); }
.check-matrix th[scope="row"] .mono { display: block; font-size: .68rem; font-weight: 400; color: var(--text-3); }
.cell { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: var(--r-sm); font-size: .75rem; font-weight: 800; color: var(--tone); background: var(--tone-soft); }
.cell[data-tone="unknown"] { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--unknown) 20%, transparent) 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--unknown) 45%, transparent); }
.cell[data-tone="na"] { background: transparent; font-weight: 500; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding: 0; margin: .9rem 0 1.25rem; font-size: .8125rem; color: var(--text-2); }
.legend li { margin: 0; display: inline-flex; align-items: center; gap: .45rem; }
.legend .cell { width: 1.3rem; height: 1.3rem; font-size: .65rem; }
#checks > details { padding: .25rem 1.25rem .75rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-xl); }
.check-log { display: grid; }
.check-row { padding-block: .75rem; border-block-start: var(--hairline) solid var(--divider); }
.check-row > div { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; margin-block-end: .35rem; font-size: .875rem; }
.check-row code { display: block; color: var(--text-3); font-size: .75rem; }

/* Evidence */
.evidence-list { border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface-2); overflow: hidden; box-shadow: var(--chamfer); }
.evidence-item { padding: .1rem 1.25rem; border-block-start: var(--hairline) solid var(--divider); }
.evidence-item:first-child { border-block-start: 0; }
.evidence-item[open] { background: var(--surface-1); }
.evidence-item > summary { gap: .75rem; min-height: 2.5rem; font-weight: 500; font-size: .875rem; }
.evidence-item[data-kind="check"] > summary { color: var(--text-2); }
.evidence-id { flex: none; padding: .05rem .45rem; border-radius: var(--r-sm); background: var(--sunken); color: var(--text-2); font-size: .72rem; font-weight: 600; }
.evidence-item[data-kind="content"] .evidence-id { color: var(--brand); background: var(--brand-soft); }
.evidence-title { flex: 1; min-width: 0; }
.evidence-item > p, .evidence-item > details { font-size: .8125rem; }
.evidence-item > details { margin-block: .5rem; color: var(--text-2); }
.evidence-item > .source-line { border-block-start: 0; padding-block: 0 .75rem; }
blockquote.evidence-text { margin-block: .5rem; font-size: .9rem; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); border-inline-start-color: var(--brand); }
.evidence-item:target { background: var(--brand-soft); outline: 2px solid var(--brand); outline-offset: -2px; }
.limitations ul { padding-inline-start: 1.25rem; color: var(--text-2); max-width: 75ch; }
.version-line { margin-block-start: 1.5rem; padding: .75rem 1rem; border-radius: var(--r-lg); background: var(--sunken); font-size: .72rem; color: var(--text-3); overflow-wrap: anywhere; }

/* Panels & errors */
.panel { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-2xl); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-md), var(--chamfer); }
.error-panel { max-width: 44rem; margin: clamp(3rem, 8vw, 6rem) auto; }
.error-panel h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.error-panel h1:focus { outline: none; }

/* Methodology */
.method-header { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3rem, 7vw, 5.5rem); border-block-end: var(--hairline) solid var(--border); background: linear-gradient(var(--surface-1), var(--bg)); }
.method-header::before { -webkit-mask-image: radial-gradient(ellipse 60% 80% at 85% 20%, #000 5%, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 85% 20%, #000 5%, transparent 70%); }
.method-header .shell > * { max-width: 48rem; }
.method-header h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
.method-header .eyebrow { color: var(--brand); }
.method-header .hero-description { margin: 0; }
.method-layout { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); padding-block-start: 3.5rem; }
.method-nav { position: sticky; inset-block-start: 1.5rem; align-self: start; display: flex; flex-direction: column; gap: .1rem; }
.method-nav a { display: flex; align-items: center; min-height: 2.25rem; padding-inline: .6rem; border-radius: var(--r-md); font-size: .875rem; color: var(--text-2); text-decoration: none; transition: background-color var(--dur-base) var(--ease-swift), color var(--dur-base) var(--ease-swift); }
.method-nav a .mono { color: var(--text-4); margin-inline-end: .6rem; font-size: .75rem; }
.method-content { max-width: 48rem; min-width: 0; }
.method-content > section { margin-block-end: 4rem; }
.method-content > section > h2 { display: flex; align-items: baseline; gap: .75rem; }
.method-content > section > h2 .mono { font-family: var(--font-mono); font-size: .8125rem; color: var(--brand); font-weight: 600; }
.method-content > section > p, .method-content > section > ul { color: var(--text-2); max-width: 70ch; }
.method-content h3 { margin-block-start: 2rem; }
.rubric-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-block: 1.5rem 2rem; }
.rubric-list article { padding: 1.25rem 1.35rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-sm), var(--chamfer); }
.rubric-list .rubric-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-block-end: .75rem; }
.rubric-list h3 { margin: 0 0 .4rem; }
.rubric-list strong.mono { font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; }
.rubric-list p { font-size: .875rem; color: var(--text-2); }
.criteria-list { margin: 0; border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface-2); overflow: hidden; }
.criteria-list > div { padding: .9rem 1.25rem; border-block-start: var(--hairline) solid var(--divider); }
.criteria-list > div:first-child { border-block-start: 0; }
.criteria-list dt { display: flex; justify-content: space-between; gap: 1rem; color: var(--text); font-weight: 600; font-size: .9375rem; }
.criteria-list dd { font-size: .875rem; color: var(--text-2); }
.formula { margin-block: 1.5rem; padding: 1.25rem 1.5rem; background: #1f1e1b; color: #d9d6ce; border-radius: var(--r-xl); font-family: var(--font-mono); font-size: .8125rem; line-height: 1.9; color-scheme: dark; }
.formula p { margin-block-end: .35rem; color: #a9a59c; }
.formula strong { color: #b7c4f8; font-weight: 600; }
@media (prefers-color-scheme: dark) { .formula { background: #23231f; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07); } }
.agent-table { width: 100%; font-size: .8125rem; border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface-2); overflow: hidden; }
.agent-table th, .agent-table td { padding: .55rem .9rem; border-block-end: var(--hairline) solid var(--divider); text-align: start; }
.agent-table thead th { background: var(--surface-1); color: var(--text-2); font-weight: 600; }
.agent-table tbody tr:last-child > * { border-block-end: 0; }
.agent-table td.mono { font-weight: 600; }
.table-scroll { position: relative; overflow-x: auto; margin-block: 1.25rem; }

/* Interaction */
@media (hover: hover) {
  .site-header nav a:hover, .report-nav a:hover, .method-nav a:hover { background: var(--fill-hover); color: var(--text); }
  .site-header nav .nav-cta:hover { background: var(--text); color: var(--bg); opacity: .88; }
  .button:hover { background: color-mix(in srgb, var(--surface-2), var(--text) 4%); }
  .button.primary:hover { background: var(--brand-hover); }
  .button.ghost:hover { background: var(--fill-hover); }
  .button.danger:hover { background: var(--bad-soft); }
  .button.danger-solid:hover { filter: brightness(1.06); }
  .scan-card:hover:not(:focus-within) { border-color: var(--border-strong); box-shadow: 0 4px 24px rgb(28 24 18 / .07), 0 1px 2px rgb(28 24 18 / .04), var(--chamfer); }
  .submit-button:hover .submit-arrow { transform: translateX(3px); }
  details > summary:hover { color: var(--brand); }
  .back-link:hover, .footer-inner nav a:hover { color: var(--brand); }
  .evidence-link:hover { color: var(--brand); }
  .scope-cards article:hover, .dimension:hover { transform: translateY(-1.5px); border-color: var(--border-strong); box-shadow: var(--shadow-md), var(--chamfer); }
  .criterion:not([open]):hover { border-color: var(--border-strong); }
}
@media (pointer: coarse) {
  .button { --btn-h: 2.75rem; }
  .site-header nav a, .report-nav a, .method-nav a { min-height: 2.75rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .button { transition: background-color var(--dur-base) var(--ease-swift), box-shadow var(--dur-base) var(--ease-swift), transform var(--dur-snap) var(--ease-swift), filter var(--dur-base); }
  .button:active:not(:disabled) { transform: scale(.98); }
  .gauge-ring { animation: gauge-in 1.4s var(--ease-enter) both; }
  .bar-fill { animation: bar-in 1s var(--ease-enter) both; }
  .live-dot { animation: breathe 2.4s var(--ease-pulse) infinite; }
  .scan-pulse::after { animation: ping 1.8s var(--ease-enter) infinite; }
  .hero-inner > * { animation: rise .7s var(--ease-enter) both; }
  .hero-inner > :nth-child(2) { animation-delay: 60ms; }
  .hero-inner > :nth-child(3) { animation-delay: 120ms; }
  .hero-inner > :nth-child(4) { animation-delay: 180ms; }
  .hero-inner > :nth-child(5) { animation-delay: 240ms; }
  .pipeline li[data-state="active"] .pipeline-node { animation: node-breathe 2.4s var(--ease-pulse) infinite; }
  form[aria-busy="true"] .submit-arrow { animation: spin .8s linear infinite; }
  dialog[open] { animation: dialog-in var(--dur-base) var(--ease-enter); }
  dialog[open]::backdrop { animation: fade-in var(--dur-base) var(--ease-enter); }
  .evidence-item:target { animation: evidence-flash 1.6s var(--ease-enter); }
  @supports (background-clip: text) {
    .shimmer-text { background: linear-gradient(100deg, var(--text) 0 40%, var(--text-4) 50%, var(--text) 60% 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 2.4s var(--ease-pulse) infinite; }
  }
  /* Disclosure height eases open; evidence items are excluded so fragment links land on time. */
  @supports selector(::details-content) {
    :is(.optional-fields, .criterion, .dimension details, .more-findings, .score-record, .rejected, .record-list details, .page-card, #checks > details)::details-content { block-size: 0; overflow-y: clip; overflow-clip-margin: .5rem; transition: block-size var(--dur-sheet) var(--ease-expand), content-visibility var(--dur-sheet) allow-discrete; }
    :is(.optional-fields, .criterion, .dimension details, .more-findings, .score-record, .rejected, .record-list details, .page-card, #checks > details)[open]::details-content { block-size: auto; }
  }
}
@keyframes gauge-in { from { --gauge: 0; } }
@keyframes bar-in { from { transform: scaleX(0); } }
@keyframes breathe { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 6%, transparent); } }
@keyframes node-breathe { 50% { box-shadow: inset 0 0 0 1.5px var(--brand), 0 0 0 7px color-mix(in srgb, var(--brand) 7%, transparent); } }
@keyframes ping { 0% { opacity: .8; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes spin { to { transform: rotate(1turn); } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(6px) scale(.97); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes evidence-flash { 0% { outline-color: transparent; } 20% { outline-color: var(--brand); } }

/* Responsive */
@media (max-width: 64rem) {
  .signal-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .signal-strip li:nth-child(4) { border-inline-start: 0; padding-inline-start: 0; }
  .signal-strip li:nth-child(n + 4) { border-block-start: var(--hairline) solid var(--border); }
  .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
  .chain li::before { display: none; }
  .scope-grid { grid-template-columns: minmax(0, 1fr); }
  .composition { grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); align-items: center; justify-items: stretch; }
  .report-hero-grid, .progress-grid, .anatomy { grid-template-columns: minmax(0, 1fr); }
  .dimensions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .criteria-grid, .signal-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-layout { grid-template-columns: minmax(0, 1fr); padding-block-start: 2rem; }
  .method-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: .25rem; }
}
@media (max-width: 48rem) {
  .signal-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .signal-strip li { border-inline-start: 0 !important; padding-inline: 0 !important; border-block-start: var(--hairline) solid var(--border); }
  .signal-strip li:nth-child(even) { padding-inline-start: 1rem !important; border-inline-start: var(--hairline) solid var(--border) !important; }
  .signal-strip li:last-child:nth-child(odd) { grid-column: 1 / -1; padding-inline-start: 0 !important; border-inline-start: 0 !important; }
  .chain { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .chain li { padding: 0 0 1.75rem 3.25rem; }
  .chain li::before { display: block; inset-block: 2.75rem .5rem; inset-inline: 1.125rem auto; width: 1px; height: auto; background-image: linear-gradient(var(--border-strong) 55%, transparent 0); background-size: 1px 7px; }
  .composition { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .composition-ring { width: 11rem; }
  .boundary { grid-template-columns: minmax(0, 1fr); border-radius: var(--r-2xl); }
  .boundary-list > div { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  :root { --gutter: 1rem; }
  .site-header-inner { min-height: 3.5rem; }
  .brand-sub { display: none; }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 2.9rem); }
  .hero-description { font-size: 1rem; margin-block-end: 2rem; }
  .submit-button { flex: 1 1 100%; justify-content: space-between; }
  .section-title.wide { grid-template-columns: minmax(0, 1fr); }
  .score-panel { grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 1.5rem 1.25rem; }
  .score-context { width: 100%; }
  .meta-grid { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .access-groups, .criteria-grid, .signal-list, .business-grid, .rubric-list, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .fix { padding: 1.1rem 1rem; }
  .finding { padding: 1.25rem 1.1rem; }
  .reference { grid-template-columns: minmax(0, 1fr); }
  .reference figcaption { white-space: normal; }
  .finding-heading { gap: .75rem; }
  .page-card > summary { grid-template-columns: auto auto minmax(0, 1fr); }
  .page-meta { grid-column: 2 / -1; justify-content: flex-start; padding-block-end: .5rem; }
  .report-section { margin-block-end: 3.5rem; }
  .action-bar-row { align-items: stretch; }
  .action-bar .actions-row .button { flex: 1 1 auto; }
  .share-field { flex-wrap: wrap; }
  .share-field input { flex-basis: 100%; }
  .site-footer { margin-block-start: 4rem; }
}
@media (max-width: 30rem) {
  .dimensions-grid { grid-template-columns: minmax(0, 1fr); }
  .gauge { width: 9.5rem; }
  .score-number { font-size: 3rem; }
  .site-header nav a:not(.nav-cta):first-child { display: none; }
  .site-header nav a { padding-inline: .6rem; }
}
@media (forced-colors: active) {
  .chain-node { border: 1px solid CanvasText; }
  :focus-visible, input:focus, select:focus { outline: 2px solid Highlight; }
  .button, .panel, .scan-card, .notice, .dimension, .finding, .pill, .cell, .bar, .stat, .source-chip, .pipeline-node { border: 1px solid CanvasText; }
  .scan-card::before, .scan-card::after { border-color: CanvasText; }
  .bar-fill, .gauge-ring, .live-dot, .scan-pulse, .page-counter > span[data-done] { background: Highlight; forced-color-adjust: none; }
  .shimmer-text { color: CanvasText; background: none; }
}
@media print {
  .scope-cards article { box-shadow: none !important; }
  :root, .inverse { --bg: #fff; --surface-1: #fff; --surface-2: #fff; --sunken: #f3f2ee; --border: #d9d7d0; --divider: #e3e1db; --text: #111; --text-2: #333; --text-3: #555; --brand: #2f48a6; --brand-soft: #eef0f9; --chamfer: inset 0 0 0 0 transparent; color-scheme: light; }
  body, .inverse { background: #fff !important; color: #111; }
  .hero::before, .hero::after, .report-hero::before, .method-header::before, .progress::before { display: none; }
  .site-header nav, .action-bar, .report-nav, .skip-link, dialog, .noscript, .site-footer nav { display: none !important; }
  .report-hero, .method-header { background: #fff; }
  .gauge-ring { background: conic-gradient(#2f48a6 calc(var(--value) * 1%), #e6e5e0 0); animation: none; }
  .gauge-ticks { display: none; }
  .score-panel, .scan-card, .finding, .dimension, .opportunity, .criterion, .page-card, .stat { box-shadow: none !important; }
  .finding, .dimension, .opportunity, .criterion, .page-card, .stat, .signal, .fix { break-inside: avoid; }
  .copy-button { display: none !important; }
  .gauge[data-state="range"] .gauge-ring { background: conic-gradient(#2f48a6 0 calc(var(--value) * 1%), #9eabdd 0 calc(var(--high) * 1%), #e6e5e0 0); }
  .bar-fill, .gauge-ring { animation: none !important; }
}

/* Historical brand questions remain visible even without a successful response. */
.brand-question { border-block-start: 1px solid var(--border); padding-block: 1rem; }
.brand-question h3 { overflow-wrap: anywhere; }
.brand-claims { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.brand-claim { display: grid; gap: .4rem; min-width: 0; }
.brand-claim p { margin: 0; }
.brand-claim blockquote { overflow-wrap: anywhere; }
.brand-text p { white-space: pre-line; overflow-wrap: anywhere; color: var(--text-2); font-size: .9rem; }

/* GEO Lens: report cards, evidence ledger, and bounded tabular regions. */
.lens-actions { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .75rem; }
.lens-action, .lens-site-card, .lens-claim { min-width: 0; margin: 0; padding: 1.2rem; border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface-2); }
.lens-action:first-child { border-color: var(--brand-3); }
.lens-action h3 { margin-block: .55rem; }
.lens-action p, .lens-site-card p, .lens-claim p { margin-block: .5rem; }
.lens-anchor-list { display: flex; flex-wrap: wrap; gap: .35rem .8rem; font-size: .8rem; }
.lens-card-detail, .lens-answer, .lens-request { min-width: 0; margin-block: .75rem; padding: .2rem 1rem .75rem; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface-1); }
.lens-task-fields { display: grid; gap: .55rem; }
.lens-task-fields dt { font-weight: 600; }
.lens-task-fields dd { margin-block-start: .1rem; }
.lens-site-grid, .lens-claims { display: grid; gap: .75rem; margin-block: 1rem; }
.lens-quote { margin: .7rem 0 0; }
.lens-quote figcaption { margin-block-start: .3rem; font-size: .8rem; }
.dimension[data-low-coverage] { border-style: dashed; background: var(--surface-1); }
.dimension-insufficient { color: var(--warn); font-weight: 650; }
.lens-sample-groups { display: grid; gap: 1rem; padding: 1.15rem; border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface-2); }
.lens-sample-group { display: grid; grid-template-columns: minmax(0, 11rem) minmax(4rem, 1fr) auto; gap: .4rem .75rem; align-items: center; font-size: .875rem; }
.lens-sample-group small { grid-column: 2 / -1; color: var(--text-3); }
.lens-track { min-width: 0; height: .65rem; border-radius: var(--r-pill); background: var(--sunken); overflow: hidden; }
.lens-track > span { display: block; height: 100%; background: var(--brand); border-radius: inherit; }
.lens-candidates { margin-block: 1.5rem; }
.lens-candidates li { overflow-wrap: anywhere; }
.lens-candidates blockquote { margin-block: .4rem; }
.lens-matrix-scroll { width: 100%; max-width: 100%; }
.lens-matrix { min-width: 36rem; }
.lens-matrix caption { padding: .75rem; color: var(--text-2); text-align: left; }
.lens-matrix th small { display: block; color: var(--text-3); font-weight: 400; font-size: .72rem; }
.lens-matrix td small { display: block; color: var(--text-3); font-size: .7rem; font-weight: 400; }
.lens-matrix td[data-state="unknown"] { color: var(--text-3); background: var(--sunken); }
.lens-sources { display: grid; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.lens-sources li { display: grid; grid-template-columns: minmax(0, 11rem) minmax(4rem, 1fr) auto; align-items: center; gap: .75rem; margin: 0; }
.lens-sources a, .lens-sources span { overflow-wrap: anywhere; }
.lens-mention-group { padding-block: 1rem; border-block-start: 1px solid var(--border); }
.lens-mention-group h3 { margin-block-end: .75rem; }
.lens-mention-group small { color: var(--text-3); }
.lens-question { min-width: 0; padding-block: 1rem; border-block-start: 1px solid var(--border); }
.lens-question-text { font-weight: 600; white-space: pre-wrap; }
.lens-raw { max-width: 100%; max-height: 28rem; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; padding: 1rem; border-radius: var(--r-lg); background: var(--sunken); font: .8125rem/1.7 var(--font-mono); }
/* Keep evidence anchors usable without JavaScript in the downloadable report. */
.report details:target::details-content { content-visibility: visible; display: block; }
.report details:target > :not(summary) { display: block !important; }
@media (max-width: 48rem) {
  .lens-actions { grid-template-columns: minmax(0, 1fr); }
  .lens-sample-group, .lens-sources li { grid-template-columns: minmax(0, 1fr) auto; }
  .lens-sample-group .lens-track, .lens-sources .lens-track { grid-column: 1 / -1; grid-row: 2; }
  .lens-sample-group small { grid-column: 1 / -1; }
}
@media print {
  .report .lens-raw, .report .evidence-text, .report .code-block { max-height: none; overflow: visible; }
  .report .matrix-scroll, .report .table-scroll { overflow: visible; max-width: none; }
  .report .lens-matrix { min-width: 0; table-layout: fixed; }
  .report .lens-action, .report .lens-site-card, .report .lens-claim { break-inside: avoid; }
}


/* Report reading edition: one editorial column, local disclosures, a separate audit library. */
.report { --reader-width: 64rem; }
.report .report-hero { padding-block: 2.5rem 1.8rem; }
.report .report-hero-grid { display: block; max-width: var(--reader-width); }
.report .site-title { font-family: var(--font-serif); font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.04em; }
.report .report-url { margin-block: .3rem; font-size: .82rem; }
.report .report-status { display: inline-block; margin: .6rem .7rem .3rem 0; }
.reader-meta { display: inline; color: var(--text-3); font-size: .78rem; }
.reader-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); margin: 1.6rem 0 0; padding-top: 1.2rem; gap: 1.5rem; }
.reader-metrics > div + div { border-left: 1px solid var(--border); padding-left: 1.5rem; }
.reader-metrics dt { font-size: .8rem; color: var(--text-2); }
.reader-metrics dd { font: 2rem/1.45 var(--font-mono); margin: .4rem 0; color: var(--brand); }
.reader-metrics dd span { font: 500 .95rem/1.6 var(--font-sans); color: var(--text-2); }
.reader-metrics p { font-size: .75rem; color: var(--text-3); margin: 0; }
.report .report-nav { position: sticky; top: 0; z-index: 20; background: var(--surface-1); border-block: 1px solid var(--border); }
.report .report-nav .shell { max-width: var(--reader-width); }
.report .report-nav ol { flex-wrap: nowrap; gap: 1.5rem; padding-block: .6rem; }
.report .report-nav a { white-space: nowrap; font-size: .82rem; }
.report .report-body { max-width: var(--reader-width); padding-top: 0; }
.report .report-body > .report-section { padding-block: 2.25rem; margin: 0; border-bottom: 1px solid var(--border); }
.report .report-section h2 { font-family: var(--font-serif); font-weight: 650; font-size: clamp(1.35rem, 3vw, 1.8rem); line-height: 1.5; margin-block: .7rem 1rem; }
.reader-section-label { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; font-size: .72rem; color: var(--text-3); }
.reader-section-label > :first-child { color: var(--brand); letter-spacing: .06em; }
.reader-verdict { border-left: 3px solid var(--brand); padding: .2rem 0 .2rem 1.3rem; margin-block: 1.3rem; }
.reader-verdict > p { margin: 0; font-size: 1.1rem; line-height: 1.9; color: var(--text); }
.reader-boundary { display: grid; gap: .3rem; margin-top: .8rem; color: var(--text-3); font-size: .76rem; line-height: 1.7; }
.reader-next { display: flex; gap: 1.1rem; background: var(--brand-soft); padding: 1rem 1.2rem; border-radius: var(--r-md); align-items: baseline; }
.reader-next-label { flex: none; color: var(--text-2); font-size: .8rem; }
.reader-next a { font-weight: 650; text-decoration: none; }
.reader-compliance { color: var(--warn); font-size: .8rem; margin-top: 1rem; }
.reader-note { color: var(--text-2); font-size: .85rem; line-height: 1.8; }
.inline-detail { margin-top: .7rem; font-size: .83rem; color: var(--text-2); }
.report summary { line-height: 1.7; }
.report summary:hover { color: var(--brand); }
.report summary:focus-visible, .report a:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 2px; }
.report .reader-ai > .report-section { padding: 0; margin: 1.4rem 0 0; border: none; }
.report .reader-ai .section-title .eyebrow { display: none; }
.report .reader-ai .report-section h2 { font-family: var(--font-sans); font-size: 1.05rem; margin-block: 1.2rem .4rem; }
.report .lens-mention-group { padding: .65rem 0; border-block-start: 0; }
.report .lens-mention-group > summary { font-size: .8rem; color: var(--text-2); }
.report .lens-mention-group h3 { display: none; }
.report .lens-mention-group .lens-sources { margin-block: .8rem; }
.report .lens-sources li { grid-template-columns: minmax(0, 15rem) minmax(3rem, 1fr) 4rem; gap: 1rem; font-size: .85rem; }
.report .lens-sources li > .mono { text-align: right; }
.report .lens-sources li small { display: inline-block; font-size: .66rem; margin-left: .4rem; }
.report .lens-sources li[data-role="subject"] { color: var(--brand); font-weight: 650; }
.report .lens-sources li:not([data-role="subject"]) .lens-track > span { background: var(--text-4); }
.report .lens-track { height: .5rem; }
.reader-more { border-top: 1px solid var(--divider); margin-top: .6rem; }
.reader-more > summary { padding-block: .65rem; font-size: .84rem; color: var(--text-2); }
.reader-claim-counts { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-block: 1rem; }
.reader-claim-counts > span { display: flex; align-items: baseline; gap: .5rem; color: var(--text-2); font-size: .75rem; }
.reader-claim-counts strong { font-size: 1.1rem; color: var(--text); }
.report .lens-claims { gap: 0; }
.report .lens-claim { border: 0; border-top: 1px solid var(--divider); background: none; border-radius: 0; padding: .7rem 0; }
.report .lens-claim summary { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; font-size: .85rem; }
.report .lens-claim summary::before { content: '+'; color: var(--brand); }
.report .lens-claim[open] summary::before { content: '−'; }
.report .lens-claim .chip { font-size: .66rem; }
.reader-quote-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin-block: 1rem; }
.reader-quote-comparison > div { background: var(--surface-1); padding: 1rem; min-width: 0; border-left: 2px solid var(--border-strong); }
.reader-quote-comparison blockquote { font-size: .85rem; margin: 0; overflow-wrap: anywhere; }
.reader-alert { margin-block: 1rem; border-left: 3px solid var(--warn); background: var(--warn-soft); padding: .8rem 1rem; font-size: .85rem; color: var(--text-2); }
.reader-alert a { margin-left: .4rem; }
.reader-dimensions { display: grid; gap: .8rem; margin-block: 1.4rem; }
.reader-dimension { display: grid; grid-template-columns: 8rem 1fr 6rem; align-items: center; gap: 1rem; font-size: .82rem; }
.reader-dimension strong { font-size: .8rem; font-weight: 500; text-align: right; }
.reader-dimension-track { height: .4rem; background: var(--sunken); border-radius: 1rem; overflow: hidden; }
.reader-dimension-track > span { display: block; height: 100%; background: var(--brand-2); }
.reader-dimension[data-known="false"] { color: var(--text-3); }
.reader-dimension[data-known="false"] .reader-dimension-track { background: repeating-linear-gradient(135deg, var(--border) 0 2px, transparent 2px 6px); }
.reader-observations { list-style: none; padding: 0; margin: 1rem 0; }
.reader-observations li { display: flex; align-items: baseline; gap: 1rem; padding-block: .7rem; border-top: 1px solid var(--divider); font-size: .86rem; }
.reader-observation-tag { flex: none; font-size: .72rem; color: var(--text-3); }
.reader-observations a { color: var(--text); text-decoration: none; }
.reader-tasks { list-style: none; padding: 0; margin: 0; }
.reader-task { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 1rem; padding: 1.3rem 0; border-top: 1px solid var(--border); scroll-margin-top: 5rem; }
.reader-task-number { color: var(--brand); font-size: .85rem; padding-top: .2rem; }
.reader-task h3 { font-size: 1.06rem; line-height: 1.6; margin-block: .4rem; }
.reader-task-delivery { font-size: .88rem; color: var(--text-2); margin-block: .4rem; }
.reader-prerequisite { color: var(--warn); font-size: .8rem; margin-block: .5rem; }
.reader-task-detail { margin-top: .6rem; font-size: .85rem; }
.reader-task-detail > summary { font-size: .8rem; color: var(--brand); }
.reader-local-evidence { margin: .8rem 0; padding: .8rem; background: var(--surface-1); border-left: 2px solid var(--border); overflow-wrap: anywhere; font-size: .82rem; }
.reader-local-evidence blockquote { margin: 0 0 .5rem; }
.reader-library { margin: 0; border-top: 1px solid var(--border); padding: .2rem 0; }
.reader-library > summary { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; font-size: .9rem; }
.reader-library > summary::before { content: '+'; color: var(--brand); }
.reader-library[open] > summary::before { content: '−'; }
.reader-library > summary > :first-child { flex: 1; }
.reader-library > summary > :last-child { color: var(--text-3); font-size: .75rem; text-align: right; }
.reader-library > .report-section { padding-block: 1.5rem; }
.report .lens-question > summary { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; gap: .8rem; font-size: .82rem; }
.report .lens-question > summary strong { font-weight: 500; }
.report .lens-matrix { min-width: 38rem; }
.report .lens-matrix th:first-child { width: 19rem; }
.matrix-question > summary { font-size: .8rem; font-weight: 500; }
.matrix-question p { font-size: .8rem; white-space: normal; }
.report details:has(:target)::details-content { content-visibility: visible; display: block; }
.report details:has(:target) > :not(summary) { display: block !important; }
.report :target { scroll-margin-top: 5rem; }
.preview-workbench { padding-block: 1rem; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.preview-workbench .shell { max-width: 64rem; }
.preview-workbench p { font-size: .78rem; margin-block: .4rem; color: var(--text-2); }
.preview-cases { display: flex; gap: .5rem; flex-wrap: wrap; margin-block: .65rem; }
.preview-cases a { padding: .4rem .7rem; border: 1px solid var(--border); border-radius: 4px; font-size: .78rem; text-decoration: none; }
.preview-cases a[aria-current="page"] { color: var(--brand); border-color: var(--brand-3); background: var(--brand-soft); }
@media (max-width: 48rem) {
  .report .report-hero { padding-top: 1.5rem; }
  .reader-meta { display: block; line-height: 1.8; }
  .reader-metrics { gap: .7rem; }
  .reader-metrics > div + div { padding-left: .7rem; }
  .reader-metrics dt, .reader-metrics p { font-size: .66rem; }
  .reader-metrics dd { font-size: 1.5rem; }
  .reader-metrics dd span { font-size: .8rem; }
  .report .report-nav ol { gap: 1rem; }
  .report .report-nav a { font-size: .75rem; }
  .report .report-nav a .mono { display: none; }
  .report .report-body > .report-section { padding-block: 1.6rem; }
  .reader-section-label { font-size: .65rem; }
  .reader-verdict { padding-left: 1rem; }
  .reader-verdict > p { font-size: 1rem; }
  .reader-next { flex-direction: column; gap: .3rem; padding: .9rem; font-size: .9rem; }
  .report .lens-sources li { grid-template-columns: minmax(0, 7rem) minmax(2rem, 1fr) 3.2rem; gap: .65rem; font-size: .78rem; }
  .report .lens-sources .lens-track { grid-row: auto; grid-column: auto; }
  .reader-quote-comparison { grid-template-columns: 1fr; }
  .reader-dimension { grid-template-columns: 5.5rem 1fr 5rem; gap: .6rem; font-size: .76rem; }
  .reader-dimension strong { font-size: .7rem; }
  .reader-task { gap: .55rem; grid-template-columns: 1.5rem minmax(0, 1fr); }
  .reader-task h3 { font-size: 1rem; }
  .reader-library > summary { gap: .65rem; font-size: .8rem; }
  .reader-library > summary > :last-child { font-size: .65rem; }
  .report .lens-question > summary { grid-template-columns: 2rem minmax(0, 1fr); gap: .5rem; }
  .report .lens-question > summary > :last-child { grid-column: 2; }
}
@media print {
  .preview-workbench, .report .reader-evidence, .report .reader-request-library, .report .reader-more, .report .reader-compliance, .report .inline-detail, .report .reader-local-evidence { display: none !important; }
  .report .reader-task-detail::details-content { display: block; content-visibility: visible; }
  .report .reader-task-detail > :not(summary) { display: block !important; }
  .report .lens-claim::details-content, .report .lens-mention-group:not([open])::details-content { content-visibility: hidden; display: none; }
  .report .lens-claim > :not(summary), .report .lens-mention-group:not([open]) > :not(summary) { display: none !important; }
  .report .report-hero, .report .report-body > .report-section { padding-block: 1rem; }
  .report .reader-task { break-inside: avoid; }
}

/* Reading rhythm stays compact inside the reader shell, without changing the rest of the site. */
.report .reader-ai .section-title { margin-bottom: .8rem; }
.report .reader-ai > .reader-more > .report-section { margin: 1rem 0; }
.report .reader-ai > .reader-more > .report-section h2 { font-size: 1.05rem; }
.report .reader-ai > .reader-more > .report-section .section-title { margin-bottom: 1rem; }
.report .lens-mention-group > summary { min-height: 2rem; }
.report .reader-library .check-matrix td { white-space: normal; overflow-wrap: anywhere; min-width: 10rem; font-size: .82rem; line-height: 1.8; }
.report .reader-library .matrix-scroll { max-height: 32rem; overflow: auto; }
.report .reader-ai .reader-more .check-matrix td { white-space: normal; overflow-wrap: anywhere; font-size: .8rem; }
@media (max-width: 48rem) {
  .report .report-nav a { padding-inline: .4rem; }
  .report .report-nav ol { gap: .25rem; justify-content: space-between; }
}
.report .reader-library > summary::before, .report .lens-claim > summary::before { width: 1rem; height: auto; border: 0; transform: none; margin: 0; opacity: 1; text-align: center; }
.report .lens-question > summary { grid-template-columns: .8rem 2.5rem minmax(0, 1fr) auto; }
@media (max-width: 48rem) {
  .report .lens-question > summary { grid-template-columns: .6rem 2rem minmax(0, 1fr); }
  .report .lens-question > summary > :last-child { grid-column: 3; }
}
.reader-prerequisite ul { margin: .3rem 0 0; padding-left: 1.2rem; }
.reader-prerequisite li { margin-block: .2rem; }

/* Analytical report edition. Scoped tokens keep the website's own identity intact. */
.report {
  color-scheme: light;
  --reader-width: 70rem;
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --bg: #f6f6f3; --surface-1: #fafaf8; --surface-2: #fff; --surface-3: #fff; --sunken: #eeefec;
  --text: #252c30; --text-2: #414648; --text-3: #626d72; --text-4: #899397;
  --border: #d6dad8; --border-strong: #b4c0c2; --divider: #e8ece9;
  --brand: #2f48a6; --brand-hover: #253b8c; --brand-2: #5a70c4; --brand-3: #9eabdd; --brand-soft: #e3e7f4;
  --teal: #1ba99c; --teal-ink: #21766d; --teal-soft: #d4f1eb;
  --rule: #414648; --rule-soft: #eceeeb;
  --good: #21766d; --good-soft: #e1f4ef; --warn: #94600c; --warn-soft: #fff6e9;
  --bad: #bf4236; --bad-soft: #fff0ed; --unknown: #626d72; --unknown-soft: #eeefec;
  --chart-series-1: #2f48a6; --chart-series-2: #1ba99c; --chart-series-3: #8c9dd0; --chart-series-4: #82cbbd; --chart-series-5: #c9d2d1;
  background: var(--bg); color: var(--text); font-family: var(--font-sans); font-size: 15px;
  padding-bottom: 32px;
}
.report .report-hero { background: #fff; padding-block: 25px 20px; border: 0; }
.report .report-hero::before { display: none; }
.report .report-identity { position: relative; border-left: 4px solid var(--brand-2); padding-left: 18px; }
.report .site-title { font: 700 30px/1.35 var(--font-sans); letter-spacing: 0; margin: 8px 0 4px; }
.report .report-identity .eyebrow { color: var(--brand); font: 600 12px/1.6 var(--font-sans); letter-spacing: .06em; }
.report .report-url { font: 13px/1.6 var(--font-sans); }
.report .reader-meta { font-size: 12px; }
.report .report-status { margin: 5px 10px 0 0; }
.report .report-nav { background: #fff; box-shadow: 0 3px 10px #22446606; }
.report .report-nav ol { gap: 30px; padding-block: 9px; }
.report .report-nav a { font: 600 13px/1.7 var(--font-sans); }
.report .report-nav .mono { color: var(--brand); }
.report .report-body { padding-top: 20px; }
.report .report-body > .report-section { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 26px 28px; margin: 0 0 20px; }
.report .report-section h2 { font: 650 23px/1.5 var(--font-sans); letter-spacing: 0; margin: 7px 0 18px; }
.report .reader-section-label { font-size: 12px; }
.report .reader-section-label > :first-child { font: 650 12px/1.6 var(--font-sans); letter-spacing: .05em; }
.report .reader-verdict { margin: 0 0 18px; padding: 14px 18px; border-left: 3px solid var(--brand-2); background: linear-gradient(90deg, #f0f8ff, #fff); }
.report .reader-verdict > p { font-size: 16px; line-height: 1.8; font-weight: 500; }
.report .reader-boundary { font-size: 12px; gap: 3px; margin-top: 7px; }
.report .reader-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); border: 0; padding: 0; margin: 18px 0; gap: 12px; }
.report .reader-metrics > div { border: 1px solid #d6e8f8; border-radius: 8px; background: linear-gradient(140deg, #f6fbff, #fff 70%); padding: 14px; min-width: 0; }
.report .reader-metrics > div + div { padding-left: 14px; }
.report .reader-metrics dt { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.report .reader-metrics dd { margin: 10px 0 5px; font: 650 28px/1.3 var(--font-sans); font-variant-numeric: tabular-nums; color: var(--brand); }
.report .reader-metrics dd span { font: 500 14px/1.5 var(--font-sans); }
.report .reader-metrics p, .report .reader-metrics small { display: block; font: 400 12px/1.7 var(--font-sans); color: var(--text-3); }
.report-metric-icon { display: inline-flex; width: 34px; height: 34px; flex-shrink: 0; align-items: center; justify-content: center; color: #1680dc; background: linear-gradient(145deg, #fff 10%, #e6f3ff 70%, #b4d9fa); border-radius: 9px; box-shadow: 0 2px 0 #c3ddf3, inset 0 1px 0 #fff; }
.report-metric-icon svg { width: 27px; height: 27px; }
.report .reader-next { padding: 12px 16px; font-size: 14px; background: var(--brand-soft); }
.report .reader-next-label { font-size: 13px; }
.report .reader-note, .report .reader-ai .muted { font-size: 13px; line-height: 1.8; margin: 8px 0 14px; color: var(--text-3); }
.report .reader-ai > .report-section { margin-top: 26px; }
.report .reader-ai .report-section h2 { font: 650 15px/1.6 var(--font-sans); padding: 8px 12px; border-left: 3px solid var(--brand-2); background: linear-gradient(90deg, #eaf5ff, #fff); margin: 0 0 10px; }
.report-chart { padding: 18px 20px 0; border: 1px solid var(--border); border-radius: 8px; background: #fbfdff; }
.chart-column-head { display: grid; grid-template-columns: 180px minmax(0, 1fr) 92px; gap: 20px; font-size: 12px; color: var(--text-3); padding-bottom: 14px; }
.chart-column-head > :last-child { text-align: right; }
.chart-bars { padding: 0; margin: 0; list-style: none; }
.chart-bars li { display: grid; grid-template-columns: 180px minmax(0, 1fr) 92px; gap: 20px; align-items: center; min-height: 54px; }
.chart-label { min-width: 0; overflow-wrap: anywhere; font-size: 14px; line-height: 1.5; }
.chart-label a { text-decoration: none; }
.chart-label small { display: block; font-size: 11px; color: var(--text-3); margin-top: 2px; }
.chart-bars [data-subject] .chart-label { font-weight: 650; color: var(--brand); }
.chart-plot { height: 24px; position: relative; background: repeating-linear-gradient(to right, var(--divider) 0 1px, transparent 1px 25%); }
.chart-bar { display: block; height: 100%; background: #adcae3; border-radius: 0 4px 4px 0; }
[data-subject] .chart-bar { background: #1e88e5; }
.chart-bars [data-known="false"] .chart-plot { background: repeating-linear-gradient(135deg, #edf1f5 0 2px, transparent 2px 7px); }
.chart-value { text-align: right; font-variant-numeric: tabular-nums; }
.chart-value strong { font-size: 15px; font-weight: 650; }
.chart-value small { display: block; color: var(--text-3); font-size: 12px; }
.chart-axis { display: flex; justify-content: space-between; margin: 10px 112px 0 200px; border-top: 1px solid var(--border); padding-top: 6px; color: var(--text-3); font-size: 11px; }
.chart-footnote { color: var(--text-3); font-size: 12px; line-height: 1.75; margin: 14px 0; }
.report .chart-data { margin-top: 14px; }
.report .reader-more > summary, .report .lens-mention-group > summary { font-size: 13px; padding-block: 11px; }
.report .matrix-scroll { border: 1px solid var(--border); border-radius: 6px; }
.report .check-matrix { border-collapse: separate; border-spacing: 0; font-size: 14px; }
.report .check-matrix th, .report .check-matrix td { padding: 11px 14px; border-bottom: 1px solid var(--divider); border-right: 1px solid var(--divider); line-height: 1.65; }
.report .check-matrix thead th { color: #235d8c; background: #eaf4fd; font-size: 13px; font-weight: 650; }
.report .check-matrix th[scope="row"] { font-weight: 500; }
.report .check-matrix th:last-child, .report .check-matrix td:last-child { border-right: 0; }
.report .check-matrix caption { text-align: left; font-size: 12px; padding: 10px 14px; color: var(--text-3); background: #f8fbfe; }
.report .check-matrix th small { font: 400 11px/1.6 var(--font-sans); margin-top: 4px; }
.report .report-data-table td:nth-child(2), .report .report-data-table td:nth-child(3) { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.report .report-data-table td:last-child { text-align: left; }
.report .lens-matrix th:first-child { width: 30%; min-width: 180px; }
.report .matrix-question > summary { font-size: 14px; }
.report .lens-matrix td { font-variant-numeric: tabular-nums; font-weight: 600; }
.report .lens-matrix td[data-state="unknown"] { color: var(--text-3); background: repeating-linear-gradient(135deg, #f1f4f8 0 2px, #fff 2px 7px); font-weight: 400; }
.report .claim-distribution { display: flex; height: 16px; overflow: hidden; border-radius: 4px; margin-top: 18px; background: var(--sunken); }
.claim-distribution [data-verdict="supported"] { background: #1e88e5; }
.claim-distribution [data-verdict="conflict"] { background: #ed5a46; }
.claim-distribution [data-verdict="not_on_site"] { background: #fd9943; }
.claim-distribution [data-verdict="unverified"] { background: #a9b7c8; }
.report .reader-claim-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.report .reader-claim-counts > span { display: block; padding: 10px; background: #f5f9fd; border-radius: 5px; font-size: 12px; }
.report .reader-claim-counts strong { display: block; font: 650 22px/1.5 var(--font-sans); }
.report .reader-claim-counts [data-verdict="conflict"] { background: var(--bad-soft); }
.report .reader-claim-counts [data-verdict="not_on_site"] { background: var(--warn-soft); }
.report .lens-claim { padding: 14px 0; }
.report .lens-claim[data-verdict="conflict"] > summary .chip { color: var(--bad); background: var(--bad-soft); }
.report .reader-quote-comparison > div { border-left: 3px solid var(--brand-3); padding: 14px; border-radius: 4px; }
.report .reader-quote-comparison blockquote { font-size: 14px; }
.report .reader-dimensions { border: 1px solid var(--border); padding: 18px; border-radius: 8px; gap: 16px; background: #fbfdff; }
.report .reader-dimension { font-size: 14px; grid-template-columns: 130px minmax(0, 1fr) 90px; }
.report .reader-dimension strong { font: 500 13px/1.5 var(--font-sans); }
.report .reader-dimension-track { height: 16px; border-radius: 3px; }
.report .reader-observations li { font-size: 14px; }
.report .reader-action-table { table-layout: fixed; width: 100%; min-width: 620px; }
.report .reader-action-table thead th:nth-child(1) { width: 90px; min-width: 0; }
.report .reader-action-table thead th:nth-child(2) { width: 31%; }
.report .reader-action-table th, .report .reader-action-table td { vertical-align: top; text-align: left; white-space: normal; overflow-wrap: anywhere; }
.report .reader-action-table th[scope="row"] { position: static; box-shadow: none; min-width: 0; }
.report .reader-action-table tr.reader-task { display: table-row; }
.report .reader-action-table .reader-task-number { display: block; font: 400 12px/1.6 var(--font-sans); color: var(--text-3); margin-bottom: 7px; }
.report .reader-task h3 { font-size: 15px; margin: 0 0 6px; font-family: var(--font-sans); }
.report .reader-task-delivery { margin: 0; font-size: 14px; }
.report .task-priority { display: inline-block; font: 600 12px/1.6 var(--font-sans); border-radius: 4px; padding: 3px 7px; color: var(--warn); background: var(--warn-soft); }
.report .task-priority[data-priority="P0"] { color: var(--bad); background: var(--bad-soft); }
.report .task-priority[data-priority="P2"] { color: var(--brand); background: var(--brand-soft); }
.report .reader-task-detail { font-size: 13px; }
.report .reader-task-detail > summary { font-size: 12px; }
.report .reader-prerequisite { font-size: 12px; font-weight: 400; }
.report .reader-library > summary { font-size: 14px; }
.report .reader-library > summary > :last-child { font-size: 12px; }
.preview-workbench { padding-block: 10px; }
.preview-workbench .shell { max-width: 70rem; }
@media (max-width: 48rem) {
  .report .report-body { padding-top: 12px; }
  .report .report-body > .report-section { padding: 18px 16px; margin-bottom: 12px; }
  .report .report-hero { padding-block: 20px 16px; }
  .report .site-title { font-size: 26px; }
  .report .report-section h2 { font-size: 21px; }
  .report .reader-section-label > :last-child { display: none; }
  .report .reader-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .report .reader-metrics > div, .report .reader-metrics > div + div { padding: 12px; }
  .report .reader-metrics dt { gap: 6px; font-size: 12px; }
  .report .reader-metrics dd { font-size: 25px; }
  .report-metric-icon { width: 28px; height: 28px; }
  .report-metric-icon svg { width: 23px; height: 23px; }
  .report .reader-verdict { padding: 12px; }
  .report .reader-verdict > p { font-size: 15px; }
  .report .report-nav ol { gap: 0; justify-content: space-between; }
  .report .report-nav a { font-size: 12px; padding-inline: 4px; }
  .report-chart { padding: 12px 12px 0; }
  .chart-column-head { display: none; }
  .chart-bars li { grid-template-columns: minmax(0, 1fr) 70px; gap: 6px 12px; padding: 10px 0; }
  .chart-label { grid-column: 1; grid-row: auto; }
  .chart-value { grid-column: 2; grid-row: auto; }
  .chart-plot { grid-column: 1 / -1; grid-row: auto; height: 18px; order: 3; }
  .chart-axis { margin: 6px 0 0; }
  .report .reader-claim-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report .reader-dimension { grid-template-columns: minmax(0, 1fr) 85px; gap: 8px; }
  .report .reader-dimension-track { grid-row: 2; grid-column: 1 / -1; }
  .report .reader-dimension strong { grid-row: 1; grid-column: 2; }
  .report .reader-observations li { flex-direction: column; gap: 4px; }
  .report .reader-action-table { min-width: 0; table-layout: auto; }
  .report .reader-action-table thead { display: none; }
  .report .reader-action-table tbody { display: block; }
  .report .reader-action-table tr.reader-task { display: grid; grid-template-columns: 65px minmax(0, 1fr); padding: 14px 10px; gap: 8px; border-top: 1px solid var(--border); }
  .report .reader-action-table tr:first-child { border-top: 0; }
  .report .reader-action-table tr > * { display: block; border: 0; padding: 0; min-width: 0; }
  .report .reader-action-table tr > td:last-child { grid-column: 2; }
  .report .reader-task-delivery::before { content: '交付物：'; color: var(--text-3); }
  .report .reader-library > summary { flex-wrap: wrap; gap: 8px; }
}
@media print {
  .report { background: #fff; padding: 0; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .report .report-body > .report-section { border: 0; border-radius: 0; padding: 16px 0; }
  .report .report-hero { padding-block: 12px; }
  .report .report-section h2 { break-after: avoid; }
  .report .report-chart, .report .reader-metrics, .report .reader-quote-comparison { break-inside: avoid; }
  .report .check-matrix th, .report .check-matrix td { padding: 7px; font-size: 11px; overflow-wrap: anywhere; }
  .report .lens-matrix { min-width: 0; }
  .report .lens-matrix th, .report .lens-matrix th:first-child { min-width: 0; width: auto; }
  .report .reader-action-table { min-width: 0; }
  .report .lens-claim[open]::details-content { display: block; content-visibility: visible; }
  .report .lens-claim[open] > :not(summary) { display: block !important; }
  .report .reader-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .report .reader-metrics > div, .report .reader-metrics > div + div { padding: 10px; }
  .report .reader-metrics dt { font-size: 11px; gap: 5px; }
  .report .reader-metrics dd { font-size: 24px; }
  .report .reader-metrics p, .report .reader-metrics small { font-size: 10px; }
  .report .reader-next { flex-direction: row; gap: 14px; }
  .report .reader-action-table { table-layout: fixed; }
  .report .reader-action-table thead { display: table-header-group; }
  .report .reader-action-table tbody { display: table-row-group; }
  .report .reader-action-table tr.reader-task { display: table-row; }
  .report .reader-action-table tr > * { display: table-cell; padding: 8px; border-bottom: 1px solid var(--border); }
  .report .reader-task-delivery::before { content: none; }
  .report .reader-task-detail { font-size: 11px; }
  .report .reader-quote-comparison { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Keep the heatmap continuous; answer disclosures belong to the question cell. */
.report .lens-matrix { table-layout: fixed; }
.report .lens-matrix th[scope="row"] { white-space: normal; overflow-wrap: anywhere; vertical-align: top; }
.report .matrix-answers { margin-top: 5px; font-weight: 400; }
.report .matrix-answers > summary { padding-block: 6px; font-size: 12px; color: var(--brand); }
.report .matrix-answers .inline-answers { min-width: 0; max-height: 22rem; overflow-y: auto; overscroll-behavior: contain; white-space: normal; font-size: 13px; }
.report .matrix-answers .lens-raw { padding: 10px; font-size: 12px; line-height: 1.8; }
.report .reader-technical { margin-block: 10px; font-size: 12px; color: var(--text-3); overflow-wrap: anywhere; }
.report .reader-technical > summary { font-size: 12px; font-weight: 400; }
.report .inline-answers article { border-top: 1px solid var(--border); padding: 10px 0; }
.report .inline-answers ul { padding-left: 20px; font-size: 13px; overflow-wrap: anywhere; }
.report .inline-answers .lens-raw { white-space: pre-wrap; overflow-wrap: anywhere; max-height: none; font-weight: 400; }
.report .citation-articles { padding-left: 20px; font-size: 13px; overflow-wrap: anywhere; }
.report .citation-articles li { margin-block: 9px; }
.report .compact-report-status { padding: 16px 28px; background: #fff; border: 1px solid var(--border); border-radius: 8px; margin: 0 0 20px; }
.report-chart > .chart-axis:last-child { margin-bottom: 18px; }
@media print {
  .report .matrix-answers, .report .reader-technical { display: none; }
}

/* Report reading shell: fixed-width contents rail and a quiet editorial cover. */
.report .report-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; max-width: 1456px; padding: 28px 24px 56px; margin: auto; align-items: start; }
.report .report-main { min-width: 0; }
.report .report-body { width: 100%; max-width: none; padding: 24px 0 40px; }
.report .report-sidebar { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: visible; }
.report .report-toc { margin: 0; padding: 16px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.report .report-toc > summary { padding: 0 10px 14px; font-size: 13px; color: var(--text-3); }
.report .report-toc nav { max-height: calc(100svh - 120px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-gutter: stable; }
.report .report-toc nav ol { list-style: none; padding: 0; margin: 0; }
.report .report-toc nav > ol > li { margin: 6px 0; }
.report .report-toc a { display: flex; gap: 12px; padding: 9px 10px; border-radius: 5px; color: #516278; text-decoration: none; font-size: 13px; line-height: 1.5; }
.report .report-toc a > span { color: #8da0b7; font-size: 11px; padding-top: 2px; font-variant-numeric: tabular-nums; }
.report .report-toc ol ol a { padding: 7px 10px 7px 38px; font-size: 12px; font-weight: 400; }
.report .report-toc a:hover { background: #f2f7fc; color: var(--brand); }
.report .report-toc a[aria-current="location"] { background: #e8f3ff; color: #0868b5; box-shadow: inset 3px 0 #167cc2; font-weight: 650; }
.report .report-toc a[data-active-parent] { color: #0868b5; font-weight: 650; }
.report [id] { scroll-margin-top: 32px; }
.report .report-cover { min-height: min(850px, calc(100svh - 90px)); padding: 40px 48px 30px; display: flex; flex-direction: column; text-align: center; background: linear-gradient(180deg, #fff 65%, #edf5ff); border: 1px solid #dbe7f3; border-radius: 10px; }
.report .cover-brand { display: flex; align-items: center; justify-content: space-between; color: #1a7bcd; font-size: 21px; font-weight: 750; letter-spacing: .04em; margin: 0; }
.report .cover-brand span { font-size: 11px; font-weight: 500; letter-spacing: .15em; color: #7c8da4; }
.report .cover-title { margin: auto 0; padding: 80px 0 70px; }
.report .cover-title > p:first-child { color: #8a9bb0; font-size: 13px; letter-spacing: .25em; }
.report .cover-title h1 { font-family: var(--font-sans); font-size: clamp(28px, 3vw, 46px); line-height: 1.6; letter-spacing: -.025em; margin: 20px 0; font-weight: 750; overflow-wrap: anywhere; }
.report .cover-title h1 span { font-weight: 650; }
.report .cover-subtitle { font-size: 16px; color: #6a7b91; letter-spacing: .12em; }
.report .cover-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; font-size: 12px; color: #7b8a9e; overflow-wrap: anywhere; }
.report .cover-note { border: 1px dashed #a7c4e5; border-radius: 8px; padding: 18px 24px; margin: 24px 0 16px; color: #547395; font-size: 12px; line-height: 1.9; text-align: left; }
.report .cover-note strong { font-size: 13px; color: #3075b2; }
.report .cover-note p { margin: 6px 0 0; }
.report .cover-start { align-self: center; font-size: 13px; text-decoration: none; color: #2578b6; padding: 8px 20px; }
.report .lens-matrix th[data-subject] { color: #0767ab; background: #d8edff; box-shadow: inset 0 3px #197bc1; }
.report .lens-matrix th { vertical-align: middle; }
.report .matrix-answer-link { display: block; width: fit-content; margin-top: 9px; font-size: 12px; font-weight: 500; text-decoration: none; }
.report .matrix-answer-link span { font-size: 11px; }
.report .matrix-response { display: none; }
.report .matrix-response:target { display: block; padding: 18px; margin-top: 16px; border: 1px solid var(--border); border-radius: 8px; }
.report .matrix-response:target::details-content { display: block; content-visibility: visible; }
.report .matrix-response:target > :not(summary) { display: block !important; }
.report .matrix-response h3 { font-size: 17px; }
.report-answer-dialog { position: fixed; inset: 0; margin: auto; width: min(880px, calc(100vw - 40px)); max-width: none; max-height: 86svh; padding: 24px 32px 32px; background: #fff; color: #26364a; border: 1px solid #d9e5f1; border-radius: 12px; box-shadow: 0 20px 90px #16344a33; overflow: auto; overscroll-behavior: contain; font-family: var(--font-sans); }
.report-answer-dialog::backdrop { background: #142b4666; backdrop-filter: blur(3px); }
.report .answer-close { display: block; position: sticky; top: 0; margin-left: auto; background: #edf5fc; color: #1b679d; border: 1px solid #d2e3f1; border-radius: 6px; font-size: 12px; padding: 8px 12px; cursor: pointer; z-index: 1; }
.report .report-answer-dialog h3 { font-size: 19px; line-height: 1.7; margin: 18px 0 22px; }
.report .answer-prose { font: 400 14px/1.9 var(--font-sans); color: #34465a; overflow-wrap: anywhere; }
.report .answer-prose p { margin: 12px 0; white-space: pre-wrap; }
.report .answer-prose h4 { font-size: 15px; margin: 24px 0 10px; }
.report .answer-prose a { color: #1978b9; }
.report .answer-table-scroll { max-width: 100%; overflow-x: auto; margin: 16px 0; }
.report .answer-prose table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: 13px; }
.report .answer-prose td, .report .answer-prose th { border: 1px solid #dce6ef; padding: 10px 12px; text-align: left; vertical-align: top; }
.report .answer-prose th { background: #edf5fc; font-weight: 600; }
.report .dimensions-grid { align-items: start; }
.report .dimension { min-height: 230px; }
.report .dimension-methods { border: 1px solid var(--border); padding: 12px 16px; margin-top: 16px; border-radius: 8px; }
.report .dimension-methods > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.report .dimension-methods h3 { font-size: 14px; margin-bottom: 6px; }
.report .dimension-methods p { font-size: 13px; color: var(--text-2); }
@media (max-width: 1100px) and (min-width: 901px) {
  .report .report-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 16px; padding: 20px 16px; }
  .report .reader-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .report .report-layout { display: block; padding: 12px 12px 36px; }
  .report .report-sidebar { position: fixed; z-index: 40; top: auto; bottom: 16px; left: 12px; width: 220px; max-height: calc(100svh - 32px); filter: drop-shadow(0 4px 12px #24446a19); }
  .report .report-toc:not([open]) { width: fit-content; padding: 8px 12px; }
  .report .report-toc:not([open]) > summary { padding: 0; }
  .report .report-cover { padding: 32px 22px 20px; min-height: 660px; }
  .report .cover-brand { font-size: 17px; }
  .report .cover-brand span { font-size: 9px; }
  .report .cover-title { padding-block: 60px; }
  .report .cover-subtitle { font-size: 13px; }
  .report .cover-meta { flex-direction: column; gap: 5px; }
  .report .cover-note { padding: 14px; }
  .report .report-body > .report-section { padding-inline: 14px; }
  .report .report-answer-dialog { width: calc(100vw - 24px); padding: 14px; max-height: 90svh; }
  .report .dimension-methods > div { grid-template-columns: 1fr; }
}
@media print {
  .report .report-layout { display: block; padding: 0; }
  .report .report-sidebar, .report .cover-start, .report .matrix-answer-link, .report .matrix-response, .report .report-answer-dialog { display: none !important; }
  .report .report-cover { min-height: 245mm; border: 0; border-radius: 0; break-after: page; }
  .report .report-body { padding: 0; }
  .report .reader-evidence, .report .reader-request-library, .report .reader-more, .report .reader-compliance, .report .inline-detail, .report .reader-local-evidence, .report .reader-technical { display: block !important; }
  .report details::details-content { display: block !important; content-visibility: visible !important; }
  .report details > :not(summary), .report .lens-claim > :not(summary), .report .lens-mention-group:not([open]) > :not(summary) { display: block !important; }
  .report .lens-raw, .report .matrix-scroll, .report .answer-table-scroll { max-height: none !important; overflow: visible; }
  .report .answer-prose table { min-width: 0; table-layout: fixed; }
  .report .dimension-methods > div { display: block; }
  .report .page-card, .report .finding, .report .reader-task { break-inside: auto; }
}
.report .answer-original { margin: 12px 0; font-size: 12px; color: var(--text-3); }
@media print {
  .report .answer-original { display: none !important; }
}

/* Restore decision-useful research to the reading path, keep inventories in the appendix. */
.report .research-context > section { padding-block: 20px; border-top: 1px solid var(--border); }
.report .research-context h3, .report .research-comparison h3 { font-size: 18px; line-height: 1.65; }
.report .research-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.report .research-cards article { background: #f5f9fd; border: 1px solid #dae7f3; padding: 18px; border-radius: 8px; }
.report .research-cards p { font-size: 14px; line-height: 1.85; margin: 8px 0; }
.report .research-cards h4 { font-size: 17px; margin: 8px 0 12px; }
.report .research-cards small { color: #677f98; font-size: 11px; line-height: 1.7; }
.report .research-tiers { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.report .research-tiers > div { display: grid; grid-template-columns: 140px 1fr 1.4fr; gap: 16px; padding: 16px; align-items: center; border-bottom: 1px solid var(--border); }
.report .research-tiers > div:last-child { border-bottom: 0; }
.report .research-tiers strong { font-size: 13px; color: #316b96; }
.report .research-tiers p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.report .research-tiers p span { background: #eaf3fc; color: #285d86; padding: 4px 8px; border-radius: 4px; font-size: 13px; }
.report .research-tiers small { font-size: 12px; line-height: 1.8; color: var(--text-3); }
.report .research-journey { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 22px 0; }
.report .research-journey li { padding: 16px 12px; background: #f4f6f8; border-top: 3px solid #c4cfda; }
.report .research-journey li[data-ai] { background: #eef6ff; border-color: #388ac7; }
.report .research-journey strong { display: block; font-size: 14px; }
.report .research-journey p { font-size: 12px; line-height: 1.8; }
.report .research-journey small { font-size: 11px; color: #1471b5; }
.report .journey-number { display: block; font-size: 22px; color: #a2b8cb; margin-bottom: 14px; }
.report .research-comparison { width: 100%; }
.report .research-comparison th, .report .research-comparison td { padding: 16px; white-space: normal; min-width: 95px; font-size: 14px; }
.report .research-comparison th:first-child { min-width: 180px; }
.report .research-quote { margin: 16px 0 28px; padding: 24px; background: linear-gradient(110deg,#eef7ff,#fff); border-left: 3px solid #2882c2; }
.report .research-quote blockquote { margin: 0 0 16px; font-size: 18px; line-height: 1.9; }
.report .research-quote figcaption { font-size: 12px; color: var(--text-3); }
.report .research-quote figcaption a { display: inline-block; margin-left: 10px; }
.report .research-quote > p { font-size: 13px; margin-top: 18px; }
.report .research-counts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 18px 0; }
.report .research-counts > div { padding: 18px; border: 1px solid var(--border); border-radius: 6px; }
.report .research-counts strong { display: block; color: #2874ac; font-size: 30px; font-variant-numeric: tabular-nums; }
.report .research-counts span { font-size: 12px; }
.report .source-category-chart { padding: 18px; background: #f6faff; border: 1px solid var(--border); border-radius: 8px; margin: 16px 0; }
.report .source-category-chart h3 { font-size: 15px; margin: 0 0 18px; }
.report .source-category-bar { display: flex; height: 26px; border-radius: 4px; overflow: hidden; }
.report .source-category-labels { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 12px; }
.report .source-category-labels span { font-size: 12px; color: #5f758a; }
.report .source-category-labels strong { color: #203f5e; margin-left: 8px; }
.report .reader-appendix-link { display: inline-block; font-size: 12px; margin-top: 12px; }
.report .citation-sites { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; padding: 12px 0; align-items: start; }
.report .citation-site { padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; min-width: 0; }
.report .citation-site > summary { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.report .citation-site > summary strong { overflow-wrap: anywhere; }
.report .citation-site > summary span { color: var(--text-3); font-size: 11px; }
.report .citation-site ul { list-style: none; padding: 0; margin: 0; }
.report .citation-site li { padding: 12px 0; border-top: 1px solid var(--border); font-size: 13px; }
.report .citation-site li small { display: block; color: var(--text-3); margin-top: 4px; }
.report .reader-observations { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.report .reader-observations li { padding: 16px; margin: 0; border: 1px solid var(--border); border-radius: 6px; display: block; }
.report .reader-observations h3 { margin-top: 0; font-size: 15px; }
.report .reader-observations p { font-size: 13px; }
.report .task-key-evidence { font-size: 13px; color: #657c93; padding-left: 12px; border-left: 2px solid #d2e4f3; margin-top: 12px; }
@media (max-width: 1100px) {
  .report .research-cards { grid-template-columns: 1fr; }
  .report .research-journey { grid-template-columns: 1fr; }
  .report .research-journey li { display: grid; grid-template-columns: 24px 1fr; gap: 5px 12px; }
  .report .research-journey li p, .report .research-journey li small { grid-column: 2; margin: 0; }
  .report .journey-number { grid-row: 1 / 4; margin: 0; }
}
@media (max-width: 600px) {
  .report .research-tiers > div { grid-template-columns: 1fr; gap: 8px; }
  .report .research-counts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .report .citation-sites, .report .reader-observations { grid-template-columns: 1fr; }
  .report .research-quote { padding: 16px; }
  .report .research-quote blockquote { font-size: 16px; }
}
.report details:target > .citation-sites, .report details:has(:target) > .citation-sites { display: grid !important; }
@media print {
  .report .research-cards, .report .research-tiers, .report .research-journey { break-inside: avoid; }
}

/* A continuous left-to-right journey; equal tracks keep all five stages aligned. */
.report-download-toolbar { display: flex; justify-content: flex-end; max-width: 1456px; margin: auto; padding: 16px 24px 0; }
.report-download-toolbar .button { gap: 10px; }
.report-download-toolbar .small-label { color: inherit; opacity: .8; }
@media print { .report-download-toolbar { display: none; } }
.report[data-read-failed] .report-layout { display: block; max-width: 900px; }
.report[data-read-failed] .reader-opening h1 { font-size: 22px; margin: 0 0 12px; }
.report[data-read-failed] .report-body { padding-top: 0; }
@keyframes report-enter { from { opacity: .35; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes report-bar-enter { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes report-dialog-enter { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
@media screen and (prefers-reduced-motion: no-preference) {
  .report .report-entered { animation: report-enter 480ms cubic-bezier(.2,.7,.2,1); }
  .report .report-entered .chart-bar { transform-origin: left center; animation: report-bar-enter 650ms cubic-bezier(.2,.7,.2,1); }
  .report .report-answer-dialog[open] { animation: report-dialog-enter 220ms ease-out; }
  .report [data-toc-link] { transition: background-color 180ms ease, color 180ms ease; }
}
@media print, (prefers-reduced-motion: reduce) {
  .report .report-entered, .report .report-entered .chart-bar, .report .report-answer-dialog { animation: none !important; }
}
.report .journey-scroll { overflow-x: auto; padding: 8px 0 14px; }
.report .research-journey { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 24px; min-width: 820px; margin: 12px 0; align-items: stretch; }
.report .research-journey li, .report .research-journey li[data-ai] { position: relative; display: grid; grid-template-columns: 1fr; grid-template-rows: 42px 24px minmax(68px,1fr) 20px; gap: 10px; margin: 0; padding: 16px; border: 1px solid #d7e4f0; border-radius: 8px; background: #f7f9fb; }
.report .research-journey li[data-ai] { background: #eef6ff; border-color: #b3d6f2; }
.report .research-journey li:not(:last-child)::after { content: '→'; position: absolute; left: calc(100% + 4px); top: 30px; width: 17px; color: #87aaca; font-size: 18px; }
.report .research-journey .journey-number { grid-row: 1; grid-column: 1; margin: 0; width: 34px; height: 34px; display: grid; place-items: center; background: #dceaf5; border-radius: 50%; font-size: 16px; color: #4c7696; }
.report .research-journey strong { grid-row: 2; font-size: 14px; white-space: nowrap; }
.report .research-journey li p { grid-row: 3; grid-column: 1; margin: 0; font-size: 12px; }
.report .research-journey li small { grid-row: 4; grid-column: 1; margin: 0; font-size: 11px; }
.report #research-buyer > details p { font-size: 13px; }
.report #dimensions .section-title { margin-bottom: 22px; }
.report #dimensions .dimensions-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; align-items: stretch; margin: 0 0 20px; }
.report #dimensions .dimension { display: grid; grid-template-rows: 52px 44px 60px 20px 28px; gap: 8px; min-height: 0; margin: 0; padding: 18px 14px; border: 1px solid var(--border); border-radius: 8px; box-shadow: none; }
.report #dimensions .dimension-top { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 5px; }
.report #dimensions .source-chip { font-size: 10px; padding: 3px 6px; white-space: nowrap; }
.report #dimensions .dimension-top .small-label { font-size: 10px; }
.report #dimensions .dimension h3 { grid-row: 2; margin: 0; font-size: 15px; line-height: 1.5; align-self: start; }
.report #dimensions .dimension-score, .report #dimensions .dimension-insufficient { grid-row: 3; margin: 0; align-self: center; }
.report #dimensions .dimension-score { font-size: 36px; }
.report #dimensions .dimension-insufficient { font-size: 17px; }
.report #dimensions .dimension > .bar, .report #dimensions .dimension-gap { grid-row: 4; margin: 0; align-self: center; }
.report #dimensions .dimension-gap { font-size: 12px; color: var(--text-3); }
.report #dimensions .dimension > .small-label { grid-row: 5; margin: 0; font-size: 11px; align-self: end; }
.report .observation-source-link { display: inline-block; margin-top: 10px; font-size: 12px; }
.report .observation-source-record { padding: 12px 16px; border: 1px solid var(--border); border-radius: 6px; }
.report .observation-source-record > p { padding: 16px; max-height: 26rem; overflow: auto; line-height: 1.9; background: #f7f9fc; }
@media (max-width: 1200px) {
  .report #dimensions .dimensions-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .report #dimensions .dimensions-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .report #dimensions .dimension { padding: 14px 10px; }
}
@media print {
  .report .journey-scroll { overflow: visible; }
  .report .research-journey { min-width: 0; gap: 14px; }
  .report .research-journey strong { white-space: normal; }
  .report .research-journey li { padding: 8px; }
  .report #dimensions .dimensions-grid { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .report .observation-source-record > p { max-height: none; overflow: visible; }
}

/* Match the home palette without flattening gradients or changing status semantics. */
body:has(.report) { --bg: #f6f6f3; --surface-1: #fafaf8; --brand: #2f48a6; --glint: #1ba99c; }
body:has(.report) .brand-mark circle { fill: #67d8ca; }
.report .report-cover { background: linear-gradient(155deg, #fff 56%, #eff1fa 80%, #e0f4ee); border-color: var(--border); }
.report .cover-brand, .report .cover-note strong, .report .cover-start { color: var(--brand); }
.report .cover-brand span, .report .cover-title > p:first-child, .report .cover-subtitle, .report .cover-meta { color: var(--text-3); }
.report .cover-note { border-color: #bcc8db; color: var(--text-2); background: linear-gradient(110deg, #ffffffb3, #f2faf7b3); }
.report .report-toc a:hover { background: #f0f2f8; }
.report .report-toc a[aria-current="location"] { background: #edf1fa; color: var(--brand); box-shadow: none; }
.report .report-toc a[data-active-parent] { color: var(--brand); }
.report .reader-verdict, .report .reader-ai .report-section h2 { background: linear-gradient(100deg, #eef0fa, #f1faf7 65%, #fff); border-left-color: var(--brand); }
.report .reader-metrics > div { border-color: #d9deec; background: linear-gradient(140deg, #f1f3fb, #fff 72%); }
.report .reader-metrics > div:nth-child(even) { border-color: #cfe5de; background: linear-gradient(140deg, #eff9f5, #fff 72%); }
.report .report-metric-icon { color: var(--brand); background: linear-gradient(145deg, #fff 10%, #e3e7f4 70%, #b7c3e7); box-shadow: 0 2px 0 #c5cfe7, inset 0 1px 0 #fff; }
.report .reader-metrics > div:nth-child(even) .report-metric-icon { color: var(--teal-ink); background: linear-gradient(145deg, #fff 10%, #d4f1eb 70%, #96d8ca); box-shadow: 0 2px 0 #b8dfd3, inset 0 1px 0 #fff; }
.report .report-chart, .report .reader-dimensions { background: #fafbf9; }
.report .chart-bar { background: linear-gradient(90deg, #b6c0e1, #8c9dd0); }
.report [data-subject] .chart-bar { background: linear-gradient(90deg, var(--brand), #5a70c4); }
.report .check-matrix thead th { color: var(--brand); background: #eef0f8; }
.report .check-matrix caption { background: var(--surface-1); }
.report .lens-matrix th[data-subject] { color: var(--brand); background: #e3e7f4; box-shadow: inset 0 3px var(--teal); }
.report .claim-distribution [data-verdict="supported"] { background: var(--teal); }
.report .claim-distribution [data-verdict="unverified"] { background: #a9b5b4; }
.report .research-cards > article { background: linear-gradient(135deg, #f2f4fa, #fff); border-color: var(--border); }
.report .research-cards small, .report .research-tiers small, .report .research-quote figcaption, .report .source-category-labels span, .report .task-key-evidence { color: var(--text-3); }
.report .research-tiers strong { color: var(--brand); }
.report .research-tiers p span { color: var(--brand); background: var(--brand-soft); }
.report .research-quote { background: linear-gradient(110deg, #f0f3fc, #fff 88%); border-left-color: var(--brand); }
.report .research-quote blockquote { background: transparent; border-inline-start: 0; border-radius: 0; padding: 0; }
.report .research-cards blockquote, .report .reader-local-evidence blockquote, .report .reader-quote-comparison blockquote { background: #fff; border-inline-start-color: #bbc7e7; }
.report .dimension-insufficient { color: var(--text-3); }
.report .task-priority { color: #53617f; background: #f0f3f9; }
.report .task-priority[data-priority="P0"] { color: #fff; background: var(--brand); }
.report .task-priority[data-priority="P1"] { color: var(--brand); background: #e8edf9; }
.report .task-priority[data-priority="P2"] { color: #53617f; background: #f0f3f9; }
.report .research-counts strong { color: var(--brand); }
.report .source-category-chart { background: linear-gradient(115deg, #f2f4fa, #f1faf6); }
.report .source-category-labels strong { color: var(--text-2); }
.report .research-journey li { background: linear-gradient(155deg, #f7f9fd, #fff); border-color: #dce2ef; }
.report .research-journey li[data-ai] { background: linear-gradient(155deg, #edf2fc, #fafcff); border-color: #c4d1ec; }
.report .research-journey .journey-number { background: #e8edf8; color: var(--brand); }
.report .research-journey li[data-ai] .journey-number { background: var(--brand); color: #fff; }
.report .research-journey li small { color: var(--brand); }
.report .research-journey li:not(:last-child)::after { color: #8697bf; }
.report .task-key-evidence { border-left-color: #c4d1ec; }
.report .observation-source-record > p { background: var(--surface-1); }
.report .report-answer-dialog { color: var(--text); border-color: var(--border); box-shadow: 0 20px 90px #293a4a33; }
.report .report-answer-dialog::backdrop { background: #202c4266; }
.report .answer-close { background: var(--brand-soft); color: var(--brand); border-color: #c9d1e8; }
.report .answer-prose { color: var(--text-2); }
.report .answer-prose a { color: var(--brand); }
.report .answer-prose td, .report .answer-prose th { border-color: var(--border); }

/* Diagnosis: a clear finding, quieter impact, and a separate action strip. */
.report #site-summary .reader-observations { counter-reset: observation; align-items: start; gap: 18px; }
.report #site-summary .reader-observations > li { counter-increment: observation; padding: 0; border-color: #dce3f0; overflow: hidden; background: linear-gradient(145deg, #f8faff, #fff 55%); }
.report #site-summary .reader-observations article { padding: 18px; }
.report #site-summary .reader-observations h3 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid #e3e9f4; font-size: 16px; line-height: 1.6; color: #293d77; }
.report #site-summary .reader-observations h3::before { content: counter(observation, decimal-leading-zero); flex: none; color: #8192b9; font: 500 12px/1.6 var(--font-mono); }
.report #site-summary [data-observation] { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; margin: 12px 0; line-height: 1.85; }
.report #site-summary [data-observation] > strong { font-size: 12px; font-weight: 600; color: #6a7896; }
.report #site-summary [data-observation="finding"] > span { color: var(--text); font-weight: 500; }
.report #site-summary [data-observation="impact"] > span { color: var(--text-3); }
.report #site-summary [data-observation="advice"] { padding: 12px; margin-top: 16px; background: #edf2fc; border-radius: 6px; }
.report #site-summary [data-observation="advice"] > strong { color: var(--brand); }
.report #site-summary .observation-source-link { color: var(--brand); margin-top: 2px; font-size: 12px; }
@media (max-width: 600px) {
  .report #site-summary .reader-observations article { padding: 14px; }
}
@media print {
  .report #site-summary .reader-observations > li { break-inside: avoid; }
}

/* The first three canonical actions, after metrics, without duplicating their evidence. */
.report .reader-action-preview { margin: 22px 0; }
.report .reader-action-preview > h3 { font-size: 15px; margin: 0 0 12px; color: var(--text); }
.report .reader-action-preview > ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.report .reader-action-preview li { margin: 0; padding: 16px; border: 1px solid #dce3f0; border-radius: 8px; background: linear-gradient(135deg, #f1f4fc, #fff 85%); }
.report .action-preview-title { display: flex; align-items: baseline; gap: 8px; }
.report .action-preview-title .task-priority { flex: none; font-size: 10px; padding: 2px 5px; }
.report .action-preview-title a { color: var(--brand); font-size: 14px; font-weight: 650; text-decoration: none; }
.report .action-preview-title a:hover { text-decoration: underline; }
.report .reader-action-preview li p { font-size: 13px; line-height: 1.85; margin: 10px 0 0; }
.report .reader-action-preview small, .report .reader-action-preview details { font-size: 12px; color: var(--text-3); }
.report .reader-action-preview .action-preview-prerequisites { font-size: 12px; color: var(--text-2); }
@media (max-width: 1100px) { .report .reader-action-preview > ol { grid-template-columns: 1fr; } }

/* Color studies only: no theme changes layout, data, motion or risk meanings. */
.report[data-theme="rose"] {
  --brand: #aa4a77; --brand-hover: #8a385f; --brand-2: #d997b7; --brand-3: #ead0dd; --brand-soft: #f8eef3;
  --bg: #f8f7f4; --surface-1: #fcfbf9; --sunken: #f0eeeb; --border: #e2deda; --border-strong: #c9bfbd; --divider: #eeebe8;
  --text: #343233; --text-2: #555052; --text-3: #777174;
  --theme-accent: #72716b; --theme-accent-soft: #f3f1eb; --theme-tint: #fdfbf9;
}
.report[data-theme="digital"] {
  --brand: #087bb5; --brand-hover: #08628e; --brand-2: #39b9ef; --brand-3: #a2e1fb; --brand-soft: #e2f5ff;
  --bg: #f3faff; --surface-1: #f8fcff; --sunken: #eaf4fa; --border: #cce4f1; --border-strong: #9dcbdf; --divider: #e0eff7;
  --text: #263744; --text-2: #435b6b; --text-3: #607987;
  --theme-accent: #087e91; --theme-accent-soft: #e0f8fc; --theme-tint: #f1fbff;
}
.report[data-theme="blue"] {
  --theme-accent: #21766d; --theme-accent-soft: #e1f4ef; --theme-tint: #f4f6fd;
}
.report[data-theme="forest"] {
  --brand: #2e6d50; --brand-hover: #225339; --brand-2: #6ba47c; --brand-3: #bfdcc5; --brand-soft: #e6f3e8;
  --bg: #f6f8f2; --surface-1: #fafcf7; --sunken: #edf1e8; --border: #d6e2d3; --border-strong: #b5c9ad; --divider: #e6ede1;
  --text: #2b362c; --text-2: #4c5c49; --text-3: #6b7964;
  --theme-accent: #62753c; --theme-accent-soft: #eff3df; --theme-tint: #f5faf2;
}
.report[data-theme="amber"] {
  --brand: #95603c; --brand-hover: #75492c; --brand-2: #c69362; --brand-3: #e8ccaa; --brand-soft: #faeedf;
  --bg: #faf7f1; --surface-1: #fdfbf6; --sunken: #f3eee4; --border: #e7dccc; --border-strong: #d4bea0; --divider: #eee6d9;
  --text: #382f28; --text-2: #605344; --text-3: #7b6d5a;
  --theme-accent: #8d6b28; --theme-accent-soft: #faf2db; --theme-tint: #fdf8f0;
}
.report[data-theme] {
  --teal: var(--theme-accent); --teal-ink: var(--theme-accent); --teal-soft: var(--theme-accent-soft);
  --rule: var(--text-2); --rule-soft: var(--sunken);
  --chart-series-1: var(--brand); --chart-series-2: var(--theme-accent); --chart-series-3: var(--brand-2); --chart-series-4: var(--brand-3); --chart-series-5: #c9ced3;
}
.report[data-theme] .report-cover { background: linear-gradient(155deg, #fff 56%, var(--brand-soft) 80%, var(--theme-accent-soft)); }
.report[data-theme] .cover-note { border-color: var(--border-strong); background: linear-gradient(110deg, #fff, var(--theme-tint)); }
.report[data-theme] .report-toc a:hover, .report[data-theme] .report-toc a[aria-current="location"] { background: var(--brand-soft); }
.report[data-theme] .report-toc a { color: var(--text-2); }
.report[data-theme] .report-toc a[aria-current="location"], .report[data-theme] .report-toc a[data-active-parent] { color: var(--brand); }
.report[data-theme] .report-toc a > span { color: var(--text-3); }
.report[data-theme] .reader-verdict, .report[data-theme] .reader-ai .report-section h2 { background: linear-gradient(100deg, var(--brand-soft), var(--theme-tint) 65%, #fff); }
.report[data-theme] .reader-metrics > div { border-color: var(--border); background: linear-gradient(140deg, var(--theme-tint), #fff 72%); }
.report[data-theme] .reader-metrics > div:nth-child(even) { background: linear-gradient(140deg, var(--theme-accent-soft), #fff 72%); }
.report[data-theme] .report-metric-icon { color: var(--brand); background: linear-gradient(145deg, #fff 10%, var(--brand-soft) 70%, var(--brand-3)); box-shadow: 0 2px 0 var(--brand-3), inset 0 1px 0 #fff; }
.report[data-theme] .reader-metrics > div:nth-child(even) .report-metric-icon { color: var(--theme-accent); background: linear-gradient(145deg, #fff 10%, var(--theme-accent-soft) 70%, var(--brand-3)); box-shadow: 0 2px 0 var(--border-strong), inset 0 1px 0 #fff; }
.report[data-theme] .report-chart, .report[data-theme] .reader-dimensions { background: var(--surface-1); }
.report[data-theme] .chart-bar { background: linear-gradient(90deg, var(--brand-3), var(--brand-2)); }
.report[data-theme] [data-subject] .chart-bar { background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.report[data-theme] .check-matrix thead th, .report[data-theme] .lens-matrix th[data-subject] { background: var(--brand-soft); }
.report[data-theme] .research-cards > article, .report[data-theme] .reader-action-preview li { border-color: var(--border); background: linear-gradient(135deg, var(--theme-tint), #fff); }
.report[data-theme] .research-quote { background: linear-gradient(110deg, var(--brand-soft), #fff 88%); }
.report[data-theme] .research-cards blockquote, .report[data-theme] .reader-local-evidence blockquote, .report[data-theme] .reader-quote-comparison blockquote { border-inline-start-color: var(--brand-3); }
.report[data-theme] .task-priority[data-priority="P1"], .report[data-theme] .research-journey .journey-number { background: var(--brand-soft); }
.report[data-theme] .task-priority[data-priority="P2"], .report[data-theme] .task-priority:not([data-priority^="P"]) { color: var(--text-3); background: var(--sunken); }
.report[data-theme] .source-category-chart { background: linear-gradient(115deg, var(--theme-tint), var(--theme-accent-soft)); }
.report[data-theme] .research-journey li { border-color: var(--border); background: linear-gradient(155deg, var(--theme-tint), #fff); }
.report[data-theme] .research-journey li[data-ai] { border-color: var(--border-strong); background: linear-gradient(155deg, var(--brand-soft), var(--theme-tint)); }
.report[data-theme] .research-journey li[data-ai] .journey-number { background: var(--brand); }
.report[data-theme] .research-journey li:not(:last-child)::after { color: var(--brand-2); }
.report[data-theme] .task-key-evidence, .report[data-theme] .answer-close { border-color: var(--border-strong); }
.report[data-theme] #site-summary .reader-observations > li { border-color: var(--border); background: linear-gradient(145deg, var(--theme-tint), #fff 55%); }
.report[data-theme] #site-summary .reader-observations h3 { color: var(--brand); border-color: var(--divider); }
.report[data-theme] #site-summary .reader-observations h3::before, .report[data-theme] #site-summary [data-observation] > strong { color: var(--text-3); }
.report[data-theme] #site-summary [data-observation="advice"] { background: var(--brand-soft); }
.report[data-theme] #site-summary [data-observation="advice"] > strong { color: var(--brand); }

/* Rose is a small accent on warm paper, not a page-wide pink wash. */
.report[data-theme="rose"] .cover-brand,
.report[data-theme="rose"] .reader-section-label,
.report[data-theme="rose"] .action-preview-title a,
.report[data-theme="rose"] #site-summary .reader-observations h3,
.report[data-theme="rose"] .check-matrix thead th { color: var(--text-2); }
.report[data-theme="rose"] .report-toc a[aria-current="location"] { background: #f0eeeb; color: var(--text); }
.report[data-theme="rose"] .reader-verdict,
.report[data-theme="rose"] .reader-ai .report-section h2 { background: linear-gradient(100deg, #f6f2f3, #fff 85%); }
.report[data-theme="rose"] .check-matrix thead th,
.report[data-theme="rose"] #site-summary [data-observation="advice"] { background: #f5f3f0; }
.report[data-theme="rose"] .reader-metrics > div:nth-child(even) dd { color: var(--text-2); }

/* Live industry research: category tag, source chips, measured evidence under each direction. */
.report .research-category { display: inline-block; margin-left: 12px; padding: 2px 10px; border-radius: 999px; background: #eaf3fc; color: #285d86; font-size: 13px; font-weight: 500; vertical-align: middle; }
.report .research-summary { font-size: 15px; line-height: 1.9; margin: 4px 0 16px; }
.report .research-cards .research-kind { display: inline-block; padding: 1px 8px; border-radius: 4px; background: #e3eef9; color: #285d86; }
.report .research-cites { display: block; margin-top: 6px; }
.report .research-cites a { text-decoration: none; font-variant-numeric: tabular-nums; }
.report .research-tiers > div[data-subject] { background: #fff8e8; }
.report .research-tiers > div[data-subject] strong::after { content: '含本品牌'; margin-left: 6px; padding: 0 6px; border-radius: 4px; background: #f0b43c; color: #3b2a05; font-size: 10px; font-weight: 600; }
.report .research-evidence { list-style: none; padding: 8px 0 0; margin: 8px 0 0; border-top: 1px dashed #dae7f3; font-size: 12px; line-height: 1.8; color: var(--muted, #5b6470); }
.report .research-evidence b { margin-left: 4px; color: #285d86; font-variant-numeric: tabular-nums; }
.report .research-sources ol { padding-left: 0; list-style: none; font-size: 13px; line-height: 1.8; }
.report .research-sources li { padding: 6px 0; border-bottom: 1px solid var(--border); overflow-wrap: anywhere; }
.report .research-sources li small { display: block; color: #677f98; font-size: 11px; }
/* Live buyer paths vary from 3 to 6 steps; keep them on one scrollable row. */
.report .research-journey[data-steps="3"] { grid-template-columns: repeat(3,minmax(0,1fr)); min-width: 0; }
.report .research-journey[data-steps="4"] { grid-template-columns: repeat(4,minmax(0,1fr)); min-width: 660px; }
.report .research-journey[data-steps="6"] { grid-template-columns: repeat(6,minmax(0,1fr)); min-width: 900px; gap: 18px; }
