/* ═══════════════════════════════════════════════════════
   Xpert-iA Command Center — Dashboard Stylesheet
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ── Tokens ── */
:root {
    /* Surfaces — crisper neutrals, stronger contrast */
    --surface-0: #F4F3F8;
    --surface-1: #FFFFFF;
    --surface-2: #EEEDF3;
    --surface-raised: #FFFFFF;

    /* Sidebar */
    --sidebar-bg: #0D0620;
    --sidebar-hover: rgba(124, 58, 237, 0.12);
    --sidebar-active: rgba(124, 58, 237, 0.22);
    --sidebar-text: rgba(255,255,255,0.5);
    --sidebar-text-active: #FFFFFF;
    --sidebar-w: 252px;
    --sidebar-w-collapsed: 68px;
    --sidebar-border: rgba(255,255,255,0.04);

    /* Brand */
    --accent: #7C3AED;
    --accent-hover: #6D28D9;
    --accent-muted: rgba(124, 58, 237, 0.08);
    --accent-glow: rgba(124, 58, 237, 0.15);

    /* Text */
    --text-primary: #1A1235;
    --text-secondary: #6B6585;
    --text-tertiary: #9B95AD;
    --text-inverse: #FFFFFF;

    /* Status */
    --success: #10B981;
    --success-bg: #ECFDF5;
    --success-text: #065F46;
    --error: #EF4444;
    --error-bg: #FEF2F2;
    --error-text: #991B1B;
    --warning: #F59E0B;
    --warning-bg: #FFFBEB;
    --warning-text: #92400E;

    /* Borders & Shadows */
    --border: rgba(0,0,0,0.06);
    --border-strong: rgba(0,0,0,0.10);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);

    /* Radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration: 0.2s;
}

/* ── Dark Theme ── */
[data-theme="dark"] {
    --surface-0: #09060F;
    --surface-1: #13101C;
    --surface-2: #1A1525;
    --surface-raised: #1A1525;
    --sidebar-bg: #06030C;
    --text-primary: #EDE9F6;
    --text-secondary: #9B93B0;
    --text-tertiary: #6B6380;
    --accent-muted: rgba(124, 58, 237, 0.15);
    --accent-glow: rgba(124, 58, 237, 0.25);
    --border: rgba(255,255,255,0.06);
    --border-strong: rgba(255,255,255,0.10);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
    --shadow: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
    --success-bg: rgba(16,185,129,0.1);
    --success-text: #6EE7B7;
    --error-bg: rgba(239,68,68,0.1);
    --error-text: #FCA5A5;
    --warning-bg: rgba(245,158,11,0.1);
    --warning-text: #FCD34D;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--surface-0);
    color: var(--text-primary);
    font-size: 14px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--accent-hover); }
a.btn:hover { color: inherit; }
a.btn-primary:hover { color: white; }
a.btn-ghost:hover { color: var(--accent); }

/* ══════════════════════════════════════
   SIDEBAR
   ══════════════════════════════════════ */

.sidebar {
    position: fixed;
    left: 0; top: 0; bottom: 0;
    width: var(--sidebar-w);
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: width 0.25s var(--ease);
    border-right: 1px solid var(--sidebar-border);
}

.sidebar.collapsed { width: var(--sidebar-w-collapsed); }

/* Sidebar Header */
.sb-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
}

.sb-logo {
    height: 36px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
    transition: height 0.2s var(--ease);
}

.sidebar.collapsed .sb-logo {
    height: 28px;
}

/* Collapse toggle */
.sb-collapse {
    position: absolute;
    right: -13px;
    top: 26px;
    width: 26px; height: 26px;
    background: var(--accent);
    border: 3px solid var(--surface-0);
    border-radius: 50%;
    color: white;
    font-size: 0.65rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 110;
    transition: all 0.2s var(--ease);
    box-shadow: 0 2px 8px rgba(124,58,237,0.3);
}
.sb-collapse:hover { transform: scale(1.15); box-shadow: 0 4px 12px rgba(124,58,237,0.4); }
.sidebar.collapsed .sb-collapse { transform: rotate(180deg); }
.sidebar.collapsed .sb-collapse:hover { transform: rotate(180deg) scale(1.15); }

/* Sidebar Nav */
.sb-nav { flex: 1; padding: 8px 10px; overflow-y: auto; }

.sb-section {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.2);
    padding: 20px 14px 6px;
    white-space: nowrap;
    transition: opacity 0.15s var(--ease);
}
.sidebar.collapsed .sb-section { opacity: 0; height: 12px; padding: 6px 0; }

