/* Shared site palette and page frame come from data-explorer.css. */
[hidden]{display:none!important}
fieldset{border:0;padding:0;margin:0;min-width:0}legend{font-weight:bold;margin-bottom:16px}
.trend-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:end}
.trend-controls label{min-width:0}.trend-controls input,.trend-controls select{min-width:0;max-width:100%}
.boundary-control{display:grid;gap:8px;min-width:0}
.trend-controls button{width:100%}.trend-table-wrap{overflow:auto;max-height:480px;background:#fff;border:1px solid #bed0de;border-radius:8px}
details{margin-top:24px}details summary{cursor:pointer;font-weight:bold;padding:12px 0}
table{border-collapse:collapse;width:100%;font-size:.85rem}caption{text-align:left;padding:12px;font-weight:bold}
th,td{text-align:left;vertical-align:top;padding:12px;border-bottom:1px solid #bed0de;overflow-wrap:anywhere}th{background:#edf5fa}
.quality-noteworthy{font-weight:bold}#units{white-space:nowrap}.plot-heading h2{font-size:1.1rem}
.trend-table-wrap table{min-width:1000px}.trend-table-wrap td:first-child{min-width:220px}
.trend-table-wrap:focus-visible{outline:3px solid #2488b8;outline-offset:3px}
.csv-help-table table{min-width:0}.csv-help-table td:first-child{min-width:0;width:30%}
.analysis-control legend{font-size:.85rem;margin-bottom:8px}.analysis-options{display:flex;gap:8px}
.analysis-options label{position:relative;display:block;flex:1;min-width:0;cursor:pointer}
.analysis-options input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}
.analysis-options span{display:block;text-align:center;border:1px solid #91aabc;border-radius:6px;padding:10px;min-height:42px;color:#153950;background:#fff}
.analysis-options input:checked+span{background:#064b74;color:#fff;font-weight:bold}
.analysis-options input:focus-visible+span{outline:3px solid #2488b8;outline-offset:3px}
.analysis-options input:disabled+span{opacity:.45;cursor:default}
.analysis-options label:hover input:not(:checked):not(:disabled)+span{background:#edf5fa;border-color:#235d82}
@media(max-width:850px){.trend-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.trend-controls{grid-template-columns:minmax(0,1fr)}.trend-controls label{width:auto;min-width:0}.plot-heading{gap:8px}.canvas-wrap{height:320px}th,td{padding:8px;font-size:.8rem}h1{overflow-wrap:anywhere}}
