/* Sun Worker Design System — token sinh từ tokens.json (DS artifact 862Ywt3qgMDrPGoDsntGtC, đồng bộ 22/10/2026). Không sửa tay. */
@font-face { font-family: 'Metropolis'; src: url('fonts/Metropolis-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('fonts/Metropolis-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('fonts/Metropolis-SemiBold.otf') format('opentype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('fonts/Metropolis-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('fonts/Metropolis-ExtraBold.otf') format('opentype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('fonts/Metropolis-Black.otf') format('opentype'); font-weight: 900; font-style: normal; font-display: swap; }
:root {
  --primary: #173c78;
  --surface-navy: #0a3175;
  --brand: #f06f24;
  --gold: #ffd700;
  --ink: #1a1a2e;
  --on-surface: #333333;
  --on-surface-muted: #666666;
  --on-surface-subtle: #999999;
  --on-primary: #ffffff;
  --surface: #f5f5f5;
  --surface-elevated: #ffffff;
  --outline: #f0f0f0;
  --outline-strong: #e0e0e0;
  --switch-off: #d9d9d9;
  --success: #1e8e3e;
  --success-light: #e6f4ea;
  --warning: #e07b00;
  --warning-light: #fef7e0;
  --error: #d2232a;
  --error-light: #feecec;
  --info: #1890ff;
  --info-light: #e6f7ff;
  --attendance-gradient-start: #19437f;
  --attendance-gradient-end: #2d79e5;
  --attendance-progress-gold: #ffb020;
  --profile-identity-end: #1754b5;
  --disabled-fill: #e0e0e0;
  --disabled-text: #9e9e9e;
  --overlay-barrier: rgba(0, 0, 0, 0.4);
  --overlay-camera-dim: rgba(0, 0, 0, 0.35);
  --overlay-close: rgba(0, 0, 0, 0.4);
  --overlay-status-pill: rgba(0, 0, 0, 0.6);
  --overlay-oval-guide: rgba(255, 255, 255, 0.4);
  --overlay-tooltip: rgba(0, 0, 0, 0.85);
  --overlay-toast: rgba(0, 0, 0, 0.82);
  --material-page-bg: #f4f6fa;
  --material-soft-primary: #eaf0fa;
  --camera-bg: #0b0f17;
  --space-xxs: 2px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-smd: 12px;
  --space-md: 16px;
  --space-mlg: 20px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --icon-xs: 12px;
  --icon-sm: 16px;
  --icon-md: 20px;
  --icon-lg: 24px;
  --icon-xl: 32px;
  --icon-xxl: 40px;
  --icon-hero: 48px;
  --shadow-card: 0 8px 20px rgba(0, 0, 0, 0.06);
  --shadow-checkin: 0 4px 14px rgba(23, 60, 120, 0.38);
  --shadow-device: 0 0 20px rgba(0, 0, 0, 0.1);
  --button-sm: 36px;
  --button-md: 44px;
  --button-lg: 52px;
  --header-height: 56px;
  --safe-area-top-content: 60px;
  --bottom-nav-height: 89px;
  --checkin-button: 56px;
  --modal-max: 360px;
  --modal-max-compact: 340px;
  --avatar-md: 48px;
  --avatar-profile: 72px;
  --device-standard: 393px;
  --device-max: 430px;
  --device-android: 360px;
  --device-android-max: 412px;
  --map-pin: 24px;
  --map-marker: 18px;
  --place-list-max: 216px;
  --capture-button: 54px;
  --qr-size: 128px;
  --switch-width: 40px;
  --opacity-disabled: 0.5;
  --opacity-pressed: 0.9;
  --font-sans: 'Metropolis', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