.sb-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--sidebar-text);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s var(--ease);
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    white-space: nowrap;
    position: relative;
}

.sb-link:hover {
    background: var(--sidebar-hover);
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

.sb-link.active {
    background: var(--sidebar-active);
    color: var(--sidebar-text-active);
}

.sb-link.active::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: var(--accent);
    border-radius: 0 3px 3px 0;
}

.sb-link .icon {
    width: 20px;
    height: 20px;
    text-align: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    transition: transform 0.15s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sb-link .icon svg {
    display: block;
}

.sb-link:hover .icon { transform: scale(1.1); }

.sb-link .label {
    opacity: 1;
    transition: opacity 0.15s var(--ease);
}

.sidebar.collapsed .sb-link .label { opacity: 0; width: 0; overflow: hidden; }
.sidebar.collapsed .sb-link { justify-content: center; padding: 10px; }

/* Sidebar Footer */
.sb-footer {
    padding: 12px 10px;
    border-top: 1px solid var(--sidebar-border);
}

.sb-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: background 0.15s var(--ease);
}

.sb-user:hover { background: var(--sidebar-hover); }

.sb-avatar {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), #A78BFA);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    color: white;
    flex-shrink: 0;
}

.sb-user-info { overflow: hidden; }
.sb-user-info .name { font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-user-info .role { font-size: 0.7rem; color: rgba(255,255,255,0.35); font-family: 'JetBrains Mono', monospace; }
.sidebar.collapsed .sb-user-info { display: none; }

/* ══════════════════════════════════════
   MAIN CONTENT
   ══════════════════════════════════════ */

.main {
    margin-left: var(--sidebar-w);
    min-height: 100vh;
    transition: margin-left 0.25s var(--ease);
    padding: 28px 36px 60px;
}

.sidebar.collapsed ~ .main { margin-left: var(--sidebar-w-collapsed); }

/* Page Title */
.page-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.page-title h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.page-title .meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* ── Stats Strip ── */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
    margin-bottom: 32px;
}

.stat {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all var(--duration) var(--ease);
    position: relative;
    overflow: hidden;
}

.stat.stat-green { border-left-color: var(--success); }
.stat.stat-amber { border-left-color: var(--warning); }

.stat::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(124,58,237,0.15), 0 0 0 1px rgba(124,58,237,0.1);
    transform: translateY(-1px);
}

.stat:hover::before { opacity: 1; }

.stat-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.stat-icon.purple { background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(124,58,237,0.08)); color: #a78bfa; }
.stat-icon.green { background: linear-gradient(135deg, rgba(34,197,94,0.15), rgba(34,197,94,0.08)); color: #4ade80; }
.stat-icon.amber { background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(245,158,11,0.08)); color: #fbbf24; }

.stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 2px;
}

/* ══════════════════════════════════════
   ROBOT CARDS
   ══════════════════════════════════════ */

.robots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 18px;
    margin-bottom: 32px;
}

.robot-card {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.25s var(--ease);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.robot-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #A78BFA);
    opacity: 0;
    transition: opacity 0.25s var(--ease);
}

.robot-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--accent-glow);
    transform: translateY(-2px);
}

.robot-card:hover::before { opacity: 1; }

.robot-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.robot-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.robot-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--accent-muted);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}

.robot-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.robot-version {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.robot-card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
    padding: 14px;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
}

.robot-stat-item {
    display: flex;
    flex-direction: column;
}

.robot-stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.robot-stat-label {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.robot-card-actions {
    display: flex;
    gap: 8px;
}

/* Legacy robots — grayed out */
.robot-card--legacy {
    opacity: 0.55;
    cursor: default;
    position: relative;
}

.robot-card--legacy:hover {
    transform: none;
    box-shadow: var(--shadow);
    border-color: var(--border);
}

.robot-card--legacy::before { display: none; }

.robot-card--legacy .robot-icon { filter: grayscale(0.5); }

.robot-legacy-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-tertiary);
    background: var(--surface-2);
    padding: 3px 8px;
    border-radius: 4px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s var(--ease);
    text-decoration: none;
    line-height: 1.4;
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--accent); color: white; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 4px 12px rgba(124,58,237,0.25); }

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-muted); }

.btn-sm { padding: 6px 12px; font-size: 0.78rem; }
.btn-xs { padding: 4px 10px; font-size: 0.72rem; }
.btn-danger { color: var(--error); border-color: var(--error-bg); background: var(--error-bg); }
.btn-danger:hover { background: var(--error); color: white; }

