:root{color-scheme:light;--ink:#182021;--muted:#626d6f;--faint:#d5dcdb;--green:#31765d;--mint:#9bd6bd;--paper:rgba(255,255,255,.74);font:15px/1.45 "DM Sans",Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:#ecefed}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;min-height:100svh;background:radial-gradient(ellipse at 93% 7%,#c8dfda 0,transparent 43%),radial-gradient(ellipse at 0 69%,#e6ecea 0,transparent 42%),linear-gradient(145deg,#f4f5f6 2%,#e9eaef 55%,#e4e3ed);background-attachment:fixed}
[hidden]{display:none!important}
button,input{font:inherit;color:inherit}
button{border:0;cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.5}
button:focus-visible,a:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #468f79;outline-offset:3px}
button{transition:background .15s,box-shadow .15s,transform .15s}
button:active:not(:disabled){transform:translateY(1px)}
button:hover:not(:disabled){filter:brightness(.97)}
svg:not(.symbols){width:19px;height:19px;flex:none;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.symbols{position:absolute;width:0;height:0;overflow:hidden}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-weight:650;line-height:1.25}
h1{font-size:clamp(28px,2.6vw,38px);letter-spacing:-.05em}
h2{font-size:19px;letter-spacing:-.045em}
h3{font-size:14px}
.topbar{width:min(100%,1664px);margin:auto;min-height:84px;padding:18px clamp(18px,3.3vw,58px);display:grid;align-items:center;grid-template-columns:1fr auto 1fr;gap:16px}
.brand{display:flex;align-items:center;gap:10px;width:max-content}
.brand img{display:block;width:37px;height:37px;box-shadow:0 4px 12px #17212510;border-radius:11px}
.brand>span{font-size:28px;font-weight:730;line-height:1;letter-spacing:-1.8px}
.brand b{font-weight:350;color:#73827c}
nav{display:flex;gap:4px;padding:4px;border-radius:32px;background:#ffffff48;border:1px solid #ffffff55}
nav button, .soft,.primary,.danger{display:inline-flex;align-items:center;justify-content:center;gap:9px}
nav button{height:37px;padding:0 21px;border-radius:25px;background:transparent;color:#596465;font-weight:550;font-size:14px}
nav svg{width:16px!important;height:16px!important}
nav button.active,.primary{color:white;background:#171c20}
nav button.active{box-shadow:0 2px 6px #19202817}
.account{justify-self:end;display:flex;align-items:center;gap:9px;background:#ffffffc9;padding:4px 7px 4px 4px;border:1px solid #fff9;border-radius:28px;font-size:13px;font-weight:600;box-shadow:0 2px 8px #26362909}
.avatar{display:grid;place-items:center;border:2px solid #fff9;border-radius:50%;width:33px;height:33px;background:linear-gradient(145deg,#8dbe9e,#437f77);color:white;font-size:16px}
.icon-button{width:32px;height:32px;border-radius:50%;background:transparent;display:inline-grid;place-items:center;color:#525f5c}
.account .icon-button{width:29px;height:29px;border-left:1px solid #c8d5ce;border-radius:0 15px 15px 0}
.workspace{width:min(100%,1510px);padding:16px clamp(18px,4.5vw,72px) 38px;margin:auto}
.titlebar,.titlebar>div,.card-heading,.device-heading,.list-heading,.console-footer,.dialog-actions{display:flex;align-items:center}
.titlebar{justify-content:space-between;margin-bottom:21px}
.titlebar>div{gap:14px}
.online-badge,.live-badge,.target,.count{font-size:12px;line-height:1.25;color:#465652}
.online-badge,.live-badge{display:inline-flex;align-items:center;gap:7px;background:#dceae3;border-radius:30px;padding:6px 10px;white-space:nowrap}
.online-badge:before,.live-badge:before,.preview-status:before{content:"";width:7px;height:7px;border-radius:50%;background:#a3aba8;display:inline-block;flex:none}
.online-badge.online:before,.live-badge.online:before,.preview-status.online:before{background:#4a9f78}
.soft{border-radius:22px;background:#ffffff75;border:1px solid #cbd6d16b;padding:8px 15px;font-size:13px;font-weight:550}
.refresh svg{width:15px;height:15px}
.dashboard-grid{display:grid;align-items:stretch;grid-template-columns:minmax(320px,1.1fr) minmax(330px,1fr);grid-template-rows:auto 1fr;grid-template-areas:"console fleet" "console manager";gap:18px}
.surface{border:1px solid #ffffffce;border-radius:29px;background:var(--paper);box-shadow:0 10px 36px -25px #37474255,inset 0 1px 0 #ffffff9c}
.console{grid-area:console;display:flex;flex-direction:column;min-width:0;position:relative;isolation:isolate;background:linear-gradient(153deg,#ffffffc7,#f6f8f9bf 58%,#ecf0f2ab)}
.card-heading{padding:21px 24px 0;justify-content:space-between;gap:10px}
.device-heading{gap:10px}
.device-heading small{display:block;font-size:11px;line-height:1.4;color:var(--muted);letter-spacing:.05em}
.heading-icon,.upload-icon,.warning-icon,.login-mark{display:grid;place-items:center}
.heading-icon{width:39px;height:39px;border-radius:13px;background:#e2ebe7;color:#345c4e}
.live-badge{background:#edf2ef;color:#53615b;padding:5px 9px}
.stage{min-height:0;flex:1;position:relative;display:grid;place-items:center;padding:18px 64px 15px}
.handset{position:relative;width:min(100%,clamp(210px,29vh,318px));aspect-ratio:402/874;box-sizing:content-box;border-radius:clamp(31px,4.5vh,47px);padding:4px;border:2px solid #7e8989;outline:1px solid #394041;background:#111517;box-shadow:0 0 0 3px #c2caca,0 16px 28px -14px #1d313b68}
.handset::before,.handset::after{content:"";position:absolute;background:#737e80;border-radius:2px}
.handset::before{width:3px;height:11%;left:-5px;top:25%}
.handset::after{width:3px;height:9%;right:-5px;top:30%}
.display{position:relative;width:100%;height:100%;overflow:hidden;border-radius:inherit;background:#101718;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.display img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:fill;pointer-events:none}
.display-status{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#d4ded9;font-size:13px;background:linear-gradient(145deg,#25322e,#101918)}
.spinner{display:inline-block;width:18px;height:18px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.stage-tools{position:absolute;top:50%;right:clamp(8px,4%,28px);transform:translateY(-50%);padding:5px;display:grid;gap:2px;background:#ffffffd9;border-radius:23px;border:1px solid white;box-shadow:0 5px 18px #33493b0d}
.stage-tools button{width:44px;padding:9px 0 7px;display:flex;flex-direction:column;align-items:center;gap:3px;background:transparent;border-radius:17px}
.stage-tools button:hover{background:#eff4f1}
.stage-tools span{font-size:10px;color:#58645f}
.console-footer{justify-content:space-between;gap:10px;margin:0 22px;padding:12px 0;border-top:1px solid #cfd7d882;color:#717a7b;font-size:12px}
.text-button{display:inline-flex;align-items:center;gap:5px;color:#535e5b;font-size:12px;background:transparent;padding:5px 0}
.text-button svg{width:14px;height:14px}
.fleet{grid-area:fleet;min-width:0}
.count,.target{padding:4px 9px;border-radius:12px;font-size:11px;background:#e5ebe8;color:#586961}
.device-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:15px 21px 20px}
.device-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;text-align:left;min-width:0;position:relative;padding:12px;border:1px solid #e0e6e3;border-radius:18px;background:#ffffffbe}
.device-card[aria-pressed="true"]{border-color:#8abeac;box-shadow:0 0 0 1px #bfdccf inset;background:linear-gradient(115deg,#fafffc,#edf6f1)}
.mini-phone{width:clamp(33px,3.6vw,53px);aspect-ratio:402/874;border-radius:9px;overflow:hidden;border:2px solid #44504f;outline:1px solid #b9c6c0;display:grid;place-items:center;background:linear-gradient(160deg,#3d544e,#1c2527);color:#c3d5ca}
.mini-phone img{grid-area:1/1;width:100%;height:100%;object-fit:fill}
.mini-phone svg{grid-area:1/1}
.device-info{min-width:0}
.device-info strong{display:block;font-size:14px;font-weight:650;overflow-wrap:anywhere;line-height:1.3}
.preview-status{display:inline-flex;align-items:center;gap:5px;margin-top:5px;font-size:11px;color:#67756f}
.preview-status:before{width:5px;height:5px}
.selected-check{width:16px;height:16px;background:#528b75;color:white;border-radius:50%;display:grid;place-items:center;align-self:start}
.selected-check svg{width:11px;height:11px;stroke-width:2.5}
.device-card[aria-pressed="false"] .selected-check{visibility:hidden}
.manager{grid-area:manager;min-width:0;display:flex;flex-direction:column}
.apps-inner{padding:16px 22px 20px;display:flex;flex-direction:column;flex:1;min-height:0}
.dropzone{display:flex;align-items:center;gap:13px;width:100%;text-align:left;padding:15px;border:1px dashed #a5c6b8;border-radius:17px;background:#eaf4ed7a}
.dropzone strong,.dropzone small{display:block}.dropzone strong{font-size:14px;font-weight:600}.dropzone small{font-size:11px;color:#677970;margin-top:3px}
.dropzone.dragover{background:#d6f0e0;border-color:#418566}
.upload-icon{flex:none;width:37px;height:37px;border-radius:12px;background:#dceee1;color:#37684d}
.upload-icon svg{width:22px;height:22px}
.upload-arrow{margin-left:auto;color:#587364}
#upload-progress{margin:8px 2px 0;font-size:12px;color:var(--green)}progress{display:block;width:100%;height:6px;margin-top:4px;accent-color:var(--green)}
.list-heading{gap:7px;margin:20px 0 7px}
.list-heading span{font-size:11px;color:#788880}
.app-list{flex:1;display:flex;flex-direction:column;gap:3px;min-height:100px;max-height:clamp(140px,24vh,300px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bac9c0 transparent;padding:2px 3px 3px}
.app-row{display:flex;align-items:center;gap:10px;text-align:left;background:transparent;border:1px solid transparent;border-radius:12px;padding:7px 10px;min-height:45px;flex:none}
.app-row[aria-pressed="true"]{background:#eaf1ee;border-color:#cddfd4}
.app-icon{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:9px;color:#fff;font-weight:650;font-size:14px;background:#527d79}
.tone1{background:#678ac3}.tone2{background:#907895}.tone3{background:#6d8f6f}.tone4{background:#9b795e}
.app-name{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:550}
.version{margin-left:auto;flex:none;color:#697570;font-size:11px}.app-row .marker{border:1px solid #aab7b0;border-radius:50%;width:13px;height:13px;flex:none}.app-row[aria-pressed="true"] .marker{border:4px solid #578b74;background:white}
.empty{color:var(--muted);font-size:13px;padding:13px 4px}
.primary,.danger{border-radius:20px;min-height:41px;font-size:14px;font-weight:550;padding:8px 17px}
#open-app{align-self:stretch;margin-top:12px;justify-content:center}.primary svg{width:16px;height:16px}
.workspace[data-tab="apps"] .dashboard-grid{grid-template-columns:minmax(260px,.65fr) minmax(360px,1.35fr);grid-template-areas:"fleet manager";grid-template-rows:auto;align-items:start}
.workspace[data-tab="apps"] .console{display:none}.workspace[data-tab="apps"] .device-cards{grid-template-columns:1fr}.workspace[data-tab="apps"] .app-list{max-height:48vh}
.console.expanded{position:fixed;inset:10px;z-index:10;background:#edf2ef;box-shadow:0 0 0 60px #15201fd9}
.console.expanded .card-heading{justify-content:initial}.console.expanded .live-badge{margin-left:auto}
.console.expanded .handset{width:min(calc((100dvh - 180px)*.46),calc(100vw - 112px));border-radius:clamp(26px,5vh,60px)}
.console.expanded .stage-tools{right:clamp(8px,8vw,110px)}
.login-page,.load-screen{min-height:calc(100svh - 115px);display:grid;place-content:center;padding:20px 18px 60px}
.load-screen{display:flex;align-items:center;justify-content:center;gap:9px;color:#61726a;font-size:14px}
.login-card{width:min(385px,calc(100vw - 36px));padding:33px;background:#ffffffcf}
.login-card h1{font-size:28px;margin:16px 0 24px}
.login-mark{width:46px;height:46px;background:#dceee3;color:#406e55;border-radius:14px}.login-mark svg{width:24px;height:24px}
.login-card label{display:block;font-size:13px;color:#405047;margin:15px 0 6px}
.field{display:flex;align-items:center;gap:10px;padding:0 11px;height:44px;background:#f3f6f4;border:1px solid #d9e1dc;border-radius:12px;color:#62756a}
.field input{width:100%;min-width:0;outline:none;border:0;background:transparent;padding:8px 0;color:var(--ink)}
.field:focus-within{border-color:#70a68c;box-shadow:0 0 0 2px #70a68c26}
.login-card .primary{width:100%;margin-top:18px}.form-status{font-size:13px;color:#8c3c32;margin-top:9px}
dialog{padding:0;background:#f7f9f7;border:1px solid #ffffffd9;border-radius:23px;width:min(384px,calc(100vw - 32px));color:var(--ink);box-shadow:0 25px 70px #20322b47}
dialog::backdrop{background:#19282266;backdrop-filter:blur(4px)}
.dialog-body{padding:25px}.warning-icon{width:38px;height:38px;color:#9f4736;background:#f4e3db;border-radius:13px;margin-bottom:12px}
.dialog-body p{margin:10px 0 22px;color:#616b65;font-size:14px}
.dialog-actions{gap:9px;justify-content:flex-end}.danger{color:white;background:#964b3c}.dialog-actions .soft{min-height:41px;background:white}
.notice{position:fixed;z-index:20;bottom:20px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;max-width:min(540px,calc(100% - 32px));width:max-content;background:#202b27;color:#fff;font-size:13px;border-radius:17px;padding:8px 10px 8px 16px;box-shadow:0 8px 24px #24372d3d}
.notice span{overflow-wrap:anywhere}.notice .icon-button{color:white;flex:none}
@media(min-width:1500px){.workspace{padding-top:22px}.card-heading{padding-top:23px}.stage{padding-top:24px;padding-bottom:22px}}
@media(max-width:1050px){.workspace{padding-left:22px;padding-right:22px}.device-card{grid-template-columns:auto 1fr;gap:8px}.selected-check{position:absolute;right:7px;top:7px;width:13px;height:13px}.device-cards{gap:8px;padding-left:16px;padding-right:16px}.stage{padding-left:48px;padding-right:63px}.card-heading{padding-left:19px;padding-right:19px}.apps-inner{padding-left:17px;padding-right:17px}}
@media(max-width:760px){.topbar{min-height:69px;padding:13px 17px;gap:6px}.brand{gap:6px}.brand img{width:30px;height:30px;border-radius:9px}.brand>span{font-size:23px}.account{gap:0;padding:3px}.account #account-name{display:none}.avatar{width:26px;height:26px;font-size:13px}.account .icon-button{width:27px;height:25px;border:0}nav{gap:0;padding:3px}nav button{height:30px;padding:0 13px;font-size:13px}nav button svg{display:none}.workspace{padding:10px 14px 25px}.titlebar{margin-bottom:14px}.titlebar>div{gap:8px}.online-badge{font-size:10px;padding:5px 8px}.soft.refresh{padding:7px 11px}.dashboard-grid,.workspace[data-tab="apps"] .dashboard-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;grid-template-areas:"fleet" "console" "manager";gap:12px}.workspace[data-tab="apps"] .dashboard-grid{grid-template-areas:"fleet" "manager"}.surface{border-radius:22px}.fleet .card-heading{display:none}.device-cards,.workspace[data-tab="apps"] .device-cards{grid-template-columns:1fr 1fr;padding:9px;gap:8px}.device-card{padding:8px 10px;border-radius:15px}.mini-phone{width:23px;border-radius:5px}.preview-status{font-size:10px;margin-top:2px}.selected-check{top:50%;transform:translateY(-50%);right:10px}.card-heading{padding-top:16px}.stage{padding:19px 60px}.handset{width:min(100%,clamp(196px,29vh,255px));border-radius:32px}.stage-tools{right:9px}.stage-tools button{width:36px}.console-footer{margin:0 15px;padding:8px 0}.app-list,.workspace[data-tab="apps"] .app-list{max-height:300px}.login-page{padding-bottom:42px}}
@media(max-width:380px){.topbar{padding-left:12px;padding-right:12px}.brand>span{font-size:19px}.brand img{width:26px;height:26px}nav button{padding:0 9px}.workspace{padding-left:9px;padding-right:9px}.stage{padding-left:42px;padding-right:56px}.selected-check{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important}}
