/* ==========================================================
   01-base.css — socle : variables de theme et typographie
   Palette neon : vert fluorescent et bleu electric.
   ========================================================== */
:root{
  --bg:#041a1e;
  --surface:#08272c;
  --surface2:#0d3439;
  --fg:#e6fbff;
  --muted:#7fb3ba;
  --line:#13454b;
  --accent:#00e6b4;          /* vert neon */
  --accent-2:#3fc8ff;        /* bleu neon */
  --accent-fg:#03231f;
  --danger:#ff5f7e;
  --p1:#ff5f7e;              /* priorite haute  */
  --p2:#3fc8ff;              /* priorite moyenne */
  --p3:#00e6b4;              /* priorite basse   */
  --glow:0 0 18px rgba(0,230,180,.35);
  --shadow:0 2px 12px rgba(0,0,0,.45);
  --radius:16px;
  color-scheme:dark;
}
:root[data-theme=light]{
  --bg:#eefaf7;
  --surface:#ffffff;
  --surface2:#dcf5ef;
  --fg:#052b30;
  --muted:#4a7d84;
  --line:#bde8de;
  --accent:#00a983;          /* vert lisible sur fond clair */
  --accent-2:#0f7fb5;
  --accent-fg:#ffffff;
  --danger:#d1345c;
  --p1:#d1345c;
  --p2:#0f7fb5;
  --p3:#00a983;
  --glow:none;
  --shadow:0 2px 10px rgba(4,45,50,.10);
  color-scheme:light;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;background:var(--bg);
  color:var(--fg);padding-bottom:calc(100px + env(safe-area-inset-bottom));font-size:16px}
button,input,select{font:inherit;color:inherit}
button{cursor:pointer;border:0;background:none;min-height:44px}
button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--accent-2);outline-offset:2px}
[hidden]{display:none!important}
h1{margin:0;font-size:1.6rem;letter-spacing:-.02em}
h2{margin:0 0 14px;font-size:1.25rem}
h3{margin:0 0 8px;font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}