/* =========================================================
   LIGHTS OFF: GENERATED. Do not edit by hand; regenerate with
   the dark-theme script. The dark counterparts of the colours
   written directly into MILO's stylesheets. Token colours and
   hand-made fixes are in milo-dark.css, loaded after this.
   ========================================================= */

/* ---------- milo.css ---------- */

html[data-bs-theme="dark"] .milo-flyout {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.54),
        0 2px 8px rgba(0, 0, 0, 0.24);
}

html[data-bs-theme="dark"] .milo-topbar {
    background: rgba(28, 28, 28, 0.82);
    border-bottom: 1px solid var(--milo-border);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18),
        0 6px 16px -8px rgba(0, 0, 0, 0.6);
}

html[data-bs-theme="dark"] .milo-app-divider {
    background: #2f312f;
}

html[data-bs-theme="dark"] .milo-bell-menu .is-warning > i {
    color: #ec9d7d;
}

html[data-bs-theme="dark"] .milo-kpi-icon-danger {
    color: #ea9f9a;
    background: #2f1c1a;
}

html[data-bs-theme="dark"] .milo-kpi-icon-warning {
    color: #eaa892;
    background: #342819;
}

html[data-bs-theme="dark"] .milo-breakdown-icon-warning {
    color: #eaa892;
    background: #342819;
}

html[data-bs-theme="dark"] .milo-breakdown-icon-danger {
    color: #ea9f9a;
    background: #2f1c1a;
}

html[data-bs-theme="dark"] .btn-primary:focus-visible {
    box-shadow: var(--milo-btn-raised),
        0 0 0 3px rgba(0, 0, 0, 0.6);
}

html[data-bs-theme="dark"] .btn-outline-primary:focus-visible,
html[data-bs-theme="dark"] .btn-outline-secondary:focus-visible {
    box-shadow: var(--milo-btn-raised-light),
        0 0 0 3px rgba(0, 0, 0, 0.6);
}

html[data-bs-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-select {
    border-color: var(--milo-border);
}

html[data-bs-theme="dark"] .form-control:focus,
html[data-bs-theme="dark"] .form-select:focus {
    box-shadow: 0 0 0 0.18rem
        rgba(0, 0, 0, 0.36);
}

html[data-bs-theme="dark"] .table tbody td {
    border-color: var(--milo-border);
}

html[data-bs-theme="dark"] .milo-custody-scroll th:last-child,
html[data-bs-theme="dark"] .milo-custody-scroll td:last-child {
    box-shadow: -4px 0 6px rgba(0, 0, 0, 0.18);
}

html[data-bs-theme="dark"] .milo-status-success {
    background: #212d25;
}

html[data-bs-theme="dark"] .milo-status-warning {
    background: #372f1b;
    color: #f7d4a0;
}

html[data-bs-theme="dark"] .milo-status-danger {
    background: #2f1c1a;
    color: #ea9f9a;
}

html[data-bs-theme="dark"] .milo-status-info {
    background: #22292d;
    color: #b5cdda;
}

html[data-bs-theme="dark"] .milo-status-light {
    background: var(--milo-surface);
}

html[data-bs-theme="dark"] .milo-status-orange {
    background: #342819;
    color: #eaa892;
}

html[data-bs-theme="dark"] .milo-timing-progress {
    background: #252825;
}

html[data-bs-theme="dark"] .milo-variance-late {
    color: #ec9d7d;
}

html[data-bs-theme="dark"] .milo-timing-alert-danger {
    color: #ea9f9a;
    background: #2f1c1a;
}

html[data-bs-theme="dark"] .milo-timing-alert-warning {
    color: #eaa892;
    background: #342819;
}

html[data-bs-theme="dark"] .milo-action-tile.milo-action-tile-danger {
    border-color: #573a37;
}

html[data-bs-theme="dark"] .milo-action-tile.milo-action-tile-warning {
    border-color: #605036;
}

html[data-bs-theme="dark"] .milo-issue-chip-danger {
    color: #ea9f9a;
    background: #2f1c1a;
}

html[data-bs-theme="dark"] .milo-issue-chip-warning {
    color: #eaa892;
    background: #342819;
}

html[data-bs-theme="dark"] .milo-next-step-danger {
    color: #e58c85;
}

html[data-bs-theme="dark"] .milo-next-step-warning {
    color: #efb283;
}

html[data-bs-theme="dark"] .milo-action-tile.milo-action-tile-warning .milo-action-icon {
    color: #eaa892;
    background: #342819;
}

html[data-bs-theme="dark"] .milo-action-tile-warning .milo-action-alert {
    color: #eaa892;
}

html[data-bs-theme="dark"] .milo-action-tile.milo-action-tile-danger .milo-action-icon {
    color: #ea9f9a;
    background: #2f1c1a;
}

html[data-bs-theme="dark"] .milo-action-tile-danger .milo-action-alert {
    color: #ea9f9a;
}

html[data-bs-theme="dark"] .milo-lifecycle-upcoming .milo-lifecycle-dot {
    background: var(--milo-surface);
}

html[data-bs-theme="dark"] .milo-lifecycle-count.is-alert {
    color: #d98880;
}

html[data-bs-theme="dark"] .milo-segmented a.active,
html[data-bs-theme="dark"] .milo-segmented button.active {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.36);
}

