/* Compact analytics views for technical App-Portfolio */
.portfolio-analytics{margin-top:28px;padding:0}
.portfolio-analytics-controls{display:grid;grid-template-columns:minmax(150px,1.5fr) minmax(140px,1.4fr) minmax(110px,.6fr);gap:10px;
  padding:11px 13px;background:#f5f8fc;border:1px solid #dce6f0;border-radius:10px 10px 0 0}
.portfolio-analytics-controls:has(#portfolioStatAppLabel:not([hidden])){grid-template-columns:minmax(160px,1.5fr) minmax(140px,1.5fr) minmax(110px,.6fr)}
.portfolio-analytics-controls label{display:grid;gap:5px;font-weight:650;font-size:11px;color:#577189;min-width:0}
.portfolio-analytics-controls label[hidden]{display:none}
.portfolio-analytics-controls select{border:1px solid #cbd8e7;border-radius:7px;background:#fff;padding:7px 9px;height:33px;max-width:100%;font-size:12px}
.portfolio-chart-wrap{border:1px solid #dce6f0;border-top:0;background:white;padding:14px 17px 10px}
.portfolio-chart-summary{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;color:#60788f;font-size:12px}
.portfolio-chart-summary strong{font-size:22px;font-weight:750;color:#1f4a72}
.portfolio-chart-summary .portfolio-delta{color:#536e89;font-size:12px}
.portfolio-chart{width:100%;min-height:200px;display:flex;align-items:center;justify-content:center;margin-top:8px}
.portfolio-chart svg{display:block;max-width:100%;height:auto;width:100%;max-height:290px;overflow:visible}
.portfolio-chart text{font:11px Arial,Helvetica,sans-serif;fill:#617992}
.portfolio-chart .axis{stroke:#dce5ef;stroke-width:1}
.portfolio-chart .trend-line{stroke:#2b68a7;stroke-width:2.5;fill:none;stroke-linejoin:round;stroke-linecap:round}
.portfolio-chart .trend-dot{fill:#2b68a7;stroke:#fff;stroke-width:1.6}
.portfolio-chart .trend-bar{fill:#5a8ab8}
.portfolio-chart .trend-bar:hover{fill:#266fb2}
.portfolio-chart .data-gap{stroke:#c6d5e4;stroke-width:1;stroke-dasharray:3 5}
.portfolio-chart .empty-series{font-size:12px;fill:#718399}
.portfolio-chart-wrap .portfolio-footnote{margin:8px 0 3px}
.portfolio-daily-wrap{border-radius:0 0 10px 10px;border-top:0;max-height:270px;overflow:auto}
.portfolio-daily-wrap table{min-width:460px}
.portfolio-daily-wrap .portfolio-table th{position:sticky;top:0}
@media (max-width:690px){.portfolio-analytics-controls,.portfolio-analytics-controls:has(#portfolioStatAppLabel:not([hidden])){grid-template-columns:1fr 1fr;padding:9px}
 .portfolio-chart-wrap{padding:9px}.portfolio-chart-summary strong{font-size:19px}}

#portfolioAnalytics .portfolio-projects-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:10px}
#portfolioStatExport{font-size:11px;padding:7px 10px;white-space:nowrap}
@media(max-width:620px){#portfolioAnalytics .portfolio-projects-heading{align-items:flex-start;flex-wrap:wrap}}
