/* IČO Hlídač — jediný sdílený styl (statický web i aplikace). Bez externích písem a ikon. */

:root {
  color-scheme: light;
  --bg: #f4f6f5;
  --bg-elev: #ffffff;
  --ink: #14211c;
  --muted: #4d5c55;
  --line: #d7e0db;
  --line-strong: #5a6e66;
  --accent: #0c6b52;
  --accent-ink: #ffffff;
  --accent-soft: #e5f5ef;
  --link: #0a5c46;
  --focus: #0c6b52;
  --ok: #0e6b45;
  --ok-bg: #e5f6ec;
  --warn: #8a4b08;
  --warn-bg: #fff4e0;
  --bad: #9f1d2c;
  --bad-bg: #fde8ea;
  --info: #184e78;
  --info-bg: #e7f1fa;
  --shadow: 0 1px 2px rgba(16, 32, 26, 0.05), 0 16px 40px rgba(16, 32, 26, 0.06);
  --radius: 14px;
  --radius-sm: 10px;
  --space: 8px;
  --max: 72rem;
  --font: ui-sans-serif, system-ui, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Liberation Mono", monospace;
  --header: rgba(244, 246, 245, 0.92);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #101614;
    --bg-elev: #1a2320;
    --ink: #edf3f0;
    --muted: #b7c4bd;
    --line: #5e756d;
    --line-strong: #7a948a;
    --accent: #3dbe9a;
    --accent-ink: #06281e;
    --accent-soft: #16352c;
    --link: #8ee0c4;
    --focus: #8ee0c4;
    --ok: #b6f0cf;
    --ok-bg: #163528;
    --warn: #ffd89a;
    --warn-bg: #3a2c14;
    --bad: #ffc1c7;
    --bad-bg: #3f1c22;
    --info: #c5dff6;
    --info-bg: #163044;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 16px 40px rgba(0, 0, 0, 0.28);
    --header: rgba(16, 22, 20, 0.9);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background-color: var(--bg); }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 420px at 80% -10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
    var(--bg);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.4rem 0.7rem;
  z-index: 20;
  border-radius: 8px;
}

.skip:focus { top: 0.75rem; }

a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }

a:focus-visible,
button:focus-visible,
.button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.top a { color: var(--ink); text-decoration: none; }
.top a:hover { color: var(--link); }

.bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  font-size: 1.12rem;
}

.brand .mark { color: var(--accent); flex: none; }
.brand .logo-full svg { display: block; height: 47px; width: auto; }
.brand .logo-mark { display: none; }
.brand .lock, a.lock-link svg.lock { vertical-align: -2px; margin-right: 0.2rem; }
@media (max-width: 40rem) {
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand .logo-full svg { height: 28px; max-width: 100%; }
  header.top .bar { align-items: center; flex-wrap: wrap; }
  header.top .nav-toggle-label { flex: none; margin-left: auto; }
}

.bar nav, header.top nav, header.hero-bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.15rem;
}

.bar nav a, header.top > nav a, header.hero-bar nav a {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
}

.bar nav a:hover, header.top > nav a:hover, header.hero-bar nav a:hover {
  background: var(--accent-soft);
  color: var(--ink);
}

.bar nav a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 700;
}

header.hero-bar, header.top:not(:has(.bar)) {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  padding: 10px 7vw;
}

h1, h2, h3 {
  font-family: var(--font);
  line-height: 1.15;
  font-weight: 720;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.05rem, 4.4vw, 3.35rem); margin: 0.25rem 0 0.85rem; }
h2 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.12rem; margin: 0 0 0.4rem; letter-spacing: -0.02em; }

.hero { padding: 4.5rem 0 0.5rem; }
.band { padding-top: 7.5rem; }
.band > h2 { margin-bottom: 1.35rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem 2.5rem;
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.lead { font-size: 1.16rem; max-width: 40rem; color: var(--ink); }

.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.15rem 0; }

.button, button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  border: 0;
  padding: 0.62rem 1rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  margin: 0;
}

.button:hover, button:hover { filter: brightness(1.06); }
a.button { color: var(--accent-ink); }

