/* Vládní zmozněnec – společné styly */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=IBM+Plex+Mono:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --opo: #1f5fa8;
  --opo-dark: #123c6e;
  --opo-light: #dbe8f7;
  --koa: #f07c1b;
  --koa-dark: #b9520a;
  --koa-light: #fde6d1;
  --black: #1b1b1b;
  --paper: #fbf8f1;
  --grey: #8a8a8a;
  --cut: #b5b5b5;
  --head: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --mono: 'IBM Plex Mono', 'Consolas', monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #e6e2d8;
  color: var(--black);
  font-family: var(--mono);
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

/* ---------- toolbar (není v tisku) ---------- */
.toolbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 10px 16px;
  background: var(--black); color: #fff;
  font-family: var(--head); letter-spacing: .03em;
}
.toolbar a { color: #fff; }
.toolbar .spacer { flex: 1; }
.toolbar button {
  font: inherit; cursor: pointer;
  border: 2px solid #fff; background: transparent; color: #fff;
  padding: 4px 12px; border-radius: 4px;
}
.toolbar button.active { background: var(--koa); border-color: var(--koa); }
.toolbar button.print { background: #fff; color: var(--black); }
@media print { .toolbar, .screen-only { display: none !important; } body { background: #fff; } }

/* ---------- portrét ---------- */
.slot {
  position: relative; overflow: hidden;
  border: 1.5px dashed currentColor; border-radius: 2mm;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: rgba(255,255,255,.35);
}
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot img + .ph { display: none; }
.slot:has(img) { border-style: solid; border-width: .4mm; }
.slot .ph { font-family: var(--head); font-size: 3mm; opacity: .7; padding: 2mm; text-transform: uppercase; }

/* ---------- ikony ---------- */
.ico { display: inline-block; width: 1em; height: 1em; vertical-align: middle; }
.ico svg { width: 100%; height: 100%; display: block; }
