:root {
  color-scheme: light;
  font-family: Inter, "Aptos", "Segoe UI", system-ui, sans-serif;
  color: #14221e;
  background: #f5f3ed;
  font-synthesis: none;
  --ink: #14221e;
  --muted: #60706a;
  --paper: #fffefb;
  --line: #d9ddd5;
  --green: #155b45;
  --green-dark: #0c3e31;
  --mint: #dff2e9;
  --coral: #f26f54;
  --amber: #f2b84b;
  --violet: #7764a6;
  --red: #a34033;
  --shadow: 0 18px 50px rgba(28, 49, 42, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 80% -10%, #dfeee4 0, transparent 32rem), var(--paper); }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid rgba(242, 111, 84, .38); outline-offset: 3px; }

.topbar { width: min(1240px, calc(100% - 40px)); min-height: 72px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(20, 34, 30, .12); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 820; letter-spacing: -.025em; }
.brand svg { width: 30px; color: var(--green); }
.topbar-actions, .language-switch { display: flex; align-items: center; gap: 8px; }
.track-pill, .synthetic-pill, .safe-pill { border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.track-pill { padding: 7px 10px; border: 1px solid var(--line); background: rgba(255,255,255,.65); }
.language-switch { padding: 3px; border: 1px solid var(--line); background: #fff; border-radius: 10px; }
.language-button { border: 0; background: transparent; border-radius: 7px; padding: 5px 8px; cursor: pointer; color: var(--muted); font-size: .72rem; font-weight: 800; }
.language-button.active { color: #fff; background: var(--green); }

main { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0 96px; }
.presentation-notice { display: none; }
body[data-demo-mode="readonly"] .presentation-notice { display: flex; justify-content: space-between; gap: 22px; margin: -34px 0 46px; padding: 14px 17px; border: 1px solid #bed7ca; border-radius: 12px; color: #194f3c; background: #eaf6f0; font-size: .78rem; line-height: 1.45; }
body[data-demo-mode="readonly"] .presentation-notice strong { flex: 0 0 auto; }
body[data-demo-mode="readonly"] .input-grid { grid-template-columns: minmax(0, 1fr); }
body[data-demo-mode="readonly"] .demo-case { min-height: auto; }
.hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr); gap: clamp(36px, 7vw, 96px); align-items: end; padding-bottom: 70px; }
.hero-copy { max-width: 820px; }
.eyebrow, .step-label { margin: 0 0 12px; color: var(--green); font-size: .71rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
h1 { max-width: 800px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.15rem, 7.3vw, 6.9rem); font-weight: 500; line-height: .92; letter-spacing: -.065em; }
.lede { max-width: 760px; margin: 26px 0 0; color: #4e6059; font-size: clamp(1.02rem, 1.5vw, 1.25rem); line-height: 1.6; }
.trust-row { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 28px; color: var(--green-dark); font-size: .79rem; font-weight: 730; }
.trust-row span::before { content: "✓"; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 6px; border-radius: 50%; color: #fff; background: var(--green); font-size: .65rem; }

.runtime-card { padding: 22px; border: 1px solid rgba(20,34,30,.13); border-radius: 18px; background: rgba(255,255,255,.72); box-shadow: 0 14px 36px rgba(28,49,42,.06); backdrop-filter: blur(12px); }
.runtime-head { display: flex; gap: 9px; align-items: center; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #29a46d; box-shadow: 0 0 0 5px rgba(41,164,109,.12); }
#runtime-status { min-height: 38px; margin: 14px 0; color: var(--muted); line-height: 1.45; font-size: .88rem; }
.runtime-stack { display: flex; flex-wrap: wrap; gap: 6px; }
.runtime-stack span { padding: 6px 8px; border-radius: 7px; background: #eef1eb; color: #46554f; font-size: .67rem; font-weight: 750; }

.workspace, .results { border: 1px solid var(--line); border-radius: 24px; background: var(--paper); box-shadow: var(--shadow); overflow: hidden; }
.workspace { padding: clamp(24px, 4vw, 46px); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.section-heading h2, .result-header h2, .processing h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.35rem); font-weight: 500; letter-spacing: -.04em; }
.section-heading p:not(.step-label) { max-width: 700px; margin: 10px 0 0; color: var(--muted); line-height: 1.55; }
.synthetic-pill { flex: 0 0 auto; padding: 8px 11px; color: #6d5320; background: #fff4d9; }
.input-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; margin-top: 34px; }
.demo-case, .drop-zone { min-height: 360px; border-radius: 18px; }
.demo-case { position: relative; padding: 28px; color: #f8fff9; background: linear-gradient(145deg, var(--green-dark), #17644b); overflow: hidden; }
.demo-case::after { content: ""; position: absolute; right: -90px; bottom: -100px; width: 270px; height: 270px; border: 1px solid rgba(255,255,255,.17); border-radius: 50%; box-shadow: 0 0 0 48px rgba(255,255,255,.04), 0 0 0 96px rgba(255,255,255,.025); }
.demo-case-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.demo-kicker { font-size: .68rem; letter-spacing: .16em; font-weight: 850; color: #b8e7d3; }
.safe-pill { padding: 6px 8px; background: rgba(255,255,255,.12); }
.demo-case h3 { position: relative; z-index: 1; margin: 28px 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 2.1rem; font-weight: 500; letter-spacing: -.035em; }
.demo-case p { position: relative; z-index: 1; max-width: 540px; margin: 0; color: #c8ded5; line-height: 1.5; }
.file-stack { position: relative; z-index: 1; display: flex; align-items: center; margin: 26px 0 22px; }
.file-stack span { max-width: 145px; margin-right: -8px; padding: 9px 11px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; background: rgba(255,255,255,.1); color: #eafff4; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; backdrop-filter: blur(6px); }
.file-stack span:nth-child(2) { transform: rotate(2deg); }
.file-stack span:nth-child(3) { transform: rotate(-1.5deg); }
.file-stack.demo-document-list { flex-wrap: wrap; gap: 7px; }
.file-stack.demo-document-list a { position: relative; z-index: 1; max-width: 190px; padding: 8px 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; color: #eafff4; background: rgba(255,255,255,.1); font-size: .68rem; font-weight: 700; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.file-stack.demo-document-list a:hover { border-color: rgba(255,255,255,.48); background: rgba(255,255,255,.17); }
.demo-stats { position: relative; z-index: 1; display: flex; gap: 24px; margin: 0 0 26px; }
.demo-stats div { display: flex; align-items: baseline; gap: 5px; }
.demo-stats dt { font-size: 1.3rem; font-weight: 820; }
.demo-stats dd { margin: 0; color: #b9d1c8; font-size: .72rem; }
.primary-action, .secondary-action { position: relative; z-index: 1; border: 0; border-radius: 11px; padding: 13px 16px; font-weight: 820; cursor: pointer; }
.primary-action { display: flex; align-items: center; justify-content: space-between; width: 100%; color: var(--green-dark); background: #fff9ef; }
.primary-action:hover { background: #fff; transform: translateY(-1px); }
.primary-action span:last-child { font-size: 1.25rem; }

.drop-zone { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px; border: 1.5px dashed #aebbb4; background: #f8f8f4; text-align: center; transition: border-color .2s, background .2s; }
.drop-zone.dragging { border-color: var(--green); background: var(--mint); }
.drop-icon { display: grid; place-items: center; width: 58px; height: 66px; border: 2px solid #9ca9a2; border-radius: 7px 7px 13px 7px; color: var(--green); background: #fff; font-size: .75rem; font-weight: 850; box-shadow: 6px 6px 0 #dfe7df; }
.drop-zone h3 { margin: 22px 0 7px; font-size: 1.12rem; }
.drop-zone > p { max-width: 400px; margin: 0 0 18px; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.file-label { display: inline-flex; padding: 10px 14px; border: 1px solid #b6c0ba; border-radius: 9px; background: #fff; font-size: .82rem; font-weight: 800; cursor: pointer; }
.file-label input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.selected-files { width: 100%; max-height: 84px; margin-top: 12px; overflow: auto; }
.selected-file { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid #e5e8e3; color: #44534d; font-size: .72rem; }
.secondary-action { margin-top: 12px; color: #fff; background: var(--green); }
.secondary-action:disabled, button:disabled { opacity: .42; cursor: not-allowed; transform: none; }

.processing { margin: 22px 0; padding: clamp(24px, 4vw, 42px); border-radius: 24px; color: #f5fff8; background: #132e26; box-shadow: var(--shadow); display: grid; grid-template-columns: .75fr 1.25fr; gap: 40px; }
.step-label.inverted { color: #8dd4b8; }
.processing-copy p:last-child { color: #a9c0b7; line-height: 1.5; }
.stage-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 0; padding: 0; list-style: none; }
.stage-item { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid rgba(255,255,255,.11); border-radius: 10px; color: #8fa69d; font-size: .8rem; }
.stage-icon { display: grid; place-items: center; width: 21px; height: 21px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; font-size: .68rem; }
.stage-item.active { color: #fff; border-color: rgba(141,212,184,.42); background: rgba(141,212,184,.08); }
.stage-item.active .stage-icon { border-color: var(--amber); color: var(--amber); animation: pulse 1.2s infinite; }
.stage-item.complete { color: #dff7ed; }
.stage-item.complete .stage-icon { border-color: #75caa8; background: #27785b; color: #fff; }

.results { margin-top: 24px; }
.result-header { display: flex; justify-content: space-between; gap: 22px; padding: clamp(24px, 4vw, 42px); border-bottom: 1px solid var(--line); }
#result-subtitle { margin: 9px 0 0; color: var(--muted); }
.run-proof { align-self: flex-end; padding: 10px 12px; border-radius: 10px; color: #2d5c49; background: var(--mint); font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .69rem; }
.summary { display: grid; grid-template-columns: repeat(5, minmax(120px, 1fr)); border-bottom: 1px solid var(--line); }
.metric { padding: 20px 24px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; margin-bottom: 4px; font-family: Georgia, "Times New Roman", serif; font-size: 2.15rem; font-weight: 500; }
.metric span { color: var(--muted); font-size: .72rem; }
.metric.good strong { color: var(--green); }
.result-layout { display: grid; grid-template-columns: 285px minmax(0, 1fr); min-height: 680px; }
.matter-sidebar { display: flex; flex-direction: column; padding: 24px 18px; border-right: 1px solid var(--line); background: #f8f8f4; }
.sidebar-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 13px; color: var(--muted); font-size: .71rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.count-badge { display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 50%; color: #fff; background: var(--green); }
.matter-tabs { display: grid; gap: 7px; }
.matter-tab { width: 100%; padding: 14px; border: 1px solid transparent; border-radius: 12px; background: transparent; text-align: left; cursor: pointer; }
.matter-tab:hover { background: #fff; }
.matter-tab.active { border-color: #cad6ce; background: #fff; box-shadow: 0 8px 22px rgba(28,49,42,.06); }
.matter-tab-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.matter-tab strong { font-size: .93rem; }
.matter-tab small { display: block; margin-top: 7px; color: var(--muted); }
.state { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 8px; font-size: .63rem; font-weight: 850; letter-spacing: .06em; }
.state.OPEN { color: #725107; background: #fff0c9; }
.state.CLOSED { color: #155b3b; background: #dff3e8; }
.state.UNCERTAIN { color: #5c477d; background: #eee8f8; }
.matter-tab-alert { color: var(--red) !important; }
.legend { display: grid; gap: 8px; margin-top: auto; padding: 22px 7px 4px; border-top: 1px solid var(--line); color: var(--muted); font-size: .64rem; }
.legend strong { margin-bottom: 4px; color: var(--ink); font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.legend-dot.fact { background: var(--green); }.legend-dot.allegation { background: var(--coral); }.legend-dot.inference { background: var(--violet); }.legend-dot.unresolved { background: #9a7405; }.legend-dot.review { background: var(--amber); }

.matter-detail { min-width: 0; padding: clamp(24px, 4vw, 42px); }
.matter-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.matter-heading h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 500; letter-spacing: -.045em; }
.matter-heading p { margin: 8px 0 0; color: var(--muted); }
.matter-heading .state { padding: 7px 10px; font-size: .7rem; }
.detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.panel { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.panel.full { grid-column: 1 / -1; }
.panel h4 { margin: 0; font-size: .73rem; letter-spacing: .1em; text-transform: uppercase; }
.panel-subtitle { margin: 6px 0 18px; color: var(--muted); font-size: .77rem; line-height: 1.45; }
.timeline { display: grid; gap: 0; }
.timeline-event { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 14px; min-height: 56px; padding-bottom: 15px; }
.timeline-event::before { content: ""; position: absolute; top: 8px; left: 103px; bottom: -5px; width: 1px; background: #d8dfda; }
.timeline-event:last-child::before { display: none; }
.timeline-date { color: var(--muted); font-size: .7rem; font-weight: 750; }
.timeline-copy { position: relative; padding-left: 14px; color: #35453f; font-size: .82rem; line-height: 1.45; }
.timeline-copy::before { content: ""; position: absolute; top: 5px; left: -3px; width: 7px; height: 7px; border: 2px solid #fff; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 1px var(--green); }
.timeline-event.undated .timeline-copy::before { background: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.empty-state { padding: 16px; border-radius: 10px; color: var(--muted); background: #f6f7f4; font-size: .8rem; }

.amount-list { display: grid; gap: 9px; }
.amount-row { padding: 13px; border-radius: 11px; background: #f7f7f3; }
.amount-row.allegation { background: #fff1ed; }
.amount-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.amount-value { font-size: 1.06rem; }
.amount-role { color: #45544e; font-size: .76rem; font-weight: 780; text-transform: capitalize; }
.amount-row small { display: block; margin-top: 6px; color: var(--muted); font-size: .67rem; }
.kind-badge, .verification-badge { display: inline-flex; align-items: center; border-radius: 999px; font-size: .6rem; font-weight: 850; letter-spacing: .07em; white-space: nowrap; }
.kind-badge { padding: 5px 7px; }
.kind-badge.FACT { color: #165840; background: #def2e8; }
.kind-badge.PARTY_ALLEGATION { color: #843924; background: #ffe1d8; }
.kind-badge.INFERENCE { color: #5d4a80; background: #eee8f8; }
.kind-badge.UNRESOLVED { color: #654b05; background: #fff0c2; }
.kind-badge.PROPOSED_ACTION { color: #165840; background: #dcefe7; }
.kind-badge.NEEDS_HUMAN_REVIEW { color: #704e05; background: #ffebad; }
.verification-badge { padding: 4px 6px; color: var(--muted); border: 1px solid #d8ddd8; }

.action-card { position: relative; overflow: hidden; padding: 20px; border-radius: 14px; color: #f5fff9; background: var(--green-dark); }
.action-card::after { content: "→"; position: absolute; right: 17px; top: 10px; color: rgba(255,255,255,.15); font-family: Georgia, serif; font-size: 4.5rem; }
.action-card .kind-badge { position: relative; z-index: 1; color: #d8f3e8; background: rgba(255,255,255,.12); }
.action-card h5 { position: relative; z-index: 1; margin: 18px 0 7px; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; }
.action-card p { position: relative; z-index: 1; margin: 0; color: #bed6cc; font-size: .8rem; line-height: 1.5; }
.action-meta { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.action-meta span { padding: 5px 7px; border-radius: 6px; background: rgba(255,255,255,.09); color: #d7e9e1; font-size: .65rem; }
.alerts { display: grid; gap: 9px; margin-top: 12px; }
.alert { padding: 12px 13px; border-left: 3px solid var(--amber); border-radius: 8px; background: #fff7dc; color: #5a4718; font-size: .76rem; line-height: 1.45; }
.alert strong { display: block; margin-bottom: 3px; }
.alert.deadline { border-left-color: var(--green); color: #275143; background: #edf7f2; }
.alert.conflict { border-left-color: var(--violet); color: #51416f; background: #f4f0fa; }

.evidence-list { display: grid; gap: 7px; max-height: 430px; padding-right: 5px; overflow: auto; }
.assertion-row { width: 100%; display: grid; grid-template-columns: minmax(125px, auto) 1fr auto; gap: 12px; align-items: center; padding: 11px; border: 1px solid #e0e4df; border-radius: 10px; background: #fff; text-align: left; cursor: pointer; }
.assertion-row:hover { border-color: #9eb3a8; background: #fbfcf9; transform: translateY(-1px); }
.assertion-statement { min-width: 0; overflow: hidden; color: #34453e; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.source-count { color: var(--green); font-size: .67rem; font-weight: 800; }

.evidence-dialog { width: min(720px, calc(100% - 32px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 20px; color: var(--ink); background: var(--paper); box-shadow: 0 30px 90px rgba(10,28,21,.34); }
.evidence-dialog::backdrop { background: rgba(10,25,20,.58); backdrop-filter: blur(4px); }
.dialog-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; gap: 20px; padding: 24px 28px 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
.dialog-head h2 { margin: 0; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; letter-spacing: -.04em; }
.icon-button { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 1.35rem; cursor: pointer; }
#evidence-content { padding: 25px 28px 32px; }
.claim-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.claim-statement { margin: 0 0 22px; font-family: Georgia, serif; font-size: 1.3rem; line-height: 1.4; }
.claim-parties { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-bottom: 20px; }
.claim-parties div { padding: 11px; border-radius: 9px; background: #f4f5f1; }
.claim-parties small { display: block; margin-bottom: 4px; color: var(--muted); }
.source-card { margin-top: 12px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.source-route { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--green); font-size: .73rem; font-weight: 820; }
.source-route span:not(:last-child)::after { content: "→"; margin-left: 8px; color: #9ba8a2; }
.source-card blockquote { margin: 15px 0; padding: 14px 16px; border-left: 3px solid var(--green); background: #f2f6f2; font-family: Georgia, serif; font-size: 1.03rem; line-height: 1.5; }
.hash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.hash-grid code { padding: 8px; overflow-wrap: anywhere; border-radius: 6px; color: #5a6963; background: #f6f7f4; font-size: .62rem; }

footer { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 38px; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
footer p { max-width: 620px; margin: 0; }
.hidden { display: none !important; }

@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(242,184,75,.1); } 50% { box-shadow: 0 0 0 6px rgba(242,184,75,.12); } }

@media (max-width: 980px) {
  .hero, .input-grid, .processing { grid-template-columns: 1fr; }
  .runtime-card { max-width: 520px; }
  .summary { grid-template-columns: repeat(3, 1fr); }
  .metric:nth-child(3) { border-right: 0; }
  .metric:nth-child(n+4) { border-top: 1px solid var(--line); }
  .result-layout { grid-template-columns: 1fr; }
  .matter-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
  .matter-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legend { display: none; }
}

@media (max-width: 680px) {
  .topbar, main, footer { width: min(100% - 24px, 1240px); }
  .topbar { min-height: 62px; }
  .track-pill { display: none; }
  main { padding: 46px 0 70px; }
  .hero { padding-bottom: 46px; }
  h1 { font-size: clamp(2.9rem, 16vw, 4.4rem); }
  .section-heading, .result-header, footer { flex-direction: column; }
  .synthetic-pill { align-self: flex-start; }
  .demo-case, .drop-zone { min-height: auto; }
  .demo-stats { gap: 14px; }
  .stage-list { grid-template-columns: 1fr; }
  .summary { grid-template-columns: repeat(2, 1fr); }
  .metric { border-top: 1px solid var(--line); }
  .metric:nth-child(1), .metric:nth-child(2) { border-top: 0; }
  .metric:nth-child(even) { border-right: 0; }
  .matter-tabs, .detail-grid { grid-template-columns: 1fr; }
  .timeline-event { grid-template-columns: 76px 1fr; }
  .timeline-event::before { left: 83px; }
  .assertion-row { grid-template-columns: 1fr auto; }
  .assertion-row .kind-badge { grid-column: 1 / -1; justify-self: start; }
  .claim-parties, .hash-grid { grid-template-columns: 1fr; }
  .run-proof { align-self: flex-start; }
  body[data-demo-mode="readonly"] .presentation-notice { flex-direction: column; margin-top: -20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
