/* Pengolin site styles. Self-contained: no external fonts or CDNs (strict CSP). */
:root {
  --bg: #f7f9fb;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --ink: #142233;
  --ink-soft: #4a5a6c;
  --line: #dde4ec;
  --brand: #0f4c75;
  --brand-soft: #e6f0f6;
  --brand-ink: #ffffff;
  --accent: #1b8a8f;
  --focus: #2f7ed8;
  --sev-critical: #8f1d2c;
  --sev-high: #c0392b;
  --sev-medium: #b9770e;
  --sev-low: #2e6f9e;
  --sev-info: #5f6b7a;
  --ok: #1e7b4f;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(20, 34, 51, 0.06), 0 4px 16px rgba(20, 34, 51, 0.05);
  --font: system-ui, -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
}
main { overflow-wrap: anywhere; }
img { max-width: 100%; }
a { color: var(--brand); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
h1, h2, h3 { line-height: 1.35; margin: 0 0 0.6em; }
h1 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); font-size: 0.92em; word-break: break-all; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.logo-mark { width: 48px; height: 26px; }
.nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }
.nav a[aria-current="page"] { font-weight: 700; }
.nav .btn { color: var(--brand-ink); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font: inherit; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 10px; border: 1px solid transparent;
  background: var(--brand); color: var(--brand-ink); font: inherit; font-weight: 600;
  text-decoration: none; text-align: center; cursor: pointer; min-height: 44px; max-width: 100%;
}
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; filter: none; }
.btn-lg { padding: 16px 30px; font-size: 1.08rem; }
.btn-sm { padding: 6px 12px; min-height: 34px; font-size: 0.9rem; }
.btn-secondary { background: var(--surface); color: var(--brand); border-color: var(--brand); }
.btn-ghost { background: transparent; color: var(--ink-soft); border-color: var(--line); }
.btn-danger { background: var(--sev-high); color: #fff; border-color: var(--sev-high); }

/* Status chips and pills */
.chip { display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; line-height: 1.7; background: var(--surface-2); color: var(--ink-soft); vertical-align: middle; }
.chip:empty { display: none; }
.chip-wait { background: #fdf6e9; color: #7a4f06; }
.chip-ok { background: #e8f5ee; color: var(--ok); }
.status-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 0.95rem; }
.status-pill::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sev-medium); }
.status-pill[data-state="info"]::before { background: var(--brand); }
.status-pill[data-state="error"]::before { background: var(--sev-high); }
.status-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 6px; }
.state-box { margin: 0 0 10px; padding: 10px 14px; border-radius: 8px; background: var(--surface-2); font-weight: 600; }
.state-box:empty { display: none; }

