/* Kontrol priručnik, web: tamnozelena traka sa naslovom, levo spisak poglavlja (lepljiv na širokom ekranu),
   desno tekst u stubu od oko 70 znakova; boje i oblici iz Kontrol dizajn sistema, svetla i tamna tema. */
:root {
  --bg: #ffffff;
  --bg-2: #f4f5f3;
  --text: #121a16;
  --text-2: #4b544f;
  --muted: #636d67;
  --border: #e3e7e3;
  --border-2: #cfd5d0;
  --primary: #1f6b45;
  --primary-light: #ddf1e4;
  --on-primary: #ffffff;
  --tip-bg: #eef7f1;
  --tip-border: #c9e3d3;
  --warn-bg: #fdf5e8;
  --warn-border: #efd5a6;
  --warn-text: #8a5206;
  --hero-bg: #0f3b25;
  --hero-text: #ffffff;
  --hero-muted: rgba(255, 255, 255, 0.8);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171d1a; --bg-2: #0f1412; --text: #eef2ef; --text-2: #a9b4ad; --muted: #8d9891; --border: #29322d; --border-2: #38433d;
    --primary: #5bc98a; --primary-light: #1c3a2a; --on-primary: #08190f; --tip-bg: #15301f; --tip-border: #24493a;
    --warn-bg: #3a2a10; --warn-border: #5a4318; --warn-text: #f2c27a; --hero-bg: #133524; --hero-text: #eef2ef; --hero-muted: rgba(238, 242, 239, 0.78);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #171d1a; --bg-2: #0f1412; --text: #eef2ef; --text-2: #a9b4ad; --muted: #8d9891; --border: #29322d; --border-2: #38433d;
  --primary: #5bc98a; --primary-light: #1c3a2a; --on-primary: #08190f; --tip-bg: #15301f; --tip-border: #24493a;
  --warn-bg: #3a2a10; --warn-border: #5a4318; --warn-text: #f2c27a; --hero-bg: #133524; --hero-text: #eef2ef; --hero-muted: rgba(238, 242, 239, 0.78);
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; }
a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
strong, .ui { font-weight: 600; }
code { font-family: var(--mono); font-size: 0.88em; background: var(--bg-2); border: 1px solid var(--border); border-radius: 4px; padding: 0 0.3em; overflow-wrap: anywhere; }

/* Traka sa naslovom */
.hero { background: var(--hero-bg); color: var(--hero-text); margin-top: calc(-1 * env(safe-area-inset-top, 0px)); padding-top: calc(env(safe-area-inset-top, 0px) + 3rem); padding-bottom: 2.75rem; }
.hero-inner { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 2rem; }
.brand-mark { width: 40px; height: 40px; }
.brand-word { font-size: 1.25rem; font-weight: 700; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; margin: 0 0 0.75rem; text-wrap: balance; }
.hero-sub { font-size: 1.125rem; color: var(--hero-muted); margin: 0 0 1rem; max-width: 40rem; }
.hero-meta { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hero-muted); margin: 0; }

