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

:root {
    --bg: #F5F7F8;
    --bg-elevated: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-hover: #F0F5F5;
    --border: #E2E9EB;
    --border-light: #CFDADD;
    --text: #263746;
    --text-muted: #64748B;
    --text-dim: #8493A1;
    --primary: #176B68;
    --primary-hover: #125451;
    --primary-soft: rgba(23, 107, 104, 0.10);
    --success: #16845B;
    --success-soft: rgba(22, 132, 91, 0.10);
    --warning: #B7791F;
    --warning-soft: rgba(183, 121, 31, 0.11);
    --danger: #C44747;
    --danger-soft: rgba(196, 71, 71, 0.10);
    --info: #287FA3;
    --radius: 10px;
    --radius-sm: 6px;
    --shadow: 0 4px 24px rgba(38, 55, 70, 0.07);
    --sidebar-width: 240px;
    --topbar-height: 64px;
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --mono: 'Cascadia Code', 'Fira Code', Consolas, monospace;
}

html { font-size: 15px; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.1rem; }

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }
