/* Stránka Ochrana osobních údajů — samostatná, v písmech a barvách webu („Teplé dřevo – tmavé“, odstín Ořech; tokeny jako v styles.css) */
:root {
  color-scheme: dark;
  --bg: #2b1e16; --surface: #3d2c21; --foot: #1e150f; --text: #f6f1e8; --text-2: #d8c8b4;
  --accent: #e8ab5c; --accent-hover: #f3c07a; --on-accent: #2b1e16; --line: rgba(246, 241, 232, .14);
  --serif: "Literata", Georgia, "Times New Roman", serif; --sans: "Atkinson Hyperlegible", "Helvetica Neue", Arial, sans-serif;
  --r: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 19px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--on-accent); }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: clamp(24px, 4vw, 48px); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 16px; }

.top { border-bottom: 1px solid var(--line); background: var(--bg); }
.top-in { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font: 600 20px/1.2 var(--serif); }
.brand:hover { color: var(--text); }
.brand-logo { flex: none; display: block; }
.brand-logo img { display: block; height: 40px; width: auto; }
.top-nav { display: flex; align-items: center; gap: 12px; }
.top-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--text); color: var(--text); font-weight: 700; font-size: 17px; text-decoration: none; }
.top-nav a:hover { background: var(--text); color: var(--bg); }
.top-nav .lang { border-color: var(--line); min-width: 48px; justify-content: center; }

.doc { max-width: calc(68ch + 96px); padding-block: clamp(48px, 7vw, 96px); }
.doc h1 { margin: 0 0 8px; font: 600 clamp(36px, 5vw, 56px)/1.1 var(--serif); }
.updated { margin: 0 0 40px; color: var(--text-2); font-size: 17px; }
.doc h2 { margin: 48px 0 12px; font: 600 clamp(26px, 3vw, 32px)/1.2 var(--serif); }
.doc p, .doc ul, .doc ol { margin: 0 0 18px; max-width: 65ch; }
.doc ul, .doc ol { padding-left: 1.2em; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--accent); }
.doc strong { font-weight: 700; }

.foot { background: var(--foot); color: var(--text-2); font-size: 16px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-block: 28px; }
.foot p { margin: 0; }
.foot ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.foot a { color: var(--text); text-decoration-color: rgba(246, 241, 232, .4); text-underline-offset: 4px; }

/* Cookie lišta — stejná jako na webu */
.cc { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: center; pointer-events: none; }
.cc[hidden], [data-cc-wrap][hidden] { display: none; }
.cc-in { pointer-events: auto; width: 100%; max-width: 820px; display: grid; grid-template-columns: 1fr auto; gap: 10px 28px; align-items: end; padding: 24px 28px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .85); }
.cc-title { grid-column: 1 / -1; margin: 0; font: 600 24px/1.2 var(--serif); }
.cc-text { margin: 0; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.cc-actions { display: flex; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 26px; border-radius: 999px; border: 2px solid var(--text); background: transparent; color: var(--text); font: 700 17px/1.2 var(--sans); cursor: pointer; }
.btn:hover { background: var(--text); color: var(--bg); }
.cc-open { min-height: 48px; padding: 0; border: 0; background: none; color: var(--text); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(246, 241, 232, .4); }
@media (max-width: 700px) {
  .cc { left: 12px; right: 12px; bottom: 12px; }
  .cc-in { grid-template-columns: 1fr; padding: 20px; }
  .cc-title { font-size: 21px; }
  .cc-actions .btn { flex: 1; padding-inline: 12px; }
  .top-nav a { padding: 0 14px; }
}
@media (max-width: 420px) {
  .brand span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* pracovní náhled na testovací adrese (data/config.php: preview) */
.preview-bar { background: var(--accent); color: var(--on-accent); text-align: center; font-weight: 700; font-size: 15px; line-height: 1.4; padding: 8px 16px; }
