/* Hallmark · shape: app screen · genre: modern-minimal · theme: Console (deal 2/3, seed tensorchain-chain-custody-digital-c4f5·7aa3992f·2026-11-24·r0) · console: graphite
 * screen: sources, datasets, models, impact and audit tables with inline forms · states: loading, empty, error, full · signature: the state chip, revoked in red beside the record that caused it
 * axes: dark/grotesk-sans/chromatic-amber · posture: restrained · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V3 · weakest: V, an app shell is meant to be familiar; the record panel and chips carry the theme */
/* Hallmark · dismissed F4 · the nav current tab is a selection state on the cool tint and the armed red Confirm revoke is a one-step destructive state; amber stays the only primary action */
:root {
  color-scheme: dark;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(72% 0.15 27); --color-success: oklch(76% 0.13 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(17% 0.008 250); --color-paper-2: oklch(21% 0.009 250); --color-paper-3: oklch(13.5% 0.007 250);
  --color-ink: oklch(95% 0.005 250); --color-ink-2: oklch(83% 0.008 250); --color-muted: oklch(71% 0.01 250);
  --color-rule: oklch(31% 0.01 250); --color-rule-2: oklch(42% 0.012 250);
  --color-accent: oklch(82% 0.15 80); --color-accent-ink: oklch(18% 0.04 75); --color-accent-soft: oklch(29% 0.05 80); --color-focus: oklch(82% 0.15 80);
  --color-cool: oklch(77% 0.12 245); --color-cool-soft: oklch(29% 0.05 245);
  --color-ok: oklch(76% 0.15 150); --color-ok-soft: oklch(24.5% 0.03 150); --color-bad: oklch(70% 0.17 25); --color-bad-soft: oklch(24.5% 0.035 25);
  --font-display: "Host Grotesk", ui-sans-serif, system-ui, sans-serif; --font-body: var(--font-display);
  --font-outlier: "Atkinson Hyperlegible Mono", ui-monospace, monospace;
  --radius-card: 10px; --radius-pill: 6px; --rule-hair: 1px;
  --shadow-card: none;
  --tracking-display: -0.03em; --display-weight: 500;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 25%, transparent); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
/* photographs: duotone paper-3 ink */
[data-slot]:has(> img) { isolation: isolate; background: var(--color-ink); outline: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }
[data-slot] > img { z-index: 0; filter: grayscale(1) contrast(1.08); mix-blend-mode: multiply; }
[data-slot]:has(> img)::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--color-paper-3); mix-blend-mode: lighten; pointer-events: none; }

