/* War Pulse article kit, v1 (E07-S03, D-OPS-20). Served by the web app at
   /kit/v1/article.css; static article pages (apps are not involved) link it.
   A breaking change goes to /kit/v2/, so published articles keep working.

   RULES
   - The colour/type tokens below are copies of app/styles.css; the test
     apps/web/lib/kit.test.ts fails when a value drifts. Dark rules exist
     twice (system dark + [data-theme="dark"]), like in styles.css.
   - No external requests: fonts are our own copies (fonts/, copied from
     @fontsource by scripts/copy-kit-fonts.ts at build time). */

@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 400;
  src: url(fonts/ibm-plex-sans-cyrillic-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 400;
  src: url(fonts/ibm-plex-sans-cyrillic-400-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 400;
  src: url(fonts/ibm-plex-sans-latin-ext-400-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: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 400;
  src: url(fonts/ibm-plex-sans-latin-400-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; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 500;
  src: url(fonts/ibm-plex-sans-cyrillic-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 500;
  src: url(fonts/ibm-plex-sans-cyrillic-500-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 500;
  src: url(fonts/ibm-plex-sans-latin-ext-500-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: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 500;
  src: url(fonts/ibm-plex-sans-latin-500-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; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 600;
  src: url(fonts/ibm-plex-sans-cyrillic-ext-600-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 600;
  src: url(fonts/ibm-plex-sans-cyrillic-600-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 600;
  src: url(fonts/ibm-plex-sans-latin-ext-600-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: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 600;
  src: url(fonts/ibm-plex-sans-latin-600-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; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 700;
  src: url(fonts/ibm-plex-sans-cyrillic-ext-700-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 700;
  src: url(fonts/ibm-plex-sans-cyrillic-700-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 700;
  src: url(fonts/ibm-plex-sans-latin-ext-700-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: 'IBM Plex Sans'; font-style: normal; font-display: swap; font-weight: 700;
  src: url(fonts/ibm-plex-sans-latin-700-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; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 400;
  src: url(fonts/ibm-plex-mono-cyrillic-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 400;
  src: url(fonts/ibm-plex-mono-cyrillic-400-normal.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 400;
  src: url(fonts/ibm-plex-mono-latin-ext-400-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: 'IBM Plex Mono'; font-style: normal; font-display: swap; font-weight: 400;
  src: url(fonts/ibm-plex-mono-latin-400-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; }

/* ---------- tokens (= app/styles.css) ---------- */
:root {
  --bg: #f5f4ef; --surface: #ffffff; --surface-2: #ebe9e1; --surface-3: #e2dfd4;
  --ink: #1d1f1a; --ink-2: #5c5f54; --ink-muted: #65675b;
  --border: #dedad0; --border-strong: #c7c3b6;
  --accent: #3c5a3e; --accent-ink: #ffffff; --accent-soft: #dfe8dc;
  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-base: 14px;
  --fs-lg: 16px;
  --fs-xl: 20px;
  --z-consent: 25;
  --footer-bg: #1d1f1a; --footer-border: transparent;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #131410; --surface: #1b1c16; --surface-2: #22241c; --surface-3: #2a2c23;
    --ink: #eeeee6; --ink-2: #b7b9ab; --ink-muted: #919289;
    --border: #2b2d24; --border-strong: #3a3c31;
    --accent: #8fb98f; --accent-ink: #0d150d; --accent-soft: #223022;
    --footer-bg: #0b0c09; --footer-border: #2b2d24;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #131410; --surface: #1b1c16; --surface-2: #22241c; --surface-3: #2a2c23;
  --ink: #eeeee6; --ink-2: #b7b9ab; --ink-muted: #919289;
  --border: #2b2d24; --border-strong: #3a3c31;
  --accent: #8fb98f; --accent-ink: #0d150d; --accent-soft: #223022;
  --footer-bg: #0b0c09; --footer-border: #2b2d24;
}
:root[data-theme="light"] { color-scheme: light; }
@media (max-width: 720px) {
  :root { --fs-xs: 14px; --fs-sm: 15px; --fs-base: 16px; --fs-lg: 18px; --fs-xl: 22px; }
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: var(--fs-base); line-height: 1.5; overflow-wrap: break-word; }
a { color: var(--accent); text-underline-offset: 3px; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
img, svg { max-width: 100%; }

/* ---------- header ---------- */
.kit-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.kit-header-inner { max-width: 1040px; margin: 0 auto; padding: 14px 16px 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; color: inherit; }
.brand:focus-visible { border-radius: 8px; }
.brand-mark { width: 34px; height: 34px; flex: none; display: block; }
.brand-mark rect { fill: var(--accent); }
.brand-mark polyline { stroke: var(--accent-ink); }
.brand-name { font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: var(--fs-base); line-height: 1.2; }
/* the section: «Розбори» → /articles/ (D-PUB-42) */
.kit-section { display: inline-flex; align-items: center; min-height: 36px; padding: 0 10px; border-radius: 8px; color: var(--ink-2); font-weight: 500; font-size: var(--fs-base); text-decoration: none; }
.kit-section:hover { color: var(--ink); background: var(--surface-2); }
.kit-header-tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
/* Telegram + theme: the same round icon buttons as the site header */
.tg-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); text-decoration: none; font: 500 var(--fs-sm)/1.2 var(--font-sans); }
.tg-link svg { flex: none; display: block; }
.tg-link:hover { color: var(--ink); }
.tg-link--header { position: relative; flex: none; justify-content: center; width: 36px; height: 36px; border-radius: 50%; }
.tg-link--header::before { content: ""; position: absolute; inset: -4px; }
.tg-link--header:hover { background: var(--surface-2); }
.tg-link--header .tg-link-label { display: none; }
.tg-link--header:focus-visible { border-radius: 50%; }
.tg-link--button { min-height: 44px; padding: 0 16px 0 12px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 600; white-space: nowrap; }
.tg-link--button:hover { color: var(--accent-ink); filter: brightness(1.08); }
.tg-link--footer { min-height: 44px; gap: 10px; color: var(--ink); font-size: var(--fs-base); }
.tg-link--footer .tg-link-text { display: grid; gap: 1px; }
.tg-link--footer .tg-link-sub { font-size: var(--fs-xs); color: var(--ink-muted); font-weight: 400; }
.tg-link--footer:hover .tg-link-title { text-decoration: underline; text-underline-offset: 3px; }
.tg-link--footer .tg-link-title { font-weight: 600; }
.theme-toggle { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: none; color: var(--ink-2); cursor: pointer; flex: none; padding: 0; }
.theme-toggle::before { content: ""; position: absolute; inset: -4px; }
.theme-toggle:hover { color: var(--ink); background: var(--surface-2); }
.theme-toggle:focus-visible { border-radius: 50%; }
.theme-toggle svg { width: 20px; height: 20px; display: block; }
.theme-toggle .i-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
}
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }

/* ---------- article ---------- */
/* The column: text, figures and tables all use the full container (D-PUB-43). */
.article { max-width: 1040px; margin: 0 auto; padding: 32px 16px 24px; font-size: 17px; line-height: 1.65; }
/* D-PUB-43 (owner, 2026-10-23): no character-count caps on content — text, figures and
   blocks take the full width of the page block; only the page container is bounded. */
.article-head { margin-bottom: 28px; }
.article-kicker { margin: 0 0 8px; font: 400 var(--fs-xs)/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.article h1 { margin: 0 0 14px; font-size: clamp(28px, 5.4vw, 40px); line-height: 1.15; font-weight: 700; text-wrap: balance; }
.article .lead { margin: 0 0 14px; font-size: 1.18em; line-height: 1.5; color: var(--ink-2); }
.article-meta { margin: 0; font: 400 var(--fs-xs)/1.4 var(--font-mono); color: var(--ink-muted); display: flex; flex-wrap: wrap; gap: 2px 14px; }
.article h2 { margin: 2em 0 .5em; font-size: 1.45em; line-height: 1.25; font-weight: 600; text-wrap: balance; scroll-margin-top: 16px; }
.article h3 { margin: 1.6em 0 .4em; font-size: 1.15em; line-height: 1.3; font-weight: 600; scroll-margin-top: 16px; }
.article p, .article ul, .article ol, .article blockquote, .article dl { margin: 0 0 1em; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin: .25em 0; }
.article blockquote { margin-inline: 0; padding: .1em 0 .1em 1em; border-left: 3px solid var(--border-strong); color: var(--ink-2); }
.article hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.article code { font-family: var(--font-mono); font-size: .9em; background: var(--surface-2); padding: .05em .3em; border-radius: 4px; }
.article b, .article strong { font-weight: 600; }
.article sup { line-height: 0; }
.article sup a { padding: 0 .1em; }

/* figures: article-local (<img src="map-1-…-sha12.svg">) or shared (<img src="/media/…-sha12.svg">) */
.article figure { margin: 1.75em 0; }
.article figure img { display: block; width: 100%; max-width: 100%; height: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.article figcaption { margin-top: 8px; font-size: var(--fs-sm); line-height: 1.45; color: var(--ink-muted); }
.article figcaption b { color: var(--ink-2); }

/* wide tables scroll inside their box, never the page (360px) */
.table-wrap { margin: 1.5em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.table-wrap:focus-visible { outline-offset: 0; border-radius: 10px; }
.table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--fs-sm); line-height: 1.45; }
.table-wrap caption { text-align: left; padding: 10px 14px 0; font-size: var(--fs-sm); color: var(--ink-muted); caption-side: top; }
.table-wrap th, .table-wrap td { padding: 9px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--border); }
.table-wrap thead th { border-top: 0; background: var(--surface-2); font: 400 var(--fs-xs)/1.3 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap; }
.table-wrap tbody th { font-weight: 600; white-space: nowrap; }
.table-wrap td.num, .table-wrap th.num { text-align: right; font-variant-numeric: tabular-nums; }
/* «Що далі / за чим стежимо»: wide, 3–4 columns of prose */
.table-wrap--next table { min-width: 720px; }
.table-wrap--next td:first-child { font-weight: 600; min-width: 11em; }

/* «Військова логіка»: a short interpretation block, set apart by a rule and a label (no box in a box) */
.logic { margin: 1.5em 0; padding: 2px 0 2px 16px; border-left: 3px solid var(--accent); color: var(--ink-2); }
.logic-label { margin: 0 0 4px; font: 500 var(--fs-xs)/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.logic p:last-child { margin-bottom: 0; }

/* sources / footnotes */
/* Folded by default (owner, 2026-10-23): a footnote link opens it (article.js initFolds). */
.sources { margin-top: 2.5em; padding-top: 1.2em; border-top: 1px solid var(--border); }
.sources summary { cursor: pointer; font-weight: 600; font-size: 1.15em; line-height: 1.3; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.sources summary::-webkit-details-marker { display: none; }
.sources summary::after { content: "+"; font-family: var(--font-mono); color: var(--ink-muted); }
.sources[open] summary::after { content: "\2013"; }
.sources[open] summary { margin-bottom: 12px; }
.sources-count { font-weight: 400; color: var(--ink-muted); }
.sources-list { padding-left: 1.6em; font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-2); }
.sources-list li { margin: .5em 0; overflow-wrap: anywhere; padding-left: .2em; scroll-margin-top: 16px; }
.sources-list li:target { background: var(--accent-soft); border-radius: 6px; }
.sources-list .src-meta { color: var(--ink-muted); }

/* Telegram call to action (same copy as the site's TelegramCta) */
.tg-cta { margin: 2.5em 0 0; padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; font-size: var(--fs-base); line-height: 1.5; }
.tg-cta-text { flex: 1 1 260px; min-width: 0; }
.tg-cta h2 { margin: 0 0 4px; font-size: var(--fs-lg); line-height: 1.3; font-weight: 600; }
.tg-cta p { margin: 0; color: var(--ink-2); }

/* ---------- footer: a dark band in both themes (= .site-footer, simplified) ---------- */
.site-footer {
  --ink: #eeeee6; --ink-2: #c3c5b8; --ink-muted: #9a9c8f;
  --surface-2: rgba(255, 255, 255, .07); --border: rgba(255, 255, 255, .12);
  --accent: #8fb98f; --accent-ink: #0d150d;
  margin-top: 32px; padding: 32px 0; background: var(--footer-bg); border-top: 1px solid var(--footer-border);
  color: var(--ink-2); font-size: var(--fs-sm); line-height: 1.5;
}
.site-footer-inner { max-width: 1040px; margin: 0 auto; padding-inline: 16px; display: grid; gap: 20px; }
.site-footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px 40px; align-items: start; }
.site-footer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.site-footer-brand .brand-mark { width: 28px; height: 28px; }
.site-footer-lead { margin: 8px 0 10px; }
.site-footer-h { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); font-weight: 400; margin: 0 0 6px; }
.site-footer-list { list-style: none; margin: 0; padding: 0; display: grid; }
.site-footer-link { display: inline-flex; align-items: center; min-height: 32px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--ink-2); font: inherit; text-decoration: none; text-align: left; }
.site-footer-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.site-footer-safety { margin: 0; padding: 12px 14px; background: var(--surface-2); border-radius: 10px; color: var(--ink-2); }
.site-footer-safety b { color: var(--ink); font-weight: 600; }
.site-footer-privacy { margin: -8px 0 0; font-size: var(--fs-xs); color: var(--ink-muted); }
.site-footer-privacy .site-footer-link { display: inline; min-height: 0; position: relative; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.site-footer-privacy .site-footer-link::before { content: ""; position: absolute; inset: -12px -4px; }
.site-footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--ink-muted); }
.site-footer-meta .site-footer-link { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
  .site-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .site-footer-link { min-height: 44px; }
}

/* ---------- analytics consent bar (= app/styles.css, no bottom nav here) ---------- */
.consent-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-consent);
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: var(--ink); color: var(--bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 -6px 24px rgba(0, 0, 0, .28);
  font-size: var(--fs-sm); line-height: 1.45; }
.consent-inner { max-width: calc(1040px - 32px); margin: 0 auto; display: flex; align-items: center; gap: 12px 24px; }
.consent-text { margin: 0; flex: 1 1 auto; min-width: 0; }
.consent-actions { display: flex; gap: 8px; flex: none; }
.consent-btn { min-height: 44px; min-width: 128px; padding: 0 16px; border-radius: 10px; border: 0;
  background: var(--bg); color: var(--ink); font: 600 var(--fs-sm)/1 var(--font-sans); cursor: pointer; }
.consent-btn:hover { background: var(--surface-3); }
.consent-btn:focus-visible { outline-color: var(--bg); }
:root[data-consent] .consent-bar { display: none; }
@media (max-width: 720px) {
  .consent-inner { flex-direction: column; align-items: stretch; }
  .consent-actions > .consent-btn { flex: 1; min-width: 0; }
}
