/* Shared NodeMobi visual tokens. Status colours remain semantic. */
:root{--brand:#7928ff;--brand-hover:#6420d7;--brand-soft:#f3edff;--brand-border:#d9c7ff;--brand-ink:#5420b2;--ui-radius:6px;--ui-panel-radius:10px;--ui-focus:0 0 0 3px #7928ff20}
@font-face{font-family:NodeMobi Sans;src:url('/developer/assets/refined-fonts/Geist-400.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:NodeMobi Sans;src:url('/developer/assets/refined-fonts/Geist-500.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:NodeMobi Sans;src:url('/developer/assets/refined-fonts/Geist-600.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:NodeMobi Sans;src:url('/developer/assets/refined-fonts/Geist-700.woff2') format('woff2');font-weight:700;font-display:swap}
:root{color-scheme:light;--bg:#fff;--sidebar:#f8f8f7;--soft:#f7f7f6;--ink:#182238;--muted:#64718a;--line:#e3e7ef;--control:#d5dce8;--primary:var(--brand);--green:#52644b;--green-bg:#edf2e9;--warn:#826b39;--warn-bg:#f6f1e5;--danger:#a45055;--danger-bg:#f9eeee;font:400 13px/1.6 'NodeMobi Sans','Microsoft YaHei','PingFang SC','Segoe UI',sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}[hidden]{display:none!important}button,input,select,textarea{font:inherit;color:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-underline-offset:3px}button:disabled{cursor:not-allowed;opacity:.5}a,button{ -webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--brand);outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:24px;line-height:1.3;font-weight:600;letter-spacing:-.6px}h2{font-size:15px;font-weight:600}h3{font-size:14px}small,.small{font-size:12px}.muted{color:var(--muted)}.mono{font-variant-numeric:tabular-nums}.initial-state{display:grid;place-items:center;min-height:70vh}.skip-link{position:fixed;left:16px;top:-80px;z-index:40;padding:12px;background:#fff;border:1px solid var(--line)}.skip-link:focus{top:12px}.icon{width:16px;height:16px;flex:none;vertical-align:middle;opacity:.78}.brand{display:flex;align-items:center;width:max-content;max-width:100%}.brand img{display:block;width:148px;height:auto;max-height:32px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:7px 13px;border:1px solid var(--control);border-radius:6px;background:#fff;text-decoration:none;font-weight:500;line-height:1.5;white-space:nowrap}.btn:hover{background:var(--soft)}.btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn.primary:hover{background:var(--brand-hover)}.btn.primary .icon{filter:invert(1);opacity:1}.btn.danger{color:var(--danger)}.text-btn{background:none;border:0;padding:6px 0;text-decoration:underline;text-underline-offset:3px;font-weight:500}.icon-btn{width:36px;padding:7px}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.field{display:grid;gap:8px;margin-bottom:20px}.field label{font-weight:500}.field input,.field select,.field textarea,.control{width:100%;height:40px;background:#fff;border:1px solid var(--control);border-radius:6px;padding:8px 12px}.field textarea{height:86px;resize:vertical}.field input[readonly]{background:var(--soft)}.banner{border:1px solid var(--line);border-radius:6px;padding:12px 16px;line-height:1.65;margin:16px 0;background:var(--soft);overflow-wrap:anywhere}.tone-warning{background:var(--warn-bg);color:var(--warn);border-color:#e6dcc6}.tone-error{background:var(--danger-bg);color:var(--danger);border-color:#edd3d6}.tone-success{background:var(--green-bg);color:var(--green);border-color:#d7e1d1}.surface{border:1px solid var(--line);border-radius:8px;background:#fff;padding:24px}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:32px}.page-head p{color:var(--muted);margin-top:8px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.stack{display:grid;gap:24px}
.shell{display:grid;grid-template-columns:216px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--sidebar);border-right:1px solid var(--line);padding:27px 16px 20px;display:flex;flex-direction:column}.sidebar .brand{margin:0 12px 36px}.nav-label{font-size:10px;letter-spacing:1px;color:var(--muted);padding:0 12px;margin-bottom:12px;font-weight:600}.nav-list{display:grid;gap:4px}.nav-item{display:flex;align-items:center;gap:10px;text-decoration:none;padding:10px 12px;min-height:42px;border:0;border-radius:5px;background:transparent;text-align:left;line-height:1.45}.nav-item:hover{background:#f0f0ef}.nav-item[aria-current=page]{background:#eaeae9;font-weight:600}.nav-item .external{margin-left:auto;width:13px}.nav-bottom{margin-top:auto;padding-top:24px}.workspace-label{border-top:1px solid var(--line);padding:18px 12px 0;margin-top:20px;color:var(--muted);font-size:11px}.workspace{min-width:0}.topbar{height:58px;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:center;justify-content:space-between;padding:0 32px}.breadcrumb{color:var(--muted);display:flex;align-items:center;gap:12px;font-size:12px}.breadcrumb strong{font-weight:500;color:var(--ink)}.topbar-right{display:flex;align-items:center;gap:16px}.lang{border:1px solid var(--control);border-radius:6px;background:transparent;padding:7px 28px 7px 10px;max-width:140px;min-height:36px}.avatar{width:30px;height:30px;border-radius:50%;border:1px solid var(--line);background:var(--soft);display:grid;place-items:center;text-decoration:none;font-size:11px;font-weight:600}.mobile-menu,.mobile-brand{display:none}.content{padding:28px 32px 40px;max-width:1680px;margin:auto}.early-access{display:flex;gap:8px;align-items:baseline;color:var(--muted);font-size:11px;margin-bottom:26px}.early-access strong{color:var(--ink);font-weight:500;border:1px solid var(--line);border-radius:4px;padding:1px 6px}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:20px 0 16px}.search{position:relative;flex:1;max-width:340px;min-width:200px}.search .icon{position:absolute;left:12px;top:12px}.search input{padding-left:36px;background:#fafaf9}.toolbar select{width:auto;max-width:210px}.toolbar .refresh{margin-left:auto}.stats-line{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:12px}.stats-line strong{color:var(--ink);font-weight:500}.expiry-warning{color:var(--danger)}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:8px}.device-table{border-collapse:collapse;width:100%;text-align:left;min-width:880px}.device-table th{background:var(--sidebar);font-size:11px;color:var(--muted);font-weight:500;height:42px;padding:12px 16px;border-bottom:1px solid var(--line)}.device-table td{padding:21px 16px;vertical-align:middle;border-bottom:1px solid #efefee;color:#515150}.device-table tbody tr:last-child td{border-bottom:0}.device-table tbody tr:hover{background:#fdfdfc}.device-name{display:flex;gap:12px;align-items:center;max-width:290px}.device-mark{display:grid;place-items:center;width:34px;height:44px;border:1px solid var(--line);border-radius:5px;background:var(--soft);flex:none}.device-name strong{font-weight:500;color:var(--ink);display:block;overflow-wrap:anywhere}.device-name small{display:block;color:var(--muted);margin-top:3px;font-size:11px}.badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:500;padding:3px 7px;border-radius:4px;background:var(--soft);color:var(--muted);white-space:nowrap}.badge::before{content:'•';font-size:14px;line-height:1}.badge.live{color:var(--green);background:var(--green-bg)}.badge.warn{color:var(--warn);background:var(--warn-bg)}.badge.warn::before{content:'△';font-size:11px}.badge.error{color:var(--danger);background:var(--danger-bg)}.badge.error::before{content:'◇';font-size:11px}.cell-meta{font-size:11px;color:var(--muted);margin-top:4px}.device-table .actions{flex-wrap:nowrap}.device-table .btn{min-height:32px;font-size:12px;padding:6px 11px}.device-table .text-btn{font-size:12px;text-decoration:none;padding:6px 4px}.table-foot{display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:11px;padding:14px 0 24px}.note-row{display:flex;align-items:flex-start;gap:10px;border-top:1px solid var(--line);padding-top:20px;color:var(--muted);font-size:12px}.note-row .icon{margin-top:2px}.note-row a{margin-left:auto;white-space:nowrap}.empty{padding:64px 24px;text-align:center}.empty .icon{width:24px;height:24px;margin-bottom:16px}.empty h2{margin-bottom:8px}.empty p{color:var(--muted);max-width:490px;margin:0 auto 20px}.error-state{border:1px solid #edd3d6;border-radius:8px;padding:32px}.error-state p{color:var(--muted);margin:8px 0 20px}.loading{padding:64px 24px;color:var(--muted);text-align:center}.billing-overview{display:grid;grid-template-columns:1fr 2fr;gap:32px;align-items:start;border-bottom:1px solid var(--line);padding:8px 0 28px;margin-bottom:28px}.balance-value{font-size:32px;line-height:1.3;letter-spacing:-.7px;margin:8px 0}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:1000px}.account-grid .surface{display:flex;flex-direction:column;gap:18px}.account-grid .btn{align-self:flex-start}.label-value{display:grid;gap:5px}.label-value p{overflow-wrap:anywhere}.simple-table{width:100%;border-collapse:collapse;min-width:600px;text-align:left}.simple-table th{font-size:11px;background:var(--sidebar);font-weight:500;color:var(--muted)}.simple-table td,.simple-table th{padding:13px 16px;border-bottom:1px solid var(--line)}.simple-table tr:last-child td{border-bottom:0}
.auth-page{min-height:100vh;background:#fdfdfc}.auth-header{display:flex;align-items:center;justify-content:space-between;min-height:116px;padding:36px 40px}.auth-header .brand img{width:160px}.auth-header .lang{width:140px;min-height:44px;font-size:16px}.auth-main{padding:69px 24px 60px}.auth-column{width:474px;max-width:100%;margin:auto}.auth-main h1{font-size:38px;font-weight:700;line-height:1.3;text-align:center;letter-spacing:-.8px}.auth-subtitle{font-size:18px;color:var(--muted);text-align:center;line-height:1.55;margin-top:12px;margin-bottom:56px}.auth-main .field{gap:10px;margin-bottom:32px}.auth-main .field label,.auth-main .field-top{font-size:18px;font-weight:600}.auth-main .field input{height:64px;font-size:20px;padding:16px 20px}.auth-main .field .password input{padding-right:62px}.field-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.field-top a{font-size:14px;font-weight:400}.password{position:relative}.password-toggle{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:44px;height:44px;background:none;border:0;display:grid;place-items:center;padding:10px}.password-toggle img{width:24px;height:24px;opacity:.75}.auth-main .btn.full{width:100%;height:56px;font-size:18px;font-weight:600}.session-note{font-size:13px;text-align:center;color:var(--muted);line-height:1.7;margin-top:20px}.divider{display:flex;align-items:center;gap:16px;color:var(--muted);margin:28px 0}.divider::before,.divider::after{content:'';height:1px;background:var(--line);flex:1}.google-icon{width:22px;height:22px}.auth-foot{font-size:16px;text-align:center;margin:36px 0 0;color:var(--muted)}.auth-foot a{color:var(--ink);font-weight:600}.auth-support{display:flex;gap:24px;justify-content:center;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-top:36px}.agreement{font-size:14px;margin:-6px 0 24px;color:var(--muted)}.agreement input{margin:0 8px 0 0;width:18px;height:18px;vertical-align:middle}.policy-links{display:flex;flex-wrap:wrap;gap:8px 16px;margin:8px 0 0 27px}.policy-links button{border:0;background:none;text-decoration:underline;padding:0;color:inherit}.email-value{font-size:20px;font-weight:600;text-align:center;margin:28px 0;overflow-wrap:anywhere}.auth-email-actions{display:grid;gap:16px}.auth-short .auth-subtitle{margin-bottom:40px}.auth-short{padding-top:110px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--primary);color:white;padding:12px 20px;border-radius:6px;max-width:min(580px,calc(100vw - 32px));z-index:100;box-shadow:0 3px 14px #0001}.toast a{color:white}dialog{width:min(520px,calc(100vw - 32px));padding:28px;border:1px solid var(--line);border-radius:9px;color:var(--ink);max-height:calc(100vh - 40px);overflow:auto;box-shadow:0 16px 48px #0002}dialog::backdrop{background:#18181755}dialog h2{font-size:18px;margin:0 0 12px}dialog p{color:var(--muted);margin-bottom:20px}dialog .actions{justify-content:flex-end;margin-top:24px}.dialog-close{position:absolute;right:14px;top:12px;border:0;background:none;font-size:24px;color:var(--muted)}.dialog-note{font-size:12px;color:var(--muted);margin-top:16px}
.phone-read-status{min-height:22px;margin:-4px 0 10px;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.phone-read-status[data-state=stale]{color:var(--warn)}
.phone-stale{padding:10px 12px;margin:0 0 14px;border-left:2px solid var(--warn);background:var(--warn-bg);color:var(--warn);font-size:12px;line-height:1.7}
/* Device module: one screen, contextual connection and proxy controls. */
.device-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.device-section-head>.muted{font-size:12px;overflow-wrap:anywhere}.device-remote .device-stage{display:flex;justify-content:center;align-items:center;width:fit-content;max-width:100%;margin-inline:auto;padding:8px;min-height:0}.device-stage .device-screen{width:min(100%,405px);aspect-ratio:9/20;min-height:0;max-height:none;flex:none;border:0;border-radius:4px;background:#f0f0ef}.device-overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;text-align:center;padding:24px;background:var(--soft)}.device-overlay strong{font-size:16px;font-weight:500}.device-overlay p{color:var(--muted);max-width:280px}.device-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:16px 0}.device-control-toggle{display:flex;gap:8px;align-items:center}.device-control-toggle input{width:16px;height:16px;margin:0;flex:none}.device-proxy-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;border:0;padding:0;margin:24px 0 16px;min-width:0}.device-proxy-fields legend{font-weight:600;margin-bottom:16px}.device-field-wide{grid-column:1/-1}.device-network dl{display:grid;grid-template-columns:90px minmax(0,1fr);gap:8px;margin:16px 0}.device-network dt{color:var(--muted)}.device-network dd{margin:0;overflow-wrap:anywhere}.device-remote>p,.device-proxy form>p{font-size:12px;line-height:1.7}.device-confirm p{margin:0}.device-proxy-fields .field{min-width:0}.device-proxy-fields label>span{font-weight:500}.device-proxy-fields .device-control-toggle{align-items:flex-start;font-size:12px}.device-proxy-fields .device-control-toggle input{margin-top:3px}
.device-layout,.device-workspace{display:grid;grid-template-columns:minmax(320px,1.25fr) minmax(300px,1fr);gap:24px;align-items:start}.device-screen,.device-stage,.device-player{min-height:500px;background:#f7f7f6;border:1px solid var(--line);border-radius:8px;position:relative;overflow:hidden}.device-screen video,.device-player video{max-width:100%;height:100%;object-fit:contain}.device-screen-placeholder,.device-placeholder{height:500px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;text-align:center;color:var(--muted)}.device-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.device-section{margin-top:24px}.device-proxy-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.device-status{margin:12px 0}.device-meta{display:grid;gap:8px;font-size:12px;overflow-wrap:anywhere}.device-tabs{display:flex;gap:12px;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:20px}.device-description{margin:12px 0;color:var(--muted)}.device-details{display:grid;grid-template-columns:120px minmax(0,1fr);gap:8px}.device-details dd{margin:0;overflow-wrap:anywhere}.device-details dt{color:var(--muted)}
@media(max-width:1200px){.content{padding:24px}.topbar{padding:0 24px}.device-layout,.device-workspace{grid-template-columns:1fr 340px}}
@media(max-width:1000px){.device-layout,.device-workspace{grid-template-columns:1fr}.account-grid{grid-template-columns:1fr}.device-screen,.device-stage,.device-player{min-height:440px}}
@media(max-width:700px){.shell{display:block}.sidebar{display:none}.sidebar.mobile-open{display:flex;position:fixed;top:58px;bottom:0;left:0;width:250px;height:calc(100dvh - 58px);z-index:20;box-shadow:16px 0 40px #0002}.sidebar.mobile-open .brand{display:none}.mobile-menu,.mobile-brand{display:flex}.mobile-brand img{width:110px}.topbar{padding:0 16px;gap:10px}.topbar-left{display:flex;align-items:center;gap:10px}.breadcrumb{display:none}.topbar-right{gap:10px}.topbar .lang{max-width:112px;font-size:12px}.content{padding:24px 17px}.early-access{margin-bottom:22px;font-size:11px;flex-wrap:wrap}.page-head{flex-wrap:wrap;margin-bottom:24px}.page-head h1{font-size:24px}.page-head>.actions{width:100%}.toolbar{gap:8px}.search{max-width:none;flex-basis:100%}.toolbar select{flex:1;max-width:none;min-width:0}.toolbar .refresh{margin-left:0}.note-row{flex-wrap:wrap}.note-row a{margin-left:26px}.table-foot{flex-direction:column;gap:4px}.billing-overview{grid-template-columns:1fr;gap:24px}.surface{padding:20px}.account-grid{gap:16px}.device-proxy-grid{grid-template-columns:1fr}.empty{padding:44px 20px}.stats-line{flex-wrap:wrap}.device-details{grid-template-columns:100px 1fr}}
@media(max-width:600px){.auth-header{min-height:92px;padding:24px;gap:16px}.auth-header .brand img{width:132px}.auth-header .lang{width:116px;font-size:13px}.auth-main{padding:48px 24px}.auth-main h1{font-size:32px}.auth-subtitle{font-size:16px;margin-bottom:40px}.auth-main .field{margin-bottom:28px}.auth-main .field label,.auth-main .field-top{font-size:15px}.auth-main .field input{height:56px;font-size:16px}.auth-main .btn.full{font-size:16px}.auth-foot{font-size:14px}.session-note{font-size:13px}.auth-short{padding-top:64px}.field-top a{font-size:13px}}
@media(max-height:800px) and (min-width:601px){.auth-header{min-height:92px;padding-top:24px;padding-bottom:24px}.auth-main{padding-top:32px}.auth-subtitle{margin-bottom:40px}.auth-short{padding-top:64px}}
/* Player tools stay outside the video coordinate space. Width budgets are read
   by sizePlayer from this independent row, never from the fit-content stage. */
.device-viewer{container:device-viewer / inline-size;position:relative;width:100%;min-width:0}
.device-player-row{--player-toolbar-space:56px;--player-toolbar-height:0px;display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-width:0;min-height:0}
.device-player-row>.device-stage{margin-inline:0;flex:none}
.device-toolrail{display:flex;flex-direction:column;align-items:center;gap:4px;flex:0 0 44px;width:44px;position:relative;z-index:2}
.device-toolrail [data-device=input-tools],.device-toolrail [data-device=media-tools]{display:flex;flex-direction:column;gap:4px;padding-bottom:8px;margin-bottom:4px;border-bottom:1px solid var(--line)}
.device-tool-button{display:inline-flex;align-items:center;justify-content:center;position:relative;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;padding:11px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--muted);line-height:1;transition:background-color .12s,color .12s,border-color .12s}
.device-tool-button svg{display:block;width:20px;height:20px;flex:none}
.device-fullscreen-enter{display:inline-flex}.device-fullscreen-exit{display:none}
.device-tool-button[data-fullscreen=true] .device-fullscreen-enter{display:none}
.device-tool-button[data-fullscreen=true] .device-fullscreen-exit{display:inline-flex}
.device-tool-button:hover:not(:disabled){background:var(--soft);border-color:var(--line);color:var(--ink)}
.device-tool-button[aria-pressed=true],.device-tool-button[aria-expanded=true]{background:#eaeae9;border-color:var(--control);color:var(--ink)}
.device-tool-button[data-device=connect]{background:var(--primary);border-color:var(--primary);color:#fff}
.device-tool-button[data-device=connect]:hover:not(:disabled){background:var(--brand-hover);color:#fff;border-color:var(--brand-hover)}
.device-tool-button[data-device=disconnect]:hover:not(:disabled){background:var(--danger-bg);border-color:#edd3d6;color:var(--danger)}
.device-tool-button:disabled{opacity:.4}
.device-tool-label{position:absolute;z-index:4;right:calc(100% + 8px);top:50%;transform:translateY(-50%);width:max-content;max-width:220px;padding:6px 9px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--ink);box-shadow:0 2px 8px #0000000a;font-size:12px;line-height:1.5;white-space:nowrap;pointer-events:none;visibility:hidden;opacity:0}
.device-tool-button:hover:not(:disabled)>.device-tool-label,.device-tool-button:focus-visible>.device-tool-label{visibility:visible;opacity:1}
.device-tool-status{min-height:48px;padding:12px 0 0;text-align:center;color:var(--muted);font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.device-tool-status>span{display:block}
/* 串流质量读数：等宽数字，数字跳动时不会左右晃；过长时自己横向滚动，不撑出页面横向滚动条。 */
.device-quality{margin:8px 0 0;font-size:12px;line-height:1.6;color:var(--muted);font-variant-numeric:tabular-nums;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}
.device-viewer .device-text-form{position:absolute;z-index:5;left:50%;top:50%;transform:translate(-50%,-50%);width:min(360px,calc(100% - 24px));max-height:min(420px,calc(100% - 32px),calc(100dvh - 48px));overflow:auto;border:1px solid var(--control);border-radius:8px;background:#fff;padding:16px;margin:0;box-shadow:0 8px 24px #00000012}
.device-text-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.device-text-head strong,.device-text-head h3{font-size:13px;font-weight:600}
.device-text-head .device-tool-button{margin:-10px -10px -10px 0}
.device-text-form .field{margin-bottom:12px}.device-text-form>p,.device-text-form [role=status]{font-size:12px}.device-text-form textarea:disabled{background:var(--soft)}
.device-viewer:fullscreen{display:flex;flex-direction:column;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:24px;background:#fafaf9;overflow:auto}
.device-viewer:fullscreen::backdrop{background:#fafaf9}
.device-viewer:fullscreen .device-player-row{flex:1;min-height:0}
.device-viewer:fullscreen .device-tool-status{flex:none}
/* The side rail stays the default; the row layout is only for narrow (phone-width) viewers and may wrap. */
@container device-viewer (max-width:400px){
  .device-player-row{--player-toolbar-space:0px;--player-toolbar-height:56px;flex-direction:column}
  .device-toolrail{flex:none;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:0;width:max-content;max-width:100%;height:auto;min-height:44px}
  .device-toolrail [data-device=input-tools],.device-toolrail [data-device=media-tools]{flex-direction:row;gap:0;padding:0;margin:0;border:0}
  .device-tool-label{top:auto;bottom:calc(100% + 8px);right:0;transform:none;max-width:min(220px,calc(100cqw - 24px))}
  .device-toolrail [data-device=input-tools]>.device-tool-button:first-child>.device-tool-label,.device-toolrail [data-device=media-tools]>.device-tool-button:first-child>.device-tool-label{left:0;right:auto}
}
@container device-viewer (max-width:263px){
  .device-toolrail{justify-content:flex-start;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
  .device-toolrail::-webkit-scrollbar{display:none}
  .device-tool-label{display:none}
}
/* Connection feedback is local UI, never a generated thumbnail or fake progress. */
/* Keep the menu, wordmark, language and account reachable even with a scrollbar. */
@media(max-width:380px){.topbar{padding-inline:12px;gap:6px}.topbar-left,.topbar-right{gap:6px}.mobile-brand img{width:96px}.topbar .lang{width:96px;max-width:96px;padding-right:20px}}
.device-overlay{overflow:auto;justify-content:safe center;gap:12px;padding:24px 20px}
.device-overlay>*{flex-shrink:0}
.device-overlay strong{font-size:18px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}
.device-overlay p{font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.device-overlay>.btn{min-height:44px;max-width:100%;white-space:normal;margin-top:8px}
.device-overlay-help{max-width:260px;font-size:11px;line-height:1.6;color:var(--muted)}
.device-connection-progress{width:24px;height:24px;flex:none;margin-bottom:8px;border:2px solid var(--control);border-top-color:var(--ink);border-radius:50%;animation:device-connecting .9s linear infinite}
.device-overlay[data-state=failed] strong{color:var(--warn)}
@keyframes device-connecting{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.device-connection-progress{animation:none}}
/* Trial requests: one quiet form, a compact progress strip, no invented metrics. */
.trial-layout{max-width:760px;margin:8px 0 40px}
.trial-steps{list-style:none;padding:0;margin:0 0 24px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.trial-steps li{display:flex;align-items:center;gap:10px;color:var(--muted,#737370);font-size:13px;border-top:2px solid #e4e4e1;padding-top:14px}
.trial-steps li.is-done{color:#292928;border-top-color:#777e72}
.trial-step-number{display:grid;place-items:center;flex:none;width:24px;height:24px;border:1px solid #d7d7d3;border-radius:50%;font-size:12px}
.trial-steps li[aria-current=step] .trial-step-number{background:#292928;color:#fff;border-color:#292928}
.trial-panel{border:1px solid #e4e4e1;background:#fff;border-radius:8px;padding:28px}
.trial-panel h2{font-size:16px;margin:0 0 12px}.trial-panel p{line-height:1.65}
.trial-form{max-width:440px}.trial-form .label-value{margin:24px 0}.trial-form .label-value p{overflow-wrap:anywhere}
.trial-form .field{margin:0 0 20px}.trial-form select{width:100%;min-height:44px}
.trial-panel .actions{margin-top:24px;flex-wrap:wrap}.trial-panel .btn{min-height:40px}
.trial-facts{margin:24px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.trial-facts dt{font-size:12px;color:#676763;margin-bottom:8px}.trial-facts dd{margin:0;font-size:13px;overflow-wrap:anywhere}
.trial-outcome{max-width:580px}.trial-panel .dialog-note{margin-top:20px}
@media(max-width:700px){.trial-panel{padding:20px 16px}.trial-steps{gap:10px}.trial-steps li{font-size:12px;gap:6px;align-items:flex-start}.trial-facts{grid-template-columns:1fr;gap:16px}.trial-panel .btn{min-height:44px}}
.skeleton-line{display:block;height:11px;border-radius:4px;background:linear-gradient(90deg,#ececeb 25%,#f6f6f5 50%,#ececeb 75%);background-size:200% 100%;animation:skeleton-shimmer 1.4s ease-in-out infinite;max-width:100%}.skeleton-line+.skeleton-line{margin-top:7px}.skeleton-line.short{width:72px}.skeleton-block{border-color:transparent;background:#ececeb;animation:skeleton-pulse 1.4s ease-in-out infinite}.skeleton-stats{margin-top:20px;min-height:18px}.control-skeleton{height:38px;border-radius:6px}.loading.skeleton{padding:0;text-align:left}.loading.skeleton .device-table td{padding:21px 16px}.skeleton-copy{color:var(--muted);font-size:12px;text-align:center;padding:16px 0 24px;margin:0}@keyframes skeleton-shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}@keyframes skeleton-pulse{0%,100%{opacity:1}50%{opacity:.55}}@media (prefers-reduced-motion:reduce){.skeleton-line,.skeleton-block{animation:none}}
.device-sound-on{display:inline-flex}.device-sound-off{display:none}.device-tool-button[data-sound=off] .device-sound-on{display:none}.device-tool-button[data-sound=off] .device-sound-off{display:inline-flex}.device-quality-form select{width:100%}
/* My cloud phones: left list + card grid (or table) + bulk bar. Design: docs/02-产品设计/claude-design/我的云手机 */
.phone-toolbar{gap:8px}.phone-toolbar .search{max-width:300px}.phone-toolbar select{max-width:160px}
.phone-tabs{display:flex;gap:2px;padding:3px;border-radius:8px;background:var(--soft);border:1px solid var(--line)}
.phone-tab{height:32px;padding:0 10px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:12px;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.phone-tab span{font-size:11px;opacity:.7}.phone-tab.is-on{background:#fff;color:var(--ink);font-weight:600;box-shadow:0 1px 2px #00000014}
.phone-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px;align-items:start}
.phone-list{position:sticky;top:12px;border:1px solid var(--line);border-radius:12px;background:#fff;display:flex;flex-direction:column;overflow:hidden}
.phone-list-rows{display:flex;flex-direction:column;padding:6px;max-height:640px;overflow:auto}
.phone-list-row{display:grid;grid-template-columns:18px minmax(0,1fr) auto;column-gap:10px;align-items:center;padding:9px 8px;border-radius:8px;border-left:2px solid transparent;cursor:pointer}
.phone-list-row:hover{background:var(--soft)}.phone-list-row.is-active{background:#f0eef9;border-left-color:var(--brand-hover)}.phone-list-row.is-dim strong{color:var(--muted)}
.phone-list-row input{width:16px;height:16px;margin:0}
.phone-list-main{min-width:0;display:flex;flex-direction:column;gap:2px}.phone-list-main strong{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;gap:6px}
.phone-list-main small{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.phone-plan{font-style:normal;font-size:10px;font-weight:700;padding:1px 5px;border-radius:4px;background:var(--soft);color:var(--muted);flex:none}
.phone-list-hint{font-size:11px;color:var(--muted);white-space:nowrap}.phone-list-hint.expiry-warning{font-weight:600}
.phone-list-foot{display:flex;justify-content:space-between;padding:10px 14px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
.phone-main{display:flex;flex-direction:column;gap:14px;min-width:0}
.phone-bulk-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff}
.phone-bulk-left,.phone-bulk-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.phone-select-all{display:inline-flex;align-items:center;gap:8px;height:32px;padding:0 10px;border:1px solid var(--control);border-radius:7px;font-size:13px;cursor:pointer}.phone-select-all input{width:16px;height:16px;margin:0}
.phone-bulk-sep{width:1px;height:20px;background:var(--line)}
.phone-bulk{min-height:32px;padding:0 12px;font-size:13px}.phone-bulk .device-connection-progress{width:12px;height:12px;margin:0;border-width:2px}
.phone-sel-text{font-size:12px}.phone-soon{font-style:normal;font-size:10px;padding:1px 5px;border-radius:4px;border:1px solid var(--control);margin-left:6px}
.phone-view-toggle{display:flex;padding:2px;border:1px solid var(--control);border-radius:7px;background:var(--soft)}
.phone-view-toggle button{width:30px;height:26px;border:0;border-radius:5px;background:transparent;display:grid;place-items:center}.phone-view-toggle button[aria-pressed=true]{background:#fff;box-shadow:0 1px 2px #00000014}
.phone-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0}.phone-banner .text-btn{font-size:12px}
.phone-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px}
.phone-group-head{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted);margin-top:4px}.phone-group-head>span:first-child{font-weight:600}.phone-group-head::after{content:'';flex:1;height:1px;background:var(--line);order:1}.phone-group-head>span:last-child{order:2}
.phone-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 1px 2px #0000000a;transition:box-shadow .15s,border-color .15s;font-size:13px}
.phone-card:hover{box-shadow:0 8px 24px #0000001a}.phone-card.is-active,.phone-card.is-checked{border-color:var(--brand-hover)}.phone-card.is-active{box-shadow:0 0 0 3px #ede7fb,0 8px 24px #00000014}
.phone-thumb{position:relative;aspect-ratio:4/3;background:var(--soft);border-radius:11px 11px 0 0;overflow:hidden}
.phone-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.phone-card.is-dim .phone-thumb img,.phone-card.is-dim .phone-thumb-empty{filter:grayscale(1) opacity(.6)}
.phone-thumb-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#b0b0b8}.phone-thumb-empty strong{font-weight:800;font-size:18px;letter-spacing:-.02em}.phone-thumb-empty span{font-size:11px}
.phone-shot-age{position:absolute;left:8px;bottom:8px;padding:2px 7px;border-radius:5px;background:#0000008c;color:#fff;font-size:11px}
.phone-check{position:absolute;left:8px;top:8px;z-index:2;display:grid;place-items:center;width:22px;height:22px;border-radius:6px;background:#ffffffd9;box-shadow:0 1px 2px #00000026}.phone-check input{width:14px;height:14px;margin:0}
.phone-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px;text-align:center;color:#fff;font-weight:600;background:#14141899}.phone-overlay.is-error{background:#78141499;font-weight:400;font-size:12px}
.phone-overlay .device-connection-progress{border-color:#ffffff4d;border-top-color:#fff;margin:0}
.phone-expired-tag{position:absolute;right:8px;top:8px;padding:2px 8px;border-radius:5px;background:var(--soft);color:var(--muted);font-size:11px;font-weight:600;border:1px solid var(--line)}
.phone-open{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#00000040;opacity:0;transition:opacity .15s}.phone-card:hover .phone-open,.phone-card:focus-within .phone-open{opacity:1}.phone-open .btn{box-shadow:0 4px 14px #00000040}
.phone-card-body{padding:10px 12px 12px;display:flex;flex-direction:column;gap:5px;position:relative}
.phone-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.badge-mark{display:inline-grid;place-items:center;width:12px;height:12px;border-radius:50%;border:1.3px solid currentColor;font-size:9px;font-weight:800;font-style:normal;line-height:1}
.phone-more{width:26px;height:26px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-weight:700;letter-spacing:1px;line-height:1}.phone-more:hover,.phone-more[aria-expanded=true]{background:var(--soft);color:var(--ink)}
.phone-card-name{font-weight:600;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.phone-card.is-dim .phone-card-name{color:var(--muted)}
.phone-card-body small{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.phone-card-note{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:18px;font-size:12px}.phone-card-note a{white-space:nowrap;font-weight:600;color:var(--brand-hover);text-decoration:none}
.phone-card-actions{margin-top:4px}.phone-card-actions .btn{min-height:32px;font-size:12px;padding:6px 11px}
.phone-menu{position:absolute;right:10px;top:36px;z-index:20;min-width:168px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 30px #0000002e;padding:6px;display:flex;flex-direction:column;gap:1px}
.phone-menu .text-btn{text-decoration:none;text-align:left;padding:7px 10px;border-radius:6px;font-weight:400;font-size:13px}.phone-menu .text-btn:hover:not(:disabled){background:var(--soft)}.phone-menu .text-btn:first-child{font-weight:600}
.phone-confirm-list{margin:0 0 8px;padding-left:18px;line-height:1.8}
@media(max-width:960px){.phone-layout{grid-template-columns:1fr}.phone-list{position:static}.phone-list-rows{max-height:240px}}
@media(max-width:700px){.phone-grid{grid-template-columns:1fr}.phone-bulk-bar{position:sticky;bottom:0;z-index:5;box-shadow:0 -4px 16px #0000000f}.phone-bulk-right{width:100%;justify-content:space-between}.phone-tabs{overflow:auto;max-width:100%}.phone-toolbar .search{max-width:none;flex-basis:100%}.phone-menu{position:fixed;left:12px;right:12px;top:auto;bottom:12px;min-width:0}.phone-open{opacity:1;background:transparent;align-items:flex-end;justify-content:flex-end;padding:8px}}
/* APP market: official library as cards; team tab and install actions are explicit placeholders until their backends exist. */
.market-tabs{display:inline-flex;gap:2px;padding:3px;border-radius:8px;background:var(--soft);border:1px solid var(--line);margin-bottom:4px}
.market-tab{height:34px;padding:0 14px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:13px;display:inline-flex;align-items:center;gap:6px}
.market-tab span{font-size:11px;opacity:.7}.market-tab.is-on{background:#fff;color:var(--ink);font-weight:600;box-shadow:0 1px 2px #00000014}
.market-toolbar{gap:10px}.market-toolbar .search{max-width:340px}.market-toolbar select{max-width:180px}
.market-check{display:inline-flex;align-items:center;gap:8px;font-size:13px}.market-check input{width:16px;height:16px;margin:0}
.market-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
.market-card{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:12px;align-items:start;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff}
.market-icon{width:52px;height:52px;border-radius:12px;background:var(--soft);border:1px solid var(--line);display:grid;place-items:center;overflow:hidden;font-weight:700;color:var(--muted)}
.market-icon img{width:100%;height:100%;object-fit:cover;display:block}
.market-main{min-width:0;display:flex;flex-direction:column;gap:3px}.market-main strong{font-weight:600;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.market-main small{color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.market-cats{display:flex;flex-wrap:wrap;gap:4px;margin-top:2px}.market-cats span{font-size:10px;padding:1px 6px;border-radius:4px;background:var(--soft);color:var(--muted)}
.market-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.market-side .btn{min-height:30px;font-size:12px;padding:5px 10px}
@media(max-width:700px){.market-grid{grid-template-columns:1fr}.market-toolbar .search{max-width:none;flex-basis:100%}}

.device-script-output{margin:12px 0 0;padding:12px;border:1px solid var(--line);border-radius:6px;background:var(--soft);font:12px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow:auto}
.device-ops-app-actions{display:inline-flex;gap:12px;margin-left:12px}.device-ops-app-actions .text-btn.danger{color:var(--danger)}.device-input-grid{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.device-input-grid .field{margin-bottom:12px;width:110px}

/* Customer workspace refresh: neutral canvas, white navigation, compact operations. */
.shell{--bg:#f5f5f5;--sidebar:#fff;--soft:#f7f7f8;--ink:#20232a;--muted:#646974;--line:#e5e7eb;--control:#d9dce2;--primary:var(--brand);background:var(--bg)}
.shell .topbar{background:#fff}
.shell .nav-item[aria-current=page]{color:var(--brand-hover);background:var(--brand-soft)}
.shell .nav-item:hover{background:#f5f3fa}
.shell .btn.primary:hover{background:var(--brand-hover)}
.shell :is(button,a,input,select,textarea):focus-visible{outline-color:var(--brand)}
.shell .content{max-width:1920px;padding-top:22px}
.shell .page-head{margin-bottom:22px}
.shell .early-access{margin-bottom:20px}
.shell .search input{background:#fff}
.phone-layout{grid-template-columns:216px minmax(0,1fr);gap:16px}
.phone-list{border-radius:8px}
.phone-list-row{padding:12px 10px;grid-template-columns:16px minmax(0,1fr)}
.phone-list-main strong{display:block}
.phone-list-main .phone-plan{display:none}
.phone-list-hint{grid-column:2;text-align:left}
.phone-thumb{border-radius:7px 7px 0 0}
.phone-list-row.is-active{background:var(--brand-soft)}
.phone-bulk-bar{border-radius:8px;gap:8px;padding:10px 12px}
.phone-bulk-left,.phone-bulk-right{flex-wrap:wrap}
.phone-density-toggle{display:flex;border:1px solid var(--line);border-radius:6px;overflow:hidden}
.phone-density-toggle button{border:0;background:#fff;padding:6px 9px;min-height:32px;color:var(--muted)}
.phone-density-toggle button[aria-pressed=true]{background:var(--brand-soft);color:var(--brand-hover);font-weight:600}
.phone-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px}
.phone-layout[data-card-density=compact] .phone-grid{grid-template-columns:repeat(auto-fill,minmax(158px,1fr));gap:10px}
.phone-card{border-radius:8px;box-shadow:none;transition:border-color .15s}
.phone-card:hover{transform:none;box-shadow:none;border-color:#bfc3cb}
.phone-card.is-active{border-color:#b8a0f1;box-shadow:none}
.phone-card.is-checked{border-color:var(--brand);box-shadow:0 0 0 1px var(--brand)}
.phone-thumb{aspect-ratio:4/3;background:#f0f1f3;border-bottom:1px solid var(--line)}
.phone-thumb>img{object-fit:contain;background:#e9ebef}
.phone-thumb-empty{background:transparent;color:#818691}
.phone-thumb-empty strong{font-size:15px;font-weight:500;letter-spacing:-.3px}
.phone-card-body{padding:12px}
.phone-card-name{font-size:14px}
.phone-card-note{min-height:36px;align-items:flex-start}
.phone-card-actions{display:flex;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}
.phone-card-actions>.btn{width:100%;min-height:32px;padding:5px 10px}
.phone-layout[data-card-density=compact] .phone-card-body{padding:10px}
.phone-layout[data-card-density=compact] .phone-thumb{aspect-ratio:4/3}
.device-layout{grid-template-columns:minmax(340px,1fr) minmax(360px,440px);gap:20px}
.device-layout>.device-remote{min-width:0;padding:20px}
.device-inspector{min-width:0;border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden}
.device-inspector-head{display:grid;gap:3px;padding:16px 18px;border-bottom:1px solid var(--line)}
.device-inspector-head strong{font-size:12px;color:var(--muted);font-weight:500}
.device-inspector-head span{font-weight:600;overflow-wrap:anywhere}
.device-panel-tabs{display:flex;gap:4px;padding:0 12px;border-bottom:1px solid var(--line);overflow-x:auto}
.device-panel-tabs button{flex:1;white-space:nowrap;min-height:46px;padding:10px 6px;border:0;border-bottom:2px solid transparent;background:#fff;color:var(--muted);font-size:12px}
.device-panel-tabs button[aria-selected=true]{color:var(--brand-hover);border-bottom-color:var(--brand);font-weight:600}
.device-panel-tabs button:focus-visible{outline-offset:-4px}
.device-inspector>[data-device-panel]{border:0;border-radius:0;padding:20px 18px;min-width:0}
.device-inspector>[data-panel-active=false]{display:none}
.device-inspector .device-section-head{margin-bottom:12px;flex-wrap:wrap}
.device-inspector .device-proxy-fields{margin-top:20px}
.device-inspector .device-ops-status{padding:12px;background:var(--soft);border-radius:6px}
.device-inspector .device-ops-apps{max-height:360px;overflow:auto}
.device-inspector .device-script-output{max-height:420px;overflow:auto}
.device-inspector .field{margin-bottom:16px}
.market-grid{gap:16px}
.market-card{border-radius:8px;padding:20px;grid-template-columns:44px minmax(0,1fr);gap:14px}
.market-card>.market-side{grid-column:1/-1;border-top:1px solid var(--line);padding-top:12px;display:flex;justify-content:flex-end}
@media(max-width:1150px){.phone-layout{grid-template-columns:180px minmax(0,1fr)}.device-layout{grid-template-columns:minmax(300px,1fr) minmax(320px,380px);gap:16px}}
@media(max-width:1000px){.device-layout{grid-template-columns:minmax(0,1fr)}.device-inspector{width:100%}}
@media(max-width:960px){.phone-layout{grid-template-columns:minmax(0,1fr)}.phone-list{display:none}}
@media(max-width:700px){.shell .content{padding:20px 16px 40px}.phone-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.phone-layout[data-card-density=compact] .phone-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.phone-bulk-bar{position:static;box-shadow:none}.phone-bulk-right{gap:8px}.device-layout>.device-remote{padding:14px}.device-inspector>[data-device-panel]{padding:18px 14px}.market-card{padding:16px}}
@media(prefers-reduced-motion:reduce){.phone-card{transition:none}}

/* Approved authentication design, 2026-09-17. Scoped to anonymous pages. */
.auth-page{--primary:var(--brand);--ink:#171925;--muted:#697080;--line:#e5e7ed;--control:#d9dce5;background:#fff;color:var(--ink);min-height:100dvh;font-size:14px}
.auth-header{min-height:100px;padding:28px 48px;gap:24px;border:0}
.auth-header .brand img{width:168px;max-height:32px}
.auth-header .lang{width:auto;max-width:140px;min-height:40px;font-size:13px;border:0;background:#fff;padding:8px}
.auth-main,.auth-main.auth-short{padding:64px 24px 80px}
.auth-column{width:400px;max-width:100%}
.auth-main h1{text-align:left;font-size:32px;line-height:1.3;font-weight:700;letter-spacing:-.6px}
.auth-subtitle{text-align:left;font-size:14px;line-height:1.65;margin:10px 0 36px;color:var(--muted)}
.auth-methods{display:flex;gap:32px;border-bottom:1px solid var(--line);margin:0 0 28px}
.auth-methods a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 8px 12px;border-bottom:2px solid transparent;margin-bottom:-1px;text-decoration:none;color:var(--muted);font-weight:600;white-space:nowrap}
.auth-methods a[aria-current=page]{border-bottom-color:var(--primary);color:var(--primary)}
.auth-main .field{gap:8px;margin-bottom:24px}
.auth-main .field label,.auth-main .field-top{font-size:14px;font-weight:600}
.auth-main .field-top a{font-size:13px;font-weight:400;text-decoration:none;color:var(--primary)}
.auth-main .field input,.auth-main .field select{height:48px;font-size:14px;padding:12px 14px;border-radius:6px;min-width:0}
.auth-main .field input::placeholder{color:#89909f;opacity:1}
.auth-main .field .password input{padding-right:48px}
.auth-main .password-toggle{right:4px;width:40px;height:40px;padding:10px}
.auth-main .password-toggle img{width:20px;height:20px}
.auth-main .btn.full{height:48px;min-height:48px;font-size:15px;font-weight:600;border-radius:6px}
.auth-main .btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}
.auth-main .btn.primary:hover:not(:disabled){background:var(--brand-hover);border-color:var(--brand-hover)}
.auth-page :is(a,button,input,select):focus-visible{outline-color:var(--primary)}
.auth-phone{display:flex;border:1px solid var(--control);border-radius:6px;overflow:hidden}
.auth-main .auth-phone input{border:0;border-radius:0;flex:1;width:0}
.auth-main .auth-phone select{border:0;border-right:1px solid var(--line);border-radius:0;width:88px;flex:none;padding:10px 8px}
.auth-phone:focus-within{outline:2px solid var(--primary);outline-offset:2px}
.auth-main .auth-phone :focus-visible{outline:none}
.auth-code{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}
.auth-code .btn{min-height:48px;padding:10px 14px;font-size:13px;color:var(--primary);background:#f5efff;border-color:#dcc6ff;white-space:nowrap}
.auth-code .btn:hover:not(:disabled){background:#ede1ff}
.auth-hint{font-size:13px;line-height:1.6;color:var(--muted);font-weight:400}
.auth-request-note{margin:-12px 0 24px}
.auth-main .agreement{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.65;margin:0 0 24px;color:var(--muted)}
.auth-main .agreement input{width:16px;height:16px;flex:none;margin:3px 0 0;accent-color:var(--primary)}
.auth-main [data-policy]{border:0;background:none;color:var(--primary);padding:0;font:inherit;text-decoration:underline;text-underline-offset:3px}
.auth-main .session-note{font-size:12px;margin-top:20px;line-height:1.65}
.auth-auto-register{text-align:center;font-size:12px;margin-top:8px}
.auth-foot{font-size:14px;text-align:center;margin:28px 0 0;color:var(--muted)}
.auth-foot a{font-weight:500;color:var(--primary);text-decoration:none}
.auth-main .banner{font-size:13px;margin:0 0 20px;line-height:1.65}
@media(max-height:800px) and (min-width:601px){.auth-header{min-height:80px;padding-block:20px}.auth-main,.auth-main.auth-short{padding-top:36px}}
@media(max-width:600px){.auth-header{padding:20px 24px;min-height:80px;gap:16px}.auth-header .brand img{width:132px}.auth-header .lang{max-width:116px;font-size:12px}.auth-main,.auth-main.auth-short{padding:36px 24px 48px}.auth-main h1{font-size:28px}.auth-subtitle{margin-bottom:28px;font-size:14px}.auth-main .field input,.auth-main .field select{font-size:16px}.auth-methods{gap:24px;margin-bottom:24px}.auth-methods a{padding-inline:4px}.auth-code .btn{padding-inline:10px}.auth-foot{font-size:13px}}

.auth-page .auth-switch { margin: 16px 0 0; text-align: center; font-size: 14px; }
.auth-page .auth-switch a { color: var(--primary); }

/* Keep action feedback in the initial viewport, clear of the bottom controls. */
.toast{top:calc(76px + env(safe-area-inset-top,0px));bottom:auto;display:flex;align-items:flex-start;gap:14px;width:max-content;max-width:min(560px,calc(100vw - 32px));padding:18px 22px;background:#fff;color:#24163d;border:1px solid #b99af7;border-left:4px solid var(--brand);border-radius:12px;font-size:16px;font-weight:600;line-height:1.6;overflow-wrap:anywhere;box-shadow:0 12px 36px #32146226,0 3px 10px #32146212;z-index:1000}
.toast::before{content:'';flex:0 0 26px;height:26px;background:center/26px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Ccircle cx='13' cy='13' r='13' fill='%237828ff'/%3E%3Cpath d='M13 11v8' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='13' cy='7.5' r='1.3' fill='white'/%3E%3C/svg%3E")}
.toast a{color:var(--brand-hover)}
@media(max-width:600px){.toast{top:calc(72px + env(safe-area-inset-top,0px));max-width:calc(100vw - 24px);padding:14px 16px;gap:10px;font-size:14px;border-radius:10px}}

/* Device-list loading: local, non-blocking feedback matching the approved mockup. */
.phone-loading-table{position:relative;isolation:isolate;overflow:hidden;min-height:360px;background:#fff}
.loading.skeleton .phone-loading-table .device-table{width:100%;margin:0}
.loading.skeleton .phone-loading-table .device-table thead{height:44px;background:#fff}
.loading.skeleton .phone-loading-table .device-table tbody tr{height:104px}
.phone-loading-table .skeleton-line{background:linear-gradient(100deg,#eeedf5 20%,#e6dcff 45%,#f7f4ff 55%,#eeedf5 80%);background-size:240% 100%;animation-duration:1.8s}
.phone-loading-table .skeleton-block{background:#eeedf5}
.phone-loading-feedback{position:absolute;inset:44px 0 0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;pointer-events:none;background:radial-gradient(ellipse at center,rgba(255,255,255,.98) 0%,rgba(255,255,255,.92) 18%,rgba(255,255,255,.3) 52%,rgba(248,246,255,.12) 100%)}
.phone-loading-emblem{position:relative;display:grid;place-items:center;width:80px;height:80px;margin-bottom:20px;color:var(--brand);border-radius:50%;box-shadow:0 0 0 12px #7627ff05}
.phone-loading-ring{position:absolute;inset:0;border:3px solid #e9dfff;border-top-color:var(--brand);border-right-color:var(--brand);border-radius:50%;animation:phone-loading-turn 1.1s linear infinite}
.phone-loading-emblem svg{width:32px;height:32px}
.phone-loading-title{margin:0!important;color:#182033;font-size:20px;font-weight:600;line-height:30px}
.phone-loading-description{margin:8px 0 0!important;color:#66738a;font-size:14px;line-height:22px}
@keyframes phone-loading-turn{to{transform:rotate(360deg)}}
@media(max-width:600px){.phone-loading-table{min-height:340px}.phone-loading-emblem{width:64px;height:64px}.phone-loading-title{font-size:18px}.phone-loading-description{font-size:13px}.phone-loading-feedback{padding:16px}.loading.skeleton .phone-loading-table .device-table tbody tr{height:98px}}
@media(prefers-reduced-motion:reduce){.phone-loading-ring,.phone-loading-table .skeleton-line,.phone-loading-table .skeleton-block{animation:none}}

/* Opening a device: visible feedback while identity and device data load. */
.device-opening{min-height:clamp(320px,60vh,640px);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;text-align:center;box-sizing:border-box}
.device-opening-track{width:160px;height:4px;margin-top:28px;border-radius:4px;overflow:hidden;background:#e9dfff}
.device-opening-track::after{content:"";display:block;width:45%;height:100%;border-radius:inherit;background:var(--brand);animation:device-opening-slide 1.6s ease-in-out infinite}
@keyframes device-opening-slide{0%{transform:translateX(-105%)}100%{transform:translateX(325%)}}
@media(prefers-reduced-motion:reduce){.device-opening-track::after{animation:none;margin-inline:auto}}

.cloudspace-shell .content{padding:0;background:#fff}.cloudspace-shell .early-access{display:none}.cloudspace-shell #page{max-width:none;margin:0}.cs-layout{display:grid;grid-template-columns:180px minmax(0,1fr);min-height:calc(100dvh - 60px);color:#182238;font-size:14px}.cs-categories{padding:24px 12px;display:flex;flex-direction:column;border-right:1px solid #e9ecf3;background:#fcfcfe}.cs-caption{color:#778298;margin:0 14px 20px;font-size:12px}.cs-categories nav{display:grid;gap:6px}.cs-categories nav button{display:flex;align-items:center;gap:12px;width:100%;height:42px;border:0;background:transparent;border-radius:5px;padding:0 12px;text-align:left;color:inherit;cursor:pointer}.cs-categories nav button[aria-pressed=true]{color:var(--brand);background:var(--brand-soft);font-weight:600}.cs-categories nav button>span{font-size:20px}.cs-categories small{margin-left:auto;font-weight:400}.cs-quota{margin-top:auto;padding:50px 10px 14px;display:grid;gap:8px;font-size:11px;color:#788398}.cs-quota strong{font-weight:500;color:#26324b}.cs-quota progress{width:100%;height:6px;accent-color:var(--brand)}.cs-files{padding:30px 32px;min-width:0}.cs-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.cs-heading h1{font-size:24px;letter-spacing:-.5px;margin:0 0 6px;font-weight:650}.cs-heading p{color:#7d879a;margin:0;font-size:13px}.cs-heading>div:last-child{display:flex;gap:10px}.cs-button{border:1px solid #e0e5ef;background:white;color:#25314b;border-radius:5px;min-height:36px;padding:7px 14px;cursor:pointer;font:inherit;white-space:nowrap}.cs-primary{background:var(--brand);color:white;border-color:var(--brand)}.cs-button:disabled{opacity:.45;cursor:not-allowed}.cs-link{background:none;border:0;color:var(--brand);padding:5px}.cs-danger{color:#ce3444}.cs-toolbar{display:flex;gap:12px;margin-bottom:18px;align-items:center}.cs-toolbar input{margin-right:auto;width:280px;max-width:60%}.cs-host input[type=search],.cs-dialog input[type=search],.cs-toolbar select{border:1px solid #e0e5ef;border-radius:5px;padding:9px 12px;font:inherit;background:white;color:inherit}.cs-selection{display:flex;align-items:center;gap:20px;padding:4px 12px;background:#f6f2ff;color:var(--brand-ink);min-height:40px}.cs-selection[hidden]{display:none}.cs-table-scroll{overflow-x:auto}.cs-host table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:13px}.cs-host th{font-weight:400;color:#7c879d;text-align:left;padding:15px 10px;border-bottom:1px solid #e9edf4;background:white}.cs-host td{padding:14px 10px;border-bottom:1px solid #edf0f5;color:#64718a}.cs-host input[type=checkbox],.cs-dialog input[type=checkbox]{accent-color:var(--brand);width:16px;height:16px;cursor:pointer}.cs-name{display:flex;align-items:center;gap:12px;border:0;background:none;color:#19233a;font:inherit;cursor:pointer;text-align:left;max-width:280px}.cs-name>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cs-file-icon{width:34px;height:40px;display:inline-grid;place-items:center;flex:none;background:var(--brand-soft);color:var(--brand);border-radius:5px;font-size:9px;font-weight:700;letter-spacing:.2px}.cs-kind-image{color:#2776ad;background:#e9f5fc}.cs-kind-video{color:#ba6a22;background:#fff1df}.cs-kind-apk{color:#329166;background:#e9f7ef}.cs-selected{background:#faf7ff}.cs-text{border:0;background:transparent;color:var(--brand);cursor:pointer;font:inherit;padding:6px 0}.cs-ready{color:#209c55;font-size:12px}.cs-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:24px 0;color:#7d879a;font-size:12px}.cs-pagination>span:first-child{margin-right:auto}.cs-empty{text-align:center;padding:75px 20px;color:#7d879a}.cs-empty strong{font-size:18px;color:#28324c}.cs-notice{padding:12px 16px;background:#fff7e2;color:#735f2d;margin:0 0 16px}.cs-dialog{padding:0;border:1px solid #e5e8ef;border-radius:10px;width:min(660px,calc(100vw - 32px));max-height:85dvh;color:#19233a;box-shadow:0 20px 80px #17233c26;font:14px/1.6 system-ui,sans-serif}.cs-dialog::backdrop{background:#141c3538}.cs-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:22px 26px 12px}.cs-dialog h2{font-size:20px;margin:0}.cs-close{font-size:24px;border:0;padding:0 6px;min-height:30px}.cs-dialog-body{padding:10px 26px 26px}.cs-dialog footer{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin-top:24px}.cs-dialog dl{display:grid;grid-template-columns:90px 1fr;gap:12px}.cs-dialog dd{margin:0}.cs-muted{color:#7b879b;font-size:13px}.cs-drop{border:1px dashed #b99aef;display:grid;text-align:center;padding:28px 12px;gap:12px;color:var(--brand);border-radius:5px;cursor:pointer}.cs-drop input{max-width:100%;font:inherit}.cs-drop small{color:#7c879d}.cs-upload-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:16px 0;border-bottom:1px solid #edf0f5}.cs-upload-row strong{overflow-wrap:anywhere}.cs-upload-row progress{width:100%;accent-color:var(--brand);grid-column:1/-1}.cs-target-list{max-height:300px;overflow:auto;margin:16px 0}.cs-target-list label{display:flex;align-items:center;gap:12px;padding:16px 4px;border-bottom:1px solid #edf0f5}.cs-target-list label[hidden]{display:none}.cs-target-list small{margin-left:auto;color:#7c879d}.cs-record{display:grid;grid-template-columns:1fr 1.3fr auto auto;gap:12px;align-items:center;padding:18px 0;border-bottom:1px solid #edf0f5}.cs-record span{overflow-wrap:anywhere}.cs-host button:focus-visible,.cs-dialog button:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.cs-icon{display:inline-block;flex:0 0 auto;vertical-align:middle;width:20px;height:20px}.cs-categories .cs-icon{width:19px;height:19px}.cs-button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.cs-button>.cs-icon{width:17px;height:17px}.cs-file-icon{width:36px;height:42px;background:transparent;border-radius:0}.cs-file-icon>.cs-icon{width:29px;height:29px;stroke-width:1.55}.cs-kind-pdf{color:#d95060}.cs-drop>.cs-icon{justify-self:center;width:32px;height:32px}.cs-close>.cs-icon{width:20px;height:20px}
.cs-preview-dialog{width:min(1000px,calc(100vw - 32px));max-height:94dvh}.cs-preview-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:14px}.cs-preview-heading strong{overflow-wrap:anywhere;min-width:0}.cs-preview-heading span{white-space:nowrap;color:#7c879d}.cs-preview-stage{min-height:180px;height:min(60dvh,650px);display:flex;align-items:center;justify-content:center;background:#f6f7fa;border-radius:6px;color:#64718a;text-align:center;overflow:hidden}.cs-preview-stage>img,.cs-preview-stage>video{display:block;width:100%;height:100%;object-fit:contain}.cs-preview-stage>iframe{width:100%;height:100%;border:0;background:white}.cs-name:hover>span:last-child{text-decoration:underline;text-underline-offset:4px}
@media(max-width:1100px){.cs-layout{grid-template-columns:150px minmax(0,1fr)}.cs-files{padding:24px 20px}.cs-host table{min-width:740px}}
@media(max-width:700px){.cs-layout{grid-template-columns:112px minmax(0,1fr)}.cs-categories{padding:20px 5px}.cs-categories nav button{gap:6px;padding:0 6px;font-size:12px}.cs-categories nav button>span{display:none}.cs-caption{margin-left:6px}.cs-files{padding:20px 12px}.cs-heading{align-items:flex-start;flex-direction:column}.cs-heading h1{font-size:20px}.cs-heading>div:last-child{flex-wrap:wrap;gap:6px}.cs-heading .cs-button{font-size:12px;padding:5px 8px}.cs-toolbar{flex-wrap:wrap;gap:6px}.cs-toolbar input{width:100%;max-width:100%}.cs-toolbar select{max-width:calc(100% - 44px);font-size:12px}.cs-selection{gap:6px;flex-wrap:wrap;font-size:12px}.cs-quota{padding:30px 6px}.cs-dialog-body{padding:10px 18px 20px}.cs-dialog>header{padding:18px}.cs-record{grid-template-columns:1fr 1fr}.cs-pagination{gap:6px}.cs-pagination .cs-button{padding:4px 8px}.cs-target-list label{flex-wrap:wrap}}

.cs-preview-action{margin-right:16px}

.cs-file-icon.cs-image-thumbnail{width:48px;height:48px;border-radius:7px;overflow:hidden;background:#f7f8fa;border:1px solid #edf0f5}.cs-image-thumbnail img{display:block;width:100%;height:100%;object-fit:contain}

.group-workspace{height:100dvh;background:#f6f7fb;color:#162035;display:flex;flex-direction:column;font-size:14px}.device-standalone:has(.group-workspace) .content{padding:0;max-width:none}.group-header{height:64px;flex:none;background:white;border-bottom:1px solid #e2e6ef;padding:0 24px;display:flex;align-items:center;gap:24px}.group-brand{text-decoration:none;color:#182037;font-size:25px;letter-spacing:-1px}.group-brand span{color:var(--brand)}.group-header h1{font-size:18px;margin:0;padding-left:24px;border-left:1px solid #e2e6ef}.group-back{margin-left:auto;color:#67738b;font-size:13px}.group-body{display:grid;grid-template-columns:minmax(340px,34%) minmax(0,1fr);gap:14px;padding:14px;flex:1;min-height:0}.group-master{min-height:0;min-width:0;background:#fff;border:1px solid #e2e6ef;border-radius:10px;display:flex;flex-direction:column;overflow:hidden}.group-master-title{display:flex;gap:12px;padding:16px;align-items:center;min-height:56px;flex:none}.group-master-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.group-chip{background:var(--brand);color:#fff;border-radius:5px;padding:5px 10px;white-space:nowrap;font-size:12px}.group-side{min-width:0;min-height:0;display:flex;flex-direction:column}.group-controls{background:#fff;border:1px solid #e2e6ef;border-radius:10px;padding:16px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.group-controls>div{margin-right:auto;display:flex;gap:14px;align-items:center}.group-controls small{font-size:13px;color:#66728a}.group-controls [data-on=true]{color:#078451}.group-controls [data-on=true]:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:#0d9d64;margin-right:8px}.group-grid-head{display:flex;align-items:center;gap:14px;padding:18px 4px 10px}.group-grid-head h2{font-size:17px;margin:0 auto 0 0}.group-grid-head label{font-size:12px;color:#66728a;display:flex;align-items:center;gap:8px}.group-grid-head input{width:115px;accent-color:var(--brand)}.group-cache{margin:0;background:#edf0f6;color:#778197;font-size:12px;padding:9px 12px;border-radius:5px}.group-notice{color:#66528d;margin:8px 0;font-size:13px;min-height:19px}.group-grid{--card-width:240px;display:grid;grid-template-columns:repeat(auto-fill,min(100%,var(--card-width)));align-content:start;gap:14px;flex:1;min-height:0;overflow:auto;padding:0 3px 16px}.group-card{padding:14px;background:white;border:1px solid #e0e5ef;border-radius:9px;min-width:0}.group-card>header{display:flex;align-items:center;gap:8px}.group-card strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.group-selected{background:var(--brand);color:white;border-radius:4px;padding:0 4px;font-size:12px}.group-card details{margin-left:auto;position:relative}.group-card summary{cursor:pointer;list-style:none}.group-card details>div{position:absolute;right:0;top:24px;z-index:4;background:white;box-shadow:0 5px 24px #15203b22;border:1px solid #e0e5ef;padding:5px;min-width:130px;border-radius:6px}.group-card details button{display:block;width:100%;background:white;border:0;padding:10px;text-align:left;cursor:pointer}.group-card details button:hover{background:#f5f0ff}.group-card-state{font-size:12px;color:#718097;margin:8px 0 12px}.group-preview{box-sizing:border-box;width:100%;height:auto;aspect-ratio:9/16;max-height:none;background:#f2f3f8;border:1px solid #e5e8ef;border-radius:7px;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#8791a5;font-size:12px}.group-preview img{height:100%;width:100%;object-fit:contain}.group-card>footer{font-size:11px;color:#818ca2;margin-top:12px}.group-footer{flex:none;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#7d899d;padding:14px 8px;background:#edf0f6;border-radius:6px}.group-empty{grid-column:1/-1;text-align:center;color:#798398;padding:64px 16px}.group-empty>span{display:inline-grid;place-items:center;width:52px;height:52px;border:1px dashed #c6b0ff;background:#f0eaff;color:var(--brand);border-radius:12px;font-size:26px}.group-empty h3{color:#28334a;font-size:17px}.group-dialog{width:min(560px,calc(100vw - 32px));max-height:85dvh;padding:24px;border:1px solid #e0e5ef;border-radius:12px;color:#1c273c;box-shadow:0 24px 90px #18203940}.group-dialog::backdrop{background:#17213e65}.group-dialog header,.group-dialog footer{display:flex;gap:12px;align-items:center;justify-content:space-between}.group-dialog h2{font-size:20px;margin:0}.group-dialog p{font-size:13px;color:#788298}.group-dialog fieldset{border:1px solid #e2e6ef;border-radius:8px;margin:18px 0;padding:12px;max-height:40vh;overflow:auto}.group-dialog footer{justify-content:flex-end;margin-top:18px}.group-choice{display:flex;align-items:center;gap:12px;padding:12px;border-bottom:1px solid #edf0f6}.group-choice small{display:block;color:#7e899d;font-size:12px;margin-top:4px}.group-choice input{accent-color:var(--brand)}.group-dialog textarea{width:100%;resize:vertical}.group-workspace [data-group=player]{flex:1;min-height:0;overflow:auto}.group-workspace .device-layout{display:block!important;margin:0!important}.group-workspace .device-inspector,.group-workspace [data-device=inspector-toggle],.group-workspace .device-remote>h2,.group-workspace .device-remote>.device-section-head,.group-workspace [data-device=disconnect],.group-workspace .device-diagnostics{display:none!important}.group-workspace .device-remote{border:0!important;padding:0 14px 10px!important;box-shadow:none!important}.group-workspace .device-viewer:not(:fullscreen){height:auto!important;min-height:0!important;max-height:none!important}.group-workspace .device-player-row{max-height:calc(100dvh - 265px)!important;min-height:180px!important;justify-content:center}.group-workspace .device-stage{min-width:0!important;flex:0 1 auto!important}.group-workspace .device-toolrail{flex-shrink:0}.group-workspace .device-screen{max-height:calc(100dvh - 265px)!important}.group-workspace [data-device=connection]{font-size:12px}.group-workspace [data-device=control]{pointer-events:none}.group-workspace [data-device=control]:disabled{opacity:1}@media(min-width:1800px){.group-body{grid-template-columns:minmax(420px,29%) minmax(0,1fr)}}@media(max-width:1000px){.group-controls>div{width:100%}.group-body{grid-template-columns:minmax(310px,42%) minmax(0,1fr)}.group-footer{display:block}.group-footer span{display:none}.group-grid-head{flex-wrap:wrap}.group-grid-head label{display:none}}@media(max-width:700px){.group-workspace{height:auto;min-height:100dvh}.group-header{padding:12px;gap:12px;height:auto;flex-wrap:wrap}.group-header h1{font-size:16px;padding-left:12px}.group-brand{font-size:21px}.group-back{margin-left:0}.group-body{display:flex;flex-direction:column;padding:8px}.group-master{height:650px}.group-side{min-height:550px}.group-grid{overflow:visible;grid-template-columns:repeat(2,minmax(0,1fr))}.group-card{padding:9px}.group-master .device-player-row{max-height:420px!important}.group-master .device-screen{max-height:420px!important}.group-controls small{font-size:12px}}
/* Keep the master visible, independent of the detail page container breakpoint. */
.group-workspace .device-viewer>[data-device=input-tools]:not([hidden]){display:flex;width:max(156px,var(--group-screen-width,240px));max-width:calc(100% - 72px);margin:8px auto 0;transform:translateX(-28px);padding:4px 0;justify-content:space-around;gap:4px;border:1px solid #e2e6ef;border-radius:10px;background:#f8f9fc;box-sizing:border-box}
.group-workspace .device-viewer>[data-device=input-tools] .device-tool-button{flex:1;min-width:44px;width:auto;min-height:44px;height:44px;border-radius:7px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px}
.group-workspace .device-viewer>[data-device=input-tools] .device-tool-label{display:block!important;position:static!important;visibility:visible!important;opacity:1!important;transform:none!important;width:auto!important;height:auto!important;padding:0!important;background:none!important;color:inherit!important;box-shadow:none!important;font-size:11px;line-height:1.2;white-space:nowrap}
.group-workspace .device-viewer>[data-device=input-tools] .device-tool-button:not(:disabled):hover{background:#eee6ff;color:var(--brand)}
.group-workspace .device-viewer>[data-device=input-tools] .device-tool-button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.group-workspace .device-player-row{flex-direction:row!important;--player-toolbar-space:64px;--player-toolbar-height:0px;gap:12px!important;padding:0!important}
.group-workspace .device-toolrail{flex-direction:column!important;flex:0 0 44px!important;width:44px!important;height:auto!important;overflow:visible!important;gap:4px!important}
.group-workspace .device-toolrail [data-device=input-tools],.group-workspace .device-toolrail [data-device=media-tools]{flex-direction:column!important}
.group-workspace .device-remote,.group-workspace .device-stage,.group-workspace .device-screen{min-height:0!important}
.group-workspace [data-device=control-toggle],.group-workspace [data-device=control-note],.group-workspace [data-device=connect],.group-workspace [data-device=overlay-action],.group-workspace .device-viewer~details{display:none!important}
.group-workspace [data-group=player]{overflow:hidden}
.group-workspace .device-screen-overlay{padding:16px;font-size:13px}
.group-workspace .device-screen-overlay h3{font-size:17px}
@media(min-width:701px){.device-standalone:has(.group-workspace){height:100dvh;overflow:hidden}.device-standalone:has(.group-workspace) .workspace,.device-standalone:has(.group-workspace) .content{height:100%;min-height:0;overflow:hidden}.group-body{padding-bottom:24px}}

.group-live-preview{width:100%;min-width:0}.group-live-preview [data-device=preview-video]{overflow:hidden;border-radius:8px}.group-live-preview [data-device=preview-status]{font-size:12px;margin:8px 0;color:#52627a}.group-live-preview .btn{font-size:12px}

/* Loading indicators end on decoded first frame, never an artificial percentage. */
.group-live-preview [data-device=preview-video]{position:relative}
.group-live-preview[aria-busy=true] [data-device=preview-video]{background:linear-gradient(110deg,#f2eefc 20%,#fff 45%,#eee8fc 70%)!important;background-size:220% 100%!important;animation:group-shimmer 1.8s ease-in-out infinite}
.group-live-preview[aria-busy=true] [data-device=preview-video]:after{content:"";position:absolute;left:calc(50% - 18px);top:calc(50% - 18px);width:36px;height:36px;border:3px solid #ded1fa;border-top-color:var(--brand);border-radius:50%;animation:group-spin .85s linear infinite;pointer-events:none}
.group-workspace [data-group=status][aria-busy=true]:before{content:"";display:inline-block;width:13px;height:13px;margin-right:8px;vertical-align:-2px;border:2px solid #e4d8fc;border-top-color:var(--brand);border-radius:50%;animation:group-spin .85s linear infinite}
.group-workspace .device-overlay[aria-busy=true] .device-connection-progress{width:36px;height:36px;border:3px solid #e4d8fc;border-top-color:var(--brand);border-radius:50%;animation:group-spin .85s linear infinite}
@keyframes group-spin{to{transform:rotate(360deg)}}
@keyframes group-shimmer{from{background-position:180% 0}to{background-position:-80% 0}}
@media(prefers-reduced-motion:reduce){.group-workspace .device-connection-progress,.group-workspace [data-group=status]:before,.group-live-preview[aria-busy=true] [data-device=preview-video],.group-live-preview[aria-busy=true] [data-device=preview-video]:after{animation:none!important}}

.group-live-preview[aria-busy=true] [data-device=preview-video]:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(110deg,#f2eefc 20%,#fff 45%,#eee8fc 70%);background-size:220% 100%;animation:group-shimmer 1.8s ease-in-out infinite;pointer-events:none}.group-live-preview[aria-busy=true] [data-device=preview-video]:after{z-index:2}@media(prefers-reduced-motion:reduce){.group-live-preview[aria-busy=true] [data-device=preview-video]:before{animation:none}}

/* Approved target: 04 layout at 1586 × 992 with 12 neutral-gray surfaces. */
.phone-wall-shell{--bg:#f5f5f5;--ink:#111827;--muted:#72809a;--line:#e3e7ef;--primary:var(--brand);--wall-records:339px;font-size:16px;color:var(--ink);grid-template-columns:var(--workspace-side) minmax(0,1fr)}

.phone-wall-shell .content{max-width:none;padding:22px calc(var(--wall-records) + 7px) 28px 28px;background:#f5f5f5;height:calc(100vh - var(--workspace-top));min-height:0;overflow-y:auto;scrollbar-width:none}
.phone-wall-shell .early-access{display:none}

.wall-groups{margin:24px 8px 0;padding:18px 0 0;border-top:1px solid var(--line)}
.wall-group-heading{display:flex;justify-content:space-between;align-items:center;padding:0 12px;margin-bottom:18px;color:#647087;font-size:13px}
.wall-group-heading button{font-size:24px;color:#677387;height:26px;padding:0;line-height:26px;text-decoration:none}
.phone-wall-shell .phone-tabs{display:flex;flex-direction:column;gap:5px;align-items:stretch;border:0;overflow:visible;background:transparent;padding:0}
.phone-wall-shell .phone-tab{display:flex;align-items:center;gap:14px;min-height:46px;font-size:16px;border:0;border-radius:4px;padding:10px 14px;text-align:left;background:transparent;color:#182338;white-space:nowrap}
.phone-wall-shell .phone-tab>.icon{width:20px;height:20px}
.phone-wall-shell .phone-tab>span{margin-left:auto;background:none;color:#68758e;padding:0;font-size:15px}
.phone-wall-shell .phone-tab.is-on{color:var(--brand);background:var(--brand-soft);box-shadow:inset 2px 0 var(--brand)}
.wall-group-note{font-size:12px;color:#72809a;padding:0 14px;margin-top:20px}

.wall-heading{display:flex;align-items:center;gap:24px;min-height:40px;margin:0 20px 10px 4px}
.wall-heading h1{font-size:32px;line-height:40px;letter-spacing:-.8px;margin:0;font-weight:650;white-space:nowrap}
.wall-heading #phone-stats{display:flex;gap:12px;color:#72809a;font-size:15px;flex-wrap:wrap}
.wall-heading #phone-stats strong{font-weight:400}
.wall-heading #refresh{margin-left:auto;background:transparent;border-color:transparent;min-height:32px;padding:4px 8px;color:#68758e}
.wall-icon{width:18px;height:18px;display:block;flex:none}
.phone-wall-shell .btn{border-radius:5px;box-shadow:none;font-size:14px}
.phone-wall-shell .phone-toolbar{display:flex;flex-wrap:nowrap;gap:10px;height:48px;margin:0 20px 16px 4px;padding:0;background:transparent;border:0}
.phone-wall-shell .phone-toolbar .search{width:400px;max-width:400px;min-width:100px;flex:1 1 400px}
.phone-wall-shell .phone-toolbar .search .icon{width:20px;height:20px;left:16px}
.phone-wall-shell .phone-toolbar .search .control{height:48px;border-radius:5px;padding-left:50px;background:#fafafa;font-size:16px;border-color:var(--line)}
.phone-wall-shell .phone-toolbar #filter{height:48px;flex:0 0 200px;width:200px;max-width:none;min-width:120px;font-size:16px;padding:0 18px;background-color:#fff;border-color:var(--line);border-radius:5px}
#wall-density{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex:1 0 340px;white-space:nowrap;color:#72809a;font-size:16px}
.phone-wall-shell .phone-density-toggle{display:flex;gap:6px;border:0;overflow:visible}
.phone-wall-shell .phone-density-toggle button{width:74px;height:48px;border:1px solid var(--line);border-radius:5px;font-size:17px;color:#111827;background:#fff}
.phone-wall-shell .phone-density-toggle button[aria-pressed=true]{border-color:#9864ff;background:#f6f1ff;color:var(--brand);font-weight:500}
.phone-wall-shell .phone-layout{display:block}
.phone-wall-shell .phone-main{min-width:0;display:block}
.phone-wall-shell .phone-bulk-bar{position:static;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px;min-height:44px;margin:0 20px 14px 4px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.phone-wall-shell .phone-bulk-left,.phone-wall-shell .phone-bulk-right{display:flex;align-items:center;gap:12px;flex-wrap:nowrap}
.phone-wall-shell .phone-bulk-right{gap:8px}
.phone-wall-shell .phone-bulk-right>.btn{height:44px;min-width:134px;font-size:15px;justify-content:center}
.phone-wall-shell .phone-bulk-right>[data-act=refresh]{min-width:32px;width:32px;padding:0;font-size:0;gap:0;background:transparent;border-color:transparent}
.phone-wall-shell .phone-bulk-right>[data-act=refresh] .wall-icon{width:17px;height:17px}
.phone-wall-shell .phone-bulk.primary .wall-icon{filter:brightness(0) invert(1)}
.phone-wall-shell .phone-bulk-sep{height:14px;background:var(--line);margin:0}
.phone-wall-shell .phone-select-all{gap:12px;font-size:15px;white-space:nowrap;border:0;padding:0}
.phone-wall-shell input[type=checkbox]{width:20px;height:20px;accent-color:var(--brand);flex:none;margin:0;cursor:pointer}
.phone-wall-shell .phone-sel-text{font-size:15px;white-space:nowrap;color:#111827}
.wall-select-filtered{font-size:14px;white-space:nowrap;color:var(--brand);font-weight:550;text-decoration:none}
.phone-wall-shell .phone-grid,.phone-wall-shell .phone-layout[data-card-density=compact] .phone-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px 8px}
.phone-wall-shell .phone-layout[data-card-density=standard] .phone-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.phone-wall-shell .phone-layout[data-card-density=large] .phone-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.phone-wall-shell .phone-card{display:flex;flex-direction:column;position:relative;height:310px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:5px;background:#fff;box-shadow:none;overflow:visible}
.phone-wall-shell .phone-card.is-checked{border-color:var(--line);box-shadow:none}
.phone-wall-shell .phone-card.is-active{border-color:#9864ff;box-shadow:none}
.phone-wall-shell .phone-card.is-dim{opacity:1}
.wall-card-heading{display:flex;align-items:center;gap:16px;min-height:26px}
.phone-wall-shell .phone-card-name{font-size:16px;font-weight:500;line-height:24px;flex:1;min-width:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.wall-check-spacer{width:20px;flex:none}
.phone-wall-shell .phone-more{position:static;display:grid;place-items:center;flex:none;width:16px;height:26px;padding:0;border:0;background:transparent;color:#22314c}
.phone-wall-shell .phone-more .wall-icon{width:16px;height:16px}
.wall-card-status{height:32px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.phone-wall-shell .wall-card-status .badge{border:0;border-radius:0;padding:0;gap:7px;background:transparent;font-size:13px;white-space:nowrap;max-width:100%;color:#72809a}
.phone-wall-shell .wall-card-status .badge:before{content:"";width:9px;height:9px;background:#9ba4b5;border-radius:50%;flex:none}
.phone-wall-shell .wall-card-status .badge.live{color:#00a74c}
.phone-wall-shell .wall-card-status .badge.live:before{background:#00b456}
.phone-wall-shell .wall-card-status .badge.warn{color:#ed8800}
.phone-wall-shell .wall-card-status .badge.warn:before{background:#ff9200}
.phone-wall-shell .wall-card-status .badge.error{color:#d92d20}
.phone-wall-shell .wall-card-status .badge.error:before{background:#e43d35}
.phone-wall-shell .phone-thumb,.phone-wall-shell .phone-layout[data-card-density=compact] .phone-thumb{position:relative;flex:none;width:100px;height:185px;aspect-ratio:auto;margin:0 auto;border:1px solid #e1e4e9;border-radius:5px;background:#f1f2f4;overflow:hidden}
.phone-wall-shell .phone-thumb>img{display:block;width:100%;height:100%;object-fit:contain;background:#182331}
.phone-wall-shell .phone-thumb-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:8px;text-align:center;height:100%;font-size:12px;line-height:1.6;color:#7b8495;background:#f1f2f4}
.phone-wall-shell .phone-thumb-empty>.icon{width:24px;height:24px;opacity:.45}
.phone-wall-shell .phone-overlay{font-size:12px;padding:10px;text-align:center}
.phone-wall-shell .phone-card-actions{display:flex;gap:7px;margin-top:auto;padding:0;border:0;height:35px;flex:none}
.phone-wall-shell .phone-card-actions>.btn{width:auto;min-width:0;flex:1;min-height:35px;padding:4px 8px;background:#f7f7f8;border-color:#dce1e9;font-size:14px;justify-content:center}
.phone-wall-shell .phone-card-actions>.wall-card-more{flex:0 0 41px}
.phone-wall-shell .phone-menu{top:39px;bottom:auto;right:8px;z-index:10;min-width:160px;background:#fff;border:1px solid var(--line);box-shadow:0 8px 24px #18233118;border-radius:6px}
.phone-wall-shell .phone-menu .text-btn{font-size:13px}
.wall-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.phone-wall-shell .phone-banner{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0;padding:0}
.phone-wall-shell .table-foot{margin-top:14px;background:transparent;border:0;padding:0;color:#72809a;font-size:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.wall-footer-controls{display:flex;align-items:center;gap:10px}
.wall-footer-controls .btn{min-height:30px;padding:3px 10px;font-size:12px}
.phone-wall-shell .phone-read-status{margin:16px 0 0;font-size:12px;color:#72809a}
.phone-wall-shell .note-row{font-size:12px;margin-top:8px;display:flex;flex-wrap:wrap;gap:12px;color:#72809a}
.wall-records{position:fixed;right:0;top:var(--workspace-top);bottom:0;width:var(--wall-records);border-left:1px solid var(--line);background:#fff;padding:24px 20px 24px 15px;overflow-y:auto;z-index:15}
.wall-records-heading{display:flex;align-items:center;justify-content:space-between;margin:0 4px 14px}
.wall-records-heading h2{font-size:24px;line-height:32px;font-weight:650;margin:0;color:#111827;letter-spacing:-.5px}
.wall-records-heading .text-btn{display:flex;gap:6px;align-items:center;font-size:14px;color:#34425c;height:32px;padding:0;text-decoration:none}
.wall-records-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:240px;text-align:center;border:1px solid var(--line);border-radius:5px;padding:24px;gap:14px;color:#72809a}
.wall-records-empty>.icon{width:28px;height:28px;opacity:.5}
.wall-records-empty strong{font-weight:500;font-size:15px;color:#4c5a72}
.wall-records-empty p{margin:0;font-size:13px;line-height:1.9}
.wall-task{border:1px solid var(--line);border-radius:5px;padding:18px 22px 14px}
.wall-task-title{display:flex;align-items:center;gap:12px;margin-bottom:20px}
.wall-task-title>.wall-icon{width:23px;height:23px;filter:invert(19%) sepia(97%) saturate(6570%) hue-rotate(259deg) brightness(100%)}
.wall-task-title h3{font-size:18px;font-weight:600;margin:0;white-space:nowrap}
.wall-task-state{border-radius:20px;background:#ecfbf2;color:#00964c;padding:4px 10px;font-size:16px;white-space:nowrap}
.wall-task-state.has-failed{background:#fff1df;color:#ed8700}
.wall-task>p{font-size:16px;color:#34425c;line-height:1.6;margin:0 0 6px}
.wall-failed{color:#dc2626}
.wall-task-rows{margin-top:16px;border-top:1px solid var(--line)}
.wall-task-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px 14px;padding:8px 0;border-bottom:1px solid #edf0f4;align-items:center}
.wall-task-shot{display:block;width:42px;height:63px;border-radius:4px;object-fit:cover;background:#f1f2f4;border:1px solid #e3e7ef}
.wall-task-no-shot{display:grid;place-items:center}
.wall-task-no-shot>.icon{width:18px;height:18px;opacity:.4}
.wall-task-row strong{display:block;font-size:16px;font-weight:600;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.wall-task-row small{display:block;font-size:14px;color:#72809a;margin-top:5px}
.wall-result{font-size:15px;white-space:nowrap;color:#72809a;display:flex;align-items:center;gap:6px;align-self:start;margin-top:8px}
.wall-result:before{content:"";width:9px;height:9px;flex:none;border-radius:50%;background:currentColor}
.wall-result.success{color:#00ad50}.wall-result.failed{color:#f02828}.wall-result.running{color:var(--brand)}
.wall-result-message{grid-column:2/-1;font-size:12px;line-height:1.5;color:#b42318;margin:0;overflow-wrap:anywhere}
.wall-retry{width:100%;margin-top:14px;height:44px;justify-content:center;gap:10px;background:#fff}
.wall-records-reopen{position:fixed;bottom:24px;right:24px;z-index:20;background:#fff}
.phone-wall-shell.wall-records-collapsed{--wall-records:0px}
@media(min-width:1580px) and (max-width:1592px){.phone-wall-shell:not(.wall-records-collapsed) .phone-layout[data-card-density=compact] .phone-grid{grid-template-columns:repeat(5,160px) minmax(0,1fr);column-gap:8.6px}}
@media(min-width:1750px){.phone-wall-shell .phone-grid,.phone-wall-shell .phone-layout[data-card-density=compact] .phone-grid{grid-template-columns:repeat(auto-fill,minmax(158px,1fr))}}
@media(max-width:1500px){.phone-wall-shell{--wall-records:300px}.phone-wall-shell .phone-toolbar{flex-wrap:wrap;height:auto}.phone-wall-shell #wall-density{flex-basis:auto;gap:8px}.phone-wall-shell .phone-density-toggle button{width:45px}.phone-wall-shell .phone-bulk-bar{gap:10px}.phone-wall-shell .phone-bulk-left{gap:8px}.phone-wall-shell .phone-bulk-right>.btn{min-width:100px}.phone-wall-shell .phone-bulk-right>[data-act=refresh]{min-width:30px}.wall-task{padding:16px 12px}.wall-card-heading{gap:6px}}
@media(max-width:1300px){.phone-wall-shell .phone-grid,.phone-wall-shell .phone-layout[data-card-density=compact] .phone-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.phone-wall-shell .phone-layout[data-card-density=standard] .phone-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.phone-wall-shell .phone-layout[data-card-density=large] .phone-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.phone-wall-shell .phone-toolbar .search{flex-basis:55%}.phone-wall-shell #wall-density{justify-content:flex-start;flex-basis:100%}.phone-wall-shell .phone-density-toggle button{height:36px}.wall-heading{gap:12px}.wall-heading h1{font-size:28px}}
@media(max-width:1050px){.phone-wall-shell{--wall-records:0px}.wall-records{position:relative;top:auto;bottom:auto;width:100%;margin-top:24px;border:1px solid var(--line);border-radius:6px;z-index:auto}.phone-wall-shell .content{padding-right:24px}.phone-wall-shell .phone-toolbar{margin-right:0}.phone-wall-shell .phone-bulk-bar{margin-right:0}.phone-wall-shell #wall-density{flex-basis:auto}.phone-wall-shell .phone-toolbar .search{flex-basis:40%}.wall-task-row{grid-template-columns:42px minmax(0,1fr) auto}.wall-records-empty{min-height:160px}}
@media(max-width:700px){.phone-wall-shell{grid-template-columns:minmax(0,1fr);font-size:14px}.phone-wall-shell .content{padding:20px 12px}.wall-heading{margin:0 0 12px;gap:10px}.wall-heading h1{font-size:25px}.wall-heading #phone-stats{font-size:12px}.wall-heading #refresh{font-size:0;gap:0;padding:4px}.phone-wall-shell .phone-toolbar{margin:0 0 12px;gap:8px}.phone-wall-shell .phone-toolbar .search{flex-basis:100%;max-width:none}.phone-wall-shell .phone-toolbar .search .control{height:42px;font-size:14px}.phone-wall-shell .phone-toolbar #filter{height:38px;min-width:118px;flex:1;font-size:13px;padding:0 8px}.phone-wall-shell #wall-density{flex-basis:auto;flex:1;gap:8px;font-size:12px}.phone-wall-shell .phone-density-toggle{gap:4px}.phone-wall-shell .phone-density-toggle button{height:38px;width:32px;font-size:14px}.phone-wall-shell .phone-bulk-bar{margin:0 0 12px;gap:10px}.phone-wall-shell .phone-bulk-left{gap:8px;flex-wrap:wrap}.phone-wall-shell .phone-select-all,.phone-wall-shell .phone-sel-text,.wall-select-filtered{font-size:12px}.phone-wall-shell .phone-bulk-right{width:100%;justify-content:flex-end}.phone-wall-shell .phone-bulk-right>.btn{height:38px;min-width:105px;font-size:14px}.phone-wall-shell .phone-bulk-right>[data-act=refresh]{font-size:0;min-width:30px}.phone-wall-shell .phone-grid,.phone-wall-shell .phone-layout[data-card-density=compact] .phone-grid,.phone-wall-shell .phone-layout[data-card-density=standard] .phone-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.phone-wall-shell .phone-layout[data-card-density=large] .phone-grid{grid-template-columns:1fr}.wall-records{padding:20px 16px}.wall-records-heading h2{font-size:22px}.phone-wall-shell .note-row{line-height:1.7}}

@media(min-width:1501px){.phone-wall-shell .phone-density-toggle button:nth-child(2){width:80px}.phone-wall-shell .phone-density-toggle button:nth-child(3){width:86px}}
.phone-wall-shell .wall-retry{font-size:16px}

/* With no record panel, retain density and use extra width for more columns. */
#wall-records-entry{flex:none}.wall-heading .wall-records-reopen{position:static;display:flex;gap:8px;align-items:center;font-size:14px;background:#fff}.wall-records-reopen span{font-size:12px}
@media(min-width:701px){.phone-wall-shell.wall-records-collapsed .phone-layout[data-card-density=compact] .phone-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.phone-wall-shell.wall-records-collapsed .phone-layout[data-card-density=standard] .phone-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.phone-wall-shell.wall-records-collapsed .phone-layout[data-card-density=large] .phone-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}}

/* Density and view share one control height and segmented treatment. */
.phone-wall-shell #wall-density{gap:12px;align-items:center;flex-basis:340px}
.phone-wall-shell #wall-density .phone-density-toggle,.phone-wall-shell #wall-density .phone-view-toggle{display:flex;flex:none;align-items:center;gap:0;height:48px;padding:3px;margin:0;border:1px solid #e3e7ef;border-radius:7px;background:#fff;box-sizing:border-box;overflow:visible}
.phone-wall-shell #wall-density .phone-density-toggle button,.phone-wall-shell #wall-density .phone-view-toggle button{display:grid;place-items:center;width:52px;height:40px;min-height:0;padding:0;border:1px solid transparent;border-radius:4px;background:transparent;color:#64748b;font-size:15px;font-weight:500;cursor:pointer;box-sizing:border-box}
.phone-wall-shell #wall-density .phone-view-toggle button{width:44px}
.phone-wall-shell #wall-density button[aria-pressed=true]{background:var(--brand-soft);border-color:#e6d9ff;color:var(--brand)}
.phone-wall-shell #wall-density button:hover:not([aria-pressed=true]){background:#f5f5f5;color:#111827}
.phone-wall-shell #wall-density button:focus-visible{outline:2px solid var(--brand);outline-offset:2px;z-index:1}
.phone-wall-shell #wall-density .phone-view-toggle .icon{position:static;width:18px;height:18px;opacity:.65}
.phone-wall-shell #wall-density .phone-view-toggle [aria-pressed=true] .icon{opacity:1;filter:invert(21%) sepia(91%) saturate(5181%) hue-rotate(255deg)}
@media(max-width:1300px){.phone-wall-shell #wall-density{flex-basis:100%;justify-content:flex-end}}
@media(max-width:700px){.phone-wall-shell #wall-density{flex-wrap:wrap;gap:8px}.phone-wall-shell #wall-density .phone-density-toggle,.phone-wall-shell #wall-density .phone-view-toggle{height:38px;padding:2px}.phone-wall-shell #wall-density .phone-density-toggle button,.phone-wall-shell #wall-density .phone-view-toggle button{width:34px;height:32px;font-size:13px}}

/* September 15 device-wall reference: bounded cards and a shared action surface. */
.phone-wall-shell .content{padding:22px calc(var(--wall-records) + 28px) 28px 28px}
.phone-wall-shell .wall-heading{margin:0 0 16px;gap:16px;min-height:32px}
.phone-wall-shell .wall-heading h1{font-size:28px;line-height:32px;letter-spacing:0}
.phone-wall-shell .phone-toolbar{height:68px;margin:0;padding:14px 12px;gap:12px;border:1px solid #e3e7ef;border-bottom:0;border-radius:8px 8px 0 0;background:#fff}
.phone-wall-shell .phone-toolbar .search{width:284px;max-width:284px;flex:1 1 220px}
.phone-wall-shell .phone-toolbar .control,.phone-wall-shell .phone-toolbar #filter{height:40px;min-height:40px;font-size:14px}
.phone-wall-shell .phone-toolbar #filter{width:152px;min-width:130px;flex:0 1 152px}
.phone-wall-shell .phone-toolbar #refresh{height:40px;min-height:40px;width:44px;padding:10px;font-size:0;flex:none}
.phone-wall-shell .phone-toolbar #refresh .wall-icon{display:block;width:20px;height:20px}
.phone-wall-shell #wall-density{margin-left:auto;flex:0 0 auto;gap:12px;justify-content:flex-end;font-size:13px}
.phone-wall-shell #wall-density .phone-density-toggle,.phone-wall-shell #wall-density .phone-view-toggle{height:40px;padding:2px;border-radius:6px}
.phone-wall-shell #wall-density .phone-density-toggle button,.phone-wall-shell #wall-density .phone-view-toggle button{width:42px;height:34px;font-size:14px}
.phone-wall-shell .wall-records-reopen{position:static;height:40px;min-height:40px;font-size:14px;white-space:nowrap}
.phone-wall-shell .phone-bulk-bar{min-height:58px;margin:0 0 14px;padding:10px 16px;border:1px solid #e3e7ef;border-top:1px solid #edf0f4;border-radius:0 0 8px 8px;background:#fff;justify-content:flex-start;gap:20px}
.phone-wall-shell .phone-bulk-right{margin-left:0;gap:10px}
.phone-wall-shell .phone-bulk-right>.btn{height:38px;min-height:38px;font-size:14px}
.phone-wall-shell .phone-sel-text,.phone-wall-shell .phone-select-all{font-size:14px}
.phone-wall-shell .wall-select-filtered{font-size:12px}
.phone-wall-shell .phone-layout{--wall-card-width:180px}
.phone-wall-shell .phone-layout[data-card-density=standard]{--wall-card-width:248px}
.phone-wall-shell .phone-layout[data-card-density=large]{--wall-card-width:338px}
.phone-wall-shell .phone-layout[data-card-density] .phone-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--wall-card-width)),var(--wall-card-width)));gap:12px;justify-content:start}
.phone-wall-shell .phone-layout[data-card-density] .phone-card{height:auto;padding:18px 20px;border-radius:8px;gap:0}
.phone-wall-shell .phone-card.is-checked{border-color:#9b72ff;background:#fdfbff}
.phone-wall-shell .wall-card-heading{gap:12px;min-height:26px}
.phone-wall-shell .phone-card-name{font-size:17px;font-weight:600}
.phone-wall-shell .wall-card-status{justify-content:flex-start;gap:16px;height:36px;margin-bottom:4px}
.wall-card-id{font-size:13px;color:#72809a;padding-right:14px;border-right:1px solid #dce1e9;white-space:nowrap}
.phone-wall-shell .phone-layout[data-card-density] .phone-thumb{width:100%;height:auto;aspect-ratio:5/7;margin:0;border-radius:7px}
.phone-wall-shell .phone-thumb-empty{gap:16px;font-size:16px;background:#f5f6f8}
.phone-wall-shell .phone-thumb-empty>.icon{width:42px;height:42px}
.wall-shot-label{position:absolute;z-index:1;top:10px;left:10px;font-size:12px;line-height:20px;padding:2px 10px;border-radius:16px;background:#263754b8;color:#fff;border:1px solid #ffffff50;pointer-events:none}
.wall-shot-time{display:block;font-size:12px;color:#72809a;min-height:30px;padding-top:6px}
.phone-wall-shell .phone-card-actions{height:40px;gap:10px}
.phone-wall-shell .phone-card-actions>.btn{min-height:40px;background:#fff;border-radius:6px;font-size:14px}
.phone-wall-shell .phone-card-actions>.btn:first-child:not(:disabled){color:var(--brand);border-color:#9e76ff}
.phone-wall-shell .phone-layout[data-card-density=compact] .phone-card{padding:10px}
.phone-wall-shell .phone-layout[data-card-density=compact] .phone-card-name{font-size:14px}
.phone-wall-shell .phone-layout[data-card-density=compact] .wall-card-status{gap:8px}
.phone-wall-shell .phone-layout[data-card-density=compact] .wall-card-id{padding-right:7px;font-size:11px}
.phone-wall-shell .phone-layout[data-card-density=compact] .wall-card-status .badge{font-size:11px}
@media(max-width:1399px){
 .phone-wall-shell .phone-toolbar{height:auto;flex-wrap:wrap}
 .phone-wall-shell #wall-density{flex-basis:auto}
 .phone-wall-shell .phone-bulk-bar{flex-wrap:wrap}
}
@media(max-width:700px){
 .phone-wall-shell .content{padding:20px 12px}
 .phone-wall-shell .wall-heading h1{font-size:24px}
 .phone-wall-shell .phone-toolbar .search{max-width:none;flex-basis:100%}
 .phone-wall-shell #wall-density{margin-left:0;gap:6px;flex-wrap:nowrap}
 .phone-wall-shell #wall-density>span{display:none}
 .phone-wall-shell #wall-density .phone-density-toggle button,.phone-wall-shell #wall-density .phone-view-toggle button{width:30px}
 .phone-wall-shell .phone-bulk-bar{padding:12px;gap:12px}
 .phone-wall-shell .phone-bulk-right{width:auto;flex-wrap:wrap}
 .phone-wall-shell .phone-layout[data-card-density=compact] .phone-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .phone-wall-shell .phone-layout[data-card-density=large] .phone-grid{grid-template-columns:minmax(0,1fr)}
 .phone-wall-shell .phone-card-name{font-size:16px}
}

@media(min-width:701px){.phone-wall-shell.wall-records-collapsed .phone-layout[data-card-density] .phone-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--wall-card-width)),var(--wall-card-width)))}}
.phone-wall-shell .phone-bulk-right>[data-act=refresh]{font-size:0;width:32px;min-width:32px;flex:none}
.phone-wall-shell .phone-bulk-left{flex-shrink:0}

.wall-device-list{position:relative;flex:none}
.phone-wall-shell .wall-device-list>summary{display:flex;align-items:center;gap:8px;min-height:40px;padding:8px 14px;list-style:none;font-size:14px;white-space:nowrap;cursor:pointer}
.wall-device-list>summary::-webkit-details-marker{display:none}
.wall-device-list>summary .icon{position:static;width:18px;height:18px}
.wall-device-list-popover{position:absolute;left:0;top:calc(100% + 8px);width:300px;max-height:560px;overflow:auto;z-index:25;padding:12px;background:#fff;border:1px solid #e3e7ef;border-radius:8px;box-shadow:0 8px 24px #17203318}
.wall-device-list:not([open])>.wall-device-list-popover{display:none}
.phone-wall-shell .wall-device-list .wall-groups{margin:0;padding:0;border:0}
.phone-wall-shell .wall-device-list .wall-group-heading,.phone-wall-shell .wall-device-list .wall-group-note{display:none}
.phone-wall-shell .wall-device-list .phone-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:0 0 12px}
.phone-wall-shell .wall-device-list .phone-tab{font-size:12px;gap:6px;padding:8px;min-height:36px}
.phone-wall-shell .wall-device-list .phone-tab>.icon{width:14px;height:14px}
.wall-device-list-row{display:flex;align-items:center;gap:12px;padding:10px 4px;border-top:1px solid #edf0f4}
.wall-device-list-row a{display:block;min-width:0;overflow-wrap:anywhere;color:#111827;text-decoration:none;font-size:14px}
.wall-device-list-row small{display:block;color:#72809a;margin-top:4px;font-size:12px}
.phone-wall-shell .phone-card-actions>.wall-card-shot{display:flex;align-items:center;gap:8px;flex:0 0 auto;min-width:92px}
.wall-card-shot .wall-icon{width:18px;height:18px}
@media(max-width:700px){.wall-device-list-popover{left:auto;right:0;width:min(280px,calc(100vw - 24px));max-height:400px}.phone-wall-shell .phone-layout[data-card-density=compact] .phone-card-actions{height:auto;flex-wrap:wrap}.phone-wall-shell .phone-layout[data-card-density=compact] .phone-card-actions>.wall-card-shot{flex:1;min-width:0}}

@media(min-width:701px){.phone-wall-shell .phone-layout[data-card-density=large] .phone-card{min-height:600px}.phone-wall-shell .phone-layout[data-card-density=large] .phone-card-actions{margin-top:auto}}

/* Shared customer-workspace chrome. Page layouts must not resize these components. */
.shell{--workspace-side:224px;--workspace-top:60px;grid-template-columns:var(--workspace-side) minmax(0,1fr)}
.shell .sidebar{width:var(--workspace-side);padding:18px 8px;border-right:1px solid #e3e7ef;background:#fff;font-size:16px;color:#111827}
.shell .sidebar>.brand{margin:0 18px 26px;height:32px}
.shell .sidebar .brand img{width:152px;max-width:100%;height:32px}
.shell .sidebar>.nav-label,.shell .workspace-label{display:none}
.shell .nav-list{gap:5px}
.shell .nav-item{height:47px;min-height:47px;padding:10px 23px;gap:18px;font-size:16px;border-radius:5px;font-weight:400;position:relative}
.shell .nav-item>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shell .nav-item>.icon{width:20px;height:20px;flex:0 0 20px}
.shell .nav-item>.icon:last-child:not(:first-child){width:14px;height:14px;flex-basis:14px;margin-left:auto}
.shell .nav-item[aria-current=page]{background:var(--brand-soft);color:var(--brand);font-weight:600}
.shell .nav-item[aria-current=page]:before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:2px;background:var(--brand)}
.shell .nav-item[aria-current=page]>.icon{opacity:1;filter:invert(19%) sepia(97%) saturate(6570%) hue-rotate(259deg) brightness(100%)}
.shell .nav-bottom{padding-top:20px}
.shell .workspace{margin-left:0;min-width:0;width:100%;height:100dvh;overflow:hidden}
.shell .content{height:calc(100dvh - var(--workspace-top));min-height:0;overflow-y:auto}
.shell .topbar{height:var(--workspace-top);min-height:var(--workspace-top);padding:0 30px;border-bottom:1px solid #e3e7ef;font-size:16px;background:#fff;color:#111827}
.shell .topbar-left{height:100%;min-width:0;display:flex;align-items:center}
.shell .topbar-right{gap:18px;flex:none}
.shell .topbar .lang{height:42px;min-height:42px;font-size:16px;width:154px;min-width:154px;max-width:154px;border:1px solid #e3e7ef;border-radius:6px;padding:0 14px}
.shell .avatar{width:40px;height:40px;font-size:15px;border-color:#e3e7ef;background:#f7f7f8}
.shell .breadcrumb{font-size:16px;min-width:0}
.shell .breadcrumb strong{font-weight:600;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wall-top-tabs{display:flex;align-items:stretch;gap:30px;height:100%}
.wall-top-tabs a,.wall-top-tabs button{display:flex;align-items:center;border:0;border-bottom:3px solid transparent;padding:0 4px;background:transparent;font-size:16px;text-decoration:none;white-space:nowrap}
.wall-top-tabs a[aria-current]{border-bottom-color:var(--brand);color:var(--brand);font-weight:650}
.wall-top-tabs button:disabled{color:#626e84;opacity:1;cursor:default}
@media(max-width:700px){
  .shell{display:block;grid-template-columns:minmax(0,1fr)}
  .shell .sidebar{width:218px}
  .shell .sidebar.mobile-open{top:var(--workspace-top);height:calc(100dvh - var(--workspace-top));padding-top:18px;overflow-y:auto}
  .shell .topbar{padding:0 12px}
  .shell .topbar .mobile-brand{display:none}
  .shell .topbar-left{gap:6px}
  .shell .topbar-right{gap:8px}
  .shell .topbar .lang{height:34px;min-height:34px;min-width:80px;width:82px;max-width:82px;font-size:12px;padding:0 4px}
  .shell .avatar{height:30px;width:30px;font-size:12px}
  .shell .breadcrumb{display:flex;font-size:12px}
  .wall-top-tabs{gap:12px}
  .wall-top-tabs a,.wall-top-tabs button{font-size:12px;padding:0}
  .wall-top-tabs button{max-width:82px;white-space:normal;line-height:1.4}
}

/* Shared click/touch account disclosure. Native links remain keyboard tabbable. */
.account-menu-wrap{position:relative;flex:none}.account-menu-wrap .avatar{cursor:pointer;color:inherit;padding:0}
.account-menu{position:absolute;right:0;top:calc(100% + 10px);width:252px;max-width:calc(100vw - 24px);z-index:100;background:#fff;border:1px solid #e3e7ef;border-radius:8px;box-shadow:0 8px 28px #11182718;padding:8px}
.account-menu[hidden]{display:none}.account-menu p{margin:0;padding:12px 10px;color:#72809a;font-size:13px;overflow-wrap:anywhere}
.account-menu a,.account-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:11px 10px;border:0;background:transparent;text-align:left;text-decoration:none;font:inherit;font-size:14px;color:#111827;border-radius:4px;cursor:pointer}
.account-menu a:hover,.account-menu button:hover{background:#f5f3ff}.account-menu .icon{width:18px;height:18px}
.account-menu #account-menu-logout{border-top:1px solid #e3e7ef;margin-top:6px;border-radius:0;color:#b42335}.account-menu :focus-visible,.account-menu-wrap>.avatar:focus-visible{outline:2px solid var(--brand);outline-offset:2px}

.topbar-help,.topbar-support{display:grid;place-items:center;flex:none;width:36px;height:36px;border:1px solid transparent;border-radius:6px;background:transparent;color:#64748b;text-decoration:none;cursor:pointer}.topbar-help:hover,.topbar-support:hover{background:#f5f3ff;border-color:#e9e1ff}.topbar-help .icon,.topbar-support .icon{width:20px;height:20px}.topbar-help:focus-visible,.topbar-support:focus-visible{outline:2px solid var(--brand);outline-offset:2px}@media(max-width:700px){.topbar-help,.topbar-support{width:30px;height:34px}.shell .topbar-right{gap:6px}}

.topbar-support:disabled{opacity:.45;cursor:default;background:transparent;border-color:transparent}

/* Compact language control; keep the native select for touch and keyboard access. */
.shell .topbar .lang{appearance:none;-webkit-appearance:none;width:132px;min-width:132px;max-width:132px;height:36px;min-height:36px;padding:0 25px 0 34px;border:1px solid transparent;border-radius:6px;background-color:transparent;background-image:url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNy41MDA0OSAwLjkwMDA1NUMxMS4xNDUzIDAuOTAwMzcyIDE0LjEwMDEgMy44NTU3NiAxNC4xMDAxIDcuNTAwNjRDMTQuMDk5OCAxMS4xNDUzIDExLjE0NTEgMTQuMDk5OSA3LjUwMDQ5IDE0LjEwMDNDMy44NTU2IDE0LjEwMDMgMC45MDAyMTkgMTEuMTQ1NSAwLjg5OTkwMiA3LjUwMDY0QzAuODk5OTAyIDMuODU1NTYgMy44NTU0MSAwLjkwMDA1NSA3LjUwMDQ5IDAuOTAwMDU1Wk01LjI4MzY5IDEwLjcwNDdDNS42NDQwNCAxMS42MzUxIDYuMTcwODMgMTIuNDc4MiA2Ljg1ODg5IDEzLjE2MjhDNi45Mzg0NyAxMy4xNzE3IDcuMDE4NTggMTMuMTc3NyA3LjA5OTEyIDEzLjE4MzNWMTAuODQ1NEM2LjQ4NzYxIDEwLjgzMTQgNS44NzcwNiAxMC43ODM0IDUuMjgzNjkgMTAuNzA0N1pNOS43NzI5NSAxMC42OTg5QzkuMTYxNjQgMTAuNzgyMiA4LjUzMTE2IDEwLjgzIDcuODk5OSAxMC44NDQ0VjEzLjE4MzNDNy45ODEwOSAxMy4xNzc2IDguMDYxODcgMTMuMTcxNyA4LjE0MjA5IDEzLjE2MjhDOC44NTUzMSAxMi40NzY2IDkuNDAwNDggMTEuNjMxNCA5Ljc3Mjk1IDEwLjY5ODlaTTIuMzU3OTEgOS45NjE1OEMzLjAyMzUxIDExLjM0OTMgNC4yMzQ4MiAxMi40MjM5IDUuNzEzMzggMTIuOTExOEM1LjE4Mzk3IDEyLjIxMzUgNC43Nzg0OSAxMS40MjEzIDQuNDk1NjEgMTAuNTc4OEMzLjcyNDM0IDEwLjQzMzQgMi45OTg3MSAxMC4yMjc5IDIuMzU3OTEgOS45NjE1OFpNMTIuNjQxMSA5Ljk2MTU4QzEyLjAxODQgMTAuMjIwNCAxMS4zMTU4IDEwLjQyMjYgMTAuNTY4OCAxMC41NjdDMTAuMjc4MyAxMS40MTA1IDkuODYwMzUgMTIuMjAyOCA5LjMxNTkyIDEyLjkwMkMxMC43ODEgMTIuNDA5NyAxMS45OCAxMS4zNDAxIDEyLjY0MTEgOS45NjE1OFpNNC43MDg1IDcuOTAwMDVDNC43Mzg2IDguNjAyNzggNC44NDgwMyA5LjI5ODE1IDUuMDM1NjQgOS45NjI1NUM1LjY5NzE5IDEwLjA2NjUgNi4zOTM1NCAxMC4xMjg0IDcuMDk5MTIgMTAuMTQ1MlY3LjkwMDA1SDQuNzA4NVpNNy44OTk5IDEwLjE0NTJDOC42MjkxIDEwLjEyNzkgOS4zNDg1MiAxMC4wNjMxIDEwLjAyOTggOS45NTI3OUMxMC4yMjIgOS4yOTExNyAxMC4zMzQ4IDguNTk5MjQgMTAuMzY1NyA3LjkwMDA1SDcuODk5OVYxMC4xNDUyWk0xLjgxNDk0IDcuOTAwMDVDMS44NDE2NiA4LjI4NTMyIDEuOTA2ODMgOC42NTk3OCAyLjAwNjM1IDkuMDIwMTdDMi42MzM3MyA5LjM2NDYyIDMuNDEyNzggOS42MzE2MyA0LjI3Njg2IDkuODE5OThDNC4xMjQ1NiA5LjE5Mjg3IDQuMDM0MTYgOC41NDc0NyA0LjAwODMgNy45MDAwNUgxLjgxNDk0Wk0xMS4wNjY5IDcuOTAwMDVDMTEuMDQwNCA4LjU0MjY2IDEwLjk0NzIgOS4xODI4MyAxMC43OTI1IDkuODA1MzNDMTEuNTI4MyA5LjY0MDUyIDEyLjIwMTMgOS40MTg4IDEyLjc2ODEgOS4xMzkzMUwxMi45OTE3IDkuMDIxMTVDMTMuMDkxNCA4LjY2MDM2IDEzLjE1NzMgOC4yODU3OCAxMy4xODQxIDcuOTAwMDVIMTEuMDY2OVpNNC4zMjY2NiA0Ljk3NTI1QzMuNDczMzIgNS4xNTc1MiAyLjcwMTUxIDUuNDE4MDYgMi4wNzM3MyA1Ljc1MTYyQzEuOTM1NSA2LjE4MDg1IDEuODQ4NCA2LjYzMjM0IDEuODE1OTIgNy4wOTkyN0g0LjAwODNDNC4wMzcwMiA2LjM4MTU3IDQuMTQyNDYgNS42NjU2OSA0LjMyNjY2IDQuOTc1MjVaTTcuMDk5MTIgNC42NjE3N0M2LjQxNTEgNC42NzgwNCA1LjczOTU3IDQuNzM2MzkgNS4wOTYxOSA0LjgzNDYzQzQuODcxODEgNS41NTk1MiA0Ljc0MTczIDYuMzI0ODYgNC43MDg1IDcuMDk5MjdINy4wOTkxMlY0LjY2MTc3Wk03Ljg5OTkgNy4wOTkyN0gxMC4zNjU3QzEwLjMzMTUgNi4zMjg0MyAxMC4xOTczIDUuNTY2NjEgOS45NjcyOSA0Ljg0NDM5QzkuMzA0NjEgNC43NDAyIDguNjA2NzkgNC42Nzg1MiA3Ljg5OTkgNC42NjE3N1Y3LjA5OTI3Wk0xMC43Mzk3IDQuOTg4OTJDMTAuOTI3NCA1LjY3NTIxIDExLjAzNzUgNi4zODU5MiAxMS4wNjY5IDcuMDk5MjdIMTMuMTg0MUMxMy4xNTE2IDYuNjMxODQgMTMuMDYyOCA2LjE4MDI5IDEyLjkyNDMgNS43NTA2NEwxMi43NjgxIDUuNjY4NjFDMTIuMTg3NyA1LjM4MjQxIDExLjQ5NjQgNS4xNTQ4MSAxMC43Mzk3IDQuOTg4OTJaTTUuNzEzMzggMi4wODY1OEM0LjMyMjc0IDIuNTQ1MzUgMy4xNjgxNCAzLjUyNDEzIDIuNDgxOTMgNC43OTM2MUMzLjExMTk4IDQuNTQzNzIgMy44MTk0OSA0LjM1MTQxIDQuNTY3ODcgNC4yMTQ1MUM0Ljg0NjEyIDMuNDQ4NTQgNS4yMjcxMSAyLjcyNzcgNS43MTMzOCAyLjA4NjU4Wk05LjMxNTkyIDIuMDk3MzJDOS44MTU1NCAyLjczODg2IDEwLjIwNzkgMy40NTkwOCAxMC40OTM3IDQuMjI1MjVDMTEuMjE4MiA0LjM2MTE5IDExLjkwMzEgNC41NTAwOCAxMi41MTUxIDQuNzkyNjNDMTEuODMzOCAzLjUzMzA0IDEwLjY5MjYgMi41NTk5MiA5LjMxNTkyIDIuMDk3MzJaTTcuODk5OSAzLjk2MjU1QzguNTAxOTkgMy45NzYyNSA5LjEwMzI4IDQuMDIxODggOS42ODc5OSA0LjA5ODNDOS4zMTk0OCAzLjI0NTk5IDguODA0MDcgMi40NzI1MyA4LjE0MzA3IDEuODM2NThDOC4wNjI1MiAxLjgyNzUzIDcuOTgxNDMgMS44MjA3NSA3Ljg5OTkgMS44MTUwOVYzLjk2MjU1Wk03LjA5OTEyIDEuODE1MDlDNy4wMTgyNCAxLjgyMDcyIDYuOTM3ODIgMS44Mjc2MSA2Ljg1NzkxIDEuODM2NThDNi4yMjA2IDIuNDcwNjQgNS43MjMwNiAzLjI0MTc4IDUuMzY2NyA0LjA5MTQ2QzUuOTMzOSA0LjAxOTM5IDYuNTE2MTMgMy45NzU4NSA3LjA5OTEyIDMuOTYyNTVWMS44MTUwOVoiIGZpbGw9ImN1cnJlbnRDb2xvciIvPjwvc3ZnPgo='),url('/developer/assets/refined-icons/chevron-down.svg');background-repeat:no-repeat;background-position:10px center,right 7px center;background-size:16px 16px,12px 12px;font-size:14px;font-weight:500;color:#475569;cursor:pointer;transition:background-color .15s,border-color .15s}
.shell .topbar .lang:hover{background-color:#f5f3ff;border-color:#e9e1ff}.shell .topbar .lang:focus-visible{outline:2px solid var(--brand);outline-offset:2px;background-color:#f5f3ff}.shell .topbar .lang option{background:#fff;color:#111827}
@media(max-width:700px){.shell .topbar .lang{width:112px;min-width:112px;max-width:112px;height:34px;min-height:34px;font-size:12px;padding-left:28px;padding-right:20px;background-position:7px center,right 5px center;background-size:14px 14px,10px 10px}}

/* Single-instance workspace: references 05 / 06, neutral surface from 12. */
.content:has(.device-detail-page){padding:26px 22px 46px 30px;background:#f5f5f5}
.content:has(.device-detail-page)>.early-access{display:none}
.device-detail-page{--detail-panel:440px;--detail-gap:22px;color:#111827}
.device-detail-heading{height:117px;width:calc(100% - var(--detail-panel) - var(--detail-gap))}
.device-detail-breadcrumb{display:flex;align-items:center;gap:14px;font-size:16px;color:#72809a;white-space:nowrap;overflow:hidden}
.device-detail-breadcrumb a{color:var(--brand);text-decoration:none}
.device-detail-breadcrumb>span:last-child{overflow:hidden;text-overflow:ellipsis}
.device-detail-heading .page-head{margin:18px 0 0;align-items:center;gap:16px}
.device-detail-heading h1{font-size:32px;line-height:1.25;font-weight:650;letter-spacing:0}
.device-detail-heading .page-head p{font-size:15px;color:#72809a;margin:10px 0 0}
.device-detail-heading .actions{flex-wrap:nowrap}
.device-detail-page .btn{font-size:14px;min-height:40px;border-radius:5px}
.device-detail-page .device-layout{grid-template-columns:minmax(0,1fr) var(--detail-panel);gap:var(--detail-gap);align-items:start}
.device-detail-page .device-remote{padding:18px;border:1px solid #e3e7ef;border-radius:7px;background:#f1f3f6;min-height:731px}
.device-detail-page h2{font-size:18px;line-height:26px;font-weight:650;margin:0 0 12px}
.device-detail-page .device-section-head{margin-bottom:18px;min-height:26px}
.device-detail-page .device-section-head h2{margin:0}
.device-detail-page .device-section-head>.muted{font-size:14px}
.device-detail-page .device-player-row{--player-max-height:556px;--player-toolbar-space:112px;gap:36px;min-height:556px;justify-content:center;padding-left:102px}
.device-detail-page .device-remote .device-stage{padding:0;border-radius:6px;border-color:#dce1e8;background:#fff;max-width:100%}
.device-detail-page .device-stage .device-screen{border-radius:5px;background:#fff;max-width:100%}
.device-detail-page .device-toolrail{width:66px;flex-basis:66px;gap:8px;max-height:556px;overflow-y:auto;scrollbar-width:thin;padding:1px}
.device-detail-page .device-toolrail .device-tool-group{gap:8px;padding:0;margin:0;border:0}
.device-detail-page .device-toolrail .device-tool-button{width:62px;min-width:62px;height:64px;min-height:64px;flex-direction:column;gap:5px;padding:8px 3px;border:1px solid #dce1e8;background:#fff;color:#172033}
.device-detail-page .device-toolrail .device-tool-button[data-device=connect]{color:var(--brand);background:var(--brand-soft)}
.device-detail-page .device-toolrail .device-tool-label{position:static;transform:none;visibility:visible;opacity:1;width:auto;max-width:58px;padding:0;border:0;box-shadow:none;background:transparent;color:inherit;font-size:11px;white-space:normal;line-height:1.25}
.device-detail-page .device-tool-status{min-height:0;padding:0}
.device-detail-page .device-tool-status:has(span:not(:empty)){padding-top:12px}
.device-detail-page .device-remote>.banner{background:transparent;border:0;padding:0;margin:16px 0 0;text-align:center;font-size:14px}
.device-detail-page .device-modebar{justify-content:center;margin:8px 0;font-size:13px;gap:12px}
.device-detail-page .device-session-help{font-size:12px;line-height:18px;color:#72809a;margin-top:0;text-align:center}
.device-detail-page .device-session-help summary{cursor:pointer}
.device-detail-page .device-quality{white-space:normal;text-align:center}
.device-detail-page .device-inspector{margin-top:-117px;height:auto;overflow:visible;border:1px solid #e3e7ef;border-radius:6px;background:#fff}
.device-detail-page .device-panel-tabs{position:sticky;top:0;z-index:6;background:#fff;display:flex;flex-wrap:wrap;gap:0;padding:0 18px;border-color:#e3e7ef}
.device-detail-page .device-panel-tabs button{font-size:13px;flex:1 0 20%;padding:10px 8px;min-height:40px}
.device-detail-page .device-panel-tabs button[data-device=tab-ops],.device-detail-page .device-panel-tabs button[data-device=tab-info]{flex:0 0 50%;min-height:56px;font-size:18px;text-align:left;padding-left:6px}
.device-detail-page .device-panel-tabs button[aria-selected=true]{color:var(--brand);border-bottom-color:var(--brand)}
.device-detail-page .device-inspector>[data-device-panel]{padding:0 18px}
.device-detail-page .device-inspector>[data-device-panel=proxy],.device-detail-page .device-inspector>[data-device-panel=script],.device-detail-page .device-inspector>[data-device-panel=input],.device-detail-page .device-inspector>[data-device-panel=apps]{padding:24px 18px}
.device-detail-block{padding:20px 0;border-bottom:1px solid #e3e7ef}
.device-detail-block:last-child{border-bottom:0}
.device-detail-page .device-detail-block .muted{font-size:13px;line-height:1.65;color:#72809a;margin:10px 0 0}
.device-detail-page .device-detail-block .device-toolbar{margin:0;gap:10px}
.device-detail-page .device-detail-block .device-toolbar .btn{min-height:48px;flex:1}
.device-detail-page .device-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.device-detail-page .device-quick-grid .btn{display:flex;justify-content:center;align-items:center;gap:12px;min-height:62px;font-size:16px}
.device-detail-page .device-quick-grid svg{width:24px;height:24px}
.device-detail-page .device-detail-block .field{margin:0 0 8px;font-size:13px}
.device-detail-page .device-detail-block textarea{width:100%;min-height:96px;resize:vertical;font-size:15px;border-color:#dce1e8}
.device-detail-page .device-info-rows{display:grid;grid-template-columns:110px minmax(0,1fr);gap:16px;margin:18px 0 8px;font-size:15px;line-height:1.6}
.device-detail-page .device-info-rows dt{color:#72809a}
.device-detail-page .device-info-rows dd{margin:0;overflow-wrap:anywhere}
.device-detail-page .device-ops-status{background:transparent;padding:0;border-radius:0;font-size:15px}
.device-detail-page .device-ops-status>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:0;padding:8px 0}
.device-detail-page .device-ops-status dt{color:#72809a}
.device-detail-page .device-ops-status dd{margin:0;overflow-wrap:anywhere}
.device-detail-page .device-recent{min-height:100px}
.device-detail-page .device-viewer:fullscreen .device-player-row{--player-max-height:900px;min-height:0}
@media(max-width:1250px){.device-detail-page{--detail-panel:360px;--detail-gap:18px}.device-detail-heading .actions{display:none}.device-detail-page .device-player-row{gap:20px;--player-toolbar-space:86px;padding-left:0}.device-detail-page .device-panel-tabs button[data-device=tab-ops],.device-detail-page .device-panel-tabs button[data-device=tab-info]{font-size:16px}}
@media(max-width:1050px){.device-detail-heading{width:100%;height:auto;margin-bottom:22px}.device-detail-page .device-layout{grid-template-columns:minmax(0,1fr)}.device-detail-page .device-inspector{margin-top:0;height:auto;min-height:480px}.device-detail-page .device-remote{min-height:0}.device-detail-heading .actions{display:flex}}
@media(max-width:700px){.content:has(.device-detail-page){padding:20px 14px 46px}.device-detail-breadcrumb{font-size:13px;gap:9px}.device-detail-heading h1{font-size:26px}.device-detail-heading .page-head{flex-wrap:wrap}.device-detail-page .device-remote{padding:14px}.device-detail-page .device-player-row{--player-max-height:440px;--player-toolbar-space:0px;padding-left:0;gap:12px;min-height:0}.device-detail-page .device-toolrail{width:100%;max-width:100%;max-height:none;flex-basis:auto;overflow:visible;gap:5px}.device-detail-page .device-toolrail .device-tool-group{flex-direction:row;flex-wrap:wrap;gap:5px}.device-detail-page .device-toolrail .device-tool-button{width:48px;min-width:48px;height:54px;min-height:54px}.device-detail-page .device-toolrail .device-tool-label{max-width:44px;font-size:10px}.device-detail-page .device-inspector>[data-device-panel]{padding-inline:14px}}

.device-detail-page .device-action-status:not(:empty){position:sticky;bottom:0;padding:14px 18px;margin:0;background:#fff;border-top:1px solid #e3e7ef;font-size:13px;line-height:1.65;color:#72809a}
.device-detail-page .device-action-status:empty,.device-detail-page .device-inspector:has([data-device=ops-section][data-panel-active=true])>.device-action-status{display:none}

.device-detail-page .device-panel-tabs button[data-device=tab-ops],.device-detail-page .device-panel-tabs button[data-device=tab-info]{flex:0 0 120px;font-size:18px}
.device-detail-page .device-advanced{margin-left:auto;align-self:center;font-size:13px;color:#72809a}
.device-detail-page .device-advanced summary{cursor:pointer;padding:12px 0}
.device-detail-page .device-advanced-list{position:absolute;right:12px;top:52px;padding:6px;background:#fff;box-shadow:0 6px 20px #17203318;border:1px solid #e3e7ef;border-radius:6px;min-width:140px}
.device-detail-page .device-advanced-list button{display:block;width:100%;text-align:left}
.device-detail-page .device-quick-text .field>span{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
.device-detail-page .device-quick-text .device-toolbar{justify-content:flex-end}
.device-detail-page .device-quick-text .device-toolbar .btn{flex:0 0 auto;min-height:38px}
.device-detail-page .device-quick-text>.muted:not([role=status]){margin-top:-28px;max-width:65%;font-size:12px}
@media(max-width:700px){.device-detail-page .device-panel-tabs button[data-device=tab-ops],.device-detail-page .device-panel-tabs button[data-device=tab-info]{flex-basis:104px;font-size:16px}.device-detail-page .device-quick-text>.muted:not([role=status]){margin-top:8px;max-width:none}}

.device-detail-page .device-quick-text{padding-block:16px}
.device-detail-page .device-quick-text h2,.device-detail-page .device-power-block h2{margin-bottom:8px}
.device-detail-page .device-power-block{padding-block:16px}
.device-detail-page .device-power-block .device-toolbar .btn{min-height:40px}
.device-detail-page .device-power-block>.muted{font-size:12px;line-height:18px;margin-top:8px}
.device-detail-page .device-recent{min-height:84px;padding-block:16px}

.device-detail-page .device-input-result:not(:empty){position:sticky;bottom:0;padding:14px 18px;margin:0;background:#fff;border-top:1px solid #e3e7ef;font-size:13px;line-height:1.65;color:#72809a}
.device-detail-page .device-input-result:empty{display:none}

.device-detail-page [data-device=info-section]>.device-detail-block:nth-child(1){min-height:212px}
.device-detail-page [data-device=info-section]>.device-detail-block:nth-child(2){min-height:246px}
.device-detail-page [data-device=info-section]>.device-detail-block:nth-child(3){min-height:168px}
.device-detail-page [data-device=info-section] .device-info-rows{grid-template-columns:170px minmax(0,1fr);gap:0;margin:8px 0;font-size:15px}
.device-detail-page [data-device=info-section] .device-info-rows>dt,.device-detail-page [data-device=info-section] .device-info-rows>dd{padding:8px 0;border-bottom:1px solid #edf0f4}
.device-detail-page [data-device=info-section] .device-ops-status>div{grid-template-columns:170px minmax(0,1fr);border-bottom:1px solid #edf0f4}
.device-detail-page [data-device=info-section] [data-device=ops-model-wrap]>h3{display:none}
.device-detail-page [data-device=info-section] .device-ops-status{margin-block:8px}
@media(max-width:1250px){.device-detail-page [data-device=info-section] .device-info-rows,.device-detail-page [data-device=info-section] .device-ops-status>div{grid-template-columns:110px minmax(0,1fr)}}

/* Real device content: direct app/proxy access, compact metrics, optional diagnostics. */
.device-detail-page .device-panel-tabs{padding:0 12px;gap:0}.device-detail-page .device-panel-tabs>button[data-device]{flex:1 1 25%;min-height:48px;padding:12px 4px;font-size:14px;text-align:center;white-space:nowrap}.device-detail-page .device-advanced{margin-left:auto}
.device-quality-brief{text-align:center;font-size:13px;margin:10px 0 6px;color:#64748b;font-variant-numeric:tabular-nums}.device-diagnostics{font-size:12px;line-height:1.7;margin:0 0 10px;color:#72809a}.device-diagnostics summary{text-align:center;cursor:pointer}.device-detail-page .device-diagnostics .device-quality{padding:12px;background:#fff;border:1px solid #e3e7ef;border-radius:5px;text-align:left;overflow-wrap:anywhere}.device-session-limit{text-align:center;font-size:12px;color:#72809a;margin:8px 0}
.device-detail-page .device-ops-status dd{overflow-wrap:anywhere}.device-detail-page .device-ops-apps>li{padding:14px 0;border-bottom:1px solid #e3e7ef}.device-detail-page .device-ops-apps .device-toolbar{flex-wrap:wrap;gap:8px}

/* The dropdown must not turn the sticky tab bar into a scroll container. */
.device-detail-page .device-panel-tabs{overflow:visible;isolation:isolate}
.device-detail-page .device-advanced{position:relative;flex:0 0 auto;align-self:center}
.device-detail-page .device-advanced>summary{min-height:40px;display:flex;align-items:center;gap:6px;padding:8px 6px;list-style:none;white-space:nowrap}
.device-detail-page .device-advanced>summary::-webkit-details-marker{display:none}
.device-detail-page .device-advanced>summary::after{content:'⌄';font-size:14px}
.device-detail-page .device-advanced-list{top:100%;right:0;min-width:156px;max-width:240px;max-height:260px;overflow-y:auto;z-index:20}
.device-detail-page .device-advanced-list button{min-height:40px;padding:10px 12px;border:0;border-radius:4px;font-size:14px;text-align:left}
.device-detail-page .device-advanced-list button:hover{background:#f5f3ff}
.device-detail-page .device-advanced:not([open])>.device-advanced-list{display:none}

/* Approved 2026-09-15 detail proportions. Keep player sizing owned by its runtime. */
@media(min-width:1051px){
 .content:has(.device-detail-page){padding:20px 28px 28px}
 .device-detail-page{--detail-gap:20px}
 .device-detail-heading{width:100%;height:110px}
 .device-detail-heading h1{font-size:28px}
 .device-detail-heading .page-head{margin-top:16px}
 .device-detail-page .device-layout{grid-template-columns:490px minmax(0,1fr)}
 .device-detail-page .device-remote{background:#fff;padding:20px;min-height:720px;border-radius:8px}
 .device-detail-page .device-inspector{margin-top:0;height:auto;min-height:720px;border-radius:8px}
 .device-detail-page .device-player-row{--player-max-height:522px;--player-toolbar-space:64px;gap:12px;min-height:522px;padding-left:0}
 .device-detail-page .device-toolrail{width:52px;flex-basis:52px;max-height:522px;gap:4px;overflow-x:hidden}
 .device-detail-page .device-toolrail .device-tool-button{width:48px;min-width:48px;height:auto;min-height:58px;padding:6px 2px;border-color:transparent;flex-shrink:0}
 .device-detail-page .device-panel-tabs{min-height:56px;padding:0 24px;flex-wrap:nowrap}
 .device-detail-page .device-panel-tabs>button[data-device]{flex:0 1 auto;min-width:100px;min-height:56px;padding:14px 12px;font-size:16px}
 .device-detail-page .device-inspector>[data-device-panel]{padding:0 26px}
 .device-detail-page .device-inspector>[data-device-panel=proxy],.device-detail-page .device-inspector>[data-device-panel=script],.device-detail-page .device-inspector>[data-device-panel=input],.device-detail-page .device-inspector>[data-device-panel=apps],.device-detail-page .device-inspector>[data-device-panel=adb]{padding:24px 26px}
 .device-detail-page [data-device=info-section]>.device-detail-block:nth-child(n){min-height:0;padding:24px 0}
 .device-detail-page [data-device=info-section] .device-info-rows{grid-template-columns:130px minmax(0,1fr);gap:4px 12px}
 .device-detail-page [data-device=info-section] .device-info-rows>dt,.device-detail-page [data-device=info-section] .device-info-rows>dd{border:0}
 .device-detail-page [data-device=info-section] .device-ops-status>div{grid-template-columns:130px minmax(0,1fr);border:0}
}
@media(min-width:1051px) and (max-width:1399px){
 .device-detail-page .device-layout{grid-template-columns:390px minmax(0,1fr)}
 .device-detail-page .device-player-row{--player-max-height:480px;min-height:480px}
 .device-detail-page .device-panel-tabs{padding-inline:12px;flex-wrap:wrap}
 .device-detail-page .device-panel-tabs>button[data-device]{min-width:76px;font-size:14px}
}

@media(min-width:1051px){.device-detail-page .device-toolrail .device-tool-label{max-width:44px;overflow-wrap:anywhere}.device-detail-page .device-toolrail .device-tool-group{width:48px;flex-shrink:0}}

.device-info-more>summary{cursor:pointer;font-size:18px;font-weight:600;padding:4px 0}
.device-detail-page .device-power-block .device-toolbar{justify-content:flex-start}
.device-detail-page .device-power-block .device-toolbar .btn{flex:0 0 auto;min-width:136px}
@media(min-width:1400px){
 .device-detail-page [data-device=info-section] .device-info-pairs{grid-template-columns:130px minmax(0,1fr) 130px minmax(0,1fr);gap:12px}
 .device-detail-page [data-device=info-network] dl{grid-template-columns:130px minmax(0,1fr) 130px minmax(0,1fr);gap:18px 12px;font-size:15px}
}

@media(min-width:1051px){
 .device-detail-page .device-toolrail .device-tool-group{width:100%;min-width:0}
 .device-detail-page .device-toolrail .device-tool-button{width:100%;min-width:0;min-height:58px;height:58px}
 .device-detail-page .device-toolrail .device-tool-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:normal;max-width:100%;font-size:10px;line-height:13px}
}

/* Playback controls are distinct from operations on the phone itself. */
.device-detail-page .device-session-actions{margin-top:14px}
.device-detail-page .device-session-actions>.device-tool-button{display:flex;align-items:center;justify-content:center;width:100%;height:44px;gap:8px;border:1px solid #dce1e8;border-radius:6px;background:#fff;color:#172033}
.device-detail-page .device-session-actions .device-tool-label{position:static;visibility:visible;opacity:1;transform:none;background:transparent;color:inherit;box-shadow:none;border:0;padding:0;max-width:none;font-size:14px;white-space:normal}
.device-detail-page .device-viewer>[data-device=input-tools]{flex-direction:row;justify-content:center;flex-wrap:wrap;margin:8px 0;padding:0;border:0;gap:8px}
.device-detail-page .device-viewer>[data-device=input-tools] .device-tool-button{width:40px;height:36px;min-height:36px}
@media(min-width:1051px){
 .device-detail-page .device-remote{display:flex;flex-direction:column}
 .device-detail-page .device-remote>*{flex-shrink:0}
 .device-detail-page .device-session-actions{margin-top:auto;padding-top:12px}
 .device-detail-page .device-player-row{--player-max-height:500px;min-height:500px}
 .device-detail-page .device-viewer:not(:fullscreen):has(>[data-device=input-tools]:not([hidden])) .device-player-row{--player-max-height:460px;min-height:460px}
 .device-detail-page .device-session-limit{margin:4px 0}
 .device-detail-page .device-remote>.banner{margin-top:10px}
}

@media(min-width:1051px){
 .device-detail-page [data-device=info-section] .device-info-pairs>dt,.device-detail-page [data-device=info-section] .device-info-pairs>dd{padding-block:4px}
 .device-detail-page [data-device=info-refresh]{min-height:28px;padding:2px 4px;border-color:transparent;color:var(--brand)}
 .device-detail-page .device-session-actions>.device-tool-button>svg{display:none}
}

@media(min-width:1051px){.device-detail-page .device-remote{padding-bottom:14px}.device-detail-page .device-remote>.device-section-head{margin-bottom:12px}}

/* Larger desktop windows use their available height instead of a fixed small player. */
@media(min-width:1400px) and (min-height:1000px){
 .device-detail-page .device-layout{grid-template-columns:clamp(490px,34vw,640px) minmax(0,1fr)}
 .device-detail-page .device-remote{height:auto;min-height:max(720px,calc(100dvh - 220px))}
 .device-detail-page .device-inspector{height:auto;min-height:720px}
 .device-detail-page .device-player-row{max-height:clamp(500px,calc(100dvh - 440px),900px);min-height:clamp(500px,calc(100dvh - 440px),900px)}
 .device-detail-page .device-viewer:not(:fullscreen):has(>[data-device=input-tools]:not([hidden])) .device-player-row{max-height:clamp(460px,calc(100dvh - 480px),860px);min-height:clamp(460px,calc(100dvh - 480px),860px)}
 .device-detail-page .device-toolrail{max-height:none;align-self:stretch;padding-top:12px}
 .device-detail-page .device-info-rows,.device-detail-page .device-ops-status,.device-detail-page [data-device=info-network] dl{font-size:16px}
 .device-detail-page .device-detail-block{padding-block:28px}
 .device-detail-page h2{font-size:20px}
 .device-detail-page .device-overlay strong{font-size:20px}
 .device-detail-page .device-overlay p{font-size:15px;line-height:1.8}
}
.device-detail-page .device-viewer>[data-device=input-tools]:not([hidden]){display:flex}

.device-detail-page .device-viewer:fullscreen .device-player-row{max-height:none;min-height:0}

.device-detail-page .device-remote>.device-section-head>[data-device=connection]{margin:0;padding:0;border:0;background:transparent;font-size:12px;line-height:18px;max-width:66%;text-align:right;color:#64748b}
.device-detail-page .device-remote>.device-section-head{align-items:center}

/* Detail reference: readable player tools and a full-width disclosure row. */
@media(min-width:1051px){
 .device-detail-page .device-toolrail .device-tool-label{font-size:13px;line-height:18px}
 .device-detail-page .device-toolrail .device-tool-button>svg{width:24px;height:24px}
}
.device-info-more>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none}
.device-info-more>summary::-webkit-details-marker{display:none}
.device-info-more>summary::after{content:"";width:8px;height:8px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg);margin-right:8px;flex-shrink:0}
.device-info-more[open]>summary::after{transform:rotate(135deg)}
.device-info-more>summary:focus-visible{outline:2px solid var(--brand);outline-offset:4px;border-radius:2px}

/* The device state belongs beside its name; the identifier stays secondary. */
.device-detail-heading h1{display:flex;align-items:center;flex-wrap:nowrap;gap:12px}
.device-detail-name{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.device-detail-state{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;padding:4px 10px;border-radius:999px;font-size:14px;line-height:20px;font-weight:500;letter-spacing:0;background:#eef0f4;color:#64748b}
.device-detail-state::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
.device-detail-state[data-state=running]{background:#dcf5e6;color:#159447}
.device-detail-state[data-state=starting]{background:#fff4d6;color:#936200}
.device-detail-state[data-state=error],.device-detail-state[data-state=queryfail]{background:#fff0ed;color:#bb4435}
.device-detail-heading .page-head>div:first-child{min-width:0;flex:1}
@media(max-width:700px){.device-detail-heading h1{gap:8px}.device-detail-state{font-size:12px;line-height:18px;padding:3px 8px}}

/* Network summary follows the reference; the proxy panel retains full details. */
.device-network-summary>[data-device=info-proxy]{border-color:var(--brand);color:var(--brand)}
@media(min-width:1400px){
 .device-detail-page [data-device=info-section]>.device-network-summary{display:grid;grid-template-columns:130px minmax(0,1fr) 130px minmax(0,1fr);gap:18px 12px;align-items:center}
 .device-network-summary>.device-section-head{grid-column:1/-1;margin-bottom:10px}
 .device-network-summary>[data-device=info-network],.device-network-summary>[data-device=info-network]>dl{display:contents}
 .device-network-summary>[data-device=info-proxy]{grid-column:4;grid-row:3;justify-self:start}
 .device-detail-page .device-network-summary>.muted{grid-column:2/-1;margin:0}
}

/* Keep the tool stack anchored to the picture edge, including short desktops. */
@media(min-width:1051px){.device-detail-page .device-toolrail{align-self:flex-start;padding-top:1px}}

/* 群控面板：从机勾选列表 + 缓存截图预览。列表复用 .device-control-toggle 的勾选样式。 */
.device-group-list{display:flex;flex-direction:column;gap:8px;margin:12px 0 4px}
.device-group-row{font-size:13px}
.device-group-row.is-off{color:var(--muted)}
.device-group-row input:disabled+span{color:var(--muted)}
.device-group-previews{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:12px;margin-top:12px}
.device-group-preview{margin:0;min-width:0}
.device-group-preview img{display:block;width:100%;aspect-ratio:9/20;object-fit:cover;border-radius:4px;background:#f0f0ef;border:1px solid var(--line,#e5e5e3)}
.device-group-preview figcaption{font-size:12px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}

/* Fullscreen owns its height budget; normal workspace limits must not clip the stream. */
.device-detail-page .device-viewer:fullscreen{box-sizing:border-box;overflow:hidden}
.device-detail-page .device-viewer:fullscreen .device-player-row{padding-left:0;min-height:0;max-height:none}
.device-detail-page .device-viewer:fullscreen>[data-device=input-tools]{flex:none}

/* Operation-first workspace: settings are explicitly expanded. */
.device-detail-page .device-layout:has(>.device-inspector[hidden]){grid-template-columns:minmax(0,1fr)}
.device-detail-page .device-layout:has(>.device-inspector[hidden]) .device-player-row{padding-left:0;max-height:none;min-height:0;--player-max-height:900px}
.device-detail-page .device-layout:has(>.device-inspector[hidden]) .device-viewer:not(:fullscreen) .device-player-row{max-height:calc(100dvh - 260px);min-height:0}
.device-detail-page .device-layout:has(>.device-inspector[hidden]) .device-remote{min-height:0}
.device-detail-page [data-device=toggle-inspector]{margin-left:auto;flex:none}
@media(min-width:1051px){.device-detail-page .device-layout:has(>.device-inspector:not([hidden])){grid-template-columns:minmax(0,1fr) 340px}}

.content:has(.device-detail-page){padding-top:14px}
.device-detail-heading{height:auto;width:100%;margin-bottom:12px}
.device-detail-heading .page-head{margin-top:8px}
.device-detail-heading h1{font-size:24px}
.device-detail-heading .page-head p{margin-top:4px}
.device-detail-breadcrumb{font-size:13px}
.device-detail-page .device-inspector{margin-top:0}
.device-detail-page .device-layout:has(>.device-inspector[hidden]) .device-viewer:not(:fullscreen) .device-player-row{max-height:max(200px,calc(100dvh - 320px))}

/* Settings use one label/value pair per row, independent of browser width. */
.device-detail-page .device-inspector{min-width:0}
.device-detail-page [data-device=info-section] .device-info-rows,
.device-detail-page [data-device=info-section] .device-info-pairs,
.device-detail-page [data-device=info-network] dl,
.device-detail-page [data-device=info-section] .device-ops-status>div{grid-template-columns:88px minmax(0,1fr);gap:10px 12px;font-size:14px}
.device-detail-page [data-device=info-section] .device-info-rows>dd,
.device-detail-page [data-device=info-network] dd{min-width:0;overflow-wrap:anywhere}
.device-detail-page [data-device=info-section]>.device-network-summary{display:block}
.device-detail-page .device-network-summary>[data-device=info-network]{display:block}
.device-detail-page .device-network-summary>[data-device=info-network]>dl{display:grid;grid-template-columns:88px minmax(0,1fr)}
.device-detail-page .device-network-summary>[data-device=info-proxy]{margin:12px 0}
.device-detail-page .device-panel-tabs{padding-inline:12px;flex-wrap:wrap}
.device-detail-page .device-panel-tabs>button[data-device]{flex:1 1 auto;min-width:0;padding:12px 8px;font-size:14px}
.device-detail-page .device-panel-tabs>.device-advanced{margin-left:0}

/* Compact settings: keep advanced forms closed until requested. */
.device-detail-page .device-inspector{min-height:0;height:auto;align-self:start}
.device-detail-page [data-device=info-section]>.device-detail-block:nth-child(n){min-height:0;padding-block:18px}
.device-detail-page [data-device=info-section]>.device-settings-group{display:block}
.device-settings-group>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;font-size:15px;font-weight:600;line-height:24px}
.device-settings-group>summary::-webkit-details-marker{display:none}
.device-settings-group>summary::after{content:"";width:7px;height:7px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg);margin-right:4px;flex:none}
.device-settings-group[open]>summary::after{transform:rotate(135deg)}
.device-settings-group[open]>summary{margin-bottom:16px}
.device-settings-group>summary:focus-visible{outline:2px solid var(--brand);outline-offset:5px;border-radius:2px}
.device-detail-page .device-identity-block .device-proxy-fields{grid-template-columns:minmax(0,1fr)}
.device-detail-page .device-identity-block .device-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.device-detail-page .device-identity-block .device-toolbar .btn{min-width:0;white-space:normal}
.device-inspector-title{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;background:#fff;border-bottom:1px solid var(--line)}
.device-inspector-title .btn{font-size:22px;padding:2px 12px}
/* A device opens as an independent operator tab, without the site navigation. */
.shell.device-standalone{display:block;min-height:100dvh}
.device-standalone>.workspace{margin:0;min-width:0;width:100%}
.shell.device-standalone .content{max-width:none;width:100%;margin:0;padding:12px 24px 24px}
.device-standalone .device-detail-page{max-width:none;width:100%;margin:0}
.device-standalone .device-detail-heading{margin:0 0 10px}
.device-standalone .device-detail-heading .page-head{margin:6px 0 0;align-items:center}
.device-standalone .device-detail-heading h1{font-size:20px}
.device-standalone .device-detail-heading .page-head p{margin-top:2px;font-size:12px}
.device-standalone .device-detail-breadcrumb>span{display:none}
.device-standalone .device-detail-page .device-layout{grid-template-columns:minmax(0,1fr)}
.device-standalone .device-detail-page .device-remote{min-height:0;padding:12px 20px;background:#fff}
.device-standalone .device-detail-page .device-viewer:not(:fullscreen) .device-player-row{padding-left:0;min-height:0;max-height:max(180px,calc(100dvh - 320px));--player-max-height:1200px}
.device-standalone .device-inspector:not([hidden]){position:fixed;inset:12px 12px 12px auto;width:min(400px,calc(100vw - 24px));height:auto;max-height:calc(100dvh - 24px);z-index:60;overflow-y:auto;overscroll-behavior:contain;box-shadow:-12px 0 48px #18203326}
.device-standalone .device-inspector-title{position:sticky;top:0;z-index:3}
.device-standalone .device-panel-tabs{position:sticky;top:65px;background:#fff;z-index:2}
@media(max-width:700px){.shell.device-standalone .content{padding:10px 10px 24px}.device-standalone .device-detail-heading .page-head>.actions{width:auto}.device-standalone .device-detail-page .device-remote{padding:10px}.device-standalone .device-detail-heading h1{font-size:17px}}

.shell.device-standalone .device-detail-page .device-layout:has(>.device-inspector){grid-template-columns:minmax(0,1fr)}

.shell.device-standalone .device-detail-page .device-layout .device-viewer:not(:fullscreen) .device-player-row{max-height:max(180px,calc(100dvh - 350px));padding-left:0;min-height:0}
.device-standalone [data-connection-diagnostic]{font-size:12px;color:var(--muted);margin:8px 0 0}
.device-standalone .device-toolrail .device-tool-label{white-space:normal;overflow-wrap:normal;font-size:11px;line-height:15px}

/* Complete local operator workspace: one header, one optional settings drawer. */
.shell.device-standalone .content{padding:12px 16px}
.device-standalone .device-detail-page .device-remote{padding:0 18px 12px}
.device-standalone .operator-header{display:flex;gap:16px;min-height:64px;margin:0 0 10px;padding:10px 0;border-bottom:1px solid var(--line);flex-wrap:nowrap}
.operator-back{font-size:12px;white-space:nowrap;text-decoration:none}
.operator-device-title{min-width:0;flex:1}
.operator-device-title h1{display:flex;align-items:center;gap:10px;font-size:18px;margin:0;min-width:0}
.operator-device-title p{font-size:11px;color:var(--muted);margin:2px 0 0}
.device-standalone .operator-header>.actions{display:flex;gap:6px;flex:none}
.device-standalone .operator-header [data-device=toggle-inspector]{margin-left:0}
.device-standalone .operator-header [data-device=connection]{max-width:180px;text-align:left;font-size:11px}
.device-standalone .operator-header .btn{min-height:34px;font-size:12px;padding:6px 10px}
.shell.device-standalone .device-detail-page .device-layout .device-viewer:not(:fullscreen) .device-player-row{max-height:max(180px,calc(100dvh - 285px));gap:16px;--player-toolbar-space:80px}
.device-standalone .device-detail-page .device-toolrail{gap:4px;max-height:none;width:64px;flex-basis:64px}
.device-standalone .device-detail-page .device-toolrail .device-tool-button{height:auto;min-height:64px;width:60px;padding:8px 3px;gap:5px;flex-shrink:0}
.device-standalone .device-detail-page .device-toolrail .device-tool-label{display:block;flex:none;max-width:100%;height:auto;overflow:visible;-webkit-line-clamp:unset;font-size:11px;line-height:15px}
.device-standalone .device-detail-page .device-toolrail .device-tool-group{gap:4px}
.device-standalone .device-session-actions{margin:8px auto 0;max-width:220px}
.operator-session-note{text-align:center;font-size:11px;color:var(--muted);margin:6px 0}
.operator-lock-note{font-size:12px;color:#9a6700;text-align:center}
.device-standalone .device-inspector{isolation:isolate}
.device-standalone .device-inspector-title{min-height:56px;box-sizing:border-box}
.device-standalone .device-panel-tabs{top:56px;padding:0 8px!important;gap:0}
.device-standalone .device-panel-tabs>button[data-device]{flex:1 1 20%;font-size:13px!important;min-height:44px!important;padding:8px 5px!important;text-align:center}
.device-standalone .device-panel-tabs>.device-advanced{width:100%;border-top:1px solid var(--line);font-size:12px}
.device-standalone .device-panel-tabs>.device-advanced>summary{padding:8px 10px;text-align:right}
.device-standalone [data-device=identity-section]>.device-identity-block>summary{display:none}
.device-standalone [data-device=identity-section] .device-identity-block{border:0;padding-top:16px}
.device-standalone [data-device=identity-section] .device-proxy-fields{grid-template-columns:minmax(0,1fr)}
.device-standalone [data-device=identity-section] .device-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.operator-app-search{width:100%;margin:16px 0 12px}
.operator-market-link{margin:16px 0;width:100%;justify-content:center}
.device-standalone .device-inspector .device-ops-apps{max-height:none;overflow:visible}
.operator-proxy-actions{display:flex;gap:8px;padding:16px 0}
.operator-proxy-result{border:1px solid #c4b5fd;background:#f5f3ff;color:#4c1d95;padding:14px;border-radius:8px;margin:16px 0;line-height:1.6;overflow-wrap:anywhere}
.operator-proxy-result.tone-error{border-color:#fecaca;background:#fef2f2;color:#991b1b}
.operator-proxy-result.tone-warning{border-color:#fde68a;background:#fffbeb;color:#92400e}
.operator-proxy-dialog{width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 48px);box-sizing:border-box;padding:0 24px 24px;border:1px solid #e5e7eb;border-radius:14px;color:var(--ink);background:white;box-shadow:0 24px 80px #15203340;overflow:auto}
.operator-proxy-dialog::backdrop{background:#11182766}
.operator-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;position:sticky;top:0;background:#fff;z-index:2;border-bottom:1px solid var(--line)}
.operator-dialog-head h2{margin:0;font-size:18px}
.operator-proxy-dialog .device-proxy-fields{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:18px}
.operator-proxy-dialog .field{min-width:0}
.operator-proxy-dialog .device-toolbar{flex-wrap:wrap}
.operator-password-toggle{align-self:flex-end;font-size:12px;margin-top:6px}
@media(max-width:800px){.device-standalone .operator-header{gap:8px;flex-wrap:wrap}.operator-device-title{flex-basis:60%}.device-standalone .operator-header [data-device=connection]{margin-right:auto}.device-standalone .operator-header>.actions{margin-left:auto}.operator-back{width:100%}.shell.device-standalone .device-detail-page .device-layout .device-viewer:not(:fullscreen) .device-player-row{max-height:max(180px,calc(100dvh - 350px))}.operator-device-title h1{font-size:16px}.device-standalone .device-detail-page .device-remote{padding:0 10px 12px}.operator-proxy-dialog{padding:0 16px 16px}.operator-proxy-dialog .device-proxy-fields{grid-template-columns:minmax(0,1fr)}}

.device-inline-market{margin:16px 0}.device-market-filters{display:flex;flex-wrap:wrap;gap:8px}.device-market-filters input{min-width:0;flex:1}.device-market-cards{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr))}.device-market-card{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #e6e8ef;border-radius:8px}.device-market-card img{width:40px;height:40px;object-fit:contain;flex:none}.device-market-card>div{flex:1;min-width:0}.device-market-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#748095}.device-market-card button{flex:none}
/* Approved proxy workspace baseline: inline editing and a resizable split. */
.device-standalone .proxy-workspace .device-layout:has(>.device-inspector:not([hidden])){display:grid!important;grid-template-columns:minmax(0,var(--phone-share,45%)) minmax(0,1fr)!important;gap:0;position:relative;align-items:start}
.device-standalone .proxy-workspace .device-inspector:not([hidden]){position:sticky;inset:auto;top:12px;width:auto;max-height:calc(100dvh - 24px);height:calc(100dvh - 24px);border:0;border-left:1px solid #dce2ef;border-radius:0;box-shadow:none;overflow:auto;background:#fff}
.proxy-workspace .device-inspector-title{justify-content:flex-end;min-height:48px;padding:8px 24px}
.proxy-workspace .device-inspector-title>strong{display:none}
.proxy-workspace .device-inspector-title .btn{font-size:14px;padding:8px 16px}
.proxy-workspace .device-proxy{padding:28px 32px!important;border:0!important;border-radius:0!important;color:#11152b;font-size:15px}
.proxy-workspace .device-proxy h2{font-size:24px;line-height:32px;margin:0}
.proxy-workspace .device-proxy h3{font-size:21px;line-height:30px;margin:0}
.proxy-workspace .proxy-subtitle{color:#7380a3;margin:6px 0 28px}
.proxy-workspace .proxy-current-title{margin-bottom:16px!important}
.proxy-workspace .device-network{background:#faf8ff;border-radius:8px;padding:16px;margin-top:12px;overflow-wrap:anywhere}
.proxy-workspace .proxy-edit-title{display:flex;gap:24px;align-items:center;border-top:1px solid #dce2ef;padding-top:24px;margin:24px 0 18px}
.proxy-manual-pill{padding:8px 24px;background:var(--brand-soft);color:var(--brand);border-radius:6px;font-weight:600}
.proxy-workspace [data-device=proxy-fields]{display:grid;grid-template-columns:1.1fr 1.9fr 1fr;gap:20px 16px;border:0;padding:0;margin:0;min-width:0}
.proxy-workspace [data-device=proxy-fields] .field{min-width:0;position:relative;display:flex;flex-direction:column;gap:8px;color:#657293}
.proxy-workspace [data-device=proxy-fields] .field input,.proxy-workspace [data-device=proxy-fields] select{width:100%;height:46px;box-sizing:border-box;border:1px solid #dce2ef;border-radius:8px;background:#fff;padding:10px 12px;color:#11152b;font-size:15px}
.proxy-workspace [data-device=proxy-fields] .proxy-field-host{grid-column:auto}
.proxy-workspace [data-device=proxy-fields] .proxy-field-account{grid-column:1 / 3}
.proxy-workspace [data-device=proxy-fields] .proxy-field-password{grid-column:3}
.proxy-workspace [data-device=proxy-fields] .device-control-toggle{grid-column:1/-1;order:10}
.proxy-workspace .proxy-field-password input{padding-right:44px!important}
.proxy-eye{position:absolute;right:4px;bottom:4px;width:38px;height:38px;display:grid;place-items:center;border:0;background:transparent;color:#303457;cursor:pointer}
.nm-proxy-icon{width:22px;height:22px;fill:none;stroke:currentColor;flex:none}
.proxy-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.proxy-workspace .device-proxy .btn{min-height:42px;border-radius:8px;padding:9px 18px}
.proxy-workspace .device-proxy .primary{background:var(--brand);color:white}
.device-proxy-progress{display:flex;align-items:center;gap:12px;margin:14px 0;padding:14px 16px;border:1px solid #dcd2ff;border-radius:10px;background:#f7f3ff;color:#332357}
.device-proxy-progress[hidden]{display:none}
.device-proxy-progress-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.device-proxy-progress-copy strong{font-size:14px;line-height:1.4}
.device-proxy-progress-copy small{font-size:12px;color:#635782}
.device-proxy-progress-mark{width:20px;height:20px;flex:none;border:3px solid #d8c8ff;border-top-color:var(--brand);border-radius:50%;animation:device-proxy-spin .8s linear infinite}
.device-proxy-progress[data-phase=complete]{background:#f0fbf6;border-color:#b5e6cb;color:#135738}
.device-proxy-progress[data-phase=complete] .device-proxy-progress-mark{animation:none;border-color:#19a76b;background:#19a76b;box-shadow:inset 0 0 0 4px #f0fbf6}
.device-proxy-progress[data-phase=pending]{background:#fffbeb;border-color:#f3d88a;color:#775412}
.device-proxy-progress[data-phase=failed]{background:#fff3f1;border-color:#efc1b9;color:#963e35}
.device-proxy-progress[data-phase=pending] .device-proxy-progress-mark,.device-proxy-progress[data-phase=failed] .device-proxy-progress-mark{animation:none;border-color:currentColor;background:transparent}
@keyframes device-proxy-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.device-proxy-progress-mark{animation:none}}
.proxy-workspace .device-proxy .muted{font-size:13px;line-height:1.7;color:#7380a3}
.proxy-workspace .device-proxy :focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.proxy-resize{position:absolute;left:var(--phone-share,45%);top:45%;transform:translateX(-50%);z-index:70;cursor:col-resize;background:#f4f6fa;border-radius:5px;padding:8px 0;touch-action:none;color:#7380a3}
.proxy-workspace .device-layout:has(>.device-inspector[hidden])>.proxy-resize{display:none}
@media(max-width:1000px){.device-standalone .proxy-workspace .device-layout:has(>.device-inspector:not([hidden])){grid-template-columns:minmax(0,1fr)!important}.device-standalone .proxy-workspace .device-inspector:not([hidden]){position:relative;top:auto;height:auto;max-height:none;border-left:0;border-top:1px solid #dce2ef}.proxy-resize{display:none}.proxy-workspace .device-proxy{padding:24px!important}}
@media(max-width:600px){.proxy-workspace [data-device=proxy-fields]{grid-template-columns:minmax(0,1fr)!important}.proxy-workspace [data-device=proxy-fields] .field{grid-column:1!important}.proxy-workspace .proxy-edit-title{gap:12px}}
.proxy-workspace>.operator-header{display:flex;align-items:center;gap:18px;padding:16px 24px;border-bottom:1px solid #dce2ef;background:white;min-height:66px;box-sizing:border-box}
.proxy-workspace>.operator-header .operator-device-title{min-width:180px;flex:1}
.proxy-workspace>.operator-header .operator-device-title h1{font-size:20px;white-space:nowrap}
.proxy-workspace>.operator-header [data-device=connection]{max-width:260px;font-size:12px}
.proxy-workspace>.operator-header .actions{display:flex;gap:8px}
.proxy-workspace .proxy-auth-row{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:24px}
.proxy-workspace [data-device=proxy-fields] .proxy-auth-row .field{grid-column:auto}
.proxy-workspace .device-network dl{display:grid;grid-template-columns:110px minmax(0,1fr) 110px minmax(0,1fr);gap:12px 16px;margin:0}
.proxy-workspace .device-network dd{margin:0;min-width:0;overflow-wrap:anywhere}
.proxy-workspace .device-network dt{color:#7380a3;font-size:13px}
.proxy-workspace .device-proxy{padding-top:22px!important}
.proxy-workspace .proxy-subtitle{margin-bottom:20px}
.device-standalone .proxy-workspace .device-layout:has(>.device-inspector:not([hidden])) .device-remote{padding:16px!important;min-width:0}
.device-standalone .proxy-workspace .device-inspector:not([hidden]){height:calc(100dvh - 110px);max-height:calc(100dvh - 110px)}
.proxy-workspace .proxy-form-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:16px}
@media(max-width:1200px){.proxy-workspace .device-network dl{grid-template-columns:120px minmax(0,1fr)}}
@media(max-width:1000px){.device-standalone .proxy-workspace .device-inspector:not([hidden]){height:auto;max-height:none}.proxy-workspace>.operator-header{flex-wrap:wrap}}
@media(max-width:600px){.proxy-workspace .proxy-auth-row{grid-template-columns:1fr}}
.proxy-confirm-dialog{width:min(480px,calc(100vw - 32px));padding:28px;border:1px solid #dce2ef;border-radius:12px;background:#fff;color:#11152b;box-shadow:0 24px 80px #18203333}
.proxy-confirm-dialog::backdrop{background:#11152b55}
.proxy-confirm-dialog [data-device=proxy-confirm]{background:transparent;border:0;padding:0;font-size:16px;line-height:1.7}
.proxy-confirm-dialog .btn{margin-top:20px;min-height:42px;padding:8px 20px}
@media(min-width:1001px){
.shell.device-standalone:has(.proxy-workspace){height:100dvh;overflow:hidden}
.shell.device-standalone:has(.proxy-workspace) #page{height:100%;overflow:hidden;box-sizing:border-box}
.proxy-workspace{height:calc(100dvh - 40px);display:flex;flex-direction:column}
.proxy-workspace>.operator-header{flex:none}
.proxy-workspace>.device-layout{flex:1;min-height:0;overflow:hidden}
.device-standalone .proxy-workspace .device-inspector:not([hidden]){position:relative;top:0;height:100%;max-height:100%;box-sizing:border-box}
.device-standalone .proxy-workspace .device-remote{height:100%;overflow:auto;box-sizing:border-box}
.device-standalone .proxy-workspace .device-player-row{max-height:calc(100dvh - 370px)!important}
}
/* Layout contract v2: header / split workspace / fixed panel actions. */
.proxy-workspace{--workspace-header:66px;--workspace-tabs:64px;--workspace-footer:76px}
.proxy-workspace>.operator-header{height:var(--workspace-header);min-height:var(--workspace-header);padding:10px 24px;margin:0;gap:16px}
.proxy-workspace>.operator-header .operator-device-title h1{margin:0;font-size:20px;line-height:28px}
.proxy-workspace>.operator-header .operator-device-title .muted{font-size:12px}
.device-standalone .proxy-workspace .device-inspector:not([hidden]){display:flex;flex-direction:column;overflow:hidden;min-width:0}
.device-standalone .proxy-workspace .device-panel-tabs{position:relative;top:0;flex:none;min-height:var(--workspace-tabs);display:flex;align-items:center;padding:0 24px!important;gap:20px;border-bottom:1px solid #dce2ef;flex-wrap:nowrap;background:white}
.device-standalone .proxy-workspace .device-panel-tabs>button[data-device]{flex:0 1 auto;min-height:64px!important;padding:12px 8px!important;font-size:15px!important;white-space:nowrap}
.device-standalone .proxy-workspace .device-panel-tabs>[data-device=close-inspector]{margin-left:auto;min-height:36px!important;padding:6px 12px!important;font-size:13px!important}
.device-standalone .proxy-workspace .device-panel-tabs>.device-advanced{width:auto;border:0;margin-left:auto;white-space:nowrap}
.proxy-pane-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
.proxy-pane-footer{flex:none;min-height:var(--workspace-footer);padding:16px 32px;box-sizing:border-box;border-top:1px solid #dce2ef;background:#fff}
.proxy-pane-footer[hidden]{display:none}
.proxy-pane-footer .device-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:0}
.proxy-pane-footer .btn{min-height:44px;padding:10px 22px;border-radius:8px}
.proxy-pane-footer [data-device=proxy-clear]{order:-1;margin-right:auto}
.proxy-workspace .proxy-resize{top:50%}
@media(min-width:1001px){
.shell.device-standalone:has(.proxy-workspace) #page{padding:0!important}
.proxy-workspace{height:100dvh!important;max-height:100dvh}
.proxy-workspace>.device-layout{margin:0!important;gap:0!important}
.device-standalone .proxy-workspace .device-remote{border:0;border-radius:0;background:#f5f6fa;overflow:auto;padding:20px!important}
.device-standalone .proxy-workspace .device-player-row{height:calc(100dvh - 300px)!important;max-height:calc(100dvh - 300px)!important;min-height:0!important}
.device-standalone .proxy-workspace .device-viewer{min-height:0!important}
}
@media(max-width:1200px){.device-standalone .proxy-workspace .device-panel-tabs{gap:8px;padding:0 12px!important}.device-standalone .proxy-workspace .device-panel-tabs>button[data-device]{font-size:13px!important}}
@media(max-width:1000px){.proxy-workspace>.operator-header{height:auto}.proxy-pane-body{overflow:visible}.proxy-pane-footer{position:sticky;bottom:0}.device-standalone .proxy-workspace .device-inspector:not([hidden]){overflow:visible}.proxy-workspace .device-panel-tabs{flex-wrap:wrap!important}}
.proxy-pane-body>[hidden]{display:none!important}
@media(min-width:1001px){
.proxy-workspace>.device-layout{grid-template-rows:minmax(0,1fr)!important;height:calc(100dvh - 106px)!important;max-height:calc(100dvh - 106px)!important;flex:0 0 calc(100dvh - 106px)}
.device-standalone .proxy-workspace .device-inspector:not([hidden]){height:100%!important;min-height:0!important;max-height:100%!important}
.device-standalone .proxy-workspace .device-player-row{max-height:calc(100dvh - 340px)!important;height:calc(100dvh - 340px)!important}
}

.proxy-pane-body>[data-panel-active=false]{display:none!important}
@media(min-width:1001px){.proxy-workspace>.device-layout{height:calc(100dvh - 146px)!important;max-height:calc(100dvh - 146px)!important;flex-basis:calc(100dvh - 146px)}.device-standalone .proxy-workspace .device-player-row{height:calc(100dvh - 440px)!important;max-height:calc(100dvh - 440px)!important}}
/* Application workspace: approved 45/55 design, scoped away from global market. */
.proxy-workspace .am-panel{padding:24px!important;position:relative;min-width:0}
.am-panel:has(.am-heading)>[data-device="ops-apps-wrap"]{display:none!important}
.am-panel>[data-device="market-open"]{float:right;position:relative;z-index:1;padding:6px 10px;font-size:12px;min-height:32px;margin:0 0 12px 12px}
.am-panel .device-inline-market{border:0;margin:0;padding:0;background:transparent;clear:none}
.am-heading{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;margin:0 0 24px}
.am-heading h2{font-size:24px;line-height:32px;margin:0;color:#111827}.am-heading>span{font-size:13px;color:#71809b}
.am-toolbar{display:flex;gap:12px;clear:both;margin-bottom:18px}.am-search{display:flex;align-items:center;gap:10px;border:1px solid #dce2ed;border-radius:8px;padding:0 14px;flex:1;min-width:0;height:48px}.am-search>span{font-size:28px;color:#71809b}.am-search input.control{border:0!important;background:transparent;min-width:0;width:100%;box-shadow:none;padding:0;height:44px}
.am-switch{display:flex;flex-shrink:0;border:1px solid #e5e9f2;border-radius:8px;padding:3px}.am-switch button,.am-categories button{border:0;background:transparent;cursor:pointer;color:#24304a;font:inherit;padding:10px 16px;border-radius:6px}.am-switch button[aria-pressed="true"],.am-categories button[aria-pressed="true"]{background:#f0eaff;color:var(--brand);font-weight:600}
.am-body{display:grid;grid-template-columns:112px minmax(0,1fr);gap:12px}.am-categories{display:flex;flex-direction:column;gap:6px;background:#fafbfe;border-radius:10px;align-self:stretch}.am-categories button{text-align:left;min-height:48px;font-size:14px;padding:12px}.am-results{min-width:0;container-type:inline-size}
.am-panel .device-market-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.am-panel .device-market-card{display:flex;align-items:center;gap:12px;min-width:0;min-height:104px;padding:14px;border:1px solid #e5e9f2;border-radius:10px;background:white;box-shadow:none;margin:0}
.am-icon{width:64px;height:64px;flex:0 0 64px;display:grid;place-items:center;font-size:36px;color:#a7afbe}.am-panel .device-market-card img{width:64px;height:64px;object-fit:contain;border-radius:12px}.am-copy{min-width:0;flex:1}.am-copy strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px;line-height:24px;color:#111827}.am-copy small{display:block;font-size:12px;line-height:19px;color:#71809b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.am-actions{display:flex;flex-direction:column;align-items:center;gap:8px;flex:0 0 auto}.am-actions .btn{min-height:36px;min-width:68px;padding:5px 12px;border-color:#9764ff;color:var(--brand);background:white;border-radius:6px;font-size:13px}.am-installed{font-size:11px;background:#f2f7f4;color:#19844d;padding:3px 6px;border-radius:4px;white-space:nowrap}.am-pending{font-size:12px;color:var(--brand)}.am-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:24px;min-height:44px;font-size:13px;color:#71809b;flex-wrap:wrap}.am-status{margin:24px 0 0!important;padding:16px 20px;min-height:64px;background:var(--brand-soft);color:var(--brand-hover);border-radius:10px;font-size:13px;line-height:22px;overflow-wrap:anywhere}.am-empty{padding:48px 20px;color:#71809b;grid-column:1/-1;text-align:center}
@container (max-width:620px){.am-panel .device-market-cards{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1400px){.am-toolbar{flex-wrap:wrap}.am-search{flex-basis:100%}.am-panel .am-icon,.am-panel .device-market-card img{width:48px;height:48px}.am-icon{flex-basis:48px}}
@media(max-width:600px){.proxy-workspace .am-panel{padding:16px!important}.am-body{grid-template-columns:1fr}.am-categories{flex-direction:row;flex-wrap:wrap}.am-categories button{min-height:36px}.am-heading{gap:8px}.am-switch{width:100%}.am-switch button{flex:1}}
.am-panel button:focus-visible,.am-panel input:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.am-panel .device-market-card>.am-icon{flex:0 0 64px}.am-panel .device-market-card>.am-actions{flex:0 0 auto;position:relative}.am-panel .device-market-card>.am-copy{flex:1;min-width:0}.am-more{position:relative;font-size:12px}.am-more summary{cursor:pointer;list-style:none;color:#71809b;padding:2px 10px}.am-more>div{position:absolute;right:0;top:100%;width:120px;background:white;border:1px solid #e5e9f2;border-radius:8px;box-shadow:0 8px 24px #17233b1a;z-index:5;padding:6px}.am-more button{display:block;border:0;background:white;text-align:left;width:100%;padding:10px;font:inherit;cursor:pointer}.am-more button:hover{background:var(--brand-soft)}.am-more button[data-market-op="clean"]{color:#c24141}

/* App actions keep a keyboard-visible, 36px target. */
.am-more summary{min-width:36px;min-height:36px;display:grid;place-items:center;box-sizing:border-box}
.am-more summary:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
/* Standalone workspace consumes the viewport below its fixed header. */
@media(min-width:1001px){
  .shell.device-standalone:has(.proxy-workspace) #main{padding:0!important}
  .proxy-workspace>.device-layout{height:auto!important;max-height:none!important;flex:1 1 0!important}
}
@media(min-width:1001px){
  .shell.device-standalone:has(.proxy-workspace) #main{height:100dvh;max-height:100dvh;overflow:hidden;box-sizing:border-box}
}
@media(max-width:1000px){
  .shell.device-standalone:has(.proxy-workspace) #page{height:auto;overflow:visible}
  .proxy-workspace{height:auto!important;max-height:none}
  .proxy-workspace>.device-layout{height:auto!important;max-height:none!important;flex:0 0 auto;overflow:visible;grid-template-rows:auto!important}
  .device-standalone .proxy-workspace .device-inspector:not([hidden]){height:auto!important;max-height:none!important}
}
/* Current-phone cloud file picker. */
.df-panel{padding:24px!important;min-width:0}.df-heading,.df-records header{display:flex;justify-content:space-between;align-items:center;gap:16px}.df-heading h2{margin:0;font-size:24px;line-height:32px}.df-heading p{margin:6px 0 0;color:#71809b;font-size:13px}.df-heading .btn{white-space:nowrap}.df-target{display:flex;align-items:center;gap:12px;background:#f6f3ff;border:1px solid #e9e0ff;border-radius:10px;padding:16px;margin:24px 0}.df-target svg{color:var(--brand);flex:none}.df-target strong,.df-target span{display:block}.df-target span{margin-top:4px;font-size:12px;color:#71809b}.df-toolbar{display:flex;gap:12px}.df-toolbar input{width:100%;min-width:0;height:48px;border:1px solid #dce2ed;border-radius:8px;padding:0 14px;font:inherit}.df-categories{display:flex;gap:6px;flex-wrap:wrap;margin:18px 0}.df-categories button{border:0;background:transparent;padding:10px 16px;border-radius:6px;font:inherit;cursor:pointer}.df-categories button[aria-pressed=true]{background:#f0eaff;color:var(--brand);font-weight:600}.df-notice{font-size:13px;line-height:22px;color:#63708a;min-height:22px}.df-file-list{border:1px solid #e5e9f2;border-radius:10px;overflow:hidden}.df-file{display:flex;align-items:center;gap:14px;padding:14px 16px;min-height:78px;border-bottom:1px solid #edf0f6;cursor:pointer}.df-file:last-child{border-bottom:0}.df-file:has(input:checked){background:#faf7ff}.df-file input{accent-color:var(--brand);width:16px;height:16px;flex:none}.df-file-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#f1edff;color:var(--brand);flex:none}.df-file-icon[data-kind=image]{background:#eef7f1;color:#24825b}.df-file-icon[data-kind=video]{background:#fff2e8;color:#bd7135}.df-file-copy{flex:1;min-width:0}.df-file-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.df-file-copy small,.df-file time{font-size:12px;color:#71809b}.df-file-copy small{display:block;margin-top:6px}.df-sendbar,.df-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:18px 0;font-size:13px}.df-sendbar{border-top:1px solid #e5e9f2;margin-top:16px}.df-sendbar>span{margin-right:auto;color:#71809b}.df-records{margin-top:12px}.df-records h3{font-size:16px;margin:0}.df-records>div>p,.df-empty{color:#71809b;font-size:13px;padding:24px 0}.df-record{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #edf0f6;font-size:13px}.df-record>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.df-record strong{flex:none;font-weight:500;color:#71809b}.df-record [data-status=success]{color:#19844d}.df-record [data-status=failed]{color:#bd3d3d}.df-panel :focus-visible{outline:2px solid var(--brand);outline-offset:3px}.df-dialog{border:1px solid #e5e9f2;border-radius:14px;padding:24px;width:460px;max-width:calc(100vw - 32px);box-sizing:border-box}.df-dialog::backdrop{background:#18203855}.df-dialog h2{font-size:20px}.df-dialog p,.df-dialog li{font-size:14px;overflow-wrap:anywhere}.df-dialog ul{max-height:240px;overflow:auto}.df-dialog footer{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}@media(max-width:600px){.df-panel{padding:16px!important}.df-heading{align-items:flex-start;flex-direction:column}.df-file time{display:none}.df-file{gap:10px;padding:12px}.df-target span{line-height:20px}}
/* Shared detail chrome aligned with the approved proxy layout. */
.operator-brand{display:flex;align-items:center;flex:none;text-decoration:none;font-size:25px;font-weight:750;letter-spacing:-1.1px;color:#0e1020;border-left:1px solid #e5e9f2;border-right:1px solid #e5e9f2;padding:0 24px;line-height:26px}.operator-brand span:last-child{color:var(--brand)}.proxy-workspace .operator-back{font-size:15px;background:#f7f8fc;border-radius:8px;padding:10px 14px;color:#17213b}.proxy-workspace .operator-back::before{content:'‹';font-size:22px;margin-right:10px;vertical-align:-1px}.proxy-workspace>.operator-header .operator-device-title{display:flex;align-items:center;gap:16px;min-width:0}.proxy-workspace>.operator-header .operator-device-title h1{font-size:20px}.proxy-workspace>.operator-header .operator-device-title p{font-size:14px;white-space:nowrap}.proxy-workspace>.operator-header .btn{font-size:14px;min-height:40px;padding:8px 16px}.device-standalone .proxy-workspace .device-panel-tabs>button[data-device]{font-size:18px!important;padding:12px 18px!important}.device-standalone .proxy-workspace .device-panel-tabs>[data-device=close-inspector]{font-size:14px!important;border:1px solid #e0e5ef;border-radius:8px;background:#fafbfe;min-height:40px!important}.proxy-workspace .df-heading p{font-size:14px;line-height:22px}.df-fixed-footer{display:none;flex:none;background:white;padding:16px 24px;margin:0;min-height:76px;box-sizing:border-box;border-top:1px solid #dce2ef}.device-inspector:has([data-device-panel=files][data-panel-active=true])>.df-fixed-footer{display:flex}.df-fixed-footer .btn{height:44px;min-width:176px;border-radius:8px;font-size:15px}.df-fixed-footer>span{font-size:14px}.df-panel{padding-bottom:24px!important}
@media(min-width:1001px){.device-standalone .proxy-workspace .device-player-row{height:calc(100dvh - 245px)!important;max-height:calc(100dvh - 245px)!important}.proxy-workspace .device-tool-button{min-width:64px;min-height:70px;border:1px solid #e0e5ef;border-radius:10px;background:#fff}.proxy-workspace .device-tool-label{font-size:14px}.proxy-workspace .device-tool-button svg{width:26px;height:26px}}
@media(max-width:1400px){.operator-brand{font-size:22px;padding:0 12px}.proxy-workspace>.operator-header [data-device=connection]{max-width:155px}.proxy-workspace>.operator-header .operator-device-title{gap:8px}.proxy-workspace>.operator-header .btn{padding:8px 10px}}
@media(max-width:1000px){.operator-brand{border:0;padding:0 12px}.proxy-workspace .operator-back{width:auto}.proxy-workspace>.operator-header .operator-device-title{flex:1;min-width:180px}.df-fixed-footer{position:sticky;bottom:0;z-index:5}.device-standalone .proxy-workspace .device-panel-tabs>button[data-device]{font-size:15px!important;padding:10px!important}}

.operator-brand img{width:126px;height:26px;object-fit:contain}
@media(min-width:1001px){body:has(#toc-fixture-banner) .proxy-workspace{height:calc(100dvh - 32px)!important}.device-standalone .proxy-workspace .device-player-row{height:calc(100dvh - 310px)!important;max-height:calc(100dvh - 310px)!important}}
@media(max-width:1000px){body:has(#toc-fixture-banner) .df-fixed-footer{bottom:32px}}

/* Device information uses the shared workspace pane. */
.proxy-workspace .device-info-overview{padding:0}.device-info-overview .device-section-head{align-items:flex-start;gap:16px}.device-info-overview h2{font-size:24px;margin:0 0 8px}.device-info-overview .device-info-pairs{display:grid;grid-template-columns:140px minmax(0,1fr);gap:0;margin:24px 0}.device-info-overview .device-info-pairs dt,.device-info-overview .device-info-pairs dd{margin:0;padding:18px 0;border-bottom:1px solid #edf0f6;overflow-wrap:anywhere}.device-info-overview dt{color:#65718b}.device-info-id{display:flex;align-items:center;gap:16px}.device-info-id .btn{padding:4px 12px;min-height:32px}.device-info-overview [data-device=info-note]:empty{display:none}@media(max-width:600px){.device-info-overview .device-info-pairs{grid-template-columns:100px minmax(0,1fr)}.device-info-overview .device-section-head{flex-wrap:wrap}}

.proxy-workspace [data-device-panel="info"]{padding:24px 32px!important}.proxy-workspace .device-info-overview .device-info-pairs{grid-template-columns:140px minmax(0,1fr);gap:0}.proxy-workspace .device-info-overview .device-info-pairs dt,.proxy-workspace .device-info-overview .device-info-pairs dd{padding:18px 0;border-bottom:1px solid #edf0f6}@media(max-width:600px){.proxy-workspace [data-device-panel="info"]{padding:20px!important}.proxy-workspace .device-info-overview .device-info-pairs{grid-template-columns:100px minmax(0,1fr)}}

.proxy-current-summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:14px 18px;background:var(--brand-soft);border-radius:10px;margin-bottom:18px;overflow-wrap:anywhere}.proxy-protocol,.proxy-state{font-size:13px;border-radius:20px;padding:4px 10px;background:#fff;color:#5f6483}.proxy-state[data-tone=success]{background:#e4f7ec;color:#078545}.proxy-draft-test{display:flex;justify-content:flex-end;margin:16px 0}.proxy-footer-warning{margin:0 0 12px;padding:10px 14px;background:#fff6e7;color:#a65b00;border-radius:8px;font-size:13px}.proxy-pane-footer [data-device=proxy-clear]{margin-right:auto}.proxy-pane-footer .device-toolbar{display:flex;align-items:center;gap:12px}.proxy-pane-footer [data-device=proxy-cancel]{margin-left:auto}.proxy-workspace .proxy-pane-footer{min-height:76px;height:auto;flex-shrink:0}

/* The device workspace navigation contains only the primary tabs. */
.proxy-workspace .device-panel-tabs > .device-advanced{display:none!important}

/* Screenshot reference: edge-to-edge stream / slim tool rail / white information pane. */
.reference-workspace>.operator-header{display:none!important}
.reference-workspace .proxy-resize{display:none!important}
.reference-workspace .device-panel-tabs>[data-device=close-inspector]{display:none!important}
.reference-workspace .reference-back{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:8px;margin-left:auto!important;min-height:40px;box-sizing:border-box;width:auto;background:#f7f8fc!important;border:1px solid #e0e5ef;border-radius:8px;font-size:14px!important;font-weight:500;line-height:20px;padding:9px 14px!important;color:#44506a!important;white-space:nowrap;text-decoration:none;transition:background-color .15s,border-color .15s,color .15s}
.reference-workspace .reference-back::before{content:'‹';font-size:24px;line-height:20px;margin:0;vertical-align:baseline}
.reference-workspace .reference-back:hover{background:var(--brand-soft)!important;border-color:var(--brand-border);color:var(--brand)!important}
.reference-workspace .reference-back:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
.reference-workspace .reference-back:active{background:var(--brand-soft)!important;color:var(--brand)!important}
@media(prefers-reduced-motion:reduce){.reference-workspace .reference-back{transition:none}}
.reference-workspace .device-panel-tabs{height:60px!important;min-height:60px!important;padding:0 32px!important;gap:28px!important;border-bottom:1px solid #eceef0!important}
.reference-workspace .device-panel-tabs>button[data-device]{font-size:14px!important;font-weight:500!important;padding:18px 0!important;border-radius:0!important}
.device-standalone .reference-workspace .device-panel-tabs>button[role=tab]{position:relative;align-self:stretch;height:100%;min-height:0!important;box-sizing:border-box;border:0!important;background:transparent!important;box-shadow:none;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.reference-workspace .device-panel-tabs>button[role=tab]::after{content:'';position:absolute;bottom:0;left:18px;right:18px;height:2px;background:transparent;border-radius:2px 2px 0 0}
.reference-workspace .device-panel-tabs>button[aria-selected=true]{color:var(--brand)!important}
.reference-workspace .device-panel-tabs>button[role=tab][aria-selected=true]::after{background:var(--brand)}
.reference-workspace .proxy-pane-body{background:#fff}
.reference-workspace [data-device-panel=info]{padding:36px 40px!important}
.reference-workspace .device-info-overview h2{font-size:18px;margin:0 0 28px}
.reference-workspace .device-info-overview .device-section-head p{display:none}
.reference-workspace .device-info-overview .device-info-pairs{grid-template-columns:180px minmax(0,1fr);margin:0}
.reference-workspace .device-info-overview .device-info-pairs dt,.reference-workspace .device-info-overview .device-info-pairs dd{border:0;padding:14px 0;font-size:14px;line-height:22px}
.reference-workspace .device-info-overview .device-info-pairs dt{color:#303437}
.reference-workspace .device-info-overview .device-info-pairs dd{text-align:right;color:#9297a0;justify-content:flex-end}
.reference-workspace .device-info-id .btn{font-size:11px;background:none;border:0;color:var(--brand)}
.reference-workspace .device-detail-block{border-bottom:1px solid #eceef0;padding-bottom:28px;margin-bottom:28px}
.reference-session-options{padding:20px 0;color:#6c737b;font-size:13px}.reference-session-options>summary{cursor:pointer;font-weight:600;margin-bottom:16px}
@media(min-width:1001px){
#device-mount.reference-workspace{height:100dvh!important;max-height:100dvh!important}
#device-mount.reference-workspace>.device-layout{display:grid!important;grid-template-columns:minmax(360px,40%) minmax(0,1fr)!important;height:100%!important;max-height:100%!important;flex:1 1 auto!important;gap:0!important}
#device-mount.reference-workspace .device-remote{padding:0!important;overflow:hidden!important;background:#000!important;min-height:0!important;height:100%!important}
#device-mount.reference-workspace .device-viewer{width:100%!important;height:100%!important;max-width:none!important;display:flex!important;flex-direction:column!important;margin:0!important;padding:0!important}
#device-mount.reference-workspace .device-player-row{display:flex!important;flex:1!important;width:100%!important;height:calc(100% - 48px)!important;max-height:none!important;min-height:0!important;padding:0!important;gap:0!important;--player-max-height:calc(100dvh - 48px);--player-toolbar-space:56px}
#device-mount.reference-workspace .device-stage{flex:1!important;width:calc(100% - 56px)!important;max-width:none!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;border:0!important;border-radius:0!important;background:#000!important}
#device-mount.reference-workspace .device-screen{width:100%!important;height:100%!important;border:0!important;border-radius:0!important;background:#000!important}
#device-mount.reference-workspace .device-toolrail{width:56px!important;flex:0 0 56px!important;height:100%!important;max-height:none!important;background:#f5f5f5!important;padding:10px 0!important;margin:0!important;overflow-y:auto!important;border-radius:0!important}
#device-mount.reference-workspace .device-tool-group{gap:4px!important}
#device-mount.reference-workspace .device-tool-button{width:56px!important;min-width:56px!important;height:44px!important;min-height:44px!important;background:transparent!important;border:0!important;border-radius:0!important;color:#454b4c!important}
.reference-workspace .device-toolrail .device-tool-label{display:none!important}
.reference-workspace .device-toolrail svg{width:20px!important;height:20px!important}
.reference-workspace [data-device=input-tools]{flex:0 0 48px!important;margin:0!important;padding:0 56px 0 0!important;min-height:48px!important;background:#fff!important;justify-content:space-around!important;gap:0!important}
.reference-workspace .device-inspector{border:0!important;border-radius:0!important}
body:has(#toc-fixture-banner) .reference-workspace{height:calc(100dvh - 32px)!important}
}
@media(max-width:1000px){.reference-workspace .device-panel-tabs{gap:16px!important;padding:0 16px!important}.reference-workspace [data-device-panel=info]{padding:24px 20px!important}.reference-workspace .device-info-overview .device-info-pairs{grid-template-columns:110px minmax(0,1fr)}}

.reference-workspace .device-overlay{background:#080909!important;color:#fff!important}.reference-workspace .device-overlay p,.reference-workspace .device-overlay-help{color:#a6acad!important}.reference-workspace .device-info-overview .device-info-pairs dt,.reference-workspace .device-info-overview .device-info-pairs dd{padding:10px 0!important}

@media(min-width:1001px){#device-mount.reference-workspace .device-player-row{flex-direction:row!important;align-items:stretch!important;justify-content:flex-start!important}#device-mount.reference-workspace .device-stage{margin:0!important;flex:1 1 0!important;min-width:0!important}#device-mount.reference-workspace .device-toolrail{align-self:stretch!important;min-width:56px!important;max-width:56px!important}}
.reference-workspace .device-overlay .btn{color:#263334!important}

/* Keep the desktop column and frame aligned with the decoded video aspect ratio. */
@media (min-width:1001px){
  #device-mount.reference-workspace > .device-layout{grid-template-columns:min(60%,calc((100dvh - 48px)*.5625 + 56px)) minmax(0,1fr)!important}
  #device-mount.reference-workspace .device-stage{height:var(--reference-screen-height,100%)!important;align-self:flex-start!important}
}

/* In-device cloud files: upload and browse without leaving the phone. */
.df-workspace{display:grid;grid-template-columns:200px minmax(0,1fr);gap:24px;margin-top:24px;min-height:480px}
.df-sidebar{display:flex;flex-direction:column;border-right:1px solid #e6e9eb;padding-right:24px;min-width:0}
.df-sidebar>[data-df-upload]{width:100%;background:var(--brand);border-color:var(--brand);color:white;min-height:44px}
.df-upload-help{font-size:11px;line-height:1.8;color:#88939b;margin:12px 0}
.df-sidebar .df-categories{display:flex;flex-direction:column;gap:4px;margin:20px 0}
.df-sidebar .df-categories button{text-align:left;min-height:44px}
.df-sidebar .df-categories button[aria-pressed=true]{background:var(--brand-soft);color:var(--brand)}
.df-quota{margin-top:auto;padding:18px 14px;background:var(--brand-soft);border-radius:8px;font-size:13px;color:#42595a}
.df-quota progress,.df-upload-row progress{width:100%;accent-color:var(--brand);height:6px}
.df-main{min-width:0}.df-main .df-toolbar input{height:40px}.df-main .df-empty{min-height:220px;display:grid;place-items:center}
.df-upload-row{padding:10px 0;border-bottom:1px solid #e6e9eb;font-size:12px;overflow-wrap:anywhere}
.df-upload-row strong,.df-upload-row span{display:block;margin-bottom:6px}.df-upload-row span{color:#63708a}.df-upload-row .btn{padding:4px 8px}
.reference-workspace .df-heading{display:none}.reference-workspace .df-target{margin:0;background:#f8fafa;border-color:#edf0f0;padding:10px 14px}.reference-workspace .df-target svg{color:var(--brand)}
@media(max-width:1200px){.df-workspace{grid-template-columns:160px minmax(0,1fr);gap:16px}.df-sidebar{padding-right:16px}}
@media(max-width:650px){.df-workspace{grid-template-columns:1fr}.df-sidebar{border-right:0;padding-right:0}.df-sidebar .df-categories{flex-direction:row;flex-wrap:wrap;margin:8px 0}.df-quota{margin-top:12px}.df-main .df-empty{min-height:140px}}

/* Device actions stay reachable across inspector tabs, separated from viewer tools. */
#device-mount .device-toolrail .device-power-trigger{margin-top:auto!important;border-top:1px solid #e2e6e7!important;flex-shrink:0}
.device-power-trigger img{display:block;width:20px;height:20px}
.device-power-popover{position:fixed;inset:auto;margin:0;padding:8px;width:224px;max-width:calc(100vw - 16px);box-sizing:border-box;border:1px solid #e3e8e9;border-radius:10px;background:#fff;color:#17213b;box-shadow:0 8px 32px #14222d24;z-index:100}
.device-power-title{display:block;padding:8px 12px;font-size:13px;color:#738088;font-weight:500}
.device-power-popover .btn{display:block;width:100%;min-height:42px;text-align:left;border:0;background:transparent;border-radius:6px;padding:10px 12px;margin:0;font-size:14px}
.device-power-popover .btn:hover{background:#f1f6f5}
.device-power-popover .btn[hidden],.device-power-danger[hidden]{display:none!important}
.device-power-regular .btn{color:#27373b}
.device-power-danger{border-top:1px solid #e9eded;margin-top:6px;padding-top:6px}
.device-power-danger .btn{color:#c43c3c}
.device-power-popover :focus-visible{outline:2px solid var(--brand);outline-offset:-2px}

#device-mount.reference-workspace .device-toolrail{justify-content:flex-start!important;gap:8px!important}
#device-mount.reference-workspace .device-toolrail .device-tool-group{flex:0 0 auto!important;margin:0!important}
.device-power-note{font-size:12px;line-height:1.6;padding:0 12px;max-height:120px;overflow:auto;overflow-wrap:anywhere}
.device-power-note:empty{display:none}

/* Identity settings: aligned fields with their own explicit actions. */
#device-mount [data-device=identity-section]{padding:32px 36px;max-width:1100px;margin:0 auto;width:100%;box-sizing:border-box}
#device-mount .identity-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
#device-mount .identity-page-heading h2{font-size:22px;margin:0 0 8px;color:#14202b}
#device-mount .identity-page-heading p,#device-mount .identity-help{font-size:13px;line-height:1.7;color:#74818d;margin:0}
#device-mount .identity-page-heading+.device-section-head{display:none}
#device-mount .device-identity-block>p.muted:not([data-device=identity-note]){padding:14px 16px;background:var(--brand-soft);border-left:3px solid var(--brand);font-size:12px;line-height:1.8;color:#61717b}
#device-mount .identity-group{padding:26px 0;border-bottom:1px solid #e8edf0}
#device-mount .identity-group h3{font-size:16px;margin:0 0 6px;color:#14202b}
#device-mount .identity-row{display:grid;grid-template-columns:minmax(0,1fr) 136px;align-items:end;gap:20px;margin-top:20px;max-width:760px}
#device-mount .identity-row .field{display:flex;flex-direction:column;gap:9px;margin:0;font-size:13px;color:#42525d}
#device-mount .identity-row select{width:100%;height:42px;padding:0 12px;border:1px solid #dce4e9;border-radius:6px;background:#fff;color:#14202b;min-width:0}
#device-mount .identity-row select:disabled{background:#f6f8fa;color:#8a959f}
#device-mount .identity-row .btn{height:42px;border:1px solid var(--brand-border);color:var(--brand);background:#fff;border-radius:6px}
#device-mount .identity-row .btn:disabled{opacity:.45;cursor:not-allowed}
#device-mount .identity-row select:focus-visible,#device-mount .identity-row .btn:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
#device-mount [data-device=identity-note]:not(:empty){padding:14px 16px;background:var(--brand-soft);border-radius:6px;line-height:1.7;color:var(--brand-ink);margin-top:20px}
@media(max-width:900px){#device-mount [data-device=identity-section]{padding:22px 18px}#device-mount .identity-row{grid-template-columns:minmax(0,1fr);gap:10px}#device-mount .identity-row .btn{justify-self:start;min-width:136px}#device-mount .identity-page-heading{align-items:flex-start}}

#device-mount .identity-sync-card{margin-top:24px;padding:18px 20px;background:var(--brand-soft);border:1px solid var(--brand-border);border-radius:8px;font-size:13px;line-height:1.7;color:var(--brand-ink)}
#device-mount .identity-sync-card strong{color:var(--brand-ink);font-size:14px}
#device-mount .identity-sync-card p{margin:8px 0}

#device-mount .am-loading{display:flex;align-items:center;gap:10px;padding:24px 0;color:#6b7b85;font-size:14px}
#device-mount .am-loading-spinner{width:16px;height:16px;border:2px solid var(--brand-border);border-top-color:var(--brand);border-radius:50%;animation:am-spin .8s linear infinite}
#device-mount .am-skeleton-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#device-mount .am-skeleton-card{display:flex;gap:16px;padding:24px;border:1px solid #edf0f2;border-radius:8px;min-height:96px}
#device-mount .am-skeleton-card i,#device-mount .am-skeleton-card b{display:block;background:linear-gradient(100deg,#f0f3f5 20%,#fafcfc 45%,#f0f3f5 70%);background-size:220% 100%;animation:am-shimmer 1.5s ease-in-out infinite;border-radius:6px}
#device-mount .am-skeleton-card i{width:48px;height:48px;flex-shrink:0}
#device-mount .am-skeleton-card div{flex:1}
#device-mount .am-skeleton-card b{height:12px;margin-bottom:12px;width:85%}
#device-mount .am-skeleton-card b:last-child{width:45%}
#device-mount [data-device=market][aria-busy=true] .am-status{color:var(--brand);animation:am-pulse 1.4s ease-in-out infinite}
@keyframes am-spin{to{transform:rotate(360deg)}}
@keyframes am-shimmer{to{background-position:-220% 0}}
@keyframes am-pulse{50%{opacity:.55}}
@media(prefers-reduced-motion:reduce){#device-mount .am-loading-spinner,#device-mount .am-skeleton-card i,#device-mount .am-skeleton-card b,#device-mount [data-device=market] .am-status{animation:none!important}}
@media(max-width:900px){#device-mount .am-skeleton-grid{grid-template-columns:1fr}}

#device-mount .proxy-workspace [data-device=proxy-fields],#device-mount.proxy-workspace [data-device=proxy-fields]{display:flex;flex-direction:column;gap:18px}
#device-mount.proxy-workspace .proxy-auth-row{display:contents}
#device-mount.proxy-workspace [data-device=proxy-fields] label.field{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center;gap:16px;width:100%;position:relative}
#device-mount.proxy-workspace [data-device=proxy-fields] input,#device-mount.proxy-workspace [data-device=proxy-fields] select{height:42px;width:100%;box-sizing:border-box;border-radius:6px}
#device-mount.proxy-workspace .proxy-probe-help{font-size:12px;color:#74818d;line-height:1.7;margin:18px 0 10px}
#device-mount.proxy-workspace .proxy-draft-test{display:flex;justify-content:flex-start;padding-left:136px;margin:18px 0}
#device-mount.proxy-workspace .proxy-draft-test .btn{color:var(--brand);border-color:var(--brand-border);background:var(--brand-soft);min-width:120px}
@media(max-width:900px){#device-mount.proxy-workspace [data-device=proxy-fields] label.field{grid-template-columns:1fr;gap:8px}#device-mount.proxy-workspace .proxy-draft-test{padding-left:0}}

#device-mount .identity-mode-switch{display:inline-flex;gap:4px;background:#f4f5f8;padding:4px;border-radius:7px;margin:16px 0 12px}
#device-mount .identity-mode-switch button{border:0;background:transparent;color:#73818c;font-size:14px;padding:10px 18px;border-radius:5px;cursor:pointer}
#device-mount .identity-mode-switch button[aria-pressed=true]{background:#fff;color:var(--brand);box-shadow:0 1px 4px #18352b0d}
#device-mount .identity-mode-switch button:disabled{color:#aab3bd;cursor:not-allowed}
#device-mount .identity-mode-switch button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
#device-mount .identity-location .identity-help{max-width:640px}

/* Device metadata uses a static workspace shell; only the player animates loading. */
.device-opening-shell{display:grid;grid-template-columns:min(60vw,calc((100dvh - 48px)*.5625 + 56px)) minmax(0,1fr);height:100dvh;background:#fff}
.device-opening-screen{display:grid;place-items:center;background:#101318;border-right:56px solid #f5f6f7;color:#9ca9b5;font-size:14px}
.device-opening-settings{padding:32px}
.device-opening-settings div{height:14px;max-width:420px;background:#f3f5f6;border-radius:4px;margin:24px 0}
.device-opening-settings div:first-child{height:34px;max-width:none;border-bottom:1px solid #e8edef;background:transparent}
@media(max-width:700px){.device-opening-shell{grid-template-columns:1fr}.device-opening-settings{display:none}}

/* Location fields form a pair; actions have their own breathing room. */
#device-mount .identity-location .identity-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
#device-mount .identity-location>.actions{margin-top:18px;gap:12px}
#device-mount .identity-location>.identity-help{margin-top:10px}
@media(max-width:700px){#device-mount .identity-location .identity-row{grid-template-columns:minmax(0,1fr);gap:14px}}

/* Connection settings belong to the inspector, not the centered player toolbar. */
.reference-workspace .reference-session-options{margin-top:24px;padding:0;border:1px solid #e3e7ef;border-radius:10px;text-align:left;color:#44506a;overflow:hidden}
.reference-workspace .reference-session-options>summary{padding:18px 20px;margin:0;font-size:15px;line-height:22px;color:#17213b;background:#f8f9fc}
.reference-workspace .reference-session-options[open]>summary{border-bottom:1px solid #e3e7ef;margin-bottom:4px}
.reference-workspace .reference-session-options>.device-modebar{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:12px 16px;margin:0;padding:18px 20px;border-bottom:1px solid #edf0f5;text-align:left}
.reference-workspace .reference-session-options .device-control-toggle{font-size:14px;font-weight:500;color:#17213b;gap:10px}
.reference-workspace .reference-session-options .device-modebar>.muted{flex-basis:100%;font-size:13px;line-height:1.7;margin:0}
.reference-workspace .reference-session-options [data-device=renew-session]{min-height:36px;padding:7px 14px;margin-left:auto;flex:none}
.reference-workspace .reference-session-options>.device-quality-brief{margin:0;padding:16px 20px 8px;text-align:left;font-size:13px;line-height:1.7}
.reference-workspace .reference-session-options>.device-diagnostics,.reference-workspace .reference-session-options>.device-session-help{margin:0;padding:12px 20px;text-align:left;font-size:13px;line-height:1.7}
.reference-workspace .reference-session-options>.device-session-actions{display:flex;justify-content:flex-start;margin:12px 20px 0;padding-top:18px;border-top:1px solid #edf0f5}
.reference-workspace .reference-session-options [data-device=disconnect]{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;width:auto!important;min-width:112px!important;height:40px!important;min-height:40px!important;padding:8px 14px!important;white-space:nowrap;border:1px solid #e0e5ef;border-radius:7px;background:#fff;font-size:14px}
.reference-workspace .reference-session-options>.operator-session-note{margin:10px 20px 20px;text-align:left;font-size:12px;line-height:1.7}

.reference-workspace .reference-session-options>details>summary{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:40px;box-sizing:border-box;padding:8px 10px;text-align:left;list-style:none;cursor:pointer;border-radius:6px;font-size:13px;line-height:20px;color:#44506a}
.reference-workspace .reference-session-options>details>summary::-webkit-details-marker{display:none}
.reference-workspace .reference-session-options>details>summary::before{content:'';display:block;flex:0 0 6px;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);margin-right:2px}
.reference-workspace .reference-session-options>details[open]>summary::before{transform:rotate(45deg)}
.reference-workspace .reference-session-options>details>summary:hover{background:var(--brand-soft);color:var(--brand)}
.reference-workspace .reference-session-options>details>summary:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.reference-workspace .reference-session-options>details>p{margin:8px 0 0;padding-left:28px;line-height:1.7}

#device-mount .identity-caution{margin:18px 0;padding:12px 16px;border:1px solid #f0d7a5;border-radius:8px;background:#fff9ed;color:#865b18;font-size:13px;line-height:1.7}

.device-detail-page .device-tool-status:not(:has(span:not(:empty))){display:none}
/* Approved network dialog: porcelain surface, precise violet accents. */
#device-mount .nm-proxy-dialog{box-sizing:border-box;width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:32px;border:1px solid #e4dff2;border-radius:20px;background:#fff;box-shadow:0 32px 100px #21164038,0 2px 8px #21164012;color:#201b36}
.nm-proxy-dialog::backdrop{background:#17142670;backdrop-filter:blur(3px)}
.nm-proxy-eyebrow{font-size:10px;font-weight:600;letter-spacing:2.5px;color:#82749f;margin-bottom:26px}
.nm-proxy-close{position:absolute;right:20px;top:16px;width:36px;height:36px;border:0;background:transparent;color:#756a89;font-size:26px;border-radius:8px;cursor:pointer}
.nm-proxy-close:hover{background:#f3effa}
.nm-proxy-hero{display:flex;gap:18px;align-items:center;margin-bottom:24px}
.nm-proxy-hero h2{font-size:25px!important;line-height:1.3;margin:0 0 8px!important;letter-spacing:-.5px}
.nm-proxy-hero p{margin:0;font-size:14px;line-height:1.6;color:#776c88}
.nm-proxy-mark{display:grid;place-items:center;width:58px;height:58px;flex:none;border-radius:15px;background:#f0e9ff;color:#7228f5;font-size:30px}
.nm-proxy-dialog[data-phase=submitting] .nm-proxy-mark:after,.nm-proxy-dialog[data-phase=applying] .nm-proxy-mark:after,.nm-proxy-dialog[data-phase=verifying] .nm-proxy-mark:after{content:'';width:26px;height:26px;border:3px solid #d9c7fa;border-top-color:#7228f5;border-radius:50%;animation:device-proxy-spin 1s linear infinite}
.nm-proxy-dialog[data-phase=complete] .nm-proxy-mark{background:#e9f8ef;color:#15814f}
.nm-proxy-dialog[data-phase=failed] .nm-proxy-mark{background:#fff0f0;color:#be3347}
.nm-proxy-dialog[data-phase=pending] .nm-proxy-mark{background:#fff4e4;color:#a66a0f}
.nm-proxy-summary{padding:22px 24px;border:1px solid #e3d8fc;border-radius:14px;background:linear-gradient(115deg,#faf8ff,#f1ecfc)}
.nm-proxy-summary small{color:#776b8b;font-size:12px}
.nm-proxy-destination{display:block;margin:14px 0 8px;font-size:23px;font-weight:650}
.nm-proxy-address{font-size:23px;font-variant-numeric:tabular-nums;letter-spacing:-.4px;overflow-wrap:anywhere}
.nm-proxy-meta{margin-top:9px;font-size:12px;color:#786b90}
.nm-proxy-device{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #e1d7ef;padding-top:16px;margin-top:20px;font-size:13px}
.nm-proxy-device span{color:#786b90}
.nm-proxy-steps{list-style:none;display:flex;padding:0;margin:24px 0;gap:8px;counter-reset:step}
.nm-proxy-steps li{flex:1;text-align:center;font-size:12px;color:#9a92a8;border-top:2px solid #e9e3f0;padding-top:9px}
.nm-proxy-steps li[data-state=active]{border-color:#7228f5;color:#7228f5;font-weight:600}
.nm-proxy-steps li[data-state=done]{border-color:#baa0ed;color:#5a427e}
.nm-proxy-duration{font-size:13px;color:#68577f;margin:22px 0 10px;font-variant-numeric:tabular-nums}
.nm-proxy-note{font-size:13px;line-height:1.7;color:#7b708b;margin:0 0 24px;overflow-wrap:anywhere}
.nm-proxy-actions,.nm-proxy-dialog [data-device=proxy-confirm]{display:flex;justify-content:space-between;gap:14px;align-items:center}
.nm-proxy-dialog [data-device=proxy-confirm]>p{display:none}
#device-mount .nm-proxy-dialog .btn{margin:0;min-height:44px;min-width:114px;border-radius:9px;font-size:14px;padding:10px 20px}
#device-mount .nm-proxy-dialog .btn.primary{background:#7228f5;color:#fff!important;border-color:#7228f5;box-shadow:0 6px 16px #7228f522;min-width:150px;margin-left:auto}
.nm-proxy-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;margin:20px 0;border:1px solid #e1d6fa;border-radius:12px;background:#f7f3ff}
.nm-proxy-banner>div{display:flex;flex-direction:column;gap:6px}
.nm-proxy-banner strong{font-size:15px;color:#35204e}.nm-proxy-banner span{font-size:12px;color:#7b6b8f}
.nm-proxy-banner[data-phase=complete]{background:#f0faf4;border-color:#d4ebdc}
.nm-proxy-banner[data-phase=pending]{background:#fff9ee;border-color:#eeddbc}
.nm-proxy-banner[data-phase=failed]{background:#fff5f5;border-color:#efd5db}
.nm-model-banner{flex-wrap:wrap}
.nm-model-banner>div{flex:1;min-width:180px}
.nm-model-banner span{line-height:1.7}
.nm-model-banner button{flex-shrink:0}
.location-follow-card{margin:16px 0;padding:18px;border:1px solid #e1d6fa;border-radius:12px;background:#f8f5ff}
.location-follow-card>strong{font-size:14px;color:#452772}
.location-follow-card>p{font-size:12px;line-height:1.8;color:#71677f;margin:8px 0}
.location-follow-card .actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.location-follow-card[data-phase=submitting]{border-color:#9d72ef}
.location-follow-card[data-phase=pending],.location-follow-card[data-phase=failed]{background:#fff9ee;border-color:#eeddbc}
.location-follow-card[data-phase=synced]{background:#f0faf4;border-color:#d4ebdc}
.nm-proxy-dialog [hidden],.nm-proxy-banner[hidden]{display:none!important}
.proxy-workspace:has(.nm-proxy-banner:not([hidden])) .device-proxy-progress{display:none!important}
#device-mount .device-stream-overlay .btn.primary,#device-mount [data-device=overlay] .btn.primary{color:#fff!important}
.nm-proxy-close:focus-visible,.nm-proxy-dialog button:focus-visible{outline:3px solid #b9a0e9;outline-offset:3px}
@media(max-width:600px){#device-mount .nm-proxy-dialog{padding:24px 20px}.nm-proxy-summary{padding:18px}.nm-proxy-hero h2{font-size:22px!important}.nm-proxy-address{font-size:20px}.nm-proxy-banner{padding:14px;gap:10px}}
@media(prefers-reduced-motion:reduce){.nm-proxy-mark:after{animation:none!important}.nm-proxy-dialog::backdrop{backdrop-filter:none}}
/* Identity settings: calm summary first, controls on demand. */
#device-mount .identity-group{padding:22px 0;margin:0}
#device-mount .identity-group h3{margin:0 0 8px;font-size:16px}
#device-mount .identity-more{margin-top:12px;border:0;background:transparent;padding:0}
#device-mount .identity-more>summary{display:list-item;list-style:revert;cursor:pointer;color:var(--brand);font-size:13px;padding:10px 0;width:fit-content}
#device-mount .identity-more>summary:focus-visible{outline:2px solid var(--brand);outline-offset:4px}
#device-mount .identity-more h4{font-size:13px;margin:22px 0 0}
#device-mount .identity-sync-card{padding:0;background:transparent;border:0;margin:12px 0;color:#63717d;font-size:13px}
#device-mount .identity-sync-card strong{font-size:13px;color:#344351;font-weight:500}
#device-mount .identity-sync-card p{margin:5px 0;overflow-wrap:anywhere}
#device-mount .location-follow-card{padding:14px 16px;margin:14px 0;background:#faf9fc;border-radius:8px}
#device-mount .location-follow-card>p{margin:5px 0;line-height:1.65}
#device-mount .location-follow-card .identity-more{margin-top:2px}
#device-mount .location-follow-card .identity-more>summary{padding:6px 0;color:#687381;font-size:12px}
#device-mount .identity-row{margin-top:12px;gap:12px}
#device-mount .identity-page-heading p{margin-bottom:0}
#device-mount .identity-more .identity-help{margin:8px 0}

/* Approved APP market: 13-app-market.png, same workspace chrome and neutral canvas. */
.content:has(.market-workspace){padding:14px 8px 46px 30px;background:#f5f5f5}
.content:has(.market-workspace)>.early-access{display:none}
.market-workspace{display:grid;grid-template-columns:minmax(0,1fr) 504px;gap:20px;color:#111827}
.market-catalog{min-width:0;padding-top:18px}
.market-workspace .page-head{align-items:flex-start;margin:0 0 11px}
.market-workspace h1{font-size:32px;font-weight:650;letter-spacing:0;line-height:1.25}
.market-workspace .page-head p{font-size:16px;color:#72809a;margin-top:10px}
.market-workspace .page-head .btn{min-height:44px;font-size:16px;gap:10px}
.market-workspace .btn{border-radius:5px;min-height:38px;font-size:14px}
.market-workspace .icon{width:20px;height:20px;flex:none}
.market-workspace .market-tabs{display:flex;gap:26px;border:0;border-bottom:1px solid #e3e7ef;border-radius:0;background:transparent;padding:0;margin:0 0 20px}
.market-workspace .market-tab{height:46px;font-size:18px;font-weight:500;padding:0 6px;border-radius:0;gap:10px;background:transparent;box-shadow:none;border-bottom:3px solid transparent}
.market-workspace .market-tab.is-on{border-bottom-color:var(--brand);color:var(--brand);background:transparent}
.market-workspace .market-tab span{padding:2px 6px;background:#e9ebef;border-radius:3px;font-size:13px;opacity:1}
.market-workspace .market-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 220px 46px;gap:14px;margin:0 0 18px}
.market-workspace .market-toolbar .search{width:100%;max-width:none;height:44px;background:#fff;border-radius:5px}
.market-workspace .market-toolbar input{width:100%;font-size:16px;min-width:0}
.market-workspace .market-toolbar select{width:100%;max-width:none;height:44px;font-size:16px;border-radius:5px}
.market-category-row{display:flex;gap:12px;overflow:auto;margin-bottom:16px}
.market-category-row .btn{background:#fff;white-space:nowrap;min-height:36px}
.market-category-row .btn[aria-pressed=true]{color:var(--brand);background:#eee7ff;border-color:#ded2ff}
.market-installed-filter{font-size:12px;color:#72809a;margin:0 0 10px}
.market-installed-filter summary{cursor:pointer}.market-installed-filter .market-check{margin-top:10px;flex-wrap:wrap}
.market-workspace .market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.market-workspace .market-card{display:grid;grid-template-columns:60px minmax(0,1fr);grid-template-rows:60px 11px 36px;column-gap:14px;row-gap:4px;height:160px;padding:14px 14px 11px;border:1px solid #e3e7ef;border-radius:7px;box-shadow:none;background:#fff}
.market-workspace .market-card.is-selected{border-color:var(--brand);background:#f7f3ff}
.market-workspace .market-icon{width:60px;height:60px;border-radius:12px;background:#fff;border:1px solid #edf0f4;overflow:hidden;display:grid;place-items:center}
.market-workspace .market-icon img{display:block;width:100%;height:100%;object-fit:contain}
.market-workspace .market-icon .icon{width:28px;height:28px;opacity:.5}
.market-workspace .market-main{gap:4px;min-width:0;padding-top:2px}
.market-workspace .market-main strong{font-size:17px;font-weight:600;line-height:22px}
.market-workspace .market-main small{font-size:13px;line-height:18px;color:#72809a}
.market-card-state{grid-column:1/-1;display:flex;gap:8px;font-size:11px;color:#72809a;white-space:nowrap;overflow:hidden}
.market-card-state>span{overflow:hidden;text-overflow:ellipsis}
.market-remove-link{font-size:11px;flex:none}
.market-card-actions{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:10px}
.market-card-actions .text-btn{color:var(--brand);font-size:14px;text-decoration:none}
.market-card-actions .btn{min-height:36px;min-width:104px;padding:5px 14px;border-color:#a87cff;color:var(--brand)}
.market-workspace #market-results>.table-foot{display:none}
.market-catalog-foot{display:flex;justify-content:space-between;gap:16px;margin-top:24px;color:#72809a;font-size:13px}
.market-catalog-foot>span{display:flex;align-items:center;gap:10px}
#market-pagination{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#market-pagination .btn{font-size:12px;padding:5px 10px}
.market-install-panel{height:858px;position:sticky;top:0;display:flex;flex-direction:column;border:1px solid #e3e7ef;border-radius:7px;background:#fff;min-width:0;overflow:hidden}
.market-panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:24px 28px 0;flex:none}
.market-panel-head h2{font-size:24px;font-weight:650;margin:0;line-height:32px}
.market-selected-app{display:flex;align-items:center;gap:18px;margin:22px 28px 0;padding-bottom:24px;border-bottom:1px solid #e3e7ef;min-width:0;flex:none}
.market-selected-app .market-icon{width:70px;height:70px;flex:none}
.market-selected-app>div:last-child{min-width:0}
.market-selected-app strong{font-size:21px;font-weight:600}
.market-selected-app p{font-size:15px;color:#72809a;overflow-wrap:anywhere;margin:5px 0}
.market-targets{padding:24px 28px;flex:1;overflow:auto;min-height:0}
.market-targets h3{font-size:20px;line-height:28px;margin:0 0 20px}
.market-scope{display:flex;gap:28px;margin-bottom:24px;font-size:16px;flex-wrap:wrap}
.market-scope label,.market-selection-summary label{display:flex;align-items:center;gap:8px}
.market-scope input,.market-selection-summary input,.market-device-table input{width:20px;height:20px;accent-color:var(--brand);margin:0;flex:none}
.market-device-filters{display:grid;grid-template-columns:1fr 1.15fr;gap:14px;margin-bottom:14px}
.market-device-filters select,.market-device-filters .search{width:100%;min-width:0;border:1px solid #dce1e8;height:44px;border-radius:5px;background:#fff;font-size:15px}
.market-device-filters input{width:100%;min-width:0;font-size:14px}
.market-device-table{max-height:288px;overflow:auto;border:1px solid #e3e7ef;border-radius:5px}
.market-device-table table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}
.market-device-table th,.market-device-table td{height:51px;padding:10px 9px;text-align:left;border-bottom:1px solid #edf0f4;overflow-wrap:anywhere}
.market-device-table th{height:44px;background:#f4f5f7;color:#465168;font-size:13px;font-weight:500;position:sticky;top:0}
.market-device-table th:first-child{width:44px;text-align:center}.market-device-table td:first-child{text-align:center}
.market-device-table th:nth-child(3){width:64px}.market-device-table th:last-child{width:112px}
.market-device-state{color:#72809a;font-size:12px}
.market-selection-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px;font-size:15px;flex-wrap:wrap}
.market-scope-note{display:flex;gap:10px;padding:16px;background:#edf4ff;border-radius:5px;color:#72809a;line-height:1.65;font-size:14px;margin:26px 0 0}
.market-check-note{font-size:12px;line-height:1.65;color:#72809a;margin:12px 0 0}
#market-install-status{font-size:13px;line-height:1.65;color:#465168;margin:10px 0 0;overflow-wrap:anywhere}
.market-panel-footer{display:flex;gap:12px;align-items:center;justify-content:flex-end;padding:18px 22px;border-top:1px solid #e3e7ef;flex:none}
.market-panel-footer>span{margin-right:auto;font-size:14px;color:#72809a}
.market-panel-footer .btn{min-height:44px;font-size:15px}
.market-panel-intro{margin:24px 28px;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.market-panel-empty{margin:auto;text-align:center;padding:28px;color:#72809a;line-height:1.7}
.market-panel-empty>.icon{width:36px;height:36px}
.market-history-list{padding:0 28px 24px;overflow:auto}
.market-history-list article{border-bottom:1px solid #e3e7ef;padding:16px 0;font-size:14px;overflow-wrap:anywhere}
.market-history-list p{color:#72809a;line-height:1.7}
@media(max-width:1450px){.market-workspace{grid-template-columns:minmax(0,1fr) 430px}.market-workspace .market-toolbar{grid-template-columns:minmax(0,1fr) 160px 44px;gap:8px}.market-workspace .market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-panel-head{padding-inline:20px}.market-selected-app{margin-inline:20px}.market-targets{padding-inline:20px}}
@media(max-width:1100px){.market-workspace{grid-template-columns:minmax(0,1fr)}.market-install-panel{position:static;height:auto;min-height:440px}.market-workspace .market-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.market-targets{overflow:visible}.market-catalog-foot{margin-bottom:24px}}
@media(max-width:700px){.content:has(.market-workspace){padding:18px 14px 46px}.market-catalog{padding:0}.market-workspace h1{font-size:28px}.market-workspace .page-head{gap:12px}.market-workspace .page-head .btn{font-size:13px}.market-workspace .market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-workspace .market-card{grid-template-columns:40px minmax(0,1fr);gap:8px;padding:12px 10px}.market-workspace .market-card .market-icon{width:40px;height:40px;border-radius:8px}.market-workspace .market-main strong{font-size:14px}.market-workspace .market-main small{font-size:11px}.market-card-actions .btn{min-width:52px;padding-inline:8px;font-size:12px}.market-card-actions .text-btn{font-size:12px}.market-workspace .market-toolbar{grid-template-columns:minmax(0,1fr) 110px 38px}.market-workspace .market-toolbar input,.market-workspace .market-toolbar select{font-size:13px}.market-category-row{gap:8px}.market-catalog-foot{flex-wrap:wrap}.market-panel-head{padding:20px 16px 0}.market-panel-head h2{font-size:20px}.market-targets{padding:20px 16px}.market-selected-app{margin-inline:16px}.market-scope{font-size:13px;gap:16px}.market-panel-footer{padding:16px;gap:8px;flex-wrap:wrap}.market-panel-footer>span{width:100%}.market-device-table th:last-child{width:82px}.market-device-table th:nth-child(3){width:48px}.market-device-table th:first-child{width:34px}.market-device-table td,.market-device-table th{padding-inline:5px;font-size:12px}}

.market-catalog{position:relative}.market-installed-filter{position:absolute;right:0;top:244px;z-index:2;background:#f5f5f5}.market-installed-filter[open]{padding:10px;border:1px solid #e3e7ef;border-radius:5px;background:#fff;box-shadow:0 4px 16px #11182712}.market-category-row{padding-right:98px}.market-device-filters input{border:0;outline:0;background:transparent}.shell:has(.market-workspace) .breadcrumb{height:56px;display:flex;align-items:center;border-bottom:3px solid var(--brand)}.shell:has(.market-workspace) .breadcrumb strong{color:var(--brand)}.market-icon img{grid-area:1/1}.market-icon>.icon{grid-area:1/1}.market-check-note{margin-top:8px;font-size:11px}@media(max-width:700px){.market-installed-filter{position:static}.market-category-row{padding-right:0}.market-workspace .market-card{height:auto;min-height:156px;grid-template-rows:60px 11px 36px}}

.market-device-filters input{height:42px}.market-workspace .market-card{grid-template-rows:60px 18px 36px;row-gap:6px;padding:14px 14px 11px}.market-targets{padding-bottom:12px}.market-check-note{line-height:1.4}.market-card-actions{align-self:end}

.market-workspace .market-toolbar .search{min-width:0}.market-install-panel{scroll-margin-top:16px}

/* No full-height placeholder after closing the installation panel. */
.market-workspace:has(.market-panel-empty){grid-template-columns:minmax(0,1fr)}
.market-install-panel:has(.market-panel-empty){display:none}


/* Categorized application library, compact supplier-icon cards. */
.market-workspace:has(>.market-install-panel[hidden]){grid-template-columns:minmax(0,1fr)}
.market-workspace{grid-template-columns:minmax(0,1fr) 400px}
.market-catalog{display:grid;grid-template-columns:128px minmax(0,1fr);gap:16px 20px;align-content:start}
.market-catalog>.page-head,.market-catalog>.market-tabs{grid-column:1/-1;margin:0}
.market-workspace h1{font-size:26px}
.market-workspace .market-toolbar{grid-column:2;grid-row:3;margin:0;display:flex;gap:12px}
.market-workspace .market-toolbar .search{flex:1;max-width:none}
.market-workspace .market-toolbar>select{display:none}
.market-category-row{grid-column:1;grid-row:3/span 4;display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:0;border-right:1px solid #e3e7ef;margin:0}
.market-category-row .btn{background:transparent;border:0;text-align:left;justify-content:flex-start;min-height:38px;margin-right:12px;padding:8px 12px;font-size:13px}
.market-category-row .btn[aria-pressed=true]{background:#f0eaff;color:var(--brand);box-shadow:inset 3px 0 var(--brand)}
.market-catalog>.market-installed-filter{position:static;grid-column:2;grid-row:4;border:0;box-shadow:none;background:transparent;padding:0;font-size:13px;margin:0}
.market-installed-filter>summary{display:none}
#market-results{grid-column:2;grid-row:5;container-type:inline-size;container-name:appcards}
.market-catalog-foot{grid-column:2;grid-row:6}
.market-workspace .market-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.market-workspace .market-card{display:grid;grid-template-columns:48px minmax(0,1fr) 88px;grid-template-rows:auto auto;gap:6px 12px;height:auto;min-height:112px;padding:16px;background:#fff;align-items:center}
.market-workspace .market-card .market-icon{grid-column:1;grid-row:1/3;width:48px;height:48px;border:0;background:transparent;border-radius:10px;overflow:hidden}
.market-workspace .market-card .market-icon img{width:48px;height:48px;object-fit:contain}
.market-workspace .market-card .market-main{grid-column:2;grid-row:1;min-width:0}
.market-workspace .market-main strong{font-size:14px;line-height:20px}
.market-workspace .market-main small{font-size:12px;margin-top:5px}
.market-workspace .market-card-state{grid-column:2;grid-row:2;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:10px}
.market-workspace .market-card-actions{grid-column:3;grid-row:1/3;display:flex;flex-direction:column-reverse;gap:6px;justify-content:center}
.market-workspace .market-card-actions .btn{font-size:12px;min-width:0;width:88px;min-height:30px;padding:5px}
.market-workspace .market-card-actions .text-btn{font-size:11px}
.market-workspace .table-foot{display:none}
@container appcards (min-width:900px){.market-workspace .market-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container appcards (min-width:1280px){.market-workspace .market-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@container appcards (max-width:599px){.market-workspace .market-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1100px){.market-workspace{grid-template-columns:minmax(0,1fr)}.market-install-panel{position:relative;height:auto;max-height:none}.market-catalog{grid-template-columns:110px minmax(0,1fr)}}
@media(max-width:700px){.market-catalog{display:flex;flex-direction:column;gap:14px}.market-category-row{flex-direction:row;overflow-x:auto;border:0;padding:0;gap:4px}.market-category-row .btn{flex:none;white-space:nowrap;margin:0}.market-workspace .market-toolbar{order:0}.market-workspace .page-head{flex-wrap:wrap}.market-workspace .market-card{min-height:104px}.market-catalog-foot{margin-top:0}}

.market-catalog>.market-installed-filter[open]{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px}
.market-installed-filter>label{display:flex;align-items:center;gap:8px;min-width:0}
.market-installed-filter #market-status-device{max-width:260px;width:auto}
.market-installed-filter .market-check{margin-top:0}
@media(max-width:700px){.market-installed-filter>label{width:100%}.market-installed-filter #market-status-device{flex:1;max-width:100%;min-width:0}}

/* Shared control language for the ToC console. Layout and player sizing stay in their modules. */
body{font-family:'NodeMobi Sans','Microsoft YaHei','PingFang SC','Segoe UI',sans-serif}
body :is(button,input,select,textarea){font-family:inherit}
.shell,.cs-host,.cs-dialog{color:var(--ink)}
.cs-dialog{font-family:inherit}
:is(.btn,.cs-button){border-radius:var(--ui-radius);transition:background-color .15s,border-color .15s,color .15s}
:is(.btn,.cs-button):hover:not(:disabled){border-color:var(--brand-border);background:var(--brand-soft)}
:is(.btn.primary,.cs-button.cs-primary){background:var(--brand);border-color:var(--brand);color:#fff}
:is(.btn.primary,.cs-button.cs-primary):hover:not(:disabled){background:var(--brand-hover);border-color:var(--brand-hover);color:#fff}
:is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--brand);outline-offset:3px}
input[type=checkbox],input[type=radio],progress{accent-color:var(--brand)}
:is(.field input,.field select,.field textarea,.control,.cs-toolbar input,.cs-toolbar select){border-color:var(--control);border-radius:var(--ui-radius)}
:is(.field input,.field select,.field textarea,.control,.cs-toolbar input,.cs-toolbar select):focus-visible{box-shadow:var(--ui-focus)}
:is(.field input,.field select,.field textarea,.control):disabled{background:var(--soft);color:#8b95a7;cursor:not-allowed}
.surface,dialog,.cs-dialog{border-color:var(--line);border-radius:var(--ui-panel-radius)}
.shell .page-head h1,.market-workspace h1,.cs-heading h1{font-size:26px;font-weight:650;line-height:1.3;letter-spacing:-.5px;color:var(--ink)}
.shell .page-head p,.cs-heading p{font-size:13px;line-height:1.7;color:var(--muted)}
.shell .page-head{gap:16px}
.shell .nav-item:hover{background:var(--brand-soft)}
.shell .nav-item[aria-current=page]{color:var(--brand);background:var(--brand-soft)}
.simple-table th,.cs-host th{background:#f8f9fc;color:var(--muted);font-size:12px;font-weight:500}
.simple-table td,.simple-table th,.cs-host td,.cs-host th{border-color:var(--line)}
#device-mount .device-section-head h2,#device-mount .identity-page-heading h2{color:var(--ink);font-size:22px;font-weight:650}
#device-mount .identity-row .btn:hover:not(:disabled),#device-mount .proxy-draft-test .btn:hover:not(:disabled){background:var(--brand-soft);border-color:var(--brand)}
.df-quota{background:var(--brand-soft);color:var(--brand-ink)}
.df-sidebar [data-df-upload]{background:var(--brand);border-color:var(--brand);color:#fff}
.df-sidebar [data-df-upload]:hover:not(:disabled){background:var(--brand-hover);border-color:var(--brand-hover)}
@media(max-width:700px){.shell .page-head h1,.market-workspace h1,.cs-heading h1{font-size:22px}}
@media(prefers-reduced-motion:reduce){:is(.btn,.cs-button){transition:none}}
