/* InnoComply – Gestaltung „Prüfsiegel“
   Ruhige Flächen, klare Typografie; der InnoOS-Verlauf erscheint nur auf dem Ergebnis (Ring, Siegel, Marke). */

@font-face { font-family: 'Bricolage Grotesque'; src: url('/fonts/bricolage-grotesque.woff2') format('woff2-variations'), url('/fonts/bricolage-grotesque.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Public Sans'; src: url('/fonts/public-sans.woff2') format('woff2-variations'), url('/fonts/public-sans.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Public Sans'; src: url('/fonts/public-sans-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  color-scheme: light;
  --ground: #F3F5F9; --surface: #FFFFFF; --surface-2: #F8F9FC;
  --ink: #1A2133; --soft: #3A4357; --muted: #5A6377; --line: #DCE1EA; --line-soft: #E8ECF2;
  --action: #2E46D8; --action-hover: #2338B8; --action-soft: #E9EDFF; --action-ink: #23339E;
  --night: #161A36; --night-2: #20264A; --night-line: #343B66; --on-night: #C5CAE0; --on-night-accent: #AEBBFF;
  --crit: #B3431B; --crit-soft: #FDECE3; --warn: #7A4A00; --warn-soft: #FFF1D4; --good: #1E7A4E;
  --seal: linear-gradient(135deg, #12B5A0 0%, #3D7BEF 55%, #7D4DF0 100%);
  --font: 'Public Sans', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --mono: ui-monospace, 'Cascadia Code', Menlo, Consolas, monospace;
  --r-panel: 24px; --r-item: 14px; --r-control: 12px;
  /* Namen aus älteren Bildschirmen */
  --card: var(--surface); --blue: var(--action); --blue-dark: var(--action-hover); --blue-soft: var(--action-soft);
  --navy: var(--night); --navy-2: var(--night-2); --navy-line: var(--night-line); --on-navy-muted: var(--on-night); --accent-on-navy: var(--on-night-accent);
  --gray-soft: var(--line-soft);
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ground: #0F1324; --surface: #161C30; --surface-2: #1B2238;
    --ink: #E8EBF4; --soft: #C9CEDD; --muted: #9AA3B9; --line: #2B3352; --line-soft: #232A45;
    --action: #4F66F0; --action-hover: #6278F5; --action-soft: #232C57; --action-ink: #BAC6FF;
    --night: #0B0F1E; --night-2: #151A30; --night-line: #2B3352; --on-night: #A9B0C7; --on-night-accent: #B9C5FF;
    --crit: #FF9B76; --crit-soft: #3B1F15; --warn: #F5C66B; --warn-soft: #362A0F; --good: #5AD39A;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--action); text-underline-offset: 3px; } a:hover { color: var(--action-hover); }
:focus-visible { outline: 3px solid var(--action); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-optical-sizing: auto; margin: 0; color: inherit; }
h1 { font-size: clamp(2.1rem, 1.35rem + 2.6vw, 3.2rem); line-height: 1.04; font-weight: 720; letter-spacing: -0.028em; text-wrap: balance; }
h2 { font-size: 1.45rem; line-height: 1.2; font-weight: 660; letter-spacing: -0.015em; }
h3 { font-size: 1.12rem; line-height: 1.3; font-weight: 640; }
p { margin: 0; max-width: 72ch; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Kopfzeile ---------- */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px max(24px, calc((100% - 1120px) / 2 + 32px)); background: color-mix(in srgb, var(--surface) 84%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line-soft); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--seal); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.18); }
.brand small { font-family: var(--font); font-weight: 500; color: var(--muted); font-size: 14px; letter-spacing: 0; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; color: var(--soft); font-weight: 560; font-size: 15px; text-decoration: none; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--action); }

/* ---------- Seitenaufbau ---------- */
.page { max-width: 1120px; margin: 0 auto; padding: 44px 32px 112px; display: flex; flex-direction: column; gap: 32px; }
.narrow { max-width: 520px; }
.back { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px 0 8px; margin-left: -8px; border-radius: 10px; color: var(--soft); font-weight: 600; font-size: 15px; text-decoration: none; }
.back:hover { background: var(--surface); color: var(--ink); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); font-size: 15px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.split { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Flächen: groß und ruhig, ohne Schatten */
.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-panel); padding: 32px 36px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.card.dark { background: var(--night); border-color: var(--night); color: #F3F5FB; }
.card.dark .muted { color: var(--on-night); }
.card.dark a:not(.btn) { color: var(--on-night-accent); }
.card.danger, .danger { border-color: color-mix(in srgb, var(--crit) 45%, var(--line-soft)); }
a.card { text-decoration: none; color: inherit; transition: border-color .15s ease; }
a.card:hover { border-color: var(--line); }
a.card.dark:hover { border-color: var(--night-line); }

/* ---------- Bedienelemente ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--r-control); border: 1.5px solid transparent; background: var(--action); color: #fff; font: inherit; font-weight: 640; font-size: 15.5px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--action-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.secondary:hover { background: var(--surface-2); border-color: var(--muted); color: var(--ink); }
.card.dark .btn.secondary, .hero .btn.secondary, .paywall .btn.secondary { color: #F3F5FB; border-color: var(--night-line); }
.card.dark .btn.secondary:hover, .hero .btn.secondary:hover, .paywall .btn.secondary:hover { background: var(--night-2); color: #fff; }
.btn.light { background: #fff; color: #161A36; } .btn.light:hover { background: #E9EDFF; color: #161A36; }
.btn.danger { background: var(--crit); color: #fff; } .btn.danger:hover { background: color-mix(in srgb, var(--crit) 82%, #000); }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }
.linkbtn { background: none; border: none; padding: 0 2px; min-height: 40px; color: var(--action); font: inherit; font-weight: 620; cursor: pointer; text-underline-offset: 3px; }
.linkbtn:hover { text-decoration: underline; }
.linkbtn[disabled] { color: var(--muted); cursor: default; text-decoration: none; }

label { font-size: 14px; font-weight: 620; color: var(--soft); }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=date], input[type=datetime-local], input[type=file], select, select.select, textarea {
  min-height: 50px; padding: 0 15px; border: 1.5px solid var(--line); border-radius: var(--r-control); font: inherit; color: var(--ink); background: var(--surface); width: 100%; transition: border-color .12s ease, box-shadow .12s ease; }
input[type=file] { padding: 11px 15px; }
textarea, select.select { padding: 12px 15px; }
textarea { resize: vertical; line-height: 1.55; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--action); box-shadow: 0 0 0 4px var(--action-soft); }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }

.msg { padding: 13px 16px; border-radius: var(--r-control); font-size: 15px; border: 1px solid transparent; }
.msg.error { background: var(--crit-soft); color: var(--crit); border-color: color-mix(in srgb, var(--crit) 25%, transparent); }
.msg.ok { background: var(--action-soft); color: var(--action-ink); border-color: color-mix(in srgb, var(--action) 20%, transparent); }
.msg:empty { display: none; }

/* ---------- Kennzeichen ---------- */
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 680; white-space: nowrap; line-height: 1.4; }
.pill.kritisch { background: var(--crit-soft); color: var(--crit); }
.pill.hoch { background: var(--warn-soft); color: var(--warn); }
.pill.mittel { background: var(--action-soft); color: var(--action-ink); }
.pill.hinweis, .pill.neutral { background: var(--line-soft); color: var(--soft); }
.card.dark .pill.neutral { background: var(--night-2); color: var(--on-night); }
.tile { padding: 16px 18px; border-radius: 18px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; font-weight: 600; }
.tile strong { font-family: var(--display); font-size: 34px; line-height: 1; font-weight: 720; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tile.kritisch { background: var(--crit-soft); color: var(--crit); }
.tile.hoch { background: var(--warn-soft); color: var(--warn); }
.tile.mittel { background: var(--action-soft); color: var(--action-ink); }
.tile.hinweis { background: var(--line-soft); color: var(--soft); }

/* ---------- Das Siegel: Ergebnisring ---------- */
.score { position: relative; flex: none; display: grid; place-items: center; }
.score b { position: absolute; font-family: var(--display); font-size: 54px; font-weight: 760; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.score.small b { font-size: 21px; font-weight: 720; }
.ring-track { stroke: var(--line-soft); }
.ring-value { animation: ring-draw 1.1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes ring-draw { from { stroke-dashoffset: var(--ring-from); } to { stroke-dashoffset: var(--ring-to); } }
.bar { height: 10px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.bar > div { height: 100%; border-radius: 999px; background: var(--action); }
.bar > div.low { background: var(--crit); }
.bar.on-dark { background: var(--night-line); } .bar.on-dark > div { background: var(--seal); }
.catrow { display: grid; grid-template-columns: minmax(150px, 240px) 1fr 44px; gap: 18px; align-items: center; padding: 6px 0; }
.catrow strong { font-variant-numeric: tabular-nums; }

/* ---------- Listen: Zeilen statt Kästchen ---------- */
.list { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.item { display: flex; align-items: center; gap: 16px; padding: 16px 14px; margin: 0 -14px; border-radius: var(--r-item); flex-wrap: wrap; }
.item + .item { box-shadow: 0 -1px 0 var(--line-soft); }
.item:hover { background: var(--surface-2); }
.item .grow { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.item .title { font-weight: 640; overflow-wrap: anywhere; }
.modrow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 6px 0; border-radius: 0; background: none; }
.modrow + .modrow { border-top: 1px dashed var(--line-soft); }
.modlabel { font-weight: 640; font-size: 14px; min-width: 130px; color: var(--soft); }

/* Aufklappbare Funde */
details.issue { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 16px; padding: 0 20px; }
details.issue + details.issue { margin-top: 10px; }
details.issue[open] { border-color: var(--line); }
details.issue summary { display: flex; gap: 14px; align-items: center; min-height: 64px; padding: 10px 28px 10px 0; cursor: pointer; list-style: none; flex-wrap: wrap; position: relative; }
details.issue summary::-webkit-details-marker { display: none; }
details.issue summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
details.issue[open] summary::after { transform: translateY(-30%) rotate(225deg); }
details.issue .body { padding: 2px 0 20px; display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; border-top: 1px solid var(--line-soft); padding-top: 16px; }
code { font-family: var(--mono); font-size: 13px; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 6px; padding: 2px 6px; overflow-wrap: anywhere; }
pre.example { margin: 0; padding: 16px 18px; border-radius: var(--r-control); background: #12162B; color: #E3E7F3; font-family: var(--mono); font-size: 13.5px; line-height: 1.65; overflow-x: auto; white-space: pre; border: 1px solid #262C4A; }
.fixbox { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border-radius: var(--r-item); background: var(--surface-2); border-left: 3px solid var(--action); }
.mikabox { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-radius: var(--r-item); background: var(--action-soft); color: var(--ink); }
pre.draft { margin: 0; padding: 18px 20px; border-radius: var(--r-control); background: var(--surface); border: 1px solid var(--line-soft); font-family: var(--font); font-size: 15px; line-height: 1.7; white-space: pre-wrap; max-height: 460px; overflow: auto; }

/* ---------- Bezahlschranke ---------- */
.locked { position: relative; overflow: hidden; }
.paywall { position: relative; overflow: hidden; background: var(--night); color: #F3F5FB; border-radius: var(--r-panel); padding: 34px 36px; display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.paywall ul { margin: 0; padding-left: 20px; color: var(--on-night); display: flex; flex-direction: column; gap: 6px; }

/* ---------- Umschalter und Reiter ---------- */
.segmented, .tabs { display: inline-flex; flex-wrap: wrap; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-soft); gap: 2px; align-self: flex-start; }
.segmented button, .tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 10px; border: none; background: transparent; font: inherit; font-weight: 600; font-size: 15px; color: var(--soft); cursor: pointer; text-decoration: none; }
.segmented button:hover, .tabs a:hover { color: var(--ink); background: var(--surface-2); }
.segmented button[aria-pressed="true"], .tabs a[aria-current="page"] { background: var(--ink); color: var(--surface); }

/* ---------- Tarife ---------- */
.plan { display: flex; flex-direction: column; gap: 14px; }
.plan .price, .price { font-family: var(--display); font-size: 38px; font-weight: 740; letter-spacing: -0.025em; line-height: 1.1; }
.plan .price span, .price span { font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.card.dark .plan .price span, .card.dark .price span { color: var(--on-night); }

/* ---------- Startseite ---------- */
.hero { background: var(--night); color: #F3F5FB; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--night-line); }
.hero .page { padding-top: 76px; padding-bottom: 92px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 4vw, 4.4rem); max-width: 14ch; line-height: 0.98; letter-spacing: -0.035em; }
.hero .lead { color: var(--on-night); }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-seal { justify-self: center; display: grid; place-items: center; gap: 16px; padding: 28px; }
.hero-seal .score b { color: #fff; }
.hero-seal .ring-track { stroke: var(--night-line); }
.hero-seal .caption { color: var(--on-night); font-size: 14px; text-align: center; }
.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.modules > div { padding: 26px 26px 28px 0; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--line); }
.modules > div:not(:last-child) { border-right: 1px solid var(--line); }
.modules > div + div { padding-left: 26px; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(step); font-family: var(--display); font-size: 44px; font-weight: 760; line-height: 1; color: var(--action); }
.footer { padding: 40px 32px; text-align: center; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line-soft); }

/* ---------- Tabellen ---------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14.5px; }
table.data th { text-align: left; font-weight: 640; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.data td { padding: 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.data tbody tr:hover td { background: var(--surface-2); }

/* ---------- NIS2 ---------- */
.nis2-form { display: flex; flex-direction: column; gap: 20px; }
fieldset.checks { border: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
fieldset.checks legend { font-size: 14px; font-weight: 620; color: var(--soft); margin-bottom: 6px; }
.checkrow { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 11px 14px; border-radius: var(--r-control); border: 1px solid var(--line-soft); background: var(--surface); font-weight: 500; color: var(--ink); cursor: pointer; }
.checkrow:has(input:checked) { border-color: var(--action); background: var(--action-soft); }
.checkrow input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--action); flex: none; }
.n2-hero { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 32px; }
.n2-progress strong { font-family: var(--display); font-size: 56px; font-weight: 760; line-height: 1; letter-spacing: -0.03em; }
.n2-group { font-family: var(--display); font-size: 1rem; font-weight: 640; color: var(--muted); margin-top: 14px; }
ol.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; counter-reset: st; position: relative; }
ol.timeline li { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 14px 4px 14px 52px; position: relative; counter-increment: st; }
ol.timeline li + li { border-top: 1px solid var(--line-soft); }
ol.timeline li::before { content: counter(st); position: absolute; left: 6px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 720; font-size: 14px; background: var(--surface); border: 2px solid var(--line); color: var(--soft); }
ol.timeline li.done::before { content: "✓"; background: var(--action); border-color: var(--action); color: #fff; }
ol.timeline li.soon::before { border-color: var(--crit); color: var(--crit); }
ol.timeline li.overdue { background: var(--crit-soft); border-radius: var(--r-item); }
ol.timeline li.overdue::before { background: var(--crit); border-color: var(--crit); color: #fff; }
ol.timeline .grow { flex: 1 1 220px; display: flex; flex-direction: column; gap: 2px; } ol.timeline .title { font-weight: 640; }
.nis2-card, .partner-card { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; text-decoration: none; }
.nis2-card { color: #F3F5FB; } .nis2-card:hover { color: #fff; }

/* ---------- Partner ---------- */
.logo-preview { width: 168px; height: 76px; border-radius: var(--r-control); border: 1.5px dashed var(--line); display: grid; place-items: center; background: #fff; overflow: hidden; }
.logo-preview img { max-width: 148px; max-height: 58px; }

/* ---------- Website-Sicherheit: Note als Siegel ---------- */
.ws-hero { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 32px; }
.ws-grade { position: relative; width: 136px; height: 136px; flex: none; border-radius: 34px; display: grid; place-items: center; font-family: var(--display); font-size: 78px; font-weight: 780; line-height: 1; color: #fff; background: var(--action); letter-spacing: -0.04em; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16); }
.ws-grade.small { width: 52px; height: 52px; border-radius: 15px; font-size: 28px; }
.ws-A { background: #1E7A4E; } .ws-B { background: #2E46D8; } .ws-C { background: #3A3FA8; }
.ws-D { background: #A35A06; } .ws-E { background: #A03A17; } .ws-F { background: #7A2A12; }

/* ---------- Zwei-Faktor ---------- */
.tf-setup { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.tf-qr { border-radius: 16px; border: 1px solid var(--line); background: #fff; padding: 8px; }
pre.recovery { margin: 0; padding: 18px 22px; border-radius: var(--r-item); background: var(--surface-2); border: 1px solid var(--line-soft); font-family: var(--mono); font-size: 17px; line-height: 1.9; columns: 2; max-width: 420px; }

/* ---------- Kleine Bildschirme, Bewegung, Druck ---------- */
@media (max-width: 760px) {
  .hero .page { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; gap: 32px; }
  .hero-seal { justify-self: start; padding: 0; }
  .modules > div, .modules > div + div { padding: 22px 0; border-right: none !important; }
}
@media (max-width: 640px) {
  .topbar { padding: 10px 16px; }
  .page { padding: 28px 18px 80px; gap: 24px; }
  .card { padding: 24px 20px; border-radius: 20px; }
  .paywall { padding: 26px 22px; }
  .catrow { grid-template-columns: 1fr 44px; } .catrow .bar { grid-column: 1 / -1; grid-row: 2; }
  .item { margin: 0 -8px; padding: 14px 8px; }
  .ws-grade { width: 104px; height: 104px; font-size: 60px; border-radius: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .topbar, .back, .btn, .linkbtn, .paywall { display: none !important; }
  body { background: #fff; } .card { border-color: #ccc; }
}
