:root {
    --cash: #10B981;
    --cash-light: #d1fae5;
    --cash-dark: #059669;
    --cash-glow: rgba(16,185,129,0.25);
    --cash-bg: #ecfdf5;
    --sales: #3B82F6;
    --sales-light: #dbeafe;
    --sales-dark: #2563EB;
    --sales-glow: rgba(59,130,246,0.25);
    --sales-bg: #eff6ff;
    --expenses: #F87171;
    --expenses-light: #fee2e2;
    --expenses-dark: #DC2626;
    --expenses-glow: rgba(248,113,113,0.25);
    --expenses-bg: #fef2f2;
    --profit: #22C55E;
    --profit-light: #bbf7d0;
    --profit-dark: #16A34A;
    --profit-glow: rgba(34,197,94,0.25);
    --profit-bg: #f0fdf4;
    --biz-bigasan: #2563EB;
    --biz-bakery: #F59E0B;
    --biz-laundry: #8B5CF6;
    --neutral: #71717a;
    --neutral-bg: #f4f4f5;
    --bg: #F1F5F9;
    --surface: #ffffff;
    --surface-glass: rgba(255,255,255,0.8);
    --border: #E2E8F0;
    --text: #0F172A;
    --text-sec: #475569;
    --text-muted: #94A3B8;
    --radius: 16px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-xl: 0 12px 32px rgba(0,0,0,0.12);
    --shadow-glow: 0 8px 32px rgba(59,130,246,0.15);
    --sidebar-w: 240px;
    --topbar-h: 60px;
    --font: 'Inter', -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
    :root:not(.light) {
        --bg: #0b1120;
        --surface: #1a2332;
        --surface-glass: rgba(26,35,50,0.85);
        --border: #1e293b;
        --text: #f1f5f9;
        --text-sec: #94a3b8;
        --text-muted: #475569;
        --neutral-bg: #1e293b;
        --sales-bg: #1e3a5f;
        --profit-bg: #052e16;
        --expenses-bg: #3b1f1f;
        --cash-bg: #042f2e;
        --shadow: 0 1px 3px rgba(0,0,0,0.3);
        --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
        --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
        --shadow-xl: 0 24px 48px rgba(0,0,0,0.6);
        --shadow-glow: 0 8px 32px rgba(59,130,246,0.1);
        --cash-glow: rgba(16,185,129,0.15);
        --sales-glow: rgba(59,130,246,0.15);
        --expenses-glow: rgba(248,113,113,0.15);
        --profit-glow: rgba(34,197,94,0.15);
    }
}
:root.dark {
    --bg: #0b1120;
    --surface: #1a2332;
    --surface-glass: rgba(26,35,50,0.85);
    --border: #1e293b;
    --text: #f1f5f9;
    --text-sec: #94a3b8;
    --text-muted: #475569;
    --neutral-bg: #1e293b;
    --sales-bg: #1e3a5f;
    --profit-bg: #052e16;
    --expenses-bg: #3b1f1f;
    --cash-bg: #042f2e;
    --shadow: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
    --shadow-xl: 0 24px 48px rgba(0,0,0,0.6);
    --shadow-glow: 0 8px 32px rgba(59,130,246,0.1);
    --cash-glow: rgba(16,185,129,0.15);
    --sales-glow: rgba(59,130,246,0.15);
    --expenses-glow: rgba(248,113,113,0.15);
    --profit-glow: rgba(34,197,94,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; transition: background-color 0.3s ease; }
html.dark, html.light { transition: background-color 0.3s ease; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.5; overflow-x: hidden; transition: background-color 0.3s ease, color 0.3s ease; }
input, select, textarea, button { font-family: inherit; }
a { text-decoration: none; color: inherit; }
::selection { background: var(--sales); color: white; }

/* ===== AUTH ===== */
.auth-screen {
    position: fixed; inset: 0;
    background: linear-gradient(135deg, #09090b 0%, #18181b 50%, #09090b 100%);
    display: flex; align-items: center; justify-content: center;
    z-index: 500; padding: 20px;
}
.auth-box { max-width: 420px; width: 100%; padding: 40px; }
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--cash), var(--profit)); border-radius: 18px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 28px; color: white; box-shadow: 0 8px 24px rgba(5,150,105,0.3); }
.auth-logo h1 { font-size: 22px; font-weight: 700; }
.auth-logo p { font-size: 13px; color: var(--text-sec); margin-top: 4px; }
.auth-form { display: none; flex-direction: column; gap: 16px; }
.auth-form.active { display: flex; }
.auth-form h2 { font-size: 16px; font-weight: 600; text-align: center; margin-bottom: 4px; color: var(--text-sec); }
.auth-btn { width: 100%; justify-content: center; padding: 14px; font-size: 15px; border-radius: var(--radius-sm); }
.auth-error { color: var(--expenses); font-size: 13px; text-align: center; min-height: 20px; }