/* Raspored */
.layout { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 2.5rem 4rem; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 3.5rem; }
.side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 1.5rem); align-self: start; max-height: calc(100vh - 3rem); overflow-y: auto; }
.side-title { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.75rem; }
.side ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side a { display: flex; gap: 0.6rem; align-items: baseline; padding: 0.4rem 0.6rem; border-radius: 10px; color: var(--text-2); text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
.side a:hover { background: var(--bg-2); color: var(--text); }
.nav-num { font-variant-numeric: tabular-nums; color: var(--primary); font-weight: 600; font-size: 0.8125rem; min-width: 1.4rem; }
.content { min-width: 0; max-width: 46rem; }

/* Poglavlje */
.chapter { padding-top: 1rem; margin-bottom: 4rem; scroll-margin-top: 1rem; }
.opener { border-bottom: 1px solid var(--border); padding-bottom: 1.75rem; margin-bottom: 1.5rem; }
.opener-mark { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.opener-num { font-size: 2.75rem; line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--primary); font-variant-numeric: tabular-nums; }
.opener-tile { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; }
.opener-icon { width: 22px; height: 22px; }
.opener h2 { font-size: clamp(1.6rem, 3.5vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; margin: 0 0 0.75rem; text-wrap: balance; }
.opener-intro p { font-size: 1.0625rem; color: var(--text-2); }
.chapter-toc { background: var(--bg-2); border-radius: 16px; padding: 1rem 1.25rem; margin-top: 1.25rem; }
.overline { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.chapter-toc ul { list-style: none; margin: 0.5rem 0 0; padding: 0; columns: 2 14rem; column-gap: 1.5rem; }
.chapter-toc li { break-inside: avoid; margin-bottom: 0.3rem; font-size: 0.9375rem; }
.chapter-toc a { color: var(--text); text-decoration: none; }
.chapter-toc a:hover { color: var(--primary); text-decoration: underline; }
h3 { font-size: 1.375rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; margin: 2.25rem 0 0.6rem; scroll-margin-top: 1rem; text-wrap: balance; }
h4 { font-size: 1.0625rem; font-weight: 600; color: var(--primary); margin: 1.6rem 0 0.4rem; scroll-margin-top: 1rem; }
p { margin: 0 0 0.85rem; }
ul { margin: 0 0 1rem; padding-left: 1.25rem; }
ul li { margin-bottom: 0.35rem; }
ul li::marker { color: var(--primary); }
ol.steps { list-style: none; counter-reset: step; margin: 0.25rem 0 1.1rem; padding: 0; }
ol.steps > li { counter-increment: step; position: relative; padding-left: 2.25rem; margin-bottom: 0.55rem; }
ol.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0.15rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-size: 0.8125rem; font-weight: 600; line-height: 1.5rem; text-align: center; font-variant-numeric: tabular-nums; }

/* Okviri */
.callout { display: flex; gap: 0.75rem; align-items: flex-start; margin: 1.1rem 0; padding: 0.9rem 1.1rem; border-radius: 16px; border: 1px solid; font-size: 0.96rem; }
.callout-icon { width: 20px; height: 20px; flex: none; margin-top: 0.15rem; }
.callout-label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.1rem; }
.callout--tip { background: var(--tip-bg); border-color: var(--tip-border); }
.callout--tip .callout-icon, .callout--tip .callout-label { color: var(--primary); }
.callout--warn { background: var(--warn-bg); border-color: var(--warn-border); }
.callout--warn .callout-icon, .callout--warn .callout-label { color: var(--warn-text); }
.callout--role { background: var(--bg-2); border-color: var(--border-2); }
.callout--role .callout-icon, .callout--role .callout-label { color: var(--text-2); }

/* Tabele */
.table-wrap { overflow-x: auto; margin: 0.75rem 0 1.25rem; border: 1px solid var(--border-2); border-radius: 12px; }
table.t { width: 100%; border-collapse: collapse; font-size: 0.9rem; line-height: 1.45; min-width: 32rem; }
table.t th { background: var(--bg-2); text-align: left; font-weight: 600; color: var(--text-2); padding: 0.55rem 0.8rem; border-bottom: 1px solid var(--border-2); }
table.t td { padding: 0.55rem 0.8rem; vertical-align: top; border-top: 1px solid var(--border); }
table.t tbody tr:first-child td { border-top: 0; }
table.t td:first-child { font-weight: 600; }

/* Slike */
figure.shot { margin: 1.25rem 0 1.75rem; }
figure.shot img { display: block; max-width: 100%; height: auto; border: 1px solid var(--border-2); border-radius: 12px; background: #ffffff; }
figure.shot figcaption { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted); }
.fig-no { font-weight: 600; color: var(--text-2); margin-right: 0.5rem; }
figure.shot--srednji img { width: 80%; }
figure.shot--mali img { width: 58%; }
figure.shot--telefon { max-width: 260px; }

@media (max-width: 960px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding-block: 1.5rem 3rem; }
  .side { position: static; max-height: none; background: var(--bg-2); border-radius: 16px; padding: 1rem; }
  .side ol { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
  figure.shot--srednji img, figure.shot--mali img { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* docs.kontrol.ing: dodaje se posle web.css. Tamnozelena traka sa pretragom na vrhu, levo poglavlja (tekuće
   otvoreno do odeljaka), desno tekst; na telefonu su poglavlja meni na sklapanje. */
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: swap; src: url(/fonts/jakarta-400.ttf) format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-display: swap; src: url(/fonts/jakarta-500.ttf) format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url(/fonts/jakarta-600.ttf) format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url(/fonts/jakarta-700.ttf) format("truetype"); }

:root { --topbar-h: 60px; --shadow-pop: 0 16px 40px rgba(18, 26, 22, 0.16), 0 2px 6px rgba(18, 26, 22, 0.08); }
html { scroll-padding-top: calc(var(--topbar-h) + 1rem); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -3rem; z-index: 50; background: var(--bg); color: var(--text); padding: 0.5rem 0.9rem; border-radius: 10px; box-shadow: var(--shadow-pop); }
.skip:focus { top: 0.75rem; }

/* Traka na vrhu */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--hero-bg); color: var(--hero-text); }
.topbar-inner { max-width: 1180px; margin: 0 auto; min-height: var(--topbar-h); padding: 0.6rem max(16px, env(safe-area-inset-right, 0px)) 0.6rem max(16px, env(safe-area-inset-left, 0px)); display: flex; align-items: center; gap: 1.25rem; }
.topbar .brand { margin: 0; color: inherit; text-decoration: none; flex: none; }
.topbar .brand-mark { width: 32px; height: 32px; }
.topbar .brand-word { font-size: 1.125rem; }
.brand-sub { font-size: 0.9375rem; font-weight: 500; color: var(--hero-muted); padding-left: 0.65rem; margin-left: 0.05rem; border-left: 1px solid rgba(255, 255, 255, 0.28); }
.top-links { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; flex: none; }
.top-links a { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--hero-text); text-decoration: none; font-size: 0.875rem; font-weight: 600; padding: 0.45rem 0.7rem; border-radius: 999px; }
.top-links a:hover { background: rgba(255, 255, 255, 0.12); }
.top-links a:focus-visible, .topbar .brand:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
.top-icon { width: 16px; height: 16px; }