@font-face { font-family: "Host Grotesk"; src: url("fonts/HostGrotesk-400.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Mono"; src: url("fonts/AtkinsonHyperlegibleMono-400.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }


:root { --text-md: 0.9375rem; }
body { min-height: 100dvh; }
header { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-xl); padding: var(--space-sm) var(--gutter); border-bottom: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-3); }
header h1 { font-size: var(--text-lg); max-width: none; letter-spacing: var(--tracking-display); }
nav { display: flex; flex-wrap: wrap; gap: var(--space-2xs); }
main { width: 100%; max-width: var(--container); margin-inline: auto; padding: var(--space-xl) var(--gutter) var(--space-3xl); display: grid; gap: var(--space-lg); align-content: start; }
main h2 { font-size: var(--text-2xl); max-width: none; }
main h3 { font-size: var(--text-lg); }
main > p, section > p { color: var(--color-muted); }

button { min-height: 36px; padding: var(--space-xs) var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font-weight: 500; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }
button:hover { background: var(--color-paper-3); border-color: var(--color-ink-2); }
button:active { background: var(--color-paper); }
button:focus-visible, input:focus-visible, select:focus-visible, a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
button:disabled { background: var(--color-paper-3); border-color: var(--color-rule); color: var(--color-muted); cursor: not-allowed; }
button[type="submit"] { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
button[type="submit"]:hover { background: var(--color-ink); border-color: var(--color-ink); }
nav button[aria-current="page"] { background: var(--color-cool-soft); border-color: var(--color-cool); color: var(--color-ink); }

form { display: flex; flex-wrap: wrap; align-items: end; gap: var(--space-sm) var(--space-md); padding: var(--space-lg); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); }
form.inline { display: inline-flex; padding: 0; border: 0; background: transparent; gap: var(--space-xs); }
label { display: grid; gap: var(--space-2xs); font-size: var(--text-sm); color: var(--color-muted); }
input, select { min-height: 36px; padding: var(--space-xs) var(--space-sm); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-pill); background: var(--color-paper-3); color: var(--color-ink); }
input:hover, select:hover { border-color: var(--color-ink-2); }
input:disabled { background: var(--color-paper); border-color: var(--color-rule); color: var(--color-muted); cursor: not-allowed; }
input[aria-invalid="true"] { border-color: var(--color-bad); }
form.inline input { min-height: 32px; width: 9rem; }
form.inline label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
form.inline button[type="submit"] { background: var(--color-paper-2); border-color: var(--color-rule-2); color: var(--color-ink); }
form.inline button[type="submit"]:hover { background: var(--color-paper-3); border-color: var(--color-ink-2); }
.row-actions { display: inline-flex; align-items: center; gap: var(--space-md); }
button.danger { border-color: var(--color-bad-soft); color: var(--color-bad); }
button.danger:hover { background: var(--color-bad-soft); border-color: var(--color-bad); }
button.danger.armed { background: var(--color-bad); border-color: var(--color-bad); color: var(--color-paper-3); }
button.danger:disabled { background: var(--color-paper-3); border-color: var(--color-rule); color: var(--color-muted); }
section form button[type="submit"] { background: var(--color-paper-2); border-color: var(--color-rule-2); color: var(--color-ink); }
section form button[type="submit"]:hover { background: var(--color-paper-3); border-color: var(--color-ink-2); }
.id { font-family: var(--font-outlier); font-size: var(--text-sm); color: var(--color-cool); font-variant-numeric: tabular-nums slashed-zero; }

.table-wrap { overflow-x: auto; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); }
table { width: 100%; border-collapse: collapse; }
thead th { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); background: var(--color-paper-3); }
th, td { text-align: left; padding: var(--space-sm) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); white-space: nowrap; vertical-align: middle; }
tbody tr:hover { background: var(--color-paper-3); }
tbody tr:last-child > * { border-bottom: 0; }
td:first-child { font-weight: 500; }

.chip { display: inline-block; padding: var(--space-3xs) var(--space-xs); border: var(--rule-hair) solid var(--color-rule-2); border-radius: 4px; font-size: var(--text-xs); font-weight: 500; }
.chip--ok { background: var(--color-ok-soft); color: var(--color-ok); border-color: var(--color-ok-soft); }
.chip--bad { background: var(--color-bad-soft); color: var(--color-bad); border-color: var(--color-bad-soft); }
.chip--cool { background: var(--color-cool-soft); color: var(--color-cool); border-color: var(--color-cool-soft); }

.ok { color: var(--color-ok); } .refused { color: var(--color-bad); font-family: var(--font-outlier); font-size: var(--text-sm); }
.loading, .empty { padding: var(--space-xl); border: var(--rule-hair) dashed var(--color-rule-2); border-radius: var(--radius-card); color: var(--color-muted); }
.loading { border-style: solid; background: var(--color-paper-2); }
section { display: grid; gap: var(--space-md); }
a { color: var(--color-cool); }
a:hover { color: var(--color-accent); }
#result { display: none; }

@media (max-width: 40rem) {
  header { padding: var(--space-sm) var(--gutter); }
  main { padding: var(--space-lg) var(--gutter) var(--space-2xl); }
  form { padding: var(--space-md); }
}
