﻿:root {
    --acreage-primary: #123d6b;
    --acreage-primary-dark: #0b2744;
    /* --acreage-secondary: #16a34a; */
    --acreage-secondary: #1e7640;
    --acreage-accent: #0ea5e9;
    --acreage-danger: #dc2626;
    --acreage-warning: #d97706;
    --acreage-bg: #f4f7fb;
    --acreage-surface: #ffffff;
    --acreage-surface-soft: #f8fbff;
    --acreage-border: #d9e3ee;
    --acreage-text: #102033;
    --acreage-text-soft: #5d6b7c;
    --acreage-shadow-sm: 0 4px 14px rgba(16, 32, 51, 0.05);
    --acreage-shadow-md: 0 10px 28px rgba(16, 32, 51, 0.08);
    --acreage-radius-lg: 16px;
    --acreage-radius-md: 12px;
    --acreage-radius-sm: 10px;
    --report-section-gap: 1rem;
}

/* =========================
   Page Layout
   ========================= */
.executive-reporting-page {
    color: var(--acreage-text);
}

    .executive-reporting-page .content {
        padding: 1.25rem;
    }

.report-layout {
    display: block;
}

.report-layout__sidebar {
    margin-bottom: var(--report-section-gap);
}

.report-layout__content {
    display: flex;
    flex-direction: column;
    gap: var(--report-section-gap);
}

    .report-layout__content > * {
        margin: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .report-layout__content > .report-filter-panel {
        padding-bottom: 1.25rem !important;
    }

    .report-layout__content section {
        margin: 0 !important;
        padding: 0 !important;
    }

/* =========================
   Topbar
   ========================= */
.reporting-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: var(--acreage-surface);
    border: 1px solid var(--acreage-border);
    border-radius: var(--acreage-radius-lg);
    box-shadow: var(--acreage-shadow-sm);
    padding: 1rem 1.25rem;
    margin-bottom: var(--report-section-gap);
    color: var(--acreage-text);
}

.reporting-topbar__brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.reporting-topbar__logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    padding: 0.4rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #eaf3ff, #f5faff);
    border: 1px solid #dbe8f5;
}

.reporting-topbar__eyebrow {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--acreage-primary);
}

.reporting-topbar__eyebrow-accent {
    color: var(--acreage-secondary);
}

.reporting-topbar h1 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--acreage-primary-dark);
}

.reporting-topbar p {
    margin: 0.2rem 0 0;
    color: var(--acreage-text-soft);
    font-size: 0.92rem;
}

.reporting-topbar__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* =========================
   Shared Panels
   ========================= */
.report-filter-panel,
.chart-shell,
.report-table-shell {
    background: var(--acreage-surface);
    border: 1px solid var(--acreage-border);
    border-radius: var(--acreage-radius-lg);
    box-shadow: var(--acreage-shadow-sm);
}

.report-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--acreage-primary-dark);
    margin-bottom: 0.75rem;
}

/* =========================
   Category Navigation
   ========================= */
