* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #0f1720;
    color: #f4f7fa;
    font-size: 14px;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

button {
    color: inherit;
}

.app {
    display: flex;
    min-height: 100vh;
}


/* =========================================================
   SIDEBAR
========================================================= */

.sidebar {
    width: 205px;
    min-height: 100vh;
    flex-shrink: 0;

    padding: 24px 17px;

    background: #111c27;
    border-right: 1px solid #263849;
}

.brand {
    margin-bottom: 8px;

    color: #ffffff;

    font-size: 25px;
    font-weight: 700;
}

.subtitle {
    margin-bottom: 25px;

    color: #8299ac;

    font-size: 10px;
    line-height: 1.5;
}

.sidebar-year {
    margin-bottom: 18px;
}

.sidebar-year label {
    display: block;

    margin-bottom: 6px;

    color: #71899b;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
}

.sidebar-year select {
    width: 100%;
    height: 34px;

    padding: 0 10px;

    border: 1px solid #30485a;
    border-radius: 6px;

    background: #16232e;
    color: #eef4f7;
}

.nav-divider {
    height: 1px;

    margin-bottom: 16px;

    background: #223543;
}

.nav-item {
    display: block;

    width: 100%;

    margin-bottom: 7px;

    padding: 11px;

    border: 1px solid transparent;
    border-radius: 7px;

    background: transparent;
    color: #b6c6d2;

    text-align: left;

    cursor: pointer;
}

.nav-item:hover {
    background: #172430;
}

.nav-item.active {
    border-color: #2d4b5d;
    background: #1a2a37;
    color: #65d6d0;
}


/* =========================================================
   MAIN
========================================================= */

.content {
    flex: 1;
    min-width: 0;

    padding: 31px 32px 45px;
}

.page {
    display: none;
}

.page.active-page {
    display: block;
}

.page-title {
    margin-bottom: 5px;

    font-size: 23px;
    font-weight: 700;
}

.page-subtitle {
    margin-bottom: 24px;

    color: #849bad;

    font-size: 12px;
}

.page-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 20px;
}

.page-action-row {
    display: flex;
    gap: 8px;
}

.sync-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 3px;

    color: #73899a;

    font-size: 9px;
}

.sync-label {
    color: #65c9c5;

    font-weight: 700;
    text-transform: uppercase;
}


/* =========================================================
   CARDS / KPI
========================================================= */

.card {
    padding: 18px;

    border: 1px solid #2b4052;
    border-radius: 8px;

    background: #18232e;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 14px;
}

.kpi-grid .card {
    min-height: 104px;
}

.kpi-label {
    margin-bottom: 12px;

    color: #8299ac;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
}

.kpi-value {
    font-size: 25px;
    font-weight: 700;

    font-variant-numeric: tabular-nums;
}

.dashboard-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 18px;
}

.mini-kpi-card {
    min-height: 82px;
}

.mini-kpi-value {
    font-size: 19px;
    font-weight: 700;
}

.warning-value {
    color: #edb65d;
}

.negative-value {
    color: #ee8989 !important;
}

.projected-cell {
    color: #75d5d0 !important;
}


/* =========================================================
   NEEDS ATTENTION
========================================================= */

.section-heading {
    margin: 23px 0 10px;

    color: #e9f0f4;

    font-size: 13px;
    font-weight: 700;
}

.attention-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );

    gap: 12px;

    margin-bottom: 18px;
}

.attention-card {
    min-height: 100px;

    padding: 14px;

    border: 1px solid #304657;
    border-radius: 8px;

    background: #16232d;

    text-align: left;

    cursor: pointer;
}

.attention-card:hover {
    border-color: #426176;
    background: #192a35;
}

.attention-label {
    margin-bottom: 8px;

    color: #8da2b1;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
}

.attention-value {
    margin-bottom: 6px;

    color: #f0b85f;

    font-size: 22px;
    font-weight: 700;
}

.attention-detail {
    color: #718898;

    font-size: 9px;
}


/* =========================================================
   CHART
========================================================= */

.dashboard-chart-card,
.code-chart-card {
    margin-bottom: 15px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 15px;

    margin-bottom: 15px;
}

.panel-title {
    font-size: 14px;
    font-weight: 700;
}

