:root { color-scheme: light dark; --paper: light-dark(#f8f7f3, #0f1012); --surface: light-dark(#ffffff, #16171a); --surface-sunken: light-dark(#f0eee8, #1c1d21); --ink: light-dark(#121214, #eceae4); --ink-soft: light-dark(#3a3a40, #cfcdc6); --muted: light-dark(#64646c, #9d9ca3); --rule: light-dark(#e2dfd7, #2a2b30); --rule-strong: light-dark(#c9c5bb, #3d3e45); --control-border: light-dark(#8a877f, #6b6c74); --accent: light-dark(#d2361b, #ff6b4f); --accent-ink: light-dark(#ffffff, #160805); --accent-soft: light-dark(#fbe1da, #4a1d14); --link-hover: light-dark(#b02a12, #ff8a73); --focus: light-dark(#2a5bd7, #7aa2ff); --breaking: light-dark(#c2271a, #ff7a68); --breaking-soft: light-dark(#fbe3df, #3a1714); --developing: light-dark(#9a5b00, #f2b24c); --developing-soft: light-dark(#fbedd5, #33240b); --updated: light-dark(#1f4fb8, #8fb0ff); --updated-soft: light-dark(#e2eafb, #172443); --positive: light-dark(#1d6b3a, #6fcf8f); --positive-soft: light-dark(#e0f1e5, #11291a); --negative: light-dark(#b3261e, #ff8a80); --negative-soft: light-dark(#fbe4e2, #3a1714); --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif; --font-serif: "Charter", "Iowan Old Style", "Sitka Text", "Bitstream Charter", Cambria, Georgia, serif; --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono", Menlo, Consolas, monospace; --gutter: clamp(1rem, 4vw, 2.5rem); --measure: 42rem; --page: 76rem; --site-header-height: calc(3.5rem + 1px); --radius: 6px; --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem; --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4.5rem; }
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--site-header-height) + var(--space-3)); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html:has(.form-actions--sticky) { scroll-padding-bottom: 5.5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-sans), sans-serif; font-size: 1rem; line-height: 1.55; overflow-wrap: anywhere; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; text-wrap: balance; }
p, ul, ol, dl, figure { margin: 0; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 1px; text-decoration-color: var(--rule-strong); text-underline-offset: 0.2em; }
a:hover { color: var(--link-hover); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
time { font-variant-numeric: tabular-nums; }
small { font-size: 0.8125rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: var(--gutter); top: -4rem; z-index: 20; padding: var(--space-2) var(--space-3); background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: var(--space-2); }
.container { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }
.page { width: 100%; max-width: var(--page); margin-inline: auto; padding: var(--space-4) var(--gutter) var(--space-8); }
.page:has(+ .page) { padding-bottom: 0; }
.page + .page { padding-top: 0; }
main.page--narrow { max-width: calc(30rem + 2 * var(--gutter)); }
body:has(main.page--wide) { --page: 110rem; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-header__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: 3.5rem; }
.brand { display: grid; min-height: 2.75rem; align-content: center; grid-template-areas: "mark name"; align-items: center; gap: 0.3rem 0.75rem; color: var(--ink); font-family: var(--font-mono), monospace; line-height: 1; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand__mark { grid-area: mark; width: 1.375rem; height: 1.375rem; }
.brand__shadow { fill: var(--ink); }
.brand__square { fill: var(--accent); }
.brand__name { grid-area: name; font-size: 1.0625rem; font-weight: 700; letter-spacing: 0.16em; }
.brand__tagline { display: none; grid-area: tagline; color: var(--muted); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; }
.site-header__tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.tool-link { display: inline-flex; min-width: 2.75rem; align-items: center; gap: 0.4rem; min-height: 2.75rem; padding: 0 var(--space-2); border: 0; border-radius: var(--radius); background: transparent; color: var(--ink-soft); font-size: 0.875rem; font-weight: 600; text-decoration: none; }
.tool-link:hover, .tool-link[aria-current="page"], .site-header:has(.theme-menu:popover-open) .theme-menu__toggle, .site-header:has(.site-nav__panel:popover-open) .site-nav__trigger { background: var(--surface-sunken); color: var(--ink); }
.tool-link:active { transform: none; }
.tool-link svg { width: 1.1rem; height: 1.1rem; }
.tool-link__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header__account, .site-nav__row { display: none; }
.site-nav__panel { inset: auto 0; top: var(--site-header-height); width: auto; max-height: calc(100dvh - var(--site-header-height)); margin: 0; padding: var(--space-3) 0 var(--space-5); overflow-y: auto; border: 0; border-top: 1px solid var(--rule); background: var(--paper); color: var(--ink); box-shadow: 0 1.5rem 2.5rem -1.5rem rgb(0 0 0 / 0.35); }
.site-nav__panel::backdrop { background: linear-gradient(transparent var(--site-header-height), rgb(0 0 0 / 0.3) 0); }
.site-nav__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2) var(--space-3); margin-block: 0; padding-inline: calc(var(--gutter) - var(--space-3)); list-style: none; }
.site-nav__grid a { display: block; padding: var(--space-3); border-radius: var(--radius); color: var(--ink-soft); font-size: 1rem; font-weight: 600; text-decoration: none; }
.site-nav__grid a:hover { background: var(--surface-sunken); color: var(--ink); }
.site-nav__grid a[aria-current="page"] { background: var(--surface-sunken); color: var(--ink); }
.site-nav__grid + .site-nav__grid { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--rule); }
.theme-menu__toggle { anchor-name: --site-theme; }
.theme-menu { inset: auto; top: 3.5rem; right: var(--gutter); width: 12.5rem; max-height: calc(100dvh - 3.5rem - var(--space-1)); margin: var(--space-1) 0 0; padding: var(--space-2); border: 1px solid var(--rule); border-radius: calc(var(--radius) + 4px); background: var(--surface); color: var(--ink); box-shadow: 0 1.25rem 2.5rem -1rem rgb(0 0 0 / 0.35); }
@supports (right: anchor(--site-theme right)) {
    .theme-menu { right: anchor(--site-theme right); }
}
.theme-menu form { display: grid; gap: var(--space-2); }
.theme-menu .label { padding: var(--space-1) var(--space-2) var(--space-2); }
@supports not selector(:popover-open) {
    :root { --site-header-height: calc(3.5rem + 2.75rem + 2px); }
    .site-nav__trigger, .theme-menu__toggle { display: none; }
    .site-header__account { display: inline-flex; }
    .site-nav { border-top: 1px solid var(--rule); }
    .site-nav__row { display: block; overflow-x: auto; }
    .site-nav__row ul { flex-wrap: nowrap; }
}
.site-footer { padding: var(--space-5) 0 var(--space-6); border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.875rem; }
.site-footer__grid { display: grid; gap: var(--space-5); }
.site-footer__about { max-width: 34rem; }
.site-footer__about p + p { margin-top: var(--space-3); }
.site-footer nav ul { display: grid; gap: var(--space-2); padding: 0; list-style: none; }
.site-footer a { color: var(--ink-soft); }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer nav .label { margin-bottom: var(--space-3); }
.page-header { display: grid; gap: var(--space-2); padding-bottom: var(--space-3); margin-bottom: var(--space-4); border-bottom: 1px solid var(--ink); }
.page-header--tabs { padding-bottom: 0; }
.page-header--compact .page-title { font-size: clamp(1.625rem, 1.3rem + 1.3vw, 2.375rem); }
.breadcrumb + .page-header, .breadcrumb + .article { margin-top: var(--space-5); }
.kicker, .label { font-family: var(--font-sans), sans-serif; font-size: 0.8125rem; font-weight: 500; line-height: 1.25rem; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-3); color: var(--muted); }
.kicker a { display: inline-flex; align-items: center; min-height: 1.5rem; color: var(--ink-soft); text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.label { color: var(--muted); }
.page-title { font-family: var(--font-serif), serif; font-size: clamp(1.75rem, 1.25rem + 2.25vw, 3rem); font-weight: 400; }
.dek { max-width: var(--measure); color: var(--ink-soft); font-size: clamp(0.9375rem, 0.875rem + 0.3vw, 1.125rem); line-height: 1.5; }
.section { margin-top: var(--space-7); }
.section-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-1) var(--space-3); margin-bottom: var(--space-4); padding-bottom: var(--space-2); border-bottom: 1px solid var(--ink); font-family: var(--font-sans), sans-serif; font-size: 1rem; font-weight: 600; }
.section-title .label { font-weight: 400; }
.prose { max-width: var(--measure); font-size: 1.0625rem; line-height: 1.65; }
.prose p + p { margin-top: var(--space-4); }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: var(--space-2); }
.prose dt { font-weight: 600; }
.prose dd { margin: 0; }
.prose dd + dt { margin-top: var(--space-3); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0; list-style: none; color: var(--muted); font-size: 0.8125rem; }
.breadcrumb li + li::before { content: "/"; margin-right: var(--space-2); color: var(--rule-strong); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 1.5rem; color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb li:last-child:not(:first-child) { display: none; }
.breadcrumb [aria-current="page"] { display: inline-block; max-width: 22ch; overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.tabs ul { display: flex; flex-wrap: wrap; gap: 0 var(--space-5); padding: 0; list-style: none; }
.tabs a { display: flex; align-items: center; min-height: 2.75rem; padding: var(--space-2) 0; border-bottom: 2px solid transparent; color: var(--muted); font-size: 0.9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { border-bottom-color: var(--accent); color: var(--ink); }
.site-nav__row a[aria-current="page"] { border-bottom-color: var(--ink); }
.pagination { display: flex; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--rule); }
.pagination a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 0.875rem; font-weight: 500; text-decoration: none; }
.pagination a[rel="next"] { margin-left: auto; }
.chip-list { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; justify-content: center; min-height: 2rem; max-width: 100%; padding: var(--space-1) var(--space-3); border: 1px solid var(--rule-strong); border-radius: var(--radius); color: var(--ink); font-size: 0.875rem; line-height: 1.25rem; text-decoration: none; }
a.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip small { margin-left: var(--space-2); color: var(--muted); font-size: 0.75rem; }
.share > summary { width: fit-content; list-style: none; }
.share > summary::-webkit-details-marker { display: none; }
.share > summary svg { width: 1.125rem; height: 1.125rem; }
.share__list { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.share__button { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: var(--radius); background: var(--surface-sunken); color: var(--ink-soft); }
.share__button:hover { color: var(--ink); }
.share__button svg { width: 1.125rem; height: 1.125rem; }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-4); color: var(--muted); font-family: var(--font-sans), sans-serif; font-size: 0.875rem; line-height: 1.5; }
.badge { display: inline-flex; align-items: center; gap: var(--space-2); padding: 2px var(--space-2); border-radius: 4px; background: var(--surface-sunken); color: var(--ink-soft); font-size: 0.8125rem; font-weight: 500; line-height: 1.25rem; white-space: nowrap; }
.badge--new, .badge--developing, .badge--updated, .badge--stable { padding: 0; background: none; }
.badge--new::before, .badge--developing::before, .badge--updated::before, .badge--stable::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--muted); }
.badge--new::before { background: var(--breaking); }
.badge--developing::before { background: var(--developing); }
.badge--updated::before { background: var(--updated); }
.badge--negative { background: var(--negative-soft); color: var(--negative); }
.story-card { --thumb: clamp(5.75rem, 26vw, 9.5rem); display: grid; align-content: start; gap: var(--space-2); }
.story-card__title { font-family: var(--font-serif), serif; font-size: 1.25rem; font-weight: 400; line-height: 1.25; }
.story-card__title a { text-decoration: none; }
.story-card__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.story-card__summary { display: -webkit-box; max-width: var(--measure); overflow: hidden; color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; }
.story-card__source { margin-right: var(--space-1); color: var(--ink-soft); font-size: 0.8125rem; font-weight: 500; }
.story-meta__source { color: var(--ink); font-weight: 600; }
.story-card--thumb { grid-template-columns: minmax(0, 1fr) var(--thumb); column-gap: var(--space-4); }
.story-card--thumb > .publisher-image { grid-row: 1; grid-column: 2; align-self: center; }
.story-card--thumb > .story-card__title { grid-column: 1; align-self: center; }
.story-card--thumb > .story-card__summary, .story-card--thumb > .story-meta { grid-column: 1 / -1; }
.story-card--lead { --thumb: clamp(6rem, 28vw, 15rem); gap: var(--space-3); }
.story-card--lead .story-card__title { font-size: clamp(1.75rem, 1.25rem + 2.2vw, 2.75rem); line-height: 1.1; }
.story-card--lead .story-card__summary { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); -webkit-line-clamp: 6; line-clamp: 6; }
.story-card--lead.story-card--thumb > .story-card__title { grid-column: 1 / -1; align-self: start; }
.story-card--lead.story-card--thumb > .publisher-image { grid-row: 2; align-self: start; }
.story-card--lead.story-card--thumb > .story-card__summary { grid-column: 1; }
.story-card--compact .story-card__title { font-family: var(--font-sans), sans-serif; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.story-front { display: grid; gap: var(--space-4); padding-bottom: var(--space-4); border-bottom: 1px solid var(--rule); }
.story-front__secondary { display: grid; gap: var(--space-4); padding: 0; list-style: none; }
.story-front__secondary > li { padding-top: var(--space-4); border-top: 1px solid var(--rule); }
.story-river { display: grid; max-width: 52rem; padding: 0; list-style: none; }
.story-river > li { padding-block: var(--space-4); border-top: 1px solid var(--rule); }
.story-river > li:first-child { padding-top: 0; border-top: 0; }
.story-front + .story-river { margin-top: var(--space-4); }
.story-river--columns { max-width: none; }
.search-form { position: relative; }
.search-progress { height: 2px; overflow: hidden; border-radius: 1px; }
.search-form.is-searching .search-progress { background: var(--rule); }
.search-form.is-searching .search-progress::before { content: ""; display: block; width: 40%; height: 100%; background: var(--accent); }
.search-results { min-height: 50vh; }
.search-results[aria-busy="true"] { opacity: 0.72; }
mark { padding: 0 0.05em; border-radius: 2px; background: var(--accent-soft); color: inherit; }
.publisher-image { display: grid; align-content: start; gap: var(--space-2); margin: 0; }
.publisher-image__link { display: block; border-radius: var(--radius); }
.publisher-image__link:hover img { opacity: 0.92; }
.publisher-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--surface-sunken); color: transparent; }
.publisher-image--thumb img, .publisher-image--card img, .publisher-image--side img { aspect-ratio: 4 / 3; }
.publisher-image--small img { width: auto; max-width: 100%; aspect-ratio: auto; }
:root[data-theme="dark"] .publisher-image img { filter: brightness(0.86); }
.publisher-image figcaption { color: var(--muted); font-size: 0.75rem; line-height: 1rem; }
.publisher-image figcaption a { color: inherit; text-decoration: none; }
.publisher-image figcaption a:hover { color: var(--ink); text-decoration: underline; }
.article { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); align-items: start; }
.article__header { display: grid; gap: var(--space-5); }
.article__intro { display: grid; gap: var(--space-3); min-width: 0; }
.article__title { font-size: clamp(1.75rem, 1.05rem + 1.5vw, 2.75rem); line-height: 1.08; }
.article__dek { max-width: var(--measure); color: var(--ink-soft); font-family: var(--font-serif), serif; font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem); line-height: 1.5; }
.article__body { display: grid; gap: var(--space-5); min-width: 0; max-width: var(--measure); }
.article__excerpt { display: grid; gap: var(--space-2); margin: 0; padding-left: var(--space-4); border-left: 3px solid var(--rule-strong); }
.article__excerpt p { color: var(--ink-soft); font-family: var(--font-serif), serif; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.5; }
.article__excerpt footer { color: var(--muted); font-size: 0.875rem; }
.article__excerpt cite { font-style: normal; font-weight: 600; }
.article__footer { display: grid; gap: var(--space-5); justify-items: start; min-width: 0; }
.article__footer > :is(nav, section) { display: grid; gap: var(--space-2); }
.facts { display: grid; gap: var(--space-3); max-width: var(--measure); padding: var(--space-4) 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.section-title + .facts, .facts + .facts { padding-top: 0; border-top: 0; }
.facts div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-1) var(--space-4); }
.facts dt { color: var(--muted); font-size: 0.8125rem; line-height: 1.25rem; }
.facts dd { margin: 0 0 0 auto; font-family: var(--font-mono), monospace; font-size: 0.8125rem; font-variant-numeric: tabular-nums; text-align: right; }
.facts--stacked div { display: grid; gap: var(--space-1); }
.facts--stacked dd { display: grid; margin: 0; gap: var(--space-1); font-family: var(--font-sans), sans-serif; font-size: 0.875rem; line-height: 1.5; text-align: left; }
.facts + .facts, .facts + .note { margin-top: var(--space-3); }
.section-title a { color: inherit; }
.callout { display: grid; gap: var(--space-2); padding: var(--space-4) var(--space-5); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.callout--plain { padding: 0; border: 0; background: none; }
.callout p { font-family: var(--font-serif), serif; font-size: 1.125rem; line-height: 1.5; }
.claim-group + .claim-group { margin-top: var(--space-6); }
.claim-group__title { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); font-family: var(--font-sans), sans-serif; font-size: 0.875rem; font-weight: 600; }
.claim-group__title::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 2px; background: var(--rule-strong); }
.claim-group--disputed .claim-group__title::before { background: var(--developing); }
.claim-group--confirmed .claim-group__title::before { background: var(--positive); }
.claim-group--single-source .claim-group__title::before { background: var(--updated); }
.claim-group--open-questions .claim-group__title::before { background: transparent; box-shadow: inset 0 0 0 1px var(--muted); }
.claim-list { display: grid; gap: var(--space-3); padding: 0; list-style: none; font-size: 1.0625rem; line-height: 1.55; }
.claim-list > li { min-width: 0; }
.dispute .claim-list > li { padding-left: var(--space-3); border-left: 2px solid var(--developing); }
.dispute { display: grid; gap: var(--space-3); padding: var(--space-4); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.dispute__subject { font-weight: 500; }
.citations { display: inline; color: var(--muted); font-size: 0.8125rem; white-space: normal; }
.citations a { color: var(--muted); text-decoration-color: var(--rule-strong); }
.citations a:hover { color: var(--ink); }
.coverage { padding: 0; list-style: none; }
.coverage > li { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-1); padding: var(--space-3) 0; border-bottom: 1px solid var(--rule); }
.coverage__source { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-3); color: var(--muted); font-family: var(--font-sans), sans-serif; font-size: 0.875rem; line-height: 1.5; }
.coverage__source a { color: var(--ink); font-weight: 600; text-decoration: none; }
.coverage__source a:hover { text-decoration: underline; }
.coverage__title { font-weight: 600; line-height: 1.4; }
.coverage__title a { text-decoration: none; }
.coverage__title a:hover { text-decoration: underline; }
.coverage__excerpt { margin: 0; color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.5; }
.external::after { content: " ↗"; color: var(--muted); font-family: var(--font-sans), sans-serif; font-size: 0.85em; }
.button.external::after { color: inherit; }
.note { color: var(--muted); font-size: 0.875rem; }
.coverage + .note { margin-top: var(--space-3); }
.button, button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 2.75rem; padding: var(--space-2) var(--space-4); border: 1px solid var(--control-border); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: inherit; font-size: 0.9375rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; }
.button:hover, button:hover { border-color: var(--ink); color: var(--ink); }
.button:active, button:active { transform: translateY(1px); }
.button--primary, button[type="submit"]:not(.button, .link-button) { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.button--primary:hover, button[type="submit"]:not(.button, .link-button):hover { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.button--quiet { border-color: transparent; background: transparent; }
.button--danger { border-color: var(--negative); background: transparent; color: var(--negative); }
.button--danger:hover { background: var(--negative); border-color: var(--negative); color: var(--surface); }
button:disabled, .button[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }
.link-button { display: inline; min-height: 0; padding: 0; border: 0; background: none; color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 0.2em; }
.link-button:hover { border: 0; color: var(--link-hover); }
.theme-menu__option { justify-content: flex-start; gap: var(--space-3); width: 100%; padding: 0 var(--space-2); border-color: transparent; background: transparent; color: var(--ink-soft); }
.theme-menu__option:hover { border-color: transparent; background: var(--surface-sunken); color: var(--ink); }
.theme-menu__option:active { transform: none; }
.theme-menu__option[aria-pressed="true"] { color: var(--ink); }
.theme-menu__option svg { width: 1.125rem; height: 1.125rem; }
.theme-menu__check { margin-left: auto; color: var(--accent); }
input:not([type="checkbox"], [type="radio"], [type="hidden"]), select, textarea { width: 100%; min-height: 2.75rem; padding: var(--space-2) var(--space-3); border: 1px solid var(--control-border); border-radius: var(--radius); background: var(--surface); color: var(--ink); font: inherit; font-size: 1rem; font-weight: 400; line-height: 1.4; }
textarea { min-height: 7rem; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--focus); outline: 2px solid var(--focus); outline-offset: 0; }
input[type="checkbox"], input[type="radio"] { flex-shrink: 0; width: 1.05rem; height: 1.05rem; margin: 0; accent-color: var(--ink); }
input[aria-invalid="true"], .invalid { border-color: var(--negative); }
.form { display: grid; gap: var(--space-4); max-width: 48rem; }
.field { display: grid; gap: var(--space-1); font-size: 0.875rem; font-weight: 600; }
.field__hint { color: var(--muted); font-size: 0.8125rem; font-weight: 400; }
.form-row { display: grid; gap: var(--space-4); }
.check-tree { margin: 0; padding: 0; list-style: none; columns: 14rem; column-gap: var(--space-6); }
.check-tree > li { break-inside: avoid; padding-bottom: var(--space-4); }
.check-tree ul { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.check-tree .depth-0 .checkbox { font-weight: 600; }
.check-tree .depth-1 { padding-left: var(--space-5); }
.check-tree .depth-2 { padding-left: calc(2 * var(--space-5)); }
.check-tree .depth-3 { padding-left: calc(3 * var(--space-5)); }
.checkbox { display: flex; align-items: center; gap: var(--space-2); min-height: 1.5rem; font-size: 0.9375rem; font-weight: 500; }
.checkbox__note { color: var(--muted); font-family: var(--font-mono), monospace; font-size: 0.75rem; font-weight: 400; }
fieldset { min-width: 0; margin: 0; padding: var(--space-4); border: 1px solid var(--rule); border-radius: var(--radius); }
legend { padding: 0 var(--space-2); font-size: 0.8125rem; font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.form-actions--sticky { position: sticky; bottom: 0; z-index: 1; padding-block: var(--space-3); border-top: 1px solid var(--rule); background: var(--paper); }
.validation-message, .validation-errors { margin: 0; padding: 0; color: var(--negative); font-size: 0.875rem; font-weight: 500; list-style: none; }
.search-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2); }
.search-bar input { min-height: 3rem; font-size: 1.125rem; }
.search-bar button { min-height: 3rem; }
.panel { padding: var(--space-5); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.notice { padding: var(--space-3) var(--space-4); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); font-size: 0.9375rem; }
.notice--success { border-color: var(--positive); background: var(--positive-soft); }
.notice--error { border-color: var(--negative); background: var(--negative-soft); }
.notice--info { border-color: var(--updated); background: var(--updated-soft); }
.empty-state { display: grid; gap: var(--space-2); padding: var(--space-6) 0; color: var(--muted); }
.empty-state strong { color: var(--ink); font-size: 1.0625rem; }
.status-page { display: grid; gap: var(--space-4); max-width: var(--measure); padding: var(--space-7) 0; }
.status-page__code { color: var(--accent); font-family: var(--font-mono), monospace; font-size: 0.875rem; font-weight: 500; }
.table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; overflow-wrap: normal; }
.data-table th, .data-table td { padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.data-table thead th { position: sticky; top: 0; background: var(--surface-sunken); color: var(--muted); font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--surface-sunken); }
.data-table .numeric { font-family: var(--font-mono), monospace; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.data-table th[scope="row"] { min-width: 12rem; }
.data-table time, .data-table code, .data-table button, .data-table .button { white-space: nowrap; }
.data-table .phrase { min-width: 12rem; }
.data-table .url { min-width: 12rem; font-family: var(--font-mono), monospace; font-size: 0.8125rem; word-break: break-all; }
.data-table tr.is-failing { box-shadow: inset 3px 0 0 var(--negative); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); gap: var(--space-2); }
.stat-grid > div { display: grid; align-content: space-between; gap: var(--space-2); padding: var(--space-4); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.stat-grid dt { color: var(--muted); font-size: 0.8125rem; line-height: 1.25rem; }
.stat-grid dd { margin: 0; font-family: var(--font-mono), monospace; font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.status { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.status::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--muted); }
.status--ok::before { background: var(--positive); }
.status--warn::before { background: var(--developing); }
.status--error::before { background: var(--negative); }
.code-block, pre { max-width: 100%; overflow-x: auto; padding: var(--space-4); border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface-sunken); font-family: var(--font-mono), monospace; font-size: 0.8125rem; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
code { font-family: var(--font-mono), monospace; font-size: 0.9em; }
details > summary { cursor: pointer; font-weight: 600; }
details[open] > summary { margin-bottom: var(--space-3); }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
@media (min-width: 23rem) {
    .brand { grid-template-areas: "mark name" "mark tagline"; column-gap: 0.625rem; }
    .brand__mark { width: 1.75rem; height: 1.75rem; }
    .brand__name { align-self: end; }
    .brand__tagline { display: block; align-self: start; }
}
@media (min-width: 32rem) {
    .tool-link { padding: 0 var(--space-3); }
    .tool-link__label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
}
@media (min-width: 40rem) {
    .page { padding-top: var(--space-5); }
    .site-nav__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .page-header { padding-bottom: var(--space-4); margin-bottom: var(--space-5); }
    .breadcrumb li:last-child:not(:first-child) { display: list-item; }
    .story-card--thumb { grid-template-rows: auto 1fr; }
    .story-card--thumb > .publisher-image { grid-row: 1 / span 2; align-self: start; }
    .story-card--thumb > .story-card__title, .story-card--thumb > .story-card__summary { align-self: start; }
    .story-card--thumb > .story-card__summary { grid-column: 1; }
    .form-row { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); align-items: start; }
    .form-row > :is(button, .button, .form-actions) { align-self: end; }
}
@media (min-width: 42rem) {
    .brand { grid-template-areas: "mark name tagline"; column-gap: 0.75rem; }
    .brand__mark { width: 1.375rem; height: 1.375rem; }
    .brand__name, .brand__tagline { align-self: center; }
    .brand__tagline { padding: 0.25rem 0 0.25rem 0.75rem; border-left: 1px solid var(--rule-strong); font-size: 0.8125rem; letter-spacing: 0.14em; }
}
@media (min-width: 48rem) {
    .site-footer__grid { grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
    :root { --site-header-height: calc(3.5rem + 2.75rem + 2px); }
    .site-nav__trigger { display: none; }
    .site-header__account { display: inline-flex; }
    .site-nav { border-top: 1px solid var(--rule); }
    .site-nav__row { display: block; overflow-x: auto; }
    .site-nav__row ul { flex-wrap: nowrap; }
    .story-front { padding-bottom: var(--space-5); }
    .story-card--lead:has(> .publisher-image) { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; column-gap: var(--space-6); }
    .story-card--lead.story-card--thumb { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
    .story-card--lead > .publisher-image, .story-card--lead.story-card--thumb > .publisher-image { grid-column: 2; grid-row: 1 / span 3; }
    .story-card--lead > :not(.publisher-image), .story-card--lead.story-card--thumb > :not(.publisher-image) { grid-column: 1; align-self: start; }
    .story-card--lead.story-card--thumb .story-card__summary { -webkit-line-clamp: 8; line-clamp: 8; }
    .story-card--lead:not(.story-card--thumb) > .publisher-image { grid-template-rows: 1fr; }
    .story-card--lead:not(.story-card--thumb) .publisher-image__link, .story-card--lead:not(.story-card--thumb) img { height: 100%; }
    .story-front__secondary { grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; column-gap: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--rule); }
    .story-front__secondary > li { padding-top: 0; border-top: 0; }
    .story-front__secondary .story-card--thumb { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
    .story-front__secondary .story-card--thumb > .publisher-image { grid-column: auto; grid-row: auto; }
    .story-front__secondary .publisher-image img { aspect-ratio: 16 / 9; }
    .story-front + .story-river { margin-top: var(--space-5); }
    .story-river--columns { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-6); }
    .story-river--columns > li:nth-child(2) { padding-top: 0; border-top: 0; }
    .article { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto 1fr auto; column-gap: var(--space-7); }
    .article__header { grid-column: 1; grid-row: 1 / span 2; }
    .article__body { grid-column: 1; grid-row: 3; }
    .article > .publisher-image { grid-column: 2; grid-row: 1; }
    .article__footer { position: sticky; top: calc(var(--site-header-height) + var(--space-4)); grid-column: 2; grid-row: 2 / span 2; }
}
@media (pointer: coarse) {
    .chip { min-height: 2.75rem; }
}
@media (pointer: fine) {
    .share > summary { min-height: 2rem; padding-inline: var(--space-3); }
    .share__button { width: 2rem; height: 2rem; }
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .publisher-image img { filter: brightness(0.86); }
}
@media (prefers-reduced-motion: no-preference) {
    a, .button, button { transition: color 120ms ease, background-color 120ms ease, border-color 120ms ease, text-decoration-color 120ms ease; }
    .site-nav__panel, .theme-menu { transition: opacity 160ms ease, translate 160ms ease, overlay 160ms ease allow-discrete, display 160ms ease allow-discrete; }
    .site-nav__panel:not(:popover-open), .theme-menu:not(:popover-open) { opacity: 0; translate: 0 -0.5rem; }
    @starting-style {
        .site-nav__panel:popover-open, .theme-menu:popover-open { opacity: 0; translate: 0 -0.5rem; }
    }
    .search-form.is-searching .search-progress::before { animation: search-progress 0.9s ease-in-out infinite; }
    @keyframes search-progress {
        from { transform: translateX(-100%); }
        to { transform: translateX(250%); }
    }
    .search-results { transition: opacity 120ms ease; }
}
