.phone-header-account{display:none}
.scan-workspace{max-width:520px}
.rack-scan-screen{width:100%;max-width:520px;margin-inline:auto;padding:24px 24px 32px}
.scan-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.scan-heading-actions{display:flex;align-items:center;gap:8px;flex:none}
.scan-tips-button{display:none}
.scan-intro{margin:8px 0 20px;color:#61776e;font-size:14px;line-height:1.6}
.scan-heading h1{font-size:25px;line-height:1.3;letter-spacing:-.7px}
.scan-close{display:flex;align-items:center;justify-content:center;gap:8px;min-width:88px;height:44px;padding:0 12px;border:1px solid #d8e3de;border-radius:12px;color:#176b57;text-decoration:none;font-size:14px;line-height:1;font-weight:600}
.scan-camera{position:relative;width:100%;aspect-ratio:1;margin-top:20px;overflow:hidden;border-radius:18px;background:#122e26;border:1px solid #d8e3de;contain:paint}
.scan-camera video{display:block;width:100%;height:100%;object-fit:cover}
.scan-target{position:absolute;inset:15%;border:2px solid #fff;border-radius:14px;box-shadow:0 0 0 180px #102c2630;pointer-events:none}
.scan-status{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;margin:14px 0 0;color:#285f4c;font-size:14px;line-height:1.6;text-align:center}
.scan-status[hidden]{display:none}
.scan-status .loading-ring{flex:none}
.scan-retry{display:block;min-height:46px;margin:12px auto 0;padding:12px 18px;font-size:14px}
.scan-retry[hidden]{display:none}
@media(max-width:1023px){
 body.live-selected:has(>#main.scan-workspace){display:grid;grid-template-rows:auto minmax(0,1fr);height:100vh;height:100svh;min-height:100vh;min-height:100svh}
 body.live-selected:has(>#main.scan-workspace)>#app-header{grid-row:1}
 .live-selected #main.scan-workspace{grid-row:2;min-height:0;margin:0;overflow-y:auto}
 .live-selected .merged-header .header-menu-button,.live-selected .merged-header .sample-more{display:none!important}
 .live-selected .header-e .header-top{grid-template-columns:minmax(0,1fr) 70px}
 .live-selected .phone-header-account{display:grid;place-items:center;flex:none;width:48px;min-height:48px;justify-self:center;border-radius:12px;color:#176b57;text-decoration:none;touch-action:manipulation}
 .phone-header-account .ui-icon{width:24px;height:24px}
 .phone-header-account[aria-current=page],.phone-header-account:focus-visible{background:#e8f3ed;outline:none}
 .rack-scan-screen{display:flex;flex-direction:column;gap:20px;min-height:100%;padding:20px 20px 24px}
 .scan-heading{flex:none;gap:12px}
 .scan-heading h1{min-width:0}
 .scan-tips-button{display:grid;place-items:center;flex:none;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:1px solid #d8e3de;border-radius:12px;background:#fff;color:#176b57}
 .scan-tips-button svg{width:21px;height:21px}
 .scan-tips-button:focus-visible{outline:2px solid #176b57;outline-offset:3px}
 .scan-tips-dialog .install-steps{margin-top:22px}
 .scan-stage{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;width:100%}
 .scan-camera{flex:none;margin-top:0}
}
@media(max-height:650px){.scan-camera{max-width:300px;margin-inline:auto}.rack-scan-screen{padding-top:12px}}
@media(min-width:1024px) and (max-height:650px){.scan-camera{margin-top:12px}}
