/* Shared design tokens. Loaded before the core stylesheet. */

:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --line: #e7ecf3;
  --line-strong: #d8e1ec;
  --text: #0f172a;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --nav: #102535;
  --nav-2: #17344a;
  --accent: #14b8a6;
  --accent-dark: #12a594;
  --green: #14b8a6;
  --danger: #ef4444;
  --warning: #f59e0b;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.04);
  --bg-main: #f6f8fb;
  --bg-page: #ffffff;
  --bg-card: #ffffff;
  --bg-soft: #f8fafc;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border-light: #e7ecf3;
  --border-soft: #eef2f6;
  --primary: #14b8a6;
  --primary-hover: #12a594;
  --primary-dark: #0f766e;
  --primary-soft: #eaf8f6;
  --blue: #3b82f6;
  --blue-soft: #eff6ff;
  --success: #22c55e;
  --success-soft: #ecfdf3;
  --warning-soft: #fff7e6;
  --danger-soft: #fef2f2;
  --purple: #8b5cf6;
  --purple-soft: #f3e8ff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-card: var(--shadow);
  --page-x: 10px;
  --page-y: 10px;
  --toolbar-y: 8px;
  --card-radius: 16px;
  --control-h: 38px;
  --row-h: 64px;
  --work-bottom-gap: 18px;
  --font-ui: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-size-xxs: 10px;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-md: 13px;
  --font-size-base: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-title: 20px;
  --line-tight: 1.15;
  --line-compact: 1.25;
  --line-normal: 1.4;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --type-body-size: var(--font-size-base);
  --type-body-line: var(--line-normal);
  --type-caption-size: var(--font-size-xs);
  --type-label-size: var(--font-size-sm);
  --type-control-size: var(--font-size-md);
  --type-menu-size: var(--font-size-md);
  --type-card-title-size: 15px;
  --type-page-title-size: var(--font-size-title);
  --type-section-title-size: var(--font-size-lg);
  --type-number-size: var(--font-size-xl);
  --button-h: 38px;
  --button-icon-size: 38px;
  --calendar-nav-size: 32px;
  --button-radius: 12px;
  --button-icon-radius: 10px;
  --button-padding-x: 12px;
  --button-gap: 8px;
  --button-font-size: var(--type-control-size);
  --toolbar-control-h: 32px;
  --toolbar-control-radius: 9px;
  --toolbar-control-padding-x: 12px;
  --toolbar-icon-size: 32px;
  --toolbar-font-size: 12px;
  font-family: var(--font-ui);
}
