.phone-preview{max-width:1440px;width:100%;grid-template-columns:minmax(280px,350px) minmax(0,1fr);gap:28px;align-items:start}#phoneDetail{scroll-margin-top:110px}
.phone-demo-intro{max-width:1200px;margin:32px auto 16px}.phone-demo-intro h3{font-size:28px}.phone-rotate-hint{font-size:12px;color:var(--muted);text-align:right}.phone-reset{margin-top:18px;padding:10px 14px;min-height:44px;font:inherit;border:1px solid var(--line);border-radius:8px;color:inherit;background:var(--panel);cursor:pointer}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.phone-array{min-width:0;position:sticky;top:110px;align-self:start}.phone-real-array{margin:0 0 20px}.phone-model-viewport{height:clamp(440px,60vh,760px);position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 70%,#303633,#141916 75%);border:1px solid var(--line);border-radius:16px;touch-action:pan-y}
.phone-model-viewport canvas{display:block;width:100%;height:100%;touch-action:pan-y}.phone-model-viewport>p{padding:24px;color:#e9eee9}.phone-model-viewport>button{margin:0 24px}
.phone-view-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;flex-wrap:wrap}.phone-view-actions span{font-size:12px;color:var(--muted)}.phone-view-actions button,.phone-module-choices button,.phone-model-viewport>button{font:inherit;min-height:44px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text);padding:10px 12px;cursor:pointer}.phone-view-actions button[aria-pressed=true]{border-color:var(--accent)}
.phone-array-readout{font-size:17px;line-height:1.55;padding:15px;border-left:3px solid #e8bd7d;background:var(--panel);border-radius:0 8px 8px 0;min-height:65px}
.phone-drawer-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.phone-module-choices h4{font-size:13px;letter-spacing:.08em;margin:10px 0}.phone-module-choices>div{display:grid;gap:7px}.phone-module-choices button{text-align:left;min-width:0;font-size:13px;overflow-wrap:anywhere}.phone-module-choices button span,.phone-module-choices button small{display:block}.phone-module-choices button small{color:var(--muted);font-size:11px;margin-top:4px}.phone-module-choices button[aria-pressed=true]{outline:2px solid #e8bd7d;outline-offset:1px}.phone-module-choices button.is-located small:before{content:'Located · ';color:var(--text)}
.phone-real-array button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.phone-screen .phone-metrics dd{font-size:25px}.phone-stock-actions{gap:7px}.phone-stock-actions input{min-width:70px;width:70px}.phone-array #phoneStatus{min-height:0}.phone-kicker{line-height:1.5}
@media(max-width:850px){.phone-preview{grid-template-columns:minmax(260px,320px) minmax(0,1fr);gap:24px}.phone-model-viewport{height:340px}.phone-drawer-list{grid-template-columns:1fr}.phone-module-choices>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.phone-preview{display:flex;flex-direction:column;gap:12px;align-items:stretch}.phone-shell{width:100%;max-width:390px;margin:auto}.phone-array{order:-1;max-width:none;width:100%;position:sticky;top:108px;z-index:4;background:var(--bg);padding-top:4px}.phone-real-array{margin:0}.phone-model-viewport{height:220px}.phone-rotate-hint{margin:5px 0!important}.phone-screen{padding:18px}.phone-screen h3{margin-bottom:12px}.phone-screen h4{font-size:21px;margin:15px 0}.phone-screen #phoneResults{max-height:125px;overflow:auto}.phone-screen .inventory-result{min-height:44px;padding:9px;margin-top:7px}.phone-screen .phone-metrics div{padding:10px}.phone-screen .phone-metrics dd{font-size:23px}.phone-stock-actions button{padding:9px 10px}}
@media(max-width:680px) and (max-height:600px){.phone-array{position:static}.phone-model-viewport{height:180px}}
.phone-demo-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;margin:0 0 10px}
.phone-demo-actions button,.phone-expanded-heading button{font:inherit;font-size:14px;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--text);cursor:pointer}
.phone-demo-actions button[aria-pressed=true]{border:2px solid var(--text);padding:9px 13px}
.phone-demo-actions [hidden]{display:none!important}
.phone-expanded-dialog{width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;padding:20px 28px;border:0;background:var(--bg);color:var(--text);box-sizing:border-box;overflow:auto}
.phone-expanded-dialog::backdrop{background:#000b}
.phone-expanded-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;position:sticky;top:0;z-index:5;background:var(--bg);padding-bottom:10px}
.phone-expanded-heading strong{font-size:24px}.phone-expanded-heading p{font-size:13px;color:var(--muted);margin:4px 0}
.phone-expanded-dialog .phone-preview{max-width:none;margin:0;grid-template-columns:minmax(280px,330px) minmax(0,1fr);gap:24px}
.phone-expanded-dialog .phone-array{top:90px}
.phone-expanded-dialog .phone-model-viewport{height:calc(100dvh - 160px);min-height:320px}
.phone-expanded-dialog button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(max-width:680px){.phone-expanded-dialog{padding:12px}.phone-expanded-heading{gap:12px;margin-bottom:10px}.phone-expanded-heading strong{font-size:18px}.phone-expanded-heading button{max-width:140px}.phone-expanded-dialog .phone-model-viewport{height:32dvh;min-height:180px;max-height:300px}.phone-expanded-dialog .phone-preview{gap:12px}.phone-expanded-dialog .phone-array{position:static}.phone-demo-actions button{font-size:13px;padding-inline:10px}}