.button.primary,
button.primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.button.secondary,
.button.ghost,
button.secondary {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

.button.secondary:hover,
.button.ghost:hover,
button.secondary:hover { background: var(--accent-soft); filter: none; color: var(--ink); }

button:disabled,
.button:disabled {
  opacity: 1;
  cursor: not-allowed;
  filter: none;
  background: color-mix(in srgb, var(--ink) 14%, var(--bg-elev));
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

.section { padding: 1.4rem 0 0.4rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
  gap: 0.9rem;
}

.card, .price, .sheet, .faq details, .check-card, .mail-preview, .empty {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem 1.15rem;
  box-shadow: var(--shadow);
}

.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 1.15rem; }
.steps .card h3 { display: flex; gap: 0.6rem; align-items: baseline; }

.price { display: flex; flex-direction: column; gap: 0.35rem; height: 100%; }
.price h3 { margin: 0.15rem 0 0; }
.price ul { margin: 0.2rem 0 0.8rem; padding-left: 1.15rem; }
.price li { margin: 0.2rem 0; }
.price .button,
.price button { margin-top: auto; width: 100%; }
.price.current { outline: 2px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--bg-elev)); }
.grid.prices-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.prices-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
main.cenik-stranka.prose { max-width: min(72rem, 100%); }
.prose .grid.prices-4 { width: auto; margin-left: 0; transform: none; }
html { scroll-padding-top: 5.75rem; }
h1, #obsah { scroll-margin-top: 5.75rem; }
.vas-tarif {
  margin-top: auto;
  text-align: center;
  font-weight: 700;
  padding: 0.62rem 1rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink);
}
#cenik-tabulka { display: block; width: 100%; max-width: 100%; overflow-x: auto; }
#cenik-tabulka table { min-width: 0; width: 100%; }
.porovnani th, .porovnani td { overflow-wrap: anywhere; }
main.cenik-stranka { overflow-x: clip; }
.porovnani { width: 100%; border-collapse: collapse; }
.porovnani caption { text-align: left; padding: 0.75rem 0.9rem 0; font-weight: 650; }
.porovnani th, .porovnani td { text-align: center; padding: 0.55rem 0.45rem; border-bottom: 1px solid var(--line); }
.porovnani th[scope="row"] { text-align: left; font-weight: 650; }
.porovnani .ano { color: var(--ok); font-weight: 750; }
.porovnani .ne { color: var(--muted); }
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
form.card select {
  width: 100%;
  font: inherit;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--ink);
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.panel { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.05rem 1.15rem; box-shadow: var(--shadow); }
.alert {
  background: var(--info-bg);
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--info) 40%, var(--line));
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
}
.alert.warn, p.warn.alert { background: var(--warn-bg); border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.7rem; margin: 0 0 1rem; }
.facts div { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.75rem 0.9rem; }
.facts dt { margin: 0; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.facts dd { margin: 0.2rem 0 0; font-weight: 700; }
.prose h1, .page h1 { font-size: clamp(1.65rem, 2.6vw, 2.15rem); }
.footer-grid { display: grid; grid-template-columns: minmax(16rem, 24rem) minmax(0, 1fr); gap: 1.25rem 2rem; align-items: start; }
.price strong {
  display: block;
  font-size: 2rem;
  letter-spacing: -0.04em;
  margin: 0.2rem 0;
}
.price .tag, .tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}
.price.featured { outline: 2px solid var(--accent); }

.note, .muted, .meta { color: var(--muted); }
.meta { font-size: 0.92rem; }

.check-card label, form.card label, .card label {
  display: block;
  font-weight: 650;
  margin: 0.35rem 0 0.3rem;
}

.check-card .row, .form-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.file-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin: 0.35rem 0 0.75rem;
}
.file-picker label { margin: 0; }
.file-picker input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.file-picker .file-picker-name { color: var(--muted); font-weight: 500; }

input[type="email"],
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
select,
textarea {
  width: 100%;
  max-width: 100%;
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

input:user-invalid,
select:user-invalid,
textarea:user-invalid {
  border-color: var(--bad);
  box-shadow: 0 0 0 1px var(--bad);
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  box-shadow: 0 0 0 1000px var(--bg) inset;
}

input[type="checkbox"],
input[type="radio"] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--accent);
  margin: 0.15rem 0.45rem 0 0;
  vertical-align: middle;
  flex: none;
}


.check-card input { margin: 0; flex: 1; }
.check-card .row button { flex: none; }

.sources li, .plain li { margin: 0.4rem 0; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-elev); }
.table-wrap:not(.stack)::before { content: none; }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-elev);
}

th, td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th { background: color-mix(in srgb, var(--accent) 8%, var(--bg-elev)); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }

tr:last-child td { border-bottom: 0; }

.nowrap { white-space: nowrap; }
.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin: 0.8rem 0 1rem; }
.filters a {
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.92rem;
}
.filters a:hover { border-color: var(--accent); color: var(--link); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.12rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  background: var(--info-bg);
  color: var(--info);
  margin: 0.1rem 0.15rem 0.1rem 0;
}
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.muted { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }

