:root{--ink:#16283b;--muted:#667687;--line:#e0e7ee;--surface:#fff;--canvas:#f4f7fa;--accent:#166f63;--accent-dark:#10554c;--accent-light:#e7f5f0;--warning:#925911;--danger:#ae3f3f;--radius:16px;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Noto Sans JP",sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.65}button,input,textarea{font:inherit}button,a,input,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.46}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #357cb3;outline-offset:3px}button{color:inherit}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.skip-link{position:fixed;z-index:20;left:16px;top:-100px;background:white;padding:12px 18px;box-shadow:0 2px 20px #142f4522}.skip-link:focus{top:12px}.app-header{height:85px;padding:0 max(28px,calc((100vw - 1540px)/2));display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;gap:11px;align-items:center;font-weight:750;letter-spacing:.025em;font-size:17px;line-height:1.25}.brand small{display:block;font-size:10px;letter-spacing:.12em;color:var(--muted);font-weight:500;margin-top:5px}.brand-mark{width:36px;height:39px;background:var(--ink);color:white;border-radius:11px;display:grid;place-items:center;font-size:25px;font-weight:600}.app-header nav{display:flex;align-items:center;gap:28px;font-size:12px;font-weight:600}.app-header nav a{padding:9px 0}.header-platform{color:var(--muted);font-weight:400;border-left:1px solid var(--line);padding-left:27px}main{max-width:1540px;margin:0 auto;padding:38px 28px 20px}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:.02em;line-height:1.5;font-weight:730}h2{font-size:16px;font-weight:700}h3{font-size:17px}.eyebrow{display:block;font-size:10px;letter-spacing:.16em;color:var(--accent);font-weight:750;margin-bottom:5px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.page-heading p{font-size:13px;color:var(--muted);margin-top:7px}.button{border:1px solid transparent;border-radius:9px;min-height:42px;padding:9px 17px;font-weight:650;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:5px;transition:background-color .15s}.primary{color:#fff;background:var(--accent);box-shadow:0 2px 4px #13695f12}.primary:hover:enabled{background:var(--accent-dark)}.secondary{background:#fff;border-color:#d7e1e9}.secondary:hover:enabled{background:#f0f5f7}.text-button{border:0;background:none;color:var(--accent);font-size:11px;font-weight:650;padding:7px}.text-button:hover:enabled{text-decoration:underline}.full-width{width:100%}.quiet{font-size:11px;color:var(--muted);font-weight:400}.notice{border:1px solid #ead6b3;background:#fff9eb;padding:12px 16px;border-radius:10px;font-size:12px;color:#79551e;margin-bottom:16px}.notice.error{color:var(--danger);background:#fff2f1;border-color:#efd0ce}.summary-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 20px;background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:25px}.summary-main{display:flex;align-items:center;gap:8px;font-size:12px}.summary-main>strong{font-size:22px;font-weight:700;line-height:1}.connection-dot{width:8px;height:8px;background:#2c9c79;border-radius:50%;margin-right:3px}.summary-divider{height:21px;width:1px;background:var(--line);margin:0 12px}.summary-caption{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px}#session-label{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-left:10px}.workspace-layout{display:grid;grid-template-columns:minmax(0,1fr) 332px;align-items:start;gap:24px}.devices-panel{min-width:0}.section-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:34px}.section-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.count-pill{font-size:10px;color:#5c6f7e;white-space:nowrap;padding:3px 8px;border-radius:20px;background:#e9eef2;line-height:1.6}.selection-tools{display:flex;gap:5px}.selection-hint{color:var(--muted);font-size:11px;margin:7px 0 17px}.device-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.device-card{background:white;min-width:0;border:1px solid var(--line);border-radius:13px;overflow:hidden;transition:border-color .15s,box-shadow .15s}.device-card.is-focused{border-color:#5b9a90;box-shadow:0 0 0 2px #166f6314}.device-card.is-selected .card-heading{background:#f2faf7}.device-card.is-offline .thumbnail{background:#edf0f3}.card-heading{display:flex;align-items:center;gap:7px;padding:12px 11px 10px;min-height:48px}.card-select{display:flex;gap:7px;align-items:center;min-width:0;width:100%;cursor:pointer}.card-name{font-weight:680;font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.card-select input{width:15px;height:15px;margin:0;flex-shrink:0;accent-color:var(--accent)}.card-online{width:6px;height:6px;border-radius:50%;flex-shrink:0;background:#a8b3be}.card-online.online{background:#2f9e7c}.thumbnail{display:flex;align-items:center;justify-content:center;width:100%;height:223px;padding:0;border:0;background:#e9eef2;position:relative;overflow:hidden}.thumbnail img{width:100%;height:100%;object-fit:contain;pointer-events:none;background:#e9eef2}.thumbnail-message{font-size:10px;color:#74838f;line-height:1.7;text-align:center;padding:15px}.thumbnail::after{content:"拡大する ↗";position:absolute;right:7px;bottom:7px;font-size:9px;line-height:1;padding:6px 7px;background:#102739bc;color:white;border-radius:5px;opacity:0}.thumbnail:hover::after,.thumbnail:focus-visible::after{opacity:1}.card-meta{padding:10px 11px 12px}.card-badges{display:flex;gap:4px;flex-wrap:wrap;margin-bottom:8px}.badge{display:inline-flex;align-items:center;line-height:1.4;padding:3px 5px;border-radius:4px;background:#eef2f5;font-size:9px;color:#5e7181;white-space:nowrap}.badge.good{background:#e6f5ee;color:#287257}.badge.warn{background:#fcf1da;color:#906416}.badge.bad{background:#fcebea;color:#a24d48}.permission-line{font-size:9px;line-height:1.7;color:#6f7d88;display:flex;align-items:center;gap:4px}.permission-line::before{content:"";width:4px;height:4px;flex-shrink:0;background:#b2bbc3;border-radius:50%}.permission-line.ok::before{background:#4b9e80}.card-model{font-size:9px;color:#8a97a2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:5px}.inspector{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:20px;position:sticky;top:20px}.inspector-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.inspector-heading h2{font-size:17px;word-break:break-all}.inspector-heading .eyebrow{font-size:8px}.detail-placeholder{display:flex;align-items:center;justify-content:center;min-height:340px;gap:13px;font-size:12px;color:#7c8995;line-height:1.9}.detail-placeholder>span{font-size:28px;font-weight:200;color:#a2afb8}.detail-status{font-size:10px;color:var(--muted);margin-bottom:12px}.detail-stage{position:relative;display:flex;align-items:center;justify-content:center;background:#edf1f4;aspect-ratio:9/15;max-height:475px;overflow:hidden;border:1px solid #e3e9ee;border-radius:9px;touch-action:pan-y;user-select:none}.detail-stage.is-enabled{cursor:crosshair;touch-action:none;border-color:#68a79b}.detail-stage img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}.image-message{font-size:11px;color:#7b8b98;text-align:center;padding:15px}.touch-mark{position:absolute;width:20px;height:20px;transform:translate(-50%,-50%);border-radius:50%;border:2px solid #fff;background:#166f6370;box-shadow:0 0 0 2px #166f63;pointer-events:none}.frame-status{font-size:10px;color:var(--muted);min-height:18px;margin:8px 0 14px}.frame-status.is-stale{color:var(--warning)}.control-box{border-top:1px solid var(--line);padding-top:16px}.switch-label{display:flex;align-items:center;gap:10px;position:relative;cursor:pointer}.switch-label>span:first-child{flex:1}.switch-label strong{display:block;font-size:12px}.switch-label small{display:block;color:var(--muted);font-size:9px;margin-top:2px}.switch-label input{position:absolute;right:0;width:38px;height:26px;opacity:0;margin:0}.switch-track{width:38px;height:22px;border-radius:20px;background:#cbd5dd;position:relative;flex-shrink:0;pointer-events:none}.switch-track::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;background:#fff;border-radius:50%;transition:transform .15s}.switch-label input:checked+.switch-track{background:var(--accent)}.switch-label input:checked+.switch-track::after{transform:translateX(16px)}.switch-label input:focus-visible+.switch-track{outline:3px solid #357cb3;outline-offset:3px}.switch-label input:disabled+.switch-track{opacity:.4}.bulk-label{font-size:10px;display:flex;align-items:center;gap:6px;margin-top:16px}.bulk-label input{accent-color:var(--accent);margin:0;width:14px;height:14px}.target-description{font-size:10px;color:var(--accent);padding:9px 0 12px;line-height:1.7;word-break:break-word}.device-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:16px}.device-actions .button{min-height:36px}label[for=device-text]{font-size:10px;font-weight:600}textarea,input[type=password],input:not([type]){display:block;background:white;border:1px solid #d6e0e7;border-radius:7px;width:100%;padding:9px;font-size:12px;color:var(--ink)}textarea{resize:vertical;min-height:65px;margin:6px 0 8px;line-height:1.6}textarea:disabled{background:#f6f8f9}textarea::placeholder,input::placeholder{color:#94a0aa}.control-caption{font-size:9px;color:#8a97a2;margin-top:13px}.empty-state{background:#fff;border:1px dashed #d6e0e7;border-radius:13px;padding:60px 20px;text-align:center;min-height:460px;display:flex;align-items:center;justify-content:center;flex-direction:column}.empty-phone{width:43px;height:65px;border:2px solid #bdcdd3;border-radius:10px;margin-bottom:24px;position:relative}.empty-phone::before{content:"";position:absolute;top:5px;left:13px;width:14px;height:3px;background:#bdcdd3;border-radius:3px}.empty-phone::after{content:"＋";position:absolute;right:-13px;bottom:2px;background:var(--accent-light);color:var(--accent);width:28px;height:28px;border:4px solid #fff;border-radius:50%;line-height:20px}.empty-state h3{font-size:16px;margin-bottom:10px}.empty-state>p{font-size:12px;color:var(--muted);line-height:1.9}.empty-state>.quiet{font-size:10px;margin-top:17px}.history-panel{background:white;border:1px solid var(--line);border-radius:var(--radius);margin-top:28px;padding:20px}.history-panel .section-title>.quiet{font-size:10px}.history-list{margin-top:15px;max-height:380px;overflow:auto}.history-empty{font-size:12px;color:var(--muted);padding:15px 0 20px}.history-row{display:grid;grid-template-columns:95px minmax(100px,1fr) 100px 100px auto;gap:15px;align-items:center;padding:12px 0;border-top:1px solid #edf1f4;font-size:11px}.history-time{font-size:10px;color:var(--muted)}.history-device{font-weight:600;overflow-wrap:anywhere}.history-kind{color:var(--muted)}.history-result{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.history-result .badge{font-size:10px}.history-receipt{font-size:9px;color:var(--muted)}.history-ack{font-size:10px;max-width:155px}.page-footer{display:flex;justify-content:space-between;color:#8c99a4;font-size:9px;padding-top:22px;padding-bottom:12px;gap:15px}.auth-panel{max-width:570px;margin:10vh auto;text-align:center;padding:50px 40px;background:#fff;border:1px solid var(--line);border-radius:20px}.auth-panel h1{font-size:25px;line-height:1.7;margin:13px 0}.auth-panel>p{color:var(--muted);font-size:12px;line-height:1.9;margin:13px 0 25px}.auth-panel .button{min-height:45px}.local-login{text-align:left;margin-top:25px}.local-login label{font-size:12px;display:block;margin-bottom:7px}.local-login .button{width:100%;margin-top:12px}.error-text{color:var(--danger)!important;font-size:11px;margin-top:12px!important;margin-bottom:0!important}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:100;background:#183b36;color:white;padding:13px 20px;border-radius:10px;max-width:min(600px,calc(100vw - 32px));font-size:12px;box-shadow:0 5px 24px #142d4326}.toast.error{background:#79403b}dialog{border:1px solid var(--line);border-radius:18px;padding:32px;max-width:440px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 20px 80px #10273926}dialog::backdrop{background:#142f4566}dialog h2{font-size:22px;margin:8px 0}dialog>p{font-size:12px;color:var(--muted);margin-bottom:22px}.dialog-close{position:absolute;top:10px;right:14px;font-size:25px;background:none;border:0;line-height:1;width:30px;height:30px;color:var(--muted)}#pairing-form>label{font-size:12px;display:block;margin-bottom:7px}#pairing-form>.button{margin-top:14px}.pairing-result{text-align:center;border-radius:10px;background:#f0f7f5;margin-top:20px;padding:20px 15px}.pairing-result>strong{font-size:34px;letter-spacing:.17em;display:block;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin:8px 0}.pairing-result>p{font-size:11px;color:var(--accent)}.pairing-result>.quiet{margin-top:15px;color:var(--muted);font-size:10px}
@media(min-width:1500px){.device-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.thumbnail{height:225px}}@media(max-width:1200px){.workspace-layout{grid-template-columns:minmax(0,1fr) 300px;gap:18px}.device-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.inspector{padding:16px}.thumbnail{height:222px}.app-header{padding:0 24px}main{padding:30px 24px 15px}}@media(max-width:930px){.workspace-layout{grid-template-columns:minmax(0,1fr) 285px;gap:15px}.device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-caption #session-label{display:none}.thumbnail{height:240px}.selection-tools .text-button{font-size:10px;padding:5px}.section-toolbar{align-items:start}.section-title{gap:6px}.page-heading p{font-size:11px}.history-row{grid-template-columns:80px minmax(80px,1fr) 60px 90px auto;gap:8px}}@media(max-width:700px){.app-header{height:73px;padding:0 18px}.brand{font-size:14px}.brand-mark{width:31px;height:34px;font-size:22px}.brand small{font-size:8px}.header-platform{display:none}.app-header nav{font-size:10px}main{padding:27px 16px 14px}h1{font-size:25px}.page-heading{gap:12px;align-items:start}.page-heading .button{font-size:10px;padding:9px 12px;margin-top:15px;white-space:nowrap}.page-heading p{max-width:220px;font-size:10px}.summary-row{padding:13px 12px;align-items:start;flex-direction:column;gap:7px}.summary-caption{width:100%;justify-content:space-between}.summary-main{font-size:11px}.summary-main>strong{font-size:20px}.workspace-layout{display:flex;flex-direction:column}.devices-panel{width:100%}.device-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.thumbnail{height:182px}.card-heading{padding:9px 7px;min-height:39px}.card-name{font-size:10px}.card-select{gap:5px}.card-select input{width:13px;height:13px}.card-meta{padding:8px 7px}.card-badges{gap:3px;margin-bottom:5px}.badge{font-size:8px;padding:3px 4px}.permission-line{font-size:8px}.card-model{font-size:8px}.card-online{display:none}.inspector{position:static;width:100%;margin-top:12px;padding:20px}.detail-stage{max-width:315px;max-height:none;margin:auto;aspect-ratio:9/15}.detail-placeholder{min-height:180px}.control-box{margin-top:14px}.control-caption{font-size:10px}.bulk-label{font-size:11px}.control-box input:focus-visible{outline-offset:1px}.device-actions .button{min-height:42px}.history-panel{padding:16px}.history-panel .section-title>.quiet{display:none}.history-row{grid-template-columns:64px minmax(80px,1fr) 75px;row-gap:4px}.history-kind{grid-column:2;grid-row:auto;font-size:10px}.history-result{grid-column:3;grid-row:1/3}.history-ack{grid-column:2/4;max-width:none;justify-self:end}.history-time{grid-row:1/3;font-size:9px}.history-row{position:relative}.history-row .history-result{grid-row:auto}.page-footer{flex-direction:column;gap:4px}.empty-state{min-height:320px;padding:40px 18px}.auth-panel{margin:7vh auto;padding:35px 22px}.auth-panel h1{font-size:21px}}@media(max-width:400px){.device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.thumbnail{height:225px}.selection-hint{font-size:10px}.page-heading .button{font-size:9px;padding:9px}.brand{font-size:13px}.app-header{padding:0 13px}.app-header nav{font-size:9px}.summary-divider{margin:0 7px}.selection-tools{gap:0}.section-toolbar h2{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}

/* The administrator workspace has its own page, separate from device operation. */
select,input[type=email]{font:inherit;color:var(--ink);background:#fff;border:1px solid #d6e0e7;border-radius:7px;width:100%;min-height:42px;padding:9px;font-size:12px}
select:focus-visible,input[type=email]:focus-visible{outline:3px solid #357cb3;outline-offset:3px}
select:disabled,input[type=email]:disabled{background:#f6f8f9;color:var(--muted)}
.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#admin-main{max-width:1120px}
.admin-session{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:-5px 0 24px;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.admin-session .quiet{margin-left:auto}
.admin-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin-bottom:22px;scroll-margin-top:20px}
.admin-intro{font-size:12px;color:var(--muted);margin:8px 0 22px;line-height:1.9}
.admin-add-form{display:flex;gap:12px;align-items:end;max-width:650px;margin-bottom:9px}
.admin-add-form>div{flex:1;min-width:0}
.admin-add-form label,.admin-pairing-form>label,.admin-device-assignment>label{font-size:11px;display:block;font-weight:650;margin-bottom:6px}
.admin-add-form>.button{flex-shrink:0}
.admin-table-scroll{overflow:auto;margin-top:24px}
.admin-table{width:100%;border-collapse:collapse;text-align:left;min-width:550px;font-size:12px}
.admin-table th,.admin-table td{padding:14px 12px;border-top:1px solid var(--line);vertical-align:middle}
.admin-table thead th{font-size:10px;font-weight:600;color:var(--muted);background:#f7f9fb;border-top:0}
.admin-table tbody th{font-weight:600;overflow-wrap:anywhere;max-width:360px}
.admin-table .button{font-size:11px;min-height:36px;padding:7px 12px;white-space:nowrap}
.admin-self-label{font-size:9px;font-weight:400;color:var(--accent);margin-left:9px;white-space:nowrap}
.admin-device-list{display:grid;gap:12px}
.admin-device-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(200px,1.2fr) auto;gap:16px;align-items:end;padding:16px;border:1px solid var(--line);border-radius:10px;background:#fbfcfd}
.admin-device-info{min-width:0;display:flex;align-items:center;flex-wrap:wrap;column-gap:8px;row-gap:7px;align-self:center}
.admin-device-info>strong{font-size:13px;overflow-wrap:anywhere}
.admin-device-info>.quiet{display:block;flex-basis:100%;overflow-wrap:anywhere}
.admin-device-assignment{min-width:0}
.admin-device-assignment select{max-width:100%;text-overflow:ellipsis}
.admin-device-row>.button{white-space:nowrap}
.admin-device-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.admin-device-actions .button{white-space:nowrap}
.admin-device-actions .admin-destructive{color:var(--danger);border-color:#e5c9c7}
.admin-device-actions .admin-destructive:hover:enabled{background:#fff2f1}
.admin-recovery-hint{font-size:11px;color:var(--muted);margin:-8px 0 20px;line-height:1.9}
.admin-empty{padding:20px 0;font-size:12px;color:var(--muted);line-height:1.9}
.admin-pairing-form{max-width:520px}
.admin-pairing-form>.button{margin-top:14px}
#admin-pairing-result{max-width:520px}
#admin-pairing-owner{display:block;overflow-wrap:anywhere}
.admin-dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:24px}
#admin-confirm-dialog>p{overflow-wrap:anywhere;margin:14px 0;line-height:1.9}
@media(max-width:800px){.admin-device-row{grid-template-columns:minmax(0,1fr) auto;align-items:end}.admin-device-info{grid-column:1/-1}.admin-panel{padding:20px}.app-header nav{gap:15px}}
@media(max-width:550px){.admin-add-form{flex-direction:column;align-items:stretch}.admin-device-row{display:flex;flex-direction:column;align-items:stretch;gap:12px}.admin-session .quiet{margin-left:0;flex-basis:100%}.admin-table th,.admin-table td{padding:12px 9px}.admin-panel{padding:18px 15px}.admin-dialog-actions>.button{flex:1}.app-header nav{gap:8px}.app-header nav .text-button{font-size:10px;padding:5px}.app-header nav a{font-size:10px}.page-heading .button{white-space:normal}#admin-main .page-heading{flex-direction:column}#admin-main .page-heading p{max-width:none}#admin-main .page-heading .button{margin-top:0}}

.workspace-layout.is-empty{grid-template-columns:minmax(0,1fr)}
.workspace-layout.is-empty .empty-state{min-height:320px}
.empty-state>.empty-account{font-size:13px;color:var(--ink);font-weight:600;overflow-wrap:anywhere;margin-top:18px}
.empty-state>.empty-next-step{max-width:520px;margin-top:12px}
.empty-state>.button{margin-top:22px}
.badge,.card-badges .badge,.history-result .badge,#detail-network{font-size:12px;line-height:1.5}
.permission-line,.frame-status,.target-description,.switch-label small{font-size:12px;line-height:1.7}
.card-badges{row-gap:6px}
.card-meta{padding-bottom:15px}
.admin-first-use{margin:0 0 24px}
.admin-first-use ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;margin:0;padding:0}
.admin-first-use li{min-width:0;padding:16px;background:#eaf2f0;border:1px solid #d8e7e2;border-radius:12px}
.admin-first-use li>a{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--accent-dark)}
.admin-first-use li>a:hover{text-decoration:underline}
.setup-step-number{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;border:1px solid #b9d3ca;font-size:12px;flex-shrink:0}
.setup-step-state{display:block;font-size:12px;line-height:1.8;color:var(--muted);margin-top:9px;overflow-wrap:anywhere}
@media(max-width:700px){.admin-first-use ol{grid-template-columns:minmax(0,1fr)}.admin-first-use li{padding:13px 16px}.setup-step-state{margin-top:5px}.workspace-layout.is-empty .empty-state{min-height:300px}.empty-state>.empty-account{font-size:12px}}
.noscript-notice{max-width:1064px;margin:24px auto;padding:18px 22px}

/* Keep navigation readable when the setup-guide link is present. */
.app-header{height:auto;min-height:85px;padding-top:14px;padding-bottom:14px;gap:18px}.app-header nav{flex-wrap:wrap;justify-content:flex-end;row-gap:4px}@media(max-width:680px){.app-header{gap:12px}.brand{flex-shrink:0}.app-header nav{gap:4px 12px}}

/* Device workspace: a quiet shell, readable operational detail, and one clear next step.
   Scoped to this page so the administrator workspace keeps its existing design. */
body.user-app{
  --ink:#232536;--muted:#6b6e80;--line:#e7e8ef;--canvas:#f8f9fc;
  --accent:#6655cc;--accent-dark:#5141ac;--accent-light:#f0edfc;--radius:16px;
  color:var(--ink);background:var(--canvas);font-size:14px;line-height:1.65;
}
.user-app .app-header{
  position:fixed;inset:0 auto 0 0;z-index:15;width:216px;height:100dvh;
  min-height:0;padding:32px 16px 20px;display:flex;flex-direction:column;
  align-items:stretch;justify-content:flex-start;gap:0;background:#1e2233;
  border:0;color:#e9eaf2;
}
.user-app .brand{gap:10px;align-items:center;padding:0 8px;font-size:15px;letter-spacing:0;line-height:1.4;flex-shrink:0}
.user-app .brand-title{font-size:14px;white-space:nowrap;font-weight:700}
.user-app .brand small{color:#a4a8bd;font-size:11px;letter-spacing:.03em;margin-top:4px;font-weight:400}
.user-app .brand-mark{width:33px;height:36px;flex-shrink:0;border-radius:10px;background:#7160da}
.user-app .brand-mark svg{width:24px;height:24px;stroke:#fff;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.user-app .app-header nav{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:5px;margin-top:40px;font-size:13px;font-weight:500}
.user-app .nav-group-label{font-size:11px;font-weight:500;letter-spacing:.04em;color:#a3a7bb;padding:0 14px;margin-bottom:7px}
.user-app .nav-support-label{margin-top:29px}
.user-app .app-header nav a{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 13px;border-radius:8px;color:#bdc1d3;transition:background-color .16s,color .16s}
.user-app .app-header nav a:hover{background:#2a2f45;color:#fff}
.user-app .app-header nav a.nav-current{background:#34324f;color:#f0edff;font-weight:650}
.user-app .app-header nav svg,.user-app #logout svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.user-app .nav-current-mark{margin-left:auto;width:5px;height:5px;background:#b9aaff;border-radius:50%}
.user-app .nav-external{margin-left:auto;color:#8d92ab;font-size:14px}
.user-app .sidebar-footer{margin-top:auto;padding:20px 8px 0;border-top:1px solid #35394c}
.user-app .sidebar-platform{display:flex;gap:9px;align-items:center;margin-bottom:18px}
.user-app .platform-icon{width:30px;height:30px;background:#34394e;border:1px solid #454b63;border-radius:8px;display:grid;place-items:center;color:#d1caee;font-size:12px;font-weight:650}
.user-app .sidebar-platform strong{display:block;font-size:12px;font-weight:550;color:#e0e2ed}
.user-app .sidebar-platform div>span{display:block;font-size:10px;color:#a1a6bc;margin-top:1px}
.user-app #session-label{display:block;max-width:100%;margin:0 0 9px;font-size:11px;color:#b8bdd0;white-space:normal;overflow-wrap:anywhere;line-height:1.7}
.user-app #logout{display:flex;align-items:center;gap:8px;color:#c1c5d6;font-size:12px;padding:6px 0;text-decoration:none}
.user-app #logout:hover{color:white}
.user-app #logout svg{width:17px;height:17px}
.user-app main{max-width:1800px;margin:0 0 0 216px;padding:0 40px 24px;min-height:100vh}
.user-app .workspace-topline{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:80px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted);margin-bottom:36px}
.user-app .workspace-topline>span{display:flex;align-items:center;gap:14px}
.user-app .workspace-topline>span>span{color:#b0b3c1}
.user-app .workspace-topline strong{font-weight:550;color:#3b3e52}
.user-app .workspace-topline>a{display:flex;align-items:center;gap:7px;font-size:12px}
.user-app .workspace-topline>a:hover{color:var(--accent)}
.user-app .workspace-topline svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.user-app .page-heading{margin-bottom:27px;gap:18px;align-items:center}
.user-app h1{font-size:32px;letter-spacing:-.025em;line-height:1.4;font-weight:700}
.user-app .page-heading p{font-size:13px;color:var(--muted);margin-top:7px;max-width:none}
.user-app h2{font-size:16px;letter-spacing:.01em}
.user-app .button{min-height:42px;font-size:13px;font-weight:600;border-radius:8px;padding:10px 17px;gap:9px;box-shadow:none}
.user-app .primary{background:var(--accent);box-shadow:0 2px 3px #2f21540d}
.user-app .primary:hover{background:var(--accent-dark)}
.user-app .secondary{border-color:#dcdee8;color:#42465b;background:white}
.user-app .secondary:hover:enabled{background:#f5f4fc;border-color:#c9c4e6}
.user-app .text-button{font-size:12px;font-weight:550;color:var(--accent);padding:7px 8px}
.user-app .summary-row{min-height:64px;padding:16px 0 20px;margin:0 0 26px;border:0;border-bottom:1px solid var(--line);background:transparent;border-radius:0;flex-wrap:wrap;gap:14px}
.user-app .summary-main{font-size:13px;gap:8px;flex-wrap:wrap;color:#62667a}
.user-app .summary-main>strong{font-size:25px;color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:-.04em}
.user-app .connection-dot{width:7px;height:7px;background:#9a91c6;margin-right:3px}
.user-app .summary-divider{height:19px;margin:0 10px;background:#dfe1e9}
.user-app .summary-main span strong{font-weight:650;color:#4d5166;margin:0 2px}
.user-app .summary-caption{font-size:12px;gap:10px;color:#707487}
.user-app .summary-caption .text-button{border:1px solid #dedfe9;border-radius:6px;padding:4px 9px;color:#5d6174;background:white;font-size:11px}
.user-app .workspace-layout{grid-template-columns:minmax(0,1fr) 326px;gap:24px}
.user-app .workspace-layout.is-empty{grid-template-columns:minmax(0,1fr)}
.user-app .section-toolbar{min-height:38px;gap:10px;align-items:center}
.user-app .section-title{gap:10px}
.user-app .count-pill{font-size:12px;background:#edecf5;color:#625b86;padding:3px 9px;font-weight:500}
.user-app .selection-hint{font-size:12px;line-height:1.8;margin:7px 0 20px;color:#75798b}
.user-app .selection-tools .text-button{font-size:12px;padding:7px}
.user-app .device-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.user-app .device-card{border-radius:12px;border-color:#e1e3ed;box-shadow:0 2px 5px #242b4514}
.user-app .device-card.is-focused{border-color:#7765d7;box-shadow:0 0 0 2px #7664d72b}
.user-app .device-card.is-selected .card-heading{background:#f3f0ff}
.user-app .card-heading{padding:12px;min-height:49px}
.user-app .card-name{font-size:13px;font-weight:650}
.user-app .card-select input{width:16px;height:16px;accent-color:var(--accent)}
.user-app .card-online{width:7px;height:7px}
.user-app .thumbnail{height:240px;background:#eef0f6}
.user-app .thumbnail img{background:#eef0f6}
.user-app .thumbnail-message{font-size:12px;color:#757b8e}
.user-app .thumbnail::after{font-size:11px;bottom:9px;right:9px;padding:7px 9px;background:#33324cdd;border-radius:6px}
.user-app .card-meta{padding:12px}
.user-app .card-badges{gap:5px;margin-bottom:9px}
.user-app .badge{font-size:12px;line-height:1.45;padding:4px 6px;border-radius:5px}
.user-app .permission-line{font-size:12px;color:#71768a;line-height:1.85}
.user-app .card-model{font-size:11px;color:#73788a;margin-top:8px}
.user-app .inspector{padding:20px;border-radius:14px;border-color:#e1e3ed;box-shadow:0 2px 5px #242b4508;top:20px}
.user-app .inspector-heading{margin-bottom:14px;gap:10px}
.user-app .inspector-heading h2{font-size:17px}
.user-app .inspector-heading .eyebrow{font-size:11px;letter-spacing:.04em;color:#807a99;font-weight:500;margin-bottom:5px}
.user-app .detail-placeholder{min-height:350px;font-size:13px;gap:15px;color:#74798d}
.user-app .detail-placeholder>span{color:#a49abd}
.user-app .detail-status,.user-app .image-message,.user-app .frame-status{font-size:12px}
.user-app .detail-stage{background:#f0f1f6;border-color:#e5e6ed;border-radius:10px}
.user-app .detail-stage.is-enabled{border-color:#8c7be4}
.user-app .frame-status{margin:10px 0 17px;line-height:1.75}
.user-app .switch-label strong{font-size:14px;font-weight:650}
.user-app .switch-label small{font-size:12px}
.user-app .bulk-label{font-size:12px;line-height:1.7;align-items:start;gap:8px}
.user-app .bulk-label input{margin-top:3px;flex-shrink:0;width:15px;height:15px}
.user-app .target-description{font-size:12px;line-height:1.8;padding:12px 0}
.user-app .device-actions .button{min-height:40px;font-size:12px}
.user-app label[for=device-text]{font-size:12px;font-weight:600}
.user-app textarea,.user-app input[type=password]{font-size:13px;border-color:#dadce8;border-radius:8px}
.user-app textarea{padding:10px;min-height:76px;margin:8px 0}
.user-app .control-caption{font-size:12px;line-height:1.8;color:#74798b}
.user-app .touch-mark{background:#6655cc70;box-shadow:0 0 0 2px #6655cc}
.user-app .history-panel{margin-top:28px;padding:22px;border-radius:14px;border-color:#e1e3ed}
.user-app .history-panel .section-title>.quiet{font-size:12px}
.user-app .history-empty,.user-app .history-row{font-size:12px}
.user-app .history-time,.user-app .history-receipt{font-size:11px}
.user-app .history-result .badge{font-size:12px}
.user-app .history-ack{font-size:12px}
.user-app .page-footer{font-size:11px;color:#7d8193;padding:25px 0 8px;line-height:1.8;flex-wrap:wrap}
.user-app .empty-state,.user-app .workspace-layout.is-empty .empty-state{
  display:grid;grid-template-columns:minmax(190px,.8fr) minmax(0,1.2fr);gap:10px 36px;
  min-height:0;padding:40px 42px 0;background:#fff;border:1px solid #e3e5ed;border-radius:16px;
  text-align:left;align-items:center;box-shadow:0 3px 10px #242b4504;margin-top:12px;
}
.user-app .empty-visual{width:100%;max-width:280px;justify-self:center}
.user-app .empty-visual svg{display:block;width:100%;height:auto;overflow:visible}
.user-app .empty-orbit{stroke:#e9e6f4;stroke-width:1;stroke-dasharray:4 7}
.user-app .empty-orbit.inner{fill:#f7f6fc;stroke:none}
.user-app .empty-device{fill:white;stroke:#aaa0d5;stroke-width:1.5}
.user-app .empty-device.back{fill:#f3f1fb;stroke:#cfcae8}
.user-app .empty-device-detail{stroke:#b1a8d6;stroke-width:3;stroke-linecap:round}
.user-app .empty-check{stroke:#7967c9;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.user-app .empty-plus-background{fill:#6755c5;stroke:white;stroke-width:5}
.user-app .empty-plus{stroke:white;stroke-width:2;stroke-linecap:round}
.user-app .empty-spark{stroke:#b4aad7;stroke-width:2;stroke-linecap:round}
.user-app .empty-copy{padding:9px 0 29px;min-width:0}
.user-app .empty-kicker{display:block;font-size:12px;font-weight:600;color:#8a7bb2;letter-spacing:.06em;margin-bottom:10px}
.user-app .empty-state h3{font-size:28px;font-weight:700;line-height:1.5;letter-spacing:-.03em;margin:0 0 15px}
.user-app .empty-copy>p{font-size:13px;color:#6b7084;line-height:1.85;max-width:430px}
.user-app .empty-copy>.empty-account{font-size:12px;overflow-wrap:anywhere;color:#767a8d;margin-top:10px}
.user-app .empty-copy>.empty-next-step{font-size:12px;margin-top:10px}
.user-app .empty-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.user-app .empty-actions .button{font-size:12px;padding:10px 14px;min-height:42px}
.user-app .empty-actions:has(#empty-admin-action:not([hidden])) #empty-admin-action{order:-1;background:var(--accent);border-color:var(--accent);color:white}
.user-app .empty-actions:has(#empty-admin-action:not([hidden]))>a:first-child{background:white;border-color:#dedfea;color:#55596e;box-shadow:none}
.user-app .connection-steps{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;margin:0;padding:24px 0 27px;border-top:1px solid #eeedf4;gap:18px}
.user-app .connection-steps li{display:flex;gap:11px;align-items:center;min-width:0}
.user-app .connection-steps li>span{width:29px;height:29px;display:grid;place-items:center;flex-shrink:0;border:1px solid #e5e1f1;background:#faf9fd;border-radius:9px;font-size:12px;color:#8b7bb3;font-weight:500;font-variant-numeric:tabular-nums}
.user-app .connection-steps strong{display:block;font-size:12px;font-weight:600;color:#53586d}
.user-app .connection-steps small{display:block;font-size:11px;color:#7b8091;margin-top:3px;line-height:1.6}
.user-app .connection-steps small a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.user-app [data-apk-download][aria-busy=true]{cursor:progress;opacity:.65}
.user-app .auth-panel{max-width:540px;margin:9vh auto;padding:48px 40px;border-radius:18px;border-color:#e3e5ed;box-shadow:0 12px 40px #28304b07}
.user-app .auth-panel h1{font-size:28px;line-height:1.6;letter-spacing:-.03em}
.user-app .auth-panel>.eyebrow{font-size:12px;letter-spacing:.05em;font-weight:600;color:#8a7bb2}
.user-app .auth-panel>p{font-size:13px;color:#75798d;line-height:1.9}
.user-app .error-text{font-size:12px}
.user-app .toast{font-size:13px;background:#34304f;border-radius:10px}
.user-app .toast.error{background:#79403b}
.user-app button:focus-visible,.user-app a:focus-visible,.user-app input:focus-visible,.user-app textarea:focus-visible,.user-app [tabindex]:focus-visible{outline-color:#8270dc}
.user-app .app-header a:focus-visible,.user-app .app-header button:focus-visible{outline-color:#d2c6ff}
@media(min-width:1600px){
  .user-app .device-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .user-app main{padding-left:48px;padding-right:48px}
  .user-app .empty-state{grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);padding-left:70px;padding-right:70px;gap:10px 55px}
}
@media(max-width:1200px){
  .user-app main{padding-left:28px;padding-right:28px}
  .user-app .workspace-layout{grid-template-columns:minmax(0,1fr) 292px;gap:18px}
  .user-app .device-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
  .user-app .inspector{padding:17px}
  .user-app .empty-state,.user-app .workspace-layout.is-empty .empty-state{padding:30px 26px 0;gap:8px 20px;grid-template-columns:minmax(170px,.75fr) minmax(0,1.25fr)}
  .user-app .empty-state h3{font-size:25px}
  .user-app .connection-steps{gap:12px}
  .user-app .connection-steps li{gap:8px;align-items:flex-start}
}
@media(max-width:1050px){
  .user-app .app-header{width:192px;padding-left:12px;padding-right:12px}
  .user-app .brand{gap:8px;padding:0 3px}
  .user-app .brand-title{font-size:12px}
  .user-app .brand small{font-size:10px}
  .user-app main{margin-left:192px;padding-left:24px;padding-right:24px}
  .user-app .workspace-layout{grid-template-columns:minmax(0,1fr)}
  .user-app .device-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .user-app .inspector{position:static;max-width:none;margin-top:8px;padding:24px}
  .user-app .detail-stage{max-width:320px;max-height:none;margin:auto}
  .user-app .detail-placeholder{min-height:160px}
  .user-app .summary-row{align-items:flex-start}
  .user-app .summary-caption{margin-left:0}
  .user-app .connection-steps{grid-template-columns:1fr;padding-top:21px;padding-bottom:24px;gap:16px}
  .user-app .connection-steps li{align-items:center}
  .user-app .connection-steps small{margin-top:0}
  .user-app .connection-steps li>div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
  .user-app .empty-state,.user-app .workspace-layout.is-empty .empty-state{grid-template-columns:minmax(130px,.65fr) minmax(0,1.35fr);gap:8px 14px}
  .user-app .empty-state h3{font-size:24px}
  .user-app .empty-actions{gap:8px}
}
@media(max-width:800px){
  .user-app .device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .user-app .empty-state,.user-app .workspace-layout.is-empty .empty-state{grid-template-columns:minmax(0,1fr);text-align:center;padding:20px 25px 0}
  .user-app .empty-visual{max-width:190px}
  .user-app .empty-copy{padding:0 0 25px}
  .user-app .empty-title-break{display:none}
  .user-app .empty-copy>p{margin-left:auto;margin-right:auto}
  .user-app .empty-actions{justify-content:center}
  .user-app .connection-steps{text-align:left}
}
@media(max-width:700px){
  .user-app .app-header{position:relative;inset:auto;z-index:10;width:100%;height:auto;min-height:0;padding:19px 16px 12px;display:block;border-radius:0}
  .user-app .brand{padding:0;max-width:235px;font-size:14px;gap:9px}
  .user-app .brand-title{font-size:14px}
  .user-app .brand-mark{width:31px;height:33px}
  .user-app .brand small{display:none}
  .user-app .app-header nav{margin-top:19px;flex-direction:row;gap:4px;overflow-x:auto;flex-wrap:nowrap;padding:2px 0 3px;scrollbar-width:thin}
  .user-app .app-header nav a{font-size:12px;min-height:39px;padding:9px 11px;gap:7px;flex-shrink:0;white-space:nowrap;border-radius:7px}
  .user-app .app-header nav svg{width:17px;height:17px}
  .user-app .nav-group-label,.user-app .nav-current-mark,.user-app .nav-external{display:none}
  .user-app .sidebar-footer{border:0;padding:0;margin:0;position:absolute;right:17px;top:23px}
  .user-app .sidebar-platform,.user-app #session-label{display:none}
  .user-app #logout{font-size:11px;gap:3px;padding:2px 0}
  .user-app #logout svg{width:15px;height:15px}
  .user-app main{margin:0;padding:0 20px 24px;min-height:calc(100vh - 120px)}
  .user-app .workspace-topline{min-height:62px;margin-bottom:26px;font-size:11px;gap:10px}
  .user-app .workspace-topline>span{gap:10px}
  .user-app .workspace-topline>a{font-size:11px;gap:5px}
  .user-app .page-heading{margin-bottom:20px;align-items:center;gap:12px}
  .user-app h1{font-size:28px}
  .user-app .page-heading p{font-size:12px;max-width:none;line-height:1.8}
  .user-app .page-heading .button{font-size:12px;padding:9px 12px;margin:0;min-height:41px;white-space:nowrap}
  .user-app .summary-row{padding:12px 0 19px;margin-bottom:21px;gap:12px}
  .user-app .summary-main{font-size:12px;gap:6px}
  .user-app .summary-main>strong{font-size:23px}
  .user-app .summary-divider{margin:0 7px}
  .user-app .summary-caption{width:auto;font-size:12px;justify-content:start;gap:10px}
  .user-app .workspace-layout{display:flex;gap:16px}
  .user-app .section-toolbar{flex-wrap:wrap;align-items:center;gap:5px}
  .user-app .section-toolbar h2{font-size:16px}
  .user-app .selection-tools{gap:2px}
  .user-app .selection-tools .text-button{font-size:12px;padding:6px}
  .user-app .selection-hint{font-size:12px;margin-top:8px;margin-bottom:15px}
  .user-app .device-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .user-app .card-heading{padding:11px 9px;min-height:44px}
  .user-app .card-name{font-size:12px}
  .user-app .card-online{display:block;width:6px;height:6px}
  .user-app .card-select input{width:15px;height:15px}
  .user-app .thumbnail{height:217px}
  .user-app .card-meta{padding:10px 9px}
  .user-app .card-badges{gap:4px;margin-bottom:9px}
  .user-app .badge,.user-app .permission-line{font-size:12px}
  .user-app .card-model{font-size:11px}
  .user-app .inspector{padding:20px;width:100%}
  .user-app .history-panel{padding:19px 16px}
  .user-app .history-time,.user-app .history-kind{font-size:11px}
  .user-app .empty-state,.user-app .workspace-layout.is-empty .empty-state{padding:20px 21px 0;gap:0;margin-top:8px;min-height:0}
  .user-app .empty-visual{max-width:173px}
  .user-app .empty-kicker{font-size:11px;margin-bottom:10px}
  .user-app .empty-state h3{font-size:24px;line-height:1.6;margin-bottom:13px}
  .user-app .empty-copy>p{font-size:12px;line-height:1.9}
  .user-app .empty-copy>.empty-account{font-size:11px}
  .user-app .empty-actions{margin-top:20px;gap:9px}
  .user-app .empty-actions .button{width:100%;font-size:12px;min-height:43px}
  .user-app .connection-steps{gap:17px;padding:23px 0;margin:0}
  .user-app .connection-steps li>div{display:block}
  .user-app .connection-steps strong{font-size:12px}
  .user-app .connection-steps small{font-size:11px;margin-top:2px}
  .user-app .auth-panel{padding:35px 24px;margin:7vh auto}
  .user-app .auth-panel h1{font-size:23px}
  .user-app .page-footer{font-size:11px;gap:5px;align-items:start}
}
@media(prefers-reduced-motion:reduce){
  .user-app *,.user-app *::before,.user-app *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}

/* Android installation: same-origin QR, native focus-trapped dialog. */
.user-app .app-header nav .nav-install{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:10px 13px;border:0;border-radius:8px;background:none;color:#bdc1d3;font-size:13px;text-align:left}
.user-app .app-header nav .nav-install:hover{background:#2a2f45;color:#fff}
.heading-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.install-dialog{width:min(540px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:26px;border:1px solid #dfe1eb;border-radius:18px;color:#252a3b;background:#fff;box-shadow:0 24px 90px #10162944;overflow:auto}
.install-dialog::backdrop{background:#151a32a6}
.install-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:5px}
.install-dialog h2{font-size:23px;line-height:1.45;margin-bottom:10px}
.install-dialog #install-description{color:#5e6475;font-size:14px;line-height:1.8}
.qr-display{display:grid;place-items:center;min-height:245px;background:#f6f5fa;border:1px solid #eceaf5;border-radius:12px;padding:12px;margin-top:20px}
.qr-display canvas{display:block;width:min(100%,280px);height:auto;aspect-ratio:1;image-rendering:pixelated;background:#fff;border-radius:0}
.qr-display p{font-size:14px;color:#5e6475;text-align:center}
.install-status{font-size:13px;line-height:1.7;margin-top:12px;overflow-wrap:anywhere}
.install-countdown{font-variant-numeric:tabular-nums;font-size:14px;font-weight:650;color:#5644aa;margin:5px 0 14px}
.install-actions{display:flex;gap:10px;flex-wrap:wrap}
.install-actions .button{flex:1;white-space:nowrap;min-height:44px}
.install-steps{padding-left:22px;font-size:13px;line-height:1.9;margin:20px 0 14px}
.install-note{font-size:12px;line-height:1.8;color:#646a7b;margin-top:8px}
.install-footer{display:flex;align-items:center;flex-wrap:wrap;gap:6px;border-top:1px solid #e7e7ef;margin-top:18px;padding-top:10px}
.install-footer .text-button{font-size:12px}
.install-app{background:#f4f3fa;color:#252a3b;--accent:#6956c6;--accent-dark:#5443a7}
.install-app main{max-width:580px;padding:36px 22px 40px}
.install-app .install-card{margin-top:24px;padding:28px;background:#fff;border:1px solid #e2deee;border-radius:18px;box-shadow:0 8px 28px #33285b08}
.install-app h1{font-size:27px;line-height:1.5;margin:12px 0}
.install-app h2{font-size:17px;margin-top:26px;margin-bottom:10px}
.install-app .brand{font-size:16px;line-height:1.6}
.install-app .install-lead{font-size:15px;color:#646779;line-height:1.9}
.install-app .button{font-size:14px;min-height:48px;margin:12px 0}
.install-app #install-message{margin-top:14px;font-size:14px;line-height:1.8;overflow-wrap:anywhere}
.install-app .download-next{border-top:1px solid #ebe9f2;margin-top:22px;padding-top:3px}
.install-app ol{padding-left:21px;font-size:14px;line-height:1.9}
@media(max-width:700px){.heading-actions{width:100%;justify-content:flex-start}.install-dialog{padding:20px}.install-dialog h2{font-size:21px}.install-app main{padding:22px 16px}.install-app .install-card{padding:23px 20px}.install-app h1{font-size:25px}}
