/* The chamber, grounded proof and edition threads share the research-desk palette. */
.chamber-tools {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;font-size:12px;color:#b4d9dc}
.chamber-tools button {background:transparent;border-color:#52888c;color:white;font-size:12px;padding:7px 11px;white-space:nowrap}
.chamber-tools button[aria-pressed="true"] {background:#28666b}
.chamber-stage {perspective:650px;min-width:0}
.chamber-plan.seat-plan {display:block;width:100%;height:auto;margin:8px 0 6px;padding:0;border:0;overflow:visible;transition:transform .4s ease;transform-origin:center 75%}
.chamber-stage.tilted .chamber-plan {transform:rotateX(28deg);filter:drop-shadow(0 12px 6px #002e3455)}
.chamber-arc {fill:none;stroke:#317378;stroke-width:1;stroke-dasharray:3 5}
.chamber-floor {fill:#1f6066;stroke:#46838a;stroke-width:1}
.chamber-seat {cursor:pointer}
.chamber-seat .seat-hit {fill:transparent;stroke:none}
.chamber-seat .seat {fill:#004850;stroke:#639599;stroke-width:1;transition:fill .16s ease}
.chamber-seat.present .seat {fill:#b8e9de;stroke:#b8e9de}
.chamber-seat:hover .seat {fill:#f3d78f;stroke:white;stroke-width:2}
.chamber-plan.unknown .seat {stroke-dasharray:2 2}
.chamber-count {font:600 27px var(--display);fill:white}
.chamber-count-label {font:10px var(--body);letter-spacing:1.4px;fill:#b4d9dc}
.quorum-result.stale .chamber-seat {opacity:.4}
.chamber-slider-label {display:flex;flex-direction:row;justify-content:space-between;gap:12px;font-size:13px;color:#d0e6e7;margin:4px 0}
.chamber-slider {width:100%;padding:0;min-height:44px;accent-color:#b8e9de;cursor:ew-resize;background:transparent}
.quorum-result .chamber-note {font-size:12px;margin:5px 0 22px;color:#b4d9dc}
.quorum-result .seat-legend {padding-top:18px}
.outcome-spectrum,.proof-workspace {margin:0 48px 46px;border-top:1px solid var(--line);padding-top:30px}
.spectrum-heading {display:flex;justify-content:space-between;gap:28px;align-items:start}
.spectrum-heading h2,.proof-workspace>h2 {font-size:29px;margin:8px 0 12px;letter-spacing:-.025em}
.spectrum-heading p,.proof-workspace>p {font-size:16px;max-width:65ch;margin-bottom:20px}
.spectrum-actions {display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;min-width:175px}
.spectrum-actions button {font-size:14px}
.spectrum-actions #spectrum-start {background:var(--deep);color:white;border-color:var(--deep)}
.spectrum-actions button:disabled {opacity:.55;cursor:default}
.spectrum-meta {display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:13px;margin:10px 0 16px;color:var(--muted)}
#spectrum-boundary {color:var(--teal);font-weight:600}
.spectrum-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:5px}
.spectrum-cell {min-width:0;min-height:44px;padding:6px 2px;font-size:13px;border-radius:3px;position:relative;font-variant-numeric:tabular-nums}
.spectrum-cell:disabled {cursor:default;opacity:.7}
.spectrum-cell[data-outcome="established"],.spectrum-legend i[data-outcome="established"] {background:var(--deep);color:white;border-color:var(--deep)}
.spectrum-cell[data-outcome="neither"],.spectrum-legend i[data-outcome="neither"] {background:#fbf1d8;color:#715117;border-color:#e5d4a9}
.spectrum-cell[data-outcome="other"],.spectrum-legend i[data-outcome="other"] {background:#edf0f3;color:#344957;border:1px dashed #718a99}
.spectrum-cell[data-outcome="pending"],.spectrum-legend i[data-outcome="pending"] {background:white;color:var(--muted);border-color:var(--line)}
.spectrum-cell.selected {outline:3px solid var(--ink);outline-offset:1px;z-index:1;font-weight:700}
.spectrum-legend {display:flex;flex-wrap:wrap;gap:10px 22px;font-size:12px;margin:20px 0 12px}
.spectrum-legend span {display:flex;align-items:center;gap:7px}
.spectrum-legend i {width:12px;height:12px;border:1px solid;border-radius:2px}
.outcome-spectrum>button {font-size:14px;margin-top:12px}
.proof-network {padding:24px 26px;background:var(--surface);border:1px solid var(--line);border-radius:6px;text-align:center}
.proof-facts {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;position:relative;padding-bottom:18px;border-bottom:1px solid #a6c7c8}
.proof-facts .proof-node {position:relative}
.proof-facts .proof-node:after {content:"";position:absolute;width:1px;height:19px;background:#a6c7c8;left:50%;top:100%}
.proof-node {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#f5f9fa;border-color:var(--line);padding:14px 10px;min-height:94px;font-size:14px;text-align:center;width:100%;line-height:1.35}
.proof-node span {font-size:11px;text-transform:uppercase;letter-spacing:.055em;color:var(--teal)}
.proof-node strong {font-weight:600;overflow-wrap:anywhere}
.proof-node[data-trigger="NOT_SATISFIED"] {background:#fff6e5;border-color:#e3cda3}
.proof-node[data-trigger="NOT_SATISFIED"] span {color:#8a631a}
.proof-node[data-trigger="UNDETERMINED"] {border-style:dashed}
.proof-node[data-trigger="UNDETERMINED"] span {color:var(--muted)}
.proof-node.selected {outline:2px solid var(--teal);outline-offset:2px}
.proof-guard,.proof-rule,.proof-finding {max-width:400px;margin:auto;min-height:74px}
.proof-rule {background:var(--soft)}
.proof-finding {background:var(--deep);color:white}
.proof-finding span {color:#b4d9dc}
.proof-junction {font-size:24px;color:#71999b;height:36px;line-height:36px}
.proof-inspector {padding:18px 22px;border-left:3px solid var(--teal);background:#edf4f5;margin:16px 0 12px;min-width:0}
.proof-inspector p {font-size:15px;margin:0}
.proof-inspector h3 {margin:0 0 12px;font-size:18px}
.proof-inspector pre {max-height:300px;overflow:auto}
.proof-inspector .source-links {margin-bottom:12px}
.edition-atlas {margin:0 48px 25px;background:var(--deep);color:white;border-radius:6px;overflow:hidden}
.edition-atlas-heading {padding:26px 30px 0}
.edition-atlas .eyebrow {color:#b4d9dc}
.edition-atlas h2 {font-size:30px;margin:8px 0 12px}
.edition-atlas-heading p {font-size:16px;max-width:70ch;color:#d0e6e7}
.edition-map-scroll {overflow-x:auto;overscroll-behavior-inline:contain;padding:10px 20px 6px}
.edition-map {display:block;width:100%;min-width:850px}
.edition-map-year {font:13px var(--body);fill:#b4d9dc;letter-spacing:.6px}
.edition-map-line {fill:none;stroke:#72a1a5;stroke-width:1.4;opacity:.5;pointer-events:none}
.edition-map-hit {fill:none;stroke:transparent;stroke-width:12;pointer-events:stroke}
.edition-map-bounds {fill:transparent;stroke:none;pointer-events:none}
.edition-map-link.selected .edition-map-line {stroke:#f3d78f;stroke-width:3;opacity:1}
.edition-map-link:hover .edition-map-line,.edition-map-link:focus .edition-map-line {stroke:white;stroke-width:3;opacity:1}
.edition-map-link:focus {outline:none}
.edition-map-article rect {fill:var(--deep);stroke:#609295}
.edition-map-article text {fill:#d0e6e7;font:12px var(--body);pointer-events:none}
.edition-map-article.selected rect {fill:#f3d78f;stroke:#f3d78f}
.edition-map-article.selected text {fill:var(--deep);font-weight:700}
.edition-map-selection {display:flex;gap:20px;align-items:baseline;padding:16px 30px;background:#195e64;flex-wrap:wrap}
.edition-map-selection strong {font-family:var(--display);font-size:21px}
.edition-map-selection span {font-size:14px;color:#d0e6e7;overflow-wrap:anywhere;flex:1;min-width:170px}
.edition-atlas .edition-map-caveat {padding:16px 30px 22px;margin:0;color:#b4d9dc;font-size:13px;line-height:1.5}
@media(max-width:1100px) {
 .proof-facts {grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .proof-facts .proof-node:after {display:none}
 .spectrum-heading {flex-direction:column;gap:0}
 .spectrum-actions {justify-content:flex-start;min-width:0}
}
@media(max-width:700px) {
 .outcome-spectrum,.proof-workspace {margin:0 20px 30px;padding-top:24px}
 .chamber-tools {align-items:start;gap:8px}
 .chamber-tools>span {max-width:20ch}
 .chamber-tools button {white-space:normal;max-width:100px}
 .proof-network {padding:18px 14px}
 .proof-facts {gap:8px}
 .proof-node {font-size:13px;padding:12px 8px}
 .proof-node span {font-size:10px}
 .proof-inspector {padding:16px}
 .edition-atlas {margin:0 20px 25px}
 .edition-atlas-heading {padding:22px 20px 0}
 .edition-atlas h2 {font-size:27px}
 .edition-map-selection {padding:16px 20px;gap:10px}
 .edition-atlas .edition-map-caveat {padding:16px 20px 22px}
 .edition-map-scroll {padding-left:12px;padding-right:12px}
}
@media(prefers-reduced-motion:reduce) {
 .chamber-plan.seat-plan,.chamber-seat .seat {transition:none}
 html {scroll-behavior:auto}
}
@media print {
 .chamber-tools,.chamber-slider,.chamber-slider-label,.spectrum-actions {display:none}
 .outcome-spectrum,.proof-workspace,.edition-atlas {margin:20px 0}
 .edition-map-scroll {overflow:visible}
 .edition-map {min-width:0}
}

.spectrum-actions [hidden] {display:none}
footer {flex-wrap:wrap}
footer .analytics-note {flex-basis:100%;font-size:12px;color:var(--muted);margin:8px 0 0}