/* ===== GLASS ===== */
.glass {
    background: var(--surface-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
}
@media (prefers-color-scheme: dark) {
    :root:not(.light) .glass { border-color: rgba(255,255,255,0.05); }
}
.dark .glass { border-color: rgba(255,255,255,0.05); }

/* ===== SIDEBAR ===== */
.sidebar {
    position: fixed; top: 0; left: 0;
    width: var(--sidebar-w); height: 100vh;
    display: flex; flex-direction: column; z-index: 100;
    transition: transform var(--transition);
    background: #0F172A;
    color: #E2E8F0;
}
.sidebar-header { padding: 20px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg, #10B981, #059669); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-size: 18px; flex-shrink: 0; box-shadow: 0 4px 12px rgba(16,185,129,0.3); }
.logo-text h2 { font-size: 15px; font-weight: 700; line-height: 1.2; color: white; }
.logo-text span { font-size: 11px; color: #94A3B8; }

.biz-selector {
    margin: 12px 16px; padding: 0 12px;
    border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-sm);
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,0.05);
}
.biz-selector i:first-child { color: #94A3B8; font-size: 14px; }
.biz-selector select {
    flex: 1; padding: 10px 0;
    border: none; background: transparent;
    font-size: 13px; font-weight: 500; color: white;
    cursor: pointer; outline: none;
    -webkit-appearance: none; appearance: none;
}
.biz-selector select option { background: #1E293B; color: white; }
.biz-selector > i:last-child { font-size: 10px; color: #94A3B8; pointer-events: none; }

.sidebar-nav { flex: 1; padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; }
.nav-btn {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px; border: none; border-radius: var(--radius-sm);
    background: transparent; color: #94A3B8;
    font-size: 14px; font-weight: 500; cursor: pointer;
    transition: all var(--transition); text-align: left; width: 100%;
}
.nav-btn:hover { background: rgba(255,255,255,0.05); color: white; }
.nav-btn.active { background: #2563EB; color: white; font-weight: 600; }
.nav-btn i { width: 20px; text-align: center; font-size: 16px; flex-shrink: 0; }

.sidebar-footer {
    padding: 14px 16px; border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; gap: 12px;
}
.user-profile { display: flex; align-items: center; gap: 10px; flex: 1; overflow: hidden; }
.avatar { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #94A3B8; font-size: 14px; flex-shrink: 0; }
.user-meta { overflow: hidden; }
.user-name { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: white; }
.user-role { font-size: 11px; color: #94A3B8; }
.logout { color: #94A3B8; flex-shrink: 0; background: transparent; border: none; cursor: pointer; padding: 8px; border-radius: 8px; }
.logout:hover { background: rgba(239,68,68,0.2); color: #F87171; }

/* ===== MAIN ===== */
.main-content { margin-left: var(--sidebar-w); min-height: 100vh; background: var(--bg); }

.topbar {
    position: sticky; top: 0; height: var(--topbar-h);
    display: flex; align-items: center; padding: 0 24px; gap: 16px; z-index: 50;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.menu-toggle { display: none; width: 36px; height: 36px; border: none; border-radius: var(--radius-xs); background: transparent; color: var(--text); cursor: pointer; font-size: 18px; }
.topbar-left { display: flex; align-items: baseline; gap: 12px; flex: 1; }
.page-title { font-size: 20px; font-weight: 700; color: var(--text); }
.page-subtitle { font-size: 13px; color: var(--text-muted); }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.topbar-btn { width: 40px; height: 40px; border-radius: 10px; border: none; background: var(--bg); color: var(--text-sec); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--transition); font-size: 16px; position: relative; }
.topbar-btn:hover { background: var(--surface); color: var(--text); }
.topbar-badge { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; background: #EF4444; border-radius: 50%; border: 2px solid var(--surface); }

/* ===== PAGES ===== */
.page { display: none; padding: 12px 20px; animation: pageIn 0.3s ease; }
.page.active { display: block; }
.page#page-expenses.active {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
    overflow: hidden;
    box-sizing: border-box;
}
@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.page-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 8px; }
.page-header h2 { font-size: 18px; font-weight: 700; }
.page-desc { font-size: 12px; color: var(--text-muted); margin-top: 1px; }

/* ===== KPI GRID ===== */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
.kpi-card {
    position: relative;
    border-radius: 14px;
    padding: 18px 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: none;
    color: white;
    cursor: default;
}
.kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Cash On Hand - Green Gradient */
.kpi-card.cash {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 4px 16px rgba(16,185,129,0.3);
}
.kpi-card.cash:hover {
    box-shadow: 0 8px 32px rgba(16,185,129,0.4);
}

/* Today's Sales - Blue Gradient */
.kpi-card.sales-today {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    box-shadow: 0 4px 16px rgba(59,130,246,0.3);
}
.kpi-card.sales-today:hover {
    box-shadow: 0 8px 32px rgba(59,130,246,0.4);
}

/* Monthly Sales - Blue Gradient */
.kpi-card.sales-month {
    background: linear-gradient(135deg, #60A5FA, #3B82F6);
    box-shadow: 0 4px 16px rgba(59,130,246,0.3);
}
.kpi-card.sales-month:hover {
    box-shadow: 0 8px 32px rgba(59,130,246,0.4);
}

/* Monthly Expenses - Red Gradient */
.kpi-card.expenses {
    background: linear-gradient(135deg, #F87171, #DC2626);
    box-shadow: 0 4px 16px rgba(248,113,113,0.3);
}
.kpi-card.expenses:hover {
    box-shadow: 0 8px 32px rgba(248,113,113,0.4);
}

/* Monthly Profit - Green Gradient */
.kpi-card.profit {
    background: linear-gradient(135deg, #34D399, #10B981);
    box-shadow: 0 4px 16px rgba(34,197,94,0.3);
}
.kpi-card.profit:hover {
    box-shadow: 0 8px 32px rgba(34,197,94,0.4);
}

/* Avg Daily Sales - Purple Gradient */
.kpi-card.neutral {
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    box-shadow: 0 4px 16px rgba(139,92,246,0.3);
}
.kpi-card.neutral:hover {
    box-shadow: 0 8px 32px rgba(139,92,246,0.4);
}

.kpi-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.2);
    color: white;
    backdrop-filter: blur(4px);
}
.kpi-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
    position: relative;
    z-index: 1;
}
.kpi-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255,255,255,0.9);
}
.kpi-value {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: white;
}
.kpi-change {
    font-size: 10px;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.8);
}
.kpi-change .up { color: white; font-weight: 600; }
.kpi-change .down { color: white; font-weight: 600; }
.kpi-change .trend-icon { font-size: 10px; }
.kpi-sub {
    font-size: 11px;
    margin-top: 1px;
    color: rgba(255,255,255,0.8);
}

/* Sparkline container */
.kpi-sparkline {
    position: absolute;
    bottom: 6px;
    right: 10px;
    width: 50px;
    height: 25px;
    opacity: 0.4;
}

/* ===== BUSINESS CARDS ===== */
.biz-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}
.biz-card {
    background: var(--surface);
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
}
.biz-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.biz-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.biz-dot-lg {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}
.biz-dot-lg.bigasan { background: var(--biz-bigasan); }
.biz-dot-lg.bakery { background: var(--biz-bakery); }
.biz-dot-lg.laundry { background: var(--biz-laundry); }
.biz-head h4 {
    font-size: 16px;
    font-weight: 700;
    flex: 1;
}
.biz-head i {
    color: var(--text-muted);
    font-size: 16px;
    transition: all var(--transition);
    background: var(--bg);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.biz-card:hover .biz-head i {
    transform: translateX(4px);
    color: var(--sales);
}
.biz-stats {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    z-index: 1;
}
.biz-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}
.biz-stat:last-child {
    border-bottom: none;
}
.biz-stat span {
    color: var(--text-sec);
    font-size: 13px;
}
.biz-stat strong {
    font-weight: 700;
    font-size: 14px;
}
.biz-stat strong.sales { color: var(--text); }
.biz-stat strong.expenses { color: var(--expenses); }
.biz-stat strong.profit { color: var(--profit); }

/* ===== CHARTS ===== */
.dash-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.dash-grid-3col {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.dash-side-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.chart-card {
    background: var(--surface);
    border-radius: 14px;
    padding: 14px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.card {
    background: var(--surface);
    border-radius: 14px;
    padding: 14px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    flex-wrap: wrap;
    gap: 8px;
}
.chart-header h3 {
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
}
.chart-header h3 i {
    font-size: 12px;
    color: var(--text-muted);
}
.chart-body {
    position: relative;
    min-height: 160px;
}
.chart-body-sm {
    min-height: 150px;
}
.chart-periods {
    display: flex;
    gap: 3px;
    background: var(--bg);
    padding: 2px;
    border-radius: 8px;
}
.period-btn {
    padding: 4px 12px;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: var(--text-sec);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}
.period-btn.active {
    background: var(--sales);
    color: white;
    box-shadow: 0 2px 8px rgba(59,130,246,0.3);
}
.period-btn:hover:not(.active) {
    color: var(--text);
    background: var(--surface);
}

/* View All link */
.view-all-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--sales);
    text-decoration: none;
    transition: all var(--transition);
}
.view-all-link:hover {
    color: var(--sales-dark);
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .dash-grid-3col { grid-template-columns: 1fr 1fr; }
    .dash-grid-3col > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .dash-grid-3col { grid-template-columns: 1fr; }
    .dash-grid-3col > :last-child { grid-column: auto; }
    .dash-grid-2col { grid-template-columns: 1fr; }
}

/* ===== VERIFICATION ===== */
.veri-grid { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.veri-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: 13px; }
.veri-row span { color: var(--text-sec); }
.veri-row strong { font-weight: 700; font-size: 15px; }
.veri-divider { border-top: 1px solid var(--border); padding-top: 8px; margin-top: 2px; }
.veri-divider strong { font-size: 18px; }
.veri-history { margin-top: 8px; }
.veri-history-item { display: flex; justify-content: space-between; padding: 6px 8px; background: var(--bg); border-radius: var(--radius-xs); margin-top: 4px; font-size: 11px; }

/* ===== ACTIVITY FEED ===== */
.activity-feed { display: flex; flex-direction: column; gap: 2px; max-height: 300px; overflow-y: auto; }
.activity-empty { text-align: center; padding: 24px; color: var(--text-muted); font-size: 12px; }
.activity-item {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 0; border-bottom: 1px solid var(--border);
    animation: slideIn 0.2s ease;
}
.activity-item:last-child { border-bottom: none; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: translateX(0); } }
.activity-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0;
}
.activity-icon.sales { background: var(--sales-bg); color: var(--sales); }
.activity-icon.expense { background: var(--expenses-bg); color: var(--expenses); }
.activity-content { flex: 1; min-width: 0; }
.activity-text { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.activity-meta { font-size: 11px; color: var(--text-muted); margin-top: 1px; }
.activity-amount { font-weight: 700; font-size: 14px; white-space: nowrap; }
.activity-amount.sales { color: var(--sales); }
.activity-amount.expense { color: var(--expenses); }
.activity-actions { display: flex; gap: 2px; flex-shrink: 0; }
.activity-btn { width: 28px; height: 28px; border: none; border-radius: 6px; background: transparent; color: var(--text-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 11px; transition: all 0.15s; opacity: 0; }
.activity-item:hover .activity-btn { opacity: 1; }
.activity-btn:hover { background: var(--bg); color: var(--text); }
.activity-item:hover .activity-actions { display: flex; }

/* ===== DAILY CLOSING ===== */
.closing-grid { display: flex; flex-direction: column; gap: 8px; }
.closing-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; font-size: 14px; }
.closing-row span { color: var(--text-sec); }
.closing-row strong { font-weight: 600; }
.closing-row strong.sales { color: var(--sales); }
.closing-row strong.expenses { color: var(--expenses); }
.closing-row strong.profit { color: var(--profit); }
.closing-divider { height: 1px; background: var(--border); margin: 4px 0; }
.closing-total { border-top: 1px solid var(--border); padding-top: 10px; }
.closing-grand { margin-top: 4px; }
.closing-grand strong { font-size: 16px; }
.closing-cash { background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(5,150,105,0.05)); padding: 12px 16px; border-radius: var(--radius-sm); margin-top: 8px; border: 1px solid rgba(16,185,129,0.15); }
.closing-cash span { font-weight: 600; color: var(--cash); }
.closing-cash strong { font-size: 24px; color: var(--cash-dark); font-weight: 800; }
.closing-date-label { font-size: 12px; color: var(--text-muted); }

/* ===== INPUTS ===== */
.input {
    padding: 10px 14px; border: 1px solid var(--border);
    border-radius: var(--radius-xs); font-size: 14px;
    color: var(--text); background: var(--surface);
    transition: border-color 0.15s; outline: none; width: 100%;
}
.input:focus { border-color: var(--sales); box-shadow: 0 0 0 3px rgba(59,130,246,0.12); }
select.input { cursor: pointer; }
.input-affix { position: relative; display: flex; align-items: center; }
.affix { position: absolute; left: 14px; font-weight: 500; color: var(--text-muted); font-size: 16px; pointer-events: none; }
.input-affix .input { padding-left: 30px; }
.input-amount-lg { font-size: 18px; font-weight: 600; padding: 12px 14px 12px 30px; }
.input-search { border: none; background: var(--bg); padding-left: 32px; border-radius: 20px; }

/* ===== BUTTONS ===== */
.btn {
    padding: 10px 20px; border: none; border-radius: var(--radius-xs);
    font-size: 14px; font-weight: 500; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all var(--transition);
}
.btn-primary { background: var(--sales); color: white; }
.btn-primary:hover { background: #1d4ed8; box-shadow: 0 4px 12px rgba(37,99,235,0.3); }
.btn-danger { background: var(--expenses); color: white; }
.btn-danger:hover { background: #dc2626; box-shadow: 0 4px 12px rgba(239,68,68,0.3); }
.btn-ghost { background: transparent; color: var(--text-sec); }
.btn-ghost:hover { background: var(--neutral-bg); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text-sec); }
.btn-outline:hover { border-color: var(--sales); color: var(--sales); }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-block { width: 100%; justify-content: center; }
.btn-icon {
    width: 32px; height: 32px; padding: 0; border: none; border-radius: 6px;
    background: transparent; cursor: pointer; transition: all 0.15s; font-size: 13px;
}
.btn-icon.edit { color: var(--sales); }
.btn-icon.edit:hover { background: var(--sales-bg); }
.btn-icon.delete { color: var(--expenses); }
.btn-icon.delete:hover { background: var(--expenses-bg); }

/* ===== SEARCH ===== */
.search-input { position: relative; }
.search-input i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 13px; pointer-events: none; }
.search-input .input { padding-left: 32px; }
.sales-search { position: relative; }
.sales-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 13px; z-index: 1; }
.sales-search .input { padding-left: 32px; width: 220px; }
@media (prefers-color-scheme: dark) {
    :root:not(.light) .sales-search .input { background: var(--bg); }
}
.dark .sales-search .input { background: var(--bg); }

/* ===== FILTERS ===== */
.filters-bar {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 20px; flex-wrap: wrap;
}
.filters-bar span { color: var(--text-muted); font-size: 13px; }
.filters-card { padding: 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); }

