/* Hallmark · checked: unified prototype shell · genre: editorial · built: the project · redesign: polish · v2.0.0 */
/* Unified site shell: shared header (with the day/night toggle), prototype bar and footer. Colours come from evidence.css tokens. */
:root {
  color-scheme: light dark;
  &:has(> head > meta[name="color-scheme"][content="dark"]) { color-scheme: dark; }
  &:has(> head > meta[name="color-scheme"][content="light"]) { color-scheme: light; }
}
html, body { overflow-x: clip; }
.site-header { align-items: center; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.site-nav a { text-decoration: none; color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--line-strong); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--ink); font-weight: 600; }
.header-icon { width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; color: var(--ink); border-radius: 6px; cursor: pointer; }
.header-icon:hover { background: var(--sunk); }
.header-icon:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-toggle .icon { width: 18px; height: 18px; }
.theme-toggle .theme-sun { display: none; }
:root:has(> head > meta[name="color-scheme"][content="dark"]) .theme-toggle .theme-moon { display: none; }
:root:has(> head > meta[name="color-scheme"][content="dark"]) .theme-toggle .theme-sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not(:has(> head > meta[name="color-scheme"][content="light"])) .theme-toggle .theme-moon { display: none; }
  :root:not(:has(> head > meta[name="color-scheme"][content="light"])) .theme-toggle .theme-sun { display: block; }
}
:root[data-theme-fade]::view-transition-old(root), :root[data-theme-fade]::view-transition-new(root) { animation-duration: 1.4s; animation-timing-function: cubic-bezier(.45, 0, .25, 1); }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }
.proto-bar { gap: 12px 20px; }
.meta-list { display: inline-flex; flex-wrap: wrap; gap: 2px 12px; }
/* Directory */
.ledger.directory .c-co { width: 30%; } .ledger.directory .c-lenses { width: 34%; } .ledger.directory .c-research { width: 18%; } .ledger.directory .c-updated { width: 18%; }
.ledger.directory thead th:nth-child(2) { text-transform: none; letter-spacing: 0; }
.lens-marks { list-style: none; display: flex; gap: 10px; align-items: center; min-height: 20px; }
.mark-cell { display: inline-flex; }
.type.mark-only { font-size: 0; gap: 0; }
.type.mark-only .type-mark { width: 9px; height: 9px; }
.type-unknown.mark-only .type-mark { height: 2px; width: 10px; }
.type-none { --tc: var(--t-unknown); } .type-none .type-mark { background: transparent; border: 1px dotted currentColor; }
.type-list { display: grid; gap: 10px; }
.type-list div { display: grid; grid-template-columns: 200px 1fr; gap: 12px; font-size: 14px; }
.type-list dd { color: var(--muted); }
.event-source { display: grid; gap: 6px; padding: 10px 0; border-top: 1px solid var(--line); }
.event-sources { list-style: none; display: grid; gap: 0; }
.es-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; }
.es-name { font-weight: 600; }
.es-doc { color: var(--muted); }
.response-quote { margin: 0; padding: 12px 16px; background: var(--response); border-radius: var(--radius); }
@media (max-width: 700px) { .site-nav { gap: 14px; font-size: 13px; } .type-list div { grid-template-columns: 1fr; gap: 2px; } }