.report-category-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.report-category-nav__item {
    border: 1px solid var(--acreage-border);
    background: var(--acreage-surface);
    border-radius: var(--acreage-radius-md);
    padding: 0.9rem 1rem;
    min-height: 84px;
    box-shadow: var(--acreage-shadow-sm);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

    .report-category-nav__item:hover,
    .report-category-nav__item:focus-visible {
        transform: translateY(-1px);
        border-color: #bfd2e7;
        box-shadow: var(--acreage-shadow-md);
    }

    .report-category-nav__item.active {
        background: linear-gradient(180deg, #f4f9ff 0%, #edf5ff 100%);
        border-color: #9fbfe0;
    }

    .report-category-nav__item i {
        color: var(--acreage-primary);
        font-size: 1.1rem;
    }

    .report-category-nav__item strong {
        display: block;
        font-size: 0.95rem;
        color: var(--acreage-primary-dark);
        margin-bottom: 0.1rem;
    }

    .report-category-nav__item small {
        display: block;
        color: var(--acreage-text-soft);
        line-height: 1.35;
    }

/* =========================
   Filter Panel
   ========================= */
.report-filter-panel {
    padding: 1rem 1rem 1.25rem;
}

    .report-filter-panel .mud-grid {
        width: 100%;
        margin: 0;
    }

.report-filter-panel__footer {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid #e6edf5;
    border-radius: 14px;
    background: linear-gradient(180deg, #fbfdff 0%, #f6faff 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.report-filter-panel__summary {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.report-filter-panel__summary-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--acreage-text-soft);
    text-transform: uppercase;
}

.report-filter-panel__chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.report-filter-panel__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    flex-shrink: 0;
}

.report-filter-panel__reset {
    min-width: 88px;
    font-weight: 700;
}

.report-filter-panel__apply {
    min-width: 160px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(18, 61, 107, 0.16);
}

/* =========================
   Filter Chips
   ========================= */
.report-filter-chip {
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem;
    padding-right: 0.25rem !important;
    border-radius: 999px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: var(--acreage-primary-dark) !important;
    background: #ffffff !important;
    border: 1px solid #d8e5f2 !important;
    box-shadow: 0 1px 2px rgba(16, 32, 51, 0.03);
}

    .report-filter-chip .mud-chip-content {
        padding-top: 0.05rem;
        padding-bottom: 0.05rem;
    }

    .report-filter-chip .mud-chip-icon {
        color: var(--acreage-primary) !important;
        opacity: 0.9;
    }

.report-filter-chip--date {
    background: #fff8ef !important;
    border-color: #f3d3a6 !important;
    color: #b45309 !important;
}

    .report-filter-chip--date .mud-chip-icon {
        color: #d97706 !important;
    }

.report-filter-chip--empty {
    background: #f7f9fc !important;
    border-color: #e2e8f0 !important;
    color: var(--acreage-text-soft) !important;
    font-weight: 500 !important;
}

.report-filter-chip__label {
    display: inline-flex;
    align-items: center;
}

.report-filter-chip__remove {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--acreage-danger);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 0.1rem;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

    .report-filter-chip__remove:hover {
        background: rgba(220, 38, 38, 0.10);
        color: #b91c1c;
    }

    .report-filter-chip__remove:active {
        transform: scale(0.95);
    }

    .report-filter-chip__remove:focus-visible {
        outline: 2px solid rgba(220, 38, 38, 0.25);
        outline-offset: 1px;
    }

/* =========================
   KPI Cards
   ========================= */
.report-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.report-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid var(--acreage-border);
    border-radius: var(--acreage-radius-lg);
    padding: 1rem 5.2rem 1rem 1.1rem;
    box-shadow: var(--acreage-shadow-sm);
    position: relative;
    min-height: 118px;
}

.report-card__body {
    position: relative;
    z-index: 1;
}

.report-card__label {
    font-size: 0.82rem;
    color: var(--acreage-text-soft);
    margin-bottom: 0.35rem;
}

.report-card__value {
    font-size: 1.8rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--acreage-primary-dark);
}

.report-card__subvalue {
    margin-top: 0.35rem;
    font-size: 0.83rem;
    color: var(--acreage-text-soft);
}

.report-card__icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 14px rgba(16, 32, 51, 0.10);
}

    .report-card__icon i {
        font-size: 1rem;
        line-height: 1;
    }

.report-card--success .report-card__icon {
    background: var(--acreage-secondary);
}

.report-card--danger .report-card__icon {
    background: var(--acreage-danger);
}

.report-card--info .report-card__icon {
    background: var(--acreage-accent);
}

.report-card--warning .report-card__icon {
    background: var(--acreage-warning);
}

.report-card__badge-wrap {
    margin-top: 0.45rem;
}

.report-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.18rem 0.5rem;
    min-height: 22px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--acreage-danger);
    background: rgba(220, 38, 38, 0.10);
    border: 1px solid rgba(220, 38, 38, 0.18);
}

/* =========================
   Alerts
   ========================= */
.report-alerts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
}

/* =========================
   Charts
   ========================= */
.report-chart-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
}

    .report-chart-grid > * {
        min-width: 0;
    }

.chart-shell {
    padding: 1rem 1rem 0.5rem;
    min-width: 0;
    overflow: hidden;
}

.chart-shell__header {
    margin-bottom: 0.8rem;
}