html[data-bs-theme="dark"] .milo-choice-buttons > .btn-check:focus-visible + .btn {
    box-shadow: var(--milo-btn-raised-light), 0 0 0 3px rgba(0, 0, 0, 0.6);
}

html[data-bs-theme="dark"] .milo-trend-chip.is-up {
    color: #edb796;
    background: #39331c;
}

html[data-bs-theme="dark"] .milo-trend-chip.is-down {
    color: #afe8c5;
    background: #1a3122;
}

html[data-bs-theme="dark"] .milo-calendar .fc-button:focus,
html[data-bs-theme="dark"] .milo-calendar .fc-button-primary:not(:disabled):active:focus {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.45);
}

html[data-bs-theme="dark"] .milo-calendar-can-create .fc-daygrid-day:hover {
    background: rgba(33, 39, 32, 0.6);
}

html[data-bs-theme="dark"] .milo-calendar .milo-event:hover {
    box-shadow: inset 3px 0 0 var(--milo-tone),
        0 2px 6px rgba(0, 0, 0, 0.3);
}

html[data-bs-theme="dark"] .milo-calendar .milo-tone-green {
    background: #1f2923;
    border-color: #3f5346;
}

html[data-bs-theme="dark"] .milo-calendar .milo-tone-amber {
    background: #2e2516;
    border-color: #605036;
}

html[data-bs-theme="dark"] .milo-calendar .milo-tone-red {
    background: #2b1a18;
    border-color: #573a37;
}

html[data-bs-theme="dark"] .milo-calendar .milo-tone-cancelled {
    background: var(--milo-surface-soft);
}

html[data-bs-theme="dark"] .milo-event-flag-warning {
    color: #eaa892;
    background: #342819;
}

html[data-bs-theme="dark"] .milo-event-flag-danger {
    color: #ea9f9a;
    background: #2f1c1a;
}

html[data-bs-theme="dark"] .milo-legend-swatch-green {
    background: #1f2923;
    border-color: #3f5346;
}

html[data-bs-theme="dark"] .milo-legend-swatch-amber {
    background: #2e2516;
    border-color: #605036;
}

html[data-bs-theme="dark"] .milo-legend-swatch-red {
    background: #2b1a18;
    border-color: #573a37;
}

html[data-bs-theme="dark"] .milo-legend-swatch-done {
    background: var(--milo-surface-soft);
}

html[data-bs-theme="dark"] .milo-cost-plan-list li.is-follow-up i {
    color: #ec9d7d;
}

html[data-bs-theme="dark"] .milo-chip-available,
html[data-bs-theme="dark"] .milo-chip-neutral {
    border-color: var(--milo-border);
}

html[data-bs-theme="dark"] .milo-chip-transit {
    color: #afe8c5;
    background: #1a3122;
    border-color: #345b41;
}

html[data-bs-theme="dark"] .milo-chip-amber {
    color: #edb796;
    background: #39331c;
}

html[data-bs-theme="dark"] .milo-chip-red,
html[data-bs-theme="dark"] .milo-chip-unavailable {
    color: #ea9f9a;
    background: #2f1c1a;
    border-color: #593734;
}

html[data-bs-theme="dark"] .milo-chip.milo-level-chip {
    color: #edb796;
}

html[data-bs-theme="dark"] .milo-flyout-group:hover > .milo-flyout-link,
html[data-bs-theme="dark"] .milo-flyout-group:focus-within > .milo-flyout-link {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

html[data-bs-theme="dark"] .milo-live.is-moving {
    color: #afe8c5;
    background: #1a3122;
}

html[data-bs-theme="dark"] .milo-live.is-waiting {
    border-color: var(--milo-border);
}

html[data-bs-theme="dark"] .milo-classis-reminder {
    color: #edb796;
    background: #39331c;
}

html[data-bs-theme="dark"] .milo-classis-reminder a {
    color: #edb796;
}

html[data-bs-theme="dark"] .milo-classis-more-toggle {
    border: 1px dashed var(--milo-border);
}

html[data-bs-theme="dark"] .milo-classis-more {
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.3);
}

html[data-bs-theme="dark"] .milo-classis-remark.is-pending {
    background: #2d2815;
}

html[data-bs-theme="dark"] .milo-classis-remark.is-update {
    background: #1b241d;
    border-color: #394c3f;
}

