:root{--bg:#14161A;--card:#1B1E23;--line:#2A2E35;--text:#fff;--muted:#A9B0BA;--accent:#B6F23A;--stinger:#fff;--hdr:rgba(20,22,26,.92);--glow:rgba(182,242,58,.13);--shadow:rgba(182,242,58,.12);color-scheme:dark;--lime:#B6F23A;box-sizing:border-box;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
@media (prefers-color-scheme:light){:root:not([data-theme="dark"]){--bg:#F6F7F2;--card:#fff;--line:#DFE3D6;--text:#14161A;--muted:#566070;--accent:#B6F23A;--stinger:#14161A;--hdr:rgba(246,247,242,.92);--glow:rgba(182,242,58,.35);--shadow:rgba(20,22,26,.12);color-scheme:light}}
:root[data-theme="light"]{--bg:#F6F7F2;--card:#fff;--line:#DFE3D6;--text:#14161A;--muted:#566070;--accent:#B6F23A;--stinger:#14161A;--hdr:rgba(246,247,242,.92);--glow:rgba(182,242,58,.35);--shadow:rgba(20,22,26,.12);color-scheme:light}
:root[data-theme="dark"]{--bg:#14161A;--card:#1B1E23;--line:#2A2E35;--text:#fff;--muted:#A9B0BA;--accent:#B6F23A;--stinger:#fff;--hdr:rgba(20,22,26,.92);--glow:rgba(182,242,58,.13);--shadow:rgba(182,242,58,.12);color-scheme:dark}
.stg{fill:var(--stinger)}
.brand{color:var(--text)}
.tg{width:40px;height:40px;border-radius:50%;border:1px solid var(--line);background:var(--card);color:var(--text);cursor:pointer;display:grid;place-items:center;padding:0;flex:none}
.tg:hover{border-color:var(--lime)}
.tg svg{width:18px;height:18px}
:root[data-theme="dark"] .tg .moon,:root[data-theme="light"] .tg .sun{display:none}
body,header,.card,.proj,.vals div,input,select,textarea,.tg{transition:background-color .3s,color .3s,border-color .3s}
@media(max-width:760px){.bar{gap:10px}nav{gap:10px}.brand{gap:8px}.brand svg.w{width:104px!important}nav .btn{padding:10px 12px;font-size:13px}}
nav .btn{white-space:nowrap}
