/* Shared readability improvements: subdued text remains legible. */
:root{--muted:#52665a}
.page{max-width:1520px;padding:32px}.topbar{padding:0 32px}
.eyebrow{font-size:11px;color:#52654e}.badge{font-size:11px}.badge.hypothesis{color:#695082}
.badge.stale,.badge.pending{color:#85591e}.badge.superseded{color:#526477}.badge.retracted,.badge.revoked,.badge.rejected,.badge.declined{color:#8c4b3e}.mode-tag{color:#52664d}.sidebar-bottom p{color:#56695a}
.record-sub{color:#55695c;font-size:12px}.field-label{color:#566950}.technical,.technical pre{color:#53694e;font-size:12px}.technical summary{min-height:36px}
.section-caption{color:#52664d;font-size:12px}.help-note{font-size:13px;color:#52664d}.attention p{color:#795b24;font-size:13px}
.quiet{min-height:40px;color:#42614e}.primary{min-height:40px}.detail-meta{gap:8px}.snapshot{font-size:11px;color:#52664d}
.graph-page{padding-top:24px}.graph-page .page-heading{margin-bottom:18px}.graph-page .page-heading .eyebrow{display:none}.graph-page h1{font-size:28px;margin-bottom:7px}
.graph-shell{min-width:0}.graph-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:14px}.graph-navigation{display:flex;gap:4px;flex-wrap:wrap}
.graph-modes{display:flex;background:#e9efe5;border:1px solid #d5dfd1;border-radius:9px;padding:4px;gap:4px}.graph-mode{min-height:40px;border:0;border-radius:6px;background:transparent;padding:9px 13px;font-size:13px;line-height:1.4;color:#475e4d}.graph-mode[aria-pressed=true]{background:#fff;box-shadow:0 1px 4px #233a2412;color:#235b40;font-weight:600}.graph-mode:hover{background:#f8faf6}
.graph-rootline{display:flex;gap:10px;align-items:baseline;border-left:3px solid #699579;background:#eef4eb;padding:12px 15px;border-radius:0 8px 8px 0;margin-bottom:12px;min-width:0}.graph-root-label{font-size:12px;color:#52664d;flex-shrink:0}.graph-root-title{font-size:14px;font-weight:550;overflow-wrap:anywhere;min-width:0}
.graph-state-line{display:flex;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}.graph-status{flex:1;font-size:13px;line-height:1.65;color:#52664d;margin:0;min-width:200px}.graph-status.attention{color:#76531e;padding:11px 13px;margin:0}.graph-state-line>.quiet{border:1px solid #b9cdb1;background:#fff}
.graph-workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}.graph-explorer{min-width:0;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.graph-viewbar{padding:12px 16px;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:center}.graph-display{background:#f0f3ed}.graph-display .graph-mode{min-height:36px}
.graph-controls{display:flex;align-items:center;gap:4px;padding:8px 12px;flex-wrap:wrap;border-bottom:1px solid var(--line);background:#fff}.graph-controls>.quiet{min-width:38px;font-size:12px;padding:7px 9px}.graph-controls>.quiet:first-child,.graph-controls>.quiet:nth-child(2){font-size:20px}.graph-scale{font-size:12px;color:#52664d;font-variant-numeric:tabular-nums;padding:0 10px 0 2px;min-width:48px}.graph-pan{font-size:12px;flex-basis:100%;color:#52664d}.graph-pan summary{cursor:pointer;min-height:36px;padding:9px 4px}.graph-pan-buttons{display:flex;gap:8px;padding:0 0 8px}.graph-pan-buttons .quiet{border:1px solid #b7c8b1;min-width:44px;min-height:44px;font-size:18px}
.graph-canvas{display:block;width:100%;height:540px;background:#f9fbf6;touch-action:none;cursor:grab;outline:none}.graph-canvas:active{cursor:grabbing}.graph-canvas:focus-visible{outline:3px solid #266b4f;outline-offset:-3px}
.graph-edge path{fill:none;stroke:#647f68;stroke-width:1.5;vector-effect:non-scaling-stroke}.graph-arrow{fill:#49664e}.graph-edge.related path{stroke:#355e42;stroke-width:2.3}.graph-edge.participant path{stroke:#70846e;stroke-dasharray:5 5}.graph-edge-label{font-size:12px;fill:#4e6753;text-anchor:middle;paint-order:stroke;stroke:#f9fbf6;stroke-width:5px;stroke-linejoin:round}
.graph-node{cursor:pointer;outline:none}.graph-node rect{fill:#fff;stroke:#738c6e;stroke-width:1.4;vector-effect:non-scaling-stroke}.graph-node.source rect{fill:#f0f5fa;stroke:#6f849b}.graph-node.object rect{fill:#f4f0f9;stroke:#88759b}.graph-node.root rect{stroke:#567c5c;stroke-width:2.5}.graph-node.chosen rect,.graph-node:focus-visible rect{stroke:#205f43;stroke-width:3.5}.graph-node:hover rect{stroke:#305d3c}
.graph-node-title{fill:#263e2f;font-size:14.5px;font-weight:550}.graph-node-meta{fill:#52694e;font-size:11.5px}.graph-node.source .graph-node-meta{fill:#46617c}.graph-node.object .graph-node-meta{fill:#665078}.graph-node-state{fill:#49694f;font-size:12px}.graph-node-state.stale{fill:#85581b}.graph-node-state.superseded{fill:#526477}.graph-node-state.retracted,.graph-node-state.revoked{fill:#8c4b3e}
.graph-hint{font-size:12px;color:#52664d;padding:13px 16px;line-height:1.65;margin:0;border-top:1px solid var(--line)}.graph-legend{display:flex;gap:10px 16px;flex-wrap:wrap;padding:14px 16px;border-top:1px solid var(--line);font-size:12px;color:#4d634e}.graph-legend .legend-fact:before,.graph-legend .legend-source:before,.graph-legend .legend-object:before{content:"";display:inline-block;width:11px;height:11px;vertical-align:-1px;margin-right:7px;border:1px solid #738c6e;border-radius:3px;background:#eef4e9}.graph-legend .legend-source:before{background:#edf3fa;border-color:#6f849b}.graph-legend .legend-object:before{background:#f3edf9;border-color:#88759b}
.graph-node-list{padding:16px}.graph-search{display:block;font-size:12px;color:#52664d;margin-bottom:12px}.graph-search>span{display:block;margin-bottom:7px}.graph-search input{width:100%;height:44px;border:1px solid #95aa8e;border-radius:8px;padding:0 12px;font-size:14px;background:#fff;color:#263e2f}.graph-search input::placeholder{color:#586c53}.graph-node-list>.list{max-height:490px;overflow:auto;padding:0 3px}.graph-node-list .record{padding:14px 10px;gap:14px;border-radius:7px}.graph-node-list .record[aria-pressed=true]{background:#edf4e8;box-shadow:inset 3px 0 #38714b}.graph-node-list .record:focus-visible{outline-offset:-2px}.graph-node-list .record-title{font-size:14px}.graph-node-list .record-sub{font-size:12px}.graph-node-list .record:hover{background:#f5f8f0}
.graph-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;min-width:0;max-height:min(820px,calc(100dvh - 40px));overflow:auto;scroll-margin-top:16px}.graph-card h2{font-size:20px;line-height:1.5;overflow-wrap:anywhere;letter-spacing:-.3px}.graph-card h2:focus-visible{outline:2px solid #266b4f;outline-offset:4px}.graph-card .eyebrow{margin-bottom:10px}.graph-card .detail-meta{margin-bottom:16px}.graph-card>.primary{width:100%;text-align:left;margin-bottom:9px}.graph-card>.quiet{display:block;margin-bottom:6px;text-align:left;max-width:100%}.graph-card .field{grid-template-columns:1fr;gap:4px;padding:11px 13px}.graph-card .detail-section{margin-top:20px}.graph-card .detail-id{font-size:12px;margin-bottom:0}.graph-card .source-text{font-size:14px}.graph-card .source-text+.primary{margin-top:16px}.graph-card .attention{font-size:13px}.graph-card .help-note{margin:12px 0}.graph-root-badge{background:#e6efdf;color:#295736}
.graph-help{margin-top:18px;padding:0 2px;font-size:13px;color:#52664d}.graph-help summary{cursor:pointer;min-height:40px;padding:10px 0}.graph-help .help-note{margin:7px 0;max-width:900px}
@media(min-width:1600px){.graph-canvas{height:600px}}
@media(max-width:1200px){.graph-workspace{grid-template-columns:minmax(0,1fr) 290px;gap:16px}.graph-card{padding:18px}.graph-canvas{height:500px}}
@media(max-width:1050px){.page{padding:26px 22px}.topbar{padding:0 22px}.graph-toolbar{gap:10px}.graph-mode{padding:9px 10px}}
@media(max-width:1100px){.graph-workspace{grid-template-columns:1fr}.graph-card{max-height:none}.graph-card .field{grid-template-columns:150px minmax(0,1fr)}.graph-canvas{height:440px}.graph-node-list>.list{max-height:420px}.graph-toolbar>.graph-modes{width:100%}.graph-toolbar>.graph-modes .graph-mode{flex:1}}
@media(max-width:650px){.page{padding:24px 18px}.topbar{padding:0 18px}.quiet,.primary,.graph-mode{min-height:44px}.graph-page .page-heading{margin-bottom:16px}.graph-mode{font-size:12px;padding:9px 8px}.graph-rootline{display:block}.graph-root-label{display:block;margin-bottom:4px}.graph-root-title{display:block;font-size:14px}.graph-status{font-size:12px}.graph-state-line{gap:8px}.graph-canvas{height:420px}.graph-controls>.quiet{min-height:44px}.graph-card .field{grid-template-columns:1fr}.graph-legend{font-size:11px;gap:9px 12px}.graph-workspace{gap:14px}.graph-card{padding:18px}.graph-node-list{padding:14px}.graph-node-list>.list{max-height:420px}.graph-pan summary{min-height:44px}.graph-display .graph-mode{min-height:44px}.graph-hint{font-size:12px}.mode-tag{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