.signal {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.6rem;
  font-weight: 700;
}
.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--muted);
  flex: none;
}
.dot.ok, .signal-ok .dot { background: #1f9d55; }
.dot.warn { background: #d0891a; }
.dot.bad { background: #d3263a; }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.signal-warn .dot { background: #d0891a; }
.signal-bad .dot { background: #d3263a; }
.signal-muted .dot { background: #8b978f; }

.warn {
  background: var(--warn-bg);
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--warn) 45%, var(--line));
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
}

.demo {
  background: var(--bad);
  color: var(--bad-bg);
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-weight: 750;
  border-radius: 6px;
}

.empty { text-align: left; }
.empty h2 { margin-top: 0; }

.mail-preview { max-width: 40rem; }
.mail-preview header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  margin: -0.2rem 0 0.8rem;
  padding-bottom: 0.7rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.faq details + details { margin-top: 0.55rem; }
.faq summary { cursor: pointer; font-weight: 700; }

footer {
  margin-top: 3rem;
  padding: 1.5rem 0 2.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

footer nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; margin-bottom: 0.7rem; }

.prose { max-width: 44rem; padding-bottom: 1rem; }
.prose h2 { margin-top: 1.8rem; }

main { padding: 1.6rem 0 3rem; }
main.wrap, .wrap.prose { padding-top: 1.6rem; }
body > main:not(.wrap) {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

code { font-family: var(--mono); font-size: 0.92em; background: var(--accent-soft); padding: 0.05rem 0.3rem; border-radius: 5px; overflow-wrap: anywhere; }

pre.sheet, .legal pre {
  overflow-x: auto;
  white-space: pre-wrap;
  font-family: var(--mono);
  font-size: 0.88rem;
}

address { font-style: normal; }
address p { margin: 0.35rem 0; }

.placeholder {
  font-family: var(--mono);
  background: var(--accent-soft);
  padding: 0 0.25rem;
  border-radius: 4px;
}

.compare td:first-child { font-weight: 650; }

@media (max-width: 860px) {
  .hero-grid, .check-card .row { grid-template-columns: 1fr; display: grid; }
  .check-card .row { display: grid; }
  h1 { font-size: 2rem; }
}

.page { padding: 1.75rem 0 3rem; }

@media (max-width: 700px) {
  body { font-size: 1rem; }
  .bar { align-items: flex-start; }
  .table-wrap { max-width: 100%; overflow-x: auto; }
  .table-wrap table { min-width: 36rem; }
  .table-wrap:not(.stack)::before {
    content: "Tabulku lze posouvat do strany";
    display: block;
    position: sticky;
    left: 0;
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
  }
  .table-wrap.stack { overflow-x: visible; }
  .table-wrap.stack table,
  .table-wrap.stack tbody,
  .table-wrap.stack tr,
  .table-wrap.stack th,
  .table-wrap.stack td { display: block; min-width: 0; width: auto; }
  .table-wrap.stack thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .table-wrap.stack tr { padding: 0.45rem 0.85rem 0.75rem; border-bottom: 1px solid var(--line); }
  .table-wrap.stack th,
  .table-wrap.stack td { border-bottom: 0; padding: 0.35rem 0; }
  .table-wrap.stack th[scope="row"] { font-size: 1.05rem; padding-top: 0.15rem; }
  .table-wrap.stack td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
  }
  header.hero-bar, header.top:not(:has(.bar)), footer:not(:has(.wrap)) {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; margin: 1.25rem 0 1.5rem; }
.stat { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.stat p { margin: 0; color: var(--muted); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.stat strong { display: block; margin-top: 0.35rem; font-size: 1.8rem; letter-spacing: -0.04em; }
.stat strong span { color: var(--muted); font-size: 1rem; font-weight: 650; }
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.numbers article { padding: 0.4rem 0; }
.numbers strong { display: block; font-size: clamp(2.4rem, 4vw, 3.4rem); letter-spacing: -0.05em; line-height: 1; }
.icon { width: 1.7rem; height: 1.7rem; color: var(--accent); margin-bottom: 0.55rem; }
.stage { display: grid; gap: 0.85rem; align-content: start; }
.mock-window, .mock-mail {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.mock-window { padding: 0.8rem 0.9rem 1rem; }
.mock-bar { display: flex; gap: 0.35rem; margin-bottom: 0.8rem; }
.mock-bar span { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--line-strong); }
.mock-row { display: flex; align-items: center; gap: 0.55rem; padding: 0.55rem 0; border-top: 1px solid var(--line); font-size: 0.92rem; }
.mock-row .grow { margin-left: auto; }
.mock-mail { padding: 0.85rem 0.95rem; }
.mock-mail strong { display: block; margin-bottom: 0.25rem; }
.pill { border-radius: 999px; padding: 0.1rem 0.45rem; font-size: 0.75rem; font-weight: 700; background: var(--ok-bg); color: var(--ok); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }
.dash-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-end; flex-wrap: wrap; }
.toolbar { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.button.lock-link { text-decoration: none; }
.drawer { margin: 0.5rem 0 1rem; }
.drawer summary { cursor: pointer; font-weight: 700; }
.checks label { display: inline-flex; gap: 0.35rem; margin-right: 0.8rem; font-weight: 600; }
.app { background: var(--bg); }
.app-frame { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; padding: 1.2rem 1rem; border-right: 1px solid var(--line); background: var(--bg-elev); display: flex; flex-direction: column; gap: 1rem; }
.side a.brand, .side a.brand:hover { text-decoration: none; }
.check-page { width: min(60rem, 100%); margin-inline: auto; }
.check-form { display: flex; gap: 0.75rem; align-items: flex-end; }
.check-form label { flex: 1; margin: 0; }
.check-form input { margin-bottom: 0; }
.check-form button { margin-bottom: 0; }
.fine { color: var(--muted); font-size: 0.82rem; }
.verdict { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-start; }
.verdict h2 { margin: 0.35rem 0 0.25rem; }
.verdict-badge { font-size: 0.95rem; padding: 0.4rem 0.8rem; }
.verdict-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; min-width: 14rem; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; margin-top: 0.9rem; }
.tile .signal { margin-bottom: 0.35rem; }
.lock { vertical-align: -2px; margin-right: 0.15rem; }
.side nav { display: flex; flex-direction: column; gap: 0.15rem; }
.side nav a { text-decoration: none; color: var(--ink); padding: 0.45rem 0.6rem; border-radius: 8px; }
.side nav a:hover { background: var(--accent-soft); }
.side-foot { margin-top: auto; color: var(--muted); font-size: 0.9rem; }
.app-main { padding: 1.4rem 1.6rem 3rem; min-width: 0; }
.cta-band { background: #14211c; color: #f4f6f5; border-radius: 20px; padding: 2.2rem 2rem; }
.cta-band h2, .cta-band p { color: inherit; }
.cta-band .button { background: #f4f6f5; color: #14211c; }
.cta-band .button.ghost,
.cta-band .button.secondary { background: transparent; color: #f4f6f5; box-shadow: inset 0 0 0 1.5px currentColor; }
.hero-form { margin-top: 1.75rem; }
.result .signal { margin-top: 0; }

@media (max-width: 860px) {
  .stats, .numbers, .tiles, .grid.prices-3, .grid.prices-4, .footer-grid { grid-template-columns: 1fr; }
  .prose .grid.prices-4 { width: 100%; }
  .verdict { flex-direction: column; }
  .check-form { display: block; }
  .check-form button { margin-top: 0.6rem; }
  .app-frame { grid-template-columns: 1fr; }
  .side { border-right: 0; border-bottom: 1px solid var(--line); }
  .side nav { flex-direction: row; flex-wrap: wrap; }
  .side { position: static; height: auto; }
  .band { padding-top: 4rem; }
}

@media print {
  header.top, footer, .noprint, .filters { display: none; }
  body { background: white; color: black; }
  .card, table { box-shadow: none; }
  a { color: inherit; text-decoration: none; }
}

.nav-toggle,
.nav-toggle-label { display: none; }

@media (prefers-color-scheme: dark) {
  .cta-band { background: #06281e; color: #edf3f0; }
  .cta-band .button { background: var(--accent); color: var(--accent-ink); }
  .cta-band .button.ghost,
  .cta-band .button.secondary { background: transparent; color: #edf3f0; }
}

@media (max-width: 40rem) {
  body { overflow-wrap: break-word; }
  .toolbar, .dash-head, .verdict, .check-form, .file-ui { max-width: 100%; }
  img, svg, video, canvas { max-width: 100%; }
  .nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    opacity: 0;
    display: block;
    overflow: hidden;
  }
  .nav-toggle-label {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0 0.85rem;
    border: 2px solid var(--ink);
    border-radius: 4px;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
  }
  .nav-toggle:focus-visible + .nav-toggle-label {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
  }
  header.top .bar nav { display: none; width: 100%; flex-direction: column; }
  header.top .nav-toggle:checked ~ nav { display: flex; }
  .bar nav a { min-height: 2.75rem; display: flex; align-items: center; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .button { text-align: center; }
}