.chart-subtitle {
    margin-top: 3px;

    color: #6f8799;

    font-size: 10px;
}

.chart-bottom-space {
    margin-bottom: 15px;
}

.chart-header-actions {
    display: flex;
    align-items: center;

    gap: 16px;
}

.chart-legend {
    display: flex;

    gap: 13px;

    color: #8299a9;

    font-size: 9px;
}

.chart-legend span {
    display: flex;
    align-items: center;

    gap: 5px;
}

.chart-legend i {
    width: 9px;
    height: 9px;

    border-radius: 2px;
}

.legend-budget {
    background: #41586a;
}

.legend-actual {
    background: #31c8c0;
}

.legend-forecast {
    background: #678bab;
}


/* =========================================================
   CHART AXIS / GRID
========================================================= */

.chart-with-axis {
    display: grid;

    grid-template-columns:
        55px
        minmax(0, 1fr);

    height: 270px;
}

.y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    height: 220px;

    padding-top: 2px;

    color: #718798;

    font-size: 9px;

    text-align: right;
}

.y-axis-label {
    padding-right: 8px;
}

.monthly-chart-area {
    position: relative;

    min-width: 0;

    height: 270px;
}

.chart-grid-lines {
    position: absolute;

    top: 0;
    right: 0;
    left: 0;

    z-index: 0;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    height: 220px;
}

.chart-grid-lines div {
    width: 100%;

    border-top:
        1px solid
        rgba(
            91,
            119,
            139,
            0.22
        );
}

.monthly-chart {
    position: relative;

    z-index: 1;

    display: grid;

    grid-template-columns:
        repeat(
            12,
            minmax(
                38px,
                1fr
            )
        );

    gap: 8px;

    height: 270px;
}

.month-chart-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.month-bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;

    gap: 3px;

    width: 100%;
    height: 220px;
}

.month-bar {
    width: 24%;

    min-height: 1px;

    border-radius: 2px 2px 0 0;
}

.bar-budget {
    background: #41586a;
}

.bar-actual {
    background: #31c8c0;
}

.bar-forecast {
    background: #678bab;
}

.month-chart-label {
    padding-top: 9px;

    color: #7f96a7;

    font-size: 9px;
    font-weight: 600;
}


/* =========================================================
   HORIZONTAL CHART
========================================================= */

.horizontal-chart {
    display: flex;
    flex-direction: column;

    gap: 9px;
}

.horizontal-bar-row {
    display: grid;

    grid-template-columns:
        175px
        minmax(100px, 1fr)
        85px;

    align-items: center;

    gap: 10px;
}

.horizontal-label {
    overflow: hidden;

    color: #d8e2e9;

    font-size: 10px;

    text-overflow: ellipsis;

    white-space: nowrap;
}

.horizontal-track {
    height: 11px;

    overflow: hidden;

    border-radius: 2px;

    background: #13202a;
}

.horizontal-fill {
    height: 100%;

    min-width: 2px;

    background: #31c8c0;
}

.unmapped-fill {
    background: #bf8e45;
}

.horizontal-value {
    color: #9cb1c0;

    font-size: 10px;

    text-align: right;
}


/* =========================================================
   TABLE BASE
========================================================= */

.table-scroll {
    width: 100%;

    overflow-x: auto;
    overflow-y: auto;
}

.transaction-card,
.forecast-table-card,
.future-spend-card,
.matched-history-card,
.breakdown-card,
.event-performance-card {
    padding: 0;

    overflow: hidden;
}

.transactions-table,
.forecast-table,
.future-spend-table,
.matched-history-table,
.breakdown-table,
.event-performance-table,
.event-mini-table {
    width: 100%;

    border-collapse: collapse;

    background: #18232e;
}

.transactions-table {
    min-width: 1120px;
}

.forecast-table {
    min-width: 850px;
}

.future-spend-table {
    min-width: 1100px;
}

.breakdown-table {
    min-width: 1180px;
}

.event-performance-table {
    min-width: 1250px;
}