/* Pretraga */
.search { position: relative; }
.search--top { flex: 1; max-width: 30rem; margin-left: auto; }
.search--top + .top-links { margin-left: 0; }
.search input { width: 100%; height: 40px; border-radius: 999px; font: inherit; font-size: 0.9375rem; padding: 0 2.6rem 0 2.5rem; appearance: none; }
.search input::-webkit-search-cancel-button { display: none; }
.search-icon { position: absolute; left: 0.9rem; top: 20px; width: 18px; height: 18px; transform: translateY(-50%); pointer-events: none; }
.search kbd { position: absolute; right: 0.75rem; top: 20px; transform: translateY(-50%); font: 600 0.75rem var(--font); border-radius: 6px; padding: 0.05rem 0.4rem; pointer-events: none; }
.search--top input { border: 1px solid rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.1); color: #ffffff; }
.search--top input::placeholder { color: var(--hero-muted); }
.search--top .search-icon { color: var(--hero-muted); }
.search--top kbd { color: var(--hero-muted); border: 1px solid rgba(255, 255, 255, 0.3); }
.search--top input:focus { outline: none; background: #ffffff; color: #121a16; border-color: #ffffff; box-shadow: 0 0 0 3px rgba(91, 201, 138, 0.55); }
.search--top input:focus::placeholder { color: #636d67; }
.search--top:focus-within .search-icon { color: #1f6b45; }
.search--top:focus-within kbd { display: none; }
.search--hero, .search--page { max-width: 40rem; margin: 1.5rem 0 1.25rem; }
.search--hero input, .search--page input { height: 52px; font-size: 1.0625rem; padding-left: 2.9rem; border: 1px solid var(--border-2); background: var(--bg); color: var(--text); box-shadow: 0 1px 2px rgba(18, 26, 22, 0.06); }
.search--hero .search-icon, .search--page .search-icon { left: 1.05rem; top: 26px; width: 20px; height: 20px; color: var(--muted); }
.search--hero kbd, .search--page kbd { top: 26px; color: var(--muted); border: 1px solid var(--border-2); }
.search--hero input:focus, .search--page input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.search--hero:focus-within kbd, .search--page:focus-within kbd { display: none; }
.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 40; background: var(--bg); color: var(--text); border: 1px solid var(--border-2); border-radius: 16px; box-shadow: var(--shadow-pop); max-height: min(70vh, 34rem); overflow-y: auto; padding: 0.35rem; text-align: left; }
.search--top .search-results { min-width: min(34rem, calc(100vw - 32px)); }
.r { display: block; padding: 0.6rem 0.8rem; border-radius: 12px; color: var(--text); text-decoration: none; }
.r:hover, .r.is-active { background: var(--bg-2); }
.r.is-active { box-shadow: inset 3px 0 0 var(--primary); }
.r-path { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); }
.r-title { display: block; font-weight: 600; font-size: 0.9875rem; line-height: 1.35; }
.r-snip { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.875rem; line-height: 1.45; color: var(--text-2); margin-top: 0.15rem; }
.r mark { background: var(--primary-light); color: inherit; border-radius: 3px; padding: 0 1px; }
.r-empty { padding: 0.9rem 0.8rem; color: var(--text-2); font-size: 0.9375rem; margin: 0; }

/* Početna */
.home-hero { background: var(--hero-bg); color: var(--hero-text); }
.home-hero-inner { max-width: 1180px; margin: 0 auto; padding: 3.25rem max(16px, env(safe-area-inset-right, 0px)) 3rem max(16px, env(safe-area-inset-left, 0px)); }
.home-hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; margin: 0 0 0.75rem; text-wrap: balance; max-width: 22ch; }
.home-hero .hero-sub { font-size: 1.125rem; color: var(--hero-muted); margin: 0; max-width: 40rem; }
.home-hero .hero-meta { margin: 0; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hero-muted); }
.home-hero .search--hero input { border-color: transparent; background: #ffffff; color: #121a16; }
.home-hero .search--hero input::placeholder { color: #636d67; }
.home-hero .search--hero input:focus { box-shadow: 0 0 0 3px rgba(91, 201, 138, 0.6); }
.home-hero .search--hero kbd { color: #636d67; border-color: #cfd5d0; }
.home-hero .search--hero .search-icon { color: #636d67; }
.home { max-width: 1180px; margin: 0 auto; padding: 2.5rem max(16px, env(safe-area-inset-right, 0px)) 4rem max(16px, env(safe-area-inset-left, 0px)); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr)); gap: 1rem; }
.card { display: flex; flex-direction: column; gap: 0.35rem; height: 100%; padding: 1.15rem 1.2rem 1.25rem; border: 1px solid var(--border); border-radius: 20px; background: var(--bg); color: var(--text); text-decoration: none; transition: border-color 0.12s, background-color 0.12s; }
.card:hover { border-color: var(--primary); background: var(--bg-2); }
.card:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.4rem; }
.card-tile { width: 40px; height: 40px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; }
.card-icon { width: 20px; height: 20px; }
.card-num { font-size: 0.875rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-title { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.card-text { font-size: 0.9375rem; color: var(--text-2); line-height: 1.5; }
.downloads { margin-top: 3rem; }
.downloads h2, .notfound h1 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 0.9rem; }
.downloads ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.download { display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 1.1rem 0.8rem 0.9rem; border: 1px solid var(--border-2); border-radius: 16px; color: var(--text); text-decoration: none; }
.download:hover { border-color: var(--primary); }
.download b { display: block; font-weight: 600; }
.download span span { display: block; font-size: 0.875rem; color: var(--muted); }
.download-icon { width: 22px; height: 22px; color: var(--primary); flex: none; }
.home-help { margin-top: 2.5rem; color: var(--text-2); }
.notfound { max-width: 46rem; }
.notfound h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); }

