/* Kyberkit – design systém v3 (R-0013). Tokeny a komponenty popisuje site/DESIGN.md §3. */
/* Písmo Inter (variabilní, OFL-1.1, z npm @fontsource-variable/inter), jen z vlastní domény. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --c-bg: #f6f8f7;
  --c-surface: #ffffff;
  --c-surface-2: #eef3f1;
  --c-text: #142019;
  --c-muted: #4b5a55;
  --c-border: #d6dfdc;
  --c-primary: #0d6b58;
  --c-primary-hover: #0a5546;
  --c-primary-text: #ffffff;
  --c-accent: #0d6b58;
  --c-accent-2: #b45309;
  --c-accent-2-soft: #fdf0dc;
  --c-link: #0b5f8f;
  --c-focus: #c25e00;
  --c-tip: #e6f4ee;
  --c-info: #e8f0fa;
  --c-warn: #fff3dc;
  --c-danger: #fde8e6;
  --c-code: #eef2f1;
  --shadow: 0 1px 2px rgb(16 32 28 / 6%), 0 4px 16px rgb(16 32 28 / 6%);
  --radius: 12px;
  --radius-s: 8px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --w: 72rem;
  --w-text: 44rem;
  color-scheme: light dark;
}
/* Tmavý režim: podle systému, pokud si návštěvník ručně nevybral světlý (tema.js → data-tema). */
@media (prefers-color-scheme: dark) {
  :root:not([data-tema="light"]) {
    --c-bg: #111c19;
    --c-surface: #182622;
    --c-surface-2: #1e2e2a;
    --c-text: #e8f0ed;
    --c-muted: #a9bab4;
    --c-border: #2c3f3a;
    --c-primary: #3fb59a;
    --c-primary-hover: #5cc8ae;
    --c-primary-text: #04110d;
    --c-accent: #5cc8ae;
    --c-accent-2: #f5a524;
    --c-accent-2-soft: #3a2c12;
    --c-link: #7cc4ef;
    --c-focus: #ffb15c;
    --c-tip: #163731;
    --c-info: #182c42;
    --c-warn: #3d2f14;
    --c-danger: #42201d;
    --c-code: #1f302b;
    --shadow: 0 1px 2px rgb(0 0 0 / 28%), 0 4px 16px rgb(0 0 0 / 22%);
    color-scheme: dark;
  }
}
:root[data-tema="dark"] {
  --c-bg: #111c19;
  --c-surface: #182622;
  --c-surface-2: #1e2e2a;
  --c-text: #e8f0ed;
  --c-muted: #a9bab4;
  --c-border: #2c3f3a;
  --c-primary: #3fb59a;
  --c-primary-hover: #5cc8ae;
  --c-primary-text: #04110d;
  --c-accent: #5cc8ae;
  --c-accent-2: #f5a524;
  --c-accent-2-soft: #3a2c12;
  --c-link: #7cc4ef;
  --c-focus: #ffb15c;
  --c-tip: #163731;
  --c-info: #182c42;
  --c-warn: #3d2f14;
  --c-danger: #42201d;
  --c-code: #1f302b;
  --shadow: 0 1px 2px rgb(0 0 0 / 28%), 0 4px 16px rgb(0 0 0 / 22%);
  color-scheme: dark;
}
:root[data-tema="light"] { color-scheme: light; }

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font: 1.0625rem/1.65 var(--font); text-rendering: optimizeLegibility; }
img, picture, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.25; margin: 1.6em 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.6rem); margin-top: 0.4em; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.3rem, 1.15rem + 0.7vw, 1.6rem); }
h3 { font-size: 1.15rem; }
p, ul, ol { margin: 0 0 1em; }
code, pre { font-family: var(--font-mono); font-size: 0.92em; }
code { background: var(--c-code); padding: 0.1em 0.35em; border-radius: 5px; overflow-wrap: anywhere; }
pre.code { background: var(--c-code); padding: 1rem; border-radius: var(--radius-s); overflow-x: auto; border: 1px solid var(--c-border); }
pre.code code { background: none; padding: 0; }
hr { border: 0; border-top: 1px solid var(--c-border); margin: 2rem 0; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 1rem; }
.small { font-size: 0.9rem; color: var(--c-muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0.5rem; background: var(--c-surface); padding: 0.5rem 1rem; z-index: 10; }
.skip-link:focus { left: 0.5rem; }
.hp { position: absolute; left: -9999px; }

/* ---------- Hlavička a patička ---------- */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--c-bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--c-border); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 3.75rem; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 0.55rem; font-weight: 750; font-size: 1.15rem; color: var(--c-text); text-decoration: none; }
.logo-mark { width: 2rem; height: 2rem; flex: none; }
.lm-bg { fill: var(--c-primary); }
.lm-shield { fill: none; stroke: var(--c-primary-text); stroke-width: 2.2; stroke-linejoin: round; }
.lm-key { fill: var(--c-accent-2); }
.logo-accent { color: var(--c-accent-2); }
.theme-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--c-border); border-radius: var(--radius-s); background: var(--c-surface); color: var(--c-text); cursor: pointer; }
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { border-color: var(--c-accent-2); color: var(--c-accent-2); }
.theme-toggle .ico-sun { display: none; }
.theme-toggle[aria-pressed="true"] .ico-sun { display: block; }
.theme-toggle[aria-pressed="true"] .ico-moon { display: none; }
.site-nav { margin-left: auto; }
/* Přepínač jazyka (FRAMEWORK §9, DESIGN.md §4) – odkaz na protějšek, bez automatického přesměrování. */
.lang-switch { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.65rem; border: 1px solid var(--c-border); border-radius: var(--radius-s); background: var(--c-surface); color: var(--c-text); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.lang-switch:hover { border-color: var(--c-accent-2); color: var(--c-accent-2); }
.site-nav ul { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a, .search-link { display: flex; align-items: center; gap: 0.35rem; min-height: 44px; padding: 0 0.7rem; border-radius: var(--radius-s); color: var(--c-text); text-decoration: none; font-weight: 550; }
.site-nav a:hover, .search-link:hover { background: var(--c-surface-2); }
.site-nav a[aria-current] { color: var(--c-accent); box-shadow: inset 0 -3px 0 var(--c-accent-2); border-radius: 0; }
@media (max-width: 40rem) {
  .header-inner { gap: 0; padding-bottom: 0.25rem; }
  .site-nav { order: 3; width: 100%; margin: 0; overflow-x: auto; }
  .site-nav ul { flex-wrap: nowrap; }
  .logo { margin-right: auto; }
  .header-inner > .lang-switch { margin-right: 0.35rem; }
  .search-link-text { display: none; }
}
.site-footer { margin-top: 4rem; border-top: 1px solid var(--c-border); background: var(--c-surface); padding: 2rem 0 2.5rem; }
.footer-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li a { display: inline-block; padding: 0.3rem 0; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 750; margin: 0 0 0.5rem; }
.footer-h { font-weight: 700; margin: 0 0 0.3rem; }

/* ---------- Stránka ---------- */
.page { max-width: var(--w-text); }
.page-home, .page-hub, .page-category, .page-tag, .page-search { max-width: none; }
.page-tool { max-width: 52rem; }
.page-head { margin-bottom: 1.5rem; }
.lead { font-size: 1.2rem; color: var(--c-muted); max-width: var(--w-text); }
.kicker { margin: 0; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-accent-2); }
.kicker a { color: inherit; text-decoration: none; }
.meta, .updated { color: var(--c-muted); font-size: 0.92rem; }
.updated { margin-top: 2rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.3rem; list-style: none; padding: 0; margin: 1.25rem 0 0; font-size: 0.9rem; color: var(--c-muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 0.3rem; }
.breadcrumbs a { color: var(--c-muted); }
.prose { max-width: var(--w-text); }
.prose li { margin-bottom: 0.35em; }
.prose blockquote { margin: 1.5rem 0; padding: 0.25rem 1rem; border-left: 4px solid var(--c-border); color: var(--c-muted); }
.figure { margin: 1.5rem 0; }
.figure img, .article-hero img { border-radius: var(--radius); }
.figure figcaption { font-size: 0.9rem; color: var(--c-muted); margin-top: 0.4rem; }
.article-hero { margin: 0 0 1.5rem; }
/* Ilustrace ze SVG šablony (R-0013): pás 5 : 1, místo rezervované přes aspect-ratio (bez posunu rozvržení). */
.article-ilustrace img, .card-ilustrace img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 1; }
.article-ilustrace img { border-radius: var(--radius); }
.card-ilustrace { line-height: 0; }
.table-wrap { overflow-x: auto; margin: 1.25rem 0; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--c-border); vertical-align: top; }
th { background: var(--c-surface-2); }

