﻿/* System-driven theme pass for the Vortex palette. */

.theme-mode-indicator {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    min-height: 40px;
    border: 1px solid var(--sky-border);
    border-radius: var(--radius-sm);
    background: var(--sky-soft);
    color: var(--navy);
    box-shadow: none;
    cursor: pointer;
    flex-shrink: 0;
    font: inherit;
    padding: 0;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.theme-mode-indicator:hover,
.theme-mode-indicator:focus-visible {
    border-color: rgba(207, 122, 37, 0.35);
    color: var(--copper);
    outline: none;
}

.theme-mode-indicator__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.theme-mode-indicator__icon--dark {
    display: none;
}

.theme-mode-indicator .btn__icon-svg {
    width: 18px;
    height: 18px;
}

.theme-mode-indicator__tooltip {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    z-index: 60;
    width: max-content;
    max-width: min(320px, calc(100vw - 2rem));
    display: block;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.35;
    text-align: left;
    text-transform: none;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.theme-mode-indicator:hover .theme-mode-indicator__tooltip,
.theme-mode-indicator:focus-visible .theme-mode-indicator__tooltip,
.theme-mode-indicator:focus-within .theme-mode-indicator__tooltip {
    opacity: 1;
    transform: translateY(0);
}

html[data-theme="dark"] {
    color-scheme: dark;
    --navy: #d8eaff;
    --navy-dark: #edf6ff;
    --copper: #e2a05f;
    --copper-soft: #f0bf83;
    --blue: #91c7ff;
    --sky-soft: rgba(59, 119, 177, 0.18);
    --sky-border: rgba(128, 177, 222, 0.28);
    --mint-soft: rgba(88, 145, 107, 0.18);
    --mint-border: rgba(128, 185, 145, 0.26);
    --rose-soft: rgba(156, 72, 72, 0.18);
    --rose-border: rgba(215, 121, 121, 0.28);
    --ink: #e7edf5;
    --text: var(--ink);
    --muted: #aab8c8;
    --line: rgba(173, 196, 220, 0.16);
    --line-strong: rgba(194, 214, 235, 0.28);
    --surface: #101d2b;
    --surface-alt: #15273a;
    --surface-subtle: #0c1724;
    --surface-muted: #1b3045;
    --surface-warm: linear-gradient(135deg, rgba(226, 160, 95, 0.12), rgba(78, 132, 184, 0.07));
    --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.24);
    --shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
    --glass-bg: rgba(14, 27, 41, 0.72);
    --glass-bg-strong: rgba(14, 27, 41, 0.88);
    --glass-line: rgba(186, 211, 236, 0.16);
}

html[data-theme="dark"] body {
    background:
        linear-gradient(180deg, #07111d 0%, #0b1724 46%, #08121e 100%),
        linear-gradient(135deg, rgba(226, 160, 95, 0.07), rgba(56, 115, 174, 0.05));
}

html[data-theme="dark"] ::selection {
    background: #f0bf83;
    color: #07111d;
}

html[data-theme="dark"] *::selection {
    background: #f0bf83;
    color: #07111d;
}

html[data-theme="dark"] ::-moz-selection {
    background: #f0bf83;
    color: #07111d;
}

html[data-theme="dark"] *::-moz-selection {
    background: #f0bf83;
    color: #07111d;
}

html[data-theme="dark"] .theme-mode-indicator {
    color: var(--copper-soft);
    background: rgba(226, 160, 95, 0.12);
    border-color: rgba(226, 160, 95, 0.28);
}

html[data-theme="dark"] .theme-mode-indicator__icon--light {
    display: none;
}

html[data-theme="dark"] .theme-mode-indicator__icon--dark {
    display: inline-flex;
}

html[data-theme="dark"] .header-inner {
    border-color: rgba(185, 207, 229, 0.16);
    background-color: rgba(11, 23, 36, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 14px 32px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .site-status {
    border-top-color: rgba(226, 160, 95, 0.22);
}

html[data-theme="dark"] .site-status--warning {
    background: #321d1c;
}

html[data-theme="dark"] .site-status__message {
    color: #e5aa9d;
}

html[data-theme="dark"] .site-nav__toplink:hover,
html[data-theme="dark"] .site-nav__toplink.is-active,
html[data-theme="dark"] .nav-dropdown__summary:hover,
html[data-theme="dark"] .nav-dropdown.is-current .nav-dropdown__summary,
html[data-theme="dark"] .nav-dropdown[open] .nav-dropdown__summary {
    background: rgba(226, 160, 95, 0.1);
    border-color: rgba(226, 160, 95, 0.22);
}

html[data-theme="dark"] .nav-dropdown__panel {
    background:
        linear-gradient(180deg, rgba(17, 33, 50, 0.96), rgba(11, 23, 36, 0.94)),
        var(--surface);
}

html[data-theme="dark"] .nav-dropdown__item:hover,
html[data-theme="dark"] .nav-dropdown__item.is-active {
    background: rgba(226, 160, 95, 0.1);
    border-color: rgba(226, 160, 95, 0.22);
}

html[data-theme="dark"] .header-action-btn.is-active,
html[data-theme="dark"] .btn--chip-active {
    color: var(--copper-soft);
    border-color: rgba(226, 160, 95, 0.34);
    background: rgba(226, 160, 95, 0.13);
}

html[data-theme="dark"] .menu-toggle {
    background: var(--surface);
    border-color: var(--line);
}

html[data-theme="dark"] .menu-toggle span {
    background: var(--navy);
}

html[data-theme="dark"] .site-footer {
    background: #071827;
    color: rgba(231, 237, 245, 0.78);
}

html[data-theme="dark"] .site-footer strong {
    color: var(--ink);
}

html[data-theme="dark"] .page-shell,
html[data-theme="dark"] .form-container,
html[data-theme="dark"] .hero-panel,
html[data-theme="dark"] .page-header-panel,
html[data-theme="dark"] .landing-preview-surface,
html[data-theme="dark"] .landing-architecture-board,
html[data-theme="dark"] .landing-standard-panel,
html[data-theme="dark"] .landing-cta-panel,
html[data-theme="dark"] .manual-hero__mark {
    background:
        linear-gradient(180deg, rgba(18, 35, 52, 0.96), rgba(12, 24, 37, 0.96)),
        var(--surface-warm);
}

html[data-theme="dark"] .landing-trust-strip__item,
html[data-theme="dark"] .landing-metadata-row,
html[data-theme="dark"] .landing-preview-card,
html[data-theme="dark"] .landing-preview-table,
html[data-theme="dark"] .landing-architecture-board__node,
html[data-theme="dark"] .landing-problem-panel,
html[data-theme="dark"] .landing-trust-panel,
html[data-theme="dark"] .landing-context-panel,
html[data-theme="dark"] .landing-outcome-card,
html[data-theme="dark"] .landing-preview-tags span,
html[data-theme="dark"] .manual-toc,
html[data-theme="dark"] .manual-step-list li,
html[data-theme="dark"] .manual-link-grid,
html[data-theme="dark"] .candidate-item,
html[data-theme="dark"] .guest-detail-booking-card,
html[data-theme="dark"] .import-source-slot,
html[data-theme="dark"] .workspace-card,
html[data-theme="dark"] .settings-summary-card {
    background: var(--surface);
}

html[data-theme="dark"] .landing-preview-table__head,
html[data-theme="dark"] .landing-preview-table__row,
html[data-theme="dark"] .landing-metadata-row__item {
    border-color: var(--line);
}

html[data-theme="dark"] .landing-banner__surface,
html[data-theme="dark"] .landing-banner--transition .landing-banner__surface,
html[data-theme="dark"] .landing-banner--product .landing-banner__surface {
    border-color: var(--line);
    background:
        linear-gradient(120deg, rgba(12, 25, 39, 0.98), rgba(18, 35, 52, 0.98)),
        var(--surface-warm);
}

html[data-theme="dark"] .landing-banner__glyph {
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.28));
}

html[data-theme="dark"] .panel,
html[data-theme="dark"] .operational-panel,
html[data-theme="dark"] .context-panel,
html[data-theme="dark"] .card,
html[data-theme="dark"] .stat-card,
html[data-theme="dark"] .list-card,
html[data-theme="dark"] .table-card,
html[data-theme="dark"] .settings-panel,
html[data-theme="dark"] .management-panel,
html[data-theme="dark"] .stats-strip__card,
html[data-theme="dark"] .dashboard-attention-card,
html[data-theme="dark"] .dashboard-event-item,
html[data-theme="dark"] .management-link-card,
html[data-theme="dark"] .booking-mobile-card,
html[data-theme="dark"] .guest-mobile-card,
html[data-theme="dark"] .user-mobile-card,
html[data-theme="dark"] .settings-company-mobile-card,
html[data-theme="dark"] .management-mobile-card,
html[data-theme="dark"] .import-mobile-card,
html[data-theme="dark"] .weekly-snapshot-mobile-card {
    background: var(--surface);
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .data-table tbody tr:nth-child(even) td,
html[data-theme="dark"] .guest-detail-booking-card {
    background: linear-gradient(180deg, rgba(18, 34, 51, 0.98), rgba(13, 25, 39, 0.96));
}

html[data-theme="dark"] .dashboard-stat-link:hover,
html[data-theme="dark"] .dashboard-attention-card:hover,
html[data-theme="dark"] .dashboard-attention-card:focus-visible,
html[data-theme="dark"] .manual-link-grid a:hover,
html[data-theme="dark"] .manual-link-grid a:focus-visible {
    background: var(--surface-alt);
}

html[data-theme="dark"] .dashboard-event-item:hover,
html[data-theme="dark"] .dashboard-event-item:focus-visible,
html[data-theme="dark"] .dashboard-queue-link:hover,
html[data-theme="dark"] .dashboard-queue-link:focus-visible,
html[data-theme="dark"] .dashboard-queue-link.is-active,
html[data-theme="dark"] .manual-toc__links a:hover,
html[data-theme="dark"] .manual-toc__links a:focus-visible {
    background: rgba(226, 160, 95, 0.12);
    border-color: rgba(226, 160, 95, 0.24);
}

html[data-theme="dark"] .manual-step-list li::before {
    background: #16314a;
    color: var(--ink);
}

html[data-theme="dark"] .page-note,
html[data-theme="dark"] .dashboard-note,
html[data-theme="dark"] .empty-state {
    background: var(--surface-subtle);
    border-color: var(--line-strong);
}

html[data-theme="dark"] .badge,
html[data-theme="dark"] .landing-preview-surface__status,
html[data-theme="dark"] .landing-architecture-board__status {
    color: var(--copper-soft);
    background: rgba(226, 160, 95, 0.12);
    border-color: rgba(226, 160, 95, 0.24);
}

html[data-theme="dark"] .badge--soft {
    color: var(--navy);
    background: rgba(80, 138, 190, 0.14);
    border-color: rgba(128, 177, 222, 0.22);
}

html[data-theme="dark"] .role-pill--owner {
    color: var(--copper-soft);
    background: rgba(226, 160, 95, 0.16);
    border-color: rgba(226, 160, 95, 0.24);
}

html[data-theme="dark"] .role-pill--admin,
html[data-theme="dark"] .role-pill--analyst,
html[data-theme="dark"] .role-pill--guest {
    color: var(--navy);
    background: rgba(80, 138, 190, 0.14);
    border-color: rgba(128, 177, 222, 0.22);
}

html[data-theme="dark"] .alert--error,
html[data-theme="dark"] .btn--ghost-danger,
html[data-theme="dark"] .btn--ghost-danger.btn--icon {
    color: #efa9a9;
    background: var(--rose-soft);
    border-color: var(--rose-border);
}

html[data-theme="dark"] .alert--success {
    color: #9ed5ac;
}

html[data-theme="dark"] .alert--warning {
    color: #e5aa9d;
    background: rgba(156, 72, 72, 0.18);
    border-color: rgba(215, 121, 121, 0.28);
}

html[data-theme="dark"] .btn--secondary,
html[data-theme="dark"] .btn--secondary.btn--icon {
    color: var(--navy);
    background: var(--surface-alt);
    border-color: var(--line);
}

html[data-theme="dark"] .btn--ghost {
    color: var(--ink);
    border-color: var(--line);
}

html[data-theme="dark"] .btn--ghost-danger:hover {
    color: #f4baba;
    background: rgba(156, 72, 72, 0.26);
}

html[data-theme="dark"] .form-input,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] .form-textarea,
html[data-theme="dark"] .date-picker__panel,
html[data-theme="dark"] .date-picker__nav,
html[data-theme="dark"] .activity-modal__dialog,
html[data-theme="dark"] .activity-modal__frame,
html[data-theme="dark"] .confirm-modal__dialog,
html[data-theme="dark"] .inline-modal__dialog,
html[data-theme="dark"] .page-loading-overlay__panel,
html[data-theme="dark"] .tax-validation-dialog {
    color: var(--ink);
    background: var(--surface);
    border-color: var(--line);
}

html[data-theme="dark"] .form-select {
    background:
        linear-gradient(45deg, transparent 50%, var(--navy) 50%) calc(100% - 1.05rem) 50% / 0.38rem 0.38rem no-repeat,
        linear-gradient(135deg, var(--navy) 50%, transparent 50%) calc(100% - 0.78rem) 50% / 0.38rem 0.38rem no-repeat,
        var(--surface);
}

html[data-theme="dark"] .date-picker__display:disabled {
    background: var(--surface-muted);
}

html[data-theme="dark"] .date-picker__icon {
    border-color: var(--line-strong);
    background:
        linear-gradient(rgba(216, 234, 255, 0.12), rgba(216, 234, 255, 0.12)) 0.18rem 0.22rem / calc(100% - 0.36rem) 0.18rem no-repeat,
        linear-gradient(90deg, rgba(216, 234, 255, 0.72), rgba(216, 234, 255, 0.72)) 0.3rem 0.52rem / calc(100% - 0.6rem) 0.08rem no-repeat,
        linear-gradient(90deg, rgba(216, 234, 255, 0.72), rgba(216, 234, 255, 0.72)) 0.3rem 0.78rem / calc(100% - 0.6rem) 0.08rem no-repeat,
        var(--surface-alt);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .date-picker__day {
    color: var(--ink);
}

html[data-theme="dark"] .date-picker__day:hover,
html[data-theme="dark"] .date-picker__day:focus-visible {
    background: rgba(80, 138, 190, 0.14);
    border-color: rgba(128, 177, 222, 0.22);
}

html[data-theme="dark"] .date-picker__day.is-outside-month {
    color: rgba(170, 184, 200, 0.58);
}

html[data-theme="dark"] .date-picker__day.is-selected {
    background: linear-gradient(180deg, #23557a, #173954);
    color: var(--ink);
}

html[data-theme="dark"] .date-picker__footer {
    border-top-color: var(--line);
}

html[data-theme="dark"] .toggle-switch__track {
    background: #23384c;
    border-color: var(--line);
}

html[data-theme="dark"] .toggle-switch__track::after {
    background: #d8eaff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .stat-strip__tooltip-trigger,
html[data-theme="dark"] .info-tooltip__trigger,
html[data-theme="dark"] .tax-disclaimer__icon,
html[data-theme="dark"] .activity-modal__dialog[data-loading="true"]::after,
html[data-theme="dark"] .import-file-picker__button {
    color: var(--navy);
    background: var(--surface-alt);
    border-color: var(--line);
}

html[data-theme="dark"] .info-tooltip__panel {
    color: var(--ink);
    background: var(--surface);
    border-color: var(--line);
    box-shadow: var(--shadow);
}

html[data-theme="dark"] .import-source-tile {
    background:
        linear-gradient(180deg, rgba(18, 35, 52, 0.96), rgba(12, 24, 37, 0.96)),
        var(--surface-warm);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .import-file-picker__control {
    background: var(--surface-subtle);
    border-color: var(--line-strong);
}

html[data-theme="dark"] .tax-disclaimer {
    background: rgba(226, 160, 95, 0.1);
    border-color: rgba(226, 160, 95, 0.24);
}

html[data-theme="dark"] .tax-disclaimer__panel {
    border-top-color: rgba(226, 160, 95, 0.22);
}

html[data-theme="dark"] .data-table th,
html[data-theme="dark"] .preview-table-shell--rows .data-table th,
html[data-theme="dark"] .data-table--operational-grid thead th {
    color: var(--navy);
    background: var(--surface-alt);
    border-color: var(--line);
}

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

html[data-theme="dark"] .data-table tbody tr:nth-child(odd) td,
html[data-theme="dark"] .data-table--operational-grid tbody tr:nth-child(odd) td {
    background: rgba(16, 29, 43, 0.98);
}

html[data-theme="dark"] .data-table tbody tr:nth-child(even) td,
html[data-theme="dark"] .data-table--operational-grid tbody tr:nth-child(even) td {
    background: rgba(20, 39, 58, 0.98);
}

html[data-theme="dark"] .data-table tbody tr:hover td,
html[data-theme="dark"] .data-table--operational-grid tbody tr:hover td {
    background: rgba(35, 57, 78, 0.98);
}

html[data-theme="dark"] .data-table--operational-grid th,
html[data-theme="dark"] .data-table--operational-grid td {
    border-right-color: rgba(173, 196, 220, 0.12);
}

html[data-theme="dark"] .financial-audit-source--direct,
html[data-theme="dark"] .financial-audit-grid__save-status.is-error,
html[data-theme="dark"] .financial-audit-grid__save-status.is-dirty,
html[data-theme="dark"] .financial-audit-table__row--dirty .financial-audit-table__identity-cell strong,
html[data-theme="dark"] .financial-audit-table__row--dirty .table-subtext--grid,
html[data-theme="dark"] .financial-audit-table__row--dirty .financial-audit-reduction-input {
    color: #f0a7a7;
}

html[data-theme="dark"] .financial-audit-table tbody tr.financial-audit-table__row--dirty td,
html[data-theme="dark"] .financial-audit-table tbody tr.financial-audit-table__row--dirty:nth-child(odd) td,
html[data-theme="dark"] .financial-audit-table tbody tr.financial-audit-table__row--dirty:nth-child(even) td {
    color: #f0a7a7;
    background: rgba(92, 34, 34, 0.42);
    box-shadow: inset 0 1px 0 rgba(240, 167, 167, 0.16), inset 0 -1px 0 rgba(240, 167, 167, 0.16);
}

html[data-theme="dark"] .financial-audit-checkbox {
    accent-color: var(--copper);
}

html[data-theme="dark"] .financial-audit-reduction-input:disabled {
    color: rgba(170, 184, 200, 0.62);
    background: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .data-table--kpi-grid thead .kpi-grid-cell--info,
html[data-theme="dark"] .data-table--kpi-grid thead .kpi-grid-cell--meta,
html[data-theme="dark"] .data-table--weekly-kpi-grid thead .weekly-kpi-cell--corner,
html[data-theme="dark"] .data-table--weekly-kpi-grid thead .weekly-kpi-cell--anchor,
html[data-theme="dark"] .data-table--weekly-kpi-grid thead .weekly-kpi-cell--delta,
html[data-theme="dark"] .data-table--weekly-kpi-grid thead .weekly-kpi-cell--delta-group {
    background: linear-gradient(180deg, #16314a, #0b2135);
    color: var(--ink);
}

html[data-theme="dark"] .data-table--kpi-grid thead .kpi-grid-cell--finance,
html[data-theme="dark"] .data-table--weekly-kpi-grid thead .weekly-kpi-cell--actual,
html[data-theme="dark"] .data-table--weekly-kpi-grid thead .weekly-kpi-cell--actual-group {
    background: linear-gradient(180deg, #526845, #394c31);
    color: var(--ink);
}

html[data-theme="dark"] .data-table--kpi-grid thead .kpi-grid-cell--fee {
    background: linear-gradient(180deg, #475b3c, #34462d);
    color: var(--ink);
}

html[data-theme="dark"] .data-table--kpi-grid tbody tr:nth-child(odd) td.kpi-grid-cell--info,
html[data-theme="dark"] .data-table--kpi-grid tbody tr:nth-child(odd) td.kpi-grid-cell--meta,
html[data-theme="dark"] .data-table--weekly-kpi-grid tbody tr:nth-child(odd) td.weekly-kpi-cell--anchor,
html[data-theme="dark"] .data-table--weekly-kpi-grid tbody tr:nth-child(odd) td.weekly-kpi-cell--delta {
    background: #12283d;
}

html[data-theme="dark"] .data-table--kpi-grid tbody tr:nth-child(even) td.kpi-grid-cell--info,
html[data-theme="dark"] .data-table--kpi-grid tbody tr:nth-child(even) td.kpi-grid-cell--meta,
html[data-theme="dark"] .data-table--weekly-kpi-grid tbody tr:nth-child(even) td.weekly-kpi-cell--anchor,
html[data-theme="dark"] .data-table--weekly-kpi-grid tbody tr:nth-child(even) td.weekly-kpi-cell--delta {
    background: #17324a;
}

html[data-theme="dark"] .data-table--kpi-grid tbody tr:nth-child(odd) td.kpi-grid-cell--finance,
html[data-theme="dark"] .data-table--weekly-kpi-grid tbody tr:nth-child(odd) td.weekly-kpi-cell--actual {
    background: #253823;
}

html[data-theme="dark"] .data-table--kpi-grid tbody tr:nth-child(even) td.kpi-grid-cell--finance,
html[data-theme="dark"] .data-table--weekly-kpi-grid tbody tr:nth-child(even) td.weekly-kpi-cell--actual {
    background: #2d4329;
}

html[data-theme="dark"] .data-table--kpi-grid tbody tr:nth-child(odd) td.kpi-grid-cell--fee {
    background: #21331f;
}

html[data-theme="dark"] .data-table--kpi-grid tbody tr:nth-child(even) td.kpi-grid-cell--fee {
    background: #293d25;
}

html[data-theme="dark"] .data-table--kpi-grid tbody tr:hover td.kpi-grid-cell--info,
html[data-theme="dark"] .data-table--kpi-grid tbody tr:hover td.kpi-grid-cell--meta,
html[data-theme="dark"] .data-table--weekly-kpi-grid tbody tr:hover td.weekly-kpi-cell--anchor,
html[data-theme="dark"] .data-table--weekly-kpi-grid tbody tr:hover td.weekly-kpi-cell--delta {
    background: #1c3d58;
}

html[data-theme="dark"] .data-table--kpi-grid tbody tr:hover td.kpi-grid-cell--finance,
html[data-theme="dark"] .data-table--weekly-kpi-grid tbody tr:hover td.weekly-kpi-cell--actual {
    background: #355033;
}

html[data-theme="dark"] .data-table--kpi-grid tbody tr:hover td.kpi-grid-cell--fee {
    background: #304a2c;
}

html[data-theme="dark"] .weekly-kpi-value--negative,
html[data-theme="dark"] .table-subtext--kpi-negative {
    color: #f0a1a1;
}

html[data-theme="dark"] .financial-table thead th {
    background: #1e3328 !important;
    color: var(--ink) !important;
    border-color: rgba(141, 174, 122, 0.24);
}

html[data-theme="dark"] .financial-table--expenses thead th {
    background: #3a281d !important;
    border-color: rgba(226, 160, 95, 0.24);
}

html[data-theme="dark"] .financial-table thead th:first-child,
html[data-theme="dark"] .financial-table tbody th[scope="row"] {
    border-right-color: var(--line-strong);
    box-shadow:
        inset -1px 0 0 rgba(173, 196, 220, 0.1),
        inset 0 -1px 0 rgba(173, 196, 220, 0.12);
}

html[data-theme="dark"] .financial-table tbody th[scope="row"],
html[data-theme="dark"] .financial-table tbody tr:nth-child(odd):not(.financial-table__section-row) th[scope="row"],
html[data-theme="dark"] .financial-table tbody tr:nth-child(odd):not(.financial-table__section-row) td {
    background: #13271c;
    color: var(--ink);
}

html[data-theme="dark"] .financial-table tbody tr:nth-child(even):not(.financial-table__section-row) th[scope="row"],
html[data-theme="dark"] .financial-table tbody tr:nth-child(even):not(.financial-table__section-row) td {
    background: #183120;
    color: var(--ink);
}

html[data-theme="dark"] .financial-table tbody tr:not(.financial-table__section-row):hover th[scope="row"],
html[data-theme="dark"] .financial-table tbody tr:not(.financial-table__section-row):hover td {
    background: #213d29;
}

html[data-theme="dark"] .financial-table--expenses tbody th[scope="row"],
html[data-theme="dark"] .financial-table--expenses tbody tr:nth-child(odd):not(.financial-table__section-row) th[scope="row"],
html[data-theme="dark"] .financial-table--expenses tbody tr:nth-child(odd):not(.financial-table__section-row) td {
    background: #2b2018;
    color: var(--ink);
}

html[data-theme="dark"] .financial-table--expenses tbody tr:nth-child(even):not(.financial-table__section-row) th[scope="row"],
html[data-theme="dark"] .financial-table--expenses tbody tr:nth-child(even):not(.financial-table__section-row) td {
    background: #382719;
    color: var(--ink);
}

html[data-theme="dark"] .financial-table--expenses tbody tr:not(.financial-table__section-row):hover th[scope="row"],
html[data-theme="dark"] .financial-table--expenses tbody tr:not(.financial-table__section-row):hover td {
    background: #46311f;
}

html[data-theme="dark"] .financial-table tbody .financial-table__statement-row--negative th[scope="row"],
html[data-theme="dark"] .financial-table__statement-row--negative td {
    background: #3a1f22 !important;
    color: #f0aaaa;
}

html[data-theme="dark"] .financial-table tbody .financial-table__statement-row--negative:hover th[scope="row"],
html[data-theme="dark"] .financial-table__statement-row--negative:hover td {
    background: #4a272b !important;
}

html[data-theme="dark"] .financial-table tbody .financial-table__statement-row--subtotal th[scope="row"],
html[data-theme="dark"] .financial-table__statement-row--subtotal td,
html[data-theme="dark"] .financial-table__total-row th[scope="row"],
html[data-theme="dark"] .financial-table__total-row td {
    background: #304c2c !important;
    color: var(--ink);
}

html[data-theme="dark"] .financial-table tbody .financial-table__statement-row--total th[scope="row"],
html[data-theme="dark"] .financial-table__statement-row--total td,
html[data-theme="dark"] .financial-table-shell.preview-table-shell--rows .financial-table__section-row th {
    background: #577047 !important;
    color: var(--ink) !important;
}

html[data-theme="dark"] .financial-table tbody .financial-table__statement-row--flow th[scope="row"],
html[data-theme="dark"] .financial-table__statement-row--flow td {
    background: #47683b !important;
    color: var(--ink);
}

html[data-theme="dark"] .financial-table--expenses tbody .financial-table__statement-row--subtotal th[scope="row"],
html[data-theme="dark"] .financial-table--expenses .financial-table__statement-row--subtotal td,
html[data-theme="dark"] .financial-table--expenses .financial-table__total-row th[scope="row"],
html[data-theme="dark"] .financial-table--expenses .financial-table__total-row td {
    background: #593a24 !important;
    color: var(--ink);
}

html[data-theme="dark"] .financial-table--expenses tbody .financial-table__statement-row--total th[scope="row"],
html[data-theme="dark"] .financial-table--expenses .financial-table__statement-row--total td,
html[data-theme="dark"] .financial-table-shell.preview-table-shell--rows .financial-table--expenses .financial-table__section-row th {
    background: #a86124 !important;
    color: #fff !important;
}

html[data-theme="dark"] .financial-table--expenses tbody .financial-table__statement-row--flow th[scope="row"],
html[data-theme="dark"] .financial-table--expenses .financial-table__statement-row--flow td {
    background: #7a4c2c !important;
    color: var(--ink);
}

html[data-theme="dark"] .financial-table tbody .financial-table__statement-row--subtotal:hover th[scope="row"],
html[data-theme="dark"] .financial-table__statement-row--subtotal:hover td,
html[data-theme="dark"] .financial-table__total-row:hover th[scope="row"],
html[data-theme="dark"] .financial-table__total-row:hover td {
    background: #3b5a35 !important;
}

html[data-theme="dark"] .financial-table tbody .financial-table__statement-row--total:hover th[scope="row"],
html[data-theme="dark"] .financial-table__statement-row--total:hover td {
    background: #647f52 !important;
}

html[data-theme="dark"] .financial-table tbody .financial-table__statement-row--flow:hover th[scope="row"],
html[data-theme="dark"] .financial-table__statement-row--flow:hover td {
    background: #537844 !important;
}

html[data-theme="dark"] .financial-table--expenses tbody .financial-table__statement-row--subtotal:hover th[scope="row"],
html[data-theme="dark"] .financial-table--expenses .financial-table__statement-row--subtotal:hover td,
html[data-theme="dark"] .financial-table--expenses .financial-table__total-row:hover th[scope="row"],
html[data-theme="dark"] .financial-table--expenses .financial-table__total-row:hover td {
    background: #68452a !important;
}

html[data-theme="dark"] .financial-table--expenses tbody .financial-table__statement-row--total:hover th[scope="row"],
html[data-theme="dark"] .financial-table--expenses .financial-table__statement-row--total:hover td {
    background: #b66f2d !important;
}

html[data-theme="dark"] .financial-table--expenses tbody .financial-table__statement-row--flow:hover th[scope="row"],
html[data-theme="dark"] .financial-table--expenses .financial-table__statement-row--flow:hover td {
    background: #8a5a35 !important;
}

html[data-theme="dark"] .pull-tax-table-shell.preview-table-shell--rows .pull-tax-table th,
html[data-theme="dark"] .pull-tax-table th,
html[data-theme="dark"] .pull-tax-table__group-cell {
    background: #102b43;
    color: var(--ink);
    border-color: var(--line-strong);
}

html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--taxable-income td,
html[data-theme="dark"] .pull-tax-group--taxable-income .pull-tax-table__group-cell {
    background: #173321;
}

html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--taxable-income:nth-child(odd) td {
    background: #1f3d29;
}

html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--taxable-income .pull-tax-table__group-cell,
html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--taxable-income.pull-tax-table__total-row td {
    background: #1f6b42;
    color: #fff;
}

html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--county-tax td,
html[data-theme="dark"] .pull-tax-group--county-tax .pull-tax-table__group-cell {
    background: #382916;
}

html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--county-tax:nth-child(odd) td {
    background: #493315;
}

html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--county-tax .pull-tax-table__group-cell,
html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--county-tax.pull-tax-table__total-row td {
    background: #b76b17;
    color: #fff;
}

html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--state-sales-tax td,
html[data-theme="dark"] .pull-tax-group--state-sales-tax .pull-tax-table__group-cell {
    background: #3d2417;
}

html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--state-sales-tax:nth-child(odd) td {
    background: #4d2d18;
}

html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--state-sales-tax .pull-tax-table__group-cell,
html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--state-sales-tax.pull-tax-table__total-row td {
    background: #a75612;
    color: #fff;
}

html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--discretionary-sales-surtax td,
html[data-theme="dark"] .pull-tax-group--discretionary-sales-surtax .pull-tax-table__group-cell {
    background: #17324a;
}

html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--discretionary-sales-surtax:nth-child(odd) td {
    background: #1d3d59;
}

html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--discretionary-sales-surtax .pull-tax-table__group-cell,
html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--discretionary-sales-surtax.pull-tax-table__total-row td {
    background: #2e6f9e;
    color: #fff;
}

html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--sst-dss td,
html[data-theme="dark"] .pull-tax-group--sst-dss .pull-tax-table__group-cell,
html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--sst-dss-no-airbnb td,
html[data-theme="dark"] .pull-tax-group--sst-dss-no-airbnb .pull-tax-table__group-cell,
html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--source-submitted-tax td,
html[data-theme="dark"] .pull-tax-group--source-submitted-tax .pull-tax-table__group-cell {
    background: #202942;
}

html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--sst-dss:nth-child(odd) td,
html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--sst-dss-no-airbnb:nth-child(odd) td,
html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--source-submitted-tax:nth-child(odd) td {
    background: #283354;
}

html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--sst-dss .pull-tax-table__group-cell,
html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--sst-dss.pull-tax-table__total-row td,
html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--sst-dss-no-airbnb .pull-tax-table__group-cell,
html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--sst-dss-no-airbnb.pull-tax-table__total-row td,
html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--source-submitted-tax .pull-tax-table__group-cell,
html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--source-submitted-tax.pull-tax-table__total-row td {
    background: #31456f;
    color: #fff;
}

html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--total-taxes td,
html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--total-taxes .pull-tax-table__group-cell,
html[data-theme="dark"] .data-table--operational-grid tbody tr.pull-tax-group--total-taxes.pull-tax-table__total-row td {
    background: #cf7a25;
    color: #fff;
}

html[data-theme="dark"] .pull-tax-validation-table th,
html[data-theme="dark"] .pull-tax-validation-table td {
    background: var(--surface);
}

html[data-theme="dark"] .pull-tax-validation-table__mismatch {
    background: #5b2826 !important;
    color: #f6c0bb;
}

html[data-theme="dark"] .forecast-table-shell.preview-table-shell--rows .forecast-table thead th,
html[data-theme="dark"] .forecast-table-shell.preview-table-shell--rows .forecast-table thead th:first-child,
html[data-theme="dark"] .forecast-table tbody th[scope="row"] {
    background: #11415d;
    color: var(--ink);
}

html[data-theme="dark"] .forecast-table tbody tr:nth-child(odd) td {
    background: #142e44;
}

html[data-theme="dark"] .forecast-table tbody tr:nth-child(even) td {
    background: #183a55;
}

html[data-theme="dark"] .forecast-table tbody tr:hover td {
    background: #204b6d;
}

html[data-theme="dark"] .forecast-table__total,
html[data-theme="dark"] .forecast-table tbody td.forecast-table__total {
    background: #355f36;
    color: var(--ink);
}

html[data-theme="dark"] .forecast-table__total-row th,
html[data-theme="dark"] .forecast-table__total-row td,
html[data-theme="dark"] .forecast-table tbody tr.forecast-table__total-row td {
    background: #7b641f;
    color: var(--ink);
}

html[data-theme="dark"] .forecast-table tbody tr.forecast-table__total-row th[scope="row"] {
    background: #94742a;
    color: var(--ink);
}

html[data-theme="dark"] .forecast-cell--adjusted,
html[data-theme="dark"] .forecast-table tbody td.forecast-cell--adjusted {
    background: #4a2b2f;
}

html[data-theme="dark"] .forecast-input--adjusted {
    border-color: #d58b8b;
    background: #2b171a;
}

html[data-theme="dark"] .forecast-table td.forecast-value--positive,
html[data-theme="dark"] .forecast-table tbody td.forecast-table__total.forecast-value--positive,
html[data-theme="dark"] .forecast-table tbody tr.forecast-table__total-row td.forecast-value--positive,
html[data-theme="dark"] .stat-strip__value.forecast-value--positive,
html[data-theme="dark"] .forecast-value--positive {
    color: #8ed39c;
}

html[data-theme="dark"] .forecast-table td.forecast-value--negative,
html[data-theme="dark"] .forecast-table tbody td.forecast-table__total.forecast-value--negative,
html[data-theme="dark"] .forecast-table tbody tr.forecast-table__total-row td.forecast-value--negative,
html[data-theme="dark"] .stat-strip__value.forecast-value--negative,
html[data-theme="dark"] .forecast-value--negative {
    color: #f09d9d;
}

html[data-theme="dark"] .reporting-chart__bars {
    background:
        linear-gradient(180deg, rgba(216, 234, 255, 0.06) 0%, rgba(216, 234, 255, 0.02) 100%),
        var(--surface);
    border-color: var(--line);
}

html[data-theme="dark"] .reporting-combo-chart__grid-line {
    stroke: rgba(216, 234, 255, 0.18);
}

html[data-theme="dark"] .reporting-combo-chart__point {
    stroke: #0b1724;
}

html[data-theme="dark"] .reporting-combo-chart__bar-label {
    fill: #fff;
}

html[data-theme="dark"] .reporting-combo-chart__x-label {
    fill: #a9c7e9;
}