/* Stranica poglavlja */
.layout { padding-block: 2rem 4rem; }
.side { top: calc(var(--topbar-h) + 1.5rem); max-height: calc(100vh - var(--topbar-h) - 3rem); }
.side > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; pointer-events: none; }
.side > summary::-webkit-details-marker { display: none; }
.side > summary .side-title { margin: 0; }
.side-chevron { display: none; width: 18px; height: 18px; color: var(--muted); }
.side li.is-current > a { background: var(--primary-light); color: var(--text); font-weight: 600; }
.side-sub { list-style: none; margin: 0.25rem 0 0.6rem 1.6rem; padding: 0 0 0 0.6rem; border-left: 1px solid var(--border-2); display: grid; gap: 1px; }
.side-sub a { font-size: 0.875rem; font-weight: 400; padding: 0.28rem 0.6rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.45rem; font-size: 0.875rem; color: var(--muted); margin-bottom: 0.5rem; }
.crumbs a { color: var(--muted); }
.chapter { padding-top: 0; margin-bottom: 2.5rem; }
/* Razmak ispod trake daje scroll-padding na html; scroll-margin iz web.css bi se sabrao sa njim. */
h3, h4, .chapter { scroll-margin-top: 0; }
h3:target, h4:target { animation: target-flash 1.6s ease-out; }
@keyframes target-flash { from { background: var(--primary-light); } to { background: transparent; } }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px solid var(--border); padding-top: 1.75rem; }
.pager-link { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.9rem 1.1rem; border: 1px solid var(--border-2); border-radius: 16px; color: var(--text); text-decoration: none; }
.pager-link:hover { border-color: var(--primary); }
.pager-next { text-align: right; align-items: flex-end; }
.pager-dir { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.pager-icon { width: 15px; height: 15px; }
.pager-title { font-weight: 600; color: var(--primary); }

/* Podnožje */
.foot { border-top: 1px solid var(--border); background: var(--bg-2); }
.foot-inner { max-width: 1180px; margin: 0 auto; padding: 1.5rem max(16px, env(safe-area-inset-right, 0px)) calc(1.5rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; font-size: 0.875rem; color: var(--muted); }
.foot-inner p { margin: 0; }
.foot-inner p:last-child { margin-left: auto; }

@media (max-width: 960px) {
  .side { position: static; max-height: none; }
  .side > summary { pointer-events: auto; cursor: pointer; margin: 0; }
  .side[open] > summary { margin-bottom: 0.75rem; }
  .side-chevron { display: block; transition: transform 0.15s; }
  .side[open] .side-chevron { transform: rotate(180deg); }
  .side-sub { display: none; }
}
@media (max-width: 720px) {
  .topbar-inner { flex-wrap: wrap; gap: 0.6rem 1rem; }
  .search--top { order: 3; flex-basis: 100%; max-width: none; margin-left: 0; }
  .search--top kbd { display: none; }
  .brand-sub { display: none; }
  .pager { grid-template-columns: 1fr; }
  .pager-next { text-align: left; align-items: flex-start; }
  .foot-inner p:last-child { margin-left: 0; }
  /* Na telefonu traka ne prati skrol: dva reda bi zauzela četvrtinu ekrana. */
  .topbar { position: static; }
  :root { --topbar-h: 0px; }
}
@media (prefers-reduced-motion: reduce) {
  h3:target, h4:target { animation: none; }
  .card, .side-chevron { transition: none; }
}
@media print {
  .topbar, .side, .pager, .foot, .skip { display: none; }
  .layout { display: block; }
}
