/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Brand tokens ── */
:root {
  --blue:        #003DA5;
  --blue-dark:   #002d7a;
  --blue-light:  #eef2ff;
  --red:         #C8102E;
  --red-dark:    #a00d25;
  --white:       #ffffff;
  --bg:          #e8eef8;
  --surface:     #f5f7fa;
  --border:      #dde3ed;
  --text:        #1a1a2e;
  --text-muted:  #667080;
  --green:       #16a34a;
  --green-bg:    #f0fdf4;
  --amber:       #f59e0b;
  --amber-bg:    #fffbeb;
  --font:        'Inter', 'Segoe UI', Roboto, -apple-system, Arial, sans-serif;
  --radius:      10px;
  --shadow:      0 2px 16px rgba(0,61,165,0.10);
}

/* ── Base ── */
html { height: 100%; }
body {
  min-height: 100%;
  background: var(--bg);
  font-family: var(--font);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ── iOS input zoom prevention ──
   iOS Safari auto-zooms when an input's font-size < 16px.
   Force 16px on all interactive fields to prevent layout shift on focus. */
input, select, textarea { font-size: 16px; }

/* ── App shell ── */
/* 100dvh: excludes iOS Safari toolbar (100vh includes it, causing bottom content to be cut off) */
.app { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
