:root{color-scheme:light;--bg:#f4f6f8;--surface:#fff;--ink:#18252e;--muted:#7b8790;--line:#e6ebee;--accent:#177e68;--accent-dark:#116451;--mint:#e8f5ef;--radius:20px;--shadow:0 8px 30px #1c354005;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink)}[hidden]{display:none!important}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.42}a{color:inherit;text-decoration:none}button,input,textarea,a{outline-offset:4px}button:focus-visible,a:focus-visible{outline:3px solid #82c8b6}input:focus,textarea:focus{outline:2px solid #8bcfbd;outline-offset:1px}button{touch-action:manipulation}.svg-library{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.button{border:1px solid transparent;border-radius:11px;min-height:44px;padding:11px 17px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:550;transition:background .16s,border-color .16s,transform .16s;white-space:nowrap}.button:active:not(:disabled){transform:translateY(1px)}.button-primary{background:var(--accent);color:#fff}.button-primary:hover:not(:disabled){background:var(--accent-dark)}.button-secondary{background:#fff;border-color:#dfe6e9;color:#364851}.button-secondary:hover:not(:disabled){background:#f6f9f8}.button-light{background:#fff;color:#253d46}.button-small{min-height:34px;font-size:12px;padding:7px 13px;background:var(--mint);color:var(--accent);border-color:#d8ece2}.full-width{width:100%}.icon-button{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;color:#7a8790}.icon-button:hover{background:#eaf0f1}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:650;color:#89969f;margin:0 0 12px}.brand{display:flex;gap:12px;align-items:center;font-size:19px;font-weight:750;letter-spacing:-.7px;line-height:1}.brand-mark{width:38px;height:38px;background:#1a2c35;display:grid;place-items:center;color:#9ee3cf;border-radius:12px;font-size:24px;font-weight:500;font-family:Arial,sans-serif;letter-spacing:-2px;padding-right:2px}.brand-sub{display:block;font-size:8px;letter-spacing:2px;font-weight:600;margin-top:6px;color:#8d989f}.status-pill{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:6px 11px;background:#e9edf0;border:1px solid #e3e8eb;border-radius:99px;color:#7b8991;font-size:11px;white-space:nowrap;font-weight:550}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#a9b4ba;flex:none}.status-pill[data-state=online]{background:#e8f4ed;border-color:#d7ebdf;color:#37835f}.status-pill[data-state=online] .status-dot,.status-dot[data-state=online]{background:#4caa77;box-shadow:0 0 0 3px #4caa7715}.status-pill[data-state=checking]{background:#faf3e6;color:#aa8743;border-color:#f1e7d4}.status-pill[data-state=checking] .status-dot{background:#c5a265}.status-pill[data-state=error]{background:#fbeeee;color:#b26767;border-color:#f3dfdf}.status-pill[data-state=error] .status-dot,.status-dot[data-state=error]{background:#be7a7a}.status-dot[data-state=connecting]{background:#c5a265}.boot-state{min-height:100svh;display:flex;align-items:center;justify-content:center;gap:12px;color:#73828c;font-size:13px}.spinner{width:18px;height:18px;border:2px solid #dce5e7;border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}

.login-view{min-height:100svh;display:grid;place-items:center;padding:40px 22px}.login-shell{width:100%;max-width:405px}.login-shell>.brand{justify-content:center;margin:0 0 33px}.login-card{padding:29px 33px 33px;border:1px solid #e6ebee;border-radius:27px;background:#fff;box-shadow:0 22px 70px #23434b08}.login-visual{height:145px;position:relative;display:grid;place-items:center;margin-bottom:25px;overflow:hidden}.orbit{position:absolute;border:1px solid #e9f1ef;border-radius:50%;width:220px;height:220px;top:7px}.orbit-two{width:164px;height:164px;top:34px}.login-phone{width:66px;height:119px;border:2px solid #cddcd7;background:linear-gradient(150deg,#f2f8f4,#e2efeb);border-radius:16px;transform:rotate(-9deg);box-shadow:10px 12px 0 #f0f4f3;display:flex;align-items:center;justify-content:center;position:relative}.login-phone>span{position:absolute;width:19px;height:4px;top:9px;background:#c6d8d1;border-radius:8px}.login-phone>i{position:absolute;width:18px;height:3px;bottom:9px;background:#bdcec8;border-radius:8px}.login-phone>.icon{color:#56a38c;width:27px;height:27px}.connected-dot{position:absolute;width:19px;height:19px;border-radius:50%;background:#62b393;border:5px solid #fff;left:calc(50% + 35px);top:96px;box-shadow:0 0 0 1px #e6efea}.login-card h1{font-size:31px;letter-spacing:-1px;margin:0 0 12px;font-weight:650}.login-card .eyebrow{font-size:10px;letter-spacing:1px;color:#85a094}.login-description{color:#87939b;line-height:1.8;margin:0 0 29px;font-size:12px}label{display:block;font-weight:550;font-size:12px;margin-bottom:10px}input,textarea{border:1px solid #e0e6ea;background:#fafbfc;border-radius:10px;color:var(--ink);padding:13px 14px;width:100%;font-size:16px;line-height:1.5}input::placeholder,textarea::placeholder{color:#a2abb1;font-size:13px}.login-button{width:100%;justify-content:space-between;margin-top:17px}.login-footnote{text-align:center;color:#9aa4ab;font-size:11px;line-height:1.8;margin:23px 0 0}.field-error{color:#b36060;font-size:12px;line-height:1.65;margin:10px 0 0}

.app-shell{width:min(1120px,100%);margin:0 auto;padding:0 40px}.app-header{height:100px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.header-actions{display:flex;align-items:center;gap:13px}.intro{padding:40px 0 31px;display:flex;justify-content:space-between;align-items:center}.intro h1{font-size:34px;font-weight:650;letter-spacing:-1.4px;line-height:1.25;margin:0 0 12px}.intro>div>p:last-child{font-size:12px;color:#8a959d;margin:0;line-height:1.7}.title-dot{color:#49a78a;margin-left:5px}.device-badge{display:flex;align-items:center;gap:12px;padding:12px 15px;background:#edf1f2;border:1px solid #e6ebed;border-radius:14px;color:#677a84}.device-badge>.icon{width:22px;height:30px;color:#8a9ba4}.device-badge>span{font-size:10px;font-weight:650;letter-spacing:1.1px}.device-badge small{display:block;font-size:10px;font-weight:400;letter-spacing:0;margin-top:5px;color:#95a0a7}.tab-bar{display:flex;width:fit-content;border:1px solid #e1e7ea;border-radius:13px;background:#eaf0f2;padding:4px;gap:3px;margin-bottom:25px}.tab{background:transparent;border:0;color:#7c8b95;display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 21px;border-radius:9px;font-size:12px;white-space:nowrap;min-height:40px}.tab>.icon{width:16px;height:16px}.tab.active{background:#fff;color:#2c524b;box-shadow:0 2px 5px #263e4910}.tab-panel{animation:appear .2s ease}@keyframes appear{from{opacity:.3;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}.control-card{background:#fff;border:1px solid #e1e8eb;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.screen-layout{display:grid;grid-template-columns:minmax(0,1fr) 267px;gap:23px;align-items:start}.card-toolbar{min-height:66px;padding:13px 20px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line)}.toolbar-title{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:550}.toolbar-title>.icon{width:17px;height:17px;color:#8c9da6}.toolbar-buttons{display:flex;align-items:center;gap:8px}.screen-stage{height:568px;background:#17232d;position:relative;overflow:hidden}.screen-canvas{height:100%;width:100%;overflow:hidden;touch-action:none}.screen-empty{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px;color:#dbe5e8;background:radial-gradient(ellipse at 50% 30%,#253c46 0%,#17232d 66%)}.empty-phone{width:83px;height:144px;border:1px solid #51636b;border-radius:21px;background:linear-gradient(150deg,#31484f30,#31484f0d);display:grid;place-items:center;margin-bottom:28px;position:relative;box-shadow:0 20px 50px #09101922}.empty-phone::before{content:"";position:absolute;top:10px;width:21px;height:4px;border-radius:6px;background:#61767c}.empty-phone::after{content:"";position:absolute;bottom:9px;width:21px;height:3px;border-radius:6px;background:#61767c}.empty-phone>.icon{width:28px;height:28px;color:#799c9b}.screen-empty h2{font-size:18px;font-weight:500;letter-spacing:.4px;margin:0 0 11px}.screen-empty p{color:#8398a4;font-size:12px;line-height:1.9;max-width:245px;margin:0 0 25px}.screen-empty .button{font-size:12px;min-height:39px}.screen-empty .button>.icon{width:15px;height:15px}.remote-nav{display:flex;align-items:center;justify-content:center;padding:10px 20px;gap:22px;min-height:71px;background:#fff}.remote-nav>button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;min-width:70px;border:0;border-radius:9px;background:transparent;color:#70818b;font-size:11px}.remote-nav>button:not(:disabled):hover{background:#f2f6f5;color:#367a69}.remote-nav .icon{width:17px;height:17px}.screen-sidebar{display:flex;flex-direction:column;gap:18px}.tip-card{padding:24px 22px;border:1px solid #e1e8eb;border-radius:18px;background:#fff;box-shadow:var(--shadow)}.section-kicker{font-size:10px;color:#90a098;letter-spacing:1px;font-weight:550;margin:0 0 13px}.tip-card h2{font-size:17px;font-weight:550;letter-spacing:-.4px;margin:0 0 13px}.tip-card p{font-size:12px;color:#81919b;line-height:1.9;margin:0}.tip-divider{height:1px;background:#edf0f2;margin:21px 0 17px}.small-copy{font-size:10px!important;line-height:1.9!important;color:#97a3aa!important}.clipboard-card textarea{resize:vertical;min-height:91px;font-size:14px;padding:10px 12px;background:#fafbfc}.clipboard-card textarea::placeholder{font-size:11px}.clipboard-card>.button{margin:11px 0 10px;font-size:11px;min-height:38px;padding:9px 10px}

.terminal-card{max-width:100%}.subtle-label{font-size:10px;font-weight:400;color:#95a4ad;margin-left:6px}.terminal-window{height:420px;background:#17212a;position:relative;padding:16px 11px 13px 17px}.terminal-container{width:100%;height:100%}.terminal-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#17212a;color:#839ba8;text-align:center;padding:25px}.terminal-empty>.icon{width:35px;height:35px;color:#5c837b;margin-bottom:20px}.terminal-empty h2{font-size:18px;font-weight:500;color:#c3d4db;margin:0 0 12px}.terminal-empty p{font-size:12px;line-height:1.9;max-width:290px;margin:0}.terminal-tools{padding:12px 17px;display:flex;align-items:center;gap:7px;flex-wrap:wrap;background:#f7f9fa;border-bottom:1px solid var(--line)}.tool-chip{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid #e4e9ec;border-radius:7px;min-height:33px;padding:6px 10px;font-size:11px;color:#647881;white-space:nowrap}.tool-chip>.icon{width:14px;height:14px}.tool-chip:hover:not(:disabled){border-color:#9dc6b9;color:#347d68}.tools-divider{width:1px;height:19px;background:#dfe7e9;margin:0 4px}.command-form{display:flex;align-items:center;gap:12px;padding:14px 18px}.command-form>span{color:#80a698;font:16px ui-monospace,monospace}.command-form input{border:0;background:transparent;border-radius:5px;padding:9px 0;font:14px ui-monospace,SFMono-Regular,Menlo,monospace;min-width:0;flex:1}.command-form input::placeholder{font-family:-apple-system,BlinkMacSystemFont,sans-serif;font-size:12px;color:#a0acb3}.command-form .button{font-size:12px;min-height:38px;padding:9px 15px}.command-form .icon{width:15px;height:15px}.panel-footnote{font-size:10px;color:#96a4ad;line-height:1.9;margin:15px 3px}.xterm .xterm-viewport{scrollbar-width:thin;scrollbar-color:#3a4b54 #17212a}.xterm .xterm-accessibility-tree{color:#dde4e7}

.setup-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:6px 0 24px}.setup-heading .eyebrow{margin-bottom:11px}.setup-heading h2{font-size:22px;letter-spacing:-.7px;margin:0 0 10px;font-weight:550}.setup-heading p:last-child{font-size:12px;color:#8b99a2;line-height:1.8;margin:0}.setup-heading>.button{font-size:11px;min-height:38px;padding:9px 13px}.setup-heading>.button .icon{width:15px;height:15px}.setup-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.setup-card{border:1px solid #e1e8eb;border-radius:18px;background:#fff;padding:24px 21px;box-shadow:var(--shadow)}.step-number{display:inline-block;color:#95b8ab;font:12px ui-monospace,SFMono-Regular,monospace;margin-bottom:25px;letter-spacing:1px}.setup-card h3{font-size:16px;font-weight:550;margin:0 0 13px;letter-spacing:-.3px}.setup-card p{font-size:12px;line-height:1.9;color:#85959f;margin:0 0 21px}.setup-card .button{font-size:11px;padding:10px;min-height:40px}.setup-card .button .icon{width:15px;height:15px}.setup-card .small-copy{margin:11px 0 0}.code-block{position:relative;border:1px solid #e5ebed;border-radius:9px;background:#f5f8f7;padding:11px 40px 11px 11px;margin-top:10px;min-height:42px;display:flex;align-items:center}.code-block code{font-size:10px;line-height:1.8;color:#4e7064;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,monospace}.copy-button{position:absolute;right:7px;top:11px;border:0;background:transparent;color:#8ca59b;font-size:9px;min-height:24px;padding:0 3px}.connection-details{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 23px;margin-top:20px}.connection-details h3{font-size:12px;font-weight:550;margin:0 0 7px}.connection-details p{font-size:11px;color:#94a1a9;line-height:1.8;margin:0}.setup-bottom{display:flex;align-items:center;justify-content:center;gap:9px;color:#a0adb4;margin-top:23px}.setup-bottom>.icon{width:15px;height:18px}.setup-bottom>p{font-size:10px;line-height:1.8;margin:0}.app-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:31px 0 26px;color:#a6b1b8;font-size:10px}.footer-mark{font-size:8px;letter-spacing:1.7px;color:#aeb9bf}

.modal-backdrop{position:fixed;inset:0;z-index:40;display:flex;align-items:center;justify-content:center;padding:22px;background:#15242f72;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.modal-card{background:#fff;border-radius:23px;padding:28px;width:100%;max-width:360px;box-shadow:0 20px 90px #0002}.modal-icon{width:43px;height:43px;display:grid;place-items:center;background:var(--mint);color:#3d8872;border-radius:12px;margin-bottom:20px}.modal-card h2{font-size:20px;letter-spacing:-.5px;font-weight:550;margin:0 0 12px}.modal-card>p{font-size:12px;line-height:1.8;color:#8b98a1;margin:0 0 22px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.modal-actions>.button{font-size:12px;min-height:40px}.toast{position:fixed;z-index:50;bottom:calc(25px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:min(90vw,500px);background:#243b43;color:#f1f8f7;padding:13px 20px;border:1px solid #3c555b;border-radius:12px;box-shadow:0 8px 30px #0002;font-size:12px;line-height:1.7;text-align:center}.toast[data-error=true]{background:#6e4141;border-color:#845252}.screen-expanded{overflow:hidden}.screen-expanded .screen-card{position:fixed;z-index:30;inset:0;border:0;border-radius:0;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);height:100vh;height:100dvh;background:#fff}.screen-expanded .screen-stage{flex:1;height:auto;min-height:0}.screen-expanded .card-toolbar{flex:none}.screen-expanded .remote-nav{flex:none}

@media(min-width:1350px){.app-shell{padding-top:7px}.screen-stage{height:600px}}
@media(max-width:900px){.app-shell{padding:0 26px}.screen-layout{grid-template-columns:minmax(0,1fr) 235px;gap:17px}.tip-card{padding:21px 18px}.screen-stage{height:538px}.setup-grid{gap:12px}.setup-card{padding:21px 17px}.setup-card h3{font-size:14px}.setup-card p{font-size:11px}.setup-card .button{font-size:10px}.setup-heading h2{font-size:20px}}
@media(max-width:720px){.app-shell{padding:0 18px}.app-header{height:82px}.brand{font-size:18px;gap:10px}.brand-mark{width:35px;height:35px;border-radius:11px;font-size:23px}.brand-sub{font-size:7px}.header-actions{gap:7px}.status-pill{font-size:10px;padding:6px 9px}.intro{padding:30px 0 25px}.intro h1{font-size:29px;letter-spacing:-1px}.intro .eyebrow{font-size:8px;letter-spacing:1.4px;margin-bottom:10px}.intro>div>p:last-child{font-size:11px}.device-badge{padding:9px 10px;gap:7px;border-radius:11px}.device-badge>.icon{width:17px;height:25px}.device-badge>span{font-size:8px;letter-spacing:.7px}.device-badge small{font-size:8px}.tab-bar{width:100%;margin-bottom:20px;padding:4px;gap:2px;border-radius:12px}.tab{flex:1;padding:10px 6px;gap:6px;font-size:11px;min-height:39px}.tab>.icon{width:15px;height:15px}.screen-layout{grid-template-columns:1fr;gap:18px}.control-card{border-radius:17px}.card-toolbar{min-height:59px;padding:11px 14px}.toolbar-title{font-size:11px;gap:7px}.toolbar-buttons{gap:3px}.button-small{font-size:10px;padding:7px 10px;min-height:32px}.icon-button{width:32px;height:32px}.screen-stage{height:570px;height:min(150vw,610px)}.screen-empty p{font-size:11px}.remote-nav{min-height:63px;padding:8px 15px;gap:26px}.remote-nav>button{min-width:67px;font-size:10px}.screen-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:13px}.tip-card{padding:19px 17px;border-radius:16px}.tip-card h2{font-size:15px;line-height:1.6}.tip-card p{font-size:11px}.section-kicker{font-size:9px;margin-bottom:10px}.small-copy{font-size:9px!important}.tip-divider{margin:17px 0 13px}.clipboard-card textarea{min-height:85px;font-size:16px}.clipboard-card textarea::placeholder{font-size:10px}.clipboard-card>.button{font-size:9px;white-space:normal;line-height:1.5;padding:9px 7px}.terminal-window{height:420px;height:54svh;min-height:300px;padding:13px 7px 10px 12px}.terminal-tools{padding:10px 12px;gap:6px}.tool-chip{font-size:10px;padding:7px 8px;min-height:34px}.tool-chip>.icon{width:13px;height:13px}.tools-divider{margin:0 1px}.command-form{padding:12px;gap:9px}.command-form input{font-size:16px}.command-form input::placeholder{font-size:11px}.command-form .button{font-size:11px;padding:9px 12px;min-height:38px}.subtle-label{font-size:9px;margin-left:0}.panel-footnote{font-size:9px;margin-top:12px}.setup-heading{align-items:flex-start;margin:4px 0 20px;gap:12px}.setup-heading h2{font-size:19px;line-height:1.5;letter-spacing:-.5px;margin-bottom:7px}.setup-heading p:last-child{font-size:11px}.setup-heading>.button{font-size:10px;padding:9px 10px;min-height:36px;gap:5px;margin-top:1px}.setup-heading>.button>.icon{width:13px;height:13px}.setup-grid{grid-template-columns:1fr;gap:13px}.setup-card{padding:22px}.step-number{float:left;margin:2px 15px 0 0;font-size:11px}.setup-card h3{font-size:16px;line-height:1.4;margin-bottom:12px}.setup-card p{font-size:12px;clear:both;margin:0 0 16px;line-height:1.9}.setup-card .button{font-size:12px;min-height:44px}.setup-card .small-copy{font-size:10px!important}.code-block{padding:12px 46px 12px 13px}.code-block code{font-size:11px}.copy-button{right:10px;top:10px;font-size:10px;min-height:27px}.connection-details{padding:18px}.connection-details p{font-size:10px}.setup-bottom{align-items:flex-start;padding:0 9px}.setup-bottom>.icon{margin-top:1px;flex:none}.setup-bottom>p{font-size:9px}.app-footer{padding:26px 1px 24px;font-size:9px}.footer-mark{font-size:7px;letter-spacing:1.2px}}
@media(max-width:390px){.app-shell{padding:0 14px}.intro h1{font-size:27px}.device-badge{display:none}.screen-sidebar{grid-template-columns:1fr}.clipboard-card{padding:20px}.clipboard-card>.button{font-size:11px}.tip-card h2{font-size:16px}.tip-card p{font-size:12px}.small-copy{font-size:10px!important}.screen-stage{height:520px}.tools-divider{display:none}.terminal-tools{gap:5px}.tool-chip{padding:7px}.setup-heading>.button{font-size:0;width:36px;padding:8px}.setup-heading>.button .icon{width:17px;height:17px}.login-card{padding:25px}.login-card h1{font-size:29px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

.pairing-code-box{margin-top:18px;padding:17px 12px;background:var(--mint);border-radius:12px;text-align:center}.pairing-code-box strong{display:block;font:600 28px ui-monospace,monospace;letter-spacing:2px;color:var(--accent-dark);white-space:nowrap}.pairing-code-box p{margin:10px 0 0!important;font-size:10px!important}.installer-fallback{margin-top:18px;color:var(--muted);font-size:11px}.installer-fallback summary{cursor:pointer}.installer-fallback .button{margin-top:12px}.code-block code{overflow-wrap:anywhere;word-break:break-word;white-space:normal}