.transactions-table th,
.forecast-table th,
.future-spend-table th,
.matched-history-table th,
.breakdown-table th,
.event-performance-table th,
.event-mini-table th {
    padding: 11px 13px;

    border-bottom: 1px solid #304657;

    background: #13202b;

    color: #8299ac;

    font-size: 9px;
    font-weight: 700;

    text-align: left;

    text-transform: uppercase;

    white-space: nowrap;
}

.transactions-table td,
.forecast-table td,
.future-spend-table td,
.matched-history-table td,
.breakdown-table td,
.event-performance-table td,
.event-mini-table td {
    padding: 10px 13px;

    border-bottom: 1px solid #243746;

    color: #d9e2e9;

    font-size: 10px;

    vertical-align: middle;
}

.transactions-table tbody tr {
    cursor: pointer;
}

.transactions-table tbody tr:hover,
.forecast-table tbody tr:hover,
.future-spend-table tbody tr:hover,
.event-performance-row:hover {
    background: #1d2b37;
}

.amount-cell {
    font-weight: 600;

    font-variant-numeric: tabular-nums;

    text-align: right;

    white-space: nowrap;
}

.count-cell {
    text-align: right;

    white-space: nowrap;
}


/* =========================================================
   BREAKDOWN
========================================================= */

.code-row {
    background: #172633;
}

.code-row td {
    font-weight: 600;
}

.breakdown-toggle,
.event-expand-button {
    width: 22px;

    margin-right: 4px;

    border: none;

    background: transparent;

    color: #70cfc9;

    cursor: pointer;
}

.event-indent {
    padding-left: 42px !important;

    color: #bdccd6 !important;
}


/* =========================================================
   EVENTS
========================================================= */

.event-performance-row {
    background: #172633;
}

.event-expanded-row td {
    padding: 0;

    background: #111c27;
}

.event-detail-panel {
    padding: 18px 22px 22px 45px;
}

.event-detail-title {
    margin-bottom: 8px;

    color: #91aabb;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
}

.second-detail-title {
    margin-top: 22px;
}

.detail-empty {
    padding: 12px;

    border: 1px dashed #2b4354;
    border-radius: 6px;

    color: #6e8596;

    font-size: 10px;
}


/* =========================================================
   FILTERS / FORMS
========================================================= */

.filter-bar {
    display: flex;
    align-items: flex-end;

    gap: 12px;

    margin-bottom: 12px;

    padding: 13px;
}

.filter-group {
    min-width: 145px;
}

.filter-search {
    flex: 1;

    min-width: 230px;
}

.filter-group label,
.form-group label {
    display: block;

    margin-bottom: 6px;

    color: #8299ac;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
}

.filter-group input,
.filter-group select,
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;

    border: 1px solid #30485a;
    border-radius: 6px;

    outline: none;

    background: #16222c;
    color: #e3ebf0;

    font-size: 11px;
}

.filter-group input,
.filter-group select,
.form-group input,
.form-group select {
    height: 36px;

    padding: 0 10px;
}

.form-group textarea {
    min-height: 90px;

    padding: 9px 10px;

    resize: vertical;
}

.form-group {
    margin-bottom: 17px;
}

.detail-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 12px;
}

.money-input {
    display: flex;
    align-items: center;

    height: 36px;

    border: 1px solid #30485a;
    border-radius: 6px;

    background: #16222c;

    overflow: hidden;
}

.money-input span {
    padding-left: 10px;

    color: #7890a1;
}

.money-input input {
    border: none;

    background: transparent;
}

.budget-input-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 12px;
}


/* =========================================================
   STATUS
========================================================= */

.status,
.forecast-status {
    display: inline-block;

    padding: 4px 8px;

    border-radius: 999px;

    font-size: 9px;
    font-weight: 700;
}

.status.mapped,
.forecast-status.committed {
    border:
        1px solid
        rgba(
            101,
            214,
            162,
            0.25
        );

    background:
        rgba(
            101,
            214,
            162,
            0.10
        );

    color: #65d6a2;
}

.status.unmapped {
    border:
        1px solid
        rgba(
            240,
            187,
            97,
            0.27
        );

    background:
        rgba(
            240,
            187,
            97,
            0.10
        );

    color: #f0bb61;
}

