/* Compact BI cockpit. Scoped so the product introduction keeps its editorial layout. */
.bi-dashboard{margin-top:-7px}.bi-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.bi-title h1{font-size:27px;margin:0}.bi-title p{margin:4px 0 0!important;font-size:13px!important}.bi-title .section-kicker{margin:0 0 4px!important;font-size:12px!important}.bi-title-actions{display:flex;gap:13px;align-items:center}.bi-live{color:#7c956c;background:#edf4e7;border:1px solid #e1e9d5;padding:7px 11px;border-radius:8px;font-size:12px!important}.bi-title button{font-size:13px}.bi-section-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:20px 0 13px}.bi-section-head>div:first-child{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.bi-section-head>div>span:first-child{background:#e6f0dc;color:#6d9054;border-radius:6px;padding:3px 7px;font-weight:600;font-size:12px!important}.bi-section-head h2{font-size:18px;margin:0}.bi-section-head small{font-size:12px!important;color:#93a385}.bi-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:15px}.bi-kpi{display:block;min-width:0;text-align:left;padding:15px 18px 12px;border:1px solid #e3ebdc;background:#fff;border-radius:11px;box-shadow:0 2px 9px #40542d03}.bi-kpi:hover{background:#fafcf7}.bi-kpi:nth-child(2){background:linear-gradient(120deg,#f6fbf7,#fff)}.bi-kpi:nth-child(3){background:linear-gradient(120deg,#fcf9ff,#fff)}.bi-kpi:nth-child(4){background:linear-gradient(120deg,#fffdf5,#fff)}.bi-kpi-label{display:flex;align-items:center;gap:9px;color:#72866a;font-size:13px!important}.bi-kpi-label .icon-badge{width:29px;height:29px;border-radius:8px}.bi-kpi-label .icon-badge svg{width:18px;height:18px}.bi-kpi-label>.ui-icon:last-child{width:14px;height:14px;margin-left:auto;color:#abb99b}.bi-kpi-value{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:65px}.bi-kpi-value strong{font-size:31px;font-weight:600;letter-spacing:-.7px;color:#397555;white-space:nowrap}.bi-kpi-value strong small{display:inline;color:#8ba180;margin-left:5px;font-size:13px!important;letter-spacing:0;font-weight:400}.bi-kpi:nth-child(2) strong{color:#438e83}.bi-kpi:nth-child(3) strong{color:#9474aa}.bi-kpi:nth-child(4) strong{color:#b6974c}#app .bi-kpi p{font-size:12px!important;color:#96a68a;line-height:1.55;margin:0}.bi-gauge{width:83px;height:58px;flex:none}.bi-spark{width:85px;height:47px;flex:none}.bi-grid{display:grid;gap:15px;margin-bottom:16px}.health-charts{grid-template-columns:.95fr 1.05fr}.bi-panel{min-width:0;background:#fff;border:1px solid #e2eadb;border-radius:11px;padding:16px 19px;box-shadow:0 3px 12px #32482103;overflow:hidden}.bi-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;min-height:27px}.bi-panel-head h3{font-size:15px!important;font-weight:600;margin:0;color:#547143!important;white-space:nowrap}.bi-panel-head>span{font-size:12px!important;color:#9aab8b}.bi-link{border:0;background:transparent;padding:3px 0;font-size:12px!important;white-space:nowrap;color:#7d9e65}.bi-panel figure{margin:0}.bi-panel svg text{font-size:12px!important;fill:#8c9d7e}.bi-panel figcaption{display:flex;gap:16px;flex-wrap:wrap;font-size:12px!important;color:#8da07e;line-height:1.6;padding:3px 0}.bi-panel figcaption i{display:inline-block;width:14px;height:3px;border-radius:2px;vertical-align:3px;margin-right:5px}.bi-panel .bi-telemetry svg,.bi-panel .bi-trend svg{width:100%;height:182px;display:block}.bi-panel .monthly-chart svg{height:170px;min-height:0}.bi-panel .monthly-chart .chart-axis{margin-bottom:2px;font-size:12px}.bi-panel .monthly-chart figcaption{padding-top:0}.bi-panel .monthly-chart .chart-note{font-size:12px!important;line-height:1.5!important;margin:4px 0 0}.problem-charts{grid-template-columns:.85fr 1fr 1.5fr}.problem-charts .donut-layout{min-height:205px;grid-template-columns:1fr;gap:0}.problem-charts .donut-layout svg{height:131px;max-width:150px}.problem-charts .ring-value{font-size:32px!important;fill:#4c7653}.problem-charts .ring-label{font-size:12px!important}.problem-charts .ring-legend{display:flex;flex-wrap:wrap;gap:0 12px;justify-content:center}.problem-charts .ring-item{width:auto;font-size:12px!important;padding:4px 0;gap:5px}.problem-charts .ring-item b{font-size:14px;margin-left:3px}.problem-charts .ring-item small{font-size:12px!important}.problem-charts .ring-legend .chart-note{font-size:12px!important;margin:0;flex-basis:100%;text-align:center}.problem-charts .v-bars{padding:12px 0 0;gap:22px}.problem-charts .v-bar{grid-template-columns:105px 1fr 28px;gap:8px;font-size:13px!important}.problem-charts .v-bar div{height:11px}.problem-charts .v-bar b{font-size:13px}.problem-charts .station-matrix{grid-template-columns:repeat(6,1fr);gap:5px}.problem-charts .station-matrix button{padding:4px 2px;min-height:35px;border-radius:5px;line-height:1.25}.problem-charts .station-matrix span{font-size:12px!important}.problem-charts .station-matrix b{font-size:12px!important}.problem-charts .matrix-legend{font-size:12px!important;margin-top:8px;gap:11px}.problem-charts .matrix-legend i{width:8px;height:8px}.bi-dashboard .bi-footnote{font-size:12px!important;color:#8e9f80;line-height:1.55;margin:-7px 0 13px}.bi-period{display:flex;gap:4px;padding:3px;background:#eaf1e3;border-radius:8px}.bi-period button{padding:5px 13px;background:none;border:0;font-size:13px;color:#94a67f}.bi-period .selected{background:#fff;color:#638b47;box-shadow:0 1px 4px #536a3410}.dispatch-kpis .bi-kpi-value{min-height:58px}.dispatch-kpis .bi-kpi-value>.ui-icon{height:35px;width:35px;opacity:.25;color:#548968}.dispatch-kpis .bi-kpi:nth-child(3) .ui-icon{color:#9874af}.dispatch-charts{grid-template-columns:1fr 1fr}.bi-panel .stage-chart{gap:9px}.bi-panel .stage-chart button{padding:9px 5px;gap:5px;font-size:12px!important;background:#fafcf7}.bi-panel .stage-chart .icon-badge{display:none}.bi-panel .stage-chart b{font-size:22px}.bi-panel .stage-chart small{font-size:12px!important}.bi-panel .stage-track{height:80px}.bi-panel .stage-track i{max-height:79px}.bi-panel .stage-chart button>span:last-child{font-size:12px!important}.bi-panel .stage-chart+.chart-note{font-size:12px!important;line-height:1.5;margin:9px 0 0}.bi-review-strip{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid #e1e9d7;background:#f2f7eb;border-radius:10px;margin:0 0 19px;padding:10px 0}.bi-review-strip button{display:flex;flex-direction:column;align-items:center;gap:3px;border:0;border-right:1px solid #e1e9d6;background:none;padding:2px 10px;border-radius:0}.bi-review-strip button:last-child{border:0}.bi-review-strip button>span{font-size:12px!important;color:#839b70}.bi-review-strip b{font-size:21px;color:#6a8e51}.bi-review-strip small{font-size:12px!important;color:#a0b18f}.bi-review-strip button:nth-child(4) b{color:#b19755}.bi-review-strip button:nth-child(5) b{color:#b28c79}.bi-details{padding:0;border:1px solid #e2eadb;background:#fff;border-radius:10px;margin:0}.bi-details summary{padding:13px 18px;font-size:13px;color:#8aa273}.bi-details summary>.ui-icon{height:17px;width:17px;margin-right:7px}.bi-details[open]{padding:0 18px 16px}.bi-details[open] summary{padding-left:0}.details-charts{grid-template-columns:1fr 1fr}.details-charts .bi-panel{background:#fafcf7}.details-charts p{font-size:13px!important}.bi-dashboard .chart-note{font-size:12px!important}.bi-dashboard .bi-panel .v-bars .v-bar span{font-size:13px!important}
@media(min-width:1600px){.bi-panel .bi-telemetry svg,.bi-panel .bi-trend svg{height:197px}.bi-panel .monthly-chart svg{height:185px}.problem-charts .station-matrix button{min-height:38px}.problem-charts .donut-layout{min-height:230px}.problem-charts .donut-layout svg{height:145px}.bi-kpi-value strong{font-size:34px}}
@media(max-width:1250px){.bi-kpi{padding:13px}.bi-kpi-label{gap:7px;font-size:12px!important}.bi-kpi-value strong{font-size:27px}.bi-gauge{width:63px}.bi-spark{width:66px}.problem-charts{grid-template-columns:.8fr 1fr}.problem-charts>.bi-panel:last-child{grid-column:1/-1}.problem-charts .station-matrix{grid-template-columns:repeat(12,1fr)}.problem-charts .donut-layout{grid-template-columns:145px 1fr;min-height:160px}.problem-charts .ring-legend{display:block}.problem-charts .ring-item{width:100%}.problem-charts .ring-item b{margin-left:auto}.problem-charts .v-bars{gap:16px;padding-top:4px}.bi-section-head small{display:none}.bi-panel{padding:15px}.bi-panel-head>span{display:none}.bi-panel .stage-chart button{padding:8px 3px}.bi-title-actions{gap:8px}.bi-title .bi-live{display:none}}
@media(max-width:960px){.bi-kpis{grid-template-columns:repeat(2,1fr)}.health-charts,.dispatch-charts{grid-template-columns:1fr 1fr}.bi-panel .monthly-chart svg{min-width:390px}.bi-panel .monthly-chart{overflow-x:auto}.bi-title{align-items:flex-start}.bi-title-actions{padding-top:15px}.bi-kpi-value strong{font-size:30px}.bi-panel .stage-chart{grid-template-columns:repeat(5,1fr)}.bi-panel .stage-chart button>span:last-child{font-size:12px!important}.bi-panel .stage-chart+.chart-note{display:none}.bi-review-strip{grid-template-columns:repeat(3,1fr);gap:12px}.problem-charts .station-matrix{grid-template-columns:repeat(8,1fr)}.bi-panel-head h3{white-space:normal;font-size:14px!important}.bi-title p{max-width:340px}.bi-panel .bi-trend svg{height:180px}}
@media(max-width:780px){.bi-dashboard{margin-top:0}.bi-title{margin-bottom:16px;gap:10px}.bi-title h1{font-size:25px}.bi-title .section-kicker{font-size:12px!important;letter-spacing:1px}.bi-title p{font-size:13px!important}.bi-title-actions{padding-top:27px}.bi-title-actions button{font-size:12px!important}.bi-section-head{margin:18px 0 11px}.bi-section-head h2{font-size:17px}.bi-section-head>div:first-child{gap:8px}.bi-kpis{gap:10px}.bi-kpi{padding:13px 12px}.bi-kpi-label{flex-wrap:wrap;font-size:12px!important}.bi-kpi-label>.ui-icon:last-child{display:none}.bi-kpi-label .icon-badge{height:25px;width:25px}.bi-kpi-value strong{font-size:27px}.bi-kpi-value{min-height:60px;gap:3px}.bi-kpi-value strong small{font-size:12px!important;margin-left:3px}.bi-gauge,.bi-spark{width:46px;height:40px}.bi-kpi p{min-height:37px}.health-charts,.dispatch-charts,.problem-charts,.details-charts{grid-template-columns:1fr}.bi-panel{padding:15px}.bi-panel .bi-telemetry svg,.bi-panel .bi-trend svg{height:190px}.bi-panel .monthly-chart svg{height:185px;min-width:450px}.bi-panel .monthly-chart .chart-axis{font-size:12px!important}.bi-panel .monthly-chart .chart-note{font-size:12px!important}.problem-charts>.bi-panel:last-child{grid-column:auto}.problem-charts .donut-layout{grid-template-columns:145px 1fr;gap:15px;min-height:150px}.problem-charts .ring-item{padding:7px 0}.problem-charts .station-matrix{grid-template-columns:repeat(6,1fr)}.problem-charts .station-matrix button{min-height:39px}.bi-panel .stage-chart{grid-template-columns:repeat(5,1fr);gap:6px}.bi-panel .stage-chart button{font-size:12px!important;padding:10px 2px}.bi-panel .stage-track{height:75px}.bi-panel .stage-track i{max-height:74px}.bi-period button{font-size:12px;padding:5px 10px}.bi-review-strip{grid-template-columns:repeat(2,1fr);gap:14px}.bi-review-strip button:nth-child(2n){border:0}.bi-review-strip b{font-size:20px}.dispatch-kpis .bi-kpi-value>.ui-icon{width:28px;height:28px}.bi-dashboard .bi-footnote{font-size:12px!important;margin:0 0 10px}.bi-panel figcaption{gap:12px}.bi-title-actions .bi-link{max-width:75px;white-space:normal;text-align:right}.bi-details summary{font-size:13px}.bi-section-head>.bi-link{font-size:12px!important}}
/* SVG viewBoxes scale with their cards: raise source labels so rendered text stays readable. */
.bi-panel .bi-telemetry svg text,.bi-panel .bi-trend svg text{font-size:18px!important;fill:#74866a}.bi-panel .monthly-chart svg text{font-size:20px!important;fill:#74866a}
@media(max-width:780px){.bi-panel .bi-telemetry svg,.bi-panel .bi-trend svg{min-width:390px}.bi-telemetry,.bi-trend{overflow-x:auto}}
