/* Histogram shares Crossplot structure and Log Viewer typography. */
.hist-form{padding:18px 22px}.hist-form fieldset{border:0;margin:0;padding:0;min-width:0}.hist-form fieldset:disabled{opacity:.45}
.hist-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:14px}.hist-grid label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#a0bac7;min-width:0}.hist-grid input,.hist-grid select{width:100%;min-width:0;box-sizing:border-box;min-height:36px;padding:7px 8px;border:1px solid #284855;border-radius:5px;color:#deedf3;background:#071821;font:12px Inter,system-ui,sans-serif}.hist-grid input[type=color]{padding:3px;cursor:pointer}.hist-grid input:focus-visible,.hist-grid select:focus-visible{outline:2px solid #32c9d6;outline-offset:2px}.hist-grid .hist-check{flex-direction:row;align-items:center;line-height:1.5}.hist-check input{width:17px;min-height:17px;accent-color:#32c9d6;flex-shrink:0}
.hist-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:14px}.hist-help{font-size:11px;color:#87a5b5;line-height:1.7;margin:12px 0 0}.hist-help a{color:#40cedb}.hist-chart-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 22px 0;font:10px 'Space Mono',monospace;color:#8fafbe}.histogram-page .chart-stage{height:390px;flex-shrink:0}.histogram-page .plot-summary{flex-wrap:wrap;gap:10px 20px}.histogram-page .plot-window-actions{flex-wrap:wrap}.histogram-page .plot-toolbar{flex-wrap:wrap}.histogram-page .plot-title{flex:1}.histogram-page .legend i{width:9px;height:9px;border-radius:2px;background:#32c9d6}.selected-swatch{width:9px;height:9px;background:#e5b967;border-radius:2px;margin-left:8px}.cdf-swatch{width:16px;height:2px;background:#b2a4f4;margin-left:8px}
.hist-statistics{border-top:1px solid #193744;padding:23px}.hist-stat-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.hist-stat-heading h2{font-size:20px;font-weight:500;letter-spacing:-.03em;margin:6px 0 0}.hist-stat-heading .eyebrow{font-size:8px;letter-spacing:.15em;color:#6f9da9;margin:0}.hist-stat-heading .hist-actions{margin:0;gap:7px}.hist-stat-heading .reset-button{font-size:10px!important}.hist-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}.hist-kpi{padding:14px;border:1px solid #1b3945;border-radius:7px;background:#061b26}.hist-kpi span{display:block;color:#87a7b7;font-size:10px;margin-bottom:7px}.hist-kpi strong{font:19px 'Space Mono',monospace;color:#d9eef4;font-weight:400;overflow-wrap:anywhere}.hist-kpi:first-child{border-color:#22515b}.hist-kpi:first-child strong{color:#32c9d6}
.hist-details{border-top:1px solid #1b3945;padding:15px 0}.hist-details summary{font-size:12px;color:#c7dde6;cursor:pointer;line-height:1.6}.hist-table-wrap{overflow-x:auto;margin-top:12px;max-height:440px}.hist-table-wrap table{width:100%;border-collapse:collapse;white-space:nowrap;font:11px 'Space Mono',monospace}.hist-table-wrap caption{white-space:normal;text-align:left;font:11px/1.6 Inter,system-ui,sans-serif;color:#7d9eae;padding:0 0 10px}.hist-table-wrap th,.hist-table-wrap td{padding:10px 12px;border-bottom:1px solid #142d39;text-align:right}.hist-table-wrap th:first-child,.hist-table-wrap td:first-child{text-align:left}.hist-table-wrap thead th{position:sticky;top:0;background:#0a202c;color:#a4c2cf;font:11px Inter,system-ui,sans-serif;z-index:1}.hist-table-wrap tbody th{font:11px Inter,system-ui,sans-serif;font-weight:400;color:#91b0be}.hist-table-wrap td{color:#d4e6ed}.hist-table-wrap td:last-child{color:#e5bf7e}.hist-table-wrap button{border:0;background:transparent;color:#51cfdb;text-align:left;padding:0;font:inherit}.hist-table-wrap button:focus-visible{outline:2px solid #32c9d6;outline-offset:3px}
.histogram-page .plot-fullscreen .chart-stage{min-height:340px;flex:1 0 390px}.histogram-page .plot-fullscreen .hist-statistics{flex-shrink:0}.histogram-page .plot-fullscreen .control-panels{flex-shrink:0}.histogram-page .plot-fullscreen .plot-toolbar{flex-shrink:0}.histogram-page .scene-report{max-width:100%;overflow:auto}.histogram-page .plot-tooltip{white-space:pre-line}
@media(max-width:1100px){.hist-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hist-kpi strong{font-size:16px}.hist-kpi{padding:12px 10px}}
@media(max-width:520px){.hist-form{padding:15px 13px}.hist-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hist-statistics{padding:18px 14px}.hist-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.histogram-page .chart-stage{height:330px}.hist-chart-top{padding:12px 14px 0;line-height:1.7;font-size:9px}.histogram-page .legend{flex-wrap:wrap}.hist-stat-heading h2{font-size:20px}.histogram-page .plot-fullscreen .chart-stage{flex-basis:330px;min-height:300px}}

@media(max-width:520px){.histogram-page .plot-title{flex:1 0 100%}.histogram-page .plot-window-actions{width:100%;justify-content:flex-start}}
#cdf-legend{display:inline-flex;align-items:center;gap:8px}