/* ---------- Komponenty ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 44px; padding: 0.55rem 1.15rem; border: 1px solid var(--c-primary); border-radius: var(--radius-s); background: var(--c-primary); color: var(--c-primary-text); font: inherit; font-weight: 650; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--c-primary-hover); border-color: var(--c-primary-hover); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn-secondary { background: transparent; color: var(--c-text); border-color: var(--c-border); }
.btn-secondary:hover { background: var(--c-surface-2); border-color: var(--c-muted); }
.btn-secondary[aria-pressed="true"] { border-color: var(--c-primary); color: var(--c-accent); }
.btn-small { min-height: 36px; padding: 0.3rem 0.8rem; font-size: 0.92rem; }
.note { border-radius: var(--radius-s); padding: 0.8rem 1rem; margin: 1.25rem 0; background: var(--c-info); border-left: 4px solid var(--c-link); }
.note > :last-child { margin-bottom: 0; }
.note-title { font-weight: 700; margin-bottom: 0.3rem; }
.note-privacy, .note-tip { background: var(--c-tip); border-left-color: var(--c-primary); }
.note-warn { background: var(--c-warn); border-left-color: #c58a00; }
.note-danger { background: var(--c-danger); border-left-color: #c0392b; }
.note-info { background: var(--c-info); }
.badge { display: inline-block; padding: 0.05rem 0.5rem; border-radius: 999px; background: var(--c-surface-2); border: 1px solid var(--c-border); font-size: 0.8rem; font-weight: 650; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0.5rem 0 0; }
.tag { display: inline-block; padding: 0.15rem 0.65rem; border-radius: 999px; background: var(--c-surface-2); color: var(--c-text); font-size: 0.85rem; text-decoration: none; border: 1px solid var(--c-border); }
.tag:hover { border-color: var(--c-accent); }
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); list-style: none; padding: 0; margin: 1rem 0 0; }
.card { position: relative; display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); transition: border-color 0.15s, transform 0.15s; }
.card:hover { border-color: var(--c-accent); transform: translateY(-2px); }
.card-media { margin: -1.1rem -1.2rem 0.9rem; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.card-kind { margin: 0 0 0.2rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--c-accent); }
.card-title { margin: 0 0 0.4rem; font-size: 1.12rem; }
.card-title a { color: var(--c-text); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card-text { margin: 0; color: var(--c-muted); font-size: 0.97rem; }
.card-meta { margin: auto 0 0; padding-top: 0.7rem; font-size: 0.85rem; color: var(--c-muted); }
.empty { color: var(--c-muted); padding: 1.5rem; border: 1px dashed var(--c-border); border-radius: var(--radius); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.section-head h2 { margin-bottom: 0; }
.home-section { margin-top: 2.5rem; }
/* Úvod: nejnovější článek zvýrazněný (R-0016) */
@media (min-width: 46rem) {
  .cards-home > .card:first-child { grid-column: span 2; padding: 1.4rem 1.6rem; border-top: 4px solid var(--c-accent-2); }
  .cards-home > .card:first-child .card-title { font-size: 1.45rem; }
  .cards-home > .card:first-child .card-text { font-size: 1.05rem; }
}