/* ── Badges ── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.badge-active { background: var(--success-bg); color: var(--success-text); }
.badge-cancelled { background: var(--error-bg); color: var(--error-text); }
.badge-version { background: var(--accent-muted); color: var(--accent); }

/* ── Cards ── */
.card {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 24px;
    margin-bottom: 20px;
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.card-head h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

/* ── Tables ── */
table { width: 100%; border-collapse: collapse; }

th {
    text-align: left;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 10px 14px;
    border-bottom: 2px solid var(--border-strong);
    background: rgba(124,58,237,0.05);
}

td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

td strong { color: var(--text-primary); font-weight: 600; }

tr { transition: background 0.1s var(--ease); }
tbody tr:nth-child(even) td { background: rgba(124,58,237,0.03); }
[data-theme="dark"] tbody tr:nth-child(even) td { background: rgba(255,255,255,0.03); }
tbody tr:hover td { background: var(--accent-muted); }

/* ── Search ── */
.search-input {
    padding: 9px 14px;
    padding-left: 36px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    color: var(--text-primary);
    background: var(--surface-1);
    width: 280px;
    transition: all var(--duration) var(--ease);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239B95AD' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 12px center;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ── Alerts ── */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid;
}

.alert-success { background: var(--success-bg); color: var(--success-text); border-color: rgba(16,185,129,0.15); }
.alert-error { background: var(--error-bg); color: var(--error-text); border-color: rgba(239,68,68,0.15); }
.alert-warning { background: var(--warning-bg); color: var(--warning-text); border-color: rgba(245,158,11,0.15); }

/* ── Forms ── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 5px; }
.form-section { font-size: 0.72rem; font-weight: 700; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.06em; padding: 16px 0 8px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 9px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); font-family: inherit; font-size: 0.88rem; color: var(--text-primary); background: var(--surface-1); transition: all var(--duration) var(--ease); }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Login ── */
.login-wrapper { max-width: 420px; margin: 80px auto; }
.login-card { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.login-header { background: var(--sidebar-bg); padding: 28px 32px; text-align: center; }
.login-header img { height: 36px; border-radius: 8px; margin-bottom: 8px; }
.login-header h1 { color: white; font-size: 1.1rem; font-weight: 600; }
.login-header p { color: rgba(255,255,255,0.4); font-size: 0.78rem; font-family: 'JetBrains Mono', monospace; margin-top: 2px; }
.login-body { padding: 28px 32px; }
.login-body .btn { width: 100%; justify-content: center; padding: 11px; }

/* ── Empty ── */
.empty-state { text-align: center; padding: 48px 20px; color: var(--text-tertiary); }
.empty-state .empty-icon { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.5; }

/* ── Activity Chart ── */
.chart-wrap { padding: 4px 0; }
.bar-chart { display: flex; align-items: flex-end; gap: 2px; height: 100px; }
.bar {
    flex: 1;
    min-width: 4px;
    border-radius: 2px 2px 0 0;
    background: var(--accent);
    opacity: 0.5;
    transition: all 0.2s var(--ease);
    position: relative;
    cursor: pointer;
}
.bar:hover { opacity: 1; }
.bar .tip { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--text-primary); color: var(--surface-0); padding: 4px 8px; border-radius: 4px; font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; white-space: nowrap; display: none; pointer-events: none; z-index: 10; }
.bar:hover .tip { display: block; }

/* ── Utility ── */
.text-muted { color: var(--text-tertiary); }
.text-sm { font-size: 0.8rem; }
.text-mono { font-family: 'JetBrains Mono', monospace; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .sidebar { width: var(--sidebar-w-collapsed); }
    .sidebar .label, .sidebar .sb-section, .sb-wordmark, .sb-user-info { display: none !important; }
    .sb-link { justify-content: center; padding: 10px; }
    .main { margin-left: var(--sidebar-w-collapsed); padding: 20px; }
    .robots-grid { grid-template-columns: 1fr; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
}

/* ── Animations ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: fadeUp 0.4s var(--ease) both; }
.animate-in:nth-child(1) { animation-delay: 0.05s; }
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.15s; }
.animate-in:nth-child(4) { animation-delay: 0.2s; }
.animate-in:nth-child(5) { animation-delay: 0.25s; }
.animate-in:nth-child(6) { animation-delay: 0.3s; }

/* btn-outline (used in various places) */
.btn-outline {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}
.btn-outline:hover {
    background: var(--accent-muted);
    box-shadow: 0 0 0 3px var(--accent-muted);
}

/* Checkbox labels always nowrap */
label:has(input[type="checkbox"]) { white-space: nowrap; }
input[type="checkbox"] + label, label > input[type="checkbox"] { white-space: nowrap; }
