
:root{--bg:#f7f8fc;--white:#fff;--ink:#202437;--muted:#777e91;--line:#e9ebf3;--purple:#6757db;--purple-light:#f0edff;--green:#23866c;--red:#c14954;--radius:14px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:var(--purple);text-decoration:none}button{border:0}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-1px;font-weight:650;margin-bottom:9px}h2{font-size:17px;letter-spacing:-.3px}h3{font-size:15px}p{line-height:1.6}.muted{color:var(--muted)}.small{font-size:12px}.mono,code,pre{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.loading{padding:80px;text-align:center;color:var(--muted)}
.brand{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:750;letter-spacing:-1px}.brand-mark{width:33px;height:35px;background:var(--purple);border-radius:9px;display:grid;place-items:center;color:white;font-size:25px;font-weight:800;letter-spacing:-3px;padding-right:3px}.brand em{font-style:normal;color:var(--purple)}
.auth{min-height:100dvh;display:grid;grid-template-columns:1.03fr 1fr}.auth-art{background:#201d3a;color:#fff;padding:52px 64px;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-art:after{content:"";position:absolute;width:650px;height:650px;border:1px solid #ffffff0d;border-radius:50%;bottom:-340px;left:-80px;box-shadow:0 0 0 70px #ffffff03,0 0 0 140px #ffffff03,0 0 0 210px #ffffff02;pointer-events:none}.auth-art .brand-mark{background:#9987ff}.auth-copy{margin:auto 0;max-width:440px;position:relative;z-index:1}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.7px;text-transform:uppercase;color:var(--purple)}.auth-art .eyebrow{color:#b6a9ff}.auth-copy h1{font-size:53px;line-height:1.12;letter-spacing:-2.6px;font-weight:600;margin:22px 0}.auth-copy h1 span{color:#b5a4ff}.auth-copy>p{color:#afabc4;font-size:16px;max-width:350px}.auth-steps{margin-top:40px;display:flex;gap:9px;align-items:center}.auth-step{border:1px solid #ffffff22;border-radius:12px;background:#ffffff07;padding:15px 13px;font-size:11px;display:flex;align-items:center;gap:9px}.auth-step svg{color:#baadff;width:17px}.auth-art footer{font-size:12px;color:#9590b1}.auth-form{display:flex;align-items:center;justify-content:center;padding:45px}.auth-box{width:100%;max-width:365px}.auth-box h2{font-size:27px;margin-bottom:10px}.auth-box>p{font-size:14px;color:var(--muted);margin-bottom:32px}.auth-box .brand{display:none}.field{display:block;margin:18px 0}.field>span{display:block;font-size:12px;font-weight:600;margin-bottom:9px}.field input,.field select,.field textarea{width:100%;border:1px solid #dfe2ec;border-radius:8px;padding:12px 13px;background:#fff;color:var(--ink);font-size:13px;min-height:43px}.field textarea{min-height:110px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #b8afff;border-color:var(--purple)}.field small{display:block;color:var(--muted);font-size:11px;line-height:1.6;margin-top:7px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);padding:10px 15px;font-size:12px;font-weight:600;white-space:nowrap;transition:background .15s,transform .15s}.btn:hover{background:#f4f3fb}.btn.primary{background:var(--purple);color:#fff;border-color:var(--purple);box-shadow:0 3px 5px #6757db12}.btn.primary:hover{background:#5747c6}.btn.danger{color:var(--red)}.btn svg{width:16px;height:16px}.btn.full{width:100%;margin-top:9px;padding:13px}.text-btn{background:none;color:var(--purple);padding:0;font-size:inherit}.auth-switch{text-align:center;font-size:12px;color:var(--muted);margin:24px 0}.error{color:var(--red);font-size:12px;line-height:1.6;margin-top:12px}.security-note{display:flex;gap:7px;color:var(--muted);font-size:11px;border-top:1px solid var(--line);padding-top:22px;margin-top:30px}.security-note svg{width:15px;height:15px;flex-shrink:0}
.shell{display:grid;grid-template-columns:232px 1fr;min-height:100dvh}.sidebar{background:white;border-right:1px solid var(--line);padding:30px 18px;position:fixed;inset:0 auto 0 0;width:232px;display:flex;flex-direction:column;z-index:4}.sidebar>.brand{margin:0 15px 33px}.workspace{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:9px;padding:11px;font-size:12px;margin-bottom:30px}.workspace .avatar{width:29px;height:29px;border-radius:7px;background:#f0edff;color:var(--purple);display:grid;place-items:center;font-size:12px;font-weight:700}.workspace strong{font-size:11px;display:block;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace small{font-size:10px;color:var(--muted)}.nav-label{font-size:9px;letter-spacing:1.8px;color:#9ba0af;padding-left:13px;margin-bottom:12px;font-weight:700}.nav-item{display:flex;align-items:center;gap:12px;width:100%;padding:12px 13px;background:none;color:#72788b;text-align:left;border-radius:8px;margin-bottom:4px;font-size:12px;font-weight:500}.nav-item.active{background:var(--purple-light);color:var(--purple);font-weight:650}.nav-item svg{width:18px;height:18px}.nav-count{margin-left:auto;font-size:10px;background:#ffffffa0;border:1px solid #e8e2ff;min-width:21px;padding:2px 5px;border-radius:5px;text-align:center}.sidebar-bottom{margin-top:auto}.side-note{background:#f8f7fe;border:1px solid #ece9fb;padding:14px 12px;border-radius:10px;margin:24px 0 16px}.side-note svg{color:var(--purple);margin-bottom:10px}.side-note strong{font-size:11px;display:block;margin-bottom:6px}.side-note p{font-size:10px;color:var(--muted);line-height:1.7;margin:0}.main{grid-column:2;min-width:0}.topbar{height:76px;background:#ffffffb3;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:20px}.breadcrumbs{font-size:11px;color:var(--muted);display:flex;gap:12px;align-items:center}.breadcrumbs span:last-child{color:var(--ink);font-weight:550}.top-actions{display:flex;align-items:center;gap:20px;color:var(--muted);font-size:10px}.live-dot{width:6px;height:6px;background:#34a484;border-radius:50%;display:inline-block;margin-right:5px}.user-avatar{width:30px;height:30px;border-radius:50%;background:#e9e6fa;color:var(--purple);display:grid;place-items:center;font-size:10px;font-weight:700}.content{padding:36px 40px;max-width:1500px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-head p{font-size:12px;color:var(--muted);margin:0}.head-actions{display:flex;gap:9px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:28px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:18px 21px}.stat-label{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px}.stat-label svg{width:16px;height:16px;color:#9a94bd}.stat-number{font-size:30px;font-weight:600;letter-spacing:-1px;margin-top:14px}.stat-foot{font-size:10px;color:var(--muted);margin-top:7px}.stat-foot .positive{color:var(--green)}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 17px}.section-heading h2{margin:0}.section-heading span{font-size:11px;color:var(--muted)}.server-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:28px}.server-card{border:1px solid var(--line);background:white;border-radius:var(--radius);padding:22px}.server-card.active-card{border-color:#c9c0f8;box-shadow:0 0 0 1px #e9e4ff}.server-top{display:flex;align-items:center;gap:12px;margin-bottom:22px}.server-icon{width:40px;height:40px;border-radius:10px;background:#f2f0fc;color:var(--purple);display:grid;place-items:center}.server-title{flex:1;min-width:0}.server-title h3{margin:0 0 5px;overflow:hidden;text-overflow:ellipsis}.server-title small{font-size:10px;color:var(--muted)}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:4px 7px;font-size:9px;font-weight:600;white-space:nowrap;background:#f1f2f7;color:#747b8f}.badge.good{color:var(--green);background:#eaf7f1}.badge.pending{color:#a17b24;background:#fcf6e6}.badge.bad{color:var(--red);background:#fceef0}.badge svg{width:11px;height:11px}.server-meta{display:flex;gap:22px;font-size:10px;color:var(--muted);margin-bottom:19px}.server-meta strong{color:#535b71;font-weight:500}.resource-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:16px 0;border-top:1px solid #f0f1f6;border-bottom:1px solid #f0f1f6}.resource-label{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);margin-bottom:8px}.resource-label b{color:#565d70;font-weight:500}.meter{height:4px;background:#efedf7;border-radius:5px;overflow:hidden}.meter i{display:block;height:100%;background:#9585e9;border-radius:5px;width:var(--value,0%)}.server-bottom{display:flex;align-items:center;justify-content:space-between;padding-top:16px;font-size:10px;color:var(--muted)}.server-bottom .text-btn{font-size:10px;font-weight:650}.server-add{border:1px dashed #d7d3e9;min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px;background:#fcfbff;border-radius:var(--radius)}.server-add .round{background:#efebff;color:var(--purple);width:40px;height:40px;border-radius:50%;display:grid;place-items:center;margin-bottom:15px}.server-add h3{font-size:13px;margin:0 0 8px}.server-add p{font-size:11px;color:var(--muted);max-width:220px;margin-bottom:17px}
.split{display:grid;grid-template-columns:1.65fr 1fr;gap:22px}.panel{border:1px solid var(--line);border-radius:var(--radius);background:white;overflow:hidden}.panel-title{display:flex;align-items:center;justify-content:space-between;padding:19px 22px;border-bottom:1px solid var(--line)}.panel-title h2{font-size:13px;margin:0}.panel-title .text-btn{font-size:10px}.empty{padding:43px 25px;text-align:center}.empty-icon{width:44px;height:44px;background:#f4f2fc;color:#968ac7;border-radius:11px;display:grid;place-items:center;margin:0 auto 15px}.empty h3{font-size:13px;margin:0 0 7px}.empty p{font-size:11px;color:var(--muted);max-width:340px;margin:0 auto 16px}.workflow{padding:20px 22px}.workflow-step{display:flex;gap:13px;padding:0 0 20px;position:relative}.workflow-step:not(:last-child):before{content:"";position:absolute;left:12px;top:28px;bottom:1px;width:1px;background:var(--line)}.step-number{border:1px solid #e6e2f5;background:#f8f6ff;border-radius:50%;width:26px;height:26px;display:grid;place-items:center;flex-shrink:0;font-size:10px;color:var(--purple)}.workflow-step h3{font-size:11px;margin:3px 0 5px}.workflow-step p{font-size:10px;color:var(--muted);margin:0}.workflow-step:last-child{padding-bottom:0}.notice{display:flex;align-items:flex-start;gap:11px;background:#f1f0fc;border:1px solid #e4e0f6;border-radius:10px;padding:15px 18px;color:#716594;font-size:11px;line-height:1.7;margin-bottom:23px}.notice svg{flex-shrink:0;margin-top:2px;width:17px}.notice strong{color:#54477b}.toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:20px}.toolbar select{border:1px solid var(--line);border-radius:8px;background:white;padding:10px 30px 10px 13px;color:#596174;font-size:11px;max-width:250px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:11px;white-space:nowrap}th{text-align:left;font-size:9px;text-transform:uppercase;letter-spacing:.7px;font-weight:600;color:#999faf;background:#fcfcfe;padding:14px 22px;border-bottom:1px solid var(--line)}td{padding:17px 22px;border-bottom:1px solid #f1f2f7}tr:last-child td{border-bottom:0}td strong{display:block;font-size:11px;margin-bottom:5px}td small{font-size:9px;color:var(--muted)}.table-actions{display:flex;gap:7px}.table-actions .btn{font-size:10px;padding:7px 10px}.activity-item{display:flex;align-items:center;gap:12px;padding:16px 22px;border-bottom:1px solid #f3f3f8}.activity-item:last-child{border-bottom:0}.activity-icon{background:#f3f1fb;color:#8b7fb5;border-radius:8px;width:31px;height:31px;display:grid;place-items:center;flex-shrink:0}.activity-icon svg{width:15px}.activity-item strong{display:block;font-size:11px;margin-bottom:4px}.activity-item small{font-size:10px;color:var(--muted)}.activity-item time{margin-left:auto;font-size:9px;color:#989eae}.page-footer{display:flex;justify-content:space-between;margin-top:30px;font-size:9px;color:#a0a5b4}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.setting-content{padding:22px;font-size:12px;line-height:1.8;color:var(--muted)}.setting-content code{font-size:10px;color:var(--ink)}
dialog{border:1px solid var(--line);border-radius:17px;padding:0;max-width:570px;width:calc(100% - 30px);box-shadow:0 30px 90px #1c143c33;color:var(--ink)}dialog::backdrop{background:#19172b70;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;padding:25px 27px 0}.dialog-head h2{font-size:21px;margin-bottom:8px}.dialog-head p{font-size:12px;color:var(--muted);margin:0;line-height:1.6}.dialog-close{background:none;color:var(--muted);padding:1px;margin-left:15px}.dialog-body{padding:5px 27px 25px}.dialog-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:23px}.command{white-space:pre-wrap;word-break:break-all;background:#242337;color:#d8d5f4;border-radius:9px;padding:18px;font-size:11px;line-height:1.8;max-height:340px;overflow:auto}.dialog-info{background:#f6f4ff;color:#77649d;border-radius:8px;font-size:11px;line-height:1.7;padding:13px 15px;margin:17px 0}.token-warning{font-size:11px;color:#987329;line-height:1.7}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);background:#252236;color:white;padding:13px 22px;border-radius:9px;font-size:12px;box-shadow:0 5px 25px #0002;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:10;max-width:90vw}#toast.visible{opacity:1;transform:translate(-50%,0)}.meter-0{--value:0%}.meter-10{--value:10%}.meter-20{--value:20%}.meter-30{--value:30%}.meter-40{--value:40%}.meter-50{--value:50%}.meter-60{--value:60%}.meter-70{--value:70%}.meter-80{--value:80%}.meter-90{--value:90%}.meter-100{--value:100%}
@media(min-width:1600px){.content{padding-top:45px}.server-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.content{padding:28px}.topbar{padding:0 28px}.shell{grid-template-columns:205px 1fr}.sidebar{width:205px}.stats{gap:11px}.stat{padding:16px}.split{grid-template-columns:1fr}.auth-art{padding:40px}.auth-copy h1{font-size:44px}.auth-steps{flex-wrap:wrap}.server-grid{grid-template-columns:1fr 1fr}.server-card{padding:18px}.server-meta{gap:13px}.server-top{gap:9px}}
@media(max-width:760px){.auth{grid-template-columns:1fr}.auth-art{display:none}.auth-form{min-height:100dvh;padding:30px}.auth-box .brand{display:flex;margin-bottom:40px}.shell{grid-template-columns:1fr}.sidebar{position:static;width:auto;border-right:0;padding:16px 18px;display:block;border-bottom:1px solid var(--line)}.sidebar>.brand{margin:0 0 18px;font-size:22px}.workspace,.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:5px;overflow:auto}.nav-item{width:auto;flex-shrink:0;padding:9px;font-size:10px;gap:6px;margin:0}.nav-item svg{width:15px}.nav-count{display:none}.main{grid-column:1}.topbar{height:50px;padding:0 20px}.top-actions>span{display:none}.content{padding:25px 18px}.page-head{align-items:flex-start;flex-direction:column;gap:15px}h1{font-size:25px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat-number{font-size:25px}.server-grid,.settings-grid{grid-template-columns:1fr}.page-footer{gap:15px}.toolbar{align-items:flex-start}.toolbar .btn{padding:10px}.dialog-head{padding:22px 20px 0}.dialog-body{padding:5px 20px 22px}.server-add{min-height:190px}}

.connection-panel{margin-top:22px}.activity-item>.btn{margin-left:auto}
