/* ClassMate design tokens v1.0. Reference stylesheet; integrate with existing app CSS after inspection. */
:root {
  --color-primary: #5B5CEB;
  --color-primary-pressed: #4849C8;
  --color-primary-subtle: #ECECFF;
  --color-accent: #7C6FF8;
  --color-background: #F6F8FC;
  --color-surface: #FFFFFF;
  --color-surface-muted: #EFF2F8;
  --color-text-primary: #17213B;
  --color-text-secondary: #53627C;
  --color-text-tertiary: #687791;
  --color-border: #E3E8F2;
  --color-success: #137D5C;
  --color-success-bg: #E7F7F0;
  --color-warning: #A65A18;
  --color-warning-bg: #FFF2DF;
  --color-danger: #C33B52;
  --color-danger-bg: #FCECEF;
  --color-info-bg: #EAF3FF;
  --color-overlay: rgba(15, 23, 42, .45);
  --color-focus: #3136A8;

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

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow-card: 0 2px 12px rgba(23, 33, 59, .045);
  --shadow-nav: 0 -5px 24px rgba(23, 33, 59, .07);
  --transition-fast: 140ms ease;
  --transition-normal: 220ms ease;

  --font-sans: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  --app-max-width: 480px;
  --bottom-nav-height: 66px;
}

html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body { margin: 0; background: var(--color-background); color: var(--color-text-primary); font-family: var(--font-sans); }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