.forecast-status.planned {
    border:
        1px solid
        rgba(
            114,
            189,
            232,
            0.28
        );

    background:
        rgba(
            114,
            189,
            232,
            0.09
        );

    color: #72bde8;
}


/* =========================================================
   BUTTONS
========================================================= */

.primary-button,
.secondary-button,
.edit-future-button,
.match-actual-button,
.undo-match-button,
.edit-event-budget-button,
.delete-event-button,
.delete-future-button {
    border-radius: 6px;

    font-size: 10px;
    font-weight: 600;

    cursor: pointer;
}

.primary-button,
.secondary-button {
    height: 35px;

    padding: 0 14px;
}

.primary-button {
    border: 1px solid #318f95;

    background: #237c83;

    color: #ffffff;
}

.secondary-button {
    border: 1px solid #304657;

    background: #172430;

    color: #b8c8d3;
}

.edit-future-button,
.edit-event-budget-button,
.undo-match-button {
    height: 28px;

    padding: 0 9px;

    border: 1px solid #38586c;

    background: #192a36;

    color: #86c9d0;
}

.match-actual-button {
    height: 28px;

    padding: 0 9px;

    border:
        1px solid
        rgba(
            101,
            214,
            162,
            0.35
        );

    background:
        rgba(
            101,
            214,
            162,
            0.08
        );

    color: #72d9ad;
}

.delete-event-button,
.delete-future-button {
    height: 28px;

    padding: 0 9px;

    border:
        1px solid
        rgba(
            232,
            103,
            103,
            0.34
        );

    background:
        rgba(
            232,
            103,
            103,
            0.08
        );

    color: #e98a8a;
}

.table-actions {
    display: flex;
    justify-content: flex-end;

    gap: 6px;

    white-space: nowrap;
}


/* =========================================================
   FORECAST
========================================================= */

.forecast-kpi-grid {
    display: grid;

    grid-template-columns:
        repeat(
            6,
            minmax(0, 1fr)
        );

    gap: 12px;

    margin-bottom: 25px;
}

.forecast-kpi-value {
    font-size: 20px;
    font-weight: 700;
}

.history-heading {
    color: #7d93a3;
}


/* =========================================================
   RECONCILIATION
========================================================= */

.match-plan-summary {
    margin-bottom: 17px;

    padding: 12px;

    border: 1px solid #304657;
    border-radius: 6px;

    background: #16232d;

    color: #d7e2e9;

    font-size: 11px;
    font-weight: 600;
}

.reconcile-note {
    padding: 11px;

    border: 1px solid #294050;
    border-radius: 6px;

    background: #15212b;

    color: #7d93a4;

    font-size: 10px;
    line-height: 1.5;
}


/* =========================================================
   OVERLAYS / DRAWER / MODALS
========================================================= */

.drawer-overlay,
.modal-overlay {
    position: fixed;

    inset: 0;

    opacity: 0;

    pointer-events: none;

    background:
        rgba(
            3,
            8,
            13,
            0.60
        );

    transition:
        opacity 0.18s ease;
}

.drawer-overlay {
    z-index: 900;
}

.modal-overlay {
    z-index: 1100;
}

.drawer-overlay.open,
.modal-overlay.open {
    opacity: 1;

    pointer-events: auto;
}

.transaction-drawer {
    position: fixed;

    top: 0;
    right: 0;

    z-index: 1000;

    width: 465px;
    max-width: 92vw;

    height: 100vh;

    display: flex;
    flex-direction: column;

    background: #111c27;

    border-left: 1px solid #31495b;

    transform:
        translateX(
            100%
        );

    transition:
        transform 0.20s ease;
}

.transaction-drawer.open {
    transform:
        translateX(
            0
        );
}

.drawer-header,
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    padding: 20px;

    border-bottom: 1px solid #293e4e;
}

.drawer-eyebrow {
    margin-bottom: 5px;

    color: #5fc6c3;

    font-size: 9px;
    font-weight: 700;
}

.drawer-title,
.modal-title {
    font-size: 18px;
    font-weight: 700;
}

.drawer-close {
    width: 31px;
    height: 31px;

    border: 1px solid #30485a;
    border-radius: 6px;

    background: #172430;

    color: #9eb1bf;

    font-size: 20px;

    cursor: pointer;
}