/* Sections */
section { padding: 72px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lead { color: var(--ink-soft); max-width: 680px; }

.hero { padding: 88px 0 72px; background: linear-gradient(180deg, #eaf1f7 0%, var(--bg) 100%); }
.hero h1 { max-width: 820px; }
.hero .sub { font-size: 1.12rem; color: var(--ink-soft); max-width: 680px; }
.hero .cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .note { font-size: 0.9rem; color: var(--ink-soft); }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.88rem; }

/* Numbered steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding: 18px 18px 18px 64px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.steps li > strong { display: block; }
.steps li > span { display: block; }
.steps-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Progress through the scan flow. */
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; counter-reset: flow; }
.flow-steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.flow-steps li { counter-increment: flow; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 0.82rem; line-height: 1.4; color: var(--ink-soft); }
.flow-steps li::before { content: counter(flow); position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); font-weight: 700; color: var(--ink-soft); }
.flow-steps li + li::after { content: ""; position: absolute; top: 15px; right: calc(50% + 16px); width: calc(100% - 28px); height: 2px; background: var(--line); }
.flow-steps .is-current { color: var(--ink); font-weight: 700; }
.flow-steps .is-current::before { background: var(--brand); border-color: var(--brand); color: #fff; }
.flow-steps .is-done::before { content: "✓"; background: var(--ok); border-color: var(--ok); color: #fff; }
.flow-steps .is-done + li::after { background: var(--ok); }
/* target.html: highlight follows the section that target.js shows. */
body:has(#sec-verify:not([hidden])) .fs-verify,
body:has(#sec-scan:not([hidden])) .fs-consent { color: var(--ink); font-weight: 700; }
body:has(#sec-verify:not([hidden])) .fs-verify::before,
body:has(#sec-scan:not([hidden])) .fs-consent::before { background: var(--brand); border-color: var(--brand); color: #fff; }
body:has(#sec-scan:not([hidden])) .fs-verify::before { content: "✓"; background: var(--ok); border-color: var(--ok); color: #fff; }
body:has(#sec-scan:not([hidden])) .fs-consent::after { background: var(--ok); }

.step-card { border-top: 4px solid var(--brand); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-right: 10px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 0.95rem; vertical-align: 0.1em; }

/* Consent and authority confirmations stay visible and stand out. */
.consent-box { padding: 14px 16px; border: 2px solid var(--brand); border-radius: 10px; background: #f2f7fb; font-weight: 600; }
.consent-box:has(input:checked) { border-color: var(--ok); background: #eef8f2; }
.consent-box a { font-weight: 400; }

.do-dont { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.do-dont > div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.do-dont .do { border-top: 4px solid var(--ok); }
.do-dont .dont { border-top: 4px solid var(--sev-high); }
.do-dont strong { display: block; margin-bottom: 6px; }

.source-box { display: grid; gap: 2px; margin: 0 0 14px; padding: 14px 16px; border-radius: 10px; background: var(--brand-soft); }
.source-box .price { margin: 0; font-family: var(--mono); font-size: clamp(1.3rem, 5vw, 1.8rem); word-break: break-all; }
.usage { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.usage li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 0.9rem; }
.usage strong { color: var(--brand); margin-right: 6px; }

/* Plans */
.price { font-size: 2rem; font-weight: 700; margin: 0.2em 0; }
.price small { font-size: 0.95rem; font-weight: 500; color: var(--ink-soft); }
.plan-featured { border: 2px solid var(--brand); }
.plan { display: flex; flex-direction: column; gap: 8px; }
.plan h2, .plan h3 { font-size: 1.1rem; margin: 0; }
.plan .price { margin: 0; }
.plan .btn { align-self: flex-start; }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.plan-fit { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 0.9rem; font-weight: 600; color: var(--brand); }
.card .plan-fit:last-child { margin-bottom: 0; }
ul.check { padding-left: 1.2em; margin: 0; }
ul.check li { margin: 0.25em 0; }

.notice { border-left: 4px solid var(--accent); background: #eef7f7; padding: 14px 18px; border-radius: 8px; margin: 16px 0; }
.notice-warn { border-left-color: var(--sev-medium); background: #fdf6e9; }
.notice-danger { border-left-color: var(--sev-high); background: #fcefed; }
.stack > .notice { margin: 0; }

details.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px; }
details.faq summary { cursor: pointer; font-weight: 600; }
details.faq p { margin: 12px 0 0; color: var(--ink-soft); }
details.more, .finding details { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 12px; }
details.more > summary, .finding details > summary, .card > details > summary { cursor: pointer; color: var(--brand); font-weight: 600; font-size: 0.92rem; }
details.more[open] > summary, .finding details[open] > summary { margin-bottom: 8px; }

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); background: var(--surface); font-size: 0.9rem; color: var(--ink-soft); }
.site-footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer .container > div:first-child { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.site-footer a { color: var(--ink-soft); }

/* Forms */
.form { display: grid; gap: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-size: 0.85rem; color: var(--ink-soft); margin-top: 4px; }
.field-inline { max-width: 280px; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; min-height: 44px;
}
textarea { min-height: 160px; resize: vertical; }
/* Honeypot: off-screen rather than display:none so naive bots still fill it. */
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
input[readonly] { background: var(--surface-2); font-family: var(--mono); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; }
.checkbox input { margin-top: 6px; width: 18px; height: 18px; flex: none; }
.form-error { color: var(--sev-high); font-weight: 600; min-height: 1.5em; margin: 0; }
.form-ok { color: var(--ok); font-weight: 600; }
.tabs { display: flex; gap: 8px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.tabs button { flex: 1; background: none; border: none; padding: 10px 14px; font: inherit; color: var(--ink-soft); cursor: pointer; border-bottom: 3px solid transparent; }
.tabs button[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.auth { max-width: 480px; }

/* App pages */
.app-main { padding: 32px 0 72px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 16px; flex-wrap: wrap; }
.page-head h1 { font-size: 1.6rem; margin: 0; }
.stack { display: grid; gap: 20px; }
.stack > * { min-width: 0; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.danger-zone { border-color: #f0c9c3; box-shadow: none; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; overflow-wrap: break-word; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; white-space: nowrap; }

.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; color: #fff; background: var(--sev-info); white-space: nowrap; }
.sev-critical { background: var(--sev-critical); }
.sev-high { background: var(--sev-high); }
.sev-medium { background: var(--sev-medium); }
.sev-low { background: var(--sev-low); }
.sev-info { background: var(--sev-info); }
.badge-outline { background: transparent; color: var(--ink-soft); border: 1px solid var(--line); }
.badge-ok { background: var(--ok); }
.badge-ai { background: #6b4fa0; }

/* Result-page grade badge; same box as the top page's body.home .grade-letter. */
.grade-row { display: flex; gap: 14px; align-items: center; }
.grade-badge { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 12px; color: #fff; font-size: 1.8rem; font-weight: 700; text-align: center; line-height: 1; box-sizing: border-box; padding: 0; background: var(--sev-info); }
.grade-badge-a { background: #2f855a; }
.grade-badge-b { background: #3b82a0; }
.grade-badge-c { background: var(--sev-low); }
.grade-badge-d { background: var(--sev-medium); }
.grade-badge-e { background: var(--sev-high); }
.grade-badge-f { background: var(--sev-critical); }
.grade-scale { list-style: none; margin: 12px 0 4px; padding: 0; font-size: .92rem; }
.grade-scale li { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; padding: 4px 8px; margin: 0; border-left: 4px solid transparent; border-radius: 4px; }
.grade-scale .scale-chip { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 5px; color: #fff; font-size: .8rem; font-weight: 700; line-height: 1; }
.grade-scale .scale-text { flex: 1 1 12em; min-width: 0; overflow-wrap: anywhere; }
.grade-scale .scale-mark { flex: none; font-size: .85rem; }
.grade-scale .scale-current { font-weight: 700; background: #f3f5f8; }
.grade-scale .scale-current:has(.grade-badge-a) { border-left-color: #2f855a; }
.grade-scale .scale-current:has(.grade-badge-b) { border-left-color: #3b82a0; }
.grade-scale .scale-current:has(.grade-badge-c) { border-left-color: var(--sev-low); }
.grade-scale .scale-current:has(.grade-badge-d) { border-left-color: var(--sev-medium); }
.grade-scale .scale-current:has(.grade-badge-e) { border-left-color: var(--sev-high); }
.grade-scale .scale-current:has(.grade-badge-f) { border-left-color: var(--sev-critical); }
.grade-scale .scale-observed { border-left: 4px dashed #9aa5b1; }
.grade-scale .scale-observed .scale-mark { color: #5a6573; }

.status { font-weight: 600; }
.status-verified, .status-succeeded, .status-active, .status-paid { color: var(--ok); }
.status-pending, .status-queued, .status-running, .status-checking { color: var(--sev-medium); }
.status-failed, .status-expired, .status-timed_out, .status-cancelled, .status-canceled, .status-revoked { color: var(--sev-high); }
.page-head .status { padding: 2px 12px; border-radius: 999px; background: var(--surface-2); }

progress { width: 100%; height: 14px; accent-color: var(--brand); }

/* Report: plain result first, raw technical facts folded below each item. */
.finding { display: grid; gap: 4px; border: 1px solid var(--line); border-left: 4px solid var(--sev-info); border-radius: var(--radius); background: var(--surface); padding: 20px; }
.finding:has(> .finding-head .sev-critical) { border-left-color: var(--sev-critical); }
.finding:has(> .finding-head .sev-high) { border-left-color: var(--sev-high); }
.finding:has(> .finding-head .sev-medium) { border-left-color: var(--sev-medium); }
.finding:has(> .finding-head .sev-low) { border-left-color: var(--sev-low); }
.finding > p { margin: 0 0 4px; }
.finding-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.finding-head h3 { margin: 0; font-size: 1.05rem; }
.finding .label { font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); margin: 10px 0 4px; text-transform: none; }
.ai-block { border-left: 4px solid #6b4fa0; background: #f5f2fa; padding: 12px 16px; border-radius: 8px; margin-top: 12px; }
.facts { font-family: var(--mono); font-size: 0.85rem; background: #f3f5f8; border-radius: 8px; padding: 10px 12px; overflow-x: auto; }
dl.facts { display: grid; grid-template-columns: minmax(7em, max-content) minmax(0, 1fr); gap: 4px 16px; margin: 0; }
.facts dt { font-weight: 700; color: var(--ink-soft); }
.facts dd { margin: 0; word-break: break-all; }
pre.facts { white-space: pre-wrap; margin: 12px 0 0; }
.summary-counts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 4px; }
.count-box { border: 1px solid var(--line); border-radius: 10px; padding: 12px; text-align: center; background: var(--surface); }
.count-box strong { display: block; font-size: 1.5rem; }
#assessment > strong, #assessment .grade-row > strong { display: block; font-size: 1.3rem; }
#verdict > strong { display: block; font-size: 1.08rem; }
.instructions { background: #f3f5f8; border-radius: 10px; padding: 16px; margin: 0 0 12px; }
.instructions dt { font-weight: 700; margin-top: 8px; }
.instructions dt:first-child { margin-top: 0; }
.instructions dd { margin: 0; font-family: var(--mono); word-break: break-all; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.instructions dd > span { min-width: 0; }
.copy-row { display: flex; gap: 8px; align-items: center; }
.empty { text-align: center; color: var(--ink-soft); padding: 32px 16px; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 10px; z-index: 50; max-width: calc(100% - 32px); }
.test-banner { background: #fdf6e9; border-bottom: 1px solid #ecd9a8; text-align: center; font-size: 0.88rem; padding: 6px 12px; }

/* Legal and reference pages: body text untouched, layout tuned for reading. */
.container.legal { margin-top: 0; padding: 32px 40px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); line-height: 1.95; }
.legal h1 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
.legal h2 { font-size: 1.15rem; margin: 2em 0 0.6em; padding-top: 1.3em; border-top: 1px solid var(--line); }
.legal ol, .legal ul { padding-left: 1.4em; }
.legal li + li { margin-top: 0.4em; }
.legal code { padding: 1px 6px; border-radius: 6px; background: var(--surface-2); }
.legal table { display: block; overflow-x: auto; }

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .summary-counts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  section { padding: 52px 0; }
  .hero { padding: 56px 0 48px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--surface); flex-direction: column; align-items: stretch; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 8px 0; }
  .btn-lg { width: 100%; }
  .card { padding: 18px; }
  th, td { padding: 8px; }
  .app-main { padding-top: 24px; }
  .do-dont { grid-template-columns: 1fr; }
  dl.facts { grid-template-columns: 1fr; }
  .facts dd { margin-bottom: 6px; }
  .flow-steps li { font-size: 0.74rem; }
  .flow-steps li::before { width: 28px; height: 28px; }
  .flow-steps li + li::after { top: 13px; right: calc(50% + 14px); width: calc(100% - 24px); }
  .container.legal { padding: 22px 16px; border-radius: 0; border-left: 0; border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Report and operator views share the existing accessible palette. */
.report-actions, .section-nav { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.report-actions { padding: 16px; border: 1px dashed var(--line); border-radius: var(--radius); }
.section-nav { padding:10px 0; border-bottom:1px solid var(--line); gap:8px; }
.section-nav a { padding:6px 12px; border:1px solid var(--line); border-radius:999px; background:var(--surface); text-decoration:none; font-size:0.9rem; }
.legal dl { display:grid; grid-template-columns:minmax(100px, 1fr) 3fr; gap:14px 24px; }
.legal dt { font-weight:600; }
.legal dd { margin:0; overflow-wrap:anywhere; }
.hero .eyebrow { font-size:.85rem; letter-spacing:.08em; font-weight:700; color:var(--brand); margin-bottom:8px; }
.service-status { border-left:4px solid var(--brand); margin-top:24px; text-align:left; }
/* Keep section headings clear of the sticky header, including before they become :target. */
:target, .app-main h2[id] { scroll-margin-top:100px; }
/* The users table scrolls inside its existing .table-wrap on small screens. */
#users th:first-child, #users td:first-child { min-width:12em; overflow-wrap:anywhere; }
@media (max-width:600px) { .legal dl { grid-template-columns:1fr; gap:6px; } .legal dd { margin-bottom:16px; } .report-actions .btn { width:100%; } }
/* download page (download-20261019) */
.dl-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.dl-files li { display: grid; gap: 4px; justify-items: start; }
.dl-meta { overflow-wrap: anywhere; }
.dl-sha { overflow-wrap: anywhere; word-break: break-all; color: var(--muted, #5b6472); }
.dl-os.is-recommended { border-color: var(--primary, #1f6feb); box-shadow: 0 0 0 2px rgba(31, 111, 235, .15); }
.dl-badge { margin-left: 6px; font-size: .75rem; vertical-align: middle; }
