:root {
  color-scheme: light;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;
  --fs-xs: 12px;
  --lh-xs: 16px;
  --fs-sm: 13px;
  --lh-sm: 18px;
  --fs-md: 14px;
  --lh-md: 20px;
  --fs-lg: 16px;
  --lh-lg: 24px;
  --fs-xl: 18px;
  --lh-xl: 26px;
  --fs-2xl: 22px;
  --lh-2xl: 28px;
  --fs-3xl: 28px;
  --lh-3xl: 34px;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --row-h: 40px;
  --row-h-mobile: 48px;
  --tick: 18px;
  --tick-mobile: 22px;
  --avatar: 24px;
  --hit: 44px;
  --hit-min: 24px;
  --btn-h: 34px;
  --btn-h-mobile: 44px;
  --btn-h-sm: 28px;
  --btn-h-lg: 44px;
  --nav-w: 224px;
  --nav-w-min: 60px;
  --side-w: 320px;
  --col-w: 272px;
  --content-max: 1200px;
  --hour-h: 52px;
  --dialog-w: 880px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-pill: 999px;
  --t-fast: 120ms;
  --t-base: 180ms;
  --t-theme: 160ms;
  --ease: cubic-bezier(.2,.7,.3,1);
  --z-sticky: 15;
  --z-nav: 30;
  --z-side: 40;
  --z-modal: 50;
  --z-toast: 60;
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-2: #f1eee8;
  --field: #ffffff;
  --panel: #faf9f6;
  --canvas: #161a26;
  --text: #1c1b19;
  --text-2: #4a4741;
  --text-3: #6f6a60;
  --text-on-accent: #ffffff;
  --text-on-danger: #ffffff;
  --canvas-text: #ecebe6;
  --border: #e6e2d9;
  --border-2: #d3cec2;
  --control: #8a857a;
  --divider: #edeae3;
  --hover: rgba(28,27,25,0.04);
  --scrim: rgba(28,27,25,0.45);
  --accent: #24408f;
  --accent-hover: #1d3474;
  --accent-press: #162a5e;
  --accent-soft: #e5eaf7;
  --accent-text: #24408f;
  --progress: #2f9e5b;
  --progress-bg: #dff2e5;
  --danger: #c8463a;
  --danger-bg: #fbe3e0;
  --danger-text: #8f2a23;
  --warning: #b9800e;
  --warning-bg: #fdf0d2;
  --warning-text: #6b4b00;
  --pending: #8a6d1f;
  --pending-bg: #fbf1d6;
  --pending-text: #5d4700;
  --done: #2f9e5b;
  --done-bg: #dff2e5;
  --done-text: #1f6b3c;
  --success: #2f9e5b;
  --success-bg: #dff2e5;
  --success-text: #1f6b3c;
  --info: #24408f;
  --info-bg: #e5eaf7;
  --info-text: #1d3474;
  --prio: #b5342b;
  --prio-bg: #fbe3e0;
  --now: #d6453a;
  --event: #cddcf1;
  --event-text: #1f3f70;
  --event-border: #3a6fc4;
  --timebox: #e5eaf7;
  --timebox-text: #1d3474;
  --timebox-border: #24408f;
  --pomodoro: #c8463a;
  --pomodoro-bg: #fbe3e0;
  --break: #2f9e5b;
  --break-bg: #dff2e5;
  --focus: #24408f;
  --menu: #faf9f6;
  --menu-text: #4a4741;
  --menu-text-strong: #1c1b19;
  --menu-hover: rgba(28,27,25,0.04);
  --menu-active: #e5eaf7;
  --menu-active-text: #24408f;
  --menu-border: #e6e2d9;
  --sh-1: 0 1px 2px rgba(40,30,15,0.06);
  --sh-2: 0 6px 20px rgba(40,30,15,0.10);
  --sh-3: 0 20px 50px rgba(40,30,15,0.20);
  --cat-red-bg: #f3c9c4;
  --cat-red-fg: #7a2a22;
  --cat-red: #c0392b;
  --cat-orange-bg: #f7d9b5;
  --cat-orange-fg: #7a4a12;
  --cat-orange: #d97b1f;
  --cat-yellow-bg: #f6e7a8;
  --cat-yellow-fg: #6b5400;
  --cat-yellow: #d4a81a;
  --cat-green-bg: #cfe5cf;
  --cat-green-fg: #255a2f;
  --cat-green: #3f8f52;
  --cat-teal-bg: #c4e4e0;
  --cat-teal-fg: #1f5a55;
  --cat-teal: #2a8f86;
  --cat-blue-bg: #cddcf1;
  --cat-blue-fg: #1f3f70;
  --cat-blue: #3a6fc4;
  --cat-indigo-bg: #d3d3f0;
  --cat-indigo-fg: #363680;
  --cat-indigo: #5a5ac8;
  --cat-purple-bg: #e3d0ee;
  --cat-purple-fg: #5a2f74;
  --cat-purple: #8a4fb5;
  --cat-pink-bg: #f2cfe0;
  --cat-pink-fg: #7a2d55;
  --cat-pink: #c4518a;
  --cat-gray-bg: #dddad2;
  --cat-gray-fg: #3a342a;
  --cat-gray: #8a847a;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1012;
  --surface: #17181b;
  --surface-2: #1f2024;
  --field: #141518;
  --panel: #131416;
  --canvas: #0b0c10;
  --text: #ededef;
  --text-2: #b4b5ba;
  --text-3: #8e8f96;
  --text-on-accent: #0f1012;
  --text-on-danger: #0f1012;
  --canvas-text: #ededef;
  --border: #26272c;
  --border-2: #3b3c43;
  --control: #71727a;
  --divider: #222327;
  --hover: rgba(255,255,255,0.05);
  --scrim: rgba(0,0,0,0.65);
  --accent: #7f9ff0;
  --accent-hover: #92aef4;
  --accent-press: #6b8ce0;
  --accent-soft: #1f2a46;
  --accent-text: #a9c1f7;
  --progress: #5fc182;
  --progress-bg: #1b3326;
  --danger: #e5695d;
  --danger-bg: #4a2420;
  --danger-text: #f3b4ae;
  --warning: #dba94a;
  --warning-bg: #45351a;
  --warning-text: #f2d48a;
  --pending: #d9b45a;
  --pending-bg: #3b3118;
  --pending-text: #f0d58e;
  --done: #5fc182;
  --done-bg: #1b3326;
  --done-text: #b6dcbd;
  --success: #5fc182;
  --success-bg: #1b3326;
  --success-text: #b6dcbd;
  --info: #7f9ff0;
  --info-bg: #1f2a46;
  --info-text: #c3d3fa;
  --prio: #ee7f73;
  --prio-bg: #4a2420;
  --now: #ef6d60;
  --event: #213249;
  --event-text: #b8cdeb;
  --event-border: #6b96d8;
  --timebox: #1f2a46;
  --timebox-text: #c3d3fa;
  --timebox-border: #7f9ff0;
  --pomodoro: #e5695d;
  --pomodoro-bg: #4a2420;
  --break: #5fc182;
  --break-bg: #1b3326;
  --focus: #9fbaf7;
  --menu: #131416;
  --menu-text: #b4b5ba;
  --menu-text-strong: #ededef;
  --menu-hover: rgba(255,255,255,0.05);
  --menu-active: #1f2a46;
  --menu-active-text: #c3d3fa;
  --menu-border: #26272c;
  --sh-1: 0 1px 2px rgba(0,0,0,0.5);
  --sh-2: 0 6px 20px rgba(0,0,0,0.6);
  --sh-3: 0 20px 50px rgba(0,0,0,0.7);
  --cat-red-bg: #4a2420;
  --cat-red-fg: #f3b4ae;
  --cat-red: #e0655b;
  --cat-orange-bg: #47301a;
  --cat-orange-fg: #f2c58f;
  --cat-orange: #e58f3a;
  --cat-yellow-bg: #45391a;
  --cat-yellow-fg: #efd98a;
  --cat-yellow: #d9b43a;
  --cat-green-bg: #22382a;
  --cat-green-fg: #b6dcbd;
  --cat-green: #5fa670;
  --cat-teal-bg: #1d3836;
  --cat-teal-fg: #a8dcd6;
  --cat-teal: #46a89e;
  --cat-blue-bg: #213249;
  --cat-blue-fg: #b8cdeb;
  --cat-blue: #6b96d8;
  --cat-indigo-bg: #2a2a4a;
  --cat-indigo-fg: #c4c4ee;
  --cat-indigo: #8484dc;
  --cat-purple-bg: #3a2749;
  --cat-purple-fg: #dcc2ee;
  --cat-purple: #ad7ad4;
  --cat-pink-bg: #47233a;
  --cat-pink-fg: #efbdd6;
  --cat-pink: #d77aa8;
  --cat-gray-bg: #3a3631;
  --cat-gray-fg: #cfc6b5;
  --cat-gray: #9a9388;
}