/* ---------- Úvod a hledání ---------- */
.hero { padding: 1.75rem 0 0.5rem; max-width: 48rem; }
.hero h1 { margin-top: 0.3rem; }
.search-form { display: flex; gap: 0.5rem; margin: 1.25rem 0 0; max-width: 36rem; }
.search-form input { flex: 1; min-width: 0; }
.search-cta { display: flex; align-items: center; gap: 0.6rem; max-width: 36rem; min-height: 48px; padding: 0.6rem 0.9rem; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-s); color: var(--c-muted); text-decoration: none; box-shadow: var(--shadow); }
.search-cta:hover { border-color: var(--c-accent); color: var(--c-text); }
.search-cta-wrap { margin: 1.25rem 0 0; }
.search-big input { font-size: 1.1rem; }
.trust { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; padding: 0; margin: 1.25rem 0 0; color: var(--c-muted); font-size: 0.92rem; }
.trust li::before { content: "✓"; color: var(--c-accent); font-weight: 800; margin-right: 0.35rem; }
.search-results { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.search-result { position: relative; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 0.9rem 1.1rem; }

/* ---------- Formuláře ---------- */
label { display: block; font-weight: 600; margin: 0.9rem 0 0.3rem; }
label.check { display: flex; gap: 0.5rem; align-items: center; font-weight: 500; }
input, textarea, select { font: inherit; color: var(--c-text); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-s); padding: 0.6rem 0.75rem; min-height: 44px; width: 100%; }
input[type="checkbox"], input[type="radio"] { width: 1.15rem; height: 1.15rem; min-height: 0; accent-color: var(--c-primary); }
textarea { font-family: var(--font-mono); font-size: 0.95rem; resize: vertical; }
.feedback-form textarea { font-family: var(--font); }
input:focus, textarea:focus, select:focus { border-color: var(--c-primary); }

