:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#202c40;background:#f4f7fb;font-synthesis:none;--blue:#176bdf;--line:#e4eaf2;--muted:#788699;--green:#11a56a;--red:#de4451}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent }button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,a,input,textarea{outline-offset:4px}a{color:var(--blue);text-decoration:none}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h2{font-size:22px;letter-spacing:-.5px}h3{font-size:15px}p{line-height:1.7}input,textarea{width:100%;border:1px solid #d9e1ed;border-radius:8px;padding:12px 14px;background:white;color:inherit}input:focus,textarea:focus{outline:2px solid #b8d5fc;border-color:var(--blue)}label{display:block;font-size:13px;font-weight:600}label input{margin-top:9px}textarea{resize:vertical;line-height:1.7}button{border:0}.primary,.secondary,.danger{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 18px;border-radius:8px;font-size:13px;font-weight:600;white-space:nowrap}.primary{background:var(--blue);color:#fff;box-shadow:0 3px 8px #176bdf22}.primary:hover{background:#135dc4}.secondary{background:#fff;border:1px solid #dce4ef;color:#42516b}.secondary:hover{background:#f2f6fc}.danger{background:#fff0f1;color:#c73545;border:1px solid #f5d2d6}.small{padding:8px 12px}.text-button{background:none;color:var(--blue);padding:10px 0;font-size:13px}.wide{width:100%}.muted{color:var(--muted);font-size:13px}.error{color:#c73545;font-size:13px;min-height:20px}.eyebrow{font-size:10px;font-weight:700;color:#8e9aab;letter-spacing:2px}.brand{display:flex;align-items:center;gap:12px;font-size:29px;font-weight:850;color:var(--blue);letter-spacing:-2px}.brand span{font-size:15px;font-weight:650;color:#30425b;letter-spacing:0}.auth{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr;max-width:1220px;margin:auto;padding:60px;align-items:center;gap:100px}.auth-intro h1{font-size:58px;letter-spacing:-2px;line-height:1.25;margin:80px 0 24px}.auth-intro p{color:#61748e}.intro-note{font-size:12px;color:#7e8ea5;margin-top:80px}.auth-card{padding:44px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 16px 60px #1b3f7408}.auth-card h2{margin:14px 0 10px;font-size:30px}.auth-card label{margin-top:22px}.auth-card .error{margin:14px 0}.auth-card .text-button{display:block;margin:16px auto 0}.console{display:flex;min-height:100vh}.sidebar{position:fixed;top:0;bottom:0;width:260px;background:#fff;border-right:1px solid var(--line);padding:26px 20px;display:flex;flex-direction:column;z-index:3}.sidebar>.brand{padding:0 10px 26px}.side-label{display:flex;align-items:center;justify-content:space-between;color:#8a98aa;text-transform:uppercase;letter-spacing:1px;font-size:11px;font-weight:600;padding:8px 10px}.icon{font-size:22px;background:none;color:#8492a6;padding:0 5px}.devices{overflow:auto;max-height:36vh;min-height:90px}.device{display:block;text-align:left;width:100%;background:transparent;border:1px solid transparent;border-radius:10px;padding:13px 12px;margin:4px 0}.device.selected{background:#edf5ff;border-color:#cce2fe}.device-name{display:flex;align-items:center;gap:9px;font-family:ui-monospace,Consolas,monospace;font-size:13px;font-weight:600;color:#344866}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--red);flex-shrink:0}.dot.online{background:var(--green);box-shadow:0 0 0 3px #11a56a12}.device-time{display:block;font-size:10px;line-height:1.7;color:#8a98aa;margin:8px 0 0 17px}.tools-label{margin-top:30px;margin-bottom:8px}.nav-button{background:none;color:#697a93;display:flex;align-items:center;gap:14px;font-size:13px;font-weight:600;width:100%;padding:13px 16px;text-align:left;border-radius:8px;margin:4px 0}.nav-button>span{width:20px;font:600 19px ui-monospace,monospace;text-align:center}.nav-button.active{background:var(--blue);color:#fff;box-shadow:0 4px 10px #176bdf18}.nav-button:not(.active):hover{background:#f4f7fc}.sidebar-bottom{margin-top:auto;padding-top:25px}.sidebar-bottom>.text-button{color:#9aa6b6;font-size:11px;margin-left:16px}.sidebar-bottom>p{font-size:10px;color:#a1acbb;margin:12px 10px 0}.main{margin-left:260px;flex:1;min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;padding:23px 38px;border-bottom:1px solid var(--line);background:#fff;height:94px}.topbar h1{font-size:20px;margin:5px 0 0}.user{display:flex;align-items:center;gap:18px;font-size:13px;color:#62718a}.workspace{padding:24px 38px 40px;max-width:1540px;margin:auto}.device-banner{display:flex;align-items:center;gap:10px;font-size:12px;color:#73839b;margin:0 0 32px}.device-banner strong{color:#344866;font-weight:600}.page{animation:appear .18s ease}@keyframes appear{from{opacity:.4;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.section-heading h2{margin-bottom:6px}.section-heading p{font-size:12px;color:#8997aa;margin-bottom:0}.pill{background:#eaf1fb;color:#607ca1;font:600 11px ui-monospace,monospace;letter-spacing:1px;padding:6px 12px;border-radius:5px}.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:24px}.command{margin-top:14px;background:#fafcff;font-family:ui-monospace,Consolas,monospace;font-size:14px;min-height:160px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px}.inline{display:flex;align-items:center;gap:10px;color:#7f8ca1;font-weight:400}.inline>input[type=number]{width:80px;margin:0;padding:8px 10px}.inline>input[type=checkbox]{width:auto;margin:0;accent-color:var(--blue)}.output-header{display:flex;align-items:center;justify-content:space-between;margin:30px 0 12px}.output-header h3{margin:0}.output{background:#172338;color:#c5d6ed;border:1px solid #202e45;border-radius:12px;min-height:220px;padding:22px;font:13px/1.8 ui-monospace,Consolas,monospace;white-space:pre-wrap;word-break:break-word;max-height:60vh;overflow:auto}.qq-page{height:calc(100vh - 186px);min-height:500px}.qq-page iframe{border:1px solid var(--line);border-radius:12px;background:white;width:100%;height:100%}.pathbar{display:flex;gap:10px;margin-bottom:20px}.pathbar>input{font:13px ui-monospace,monospace}.file-toolbar{display:flex;align-items:center;gap:20px;padding:0 4px 18px;font-size:12px;color:#8997aa}.file-actions{display:flex;gap:8px;margin-left:auto}.file-table-wrap{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left;white-space:nowrap}th{padding:15px 18px;color:#8c98aa;background:#fbfcfe;font-size:11px;font-weight:500;border-bottom:1px solid var(--line)}td{padding:15px 18px;border-bottom:1px solid #f0f3f8;color:#6d7d93}tr:last-child td{border-bottom:0}td input[type=checkbox]{width:auto;accent-color:var(--blue)}td .file-name{font-weight:500;color:#425675;background:none;padding:0;text-align:left;max-width:460px;white-space:normal;overflow-wrap:anywhere}td .folder{color:#2377df}.empty-note{text-align:center;color:#9ba7b7;font-size:13px;margin:35px 20px}.screen-buttons{display:flex;gap:10px}.screen-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:560px;background:#e9eef5;border:1px solid #dce4ee;border-radius:14px;padding:24px}.screen-stage p{font-size:12px;color:#8797ad;margin:0 0 18px}.screen-stage img{max-width:100%;max-height:70vh;background:#182336;box-shadow:0 14px 50px #14264120;border-radius:5px;object-fit:contain}.empty-state{text-align:center;padding:100px 20px}.empty-state p{color:#8997aa;font-size:13px}.empty-symbol{width:70px;height:70px;display:grid;place-items:center;border:1px dashed #b6c9e6;border-radius:18px;margin:0 auto 25px;color:var(--blue);font-size:35px}dialog{border:1px solid var(--line);border-radius:16px;padding:28px;max-width:650px;width:calc(100% - 40px);box-shadow:0 25px 100px #102b4c30}dialog::backdrop{background:#15294555}dialog p{font-size:13px;color:#8391a5}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.dialog-heading h2{margin:0}.pair-code{font:700 28px ui-monospace,monospace;letter-spacing:3px;color:var(--blue);padding:25px 0}dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.8 ui-monospace,monospace;background:#f4f7fc;padding:15px;border-radius:8px}.toast{position:fixed;right:26px;bottom:26px;max-width:520px;z-index:20;background:#22334c;color:#fff;border:1px solid #50617b;border-radius:10px;padding:16px 22px;font-size:13px;line-height:1.7;white-space:pre-wrap;box-shadow:0 8px 30px #162e4a33}#new-codes{font-family:ui-monospace,Consolas,monospace;margin-bottom:12px}#invite-form{margin-top:0}
@media(max-width:1000px){.auth{padding:35px;gap:40px}.auth-intro h1{font-size:46px}.sidebar{width:225px;padding:22px 14px}.main{margin-left:225px}.workspace{padding:24px}.topbar{padding:20px 24px}.file-toolbar{flex-wrap:wrap}.file-actions{margin-left:0}}
@media(max-width:700px){.auth{display:block;padding:30px 20px}.auth-intro h1{font-size:36px;margin:30px 0 12px}.intro-note{display:none}.auth-card{padding:26px;margin-top:30px}.console{display:block}.sidebar{position:relative;width:100%;padding:16px;border-right:0;border-bottom:1px solid var(--line)}.sidebar>.brand{padding:0 0 10px;font-size:24px}.devices{display:flex;max-height:none;min-height:0;overflow-x:auto}.device{min-width:190px;width:190px;padding:10px}.device-time{font-size:9px}.tools-label{display:none}#navigation{display:flex;gap:5px;margin-top:12px}.nav-button{padding:10px 8px;justify-content:center;font-size:12px;gap:5px}.nav-button>span{font-size:15px;width:15px}.sidebar-bottom{padding:0;display:flex;align-items:center;gap:20px}.sidebar-bottom p{display:none}.sidebar-bottom .nav-button{width:auto;margin:5px 0 0}.sidebar-bottom .text-button{margin:5px 0 0}.main{margin:0}.topbar{height:76px;padding:15px 20px}.workspace{padding:20px 16px}.device-banner{margin-bottom:24px;flex-wrap:wrap}.section-heading{flex-wrap:wrap;gap:15px}.section-heading h2{font-size:20px}.card{padding:16px}.command{min-height:150px}.output{font-size:12px;min-height:190px}.file-toolbar{gap:12px}.file-actions .secondary,.file-actions .danger{padding:8px 12px}.qq-page{height:75vh}.screen-stage{min-height:380px;padding:16px}.toast{left:16px;right:16px;bottom:16px}.user{gap:10px}.empty-state{padding:50px 10px}}
