:root{--canvas:#eef3fa;--ink:#24354b;--navy:#17365b;--line:#dbe4ef;--muted:#5d6f83;--success:#24735a;--danger:#b43b4b;font-family:"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif;color:var(--ink);background:var(--canvas);font-size:15px}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select{font:inherit}button,.button{cursor:pointer;border:1px solid transparent;border-radius:7px;padding:10px 16px;font-weight:600;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:8px}button:disabled{opacity:.55;cursor:wait}button:hover,.button:hover{filter:brightness(.95)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #729bcd;outline-offset:3px}.primary{background:var(--navy);color:white}.secondary{background:white;border-color:#bdcada;color:var(--navy)}.danger-outline{background:white;color:var(--danger);border-color:#d8b2b8}.muted,.fine{color:var(--muted)}.fine{font-size:.85rem;line-height:1.7}.error{color:var(--danger);min-height:1.4em}h1,h2,p{margin-top:0}h1{font-size:2rem;line-height:1.35;font-weight:650;letter-spacing:-.025em;margin-bottom:8px}h2{font-size:1.1rem;font-weight:650;margin-bottom:14px}p{line-height:1.75}label{display:block;font-weight:600;margin:20px 0}input,select{border:1px solid #b9c8d9;border-radius:6px;background:white;color:var(--ink);padding:11px 12px;min-width:0}label>input{display:block;width:100%;margin-top:9px}input[readonly]{background:#f6f8fc;font-size:.9rem}label .fine{display:block;font-weight:400;margin-top:8px}.brand{display:flex;align-items:center;gap:10px;font-size:1.35rem;font-weight:700;text-decoration:none;color:inherit}.brand-mark{width:34px;height:34px;border-radius:10px 10px 10px 2px;background:var(--navy);color:white;display:grid;place-items:center}.login-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-intro{background:#dbe7f6;padding:50px max(6vw,32px);display:flex;flex-direction:column;justify-content:center;position:relative}.login-intro .brand{position:absolute;top:42px}.login-intro h1{font-size:clamp(2.6rem,4vw,4.2rem);font-weight:600;line-height:1.32;color:var(--navy);margin:40px 0 25px}.login-intro p{font-size:1.05rem}.route-art{display:flex;align-items:center;gap:12px;max-width:450px;margin-top:45px;font-size:.85rem}.route-art span{white-space:nowrap}.route-art i{height:2px;background:#91abc9;flex:1;min-width:18px}.login-main{display:grid;place-items:center;padding:40px;background:white}.login-form{width:min(100%,370px)}.login-form h2{font-size:1.8rem}.login-form button{width:100%}.login-form>.fine{margin-top:24px}.app-layout{display:grid;grid-template-columns:225px minmax(0,1fr);min-height:100vh}.sidebar{background:white;border-right:1px solid var(--line);padding:30px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.node-label{color:var(--muted);margin:35px 10px 22px;display:flex;align-items:center;gap:8px}.signal{height:8px;width:8px;background:#5f83b2;border-radius:50%}nav{display:grid;gap:8px}nav button{justify-content:start;color:var(--muted);background:transparent;font-weight:500;padding:13px 15px}nav button[aria-current=page]{background:#eaf0f9;color:var(--navy);font-weight:700}.sidebar-bottom{margin-top:auto;display:grid;gap:12px;font-size:.8rem;color:var(--muted);overflow-wrap:anywhere}.sidebar-bottom button{background:#f1f5fa;color:var(--navy)}.workspace{padding:36px clamp(22px,4vw,64px);max-width:1450px;width:100%}.page-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-header p{color:var(--muted);margin:0}.header-actions{display:flex;align-items:center;gap:14px;font-size:.85rem}.server-strip{display:grid;grid-template-columns:1fr 1fr 1.3fr .7fr;gap:24px;padding:22px 0 28px}.server-strip>div{display:grid;gap:8px}.server-strip strong{font-size:1.1rem;font-weight:600}.panel{background:white;border:1px solid var(--line);border-radius:10px;padding:24px;margin-bottom:24px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.section-heading h2{margin:0}.section-heading .muted{font-size:.9rem}.service-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 0;border-bottom:1px solid var(--line)}.service-row:last-child{border-bottom:0}.service-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.service-title strong{font-weight:650}.service-meta{font-size:.83rem;color:var(--muted);margin:7px 0 0}.service-actions{display:flex;gap:8px;flex-shrink:0}.service-actions button{font-size:.85rem;padding:8px 12px}.badge{border-radius:5px;padding:5px 9px;background:#eef2f7;color:var(--muted);font-size:.8rem;white-space:nowrap}.badge.ok{background:#e7f3ed;color:var(--success)}.badge.bad{background:#fae9ed;color:var(--danger)}.section-note{color:var(--muted);font-size:.85rem;margin:16px 0 0;line-height:1.7}.resource-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-bottom:24px}.resource{border-left:3px solid #8fa9c8;padding:10px 18px}.resource h2{color:var(--muted);font-size:.9rem;font-weight:500}.resource strong{font-size:1.3rem;font-weight:650}.resource p{font-size:.85rem;margin:12px 0 0}progress{display:block;width:100%;height:6px;margin-top:15px;accent-color:#426c9e;border:0;border-radius:6px;overflow:hidden}progress::-webkit-progress-bar{background:#dce5ef}progress::-webkit-progress-value{background:#426c9e}.notice{border-left:3px solid #658ab6;padding:15px 20px;margin-bottom:24px;background:#e1eaf6;line-height:1.8}.copy-field{display:flex;gap:10px;margin-top:10px}.copy-field input{flex:1;width:100%}.url-label{font-size:.9rem}.full-input{width:100%}.node-links{display:grid;gap:12px;margin-top:20px}.node-link-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:16px;border-top:1px solid var(--line)}.node-link-row p{font-size:.85rem;margin:4px 0 0;color:var(--muted)}details>summary{cursor:pointer;font-weight:600}details[open]>summary{margin-bottom:18px}.inline-label{display:flex;align-items:center;gap:15px;margin:0}pre{background:#edf2f8;border:1px solid #dbe4ef;border-radius:6px;color:#283f5a;padding:20px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:65vh;overflow:auto;line-height:1.7;font-size:.85rem;min-height:220px}.narrow{max-width:640px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#17365b;color:white;padding:14px 24px;border-radius:8px;max-width:min(90vw,600px);z-index:20;box-shadow:0 4px 20px #17365b20}dialog{border:0;border-radius:12px;padding:28px;max-width:min(92vw,470px);color:var(--ink)}dialog::backdrop{background:#152e4b66}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}#bans{overflow-wrap:anywhere;margin-bottom:0}
@media(max-width:1050px){.page-header{align-items:start}.header-actions{flex-direction:column-reverse;align-items:end}.server-strip{grid-template-columns:1fr 1fr}.app-layout{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:24px 14px}.service-row{align-items:start;flex-direction:column}.service-actions{align-self:flex-end}}
@media(max-width:700px){.login-layout{display:block}.login-intro{min-height:280px;padding:32px}.login-intro .brand{top:24px}.login-intro h1{font-size:2.4rem;margin:60px 0 12px}.login-intro h1 br{display:none}.login-intro p{font-size:.9rem;margin:0}.route-art{display:none}.login-main{padding:32px 24px;min-height:460px}.app-layout{display:block}.sidebar{position:static;height:auto;padding:16px;border-right:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:14px}.sidebar .brand{font-size:1.15rem}.node-label{margin:0}.sidebar nav{grid-column:1/-1;display:flex;overflow:auto;gap:4px}.sidebar nav button{white-space:nowrap;font-size:.88rem;padding:10px}.sidebar-bottom{display:none}.workspace{padding:24px 16px}.page-header h1{font-size:1.6rem}.header-actions{min-width:75px}.header-actions #refreshed{font-size:.7rem}.header-actions button{padding:8px}.page-header{gap:10px}.panel{padding:20px 16px}.resource-grid{grid-template-columns:1fr;gap:20px}.resource{padding:5px 16px}.resource progress{max-width:320px}.copy-field{flex-direction:column}.copy-field button{align-self:start}.section-heading{flex-wrap:wrap}.server-strip{gap:20px}.server-strip strong{font-size:.95rem}.inline-label{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media(max-width:700px){.sidebar-bottom{display:flex;grid-column:1/-1;align-items:center;justify-content:space-between;gap:12px}.sidebar-bottom button{padding:7px 11px}}