/* ===== TABLES ===== */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead th { text-align: left; padding: 12px 14px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; color: var(--text-muted); border-bottom: 2px solid var(--border); white-space: nowrap; }
tbody td { padding: 12px 14px; border-bottom: 1px solid var(--border); color: var(--text); }
tbody tr:hover { background: var(--bg); }
tbody td.empty { text-align: center; color: var(--text-muted); padding: 40px 14px; }
.summary-bar { padding: 14px 20px; background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(59,130,246,0.02)); border-radius: var(--radius-sm); font-size: 15px; font-weight: 700; color: var(--sales-dark); margin-top: 16px; text-align: right; }

/* ===== DAILY SALES ===== */
.form-card { max-width: 600px; padding: 28px; border-radius: var(--radius); }
.sales-entry-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.sales-entry-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-sec); margin-bottom: 8px; }
.biz-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.biz-dot.bigasan { background: var(--biz-bigasan); }
.biz-dot.bakery { background: var(--biz-bakery); }
.biz-dot.laundry { background: var(--biz-laundry); }
.sales-total-bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; margin: 16px 0; border-top: 2px solid var(--border); font-weight: 700; font-size: 18px; }
.total-amount { font-size: 24px; color: var(--sales); }

/* ===== FORMS ===== */
.form-group { margin-bottom: 16px; }
.form-group:last-child { margin-bottom: 0; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text-sec); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.3px; }
.form-group .input { width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cash-display { font-size: 28px; font-weight: 800; color: var(--cash-dark); padding: 8px 0; }

/* ===== MODALS ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: none; align-items: center; justify-content: center; z-index: 200; backdrop-filter: blur(4px); }
.modal-overlay.active { display: flex; }
.modal { background: var(--surface); border-radius: var(--radius); width: 500px; max-width: 95vw; max-height: 90vh; display: flex; flex-direction: column; box-shadow: var(--shadow-xl); animation: modalIn 0.2s ease; }
.modal-sm { width: 400px; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.modal-header h3 { font-size: 16px; font-weight: 700; }
.modal-close { width: 32px; height: 32px; border: none; border-radius: 8px; background: transparent; color: var(--text-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all 0.15s; }
.modal-close:hover { background: var(--bg); color: var(--text); }
.modal-body { padding: 24px; overflow-y: auto; flex: 1; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--border); }

/* ===== REPORTS ===== */
.report-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.report-big { font-size: 26px; font-weight: 800; margin-top: 8px; letter-spacing: -0.3px; }

/* ===== SETTINGS ===== */
.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.setting-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.setting-badge { margin-top: 16px; padding: 12px; background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(5,150,105,0.05)); border-radius: var(--radius-xs); font-size: 13px; color: var(--cash-dark); font-weight: 600; border: 1px solid rgba(16,185,129,0.15); }
.cash-summary { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.cs-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 14px; }
.cs-row span { color: var(--text-sec); }
.cs-row strong { font-weight: 700; font-size: 18px; }
.cs-row strong.sales { color: var(--sales-dark); }
.cs-row strong.expenses { color: var(--expenses-dark); }
.cs-row strong.cash { color: var(--cash-dark); }
.cs-total { border-top: 2px solid var(--border); padding-top: 14px; margin-top: 4px; }

