/* Charcoal/silver trial, adapted from Coloring Web Graphics.2 G4S07.
   Preserve readable link contrast; reserve gold for small non-text accents. */
:root{--navy:#292929;--surface:#202020;--surface2:#333333;--ink:#ffffff;--muted:#ffffff;--line:#505050;--gold:#caa866;--maroon:#520814;--teal:#ffffff;--cream:#ffffff}
body{color:var(--ink)}
a,.identity,.card-kicker,.read-case,.lead-copy h2,.story-card.compact h3,.card-main h3,.case-title,.case-section h3,.panel-heading h3,.network-panel h3,.case-review h3,summary,.observation-label,.terminal-heading b,.data-strip>:last-child{color:var(--ink)}
.lead-copy>p:not(.card-kicker),.story-card.compact>p,.card-main p,.case-deck,.case-section p,.masthead nav a,.rule-toggle strong{color:var(--muted)}
.identity,.lead-copy h2,.story-card.compact h3,.card-main h3,.case-title,.case-section h3,.section-heading h2,.about-grid h2,.case-review h3{color:#ffffff}
.masthead nav a.active,.masthead nav a:hover,.card-stat strong,.evidence-stats strong,.observation strong,.model-stats strong{color:#ffffff}
.data-strip{background:#242424}.data-strip>:first-child,.data-strip>:last-child,.pill,.range-label output,.text-link,.terminal-response>span,.about-grid h4,th,.case-eyebrow{color:var(--ink)}
.filter-tabs button{color:var(--muted)}.filter-tabs button.selected{color:#ffffff;border-color:transparent;border-bottom-color:var(--gold);background:var(--maroon)}
.filter-tabs button:hover:not(.selected){background:#444444;color:#ffffff}
.report-options[open]>summary{color:#ffffff}
.report-options>summary::after{color:#ffffff}
select,input[type=number],input[type=month],.status,.ghost,.outline,.direction-details select,.terminal-heading button,.close-dialog{border-color:var(--line);color:var(--ink)}
.button.gold,.button.navy{background:var(--maroon);color:#ffffff;border-color:#7b1d2b}
.button.gold:hover,.button.navy:hover{background:#6c1020}
.skip{background:var(--surface);color:#ffffff}
.lead-story{border-left:3px solid var(--maroon)}
.story-card.compact{border-top:2px solid var(--maroon)}
.terminal{background:#222222}.terminal-heading{background:var(--surface2)}
.terminal-heading code,.terminal-heading button,pre,.endpoint code{color:var(--ink)}
.report-options .filter-selects{border-color:var(--line);width:400px;grid-template-columns:repeat(2,minmax(0,1fr))}
.filter-selects label,.card-stat span,.error{color:#ffffff}
dialog{border-color:var(--line)}dialog::backdrop{background:#000000aa}
.case-section p,.case-deck,.footer-small,.scope-note{color:var(--muted)}
.chart-axis,.chart-label{fill:var(--muted)}.chart-gridline{stroke:#505050}
.chart-line{stroke:#cccccc}.chart-end{fill:#cccccc}.chart-fill{fill:#999999;opacity:.14}
.chart-reference{stroke:#999999}.chart-highlight{fill:var(--gold);stroke:var(--surface)}
.crest-lockup.integrated-crest{width:175px;flex-basis:175px}
.geography-controls{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin-bottom:8px}
.geography-controls label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px}
.geography-controls select{font-size:10px;padding:5px 8px;min-height:29px;max-width:205px}
#coverage-note{font-size:11px;font-weight:500;color:#ffffff;grid-column:1/-1;margin-left:0;line-height:1.5}
.lead-copy h2{font-size:31px;line-height:1.12}.lead-story{min-height:210px}
.story-card.compact{min-height:160px}.story-card.compact h3{font-size:21px}
@media(min-width:601px) and (max-width:760px){.crest-lockup.integrated-crest{width:145px;flex-basis:145px}.geography-controls{gap:10px}.geography-controls select{max-width:170px;font-size:9px}.geography-controls label{font-size:9px}#coverage-note{font-size:11px}.lead-copy h2{font-size:25px}.lead-story{min-height:190px}.story-card.compact{min-height:144px;padding:12px}.story-card.compact h3{font-size:17px;line-height:1.12;margin-bottom:9px}.story-card.compact>p{line-height:1.5;margin-bottom:9px}}
@media(max-width:600px){.crest-lockup.integrated-crest{width:135px;flex-basis:135px}.geography-controls{gap:8px}.geography-controls label{font-size:9px}.geography-controls select{max-width:160px;font-size:9px}#coverage-note{margin-left:0;flex-basis:100%}.lead-copy h2{font-size:29px}.story-card.compact h3{font-size:23px}}

.published-rules{border:0;margin:0;padding:0;min-width:0}.published-rules :disabled{color:#fff;opacity:1}.published-rules .rule-actions,.published-rules #reset-rules{display:none}
