:root{color:#111417;background:#eef2f4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;letter-spacing:0;text-rendering:optimizeLegibility}*{box-sizing:border-box}html{min-width:320px;background:#eef2f4}body{min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #11b7a6;outline-offset:3px}.app-shell{min-height:100vh}.console-topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;padding:12px clamp(12px,3vw,28px);color:#f8fafc;background:#121518;border-bottom:4px solid #11b7a6}.brand-lockup{display:flex;align-items:center;gap:12px;min-width:0}.brand-mark{display:grid;flex:0 0 auto;place-items:center;width:42px;height:42px;color:#121518;background:#f8fafc;border-radius:8px}.console-topbar h1,.command-hub h2,.stage-panel h2,.console-card h3,.memory-section h3,.snapshot-panel h3,.result-details h3,.error-list h3{margin:0;line-height:1.05}.console-topbar h1{font-size:1.45rem}.eyebrow{margin:0 0 5px;color:#607080;font-size:.72rem;font-weight:850;text-transform:uppercase}.console-topbar .eyebrow{color:#9cf2e8}.topbar-controls{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}.console-shell{display:grid;grid-template-columns:minmax(270px,330px) minmax(0,1fr);gap:14px;width:min(1360px,100%);margin:0 auto;padding:14px}.command-hub,.stage-panel,.console-card,.memory-section,.snapshot-panel,.safety-card,.safety-basis,.summary-item,.error-list,.result-visual,.drill-table{border:1px solid #cbd5df;border-radius:8px;background:#fff}.command-hub{position:sticky;top:90px;align-self:start;display:grid;gap:12px;padding:12px;background:#f8fafc}.hub-heading,.section-heading,.panel-heading,.result-header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.hub-heading h2{font-size:1.2rem}.status-line{min-width:0;padding:10px 11px;color:#1d2730;background:#edf7f5;border:1px solid #a7dcd4;border-radius:8px;font-size:.9rem;font-weight:800}.empty-hub{display:grid;gap:4px;padding:12px;color:#2f3a45;background:#fff;border:1px dashed #aeb9c7;border-radius:8px}.empty-hub span{color:#607080;font-size:.86rem;font-weight:700}.quick-memory-grid{display:grid;gap:10px}.demo-button{width:100%}.workdeck{display:grid;gap:12px;min-width:0;scroll-margin-top:88px}.stage-rail{position:sticky;top:90px;z-index:10;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:8px;background:#eef2f4;border:1px solid #d7dee7;border-radius:8px}.stage-tab{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:44px;padding:7px 9px;color:#2f3a45;background:#fff;border:1px solid #c5d0dc;border-radius:8px;font-weight:900}.stage-tab span{display:grid;flex:0 0 auto;place-items:center;width:24px;height:24px;color:#10201f;background:#dff5f2;border-radius:999px}.stage-tab.active{color:#fff;background:#121518;border-color:#121518}.stage-tab.active span{background:#11b7a6}.stage-panel{display:grid;gap:14px;padding:clamp(14px,2.4vw,22px);min-width:0}.panel-title{display:flex;align-items:center;gap:12px;min-width:0}.panel-icon{display:grid;flex:0 0 auto;place-items:center;width:44px;height:44px;color:#0f766e;background:#e4f7f4;border-radius:8px}.stage-panel h2{font-size:clamp(1.5rem,3vw,2rem)}.panel-action-row{display:flex;flex-wrap:wrap;gap:9px;justify-content:flex-end}.mobile-actions{display:none}.primary-button,.secondary-button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:8px;font-weight:900}.primary-button{padding:0 15px;color:#fff;background:#0f766e;border:1px solid #0f766e}.secondary-button{padding:0 13px;color:#141a20;background:#fff;border:1px solid #aeb9c7}.compact{min-height:38px;padding:0 11px;font-size:.88rem}.icon-button{width:44px;padding:0;color:#15171a;background:#fff;border:1px solid #aeb9c7}.tv-stage,.mount-stage,.placement-stage,.safety-flow{display:grid;gap:12px;min-width:0}.console-card{display:grid;gap:12px;min-width:0;padding:13px}.console-card h3,.memory-section h3,.snapshot-panel h3{color:#111417;font-size:1.08rem}.section-heading.inline{align-items:center}.ready-pill,.status-badge{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:0 10px;color:#083d35;background:#dff5f2;border:1px solid #8bd9cf;border-radius:999px;font-size:.78rem;font-weight:900;white-space:nowrap}.status-badge span{width:8px;height:8px;background:currentColor;border-radius:999px}.status-badge.green{color:#047857;background:#e2f8ec;border-color:#8ed9ae}.status-badge.yellow{color:#8a5a00;background:#fff4d6;border-color:#e8c15d}.status-badge.red{color:#b42318;background:#fff0ef;border-color:#efa09a}.unit-toggle,.segmented-field,.option-field{min-width:0;margin:0;padding:0;border:0}.unit-toggle{display:flex;align-items:center;gap:7px}.unit-toggle legend,.segmented-field legend,.option-field legend{color:#394655;font-size:.82rem;font-weight:850}.console-topbar .unit-toggle legend{color:#dbeafe}.unit-toggle button,.segmented button{min-width:48px;min-height:39px;color:#1d2730;background:#fff;border:1px solid #aeb9c7;border-radius:8px;font-weight:900}.unit-toggle button.selected,.segmented button.selected{color:#fff;background:#0f766e;border-color:#0f766e}.brand-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px}.brand-card,.chip-grid button,.profile-grid button,.known-mount-card,.option-card,.memory-card{min-width:0;color:#111417;background:#fff;border:2px solid #d5dee8;border-radius:8px}.brand-card{display:grid;place-items:center;min-height:60px;padding:9px}.brand-card.selected,.chip-grid button.selected,.profile-grid button.selected,.known-mount-card.selected,.option-card.selected{border-color:#0f766e;background:#e4f7f4;box-shadow:inset 0 0 0 1px #0f766e}.manufacturer-logo{width:min(108px,80%);height:30px;fill:currentColor}.manufacturer-wordmark{display:block;color:#111417;font-size:1.18rem;font-weight:950;line-height:1;text-align:center}.manufacturer-wordmark.tcl,.manufacturer-wordmark.vizio,.manufacturer-wordmark.philips,.manufacturer-wordmark.insignia{letter-spacing:.08em}.manufacturer-wordmark.hisense{font-size:1.38rem;font-style:italic}.manufacturer-wordmark.onn{font-size:1.42rem;font-weight:900;text-transform:lowercase}.chip-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.chip-grid button{min-height:42px;padding:0 8px;font-weight:900}.profile-grid,.option-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}.profile-grid button,.option-card{display:flex;align-items:center;gap:10px;min-height:72px;padding:11px;text-align:left}.profile-grid svg{flex:0 0 auto;color:#0f766e}.profile-grid strong,.profile-grid small,.option-card strong,.option-card span{display:block;min-width:0;overflow-wrap:anywhere}.profile-grid small,.option-card span,.mount-meta,.memory-card span,.safety-disclaimer{color:#607080;font-size:.83rem;font-weight:750;line-height:1.28}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.span-2{grid-column:1 / -1}.field{display:grid;gap:7px;min-width:0}.field span{color:#1d2730;font-weight:850}.field input,.field select,.field textarea{width:100%;min-width:0;color:#111417;background:#fff;border:2px solid #b7c3d0;border-radius:8px}.field input,.field select{min-height:48px;padding:0 12px}.field textarea{min-height:86px;padding:11px 12px;resize:vertical}.field input::placeholder,.field textarea::placeholder{color:#7a8795}.measure-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.75fr);gap:12px;align-items:stretch}.compact-measure{margin-top:0}.diagram{display:grid;place-items:center;min-height:210px;padding:14px;background:#eef3f5;border:1px solid #ccd7e2;border-radius:8px}.diagram-tv,.result-tv{position:relative;background:#fbfcfd;border:5px solid #1d2730;border-radius:8px}.diagram-tv{width:min(100%,290px);aspect-ratio:16 / 9}.diagram-mount{position:absolute;left:50%;top:50%;display:grid;grid-template-columns:repeat(2,1fr);gap:26px;width:40%;min-width:78px;aspect-ratio:3 / 4;padding:16px 13px;background:#11b7a621;border:3px solid #0f766e;border-radius:8px;transform:translate(-50%,-50%)}.diagram-mount span{align-self:center;justify-self:center;width:12px;height:12px;background:#f59e0b;border:2px solid #111417;border-radius:999px}.diagram-label{position:absolute;color:#111417;background:#fff;border:1px solid #cbd5df;border-radius:999px;padding:4px 9px;font-size:.78rem;font-weight:900}.diagram-label.top{top:10px;right:10px}.diagram-label.bottom{bottom:10px;left:10px}.manual-entry{padding-top:13px}.manual-entry summary{width:fit-content;color:#26313c;font-weight:900;cursor:pointer}.manual-entry .form-grid{margin-top:13px}.memory-section{display:grid;gap:10px;min-width:0;padding:12px}.compact-memory{padding:10px}.memory-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.command-hub .memory-grid{grid-template-columns:1fr}.memory-card{display:grid;gap:5px;min-height:72px;padding:10px;text-align:left}.memory-card:hover,.memory-card:focus-visible{border-color:#0f766e}.memory-card strong,.memory-card span{min-width:0;overflow-wrap:anywhere}.known-mount-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px}.known-mount-card{display:grid;gap:5px;min-height:104px;padding:11px;text-align:left}.known-mount-card strong,.known-mount-card span{min-width:0;overflow-wrap:anywhere}.mount-model{color:#0f766e;font-size:.76rem;font-weight:950;text-transform:uppercase}.segmented{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.segmented.small{grid-template-columns:repeat(2,minmax(0,1fr))}.row-list{display:grid;gap:9px}.drill-row{display:grid;grid-template-columns:1.1fr 1fr 1fr auto;gap:9px;align-items:end;padding:10px;background:#f8fafc;border:1px solid #d5dee8;border-radius:8px}.safety-flow{gap:12px}.safety-card{display:grid;gap:10px;padding:13px;background:#f8fafc}.safety-card.green{border-color:#67c692;background:#ecfbf2}.safety-card.yellow{border-color:#e8c15d;background:#fff7df}.safety-card.red{border-color:#ef9a92;background:#fff0ef}.safety-card-heading{display:flex;align-items:center;gap:10px}.safety-icon{display:grid;flex:0 0 auto;place-items:center;width:38px;height:38px;background:#fff;border-radius:8px}.safety-card.green .safety-icon{color:#047857}.safety-card.yellow .safety-icon{color:#92400e}.safety-card.red .safety-icon{color:#b42318}.safety-card h3{margin:0}.safety-card ul{margin:0;padding-left:21px;color:#26313c;font-weight:750}.rule-details{padding-top:9px;border-top:1px solid rgba(38,49,60,.16)}.rule-details summary{width:max-content;max-width:100%;cursor:pointer;color:#111417;font-weight:900}.rule-trace-list{display:grid;gap:8px;margin-top:9px}.rule-trace{display:grid;gap:4px;padding:9px;color:#26313c;background:#ffffff9e;border:1px solid rgba(38,49,60,.14);border-radius:8px;font-size:.88rem}.safety-basis{display:grid;gap:10px;padding:12px}.safety-basis h3{font-size:1rem}.safety-basis-grid,.snapshot-grid,.summary-grid,.measurement-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:8px}.summary-item{display:grid;gap:5px;min-width:0;padding:10px;background:#f8fafc}.summary-item span{color:#607080;font-size:.8rem;font-weight:850}.summary-item strong{min-width:0;color:#111417;overflow-wrap:anywhere;font-size:.96rem;font-weight:900}.snapshot-panel{display:grid;gap:9px;padding:12px}.snapshot-grid{grid-template-columns:1fr 1fr}.summary-warning{display:flex;align-items:center;gap:9px;grid-column:1 / -1;padding:11px;color:#7c2d12;background:#fff7df;border:1px solid #e8c15d;border-radius:8px;font-weight:850}.error-list{display:flex;gap:12px;padding:13px;color:#7c2d12;background:#fff7df;border-color:#e8c15d}.error-list ul{margin:9px 0 0;padding-left:20px}.blocked-results{display:grid;gap:12px}.job-memory .form-grid{margin-top:0}.results-layout{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1fr);gap:14px}.result-visual{position:relative;min-height:460px;overflow:hidden;background-color:#f7fafb;background-image:linear-gradient(#d6dfe7 1px,transparent 1px),linear-gradient(90deg,#d6dfe7 1px,transparent 1px);background-size:28px 28px}.wall-centerline{position:absolute;top:0;bottom:0;left:50%;z-index:1;border-left:3px dashed #ef4444}.result-tv{position:absolute;top:62px;left:10%;right:10%;height:238px;display:grid;place-items:center;color:#111417;font-weight:900;text-align:center}.result-mount{position:absolute;top:132px;left:31%;right:31%;z-index:2;display:grid;gap:31px;padding:23px;background:#11b7a621;border:3px solid #0f766e;border-radius:8px}.result-row{display:flex;justify-content:space-between;gap:25px}.result-row span{width:14px;height:14px;background:#f59e0b;border:2px solid #111417;border-radius:999px}.result-details{display:grid;align-content:start;gap:12px;min-width:0}.inline-alert{display:flex;align-items:center;gap:9px;padding:11px;color:#7c2d12;background:#fff7df;border:1px solid #e8c15d;border-radius:8px;font-weight:850}.inline-alert.warn{background:#fff0ef;border-color:#ef9a92}.drill-table{display:grid;overflow:hidden}.drill-table-head,.drill-table-row{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:8px;min-width:0;padding:11px}.drill-table-head{color:#fff;background:#121518;font-weight:900}.drill-table-row{align-items:center;background:#fff;border-top:1px solid #d6dfe7}.drill-table-row span,.drill-table-row strong{min-width:0;overflow-wrap:anywhere}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media (max-width: 980px){.console-shell{grid-template-columns:1fr}.command-hub,.stage-rail{position:static}.command-hub{order:1}.workdeck,.console-shell.stage-active .command-hub{order:2}.console-shell.stage-active .workdeck{order:1}}@media (max-width: 820px){.console-topbar{align-items:flex-start;flex-direction:column;gap:10px}.topbar-controls{width:100%;align-items:flex-start;justify-content:space-between}.stage-rail{grid-template-columns:repeat(5,minmax(68px,1fr));overflow-x:auto}.stage-tab{min-width:68px}.desktop-actions{display:none}.mobile-actions{position:sticky;bottom:0;z-index:12;display:flex;justify-content:stretch;padding:10px 0 0;background:#fff;border-top:1px solid #d6dfe7}.mobile-actions .primary-button,.mobile-actions .secondary-button{flex:1 1 0}.measure-layout,.results-layout,.drill-row{grid-template-columns:1fr}.drill-row .icon-button{width:100%}.result-visual{min-height:390px}.result-tv{left:6%;right:6%}.result-mount{left:24%;right:24%}}@media (max-width: 520px){.console-topbar{min-height:0;padding:9px 10px}.brand-mark{width:34px;height:34px}.brand-mark svg{width:19px;height:19px}.console-topbar h1{font-size:1.14rem}.console-topbar .eyebrow{margin-bottom:2px;font-size:.62rem}.topbar-controls{gap:8px}.status-badge{max-width:190px;overflow:hidden;text-overflow:ellipsis}.console-shell{padding:9px}.workdeck{scroll-margin-top:136px}.stage-rail{gap:4px;padding:6px}.stage-tab{flex-direction:column;gap:3px;min-height:52px;padding:5px 2px;font-size:.68rem;line-height:1;white-space:nowrap}.stage-tab span{width:20px;height:20px}.command-hub,.stage-panel{padding:10px}.stage-panel h2{font-size:1.34rem}.panel-icon{width:38px;height:38px}.stage-tab{min-height:39px;padding:6px 7px;font-size:.84rem}.stage-tab span{width:22px;height:22px}.brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brand-card{min-height:54px}.manufacturer-logo{height:25px}.chip-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.chip-grid button{min-height:38px;padding:0 5px;font-size:.88rem}.profile-grid,.option-grid,.form-grid,.summary-grid,.measurement-list,.safety-basis-grid,.snapshot-grid{grid-template-columns:1fr}.console-card,.memory-section,.snapshot-panel,.safety-card{padding:10px}.field input,.field select{min-height:45px}.segmented{grid-template-columns:1fr}.segmented.small{grid-template-columns:repeat(2,minmax(0,1fr))}.diagram{min-height:170px}.result-visual{min-height:350px}.result-tv{top:56px;height:210px}.result-mount{top:122px;gap:26px;padding:20px}.drill-table-head,.drill-table-row{grid-template-columns:1fr 1fr}}@media print{.console-topbar,.command-hub,.stage-rail,.panel-action-row,.job-memory,.status-line{display:none!important}.console-shell,.workdeck,.stage-panel,.results-layout{display:block;width:100%;padding:0}.stage-panel,.console-card,.safety-card,.summary-item,.result-visual,.drill-table{border-color:#000;box-shadow:none}}