/* ===== BADGE ===== */
.badge { display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }
.badge-bigasan { background: rgba(37,99,235,0.1); color: var(--biz-bigasan); }
.badge-bakery { background: rgba(245,158,11,0.1); color: var(--biz-bakery); }
.badge-laundry { background: rgba(139,92,246,0.1); color: var(--biz-laundry); }

/* ===== TOAST ===== */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 300; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 14px 20px; border-radius: var(--radius-sm); background: var(--text); color: white; font-size: 13px; font-weight: 500; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; animation: toastIn 0.3s ease; }
.toast-success { background: var(--profit); }
.toast-error { background: var(--expenses); }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

.sidebar-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 99; display: none; }
.sidebar-backdrop.active { display: block; }

/* ===== EXPENSES PAGE ===== */
.exp-header-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.exp-date-range { display: flex; align-items: center; gap: 6px; }
.exp-date-range .input { width: 130px; padding: 6px 10px; font-size: 12px; }
.exp-date-range span { color: var(--text-muted); font-size: 13px; }

.exp-kpi-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    margin-bottom: 6px;
    flex-shrink: 0;
}
.exp-kpi-card {
    border-radius: 12px;
    padding: 8px 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #0F172A;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.exp-kpi-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.exp-kpi-red { background: linear-gradient(135deg, #FEE2E2, #FECACA); }
.exp-kpi-orange { background: linear-gradient(135deg, #FFEDD5, #FED7AA); }
.exp-kpi-yellow { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }
.exp-kpi-teal { background: linear-gradient(135deg, #CCFBF1, #99F6E4); }
.exp-kpi-green { background: linear-gradient(135deg, #DCFCE7, #BBF7D0); }
.exp-kpi-icon {
    width: 26px; height: 26px; border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; flex-shrink: 0;
    background: rgba(255,255,255,0.7);
}
.exp-kpi-red .exp-kpi-icon { color: #DC2626; }
.exp-kpi-orange .exp-kpi-icon { color: #EA580C; }
.exp-kpi-yellow .exp-kpi-icon { color: #D97706; }
.exp-kpi-teal .exp-kpi-icon { color: #0D9488; }
.exp-kpi-green .exp-kpi-icon { color: #16A34A; }
.exp-kpi-blue { background: linear-gradient(135deg, #DBEAFE, #BFDBFE); }
.exp-kpi-blue .exp-kpi-icon { color: #2563EB; }
.exp-kpi-amber { background: linear-gradient(135deg, #FEF3C7, #FCD34D); }
.exp-kpi-amber .exp-kpi-icon { color: #D97706; }
.exp-kpi-purple { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); }
.exp-kpi-purple .exp-kpi-icon { color: #7C3AED; }
.exp-kpi-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.exp-kpi-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #64748B; }
.exp-kpi-value { font-size: 16px; font-weight: 800; line-height: 1.1; color: #0F172A; }
.exp-kpi-change { font-size: 11px; color: #64748B; display: flex; align-items: center; gap: 4px; }
.exp-kpi-change .down { color: #16A34A; font-weight: 600; }
.exp-kpi-change .up { color: #DC2626; font-weight: 600; }
.exp-kpi-sub { font-size: 11px; color: #94A3B8; margin-top: 1px; }

.exp-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
    flex: 1;
    min-height: 0;
}
.exp-history-card, .exp-cat-card, .exp-biz-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 8px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.exp-history-card .table-wrap {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}
.exp-cat-card { overflow: hidden; }
.exp-sidebar-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
}
.exp-history-actions { display: flex; gap: 8px; align-items: center; }
.exp-history-actions .input { width: 200px; padding: 8px 12px 8px 32px; font-size: 13px; border: 1px solid var(--border); border-radius: var(--radius-xs); }

.exp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.exp-table thead th { text-align: left; padding: 5px 8px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; color: var(--text-muted); border-bottom: 2px solid var(--border); white-space: nowrap; cursor: pointer; user-select: none; }
.exp-table thead th:hover { color: var(--text); }
.sort-icon { font-size: 9px; margin-left: 4px; opacity: 0.4; }
.exp-table tbody td { padding: 5px 8px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.exp-table tbody tr:hover { background: var(--bg); }
.exp-table tbody tr:last-child td { border-bottom: none; }

.exp-biz-badge { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.exp-biz-badge.bigasan { background: rgba(37,99,235,0.1); color: var(--biz-bigasan); }
.exp-biz-badge.bakery { background: rgba(245,158,11,0.1); color: var(--biz-bakery); }
.exp-biz-badge.laundry { background: rgba(139,92,246,0.1); color: var(--biz-laundry); }

.exp-cat-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; }
.exp-cat-badge .cat-icon { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 9px; flex-shrink: 0; }

.cat-rent { background: #FEE2E2; color: #DC2626; }
.cat-rent .cat-icon { background: #DC2626; color: white; }
.cat-salary { background: #DBEAFE; color: #2563EB; }
.cat-salary .cat-icon { background: #2563EB; color: white; }
.cat-electricity { background: #FEF3C7; color: #D97706; }
.cat-electricity .cat-icon { background: #D97706; color: white; }
.cat-water { background: #DBEAFE; color: #3B82F6; }
.cat-water .cat-icon { background: #3B82F6; color: white; }
.cat-internet { background: #EDE9FE; color: #7C3AED; }
.cat-internet .cat-icon { background: #7C3AED; color: white; }
.cat-supplies { background: #D1FAE5; color: #059669; }
.cat-supplies .cat-icon { background: #059669; color: white; }
.cat-transportation { background: #EDE9FE; color: #7C3AED; }
.cat-transportation .cat-icon { background: #7C3AED; color: white; }
.cat-maintenance { background: #FFEDD5; color: #EA580C; }
.cat-maintenance .cat-icon { background: #EA580C; color: white; }
.cat-others { background: #F1F5F9; color: #64748B; }
.cat-others .cat-icon { background: #64748B; color: white; }

.exp-pay-badge { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 12px; font-weight: 500; }
.exp-pay-cash { background: #DCFCE7; color: #16A34A; }
.exp-pay-bank { background: #DBEAFE; color: #2563EB; }

.exp-pagination { display: flex; align-items: center; justify-content: space-between; padding-top: 4px; margin-top: 2px; border-top: 1px solid var(--border); }
.exp-showing { font-size: 12px; color: var(--text-muted); }
.exp-page-btns { display: flex; gap: 4px; }
.exp-page-btn { width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text-sec); font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.exp-page-btn:hover { border-color: var(--sales); color: var(--sales); }
.exp-page-btn.active { background: var(--sales); color: white; border-color: var(--sales); }
.exp-page-btn.disabled { opacity: 0.4; cursor: not-allowed; }
.exp-actions { display: flex; gap: 4px; }
.exp-action-btn { width: 30px; height: 30px; border: none; border-radius: 6px; background: transparent; color: var(--text-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 13px; transition: all 0.15s; }
.exp-action-btn:hover { background: var(--bg); color: var(--text); }

.exp-cat-chart { width: 100%; height: 90px; }
.exp-cat-legend { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.exp-cat-row { display: flex; align-items: center; gap: 6px; font-size: 11px; }
.exp-cat-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.exp-cat-name { flex: 1; color: var(--text-sec); }
.exp-cat-amount { font-weight: 600; color: var(--text); }
.exp-cat-pct { color: var(--text-muted); width: 40px; text-align: right; }

.exp-biz-bars { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.exp-biz-bar-item { display: flex; flex-direction: column; gap: 2px; }
.exp-biz-bar-head { display: flex; align-items: center; gap: 6px; }
.exp-biz-bar-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.exp-biz-bar-dot.bigasan { background: var(--biz-bigasan); }
.exp-biz-bar-dot.bakery { background: var(--biz-bakery); }
.exp-biz-bar-dot.laundry { background: var(--biz-laundry); }
.exp-biz-bar-name { flex: 1; font-size: 12px; font-weight: 600; color: var(--text); }
.exp-biz-bar-val { font-size: 12px; font-weight: 700; color: var(--text); }
.exp-biz-bar-pct { font-size: 11px; color: var(--text-muted); }
.exp-biz-bar-track { height: 6px; background: var(--bg); border-radius: 3px; overflow: hidden; }
.exp-biz-bar-fill { height: 100%; border-radius: 4px; transition: width 0.6s ease; }
.exp-biz-bar-fill.bigasan { background: var(--biz-bigasan); }
.exp-biz-bar-fill.bakery { background: var(--biz-bakery); }
.exp-biz-bar-fill.laundry { background: var(--biz-laundry); }

.exp-summary-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    flex-shrink: 0;
}
.exp-summary-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 8px 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-top: 3px solid transparent;
}
.exp-summary-card:nth-child(1) { border-top-color: #3B82F6; }
.exp-summary-card:nth-child(2) { border-top-color: #F59E0B; }
.exp-summary-card:nth-child(3) { border-top-color: #10B981; }
.exp-summary-card:nth-child(4) { border-top-color: #8B5CF6; }
.exp-summary-card:nth-child(5) { border-top-color: #EF4444; }
.exp-sum-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); }
.exp-sum-value { font-size: 15px; font-weight: 800; color: var(--text); }
.exp-sum-change { font-size: 16px; font-weight: 800; }
.exp-sum-change.down { color: #16A34A; }
.exp-sum-change.up { color: #DC2626; }

/* ===== SALES MONTH NAV ===== */
.sales-month-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 8px 6px 16px;
    background: var(--surface);
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.sales-month-btn {
    width: 34px; height: 34px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text-sec);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.2s;
}
.sales-month-btn:hover { background: var(--bg); color: var(--text); border-color: var(--text-muted); }
.sales-month-title {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    color: var(--text);
}

/* ===== SALES FILTER BAR ===== */
.sales-filter-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px 0;
    margin-bottom: 4px;
}
.filter-bar-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-right: 4px;
}

/* ===== SALES COLUMN FILTER BUTTONS ===== */
.sales-col-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
    background: transparent;
    color: var(--text-sec);
}
.sales-col-filter:hover { background: var(--bg); color: var(--text); border-color: var(--border); }
.sales-col-filter.active {
    background: var(--sales);
    color: white;
    border-color: var(--sales-dark);
    box-shadow: 0 2px 8px rgba(59,130,246,0.25);
}
.sales-col-filter.active .biz-dot-sm { background: white; }
.sales-col-filter .biz-dot-sm { width: 8px; height: 8px; display: inline-block; border-radius: 50%; margin-right: 2px; }
.sales-col-filter .biz-dot-sm.bigasan { background: var(--biz-bigasan); }
.sales-col-filter .biz-dot-sm.bakery { background: var(--biz-bakery); }
.sales-col-filter .biz-dot-sm.laundry { background: var(--biz-laundry); }

/* ===== SALES MONTHLY LOG TABLE ===== */
.sales-month-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.sales-month-table thead th {
    padding: 12px 8px;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--text-muted);
    background: var(--bg);
    border-bottom: 2px solid var(--border);
    text-align: center;
    position: sticky; top: 0; z-index: 2;
}
.sales-month-table thead th:first-child { text-align: center; width: 120px; }
.sales-month-table thead th:last-child { color: var(--sales); }
.sales-month-table tbody td {
    padding: 8px 6px;
    border-bottom: 1px solid var(--border);
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.12s;
    cursor: pointer;
    font-variant-numeric: tabular-nums;
}
.sales-month-table tbody td:first-child {
    font-weight: 700;
    font-size: 12px;
    color: var(--text);
    width: 120px;
    background: var(--bg);
    text-align: left;
    padding-left: 12px;
}
.sales-month-table tbody tr:hover td { background: var(--bg); }
.sales-month-table tbody tr:hover td:first-child { background: var(--border); }
.sales-month-table tbody td.day-today { background: var(--sales-bg); box-shadow: inset 0 0 0 1px var(--sales); }
.sales-month-table tbody tr:hover td.day-today { background: var(--sales-bg); filter: brightness(1.1); }
.sales-month-table tbody td.day-weekend { color: var(--text-muted); }
.sales-month-table tbody td.has-data { color: var(--text); font-weight: 600; }
.sales-month-table tbody td.has-data:hover { background: var(--sales-bg); }
.sales-month-table tbody td.no-data { color: transparent; position: relative; }
.sales-month-table tbody td.no-data::after {
    content: '—';
    color: var(--text-muted);
    font-weight: 300;
    opacity: 0.4;
    font-size: 13px;
}
.sales-month-table tbody tr:last-child td { border-bottom: none; }
.sales-month-table tfoot td {
    padding: 12px;
    font-weight: 800;
    font-size: 14px;
    border-top: 2px solid var(--text);
    text-align: center;
    background: var(--bg);
}
.sales-month-table tfoot td:first-child {
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.sales-month-table tfoot td:last-child { color: var(--sales); }
.sales-month-table .biz-dot-sm {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    margin-right: 4px;
}
.sales-month-table .biz-dot-sm.bigasan { background: var(--biz-bigasan); }
.sales-month-table .biz-dot-sm.bakery { background: var(--biz-bakery); }
.sales-month-table .biz-dot-sm.laundry { background: var(--biz-laundry); }

/* ===== SALES ENTRY CARD ===== */
.sales-entry-card {
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 20px 24px;
    margin-bottom: 16px;
}
.sales-entry-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.sales-entry-date-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sales-entry-date-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--sales), var(--sales-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.sales-entry-date-wrap .input {
    width: 200px;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    border: 2px solid var(--border);
    color: var(--text);
}
.sales-entry-date-wrap .input:focus {
    border-color: var(--sales);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}
.ses-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}
.ses-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    white-space: nowrap;
}
.ses-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--sales);
    line-height: 1.1;
    white-space: nowrap;
}
.sales-entry-biz-row {
    display: flex;
    gap: 14px;
}
.sales-entry-biz-card {
    flex: 1;
    background: color-mix(in srgb, var(--biz-clr) 6%, var(--surface));
    border-radius: 16px;
    padding: 16px 18px;
    border: 1.5px solid color-mix(in srgb, var(--biz-clr) 20%, var(--border));
    border-left: 4px solid var(--biz-clr);
    transition: all 0.25s;
    position: relative;
}
.sales-entry-biz-card:hover {
    border-color: color-mix(in srgb, var(--biz-clr) 40%, var(--border));
    background: color-mix(in srgb, var(--biz-clr) 10%, var(--surface));
}
.sales-entry-biz-card:focus-within {
    border-color: var(--biz-clr);
    border-left-width: 4px;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--biz-clr) 20%, transparent), 0 4px 12px color-mix(in srgb, var(--biz-clr) 10%, transparent);
    background: color-mix(in srgb, var(--biz-clr) 8%, var(--surface));
}
.sebc-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.sebc-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--biz-clr);
    flex-shrink: 0;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--biz-clr) 20%, transparent);
}
.sebc-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--biz-clr);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sales-entry-biz-card .input-affix .input {
    padding-left: 28px;
    font-weight: 800;
    font-size: 20px;
    height: 48px;
    border-radius: 10px;
    background: var(--surface);
    border: 1.5px solid color-mix(in srgb, var(--biz-clr) 15%, var(--border));
}
.sales-entry-biz-card .input-affix .input:focus {
    border-color: var(--biz-clr);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--biz-clr) 15%, transparent);
    background: white;
}

.sales-cell-input {
    width: 80px;
    padding: 4px 6px;
    border: 1px solid var(--sales);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    outline: none;
}
.sales-cell-input:focus { box-shadow: 0 0 0 3px rgba(59,130,246,0.15); }

/* ===== AI INSIGHTS ===== */
.ai-insights-card { margin-top: 12px; }
.ai-insights-actions { display: flex; gap: 8px; align-items: center; }
.ai-insights-body { min-height: 60px; }
.ai-insights-empty {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 24px; color: var(--text-muted); font-size: 13px; gap: 8px;
}
.ai-insights-empty i { font-size: 28px; color: var(--text-muted); opacity: 0.4; }
.ai-insights-empty a { color: var(--sales); cursor: pointer; }
.ai-insights-empty a:hover { text-decoration: underline; }
.ai-insights-loading {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 20px; color: var(--text-muted); font-size: 13px;
}
.ai-insights-loading i { font-size: 18px; animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.ai-insights-error {
    display: flex; align-items: center; gap: 10px;
    padding: 16px; background: var(--expenses-bg); border-radius: var(--radius-sm);
    color: var(--expenses); font-size: 13px; margin: 4px 0;
}
.ai-insights-error i { font-size: 16px; flex-shrink: 0; }
.ai-insights-content {
    padding: 4px 0; font-size: 14px; line-height: 1.7; color: var(--text);
    white-space: pre-wrap;
}
.ai-insights-content strong { color: var(--sales); }
.ai-insights-highlight { background: var(--cash-bg); border-radius: var(--radius-xs); padding: 2px 6px; }
.ai-insights-meta {
    display: flex; justify-content: flex-end; margin-top: 8px; padding-top: 8px;
    border-top: 1px solid var(--border); font-size: 11px; color: var(--text-muted); gap: 12px;
}
.ai-insights-meta i { font-size: 10px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .kpi-grid { grid-template-columns: repeat(3, 1fr); }
    .exp-kpi-grid { grid-template-columns: repeat(3, 1fr); }
    .exp-main-grid { grid-template-columns: 1fr; }
    .exp-summary-row { grid-template-columns: repeat(3, 1fr); }
    .dash-grid-3col { grid-template-columns: 1fr 1fr; }
    .dash-grid-3col > :last-child { grid-column: 1 / -1; }
    .biz-cards-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .menu-toggle { display: flex; }
    .topbar { padding: 0 16px; }
    .page { padding: 12px; }
    .kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .exp-kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .exp-header-actions { flex-wrap: wrap; justify-content: flex-end; }
    .exp-header-actions .btn { flex: 1; justify-content: center; }
    .exp-summary-row { grid-template-columns: repeat(2, 1fr); }
    .biz-cards-row { grid-template-columns: 1fr; }
    .dash-grid-3col { grid-template-columns: 1fr; }
    .dash-grid-3col > :last-child { grid-column: auto; }
    .dash-grid-2col { grid-template-columns: 1fr; }
    .sales-entry-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .report-grid { grid-template-columns: 1fr; }
    .settings-grid { grid-template-columns: 1fr; }
    .page-subtitle { display: none; }
    .sales-search .input { width: 160px; }
    .sales-month-table { font-size: 12px; }
    .sales-month-table thead th, .sales-month-table tbody td, .sales-month-table tfoot td { padding: 6px 4px; }
    .sales-cell-input { width: 60px; font-size: 11px; }
    .sales-entry-biz-row { flex-direction: column; gap: 10px; }
    .sales-entry-top { flex-wrap: wrap; gap: 12px; }
    .sales-entry-date-wrap { width: 100%; }
    .sales-entry-date-wrap .input { flex: 1; }
    .ses-row { margin-left: 0; }
}
@media (max-width: 480px) {
    .kpi-grid { grid-template-columns: 1fr; }
    .exp-kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .exp-summary-row { grid-template-columns: 1fr 1fr; }
}

/* ===== DARK MODE OVERRIDES ===== */
.dark .exp-kpi-red { background: linear-gradient(135deg, #7f1d1d, #991b1b); }
.dark .exp-kpi-orange { background: linear-gradient(135deg, #7c2d12, #9a3412); }
.dark .exp-kpi-yellow { background: linear-gradient(135deg, #713f12, #854d0e); }
.dark .exp-kpi-teal { background: linear-gradient(135deg, #134e4a, #155e75); }
.dark .exp-kpi-green { background: linear-gradient(135deg, #14532d, #166534); }
.dark .exp-kpi-blue { background: linear-gradient(135deg, #1e3a5f, #1e40af); }
.dark .exp-kpi-amber { background: linear-gradient(135deg, #713f12, #92400e); }
.dark .exp-kpi-purple { background: linear-gradient(135deg, #3b0764, #581c87); }

.dark .exp-kpi-value,
.dark .exp-kpi-label,
.dark .exp-kpi-change,
.dark .exp-kpi-sub { color: #f1f5f9; }

.dark .exp-kpi-icon { background: rgba(255,255,255,0.15); }
.dark .exp-kpi-red .exp-kpi-icon,
.dark .exp-kpi-orange .exp-kpi-icon,
.dark .exp-kpi-yellow .exp-kpi-icon,
.dark .exp-kpi-teal .exp-kpi-icon,
.dark .exp-kpi-green .exp-kpi-icon,
.dark .exp-kpi-blue .exp-kpi-icon,
.dark .exp-kpi-amber .exp-kpi-icon,
.dark .exp-kpi-purple .exp-kpi-icon { color: #f1f5f9; }

.dark .exp-kpi-change .up { color: #fca5a5; }
.dark .exp-kpi-change .down { color: #86efac; }

.dark .cat-rent { background: rgba(220,38,38,0.15); color: #fca5a5; }
.dark .cat-rent .cat-icon { background: #fca5a5; color: #7f1d1d; }
.dark .cat-salary { background: rgba(37,99,235,0.15); color: #93c5fd; }
.dark .cat-salary .cat-icon { background: #93c5fd; color: #1e3a5f; }
.dark .cat-electricity { background: rgba(217,119,6,0.15); color: #fcd34d; }
.dark .cat-electricity .cat-icon { background: #fcd34d; color: #713f12; }
.dark .cat-water { background: rgba(59,130,246,0.15); color: #93c5fd; }
.dark .cat-water .cat-icon { background: #93c5fd; color: #1e3a5f; }
.dark .cat-internet { background: rgba(124,58,237,0.15); color: #c4b5fd; }
.dark .cat-internet .cat-icon { background: #c4b5fd; color: #3b0764; }
.dark .cat-supplies { background: rgba(5,150,105,0.15); color: #6ee7b7; }
.dark .cat-supplies .cat-icon { background: #6ee7b7; color: #064e3b; }
.dark .cat-transportation { background: rgba(124,58,237,0.15); color: #c4b5fd; }
.dark .cat-transportation .cat-icon { background: #c4b5fd; color: #3b0764; }
.dark .cat-maintenance { background: rgba(234,88,12,0.15); color: #fdba74; }
.dark .cat-maintenance .cat-icon { background: #fdba74; color: #7c2d12; }
.dark .cat-others { background: rgba(100,116,139,0.15); color: #cbd5e1; }
.dark .cat-others .cat-icon { background: #cbd5e1; color: #334155; }

.dark .exp-pay-cash { background: rgba(22,163,74,0.15); color: #86efac; }
.dark .exp-pay-bank { background: rgba(37,99,235,0.15); color: #93c5fd; }

.dark .exp-sum-change.down { color: #86efac; }
.dark .exp-sum-change.up { color: #fca5a5; }
.dark .exp-summary-card:nth-child(1) { border-top-color: #60a5fa; }
.dark .exp-summary-card:nth-child(2) { border-top-color: #fbbf24; }
.dark .exp-summary-card:nth-child(3) { border-top-color: #34d399; }
.dark .exp-summary-card:nth-child(4) { border-top-color: #a78bfa; }
.dark .exp-summary-card:nth-child(5) { border-top-color: #f87171; }

.dark .exp-biz-badge.bigasan { background: rgba(37,99,235,0.2); color: #93c5fd; }
.dark .exp-biz-badge.bakery { background: rgba(245,158,11,0.2); color: #fcd34d; }
.dark .exp-biz-badge.laundry { background: rgba(139,92,246,0.2); color: #c4b5fd; }

.dark .sales-entry-biz-card .input-affix .input:focus { background: var(--surface); }

/* ===== AI CHAT WIDGET ===== */
.ai-chat-fab {
    position: fixed; bottom: 24px; right: 24px; z-index: 150;
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg, var(--sales), var(--sales-dark));
    color: white; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; box-shadow: 0 4px 20px rgba(59,130,246,0.4);
    transition: all 0.3s ease;
}
.ai-chat-fab:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(59,130,246,0.5); }
.ai-chat-fab.active { transform: scale(0.9); opacity: 0; pointer-events: none; }

.ai-chat-widget {
    position: fixed; bottom: 90px; right: 24px; z-index: 150;
    width: 380px; height: 520px; border-radius: 16px;
    background: var(--surface); border: 1px solid var(--border);
    box-shadow: 0 12px 48px rgba(0,0,0,0.2);
    display: none; flex-direction: column; overflow: hidden;
    animation: chatIn 0.25s ease;
}
.ai-chat-widget.open { display: flex; }
@keyframes chatIn { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }

.ai-chat-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, var(--sales), var(--sales-dark)); color: white;
}
.ai-chat-header-left { display: flex; align-items: center; gap: 10px; }
.ai-chat-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,0.2); display: flex;
    align-items: center; justify-content: center; font-size: 16px;
}
.ai-chat-title { display: block; font-size: 14px; font-weight: 700; line-height: 1.2; }
.ai-chat-status { display: block; font-size: 11px; opacity: 0.8; line-height: 1.2; }
.ai-chat-header-actions { display: flex; gap: 4px; }
.ai-chat-btn {
    width: 32px; height: 32px; border: none; border-radius: 8px;
    background: rgba(255,255,255,0.15); color: white; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 14px;
    transition: background 0.15s;
}
.ai-chat-btn:hover { background: rgba(255,255,255,0.3); }

.ai-chat-messages {
    flex: 1; overflow-y: auto; padding: 12px 16px;
    display: flex; flex-direction: column; gap: 10px;
    background: var(--bg);
}
.ai-chat-msg { display: flex; flex-direction: column; max-width: 85%; }
.ai-chat-msg-bot { align-self: flex-start; }
.ai-chat-msg-user { align-self: flex-end; }
.ai-chat-msg-content {
    padding: 10px 14px; border-radius: 14px; font-size: 13px; line-height: 1.6;
    word-wrap: break-word;
}
.ai-chat-msg-bot .ai-chat-msg-content {
    background: var(--surface); color: var(--text);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
}
.ai-chat-msg-user .ai-chat-msg-content {
    background: var(--sales); color: white;
    border-bottom-right-radius: 4px;
}
.ai-chat-msg-meta { font-size: 10px; color: var(--text-muted); margin-top: 4px; padding: 0 4px; }
.ai-chat-msg-user .ai-chat-msg-meta { text-align: right; }
.ai-chat-msg-loading .ai-chat-msg-content {
    background: var(--surface); color: var(--text-muted);
    border: 1px solid var(--border); font-style: italic;
}
.ai-chat-msg-loading .ai-chat-msg-content i { margin-right: 6px; }

.ai-chat-input-area {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-top: 1px solid var(--border);
    background: var(--surface);
}
.ai-chat-input {
    flex: 1; padding: 10px 14px; border: 1px solid var(--border);
    border-radius: 24px; font-size: 13px; outline: none;
    color: var(--text); background: var(--bg);
    transition: border-color 0.15s;
}
.ai-chat-input:focus { border-color: var(--sales); }
.ai-chat-send {
    width: 40px; height: 40px; border-radius: 50%;
    border: none; background: var(--sales); color: white;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0; transition: all 0.15s;
}
.ai-chat-send:hover { background: var(--sales-dark); transform: scale(1.05); }
.ai-chat-send:disabled { opacity: 0.5; cursor: not-allowed; }
.ai-chat-speaker {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--border); background: var(--surface);
    color: var(--text-sec); cursor: pointer; display: flex;
    align-items: center; justify-content: center; font-size: 14px;
    flex-shrink: 0; transition: all 0.15s;
}
.ai-chat-speaker:hover { border-color: var(--sales); color: var(--sales); }
.ai-chat-speaker.active { background: var(--sales); color: white; border-color: var(--sales); }

@media (max-width: 480px) {
    .ai-chat-widget { width: calc(100vw - 32px); right: 16px; bottom: 80px; height: 460px; }
    .ai-chat-fab { bottom: 16px; right: 16px; }
    .music-widget { width: calc(100vw - 32px); right: 16px; bottom: 130px; height: 460px; }
    .music-fab { bottom: 80px; right: 16px; width: 42px; height: 42px; font-size: 16px; }
}

/* === MUSIC WIDGET === */
.music-fab {
    position: fixed; bottom: 90px; right: 24px; z-index: 150;
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--biz-bakery), #EA580C);
    color: white; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; box-shadow: 0 4px 16px rgba(245,158,11,0.4);
    transition: all 0.3s ease;
}
.music-fab:hover { transform: scale(1.08); box-shadow: 0 6px 20px rgba(245,158,11,0.5); }
.music-fab.active { transform: scale(0.9); opacity: 0; pointer-events: none; }

.music-widget {
    position: fixed; bottom: 148px; right: 24px; z-index: 150;
    width: 380px; height: 480px; border-radius: 16px;
    background: var(--surface); border: 1px solid var(--border);
    box-shadow: 0 12px 48px rgba(0,0,0,0.2);
    display: none; flex-direction: column; overflow: hidden;
    animation: musicIn 0.25s ease;
}
.music-widget.open { display: flex; }
@keyframes musicIn { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }

.music-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--biz-bakery), #EA580C); color: white;
}
.music-header-left { display: flex; align-items: center; gap: 10px; }
.music-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,0.2); display: flex;
    align-items: center; justify-content: center; font-size: 16px;
}
.music-title { display: block; font-size: 14px; font-weight: 700; line-height: 1.2; }
.music-status { display: block; font-size: 11px; opacity: 0.8; line-height: 1.2; }
.music-header-actions { display: flex; gap: 4px; }
.music-btn {
    width: 32px; height: 32px; border: none; border-radius: 8px;
    background: rgba(255,255,255,0.15); color: white; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 14px;
    transition: background 0.15s;
}
.music-btn:hover { background: rgba(255,255,255,0.3); }

.music-body {
    flex: 1; display: flex; flex-direction: column; overflow: hidden;
    background: var(--bg);
}
.music-search-area {
    display: flex; gap: 8px; padding: 10px 12px;
    border-bottom: 1px solid var(--border); background: var(--surface);
}
.music-input {
    flex: 1; padding: 8px 12px; border: 1px solid var(--border);
    border-radius: 20px; font-size: 13px; outline: none;
    color: var(--text); background: var(--bg);
    transition: border-color 0.15s;
}
.music-input:focus { border-color: var(--biz-bakery); }
.music-search-btn {
    width: 36px; height: 36px; border-radius: 50%;
    border: none; background: var(--biz-bakery); color: white;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0; transition: all 0.15s;
}
.music-search-btn:hover { background: #EA580C; transform: scale(1.05); }
.music-search-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.music-player-area {
    padding: 6px 12px; border-bottom: 1px solid var(--border);
    background: var(--surface); font-size: 13px;
}
.music-now-playing { color: var(--text); display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
.music-watch-link {
    color: var(--biz-bakery); text-decoration: none; font-size: 11px; margin-left: auto;
}
.music-watch-link:hover { text-decoration: underline; }
.music-player iframe { width: 100%; height: 80px; border-radius: 6px; border: none; }
.music-player { width: 100%; }
.music-player iframe { width: 100%; height: 180px; border-radius: 8px; border: none; }

.music-results {
    flex: 1; overflow-y: auto; padding: 8px 12px;
}
.music-results-placeholder {
    display: flex; align-items: center; justify-content: center;
    height: 100%; color: var(--text-muted); font-size: 13px;
    text-align: center; padding: 40px 20px;
}
.music-result-item {
    display: flex; gap: 10px; padding: 8px; border-radius: 10px;
    cursor: pointer; transition: background 0.15s; align-items: center;
}
.music-result-item:hover { background: var(--surface); }
.music-result-thumb {
    width: 56px; height: 42px; border-radius: 6px; object-fit: cover; flex-shrink: 0;
}
.music-result-info { flex: 1; min-width: 0; }
.music-result-title {
    font-size: 13px; font-weight: 600; color: var(--text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.music-result-channel {
    font-size: 11px; color: var(--text-muted); margin-top: 2px;
}
.music-result-play {
    width: 32px; height: 32px; border-radius: 50%;
    border: none; background: var(--biz-bakery); color: white;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 12px; flex-shrink: 0; transition: all 0.15s;
}
.music-result-play:hover { background: #EA580C; }
.music-result-play.playing { background: var(--expenses); }
.music-result-play.playing:hover { background: var(--expenses-dark); }
.music-loading {
    display: flex; align-items: center; justify-content: center;
    padding: 20px; color: var(--text-muted); gap: 8px; font-size: 13px;
}
