/* ===== ACTION INBOX & NOTIFICATION CENTER CSS ===== */

:root {
    --dash-surface-1: var(--dash-surface);
}

.inbox-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 140px);
    min-height: 600px;
}

.inbox-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--dash-surface);
    border: 1px solid var(--dash-border);
    border-radius: var(--dash-radius-sm);
    margin-bottom: 1rem;
}

.inbox-tabs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.inbox-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--dash-text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--dash-transition);
}

.inbox-tab:hover {
    color: var(--dash-text);
    background: var(--dash-surface-2);
}

.inbox-tab.active {
    background: var(--dash-primary-light);
    color: var(--dash-primary);
    border-color: var(--dash-primary);
}

.inbox-tab-badge {
    background: #ef4444;
    color: white;
    font-size: 0.68rem;
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    font-weight: 700;
}

.inbox-top-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.inbox-search-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--dash-surface-2);
    border: 1px solid var(--dash-border);
    border-radius: 6px;
    padding: 0.4rem 0.75rem;
    width: 240px;
}

.inbox-search-input {
    background: transparent;
    border: none;
    color: var(--dash-text);
    font-size: 0.8rem;
    width: 100%;
    outline: none;
    font-family: inherit;
}

.inbox-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    background: var(--dash-surface-2);
    color: var(--dash-text-secondary);
    border: 1px solid var(--dash-border);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--dash-transition);
}

.inbox-btn-secondary:hover {
    color: var(--dash-text);
    border-color: var(--dash-primary);
}

/* 2-Pane Workspace */
.inbox-workspace {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 1.25rem;
    flex: 1;
    min-height: 0;
}

/* Mobile Navigation Bar */
.inbox-mobile-nav-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 0.85rem;
    margin-bottom: 1.15rem;
    border-bottom: 1px solid var(--dash-border);
}

.inbox-mobile-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.95rem;
    background: var(--dash-surface-2);
    border: 1px solid var(--dash-border);
    border-radius: 8px;
    color: var(--dash-text);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--dash-transition);
    -webkit-tap-highlight-color: transparent;
}

.inbox-mobile-back-btn:hover,
.inbox-mobile-back-btn:active {
    border-color: var(--dash-primary);
    color: var(--dash-primary);
    background: var(--dash-primary-light);
}

.inbox-mobile-nav-title {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--dash-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Tablet & Mobile Breakpoints (<= 991px) */
@media (max-width: 991px) {
    .inbox-container {
        height: auto;
        min-height: calc(100vh - 120px);
    }
    .inbox-topbar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 0.75rem 0.85rem;
    }
    .inbox-tabs {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        gap: 0.4rem;
        padding-bottom: 2px;
        width: 100%;
    }
    .inbox-tabs::-webkit-scrollbar {
        display: none;
    }
    .inbox-tab {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 0.45rem 0.85rem;
        font-size: 0.8rem;
        border-radius: 8px;
    }
    .inbox-top-actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
    }
    .inbox-search-wrap {
        flex: 1;
        width: auto;
        min-width: 0;
        padding: 0.45rem 0.75rem;
    }
    .inbox-btn-secondary {
        flex-shrink: 0;
        padding: 0.45rem 0.85rem;
        white-space: nowrap;
        font-size: 0.8rem;
    }
    .inbox-workspace {
        grid-template-columns: 1fr;
        min-height: 480px;
    }
    .inbox-workspace .inbox-detail-pane {
        display: none;
    }
    .inbox-workspace.mobile-show-detail .inbox-list-pane {
        display: none;
    }
    .inbox-workspace.mobile-show-detail .inbox-detail-pane {
        display: flex;
        animation: dash-fadeUp 0.25s ease-out;
        padding: 1.25rem 1rem;
    }
    .inbox-mobile-nav-header {
        display: flex;
    }
}

/* Small Phones & Narrow Viewports (<= 480px) */
@media (max-width: 480px) {
    .inbox-topbar {
        padding: 0.6rem 0.65rem;
        gap: 0.6rem;
    }
    .inbox-tab {
        padding: 0.4rem 0.75rem;
        font-size: 0.76rem;
    }
    .inbox-search-wrap {
        padding: 0.4rem 0.65rem;
    }
    .inbox-btn-secondary {
        padding: 0.45rem 0.65rem;
        font-size: 0.75rem;
    }
    .inbox-workspace.mobile-show-detail .inbox-detail-pane {
        padding: 1rem 0.75rem;
    }
    .inbox-card {
        padding: 0.85rem 0.75rem;
    }
}

@media (max-width: 360px) {
    .inbox-btn-secondary .inbox-btn-text {
        display: none;
    }
    .inbox-btn-secondary {
        padding: 0.45rem 0.6rem;
    }
}

/* Left Pane: List */
.inbox-list-pane {
    background: var(--dash-surface);
    border: 1px solid var(--dash-border);
    border-radius: var(--dash-radius-sm);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.inbox-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--dash-border);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dash-text-muted);
}

.inbox-refresh-btn {
    background: none;
    border: none;
    color: var(--dash-text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    transition: var(--dash-transition);
}

.inbox-refresh-btn:hover {
    color: var(--dash-primary);
}

.inbox-items-wrap {
    overflow-y: auto;
    flex: 1;
}

/* Individual Task Card */
.inbox-card {
    padding: 1rem;
    border-bottom: 1px solid var(--dash-border);
    cursor: pointer;
    transition: var(--dash-transition);
    position: relative;
    border-left: 3px solid transparent;
}

.inbox-card:hover {
    background: rgba(255, 255, 255, 0.02);
}

.inbox-card.active {
    background: var(--dash-primary-light);
    border-left-color: var(--dash-primary);
}

.inbox-card.unread {
    background: rgba(99, 102, 241, 0.04);
}

.inbox-card.priority-high {
    border-left-color: #ef4444;
}

.inbox-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.inbox-card-module {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--dash-primary);
}

.inbox-card-time {
    font-size: 0.7rem;
    color: var(--dash-text-muted);
}

.inbox-card-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dash-text);
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.inbox-card-desc {
    font-size: 0.76rem;
    color: var(--dash-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.inbox-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
}

.inbox-card-status {
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.68rem;
}

.dp-badge-completed, .inbox-card-status.dp-badge-completed {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.28);
}

.dp-badge-pending, .inbox-card-status.dp-badge-pending {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.dp-badge-info, .inbox-card-status.dp-badge-info {
    background: rgba(14, 165, 233, 0.12);
    color: #0ea5e9;
    border: 1px solid rgba(14, 165, 233, 0.28);
}

.dp-badge-submitted, .inbox-card-status.dp-badge-submitted {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.28);
}

.inbox-empty-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    color: var(--dash-text-muted);
    text-align: center;
}

/* Right Pane: Detail & Action */
.inbox-detail-pane {
    background: var(--dash-surface);
    border: 1px solid var(--dash-border);
    border-radius: var(--dash-radius-sm);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 1.75rem;
}

.inbox-detail-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--dash-text-muted);
    text-align: center;
    max-width: 360px;
    margin: auto;
}

.inbox-detail-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--dash-surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.inbox-detail-header {
    border-bottom: 1px solid var(--dash-border);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.inbox-detail-badge-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.inbox-detail-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dash-text);
    margin: 0 0 0.5rem;
}

.inbox-detail-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: var(--dash-text-muted);
    flex-wrap: wrap;
}

/* Action Box */
.inbox-action-box {
    background: var(--dash-surface-2);
    border: 1px solid var(--dash-border);
    border-radius: var(--dash-radius-sm);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.inbox-action-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dash-text);
    margin: 0 0 0.25rem;
}

.inbox-action-desc {
    font-size: 0.82rem;
    color: var(--dash-text-muted);
    margin: 0 0 1.25rem;
}

.inbox-form-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 600px) {
    .inbox-form-grid {
        grid-template-columns: 1fr;
    }
}

.inbox-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.inbox-input-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dash-text-secondary);
}

.inbox-input {
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--dash-border);
    border-radius: 6px;
    background: var(--dash-surface-2, var(--dash-surface));
    color: var(--dash-text);
    font-size: 0.88rem;
    font-family: inherit;
    outline: none;
}

.inbox-input:focus {
    border-color: var(--dash-primary);
    box-shadow: 0 0 0 2px var(--dash-primary-light);
}

.inbox-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, var(--dash-primary), #4f46e5);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--dash-transition);
}

.inbox-btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--dash-primary-glow);
}

/* Success Card */
.inbox-success-box {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--dash-radius-sm);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.inbox-success-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Cutoff Date & Time in Task Cards */
.inbox-card-cutoff-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.35rem 0.55rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    font-size: 0.73rem;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.12);
}

.inbox-card-cutoff-row.urgent {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.25);
}

.inbox-card-cutoff-row.expired {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.22);
}

.inbox-card-cutoff-main {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--dash-text);
    font-weight: 500;
}

.inbox-card-cutoff-row.urgent .inbox-card-cutoff-main {
    color: #f59e0b;
}

.inbox-card-cutoff-row.expired .inbox-card-cutoff-main {
    color: #ef4444;
}

.inbox-card-cutoff-label {
    color: var(--dash-text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.inbox-card-cutoff-time {
    font-weight: 700;
    font-family: var(--dash-font-mono, monospace);
    font-size: 0.74rem;
}

.inbox-card-cutoff-badge {
    padding: 0.12rem 0.45rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.inbox-card-cutoff-badge.active {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.inbox-card-cutoff-badge.urgent {
    background: rgba(245, 158, 11, 0.2);
    color: #d97706;
}

.inbox-card-cutoff-badge.expired {
    background: rgba(239, 68, 68, 0.18);
    color: #ef4444;
}

.inbox-card-trip-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    background: var(--dash-surface-2);
    border: 1px solid var(--dash-border);
    color: var(--dash-text-muted);
    font-size: 0.68rem;
    font-weight: 600;
}

/* Detail Banner for Cutoff Time */
.inbox-detail-cutoff-banner {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.15rem;
    border-radius: var(--dash-radius-sm);
    margin-top: 1rem;
    background: rgba(99, 102, 241, 0.07);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.inbox-detail-cutoff-banner.urgent {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.inbox-detail-cutoff-banner.expired {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.inbox-detail-cutoff-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.15);
    color: var(--dash-primary);
    flex-shrink: 0;
}

.inbox-detail-cutoff-banner.urgent .inbox-detail-cutoff-icon {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.inbox-detail-cutoff-banner.expired .inbox-detail-cutoff-icon {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.inbox-detail-cutoff-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.inbox-detail-cutoff-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dash-text-muted);
}

.inbox-detail-cutoff-val {
    font-size: 1.05rem;
    font-weight: 800;
    font-family: var(--dash-font-mono, monospace);
    color: var(--dash-text);
}

.inbox-detail-cutoff-banner.urgent .inbox-detail-cutoff-val {
    color: #d97706;
}

.inbox-detail-cutoff-banner.expired .inbox-detail-cutoff-val {
    color: #ef4444;
}

/* ─── Available Quota & Demand KPIs ─────────────────────────── */
.inbox-card-quota-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 2px 8px;
    border-radius: 9999px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    font-size: 0.72rem;
    font-weight: 700;
}

.inbox-card-quota-pill.quota-filled {
    background: rgba(148, 163, 184, 0.1);
    border-color: rgba(148, 163, 184, 0.25);
    color: #94a3b8;
}

.dp-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: dp-pulse 2s infinite;
}

.dp-pulse-dot.dot-filled {
    background: #94a3b8;
    box-shadow: none;
    animation: none;
}

@keyframes dp-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.inbox-demand-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    margin: 1.25rem 0 1rem;
}

@media (max-width: 768px) {
    .inbox-demand-kpi-grid {
        gap: 0.5rem;
        margin: 0.95rem 0 0.85rem;
    }
    .inbox-kpi-card {
        padding: 0.65rem 0.5rem;
    }
    .inbox-kpi-label {
        font-size: 0.64rem;
        letter-spacing: 0.03em;
        margin-bottom: 0.2rem;
    }
    .inbox-kpi-val {
        font-size: 1.15rem;
    }
    .inbox-kpi-val.ruby-text {
        font-size: 0.82rem;
    }
    .inbox-kpi-unit {
        font-size: 0.72rem;
    }
    .inbox-kpi-sub {
        font-size: 0.62rem;
        margin-top: 0.15rem;
    }
}

@media (max-width: 480px) {
    .inbox-demand-kpi-grid {
        grid-template-columns: 1fr 1fr;
    }
    .inbox-demand-kpi-grid .inbox-kpi-card:last-child {
        grid-column: span 2;
    }
}

.inbox-kpi-card {
    background: var(--dash-surface-2, var(--dash-surface, #1e293b));
    border: 1px solid var(--dash-border);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    text-align: center;
    transition: all 0.2s ease;
}

.inbox-kpi-card.highlight-emerald {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 4px 14px -3px rgba(16, 185, 129, 0.15);
}

.inbox-kpi-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dash-text-muted);
    margin-bottom: 0.3rem;
}

.inbox-kpi-card.highlight-emerald .inbox-kpi-label {
    color: #10b981;
}

.inbox-kpi-val {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dash-text);
    line-height: 1.2;
}

