/* アシ丸 デザインシステム tokens.json から書き出した CSS 変数 */
:root {
  color-scheme: light;
  --surface: #f6f5f2;
  --surface-raised: #ffffff;
  --surface-sunken: #f1efea;
  --surface-brand: #fbf7f4;
  --line: #e6e2d9;
  --line-soft: #efece5;
  --line-strong: #dcd7cc;
  --ink: #1a2744;
  --ink-2: #4a5672;
  --ink-muted: #5a6782;
  --ink-faint: #8b93a7;
  --brand: #b83060;
  --brand-strong: #96244e;
  --brand-soft: #f5e6ed;
  --on-brand: #ffffff;
  --sakura: #f5c7d6;
  --success: #10603d;
  --success-soft: #e3f3ec;
  --warning: #8a5200;
  --warning-soft: #fbf0dd;
  --info: #0f4c93;
  --info-soft: #e7f0fb;
  --danger: #a32619;
  --danger-soft: #fbe9e6;
  --link: var(--brand-strong);
  --point-dev: #5b3aa0;
  --point-dev-soft: #efeaf8;
  --point-ai: #006d77;
  --point-ai-soft: #e2f3f4;

  --shadow-sm: 0 1px 2px #1a274414;
  --shadow-card: 0 1px 2px #1a27440a, 0 12px 32px -16px #1a27441a;
  --shadow-primary: 0 1px 2px #96244e40, inset 0 1px 0 #ffffff1f;
  --focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px #b83060;

  --font-system: "IBM Plex Sans JP", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --font-maru: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "BIZ UDPGothic", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;

  --radius-xs: 6px; --radius-sm: 8px; --radius-md: 10px; --radius-lg: 14px;
  --radius-xl: 20px; --radius-full: 999px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --surface: #14192a;
    --surface-raised: #1c2236;
    --surface-sunken: #232a40;
    --surface-brand: #191d2c;
    --line: #2e3650;
    --line-soft: #262d44;
    --line-strong: #3d4663;
    --ink: #eef0f5;
    --ink-2: #c3c9d8;
    --ink-muted: #a3abbf;
    --ink-faint: #6f7892;
    --brand: #e27a9f;
    --brand-strong: #f0a2bf;
    --brand-soft: #3a1f2c;
    --on-brand: #14192a;
    --success: #7fd6a8; --success-soft: #173327;
    --warning: #ecbb68; --warning-soft: #33270f;
    --info: #9cc2f2; --info-soft: #16263f;
    --danger: #f39a8e; --danger-soft: #3a1a17;
    --point-dev: #b8a2f2; --point-dev-soft: #2b2344;
    --point-ai: #72d0d9; --point-ai-soft: #10302f;
    --shadow-sm: 0 1px 2px #00000066;
    --shadow-card: 0 1px 2px #00000080, 0 12px 32px -16px #00000099;
    --shadow-primary: 0 1px 2px #00000080;
    --focus-ring: 0 0 0 2px #14192a, 0 0 0 4px #e27a9f;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --surface: #14192a;
  --surface-raised: #1c2236;
  --surface-sunken: #232a40;
  --surface-brand: #191d2c;
  --line: #2e3650;
  --line-soft: #262d44;
  --line-strong: #3d4663;
  --ink: #eef0f5;
  --ink-2: #c3c9d8;
  --ink-muted: #a3abbf;
  --ink-faint: #6f7892;
  --brand: #e27a9f;
  --brand-strong: #f0a2bf;
  --brand-soft: #3a1f2c;
  --on-brand: #14192a;
  --success: #7fd6a8; --success-soft: #173327;
  --warning: #ecbb68; --warning-soft: #33270f;
  --info: #9cc2f2; --info-soft: #16263f;
  --danger: #f39a8e; --danger-soft: #3a1a17;
  --point-dev: #b8a2f2; --point-dev-soft: #2b2344;
  --point-ai: #72d0d9; --point-ai-soft: #10302f;
  --shadow-sm: 0 1px 2px #00000066;
  --shadow-card: 0 1px 2px #00000080, 0 12px 32px -16px #00000099;
  --shadow-primary: 0 1px 2px #00000080;
  --focus-ring: 0 0 0 2px #14192a, 0 0 0 4px #e27a9f;
}