.chart-shell__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--acreage-primary-dark);
}

.chart-shell__subtitle {
    font-size: 0.84rem;
    color: var(--acreage-text-soft);
}

.chart-shell__body {
    width: 100%;
    min-width: 0;
}

.chart-shell__empty {
    color: var(--acreage-text-soft);
    text-align: center;
    padding: 2rem 1rem;
}

.chart-shell .apexcharts-canvas,
.chart-shell .apexcharts-svg,
.chart-shell .apexcharts-inner {
    max-width: 100% !important;
}

.chart-shell .apexcharts-legend {
    flex-wrap: wrap !important;
    justify-content: center !important;
}

/* =========================
   Drilldown
   ========================= */
.report-drilldown-banner {
    min-height: 0;
    margin: 0;
    padding: 0;
}

/* =========================
   Table
   ========================= */
.report-table-shell {
    overflow: hidden;
    padding: 0;
}

.report-table-shell__header,
.report-table-shell__footer {
    padding: 1rem 1rem 0.85rem;
}

.report-table-shell__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.report-table-shell__subtitle {
    font-size: 0.84rem;
    color: var(--acreage-text-soft);
}

.report-table-shell__search {
    max-width: 280px;
}

.report-table-shell__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    border-top: 1px solid var(--acreage-border);
}

.report-grid-table {
    margin-bottom: 0;
    background: #fff;
}

    .report-grid-table thead th {
        background: #f5f9fd;
        color: var(--acreage-primary-dark);
        font-size: 0.78rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        border-bottom: 1px solid var(--acreage-border);
    }

    .report-grid-table tbody tr:hover {
        background: #f9fcff;
    }

    .report-grid-table td {
        padding-top: 0.82rem;
        padding-bottom: 0.82rem;
        color: var(--acreage-text);
    }

.report-sort-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.row-tone-danger {
    background: rgba(220, 38, 38, 0.05);
}

.row-tone-cancelled {
    background: rgba(255, 99, 71, 0.16);
}

    .row-tone-cancelled td {
        color: #9f1239;
        font-weight: 600;
    }

.report-empty-row {
    color: var(--acreage-text-soft);
    text-align: center;
    padding: 2rem 1rem;
}

.report-table-shell__loading-bar {
    height: 3px;
    margin: 0 -1px;
}

.report-table-shell__body--loading {
    opacity: 0.45;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 1200px) {
    .report-category-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .report-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .report-chart-grid {
        grid-template-columns: 1fr;
    }

    .reporting-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .report-filter-panel__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .report-filter-panel__actions {
        justify-content: flex-start;
    }

    .chart-shell {
        padding: 0.9rem 0.85rem 0.45rem;
    }

        .chart-shell .apexcharts-xaxis-label,
        .chart-shell .apexcharts-yaxis-label {
            font-size: 11px !important;
        }
}

@media (max-width: 576px) {
    .report-category-nav,
    .report-kpi-grid {
        grid-template-columns: 1fr;
    }

    .report-filter-panel__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .report-filter-panel__apply,
    .report-filter-panel__reset {
        width: 100%;
    }

    .chart-shell {
        padding: 0.85rem 0.75rem 0.4rem;
    }

        .chart-shell .apexcharts-toolbar {
            display: none !important;
        }

        .chart-shell .apexcharts-xaxis-label,
        .chart-shell .apexcharts-yaxis-label {
            font-size: 10px !important;
        }
}

