/* Generated from design/quiet-intelligence/tokens.json; do not hand-edit. */

:root {

    --qi-spacing-1: 4px;

    --qi-spacing-2: 8px;

    --qi-spacing-3: 12px;

    --qi-spacing-4: 16px;

    --qi-spacing-6: 24px;

    --qi-spacing-8: 32px;

    --qi-spacing-12: 48px;

    --qi-spacing-16: 64px;

    --qi-type-body: 16px;

    --qi-type-label: 14px;

    --qi-type-reading-width: 76ch;

    --qi-type-leading: 1.6;

    --qi-radius-default: 18px;

    --qi-radius-small: 10px;

    --qi-radius-large: 28px;

    --qi-motion-fast: 120ms;

    --qi-motion-base: 180ms;

    --qi-motion-panel: 280ms;

    --qi-motion-dialog: 320ms;

    --qi-motion-story: 420ms;

    --qi-motion-ease: cubic-bezier(0.2, 0.75, 0.25, 1);

    --qi-layers-content: 0;

    --qi-layers-navigation: 10;

    --qi-layers-review: 20;

    --qi-layers-toast: 30;

    --qi-touch-target: 44px;

}

:root, html[data-theme="dark"] {

    --qi-bg: #15171b;

    --qi-surface: #1e2127;

    --qi-surface-raised: #282c33;

    --qi-surface-soft: #252930;

    --qi-text: #f1f1ef;

    --qi-muted: #b1b5bd;

    --qi-line: #42464f;

    --qi-control-line: #8c929e;

    --qi-control-bg: #2b3038;

    --qi-control-hover: #343b46;

    --qi-control-disabled-bg: #292e37;

    --qi-control-disabled-text: #b4bdca;

    --qi-control-focus: #aec2ea;

    --qi-action-bg: #dce0e7;

    --qi-action-text: #1e2127;

    --qi-action-hover: #f0f2f6;

    --qi-glass-surface: rgba(30, 33, 39, 0.94);

    --qi-glass-sheen: rgba(255, 255, 255, 0.06);

    --qi-glass-blur: blur(8px);

    --qi-glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 16px 40px -24px rgba(0, 0, 0, 0.65);

    --qi-ambient-glow: rgba(134, 154, 188, 0.06);

    --qi-chat-ambient-top: rgba(119, 140, 176, 0.12);

    --qi-chat-ambient-bottom: rgba(155, 135, 178, 0.07);

    --qi-chat-glass: rgba(30, 33, 39, 0.90);

    --qi-chat-sheen: rgba(255, 255, 255, 0.07);

    --qi-chat-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 36px -22px rgba(0, 0, 0, 0.65);

    --qi-success: #89d2a7;

    --qi-warning: #edc483;

    --qi-danger: #ff9caa;

    --qi-shadow: 0 24px 70px -30px rgb(0 0 0 / 60%);

    --qi-color-scheme: dark;

}

html[data-theme="light"], body.light-mode {

    --qi-bg: #f6f5f2;

    --qi-surface: #ffffff;

    --qi-surface-raised: #ffffff;

    --qi-surface-soft: #efeeea;

    --qi-text: #202329;

    --qi-muted: #61656d;

    --qi-line: #d9dadd;

    --qi-control-line: #858991;

    --qi-control-bg: #f4f5f7;

    --qi-control-hover: #e7eaf0;

    --qi-control-disabled-bg: #e4e6ea;

    --qi-control-disabled-text: #595f69;

    --qi-control-focus: #374766;

    --qi-action-bg: #30353e;

    --qi-action-text: #ffffff;

    --qi-action-hover: #424b59;

    --qi-glass-surface: rgba(255, 255, 255, 0.94);

    --qi-glass-sheen: rgba(255, 255, 255, 0.45);

    --qi-glass-blur: blur(8px);

    --qi-glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 16px 40px -24px rgba(32, 35, 41, 0.3);

    --qi-ambient-glow: rgba(109, 126, 153, 0.08);

    --qi-chat-ambient-top: rgba(133, 149, 180, 0.14);

    --qi-chat-ambient-bottom: rgba(173, 153, 127, 0.10);

    --qi-chat-glass: rgba(255, 255, 255, 0.88);

    --qi-chat-sheen: rgba(255, 255, 255, 0.65);

    --qi-chat-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 10px 32px -22px rgba(47, 57, 75, 0.35);

    --qi-success: #246745;

    --qi-warning: #835419;

    --qi-danger: #b3293e;

    --qi-shadow: 0 24px 70px -30px rgb(32 35 41 / 24%);

    --qi-color-scheme: light;

}

html[data-motion="reduced"] {

    --qi-motion-fast: 0ms;

    --qi-motion-base: 0ms;

    --qi-motion-panel: 0ms;

    --qi-motion-dialog: 0ms;

    --qi-motion-story: 0ms;

}

@media (prefers-reduced-motion: reduce) {

:root {

    --qi-motion-fast: 0ms;

    --qi-motion-base: 0ms;

    --qi-motion-panel: 0ms;

    --qi-motion-dialog: 0ms;

    --qi-motion-story: 0ms;

}

}
