/* Studio: tactile SVG hardware, responsive single-screen navigation. */
:root{font-family:Arial,Helvetica,sans-serif}body,button,input,select,h1,.file h3{font-family:Arial,Helvetica,sans-serif}body{background:var(--bg)}header{height:76px;border:0;padding:0 clamp(20px,4vw,64px);background:var(--bg)}header strong{font-size:25px;letter-spacing:-.8px}header em{font-weight:400;margin-left:4px}#themeSelect,header button{background:var(--surface);border:1px solid var(--line);border-radius:24px;font-size:12px;padding:10px 14px;box-shadow:inset 0 1px 0 #ffffff30}main{height:calc(100dvh - 76px);grid-template-columns:minmax(0,56%) minmax(0,44%);max-width:1560px;margin:auto;padding:0 28px 28px;align-items:center}.machine{height:100%;padding:0 10px;gap:12px;justify-content:center}.studio-intro{font:12px 'Courier New',monospace;letter-spacing:2px;text-align:center;color:var(--muted);margin:0}.dial{width:min(100%,650px,75dvh);margin:0 auto;filter:drop-shadow(0 14px 12px #00000010)}.dial #engine{width:77%;height:77%;left:11.5%;top:11.5%;filter:drop-shadow(0 5px 4px #0005)}.drawing-body{stroke:#707576}.housing{fill:url(#steel);stroke:#c7c8c3;stroke-width:2}.rotor-plate{fill:url(#innerSteel);stroke:#c3c4c0;stroke-width:2}.coil-core{fill:url(#steel);stroke:#555;stroke-width:1}.coil-turn{fill:url(#copper);stroke:#5d2e19;stroke-width:.8}.selected-coil{filter:drop-shadow(0 0 3px #e0a06c)}.selected-coil .coil-turn{stroke:#f3b77e;stroke-width:.8}.sector-ring{filter:drop-shadow(0 3px 1px #00000022)}.sector,.sector-0,.sector-1{fill:url(#sectorLight);stroke:#fff;stroke-width:1.4;stroke-linejoin:round;transition:fill .2s,filter .2s}.sector:hover{filter:brightness(1.035)}.sector.selected{fill:url(#sectorSelected);stroke:#6c7070;stroke-width:1.4}.dial .navbtn[data-slot]{font-family:Arial,Helvetica,sans-serif;font-size:clamp(11px,1.25vw,17px);font-weight:600;line-height:1.15;color:#292d2e;width:20%;max-width:20%;padding:4px 1px;background:none;box-shadow:none}.dial .navbtn.active{color:#fff;scale:1}.tool-icon{font-family:Arial,Helvetica,sans-serif;font-weight:400;font-size:clamp(25px,2.8vw,39px);line-height:1;margin-bottom:9px}.dial .navbtn:focus-visible{outline:2px solid var(--ink);outline-offset:1px;border-radius:8px}.help{font:10px 'Courier New',monospace;color:var(--muted);margin:0}.right{padding:24px;gap:20px;background:none;overflow:visible;align-items:center}.right #content{position:relative;padding:30px;border-radius:24px;background:linear-gradient(145deg,#ffffffb8,#eeede6a8);border:1px solid #fff;box-shadow:0 16px 40px #252b3010,0 3px 5px #252b3015,inset 0 1px 0 #fff;max-width:570px;width:100%;display:flex;flex-direction:column}.tool-emblem{width:66px;height:66px;border-radius:18px;display:grid;place-items:center;background:var(--surface);border:1px solid var(--line);font-size:36px;margin-bottom:24px;box-shadow:inset 0 1px 0 #fff9,0 4px 6px #0000000a}#tag{background:none;padding:0;margin:0;font:10px 'Courier New',monospace;letter-spacing:1px;color:var(--muted)}#tag #sectionName{display:none}h1{font-size:clamp(28px,3.2vw,48px);font-weight:750;letter-spacing:-1.5px;line-height:1.05;margin:15px 0}#title,#title.cable-arrived{clip-path:none;opacity:1;animation:studioReveal .24s ease-out}.desc{font-size:16px;line-height:1.5;margin:0 0 16px;max-width:34em}.cta{background:linear-gradient(140deg,#353a3c,#171a1b);border:1px solid #454b4d;color:#fff;border-radius:14px;min-height:56px;margin-top:20px;padding:16px 20px;box-shadow:0 6px 12px #0002;font-size:15px}.cta:hover{filter:brightness(1.12)}.cta:active{transform:translateY(1px);box-shadow:0 2px 5px #0002}.right .bottom{max-width:570px;font:9px 'Courier New',monospace;color:var(--muted);gap:8px}.dot{width:6px;height:6px;margin:4px}.active-cable{display:none}.nav-spark{display:none}.scene{display:none!important}
:root[data-theme=dark] .sector{fill:url(#sectorDark);stroke:#5a6062}:root[data-theme=dark] .sector.selected{fill:url(#sectorLight);stroke:#fff}:root[data-theme=dark] .dial .navbtn{color:#f0f0eb}:root[data-theme=dark] .dial .navbtn.active{color:#1f2425}:root[data-theme=dark] .right #content{background:linear-gradient(145deg,#33393c,#222628);border-color:#484e51;box-shadow:0 16px 40px #0004,inset 0 1px 0 #ffffff17}:root[data-theme=dark] .tool-emblem{box-shadow:inset 0 1px 0 #ffffff25,0 4px 6px #0003}:root[data-theme=dark] .cta{background:linear-gradient(145deg,#fafaf7,#d5d7d4);color:#1c2022;border-color:#ddd}
@keyframes studioReveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:760px){header{height:54px;padding:0 15px;gap:6px}header strong{font-size:20px;letter-spacing:-.7px}#themeSelect{font-size:10px;padding:7px 8px;width:77px}header button{font-size:9px;padding:7px 8px;min-height:30px}main{height:calc(100dvh - 54px);padding:2px 12px 12px;display:flex;flex-direction:column;justify-content:center;gap:8px}.machine{height:auto;width:100%;flex:0 0 auto;padding:0;gap:5px}.studio-intro{font-size:9px;letter-spacing:1px;margin:0 0 3px}.dial{width:min(100%,48dvh,440px)}.dial .navbtn[data-slot]{font-size:clamp(9px,2.7vw,12px);width:21%;max-width:21%;min-height:40px;line-height:1.1}.tool-icon{font-size:clamp(23px,6vw,29px);margin-bottom:4px}.help{font-size:8px}.right{width:100%;flex:0 1 auto;min-height:0;padding:4px 0 0;gap:8px}.right #content{flex:0 0 auto;display:block;max-width:440px;border-radius:19px;padding:17px 18px}.tool-emblem{float:left;width:44px;height:44px;font-size:27px;margin:3px 14px 8px 0;border-radius:11px}#tag{font-size:8px;padding-top:3px}h1{font-size:25px;letter-spacing:-.8px;margin:7px 0 9px}.desc{clear:both;font-size:12px;line-height:1.35;margin:0 0 10px}.cta{margin-top:10px;min-height:45px;padding:12px 16px;border-radius:12px;font-size:13px}.right .bottom{font-size:7px;margin:0;max-width:440px}.dot{width:5px;height:5px;margin:3px}}
@media(max-width:760px) and (max-height:690px){.dial{width:min(100%,44dvh)}.studio-intro,.help{display:none}main{gap:3px}.right #content{padding:12px 15px}.tool-emblem{width:35px;height:35px;font-size:23px;margin-bottom:4px}h1{font-size:23px}.desc{font-size:11px}.cta{min-height:40px;margin-top:6px}.right .bottom{display:none}}
@media(max-width:760px) and (orientation:landscape){header{height:42px}main{height:calc(100dvh - 42px);display:grid;grid-template-columns:48% 52%;padding:5px 12px;gap:10px}.dial{width:min(42vw,78dvh)}.right{padding:0}.studio-intro,.help,.bottom{display:none}.right #content{padding:15px}h1{font-size:24px}}
@media(prefers-reduced-motion:reduce){#title,#title.cable-arrived{animation:none}.sector{transition:none}}
/* Ground the generator on a compact cast-metal pedestal. */
.generator-stand{position:absolute;z-index:0;left:33%;top:78%;width:34%;height:12%;border-radius:12px 12px 9px 9px;background:linear-gradient(165deg,#51585a,#252a2c 55%,#15191a);border:1px solid #6e7475;box-shadow:inset 0 2px 0 #ffffff36,0 8px 9px #0003;display:flex;align-items:flex-end;justify-content:center;padding-bottom:7%;color:#d8dcd9;pointer-events:none}
.generator-stand:before{content:'';position:absolute;left:15%;right:15%;top:-20%;height:32%;background:linear-gradient(90deg,#505758,#252b2d,#535a5b);border-radius:5px 5px 0 0;z-index:-1}
.generator-stand span{position:absolute;bottom:20%;font:600 clamp(8px,1vw,12px) Arial,sans-serif;letter-spacing:2px;white-space:nowrap;text-shadow:0 1px #000}
.dial #engine{z-index:1}.dial .navbtn{z-index:3}.sector-ring{z-index:2}main{position:relative}.active-cable{display:block!important;position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:4;overflow:visible}.active-cable .cable-sheath{fill:none;stroke:var(--cable-sheath-color,#b8b8b3);stroke-width:7;stroke-linecap:round;stroke-linejoin:round}.active-cable .cable-core{fill:none;stroke:var(--lead);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.cable-terminal{fill:var(--lead);stroke:var(--cable-sheath-color,#d7d9d5);stroke-width:2}.navbtn{touch-action:manipulation;user-select:none}:root[data-theme=dark] .active-cable .cable-sheath{stroke:var(--cable-sheath-color,#737b7d)}
@media(max-width:760px){.generator-stand{border-radius:7px}.generator-stand span{font-size:8px;letter-spacing:1px}.active-cable .cable-sheath{stroke-width:5}.active-cable .cable-core{stroke-width:3}}
.sector-ring{pointer-events:none}.sector{pointer-events:auto}
/* Molded keycaps: rounded faces, a separate depth layer, and physical travel. */
.sector-ring{filter:none;overflow:visible}.key-depth{fill:#aaa79f;stroke:#95938c;stroke-width:1;filter:drop-shadow(0 5px 4px #0003);pointer-events:none}.sector{stroke:#fffefb;stroke-width:2.2;filter:drop-shadow(0 1px 1px #0003);transition:transform 90ms ease-out,filter 90ms ease-out,fill 180ms;transform-box:view-box}.sector:hover{filter:brightness(1.035) drop-shadow(0 1px 1px #0003)}.sector.key-pressed{transform:translateY(3.5px);filter:brightness(.95);stroke-width:1.3}.dial .navbtn.key-pressed{margin-top:4px;filter:brightness(.92)}.dial .navbtn{transition:margin-top 90ms ease-out,color 160ms}.sector.selected{stroke:#767b7c;stroke-width:2}.dial{width:min(92%,620px,72dvh)}.dial #engine{filter:drop-shadow(0 6px 5px #0006)}.active-cable{z-index:0}.machine,.right{position:relative;z-index:1}.active-cable .cable-sheath{stroke:var(--cable-sheath-color,#c3bfb7);filter:drop-shadow(1px 3px 2px #0003)}.right #content{box-shadow:0 16px 30px #252b301c,0 4px 6px #252b301c,inset 0 2px 0 #fff}
:root[data-theme=dark] .key-depth{fill:#101415;stroke:#080a0b}:root[data-theme=dark] .sector{stroke:#656c6f}:root[data-theme=dark] .sector.selected{stroke:#fff}
@media(max-width:760px){.dial{width:min(90%,46dvh,410px)!important}.dial .navbtn.key-pressed{margin-top:3px}.key-depth{filter:drop-shadow(0 4px 3px #0004)}}
@media(max-width:760px) and (max-height:690px){.dial{width:min(88%,42dvh)!important}}
@media(max-width:760px) and (orientation:landscape){.dial{width:min(39vw,72dvh)!important}}

.machine{background:transparent}
/* Quiet controls and a latched selected key. */
.studio-intro,.help,#tag,.bottom>span{display:none!important}
header .icon-control{width:42px;height:42px;min-width:42px;padding:10px;border-radius:50%;display:grid;place-items:center}
.icon-control svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.icon-control .sun{display:none}:root[data-theme=dark] .icon-control .sun{display:block}:root[data-theme=dark] .icon-control .moon{display:none}
#sound .sound-on{display:none}#sound[aria-pressed=true] .sound-on{display:block}#sound[aria-pressed=true] .sound-off{display:none}
.sector.selected{transform:translateY(3.5px);filter:brightness(.94);stroke-width:1.3}.dial .navbtn.active{margin-top:4px}.sector.selected.key-pressed{transform:translateY(4.5px)}
.right #content{transition:box-shadow .45s ease,border-color .45s ease}.right #content.cable-powered{border-color:#c3b697;box-shadow:0 0 0 1px #dbc59966,0 0 20px #cfaf6d30,0 12px 30px #252b301a,inset 0 1px 0 #fff}
:root[data-theme=dark] .right #content.cable-powered{border-color:#a39272;box-shadow:0 0 0 1px #ddc39740,0 0 22px #ddc39725,0 16px 40px #0004,inset 0 1px 0 #ffffff20}
.right .bottom{justify-content:flex-end}h1{margin-top:8px}
@media(max-width:760px){header .icon-control{width:36px;height:36px;min-width:36px;padding:8px}.dial .navbtn.active{margin-top:3px}}
@media(prefers-reduced-motion:reduce){.right #content{transition:none}}

@media(max-width:760px){.right #content{box-sizing:border-box;height:216px;min-height:216px;max-height:216px;overflow:hidden;position:relative;padding-bottom:66px}#title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.desc{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;max-height:4.1em;overflow:hidden}.right #content .cta{position:absolute;left:18px;right:18px;bottom:16px;width:auto;height:44px;min-height:44px;margin:0;display:flex;align-items:center;justify-content:space-between}}
@media(max-width:760px) and (max-height:690px){.right #content{height:198px;min-height:198px;max-height:198px;padding-bottom:58px}.right #content .cta{bottom:12px;height:40px;min-height:40px}.desc{-webkit-line-clamp:3;max-height:3.9em}}

/* Regulations selector stays in the footer, separate from the interface language. */
.right .bottom{align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.regs-control{display:flex;align-items:center;gap:9px;min-height:39px}
.regs-label{font:700 10px 'Courier New',monospace;letter-spacing:1.2px;color:var(--muted)}
.regs-switch{display:flex;align-items:center;gap:2px;padding:3px;border:1px solid var(--line);border-radius:20px;background:var(--surface);box-shadow:inset 0 1px 3px #00000013;position:relative}
.regs-switch:before{content:'';position:absolute;inset:3px auto 3px 3px;width:calc(50% - 3px);border-radius:16px;background:var(--bg);box-shadow:0 1px 4px #0002;transition:transform .18s ease}
.regs-switch[data-value=ENG]:before{transform:translateX(100%)}
.regs-switch button{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:5px;min-width:58px;height:29px;min-height:29px;padding:4px 9px;border:0;border-radius:16px;background:transparent;color:var(--muted);font:700 10px Arial,sans-serif;line-height:1}
.regs-switch button[aria-pressed=true]{color:var(--ink)}
.regs-switch svg{display:block;width:18px;height:12px;border-radius:1px;box-shadow:0 0 0 1px #00000018}
@media(max-width:760px){.right .bottom{max-width:440px;gap:6px}.regs-control{gap:6px;min-height:32px}.regs-label{font-size:9px}.regs-switch{padding:2px}.regs-switch:before{inset:2px auto 2px 2px}.regs-switch button{min-width:49px;height:25px;min-height:25px;padding:3px 7px;font-size:9px;gap:4px}.regs-switch svg{width:16px;height:11px}}
@media(max-width:380px){.right .bottom{gap:4px}.regs-control{gap:4px}.regs-switch button{min-width:43px;padding:3px 5px}#dots{gap:1px}.dot{margin:2px}}
@media(prefers-reduced-motion:reduce){.regs-switch:before{transition:none}}
@media(min-width:761px){
 .right #content{box-sizing:border-box;height:340px;min-height:340px;max-height:340px;overflow:hidden;position:relative;padding:30px 30px 104px}
 .right #content .tool-emblem{margin-bottom:16px}
 .right #content h1{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;max-height:2.1em;overflow:hidden}
 .right #content .desc{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;max-height:4.5em;overflow:hidden}
 .right #content .cta{position:absolute;left:30px;right:30px;bottom:28px;width:auto;height:56px;min-height:56px;margin:0;display:flex;align-items:center;justify-content:space-between}
}
/* Responsive card proportions: show the full module name and description without changing card size. */
@media(min-width:761px){
 .right #content{height:360px;min-height:360px;max-height:360px;padding:24px 30px 90px}
 .right #content .tool-emblem{width:56px;height:56px;margin:0 0 11px;font-size:30px;border-radius:15px}
 .right #content h1{font-size:clamp(27px,2.5vw,36px);line-height:1.08;letter-spacing:-.7px;margin:5px 0 9px;max-height:2.16em;-webkit-line-clamp:2}
 .right #content .desc{font-size:15px;line-height:1.4;margin:0;max-height:4.2em;-webkit-line-clamp:3}
 .right #content .cta{left:30px;right:30px;bottom:24px;height:54px;min-height:54px}
}
@media(max-width:760px){
 .right #content{height:230px;min-height:230px;max-height:230px;padding:16px 18px 64px}
 .right #content .tool-emblem{float:none;position:absolute;top:16px;left:18px;width:44px;height:44px;margin:0;border-radius:12px;font-size:26px}
 .right #content h1{font-size:clamp(21px,5.8vw,24px);line-height:1.08;letter-spacing:-.55px;margin:0 0 9px;padding-left:58px;min-height:48px;max-height:2.16em;-webkit-line-clamp:2;align-content:center}
 .right #content .desc{clear:both;font-size:12px;line-height:1.35;margin:0;max-height:4.05em;-webkit-line-clamp:3}
 .right #content .cta{left:18px;right:18px;bottom:15px;height:44px;min-height:44px}
}
@media(max-width:760px) and (max-height:690px){
 .right #content{height:210px;min-height:210px;max-height:210px;padding:13px 16px 58px}
 .right #content .tool-emblem{top:13px;left:16px}
 .right #content h1{font-size:21px;margin-bottom:7px;padding-left:56px;min-height:46px}
 .right #content .desc{font-size:11.5px;line-height:1.3;max-height:3.9em;-webkit-line-clamp:3}
 .right #content .cta{left:16px;right:16px;bottom:12px;height:40px;min-height:40px}
}
@media(max-width:760px){
 .right #content h1{margin:51px 0 8px;padding-left:0;min-height:0}
}
@media(max-width:760px) and (max-height:690px){
 .right #content h1{margin-top:46px;padding-left:0}
}
/* Keep language and country selectors together in the top control bar. */
.header-controls{display:flex;align-items:center;gap:8px;flex:0 0 auto;margin-left:auto}
.header-controls .language-switch,.header-controls .regs-control{flex:0 0 auto}
.header-controls .regs-control{min-height:39px;gap:5px}
.header-controls .regs-switch{white-space:nowrap}
@media(max-width:760px){
 header{gap:4px;padding:0 7px}
 header strong{font-size:13px;letter-spacing:.3px;white-space:nowrap;margin-right:0}
 .header-controls{gap:4px;margin-left:auto}
 .header-controls .language-switch{height:30px;padding:2px}
 .header-controls .language-switch button{height:24px;min-height:24px;min-width:30px;padding:4px;font-size:9px}
 .header-controls .regs-control{gap:3px;min-height:30px}
 .header-controls .regs-label{font-size:8px;letter-spacing:.4px}
 .header-controls .regs-switch{gap:1px;padding:2px}
 .header-controls .regs-switch:before{inset:2px auto 2px 2px;width:calc(50% - 2px)}
 .header-controls .regs-switch button{min-width:34px;height:24px;min-height:24px;padding:2px 4px;gap:2px;font-size:8px}
 .header-controls .regs-switch svg{width:12px;height:8px}
 header .icon-control{width:30px;height:30px;min-width:30px;padding:6px}
 .icon-control svg{width:17px;height:17px}
}
@media(max-width:380px){
 header strong{font-size:11px;letter-spacing:0}
 .header-controls{gap:3px}
 .header-controls .language-switch button{min-width:27px;padding:3px;font-size:8px}
 .header-controls .regs-control{gap:2px}
 .header-controls .regs-label{font-size:7px}
 .header-controls .regs-switch button{min-width:30px;padding:2px 3px;font-size:7px}
 header .icon-control{width:27px;height:27px;min-width:27px;padding:5px}
 .icon-control svg{width:16px;height:16px}
}
/* Matching language and regulations sliders, themed like the header icon controls. */
.header-controls .language-switch,.header-controls .regs-switch{width:88px;height:42px;box-sizing:border-box;align-items:center;padding:3px;border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:inset 0 1px 0 #ffffff30}
.header-controls .language-switch:before,.header-controls .regs-switch:before{inset:3px auto 3px 3px;width:calc(50% - 3px);border-radius:18px;background:var(--bg);box-shadow:0 1px 4px #0002;transition:transform .18s ease}
.header-controls .language-switch[data-value=EN]:before,.header-controls .regs-switch[data-value=ENG]:before{transform:translateX(100%)}
.header-controls .language-switch button,.header-controls .regs-switch button{flex:1;min-width:0;height:34px;min-height:34px;box-sizing:border-box;padding:0 4px;border:0;border-radius:20px;background:transparent;color:var(--muted);font:700 11px Arial,sans-serif;line-height:1;box-shadow:none}
.header-controls .language-switch button[aria-pressed=true],.header-controls .regs-switch button[aria-pressed=true]{color:var(--ink)}
.header-controls .regs-switch button:focus-visible,.header-controls .language-switch button:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
@media(max-width:760px){
 .header-controls .language-switch,.header-controls .regs-switch{width:72px;height:30px;padding:2px}
 .header-controls .language-switch:before,.header-controls .regs-switch:before{inset:2px auto 2px 2px;width:calc(50% - 2px);border-radius:16px}
 .header-controls .language-switch button,.header-controls .regs-switch button{height:24px;min-height:24px;padding:0 3px;font-size:9px}
 .header-controls .regs-control{min-height:30px;gap:3px}
}
@media(max-width:380px){
 .header-controls .language-switch,.header-controls .regs-switch{width:64px}
 .header-controls .language-switch button,.header-controls .regs-switch button{font-size:8px}
}
@media(prefers-reduced-motion:reduce){.header-controls .language-switch:before,.header-controls .regs-switch:before{transition:none}}
.header-controls .language-control,.header-controls .regs-control{display:flex;flex-direction:row;align-items:center;gap:6px;width:max-content;flex:0 0 auto}
.header-controls .language-label,.header-controls .regs-label{font:600 9px Arial,sans-serif;letter-spacing:0;white-space:nowrap;color:var(--muted)}
.header-controls .language-control,.header-controls .regs-control{width:155px;justify-content:flex-end;gap:5px}
.header-controls .language-label,.header-controls .regs-label{width:62px;text-align:right}
header strong{font-size:28px}
@media(max-width:760px){
 header strong{font-size:14px;letter-spacing:.2px}
 .header-controls .language-control,.header-controls .regs-control{width:72px;flex-direction:column-reverse;justify-content:center;align-items:center;gap:1px}
 .header-controls .language-label,.header-controls .regs-label{width:auto;text-align:center;font-size:6.5px;line-height:8px;letter-spacing:0}
}
@media(max-width:380px){
 header strong{font-size:12px;letter-spacing:0}
 .header-controls .language-control,.header-controls .regs-control{width:64px}
 .header-controls .language-label,.header-controls .regs-label{font-size:5.7px;line-height:7px}
}
@media(max-width:760px){
 header strong{font-size:16px;line-height:30px;letter-spacing:.2px}
 .header-controls .language-control,.header-controls .regs-control{position:relative;height:30px;min-height:30px;flex-direction:row;justify-content:center;align-items:center;gap:0}
 .header-controls .language-label,.header-controls .regs-label{position:absolute;top:calc(100% + 1px);left:0;width:100%;line-height:8px;text-align:center;font-size:6.5px}
}
@media(max-width:380px){header strong{font-size:14px;line-height:30px;letter-spacing:0}.header-controls .language-label,.header-controls .regs-label{font-size:5.7px;line-height:7px}}

.phase-winding .coil-turn{stroke:url(#copper);stroke-width:2.2}
.phase-winding.selected-coil .coil-turn{stroke:url(#copper);stroke-width:3;filter:drop-shadow(0 0 2px #b87333)}

/* Temporary per-department completion counter on the generator dial. */
.dial .navbtn .progress-count{display:block;margin-top:2px;font-size:9px;line-height:1;color:#686f70;font-weight:500;letter-spacing:.2px;white-space:nowrap}
.dial .navbtn.active .progress-count{color:inherit;opacity:.78}
:root[data-theme=dark] .dial .navbtn .progress-count{color:#c3c8c8}
:root[data-theme=dark] .dial .navbtn.active .progress-count{color:#1f2425}
@media(max-width:760px){.dial .navbtn .progress-count{font-size:8px;margin-top:1px}}
