/* Base: element defaults, typography, forms. No classes here except a few text utilities at the end. */ *, *::before, *::after { box-sizing: border-box; } html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; } body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font-family: var(--font-sans); font-size: var(--text-base); line-height: var(--leading); overflow-wrap: break-word; } /* German compounds: hyphenate running text so long words never break the layout on phones */ p, li, dd, td, th, h1, h2, h3, h4, blockquote, figcaption, label, legend { hyphens: auto; } h1, h2, h3, h4 { margin: 0 0 var(--space-3); line-height: var(--leading-tight); letter-spacing: -0.01em; font-weight: 700; text-wrap: balance; } h1 { font-size: var(--text-2xl); } h2 { font-size: var(--text-lg); margin-top: var(--space-6); } h3 { font-size: var(--text-md); margin-top: var(--space-5); } h4 { font-size: var(--text-base); } p, ul, ol, dl, blockquote, figure, table { margin: 0 0 var(--space-4); } ul, ol { padding-left: var(--space-5); } a { color: var(--accent); text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: color var(--transition), text-decoration-color var(--transition); } a:hover { color: var(--accent-hover); text-decoration-color: currentColor; } :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; } img, svg { max-width: 100%; } img { height: auto; } hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-6) 0; } blockquote { margin-left: 0; padding-left: var(--space-4); border-left: 3px solid var(--line-strong); color: var(--ink-2); } mark { background: var(--mark); color: var(--mark-ink); padding: 0 0.1em; border-radius: 2px; } code, kbd, .mono { font-family: var(--font-mono); font-size: 0.92em; } abbr[title] { text-decoration: underline dotted; cursor: help; } time { white-space: nowrap; } /* tables */ table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; } th, td { text-align: left; padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--line); vertical-align: top; } th { font-size: var(--text-sm); font-weight: 600; color: var(--ink-2); border-bottom-color: var(--line-strong); white-space: nowrap; } tbody tr:hover { background: color-mix(in srgb, var(--surface-2) 60%, transparent); } /* forms */ input, select, textarea, button { font: inherit; color: inherit; } input:not([type='checkbox'], [type='radio'], [type='range']), select, textarea { min-height: 2.5rem; padding: var(--space-2) var(--space-3); border: 1px solid var(--line-field); border-radius: var(--radius); background: var(--surface); color: var(--ink); width: 100%; } input::placeholder { color: var(--ink-3); } input[type='checkbox'], input[type='radio'], input[type='range'] { accent-color: var(--accent); } input[type='checkbox'], input[type='radio'] { width: 1.1rem; height: 1.1rem; margin: 0; vertical-align: -0.15em; } label { color: var(--ink-2); } button, .button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 2.5rem; padding: var(--space-2) var(--space-4); border: 1px solid var(--accent); border-radius: var(--radius); background: var(--accent); color: var(--on-accent); font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background var(--transition), border-color var(--transition), color var(--transition); } button:hover, .button:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); } button.secondary, .button.secondary { background: var(--surface); border-color: var(--line-strong); color: var(--ink); } button.secondary:hover, .button.secondary:hover { background: var(--surface-2); color: var(--ink); } button.ghost, .button.ghost { background: transparent; border-color: transparent; color: var(--ink-2); } button.ghost:hover, .button.ghost:hover { background: var(--surface-2); color: var(--ink); } details > summary { cursor: pointer; } /* text utilities */ .muted { color: var(--ink-3); } .small { font-size: var(--text-sm); } .xsmall { font-size: var(--text-xs); } .strong { font-weight: 600; } .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; } .nowrap { white-space: nowrap; } .block { display: block; } .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }