/* Dashboard Stylesheet */

:root {
    /* Dark navy palette (reference: "Customer Experience KPI dashboard"
       screenshot) - validated with the dataviz skill's palette checker
       against surface #14152A. Categorical [cyan, violet, gold, magenta] and
       status [good, warning, serious, critical] both pass the lightness
       band / chroma floor / CVD separation / contrast checks; warning and
       serious sit in the 8-12 CVD floor band together, which is legal only
       because every status color always ships with a text label (badge
       text, axis label) rather than color alone - never used bare. */
    --primary-color: #0891b2;
    --success-color: #22a55e;
    --warning-color: #ad8a0e;
    --info-color: #38bdf8;
    --dark-color: #ffffff;

    --cat-blue: #0891b2;
    --cat-aqua: #22a55e;
    --cat-yellow: #c98500;
    --cat-green: #22a55e;
    --cat-violet: #8b5cf6;
    --cat-red: #dc5b5b;
    --cat-magenta: #d55181;
    --cat-orange: #c1440e;

    /* Status palette (reserved - only ever means good/warning/serious/critical) */
    --status-good: #22a55e;
    --status-warning: #ad8a0e;
    --status-serious: #c1440e;
    --status-critical: #dc5b5b;
    --status-neutral: #6b7094;

    --chart-grid: #2a2d52;
    --chart-muted: #7a7fa0;

    --page-bg: #14152a;
    --surface-1: #1c1e3d;
    --surface-2: #22244a;
    --text-primary: #ffffff;
    --text-secondary: #a6abc8;
    --border-hairline: rgba(255, 255, 255, 0.08);

    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.3);
    --card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.45);
}

body {
    background-color: var(--page-bg);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    /* Tells the browser this page is dark-themed, so native form control
       chrome (text color/cursor on inputs, scrollbars, autofill) matches
       instead of assuming a light page and picking colors that can collide
       with our dark backgrounds (e.g. near-invisible text in search boxes). */
    color-scheme: dark;
}

a {
    color: var(--cat-blue);
}

/* Chrome/Edge autofill forces its own background/text color that ignores
   normal CSS unless overridden this way - without it, a search box you'd
   typed in before (e.g. Inventory SKU/customer search) can render text the
   same color as its background. */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--surface-2) inset;
    -webkit-text-fill-color: var(--text-primary);
    caret-color: var(--text-primary);
}

/* Bootstrap components default to a light-surface look (white cards, dark
   text, black icons) that doesn't follow --page-bg automatically - these
   overrides re-point every component that touches a surface or text color
   at the dark tokens above. */
.card,
.modal-content {
    background-color: var(--surface-1);
    color: var(--text-primary);
}

.table {
    color: var(--text-primary);
}

.form-control {
    background-color: var(--surface-2) !important;
    border-color: var(--border-hairline);
    color: var(--text-primary) !important;
}

.form-control::placeholder {
    color: var(--chart-muted);
}

.form-control:focus {
    background-color: var(--surface-2) !important;
    color: var(--text-primary) !important;
}

/* Bootstrap's checkbox/radio labels (e.g. the account checklists in the
   Inventory/Solutions/Opportunity filter dropdowns) read their color from
   Bootstrap's own --bs-body-color variable rather than inheriting the page
   text color, so they need an explicit override too. */
.form-check-label {
    color: var(--text-primary) !important;
}

.form-check-input {
    background-color: var(--surface-2);
    border-color: var(--chart-muted);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-label {
    color: var(--text-secondary);
}

.dropdown-menu {
    background-color: var(--surface-2);
    border-color: var(--border-hairline);
}

.dropdown-item {
    color: var(--text-secondary);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--page-bg);
    color: var(--text-primary);
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.btn-secondary {
    background-color: var(--surface-2);
    border-color: var(--border-hairline);
}

.text-muted {
    color: var(--chart-muted) !important;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

/* Left sidebar layout - a slim top bar with just the brand, and everything
   that was in the old top navbar (section tabs + Snapshot/account menus)
   moved into a vertical sidebar below it. */
.topbar {
    height: 60px;
    display: flex;
    align-items: center;
    background-color: #101124 !important;
}

.topbar .navbar-brand {
    margin: 0;
}

.app-layout {
    display: flex;
    align-items: stretch;
}

.sidebar {
    width: 240px;
    flex-shrink: 0;
    background: var(--page-bg);
    border-right: 1px solid var(--border-hairline);
    position: sticky;
    top: 60px;
    height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 1rem 0;
}

.sidebar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1.25rem;
    color: var(--text-secondary);
    border-left: 3px solid transparent;
    font-weight: 500;
    border-radius: 0;
}

.sidebar-nav .nav-link:hover {
    background: color-mix(in srgb, var(--cat-blue) 8%, transparent);
    color: var(--cat-blue);
}

.sidebar-nav .nav-link.active {
    border-left-color: var(--cat-blue);
    background: color-mix(in srgb, var(--cat-blue) 10%, transparent);
    color: var(--cat-blue);
}

.sidebar-nav .dropdown-menu {
    position: static !important;
    width: 100%;
    border: none;
    box-shadow: none;
    background: var(--surface-1);
    transform: none !important;
    margin: 0;
    padding-left: 0.5rem;
}

.sidebar-divider {
    margin: 0.5rem 1.25rem;
    border-color: var(--border-hairline);
}

.sidebar-sub-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-sub-nav .nav-link {
    padding-left: 2.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.sidebar-sub-nav .nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-sub-nav .nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

.main-content {
    flex: 1;
    min-width: 0;
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 60px;
        left: 0;
        z-index: 1030;
        height: calc(100vh - 60px);
        box-shadow: 4px 0 12px rgba(0,0,0,0.08);
    }

    .sidebar.collapse:not(.show) {
        display: none;
    }
}

/* Stats Cards */
.stats-card {
    position: relative;
    border: none;
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stats-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--stat-accent, var(--cat-blue));
}

.stats-card.accent-blue { --stat-accent: var(--cat-blue); }
.stats-card.accent-aqua { --stat-accent: var(--cat-aqua); }
.stats-card.accent-violet { --stat-accent: var(--cat-violet); }
.stats-card.accent-orange { --stat-accent: var(--cat-orange); }

.stats-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
}

.tab-link-card {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tab-link-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
}

.expiring-soon-row {
    cursor: pointer;
    border-radius: 4px;
    padding-left: 6px;
    padding-right: 6px;
    transition: background 0.1s ease;
}

.expiring-soon-row:hover {
    background: var(--surface-2);
}

.stats-card h6 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.stats-card h2 {
    font-size: 2.25rem;
    font-weight: 700;
    font-variant-numeric: proportional-nums;
    margin-top: 6px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.stats-card .stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2); /* fallback for browsers without color-mix() */
    background: color-mix(in srgb, var(--stat-accent, var(--cat-blue)) 20%, var(--surface-2));
}

.stats-card .stat-icon i {
    color: var(--stat-accent, var(--cat-blue));
}

/* Cards */
.card {
    border: none;
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    margin-bottom: 20px;
    transition: box-shadow 0.2s;
}

.card-header {
    background: transparent;
    border-bottom: none;
    padding: 1.25rem 1.25rem 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.card-header h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Fixed height so the 4 Overview chart/widget cards line up exactly, whether
   their content is a Chart.js canvas or a variable-length list. */
.chart-card-body {
    position: relative;
    height: 320px;
}

/* Tables */
.table {
    margin-bottom: 0;
}

.table thead th {
    background-color: var(--primary-color);
    border-top: none;
    font-weight: 600;
    color: #ffffff;
    border-bottom: 2px solid var(--border-hairline);
    padding: 12px;
}

.table tbody tr {
    border-bottom: 1px solid var(--border-hairline);
    transition: background-color 0.1s;
}

.table tbody tr:hover {
    background-color: var(--surface-2);
}

.table tbody td {
    padding: 12px;
    vertical-align: middle;
}

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0aa5cc;
    border-color: #0aa5cc;
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.text-primary { color: var(--primary-color) !important; }
.text-success { color: var(--status-good) !important; }
.text-warning { color: var(--status-warning) !important; }
.text-info { color: var(--info-color) !important; }

/* Modal */
.modal-header {
    border-bottom: 1px solid var(--border-hairline);
    font-weight: 600;
}

.modal-content {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.form-control {
    border-radius: 6px;
    border: 1px solid var(--border-hairline);
    padding: 0.6rem 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(8, 145, 178, 0.35);
}

/* Tabs */
.nav-tabs {
    border-bottom: 2px solid var(--border-hairline);
}

.nav-tabs .nav-link {
    color: var(--text-secondary);
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background-color: transparent;
}

/* Top-level page tabs (Overview/Customers/Contracts/Solutions/Inventory).
   Named distinctly from Bootstrap's own .tab-content/.tab-pane so this rule
   doesn't hide Bootstrap-managed nested tabs (e.g. the Solutions Heatmap/List
   View sub-tabs), which reuse Bootstrap's conventional class names. */
.page-tab-content {
    display: none;
}

.page-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Heatmap */
#heatmapContainer {
    /* Bounded height so the horizontal scrollbar stays reachable near the top
       of the page instead of sitting below all 50 rows. Sticky headers/first
       column below keep it usable while scrolling within this box. */
    max-height: 70vh;
    overflow: auto;
}

.heatmap-table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 15px;
}

