*{box-sizing:border-box} :root{font-family:"Segoe UI","Microsoft YaHei UI",sans-serif;color:#203b40;background:#f5f8f8;font-synthesis:none;--accent:#167d86;--muted:#6b8185;--border:#e1e9e9;--danger:#b74442}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer;border:0;transition:background .15s,box-shadow .15s}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #68bac2;outline-offset:3px}button:hover:not(:disabled){filter:brightness(.96)}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}h1,h2,p{margin:0}h1{font-size:30px;letter-spacing:-.8px;font-weight:650}h2{font-size:18px;font-weight:650}p{line-height:1.7}small,.small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:var(--accent)}.primary,.secondary,.ghost,.danger{border-radius:9px;padding:11px 17px;font-size:13px;font-weight:600;white-space:nowrap}.primary{background:var(--accent);color:white;box-shadow:0 3px 7px #167d8618}.secondary{background:white;border:1px solid var(--border);color:#385358}.ghost{background:transparent;color:var(--muted)}.danger{background:#b74442;color:white}.danger-link{color:var(--danger)}.wide{width:100%}input:not([type=checkbox]),textarea{width:100%;padding:12px 14px;border:1px solid #d8e3e4;border-radius:9px;color:#203b40;background:#fff;outline-color:var(--accent)}input[type=checkbox]{accent-color:var(--accent);width:16px;height:16px}textarea{resize:vertical;font:12px/1.6 Consolas,monospace;min-height:100px;word-break:break-all}label{display:block;font-size:13px;font-weight:600}.brand{display:flex;align-items:center;gap:11px;color:inherit;text-decoration:none;font-size:20px;font-weight:700;letter-spacing:-.5px}.brand img{height:45px;width:45px;object-fit:cover;border-radius:13px}.brand small{display:block;letter-spacing:2px;font-weight:500;margin-top:3px;font-size:10px;color:var(--muted)}.login-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.welcome{padding:44px 64px;background:#e6f2f1;display:flex;flex-direction:column;min-height:100vh;position:relative;overflow:hidden}.welcome-copy{margin:auto 0;padding:70px 0}.welcome-copy h1{font-size:44px;line-height:1.4;letter-spacing:-1px;margin:18px 0;color:#205c62;white-space:pre-line}.welcome-copy p{color:#55787b;font-size:15px;white-space:pre-line}.welcome-footer{font-size:12px;color:#648589}.connection-art{display:flex;align-items:center;margin-top:48px;max-width:340px}.connection-art img{height:82px;width:82px;border-radius:24px;box-shadow:0 15px 35px #418a831c}.connection-art span{display:grid;place-items:center;width:52px;height:52px;border:1px solid #c0dbd9;background:#f7fcfb;border-radius:16px;font-size:26px;color:#6b9a9d}.connection-art i{flex:1;border-top:2px dashed #adcecb;margin:0 12px}.login-side{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 48px;position:relative;background:#fff}.login-side>.language{position:absolute;right:32px;top:32px}.login-card{max-width:350px;width:100%}.login-card h2{font-size:28px;margin:12px 0}.login-card>.muted{margin-bottom:32px;font-size:14px}.login-card label{margin-bottom:10px}.login-card .small{margin-top:22px}.error{color:var(--danger);font-size:13px;line-height:1.6}.login-card .error{min-height:32px;padding:6px 0}.setup-hint{max-width:350px;padding:18px;background:#fff5df;border-radius:10px;margin-top:24px;color:#806338;font-size:13px;overflow-wrap:anywhere}.shell{display:grid;grid-template-columns:218px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--border);padding:30px 20px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.sidebar .brand{padding:0 5px;margin-bottom:46px}.nav-caption{font-size:10px;color:#93a4a6;padding:0 14px;margin-bottom:12px;letter-spacing:1px}.nav{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:13px 15px;color:#657d82;background:transparent;border-radius:9px;font-size:13px;margin-bottom:6px}.nav>span:first-child{font-size:19px;line-height:20px;width:21px;text-align:center}.nav.active{background:#e8f4f3;color:#167d86;font-weight:650}.sidebar-bottom{margin-top:auto}.sidebar-bottom>.ghost{font-size:12px;padding:10px}.privacy-card{padding:17px 13px;margin-bottom:18px;background:#f5f9f9;border:1px solid #edf2f2;border-radius:12px;font-size:11px;line-height:1.6;color:#71868a}.privacy-card strong{display:block;color:#4d7075;font-size:12px;margin:4px 0 6px}.lock-symbol{color:#378e94;font-size:22px}main{padding:36px 42px 0;min-width:0;max-width:1480px;width:100%;margin:auto;align-self:start}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;gap:18px}header h1{margin:8px 0}header p{font-size:13px}.header-actions{display:flex;align-items:center;gap:14px}.badge{font-size:11px;border-radius:20px;padding:6px 10px;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.badge.good{color:#208077;background:#e9f5ee}.badge.good:before{content:"";height:6px;width:6px;background:#3c9c7f;border-radius:50%}.badge.neutral{background:#eff3f3;color:#809297}.badge.warning{background:#fff3dc;color:#91733e}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.stats article{padding:23px 24px;background:white;border:1px solid var(--border);border-radius:13px;display:flex;flex-direction:column}.stats article>span{font-size:12px;color:#70858a}.stats strong{font-size:38px;font-weight:600;letter-spacing:-1px;margin:10px 0 8px}.stats small{font-size:11px;color:#91a0a4}.welcome-banner{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px 29px;margin:24px 0;background:#e6f2f1;border:1px solid #d7e9e7;border-radius:13px}.welcome-banner h2{font-size:20px;margin:10px 0}.welcome-banner p{font-size:12px;color:#5f7c80}.panel{background:white;border:1px solid var(--border);border-radius:13px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:23px 25px;gap:16px}.panel-heading p{margin-top:7px}.empty{padding:40px 24px 44px;text-align:center;color:#829397}.empty-symbol{display:block;font-size:29px;color:#aec4c5;margin-bottom:15px}.empty strong{display:block;font-size:14px;font-weight:500;color:#5e7c80;margin-bottom:8px}.empty p{font-size:12px;max-width:460px;margin:auto}.empty button{margin-top:18px}.address-panel{margin-top:20px;padding:17px 20px;display:flex;align-items:center;gap:18px;background:#edf3f3;border-radius:10px;font-size:12px;color:#70858a}.address-panel code{flex:1;color:#486e74;overflow-wrap:anywhere;min-width:0}.address-panel .ghost{padding:7px 10px}footer{display:flex;justify-content:space-between;gap:15px;color:#98a8ab;font-size:10px;padding:34px 0 25px;overflow-wrap:anywhere}.toolbar{display:flex;gap:18px;align-items:center;margin:0 0 24px}.toolbar input[type=search]{max-width:350px;font-size:13px}.toolbar .primary{margin-left:auto}.check{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:12px;color:#758b90;font-weight:400}.device-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.device-grid>.empty{grid-column:1/-1;background:white;border:1px dashed #ccdede;border-radius:13px}.device-card{border:1px solid var(--border);border-radius:13px;background:#fff;overflow:hidden}.device-card.revoked{opacity:.7}.device-top{display:flex;align-items:center;gap:13px;padding:23px 23px 15px}.device-icon{display:grid;place-items:center;border-radius:11px;width:43px;height:43px;background:#eef5f5;font-size:22px;color:#51828a;flex-shrink:0}.device-name{min-width:0;flex:1}.device-name h2{font-size:15px;overflow-wrap:anywhere}.device-name code{display:block;font-size:10px;color:#98a8ab;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:6px}.device-detail{padding:0 23px 20px;font-size:12px;color:#7e9397}.device-detail p{margin:5px 0}.fingerprint{font:10px/1.7 Consolas,monospace;overflow-wrap:anywhere;background:#f5f8f8;padding:9px 11px;border-radius:7px;display:block;margin-top:10px}.device-actions{display:flex;gap:6px;align-items:center;border-top:1px solid #eef3f3;padding:12px 15px}.device-actions button{font-size:12px;padding:9px 10px}.device-actions .danger-link{margin-left:auto}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th{padding:12px 24px;color:#8a9da0;background:#f9fbfb;font-size:11px;font-weight:500;border-top:1px solid #eef3f3}td{padding:17px 24px;border-top:1px solid #eef3f3;color:#58777d}td:first-child{color:#294d54;font-weight:600}td small{display:block;font-weight:400;color:#99a9ab;font-family:Consolas,monospace;margin-top:5px;max-width:180px;overflow:hidden;text-overflow:ellipsis}td .ghost{padding:5px 0;font-size:12px}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.guide{padding:27px}.step{font-size:32px;font-weight:600;color:#a4c6c5;display:block;margin-bottom:25px}.guide h2{margin-bottom:14px}.guide p,.help-note p{font-size:13px;color:#72898f}.guide button{margin-top:24px}.help-note{margin-top:24px;padding:27px}.help-note h2{margin-bottom:12px}.help-note p+p{margin-top:14px}.banner{padding:12px 16px;margin-bottom:20px;background:#fff0ed;border:1px solid #efdad4;border-radius:9px}dialog{border:1px solid var(--border);border-radius:18px;box-shadow:0 25px 100px #203b4033;width:min(530px,calc(100vw - 32px));padding:28px;color:#203b40;max-height:90vh;overflow:auto}dialog::backdrop{background:#18383d66;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:16px}.icon-button{font-size:25px;color:#789194;background:#f2f6f6;border-radius:8px;width:31px;height:31px;line-height:25px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}#dialog-body p{font-size:13px;color:#71888d;margin:12px 0}#dialog-body label{margin:14px 0 8px}.secret-row{display:flex;gap:8px}.secret-row textarea{min-height:78px}.secret-row button{align-self:start}#dialog-body .warning-note{background:#fff5e1;color:#917440;padding:12px;border-radius:8px;font-size:12px}#dialog-error{margin-top:12px}#notice{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);background:#244e55;color:white;border-radius:10px;padding:13px 23px;font-size:13px;z-index:10;box-shadow:0 5px 25px #244e5526;max-width:90vw}
@media(min-width:1500px){main{padding-top:45px}}@media(max-width:1050px){main{padding:28px 25px 0}.shell{grid-template-columns:190px 1fr}.sidebar{padding:28px 14px}.welcome-banner{align-items:flex-start;flex-direction:column;gap:15px}.guide-grid{grid-template-columns:1fr}.guide .step{float:left;margin:0 25px 25px 0}.device-grid{grid-template-columns:1fr}.welcome{padding:35px}.welcome-copy h1{font-size:36px}}@media(max-width:740px){.shell{display:block}.sidebar{position:static;height:auto;padding:16px;border-right:0;border-bottom:1px solid var(--border)}.sidebar .brand{margin:0 0 18px}.sidebar nav{display:flex;gap:5px}.nav{justify-content:center;gap:5px;padding:9px 6px;margin:0;font-size:11px}.nav>span:first-child{font-size:15px;width:16px}.nav-caption,.privacy-card{display:none}.sidebar-bottom{position:absolute;right:12px;top:22px;display:flex}.sidebar-bottom>.ghost{font-size:11px;padding:8px}main{padding:23px 16px 0}.header-actions{gap:5px}.header-actions .secondary{padding:9px}h1{font-size:25px}.stats{gap:8px}.stats article{padding:17px 12px}.stats strong{font-size:30px}.stats article>span{font-size:10px}.stats small{font-size:9px}.toolbar{flex-wrap:wrap;gap:12px}.toolbar input[type=search]{max-width:100%}.toolbar .primary{margin-left:0}.address-panel{gap:8px;flex-wrap:wrap}.address-panel>span{width:100%}.panel-heading{padding:20px 17px}.panel-heading>.badge{font-size:9px}th,td{padding:13px 16px}.login-layout{display:block}.welcome{min-height:auto;padding:25px}.welcome-copy{padding:35px 0 10px}.welcome-copy h1{font-size:29px;white-space:normal}.welcome-copy p{font-size:12px}.connection-art,.welcome-footer{display:none}.login-side{padding:60px 25px 40px}.login-side>.language{top:10px;right:15px}.login-card h2{font-size:25px}footer{font-size:9px}.header-actions .badge{font-size:10px}dialog{padding:23px}.secret-row{flex-direction:column}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}button:active:not(:disabled){transform:none}}
@media(max-width:740px){.sidebar .nav{width:auto;flex:1;min-width:0;flex-direction:column;gap:4px;font-size:10px}.sidebar .nav>span:last-child{white-space:nowrap}.table-wrap table{min-width:540px}footer>span{min-width:0}footer>span:last-child{text-align:right}}
