/* tokens.css - dibuat dari tokens.json (design system Ecosystem). Tema terang bawaan; tema gelap: data-theme="dark". */
/* Penyesuaian MA Putra DDI Mangkoso: semua warna kebiruan (Dusk Blue #464D77 dan turunannya) diganti keluarga Teal #36827F agar senada dengan logo hijau madrasah. Teal gelap #2A6764 untuk surface/primary-text, latar gelap #0F1E1D. */
@font-face { font-family: "Inter"; src: url("fonts/Inter-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-Variable.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  --primary: #F9DB6D;
  --on-primary: #132423;
  --primary-text: #2A6764;
  --primary-tint: #FDF2CC;
  --secondary: #36827F;
  --on-secondary: #FFFFFF;
  --accent: var(--secondary);
  --background: #F4EDED;
  --surface-raised: #FFFFFF;
  --surface: #2A6764;
  --on-surface: #FFFFFF;
  --text-primary: #132423;
  --text-secondary: #5A4F44;
  --border: #E4DCD8;
  --border-strong: #877666;
  --focus-ring: #2A6764;
  --success: #1F6B4F;
  --warning: #7A5A00;
  --danger: #B42318;
  --scrim: rgba(15,30,29,0.56);
  --stage: #F4EDED;
  --on-glass: #132423;
  --on-glass-muted: #5A4F44;
  --glass-fill: rgba(255,255,255,0.62);
  --glass-highlight: rgba(255,255,255,0.55);
  --glass-border: rgba(255,255,255,0.75);
  --ambient-1: rgba(249,219,109,0.55);
  --ambient-2: rgba(42,103,100,0.35);
  --ambient-3: rgba(54,130,127,0.4);
  --glass-fill-strong: rgba(255,255,255,0.82);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 80px;
  --touch-target: 44px;
  --radius-control: 12px;
  --radius-card: 20px;
  --radius-glass: 28px;
  --radius-pill: 9999px;
  --shadow-card: 0 0 0 1px rgba(19,36,35,0.05), 0 1px 2px rgba(19,36,35,0.04), 0 8px 24px rgba(19,36,35,0.06);
  --shadow-lift: 0 0 0 1px rgba(19,36,35,0.05), 0 16px 40px rgba(19,36,35,0.12);
  --shadow-glass: inset 0 1px 0 rgba(255,255,255,0.9), 0 0 0 1px rgba(19,36,35,0.06), 0 12px 32px rgba(19,36,35,0.10);
  --duration-fast: 150ms;
  --duration-base: 240ms;
  --duration-slow: 400ms;
  --easing-standard: cubic-bezier(0.2, 0.7, 0.2, 1);
  --blur-glass: 24px;
  --blur-ambient: 64px;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --display-lg-size: 64px;
  --display-lg-line: 1.04;
  --display-lg-weight: 500;
  --display-lg-tracking: -0.02em;
  --display-md-size: 40px;
  --display-md-line: 42px;
  --display-md-weight: 500;
  --display-md-tracking: -0.02em;
  --title-lg-size: 28px;
  --title-lg-line: 34px;
  --title-lg-weight: 500;
  --title-lg-tracking: -0.015em;
  --title-md-size: 20px;
  --title-md-line: 26px;
  --title-md-weight: 600;
  --title-md-tracking: -0.01em;
  --body-lg-size: 18px;
  --body-lg-line: 28px;
  --body-lg-weight: 400;
  --body-lg-tracking: 0;
  --body-md-size: 16px;
  --body-md-line: 1.6;
  --body-md-weight: 400;
  --body-md-tracking: 0;
  --body-sm-size: 14px;
  --body-sm-line: 22px;
  --body-sm-weight: 400;
  --body-sm-tracking: 0;
  --caption-size: 12px;
  --caption-line: 16px;
  --caption-weight: 400;
  --caption-tracking: 0;
  --button-size: 16px;
  --button-line: 20px;
  --button-weight: 600;
  --button-tracking: 0;
  --label-md-size: 12px;
  --label-md-line: 1.2;
  --label-md-weight: 600;
  --label-md-tracking: 0.04em;
  --label-sm-size: 11px;
  --label-sm-line: 14px;
  --label-sm-weight: 600;
  --label-sm-tracking: 0.04em;
}
[data-theme="dark"] {
  --primary-text: #F9DB6D;
  --primary-tint: #3D3A2A;
  --background: #0F1E1D;
  --surface-raised: #172D2C;
  --text-primary: #F4EDED;
  --text-secondary: #CFC6BD;
  --border: #25403E;
  --border-strong: #7FAEAA;
  --focus-ring: #F9DB6D;
  --success: #5FD3A0;
  --warning: #F9DB6D;
  --danger: #FF8A7F;
  --scrim: rgba(0,0,0,0.64);
  --stage: #0F1E1D;
  --on-glass: #FFFFFF;
  --on-glass-muted: #F4EDED;
  --glass-fill: rgba(15,30,29,0.65);
  --glass-highlight: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.18);
  --ambient-1: rgba(249,219,109,0.9);
  --ambient-2: #2A6764;
  --ambient-3: rgba(54,130,127,0.75);
  --glass-fill-strong: rgba(15,30,29,0.82);
  --shadow-card: 0 0 0 1px rgba(255,255,255,0.06), 0 8px 24px rgba(0,0,0,0.35);
  --shadow-lift: 0 0 0 1px rgba(255,255,255,0.08), 0 16px 40px rgba(0,0,0,0.5);
  --shadow-glass: inset 0 1px 0 rgba(255,255,255,0.18), 0 12px 32px rgba(0,0,0,0.4);
}
