/*
 * MI-Drive-PC keeps the new workspace layout and interaction model.
 * This layer restores the established visual system from ../index.html:
 * warm off-white surfaces, green emphasis, and the original home treatment.
 */
html:not([data-theme="dark"]){
  --green:#2f8f54;
  --green-d:#277946;
  --green2:#63bb78;
  --lime:#dceac7;
  --yellow:#e7c86a;
  --ink:#1f2a24;
  --muted:#6a766e;
  --bg:#f6f5f1;
  --panel:#fffdfa;
  --line:#dde4da;
  --soft:#f0f4ed;
  --danger:#cb5347;
  --danger-soft:#fbefec;
  --warn:#9d7a1f;
  --warn-soft:#fff6da;
  --sidebar-bg:#fcfcf9;
  --topbar-bg:rgba(246,245,241,.9);
  --surface-tint:#f1f6f1;
  --focus-ring:#2f8f54;
  --desk-accent:#2f8f54;
  --desk-pale:#e5eedb;
  --desk-pine:#204c39;
  --desk-muted:#6a766e;
  --shadow-soft:0 10px 30px rgba(31,42,36,.05);
}

html:not([data-theme="dark"]) .brandmark{
  background:linear-gradient(135deg,#2f8f54,#2a7c4a);
  box-shadow:0 8px 20px rgba(47,143,84,.22);
}
html:not([data-theme="dark"]) .nav button.active{
  background:linear-gradient(180deg,#e7f2d5 0%,#ddedc0 100%);
  color:#153d22;
  box-shadow:inset 3px 0 0 var(--green),0 4px 12px rgba(47,143,84,.08);
}
html:not([data-theme="dark"]) .btn.primary{background:var(--green);border-color:var(--green);color:#fff}
html:not([data-theme="dark"]) .btn.secondary{background:var(--lime);border-color:#d0e1aa;color:#244a32}
html:not([data-theme="dark"]) .kicker{background:#e8f1df;color:#3b6645}
html:not([data-theme="dark"]) .tile-icon{background:#e7f1df;color:#315742}
html:not([data-theme="dark"]) .desk-category .tile-icon{background:#f5edda;color:#88632e}
html:not([data-theme="dark"]) .desk-random .tile-icon{background:#e7eff6;color:#4e7292}
html:not([data-theme="dark"]) .desk-combo .tile-icon{background:#efe9f5;color:#7c629e}

/* Home: retain the new modules, restore the original green / cream art direction. */
html:not([data-theme="dark"]) .restored-heroes .hero-home{
  background:linear-gradient(120deg,#fffdfa 0 60%,#eef6ea 60%);
  border-color:var(--line);
}
html:not([data-theme="dark"]) .restored-heroes .mock-card{
  background:linear-gradient(160deg,#277946 0%,#1e663b 100%);
  border-color:#277946;
  box-shadow:0 18px 36px rgba(31,102,59,.2);
}
html:not([data-theme="dark"]) .restored-heroes .mock-card .btn.ghost{
  background:rgba(255,255,255,.96);
  color:#183a24;
}
html:not([data-theme="dark"]) .restored-heroes .road path:first-child{stroke:#dcebd9}
html:not([data-theme="dark"]) .restored-heroes .road path:nth-child(2){stroke:#a9d8a6}
html:not([data-theme="dark"]) .restored-heroes .road circle:first-of-type{fill:#2f8f54}
html:not([data-theme="dark"]) .restored-heroes .road circle:last-of-type{stroke:#dceac7}

html:not([data-theme="dark"]) .student-avatar{background:#e1f0dc;color:#397c50}
html:not([data-theme="dark"]) .learner-level{background:#e8f1df;color:#3b6645}
html:not([data-theme="dark"]) .offer-head{background:#ecf2e7;color:#2d5139}
html:not([data-theme="dark"]) :is(.offer-vip .offer-head,.exam-sidebar>.exam-intro){
  background:linear-gradient(118deg,#244535,#345440);
  color:#f8f5de;
}
html:not([data-theme="dark"]) .exam-intro .btn.primary{background:#ebf2de;color:#274c35}
html:not([data-theme="dark"]) .exam-state.passed,
html:not([data-theme="dark"]) .exam-state.live{background:#e7f6eb;color:#237545}
html:not([data-theme="dark"]) .exam-state.failed,
html:not([data-theme="dark"]) .exam-state.pending{background:#fff6da;color:#836226}
