.theme-toggle{border:1px solid #dce2d8;border-radius:7px;padding:8px 11px;background:#f4f6f0;font-size:14px;display:flex;gap:7px;align-items:center;color:#53634b}.theme-toggle span{font-size:10px}.library-count{float:right;font-size:8px;letter-spacing:1px;color:#9aa68f}#antenna-family{width:100%;border:1px solid #dfe5da;border-radius:5px;background:#fff;color:#637358;font-size:10px;padding:8px 9px;margin-bottom:10px}.antenna-grid{max-height:235px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#cbd4c2 transparent;padding:1px 3px 1px 1px}.plot-help{font-size:8px;color:#94a18a;line-height:1.7;margin:8px 0 13px}.polar{cursor:crosshair;touch-action:pan-y}.inspection-marker{pointer-events:none}.inspection-marker path{stroke:#2eacc0;stroke-width:1;stroke-dasharray:3 3;fill:none}.inspection-marker circle{fill:#38c0d4;stroke:#fff;stroke-width:1.5}#probe-pin-state{float:right;font-size:7px;letter-spacing:1px;color:#2896a7}#plot-tooltip{position:fixed;z-index:30;border:1px solid #c7dedb;background:#fcfffdf5;box-shadow:0 5px 24px #17352320;border-radius:8px;padding:12px 14px;color:#314835;min-width:185px;max-width:225px;pointer-events:none;font-size:10px;backdrop-filter:blur(8px)}#plot-tooltip b{font-size:10px;font-weight:500;color:#7e8f77}#plot-tooltip b span{margin:0 5px}#plot-tooltip strong{display:block;font-family:'Space Grotesk',sans-serif;font-size:22px;font-weight:500;margin:4px 0}#plot-tooltip small{display:block;font-size:9px;color:#94a58b;margin:3px 0}.comparison-readout{color:#4399a4!important}#scene-probe{position:absolute;left:50%;transform:translateX(-50%);bottom:48px;white-space:nowrap;background:#f7fff2e6;border:1px solid #c6dfd6;color:#37868c;padding:7px 11px;border-radius:5px;font-size:9px;pointer-events:none}#l-summary{min-height:0;margin:4px 0;color:#b37a4d}input[readonly]{opacity:.6;background:#f2f5ed!important}.antenna-grid .type-button{min-height:65px}
:root[data-theme=dark]{color-scheme:dark;color:#d9e4df;background:#11181d;--line:#2c383b;--muted:#8c9b9d;--orange:#f09a68}
[data-theme=dark] header{background:#151e23;border-color:#29373b}[data-theme=dark] .brand{color:#e4eee9}[data-theme=dark] .brand svg{stroke:#f1a16d}[data-theme=dark] .brand span{border-color:#364348;color:#a2b2b5}[data-theme=dark] .nav{color:#91a2a5}[data-theme=dark] .nav.active{color:#f0f5ed}[data-theme=dark] #saved-count{background:#2c3c42;color:#b1c0bc}[data-theme=dark] .local-badge{color:#8da09e}[data-theme=dark] .eyebrow{color:#859d98}[data-theme=dark] .page-heading .eyebrow{color:#e2a07b}[data-theme=dark] .button{background:#213039;border-color:#3a4c52;color:#c4d3cd}[data-theme=dark] .button:hover{background:#2d424b}[data-theme=dark] .button.dark{background:#d6915f;border-color:#d6915f;color:#151d20}[data-theme=dark] .button.dark:hover{background:#e5a575}[data-theme=dark] .theme-toggle{background:#23333b;color:#efc591;border-color:#40515b}[data-theme=dark] .workbench{background:#182329;border-color:#2c3a40;box-shadow:0 8px 30px #0001}[data-theme=dark] .config,[data-theme=dark] .insights{background:#182329}[data-theme=dark] .visual-area{background:#172128}[data-theme=dark] .type-button{background:#1c2a31;border-color:#354348;color:#a5b6ae}[data-theme=dark] .type-button svg{stroke:#a0b4a6}[data-theme=dark] .type-button:hover{background:#293a40}[data-theme=dark] .type-button.selected{background:#47362c;border-color:#c88e61;color:#f0b88b}[data-theme=dark] .type-button.selected svg{stroke:#efb48c}[data-theme=dark] .hint{color:#91a49c}[data-theme=dark] .label,[data-theme=dark] .field-row label,[data-theme=dark] .range-title,[data-theme=dark] .setup-footer{color:#a4b5ae}[data-theme=dark] .tiny-label,[data-theme=dark] .range-ends{color:#78928c}[data-theme=dark] .field-row input,[data-theme=dark] .field-row select,[data-theme=dark] #antenna-family,[data-theme=dark] .display-bar select,[data-theme=dark] .probe input{background:#111c23;border-color:#35484e;color:#cfdbd5}[data-theme=dark] .field-row label small{color:#718e89}[data-theme=dark] .text-button{color:#e4ac80}[data-theme=dark] .segments{background:#0e1b22}[data-theme=dark] .segments button{color:#8da9a0}[data-theme=dark] .segments .selected{background:#354b50;color:#e2eee6}[data-theme=dark] .viewport{background:radial-gradient(ellipse at 50% 45%,#24383d,#142129 80%)}[data-theme=dark] .viewport-head strong{color:#cadbd4}[data-theme=dark] .model-sub{color:#7f9b96}[data-theme=dark] .ideal-badge{color:#9daca1;border-color:#3e514d;background:#1b292d88}[data-theme=dark] .view-controls{background:#1d3039e8;border-color:#3b5156}[data-theme=dark] .view-controls button{color:#8ea9a5}[data-theme=dark] .view-controls .selected{background:#5e4430;color:#f1bf87}[data-theme=dark] .view-controls button:hover{background:#3b4e51}[data-theme=dark] .view-controls span{background:#3d5155}[data-theme=dark] .viewport-bottom{background:#142128e8;border-color:#30444b;color:#7c9b96}[data-theme=dark] .legend{color:#a2b6a8}[data-theme=dark] .orientation{color:#acbfb0}[data-theme=dark] .orientation svg{fill:#9db3a5}[data-theme=dark] .height-card{background:#1e2d34;border-color:#3a4a4e}[data-theme=dark] .height-heading h2{color:#d8e6db}[data-theme=dark] .height-heading h2 span{color:#8aa198}[data-theme=dark] .height-reading input{color:#eed9b7;border-color:#657068}[data-theme=dark] .lambda-height{border-color:#41554d;color:#a7b9a6}[data-theme=dark] .height-foot,[data-theme=dark] .display-bar{color:#95a99d}[data-theme=dark] input[type=range]{background:linear-gradient(to right,#d79b67 0%,#d79b67 var(--fill,25%),#3d5150 var(--fill,25%),#3d5150 100%)}[data-theme=dark] input[type=range]::-webkit-slider-thumb{background:#20323a;border-color:#e6ae77}[data-theme=dark] .gain-stat strong{color:#e9d6a5}[data-theme=dark] .gain-stat div span,[data-theme=dark] .gain-stat .label{color:#a8baa6}[data-theme=dark] .gain-stat p,[data-theme=dark] .stat-pair span{color:#7e9a92}[data-theme=dark] .stat-pair strong{color:#bbcdb7}[data-theme=dark] .polar .grid{stroke:#3a5154}[data-theme=dark] .polar text{fill:#7f9f97}[data-theme=dark] .polar .pattern{fill:#e8b06018;stroke:#e8ad72}[data-theme=dark] .polar .compare{stroke:#51bfcc}[data-theme=dark] .cut-head label,[data-theme=dark] .cut-head input{color:#95aaa1;border-color:#4d635b}[data-theme=dark] .probe strong{color:#e9bd8e}[data-theme=dark] .probe>div{color:#a1b5a7}[data-theme=dark] .insight-note{background:#24372f;border-color:#3a5345}[data-theme=dark] .insight-note p,[data-theme=dark] .insight-note>span{color:#a0bda4}[data-theme=dark] .plot-help{color:#8da79f}[data-theme=dark] #comparison-bar{background:#203b42;color:#81c9cc}[data-theme=dark] #comparison-bar button{color:#a6dfe3}[data-theme=dark] footer{color:#7e9a90}[data-theme=dark] dialog{background:#19282f;border-color:#48605d;color:#d3e0d3}[data-theme=dark] #dialog-body p{color:#adc0b3}[data-theme=dark] #dialog-body input[type=text]{background:#112029;border-color:#425952;color:#d1e1d3}[data-theme=dark] #dialog-body a{color:#e9b683}[data-theme=dark] .saved-item{border-color:#3c5249}[data-theme=dark] .saved-item span{color:#90afa2}[data-theme=dark] #plot-tooltip{background:#172b33f5;border-color:#40717b;color:#d5eeea;box-shadow:0 6px 25px #0005}[data-theme=dark] #plot-tooltip b{color:#9cbeb7}[data-theme=dark] #plot-tooltip small{color:#9bb6a8}[data-theme=dark] #scene-probe{background:#15323ce8;border-color:#4b7c83;color:#a2e2e8}[data-theme=dark] input[readonly]{background:#1d3035!important}[data-theme=dark] #webgl-error{background:#23353e;color:#e1caa5}
@media(max-width:1400px){.local-badge{display:none}}
@media(max-width:720px){header{height:96px;display:grid;grid-template-columns:1fr auto;grid-template-rows:50px 35px;column-gap:15px;row-gap:0}.brand{grid-column:1;grid-row:1}nav{grid-column:1/-1;grid-row:2;justify-content:center;gap:32px}.nav{font-size:10px}.theme-toggle{grid-column:2;grid-row:1;padding:6px 9px}.antenna-grid{max-height:245px}.plot-help{grid-column:1/-1;grid-row:5}.insights .probe{grid-row:6}.insights .insight-note{grid-row:6}.insights .export{grid-row:7}#scene-probe{bottom:79px;font-size:8px;padding:6px}.library-count{font-size:8px}.height-heading .eyebrow{font-size:6px}}
@media(min-width:721px) and (max-width:1180px){.plot-help{grid-column:1/-1;grid-row:4}.insights .probe,.insights .insight-note,.insights .export{grid-row:5}}

.header-actions{display:flex;align-items:center;gap:8px}.install-button{font-size:10px;padding:8px 10px}.pwa-update{position:fixed;z-index:20;left:50%;bottom:24px;transform:translateX(-50%);display:flex;align-items:center;gap:15px;padding:12px 16px;background:#eef4e9;border:1px solid #b6c7ad;border-radius:8px;box-shadow:0 6px 24px #0003;font-size:11px;color:#4e6844}[data-theme=dark] .pwa-update{background:#233c40;border-color:#53766c;color:#d1e2d1}@media(max-width:720px){.header-actions{grid-column:2;grid-row:1;gap:6px}.header-actions .button{padding:6px 8px;font-size:9px}.header-actions .theme-toggle{padding:5px 7px}.pwa-update{width:calc(100% - 24px);font-size:10px;gap:8px}.pwa-update button{font-size:9px;padding:8px}}

:root:not([data-theme=dark]){background:#e8ece4;color:#33413b}
:root:not([data-theme=dark]) header{background:#edf0e9}
:root:not([data-theme=dark]) .workbench,:root:not([data-theme=dark]) .visual-area{background:#e8ede3}
:root:not([data-theme=dark]) .config,:root:not([data-theme=dark]) .insights{background:#edf1e8}
:root:not([data-theme=dark]) .viewport{background:radial-gradient(ellipse at 50% 50%,#dce5d6,#e6ebe0)}
:root:not([data-theme=dark]) .height-card,:root:not([data-theme=dark]) .type-button,:root:not([data-theme=dark]) .button{background:#e8eee1}
:root:not([data-theme=dark]) .button.dark{background:#344c3d;color:#f0f4e9}
:root:not([data-theme=dark]) .type-button.selected{background:#eadacc}
:root:not([data-theme=dark]) .field-row input,:root:not([data-theme=dark]) .field-row select,:root:not([data-theme=dark]) #antenna-family,:root:not([data-theme=dark]) .display-bar select,:root:not([data-theme=dark]) .probe input{background:#e3eadc;border-color:#cad4c3}
:root:not([data-theme=dark]) .view-controls{background:#e6ecdfed}
:root:not([data-theme=dark]) .viewport-bottom{background:#e1e8dbe8}
:root:not([data-theme=dark]) .segments .selected,:root:not([data-theme=dark]) .theme-toggle{background:#dfe8d7}
:root:not([data-theme=dark]) input[type=range]::-webkit-slider-thumb{background:#e5eddd}
:root:not([data-theme=dark]) #modal{background:#e9efe1}
.header-units{display:flex;align-items:stretch;gap:2px;padding:3px;border:1px solid #cbd5c5;border-radius:6px;background:#dfe6d8}.header-units button{border:0;border-radius:4px;background:none;padding:5px 8px;font-size:10px;color:#687b61;white-space:nowrap}.header-units small{font-size:8px;opacity:.7;margin-left:4px}.header-units button.selected{background:#edf2e8;color:#354c34;box-shadow:0 1px 3px #0001}.measurement-help{font-size:9px;line-height:1.65;color:#8a9d88;margin:12px 0 0}.measurement-error{font-size:10px;color:#b84528;line-height:1.6;margin:8px 0;padding:8px;border:1px solid #d9886a;border-radius:4px;background:#c5693010}input[aria-invalid=true]{border:1px solid #d4775a!important;outline:1px solid #d4775a!important}.height-reading input{width:156px;font-size:22px;letter-spacing:-.7px}.field-row input[type=text]{font-size:10px;min-width:0}
[data-theme=dark] .header-units{background:#101d24;border-color:#35494f}[data-theme=dark] .header-units button{color:#a1b5b0}[data-theme=dark] .header-units button.selected{background:#354950;color:#eff1dc}[data-theme=dark] .measurement-error{color:#f0ac8a;border-color:#a35d4a;background:#a9503015}
@media(max-width:1100px){header{gap:12px;padding-left:20px;padding-right:20px}header nav{gap:16px}.header-units small{display:none}.header-units button{padding:6px;font-size:9px}.header-actions{gap:6px}}
@media(max-width:720px){header{height:129px;grid-template-columns:1fr auto;grid-template-rows:46px 36px 36px;gap:0 8px}.brand{grid-row:1}.header-actions{grid-column:1/-1;grid-row:2;justify-content:center;gap:10px}header nav{grid-column:1/-1;grid-row:3}.header-units small{display:inline}.header-units button{font-size:10px;padding:5px 9px}.height-reading input{width:143px;font-size:19px}.height-heading{gap:7px}.height-heading .eyebrow{font-size:5.5px}.height-reading{gap:3px}.lambda-height{padding-left:5px;margin-left:3px;min-width:31px;font-size:8px}}
.dx-panel{border:1px solid #9b83b85c;border-radius:6px;padding:11px;margin:0 0 19px;background:#8d66bb0b}.dx-heading{display:flex;align-items:center;justify-content:space-between;gap:6px}.dx-heading h3{font-size:11px;margin:0;font-weight:600;color:#76529a}.dx-heading label{display:flex;align-items:center;gap:4px;font-size:8px;color:#776982}.dx-heading input{accent-color:#9776bb;width:11px;height:11px;margin:0}.dx-window{display:flex;align-items:center;gap:5px;margin-top:11px;font-size:9px;color:#7c7186}.dx-window>span:first-child{margin-right:auto}.dx-window input{width:33px;padding:3px 1px;border:0;border-bottom:1px solid #aaa0b4;background:none;color:inherit;font-size:10px;text-align:right;appearance:textfield}.dx-window input::-webkit-inner-spin-button{display:none}.dx-panel>strong{display:block;font-size:10px;font-weight:550;line-height:1.5;margin:10px 0 7px;color:#705385}.dx-panel>.text-button{font-size:9px;white-space:normal;text-align:left;color:#7e599c}.dx-panel p{font-size:8px;line-height:1.6;color:#85758d;margin:9px 0 0}.dx-panel button:disabled{opacity:.5;cursor:default}.dx-legend{font-size:8px;color:#8766a4;margin:0 0 8px}.polar .dx-window-shade{fill:#9768ca22;stroke:#a17bc74a;stroke-width:.7}.polar .dx-cut{fill:none;stroke:#9469bc;stroke-width:1.25;stroke-dasharray:3 3}.polar .dx-candidate{fill:none;stroke:#a56ddd;stroke-width:3.5;stroke-linecap:round}.polar .dx-best-dot{fill:#af7ee4;stroke:#f4ebff;stroke-width:1.3}.cut-block .cut-head{display:flex}#plot-tooltip .dx-readout{color:#bd9ae5}
[data-theme=dark] .dx-heading h3,[data-theme=dark] .dx-panel>strong{color:#c5a5e8}[data-theme=dark] .dx-panel>.text-button,[data-theme=dark] .dx-legend{color:#b994df}[data-theme=dark] .dx-panel p,[data-theme=dark] .dx-heading label,[data-theme=dark] .dx-window{color:#a99ab7}[data-theme=dark] .polar .dx-window-shade{fill:#ad7be621;stroke:#b089dc50}[data-theme=dark] .polar .dx-candidate{stroke:#be8cf1}[data-theme=dark] .polar .dx-cut{stroke:#aa7bd8}
@media(max-width:1180px){.insights{grid-template-columns:1fr 1fr;align-items:start}.insights>.gain-stat,.insights>.stat-pair,.insights>.probe,.insights>.insight-note,.insights>.export{grid-column:auto;grid-row:auto}.insights>.section-top,.insights>.dx-panel,.insights>.dx-legend,.insights>.plot-help{grid-column:1/-1;grid-row:auto}.insights>.dx-panel{margin:0}.cut-block .polar{margin-top:12px}.cut-block{min-width:0}.cut-block .dx-legend{margin-top:7px}}

button.local-badge{background:none;border:0;padding:4px 0;white-space:nowrap}button.local-badge:hover{text-decoration:underline}#toast{max-width:calc(100% - 24px);white-space:normal;line-height:1.5}
@media(max-width:720px){.height-heading{display:block;margin-bottom:16px}.height-heading .eyebrow{font-size:7px;white-space:nowrap}.height-reading{display:flex;justify-content:flex-end;width:100%;margin-top:12px}.height-reading input{width:143px}}

.inspection-panel{border:1px solid #bfd3cd;border-radius:6px;padding:11px;margin:0 0 18px;background:#edf4ec}.inspection-panel .inspection-head{display:flex;justify-content:space-between;align-items:center;margin:0}.inspection-head h3{font-size:11px}.inspection-panel #probe-pin-state{float:none;display:inline-block;font-size:8px;letter-spacing:.6px;border-radius:3px;background:#d9ede3;color:#397d64;padding:4px 6px}.inspection-panel #probe-pin-state[data-mode=pinned]{background:#f0dac2;color:#9a5529}.inspection-panel .probe-fields{display:flex;margin-top:10px;gap:6px;font-variant-numeric:tabular-nums}.inspection-panel .probe-fields strong{font-size:12px}.inspection-panel #inspection-status{font-size:9px;line-height:1.55;color:#718b7b;margin:9px 0 4px}.inspection-panel #inspection-details{display:block;margin-top:3px}.inspection-panel #inspection-details small{display:block;line-height:1.6;font-size:8px;color:#7e9182}.inspection-panel #inspection-details .dx-readout{color:#9771b6}.inspection-panel #resume-live{margin-top:9px;width:100%;display:flex;align-items:center;justify-content:center;gap:8px;font-size:10px;background:#f0dfcc;border-color:#cfa87d;color:#8d542d;padding:8px}kbd{font-family:inherit;font-size:.9em;border:1px solid currentColor;border-radius:3px;padding:1px 4px;opacity:.8}.viewport-bottom{align-items:center;gap:8px;flex-wrap:wrap}.viewport-bottom #scene-probe{position:static;transform:none;bottom:auto;left:auto;background:none;border:0;border-radius:0;padding:0;color:inherit;font-size:9px;white-space:normal;flex:1;max-width:100%}.viewport-bottom #scene-resume{pointer-events:auto;background:#4b382a;border:1px solid #b28b62;border-radius:4px;color:#f4caa1;padding:5px 8px;font-size:9px;white-space:nowrap}.viewport-bottom #calc-time{margin-left:auto;font-size:8px;white-space:nowrap}#scene canvas{cursor:grab}.hex-reference{border-left:2px solid #91aaa0;padding:0 0 0 9px;margin-top:13px}.hex-reference a{font-size:9px;color:#718e89;line-height:1.5}.hex-reference p{font-size:9px;line-height:1.6;margin:5px 0}.hex-reference small{font-size:8px;line-height:1.6;color:#8d9d8d;display:block}
[data-theme=dark] .inspection-panel{background:#1c2d34;border-color:#3d555b}[data-theme=dark] .inspection-panel #probe-pin-state{color:#b0dac2;background:#2b4b44}[data-theme=dark] .inspection-panel #probe-pin-state[data-mode=pinned]{color:#f6c391;background:#59412e}[data-theme=dark] .inspection-panel #inspection-status{color:#a0b9b1}[data-theme=dark] .inspection-panel #inspection-details small{color:#8ea99d}[data-theme=dark] .inspection-panel #inspection-details .dx-readout{color:#be9cde}[data-theme=dark] .inspection-panel #resume-live{background:#4a3628;border-color:#aa8057;color:#f1c08e}[data-theme=dark] .hex-reference a{color:#accabd}[data-theme=dark] .hex-reference small{color:#8ba697}
@media(max-width:1180px){.insights>.inspection-panel,.insights>.hex-reference{grid-column:1/-1;grid-row:auto}.inspection-panel .probe-fields{justify-content:flex-start;gap:20px}.inspection-panel .probe-fields strong{margin-left:auto}.hex-reference{margin-top:0}.inspection-panel{margin-bottom:0}}
@media(max-width:720px){.viewport-bottom #scene-probe{font-size:8px;flex-basis:100%}.viewport-bottom #scene-resume{font-size:8px;padding:4px 7px}.inspection-panel .probe-fields{gap:9px}}

.inspection-panel{height:190px;min-height:190px;display:flex;flex-direction:column}.inspection-panel #resume-live{margin-top:auto;flex-shrink:0}.inspection-panel #inspection-details{flex-shrink:0}
