/**
 * variables.css - CSS custom properties
 *
 * All color, spacing, and theming variables.
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

:root {
    /* Layout dimensions */
    --header-height: 48px;
    --action-bar-height: 40px;
    --toc-width: 220px;
    --toc-min-width: 160px;
    --toc-max-width: 360px;

    /* Colors - Light theme (default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --border-color: #dee2e6;
    --accent-color: #4a90d9;
    --accent-hover: #357abd;
    --code-bg: #f4f4f4;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);

    /* Status colors */
    --status-draft: #6c757d;
    --status-in-progress: #f59e0b;
    --status-reviewed: #3b82f6;
    --status-released: #22c55e;

    /* Semantic colors */
    --success: #22c55e;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --danger-border: #fca5a5;

    /* Highlight color */
    --highlight-color: #ffe066;
    --highlight-text: #1a1a1a;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}
