:root{--bg:#0d1117;--p1:#161b22;--p2:#21262d;--p3:#30363d;--ln:#30363d;--tx:#e6edf3;--mu:#8b949e;--in:#0d1117;--grid:#1c2330;--fs:13px}
body.light{--bg:#eef1f5;--p1:#ffffff;--p2:#f2f4f7;--p3:#d6dbe2;--ln:#cdd3db;--tx:#1b1f24;--mu:#57606a;--in:#ffffff;--grid:#d9dee6}
body.fs-l{--fs:15px}body.fs-xl{--fs:17px}
*{box-sizing:border-box}
html,body{margin:0;height:100%;background:var(--bg);color:var(--tx);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:var(--fs);overflow:hidden}
button{font:inherit;color:inherit}input,select{font:inherit}
a{color:#58a6ff}
#top{position:fixed;top:0;left:0;right:0;height:48px;display:flex;align-items:center;gap:5px;padding:0 6px;background:var(--p1);border-bottom:1px solid var(--ln);z-index:30}
#top h1{font-size:15px;margin:0 4px;white-space:nowrap;flex:1;overflow:hidden;text-overflow:ellipsis}
#top .v{background:#1f6feb;color:#fff;border-radius:6px;padding:1px 6px;font-size:11px}
.tb{background:var(--p2);border:1px solid var(--ln);border-radius:8px;padding:7px 10px;cursor:pointer;white-space:nowrap;min-width:36px}
.tb.on{background:#1f6feb;border-color:#388bfd;color:#fff}
#menu{position:fixed;top:52px;right:6px;background:var(--p1);border:1px solid var(--ln);border-radius:12px;padding:6px;z-index:40;display:none;min-width:250px;max-height:calc(100vh - 70px);overflow:auto;box-shadow:0 10px 30px #0008}
#menu.open{display:block}
#menu .mh{font-size:11px;color:var(--mu);text-transform:uppercase;letter-spacing:.06em;padding:8px 10px 2px}
#menu button{display:block;width:100%;text-align:left;background:none;border:0;padding:9px 10px;border-radius:6px;cursor:pointer}
#menu button:hover{background:var(--p2)}
#coach{position:fixed;top:48px;left:0;right:0;z-index:26;background:linear-gradient(#1b2a45,#14203a);color:#fff;border-bottom:2px solid #388bfd;padding:8px 10px;display:none;box-shadow:0 6px 18px #0007}
#coach .ch-t{font-size:12px;color:#9ec5ff;font-weight:700}
#coach .ch-m{margin:4px 0;line-height:1.4}
#coach .small{font-size:.85em;color:#c9d7ee}
#coach .ch-b{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
#coach .ch-need{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0}
#coach .ch-need span{font-size:12px;padding:3px 7px;border-radius:12px;background:#0006}
#coach .ch-need .ok{background:#1f6f35}#coach .ch-need .ko{background:#7a2323}
#wrap{position:fixed;top:48px;left:0;right:0;bottom:110px;overflow:auto;-webkit-overflow-scrolling:touch;background:radial-gradient(var(--grid) 1px,transparent 1px) 0 0/22px 22px}
#sizer{position:relative}
#board{position:absolute;left:0;top:0;width:1680px;height:1900px;transform-origin:0 0;font-size:13px}
body.fs-l #board{font-size:14px}body.fs-xl #board{font-size:15px}
#cables{position:absolute;left:0;top:0;width:1680px;height:1900px;pointer-events:none;z-index:5;overflow:visible}
/* zone cliquable des câbles : SOUS les appareils (un câble dessiné par-dessus un bouton ne doit pas voler le toucher) */
#cablesHit{position:absolute;left:0;top:0;width:1680px;height:1900px;pointer-events:none;z-index:1;overflow:visible}
#cablesHit path.hit{pointer-events:stroke;cursor:pointer;stroke:transparent;stroke-width:14;fill:none}
#cables path.c{fill:none;stroke-width:5;stroke-linecap:round}
#cables path.flow{fill:none;stroke-width:2;stroke:#fff;stroke-dasharray:4 14;opacity:.75;animation:fl 1s linear infinite}
@keyframes fl{to{stroke-dashoffset:-18}}
/* ===== appareils ===== */
.dev{position:absolute;background:#1b222c;color:#e6edf3;border:1px solid #3a4452;border-radius:12px;box-shadow:0 8px 20px #0007;z-index:2}
.dev.foc{outline:3px solid #58a6ff;z-index:3}
.dh{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;padding:7px 8px 7px 10px;border-bottom:1px solid #00000055;background:#232c38;border-radius:12px 12px 0 0;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.dh b{display:block;font-size:1em}.dh small{color:#9aa4b0;font-size:.82em}
.fx{background:#0004;border:1px solid #fff2;border-radius:6px;padding:2px 7px;cursor:pointer;color:#fff}
.db{padding:8px 10px;display:flex;flex-direction:column;gap:6px}
.ports{display:flex;flex-wrap:wrap;gap:5px;padding:7px 8px 9px;border-top:1px dashed #ffffff22}
.port{display:flex;align-items:center;gap:5px;background:#0b0f14;border:1px solid #30363d;border-radius:20px;padding:3px 8px 3px 3px;cursor:pointer;font-size:.85em;user-select:none;-webkit-user-select:none}
.port .pin{width:22px;height:22px;border-radius:50%;border:4px solid #555;background:#000;flex:none;box-shadow:inset 0 0 0 3px #222}
.port.used .pin{background:currentColor}
.port em{display:block;font-style:normal;font-size:.78em;color:#8b949e;line-height:1}
.port.sel{outline:2px solid #fff;outline-offset:1px}
.port.ok{box-shadow:0 0 0 2px #3fb950;animation:pul 1s infinite}
.port.no{opacity:.3}
@keyframes pul{50%{box-shadow:0 0 0 5px #3fb95066}}
.coachT{outline:3px solid #ffd33d!important;outline-offset:2px;animation:coach 1s infinite;position:relative;z-index:6}
@keyframes coach{50%{outline-color:#ff7b00;box-shadow:0 0 18px #ffd33d}}
/* façades */
.d-cons{background:linear-gradient(#3a4656,#252e3a);border-color:#56657a}
.d-cons .dh{background:linear-gradient(#4b5a6e,#36414f)}
.brand{font-weight:800;letter-spacing:.04em;font-size:.85em;color:#dfe6ee;margin-right:auto}.brand i{font-style:normal;color:#ff6b6b}
.consbar{border-bottom:1px solid #00000044;padding-bottom:6px}
.strips{display:grid;grid-template-columns:repeat(6,1fr);gap:5px}
.strip{background:linear-gradient(#2c3644,#1f2731);border:1px solid #11161d;border-radius:8px;padding:6px 4px;display:flex;flex-direction:column;align-items:center;gap:5px}
.strip.master{background:linear-gradient(#323a49,#232a36);border-color:#58a6ff44}
.strip .tg{width:100%;padding:5px 2px}
.chn{font-size:.9em;background:#0006;border-radius:4px;padding:1px 8px}
.chlab{font-size:.75em;color:#9ec5ff;min-height:1em;text-align:center}
.ctr{justify-content:center}
.fdrow{display:flex;gap:4px;align-items:flex-end}
.d-umc{background:linear-gradient(#2a2a2e,#151517);border-color:#444}
.d-umc .dh{background:linear-gradient(#3a3a40,#26262a)}
.umcrow{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}
.umcrow>div{background:#0005;border-radius:8px;padding:6px 2px;display:flex;flex-direction:column;align-items:center;gap:5px}
.d-atem{background:linear-gradient(#202326,#0f1113);border-color:#3b3f44}
.d-atem .dh{background:linear-gradient(#2d3135,#1b1e21)}
.atemgrid{display:grid;grid-template-columns:1.2fr 1fr;gap:8px}
.atembtns{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}
.atembtns .rad{padding:12px 0;font-size:1.15em;background:#3a3f45;border-color:#55595f;border-radius:6px}
.atembtns .rad.on{background:#e5534b;box-shadow:0 0 12px #e5534b}
.d-pc{background:linear-gradient(#1d2430,#151a22)}
.d-pc .dh{background:linear-gradient(#2a3442,#1f2733)}
.d-vm{background:linear-gradient(#232b3b,#141a25);border-color:#5a6aa0}
.d-vm .dh{background:linear-gradient(#36437a,#252f58)}
.vmstrip{background:#0005;border-radius:8px;padding:6px;display:flex;flex-direction:column;gap:5px}
.d-box{background:linear-gradient(#f4f4f4,#dcdcdc);color:#1b1f24;border-color:#bbb}
.d-box .dh{background:linear-gradient(#fff,#e7e7e7);color:#1b1f24}.d-box .dh small{color:#555}.d-box .txt,.d-box .rg{color:#333}.d-box .fx{color:#333;background:#0001}
.d-mic,.d-inst,.d-rx{background:linear-gradient(#262b33,#1a1e24)}
.d-cam{background:linear-gradient(#22262c,#16191d)}
.d-spk,.d-mon{background:linear-gradient(#1f2329,#14171b)}
.micpic,.campic,.spkpic{font-size:26px;text-align:center;line-height:1}
/* contrôles */
.row{display:flex;flex-wrap:wrap;gap:5px;align-items:center}
.tg,.rad,.act{background:#2d333b;border:1px solid #444c56;border-radius:6px;padding:6px 8px;cursor:pointer;font-size:.85em;font-weight:600;color:#e6edf3}
.tg.on{background:#238636;border-color:#2ea043}
.tg.red.on{background:#da3633;border-color:#f85149}
.tg.amb.on{background:#9e6a03;border-color:#d29922}
.tg.pw.on{background:#1f6feb;border-color:#388bfd}
.rad.on{background:#da3633;border-color:#f85149;color:#fff}
.rad.sc{text-align:left}.rad.sc.on{background:#1f6feb;border-color:#388bfd}
.act.on{background:#da3633;border-color:#f85149}
.d-box .tg,.d-box .act{background:#e1e4e8;color:#1b1f24;border-color:#bbb}.d-box .tg.on{background:#2ea043;color:#fff}.d-box .tg.pw.on{background:#1f6feb;color:#fff}
.kn{display:flex;flex-direction:column;align-items:center;gap:1px;cursor:ns-resize;touch-action:none;user-select:none;-webkit-user-select:none}
.kn .dial{width:40px;height:40px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff8,transparent 45%),var(--cap);border:3px solid #111;box-shadow:0 3px 6px #000a,inset 0 -3px 5px #0005;position:relative}
.kn .dial i{position:absolute;left:50%;top:3px;width:3px;height:14px;margin-left:-1.5px;background:#111;border-radius:2px}
.kn.act .dial{box-shadow:0 0 0 3px #58a6ff}
.kl{font-size:.7em;color:#b8c2cc;letter-spacing:.03em}
.kn b,.vf b{font-size:.72em;color:#fff;font-weight:600}
.vf{display:flex;flex-direction:column;align-items:center;gap:2px;touch-action:none;cursor:ns-resize;user-select:none;-webkit-user-select:none}
.vf .trk{position:relative;width:30px;height:110px;display:flex;justify-content:center}
.vf .trk::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:4px;margin-left:-2px;background:#000;border-radius:2px;box-shadow:inset 0 0 2px #fff3}
.vf .cap{position:absolute;left:1px;right:1px;height:18px;background:linear-gradient(#e8e8e8,#9a9a9a);border-radius:3px;border:1px solid #222;box-shadow:0 2px 4px #000a}
.vf .cap::after{content:"";position:absolute;left:3px;right:3px;top:8px;height:2px;background:#222}
.vf.act .cap{box-shadow:0 0 0 3px #58a6ff}
.vmeter{width:7px;height:110px;background:#000;border-radius:3px;position:relative;overflow:hidden;border:1px solid #333}
.vmeter i{position:absolute;bottom:0;left:0;right:0;height:0;background:#3fb950;transition:height .08s}
.rg{display:flex;flex-direction:column;gap:2px;font-size:.85em;color:#adbac7}
.rg b{color:#fff;font-weight:600}
input[type=range]{width:100%;accent-color:#58a6ff;margin:0;height:24px}
select,input[type=text],input:not([type]){background:var(--in);color:var(--tx);border:1px solid var(--ln);border-radius:6px;padding:6px;width:100%}
.dev select,.dev input[type=text]{background:#0d1117;color:#e6edf3;border-color:#444c56;font-size:.88em}
.d-box select{background:#fff;color:#111}.d-box .rg b{color:#111}
.ledw{display:inline-flex;align-items:center;font-size:.78em;color:#c9d1d9}
.d-box .ledw{color:#333}
.led{display:inline-block;width:10px;height:10px;border-radius:50%;background:#30363d;margin-right:3px;border:1px solid #000}
.led.g{background:#3fb950;box-shadow:0 0 6px #3fb950}.led.y{background:#d29922;box-shadow:0 0 6px #d29922}.led.r{background:#f85149;box-shadow:0 0 8px #f85149}
.meter{height:7px;background:#0b0f14;border-radius:4px;overflow:hidden;border:1px solid #30363d}
.meter i{display:block;height:100%;width:0;background:#3fb950;transition:width .08s}
.note{font-size:.82em;color:var(--mu);line-height:1.4}
.dev .note{color:#8b949e}
.txt{font-size:.85em;color:#c9d1d9;line-height:1.4}
.obs{background:#0f1319;border:1px solid #30363d;border-radius:8px;padding:7px;display:flex;flex-direction:column;gap:6px}
.obsh{font-weight:700;display:flex;justify-content:space-between}
.obst{font-size:.75em;text-transform:uppercase;letter-spacing:.06em;color:#8b949e;margin-top:2px}
.obscols{display:grid;grid-template-columns:1fr 1.2fr;gap:8px}
.scenes{display:flex;flex-direction:column;gap:4px}
.mini{aspect-ratio:16/9;border-radius:6px;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:.85em;background:#000;overflow:hidden;text-align:center;position:relative;width:100%;color:#fff}
.mini .e{font-size:28px}
.l3{position:absolute;left:6%;right:6%;bottom:8%;background:linear-gradient(90deg,#0b3d91ee,#0b3d9166);border-left:4px solid #ffd33d;padding:4px 8px;text-align:left;display:flex;flex-direction:column;border-radius:3px}
.l3 b{font-size:1em}.l3 span{font-size:.75em;opacity:.85}.l3.c{text-align:center;border-left:0;background:#0007}
.mv{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:2.2fr 1fr;gap:2px;aspect-ratio:16/9;background:#000;border-radius:6px;overflow:hidden;font-size:.75em;color:#fff}
.mv>div{display:flex;align-items:center;justify-content:center;flex-direction:column;background:#111;position:relative}
.mv .big{grid-column:1/5;border:2px solid #f85149;font-size:1.1em}.mv .big .l3{font-size:.8em}
.mv .pg{outline:2px solid #f85149;outline-offset:-2px}
.mv small{position:absolute;left:3px;bottom:1px;font-size:.8em}
/* ===== outils / tiroir ===== */
#tools{position:fixed;left:0;right:0;bottom:56px;height:54px;background:var(--p1);border-top:1px solid var(--ln);z-index:22;display:flex;gap:6px;align-items:center;padding:0 6px;overflow:hidden}
#tools .cabs{flex:1;display:flex;gap:6px;align-items:center;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth;height:100%}
#tools .cabs::-webkit-scrollbar,#handle::-webkit-scrollbar{display:none}
#handle{scrollbar-width:none}
#tools .arr{flex:none;width:32px;height:36px;border-radius:8px;border:1px solid var(--ln);background:var(--p2);color:var(--tx);font-size:20px;line-height:1;cursor:pointer}
#tools .arr.off{opacity:.25;pointer-events:none}
body.auto #tools{display:none}body.auto #wrap{bottom:56px}
#tools .lab{font-size:.85em;color:var(--mu);white-space:nowrap}
.cab{flex:none;display:flex;align-items:center;gap:6px;background:var(--p2);border:1px solid var(--ln);border-radius:20px;padding:7px 11px;font-size:.88em;cursor:pointer;white-space:nowrap}
.cab i{width:18px;height:6px;border-radius:3px}
.cab.on{border-color:#58a6ff;box-shadow:0 0 0 2px #388bfd}
#tools.flash{animation:fla .4s 3}@keyframes fla{50%{background:#9e6a03}}
#selbar{position:fixed;left:50%;bottom:118px;transform:translateX(-50%);background:var(--p1);border:1px solid #388bfd;border-radius:14px;padding:7px 12px;z-index:24;display:none;font-size:.9em;max-width:94vw;text-align:center;cursor:pointer}
#drawer{position:fixed;left:0;right:0;bottom:0;height:56px;background:var(--p1);border-top:1px solid var(--ln);z-index:25;transition:height .25s;display:flex;flex-direction:column}
#drawer.open{height:min(64vh,580px)}
#handle{height:56px;flex:none;display:flex;align-items:center;gap:6px;padding:0 8px;cursor:pointer;overflow-x:auto}
.pill{display:flex;align-items:center;gap:4px;background:var(--p2);border:1px solid var(--ln);border-radius:20px;padding:5px 9px;font-size:.9em;white-space:nowrap}
.pill.ok{border-color:#2ea043}.pill.ko{border-color:#f85149}.pill.live{background:#da3633;border-color:#f85149;color:#fff}.pill.warn{background:#9e6a03;color:#fff}
#handle .chev{margin-left:auto;padding:0 6px;color:var(--mu)}
#tabs{display:flex;gap:4px;padding:0 8px 6px;flex:none}
#tabs button{flex:1;background:var(--p2);border:1px solid var(--ln);border-radius:8px;padding:8px 2px;cursor:pointer;font-size:.9em}
#tabs button.on{background:#1f6feb;border-color:#388bfd;color:#fff}
#panel{flex:1;overflow:auto;padding:4px 10px 14px}
.pv{position:relative;aspect-ratio:16/9;max-width:560px;margin:0 auto;background:#000;border-radius:10px;overflow:hidden;border:1px solid var(--ln);color:#fff}
#pvin{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;transition:opacity .45s}
#pvin .e{font-size:54px}#pvin .l3{font-size:1.1em}
.badge{position:absolute;top:8px;left:8px;background:#da3633;color:#fff;font-weight:800;font-size:11px;padding:3px 7px;border-radius:4px;display:none}
.badge2{position:absolute;top:8px;right:8px;background:#9e6a03;color:#fff;font-weight:700;font-size:11px;padding:3px 7px;border-radius:4px}
.pvsrc{position:absolute;bottom:6px;right:8px;font-size:11px;color:#fffb;background:#0008;padding:2px 6px;border-radius:4px}
.lv{max-width:560px;margin:8px auto}
.lst{list-style:none;padding:0;margin:8px 0;display:flex;flex-direction:column;gap:5px}
.lst li{background:var(--bg);border:1px solid var(--ln);border-radius:8px;padding:8px;line-height:1.4}
.lst li.ok{border-left:4px solid #3fb950}.lst li.ko{border-left:4px solid #f85149}.lst li.w{border-left:4px solid #d29922}
.leg{display:inline-flex;align-items:center;gap:5px}.leg i{width:22px;height:6px;border-radius:3px;display:inline-block}
.mis{background:var(--bg);border:1px solid var(--ln);border-radius:10px;padding:10px;margin:6px 0;cursor:pointer}
.mis.cur{border-color:#388bfd}.mis h4{margin:0 0 4px;font-size:1em}.mis p{margin:0 0 4px;color:var(--mu);font-size:.92em;line-height:1.4}
.hint{background:#1c2a1f;color:#d7f5dc;border:1px solid #2ea043;border-radius:8px;padding:8px;margin-top:8px}
body.light .hint{background:#e6f6ea;color:#14411f}
.bigbtn{background:#1f6feb;color:#fff;border:0;border-radius:8px;padding:9px 12px;font-weight:600;cursor:pointer;margin:4px 4px 0 0}
.bigbtn.gr{background:var(--p3);color:var(--tx)}
#log div{font-size:.88em;padding:4px 0;border-bottom:1px solid var(--p2);color:var(--mu)}
/* ===== feuilles ===== */
#sheet{position:fixed;inset:0;background:#0009;z-index:45;display:none;align-items:flex-end;justify-content:center}
#sheet.open{display:flex}
.shin{background:var(--p1);width:100%;max-width:720px;max-height:88vh;border-radius:16px 16px 0 0;display:flex;flex-direction:column;border:1px solid var(--ln)}
@media(min-width:760px){#sheet{align-items:center}.shin{border-radius:16px}}
.shh{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid var(--ln)}
#shB{overflow:auto;padding:10px 14px 18px}
#shB h4{margin:14px 0 6px}
.col{display:flex;flex-direction:column;gap:6px}
.qq{font-size:1.1em;line-height:1.4}
.qopts{display:flex;flex-direction:column;gap:6px}
.qopt{background:var(--p2);border:1px solid var(--ln);border-radius:10px;padding:10px;text-align:left;cursor:pointer}
.qopt.good{border-color:#2ea043;background:#2ea04333}.qopt.bad{border-color:#f85149;background:#f8514933}
.expl{font-size:1.05em;line-height:1.55}
.cpy{display:none;width:100%;height:80px;margin-top:8px;background:var(--in);color:var(--tx);border:1px solid var(--ln);border-radius:6px;font-family:monospace;font-size:11px}
.tbl{border-collapse:collapse;width:100%;font-size:.9em}.tbl td,.tbl th{border:1px solid var(--ln);padding:5px;text-align:left}.tbl tr.me td{background:#1f6feb22}
.tblw{overflow-x:auto}
.res{border:1px solid var(--ln);border-radius:12px;padding:12px;margin-bottom:8px}
.resh{display:flex;justify-content:space-between;align-items:center;gap:10px}
.note20{font-size:2.2em;font-weight:800;border-radius:12px;padding:4px 12px}.note20 small{font-size:.45em}
.note20.g{background:#2ea04333;color:#3fb950}.note20.y{background:#d2992233;color:#d29922}.note20.r{background:#f8514933;color:#f85149}
.ficheWrap{background:#fff;color:#111;border-radius:8px;padding:12px;font-size:12px}
.fiche .fh{display:flex;justify-content:space-between;border-bottom:2px solid #111;padding-bottom:6px;gap:10px}
.fiche h3{font-size:13px;margin:12px 0 5px}.fiche .tbl td,.fiche .tbl th{border-color:#999}
.fiche .ck{list-style:none;padding:0;columns:2}
.fiche .rfx{display:grid;grid-template-columns:1fr 1fr;gap:4px 14px}.fiche .rfx ol{margin:3px 0 6px 16px;padding:0}@media(max-width:600px){.fiche .rfx{grid-template-columns:1fr}}.ficheWrap{overflow-x:auto}.fiche .sig{margin-top:18px}
#toast{position:fixed;left:50%;top:58px;transform:translateX(-50%);background:#1f6feb;color:#fff;padding:9px 14px;border-radius:10px;z-index:60;display:none;max-width:92vw;width:max-content;font-weight:600;line-height:1.4;box-shadow:0 6px 20px #0008}
#toast.err{background:#da3633}#toast.win{background:#238636}#toast.warn{background:#9e6a03}
#toast button{margin-left:10px;background:#fff3;border:0;border-radius:6px;padding:3px 8px;cursor:pointer;color:#fff}
#bub{position:fixed;transform:translateX(-50%);background:#000c;color:#fff;padding:4px 8px;border-radius:6px;font-weight:700;z-index:70;display:none;pointer-events:none}
body.help #board .dev{cursor:help}body.help #board [data-k],body.help #board .port{outline:1px dashed #58a6ff88}

.tbl tr.clk{cursor:pointer}.tbl tr.clk:hover td{background:#1f6feb22}

.viewf .mini{aspect-ratio:16/9}
.camv{position:absolute;inset:0}.camv svg{width:100%;height:100%;display:block}
.camlab{position:absolute;left:4px;top:3px;font-size:.75em;background:#0008;color:#fff;border-radius:4px;padding:0 5px;z-index:2}
.mini .l3,.mv .l3,#pvin .l3{z-index:2}
.camk{display:grid;grid-template-columns:repeat(4,1fr);gap:2px}.camk .kn .dial{width:34px;height:34px}
.chat{border:1px solid var(--ln);border-radius:10px;margin-top:8px;overflow:hidden}
.chh{display:flex;justify-content:space-between;gap:8px;padding:6px 8px;background:var(--p2);font-size:.88em;flex-wrap:wrap}
.chl{max-height:170px;overflow-y:auto;padding:6px 8px;display:flex;flex-direction:column;gap:3px;scrollbar-width:thin}
.cm{font-size:.9em;line-height:1.35}.cm b{color:#58a6ff;margin-right:4px}.cm.bad span{color:#f85149}
.ch-inc{background:#7a2323;border-radius:8px;padding:5px 8px;margin:4px 0;font-weight:600}
.netsec{border-top:1px solid #0002;padding-top:6px;display:flex;flex-direction:column;gap:5px}
.ta{min-height:70px;width:100%;background:var(--in);color:var(--tx);border:1px solid var(--ln);border-radius:6px;padding:6px;font:inherit}
.chk{display:flex;gap:8px;align-items:flex-start;font-size:.92em}
.lst li.clk{cursor:pointer}
body.replaying #wrap{outline:4px solid #ff7b00;outline-offset:-4px}
.mv>div{overflow:hidden}

.dev.locked{opacity:.6}.dev.locked .db{pointer-events:none}
.lockb{margin-left:auto;margin-right:4px;font-size:14px}
.livecode{font-size:1.3em;text-align:center;padding:10px;border:2px dashed #388bfd;border-radius:12px;margin-bottom:8px}.livecode b{font-size:1.6em;letter-spacing:.15em}
.pill.livep{background:#1f6feb;color:#fff;border-color:#388bfd}
.icl{max-height:240px;border:1px solid var(--ln);border-radius:8px;margin-top:6px}
#tabs button{min-width:0}

/* ===== lot 3 : PC, tablette et téléphone ===== */
/* focus clavier bien visible (PC) */
button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,[data-ctl]:focus-visible,.cab:focus-visible{outline:3px solid #ffd33d;outline-offset:2px}
[data-ctl]:focus{outline:none}[data-ctl]:focus-visible .dial,[data-ctl]:focus-visible .cap{box-shadow:0 0 0 3px #ffd33d}
#handle .chev{position:sticky;right:0;background:var(--p1);padding:6px 4px 6px 10px}
/* écran tactile : cibles d'au moins 36-40 px (au zoom 1) */
body.coarse .tb{min-width:42px;min-height:42px}
body.coarse #tabs button{min-height:42px}
body.coarse #menu button{padding:12px 10px}
body.coarse .cab{min-height:40px}
body.coarse #tools .arr{height:40px}
body.coarse .port{padding:6px 10px 6px 6px}
body.coarse .port .pin{width:26px;height:26px}
body.coarse .tg,body.coarse .rad,body.coarse .act{min-height:38px;padding:8px 10px}
body.coarse .strip .tg{padding:8px 2px}
body.coarse .fx{min-width:38px;min-height:38px;padding:6px 9px}
body.coarse .dev select,body.coarse .dev input[type=text]{min-height:38px}
body.coarse .kn .dial{width:44px;height:44px}
body.coarse .camk .kn .dial{width:40px;height:40px}
body.coarse .bigbtn{min-height:40px}
/* téléphone : boîte à câbles et barre du bas compactes */
@media(max-width:600px){
 #tools .lab{display:none}
 #tools{gap:4px;padding:0 4px}
 #tools .arr{width:26px;font-size:18px}
 .cab{padding:7px 9px;gap:5px;font-size:.84em}
 #handle{gap:4px;padding:0 6px}
 #handle .pl{display:none}
 #handle .pill{padding:5px 8px}
 #menu{max-width:calc(100vw - 56px);min-width:0;left:auto}
}

/* ===== style réaliste des appareils (body.eq2) — lot A : prises et commandes. L'ancien style reste : ⚙️ Affichage › Style des appareils ===== */
/* ancien style : les ajouts du nouveau sont neutres */
.pgrp,.pgl{display:contents}.pcap,.fsc{display:none}
/* prises : une forme par connecteur (dessins dans SOCK, data.js) ; une prise branchée prend la couleur du câble (--cc) */
body.eq2 .ports{gap:7px 14px;padding:7px 9px 8px;border-top:1px solid #000;background:#101317;border-radius:0 0 11px 11px;align-items:flex-start}
body.eq2 .pgrp{display:flex;flex-direction:column;gap:3px;min-width:0}
body.eq2 .pcap{display:block;text-decoration:none;font-size:.68em;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#8b949e}
body.eq2 .pgl{display:flex;flex-wrap:wrap;gap:4px}
body.eq2 .port{flex-direction:column;gap:1px;background:none;border:1px solid transparent;border-radius:8px;padding:3px 3px 2px;min-width:46px;max-width:84px;text-align:center;font-size:.8em;line-height:1.15}
body.eq2 .port .pin{width:34px;height:34px;border:0;border-radius:0;background:var(--sk) center/contain no-repeat;box-shadow:none}
body.eq2 .port span{color:#d0d7de;font-weight:700}
body.eq2 .port em{font-weight:400;margin-top:1px;line-height:1.1;font-size:.84em}
body.eq2 .port.used{background:#ffffff14;background:color-mix(in srgb,var(--cc) 16%,transparent);border-color:var(--cc)}
body.eq2 .port.used span{color:var(--cc)}
body.eq2.coarse .port{padding:4px 4px 3px;min-width:52px}
body.eq2.coarse .port .pin{width:38px;height:38px}
/* potentiomètres : jupe sombre, capuchon de couleur, repère blanc, graduations fixes autour (--tk, ui.js) */
body.eq2 .kn{position:relative;--kd:36px}body.eq2 .camk .kn{--kd:30px}body.eq2.coarse .kn{--kd:40px}body.eq2.coarse .camk .kn{--kd:36px}body.eq2 .camk .kn .dial,body.eq2.coarse .camk .kn .dial{margin:7px 5px 6px}
body.eq2 .kn .dial,body.eq2.coarse .kn .dial,body.eq2.coarse .camk .kn .dial{width:var(--kd);height:var(--kd);margin:7px 7px 6px;border:0;background:radial-gradient(circle,#ffffff66 0,#fff0 34%),radial-gradient(circle,var(--cap) 0 60%,#0008 61% 65%,#16181b 66%);box-shadow:0 3px 5px #000a,0 0 0 1px #3b3f45}
body.eq2 .kn .dial i{top:1px;width:3px;height:36%;background:#fff;box-shadow:0 0 0 .5px #0009}
body.eq2 .kn::before{content:"";position:absolute;top:0;left:50%;width:calc(var(--kd) + 14px);height:calc(var(--kd) + 14px);margin-left:calc(var(--kd)/-2 - 7px);background:var(--tk) center/contain no-repeat;pointer-events:none}
body.eq2 .kn.act .dial{box-shadow:0 0 0 3px #58a6ff}body.eq2 [data-ctl]:focus-visible .dial{box-shadow:0 0 0 3px #ffd33d}
/* faders : échelle en dB (positions calculées depuis fdb(), data.js), capuchon strié */
body.eq2 .vf{--ch:26px}
body.eq2 .vf .trk{width:calc(27px + 1.4em);height:116px}
body.eq2 .fsc{display:block;position:absolute;left:0;top:0;bottom:0;width:2.1em;font-size:.66em;font-weight:700;color:#aab2bb;line-height:1}
body.eq2 .fsc u{position:absolute;right:0;text-decoration:none;transform:translateY(50%);padding-right:5px}
body.eq2 .fsc u::after{content:"";position:absolute;right:0;top:50%;width:3px;height:1px;background:currentColor}
body.eq2 .vf .trk::before{left:auto;right:10.5px;margin:0;width:5px;top:2px;bottom:2px;background:#0a0b0d;border-radius:3px;box-shadow:inset 0 1px 2px #000,0 1px 0 #ffffff33}
body.eq2 .vf .cap{left:auto;right:0;width:26px;height:26px;background:linear-gradient(#fbfbfb 0,#c9cdd2 18%,#f2f3f4 46%,#8f959c 54%,#d9dce0 82%,#9aa0a7);border:1px solid #33373d;box-shadow:0 3px 5px #0009}
body.eq2 .vf .cap::after{left:0;right:0;top:50%;height:2px;margin-top:-1px;background:#16181b}
body.eq2 .vf.act .cap{box-shadow:0 0 0 3px #58a6ff}body.eq2 [data-ctl]:focus-visible .cap{box-shadow:0 0 0 3px #ffd33d}
/* vumètres à segments : vert, puis jaune (77 %), puis rouge (93 %) — mêmes seuils que meterLoop() ; .seg est posé par meterLoop (les jauges de batterie ne sont pas concernées) */
body.eq2 .vmeter{height:116px;width:9px;border-radius:2px;border-color:#000}
body.eq2 .vmeter.seg{background:linear-gradient(to top,#1d3323 0 77%,#3a3112 77% 93%,#3a1616 93%)}
body.eq2 .vmeter.seg i{background:linear-gradient(to top,#35d04f 0 77%,#ffc928 77% 93%,#ff4136 93%) bottom/100% calc(100%/var(--f,1)) no-repeat!important;transition:none}
body.eq2 .vmeter.seg::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(to top,#0000 0 7px,#0a0b0d 7px 9px);pointer-events:none}
body.eq2 .meter.seg{position:relative;height:9px;border-color:#000;border-radius:2px;background:linear-gradient(to right,#1d3323 0 77%,#3a3112 77% 93%,#3a1616 93%)}
body.eq2 .meter.seg i{background:linear-gradient(to right,#35d04f 0 77%,#ffc928 77% 93%,#ff4136 93%) left/calc(100%/var(--f,1)) 100% no-repeat!important;transition:none}
body.eq2 .meter.seg::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(to right,#0000 0 6px,#0a0b0d 6px 8px);pointer-events:none}
/* boutons du matériel (.hw : tout sauf le PC et VoiceMeeter, qui sont des logiciels) : touche en relief, voyant intégré */
body.eq2 .hw .tg{display:inline-flex;align-items:center;justify-content:center;gap:5px;background:linear-gradient(#3b424c,#2a3038);border:1px solid #0b0d10;box-shadow:0 2px 0 #0b0d10,inset 0 1px 0 #ffffff1f;color:#e6edf3}
body.eq2 .hw .tg::before{content:"";flex:none;width:7px;height:7px;border-radius:50%;background:#14171b;box-shadow:inset 0 1px 1px #000,0 0 0 1px #ffffff1a}
body.eq2 .hw .tg.on{background:linear-gradient(#2a3038,#262b32);transform:translateY(1px);box-shadow:inset 0 2px 3px #000a,0 0 0 1px #35d04f66}
body.eq2 .d-box .tg,body.eq2 .d-cons .strip .tg{background:linear-gradient(#f7f8f9,#cfd3d8);border-color:#7d848d;box-shadow:0 2px 0 #6d747d,0 3px 4px #0004;color:#23272d}
body.eq2 .d-box .tg::before,body.eq2 .d-cons .strip .tg::before{background:#5b616a;box-shadow:inset 0 1px 1px #0008}
body.eq2 .d-box .tg.on,body.eq2 .d-cons .strip .tg.on{background:linear-gradient(#dfe2e6,#c3c8ce);color:#23272d;box-shadow:inset 0 2px 3px #0006}
body.eq2 .hw .tg.on::before{background:#35d04f;box-shadow:0 0 6px #35d04f}
body.eq2 .hw .tg.red.on{box-shadow:inset 0 2px 3px #000a,0 0 0 1px #ff413688}body.eq2 .hw .tg.red.on::before{background:#ff4136;box-shadow:0 0 7px #ff4136}
body.eq2 .hw .tg.amb.on{box-shadow:inset 0 2px 3px #000a,0 0 0 1px #ffb02088}body.eq2 .hw .tg.amb.on::before{background:#ffb020;box-shadow:0 0 7px #ffb020}
body.eq2 .hw .tg.pw.on{box-shadow:inset 0 2px 3px #000a,0 0 0 1px #4c9dff88}body.eq2 .hw .tg.pw.on::before{background:#4c9dff;box-shadow:0 0 7px #4c9dff}
body.eq2 .d-cons .strip .tg.red.on{box-shadow:inset 0 2px 3px #0006,0 0 0 1px #ff4136}
/* console : façade gris clair sérigraphiée, bandeau sombre, interrupteur POWER à bascule, nom des voies sur ruban blanc */
body.eq2 .d-cons{background:#c3c8ce;border-color:#11151b}
body.eq2 .d-cons .dh{background:linear-gradient(#2a3240,#1b212b)}
body.eq2 .d-cons .db{padding:0;gap:0}
body.eq2 .consbar{padding:8px 10px;background:linear-gradient(#313a49,#232a36);border-bottom:2px solid #11151b}
body.eq2 .consbar .brand i{color:#ffb35c}
body.eq2 .consbar .tg.pw::before{width:24px;height:14px;border-radius:3px;background:linear-gradient(90deg,#2a2e33 0 50%,#5a211c 50%);box-shadow:0 0 0 1px #000}
body.eq2 .consbar .tg.pw.on::before{background:linear-gradient(90deg,#2a2e33 0 50%,#ff4d40 50%);box-shadow:0 0 0 1px #000,0 0 8px #ff4136aa}
body.eq2 .strips{gap:0;background:repeating-linear-gradient(90deg,#ffffff0d 0 1px,#0000 1px 3px),linear-gradient(#dbdfe3,#bcc1c8);color:#1d2126}
body.eq2 .strip{background:none;border:0;border-right:1px solid #8f969e;box-shadow:1px 0 0 #ffffff88;border-radius:0;padding:8px 6px 9px}
body.eq2 .strip.master{background:linear-gradient(#cfd6e0aa,#b3bcc9aa);border-right:0;box-shadow:none}
body.eq2 .strip .chn{background:#1d2126;color:#fff}
body.eq2 .strip .kl,body.eq2 .strip .kn b,body.eq2 .strip .vf b,body.eq2 .strip .ledw{color:#1d2126;font-weight:800}
body.eq2 .strip .kn::before{background-image:var(--tkd)}
body.eq2 .strip .fsc{color:#2a2e34}
body.eq2 .strip .chlab{width:100%;min-height:1.75em;line-height:1.65;background:#fbfaf3;border:1px solid #b9b7a8;border-radius:2px;color:#143a7a;font-style:italic;font-weight:700;font-size:.85em;box-shadow:0 1px 1px #0003}
/* ----- lot B : façades de l'ATEM Mini Pro et de l'UMC204HD ----- */
/* ATEM : boîtier noir, touches carrées rétro-éclairées quand il est alimenté ; rouge = programme ; les points verts sous les touches = image reçue sur l'entrée */
body.eq2 .d-atem{background:linear-gradient(#232527,#131416);border-color:#3b3f44}
body.eq2 .d-atem .dh{background:linear-gradient(#2b2d30,#1c1d1f)}
body.eq2 .d-atem .brand{font-weight:300;font-size:1.08em;letter-spacing:.02em;color:#e9ecef}body.eq2 .d-atem .brand i{color:#e9ecef;font-weight:700}
body.eq2 .atemgrid{grid-template-columns:auto 1fr;gap:6px 18px;align-items:start}
body.eq2 .atemgrid .note{font-size:.68em;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#8b949e;margin-bottom:5px}
body.eq2 .atembtns{grid-template-columns:repeat(4,50px);gap:6px}
body.eq2 .atembtns .rad,body.eq2 .atemgrid .tg{width:50px;height:50px;min-height:0;padding:2px;border-radius:7px;font-weight:800;color:#f4f6f8;background:linear-gradient(#3a3d41,#26282b);border:1px solid #050506;box-shadow:0 3px 0 #08090a,0 5px 7px #0008,inset 0 1px 0 #ffffff26;text-shadow:0 0 8px #ffffffaa;transform:none}
body.eq2 .atembtns .rad{font-size:1.3em}
body.eq2 .atemgrid .tg{font-size:.72em;line-height:1.15;letter-spacing:.03em;white-space:normal}body.eq2 .atemgrid .tg::before{display:none}
body.eq2 .atembtns .rad.on,body.eq2 .atemgrid .tg.red.on{background:linear-gradient(#ff5c50,#d42a1e);color:#fff;text-shadow:none;transform:translateY(2px);box-shadow:0 1px 0 #08090a,0 0 16px #ff4136cc,inset 0 1px 0 #ffffff55}
body.eq2 .atemgrid .tg.on{background:linear-gradient(#49d862,#1f9a37);color:#fff;text-shadow:none;transform:translateY(2px);box-shadow:0 1px 0 #08090a,0 0 14px #35d04faa,inset 0 1px 0 #ffffff55}
body.eq2 .atemgrid .row{gap:6px}
body.eq2 .atembtns+.row{display:grid;grid-template-columns:repeat(4,50px);justify-items:center;margin-top:5px}
body.eq2 .atembtns+.row .ledw{font-size:0}body.eq2 .atembtns+.row .led{margin:0;width:7px;height:7px}
/* sans alimentation : aucune touche éclairée (enfoncée ou non) */
body.eq2 .d-atem.off .atembtns .rad,body.eq2 .d-atem.off .atemgrid .tg{background:linear-gradient(#303236,#222426);color:#6d747d;text-shadow:none;box-shadow:0 3px 0 #08090a,0 5px 7px #0008,inset 0 1px 0 #ffffff14}
body.eq2 .d-atem.off .atembtns .rad.on,body.eq2 .d-atem.off .atemgrid .tg.on{box-shadow:0 1px 0 #08090a,inset 0 2px 3px #000a}
/* l'ATEM n'a pas d'interrupteur : « Alim. » est dessiné comme la prise du bloc secteur (vide = débranché, fiche et anneau vert = branché) */
body.eq2 .d-atem .tg.pw{background:#0d0e10;border-color:#000;box-shadow:inset 0 1px 2px #000;transform:none}
body.eq2 .d-atem .tg.pw::before{width:14px;height:14px;background:radial-gradient(circle,#c8ccd0 0 17%,#000 19% 58%,#7d848d 60%);box-shadow:none}
body.eq2 .d-atem .tg.pw.on{box-shadow:inset 0 1px 2px #000}
body.eq2 .d-atem .tg.pw.on::before{background:radial-gradient(circle,#3a3e44 0 30%,#17191c 32%);box-shadow:0 0 0 2px #35d04f,0 0 8px #35d04f}
/* fiche branchée mais pas de courant (délestage) : anneau éteint, et aucun voyant allumé sur un appareil sans alimentation */
body.eq2 .d-atem.off .tg.pw.on::before{box-shadow:0 0 0 2px #4a4f57}
body.eq2 .d-atem.off .led,body.eq2 .d-umc.off .led,body.eq2 .d-rx.off .led,body.eq2 .d-box.off .led{background:#30363d;box-shadow:none}
/* UMC204HD : façade noire en aluminium brossé, boutons argentés, sérigraphie claire ; non alimentée par l'USB = voyants éteints */
body.eq2 .d-umc{background:#1a1b1d;border-color:#3b3f44}
body.eq2 .d-umc .dh{background:linear-gradient(#2b2d30,#1c1d1f)}
body.eq2 .d-umc .db{background:repeating-linear-gradient(0deg,#ffffff08 0 1px,#0000 1px 3px),linear-gradient(#2c2e31,#1a1b1d)}
body.eq2 .d-umc .brand{color:#f1f3f5;letter-spacing:.09em}body.eq2 .d-umc .brand i{color:#aab2bb;font-weight:600}
body.eq2 .umcrow{gap:0}
body.eq2 .umcrow>div{background:none;border-radius:0;padding:4px 2px 6px;border-left:1px solid #000;box-shadow:inset 1px 0 0 #ffffff12}
body.eq2 .umcrow>div:first-child{border-left:0;box-shadow:none}
body.eq2 .d-umc .kn .dial{background:radial-gradient(circle,#f6f7f8 0,#cfd3d8 50%,#8f959c 66%,#eceef0 76%,#6d747d 100%);box-shadow:0 3px 5px #000c,0 0 0 1px #111}
body.eq2 .d-umc .kn .dial i{background:#16181b;box-shadow:none}
body.eq2 .d-umc .kn.act .dial{box-shadow:0 0 0 3px #58a6ff}body.eq2 .d-umc [data-ctl]:focus-visible .dial{box-shadow:0 0 0 3px #ffd33d}
body.eq2 .d-umc .kl{color:#e6edf3;font-weight:700;letter-spacing:.06em}
body.eq2 .d-umc.off .tg.on::before{background:#14171b;box-shadow:inset 0 1px 1px #000,0 0 0 1px #ffffff1a}body.eq2 .d-umc.off .tg.on{box-shadow:inset 0 2px 3px #000a}
/* ----- lot C : dessins à la place des emojis (PICS, data.js) et silhouettes des caméras dans l'en-tête ----- */
.dpic,.dic{display:none}
body.eq2 .emo{display:none}
body.eq2 .dpic{display:block;line-height:0;text-align:center}
body.eq2 .dpic svg{height:46px;width:auto;max-width:100%}
body.eq2 .dic{display:block;flex:none;line-height:0;margin-top:1px}body.eq2 .dic svg{width:42px;height:28px}
body.eq2 .dh .dic+div{flex:1;min-width:0}
/* voyants, écrans et interrupteurs des dessins : allumés en marche, éteints avec .off */
.dpic .lit{fill:#35d04f}.dpic .scr{fill:#8fd8ff}.dpic .swk{transition:transform .12s}
/* interrupteur resté sur « marche » mais appareil sans courant ou sans piles : le voyant de la touche est éteint */
body.eq2 .hw.off .tg.on::before{background:#14171b;box-shadow:inset 0 1px 1px #000,0 0 0 1px #ffffff1a}body.eq2 .hw.off .tg.on{box-shadow:inset 0 2px 3px #000a}
body.eq2 .d-box.off .tg.on::before,body.eq2 .d-cons.off .strip .tg.on::before{background:#5b616a;box-shadow:inset 0 1px 1px #0008}
.dev.off .dpic .lit{fill:#23272c}.dev.off .dpic .scr{fill:#15181c}.dev.off .dpic .swk{transform:translateX(-9px)}
/* ----- lot D : PC et OBS, VoiceMeeter, box, moniteur ----- */
.win{display:contents}.wint{display:none}
/* PC : la carte est un écran (cadre noir, fond de bureau) ; en haut la fenêtre des réglages Windows, en dessous la fenêtre OBS */
body.eq2 .d-pc{background:#0b0c0e;border:2px solid #2b2f35}
body.eq2 .d-pc .dh{background:linear-gradient(#1c1e22,#111214);border-radius:10px 10px 0 0}
body.eq2 .d-pc .db{margin:0 6px 6px;padding:8px;border-radius:4px;background:linear-gradient(160deg,#12365f,#0b1f3a 60%,#0a1730);gap:8px}
body.eq2 .win{display:flex;flex-direction:column;gap:6px;background:#1f232bf2;border:1px solid #3a4150;border-radius:8px;padding:0 8px 8px;overflow:hidden;box-shadow:0 6px 16px #0006}
body.eq2 .wint{display:flex;align-items:center;gap:7px;margin:0 -8px 2px;padding:5px 9px;background:#2a2f39;font-size:.82em;font-weight:600;color:#c9d1d9}
body.eq2 .wint::before{content:"";width:11px;height:11px;flex:none;background:linear-gradient(#4cc2ff,#4cc2ff) 0 0/5px 5px no-repeat,linear-gradient(#4cc2ff,#4cc2ff) 100% 0/5px 5px no-repeat,linear-gradient(#4cc2ff,#4cc2ff) 0 100%/5px 5px no-repeat,linear-gradient(#4cc2ff,#4cc2ff) 100% 100%/5px 5px no-repeat}
body.eq2 .obs{background:#1d1f26;border:1px solid #3c404d;border-radius:8px;padding:0 7px 7px;overflow:hidden;box-shadow:0 6px 16px #0008}
body.eq2 .obsh{margin:0 -7px;padding:5px 9px;background:#2b2e38;font-size:.9em;justify-content:flex-start;gap:10px;align-items:center}
body.eq2 .obsh span:first-child{margin-right:auto}
body.eq2 .obsh::after{content:"–   □   ×";color:#8b949e;font-weight:400}
body.eq2 .obs [data-h="pc.pv"]{border:1px solid #3c404d;background:#000}
body.eq2 .obscols>div{background:#2b2e38;border:1px solid #3c404d;border-radius:4px;padding:0 6px 6px;display:flex;flex-direction:column;gap:5px;min-width:0}
body.eq2 .d-pc .obst,body.eq2 .d-vm .obst{text-transform:none;letter-spacing:0;font-size:.8em;font-weight:600;color:#d2d4d9}
body.eq2 .obscols .obst{margin:0 -6px;padding:3px 7px;background:#353945}
body.eq2 .obs>.obst{margin-top:2px;padding:3px 7px;background:#353945;border-radius:3px}
body.eq2 .d-pc .rad.sc{background:none;border-color:transparent;border-radius:3px;font-weight:500}
body.eq2 .d-pc .rad.sc.on{background:#284cb8;border-color:#284cb8}
/* boutons de logiciel : plats ; les couleurs d'état de l'ancien style sont gardées (vert = actif, rouge = coupé ou en cours, bleu = allumé) */
body.eq2 .d-pc .tg,body.eq2 .d-pc .act{background:#3c404d;border-color:#4b5060;border-radius:4px}
body.eq2 .d-pc .tg.on{background:#238636;border-color:#2ea043}body.eq2 .d-pc .tg.red.on,body.eq2 .d-pc .act.on{background:#da3633;border-color:#f85149}body.eq2 .d-pc .tg.pw.on{background:#1f6feb;border-color:#388bfd}
body.eq2 .d-pc select,body.eq2 .d-pc input[type=text]{background:#16181d;border-color:#3c404d;border-radius:4px}
/* mixeur audio d'OBS : une barre continue vert / jaune / rouge */
body.eq2 .d-pc .meter.seg{height:7px}body.eq2 .d-pc .meter.seg::after{display:none}
body.eq2 .d-pc.off .obs{opacity:.45}
/* VoiceMeeter : fenêtre de logiciel bleu-gris */
body.eq2 .d-vm{background:#1c2733;border-color:#4b6a82}
body.eq2 .d-vm .dh{background:linear-gradient(#2c4257,#22313f)}
body.eq2 .vmstrip{background:#16202a;border:1px solid #33495c;border-radius:6px}
body.eq2 .d-vm .obst{color:#8fd3ff}
body.eq2 .d-vm .tg{background:#2a3b4a;border-color:#3f5a70;border-radius:4px}
body.eq2 .d-vm .tg.on{background:#238636;border-color:#2ea043}body.eq2 .d-vm .tg.red.on{background:#da3633;border-color:#f85149}
/* moniteur : cadre noir, pied ; sans courant ou éteint, l'écran est noir */
body.eq2 .d-mon{background:#0b0c0e;border:2px solid #2b2f35}
body.eq2 .d-mon .dh{background:linear-gradient(#1c1e22,#111214);border-radius:10px 10px 0 0}
body.eq2 .d-mon [data-h="mon.v"]{border:5px solid #050506;outline:1px solid #2b2f35;border-radius:3px;background:#000}
body.eq2 .d-mon .db::after{content:"";align-self:center;width:84px;height:12px;margin-top:-2px;background:linear-gradient(#3b4047,#15171a);clip-path:polygon(28% 0,72% 0,100% 100%,0 100%)}
body.eq2 .d-mon.off .mini{font-size:0}body.eq2 .d-mon.off .mini::after{content:"Écran éteint";font-size:12px;color:#4a5058}
/* box : boîtier blanc, voyants en façade (PON, WLAN, Fibre : les trois voyants d'origine), réglages dans un cadre « page d'administration » */
body.eq2 .d-box{background:linear-gradient(#fbfbfb,#e4e6e9);border-color:#b9bec5}
body.eq2 .d-box .ledw{flex-direction:column;gap:2px;padding:3px 7px 2px;background:#20242a;color:#d0d7de;border-radius:5px;font-size:.62em;font-weight:700;letter-spacing:.06em;text-transform:uppercase;align-self:flex-start}
body.eq2 .d-box .ledw .led{margin:0;width:8px;height:8px}
body.eq2 .netsec{border:1px solid #c5cad1;border-radius:8px;background:#fff;padding:0 8px 8px;overflow:hidden}
body.eq2 .netsec .obst{margin:0 -8px 2px;padding:5px 8px;background:#e7eaee;border-bottom:1px solid #c5cad1;color:#3b4047;text-transform:none;letter-spacing:0;font-weight:600;font-size:.8em}
body.eq2 .netsec .obst::before{content:"Page d'administration de la box — "}
body.eq2 .d-box .netsec .tg{background:#f6f7f9;border-color:#c5cad1;box-shadow:none;transform:none;border-radius:5px;color:#1b1f24}
body.eq2 .d-box .netsec .tg::before{width:11px;height:11px;border-radius:2px;background:#fff;box-shadow:0 0 0 1px #8b949e}
body.eq2 .d-box .netsec .tg.on{background:#eaf2ff;border-color:#9dc1ff;box-shadow:none}
body.eq2 .d-box .netsec .tg.on::before{content:"✓";background:#1f6feb;box-shadow:0 0 0 1px #1f6feb;color:#fff;font-size:9px;line-height:11px;text-align:center}
