@font-face { font-family: Lato; font-weight: 400; font-display: swap; src: url(/schrift/lato-400.woff2) format("woff2"); }
@font-face { font-family: Lato; font-weight: 700; font-display: swap; src: url(/schrift/lato-700.woff2) format("woff2"); }
@font-face { font-family: Raleway; font-weight: 700; font-display: swap; src: url(/schrift/raleway-700.woff2) format("woff2"); }
:root { --bg: #f8fafa; --surface: #fff; --muted: #f2f4f4; --line: #d7dbdb; --line-2: #c9d0d0; --ink: #0e1a1a; --ink-2: #3a4545; --ink-3: #5a6666;
  --action: #22c1aa; --action-text: #157567; --action-soft: #e8f8f4; --note: #7a5200; --note-bg: #fbefd9; --error: #b02a2a; --error-bg: #fbe3e3; --side: #222b2b; --side-ink: #c9d0d0;
  --field: #869090; --on-action: #0e1a1a; --bar: 56px; color-scheme: light dark; }
/* Dark scheme: follows the device setting, no switch (B59). The green and the dark text on it stay. */
@media (prefers-color-scheme: dark) {
  :root { --bg: #121818; --surface: #1a2323; --muted: #242e2e; --line: #2e3939; --line-2: #3e4a4a; --ink: #e5ecec; --ink-2: #c0caca; --ink-3: #97a4a4;
    --action-text: #4fd1bc; --action-soft: #153b35; --note: #f2c46d; --note-bg: #3b2f14; --error: #ff8f86; --error-bg: #3f1f1f; --side: #0b1111; --field: #718080; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 Lato, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--action-text); }
h1, h2, h3, .brand { font-family: Raleway, Lato, sans-serif; font-weight: 700; letter-spacing: -0.01em; margin: 0; overflow-wrap: break-word; }
h1 { font-size: 30px; line-height: 1.15; }
h2 { font-size: 20px; line-height: 1.25; }
p { margin: 0; }
img, svg, iframe, audio { max-width: 100%; }
.tn { font-variant-numeric: tabular-nums; }
.icon { flex: none; width: 20px; height: 20px; }
:focus-visible { outline: 3px solid var(--action-text); outline-offset: 2px; }
.side :focus-visible, .bar :focus-visible { outline-color: var(--action); }
.skip { position: absolute; left: 8px; top: -60px; z-index: 20; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: 6px; font-weight: 700; }
.skip:focus { top: 8px; }

/* Frame: side bar on wide screens, a bar with a menu on narrow ones. */
.layout { display: flex; min-height: 100vh; min-height: 100dvh; }
.side { flex: 0 0 216px; position: sticky; top: 0; height: 100vh; height: 100dvh; overflow-y: auto; background: var(--side); color: var(--side-ink); padding: 20px 12px; display: flex; flex-direction: column; gap: 24px; }
.side a, .menu-panel a { color: var(--side-ink); text-decoration: none; display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 12px; border-radius: 6px; font-size: 14px; }
.side a span, .menu-panel a span { min-width: 0; overflow-wrap: anywhere; }
.side a:hover, .menu-panel a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.side a[aria-current="page"], .menu-panel a[aria-current="page"] { background: rgba(255,255,255,0.08); color: #fff; font-weight: 700; }
.side a[aria-current="page"] .icon, .menu-panel a[aria-current="page"] .icon { color: var(--action); }
.side nav, .menu-panel nav { display: flex; flex-direction: column; gap: 2px; }
.foot { margin-top: auto; display: flex; flex-direction: column; gap: 2px; }
.who { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 8px; padding: 12px 12px 0; font-size: 13px; overflow-wrap: anywhere; color: rgba(255,255,255,0.6); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 18px; text-decoration: none; padding: 4px 6px; border-radius: 6px; }
.brand .mark { width: 28px; height: 28px; flex: none; }
.side .brand { flex-direction: column; align-items: flex-start; gap: 10px; padding-left: 8px; font-size: 16px; white-space: nowrap; }
.side .brand .mark { width: 32px; height: 32px; }
.tagline { font-size: 13px; padding-left: 8px; margin-top: 8px; }
.bar, .menu-panel { display: none; }
main { flex: 1; min-width: 0; padding: 40px 48px; }
.wrap { max-width: 1100px; display: flex; flex-direction: column; gap: 22px; }

/* Content */
.crumb { font-size: 13px; color: var(--ink-3); }
.crumb a { font-weight: 700; text-decoration: none; }
.sub { color: var(--ink-3); font-size: 14px; margin-top: 4px; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
a.box { color: var(--ink); text-decoration: none; display: block; }
a.box:hover { border-color: var(--line-2); }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-size: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.cards a.card { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.cards a.card:hover { border-color: var(--line-2); }
.chip { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 4px; background: var(--muted); color: var(--ink-2); }
.chip.new { background: var(--action-soft); color: var(--action-text); }
.chip.warn { background: var(--note-bg); color: var(--note); }
.cols { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.sections { flex: 0 0 210px; display: flex; flex-direction: column; gap: 4px; }
.sections a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; padding: 4px 12px; border-radius: 6px; font-size: 14px; color: var(--ink); text-decoration: none; }
.sections a:hover { background: var(--muted); }
.sections a[aria-current="page"] { background: var(--action-soft); font-weight: 700; }
.sections .later { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 12px; color: var(--ink-3); font-size: 14px; cursor: default; }
.sections .later small { font-size: 12px; font-style: italic; }
.sections .note { border-top: 1px solid var(--line); margin-top: 10px; padding: 12px 12px 0; font-size: 13px; color: var(--ink-3); }
.narrow-only { display: none; }
.list { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; padding: 4px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; background: var(--surface); }
.filters a[aria-current="page"] { border-color: var(--action-text); color: var(--action-text); font-weight: 700; }
details.item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
details.item > summary { list-style: none; cursor: pointer; display: flex; gap: 14px; align-items: center; padding: 14px 18px; min-height: 56px; border-radius: 12px; }
details.item > summary:hover { background: var(--muted); }
details.item > summary::-webkit-details-marker { display: none; }
details.item[open] > summary { border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0; }
.chev { color: var(--ink-3); transition: transform 0.15s ease; }
details[open] > summary .chev { transform: rotate(180deg); }
.kind { flex: 0 0 64px; font-size: 12px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.04em; }
.what { flex: 1; min-width: 0; overflow-wrap: break-word; }
.what strong { display: block; }
.what small { color: var(--ink-3); font-size: 13px; }
.since { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.viewer { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.viewer iframe { width: 100%; border: 1px solid var(--line); border-radius: 6px; background: var(--muted); }
.viewer iframe.doc { height: 75vh; }
.viewer iframe.video { aspect-ratio: 16 / 9; height: auto; }
.viewer audio { width: 100%; }
.file-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 0; }
.file-links a { display: inline-flex; align-items: center; min-height: 44px; }
.text { white-space: pre-wrap; overflow-wrap: break-word; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 0; border-radius: 6px; padding: 10px 20px; background: var(--action); color: var(--on-action); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.button:hover { filter: brightness(0.95); }
.button.plain { background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); font-weight: 400; }
.button.plain:hover { background: var(--muted); filter: none; }
.button.danger { background: var(--surface); border: 1px solid var(--error); color: var(--error); }
.button.danger:hover { background: var(--error-bg); filter: none; }
.empty { color: var(--ink-3); }
form.stack { display: flex; flex-direction: column; gap: 12px; }
label span { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 4px; }
input[type=email] { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--field); border-radius: 6px; font: inherit; font-size: 16px; background: var(--surface); color: var(--ink); }
input[type=email]:focus { border-color: var(--action-text); outline: 3px solid rgba(34,193,170,0.3); outline-offset: 0; }
input[type=checkbox] { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--action-text); flex: none; }
.alone { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: max(32px, env(safe-area-inset-top)) 16px max(32px, env(safe-area-inset-bottom)); }
.alone .card { max-width: 30rem; width: 100%; padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; }
.alone .card .brand { color: var(--ink); padding: 0; margin-bottom: 8px; }
.brand picture { display: contents; }
.alone { flex-direction: column; gap: 16px; }
.alone.wide { justify-content: flex-start; }
.alone .card.legal { max-width: 46rem; display: block; flex: none; }
.legal > * + * { margin-top: 12px; }
.legal h1 { margin-top: 20px; }
.legal h2 { font-size: 18px; margin-top: 28px; }
.legal p, .legal li, .legal address { color: var(--ink-2); }
.legal address { font-style: normal; }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 6px; }
.legal .stand { font-size: 14px; color: var(--ink-3); }
.legal-links { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; }
.legal-links a { color: var(--ink-3); display: inline-flex; align-items: center; min-height: 44px; }
.legal-links a[aria-current] { color: var(--ink); font-weight: 700; text-decoration: none; }
.foot .legal-links { padding: 0 12px; }
.foot .legal-links a { color: rgba(255,255,255,0.6); min-height: 36px; }
.foot .legal-links a:hover { color: #fff; }
.hint { background: var(--note-bg); color: var(--note); border-radius: 6px; padding: 8px 12px; font-size: 14px; }
.rows { display: flex; flex-direction: column; }
.rows > div { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); }
.rows > div:first-child { border-top: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; min-height: 44px; }

@media (max-width: 860px) {
  .layout { flex-direction: column; }
  .side { display: none; }
  .bar { display: flex; position: sticky; top: 0; z-index: 10; align-items: center; justify-content: space-between; gap: 8px;
    min-height: calc(var(--bar) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) max(8px, env(safe-area-inset-right)) 0 max(8px, env(safe-area-inset-left));
    background: var(--side); color: var(--side-ink); }
  .bar .brand { font-size: 17px; min-width: 0; }
  .bar .brand > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .menu-button { cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: #fff; font: inherit; font-size: 14px; }
  .menu-button:hover { background: rgba(255,255,255,0.08); }
  .menu-button .close-icon, .bar:has(.menu-panel:popover-open) .menu-button .open-icon { display: none; }
  .bar:has(.menu-panel:popover-open) .menu-button .close-icon { display: block; }
  /* The popover lies in the top layer, right under the bar; Escape and a tap beside it close it (B55). */
  .menu-panel { position: fixed; inset: calc(var(--bar) + env(safe-area-inset-top)) 0 auto 0; margin: 0; width: auto; max-height: calc(100dvh - var(--bar) - env(safe-area-inset-top)); overflow-y: auto;
    color: var(--side-ink); border: 0; background: var(--side); padding: 8px max(12px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    border-top: 1px solid rgba(255,255,255,0.1); box-shadow: 0 12px 24px rgba(14,26,26,0.25); flex-direction: column; gap: 8px; }
  .menu-panel:popover-open { display: flex; }
  .menu-panel::backdrop { background: rgba(14,26,26,0.35); }
  /* A browser without popovers shows the menu open under the bar instead. */
  @supports not selector(:popover-open) {
    .menu-button { display: none; }
    .bar { flex-wrap: wrap; position: static; }
    .menu-panel { display: flex; position: static; width: 100%; max-height: none; box-shadow: none; }
  }
  .menu-panel a { min-height: 48px; font-size: 15px; }
  .menu-panel .foot { margin-top: 4px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 8px; }
  .menu-panel .who { border: 0; margin: 0; padding: 4px 12px 0; }
  main { padding: 20px max(16px, env(safe-area-inset-right)) max(40px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
  .wrap { gap: 18px; }
  h1 { font-size: 25px; }
  h2 { font-size: 18px; }
  .head { align-items: stretch; }
  .head .box { flex: 1 1 100%; }
  .cols { gap: 16px; }
  .sections { flex: 1 1 100%; flex-direction: row; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; gap: 6px; }
  .sections::-webkit-scrollbar { display: none; }
  .sections a, .sections .later { flex: none; white-space: nowrap; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; min-height: 44px; padding: 4px 14px; }
  .sections a[aria-current="page"] { border-color: var(--action-text); background: var(--action-soft); }
  .sections .later { border-color: transparent; background: transparent; padding-left: 6px; padding-right: 6px; }
  .sections .note { display: none; }
  .narrow-only { display: block; }
  details.item > summary { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "kind chev" "what chev" "since chev"; gap: 2px 12px; padding: 12px 14px; }
  .kind { grid-area: kind; }
  .what { grid-area: what; }
  .since { grid-area: since; white-space: normal; }
  .chev { grid-area: chev; align-self: center; }
  .viewer { padding: 14px; }
  .viewer iframe.doc { height: 70vh; }
  .card { padding: 18px 16px; }
  .alone .card { padding: 28px 20px; }
  .foot .legal-links a { min-height: 44px; }
  .box { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) { *, ::before, ::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }