/* ─── Base reset & typography ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-app);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background var(--t-theme), color var(--t-theme);
}

h1, h2, h3 { font-weight: 700; line-height: 1.25; color: var(--text-primary); }
h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
p  { color: var(--text-secondary); }

a { color: var(--c-blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

input, select, textarea, button { font-family: inherit; font-size: inherit; }

input[type="checkbox"] {
  width: 15px; height: 15px;
  accent-color: var(--c-blue-600);
  cursor: pointer;
}

:focus-visible { outline: 2px solid var(--c-blue-600); outline-offset: 2px; }

::-webkit-scrollbar          { width: 5px; height: 5px; }
::-webkit-scrollbar-track    { background: transparent; }
::-webkit-scrollbar-thumb    { background: var(--border-default); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

[hidden] { display: none !important; }
