    :root,
    [data-theme="dark"] {
      --bg-page: #0b1120;
      --bg-header: rgba(15, 23, 42, 0.92);
      --card-bg: #1e293b;
      --card-border: #334155;
      --card-bg-subtle: #0f172a;

      --ink: #f8fafc;
      --muted: #94a3b8;
      --subtle: #94a3b8;

      --input-bg: #0f172a;
      --input-border: #334155;

      --sidebar-bg: #0c1322;
      --sidebar-border: rgba(255, 255, 255, 0.08);
      --sidebar-text: #f8fafc;
      --sidebar-muted: #94a3b8;
      --sidebar-icon: #94a3b8;
      --sidebar-hover-bg: rgba(255, 255, 255, 0.06);
      --sidebar-hover-text: #ffffff;
      --sidebar-active-bg: #2563eb;
      --sidebar-active-text: #ffffff;
      --sidebar-user-bg: rgba(255, 255, 255, 0.04);
      --sidebar-user-border: rgba(255, 255, 255, 0.08);
      --sidebar-user-name: #f8fafc;
      --sidebar-user-role: #38bdf8;
      --sidebar-section-label: #64748b;
      --sidebar-logout-color: #ef4444;
      --sidebar-logout-hover-bg: rgba(239, 68, 68, 0.12);
      --sidebar-logout-hover-text: #f87171;

      --code-bg: #0b132b;

      --brand-blue: #3b82f6;
      --brand-blue-hover: #2563eb;
      --brand-indigo: #3b82f6;
      --brand-indigo-light: rgba(59, 130, 246, 0.15);
      --brand-cyan: #38bdf8;
      --brand-violet: #818cf8;

      --option-a-bg: rgba(244, 63, 94, 0.12);
      --option-a-border: rgba(244, 63, 94, 0.35);
      --option-a-text: #fb7185;

      --option-b-bg: rgba(56, 189, 248, 0.12);
      --option-b-border: rgba(56, 189, 248, 0.35);
      --option-b-text: #38bdf8;

      --option-c-bg: rgba(251, 191, 36, 0.12);
      --option-c-border: rgba(251, 191, 36, 0.35);
      --option-c-text: #fbbf24;

      --option-d-bg: rgba(52, 211, 153, 0.12);
      --option-d-border: rgba(52, 211, 153, 0.35);
      --option-d-text: #34d399;

      --green: #10b981;
      --green-light: rgba(16, 185, 129, 0.18);
      --green-dark: #34d399;

      --red: #f43f5e;
      --red-light: rgba(244, 63, 94, 0.18);
      --red-dark: #fb7185;

      --amber: #f59e0b;
      --amber-light: rgba(245, 158, 11, 0.18);

      --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
      --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
      --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.4);
      --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.2);
      --shadow-card-hover: 0 8px 20px rgba(0, 0, 0, 0.35);

      --radius-xl: 20px;
      --radius-lg: 16px;
      --radius-md: 12px;
      --radius-sm: 8px;

      --bg-gradient-1: rgba(59, 130, 246, 0.08);
      --bg-gradient-2: rgba(56, 189, 248, 0.08);
      --bg-gradient-3: rgba(129, 140, 248, 0.06);
    }

    [data-theme="light"] {
      --bg-page: #f8fafc;
      --bg-header: rgba(255, 255, 255, 0.95);
      --card-bg: #ffffff;
      --card-border: #e2e8f0;
      --card-bg-subtle: #f8fafc;

      --ink: #0f172a;
      --muted: #475569;
      --subtle: #475569;

      --input-bg: #ffffff;
      --input-border: #cbd5e1;

      --sidebar-bg: #ffffff;
      --sidebar-border: #e2e8f0;
      --sidebar-text: #0f172a;
      --sidebar-muted: #64748b;
      --sidebar-icon: #64748b;
      --sidebar-hover-bg: #f1f5f9;
      --sidebar-hover-text: #0f172a;
      --sidebar-active-bg: #2563eb;
      --sidebar-active-text: #ffffff;
      --sidebar-user-bg: #f8fafc;
      --sidebar-user-border: #e2e8f0;
      --sidebar-user-name: #0f172a;
      --sidebar-user-role: #2563eb;
      --sidebar-section-label: #94a3b8;
      --sidebar-logout-color: #ef4444;
      --sidebar-logout-hover-bg: rgba(239, 68, 68, 0.08);
      --sidebar-logout-hover-text: #dc2626;

      --code-bg: #0f172a;

      --brand-blue: #2563eb;
      --brand-blue-hover: #1d4ed8;
      --brand-indigo: #2563eb;
      --brand-indigo-light: rgba(37, 99, 235, 0.10);
      --brand-cyan: #0284c7;
      --brand-violet: #6366f1;

      --option-a-bg: rgba(244, 63, 94, 0.08);
      --option-a-border: rgba(244, 63, 94, 0.28);
      --option-a-text: #e11d48;

      --option-b-bg: rgba(2, 132, 199, 0.08);
      --option-b-border: rgba(2, 132, 199, 0.28);
      --option-b-text: #0284c7;

      --option-c-bg: rgba(217, 119, 6, 0.08);
      --option-c-border: rgba(217, 119, 6, 0.28);
      --option-c-text: #d97706;

      --option-d-bg: rgba(5, 150, 105, 0.08);
      --option-d-border: rgba(5, 150, 105, 0.28);
      --option-d-text: #059669;

      --green: #059669;
      --green-light: rgba(5, 150, 105, 0.12);
      --green-dark: #047857;

      --red: #e11d48;
      --red-light: rgba(225, 29, 72, 0.12);
      --red-dark: #be123c;

      --amber: #d97706;
      --amber-light: rgba(217, 119, 6, 0.12);

      --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
      --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
      --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.12);

      --bg-gradient-1: rgba(99, 102, 241, 0.04);
      --bg-gradient-2: rgba(56, 189, 248, 0.04);
      --bg-gradient-3: rgba(168, 85, 247, 0.03);
    }

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

    html {
      scroll-behavior: smooth;
      width: 100%;
      max-width: 100vw;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
      background-color: var(--bg-page);
      background-image:
        radial-gradient(circle at 10% 5%, var(--bg-gradient-1) 0%, transparent 35%),
        radial-gradient(circle at 90% 10%, var(--bg-gradient-2) 0%, transparent 35%),
        radial-gradient(circle at 50% 95%, var(--bg-gradient-3) 0%, transparent 40%);
      background-attachment: fixed;
      color: var(--ink);
      min-height: 100vh;
      min-height: 100dvh;
      line-height: 1.55;
      width: 100%;
      max-width: 100vw;
      box-sizing: border-box;
      overflow-x: hidden;
      transition: background-color 0.25s ease, color 0.25s ease;
    }

    button,
    input {
      font-family: inherit;
    }

    button {
      border: none;
      outline: none;
      background: transparent;
    }

    .hidden {
      display: none !important;
    }