.heatmap-table thead th,
.heatmap-table tbody td {
    padding: 12px;
    text-align: center;
    border: 1px solid var(--border-hairline);
}

.heatmap-table thead {
    position: sticky;
    top: 0;
    z-index: 2;
}

.heatmap-table thead th {
    background-color: var(--surface-2);
    color: var(--text-primary);
    font-weight: 600;
    writing-mode: horizontal-tb;
    max-width: 160px;
    white-space: normal;
}

.heatmap-table thead th.heatmap-corner {
    background-color: var(--surface-1);
    border: none;
}

.heatmap-table thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 3;
    background-color: var(--surface-1);
}

.heatmap-table tbody td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background-color: var(--surface-1);
    color: var(--text-primary);
}

.heatmap-cell-select {
    width: 100%;
    height: 100%;
    min-height: 34px;
    border: none;
    border-radius: 0;
    font-weight: 500;
    font-size: 0.75rem;
    padding: 4px 2px;
    margin: 0;
    cursor: pointer;
    text-align: center;
    text-align-last: center;
    transition: filter 0.15s;
}

.heatmap-cell-select:hover {
    filter: brightness(0.95);
}

.heatmap-cell-select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

.heatmap-table tbody td {
    padding: 0;
}

.status-deployed { background-color: var(--status-good); color: #fff; }
.status-not-deployed { background-color: var(--status-neutral); color: #fff; }
.status-whitespace { background-color: var(--surface-1); color: var(--chart-muted); border: 1px solid var(--border-hairline); }
.status-aware { background-color: var(--status-warning); color: #14152a; }
.status-removed { background-color: var(--status-critical); color: #fff; }
.status-other { background-color: #2d2f5c; color: #b8bce0; }
.status-none { background-color: var(--surface-1); color: #3a3d66; }

/* Soften Bootstrap's own status utility classes to match (List View badges) */
.badge.bg-success { background-color: var(--status-good) !important; }
.badge.bg-secondary { background-color: var(--status-neutral) !important; }
.badge.bg-warning { background-color: var(--status-warning) !important; color: #14152a !important; }
.badge.bg-danger { background-color: var(--status-critical) !important; }
.badge.bg-info { background-color: var(--cat-blue) !important; }
.badge.bg-light { background-color: var(--surface-2) !important; color: var(--chart-muted) !important; }

/* Badge */
.badge {
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Loading */
.spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

/* Responsive */
@media (max-width: 768px) {
    .container-fluid {
        padding: 1rem !important;
    }

    .card {
        margin-bottom: 15px;
    }

    .table {
        font-size: 0.9rem;
    }

    .table thead th,
    .table tbody td {
        padding: 8px;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .stats-card h2 {
        font-size: 1.5rem;
    }
}

/* Utility classes */
.opacity-50 {
    opacity: 0.5;
}

.border-top {
    border-top: 1px solid var(--border-hairline) !important;
}

/* Action buttons in tables */
.action-buttons {
    white-space: nowrap;
}

.action-buttons .btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    margin-right: 0.25rem;
}

/* Contract rows grouped under a customer header row */
.contract-group-header td {
    background-color: var(--surface-2);
    color: var(--text-primary);
    font-weight: 600;
    border-top: 2px solid var(--border-hairline);
}

.contract-row td:first-child {
    padding-left: 2rem;
}

.table-responsive {
    border-radius: 8px;
    overflow-x: auto;
}

/* Customer Inventory Cards */
.customer-inventory-card {
    border: 1px solid var(--border-hairline);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.customer-inventory-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.customer-inventory-card .card-body {
    padding: 1.25rem;
}

.customer-inventory-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.customer-inventory-card .card-body > div > div p:first-child {
    color: var(--text-secondary);
}

.customer-inventory-card strong {
    color: var(--primary-color);
}

/* Customer list — two-column card grid */
.customers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.customer-grid-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--surface-1);
    border: 1px solid var(--border-hairline);
    border-radius: 8px;
    transition: background 0.15s, border-color 0.15s;
}

.customer-grid-card:hover {
    background: var(--surface-2);
    border-color: var(--border-color);
}

.customer-grid-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1rem;
}

/* Customer list — clickable name */
.customer-link {
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
}

/* ── New-item indicators ─────────────────────────── */
.customer-grid-card.is-new {
    background: rgba(8, 145, 178, 0.10);
    border-color: rgba(8, 145, 178, 0.45);
    border-left: 3px solid var(--primary-color);
}
.customer-grid-card.is-new:hover {
    background: rgba(8, 145, 178, 0.16);
}

.new-pill {
    flex-shrink: 0;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 2px 7px;
    border-radius: 10px;
    background: var(--primary-color);
    color: #fff;
    white-space: nowrap;
}

.note-is-new {
    border-left: 3px solid var(--primary-color) !important;
    background: rgba(8, 145, 178, 0.08) !important;
}
.note-is-new .card-body {
    background: transparent !important;
}

/* Sidebar nav badge (unseen count dot) */
.nav-badge {
    margin-left: auto;
    background: #e11d48;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}

.customer-link:hover {
    text-decoration: underline;
}

/* Customer detail drill-down — pill-style tabs */
#customerDetailView .nav-tabs {
    border-bottom: none;
    gap: 8px;
    margin-bottom: 1.5rem;
}

#customerDetailView .nav-tabs .nav-link {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-secondary);
    background: transparent;
    padding: 6px 20px;
    font-size: 0.855rem;
    transition: background 0.13s ease, color 0.13s ease, border-color 0.13s ease;
}

#customerDetailView .nav-tabs .nav-link:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--dark-color);
}

#customerDetailView .nav-tabs .nav-link.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    font-weight: 500;
}

#customerDetailView .tab-pane {
    padding-top: 0.5rem;
}

/* Info grid */
.cd-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--surface-1);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.cd-info-row {
    padding: 13px 18px;
    border-bottom: 1px solid var(--border-color);
}

.cd-info-row:nth-child(odd) {
    border-right: 1px solid var(--border-color);
}

.cd-info-row:nth-last-child(-n+2) {
    border-bottom: none;
}

.cd-info-label {
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 3px;
}

.cd-info-value {
    font-size: 0.9rem;
    color: var(--dark-color);
}

/* Stat tiles */
.cd-stat-tile {
    background: var(--surface-2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px 16px 18px;
    text-align: center;
}

.cd-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1;
    letter-spacing: -0.01em;
}

.cd-stat-label {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Inventory table in detail pane */
#customerDetailInventoryContent .table th {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

#customerDetailInventoryContent .table td {
    font-size: 0.85rem;
    vertical-align: middle;
}

/* Opportunity cards in Notes sub-tab */
#customerDetailNotesContent .card {
    transition: border-color 0.15s ease;
}