/* ---------- Nástroj ---------- */
.tool { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 1.1rem 1.25rem 1.4rem; box-shadow: var(--shadow); }
.tool label:first-child { margin-top: 0; }
.tool-options { margin: 0.5rem 0; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.tool-status { min-height: 1.5em; margin: 0.75rem 0 0; color: var(--c-muted); }
.tool-result:empty { display: none; }
.tool-result { margin-top: 1rem; }
.result-group { border-top: 1px solid var(--c-border); padding-top: 0.8rem; margin-top: 0.8rem; }
.result-group h3 { margin: 0 0 0.4rem; display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; font-size: 1rem; }
.result-list { list-style: none; padding: 0; margin: 0; font-family: var(--font-mono); font-size: 0.92rem; overflow-wrap: anywhere; }
.result-list li { padding: 0.15rem 0; }
.steps li { margin-bottom: 0.4rem; }
.faq details { border: 1px solid var(--c-border); border-radius: var(--radius-s); padding: 0.2rem 1rem; margin-bottom: 0.5rem; background: var(--c-surface); }
.faq summary { cursor: pointer; font-weight: 600; padding: 0.6rem 0; min-height: 44px; }
.faq details p { margin-top: 0; }
.helpful { margin: 2rem 0 0; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--c-surface-2); }
.helpful-title { font-size: 1.05rem; margin: 0 0 0.6rem; }
.helpful-actions { display: flex; gap: 0.5rem; }
.helpful .small { margin: 0.5rem 0 0; }

