/* Generated by pipeline/corpus_identity.py from the identity 'danish-law' and its look
   'gazette' (pipeline/identity_values.py). Do not edit: change the identity and
   rebuild the pages. */
html:root {
  --font-display: "Open Sans", sans-serif;
  --font-sans: "Open Sans", sans-serif;
  --font-eyebrow: "Open Sans", sans-serif;
  --eyebrow-prefix: "";
  --hero-ground: none;
  --radius-xs: 0;
  --radius-sm: 0;
  --radius-control: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-pill: 0;
  --shadow-popover: 0 0 0 1px var(--rule-strong);
  --font-serif: "Source Serif 4", serif;
  --weight-display: 300;
  --tracking-display: -0.01em;
  --weight-button: 400;
  --header-strip: 4px;
  --tab-mark: 4px;
  --control-height: 2.25rem;
  --bar-height: 3.5rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.75rem;
  --space-7: 2.5rem;
  --space-8: 3.5rem;
  --space-9: 5rem;
  --type-display: 300 3.75rem/4rem var(--font-display);
  --type-title-1: 300 2.5rem/3rem var(--font-display);
  --type-title-2: 300 1.625rem/2.125rem var(--font-display);
  --type-title-3: 700 1.0625rem/1.5rem var(--font-display);
  --type-reading-lg: 400 1.125rem/1.875rem var(--font-serif);
  --type-reading: 400 1.125rem/1.875rem var(--font-serif);
  --type-reading-sm: 400 0.9375rem/1.5rem var(--font-serif);
  --type-ui: 400 0.875rem/1.25rem var(--font-sans);
  --type-ui-strong: 600 0.875rem/1.25rem var(--font-sans);
  --type-label: 400 0.75rem/1rem var(--font-sans);
  --type-eyebrow: 700 0.6875rem/1rem var(--font-eyebrow);
  --type-ref: 400 0.8125rem/1.125rem var(--font-mono);
  --tracking-hero: -0.02em;
  --tracking-title-1: -0.01em;
  --tracking-title-2: 0;
  --tracking-title-3: 0;
  --tracking-eyebrow: 0.08em;
  --measure: 41.25rem;
  --surface-page: light-dark(#f4f2ee, #1e1b19);
  --surface-raised: light-dark(#ffffff, #2a2623);
  --surface-sunken: light-dark(#e9e5df, #161412);
  --rule: light-dark(#d8d2c9, #3d3732);
  --rule-strong: light-dark(#7a7268, #8e857b);
  --ink: light-dark(#1e1a17, #faf7f2);
  --ink-muted: light-dark(#5a524b, #cdc5bb);
  --claim-open: light-dark(#5a524b, #cdc5bb);
  --on-action: light-dark(#ffffff, #1e1b19);
  --link: light-dark(#b0232b, #f59a94);
  --accent: light-dark(#b0232b, #f59a94);
  --accent-text: light-dark(#b0232b, #f59a94);
  --accent-soft: light-dark(#f7e4e0, #3f2b29);
  --action: light-dark(#b0232b, #f59a94);
  --brand-gold: light-dark(#b0232b, #f59a94);
  --gold-text: light-dark(#b0232b, #f59a94);
  --ink-eyebrow: light-dark(#b0232b, #f59a94);
  --corpus-logo-light: url("/corpus-logo.svg?v=89fbda7509cf");
  --corpus-logo-dark: url("/corpus-logo-dark.svg?v=89fbda7509cf");
  --corpus-logo-ratio: 1174 / 248;
  --corpus-mark-light: url("/corpus-mark.svg?v=89fbda7509cf");
  --corpus-mark-dark: url("/corpus-mark-dark.svg?v=89fbda7509cf");
  --corpus-mark-ratio: 248 / 248;
}

/* Dansk lovgivning's signature (GAZETTE_LOOK, its design system v2, 2026-11-18): a provision set
   as Lovtidende prints it — the § and its number hung large in the margin in the red accent,
   the stykke labels small and bold in sans, the words of the law in Source Serif 4 at the look's
   reading-lg (passage.css). Appended to the corpus's generated corpus.css
   (pipeline/corpus_identity.py `token_sheet`). The § comes from the page's own `data-provision`
   (pipeline/page_markup.py `_provision_sign`), so the markup says what the provision is and only
   this look draws it this way.

   Every selector starts html:root, as the tokens do, to outrank the shared stylesheets. */

/* The stykke labels as small bold sans on the line (the design system's stk, 12 px 700). */
html:root .version[data-provision] .verse .number {
  font: 700 0.75rem/1 var(--font-sans);
  color: var(--ink-muted);
  vertical-align: baseline;
  margin-inline-end: var(--space-2);
}

/* The § in a 96 px margin beside its stykker, on a screen wide enough to give it one. The
   section is the measure plus that margin, so the law itself still reads at the measure. */
@media (min-width: 48rem) {
  html:root .version[data-provision] {
    display: grid;
    grid-template-columns: 6rem minmax(0, 1fr);
    column-gap: 0;
  }

  html:root .passage > .version[data-provision] {
    max-inline-size: calc(var(--measure) + 6rem);
  }

  html:root .version[data-provision] > h2 {
    grid-column: 1 / -1;
  }

  html:root .version[data-provision]::before {
    content: attr(data-provision);
    grid-column: 1;
    grid-row: 2 / span 99;
    align-self: start;
    padding-block-start: 0.15rem;
    color: var(--accent);
    font: 300 2rem/2.25rem var(--font-display);
  }

  html:root .version[data-provision] > :not(h2) {
    grid-column: 2;
  }
}

/* The index's tiles: 136 px, 4 px apart (the design system's tile). The first, the highest rung,
   is solid red; the rest are its white quiet tiles, the count in the red (Jack, 2026-11-19). */
html:root .tiles {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr));
  gap: 4px;
}
html:root .tile { min-block-size: 8.5rem; }

/* An answer's section (the design system's AnswerHeadings): bold sans over a 1 px hairline, the
   way a gazette marks its sections, the number large and light in the red. Firm against the
   thin page headings: the answer's sections are working divisions, not titles. The shared rules
   are the app's (web-corpus/src/styles.css). */
html:root .answer h3 {
  padding-block-start: var(--space-3);
  border-block-start: 1px solid var(--rule);
  font: 700 1.1875rem/1.625rem var(--font-sans);
}

html:root .answer h3 .st-hn {
  color: var(--accent);
  font: 300 1.625rem/1.625rem var(--font-display);
}