.drawer-body {
    flex: 1;

    overflow-y: auto;

    padding: 21px;
}

.drawer-footer,
.modal-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 9px;

    padding: 14px 20px;

    border-top: 1px solid #293e4e;

    background: #101a24;
}

.event-modal {
    position: fixed;

    top: 50%;
    left: 50%;

    z-index: 1200;

    width: 440px;
    max-width: calc(100vw - 30px);

    opacity: 0;

    pointer-events: none;

    border: 1px solid #345064;
    border-radius: 9px;

    background: #111c27;

    transform:
        translate(
            -50%,
            -46%
        )
        scale(
            0.98
        );

    transition:
        transform 0.16s ease,
        opacity 0.16s ease;
}

.event-modal.open {
    opacity: 1;

    pointer-events: auto;

    transform:
        translate(
            -50%,
            -50%
        )
        scale(
            1
        );
}

.future-modal,
.match-modal,
.budget-modal {
    width: 520px;
}

.modal-body {
    padding: 20px;
}

.save-message {
    color: #ef8c8c;

    font-size: 10px;
}


/* =========================================================
   EMPTY
========================================================= */

.empty-state {
    padding: 34px;

    color: #728899;

    font-size: 11px;

    text-align: center;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1250px) {

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

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

}


@media (max-width: 1000px) {

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

    .filter-bar {
        flex-wrap: wrap;
    }

    .chart-header {
        display: block;
    }

    .chart-header-actions {
        margin-top: 10px;

        justify-content: space-between;
    }

}


@media (max-width: 700px) {

    .app {
        display: block;
    }

    .sidebar {
        width: 100%;
        min-height: auto;

        border-right: none;
        border-bottom: 1px solid #263849;
    }

    .nav-item {
        display: inline-block;

        width: auto;
    }

    .content {
        padding: 20px 15px;
    }

    .kpi-grid,
    .dashboard-mini-grid,
    .forecast-kpi-grid,
    .attention-grid {
        grid-template-columns: 1fr;
    }

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

    .transaction-drawer {
        width: 100%;
        max-width: 100%;
    }

}
/* =========================================================
   TABLE LAYOUT FIX - 2026-10-09
   Keep financial headings aligned with amounts, and make
   wide event tables independently scrollable on small screens.
   No data model or script changes.
========================================================= */

/* Avoid clipping the content when the viewport is narrower
   than the total width of the table. */
.forecast-table-card .table-scroll,
.event-performance-card .table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    scrollbar-gutter: stable;
    overscroll-behavior-x: contain;
}

/* Equal, consistent month columns with headings lined up over
   the right-aligned currency cells. */
