/* ============================================================
   SOVEREIGN AI — Vanilla CSS Design System
   Implements: DESIGN.md "The Sovereign Workspace"
   Colors: Navy #000666 primary, Emerald #1b6d24 secondary
   Font: Inter (Google Fonts)
   ============================================================ */

/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
    --primary:                #000666;
    --primary-container:      #1a237e;
    --primary-fixed:          #e0e0ff;
    --primary-fixed-dim:      #bdc2ff;
    --on-primary:             #ffffff;
    --on-primary-container:   #8690ee;
    --on-primary-fixed:       #000767;
    --on-primary-fixed-var:   #343d96;

    --secondary:              #1b6d24;
    --secondary-container:    #a0f399;
    --secondary-fixed:        #a3f69c;
    --secondary-fixed-dim:    #88d982;
    --on-secondary:           #ffffff;
    --on-secondary-container: #217128;

    --tertiary:               #380b00;
    --tertiary-container:     #5c1800;
    --tertiary-fixed:         #ffdbd0;
    --tertiary-fixed-dim:     #ffb59d;
    --on-tertiary:            #ffffff;
    --on-tertiary-container:  #e17c5a;
    --on-tertiary-fixed-var:  #7b2e12;

    --surface:                #f9f9f9;
    --surface-dim:            #dadada;
    --surface-bright:         #f9f9f9;
    --surface-container-low:  #f3f3f3;
    --surface-container:      #eeeeee;
    --surface-container-high: #e8e8e8;
    --surface-container-highest: #e2e2e2;
    --surface-container-lowest:  #ffffff;
    --on-surface:             #1a1c1c;
    --on-surface-variant:     #454652;
    --inverse-surface:        #2f3131;
    --inverse-on-surface:     #f1f1f1;

    --outline:                #767683;
    --outline-variant:        #c6c5d4;

    --error:                  #ba1a1a;
    --error-container:        #ffdad6;
    --on-error:               #ffffff;
    --on-error-container:     #93000a;

    --background:             #f9f9f9;
    --on-background:          #1a1c1c;

    /* Shadows — Tonal Depth (no hard shadows per DESIGN.md) */
    --shadow-tonal:           0 4px 32px rgba(26, 28, 28, 0.04);
    --shadow-float:           0 8px 32px rgba(26, 28, 28, 0.06);
    --shadow-ambient:         0 8px 32px rgba(26, 28, 28, 0.06);

    /* Radii */
    --radius-sm:   0.125rem;
    --radius-md:   0.375rem;
    --radius-lg:   0.5rem;
    --radius-xl:   0.75rem;
    --radius-full: 999px;

    /* Sidebar width */
    --sidebar-w: 256px;
    --topbar-h:  64px;
}

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

html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--surface);
    color: var(--on-surface);
    min-height: 100vh;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }

/* --- Material Symbols --- */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    line-height: 1;
}
.icon-fill { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }

/* ============================================================
   LAYOUT
   ============================================================ */

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

/* --- Sidebar --- */
.sidebar {
    position: fixed;
    left: 0; top: 0;
    width: var(--sidebar-w);
    height: 100vh;
    background: var(--primary-container);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
    z-index: 60;
    overflow-y: auto;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 0.5rem;
    margin-bottom: 2.5rem;
}

.sidebar-brand-icon {
    width: 2rem;
    height: 2rem;
    background: #fff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sidebar-brand-icon .material-symbols-outlined {
    color: var(--primary-container);
    font-size: 1.2rem;
}

.sidebar-brand-text h1 {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1;
}

.sidebar-brand-text p {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    margin-top: 3px;
}

.sidebar-nav { flex: 1; display: flex; flex-direction: column; gap: 2px; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: var(--radius-md);
    color: rgba(255,255,255,0.65);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

.nav-link:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.nav-link.active {
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-weight: 700;
}

.nav-link .material-symbols-outlined { font-size: 1.25rem; flex-shrink: 0; }

.sidebar-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* --- Topbar --- */
.topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: var(--sidebar-w);
    height: var(--topbar-h);
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 50;
    box-shadow: var(--shadow-tonal);
}

.topbar-left { display: flex; align-items: center; gap: 1.5rem; flex: 1; }

.topbar-title {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--primary);
    white-space: nowrap;
}

.topbar-search {
    position: relative;
    width: 100%;
    max-width: 28rem;
}

.topbar-search .material-symbols-outlined {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--outline);
    font-size: 1.1rem;
    pointer-events: none;
}

.topbar-search input {
    width: 100%;
    background: var(--surface-container-low);
    border: none;
    border-radius: var(--radius-lg);
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    font-size: 0.875rem;
    color: var(--on-surface);
    outline: none;
    transition: background 0.2s;
}