#customerDetailNotesContent .card:hover {
    border-color: var(--primary-color);
}

#customerDetailNotebookView .note-card {
    background: var(--surface-2);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

/* ==================== Tasks ==================== */

.task-card {
    background: var(--surface-1);
    border: 1px solid var(--border-hairline);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 8px;
    transition: border-color 0.15s;
}
.task-card:hover { border-color: var(--border-color); }
.task-card-overdue { border-left: 3px solid #e11d48; }
.task-card-done { opacity: 0.6; }

.task-title { font-size: 0.95rem; font-weight: 500; }
.task-title-done { text-decoration: line-through; color: var(--text-secondary); }

.task-status-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s;
}
.task-status-badge:hover { opacity: 0.8; }
.task-status-todo       { background: var(--surface-2); color: var(--text-secondary); }
.task-status-inprogress { background: rgba(8,145,178,0.2); color: var(--primary-color); }
.task-status-done       { background: rgba(34,197,94,0.15); color: #4ade80; }

.task-card-highlight {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    transition: outline-color 1.5s ease-out;
}

.task-status-select {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 20px 3px 8px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath fill='%23a6abc8' d='M0 0l4 5 4-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 7px center;
    background-size: 7px 5px;
}
.task-status-select:focus { outline: 2px solid var(--primary-color); outline-offset: 1px; }
.task-status-select.task-status-todo       { background-color: var(--surface-2); color: var(--text-secondary); }
.task-status-select.task-status-inprogress { background-color: rgba(8,145,178,0.2); color: var(--primary-color); }
.task-status-select.task-status-done       { background-color: rgba(34,197,94,0.15); color: #4ade80; }