.forecast-table {
    width: 100%;
    min-width: 910px;
    table-layout: fixed;
}
.forecast-table th:first-child,
.forecast-table td:first-child {
    width: 15%;
    text-align: left;
}
.forecast-table th:not(:first-child),
.forecast-table td:not(:first-child) {
    width: 14.166%;
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Events has ten columns. Preserve their natural widths rather
   than shrinking or clipping the rightmost columns. The limited
   height keeps a horizontal scrollbar accessible without having
   to scroll through the entire list of events first. */
.event-performance-card .table-scroll {
    max-height: min(72vh, 680px);
}
.event-performance-table {
    min-width: 1430px;
    width: 100%;
}
.event-performance-table > thead > tr > th {
    position: sticky;
    top: 0;
    z-index: 2;
}
.event-performance-table > thead > tr > th:nth-child(n+3):nth-child(-n+9) {
    text-align: right;
}
.event-performance-table > tbody > tr.event-performance-row > td:nth-child(n+3):nth-child(-n+9) {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.event-performance-table > thead > tr > th:first-child {
    min-width: 230px;
}
.event-performance-table > thead > tr > th:nth-child(2) {
    min-width: 155px;
}
.event-performance-table > thead > tr > th:nth-child(n+3):nth-child(-n+8) {
    min-width: 108px;
}
.event-performance-table > thead > tr > th:nth-child(9) {
    min-width: 92px;
}
.event-performance-table > thead > tr > th:last-child {
    min-width: 154px;
}
.event-performance-table .table-actions {
    white-space: nowrap;
}

/* Visible, easy-to-grab horizontal scroll track on desktop. */
.forecast-table-card .table-scroll::-webkit-scrollbar,
.event-performance-card .table-scroll::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}
.forecast-table-card .table-scroll::-webkit-scrollbar-thumb,
.event-performance-card .table-scroll::-webkit-scrollbar-thumb {
    background: #526d80;
    border-radius: 8px;
}
.forecast-table-card .table-scroll::-webkit-scrollbar-track,
.event-performance-card .table-scroll::-webkit-scrollbar-track {
    background: #101c27;
}

/* Marketing dashboard refresh — presentation only; no database changes */
.plume-home{max-width:1480px}
.plume-home-header{margin-bottom:20px}
.plume-action-link{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.plume-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:16px}
.plume-summary-card{min-height:115px;padding:19px 20px}
.plume-summary-card .kpi-label{margin-bottom:12px}
.plume-summary-card .kpi-value{font-size:27px;letter-spacing:-.8px}
.plume-card-note{margin-top:10px;color:#8ca3b4;font-size:11px}
.plume-progress-track{height:7px;background:#2c4151;border-radius:10px;overflow:hidden;margin-top:16px}
.plume-progress-fill{height:100%;background:#2cc2bc;border-radius:10px}
.plume-main-chart{padding:20px 21px;margin-bottom:16px}
.plume-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.plume-panel-subtitle{color:#8da6b6;font-size:11px;margin-top:6px}
.plume-panel-tools{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.plume-legend{display:flex;align-items:center;gap:13px;color:#a7bdca;font-size:11px}
.plume-legend span{display:inline-flex;align-items:center;gap:6px}
.plume-legend i{display:block;width:10px;height:10px;border-radius:2px}
.plume-budget-swatch{background:#557185}.plume-actual-swatch{background:#2bc2bc}
.plume-monthly-scroll{overflow-x:auto;max-width:100%;padding-top:6px}
.plume-monthly-bars{display:grid;grid-template-columns:repeat(12,minmax(58px,1fr));gap:8px;min-width:730px;border-bottom:1px solid #2a3f50;padding:0 8px 8px}
.plume-month-item{color:inherit;text-decoration:none;text-align:center;min-width:0;border-radius:6px}
.plume-month-item:hover{background:#223747}
.plume-bar-area{height:185px;display:flex;align-items:end;justify-content:center;gap:5px;padding:0 3px;background:repeating-linear-gradient(to top,transparent 0,transparent calc(25% - 1px),#284052 25%)}
.plume-bar{width:17px;max-width:39%;min-height:0;border-radius:3px 3px 0 0}
.plume-bar-budget{background:#557185}.plume-bar-actual{background:#2bc2bc}.plume-bar-over{background:#e09e7d}
.plume-month-name{color:#c4d3dd;margin-top:10px;font-size:11px;font-weight:700}
.plume-month-sum{color:#829dac;margin-top:5px;font-size:10px;font-variant-numeric:tabular-nums}
.plume-chart-foot{color:#8299a9;font-size:11px;margin-top:16px}
.plume-dashboard-columns{display:grid;grid-template-columns:1.05fr .95fr;gap:16px;margin-bottom:16px}
.plume-category-card,.plume-attention-card,.plume-recent-card{padding:20px 21px;min-width:0}
.plume-category-row{margin:0 0 15px}
.plume-category-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;margin-bottom:8px}
.plume-category-top span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.plume-category-top strong{font-variant-numeric:tabular-nums;white-space:nowrap}
.plume-category-track{height:8px;border-radius:9px;background:#223443;overflow:hidden}
.plume-category-fill{height:100%;background:#2bc2bc;border-radius:9px}
.plume-category-unmapped{background:#cc9953}
.plume-text-action{background:none;border:0;padding:4px 0;color:#70d8d1;cursor:pointer;font-weight:600;font-size:12px;text-decoration:none}
.plume-text-action:hover{text-decoration:underline}
.plume-task-row{display:flex;align-items:center;justify-content:space-between;text-align:left;width:100%;padding:13px 0;border:0;border-bottom:1px solid #2a3d4d;background:transparent;cursor:pointer;gap:12px}
.plume-task-row:hover{background:#20313f}.plume-task-row:last-child{border-bottom:0}
.plume-task-row span{display:flex;flex-direction:column;gap:5px}.plume-task-row strong{font-size:12px;font-weight:600}
.plume-task-row small{font-size:10px;color:#8fa6b5}.plume-task-row b{color:#f2bb76;font-size:19px;font-variant-numeric:tabular-nums}
.plume-recent-table{width:100%;min-width:690px;border-collapse:collapse}
.plume-recent-table th{text-align:left;color:#90acbd;text-transform:uppercase;letter-spacing:.04em;font-size:10px;white-space:nowrap;padding:12px 14px;border-bottom:1px solid #33495b}
.plume-recent-table td{padding:13px 14px;border-bottom:1px solid #263a4a;color:#d5e1e8;font-size:12px}
.plume-recent-table th:last-child,.plume-recent-table td:last-child{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.plume-muted{font-size:12px;color:#8fa6b5}
@media(max-width:1100px){.plume-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.plume-dashboard-columns{grid-template-columns:1fr}}
@media(max-width:650px){.plume-summary-grid{grid-template-columns:1fr 1fr;gap:9px}.plume-summary-card{padding:14px 12px;min-height:100px}.plume-summary-card .kpi-value{font-size:19px}.plume-panel-heading{flex-direction:column}.plume-main-chart,.plume-category-card,.plume-attention-card,.plume-recent-card{padding:15px}}

/* Combined Categories / Transactions / Events workspace */
.plume-marketing-tabs{display:flex;gap:8px;overflow-x:auto;border-bottom:1px solid #32485b;margin-bottom:25px;padding:0 2px 10px}
.plume-marketing-tab{border:1px solid #344b5f;background:#172633;color:#9bb6c5;border-radius:8px;padding:12px 22px;cursor:pointer;font-size:13px;font-weight:700;white-space:nowrap}
.plume-marketing-tab:hover{background:#203647;color:#e9f5f7}
.plume-marketing-tab.active{background:#218d93;color:#fff;border-color:#36bdb7}
.plume-marketing-panel{display:none;min-width:0}
.plume-marketing-panel.active-marketing-panel{display:block}
.plume-category-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}
.plume-category-summary{display:flex;flex-direction:column;gap:10px;padding:17px 19px}
.plume-category-summary span{font-size:11px;color:#9ab2c1}
.plume-category-summary strong{font-size:24px;font-variant-numeric:tabular-nums;color:#edf7f9}
.plume-category-breakdown-card{padding:20px;min-width:0}
.plume-category-table{width:100%;border-collapse:collapse;min-width:790px;font-size:12px}
.plume-category-table th{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#a1b8c8;padding:12px;border-bottom:1px solid #385063;text-align:right;white-space:nowrap}
.plume-category-table th:first-child,.plume-category-table td:first-child{text-align:left}
.plume-category-table td{color:#e1eaf0;text-align:right;white-space:nowrap;padding:13px 12px;border-bottom:1px solid #293e4e;font-variant-numeric:tabular-nums}
.plume-category-main-row:hover{background:#1c3140}
.plume-code-toggle{color:#e0f6f5;background:none;border:0;cursor:pointer;font:inherit;text-align:left}
.plume-code-caret{color:#2bc2bc;display:inline-block;width:18px}
.plume-code-detail[hidden]{display:none!important}
.plume-code-detail-inner{background:#10212d;border-left:2px solid #2bc2bc;padding:17px;text-align:left;white-space:normal}
.plume-code-detail-heading{font-size:12px;font-weight:700;margin-bottom:9px;color:#c9e8e6}
.plume-event-subtable{min-width:700px}
.plume-event-link{display:block;width:100%;text-align:left;color:inherit;border:none;background:transparent;cursor:pointer;margin-bottom:13px;padding:3px 0}
.plume-event-link:hover .plume-category-top{color:#61e0d9}
.plume-event-link .plume-category-track{display:block}
.plume-event-link .plume-category-fill{display:block}
@media(max-width:650px){.plume-category-summary-grid{grid-template-columns:1fr}.plume-marketing-tab{padding:10px 14px}.plume-category-breakdown-card{padding:12px}}
