/* Gemensam stil för de juridiska sidorna och offlinesidan. Ljust och mörkt läge via CSS-variabler. */
:root {
  color-scheme: light dark;
  --bg: #f4f2ec; --panel: #ffffff; --fg: #1d211f; --muted: #535c56; --line: #d5d2c8; --accent: #8a5a12; --link: #7a4c0a;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0c0f0e; --panel: #151a19; --fg: #dfe3d4; --muted: #a3ac9f; --line: #2b3431; --accent: #e3a43a; --link: #f0b552; }
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
main { max-width: 760px; margin: 0 auto; padding: max(24px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(48px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.logo { font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--fg); text-decoration: none; }
.logo b { color: var(--accent); }
h1 { font-size: clamp(28px, 6vw, 40px); line-height: 1.15; margin: 28px 0 4px; }
h2 { font-size: 21px; margin: 36px 0 8px; }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
a { color: var(--link); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.box { background: var(--panel); border: 1px solid var(--line); padding: 14px 18px; }
nav.foot { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
@media (max-width: 560px) { table, thead, tbody, tr, th, td { display: block; } thead { display: none; } td { border: 0; padding: 2px 0; } tr { border-bottom: 1px solid var(--line); padding: 8px 0; } td:first-child { font-weight: 600; } }
