/* BECO v1.7.5 — multi-front operational analytics and front-coded timeline. */
html body.u4-v164-analytics{height:auto!important;min-height:100vh!important;overflow-y:auto!important;overscroll-behavior-y:auto!important}
html body.u4-v164-analytics .frame{height:auto!important;min-height:100vh!important;overflow:visible!important;align-items:stretch!important}
html body.u4-v164-analytics .workspace{height:auto!important;max-height:none!important;min-height:100vh!important;overflow:visible!important;min-width:0!important}
html body.u4-v164-analytics main.analytics-main{height:auto!important;max-height:none!important;overflow:visible!important;padding-bottom:70px!important}
html body.u4-v164-analytics .v173-analysis-area,html body.u4-v164-analytics .v173-analysis-list{height:auto!important;max-height:none!important;overflow:visible!important}
html body.u4-v164-analytics .v173-analysis-list{gap:10px!important}
.v175-entry{--area-color:#368a96;background:var(--v174-overlay,#1a3045);border:1px solid var(--v174-outline,#345168);border-left:4px solid var(--area-color);border-radius:12px;overflow:visible;box-shadow:0 2px 9px #05152412;min-width:0}
.v175-entry.is-open{border-color:color-mix(in srgb,var(--area-color) 52%,var(--v174-outline));border-left-color:var(--area-color)}
.v175-entry-toggle{width:100%;display:grid;grid-template-columns:38px minmax(175px,1.2fr) minmax(320px,1.8fr) 26px;gap:13px;align-items:center;text-align:left;padding:12px 14px!important;color:var(--v174-text,#e7f1f8)!important;background:var(--v174-overlay)!important;border:0!important;border-radius:11px;cursor:pointer}
.v175-entry-toggle:hover{background:var(--v174-elevated)!important}.v175-entry-toggle:focus-visible{outline:2px solid var(--area-color);outline-offset:-2px}
.v175-entry-name{display:grid;gap:3px;min-width:0}.v175-entry-name b{font-size:13px;line-height:1.2;color:var(--v174-text)}.v175-entry-name small{color:var(--v174-muted);font-size:10px;line-height:1.35}
.v175-icon{height:35px;width:35px;display:grid;place-items:center;font-size:16px;font-weight:800;border-radius:9px;background:color-mix(in srgb,var(--area-color) 18%,var(--v174-overlay));border:1px solid color-mix(in srgb,var(--area-color) 35%,var(--v174-outline));color:var(--area-color)}
.v175-entry-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:7px;min-width:0}
.v175-metric{display:grid;gap:3px;align-content:center;min-width:0;padding:3px 10px;border-left:1px solid var(--v174-outline)}
.v175-metric span{font-size:9.5px;color:var(--v174-muted);line-height:1.25}.v175-metric strong{font-size:15px;line-height:1.2;font-variant-numeric:tabular-nums;color:var(--v174-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v175-chevron{font-size:22px;color:var(--v174-muted);transition:transform .15s ease;justify-self:end}.is-open>.v175-entry-toggle .v175-chevron{transform:rotate(180deg)}
.v175-detail{border-top:1px solid var(--v174-outline);padding:15px;background:var(--v174-surface);height:auto;max-height:none;overflow:visible;border-radius:0 0 12px 12px}
.v175-detail.hidden{display:none!important}
.v175-insight-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:0 0 12px}
.v175-insight-strip .v175-metric{background:var(--v174-overlay);border:1px solid var(--v174-outline);border-radius:9px;padding:10px 12px;min-height:62px}
.v175-insight-strip .v175-metric strong{font-size:20px}.v175-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.v175-chart-card{background:var(--v174-overlay);border:1px solid var(--v174-outline);border-radius:11px;padding:16px;min-width:0;min-height:255px}
.v175-chart-card h3{margin:0 0 5px;color:var(--v174-text);font-size:13.5px}.v175-chart-card p{font-size:10px;color:var(--v174-muted);margin:0 0 14px;line-height:1.5}
.v175-status-layout{display:flex;align-items:center;justify-content:center;gap:clamp(20px,5vw,65px);min-height:165px}
.v175-donut{flex:none;width:158px;height:158px;border-radius:50%;display:grid;place-items:center;box-shadow:0 2px 12px #0001}
.v175-donut>div{background:var(--v174-overlay);border-radius:50%;width:106px;height:106px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--v174-text);gap:3px}
.v175-donut b{font-size:29px;line-height:1}.v175-donut small{font-size:10px;color:var(--v174-muted)}
.v175-state-legend{width:min(220px,50%);display:grid;gap:8px}.v175-state-legend>div{display:grid;grid-template-columns:10px 1fr 30px;gap:9px;align-items:center;font-size:10.5px;color:var(--v174-text)}.v175-state-legend i{width:9px;height:9px;border-radius:3px}.v175-state-legend b{text-align:right;font-variant-numeric:tabular-nums}
.v175-section-row{margin:0 0 12px}.v175-section-meta{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 5px;font-size:11px;color:var(--v174-text)}.v175-section-meta b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.v175-section-meta span{color:var(--v174-muted);white-space:nowrap;font-size:10px}.v175-section-track,.v175-bar-track{height:8px;background:var(--v174-track);border-radius:99px;overflow:hidden}.v175-section-track i,.v175-bar-track span{display:block;height:100%;border-radius:99px;min-width:0}
.v175-chart-bar{display:grid;grid-template-columns:68px minmax(0,1fr) 38px;gap:10px;align-items:center;min-height:29px;font-size:10.5px;color:var(--v174-text)}.v175-chart-bar b{text-align:right;font-variant-numeric:tabular-nums}
.v175-task-list{display:grid;gap:0}.v175-task{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid var(--v174-outline);padding:9px 2px;min-width:0}.v175-task>div{min-width:0;display:grid;gap:3px}.v175-task strong{font-weight:650;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--v174-text)}.v175-task small{font-size:9px;color:var(--v174-muted)}.v175-task>span{white-space:nowrap;font-size:10px;color:var(--v174-muted)}.v175-task>span.is-late{color:#dd806d;font-weight:800}
.v175-readout{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:12px;padding:14px 16px;background:color-mix(in srgb,var(--area-color) 8%,var(--v174-overlay));border:1px solid var(--v174-outline);border-radius:10px;color:var(--v174-text)}
.v175-readout b{font-size:12px}.v175-readout p{margin:4px 0;font-size:11px}.v175-readout small{font-size:9.5px;color:var(--v174-muted)}.v175-readout a{display:inline-flex;white-space:nowrap;padding:9px 13px;border-radius:7px;background:var(--area-color);color:white;font-size:10px;font-weight:800;text-decoration:none}
.v175-empty,.v175-data-note{padding:15px;color:var(--v174-muted);font-size:10px}.v175-data-note{padding:10px 4px 20px}.v175-error{color:#dc8b76}
.v175-entry .v173-finance-detail{overflow:visible!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important}
.v175-entry .v175-finance-mount{display:none}.v175-entry .an-bars{overflow-x:auto!important;overflow-y:hidden!important;max-height:none!important;overscroll-behavior-y:auto!important}
/* Keep finance analysis in document flow; individual charts only scroll horizontally when necessary. */
html body.u4-v164-analytics .v175-entry .an-card,html body.u4-v164-analytics .v175-entry .an-charts,html body.u4-v164-analytics .v175-entry .an-bottom{max-height:none!important;overflow-y:visible!important}
@media(max-width:1040px){.v175-entry-toggle{grid-template-columns:35px minmax(135px,1fr) minmax(270px,1.4fr) 22px;gap:7px}.v175-chart-grid{grid-template-columns:1fr}}
@media(max-width:730px){.v175-entry-toggle{grid-template-columns:35px 1fr 20px}.v175-entry-stats{grid-column:1/-1;grid-row:2;grid-template-columns:repeat(4,minmax(0,1fr))}.v175-insight-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.v175-readout{align-items:flex-start;flex-direction:column}.v175-status-layout{gap:14px}.v175-donut{width:126px;height:126px}.v175-donut>div{width:84px;height:84px}}
/* All Gantt bars use workstream's configured color; phases change lightness/shape, not identity. */
html body #detail.schedule-mode .gantt-bar.gantt-progress-bar{--v174-bar:var(--front-color,#258da1)!important;border-color:color-mix(in srgb,var(--front-color) 58%,var(--v174-outline))!important;background:color-mix(in srgb,var(--front-color) 56%,var(--v174-track))!important}
html body #detail.schedule-mode .gantt-progress-bar.gantt-phase-future{background:color-mix(in srgb,var(--front-color) 35%,var(--v174-track))!important;border-style:dashed!important;opacity:.85!important}
html body #detail.schedule-mode .gantt-progress-bar.gantt-phase-current{background:color-mix(in srgb,var(--front-color) 67%,var(--v174-track))!important}
html body #detail.schedule-mode .gantt-progress-bar.gantt-phase-complete{background:color-mix(in srgb,var(--front-color) 80%,var(--v174-track))!important}
html body #detail.schedule-mode .gantt-progress-bar.gantt-phase-late{background:color-mix(in srgb,var(--front-color) 67%,var(--v174-track))!important;box-shadow:inset 4px 0 #ed6d60,0 3px 9px #07192733!important}
html body #detail.schedule-mode .gantt-progress-bar.gantt-phase-hold{background:repeating-linear-gradient(125deg,color-mix(in srgb,var(--front-color) 50%,var(--v174-track)) 0 9px,color-mix(in srgb,var(--front-color) 30%,var(--v174-track)) 9px 16px)!important}
html body #detail.schedule-mode .gantt-progress-bar.gantt-physical{background:var(--front-color)!important}
html body #detail.schedule-mode .gantt-bar.gantt-progress-bar .gantt-physical{background:var(--front-color)!important;filter:brightness(1.13)}
html body #detail.schedule-mode .gantt-milestone .milestone-diamond{background:var(--milestone-color)!important;border-color:color-mix(in srgb,var(--milestone-color) 70%,white)!important}
html body #detail.schedule-mode .gantt-milestone.milestone-overdue .milestone-diamond{box-shadow:0 0 0 3px #e97a63,0 2px 8px #0005!important}
html body #detail.schedule-mode .gantt-workstream .gantt-group-bar{background:color-mix(in srgb,var(--front-color) 85%,var(--v174-track))!important}
html body #detail.schedule-mode .gantt-section .gantt-group-bar{background:color-mix(in srgb,var(--front-color) 48%,var(--v174-track))!important}

html body #detail.schedule-mode .gantt-task .v173-gantt-task-icon,html body #detail.schedule-mode .gantt-subtask .v173-gantt-task-icon{color:var(--front-color)!important}
