/* =============================================================================
   PIME BESS Analytics — wspólny arkusz serwisu (strony publiczne)
   Tokeny i komponenty przeniesione ze spisu /analizy/, wydań i zaślepki.
   Nowe elementy (pasek z kontem, stopka, formularze, ekrany logowania)
   opisane w STYLE.md, sekcja „Serwis”.
   Treść raportu i jego szkielet: raport.css. Panel biura: panel.css.
   ========================================================================== */

:root {
  --navy-950: #031a35;
  --navy-900: #062c59;
  --accent: #2BB673;
  --accent-soft: #e2f6ec;
  --accent-rgb: 43, 182, 115;
  --cyan: #00bdf2;
  --cyan-soft: #dff7ff;
  --ink: #10243a;
  --muted: #66788b;
  --line: #dfe7ed;
  --paper: #f4f7f8;
  --shadow: 0 22px 55px rgba(4, 35, 65, .11);
  --radius: 22px;

  --blad: #C4342B;
  --granat-tlo:
    radial-gradient(circle at 82% 16%, rgba(var(--accent-rgb), .16), transparent 31%),
    linear-gradient(135deg, #073666 0%, #05274f 58%, #031d3c 100%);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}
button, input, select, textarea { font: inherit; }
html { scroll-padding-top: calc(var(--naglowek-h, 72px) + 16px); }
sub, sup { line-height: 0; }
body:has(> .stopka) { display: flex; min-height: 100vh; flex-direction: column; }
body:has(> .stopka) > * { width: 100%; }
body:has(> .stopka) > main { flex: 1 0 auto; }
h1, h2, h3, h4, p, li, dt, dd, label, figcaption, blockquote { text-wrap-style: balance; }
/* nagłówki łamane na dwie linie bez dużej interlinii z body */
h1, h2, h3, h4 { line-height: 1.2; }
[hidden] { display: none !important; }

.srodek { max-width: 900px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.srodek--szeroki { max-width: 1120px; }

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wizualnie-ukryte {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------------------------------------------------------------- przyciski */

.przycisk {
  display: inline-flex;
  height: 52px;
  padding: 0 26px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: var(--accent);
  color: white;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
}
.przycisk:hover { background: #24a465; }
.przycisk { text-wrap-style: balance; }
.przycisk:focus-visible { outline: 2px solid var(--navy-900); outline-offset: 3px; }
:is(.naglowek, .baner, .cennik, .ekran, .menu-strony-panel) :is(.przycisk, a, button):focus-visible { outline: 2px solid white; outline-offset: 3px; }
.przycisk svg { width: 19px; height: 19px; flex: 0 0 auto; }

/* spis: główne wezwanie */
.przycisk--duzy {
  height: auto;
  padding: 20px 42px;
  border-radius: 17px;
  font-size: clamp(17px, 1.6vw, 20px);
}
.przycisk--obrys {
  border-color: var(--accent);
  background: transparent;
  color: var(--accent);
}
.przycisk--obrys:hover { background: rgba(var(--accent-rgb), .1); color: var(--accent); }
.przycisk--granat { background: var(--navy-900); }
.przycisk--granat:hover { background: var(--navy-950); }
/* na granacie */
.przycisk--szklany {
  border-color: rgba(132, 185, 221, .34);
  background: rgba(255, 255, 255, .055);
}
.przycisk--szklany:hover { border-color: rgba(132, 205, 239, .55); background: rgba(255, 255, 255, .09); }
.na-granacie .przycisk--obrys:hover { border-color: #5ed49a; background: rgba(var(--accent-rgb), .12); }
.na-granacie .przycisk:focus-visible { outline-color: white; }
.przycisk--maly { height: 40px; padding: 0 16px; border-radius: 10px; font-size: 13px; }
.przycisk--pelny { display: flex; width: 100%; }
.przycisk--kwadrat { flex: none; width: 52px; padding: 0; }

.link {
  color: var(--navy-900);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(6, 44, 89, .25);
  text-underline-offset: 3px;
  transition: text-decoration-color .18s, color .18s;
}
.link:hover { text-decoration-color: currentColor; }

/* ------------------------------------------------------- przełącznik języka */

.jezyki {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}
.jezyki a { color: #7f95aa; text-decoration: none; transition: color .18s; }
.jezyki a:hover { color: white; }
.jezyki a.wybrany { color: var(--accent); }
.jezyki span { color: rgba(255, 255, 255, .22); }
.jezyki--rog { position: fixed; top: 26px; right: clamp(20px, 5vw, 44px); z-index: 10; }

/* ------------------------------------------ baner granatowy (spis, zamów…) */

.baner {
  position: relative;
  overflow: hidden;
  padding: 30px 0 clamp(64px, 8vw, 96px);
  color: white;
  background: var(--granat-tlo);
}
.baner-wzor {
  position: absolute;
  z-index: 1;
  top: -40px;
  right: -300px;
  width: min(62vw, 720px);
  height: auto;
  opacity: .17;
  mix-blend-mode: screen;
  filter: invert(1) hue-rotate(122deg) saturate(1.05) brightness(.95);
  pointer-events: none;
  user-select: none;
}
.baner .srodek { position: relative; z-index: 2; }
.baner h1 {
  margin: 0;
  font-size: clamp(27px, 3.2vw, 41px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.baner .wstep {
  max-width: 620px;
  margin: 16px 0 0;
  color: #b7cbdd;
  font-size: clamp(15px, 1.3vw, 17px);
  text-wrap-style: balance;
}
.baner--niski { padding-bottom: clamp(76px, 9vw, 104px); }
.baner--marka { --odstep: clamp(48px, 7vw, 84px); padding-bottom: calc(var(--odstep) + 52px); }
.baner--marka .pasek-gorny { justify-content: flex-end; margin-bottom: var(--odstep); }
.baner .marka { line-height: 0; }
.baner .marka img { width: min(100%, 540px); height: auto; }
.baner--marka .wstep { max-width: 720px; margin-top: 24px; font-size: clamp(18px, 1.8vw, 23px); line-height: 1.45; }

/* pasek na górze banera: logo | język, konto */
.pasek-gorny {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(38px, 6vw, 62px);
}
.pasek-gorny .logo { display: block; line-height: 0; }
.pasek-gorny .logo img { width: 210px; height: auto; }
.pasek-akcje { display: flex; align-items: center; gap: 10px; }
.pasek-akcje .jezyki { margin-right: 12px; }
.pasek-akcje .przycisk { white-space: nowrap; }
.pasek-akcje .przycisk svg { width: 17px; height: 17px; }

/* ------------------------------------------------------ spis wydań (główna) */

.spis :is(h1, h2, h3, p, li, dt, dd, summary, .akcja, .nazwa) { text-wrap-style: balance; }

.wydania {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: -52px;
}
.wydanie {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.wydanie:hover { border-color: #b9cbd9; }
.wydanie h2 {
  margin: 0;
  padding-right: 32px;
  color: var(--navy-900);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.03em;
}
.wydanie .klodka {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 21px;
  height: 21px;
  color: var(--accent);
  opacity: 1;
  transition: opacity .18s;
}
.wydanie:hover .klodka { opacity: 1; }
.wydanie .format {
  display: inline-block;
  margin-left: 11px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(6, 44, 89, .07);
  color: #5c7d99;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1;
  vertical-align: middle;
}
.wydanie .opis-kafla { margin: -12px 0 0; color: #4a6277; font-size: 14px; }
.wydanie .akcja {
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.wydanie .akcja:after {
  display: inline-block;
  margin-left: 9px;
  font-size: 15px;
  content: "";
  transition: transform .18s;
}
.wydanie:hover .akcja { color: var(--accent); }
.wydanie:hover .akcja:after { transform: translateX(3px); }
.wydanie--biezace { border: 2px solid var(--accent); }
.wydanie--biezace:hover { border-color: #24a465; }
.wydanie--biezace .akcja { color: var(--accent); }
.wydanie .klodka[hidden] { display: none; }

.tresc { padding: clamp(52px, 7vw, 76px) 0 0; }
/* jeden odstęp między ostatnim elementem treści a stopką na wszystkich stronach */
:root { --odstep-stopka: clamp(56px, 7vw, 84px); }
main > .tresc:last-child, main > .kontakt:last-child { padding-bottom: var(--odstep-stopka); }
.kontakt > .srodek > .drugi-kontakt:first-child { margin-top: 0; }
.tresc h2 {
  margin: 0 0 18px;
  color: var(--navy-900);
  font-size: clamp(24px, 2.6vw, 33px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.035em;
}
.tresc p { margin: 0 0 16px; color: #324f67; font-size: clamp(15px, 1.3vw, 18px); }
.tresc p:last-child { margin-bottom: 0; }
.tresc p, .dokument { max-width: 760px; }

.lista { max-width: 760px; margin: 0; padding: 0; list-style: none; }
.lista li {
  position: relative;
  margin: 0;
  padding: 13px 0 13px 28px;
  border-bottom: 1px solid var(--line);
  color: #324f67;
  font-size: clamp(15px, 1.3vw, 18px);
}
.lista li:last-child { border-bottom: 0; }
.lista li:before {
  position: absolute;
  top: 13px;
  left: 2px;
  color: var(--accent);
  font-weight: 700;
  content: "•";
}
.lista b { color: var(--ink); font-weight: 700; }

.rozdzialy { border-top: 1px solid var(--line); }
.rozdzial {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
}
.rozdzial .nr { flex: 0 0 32px; color: var(--accent); font-size: clamp(15px, 1.3vw, 18px); font-weight: 700; }
.rozdzial .tytul { color: #324f67; font-size: clamp(15px, 1.3vw, 18px); font-weight: 400; }

.cennik {
  scroll-margin-top: 28px;
  margin-top: 26px;
  padding: clamp(26px, 4vw, 38px);
  border-radius: var(--radius);
  color: white;
  background: var(--navy-900);
}

.kontakt { padding: clamp(52px, 7vw, 76px) 0 clamp(44px, 6vw, 60px); text-align: center; }
.kontakt p {
  margin: 0 0 28px;
  color: var(--navy-900);
  font-size: clamp(22px, 2.4vw, 31px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.03em;
}
.kontakt .drugi-kontakt { margin: 22px 0 0; color: var(--muted); font-size: 15px; font-weight: 400; letter-spacing: 0; }
.ankieta { padding: clamp(52px, 7vw, 76px) 0 clamp(56px, 7vw, 84px); text-align: center; }
.ankieta .pasek { padding-top: clamp(38px, 5vw, 52px); border-top: 1px solid var(--line); }
.ankieta p { margin: 0 0 22px; color: #324f67; font-size: clamp(15px, 1.3vw, 18px); }

/* -------------------------------------------- wiele kategorii (strona główna) */

/* kafel z nazwą kategorii nad okresem — „najnowsze wydania” */
.wydania--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wydanie .kategoria-kafla {
  margin: 0 0 -16px;
  padding-right: 32px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.naglowek-sekcji {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 18px;
}
.naglowek-sekcji h2 { margin: 0 !important; }

.kategorie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.kategoria {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}
.kategoria h3 {
  margin: 0;
  color: var(--navy-900);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.kategoria h3 a { color: inherit; text-decoration: none; }
.kategoria .opis-kategorii { margin: 10px 0 0; color: #4a6277; font-size: 14px; text-wrap-style: balance; }
.kategoria .meta-kategorii { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.kategoria .ostatnie { margin: 18px 0 22px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.kategoria .ostatnie li { border-bottom: 1px solid var(--line); }
.kategoria .ostatnie a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color .18s;
}
.kategoria .ostatnie a:hover { color: var(--accent); }
.kategoria .ostatnie .format { padding: 4px 8px; border-radius: 999px; color: #5c7d99; background: rgba(6, 44, 89, .07); font-size: 10px; letter-spacing: .12em; }
.kategoria .ostatnie .brak { padding: 11px 0; color: var(--muted); font-size: 13px; }
.akcja-strzalka {
  margin-top: auto;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}
.akcja-strzalka:after { display: inline-block; margin-left: 9px; font-size: 15px; content: ""; transition: transform .18s; }
.akcja-strzalka:hover { color: var(--accent); }
.akcja-strzalka:hover:after { transform: translateX(3px); }

/* archiwum wydań na stronie kategorii — skaluje się do dziesiątek wydań */
.archiwum { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: white; }
.archiwum .rok {
  margin: 0;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: #f7fafb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}
.archiwum ul { margin: 0; padding: 0; list-style: none; }
.archiwum li + li, .archiwum ul + .rok { border-top: 1px solid var(--line); }
.archiwum a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px 16px;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  color: var(--navy-900);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
  transition: background .18s;
}
.archiwum a:hover { background: #f7fafb; }
.archiwum a:after { color: var(--navy-900); content: ""; transition: transform .18s; }
.archiwum a:hover:after { transform: translateX(3px); }
.archiwum .format { padding: 5px 10px; border-radius: 999px; color: #5c7d99; background: rgba(6, 44, 89, .07); font-size: 11px; letter-spacing: .12em; }
.archiwum svg { width: 17px; height: 17px; color: var(--accent); }
.archiwum svg[hidden] { display: none; }

/* ------------------------------------------------------------------- stopka */

/* tło jak nagłówek po przewinięciu */
.stopka {
  padding: 30px 0 34px;
  color: #7f95aa;
  background: #041f3e;
  font-size: 12px;
}
.stopka-wnetrze {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
}
.stopka .marka { display: flex; align-items: center; gap: 12px; }
.stopka .marka img { width: 64px; height: auto; opacity: .75; }
.stopka nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.stopka a { color: #91a7bc; text-decoration: none; transition: color .18s; }
.stopka a:hover { color: white; }

/* ---------------------------------------------------------------- formularze */

.pole { display: grid; align-content: start; gap: 7px; min-width: 0; }
.pole > label, .pole > .etykieta {
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 700;
}
.pole .opcjonalne { color: var(--muted); font-weight: 400; }
.podpowiedz { margin: 0; color: var(--muted); font-size: 12px; text-wrap-style: balance; }
.pakiety + .podpowiedz { margin-top: 10px; }
.pole .komunikat-bledu { display: none; margin: 0; color: var(--blad); font-size: 12px; }
.pole.z-bledem .komunikat-bledu { display: block; }

.pole input:not([type="checkbox"]):not([type="radio"]),
.pole select,
.pole textarea {
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #cfdbe4;
  border-radius: 11px;
  color: var(--ink);
  background: white;
  font-size: 15px;
  transition: border-color .18s, box-shadow .18s;
}
.pole textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; }
.pole textarea[rows="2"] { min-height: 0; }
.pole select {
  padding-right: 40px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23062c59' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 15px center;
  background-repeat: no-repeat;
  background-size: 12px 8px;
}
.pole input:not([type="checkbox"]):not([type="radio"]):hover, .pole select:hover, .pole textarea:hover { border-color: #b3c5d3; }
.pole input:not([type="checkbox"]):not([type="radio"]):focus, .pole select:focus, .pole textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18);
}
.pole.z-bledem input:not([type="checkbox"]):not([type="radio"]), .pole.z-bledem select { border-color: var(--blad); background: rgba(196, 52, 43, .03); }
.pole.z-bledem input:not([type="checkbox"]):not([type="radio"]):focus { box-shadow: 0 0 0 3px rgba(196, 52, 43, .14); }
.wybor .komunikat-bledu { display: none; grid-column: 2; margin: 0; color: var(--blad); font-size: 12px; }
.wybor.z-bledem .komunikat-bledu { display: block; }

.pola { display: grid; gap: 18px; }
.pola--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.pola--kod { grid-template-columns: 140px minmax(0, 1fr); gap: 18px 16px; }

/* pole wyboru: kwadrat 20 px, zielony po zaznaczeniu */
.wybor {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  color: #4a6277;
  font-size: 14px;
  cursor: pointer;
  text-wrap-style: balance;
}
.wybor input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  border: 1px solid #b3c5d3;
  border-radius: 6px;
  background: white;
  appearance: none;
  cursor: pointer;
  transition: background .18s, border-color .18s;
}
.wybor input:checked {
  border-color: var(--accent);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1.5 5.2l3 3 6-6.7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 10px no-repeat;
}
.wybor input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wybor input[type="radio"] { border-radius: 50%; }
.wybor input[type="radio"]:checked { background: radial-gradient(circle, white 0 3.5px, var(--accent) 4px); }
.wybor b { color: var(--ink); }
.wybor .wymagane { color: var(--blad); font-weight: 700; }
.wybor.z-bledem input { border-color: var(--blad); }

/* komunikat w formularzu */
.komunikat {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f7fafb;
  border: 1px solid var(--line);
  color: #4a6277;
  font-size: 13px;
  text-wrap-style: balance;
}
.komunikat b { color: var(--navy-900); }
.komunikat--ok { border-color: rgba(var(--accent-rgb), .35); background: var(--accent-soft); color: #1d5c3d; }
.komunikat--ok b { color: #14482f; }
.komunikat--blad { border-color: rgba(196, 52, 43, .3); background: rgba(196, 52, 43, .06); color: #8e2520; }

/* ----------------------------------- ekran granatowy (logowanie, hasło…) */

.ekran {
  display: grid;
  min-height: 100vh;
  margin: 0;
  place-items: center;
  padding: 88px clamp(20px, 6vw, 72px) 40px;
  color: white;
  background: var(--granat-tlo);
}
.ekran-srodek { width: min(440px, 100%); }
.ekran-logo { display: block; width: 340px; max-width: 100%; margin: 0 auto 34px; line-height: 0; }
.ekran-logo img { width: 100%; height: auto; }
.karta-formularza {
  padding: 34px;
  border-radius: var(--radius);
  color: var(--ink);
  background: white;
  box-shadow: 0 30px 70px rgba(0, 10, 25, .28);
}
.karta-formularza h1 {
  margin: 0;
  color: var(--navy-900);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
}
.karta-formularza .wstep { margin: 10px 0 0; color: #4a6277; font-size: 14px; text-wrap-style: balance; }
.karta-formularza form { display: grid; gap: 18px; margin-top: 26px; }
.karta-formularza .przycisk { margin-top: 4px; }
.karta-formularza .obok { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.karta-formularza .pod { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: #4a6277; font-size: 13px; text-align: center; }
.karta-formularza .pod--dalej { margin-top: 6px; padding-top: 0; border-top: 0; }
.karta-formularza .akcja-karty { margin-top: 24px; }
.karta-formularza .ikona-stanu {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 14px;
  color: var(--accent);
  background: var(--accent-soft);
}
.karta-formularza .ikona-stanu svg { width: 24px; height: 24px; }
.karta-formularza .ikona-stanu--uwaga { color: var(--blad); background: rgba(196, 52, 43, .08); }
.ekran-pod {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 26px;
  font-size: 12px;
}
.ekran-pod a { color: #7f95aa; font-weight: 700; text-decoration: none; transition: color .18s; }
.ekran-pod a:hover { color: white; }

/* pole hasła z przyciskiem „pokaż” */
.haslo-z-przyciskiem { position: relative; }
.pole .haslo-z-przyciskiem input:not([type="checkbox"]):not([type="radio"]) { padding-right: 84px; }
.pokaz-haslo {
  position: absolute;
  top: 6px;
  right: 6px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  color: var(--navy-900);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s;
}
.pokaz-haslo:hover { background: #f2f7f9; }

/* wymagania hasła */
.wymagania { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 12px; }
.wymagania li { display: flex; align-items: center; gap: 8px; }
.wymagania li:before {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 1px solid #b3c5d3;
  border-radius: 50%;
  content: "";
}
.wymagania li.spelnione { color: #1E8F5B; }
.wymagania li.spelnione:before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px white; }

/* ------------------------------------------ strony jasne pod banerem (karty) */

.nachodzi { position: relative; z-index: 3; margin-top: -52px; }
.karta {
  padding: clamp(24px, 3.4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}
.karta + .karta { margin-top: 16px; }
.karta h2 {
  margin: 0 0 6px;
  color: var(--navy-900);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.025em;
}
.karta .pod-tytulem { margin: 0 0 22px; color: var(--muted); font-size: 14px; text-wrap-style: balance; }

/* numerowane sekcje formularza — jak rozdziały raportu */
.sekcja-formularza + .sekcja-formularza { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.sekcja-formularza > header { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.sekcja-formularza > header .nr { color: var(--accent); font-size: 13px; font-weight: 700; }
.sekcja-formularza > header h2 { margin: 0; font-size: 19px; }
.dane-odnowienia { display: grid; grid-template-columns: 170px 1fr; gap: 10px 18px; margin: 0 0 16px; }
.dane-odnowienia dt { color: var(--muted); }
.dane-odnowienia dd { margin: 0; color: var(--ink); font-weight: 600; }
.zmien-dane { padding: 0; border: 0; background: none; color: var(--navy-900); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 640px) {
  .dane-odnowienia { grid-template-columns: 1fr; gap: 2px; }
  .dane-odnowienia dd { margin-bottom: 10px; }
}

/* ------------------------------------------------------ pastylka statusu */

.pastylka {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #526b80;
  background: #eef3f6;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}
.pastylka:before { width: 6px; height: 6px; border-radius: 50%; background: currentColor; content: ""; }
.dostepy .pastylka:before { content: none; }
.pastylka--ok { color: #1E8F5B; background: var(--accent-soft); }
.pastylka--nowe { color: #0a6f8f; background: var(--cyan-soft); }
.pastylka--uwaga { color: #9a5b00; background: #fff1d6; }
.pastylka--blad { color: var(--blad); background: rgba(196, 52, 43, .08); }
.pastylka--ciemna { color: white; background: var(--navy-900); }

/* ------------------------------------------------------ moje konto */

.dostepy { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.dostepy li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 20px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f7fafb;
}
.dostepy .nazwa-dostepu { margin: 0; color: var(--navy-900); font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.dostepy .opis-dostepu { margin: 3px 0 0; color: #4a6277; font-size: 13px; }
.dostepy .akcje .link { font-size: 14px; }
.dostepy .akcje { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 14px; }
.dane-konta { display: grid; grid-template-columns: 160px 1fr; margin: 0 0 26px; }
.dane-konta dt, .dane-konta dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.dane-konta dt { color: var(--muted); }
.dane-konta dd { color: var(--ink); font-weight: 700; }
.formularz-waski { display: grid; gap: 18px; max-width: 460px; }

/* ------------------------------------------------ dokument (regulamin…) */

.dokument { max-width: 760px; color: #324f67; font-size: 15px; }
.dokument h2 { margin: 30px 0 10px; color: var(--navy-900); font-size: 19px; letter-spacing: -.02em; }
.dokument p, .dokument li { text-wrap-style: balance; }
.dokument .wersja { margin: 0 0 22px; color: var(--muted); font-size: 13px; }

/* ------------------------------------------------------- zamówienie (form) */

.zamowienie {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 18px;
}
.zamowienie:not(:has(> aside)) { grid-template-columns: minmax(0, 920px); }
.zamowienie > aside { position: sticky; top: 20px; }

.pakiety { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.pakiet {
  position: relative;
  display: grid;
  gap: 4px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 20px;
  padding: 18px 20px 18px 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s;
}
.pakiet:hover { border-color: #c7d6e2; }
.pakiet input {
  position: absolute;
  top: 19px;
  left: 18px;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1px solid #b3c5d3;
  border-radius: 50%;
  appearance: none;
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s;
}
.pakiet input:checked { border-color: var(--accent); background: radial-gradient(circle, white 0 3.5px, var(--accent) 4px); }
.pakiet input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pakiet:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.pakiet .nazwa-pakietu, .pakiet .zakres-pakietu { grid-column: 1; }
.pakiet .cena-pakietu { grid-column: 2; grid-row: 1 / span 2; margin-top: 0 !important; text-align: right; white-space: nowrap; }
.pakiet .nazwa-pakietu { color: var(--navy-900); font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.pakiet .zakres-pakietu { color: #4a6277; font-size: 13px; text-wrap-style: balance; }
.pakiet .cena-pakietu { margin-top: 8px; color: var(--navy-900); font-size: 15px; font-weight: 700; }
.pakiet .cena-pakietu small { display: block; color: #1E8F5B; font-size: 12px; font-weight: 700; }
.pakiet .cena-pakietu s { color: var(--muted); font-size: 12px; font-weight: 400; }

.podsumowanie h2 { font-size: 17px; }
.podsumowanie .pozycja { margin: 12px 0 0; color: var(--navy-900); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.podsumowanie .pozycja-zakres { margin: 2px 0 16px; color: #4a6277; font-size: 13px; }
.podsumowanie .ceny { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; margin: 0; }
.podsumowanie .ceny dt, .podsumowanie .ceny dd { margin: 0; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.podsumowanie .ceny dt { color: #4a6277; }
.podsumowanie .ceny dd { color: var(--navy-900); font-size: 14px; font-weight: 700; text-align: right; white-space: nowrap; }
.podsumowanie .ceny dd.dla-czlonkow { color: #1E8F5B; }
.podsumowanie .dopisek { margin: 8px 0 0; color: var(--muted); font-size: 12px; text-wrap-style: balance; }

.kroki { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: krok; }
.kroki li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  color: #4a6277;
  font-size: 13px;
  text-wrap-style: balance;
  counter-increment: krok;
}
.kroki li:before {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 700;
  content: counter(krok);
}
.kroki b { color: var(--navy-900); }

.wyslij { display: grid; gap: 14px; margin-top: 30px; }
.wyslij .przycisk { justify-self: start; }
.wyslij p { margin: 0; color: var(--muted); font-size: 13px; text-wrap-style: balance; }
.zgody { display: grid; gap: 14px; }
.zgody .informacja { margin: 0; padding-left: 32px; color: #4a6277; font-size: 13px; text-wrap-style: balance; }
.wybory-poziomo { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.wybory-poziomo .wybor { grid-template-columns: 20px auto; }
.podsumowanie-zamowienia .ceny { grid-template-columns: minmax(120px, 34%) minmax(0, 1fr); }
.podsumowanie-zamowienia .ceny dd { font-size: 13px; font-weight: 400; text-align: left; white-space: normal; text-wrap-style: balance; }
.podsumowanie-zamowienia .ceny .razem { border-top: 2px solid var(--navy-900); color: var(--navy-900); font-size: 15px; font-weight: 700; }
.podsumowanie-zamowienia .ceny dd.razem { font-size: 17px; }
@media (max-width: 520px) {
  .podsumowanie-zamowienia .ceny { grid-template-columns: minmax(0, 1fr); }
  .podsumowanie-zamowienia .ceny dd { padding-top: 0; border-top: 0; }
}

/* ------------------------------------- dwa rodzaje: seria i raporty specjalne */

/* znacznik rodzaju: seria (zielony, wydania w rytmie) · raport specjalny (cyjan, PDF) */
p.rodzaj {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin: 0;
  padding: 7px 10px 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.rodzaj svg { width: 14px; height: 14px; flex: none; }
.rodzaj--seria { color: #17804f; background: var(--accent-soft); }
.rodzaj--specjalny { color: var(--navy-900); background: rgba(6, 44, 89, .08); }
.baner .rodzaj--seria { color: var(--accent); background: rgba(var(--accent-rgb), .14); }
.baner .rodzaj--specjalny { color: #dbe7f1; background: rgba(255, 255, 255, .1); }
.baner .rodzaj { margin-bottom: 16px; }

/* okładka raportu specjalnego — jak strona tytułowa PDF (zadania/2026-10-12_raport-uslugi-systemowe/probka) */
.okladka {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  aspect-ratio: 210 / 297;
  padding: 9% 8% 7%;
  border-radius: 8px;
  color: white;
  background: var(--granat-tlo);
  box-shadow: 0 18px 40px rgba(3, 26, 53, .26);
  container-type: inline-size;
}
.okladka:before {
  position: absolute;
  inset: 0 -45% 0 35%;
  background: url(/assets/pattern.jpg) center / cover;
  opacity: .16;
  mix-blend-mode: screen;
  filter: invert(1) hue-rotate(122deg) saturate(1.05) brightness(.95);
  content: "";
}
.okladka > * { position: relative; }
.okladka .okladka-logo { width: 34%; height: auto; }
.okladka .okladka-typ { margin: auto 0 0; color: var(--accent); font-size: 4cqw; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.okladka .okladka-tytul { margin: 3cqw 0 0; color: white; font-size: 8.4cqw; font-weight: 700; line-height: 1.08; letter-spacing: -.03em; text-wrap-style: balance; }
.okladka .okladka-rok { margin: 6cqw 0 0; color: var(--accent); font-size: 5cqw; font-weight: 300; letter-spacing: .2em; }
.okladka .okladka-stopka { margin: 7cqw 0 0; padding-top: 3cqw; border-top: 1px solid rgba(255, 255, 255, .18); color: #91a7bc; font-size: 3.2cqw; }

/* karty raportów specjalnych: okładka na jasnym tle, pod nią opis */
.specjalne { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.specjalny {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  background: white;
  text-decoration: none;
  transition: border-color .18s, box-shadow .18s;
}
.nachodzi .specjalny { box-shadow: var(--shadow); }
a.specjalny:hover { border-color: #b9cbd9; box-shadow: 0 4px 14px rgba(4, 35, 65, .07); }
.specjalny-okladka .miniatura { aspect-ratio: auto; height: 132px; border-radius: 0; transition: filter .25s; }
a.specjalny:hover .miniatura { filter: brightness(1.15); }
.specjalny-opis { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 24px 24px; }
.specjalny h3 { margin: 0; color: var(--navy-900); font-size: 19px; line-height: 1.2; letter-spacing: -.025em; }
.specjalny .fakty-krotko { margin: 0; color: var(--muted); font-size: 13px; }
.specjalny .akcja { margin-top: auto; padding-top: 8px; color: var(--navy-900); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.specjalny .akcja:after { display: inline-block; margin-left: 9px; font-size: 15px; content: ""; transition: transform .18s; }
a.specjalny:hover .akcja { color: var(--accent); }
a.specjalny:hover .akcja:after { transform: translateX(3px); }
.specjalny--zapowiedz .miniatura { opacity: .45; }
.specjalny-okladka { position: relative; }
/* zapowiedź: napis na białym tle, bez obrysu */
.wkrotce { position: absolute; z-index: 1; top: 16px; right: 16px; padding: 7px 10px 6px 12px; border: 0; border-radius: 999px; color: var(--navy-900); background: white; font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; }
/* raport archiwalny: okładka z PDF zamiast granatowej miniatury */
.miniatura--okladka { display: block; width: 100%; object-fit: cover; object-position: center 30%; background: #e9eef2; }
.specjalny--zapowiedz h3 { color: #4a6277; }
.specjalny--zapowiedz .akcja { color: var(--muted); }
.specjalny--zapowiedz .akcja:after { content: none; }

/* kafel raportu specjalnego w rzędzie „najnowsze” (strona główna): tekst + mała okładka */
.wydanie--specjalny .rodzaj { margin-bottom: 14px; }
.wydanie .rodzaj { margin-bottom: -10px; }
.wydanie--specjalny .rodzaj { margin-bottom: 14px; }

/* strona raportu specjalnego: baner z okładką, karta dostępu nachodząca na baner */
.baner-specjalny { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 64px); align-items: center; }
.baner-specjalny .okladka { margin-bottom: -6px; outline: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 26px 60px rgba(0, 0, 0, .38); }
.fakty { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.fakty li { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; color: #dbe7f1; background: rgba(255, 255, 255, .06); font-size: 13px; font-weight: 600; }
.fakty .fakt-ikona { display: inline-flex; align-items: center; padding: 7px 11px; }
.fakty .fakt-ikona svg { width: 18px; height: 18px; }
.ukryty-tekst { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.dostep-karta {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  align-items: center;
  margin-top: clamp(40px, 5vw, 56px);
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}
.dostep-karta .stan-dostepu { margin: 0; color: var(--navy-900); font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.dostep-karta .stan-dostepu + p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.dostep-karta .przyciski { display: flex; flex-wrap: wrap; gap: 10px; }
.dostep-karta .komunikat { grid-column: 1 / -1; margin: 0; }
.dostep-karta .pod { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 13px; }
.dostep-karta--pobranie { grid-template-columns: minmax(0, 1fr); }
.dostep-karta--pobranie > [data-widok="po"] { grid-row: 1 / span 2; grid-column: 1; align-self: center; }
.dostep-karta--pobranie > div[data-widok="przed"][hidden] { display: block; visibility: hidden; }
.dostep-karta--pobranie > form[data-widok="przed"][hidden] { display: grid; visibility: hidden; }
.pobranie { display: grid; gap: 14px; }
.pobranie-wiersz { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.pobranie .wybor { font-size: 13px; }
.pobranie .informacja { margin: 0; padding-left: 32px; color: var(--muted); font-size: 12px; text-wrap-style: balance; }
.zgoda-pelna { margin: -4px 0 0; padding-left: 32px; color: var(--muted); font-size: 12px; }
.zgoda-pelna summary { width: fit-content; color: var(--navy-900); font-weight: 700; cursor: pointer; }
.zgoda-pelna p { margin: 8px 0 0; text-wrap-style: pretty; }
.klauzula-link { display: flex; flex-wrap: wrap; gap: 4px 16px; }
@media (max-width: 520px) {
  .pobranie-wiersz { grid-template-columns: minmax(0, 1fr); }
  .pobranie .informacja, .zgoda-pelna { padding-left: 0; }
}

.rozdzial--zalacznik .nr { color: #0a6f92; }

/* okładka raportu z pliku (raporty archiwalne) */
img.okladka--obraz { display: block; width: 100%; height: auto; padding: 0; object-fit: cover; background: white; }

/* miniatura raportu 1:1 — na razie pusty granatowy kwadrat, docelowo grafika dla każdego raportu */
.miniatura { aspect-ratio: 1; border-radius: 14px; background: var(--navy-900); }

/* seria na stronie głównej i na stronie serii: opis, rytm, wydania jako kafle z miesiącami */
.tresc .opis-serii { max-width: 760px; color: #4a6277; }
.rytm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 0 !important;
  padding: 8px 15px 8px 12px;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  color: #17804f !important;
  background: var(--accent-soft);
  font-size: 13px !important;
  font-weight: 700;
}
.rytm svg { width: 16px; height: 16px; }
.wiersz-serii { display: flex; justify-content: flex-start; margin-top: 20px; }
.wiersz-serii .akcja-strzalka { margin-top: 4px; }
.miesiace { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 26px; }
.miesiac {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--navy-900);
  background: white;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
  transition: border-color .18s, box-shadow .18s;
}
.miesiac:hover { border-color: #b9cbd9; box-shadow: 0 4px 14px rgba(4, 35, 65, .07); }
.miesiac .nazwa-miesiaca { flex: 1; white-space: nowrap; }
.miesiac .format { padding: 5px 10px; border-radius: 999px; color: #5c7d99; background: rgba(6, 44, 89, .07); font-size: 11px; letter-spacing: .12em; }
.miesiac svg { flex: none; width: 17px; height: 17px; color: var(--accent); }
.miesiac svg[hidden] { display: none; }
.miesiac:after { content: ""; transition: transform .18s; }
.miesiac:hover:after { transform: translateX(3px); }
.miesiac--najnowsze { border-color: var(--accent); color: white; background: var(--accent); }
.miesiac--najnowsze:hover { border-color: #24a465; background: #24a465; }
.miesiac--najnowsze svg { color: white; }
.miesiac svg[data-brak-dostepu-do], .wydanie .klodka[data-brak-dostepu-do] { color: #a3b3c2; }
.miesiac--najnowsze svg[data-brak-dostepu-do] { color: rgba(255, 255, 255, .6); }
.rok-wydan { margin: 26px 0 0; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.rok-wydan + .miesiace { margin-top: 10px; }
.wydania--1 { grid-template-columns: minmax(0, 1fr); max-width: 50%; }

/* pełny dostęp: korzyści po lewej, ceny i wezwanie po prawej */
.promo-znak {
  display: inline-block;
  width: fit-content;
  margin: 0;
  padding: 7px 10px 6px 12px;
  border-radius: 999px;
  color: white !important;
  background: var(--accent);
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}
.cennik--pelny { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(26px, 3.5vw, 44px); align-items: center; padding: clamp(28px, 3.5vw, 40px); }
.tresc .cennik--pelny { margin-top: 0; }
.cennik--pelny h2 { margin: 0 0 22px; color: white; }
.korzysci { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.korzysci li { position: relative; padding-left: 30px; color: #dbe7f1; font-size: 15px; line-height: 1.45; }
.korzysci li:before {
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1.5 5.2l3 3 6-6.7' fill='none' stroke='%23062c59' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px 9px no-repeat;
  content: "";
}
.ceny dd s, .cena-pakietu s { margin-right: 6px; color: #8193a1; font-weight: 400; }
.ceny dd { white-space: normal; }
.cena { white-space: nowrap; }
.cennik-prawa { position: relative; }
.kod-link { margin: 12px 0 0 !important; color: #b7cbdd !important; font-size: 13px !important; text-align: center; }
:is(.cennik, .paywall-karta) .link { color: white; text-decoration-color: rgba(255, 255, 255, .4); }

/* warianty dostępu: ramka na wariant (nazwa, zakres, cena, cena dla członków), te same wiersze
   w sąsiednich ramkach na jednej wysokości (subgrid); układ zależy od szerokości karty, nie ekranu */
:has(> .warianty) { container-type: inline-size; }
.warianty { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.wariant {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  row-gap: 0;
  padding: 22px 20px 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  color: white;
  background: rgba(255, 255, 255, .05);
  text-align: left;
}
.wariant .promo-znak { position: absolute; z-index: 1; top: 0; left: 18px; margin: 0; transform: translateY(-50%); }
.wariant .wariant-nazwa { grid-row: 1; margin: 0; color: white; font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.wariant .wariant-zakres { grid-row: 2; margin: 4px 0 0; color: #91a7bc; font-size: 13px; line-height: 1.4; }
.wariant .wariant-ceny { display: grid; grid-row: 3; align-content: end; gap: 2px; margin: 16px 0 0; }
.wariant .wariant-ceny :is(dt, dd) { margin: 0; padding: 0; border: 0; text-align: inherit; }
.wariant .cena-glowna dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wariant .cena-glowna dd { color: white; font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.wariant .cena-glowna s { margin-right: 4px; color: #8ea3b7; font-size: 14px; font-weight: 400; letter-spacing: 0; }
.wariant .cena-glowna .brutto { color: #8ea3b7; font-size: 11px; font-weight: 300; letter-spacing: .02em; }
.wariant .cena-czlonkow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; color: var(--accent); font-size: 13px; line-height: 1.4; }
.wariant .cena-czlonkow dd { font-weight: 700; }
/* jedna kolumna na szerszej karcie: nazwa i zakres z lewej, ceny z prawej */
@container (min-width: 420px) {
  .wariant { grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: center; }
  .wariant .wariant-ceny { grid-column: 2; grid-row: 1 / span 2; margin: 0; text-align: right; }
  .wariant .cena-czlonkow { justify-content: flex-end; }
}
/* ramki obok siebie, gdy każda ma co najmniej ok. 230 px */
@container (min-width: 520px) {
  .warianty--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
}
@container (min-width: 760px) {
  .warianty--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
}
@container (min-width: 520px) {
  .warianty--2 .wariant { grid-row: span 3; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); align-items: start; }
  .warianty--2 .wariant .wariant-ceny { grid-column: 1; grid-row: 3; margin-top: 16px; text-align: left; }
  .warianty--2 .wariant .cena-czlonkow { justify-content: flex-start; }
}
@container (min-width: 760px) {
  .warianty--3 .wariant { grid-row: span 3; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); align-items: start; }
  .warianty--3 .wariant .wariant-ceny { grid-column: 1; grid-row: 3; margin-top: 16px; text-align: left; }
  .warianty--3 .wariant .cena-czlonkow { justify-content: flex-start; }
}
.warianty:has(.promo-znak) { margin-top: 12px; }

.przycisk--obrys-jasny { border: 1.5px solid rgba(255, 255, 255, .4); background: transparent; }
.przycisk--obrys-jasny:hover { border-color: white; background: rgba(255, 255, 255, .08); }
.nazwa-pakietu .promo-znak { margin-left: 8px; padding: 4px 9px; font-size: 10px !important; vertical-align: 2px; }
.pole-kodu { font-family: ui-monospace, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; }

/* kafle „najnowsze”: zamiast wezwania strzałka po prawej, kłódka obok niej */
.wydania .wydanie { gap: 14px; justify-content: flex-start; padding: 24px 104px 26px 26px; }
.wydania .wydanie:after {
  position: absolute;
  top: 50%;
  right: 28px;
  color: var(--navy-900);
  font-size: 22px;
  line-height: 1;
  content: "";
  transform: translateY(-50%);
  transition: transform .18s, color .18s;
}
.wydania .wydanie:hover:after { color: var(--accent); transform: translate(3px, -50%); }
.wydania .wydanie--biezace:after { color: var(--accent); }
.wydania .wydanie .klodka { top: 50%; right: 64px; transform: translateY(-50%); }
.wydania .wydanie h2 { padding-right: 0; font-size: 23px; line-height: 1.18; }
.wydania .wydanie .rodzaj { margin-bottom: 0; }
.wydania .wydanie .opis-kafla { margin: -6px 0 0; }
.wydania .wydanie--zielony { border-color: var(--accent); background: var(--accent); }
.wydania .wydanie--zielony:hover { border-color: #24a465; background: #24a465; }
.wydanie--zielony h2, .wydania .wydanie--zielony:after, .wydania .wydanie--zielony:hover:after { color: white; }
.wydanie--zielony .opis-kafla { color: white; }
.wydanie--zielony .rodzaj--seria { color: white; background: var(--navy-900); }

/* raport specjalny: ceny i kontakt pod banerem, jeden przycisk dla obu opcji */
.cennik--raport { margin-top: clamp(40px, 5vw, 56px); }
.cennik--raport h2 { margin: 0 0 26px; color: white; font-size: clamp(24px, 2.6vw, 33px); line-height: 1.15; letter-spacing: -.03em; }
.wstep-cennika { max-width: 660px; margin: 0 0 26px; color: #b7cbdd; font-size: 15px; text-wrap-style: balance; }
.cennik--raport .komunikat { margin: 0 0 22px; }
.cennik-akcje { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 32px; text-align: center; }
.cennik-akcje p { margin: 0; color: #b7cbdd; font-size: 13px; }
.dokument--pusty { min-height: 360px; }
.okladka--zastepcza { background: white; }
.okladka--zastepcza:before { content: none; }
.pakiet:has(input:checked) { background: #f6fcf9; box-shadow: inset 0 0 0 2px var(--accent); }

/* -------------------------------------------- nagłówek wspólny (przyklejony) */

:root { --naglowek-h: 72px; }
.naglowek { position: fixed; top: 0; right: 0; left: 0; z-index: 50; color: white; transition: background .2s, box-shadow .2s; }

.naglowek.przewiniety, .naglowek.menu-otwarte { background: #041f3e; box-shadow: 0 6px 24px rgba(0, 10, 25, .2); }
.naglowek.menu-otwarte { background: #041f3e; }
.naglowek-wnetrze { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--naglowek-h); }
.naglowek .logo { display: block; line-height: 0; transition: opacity .2s; }
.naglowek .logo img { width: 210px; height: auto; }
.naglowek--glowna:not(.logo-widoczne):not(.menu-otwarte) .logo { opacity: 0; pointer-events: none; }
.naglowek .wyloguj { margin: 0; }
.naglowek + .baner { padding-top: calc(var(--naglowek-h) + clamp(28px, 4vw, 44px)); }
.naglowek + .baner--marka { padding-top: calc(var(--naglowek-h) + var(--odstep)); }
.naglowek + .baner:not(.baner--marka) { padding-bottom: calc(52px + clamp(28px, 4vw, 44px)); }
.menu-strony { display: none; width: 44px; height: 44px; place-items: center; padding: 0; border: 0; color: white; background: none; cursor: pointer; }
.menu-strony .menu-ico { position: relative; display: block; width: 20px; height: 14px; }
.menu-strony .menu-ico i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s, top .2s; }
.menu-strony .menu-ico i:nth-child(1) { top: 0; }
.menu-strony .menu-ico i:nth-child(2) { top: 6px; }
.menu-strony .menu-ico i:nth-child(3) { top: 12px; }
.menu-strony[aria-expanded="true"] .menu-ico i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-strony[aria-expanded="true"] .menu-ico i:nth-child(2) { opacity: 0; }
.menu-strony[aria-expanded="true"] .menu-ico i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.menu-strony-panel { max-height: calc(100dvh - var(--naglowek-h)); padding: 4px 0 24px; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid rgba(255, 255, 255, .1); }
.menu-strony-panel a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); color: white; font-size: 17px; font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
.menu-strony-panel a[aria-current="page"]:not(.menu-jezyki a) { color: var(--accent); }
.menu-jezyki { display: flex; gap: 20px; margin: 18px 0 0; }
.menu-jezyki a { display: inline; padding: 0; border: 0; color: #91a7bc; font-size: 14px; }
.menu-jezyki .wybrany { color: var(--accent); }
@media (min-width: 721px) { html:not(:has(.sidebar)) .menu-strony-panel { display: none !important; } }
@media (min-width: 1051px) {
  html:has(.sidebar) .menu-strony-panel { display: none !important; }
  html:has(.sidebar) .naglowek { left: 252px; }
}
@media (max-width: 1050px) {
  html:has(.sidebar) .menu-strony-panel > .srodek { max-width: var(--kolumna); padding: 0 var(--margines); }
}

/* ------------------------------------------------------------------ telefon */

@media (max-width: 1000px) {
  .kategorie, .wydania--3, .specjalne { grid-template-columns: minmax(0, 1fr); }
  .wydania--1 { max-width: none; }
  .wydania { grid-template-columns: minmax(0, 1fr); }
  .wydania .wydanie { padding-right: 84px; }
  .specjalny { flex-direction: row; align-items: stretch; }
  .specjalny-okladka { position: relative; flex: 0 0 180px; }
  .specjalny-okladka .miniatura { height: 100%; min-height: 120px; }
  .baner-specjalny { grid-template-columns: minmax(0, 1fr) 200px; }
}
@media (max-width: 960px) {
  .zamowienie { grid-template-columns: minmax(0, 1fr); }
  .zamowienie > aside { position: static; order: -1; }
}
@media (max-width: 720px) {
  .wydania, .pakiety { grid-template-columns: minmax(0, 1fr); }
  .wyslij .przycisk { justify-self: stretch; }
  .pakiet { grid-template-columns: minmax(0, 1fr); }
  .pakiet .cena-pakietu { grid-column: 1; grid-row: auto; margin-top: 8px !important; text-align: left; white-space: normal; }
  .dostepy li { grid-template-columns: minmax(0, 1fr); }
  .dostepy .akcje { justify-content: flex-start; }
  .dane-konta { grid-template-columns: minmax(0, 1fr); }
  .dane-konta dt { padding-bottom: 0; border-bottom: 0; }
  .wydania, .nachodzi { margin-top: -34px; }
  .baner-specjalny { grid-template-columns: minmax(0, 1fr); }
  .baner-specjalny .okladka { order: -1; width: 140px; margin: 0 0 6px; }
  .dostep-karta { grid-template-columns: minmax(0, 1fr); margin-top: 32px; padding: 22px; }
  .dostep-karta .przyciski .przycisk:not(.przycisk--kwadrat) { flex: 1 1 auto; }
  .cennik--raport { margin-top: 32px; }
  .wydania .wydanie { padding-right: 58px; }
  .wydania .wydanie:after { right: 22px; }
  .wydania .wydanie .klodka { right: 50px; }
  .wydania .wydanie:has(.klodka:not([hidden])) { padding-right: 84px; }
  .specjalny-opis { padding: 18px; }
  .pasek-gorny .logo img { width: 160px; }
  .baner--marka { padding-bottom: calc(var(--odstep) + 34px); }
  .pasek-akcje { gap: 10px; }
  .pasek-akcje .jezyki { margin-right: 4px; }
  .pasek-akcje .przycisk { padding: 0 12px; }
  .pasek-akcje .przycisk svg { display: none; }
  :root { --naglowek-h: 62px; --radius: 14px; }
  .baner-wzor { top: 20px; right: -260px; width: 420px; opacity: .15; }
  .przycisk { border-radius: 12px; }
  .miesiac, .dostepy li, .pakiet, .archiwum, .wariant, .w-wydaniu-karta, .kpi, .report-block, .notes { border-radius: 12px; }
  .specjalne { grid-auto-rows: 1fr; }
  .naglowek .logo img { width: 140px; }
  .baner .marka img { width: 270px; }
  .naglowek .jezyki, .naglowek .wykup { display: none; }
  .naglowek .pasek-akcje { gap: 4px; }
  .naglowek .przycisk--ikona { width: 44px; height: 44px; padding: 0; justify-content: center; border-color: transparent; background: none; }
  .naglowek .przycisk--ikona svg { display: block; width: 21px; height: 21px; }
  .naglowek .przycisk--ikona .etykieta { display: none; }
  .menu-strony { display: grid; }
  .naglowek + .baner { padding-top: calc(var(--naglowek-h) + 40px); padding-bottom: 96px; }
  .baner--marka { --odstep: 64px; }
  .naglowek + .baner--marka { padding-bottom: calc(var(--odstep) + 40px); }
  .wydania .wydanie h2 { font-size: 19px; }
  .wydania .wydanie .opis-kafla { font-size: 13px; }
  .specjalny { flex-direction: row; align-items: center; }
  .specjalny-okladka { flex: 0 0 96px; align-self: stretch; }
  .specjalny-okladka .miniatura { height: 100%; min-height: 96px; }
  .specjalny .fakty-krotko { display: none; }
  .specjalny h3 { font-size: 16px; }
  .wkrotce { top: 8px; right: auto; left: 8px; padding: 5px 7px 4px 8px; font-size: 10px; }
  .stopka-wnetrze { gap: 18px; }
  .stopka nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; width: 100%; font-size: 13px; }
  .sep { display: none; }
  .drugi-kontakt > span:not(.sep), .paywall-akcje .tylko-gosc, .cennik-akcje .tylko-gosc { display: block; margin-top: 4px; }
  .pola--2, .pola--kod { grid-template-columns: minmax(0, 1fr); }
  .stopka-wnetrze { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) {
  .ekran { padding-top: 76px; }
  .ekran-logo { width: 220px; margin-bottom: 24px; }
  .jezyki--rog { top: 18px; right: 18px; }
  .karta-formularza { padding: 26px 22px; }
}

/* ścieżka nad tytułem na banerze (strona kategorii) */
.okruszki-baner { margin: 0 0 14px; color: #91a7bc; font-size: 13px; font-weight: 300; letter-spacing: .02em; }
.okruszki-baner a { color: #91a7bc; text-decoration: none; transition: color .18s; }
.okruszki-baner a:hover { color: white; }

/* pułapka antyspamowa w zgłoszeniu: poza ekranem, nie display:none (boty to sprawdzają) — bezpieczenstwo.md 4.1 */
.pulapka { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* wylogowanie to formularz POST (bezpieczenstwo.md 3.1); nie zmienia układu wokół siebie */
.wyloguj { display: contents; }

/* karta pełnego dostępu: tekst nad ramkami, gdy obok nie zmieszczą się dwie ramki z ceną w jednej linii */
.cennik-prawa > .przycisk { margin-top: 18px; }
.cennik-prawa > .kod-link { text-align: center; }
@media (max-width: 1150px) { .cennik--pelny { grid-template-columns: minmax(0, 1fr); } }

/* strona główna: wezwania pod podtytułem */
.baner-akcje { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 720px) { .baner-akcje { margin-top: 24px; } }
/* sekcja z opisem nad kaflami (raporty archiwalne) */
.opis-serii + .specjalne { margin-top: 26px; }
.przycisk:disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }

.zgody-baner {
  position: fixed;
  right: 16px;
  bottom: calc(16px + var(--makieta-h, 0px));
  left: 16px;
  z-index: 9000;
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #4a6277;
  background: white;
  box-shadow: var(--shadow);
  font-size: 13px;
}
.zgody-baner p { margin: 0; text-wrap-style: balance; }
.zgody-przyciski { display: flex; flex-wrap: wrap; gap: 10px; }
.zgody-przyciski .przycisk--jasny { border: 1px solid #cfdbe4; color: var(--navy-900); background: white; }
.zgody-przyciski .przycisk--jasny:hover { border-color: #b3c5d3; background: #f7fafb; }
.zgody-okno {
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 28px;
  border: 0;
  border-radius: 18px;
  color: #4a6277;
  background: white;
  box-shadow: var(--shadow);
  font-size: 14px;
}
.zgody-okno::backdrop { background: rgba(4, 25, 50, .45); }
.zgody-okno form { position: relative; display: grid; gap: 16px; }
.zgody-okno h2 { margin: 0; color: var(--navy-900); font-size: 20px; letter-spacing: -.02em; }
.zgody-okno details summary { color: var(--navy-900); font-weight: 700; cursor: pointer; }
.zgody-okno .tabela-scroll { overflow-x: auto; margin-top: 12px; }
.zgody-wykaz { width: 100%; border-collapse: collapse; font-size: 12px; }
.zgody-wykaz th, .zgody-wykaz td { padding: 8px 10px 8px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.zgody-wykaz th { color: var(--navy-900); font-weight: 700; white-space: nowrap; }
.zgody-zamknij { position: absolute; top: -12px; right: -10px; width: 36px; height: 36px; border: 0; border-radius: 50%; color: var(--navy-900); background: transparent; font-size: 24px; line-height: 1; cursor: pointer; }
.zgody-zamknij:hover { background: #f1f5f8; }
.stopka .link-ustawienia { padding: 0; border: 0; text-align: left; justify-self: start; color: #91a7bc; background: none; font: inherit; cursor: pointer; transition: color .18s; }
.stopka .link-ustawienia:hover { color: white; }
@media print { .zgody-baner, .naglowek, .stopka, .baner-wzor { display: none !important; } body:has(> .stopka) { min-height: 0; } }
.ekran-pod .link-ustawienia { padding: 0; border: 0; color: #7f95aa; background: none; font: inherit; font-weight: 700; cursor: pointer; transition: color .18s; }
.ekran-pod .link-ustawienia:hover { color: white; }
:root { --grot-prawo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 14'%3E%3Cpath d='M1.5 1.5 6.5 7l-5 5.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); --grot-lewo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 14'%3E%3Cpath d='M6.5 1.5 1.5 7l5 5.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.wydanie .akcja:after, .wydania .wydanie:after, .akcja-strzalka:after, .archiwum a:after, .specjalny .akcja:after, .miesiac:after { content: ""; display: inline-block; width: .5em; height: .85em; vertical-align: -.06em; background-color: currentColor; -webkit-mask: var(--grot-prawo) center / contain no-repeat; mask: var(--grot-prawo) center / contain no-repeat; }
.wstecz:before { content: ""; display: inline-block; width: .5em; height: .85em; margin-right: .45em; vertical-align: -.06em; background-color: currentColor; -webkit-mask: var(--grot-lewo) center / contain no-repeat; mask: var(--grot-lewo) center / contain no-repeat; }
