/* Report-only editorial layer. Brand colours follow Slovakia Data;
   dashboard styles deliberately do not enter this publication. */
:root {
  --font-ui: "Space Grotesk", "Inter", sans-serif;
  --font-text: "Inter", sans-serif;
  --font-editorial: Georgia, Cambria, "Times New Roman", serif;
}
* { box-sizing: border-box; }
body {
  --paper: #071b34;
  --paper-raised: #0d2748;
  --paper-table: #0a2240;
  --ink: #e2eaf4;
  --heading: #f8fafc;
  --muted: #abbdd3;
  --blue: #9ac5ff;
  --line: #314963;
  --focus: #b5d7ff;
  --brand-blue: #0b4ea2;
  --brand-red: #ee1c25;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.75 var(--font-text);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}
body.light-mode {
  --paper: #f8fafc;
  --paper-raised: #eaf0f7;
  --paper-table: #fff;
  --ink: #26354a;
  --heading: #0f172a;
  --muted: #4c5f77;
  --blue: #0b4ea2;
  --line: #becddd;
  --focus: #0b4ea2;
  color-scheme: light;
}
[hidden] { display: none !important; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: var(--blue); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
.shell { width: min(100% - 6rem, 78rem); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; z-index: 20; left: 1rem; top: .7rem; transform: translateY(-160%); padding: .7rem 1rem; background: var(--paper); border: 2px solid var(--focus); }
.skip-link:focus { transform: none; }
.report-header { background: transparent; color: var(--heading); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 96px; }
.brand { display: inline-flex; gap: calc(.8rem / var(--page-ui-scale, 1)); align-items: center; min-height: 44px; color: #f8fafc; text-decoration: none; font: 600 calc(24px / var(--page-ui-scale, 1)) var(--font-ui); letter-spacing: -.01em; }
.brand span { background: linear-gradient(to top, #9ca3af 0%, #d0d5db 40%, #f8fafc 100%); background-clip: text; -webkit-background-clip: text; color: transparent; }
.brand img { flex: none; width: calc(44px / var(--page-ui-scale, 1)); height: calc(44px / var(--page-ui-scale, 1)); }
.report-header .shared-appearance { margin-left: auto; }
.light-mode .report-header .brand span { background-image: linear-gradient(#263f60, #0f172a); }
.light-mode .report-header :focus-visible { outline-color: var(--focus); }
#theme-toggle { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #617894; border-radius: 50%; background: transparent; color: #f8fafc; cursor: pointer; }
#theme-toggle:hover { background: #17375c; }
.report-header :focus-visible, .report-hero :focus-visible { outline-color: #c6dfff; }
.theme-icon-moon, .light-mode .theme-icon-sun { display: none; }
.light-mode .theme-icon-moon { display: block; }
/* A chapter may override this local image token later, without another template. */
.report-hero {
  --hero-image: url("/sprava/img/header_bg.jpg");
  position: relative;
  background: #061e40;
  background-image: linear-gradient(90deg, rgba(3,18,39,.78), rgba(3,18,39,.52) 52%, rgba(3,18,39,.12)),
    linear-gradient(0deg, rgba(3,18,39,.35), transparent 70%), var(--hero-image);
  background-position: center, center, center 48%;
  background-size: cover;
  color: #f8fafc;
}
.hero-inner { padding-block: clamp(3rem, 5vw, 5rem) clamp(3rem, 6vw, 5.5rem); }
.publication-title { margin: 0 0 2.6rem; max-width: 45rem; font: 400 clamp(1.1rem, 2vw, 1.6rem)/1.4 var(--font-editorial); color: #e0e8f3; }
#report-publication { scroll-margin-top: calc(10px / var(--page-ui-scale, 1)); }
#chapter-heading { max-width: 60rem; }
h1 { margin: 0; font: 400 clamp(2.4rem, 4.7vw, 4.5rem)/1.1 var(--font-editorial); letter-spacing: -.035em; text-wrap: balance; overflow-wrap: break-word; }
h1:focus { outline-offset: 12px; }
.chapter-subtitle { max-width: 47rem; margin: 1.6rem 0 0; color: #e0e8f3; font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.65; }
.hero-rule { display: block; width: min(100%,60rem); height: 2px; margin-top: 2.5rem; }
.hero-rule::before { content: ""; display: block; width: 100%; height: 100%; opacity: .8; background: linear-gradient(90deg, #0b4ea2 0%, #0b4ea2 70%, transparent 70%, transparent 76%, #ee1c25 76%); }
.chapter-enter + .hero-rule::before { animation: report-underline-reveal .85s cubic-bezier(.22,1,.36,1) .2s both; }
@keyframes report-underline-reveal {
  from { width: 0; opacity: 0; }
  to { width: 100%; opacity: .8; }
}
.photo-credit { position: absolute; bottom: .6rem; right: .8rem; z-index: 2; }
.photo-credit-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(210,231,255,.25); border-radius: 50%; background: rgba(0,0,0,.35); color: #d4deeb; cursor: pointer; }
.photo-credit-btn:hover, .photo-credit-btn[aria-expanded="true"] { background: rgba(0,0,0,.55); color: #fff; }
.photo-credit-tooltip { position: absolute; bottom: calc(100% + 6px); right: 0; width: max-content; max-width: calc(100vw - 3rem); background: rgba(15,23,42,.97); color: #e2e8f0; font: 400 .8rem/1.5 var(--font-text); padding: .5rem .75rem; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.photo-credit-tooltip a { color: #9ac5ff; display: inline-flex; align-items: center; min-height: 44px; }
.chapter-navigation { border-block: 1px solid var(--line); background: var(--paper-raised); }
.chapter-strip { min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--muted) transparent; }
.chapter-strip ol { display: flex; width: max-content; list-style: none; margin: 0; padding: .6rem .35rem; gap: .5rem; }
.chapter-strip a { display: flex; min-height: 48px; align-items: center; border-bottom: 2px solid transparent; padding: .7rem 1rem; font: 500 .95rem/1.4 var(--font-ui); text-decoration: none; white-space: nowrap; color: var(--ink); }
.chapter-strip a:hover { background: var(--paper); }
.chapter-strip a[aria-current="page"] { color: var(--blue); border-bottom-color: currentColor; font-weight: 700; }
.load-state { margin-block: 3rem; padding: 1.5rem; border-left: 3px solid var(--blue); background: var(--paper-raised); }
.load-state p { margin: 0; }
.text-button { min-height: 44px; margin-top: 1rem; padding: .5rem 1rem; border: 1px solid var(--line); background: var(--paper); color: var(--blue); cursor: pointer; border-radius: 4px; }
.article-notice { border-left: 3px solid var(--brand-red); padding: 1rem; background: var(--paper-raised); }
.article-opening { padding: 2rem; margin-inline: -2rem; }
.edition-label { margin: .3rem 0 0; color: var(--muted); font: 500 .78rem/1.7 var(--font-ui); text-transform: uppercase; letter-spacing: .12em; }
.edition-label span { display: inline-block; margin-top: .6rem; color: var(--blue); font-size: 2.2rem; font-weight: 500; letter-spacing: -.05em; }
#full-title { margin: 0; color: var(--heading); font: 400 clamp(1.9rem, 3vw, 2.8rem)/1.2 var(--font-editorial); letter-spacing: -.025em; text-wrap: balance; overflow-wrap: break-word; }
.article-content { min-width: 0; font-size: 1.0625rem; line-height: 1.85; overflow-wrap: anywhere; }
.article-content > :first-child { margin-top: 0; }
.article-content > p:first-child { font-size: 1.2rem; line-height: 1.8; color: var(--heading); }
.article-content p { margin: 1.2rem 0; }
.article-content strong { font-weight: 650; color: var(--heading); }
.article-content h4 { margin: 3.5rem 0 1.4rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--heading); font: 400 clamp(1.5rem, 2.5vw, 2rem)/1.3 var(--font-editorial); letter-spacing: -.015em; text-wrap: balance; }
.article-content h4 + h4 { margin-top: 1.7rem; padding-top: 0; border-top: 0; }
.article-content ul, .article-content ol { padding-left: 1.5rem; margin-block: 1.3rem; }
.article-content li { padding-left: .2rem; margin-block: .45rem; }
.article-content li::marker { color: var(--blue); }
.article-content li > ul, .article-content li > ol { margin-block: .5rem; }
.article-content blockquote { margin: 2rem 0; border-left: 3px solid var(--blue); padding-left: 1.5rem; font: 400 1.5rem/1.6 var(--font-editorial); }
.table-scroll { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; margin-block: 2rem; border: 1px solid var(--line); background: var(--paper-table); scrollbar-width: thin; scrollbar-color: var(--muted) var(--paper-table); }
.table-scroll:focus-visible { outline-offset: 3px; }
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 38rem; margin: 0; font: 400 1rem/1.6 var(--font-text); text-align: left; }
.table-scroll th, .table-scroll td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 7rem; overflow-wrap: normal; }
.table-scroll th { font-weight: 650; background: var(--paper-raised); color: var(--heading); }
.table-scroll tr:last-child td { border-bottom: 0; }
.table-scroll tbody tr:nth-child(even) { background: var(--paper-raised); }
/* Footer layout and density are owned by /shared-footer.css. */
.chapter-enter { animation: chapter-enter 420ms ease-out both; }
@keyframes chapter-enter { from { opacity: .35; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Approved main-web depth, scoped to report surfaces rather than long text/tables. */
body {
  --silver-heading: linear-gradient(to bottom, #fff 0%, #dbe0e7 55%, #8f97a3 100%);
  --report-face: radial-gradient(ellipse 420px 150px at 12% 0%, rgba(106,174,255,.10), transparent),
    linear-gradient(155deg, #082348, #061e40 30%, #051732);
  --report-edge: rgba(148,185,224,.27);
  --report-rim: rgba(210,231,255,.50);
  --report-shadow: inset 0 -1px 2px rgba(0,5,18,.4), 0 3px 6px -2px rgba(0,6,20,.55), 0 24px 42px -20px rgba(0,5,19,.62);
  background: radial-gradient(circle at top right, rgba(11,78,162,.38), transparent 60%),
    radial-gradient(circle at bottom left, rgba(238,28,37,.20), transparent 50%), #061e40;
  background-attachment: fixed;
}
body.light-mode {
  --report-face: radial-gradient(ellipse 420px 150px at 12% 0%, rgba(255,255,255,.7), transparent),
    linear-gradient(155deg, #fff, #f5f9ff 44%, #edf4fc);
  --report-edge: rgba(64,106,158,.27);
  --report-rim: #fff;
  --report-shadow: inset 0 -1px 2px rgba(54,91,138,.08), 0 3px 6px -2px rgba(26,62,105,.20), 0 24px 42px -20px rgba(26,62,105,.26);
  background: radial-gradient(circle at top right, rgba(96,165,250,.18), transparent 60%),
    radial-gradient(circle at bottom left, rgba(238,28,37,.08), transparent 50%), #f8fafc;
  background-attachment: fixed;
}
.report-hero { box-shadow: inset 0 1px rgba(210,231,255,.3), inset 0 -1px rgba(210,231,255,.3); }
.report-layout { display: grid; grid-template-columns: minmax(15rem,1fr) minmax(0,49rem); gap: clamp(2rem,6vw,6rem); align-items: start; margin-block: 3rem; }
#report-article { min-width: 0; margin-left: -10px; margin-right: -15px; }
.chapter-sidebar, .article-opening {
  background: var(--report-face);
  border: 1px solid var(--report-edge);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 var(--report-rim), var(--report-shadow);
}
.chapter-sidebar { position: sticky; top: calc(24px / var(--page-ui-scale, 1)); max-height: calc((100dvh - 48px) / var(--page-ui-scale, 1)); display: flex; flex-direction: column; padding: 1.25rem; min-width: 0; }
.chapter-sidebar .edition-label { flex: none; margin: 0 0 1rem; }
.chapter-sidebar .edition-label span { margin-top: .25rem; }
.chapter-navigation { min-height: 0; border: 0; background: transparent; display: flex; }
.chapter-strip { width: 100%; overflow-x: hidden; overflow-y: auto; overscroll-behavior-y: contain; }
.chapter-strip ol { width: 100%; display: block; padding: 4px 7px; }
.chapter-strip a { white-space: normal; overflow-wrap: anywhere; border-bottom: 0; border-left: 3px solid transparent; min-height: 44px; padding: .6rem .7rem; font-size: .875rem; line-height: 1.5; border-radius: 0 8px 8px 0; }
.chapter-strip a[aria-current="page"] { border-left-color: var(--blue); background: rgba(105,167,244,.12); box-shadow: inset 0 1px rgba(148,185,224,.2); }
.back-to-top { flex: none; font: 500 .8rem/1.5 var(--font-ui); padding-top: 1rem; min-height: 44px; }
.article-content { margin-block: 3rem; }
body:not(.light-mode) :is(h1,#full-title,.publication-title,.article-content h4),
.report-hero :is(h1,.publication-title) {
  background-image: var(--silver-heading);
  background-origin: content-box;
  background-size: 100% 1lh;
  background-repeat: repeat-y;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* On wide desktops, use part of the free area before the fixed mascot zone.
   Both the shell and article grow together, while the half-width offset keeps
   the sidebar's left edge fixed and sends the full expansion to the right. */
@media (min-width: 1701px) {
  .report-layout {
    --report-copy-growth: clamp(0rem, calc(56.82vw - 60.375rem), 7.8125rem);
    --report-copy-offset: clamp(0rem, calc(28.41vw - 30.1875rem), 3.90625rem);
    width: min(calc(100% - 6rem), calc(78rem + var(--report-copy-growth)));
    grid-template-columns: minmax(15rem,1fr) minmax(0,calc(49rem + var(--report-copy-growth)));
    position: relative;
    inset-inline-start: var(--report-copy-offset);
  }
}
@media (max-width: 64rem) {
  .report-layout { display: block; max-width: 49rem; margin-block: 1.5rem; }
  #report-article { margin: 1.5rem 0 0; }
  .chapter-sidebar { top: 0; z-index: 5; padding: .5rem; max-height: none; border-radius: 12px; }
  .chapter-sidebar .edition-label, .back-to-top { display: none; }
  .chapter-strip { overflow-x: auto; overflow-y: hidden; }
  .chapter-strip ol { display: flex; width: max-content; }
  .chapter-strip a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; }
  .chapter-strip a[aria-current="page"] { border-bottom-color: var(--blue); }
  .article-opening { margin-inline: 0; padding: 1.5rem; }
  #article-content, #chapter-title { scroll-margin-top: 90px; }
}
@media (forced-colors: active) {
  :is(h1,#full-title,.publication-title,.article-content h4,.brand span) { -webkit-text-fill-color: CanvasText !important; background-image: none !important; }
}

@media (max-width: 64rem) {
  .shell { width: min(100% - 3rem, 78rem); }

  .edition-label { display: none; }

}
@media (max-width: 700px) { .brand { font-size: 21px; } }
@media (max-width: 36rem) {
  .shell { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 80px; gap: .75rem; justify-content: space-between; }
  .brand { gap: .65rem; }
  .brand img { width: 36px; height: 36px; }
  .hero-inner { padding-block: 2.5rem 4.25rem; }
  .publication-title { margin-bottom: 2rem; font-size: 1.125rem; }
  h1 { font-size: clamp(2.1rem, 8vw, 2.8rem); }
  .chapter-subtitle { font-size: 1.0625rem; }
  .navigation-label { display: none; }
  .chapter-strip a { padding-inline: .65rem; font-size: .9rem; }
  .article-content { font-size: 1rem; line-height: 1.8; }
  .article-content > p:first-child { font-size: 1.0625rem; }
  .article-content h4 { margin-top: 2.7rem; }
}
/* Shared scrollbar treatment, including the chapter list and wide tables. */
html, body, .chapter-strip, .table-scroll { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.12) transparent; }
html:has(body.light-mode), body.light-mode, .light-mode .chapter-strip { scrollbar-color: rgba(0,0,0,.18) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,.02); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border: 2px solid transparent; border-radius: 5px; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: rgba(96,165,250,.35); }
html:has(body.light-mode) ::-webkit-scrollbar-thumb { background-color: rgba(0,0,0,.18); }

/* Full-width tables follow the active theme; sheen belongs to each row. */
.table-scroll {
  --ink: #e4edfa;
  --heading: #f8fafc;
  --blue: #afd2ff;
  --line: #3c5776;
  --table-row: linear-gradient(180deg,#193b62 0%,#102d50 48%,#0a2342 100%);
  --table-row-alt: linear-gradient(180deg,#143458 0%,#0c2748 55%,#071e3b 100%);
  --table-head: linear-gradient(180deg,#284f7a,#102d50);
  background: linear-gradient(135deg,#163a63,#061e40);
  border-color: #577392;
  box-shadow: inset 0 1px #91afce, 0 8px 22px rgba(17,47,85,.18);
  scrollbar-color: #9ab7d8 transparent;
  border-radius: 12px;
  color: var(--ink);
}
.light-mode .table-scroll {
  --ink: #26354a;
  --heading: #14263e;
  --blue: #0b4ea2;
  --line: #b9c5d3;
  --table-row: linear-gradient(180deg,#fff 0%,#f0f3f7 48%,#dce3eb 100%);
  --table-row-alt: linear-gradient(180deg,#f8fafc 0%,#e5ebf2 55%,#d1dae5 100%);
  --table-head: linear-gradient(180deg,#fff,#c6d1de);
  border-color: #b9c5d3;
  background: linear-gradient(135deg,#fff,#d7dfe9);
  box-shadow: inset 0 1px #fff, 0 8px 22px rgba(0,6,20,.2);
  scrollbar-color: #6c8099 transparent;
}
.table-scroll table { color: var(--ink); }
.table-scroll tr { background: var(--table-row); }
.table-scroll tbody tr:nth-child(even) { background: var(--table-row-alt); }
.table-scroll tr:has(th) { background: var(--table-head); }
.table-scroll th, .table-scroll td { background: transparent; box-shadow: inset 0 1px rgba(255,255,255,.22); }
.table-scroll a { color: var(--blue); }
.table-scroll strong { color: var(--heading); }
.table-scroll tr > :first-child, .table-scroll--period tr > :last-child { font-weight: 700; }
.table-scroll:focus-visible { outline-color: var(--blue); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
