/* ─────────────────────────────────────────────────
   Bauhaus — Geometric, warm-neutral, primary restraint
   ───────────────────────────────────────────────── */

:root[data-ui-theme="bauhaus"] {
    --bg: #f5f1e8;
    --bg-accent: rgba(31, 82, 170, 0.07);
    --text: #141210;
    --sidebar-bg: #eee8dc;
    --sidebar-strong: #faf6ee;
    --border: rgba(20, 18, 16, 0.13);
    --panel-border: rgba(20, 18, 16, 0.82);
    --panel-bg: #f3ede2;
    --panel-elevated: #fcf9f2;
    --editor-surface: #fdfbf5;
    --muted: #6b6359;
    --input-border: rgba(20, 18, 16, 0.28);
    --button-bg: #141210;
    --button-text: #fdfbf5;
    --link-text: #141210;
    --active-bg: #1e4fa6;
    --active-text: #fdfbf5;
    --placeholder: #8a7f72;
    --modal-bg: #fcf9f2;
    --modal-muted: #6b6359;
    --backdrop: rgba(20, 18, 16, 0.42);
    --shadow-soft: 0 20px 48px rgba(20, 18, 16, 0.07), 0 2px 6px rgba(20, 18, 16, 0.04);
    --shadow-panel: 0 4px 16px rgba(20, 18, 16, 0.05);
    --focus-ring: 0 0 0 3px rgba(30, 79, 166, 0.18);
    --accent-red: #c0392b;
    --accent-blue: #1e4fa6;
    --accent-yellow: #d4a42c;
    --font-ui: "Manrope", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
    --font-display: "League Spartan", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
    --font-body: "Manrope", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
    --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
    --ui-letter-spacing: 0;
    --radius-panel: 22px;
    --radius-card: 18px;
    --radius-input: 16px;
    --radius-note: 20px;
    --radius-button: 999px;
    --radius-icon: 999px;
    --radius-editor: 32px 32px 10px 32px;
    --radius-status: 22px 22px 0 0;
    --label-letter-spacing: 0.2em;
    --label-transform: uppercase;
    --button-letter-spacing: 0.1em;
    --button-transform: uppercase;
    --button-weight: 800;
    --title-letter-spacing: -0.05em;
    --title-transform: uppercase;
    --title-max-width: 7ch;
    --display-letter-spacing: -0.06em;
    --display-transform: uppercase;
    --display-max-width: 9ch;
    --editor-font-size: 1.03rem;
    --editor-line-height: 1.78;
}

:root[data-ui-theme="bauhaus"] body {
    background:
        linear-gradient(90deg, rgba(20, 18, 16, 0.025) 1px, transparent 1px),
        var(--bg);
    background-size: 48px 48px, auto;
}

:root[data-ui-theme="bauhaus"] .sidebar {
    border-right-color: var(--border);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.4);
}

:root[data-ui-theme="bauhaus"] .icon-button {
    background: rgba(255, 255, 255, 0.5);
}

:root[data-ui-theme="bauhaus"] #notes li {
    border-color: rgba(20, 18, 16, 0.1);
    box-shadow: 0 2px 8px rgba(20, 18, 16, 0.03);
}

:root[data-ui-theme="bauhaus"] #notes li.active {
    box-shadow: 0 8px 24px rgba(30, 79, 166, 0.2);
}

:root[data-ui-theme="bauhaus"] .welcome-badge {
    background: rgba(212, 164, 44, 0.14);
    border-color: rgba(212, 164, 44, 0.28);
}

:root[data-ui-theme="bauhaus"] .editor-body {
    box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

:root[data-ui-theme="bauhaus"] .status-bar {
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.4), 0 -8px 20px rgba(20, 18, 16, 0.03);
}
