.history-panel{margin:24px 0;padding:0;overflow:hidden;border-color:#cbddea}.history-heading{padding:23px;text-align:center;color:#fff;background:linear-gradient(110deg,#153e5c,#2179ad)}.history-heading h2{font-size:19px;letter-spacing:.5px;margin:7px 0}.history-heading small{color:#c7e9ff;font-size:10px;letter-spacing:1.3px}.history-heading p{margin:8px 0 0;color:#d8ecfa;font-size:12px}.history-filters{display:flex;gap:15px;flex-wrap:wrap;align-items:flex-end;background:#eff6fb;padding:15px 22px;border-bottom:1px solid #d9e5ef}.history-filters select{min-width:180px}.history-panel #historyBody,.history-panel #smallCostBody{padding:22px}.history-scope{font-size:12px;color:#54718a;margin-bottom:17px}.history-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:15px 0 23px}.history-kpis>div{padding:17px;background:#f4f8fc;border:1px solid #dce7f0;border-radius:10px;border-top:3px solid #3d8bb7}.history-kpis small{display:block;font-size:10px;color:#65809a}.history-kpis b{display:block;margin:9px 0;font-size:25px;color:#234863}.history-kpis span{font-size:11px;color:#70849a}.history-scroll{overflow:auto;margin:12px 0 15px}.history-panel table,.history-comparison{min-width:750px}.history-panel th,.history-comparison th{background:#237caf;color:#fff;text-align:center;font-weight:650;padding:12px}.history-panel td,.history-comparison td{text-align:left;padding:12px;white-space:normal;word-break:normal;overflow-wrap:break-word;border:1px solid #d9e6f0;vertical-align:top;line-height:1.65}.history-panel td:first-child,.history-comparison td:first-child{min-width:200px}.history-panel tbody tr,.history-comparison tbody tr{cursor:default}.history-panel tbody tr:nth-child(odd),.history-comparison tbody tr:nth-child(odd){background:#eef6fc}.history-panel td small,.history-comparison td small{display:block;color:#718399;font-size:10px;margin-top:5px}.history-period{font-size:12px;color:#506d88}.history-number{border:0;background:transparent;color:#176ba9;padding:0;font:inherit;text-align:left;text-decoration:underline;text-underline-offset:3px}.history-up{color:#c84a52;font-weight:700}.history-down{color:#168f76;font-weight:700}.history-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:7px;flex-shrink:0}.history-dot.red{background:#dc5269}.history-dot.orange{background:#ee9746}.history-dot.yellow{background:#e0b82c}.history-charts{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:15px 0 25px}.history-charts>div{border:1px solid #d9e6ee;border-radius:12px;padding:17px;min-width:0;background:linear-gradient(#fff,#f7fbfe)}.history-charts h3{font-size:14px;text-align:center;margin:0 0 17px}.history-svg{overflow:auto}.history-svg svg{width:100%;display:block;font:11px 'Segoe UI',Arial,sans-serif;color:#526b82}.history-svg text{fill:#526b82}.history-svg [role=button]{cursor:pointer}.history-svg [role=button]:hover{filter:brightness(1.1)}.history-legend{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin:12px 0;font-size:10px;color:#607b91}.history-legend span{display:flex;align-items:center;gap:5px}.history-legend i{width:10px;height:10px;border-radius:3px}.history-chart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:25px}.history-chart-toolbar h3,.history-subtitle{font-size:15px;color:#234a66}.history-chart-toolbar label{display:flex;align-items:center;gap:7px}.history-chart-toolbar input{min-width:0;width:16px;height:16px}.history-panel .history-heat th{white-space:nowrap}.history-heat td{padding:0!important;background:rgba(229,110,62,var(--heat))}.history-heat td button{display:block;width:100%;padding:16px;border:0;background:transparent;font-weight:700;color:#523f38}.history-heat td button:hover{outline:2px solid #2977ab;outline-offset:-2px}.history-heat tbody th{text-align:left;background:#f2f7fc;color:#37566d;min-width:210px}.history-assessment{padding:18px 22px;background:#f0f8f6;border:1px solid #cee5de;border-left:4px solid #2eac8a;border-radius:8px;margin:20px 0}.history-assessment h3{font-size:15px;color:#227a66;margin:0 0 12px}.history-assessment ul{padding-left:19px;margin:0}.history-assessment li{font-size:12px;line-height:1.85;margin:7px 0}.history-assessment>p{font-size:11px;color:#68827b}.history-method{font-size:11px;color:#71869a;line-height:1.85;padding-top:12px;border-top:1px solid #e1eaf1}.history-empty{padding:22px;border:1px dashed #ccdce8;background:#f8fbfd;color:#71879a;font-size:12px;line-height:1.8;border-radius:9px}.history-cost-controls{display:flex;gap:16px;flex-wrap:wrap;margin:14px 0}.history-cost-scroll{max-height:550px}.history-cost-scroll thead{position:sticky;top:0;z-index:1}.history-detail-scroll{max-height:60vh;overflow:auto}.history-detail{min-width:850px}.history-detail th{text-align:center;background:#217cad;color:#fff}.history-detail td{text-align:left}.history-detail tr:nth-child(odd){background:#eef6fc}.history-pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:15px;font-size:12px}
@media(max-width:1000px){.history-charts{grid-template-columns:1fr}}@media(max-width:600px){.history-filters{padding:13px;gap:10px}.history-filters label{flex:1;min-width:140px}.history-filters select{min-width:0;width:100%}.history-panel #historyBody,.history-panel #smallCostBody{padding:13px}.history-heading{padding:20px 13px}.history-heading h2{font-size:16px}.history-kpis{grid-template-columns:1fr 1fr;gap:8px}.history-kpis>div{padding:12px}.history-kpis b{font-size:20px}.history-chart-toolbar{flex-wrap:wrap}.history-assessment{padding:14px}.history-cost-controls label{width:100%}}
@media print{.history-filters,.history-chart-toolbar label,.history-cost-controls,.history-pagination{display:none!important}.history-panel{overflow:visible;break-inside:auto}.history-heading{background:#fff!important;color:#244b67;border-bottom:2px solid #237caf}.history-heading small,.history-heading p{color:#54718a}.history-panel #historyBody,.history-panel #smallCostBody{padding:12px}.history-charts{grid-template-columns:1fr 1fr!important;gap:12px;break-inside:avoid}.history-svg{overflow:visible}.history-svg svg{min-width:0!important}.history-scroll,.history-cost-scroll{overflow:visible;max-height:none}.history-panel table{min-width:0;width:100%;font-size:9px}.history-panel th,.history-panel td{padding:6px;min-width:0!important}.history-panel thead{display:table-header-group}.history-panel tr{break-inside:avoid}.history-number{display:inline!important;text-decoration:none;color:inherit}.history-heat td button{padding:7px;display:block!important}.history-heat tbody th{min-width:0}.history-assessment{break-inside:avoid}}
.cohort-matrix-scroll{max-height:620px}.cohort-matrix{min-width:1000px!important}.cohort-matrix thead{position:sticky;top:0;z-index:2}.cohort-matrix th small{display:block;margin-top:5px;color:#ffdc84}.cohort-matrix tbody th{background:#e1eef7;color:#254965;text-align:left}.cohort-matrix td{min-width:185px}.cohort-matrix .cohort-annual{background:#f0f0fa;border-left:2px solid #b9c7e2}.cohort-matrix thead .cohort-annual{background:#405983}.cohort-total{font-weight:650}.cohort-warn{color:#a36a23!important}.cohort-chart{border:1px solid #d7e5ef;border-radius:12px;padding:18px;margin:18px 0;background:linear-gradient(#fff,#f8fbfe)}.cohort-chart h3{text-align:center;font-size:15px;color:#28556e}.cohort-basis{background:#f1f7fc;border:1px solid #d7e6f0;color:#456780}.cohort-movements{padding:14px;border:1px solid #d6e5ef;border-radius:9px;font-size:12px}.cohort-movements summary{cursor:pointer;font-weight:650}.history-cost-controls select{max-width:340px}.cohort-matrix .history-number{font-size:13px}.cohort-matrix .history-number:focus-visible{outline:2px solid #238ac3;outline-offset:4px}
@media(max-width:600px){.history-cost-controls select{width:100%;max-width:none}.cohort-chart{padding:12px}.cohort-matrix td{min-width:175px}}
@media print{.history-cost-controls{display:none!important}.cohort-matrix-scroll{overflow:visible;max-height:none}.cohort-matrix{min-width:0!important;font-size:8px}.cohort-matrix td{min-width:0!important}.cohort-matrix thead{position:static}.cohort-matrix .history-number{font-size:9px}.cohort-matrix td small{font-size:8px}.cohort-matrix tbody td,.cohort-matrix tbody th{padding:6px}.cohort-chart{break-inside:avoid}.cohort-chart svg{min-width:0!important}.cohort-movements:not([open]){display:none}}
.backlog-history-panel{padding:22px;border-radius:16px;background:linear-gradient(130deg,#fff,#f3f8fc)}.backlog-history-panel>h2{margin:0;color:#234863}.backlog-history-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.backlog-history-charts>div{min-width:0;padding:14px;border:1px solid #dce6ed;border-radius:12px;background:#fff}.backlog-history-charts h3{font-size:15px;color:#28536d}.backlog-history-charts circle{cursor:pointer;transition:r .16s}.backlog-history-charts circle:hover,.backlog-history-charts circle:focus{r:7;outline:none;stroke:#183e59;stroke-width:2}@media(max-width:900px){.backlog-history-charts{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){:where(body:not([data-dashboard-motion="on"])) .backlog-history-charts circle{transition:none}}@media print{.backlog-history-charts{grid-template-columns:repeat(2,minmax(0,1fr))}.backlog-history-charts svg{min-width:0!important}.backlog-history-panel{break-inside:avoid;padding:10px}}
.health-panel{margin:22px 0;padding:20px;border:1px solid #dce6ed;border-radius:16px;background:linear-gradient(135deg,#fff,#f5f9fc)}.health-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.health-heading h2{font-size:18px;color:#234863;margin:0}.health-heading label{font-size:12px;display:flex;align-items:center;gap:10px}.health-heading select{min-width:140px}.health-scope{padding:16px 0;color:#4c647a;font-size:13px}.health-scope b{font-size:22px}.health-scale{display:flex;justify-content:space-between;gap:12px;font-size:12px;font-weight:650;padding:10px 35px}.health-panel circle{transition:r .15s}.health-panel circle:hover,.health-panel circle:focus{r:7;stroke:#28465c;stroke-width:2;outline:none}@media(max-width:600px){.health-panel{padding:13px}.health-heading{align-items:flex-start}.health-scale{padding:10px 0;font-size:11px}}@media(prefers-reduced-motion:reduce){:where(body:not([data-dashboard-motion="on"])) .health-panel circle{transition:none}}@media print{.health-panel{break-inside:avoid;background:#fff}.health-panel svg{min-width:0!important}.health-heading label{display:none}}

.health-panel{background:linear-gradient(145deg,#fff 35%,#eef7fa)}.health-baseline{stroke:#fff;stroke-width:2;paint-order:fill stroke}.health-point{cursor:help}

.health-heading{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center}
.health-heading h2{grid-column:2;text-align:center}
.health-heading label{grid-column:3;justify-self:end}
@media(max-width:1160px){
 .health-heading{grid-template-columns:1fr;justify-items:center}
 .health-heading h2,.health-heading label{grid-column:1;justify-self:center}
}
@media print{
 .health-heading{grid-template-columns:1fr}
 .health-heading h2{grid-column:1}
}

.history-dot.green{background:#15803d}

.monthly-backlog-panel{margin:24px 0;min-width:0}
.monthly-backlog-column{transform-box:view-box;transform-origin:0 222px;animation:monthly-backlog-rise .55s cubic-bezier(.2,.7,.3,1) both}
.monthly-backlog-lines{animation:monthly-backlog-appear .3s ease-out .48s both}
.monthly-backlog-panel [role=button]:focus-visible{outline:2px solid #2179ad;outline-offset:2px}
@keyframes monthly-backlog-rise{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes monthly-backlog-appear{from{opacity:0}to{opacity:1}}

.monthly-backlog-panel .health-heading{display:flex;justify-content:space-between}
.monthly-backlog-filters{display:flex;flex-wrap:wrap;gap:8px 14px;max-width:100%}
.monthly-backlog-filters label{display:grid;gap:4px;flex:1 1 auto}