html[data-bs-theme="dark"] .milo-classis-daily.is-due .milo-classis-daily-icon {
    color: #edb796;
    background: #39331c;
}

html[data-bs-theme="dark"] .milo-classis-daily.is-done {
    color: #afe8c5;
    background: #1a3122;
    border-color: #345b41;
}

html[data-bs-theme="dark"] .milo-condition.is-warning > i {
    color: #ec9d7d;
}

html[data-bs-theme="dark"] .milo-capacity-need {
    color: #eaa892;
    background: #342819;
}

html[data-bs-theme="dark"] .milo-capacity-need.is-short {
    color: #e69d98;
    background: #2f1a18;
}

html[data-bs-theme="dark"] .milo-status-choice.is-maintenance > i {
    color: #e3a2a2;
}

html[data-bs-theme="dark"] .milo-tp-tile.is-live {
    border-color: #3f5746;
}

html[data-bs-theme="dark"] .milo-tp-tile.is-live .milo-tp-tile-icon {
    color: #92e1b4;
}

html[data-bs-theme="dark"] .milo-tp-tile.is-warning .milo-classis-tile-number {
    color: #eaa892;
}

html[data-bs-theme="dark"] .milo-tp-banner.is-red {
    color: #e69d98;
    background: #291816;
    border-color: #5e3c39;
}

html[data-bs-theme="dark"] .milo-tp-banner.is-amber {
    color: #eaa892;
    background: #2c2215;
    border-color: #624b30;
}

html[data-bs-theme="dark"] .milo-tp-timeline-dot {
    border: 2px solid var(--milo-border);
}

html[data-bs-theme="dark"] .milo-evidence-rows > li.is-provided .milo-evidence-mark {
    color: #afe8c5;
}

html[data-bs-theme="dark"] .milo-evidence-rows > li.is-missing {
    background: #291816;
}

html[data-bs-theme="dark"] .milo-tone-bane {
    background: #2c1a18;
}

html[data-bs-theme="dark"] .milo-sparkline-neutral .milo-sparkline-area {
    fill: rgba(217, 217, 217, 0.06);
}

html[data-bs-theme="dark"] .milo-segmented-option input:checked + span {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.36);
}

html[data-bs-theme="dark"] .milo-segmented-option + .milo-segmented-option::before {
    background: #2f312f;
}

html[data-bs-theme="dark"] .ts-wrapper.form-select.focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.36);
}

html[data-bs-theme="dark"] .milo-plan-tips li.is-green {
    border-color: #345b41;
}

html[data-bs-theme="dark"] .milo-plan-tips li.is-amber i {
    color: #efb283;
}

html[data-bs-theme="dark"] .milo-plan-tips li.is-red {
    border-color: #593734;
}

html[data-bs-theme="dark"] .milo-guide-steps li.is-tip::before {
    color: #eaca9b;
}

html[data-bs-theme="dark"] .milo-date-range-pop {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.6);
}

/* ---------- milo-trends.css ---------- */

/* ---------- milo-history.css ---------- */

html[data-bs-theme="dark"] .milo-hx-area:hover span {
    border-color: var(--milo-border);
}

html[data-bs-theme="dark"] .milo-hx-stat-link:hover {
    border-color: var(--milo-border);
}

html[data-bs-theme="dark"] .milo-hx-chip:hover {
    border-color: var(--milo-border);
}

html[data-bs-theme="dark"] .milo-hx-link:hover {
    border-color: var(--milo-border);
}

/* ---------- milo-reports.css ---------- */

html[data-bs-theme="dark"] .milo-report-records {
    background: var(--milo-surface, var(--milo-surface));
}

/* ---------- milo-attention.css ---------- */

html[data-bs-theme="dark"] .milo-att-age.is-old {
    background: #2f2719;
}

html[data-bs-theme="dark"] .milo-att-age.is-stale {
    background: #2c1a18;
}

html[data-bs-theme="dark"] .milo-att-actions-list li.is-warning > i {
    color: #ec9d7d;
}

html[data-bs-theme="dark"] .milo-att-sev.is-warning {
    color: #ec9d7d;
}

/* ---------- milo-profile.css ---------- */

html[data-bs-theme="dark"] .milo-profile-avatar {
    box-shadow: 0 0 0 1px var(--milo-border), 0 6px 18px rgba(0, 0, 0, 0.54), var(--milo-metal-rim);
}

/* ---------- milo-auth.css ---------- */

html[data-bs-theme="dark"] .milo-auth-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

html[data-bs-theme="dark"] .milo-auth-form .form-control:focus {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.54);
}

html[data-bs-theme="dark"] .milo-auth-submit {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.013),
        inset 0 -1px 0 rgba(0, 0, 0, 0.6),
        0 1px 2px rgba(0, 0, 0, 0.6),
        0 4px 10px rgba(0, 0, 0, 0.54);
}

/* ---------- milo-identity.css ---------- */

