.history-toolbar,.history-source,.history-report>summary{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}.history-toolbar{margin:20px 0}.history-toolbar select{padding:8px;border:1px solid #cbdde6;border-radius:8px;background:white}.history-report{margin-bottom:14px}.history-report>summary{cursor:pointer;padding:4px 0 14px}.history-source{border-top:1px solid #dce7ed;padding:15px 0;font-size:13px}.history-flags{background:#fff6e8;border:1px solid #efd29a;border-radius:10px;padding:14px;margin-bottom:16px;color:#684710}.history-flags ul{margin:8px 0 0;padding-left:20px}.history-flags li{margin:5px 0}.history-excerpt{max-width:480px;white-space:pre-wrap;font-size:12px}.history-observation{border-left:3px solid #d3e1e7;padding:2px 14px;margin:15px 0}.history-observation p{white-space:pre-wrap}.history-note{color:#647b8e;font-size:12px;line-height:1.6;margin:18px 0 0}.history-source span{overflow-wrap:anywhere}
.history-trends{margin:24px 0 32px;padding:24px;border:1px solid #cddfe7;border-radius:18px;background:#f6fafb;min-width:0}
.history-trend-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap}
.history-eyebrow{color:#42697a;font-size:11px;font-weight:800;letter-spacing:.12em}
.history-trend-heading h3{font-size:24px;margin:7px 0;color:#103747}
.history-trend-heading p{font-size:14px;line-height:1.5;color:#527080;margin:0}
.history-stage{background:#e4eff3;border:1px solid #c3dbe4;border-radius:20px;padding:8px 12px;font-size:12px;font-weight:700;color:#24566b}
.history-chart-filters{display:flex;align-items:end;gap:18px;flex-wrap:wrap;margin-top:22px}
.history-chart-filters label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;max-width:100%;color:#36586a}
.history-chart-filters select{font:inherit;font-size:13px;font-weight:400;background:white;color:#173c50;border:1px solid #c4d7df;border-radius:9px;padding:10px;min-height:42px;max-width:100%}
.history-chart-filters .history-reviewed{flex-direction:row;align-items:center;min-height:42px;font-weight:400}
.history-reviewed input{width:18px;height:18px;accent-color:#126b88}
.history-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:16px}
.history-chart-card{min-width:0;background:#fff;border:1px solid #d3e2e9;border-radius:14px;padding:20px;box-shadow:0 3px 10px #0b314508}
.history-chart-title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.history-chart-title h4{font-size:16px;margin:0;line-height:1.5;color:#173c50}
.history-chart-title>span{font-size:12px;background:#eef4f7;border-radius:5px;padding:4px 7px;white-space:nowrap}
.history-chart-legend{display:flex;flex-wrap:wrap;gap:8px 18px;margin:13px 0;font-size:11px;color:#426477}
.history-chart-legend span{display:flex;align-items:center;gap:6px}
.history-chart-legend i{display:inline-block;width:9px;height:9px;border-radius:50%}
.history-chart-svg{display:block;width:100%;height:auto;overflow:visible}
.history-chart-svg text{font-size:12px;fill:#496878;font-family:inherit}
.history-chart-point{cursor:pointer;outline:none}
.history-chart-point:focus>circle:first-of-type,.history-chart-point:hover>circle:first-of-type{fill:#b8dce970;stroke:#173c50;stroke-width:1.5}
.history-chart-help{font-size:11px;color:#607d8a;line-height:1.5;margin:10px 0}
.history-point-detail{display:flex;flex-direction:column;gap:5px;min-height:42px;background:#f2f7fa;border-radius:8px;padding:12px;font-size:12px;color:#36586a;line-height:1.5;overflow-wrap:anywhere}
.history-point-detail a{color:#126b88;text-decoration:underline}
.history-series-stats{display:grid;gap:12px;margin-top:15px;font-size:12px;color:#486878;line-height:1.6}
.history-series-stats>div{display:flex;flex-direction:column;gap:3px}
.history-series-stats b{color:#163e52}
.history-series-stats strong{font-size:16px;color:#103747}
.history-chart-warning{font-size:12px;line-height:1.5;color:#805211;background:#fff5e6;padding:9px;border-radius:6px}
.history-chart-data{border-top:1px solid #e2eaee;margin-top:16px;padding-top:12px;font-size:12px}
.history-chart-data summary{cursor:pointer;color:#126b88;font-weight:700;padding:5px 0}
.history-data-scroll{overflow:auto;margin-top:10px}
.history-data-scroll table{min-width:560px}
.history-predictive-note{border-left:3px solid #76a629;margin-top:22px;padding:4px 15px;font-size:13px;line-height:1.6;color:#3c5c6b}
.history-predictive-note p{margin:5px 0}
.history-reports-heading{font-size:19px;margin:28px 0 16px}
@media(max-width:1100px){.history-chart-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){#view-asset-history>.section-title{display:block}#assetHistoryTitle{font-size:20px;line-height:1.4}#view-asset-history>.section-title>.toolbar{margin:12px 0;display:flex;flex-wrap:wrap}#view-asset-history>.section-title>.toolbar button{font-size:12px}.history-trends{padding:14px 10px}.history-trend-heading h3{font-size:21px}.history-chart-card{padding:14px 10px}.history-chart-filters{gap:12px}.history-chart-filters label{width:100%}.history-chart-filters select{width:100%}.history-stage{font-size:11px}.history-chart-title h4{font-size:15px}.history-toolbar>label{width:100%}.history-chart-svg text{font-size:16px}}
