@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;--bg:#0b1220;--panel:#111b2b;--card:#172337;--line:#29374b;--ink:#edf3fb;--muted:#9bacc1;--blue:#368dff;--cyan:#68d4ec}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 Inter,Arial,sans-serif}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button,input,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--cyan)}h1,h2,h3,p{margin:0}a{color:inherit;text-decoration:none}button{color:inherit}input,select{background:#0d1727;border:1px solid #35445a;color:var(--ink);border-radius:7px;padding:10px 12px;min-height:44px;width:100%}input[type=range]{padding:0;accent-color:var(--blue);border:0;min-height:38px;cursor:pointer}input[type=checkbox]{width:22px;height:22px;min-height:0;accent-color:var(--blue)}[hidden]{display:none!important}.header{padding:22px 30px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:24px;background:#0d1625}.brand{display:flex;gap:13px;align-items:center}.brand-mark{width:43px;height:43px;background:#2380f5;border-radius:7px;display:grid;place-items:center;font-weight:800;font-style:italic;letter-spacing:-2px;font-size:25px}.brand strong{font-size:16px;letter-spacing:1.2px}.brand small{display:block;font-size:12px;letter-spacing:2px;color:var(--muted);margin-top:2px}.header-end{display:flex;align-items:center;gap:20px}.prototype{font-size:12px;letter-spacing:.8px;color:#9fb1ca}.button{min-height:44px;border-radius:7px;padding:10px 16px;font-size:14px;font-weight:600;display:inline-flex;justify-content:center;align-items:center;gap:6px;border:1px solid transparent;transition:background .15s}.button.primary{background:#2581f9;color:white}.button.secondary{background:#1b2d46;border-color:#355073}.button.ghost{background:transparent;color:#b7c8dc;border-color:#344257}.button:hover:not(:disabled){filter:brightness(1.15)}.wide{width:100%}.eyebrow{font-size:12px;letter-spacing:1.8px;font-weight:650;color:#78aef1}.workspace{display:grid;grid-template-columns:344px minmax(0,1fr);max-width:1800px;margin:auto}.config{background:#101a2a;padding:27px 24px;border-right:1px solid var(--line)}.panel-heading h1{font:600 36px/1.1 'Barlow Condensed',Arial,sans-serif;letter-spacing:.2px;margin:8px 0 13px}.panel-heading p{font-size:14px;color:#adc0d7;line-height:1.6}.vehicle{display:flex;gap:12px;background:#172438;border:1px solid var(--line);padding:13px;border-radius:9px;margin:25px 0}.vehicle-symbol{font-size:16px;font-weight:700;letter-spacing:-1px;color:#9cbade;align-self:center}.vehicle strong{font-size:14px}.vehicle small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.section-title{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px}.section-title h2{font-size:16px}.section-title>span{font-size:14px;color:#8bbcfb}.group{border:1px solid var(--line);background:#152135;border-radius:10px;padding:16px;margin-bottom:14px}.group-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.group-number{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--muted)}.group-number b{background:#233b59;color:#afd3ff;border-radius:4px;padding:2px 7px}.remove{background:transparent;border:0;font-size:14px;min-height:36px;padding:6px;color:#a8bad1}.group label{display:block;font-size:13px;color:#c0cee0;margin-bottom:12px}.group label:last-child{margin-bottom:0}.group select{margin-top:6px;font-size:14px}.group .row{display:grid;grid-template-columns:1fr 1.1fr;gap:10px}.quantity{display:flex;margin-top:6px;background:#0d1727;border:1px solid #35445a;border-radius:7px;overflow:hidden;align-items:center;justify-content:space-between}.quantity button{min-width:39px;min-height:44px;background:transparent;border:0;font-size:20px}.quantity output{font-size:16px}.range-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.range-head output{font-size:14px;color:#87bafa}.group input[type=range]{margin-top:4px}.product-note{font-size:12px;color:#91a8c5;line-height:1.5;margin:-4px 0 13px}.quick{margin-top:24px}.quick>div{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.quick button{font-size:12px;border-radius:6px;border:1px solid #3a4b64;padding:9px 10px;min-height:40px;background:#17263a}.side-note{font-size:12px;color:#95a7bf;margin-top:20px;line-height:1.65}.stage{padding:27px 28px 24px;min-width:0}.stage-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}.stage-head h2{font:600 32px/1.2 'Barlow Condensed',Arial,sans-serif;margin-top:6px}.view-tabs{display:flex;border:1px solid #334258;border-radius:8px;padding:4px;background:#141f30}.view-tabs button{border:0;border-radius:5px;background:transparent;padding:10px 14px;min-height:40px;font-size:14px;color:#9aafc9}.view-tabs button[aria-pressed=true]{background:#2b405d;color:white}.scene{position:relative;aspect-ratio:1.85;background:#040812;border:1px solid #35465c;border-radius:12px;overflow:hidden;isolation:isolate}.scene canvas{display:block;width:100%;height:100%}.scene-top,.scene-bottom{position:absolute;left:21px;right:21px;display:flex;justify-content:space-between;gap:12px;pointer-events:none}.scene-top{top:19px}.scene-tag{font-size:11px;letter-spacing:1.4px;background:#0c172cbe;padding:7px 10px;border-radius:4px;border:1px solid #37506a}.scene-bottom{bottom:18px;color:#a6b8d0;font-size:11px;letter-spacing:.5px;align-items:end}.scene-bottom span:last-child{max-width:220px;text-align:right}.scene-labels{position:absolute;top:65px;left:20px;right:20px;display:flex;justify-content:space-between;pointer-events:none}.scene-labels span{font-size:12px;font-weight:700;background:#173b66bb;border:1px solid #4270a4;padding:6px 10px;border-radius:4px}.scene-labels span:last-child{background:#213d49cc;border-color:#47707b}#split-line{position:absolute;top:0;bottom:0;left:50%;width:2px;background:#ddedff;pointer-events:none;box-shadow:0 0 8px #0a101f}#split-line span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:38px;height:38px;display:grid;place-items:center;background:#e2efff;color:#1b3a60;border-radius:50%;font-size:20px;font-weight:bold}.scene-controls{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:15px 0 19px;border-bottom:1px solid var(--line)}.switch{display:flex;align-items:center;gap:10px;font-size:14px;cursor:pointer}.switch input{position:absolute;opacity:0;pointer-events:none}.switch-track{width:40px;height:23px;background:#344357;position:relative;border-radius:20px;flex-shrink:0}.switch-track:after{content:'';position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:white}.switch input:checked+.switch-track{background:#287eef}.switch input:checked+.switch-track:after{left:20px}.switch input:focus-visible+.switch-track{outline:2px solid var(--cyan);outline-offset:4px}.exposure{display:flex;gap:14px;align-items:center;font-size:12px;color:#aabdd4}.exposure input{width:100px}.exposure output{width:42px}.compare-bar{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:20px 0}.compare-bar strong{font-size:16px}.compare-bar p{font-size:13px;color:var(--muted);margin-top:5px}.compare-buttons{display:flex;gap:10px;flex-shrink:0}.compare-controls{display:flex;gap:18px;align-items:center;background:#152136;border:1px solid var(--line);border-radius:8px;padding:12px;margin-bottom:17px}.compare-controls label{font-size:14px;white-space:nowrap}.compare-controls input{min-width:80px}.compare-controls .button{white-space:nowrap;font-size:12px}.insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:19px}.insight{border-top:2px solid #334c6d;background:#111c2c;padding:14px;border-radius:0 0 7px 7px}.insight small{display:block;font-size:12px;color:#a2b5cc}.insight strong{display:block;font-size:17px;margin:5px 0}.insight p{font-size:12px;color:#98adc7;line-height:1.55}.calibration-note{display:flex;align-items:start;gap:12px;border:1px solid #2b4567;background:#101e32;border-radius:8px;padding:14px}.note-icon{border:1px solid #6089b9;color:#a4ccfe;border-radius:50%;width:21px;height:21px;flex-shrink:0;font-size:13px;display:grid;place-items:center}.calibration-note p{font-size:12px;color:#a3b9d5;line-height:1.6;flex:1}.calibration-note strong{color:#cfe3fa}.calibration-note .button{font-size:12px;min-height:36px;white-space:nowrap}.summary{padding:26px 30px;border-top:1px solid var(--line);background:#0e1827;max-width:1800px;margin:auto}.summary-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.summary-head h2{font:600 30px/1.3 'Barlow Condensed',Arial,sans-serif;margin-top:5px}.summary-actions{display:flex;gap:10px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}th{font-weight:500;color:#9eb4d1;font-size:12px;padding:11px 16px;background:#172438;white-space:nowrap}td{padding:13px 16px;border-bottom:1px solid #27364c}td strong{font-weight:600}td small{font-size:12px;display:block;color:#9bb0cd}.summary-foot{font-size:12px;color:#9cb0ca;margin-top:15px}.summary-meta{display:flex;gap:24px;flex-wrap:wrap;margin:0 0 15px;font-size:14px;color:#bed1e8}.summary-meta strong{color:#f0f6fe}footer{padding:21px 30px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:11px;letter-spacing:.6px;color:#8ea3bf}footer .button{font-size:12px;min-height:36px}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,15px);background:#e6f1ff;color:#13365f;font-size:14px;padding:14px 20px;border-radius:8px;box-shadow:0 8px 30px #0008;opacity:0;pointer-events:none;transition:.2s;z-index:8;max-width:90vw}#toast.show{opacity:1;transform:translate(-50%,0)}dialog{background:#142036;color:#e4eefc;border:1px solid #3a5272;border-radius:14px;padding:24px;width:min(650px,calc(100% - 30px));max-height:85dvh;line-height:1.65}dialog::backdrop{background:#0009;backdrop-filter:blur(4px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.dialog-head h2{font-size:23px}.dialog-head button{font-size:22px}#dialog-body p{margin:12px 0}#dialog-body ul,#dialog-body ol{padding-left:23px}#dialog-body li{margin:9px 0}.nojs{padding:30px}.error-panel{background:#4c222a;color:#ffe4e6;padding:20px}
@media(min-width:1500px){.workspace{grid-template-columns:390px minmax(0,1fr)}.config{padding:30px}.scene{aspect-ratio:2.1}.stage{padding:30px 35px}.group .row{gap:16px}}
@media(max-width:1150px){.workspace{grid-template-columns:310px minmax(0,1fr)}.stage{padding:24px 20px}.config{padding:24px 18px}.stage-head{flex-wrap:wrap;gap:14px}.compare-bar{flex-wrap:wrap;gap:13px}.scene{aspect-ratio:1.4}.scene-controls{flex-wrap:wrap;gap:12px}.calibration-note{flex-wrap:wrap}.insights{grid-template-columns:1fr}.insight{display:grid;grid-template-columns:1fr 1fr;gap:5px 12px}.insight p{grid-column:1/-1}.insight strong{margin:0}.header{padding:20px}.prototype{max-width:190px}.compare-controls{flex-wrap:wrap}.compare-controls input{flex:1}.summary{padding:25px 20px}}
@media(max-width:760px){.header{padding:16px;flex-wrap:wrap;gap:15px}.header-end{width:100%;justify-content:space-between}.prototype{max-width:none;font-size:10px}.brand strong{font-size:14px}.brand small{font-size:10px}.workspace{display:flex;flex-direction:column}.config{order:2;border-right:0;border-top:1px solid var(--line);padding:22px 18px}.stage{order:1;padding:22px 16px}.stage-head h2{font-size:29px}.scene{aspect-ratio:1.2}.scene-top,.scene-bottom{left:13px;right:13px}.scene-tag{font-size:9px;padding:6px}.scene-bottom{font-size:9px;bottom:12px}.scene-bottom span:last-child{max-width:150px}.view-tabs button{font-size:13px}.scene-labels{left:13px;right:13px}.scene-labels span{font-size:10px}.compare-buttons{width:100%;flex-shrink:1}.compare-buttons .button{flex:1}.compare-bar p{font-size:14px}.calibration-note p{font-size:13px}.exposure{gap:9px}.exposure input{width:80px}.insights{grid-template-columns:1fr}.vehicle{margin:18px 0}.group{padding:17px}.group select{font-size:16px}.group label{font-size:14px}.group .row{grid-template-columns:1fr 1fr}.quantity button{min-width:48px}.quick button{font-size:14px}.summary-head{flex-wrap:wrap}.summary-actions{width:100%}.summary-actions .button{flex:1}.summary{padding:24px 18px}.summary-meta{gap:10px;flex-direction:column}footer{padding:20px 18px;flex-wrap:wrap}.side-note{font-size:13px}th,td{padding:10px 12px;min-width:100px}td:first-child{min-width:160px}}
@media print{body{color:#142032;background:white;font-size:12px}.header{background:white;border:0;color:#142032}.header-end,.workspace,.summary-actions,footer,dialog,#toast{display:none!important}.summary{background:white;border:0;padding:20px 0}.summary-head h2{color:#142032}.summary-meta,.summary-meta strong,.summary-foot{color:#333}th,td,td small{color:#222;border-color:#bbb}th{background:#eee}table{font-size:12px}.eyebrow{color:#444}.brand-mark{color:white;print-color-adjust:exact}.table-wrap{overflow:visible}.summary-foot:after{content:' · Documento de asesoría; no constituye prueba fotométrica.'}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.compare-buttons{flex-wrap:wrap;justify-content:flex-end;max-width:540px}.compare-bar{align-items:flex-start}.scene{aspect-ratio:1.78}.scene-controls .exposure label{color:#c6d8f0}.stage-head h2{color:#f2f7ff}@media(max-width:1150px){.scene{aspect-ratio:1.55}.compare-buttons{justify-content:flex-start;max-width:none}}@media(max-width:760px){.scene{aspect-ratio:1.25}.compare-buttons .button{flex:1 1 130px}.scene-top .scene-tag:first-child{max-width:55%;font-size:9px}.scene-bottom span:first-child{max-width:160px;line-height:1.6}}

/* Give the road photograph its original frame on phones and desktops. */
.scene{aspect-ratio:1.78!important}.scene-top{top:12px}.scene-tag{font-size:10px;letter-spacing:.8px;padding:5px 8px}.scene-bottom{bottom:10px;font-size:10px}.scene-labels{top:48px}@media(max-width:760px){.scene-tag{font-size:8px!important}.scene-bottom{font-size:8px}.scene-bottom span:last-child{max-width:125px}.scene-top,.scene-bottom{left:10px;right:10px}.scene-labels{top:42px}}


/* Universal road viewer: retain portrait shape within available viewport height. */
.scene{aspect-ratio:9/16!important;height:auto;width:min(29.25dvh,303.75px,100%);max-width:100%;margin-inline:auto}.stage-head{margin-bottom:14px}.stage{padding-top:20px}.scene-top{top:10px;left:10px;right:10px;flex-wrap:wrap;gap:5px}.scene-tag{font-size:9px;letter-spacing:.5px;padding:4px 6px}.scene-top .scene-tag:first-child{max-width:100%}.scene-labels{top:72px;left:10px;right:10px}.scene-labels span{font-size:10px;padding:4px 6px}.scene-bottom{bottom:9px;left:10px;right:10px;font-size:9px}.scene-bottom span:last-child{max-width:60%}.stock-selector{font-size:14px;display:flex;align-items:center;gap:12px;color:#c6d8f0}.stock-selector select{width:190px;font-size:14px}.scene-controls{padding:12px 0}.compare-bar{padding:14px 0}.compare-controls{margin-bottom:12px}.insights{margin-bottom:0}.summary-head h2{margin:0}.config{padding-top:22px}.section-title{margin-top:20px}@media(min-width:761px){.config{max-height:calc(100dvh - 100px);overflow:auto}.insights{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.insight{display:block;padding:10px}.insight strong{font-size:15px}.insight p{font-size:12px}.compare-bar p{font-size:12px}.stage-head h2{font-size:28px}.header{padding-block:14px}}@media(max-width:760px){.scene{height:auto;width:min(29.25dvh,281.25px,100%)}.stock-selector{width:100%;justify-content:space-between}.stock-selector select{flex:1;max-width:220px}.stage-head{gap:8px;margin-bottom:12px}.stage-head h2{font-size:25px}.scene-top .scene-tag:first-child{font-size:9px}.scene-bottom span:first-child{max-width:none}.scene-controls{gap:8px}.scene-labels{top:68px}}@media(max-height:600px) and (min-width:761px){.scene{height:auto;width:25.3125dvh}.stage-head h2{font-size:23px}.stage-head .eyebrow{display:none}}

/* Landscape road frame, with a viewport height ceiling. */
.scene{aspect-ratio:16/9!important;width:min(100%,92.444dvh);height:auto;max-width:100%;margin-inline:auto}.scene-top{flex-wrap:nowrap}.scene-top .scene-tag:first-child{max-width:60%}.scene-bottom span:last-child{max-width:55%}.scene-controls{margin-bottom:16px}.insights{margin-top:0}@media(max-width:760px){.scene{width:100%;height:auto;aspect-ratio:16/9!important}.scene-top{top:8px;gap:6px}.scene-tag{font-size:8px!important}.scene-bottom{font-size:8px}.scene-bottom span:first-child{max-width:none}}@media(max-height:600px) and (min-width:761px){.scene{width:min(100%,80dvh);height:auto}}

.brand-logo{display:block;width:78px;height:78px;object-fit:contain;mix-blend-mode:screen}.brand{gap:16px}.header{padding-block:10px}@media(max-width:760px){.brand-logo{width:62px;height:62px}.header-end{width:auto;margin-left:auto}.brand strong{font-size:14px}.brand small{letter-spacing:1.5px}}

.scale-details{font-size:14px;line-height:1.6;color:#b8cce5;margin:0 0 16px}.scene-controls{flex-wrap:wrap}

.beam-control{display:grid;gap:8px;margin:0 0 15px;font-size:13px;color:#c0cee0}.beam-control small{font-size:12px;color:#91a8c5;line-height:1.5}.beam-control button[aria-pressed=true]{background:#2581f9;border-color:#60a5ff;color:white}

/* Horizontal aerial stage uses available desktop width. */
.scene{width:100%!important;max-width:100%;aspect-ratio:16/9!important}

/* Scene first, edge-to-edge; configuration deck directly underneath. */
.workspace{display:flex!important;flex-direction:column;max-width:none;width:100%;margin:0}
.stage{order:0;padding:0!important;width:100%;min-width:0}
.stage-head{padding:18px 24px;margin:0}
.scene{width:100%!important;max-width:none;margin:0;border-inline:0;border-radius:0;aspect-ratio:auto!important;height:min(56.25vw,60dvh)!important}
.scene-controls{padding:14px 24px;margin:0;justify-content:flex-start;gap:20px 36px}
.scale-details{padding:12px 24px;margin:0}
.config{order:1;padding:22px 24px!important;border-right:0;border-top:1px solid var(--line);max-height:none!important;overflow:visible!important;display:grid;grid-template-columns:minmax(230px,300px) minmax(0,1fr);gap:14px 24px;align-items:start}
.config .panel-heading{grid-column:1;grid-row:1/3}
.config .panel-heading h1{font-size:30px;margin:6px 0 8px}
.config .section-title{grid-column:2;grid-row:1;margin:0}
.config #groups{grid-column:2;grid-row:2;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px}
.config .group{margin:0;min-width:0}
.config #add{grid-column:2;width:auto;justify-self:start}
.workspace>.insights{order:2;padding:0 24px 20px;margin:0;grid-template-columns:repeat(3,minmax(0,1fr))}
.summary{max-width:none}
@media(max-width:900px){.config{grid-template-columns:1fr}.config .panel-heading,.config .section-title,.config #groups,.config #add{grid-column:1;grid-row:auto}.config .panel-heading{display:none}.workspace>.insights{grid-template-columns:1fr}.stage-head{padding:14px 16px}.scene-controls{padding:12px 16px}.scale-details{padding:12px 16px}.config{padding:18px 16px!important}}
@media(max-width:760px){.scene{height:auto!important;aspect-ratio:16/9!important}.workspace>.insights{padding:0 16px 16px}}
/* Keep scene and the active group's controls in one viewport. */
@media screen {
.header{height:64px;padding:6px 20px;flex-wrap:nowrap;gap:12px}.brand-logo{width:48px;height:48px}.brand{gap:10px}.brand strong{font-size:13px}.brand small{font-size:9px}.header-end{width:auto}.header .button{min-height:36px;padding:6px 12px}
.workspace{height:calc(100dvh - 64px);min-height:380px;overflow:visible}
.stage{display:flex;flex-direction:column;flex:1;min-height:0}
.stage-head{flex-shrink:0;padding:6px 20px;gap:12px;flex-wrap:nowrap}.stage-head .eyebrow{display:none}.stage-head h2{font-size:20px;margin:0}.view-tabs{padding:2px}.view-tabs button{min-height:32px;padding:5px 12px}
.scene{height:auto!important;aspect-ratio:auto!important;flex:1;min-height:0;width:100%!important}
.scene-controls{flex-shrink:0;min-height:50px;padding:4px 20px;margin:0;gap:12px 28px;flex-wrap:nowrap}.stock-selector{width:auto;font-size:12px;gap:8px}.stock-selector select{width:150px;min-height:36px;padding:5px 8px;font-size:13px}.switch{font-size:12px}.scale-details{display:none}
.config{flex-shrink:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px 16px;padding:10px 20px!important;align-items:center;position:relative;z-index:2}
.config .panel-heading{display:none}.config .section-title{grid-column:1;grid-row:1;margin:0;gap:10px;align-items:center}.section-title h2{font-size:14px}.section-title>span{font-size:12px;white-space:nowrap}
.config #group-tabs{grid-column:2;grid-row:1;display:flex;gap:6px;min-width:0}.group-tabs button{border:1px solid #354b68;background:#152135;border-radius:6px;padding:5px 10px;min-height:36px;font-size:13px;white-space:nowrap}.group-tabs button[aria-pressed=true]{background:#2b405d;border-color:#68d4ec}.group-tabs span{font-size:11px;color:#b7c8dc}
.config #add{grid-column:3;grid-row:1;min-height:36px;padding:5px 10px;font-size:12px;justify-self:end}
.config #groups{grid-column:1/-1;grid-row:2;display:block}.config .group{position:relative;display:grid;grid-template-columns:minmax(220px,2fr) minmax(220px,2fr) auto auto;gap:12px;align-items:end;padding:8px 12px;border-radius:8px}.group>label{grid-column:1;grid-row:1}.group .row{grid-column:2;grid-row:1;grid-template-columns:110px minmax(130px,1fr);gap:12px}.group label{margin:0;font-size:12px}.group select{min-height:38px;padding:6px 8px;margin-top:3px;font-size:13px}.quantity{margin-top:3px}.quantity button{min-height:36px;min-width:36px}.group-head{grid-column:4;grid-row:1;margin:0}.group-number,.product-note{display:none}.remove{min-height:38px;font-size:12px}.advanced{grid-column:3;grid-row:1}.advanced summary{cursor:pointer;list-style:none;border:1px solid #354b68;border-radius:6px;padding:8px 12px;font-size:13px;min-height:38px}.advanced[open] summary{border-color:#68d4ec}.advanced-body{position:absolute;bottom:calc(100% + 8px);right:0;width:320px;max-width:calc(100vw - 40px);background:#152135;border:1px solid #547596;border-radius:10px;padding:16px;box-shadow:0 6px 30px #0009;z-index:5}.advanced-body label+label{margin-top:12px}
.group .beam-control{grid-column:1/-1;grid-row:2;display:flex;gap:12px;align-items:center;margin:0}.beam-control .button{width:auto;min-height:32px;padding:4px 10px;font-size:12px}.beam-control small{display:none}.beam-control span{font-size:12px}
@media(max-width:760px){.header{height:56px;padding:4px 12px}.brand-logo{width:40px;height:40px}.brand small{display:none}.workspace{height:calc(100dvh - 56px)}.stage-head{padding:5px 12px}.stage-head h2{font-size:16px}.view-tabs button{font-size:12px;padding:5px 8px}.scene-controls{padding:5px 12px;gap:8px;justify-content:space-between}.stock-selector{font-size:0;gap:0}.stock-selector select{font-size:12px;width:125px;max-width:none}.switch{font-size:11px;gap:5px}.switch-track{width:34px}.switch input:checked+.switch-track:after{left:14px}.config{padding:8px 12px!important;grid-template-columns:minmax(0,1fr) auto;gap:6px}.config .section-title{display:none}.config #group-tabs{grid-column:1;flex-wrap:wrap;gap:4px}.group-tabs button{font-size:11px;padding:4px 6px;min-height:32px}.group-tabs span{display:none}.config #add{grid-column:2;font-size:0;min-height:32px}.config #add:after{content:'+ Grupo';font-size:12px}.config .group{grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;padding:8px}.group>label{grid-column:1/-1;grid-row:1}.group .row{grid-column:1;grid-row:2;grid-template-columns:92px minmax(80px,1fr);gap:8px}.group-head{grid-column:2;grid-row:1;align-self:start;position:absolute;right:6px;top:0}.group>label{padding-top:0}.group>label select{width:100%}.remove{min-height:20px;padding:0 4px;position:relative;top:-2px}.advanced{grid-column:2;grid-row:2}.advanced summary{padding:8px;font-size:12px}.group .beam-control{grid-row:3}.scene-top{top:8px}.scene-tag{font-size:8px!important}.scene-controls #plan-scale-control select{width:115px}}
}
@media screen {
.group label,.group select,.group-tabs button,.advanced summary,.view-tabs button,.stock-selector,.switch{font-size:14px}
@media(min-width:761px) and (max-width:1100px){.config .section-title{display:none}.config #group-tabs{grid-column:1/3}}
@media(max-width:760px){.group label,.group select,.advanced summary{font-size:14px}.group-tabs button,.view-tabs button{font-size:13px}.scene-controls .stock-selector select,.switch{font-size:12px}}
@media(max-width:390px){.scene-controls{flex-wrap:wrap;justify-content:flex-start}.scene-controls .switch{order:3;width:100%}.scene-controls .stock-selector{flex:1}.scene-controls .stock-selector select{width:100%!important}}
}
/* Orientation lives on the image; product and quantity stay in the compact deck. */
.orientation-overlay{position:absolute;z-index:2;left:50%;bottom:34px;transform:translateX(-50%);width:min(720px,calc(100% - 48px));display:grid;grid-template-columns:1fr 1fr;gap:3px 32px;background:transparent;border:0;padding:0;color:#f3f7ff;pointer-events:none;text-shadow:0 1px 3px #000,0 0 8px #000}
.orientation-title{grid-column:1/-1;font-size:12px;font-weight:600;letter-spacing:.3px;text-align:center;margin-bottom:3px}
.orientation-overlay label{font-size:14px;min-width:0}.orientation-overlay .range-head output{font-variant-numeric:tabular-nums;color:#b8ebff}.orientation-overlay input[type=range]{pointer-events:auto;display:block;width:100%;min-height:36px;margin:0;background:transparent;border:0;accent-color:#68d4ec;filter:drop-shadow(0 1px 2px #0009)}
@media screen{.config .group{grid-template-columns:minmax(0,1fr) 130px auto;gap:12px}.group .row{grid-template-columns:1fr!important;grid-column:2;grid-row:1}.group-head{grid-column:3;grid-row:1;position:static}.group>label{grid-column:1;grid-row:1}.group .beam-control{grid-row:2}.config .group .remove{min-height:38px;top:0;padding:6px}}
@media(max-width:760px){.orientation-overlay{width:calc(100% - 28px);bottom:30px;gap:2px 20px}.orientation-title{font-size:12px}.orientation-overlay label{font-size:13px}.config .group{grid-template-columns:minmax(0,1fr) 96px auto;gap:8px}.group select{font-size:13px}.config .group .remove{font-size:12px;padding:4px}.scene-bottom{bottom:8px}}
@media(max-width:390px){.config .group{grid-template-columns:minmax(0,1fr) 90px}.group-head{grid-column:1/-1;grid-row:2;justify-self:end}.group .beam-control{grid-row:3}.orientation-overlay{gap:2px 14px}}
@media(max-height:600px){.orientation-title{margin:0}.orientation-overlay{bottom:24px}.orientation-overlay input[type=range]{min-height:28px}}

/* Keep the high-beam row footprint identical when switching products. */
.inactive-beam{visibility:hidden;pointer-events:none}

/* Group power uses the same switch as the global auxiliary control. */
@media screen{.config #group-tabs{flex-wrap:wrap}.group-tab-item{display:flex;align-items:center;gap:10px;min-width:0}.group-tabs .group-power{min-height:36px;font-size:14px;gap:7px;padding:4px 6px}.group-tab-item:has(input[data-group-power]:not(:checked))>[data-group-tab]{color:#a8b7ca}}
@media(max-width:760px){.group-tab-item{gap:4px}.group-tabs .group-power{font-size:12px;min-height:32px;padding:4px;gap:5px}}
@media(max-width:760px){.scene-controls{flex-wrap:wrap}.scene-controls .switch{min-height:32px}}

/* Per-group light colour; same compact row as the XS high-beam control. */
.color-control{flex-wrap:wrap}.color-control .button{display:inline-flex;align-items:center;gap:7px;font-size:14px;min-height:36px}.color-swatch{width:12px;height:12px;flex:none;border-radius:50%;border:1px solid #ffffff70}.color-swatch.white{background:#edf5ff}.color-swatch.yellow{background:#ffdf12}.color-control button[data-color="yellow"][aria-pressed="true"]{background:#5c4614;border-color:#ffdf12;color:#fff0b0}