.inbox-kpi-unit {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dash-text-muted);
}

.inbox-kpi-val.emerald-text {
    color: #10b981;
}

.inbox-kpi-val.ruby-text {
    color: #ef4444;
    font-size: 1.05rem;
}

.inbox-kpi-sub {
    font-size: 0.72rem;
    color: var(--dash-text-muted);
    margin-top: 0.25rem;
}

/* Mobile Adjustments for Detail Pane & Action Box */
@media (max-width: 680px) {
    .inbox-action-box {
        padding: 1.15rem 0.95rem;
        margin-top: 1.15rem;
    }
    .inbox-input {
        font-size: 16px !important;
        min-height: 46px;
    }
    .inbox-btn-submit {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        font-size: 0.92rem;
        padding: 0.75rem 1rem;
    }
    .inbox-detail-title {
        font-size: 1.15rem;
        word-break: break-word;
    }
    .inbox-detail-meta {
        gap: 0.5rem 1rem;
        font-size: 0.76rem;
    }
}

@media (max-width: 600px) {
    .inbox-detail-cutoff-banner {
        flex-wrap: wrap;
        padding: 0.75rem 0.85rem;
        gap: 0.6rem;
    }
    .inbox-detail-cutoff-banner .inbox-card-cutoff-badge {
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
    }
    .inbox-detail-cutoff-val {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .inbox-card-cutoff-row {
        flex-wrap: wrap;
        gap: 0.3rem 0.5rem;
        padding: 0.35rem 0.5rem;
    }
    .inbox-card-cutoff-time {
        font-size: 0.7rem;
    }
    .inbox-card-footer {
        flex-wrap: wrap;
        gap: 0.35rem;
    }
}


@media (max-width: 380px) {
    .inbox-container {
        padding: 0;
    }

    .inbox-topbar {
        padding: 0 0.5rem;
        height: 52px;
    }

    .inbox-tabs {
        gap: 0;
    }

    .inbox-tab-btn {
        padding: 0.5rem 0.6rem;
        font-size: 0.72rem;
    }

    .inbox-compose-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.78rem;
    }

    .inbox-message-item {
        padding: 0.75rem 0.875rem;
    }
}

/* ============================================================
   LIGHT MODE DESIGN SYSTEM OVERRIDES ([data-theme="light"])
   Action Inbox & Notification Center Daytime Polish
   ============================================================ */
[data-theme="light"] .inbox-topbar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .inbox-list-pane {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .inbox-detail-pane {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .inbox-kpi-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .inbox-kpi-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .inbox-kpi-label {
    color: #64748b;
    font-weight: 700;
}

[data-theme="light"] .inbox-kpi-val {
    color: #0f172a !important;
    font-weight: 800;
}

[data-theme="light"] .inbox-kpi-unit {
    color: #475569;
}

[data-theme="light"] .inbox-kpi-sub {
    color: #64748b;
}

[data-theme="light"] .inbox-kpi-card.highlight-emerald {
    background: #ecfdf5;
    border-color: #a7f3d0;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.1);
}

[data-theme="light"] .inbox-kpi-card.highlight-emerald .inbox-kpi-label {
    color: #065f46;
}

[data-theme="light"] .inbox-kpi-val.emerald-text {
    color: #059669 !important;
}

[data-theme="light"] .inbox-kpi-val.ruby-text {
    color: #dc2626 !important;
}

[data-theme="light"] .inbox-action-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .inbox-action-title {
    color: #0f172a;
}

[data-theme="light"] .inbox-action-desc {
    color: #64748b;
}

[data-theme="light"] .inbox-input {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    color: #0f172a;
    color-scheme: light;
}

[data-theme="light"] .inbox-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

[data-theme="light"] .inbox-card-trip-pill {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #475569;
}
