/* Palette claire du simulateur folko.freeboxos.fr, adaptée à PalletMaker. */
:root[data-theme="light"]{color-scheme:light;--bg:#edf2f5;--panel:#f7fafc;--border:#cad6dc;--orange:#a84c00;--text:#18333e;--muted:#526c78}
:root[data-theme="light"] header{background:rgba(255,255,255,.94);border-color:#a54e004d;border-top-color:var(--orange);box-shadow:0 12px 32px -10px #1a3a453d}
:root[data-theme="light"] .brand img{background:#12242a;border-radius:5px;padding:5px 8px}
:root[data-theme="light"] .divider{background:#cad6dc}
:root[data-theme="light"] .panel{background:linear-gradient(135deg,#fff,#f7fafc)}
:root[data-theme="light"] .stats>div{background:#fff}
:root[data-theme="light"] button,:root[data-theme="light"] .button{background:#e8eff3;border-color:#b8cbd4;color:#18333e}
:root[data-theme="light"] button:hover,:root[data-theme="light"] .button:hover{background:#dce7ed;border-color:var(--orange)}
:root[data-theme="light"] button.primary{background:var(--orange);border-color:var(--orange);color:#fff}
:root[data-theme="light"] label{color:#365460}
:root[data-theme="light"] input[type="number"],:root[data-theme="light"] select{background:#fff;color:#18333e;border-color:#b8cbd4}
:root[data-theme="light"] input:invalid{border-color:#b52d20}
:root[data-theme="light"] .settings section{border-color:#cad6dc}
:root[data-theme="light"] .live{color:#007b4e}
:root[data-theme="light"] .live i{background:#007b4e}
:root[data-theme="light"] .status{background:#edf8f2;border-color:#a7cdbb;color:#14613f}
:root[data-theme="light"] .status.warning{background:#fff3e4;border-color:#d3a06d;color:#864000}
:root[data-theme="light"] .autosave,:root[data-theme="light"] .scene-hint{color:#526c78}
:root[data-theme="light"] .viewport{background:radial-gradient(ellipse at 50% 60%,#fff,#e3ebf0 85%)}
:root[data-theme="light"] .badge{color:#a84c00;background:#a84c000a;border-color:#a84c004d}
:root[data-theme="light"] .camera-tools button{background:#ffffffed}
:root[data-theme="light"] .camera-tools .active{background:#fff2e7;color:#a84c00;border-color:#a84c00}
:root[data-theme="light"] .robot-step{background:#e8eff3}
:root[data-theme="light"] .robot-step span,:root[data-theme="light"] .grip-preview{color:#365460}
:root[data-theme="light"] #toast{background:#18333e;color:#fff;box-shadow:0 5px 30px #1a3a4533}
:root[data-theme="light"] #sceneError{background:#fff3e4;color:#864000;border:1px solid #d3a06d}
.header-actions{flex-wrap:wrap;justify-content:flex-end}#toggleTheme{white-space:nowrap;min-width:87px}