.topbar-search input:focus {
    background: var(--surface-container-lowest);
    box-shadow: 0 0 0 1.5px var(--primary);
}

.topbar-right { display: flex; align-items: center; gap: 1rem; }

.topbar-action-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: transparent;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--on-surface-variant);
    cursor: pointer;
    transition: background 0.15s;
    position: relative;
}

.topbar-action-btn:hover { background: var(--surface-container); }

.topbar-notif-dot {
    position: absolute;
    top: 8px; right: 8px;
    width: 8px; height: 8px;
    background: var(--error);
    border-radius: 50%;
}

.topbar-divider {
    width: 1px;
    height: 2rem;
    background: rgba(198, 197, 212, 0.35);
    margin: 0 0.25rem;
}

.topbar-user { display: flex; align-items: center; gap: 0.75rem; }

.topbar-user-info { text-align: right; }
.topbar-user-info .name { font-size: 0.75rem; font-weight: 700; color: var(--on-surface); }
.topbar-user-info .role { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-surface-variant); }

.topbar-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    background: var(--primary-fixed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.875rem;
    color: var(--primary);
    flex-shrink: 0;
}

/* --- Main Content --- */
.main-content {
    margin-left: var(--sidebar-w);
    padding-top: var(--topbar-h);
    min-height: 100vh;
    flex: 1;
}

.page-inner {
    padding: 2rem;
    max-width: 1400px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.page-title {
    font-size: 1.625rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--on-surface);
    line-height: 1.2;
}

.page-subtitle {
    font-size: 0.875rem;
    color: var(--on-surface-variant);
    margin-top: 0.25rem;
}

.section-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--on-surface-variant);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
    background: var(--surface-container-lowest);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-tonal);
}

.card-padded { padding: 1.5rem; }
.card-padded-lg { padding: 2rem; }

.stat-card {
    background: var(--surface-container-lowest);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-tonal);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-card-header { display: flex; align-items: flex-start; justify-content: space-between; }

.stat-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
}

.stat-badge.up { background: rgba(160, 243, 153, 0.3); color: var(--secondary); }
.stat-badge.down { background: rgba(255, 218, 214, 0.4); color: var(--error); }
.stat-badge.neutral { background: var(--surface-container); color: var(--on-surface-variant); }

.stat-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--on-surface-variant);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--on-surface);
    line-height: 1;
}

.stat-note {
    font-size: 0.7rem;
    color: var(--outline);
    font-style: italic;
    margin-top: 0.25rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.15s, transform 0.1s;
    white-space: nowrap;
    line-height: 1.5;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    color: var(--on-primary);
}
.btn-primary:hover { opacity: 0.9; }

.btn-secondary {
    background: var(--secondary);
    color: var(--on-secondary);
}
.btn-secondary:hover { opacity: 0.9; }

.btn-ghost {
    background: var(--surface-container-lowest);
    color: var(--on-surface-variant);
}
.btn-ghost:hover { background: var(--surface-container); }

.btn-danger {
    background: var(--error-container);
    color: var(--on-error-container);
}
.btn-danger:hover { opacity: 0.85; }

.btn-sm { padding: 0.35rem 0.875rem; font-size: 0.8rem; }
.btn-lg { padding: 0.75rem 1.75rem; font-size: 1rem; }

.btn .material-symbols-outlined { font-size: 1.1rem; }

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(69, 70, 82, 0.8);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: var(--surface-container);
    border: none;
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--on-surface);
    outline: none;
    transition: background 0.2s, box-shadow 0.2s;
    resize: vertical;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    background: var(--surface-container-lowest);
    box-shadow: 0 0 0 1.5px var(--primary);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--outline); }

.form-textarea { min-height: 120px; }

/* ============================================================
   TABLES
   ============================================================ */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-xl); }

table { width: 100%; border-collapse: collapse; }

thead th {
    padding: 0.75rem 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--on-surface-variant);
    background: var(--surface-container-low);
    text-align: left;
    white-space: nowrap;
}

tbody tr {
    border-bottom: 8px solid var(--surface);
    background: var(--surface-container-lowest);
    transition: background 0.12s;
}

tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--surface-container-low); }

tbody td {
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    color: var(--on-surface);
    vertical-align: middle;
}

