/* Dorothy AI OS — executive truth layer */
.execSource{display:block;margin-top:10px;color:#66727f!important;font-size:8.5px!important}
.liveSummaryGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.execMetric{border:1px solid #26303a;border-radius:12px;background:linear-gradient(180deg,#0d141a,#0a1015);padding:12px;min-width:0}
.execMetric strong{display:block;font:600 21px/1 Inter Tight,Inter,sans-serif;color:#f5f7fa}
.execMetric span{display:block;margin-top:7px;font-size:9.5px;color:#a4adb9;font-weight:600}
.execMetric small{display:block;margin-top:4px;font-size:7.8px;color:#65717e;line-height:1.35}
.execModule{display:grid;gap:12px;align-items:start}
.execPanel{border:1px solid var(--border);background:linear-gradient(180deg,#11161c,#0e1318);border-radius:16px;padding:17px;box-shadow:0 10px 28px rgba(0,0,0,.08)}
.execPanelHead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}
.execPanelHead h3{font:600 15px/1.2 Inter Tight,Inter,sans-serif;margin:0;color:#f3f5f8}
.execPanelHead p{margin:5px 0 0;color:#788391;font-size:9.5px;line-height:1.45}
.execMetricGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.execTwoCol{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.execAgentGrid,.execRuntimeGrid,.execIntegrationGrid{display:grid;gap:9px}
.execAgentGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
.execIntegrationGrid{grid-template-columns:repeat(3,minmax(0,1fr))}
.execAgentCard,.execRuntimeCard,.execIntegrationCard{border:1px solid #232c35;background:#0b1015;border-radius:12px;padding:12px;min-width:0}
.execAgentTop,.execIntegrationHead{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}
.execAgentAvatar,.execBrand{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;flex:0 0 38px;border:1px solid #2b3540;background:#121920;color:var(--cyan);font:700 10px Inter Tight,Inter,sans-serif;overflow:hidden}
.execBrand img{width:22px;height:22px;object-fit:contain;display:block}
.execAgentTop b,.execIntegrationCopy b,.execRuntimeCard b,.execListRow b{display:block;color:#f2f5f8;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.execAgentTop small,.execIntegrationCopy small,.execRuntimeCard small,.execListRow small{display:block;color:#697481;font-size:8.2px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.execStatus{display:inline-flex;align-items:center;justify-content:center;border:1px solid #303943;border-radius:999px;padding:5px 8px;font-size:7.5px;font-weight:700;letter-spacing:.04em;white-space:nowrap;color:#87919d;background:#11171d}
.execStatus.active,.execStatus.operational{color:var(--cyan);border-color:rgba(0,229,255,.25);background:rgba(0,229,255,.04)}
.execStatus.attention{color:#ffc75a;border-color:rgba(255,199,90,.25);background:rgba(255,199,90,.04)}
.execStatus.disconnected,.execStatus.blocked{color:#ff6d86;border-color:rgba(255,69,103,.26);background:rgba(255,69,103,.04)}
.execStatus.not_configured,.execStatus.muted{color:#7c8794;border-color:#29323c;background:#10151a}
.execStatus.waiting_ricardo{color:#ff6db7;border-color:rgba(255,0,127,.24);background:rgba(255,0,127,.035)}
.execMeta,.execMessage{margin:9px 0 0;color:#697481;font-size:8.3px;line-height:1.45}
.execRuntimeCard{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start}
.execRuntimeState{text-align:right}
.execRuntimeState small{max-width:170px}
.execRuntimeCard .execMeta{grid-column:1/-1;margin-top:0;padding-top:9px;border-top:1px solid #202731;white-space:normal}
.execIntegrationDetails{display:flex;gap:10px;justify-content:space-between;margin-top:10px;padding-top:9px;border-top:1px solid #202731;color:#66727f;font-size:7.8px}
.execMessage{min-height:34px}
.execBarList{display:grid;gap:10px}
.execBarRow>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#8d98a5;font-size:9px;text-transform:capitalize}
.execBarRow b{color:#dfe4ea}
.execBar{height:6px;margin-top:6px;border-radius:999px;background:#202731;overflow:hidden}
.execBar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--magenta),var(--cyan))}
.execList{display:grid;gap:7px}
.execListRow{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid #222a34;background:#0b1015;border-radius:10px;padding:10px 11px}
.execEmpty{border:1px dashed #2a333d;border-radius:11px;padding:18px;color:#6f7a87;font-size:9px;text-align:center}
.integration>img{background:#121920!important;border-color:#2b3540!important;padding:7px!important;object-fit:contain!important}
html[data-home-integrity="fresh"] .executiveBand{border-color:rgba(0,229,255,.18)}
.railColumn .execAgentGrid{grid-template-columns:1fr}
@media(max-width:1200px){.execIntegrationGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.execMetricGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.execTwoCol{grid-template-columns:1fr}.execAgentGrid{grid-template-columns:1fr}}
@media(max-width:680px){.liveSummaryGrid,.execMetricGrid,.execIntegrationGrid{grid-template-columns:1fr 1fr}.execRuntimeCard{grid-template-columns:1fr}.execRuntimeState{text-align:left}.execIntegrationDetails{display:grid;gap:4px}}
@media(max-width:440px){.liveSummaryGrid,.execMetricGrid,.execIntegrationGrid{grid-template-columns:1fr}.execAgentTop,.execIntegrationHead{grid-template-columns:auto minmax(0,1fr)}.execAgentTop .execStatus,.execIntegrationHead .execStatus{grid-column:2;justify-self:start}}


/* Legibility baseline — tuned for comfortable use at browser 100% zoom */
.execMetric strong{font-size:24px}
.execMetric span{font-size:12px;line-height:1.45}
.execMetric small{font-size:10.5px;line-height:1.5}
.execPanelHead h3{font-size:17px}
.execPanelHead p{font-size:11.5px}
.execAgentTop b,.execIntegrationCopy b,.execRuntimeCard b,.execListRow b{font-size:12.5px;line-height:1.4}
.execAgentTop small,.execIntegrationCopy small,.execRuntimeCard small,.execListRow small{font-size:10.5px;line-height:1.45}
.execStatus{font-size:9.5px;padding:6px 9px}
.execMeta,.execMessage{font-size:10.5px;line-height:1.55}
.execIntegrationDetails{font-size:10px}
.execBarRow>div:first-child{font-size:11px}
.execEmpty{font-size:11px}
.metricsView .card small{font-size:11.5px}
.metricsView .card p{font-size:10.5px;line-height:1.45}
.metricsView .card>strong{font-size:29px}
.metricsView .flow small{font-size:10.5px}
.metricsView .flow b,.metricsView .flow strong{font-size:22px}

.agentSignalRow{grid-template-columns:11px minmax(0,1fr) auto!important}
.agentSignalDot{width:9px;height:9px;border-radius:999px;background:#66717e;display:block}
.agentSignalDot.live{background:#6fffb0;box-shadow:0 0 12px rgba(111,255,176,.55)}
.agentSignalDot.working{background:var(--cyan);box-shadow:0 0 12px rgba(0,229,255,.5)}
.agentSignalDot.idle{background:#65707c}
.agentSignalDot.unknown{background:#ffc75a}
.agentSignalPill{font-size:9px;font-weight:700;letter-spacing:.03em;border-radius:999px;padding:5px 8px;border:1px solid #303943;white-space:nowrap}
.agentSignalPill.live{color:#6fffb0;border-color:rgba(111,255,176,.28);background:rgba(111,255,176,.05)}
.agentSignalPill.working{color:var(--cyan);border-color:rgba(0,229,255,.28);background:rgba(0,229,255,.05)}
.agentSignalPill.idle{color:#8a949f;background:#11171d}
.agentSignalPill.unknown{color:#ffc75a;border-color:rgba(255,199,90,.25);background:rgba(255,199,90,.04)}

.biPulsePanel{overflow:hidden}
.pulseChartWrap{border:1px solid #202a34;background:radial-gradient(500px 140px at 50% 80%,rgba(0,229,255,.06),transparent 72%),#0a1015;border-radius:13px;padding:16px 16px 10px}
.pulseChartWrap svg{display:block;width:100%;height:190px;color:var(--cyan);filter:drop-shadow(0 0 7px rgba(0,229,255,.22))}
.pulseAxis{display:flex;justify-content:space-between;color:#707c89;font-size:10.5px;margin-top:6px}
.biGrid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);gap:12px}
.biMetricGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
.latencyList{display:grid;gap:10px}
.latencyRow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 14px;align-items:center;border-bottom:1px solid #202731;padding:9px 0}
.latencyRow:last-child{border-bottom:0}
.latencyRow b{display:block;font-size:12px}
.latencyRow small{display:block;color:#737f8c;font-size:10px;margin-top:3px}
.latencyRow strong{font:600 12px Inter Tight,Inter,sans-serif;color:#dfe5eb}
.latencyRow>span{grid-column:1/-1;height:5px;background:#202731;border-radius:999px;overflow:hidden}
.latencyRow>span i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--cyan),#6fffb0)}

@media(max-width:1100px){.biGrid{grid-template-columns:1fr}}
@media(max-width:680px){.pulseChartWrap svg{height:150px}.agentSignalRow{grid-template-columns:11px minmax(0,1fr)!important}.agentSignalPill{grid-column:2;justify-self:start;margin-top:4px}}


/* Unified operational semantics */
.execStatus.active,.execStatus.live,.execStatus.working,
.agentSignalPill.live,.agentSignalPill.working{
  color:#7CFFB2!important;border-color:rgba(124,255,178,.30)!important;background:rgba(124,255,178,.06)!important
}
.agentSignalDot.live,.agentSignalDot.working{
  background:#7CFFB2!important;box-shadow:0 0 13px rgba(124,255,178,.62)!important
}
.execStatus.waiting,.agentSignalPill.waiting{
  color:#FFD166!important;border-color:rgba(255,209,102,.32)!important;background:rgba(255,209,102,.07)!important
}
.agentSignalDot.waiting{
  background:#FFD166!important;box-shadow:0 0 12px rgba(255,209,102,.5)!important
}
.execStatus.idle,.execStatus.unknown,.agentSignalPill.idle,.agentSignalPill.unknown{
  color:#FF7088!important;border-color:rgba(255,112,136,.30)!important;background:rgba(255,112,136,.06)!important
}
.agentSignalDot.idle,.agentSignalDot.unknown{
  background:#FF7088!important;box-shadow:0 0 12px rgba(255,112,136,.46)!important
}
.dot.ok{background:#7CFFB2!important;box-shadow:0 0 10px rgba(124,255,178,.5)!important}
.statusPill.operational{color:#7CFFB2!important;border-color:rgba(124,255,178,.28)!important;background:rgba(124,255,178,.055)!important}
.statusPill.optional{color:#FFD166!important;border-color:rgba(255,209,102,.28)!important;background:rgba(255,209,102,.05)!important}
.statusPill.disconnected{color:#FF7088!important;border-color:rgba(255,112,136,.28)!important;background:rgba(255,112,136,.055)!important}

/* Integration inventory */
.integrationLegend{display:flex;flex-wrap:wrap;gap:12px;margin:-2px 0 12px;font-size:10.5px}
.integrationLegend .legendOk{color:#7CFFB2}
.integrationLegend .legendOptional{color:#FFD166}
.integrationLegend .legendBad{color:#FF7088}
.brandLogo{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;border:1px solid #2b3540;background:#111820;overflow:hidden}
.brandLogo img{width:23px;height:23px;object-fit:contain;display:block}
.brandLogo b{font:700 10px Inter Tight,Inter,sans-serif;color:#f1f5f9}
.brand-openai{background:#151a20}
.openaiMark{font:700 25px/1 Inter,sans-serif;color:#fff;transform:rotate(15deg)}
.integration-operational{box-shadow:inset 2px 0 0 rgba(124,255,178,.72)}
.integration-optional{box-shadow:inset 2px 0 0 rgba(255,209,102,.72)}
.integration-disconnected{box-shadow:inset 2px 0 0 rgba(255,112,136,.72)}
.integrationMessage{white-space:normal!important;line-height:1.45!important;margin-top:4px!important}

/* Executive hero */
.overviewDataHero{grid-template-columns:minmax(280px,.72fr) minmax(520px,1.28fr);align-items:stretch}
.executiveBrief{display:flex;flex-direction:column;justify-content:center}
.heroFactGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:20px}
.heroFactGrid>div{border:1px solid #26303a;border-radius:11px;background:#0b1116;padding:11px 12px}
.heroFactGrid strong{display:block;font:600 20px/1 Inter Tight,Inter,sans-serif;color:#f5f7fa}
.heroFactGrid span{display:block;margin-top:6px;color:#7e8996;font-size:10.5px}
.overviewHeroChart{min-width:0;display:flex}
.opsChart.compact{width:100%;border:1px solid #252e38;border-radius:15px;background:linear-gradient(180deg,#10161c,#0b1015);padding:14px}

/* Interactive BI chart */
.opsChartTop{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:9px}
.opsChartTop h3{margin:4px 0 0;font:600 16px Inter Tight,Inter,sans-serif}
.chartLegend{display:flex;gap:12px;flex-wrap:wrap;font-size:10px;color:#7c8794}
.chartLegend span:before{content:"";display:inline-block;width:7px;height:7px;border-radius:999px;margin-right:5px}
.chartLegend .tasks:before{background:#FF3B9D}
.chartLegend .events:before{background:#00E5FF}
.chartLegend .done:before{background:#7CFFB2}
.pulseChartWrap.interactive{position:relative;padding-bottom:12px}
.pulseChartWrap.interactive svg{height:210px;overflow:visible}
.chartGridLine{stroke:#23303a;stroke-width:.35}
.series{fill:none;stroke-width:1.7}
.series.tasks{stroke:#FF3B9D}
.series.events{stroke:#00E5FF}
.series.done{stroke:#7CFFB2}
.focusLine{stroke:#d5dde6;stroke-width:.4;stroke-dasharray:1.4 1.2;opacity:.65}
.focusPoint.tasks{fill:#FF3B9D}.focusPoint.events{fill:#00E5FF}.focusPoint.done{fill:#7CFFB2}
.chartHit{fill:transparent;cursor:crosshair;outline:none}
.chartInspector{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:7px;border-top:1px solid #202a34;padding-top:10px;font-size:10.5px;color:#86919e}
.chartInspector strong{color:#f3f6f8;font-size:11px}
.chartInspector span{display:inline-flex;align-items:center;gap:5px}
.chartInspector i{width:7px;height:7px;border-radius:999px;display:inline-block}
.taskDot{background:#FF3B9D}.eventDot{background:#00E5FF}.doneDot{background:#7CFFB2}

@media(max-width:1180px){.overviewDataHero{grid-template-columns:1fr}.overviewHeroChart{min-height:280px}}
@media(max-width:680px){.heroFactGrid{grid-template-columns:1fr 1fr}.opsChartTop{align-items:flex-start;display:grid}.pulseChartWrap.interactive svg{height:170px}}


/* Status colors across the whole cockpit */
.stage.in_progress,.stage.completed,.stage.done{
  color:#7CFFB2!important;border-color:rgba(124,255,178,.30)!important;background:rgba(124,255,178,.055)!important
}
.stage.waiting_ricardo,.stage.awaiting_ricardo,.dot.warn{
  color:#FFD166!important;border-color:rgba(255,209,102,.30)!important;background-color:rgba(255,209,102,.06)!important
}
.stage.blocked,.dot.bad{
  color:#FF7088!important;border-color:rgba(255,112,136,.30)!important;background-color:rgba(255,112,136,.06)!important
}
.liveDot{color:#7CFFB2!important}
.liveDot:before{background:#7CFFB2!important;box-shadow:0 0 11px rgba(124,255,178,.62)!important}
