/* =========================================================
   base.css — biến màu, reset, kiểu chữ nền
   ========================================================= */
:root{
  /* Màu thương hiệu */
  --green:#2f7d3a;
  --green-dark:#1d5a28;
  --green-deep:#143f1c;
  --green-light:#58b368;
  --green-pale:#e9f5ea;
  --orange:#ef8a17;
  --orange-light:#ffa63d;
  --orange-pale:#fff2e0;
  --blue:#1f66b8;
  --blue-pale:#e6f0fb;
  --danger:#d93a36;
  --danger-pale:#fdeceb;

  /* Nền & chữ */
  --bg:#f3f6f1;
  --surface:#ffffff;
  --border:#e5ebe3;
  --text:#1c2b22;
  --text-muted:#62756a;

  /* Hình khối */
  --radius-lg:22px;
  --radius:16px;
  --radius-sm:12px;
  --shadow-sm:0 1px 3px rgba(20,63,28,.06);
  --shadow:0 6px 18px rgba(20,63,28,.08);
  --shadow-lg:0 18px 40px rgba(20,63,28,.18);

  --font:'Be Vietnam Pro',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --safe-bottom:env(safe-area-inset-bottom,0px);
  --safe-top:env(safe-area-inset-top,0px);
}

*{margin:0;padding:0;box-sizing:border-box;font-family:var(--font)}
html{-webkit-text-size-adjust:100%}
body{
  background:var(--bg);
  color:var(--text);
  min-height:100vh;
  padding-bottom:calc(112px + var(--safe-bottom));
  line-height:1.45;
  -webkit-font-smoothing:antialiased;
}
.hidden{display:none!important}
a{color:inherit}
button{font-family:inherit}
:focus-visible{outline:3px solid rgba(88,179,104,.55);outline-offset:2px}

@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
}
