:root{
  --space-unit: 4px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --density-scale: 1;
  --control-height-sm: 28px;
  --control-height-md: 32px;
  --control-height-lg: 40px;
  --icon-size-sm: 14px;
  --icon-size-md: 16px;
  --icon-size-lg: 20px;
  --corner-radius-scale: 0.875;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 5px;
  --radius-lg: 7px;
  --radius-xl: 9px;
  --radius-2xl: 11px;
  --radius-3xl: 14px;
  --radius-4xl: 18px;
  --radius-5xl: 21px;
  --surface-1: #fffdf8;
  --surface-2: #fffefc;
  --surface-3: #ffffff;
  --surface-edge: rgba(25, 25, 25, 0.08);
  --shadow-tint: #2a1f14;
  --elevation-1: 0 1px 2px 0px rgba(42, 31, 20, 0.05), 0 4px 12px -2px rgba(42, 31, 20, 0.05);
  --elevation-2: 0 2px 6px 0px rgba(42, 31, 20, 0.05), 0 8px 16px -4px rgba(42, 31, 20, 0.07);
  --elevation-3: 0 8px 32px 0px rgba(42, 31, 20, 0.07), 0 24px 72px -24px rgba(42, 31, 20, 0.18);
  --elevation-4: 0 16px 48px 0px rgba(42, 31, 20, 0.1), 0 40px 100px -20px rgba(42, 31, 20, 0.28);
  --surface-shadow: 0 1px 2px 0px rgba(42, 31, 20, 0.05), 0 4px 12px -2px rgba(42, 31, 20, 0.05);
  --surface-shadow-raised: 0 8px 32px 0px rgba(42, 31, 20, 0.07), 0 24px 72px -24px rgba(42, 31, 20, 0.18);
  --type-display-size: 3rem;
  --type-display-leading: 1.08;
  --type-display-tracking: -0.022em;
  --type-display-weight: 600;
  --type-title-1-size: 1.875rem;
  --type-title-1-leading: 1.2;
  --type-title-1-tracking: -0.02em;
  --type-title-1-weight: 600;
  --type-title-2-size: 1.5rem;
  --type-title-2-leading: 1.25;
  --type-title-2-tracking: -0.017em;
  --type-title-2-weight: 600;
  --type-title-3-size: 1.125rem;
  --type-title-3-leading: 1.35;
  --type-title-3-tracking: -0.012em;
  --type-title-3-weight: 600;
  --type-heading-size: 0.875rem;
  --type-heading-leading: 1.43;
  --type-heading-tracking: -0.006em;
  --type-heading-weight: 600;
  --type-heading-xs-size: 0.75rem;
  --type-heading-xs-leading: 1.34;
  --type-heading-xs-tracking: 0em;
  --type-heading-xs-weight: 600;
  --type-body-lg-size: 1.125rem;
  --type-body-lg-leading: 1.55;
  --type-body-lg-tracking: -0.011em;
  --type-body-lg-weight: 400;
  --type-body-size: 0.875rem;
  --type-body-leading: 1.43;
  --type-body-tracking: -0.006em;
  --type-body-weight: 400;
  --type-body-xs-size: 0.75rem;
  --type-body-xs-leading: 1.34;
  --type-body-xs-tracking: 0em;
  --type-body-xs-weight: 400;
  --type-label-size: 0.75rem;
  --type-label-leading: 1.34;
  --type-label-tracking: 0em;
  --type-label-weight: 500;
  --type-caption-size: 0.75rem;
  --type-caption-leading: 1.34;
  --type-caption-tracking: 0em;
  --type-caption-weight: 400;
  --type-micro-size: 0.625rem;
  --type-micro-leading: 1.4;
  --type-micro-tracking: 0.01em;
  --type-micro-weight: 500;
  --focus-ring-color: rgba(25, 25, 25, 0.9);
  --focus-ring-width: 2px;
  --focus-ring-offset: 2px;
  --focus-ring-glow: rgba(255, 29, 29, 0.22);
  --focus-ring: 0 0 0 2px #f4f0e8, 0 0 0 4px rgba(25, 25, 25, 0.9), 0 0 8px 4px rgba(255, 29, 29, 0.22);
  --focus-ring-danger-color: rgba(180, 35, 24, 0.9);
  --focus-ring-danger: 0 0 0 2px #f4f0e8, 0 0 0 4px rgba(180, 35, 24, 0.9), 0 0 8px 4px rgba(180, 35, 24, 0.22);
  --border-focus: rgba(25, 25, 25, 0.9);
  --high-contrast-border-focus: rgba(25, 25, 25, 1);
  --motion-instant: calc(60ms * var(--motion-scale, 1));
  --motion-fast: calc(120ms * var(--motion-scale, 1));
  --motion-base: calc(200ms * var(--motion-scale, 1));
  --motion-sheet: calc(300ms * var(--motion-scale, 1));
  --motion-slow: calc(450ms * var(--motion-scale, 1));
  --ease-enter: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-exit: cubic-bezier(0.8, 0, 0.4, 1);
  --ease-move: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-snap: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-overshoot: cubic-bezier(0.34, 1.3, 0.64, 1);
  --ease-spring: linear(0, 0.043, 0.148, 0.283, 0.428, 0.567, 0.691, 0.795, 0.878, 0.942, 0.987, 1.017, 1.035, 1.044, 1.046, 1.044, 1.039, 1.032, 1.026, 1.019, 1.014, 1.009, 1.005, 1.002, 1);
  --motion-spring: calc(380ms * var(--motion-scale, 1));
  --placeholder-reveal-delay: 300ms;
  --placeholder-breathe-duration: calc(1600ms * var(--motion-scale, 1));
  --placeholder-breathe-low: 0.6;
  --shimmer-duration: calc(1900ms * var(--motion-scale, 1));
  --glass-blur: 20px;
  --glass-saturate: 1.8;
  --glass-backdrop: blur(20px) saturate(1.8);
  --ink: #191919;
  --ink-1: rgba(25, 25, 25, 0.03);
  --ink-2: rgba(25, 25, 25, 0.05);
  --ink-3: rgba(25, 25, 25, 0.08);
  --ink-4: rgba(25, 25, 25, 0.1);
  --ink-5: rgba(25, 25, 25, 0.16);
  --ink-6: rgba(25, 25, 25, 0.32);
  --ink-7: rgba(25, 25, 25, 0.54);
  --ink-8: rgba(25, 25, 25, 0.72);
  --ink-9: rgba(25, 25, 25, 0.92);
  --glass-bg-secondary: rgba(25, 25, 25, 0.03);
  --glass-bg-subtle: rgba(25, 25, 25, 0.03);
  --glass-bg-hover: rgba(25, 25, 25, 0.05);
  --glass-bg-active: rgba(25, 25, 25, 0.08);
  --border-primary: rgba(25, 25, 25, 0.1);
  --border-secondary: rgba(25, 25, 25, 0.16);
  --text-dim: rgba(25, 25, 25, 0.16);
  --text-ghost: rgba(25, 25, 25, 0.32);
  --text-muted: rgba(25, 25, 25, 0.54);
  --text-subtle: rgba(25, 25, 25, 0.54);
  --text-tertiary: rgba(25, 25, 25, 0.72);
  --text-secondary: rgba(25, 25, 25, 0.72);
  --text-strong: rgba(25, 25, 25, 0.92);
  --black-pure: #f4f0e8;
  --black-rich: #fffdf8;
  --surface-base: #f4f0e8;
  --bg-primary: #f4f0e8;
  --bg-surface: #fffdf8;
  --glass-bg-primary: #fffdf8;
  --glass-bg-tertiary: rgba(255, 253, 248, 0.6);
  --glass-bg-input: rgba(25, 25, 25, 0.04);
  --glass-bg-popover: #ffffff;
  --glass-popover-background: rgba(255, 253, 248, 0.98);
  --glass-overlay-background: rgba(25, 25, 25, 0.3);
  --high-contrast-border-primary: rgba(25, 25, 25, 0.25);
  --high-contrast-border-secondary: rgba(25, 25, 25, 0.35);
  --text-primary: #191919;
  --high-contrast-text-secondary: rgba(25, 25, 25, 0.85);
  --high-contrast-text-tertiary: rgba(25, 25, 25, 0.75);
  --high-contrast-text-muted: rgba(25, 25, 25, 0.66);
  --inverse-bg: #191919;
  --inverse-surface: rgba(244, 240, 232, 0.06);
  --inverse-text-primary: #f4f0e8;
  --inverse-text-strong: rgba(244, 240, 232, 0.92);
  --inverse-text-secondary: rgba(244, 240, 232, 0.72);
  --inverse-text-tertiary: rgba(244, 240, 232, 0.58);
  --inverse-text-muted: rgba(244, 240, 232, 0.46);
  --inverse-border-primary: rgba(244, 240, 232, 0.24);
  --inverse-border-secondary: rgba(244, 240, 232, 0.16);
  --inverse-action-bg: #f4f0e8;
  --inverse-action-text: #191919;
  --inverse-action-bg-hover: rgba(244, 240, 232, 0.87);
  --inverse-shadow-prominent: 0 38px 100px rgba(0, 0, 0, 0.48);
  --accent-primary: #ff1d1d;
  --accent-blue: #191919;
  --accent-cyan: #191919;
  --accent-purple: #ff1d1d;
  --accent-emerald: #191919;
  --accent-indigo: #191919;
  --calendar-action-fill: #0ba8ff;
  --calendar-action-hover: rgba(11, 168, 255, 0.88);
  --calendar-action-text: #000000;
  --calendar-today-fill: #ff2865;
  --calendar-today-text: #ffffff;
  --button-primary-bg: #ff1d1d;
  --button-primary-text: #ffffff;
  --button-primary-bg-hover: #e01212;
  --button-work-success-background: #176045;
  --button-work-success-foreground: #ffffff;
  --button-work-error-foreground: #a52218;
  --color-info: #2563eb;
  --scrollbar-thumb: rgba(25, 25, 25, 0.14);
  --scrollbar-thumb-hover: rgba(25, 25, 25, 0.24);
  --chat-input-bg: rgba(255, 253, 248, 0.92);
  --chat-input-border: rgba(255, 29, 29, 0.24);
  --chat-composer-radius: 14px;
  --radius-default: 14px;
  --radius-card: 14px;
  --radius-control: 11px;
  --radius-chip: 5px;
  --radius-check: 4px;
  --radius-pill: 999px;
  --button-sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.1));
  --button-highlight: inset 0 0 0 1px rgba(0, 0, 0, 0.22), inset 0 2px 0px rgba(255, 255, 255, 0.3);
  --button-shadow: 0 1px 1px rgba(25, 25, 25, 0.16), 0 3px 8px rgba(25, 25, 25, 0.14);
  --button-pressed-highlight: inset 0 0 0 1px rgba(0, 0, 0, 0.22), inset 0 2px 0px rgba(0, 0, 0, 0.12);
  --button-pressed-scale: 0.98;
  --font-primary: SF Pro Text, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Recoleta, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --default-font-family: SF Pro Text, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-size-display: 3rem;
  --font-size-heading-2xl: 1.875rem;
  --font-size-heading-xl: 1.5rem;
  --font-size-heading-lg: 1.125rem;
  --font-size-heading: 0.875rem;
  --font-size-heading-xs: 0.75rem;
  --font-size-body-lg: 1.125rem;
  --font-size-body: 0.875rem;
  --font-size-body-xs: 0.75rem;
  --font-size-label: 0.75rem;
  --font-size-caption: 0.75rem;
  --font-size-micro: 0.625rem;
  --white-pure: #ffffff;
  --color-success: #16865c;
  --color-warning: #b45309;
  --color-error: #b42318;
  --diff-added-bg: rgba(25, 25, 25, 0.06);
  --diff-added-text: #191919;
  --diff-removed-bg: rgba(255, 29, 29, 0.1);
  --diff-removed-text: #e01212;
  --ground-island: #191919;
  --words-on-island: #fffdf8;
  --badge-success-text: rgb(23.05, 95.85, 68.55);
  --badge-success-bg: rgba(23.05, 95.85, 68.55, 0.15);
}
