:root{--ink:#1d2a23;--muted:#78857d;--line:#e8eeea;--green:#1f9a5b;--green-dark:#147644;--green-soft:#eaf6ef;--bg:#f5f8f6;--white:#fff;--red:#c84b4b;--amber:#b78329;--shadow:0 8px 28px rgba(23,50,35,.055)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--bg);font-family:Inter,"Noto Sans SC",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.55}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;display:flex}.sidebar{width:238px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:26px 16px;display:flex;flex-direction:column;z-index:5}.brand,.login-brand{display:flex;align-items:center;gap:12px;padding:2px 8px 30px}.brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,#2ab66b,#147747);color:#fff;font-size:22px;font-weight:800;box-shadow:0 7px 16px rgba(31,154,91,.2)}.brand b,.login-brand b{display:block;font-size:15px;letter-spacing:.2px}.brand small,.login-brand small{display:block;color:#8a968f;font-size:11px;margin-top:1px}.side-label{padding:6px 12px 12px;color:#a3ada7;text-transform:uppercase;font-size:10px;font-weight:700;letter-spacing:1.2px}.nav-item{height:44px;display:flex;align-items:center;gap:12px;padding:0 12px;border-radius:10px;color:#65736b;font-weight:600;margin:2px 0;transition:.18s}.nav-item:hover{background:#f5f8f6;color:var(--green-dark)}.nav-item.active{background:var(--green-soft);color:var(--green-dark)}.nav-dot{width:7px;height:7px;border:1.7px solid currentColor;border-radius:3px;opacity:.8}.nav-item.active .nav-dot{background:var(--green);border-color:var(--green)}.side-foot{margin-top:auto;color:#8a968f;font-size:12px;padding:14px 12px;border-top:1px solid var(--line)}.online-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#25ae68;margin-right:7px;box-shadow:0 0 0 3px rgba(37,174,104,.12)}.main-area{margin-left:238px;min-width:0;flex:1;display:flex;flex-direction:column}.topbar{height:88px;background:#fff;border-bottom:1px solid var(--line);padding:0 34px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:4}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:800;color:#9aa69e}.topbar h1{margin:3px 0 0;font-size:20px;letter-spacing:-.3px}.top-user{display:flex;align-items:center;gap:10px;color:#56645c;font-size:13px}.avatar{width:32px;height:32px;border-radius:11px;background:#eaf6ef;color:#18834c;display:grid;place-items:center;font-weight:800}.content{width:100%;max-width:1500px;margin:0 auto;padding:28px 34px 36px;flex:1}.footer{padding:16px 34px 24px;color:#a2aca6;font-size:11px}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:2px 0 22px}.page-intro h2,.project-heading h2{font-size:22px;letter-spacing:-.5px;margin:0 0 5px}.page-intro p,.project-heading p{margin:0;color:var(--muted);font-size:13px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.stats-grid.six{grid-template-columns:repeat(3,minmax(0,1fr))}.stats-grid.compact{margin-top:20px;grid-template-columns:repeat(4,minmax(0,1fr))}.stat-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px 19px;box-shadow:var(--shadow);min-width:0}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#79867e;font-size:12px;font-weight:600}.stat-icon{height:28px;width:28px;border-radius:9px;display:grid;place-items:center;background:#eef7f1;color:var(--green);font-weight:800}.stat-value{font-size:27px;font-weight:800;letter-spacing:-1px;margin:11px 0 3px;color:#27372d;overflow:hidden;text-overflow:ellipsis}.stat-hint{font-size:11px;color:#9aa59e}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:21px 22px;margin-bottom:18px;box-shadow:var(--shadow);min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}.panel-head h3,.panel h3{font-size:15px;margin:0 0 3px}.panel-head p{color:var(--muted);font-size:12px;margin:0}.link{font-size:12px;color:var(--green-dark);font-weight:700;white-space:nowrap}.table-wrap{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:680px}th{text-align:left;font-size:11px;color:#8d9991;font-weight:600;background:#fafcfb;padding:12px 13px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:13px;border-bottom:1px solid #eff3f0;font-size:12px;color:#55635a;vertical-align:middle}tr:last-child td{border-bottom:0}.table-title{display:block;color:#26362c;font-weight:700;font-size:13px}.table-sub{display:block;color:#a0aaa3;font-size:10px;margin-top:2px}.wrap-cell{max-width:280px;overflow-wrap:anywhere}.badge{display:inline-flex;align-items:center;border-radius:20px;padding:4px 9px;font-size:10px;font-weight:700;white-space:nowrap}.badge.good{background:#e9f7ef;color:#16834b}.badge.warn{background:#fff5e4;color:#a87921}.badge.bad{background:#fff0ef;color:#bd4545}.badge.muted{background:#f0f3f1;color:#87928b}.empty-state{padding:38px 15px;text-align:center;color:#99a49d;font-size:13px}.empty-state.small{padding:19px 12px}.empty-cell{text-align:center;color:#9ba59f;padding:30px}.btn{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 15px;border-radius:9px;font-weight:700;font-size:12px;transition:.18s;white-space:nowrap}.btn.primary{background:var(--green);color:#fff;box-shadow:0 5px 12px rgba(31,154,91,.14)}.btn.primary:hover{background:var(--green-dark);transform:translateY(-1px)}.btn.light{background:#f4f7f5;border-color:#e7ede9;color:#5e6c63}.btn.light:hover{background:#edf3ef}.btn.success{background:#eaf7ef;color:#16834b;border-color:#d4ebdc}.btn.danger{background:#fff1f0;color:#b84646;border-color:#f5d8d6}.btn.tiny{padding:6px 9px;font-size:10px}.btn.full{width:100%;padding:13px}.text-button{border:0;background:none;color:#668073;font-size:11px;font-weight:700;padding:4px 6px}.text-button:hover{color:var(--green-dark)}.text-button.danger{color:#c14e4e}.inline-form{display:inline-flex;align-items:center;gap:4px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.form-grid label,.inline-create label{display:flex;flex-direction:column;gap:6px;color:#68756d;font-size:11px;font-weight:700;min-width:0}.form-grid input,.form-grid select,.form-grid textarea,.inline-create input,.inline-create select{width:100%;border:1px solid #e4ebe6;background:#fff;border-radius:9px;padding:10px 11px;outline:none;color:#28372e;font-size:12px;min-width:0}.form-grid textarea{resize:vertical}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.inline-create input:focus,.inline-create select:focus{border-color:#77c494;box-shadow:0 0 0 3px rgba(31,154,91,.09)}.span-2{grid-column:span 2}.field-hint{font-size:10px;color:#9aa59e;font-weight:400}.grid{display:grid;gap:18px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.accent-panel{background:linear-gradient(140deg,#f2faf5,#fff);border-color:#e1f0e6}.accent-panel p{color:#708078;font-size:12px}.mini-flow{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:22px}.mini-flow span{background:#e5f4ea;color:#28794a;padding:6px 9px;border-radius:7px;font-size:10px;font-weight:700}.mini-flow i{color:#90a297;font-style:normal}.breadcrumb{display:flex;align-items:center;gap:8px;color:#9aa59e;font-size:11px;margin-bottom:18px}.breadcrumb a{color:#698075}.project-heading{display:flex;justify-content:space-between;align-items:center}.project-tabs{display:flex;gap:7px;overflow-x:auto;padding:14px 0;border-bottom:1px solid var(--line);margin-bottom:17px}.project-tabs a{padding:8px 11px;border-radius:8px;background:#fff;border:1px solid var(--line);color:#627168;font-size:11px;font-weight:700;white-space:nowrap}.project-tabs a:hover{color:var(--green-dark);background:#eff8f2}.notice{padding:11px 13px;border-radius:9px;background:#f2f8f4;color:#597366;font-size:11px;line-height:1.7;margin-bottom:15px;border:1px solid #e4f0e8}.inline-create{display:flex;align-items:end;gap:12px;margin:12px 0 16px}.inline-create .grow{flex:1}.check-label{display:flex!important;flex-direction:row!important;align-items:center;gap:9px!important}.check-label input{width:auto}.actions{white-space:nowrap}.danger-zone{display:flex;justify-content:space-between;align-items:center;border-color:#f2ddda}.danger-zone h3{color:#a74444}.danger-zone p{margin:4px 0 0;color:#8f9992;font-size:11px}.key-reveal{padding:13px;background:#f1faf4;border:1px solid #d8efe0;border-radius:9px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px;color:#306949;font-size:11px}.key-reveal code,.api-doc code{padding:7px 9px;background:#fff;border:1px solid #e4eee7;border-radius:6px;overflow-wrap:anywhere;color:#1e6941}.api-doc{border-top:1px solid var(--line);padding-top:15px;margin-top:15px;display:flex;flex-direction:column;gap:8px;font-size:11px;color:#68766e}.api-doc code{display:inline-block;width:max-content;max-width:100%}.alert{padding:11px 14px;border-radius:9px;margin:0 0 16px;font-size:12px}.alert.success{background:#eaf7ef;color:#167747}.alert.error{background:#fff1ef;color:#b74343}.alert.warning{background:#fff7e9;color:#966b21}.settings-list>div{display:flex;justify-content:space-between;border-bottom:1px solid #eff3f0;padding:12px 0;font-size:12px}.settings-list>div:last-child{border:0}.settings-list span{color:#88958d}.settings-list b{color:#34443a}.clean-list{margin:0;padding-left:18px;color:#69776f;font-size:12px;line-height:2.1}.activity-list{display:flex;flex-direction:column}.activity-row{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid #eff3f0}.activity-row:last-child{border:0}.activity-dot{width:7px;height:7px;background:#36a86a;border-radius:50%}.activity-row div{display:flex;flex-direction:column;min-width:0}.activity-row b{font-size:12px}.activity-row small{font-size:10px;color:#8d9991}.activity-row time{margin-left:auto;color:#a1aaa4;font-size:10px;white-space:nowrap}.rank{display:inline-grid;place-items:center;width:19px;height:19px;background:#eff7f1;color:#27834e;border-radius:6px;margin-right:6px;font-size:10px}.range-tabs{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-bottom:18px}.range-tabs>a{padding:8px 13px;border-radius:8px;color:#738078;font-size:11px;font-weight:700}.range-tabs>a.active{background:#e5f5eb;color:#167c47}.custom-range{display:flex;align-items:center;gap:7px;margin-left:auto}.custom-range input{border:1px solid var(--line);border-radius:7px;padding:7px 8px;background:#fff;color:#536158;font-size:10px}.custom-range span{color:#a0aaa4;font-size:10px}.chart-panel{padding-bottom:15px}.chart-head{align-items:flex-start}.chart-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.check-inline{display:flex;align-items:center;gap:6px;color:#77837c;font-size:11px;white-space:nowrap}.check-inline input{accent-color:var(--green)}.chart-controls select{border:1px solid #e7ede9;border-radius:8px;padding:8px 10px;background:#fafcfb;color:#536158;font-size:11px}.chart-summary{display:flex;justify-content:space-between;align-items:center;color:#708078;font-size:11px;margin:8px 0 0}.chart-summary b{color:#34453a}.chart-canvas-wrap{width:100%;height:280px;margin-top:9px}.chart-canvas-wrap canvas{width:100%;height:100%;display:block}.chart-legend{display:flex;justify-content:center;gap:22px;color:#929d96;font-size:10px}.legend-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#239d5b;margin-right:5px}.legend-dot.pale{background:#b6d8c3}.jump-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px}.jump-summary div{background:#f7faf8;padding:14px;border-radius:10px}.jump-summary span{display:block;color:#8b9890;font-size:11px}.jump-summary b{display:block;font-size:23px;margin-top:5px}.progress-line{height:8px;background:#f2eeee;border-radius:9px;overflow:hidden;margin:16px 0 10px}.progress-line span{display:block;height:100%;background:#2b9b5f;border-radius:9px}.small-text{font-size:10px}.bar-row{margin:15px 0}.bar-row>div:first-child{display:flex;justify-content:space-between;font-size:11px;color:#6f7c74;margin-bottom:7px}.bar-row b{color:#3b4b41}.mini-bar{height:7px;background:#f0f4f1;border-radius:8px;overflow:hidden}.mini-bar i{display:block;height:100%;background:#48ac71;border-radius:8px}.bot-row{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid #eff3f0;font-size:12px;color:#6d7a72}.bot-row:last-child{border:0}.bot-row b{color:#33443a}.login-body{min-height:100vh;background:radial-gradient(circle at 15% 10%,#e2f4e9,transparent 36%),#f4f8f5;display:grid;place-items:center;padding:25px}.login-wrap{width:min(100%,420px)}.login-brand{justify-content:center;padding:0 0 22px}.brand-mark.big{width:47px;height:47px;font-size:26px}.login-card{background:#fff;border:1px solid #e5eee8;border-radius:18px;padding:32px;box-shadow:0 18px 60px rgba(24,71,43,.09)}.login-card h1{font-size:25px;margin:8px 0 4px}.muted{color:#8b9890}.login-card p{font-size:12px;margin:0 0 23px}.login-card form{display:flex;flex-direction:column;gap:15px}.login-card label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:700;color:#607067}.login-card input{border:1px solid #e3ebe6;border-radius:9px;padding:12px 13px;outline:none}.login-card input:focus{border-color:#71c18d;box-shadow:0 0 0 3px rgba(31,154,91,.09)}.login-foot{text-align:center;font-size:10px;color:#a6b0a9;margin-top:17px}.narrow-panel{max-width:760px}.form-actions{display:flex;gap:9px}.login-card .alert{margin:0}
/* User-facing entry flow */
.front-body{min-height:100vh;background:radial-gradient(circle at 50% 0%,#e3f3e9 0,#f4f8f5 38%,#f4f8f5 100%);display:flex;align-items:center;justify-content:center;padding:28px 16px}.front-wrap{width:min(100%,500px)}.front-brand{display:flex;align-items:center;justify-content:center;gap:10px;color:#597267;font-size:12px;font-weight:700;margin-bottom:19px}.front-brand .brand-mark{width:33px;height:33px;font-size:18px;border-radius:11px}.front-card{background:rgba(255,255,255,.96);border:1px solid #e5eee8;border-radius:25px;padding:34px 36px 26px;text-align:center;box-shadow:0 18px 55px rgba(26,77,47,.08)}.front-chip{display:inline-flex;align-items:center;padding:6px 11px;border-radius:20px;background:#edf8f1;color:#27804e;font-size:10px;font-weight:700}.front-chip .online-dot{width:6px;height:6px}.front-card h1{font-size:23px;letter-spacing:-.5px;margin:16px 0 6px}.front-sub{color:#87958c;font-size:12px;margin:0 auto;max-width:330px}.radar{height:185px;width:185px;margin:19px auto 17px;position:relative;display:grid;place-items:center}.radar-ring{position:absolute;border:1px solid rgba(37,157,91,.18);border-radius:50%;animation:pulse 2.6s ease-out infinite}.radar-ring.r1{inset:10px}.radar-ring.r2{inset:0;animation-delay:1.2s}.radar-core{width:112px;height:112px;border-radius:50%;background:linear-gradient(145deg,#e8f7ee,#d8f0e1);border:1px solid #c8e9d4;box-shadow:0 0 0 11px rgba(47,169,100,.055),0 8px 22px rgba(37,157,91,.10);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#20874f}.radar-core span{font-size:38px;line-height:1.05;font-weight:700}.radar-core small{font-size:10px;margin-top:5px;color:#649276}.radar-core.error{background:#fff3f0;border-color:#f5d9d4;color:#c04c46}.front-progress{text-align:left}.progress-track{height:7px;border-radius:20px;background:#edf2ee;overflow:hidden}.progress-track i{display:block;width:0;height:100%;border-radius:20px;background:linear-gradient(90deg,#55bd7b,#1d9a58);transition:width .3s ease}.progress-caption{display:flex;justify-content:space-between;color:#95a198;font-size:10px;margin-top:7px}.progress-caption b{color:#4b8f63}.front-checks{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:21px 0 12px}.check-item{display:flex;align-items:center;justify-content:center;gap:6px;color:#a0aaa4;font-size:10px}.check-item i{width:15px;height:15px;border-radius:50%;border:1px solid #d7e0da;display:inline-grid;place-items:center;font-style:normal}.check-item.done{color:#27834e}.check-item.done i{background:#e8f7ee;border-color:#b6e3c6}.check-item.done i:after{content:'✓';font-size:9px}.check-item.working{color:#a27a30}.check-item.working i{border-color:#e8d7ad;box-shadow:inset 0 0 0 3px #fff6e4;background:#f0dcae}.check-item.failed{color:#bd5550}.check-item.failed i{border-color:#e9c5c2;background:#fff0ee}.check-item.failed i:after{content:'!';font-size:9px}.node-result-list{display:flex;flex-direction:column;gap:6px;margin:12px 0;text-align:left}.node-result-row{display:flex;align-items:center;gap:9px;padding:9px 11px;background:#f8faf9;border:1px solid #edf2ee;border-radius:8px;font-size:10px}.node-led{width:7px;height:7px;border-radius:50%;background:#21a05c}.node-result-row.bad .node-led{background:#c95b54}.node-name{font-weight:700;color:#526158;flex:1}.node-latency{font-variant-numeric:tabular-nums;color:#6e7c73}.node-result-row.bad .node-latency{color:#bb625d}.node-pick{border:0;background:#e6f5eb;color:#19834c;border-radius:6px;padding:4px 8px;font-size:10px;font-weight:700}.front-result{margin:13px 0;padding:13px;background:#edf8f1;border:1px solid #dceddf;border-radius:11px;color:#237849;display:flex;flex-direction:column;gap:4px;font-size:11px}.front-result span{color:#6a8c76;font-size:10px}.front-result .redirect-count{color:#25804b;font-weight:700}.front-foot{font-size:10px;color:#a1aca4;margin:19px 0 0}.front-copy{text-align:center;color:#a8b2ab;font-size:10px;margin:15px 0 0}@keyframes pulse{0%{transform:scale(.82);opacity:.2}55%{opacity:.9}100%{transform:scale(1.08);opacity:0}}
@media(max-width:1100px){.sidebar{width:205px}.main-area{margin-left:205px}.content{padding:24px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-grid.six{grid-template-columns:repeat(3,minmax(0,1fr))}.topbar{padding:0 24px}}
@media(max-width:760px){.sidebar{width:65px;padding:18px 8px}.brand{justify-content:center;padding:0 0 25px}.brand>span:last-child,.side-label,.nav-item:not(.active){font-size:0}.brand small,.brand b,.side-foot{display:none}.nav-item{justify-content:center;padding:0;font-size:0}.nav-item .nav-dot{width:10px;height:10px}.main-area{margin-left:65px}.topbar{height:72px;padding:0 16px}.topbar h1{font-size:17px}.top-user{font-size:0}.top-user .avatar{font-size:12px}.top-user form{font-size:11px}.content{padding:18px 14px 25px}.footer{padding:12px 16px}.stats-grid,.stats-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stats-grid.six{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{padding:14px}.stat-value{font-size:22px}.panel{padding:17px 14px;border-radius:13px}.grid.two{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.span-2{grid-column:span 1}.inline-create{align-items:stretch;flex-direction:column}.page-intro{align-items:flex-start}.project-heading{align-items:flex-start;gap:12px}.project-heading h2{font-size:19px}.range-tabs{gap:2px}.range-tabs>a{padding:8px}.custom-range{width:100%;margin:8px 0 0}.custom-range input{flex:1;min-width:0}.chart-head{flex-direction:column}.chart-controls{width:100%;gap:9px}.chart-canvas-wrap{height:230px}.danger-zone{align-items:flex-start;gap:12px;flex-direction:column}.front-card{padding:28px 20px 22px;border-radius:21px}.front-card h1{font-size:20px}.front-checks{gap:2px}.check-item{font-size:9px}.front-body{padding:18px 12px}}