/* ============================================================
   BADGES / CHIPS
   ============================================================ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.badge-success { background: var(--secondary-container); color: var(--on-secondary-container); }
.badge-primary { background: var(--primary-fixed); color: var(--primary); }
.badge-warning { background: var(--tertiary-fixed); color: var(--on-tertiary-fixed-var); }
.badge-danger  { background: var(--error-container); color: var(--on-error-container); }
.badge-neutral { background: var(--surface-container-high); color: var(--on-surface-variant); }

/* ============================================================
   ALERTS / TOASTS
   ============================================================ */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.alert-success { background: rgba(160, 243, 153, 0.25); color: var(--secondary); }
.alert-error   { background: var(--error-container); color: var(--on-error-container); }
.alert-info    { background: var(--primary-fixed); color: var(--primary); }

#toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-float);
    animation: slideInToast 0.25s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 20rem;
}

.toast-success { background: var(--secondary); color: #fff; }
.toast-error   { background: var(--error); color: #fff; }
.toast-info    { background: var(--primary); color: #fff; }

@keyframes slideInToast {
    from { transform: translateX(110%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-backdrop {
    position: fixed; inset: 0;
    background: rgba(26, 28, 28, 0.45);
    backdrop-filter: blur(4px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal-backdrop.open { display: flex; }

.modal {
    background: var(--surface-container-lowest);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-float);
    width: 100%;
    max-width: 36rem;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn 0.2s ease;
}

.modal-lg { max-width: 52rem; }

@keyframes modalIn {
    from { transform: scale(0.95); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 8px solid var(--surface);
}

.modal-header h3 { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }

.modal-close {
    background: transparent; border: none;
    width: 2rem; height: 2rem;
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--on-surface-variant);
    transition: background 0.15s;
}
.modal-close:hover { background: var(--surface-container); }

.modal-body { padding: 1.5rem; }
.modal-footer {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    border-top: 8px solid var(--surface);
}

/* ============================================================
   GRID HELPERS
   ============================================================ */
.grid-cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-cols-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3-1    { display: grid; grid-template-columns: 1fr 1fr 1fr 380px; gap: 1.5rem; }

@media (max-width: 1200px) {
    .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3-1    { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .grid-cols-4, .grid-cols-3, .grid-cols-2 { grid-template-columns: 1fr; }
    :root { --sidebar-w: 0px; }
    .sidebar { transform: translateX(-100%); }
    .topbar  { left: 0; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.flex   { display: flex; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2  { gap: 0.5rem; }
.gap-3  { gap: 0.75rem; }
.gap-4  { gap: 1rem; }
.gap-6  { gap: 1.5rem; }
.gap-8  { gap: 2rem; }
.mt-1   { margin-top: 0.25rem; }
.mt-2   { margin-top: 0.5rem; }
.mt-4   { margin-top: 1rem; }
.mt-6   { margin-top: 1.5rem; }
.mt-8   { margin-top: 2rem; }
.mb-4   { margin-bottom: 1rem; }
.mb-6   { margin-bottom: 1.5rem; }
.mb-8   { margin-bottom: 2rem; }
.w-full { width: 100%; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--on-surface-variant); }
.text-error { color: var(--error); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Primary Gradient Background Utility */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
}

/* Avatar Placeholder */
.avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    background: var(--primary-fixed);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Loading spinner */
.spinner {
    width: 1.25rem; height: 1.25rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: none;
}
.spinner.show { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Pulse dot */
.dot-live {
    display: inline-block;
    width: 0.5rem; height: 0.5rem;
    background: var(--secondary);
    border-radius: 50%;
    animation: pulseLive 1.6s ease-in-out infinite;
}
@keyframes pulseLive {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.8); }
}

/* Search highlight */
mark { background: rgba(0,6,102,0.12); color: var(--primary); border-radius: 2px; padding: 0 2px; }

/* Login page special */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 60%, #2c3e9e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-card {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 24rem;
    box-shadow: 0 24px 64px rgba(0,6,102,0.25);
}

/* Checkbox styling */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.checkbox-group input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--primary);
    cursor: pointer;
}

/* Page header row */
.page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
}
@media (max-width: 600px) {
    .page-header { flex-direction: column; align-items: flex-start; }
}

/* Separator (no lines rule: use space) */
.section-gap { margin-top: 2rem; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--outline-variant); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--outline); }

/* FAB */
.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
    color: #fff;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 32px rgba(0, 6, 102, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 70;
}
.fab:hover { transform: scale(1.08); box-shadow: 0 12px 40px rgba(0, 6, 102, 0.45); }
.fab:active { transform: scale(0.95); }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--on-surface-variant);
}
.empty-state .material-symbols-outlined {
    font-size: 3.5rem;
    opacity: 0.35;
    display: block;
    margin: 0 auto 1rem;
}
.empty-state p { font-size: 0.9rem; }
