/* Shared table and chart clarity. Loaded after the visual theme. */
.table-caption,.plot-key-readout{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
table.table .num{text-align:right;font-variant-numeric:tabular-nums}
table.table tbody th[scope=row]{padding:12px 10px;text-align:left;font-size:inherit;font-weight:400;letter-spacing:normal;line-height:1.55;white-space:normal;overflow-wrap:anywhere;background:transparent;color:#526b7c;border-bottom:1px solid #e8edf2}
table.table tbody tr:last-child th[scope=row]{border-bottom:0}
table.table tbody tr:hover > th[scope=row],table.table tbody tr:focus-within > th[scope=row]{background:#f1f5f7;color:#213e51}
.calendar-view-controls{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 12px;font-size:11px;color:#607685}
.calendar-view-controls label{display:flex;gap:10px;align-items:center}
.calendar-view-controls span{font-size:10px;line-height:1.6}
.table.calendar-compact{min-width:660px}
table.wide-table thead th:first-child{position:sticky;left:0;z-index:4;background:#f3f6f9}
table.wide-table tbody th[scope=row]{position:sticky;left:0;z-index:1;min-width:85px;white-space:nowrap;background:#fff;border-right:1px solid #e0e8ed}
table.wide-table tbody tr:nth-child(even)>th[scope=row]{background:#f7f9fb}
table.wide-table tbody tr:is(:hover,:focus-within)>th[scope=row]{background:#eaf1f5}
.plot-reference{stroke:#91a2ad;stroke-width:1.2;stroke-dasharray:5 4}
.plot-cursor{fill:#177b71;stroke:#fff;stroke-width:1.5;pointer-events:none}
.plot:focus-visible{outline:2px solid #b89559;outline-offset:5px}
.metrics .mvalue{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.bucket-width-note{margin-bottom:0}
html[data-theme=dark] table.table tbody th[scope=row]{background:transparent;color:#c4d2dc;border-color:#314451}
html[data-theme=dark] table.table tbody tr:is(:hover,:focus-within)>th[scope=row]{background:#304c5e;color:#f2f7fa}
html[data-theme=dark] table.wide-table thead th:first-child{background:#2b4050}
html[data-theme=dark] table.wide-table tbody th[scope=row]{background:#192832;border-right-color:#314451}
html[data-theme=dark] table.wide-table tbody tr:nth-child(even)>th[scope=row]{background:#223541}
html[data-theme=dark] table.wide-table tbody tr:is(:hover,:focus-within)>th[scope=row]{background:#304c5e}
html[data-theme=dark] .calendar-view-controls{color:#b7c8d2}
html[data-theme=dark] .plot-reference{stroke:#829cab}
html[data-theme=dark] .plot-cursor{fill:#8ce0bd;stroke:#192832}
@media(max-width:740px){table.table tbody th[scope=row]{padding:11px 7px}.calendar-view-controls{align-items:flex-start}.calendar-view-controls label{flex-wrap:wrap}}

/* One sticky layer, flush to the scrollport: no padded gap above the header. */
.panel.table-wrap:has(>table.wide-table){padding:0;isolation:isolate;scroll-padding-top:44px}
.table-wrap:has(>table.wide-table) thead{position:static}
table.wide-table{border-collapse:separate;border-spacing:0}
table.wide-table thead th{position:sticky;top:0;z-index:3;background:#f0f4f6;box-shadow:0 1px 0 #d4dfe5}
table.wide-table thead th:first-child{top:0;left:0;z-index:4}
table.wide-table tbody th[scope=row]{z-index:1}
html[data-theme=dark] table.wide-table thead th{background:#2b4050;box-shadow:0 1px 0 #435865}
html[data-theme=dark] .coverage-confirm{color:#c4d2dc}
