/* Operations pages: shared status isolation and complete dark theme. */
.tower-status {
    width:auto!important;height:auto!important;min-width:0!important;max-width:max-content!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:flex-start!important;
    flex:0 0 auto!important;padding:5px 10px!important;margin:0!important;overflow:visible!important;
    color:#1478f2!important;font-size:11px!important;font-weight:700!important;line-height:1.2!important;
    white-space:nowrap!important;background:#e8f3ff!important;border:0!important;border-radius:999px!important;box-shadow:none!important;
}
.tower-status-8{color:#087e55!important;background:#e7f8f0!important}.tower-status-9{color:#c72936!important;background:#ffebed!important}

html.bdn-dark-panels .tower-page,html.bdn-dark-panels .ops-page{color:#edf5ff}
html.bdn-dark-panels .tower-stats article,html.bdn-dark-panels .tower-filter,html.bdn-dark-panels .tower-workspace,
html.bdn-dark-panels .ops-summary article,html.bdn-dark-panels .ops-board,html.bdn-dark-panels .task-card{
    color:#edf5ff!important;background:rgba(17,31,49,.94)!important;border-color:#2b405a!important;box-shadow:0 14px 38px rgba(0,0,0,.22)!important
}
html.bdn-dark-panels .tower-workspace>aside,html.bdn-dark-panels .ops-board>aside{background:#0e1b2c!important;border-color:#2b405a!important}
html.bdn-dark-panels .tower-filter input,html.bdn-dark-panels .tower-filter select{
    color:#edf5ff!important;background:#091625!important;border-color:#304762!important
}
html.bdn-dark-panels .order-card{color:#edf5ff!important;border-color:#2a3e57!important;background:#111f31!important}
html.bdn-dark-panels .order-card:hover{background:#172a40!important}
html.bdn-dark-panels .order-card.selected{color:#fff!important;background:#19324e!important;border-left-color:#248aff!important}
html.bdn-dark-panels .order-card p,html.bdn-dark-panels .order-card small,
html.bdn-dark-panels .detail-head p,html.bdn-dark-panels .timeline small,html.bdn-dark-panels .timeline time,
html.bdn-dark-panels .detail-grid span,html.bdn-dark-panels .detail-grid small,
html.bdn-dark-panels .task-copy p,html.bdn-dark-panels .task-copy small,
html.bdn-dark-panels .ops-summary span,html.bdn-dark-panels .ops-summary small{color:#9fb1c7!important}
html.bdn-dark-panels .detail-grid article{color:#edf5ff!important;background:#172a40!important;border:1px solid #2b405a!important}
html.bdn-dark-panels .order-lines{color:#edf5ff!important;background:#111f31!important;border-color:#2b405a!important}
html.bdn-dark-panels .order-lines>div{border-color:#2b405a!important}
html.bdn-dark-panels .timeline article:before{background:#34485f}
html.bdn-dark-panels .timeline-dot{color:#aebdd0;background:#26394f}
html.bdn-dark-panels .timeline .done .timeline-dot{color:#fff;background:#10a86e}
html.bdn-dark-panels .blocker{color:#ff99a2;background:#401f2a!important;border:1px solid #71313e}
html.bdn-dark-panels .blocker a{color:#ff9ca5}
html.bdn-dark-panels .tower-status{color:#7fbaff!important;background:#17304c!important;border:1px solid #2a5279!important}
html.bdn-dark-panels .tower-status-8{color:#71dfb4!important;background:#153b34!important;border-color:#236150!important}
html.bdn-dark-panels .tower-status-9{color:#ff929d!important;background:#43212c!important;border-color:#71313e!important}
html.bdn-dark-panels .ops-board aside button{color:#c4d3e5!important}
html.bdn-dark-panels .ops-board aside button.active{color:#fff!important;background:#1478f2!important}
html.bdn-dark-panels .task-icon{color:#65aaff;background:#17324f!important}
html.bdn-dark-panels .priority-label{color:#b9c8da!important;background:#293b51!important}
html.bdn-dark-panels .list-title h2,html.bdn-dark-panels .task-copy h3,
html.bdn-dark-panels .aside-title h2,html.bdn-dark-panels .detail-head h2,
html.bdn-dark-panels .order-lines h3{color:#f3f7fc!important}

.priority-label.priority-label-1{color:#c72b39!important;background:#ffe9ec!important;border:1px solid #ffc9cf!important}
.priority-label.priority-label-2{color:#096bdc!important;background:#e7f2ff!important;border:1px solid #c5dfff!important}
.priority-label.priority-label-3{color:#a86500!important;background:#fff3d9!important;border:1px solid #f4d493!important}
html.bdn-dark-panels .priority-label.priority-label-1{color:#ff9aa4!important;background:#48212c!important;border-color:#77313f!important}
html.bdn-dark-panels .priority-label.priority-label-2{color:#8ac1ff!important;background:#173451!important;border-color:#28577e!important}
html.bdn-dark-panels .priority-label.priority-label-3{color:#ffd17b!important;background:#44351c!important;border-color:#735927!important}

/* Integration center dark mode */
html.bdn-dark-panels .integration-page{color:#edf5ff!important}
html.bdn-dark-panels .integration-stats article,html.bdn-dark-panels .provider-card,html.bdn-dark-panels .integration-editor{
    color:#edf5ff!important;background:rgba(17,31,49,.95)!important;border-color:#2b405a!important;box-shadow:0 14px 38px rgba(0,0,0,.24)!important
}
html.bdn-dark-panels .provider-card:hover{background:#172a40!important}
html.bdn-dark-panels .provider-card.selected{background:#19324e!important;border-color:#2388ff!important;box-shadow:0 10px 32px rgba(20,120,242,.18)!important}
html.bdn-dark-panels .provider-card h2,html.bdn-dark-panels .integration-editor h2{color:#f3f7fc!important}
html.bdn-dark-panels .provider-card p,html.bdn-dark-panels .provider-card small,
html.bdn-dark-panels .editor-title p,html.bdn-dark-panels .integration-editor label small,
html.bdn-dark-panels .health-row span{color:#9fb1c7!important}
html.bdn-dark-panels .integration-editor input{
    color:#edf5ff!important;background:#091625!important;border-color:#304762!important
}
html.bdn-dark-panels .integration-editor input::placeholder{color:#72869f!important}
html.bdn-dark-panels .secret-field button{color:#85bdff!important;background:#173451!important;border-color:#28577e!important}
html.bdn-dark-panels .editor-title,html.bdn-dark-panels .editor-actions{border-color:#2b405a!important}
html.bdn-dark-panels .secondary{color:#c8d7e8!important;background:#14253a!important;border-color:#304762!important}
html.bdn-dark-panels .provider-note{color:#b9d8ff!important;background:#173451!important;border:1px solid #28577e!important}
html.bdn-dark-panels .integration-message{color:#7be0b5!important;background:#15392f!important;border:1px solid #24604e!important}
html.bdn-dark-panels .integration-error,html.bdn-dark-panels .last-error{color:#ff9aa4!important;background:#48212c!important;border:1px solid #77313f!important}

@media(max-width:540px){.tower-status{font-size:10px!important;padding:4px 8px!important}}
/* Inventory forecast: true dark theme */
html.bdn-dark-panels .forecast-page{color:#edf5ff}
html.bdn-dark-panels .forecast-page>header p,
html.bdn-dark-panels .forecast-summary span,
html.bdn-dark-panels .forecast-summary small,
html.bdn-dark-panels .card-head p,
html.bdn-dark-panels .financial-card span,
html.bdn-dark-panels .insight-row p,
html.bdn-dark-panels .forecast-empty p{color:#9eb0c7}
html.bdn-dark-panels .scenario-panel,
html.bdn-dark-panels .forecast-summary article:not(.hero),
html.bdn-dark-panels .projection-card,
html.bdn-dark-panels .financial-card,
html.bdn-dark-panels .insight-row article,
html.bdn-dark-panels .forecast-empty{border-color:#263b55;background:rgba(16,32,53,.88);box-shadow:0 18px 40px rgba(0,0,0,.22)}
html.bdn-dark-panels .scenario-panel label{color:#b8c7da}
html.bdn-dark-panels .scenario-panel select{border-color:#2a405b;background:#091728;color:#edf5ff}
html.bdn-dark-panels .forecast-summary article::after{background:rgba(62,115,184,.13)}
html.bdn-dark-panels .financial-card>div{border-color:#263b55}
html.bdn-dark-panels .card-head>span{background:#17375f;color:#70b3ff}
html.bdn-dark-panels .stock-chart{border-color:#2a405b;background:repeating-linear-gradient(to bottom,transparent 0,transparent 59px,rgba(60,83,111,.42) 60px)}
html.bdn-dark-panels .bar-track{background:#0a192b}
html.bdn-dark-panels .bar-track em,
html.bdn-dark-panels .chart-column>strong,
html.bdn-dark-panels .chart-legend{color:#a8bad0}
