*{box-sizing:border-box}body{margin:0;background:#101411;color:#edf1e8;font-family:Arial,sans-serif}.hardware{border:2px solid #3c453c;background:linear-gradient(#202323,#171b1b);box-shadow:0 14px 48px #0008;max-width:1500px;margin:auto}.topbar{min-height:84px;display:flex;align-items:center;gap:24px;padding:18px 28px;border-bottom:2px solid #49514b}.logo{font-size:12px;letter-spacing:.15em;min-width:92px}.topbar h1{font-size:clamp(20px,2.1vw,32px);font-weight:400;margin:0;flex:1;white-space:nowrap}.topbar h1 small{display:block;color:#a4e653;font-size:10px;font-weight:700;letter-spacing:.2em;margin-top:7px}.topbar label,.source-row label{color:#bec9b8;font-size:10px;font-weight:700;letter-spacing:.15em}.topbar select,.source-row select{display:block;background:#0d130e;border:1px solid #769f42;color:#d2ff8a;padding:11px 12px;font-size:14px;max-width:310px;min-width:190px;margin-top:7px}.power{white-space:nowrap;font-weight:700}.power i{display:inline-block;background:#d42e2e;border:2px solid #7c1212;border-radius:50%;width:20px;height:20px;vertical-align:middle;box-shadow:0 0 12px #ce1515;margin-right:8px}.display-row{display:grid;grid-template-columns:1.7fr .7fr;align-items:center;gap:30px;padding:20px clamp(20px,7vw,110px);border-bottom:2px solid #485148}.display{background:#030903;border:5px solid #0b0d0a;outline:1px solid #6b7968;border-radius:13px;min-height:123px;padding:17px 26px;color:#bcff55;font-family:Consolas,monospace;text-shadow:0 0 8px #aaff45}.display span{display:block;font-size:clamp(26px,4vw,52px);font-weight:700;letter-spacing:.08em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.display small{display:block;border-top:1px solid #79a637;margin-top:6px;padding-top:7px;font-size:18px;letter-spacing:.1em}.meters{display:grid;grid-template-columns:18px 1fr;gap:12px;align-items:center;font-size:12px;font-weight:700}.meters meter{width:100%;height:24px;accent-color:#adf648}.source-row{display:flex;flex-wrap:wrap;align-items:end;gap:14px;padding:16px 30px;background:#161b17;border-bottom:1px solid #414b40}.source-row label{align-self:center}.source-row select{margin:0;flex:1;max-width:none}.source-row button{border:1px solid #a2db52;background:#162015;color:#cfff94;min-height:41px;padding:0 20px;font-weight:700;cursor:pointer}.source-row button:disabled{opacity:.45;cursor:wait}.source-row button:hover:not(:disabled){background:#263e19}.source-row #status{font-size:11px;color:#9fb193;min-width:118px;align-self:center}.knob-bank{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border-bottom:2px solid #454b46;padding:22px 20px 18px;min-height:245px}.knob-bank.lower{min-height:225px;border-bottom:0}.knob{border-right:1px solid #495149;text-align:center;padding:0 10px;min-width:0}.knob:last-child{border-right:0}.knob label{display:block;font-size:clamp(10px,1vw,15px);font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:20px}.dial{display:flex;align-items:center;justify-content:center;position:relative;width:min(11vw,142px);height:min(11vw,142px);min-width:100px;min-height:100px;margin:12px auto 4px;border:5px solid #9ea9a1;border-radius:50%;background:radial-gradient(circle at 45% 40%,#28312b,#111713 61%,#080c09 62%);box-shadow:0 5px 10px #0009,inset 0 0 0 9px #18221b}.dial:before{content:"";position:absolute;inset:14%;border:5px solid #2a4027;border-left-color:#b0ff4c;border-bottom-color:#b0ff4c;border-radius:50%;filter:drop-shadow(0 0 5px #b0ff4c)}.dial input{position:absolute;inset:0;opacity:.01;width:100%;height:100%;cursor:ew-resize;z-index:2}.dial output{font-size:clamp(12px,1.1vw,17px);z-index:1;text-shadow:0 1px 3px #000}.knob small{font-size:10px;color:#a4b09f}footer{display:flex;justify-content:space-between;padding:15px 30px;border-top:1px solid #475044;color:#b8f063;font-size:11px;letter-spacing:.1em}.browser-note{max-width:1500px;margin:14px auto 0;color:#a6b6a2;font-size:12px;line-height:1.5;padding:0 14px}@media(max-width:1100px){.topbar{flex-wrap:wrap}.topbar h1{white-space:normal}.knob-bank{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 0}.knob:nth-child(3){border-right:0}.dial{width:125px;height:125px}.display-row{grid-template-columns:1fr}}@media(max-width:600px){.topbar{gap:12px;padding:16px}.topbar h1{order:-1;flex-basis:100%}.topbar label{flex:1}.topbar select{min-width:0;width:100%}.display-row{padding:15px}.display{min-height:92px;padding:12px}.display span{font-size:24px}.display small{font-size:12px}.source-row{padding:14px}.source-row select{flex-basis:100%}.knob-bank{grid-template-columns:repeat(2,minmax(0,1fr));padding:18px 8px;gap:18px 0}.knob:nth-child(3){border-right:1px solid #495149}.knob:nth-child(even){border-right:0}.dial{min-width:100px;min-height:100px;width:35vw;height:35vw}}
.brand-mark{position:relative;display:block;flex:0 0 170px;width:170px;height:38px;overflow:hidden;background:transparent}.brand-mark img{position:absolute;display:block;width:210px;height:auto;max-width:none;left:-18px;top:-15px}@media(max-width:600px){.brand-mark{flex-basis:170px}}
.topbar h1{text-align:center}.topbar h1 small{text-align:center}

/* v0.2.7 front panel */
.hardware{max-width:1674px;background:repeating-linear-gradient(0deg,#1d2020 0,#1d2020 2px,#202323 3px,#202323 5px)}
.topbar{min-height:96px;gap:4px;padding:18px 64px;background:linear-gradient(90deg,#202323,#191c1c)}
.brand-mark{flex:0 0 94px;width:94px;height:55px;border-right:1px solid #687069;margin-right:22px}
.brand-mark img{width:94px;left:-6px;top:-3px}
.topbar h1{flex:1;text-align:left;font-size:25px}.topbar h1 small{text-align:left;font-size:9px}
.topbar>select{height:42px;margin:0 2px;background:#111711;border:1px solid #79a934;color:#c7ff78;font:bold 15px Consolas,monospace;letter-spacing:.04em;padding:0 34px 0 18px;text-align:center}
#category{width:216px}#program{width:260px}
.preset-step{display:grid;grid-template-rows:1fr 1fr;width:42px;height:42px;margin-right:8px}.preset-step button{padding:0;border:1px solid #79a934;background:#172016;color:#c7ff78;font-size:10px;line-height:18px}
.save-preset{width:94px;height:42px;margin:0 46px 0 0;border:1px solid #79a934;background:#171c18;color:#fff;border-radius:4px}
.rate-badge{display:grid;place-items:center;width:50px;height:46px;margin-right:12px;border:4px solid #7f8982;border-radius:5px;background:#28332c;color:#caff7f;font:bold 12px Arial;box-shadow:inset 0 0 0 2px #151918,0 2px 5px #000}
.power i{width:40px;height:44px;border:4px solid #7f8982;border-radius:5px;background:#1e2421;box-shadow:inset 0 0 0 2px #0a0c0b;margin-right:8px;position:relative}
.power i:after{content:'⏻';position:absolute;inset:0;display:grid;place-items:center;color:#ff3a32;font-size:25px;text-shadow:0 0 8px #f33}
.display-row{margin:22px auto;max-width:970px;min-height:135px;padding:8px 22px}.display{height:116px;min-height:116px}
.knob-bank{background:#202323;padding-top:22px}.knob-bank.lower{padding-bottom:6px}
.panel-toggle{position:absolute;z-index:4;padding:5px 8px;border:1px solid #728074;border-radius:4px;background:#151b16;color:#fff;font:bold 11px Arial;cursor:pointer}
.panel-toggle[aria-pressed="true"]{border-color:#aaff32;color:#cfff8a;background:#203019;box-shadow:0 0 5px #91e12655}
.knob{position:relative}.link-toggle{right:8px;top:8px}.lock-toggle{left:8px;top:-12px;width:48px;height:32px;min-width:48px;min-height:32px;padding:3px 5px;font-size:10px;letter-spacing:.03em}
.panel-tabs{display:flex;justify-content:flex-end;gap:12px;padding:4px 72px 14px;background:#1d2020}
.panel-tabs button{min-width:122px;height:32px;border:1px solid #56832b;border-radius:5px;background:#1a201b;color:#fff;font:bold 11px Arial}.panel-tabs button.active{border-color:#b7ff43;color:#d9ff9c;background:#26371d}
.source-row{border-top:1px solid #414b40}
@media(max-width:1100px){.topbar{padding:14px 20px;flex-wrap:wrap}.topbar h1{flex-basis:calc(100% - 150px)}#category,#program{width:auto;flex:1}.save-preset{margin-right:0}.panel-tabs{padding-right:20px}}
@media(max-width:600px){.brand-mark{border:0;margin-right:0}.topbar>select{font-size:12px;padding:0 8px}.preset-step,.rate-badge,.save-preset{display:none}.panel-tabs{justify-content:center;padding:8px}.panel-tabs button{min-width:88px}}
@media(max-width:600px){.link-toggle{right:4px;top:4px}.lock-toggle{left:8px;top:-8px;width:42px;min-width:42px}}

/* Neon Main control geometry follows the six column layout in NeonPanel.cpp. */
.knob-bank{padding:22px 16px 16px;min-height:288px}
.knob-bank.lower{min-height:278px}
.knob{padding:0 8px}
.knob label{font-size:clamp(12px,1.1vw,17px);height:31px;line-height:26px;text-overflow:clip}
.dial{width:clamp(100px,12.8vw,194px);height:clamp(100px,12.8vw,194px);min-width:0;min-height:0;margin:13px auto 0;border:4px solid #aab5ae;background:radial-gradient(circle at 45% 38%,#242a2b 0%,#15191a 51%,#090d0e 68%,#070a09 72%);box-shadow:0 7px 11px #000b,inset 0 0 0 5px #080b0b,inset 0 0 0 15px #222a27;cursor:ns-resize;touch-action:none}
.dial::before{content:"";position:absolute;inset:-12%;border:0;border-radius:50%;background:repeating-conic-gradient(from 225deg,#a6b2a9 0deg 1deg,transparent 1deg 11.25deg);-webkit-mask:radial-gradient(circle,transparent 0 78%,#000 79% 81%,transparent 82%);mask:radial-gradient(circle,transparent 0 78%,#000 79% 81%,transparent 82%);filter:none;pointer-events:none}
.dial-track{position:absolute;inset:13%;border-radius:50%;background:conic-gradient(from 225deg,#baff43 0deg var(--sweep),#27322b var(--sweep) 270deg,transparent 270deg 360deg);-webkit-mask:radial-gradient(circle,transparent 0 60%,#000 63% 74%,transparent 77%);mask:radial-gradient(circle,transparent 0 60%,#000 63% 74%,transparent 77%);filter:drop-shadow(0 0 5px #a9f71d);pointer-events:none}
.dial-pointer{position:absolute;inset:0;transform:rotate(var(--rotation));pointer-events:none}
.dial-pointer::before{content:"";position:absolute;left:calc(50% - 2px);top:14%;width:4px;height:18%;border-radius:2px;background:#e9efe9;box-shadow:1px 1px 2px #000}
.dial input{position:absolute;left:50%;top:50%;width:1px;height:1px;opacity:0;pointer-events:none;z-index:-1}
.dial:focus-within{outline:2px solid #baff43;outline-offset:5px}
.dial output{font-size:clamp(12px,1.1vw,17px);pointer-events:none}
@media(max-width:1100px){.knob-bank{min-height:0}.dial{width:clamp(115px,20vw,165px);height:clamp(115px,20vw,165px)}}
@media(max-width:600px){.knob-bank{padding:18px 8px;gap:22px 0}.knob label{font-size:12px;line-height:23px;height:26px;white-space:normal}.dial{width:clamp(100px,35vw,150px);height:clamp(100px,35vw,150px)}}

/* The LCD and 16-lamp stereo meter are drawn to the native Neon Main proportions. */
.display-row{grid-template-columns:minmax(0,1fr);position:relative;max-width:1050px;min-height:173px;margin:20px auto;padding:12px 28px;gap:0;background:#050906;border:6px solid #080b09;outline:1px solid #596b58;border-radius:12px}
.display{min-height:140px;height:140px;padding:0;border:0;outline:0;border-radius:0;background:transparent;box-shadow:none}
.display canvas{display:block;width:55%;height:100%}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.meters{position:absolute;left:62%;right:4%;top:21px;bottom:18px;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:0;color:#f1f4ee}
.meter-channel{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:11px;height:26px}
.meter-channel strong{font-size:12px;text-align:center}
.meter-lamps{display:grid;grid-template-columns:repeat(16,minmax(0,1fr));gap:3px;align-items:center}
.meter-lamps i{display:block;width:min(13px,100%);aspect-ratio:1;border-radius:50%;background:#172015;border:2px solid #030603;box-shadow:0 0 0 2px #010301,inset 0 0 3px #000;justify-self:center}
.meter-lamps i.amber{background:#30250d}.meter-lamps i.red{background:#34120e}
.meter-lamps i.green.lit{background:#b8ff49;box-shadow:0 0 0 3px #2c4b1c,0 0 8px #b8ff49,inset 0 0 3px #ecffad}
.meter-lamps i.amber.lit{background:#ffc44c;box-shadow:0 0 0 3px #49350d,0 0 8px #ffc44c}
.meter-lamps i.red.lit{background:#ff5c42;box-shadow:0 0 0 3px #531d14,0 0 8px #ff5c42}
.meter-scale{display:grid;grid-template-columns:repeat(8,1fr);margin-left:39px;color:#a8b4a7;font-size:10px;text-align:center}
@media(max-width:1100px){.display-row{margin:16px 20px}}
@media(max-width:600px){.display-row{margin:14px;padding:10px;min-height:245px}.display{height:126px;min-height:126px}.display canvas{width:100%}.meters{position:static;min-height:82px;margin:0 3px}.meter-channel{grid-template-columns:14px minmax(0,1fr);gap:5px}.meter-lamps{gap:1px}.meter-lamps i{border-width:1px}.meter-scale{margin-left:19px;font-size:8px}}

.mix-knob{position:relative}
.bypass{position:absolute;right:8px;top:-12px;z-index:3;min-width:48px;min-height:32px;padding:3px 5px;border:1px solid #a4e65b;border-radius:4px;background:#152213;color:#c9ff88;font:700 10px Arial,sans-serif;letter-spacing:.03em;cursor:pointer;box-shadow:0 2px 7px #0009}
.bypass:hover,.bypass:focus-visible{background:#263b1c;outline:1px solid #baff43}
.bypass[aria-pressed="true"]{color:#ffd0c6;border-color:#e96954;background:#4a1d16;box-shadow:0 0 8px #b93222a0}
@media(max-width:600px){.bypass{right:8px;top:-8px;min-width:42px;font-size:9px}}

.source-row .upload-note{flex-basis:100%;color:#91a18c;font-size:10px;letter-spacing:.02em}

/* Product-page embed: keep the entire main panel visible in one compact frame. */
@media (min-width:601px){
  .compact .topbar{min-height:66px;padding:10px 16px;gap:12px;flex-wrap:nowrap}
  .compact .brand-mark{flex:0 0 140px;width:140px;height:32px}
  .compact .brand-mark img{width:150px;left:-13px;top:-10px}
  .compact .topbar h1{font-size:16px;white-space:nowrap}
  .compact .topbar label{font-size:9px}
  .compact .topbar select{min-width:145px;max-width:190px;padding:6px;font-size:12px;margin-top:3px}
  .compact .display-row{min-height:112px;margin:10px 18px;padding:7px 18px}
  .compact .display{height:96px;min-height:96px}
  .compact .meters{top:12px;bottom:10px}
  .compact .source-row{padding:9px 14px;gap:8px}
  .compact .source-row select{min-width:130px;padding:7px;font-size:12px}
  .compact .source-row button{min-height:32px;padding:0 10px;font-size:11px}
  .compact .source-row .upload-note{font-size:9px}
  .compact .knob-bank,.compact .knob-bank.lower{grid-template-columns:repeat(6,minmax(0,1fr));gap:0;min-height:0;padding:12px 8px 8px}
  .compact .knob{padding:0 4px;border-right:1px solid #495149}
  .compact .knob:last-child{border-right:0}
  .compact .knob label{font-size:10px;height:22px;line-height:19px;white-space:nowrap}
  .compact .dial{width:min(11.5vw,112px);height:min(11.5vw,112px);min-width:82px;min-height:82px;margin:7px auto 2px}
  .compact .dial output{font-size:11px}
  .compact .bypass{right:0;top:-8px;min-width:39px;min-height:26px;font-size:8px}
  .compact footer{padding:9px 14px;font-size:9px}
  .compact .browser-note{display:none}
}