/* =========================================================
   EXECUTIVE REPORTING - DARK MODE OVERRIDES
   Add at END of stylesheet
========================================================= */
html[data-bs-theme="dark"] {
    --acreage-primary: #60a5fa;
    --acreage-primary-dark: #dbeafe;
    --acreage-secondary: #22c55e;
    --acreage-accent: #38bdf8;
    --acreage-danger: #f87171;
    --acreage-warning: #f59e0b;
    --acreage-bg: #0b1220;
    --acreage-surface: #111827;
    --acreage-surface-soft: #0f172a;
    --acreage-border: rgba(148, 163, 184, 0.18);
    --acreage-text: #e5e7eb;
    --acreage-text-soft: #94a3b8;
    --acreage-shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.28);
    --acreage-shadow-md: 0 16px 36px rgba(0, 0, 0, 0.4);
}

    /* =========================
   Page Layout
   ========================= */
    html[data-bs-theme="dark"] .executive-reporting-page {
        color: var(--acreage-text) !important;
        background: transparent;
    }

        html[data-bs-theme="dark"] .executive-reporting-page .content {
            color: var(--acreage-text) !important;
        }

    /* =========================
   Topbar
   ========================= */
    html[data-bs-theme="dark"] .reporting-topbar {
        background: linear-gradient(180deg, #111827 0%, #0f172a 100%) !important;
        border: 1px solid var(--acreage-border) !important;
        box-shadow: var(--acreage-shadow-sm) !important;
        color: var(--acreage-text) !important;
    }

    html[data-bs-theme="dark"] .reporting-topbar__logo {
        background: linear-gradient(135deg, #172033, #0f172a) !important;
        border: 1px solid rgba(148, 163, 184, 0.18) !important;
    }

    html[data-bs-theme="dark"] .reporting-topbar__eyebrow {
        color: #93c5fd !important;
    }

    html[data-bs-theme="dark"] .reporting-topbar__eyebrow-accent {
        color: #4ade80 !important;
    }

    html[data-bs-theme="dark"] .reporting-topbar h1 {
        color: #f8fafc !important;
    }

    html[data-bs-theme="dark"] .reporting-topbar p {
        color: var(--acreage-text-soft) !important;
    }

    /* =========================
   Shared Panels
   ========================= */
    html[data-bs-theme="dark"] .report-filter-panel,
    html[data-bs-theme="dark"] .chart-shell,
    html[data-bs-theme="dark"] .report-table-shell {
        background: linear-gradient(180deg, #111827 0%, #0f172a 100%) !important;
        border: 1px solid var(--acreage-border) !important;
        box-shadow: var(--acreage-shadow-sm) !important;
    }

    html[data-bs-theme="dark"] .report-section-title,
    html[data-bs-theme="dark"] .chart-shell__title {
        color: #f8fafc !important;
    }

    html[data-bs-theme="dark"] .chart-shell__subtitle,
    html[data-bs-theme="dark"] .report-table-shell__subtitle,
    html[data-bs-theme="dark"] .chart-shell__empty,
    html[data-bs-theme="dark"] .report-empty-row {
        color: var(--acreage-text-soft) !important;
    }

    /* =========================
   Category Navigation
   ========================= */
    html[data-bs-theme="dark"] .report-category-nav__item {
        background: #111827 !important;
        border: 1px solid var(--acreage-border) !important;
        box-shadow: var(--acreage-shadow-sm) !important;
    }

        html[data-bs-theme="dark"] .report-category-nav__item:hover,
        html[data-bs-theme="dark"] .report-category-nav__item:focus-visible {
            background: #1a2436 !important;
            border-color: rgba(96, 165, 250, 0.35) !important;
            box-shadow: var(--acreage-shadow-md) !important;
        }

        html[data-bs-theme="dark"] .report-category-nav__item.active {
            background: linear-gradient(180deg, rgba(59, 130, 246, 0.16) 0%, rgba(30, 41, 59, 0.95) 100%) !important;
            border-color: rgba(96, 165, 250, 0.45) !important;
        }

        html[data-bs-theme="dark"] .report-category-nav__item i {
            color: #93c5fd !important;
        }

        html[data-bs-theme="dark"] .report-category-nav__item strong {
            color: #f8fafc !important;
        }

        html[data-bs-theme="dark"] .report-category-nav__item small {
            color: var(--acreage-text-soft) !important;
        }

    /* =========================
   Filter Panel
   ========================= */
    html[data-bs-theme="dark"] .report-filter-panel__footer {
        background: linear-gradient(180deg, #0f172a 0%, #111827 100%) !important;
        border: 1px solid rgba(148, 163, 184, 0.18) !important;
    }

    html[data-bs-theme="dark"] .report-filter-panel__summary-label {
        color: #94a3b8 !important;
    }

    html[data-bs-theme="dark"] .report-filter-panel__apply {
        box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22) !important;
    }

    /* =========================
   Filter Chips
   ========================= */
    html[data-bs-theme="dark"] .report-filter-chip {
        background: #0f172a !important;
        border: 1px solid rgba(148, 163, 184, 0.2) !important;
        color: #dbeafe !important;
        box-shadow: none !important;
    }

        html[data-bs-theme="dark"] .report-filter-chip .mud-chip-icon {
            color: #93c5fd !important;
        }

    html[data-bs-theme="dark"] .report-filter-chip--date {
        background: rgba(245, 158, 11, 0.12) !important;
        border-color: rgba(245, 158, 11, 0.32) !important;
        color: #fbbf24 !important;
    }

        html[data-bs-theme="dark"] .report-filter-chip--date .mud-chip-icon {
            color: #f59e0b !important;
        }

    html[data-bs-theme="dark"] .report-filter-chip--empty {
        background: rgba(148, 163, 184, 0.08) !important;
        border-color: rgba(148, 163, 184, 0.18) !important;
        color: var(--acreage-text-soft) !important;
    }

    html[data-bs-theme="dark"] .report-filter-chip__remove {
        color: #f87171 !important;
    }

        html[data-bs-theme="dark"] .report-filter-chip__remove:hover {
            background: rgba(248, 113, 113, 0.14) !important;
            color: #fca5a5 !important;
        }

        html[data-bs-theme="dark"] .report-filter-chip__remove:focus-visible {
            outline: 2px solid rgba(248, 113, 113, 0.28) !important;
        }

    /* =========================
   KPI Cards
   ========================= */
    html[data-bs-theme="dark"] .report-card {
        background: linear-gradient(180deg, #111827 0%, #0f172a 100%) !important;
        border: 1px solid var(--acreage-border) !important;
        box-shadow: var(--acreage-shadow-sm) !important;
    }

    html[data-bs-theme="dark"] .report-card__label,
    html[data-bs-theme="dark"] .report-card__subvalue {
        color: var(--acreage-text-soft) !important;
    }

    html[data-bs-theme="dark"] .report-card__value {
        color: #f8fafc !important;
    }

    html[data-bs-theme="dark"] .report-card__icon {
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28) !important;
    }

    html[data-bs-theme="dark"] .report-card--success .report-card__icon {
        background: #15803d !important;
    }

    html[data-bs-theme="dark"] .report-card--danger .report-card__icon {
        background: #b91c1c !important;
    }

    html[data-bs-theme="dark"] .report-card--info .report-card__icon {
        background: #0369a1 !important;
    }

    html[data-bs-theme="dark"] .report-card--warning .report-card__icon {
        background: #b45309 !important;
    }

    html[data-bs-theme="dark"] .report-card__badge {
        color: #fca5a5 !important;
        background: rgba(248, 113, 113, 0.12) !important;
        border: 1px solid rgba(248, 113, 113, 0.2) !important;
    }

    /* =========================
   Alerts
   ========================= */
    html[data-bs-theme="dark"] .report-alerts {
        color: var(--acreage-text) !important;
    }

    /* =========================
   Charts
   ========================= */
    html[data-bs-theme="dark"] .chart-shell {
        background: linear-gradient(180deg, #111827 0%, #0f172a 100%) !important;
    }

        html[data-bs-theme="dark"] .chart-shell .apexcharts-text,
        html[data-bs-theme="dark"] .chart-shell .apexcharts-title-text,
        html[data-bs-theme="dark"] .chart-shell .apexcharts-legend-text,
        html[data-bs-theme="dark"] .chart-shell .apexcharts-xaxis-label,
        html[data-bs-theme="dark"] .chart-shell .apexcharts-yaxis-label {
            fill: #cbd5e1 !important;
            color: #cbd5e1 !important;
        }

        html[data-bs-theme="dark"] .chart-shell .apexcharts-gridline {
            stroke: rgba(148, 163, 184, 0.14) !important;
        }

        html[data-bs-theme="dark"] .chart-shell .apexcharts-tooltip,
        html[data-bs-theme="dark"] .chart-shell .apexcharts-xaxistooltip,
        html[data-bs-theme="dark"] .chart-shell .apexcharts-yaxistooltip {
            background: #111827 !important;
            border: 1px solid rgba(148, 163, 184, 0.2) !important;
            color: #e5e7eb !important;
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35) !important;
        }

        html[data-bs-theme="dark"] .chart-shell .apexcharts-menu {
            background: #111827 !important;
            border: 1px solid rgba(148, 163, 184, 0.2) !important;
        }

        html[data-bs-theme="dark"] .chart-shell .apexcharts-menu-item:hover {
            background: rgba(255, 255, 255, 0.06) !important;
        }

    /* =========================
   Table
   ========================= */
    html[data-bs-theme="dark"] .report-table-shell {
        background: linear-gradient(180deg, #111827 0%, #0f172a 100%) !important;
    }

    html[data-bs-theme="dark"] .report-table-shell__footer {
        border-top: 1px solid var(--acreage-border) !important;
    }

    html[data-bs-theme="dark"] .report-grid-table {
        background: #111827 !important;
        color: var(--acreage-text) !important;
    }

        html[data-bs-theme="dark"] .report-grid-table thead th {
            background: #0f172a !important;
            color: #dbeafe !important;
            border-bottom: 1px solid var(--acreage-border) !important;
        }

        html[data-bs-theme="dark"] .report-grid-table tbody tr {
            background: transparent !important;
        }

            html[data-bs-theme="dark"] .report-grid-table tbody tr:hover {
                background: rgba(255, 255, 255, 0.04) !important;
            }

        html[data-bs-theme="dark"] .report-grid-table td {
            color: var(--acreage-text) !important;
            border-color: rgba(148, 163, 184, 0.12) !important;
        }

    html[data-bs-theme="dark"] .report-sort-button {
        color: inherit !important;
    }

    html[data-bs-theme="dark"] .row-tone-danger {
        background: rgba(248, 113, 113, 0.08) !important;
    }

    html[data-bs-theme="dark"] .row-tone-cancelled {
        background: rgba(244, 63, 94, 0.14) !important;
    }

        html[data-bs-theme="dark"] .row-tone-cancelled td {
            color: #fda4af !important;
            font-weight: 600;
        }

    html[data-bs-theme="dark"] .report-table-shell__body--loading {
        opacity: 0.45;
    }

    /* =========================
   MudBlazor inputs/buttons inside filter/table areas
   ========================= */
    html[data-bs-theme="dark"] .report-filter-panel .mud-input-control,
    html[data-bs-theme="dark"] .report-table-shell .mud-input-control {
        color: var(--acreage-text) !important;
    }

    html[data-bs-theme="dark"] .report-filter-panel .mud-input-slot,
    html[data-bs-theme="dark"] .report-table-shell .mud-input-slot,
    html[data-bs-theme="dark"] .report-filter-panel .mud-select,
    html[data-bs-theme="dark"] .report-table-shell .mud-select {
        background: #0f172a !important;
        color: #e5e7eb !important;
    }

    html[data-bs-theme="dark"] .report-filter-panel .mud-input-outlined-border,
    html[data-bs-theme="dark"] .report-table-shell .mud-input-outlined-border {
        border-color: rgba(148, 163, 184, 0.2) !important;
    }

    html[data-bs-theme="dark"] .report-filter-panel .mud-input-label,
    html[data-bs-theme="dark"] .report-table-shell .mud-input-label {
        color: #94a3b8 !important;
    }

    html[data-bs-theme="dark"] .report-filter-panel .mud-input-helper-text,
    html[data-bs-theme="dark"] .report-table-shell .mud-input-helper-text {
        color: #94a3b8 !important;
    }

    html[data-bs-theme="dark"] .report-filter-panel .mud-button-root.mud-button-outlined,
    html[data-bs-theme="dark"] .report-table-shell .mud-button-root.mud-button-outlined {
        border-color: rgba(148, 163, 184, 0.22) !important;
        color: #e5e7eb !important;
    }

        html[data-bs-theme="dark"] .report-filter-panel .mud-button-root.mud-button-outlined:hover,
        html[data-bs-theme="dark"] .report-table-shell .mud-button-root.mud-button-outlined:hover {
            background: rgba(255, 255, 255, 0.05) !important;
        }