/* ---------- Článek ---------- */
.summary { background: var(--c-surface); border: 1px solid var(--c-border); border-left: 4px solid var(--c-accent-2); border-radius: var(--radius-s); padding: 0.4rem 1.2rem 0.6rem; margin: 1.5rem 0; }
.summary h2 { font-size: 1.1rem; margin-top: 0.8rem; }
.cve-list { font-size: 0.92rem; }
.toc { border: 1px solid var(--c-border); border-radius: var(--radius-s); padding: 0.8rem 1.2rem; margin: 1.5rem 0; }
.toc-title { font-weight: 700; margin: 0 0 0.3rem; }
.toc ol { margin: 0; }
.sources { margin-top: 2.5rem; font-size: 0.95rem; }
.sources a { overflow-wrap: anywhere; }
.related { margin-top: 2.5rem; }
.report-error { margin-top: 1rem; }
.feedback-form { max-width: 36rem; }
.feedback-form .btn { margin-top: 1rem; }
.feedback-status { min-height: 1.4em; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print { .site-header, .site-footer, .helpful, .breadcrumbs, .search-form { display: none; } }

/* ---------- Kontrola odkazu ---------- */
.link-domain { font-family: var(--font-mono); font-size: 1.3rem; font-weight: 700; overflow-wrap: anywhere; margin: 0 0 0.6rem; }
.link-parts { display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 1rem; margin: 0; font-size: 0.95rem; }
.link-parts dt { color: var(--c-muted); }
.link-parts dd { margin: 0; font-family: var(--font-mono); overflow-wrap: anywhere; min-width: 0; }
.findings { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.finding { padding: 0.6rem 0.9rem; border-radius: var(--radius-s); border-left: 4px solid var(--c-border); background: var(--c-surface-2); }
.finding-danger { border-left-color: #c0392b; background: var(--c-danger); }
.finding-warn { border-left-color: #c58a00; background: var(--c-warn); }
@media (max-width: 30rem) { .link-parts { grid-template-columns: 1fr; } .link-parts dd { margin-bottom: 0.4rem; } }
.tool fieldset { border: 0; padding: 0; margin: 0 0 0.5rem; }
.tool legend { font-weight: 650; margin-bottom: 0.3rem; padding: 0; }
.tool .check + .check { margin-top: 0.35rem; }
.password-output { display: block; font-family: var(--font-mono); font-size: 1.25rem; line-height: 1.5; padding: 0.8rem 1rem; background: var(--c-code); border: 1px solid var(--c-border); border-radius: var(--radius-s); overflow-wrap: anywhere; user-select: all; }
.result-group details { margin-top: 0.8rem; }
.result-group summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }

/* ---------- Reklama a souhlas (RFC-0007, DESIGN.md §13) ---------- */
/* Plocha je skrytá, dokud návštěvník nesouhlasí; po souhlasu má rezervovanou výšku (CLS). */
.ad-slot { display: none; margin: 2rem 0; padding: 0.5rem 0.75rem 0.75rem; border: 1px dashed var(--c-border); border-radius: var(--radius-s); background: var(--c-surface-2); }
html[data-kk-souhlas="ano"] .ad-slot { display: block; }
.ad-label { margin: 0 0 0.4rem; font-size: 0.78rem; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; color: var(--c-muted); }
.ad-box { min-height: 280px; }
.ad-box .adsbygoogle { display: block; min-height: 250px; }
@media (min-width: 46rem) { .ad-box { min-height: 250px; } }
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; max-height: 85vh; overflow-y: auto; background: var(--c-surface); border-top: 2px solid var(--c-accent-2); box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.18); }
.consent[hidden] { display: none; }
.consent-inner { padding-top: 1rem; padding-bottom: 1rem; }
.consent-h { margin: 0 0 0.4rem; font-size: 1.1rem; }
.consent-text { margin: 0 0 0.8rem; max-width: 70ch; }
.consent-detail { margin: 0 0 0.8rem; padding: 0.8rem 1rem; background: var(--c-surface-2); border-radius: var(--radius-s); }
.consent-detail .check { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0 0 0.6rem; }
.consent-detail input { margin-top: 0.3rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.consent-actions .btn { flex: 1 1 9rem; max-width: 14rem; }
@media print { .consent, .ad-slot { display: none !important; } }
