:root{color-scheme:light;--ink:#172b46;--muted:#53657c;--line:#dbe3ed;--work:#f3f6fa;--blue:#225fd2;--dark:#203c60;--green:#146445;--amber:#81520b;--red:#a82b35;--radius:12px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:16px;color:var(--ink);background:var(--work);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,input,select,summary{outline-offset:4px}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #628fe4}::selection{background:#caddff;color:#122c53}input{caret-color:var(--blue)}button{min-height:40px;border:1px solid transparent;border-radius:7px;background:var(--blue);color:white;padding:8px 17px;font-weight:600;cursor:pointer;white-space:nowrap}button:hover{background:#194fae}button:disabled{background:#e7ecf3;color:#6a7789;cursor:not-allowed}button.secondary{border-color:#bdcadb;color:#28476e;background:#fff}button.secondary:hover{background:#eaf0f9}button.text-button{border:0;padding:5px 7px;color:var(--blue);background:transparent;font-size:.875rem;min-height:32px}button.text-button:hover{background:#e8eef8}button.stop{background:#fff3f3;color:var(--red);border-color:#dcbac0}button.stop:disabled{color:#6a7789;background:#e7ecf3;border-color:transparent}input,select{min-height:40px;border:1px solid #b7c5d7;border-radius:7px;color:var(--ink);background:#fff;padding:8px 11px;min-width:0}input::placeholder{color:#5d6d82;opacity:1}select{appearance:none;padding-right:33px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2353657c' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}h1,h2,p{margin:0}h1{font-size:1.8rem;letter-spacing:-.025em;line-height:1.3;font-weight:700}h2{font-size:1rem;font-weight:650;line-height:1.5}p{font-size:.875rem;line-height:1.65;color:var(--muted)}svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}.topbar{height:68px;background:var(--dark);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(28px,calc((100vw - 1200px)/2));gap:18px}.brand{display:flex;align-items:center;gap:12px;font-size:1.125rem}.brand svg{width:31px;height:31px;color:#a3c3ff}.connection{font-size:.8125rem;color:#d5e1f3}.connection.online{color:#b6efd2}main{max-width:1200px;margin:auto;padding:32px 28px 22px}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.page-heading p{margin-top:8px}.connection-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px 22px;display:flex;justify-content:space-between;align-items:center;gap:24px}.connection-panel p{margin-top:4px}.connection-panel form{display:flex;align-items:center;gap:8px}.connection-panel input{width:240px}.message{padding:12px 16px;background:#fff4e5;border:1px solid #d9bd8b;border-radius:8px;font-size:.875rem;line-height:1.6;margin-top:14px;color:#724607;overflow-wrap:anywhere}.message.error{background:#fff0f1;border-color:#e1b3b9;color:#95202e}.topology{display:flex;align-items:center;justify-content:space-between;padding:28px 22px;gap:20px}.node{display:flex;gap:12px;align-items:center;flex:0 0 auto}.node>svg{width:32px;height:32px;color:#456187}.node h2{font-size:1.0625rem}.node-state{font-size:.8125rem;color:var(--muted);display:block;margin-top:4px}.node-state.online{color:var(--green)}.node-state.active{color:var(--blue)}.route{flex:1;max-width:175px;color:#53657c;text-align:center}.route span{font-size:.75rem}.route svg{width:100%;display:block;height:15px;margin-top:8px}.test-panel,.chart-panel,.history-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin-bottom:20px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px}.section-heading h2{font-size:1.0625rem}.section-heading p{margin-top:4px}.protocol-tag{font-size:.75rem;color:#3f5b82;background:#eef3fa;padding:5px 9px;border-radius:5px;white-space:nowrap}.test-controls{padding:0 22px;display:flex;align-items:flex-end;gap:14px}.test-controls>label{display:flex;flex-direction:column;gap:7px;min-width:110px;font-size:.8125rem;color:var(--muted)}.test-controls select{font-size:.875rem}.input-unit{display:flex;position:relative}.input-unit input{width:132px;padding-right:55px;font-size:.875rem}.input-unit>span{position:absolute;right:12px;top:12px;font-size:.75rem}.test-actions{display:flex;gap:8px;margin-left:auto}.control-note{font-size:.75rem;padding:10px 22px 20px}.link-row{border-top:1px solid var(--line);padding:21px 22px}.link-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.link-name{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.link-name h3{margin:0;font-size:1rem;font-weight:650}.state-tag{font-size:.75rem;border-radius:4px;padding:4px 7px;color:#53657c;background:#eef2f7}.state-tag.completed{background:#e8f4ed;color:var(--green)}.state-tag.failed{background:#fcecee;color:var(--red)}.state-tag.running{background:#eaf1ff;color:var(--blue)}.link-actions button{font-size:.8125rem;min-height:34px;padding:5px 10px}.metrics{margin:0;display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.metric{min-width:0}.metric dt{font-size:.75rem;color:var(--muted);margin-bottom:9px}.metric dd{margin:0;font-size:1.55rem;line-height:1.2;font-variant-numeric:tabular-nums;font-weight:600;letter-spacing:-.02em}.metric small{font-size:.75rem;margin-left:4px;font-weight:400;color:var(--muted)}.metric .sub{font-size:.75rem;color:var(--muted);margin-top:8px;display:block;letter-spacing:0;font-weight:400;overflow-wrap:anywhere}.link-error{font-size:.8125rem;line-height:1.6;color:var(--red);margin-top:16px}.chart-selects{display:flex;gap:8px}.chart-selects select{font-size:.8125rem;max-width:190px}.chart{height:235px;padding:0 22px 18px;position:relative}.chart>p{display:flex;align-items:center;justify-content:center;height:100%;background:#f9fbfd;border-radius:6px;color:#596d86}.chart svg{width:100%;height:100%;overflow:visible;stroke-width:1}.chart text{stroke:none;fill:#53657c;font-size:12px;font-family:inherit}.chart .data-line{stroke:#225fd2;stroke-width:2;fill:none;vector-effect:non-scaling-stroke}.chart .plot-dot{stroke:#fff;stroke-width:1.5;fill:#225fd2}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:.8125rem;font-variant-numeric:tabular-nums}th{font-weight:500;color:var(--muted);background:#f8fafc}th,td{padding:13px 22px;border-top:1px solid var(--line)}.empty-cell{text-align:center;color:var(--muted);padding:25px}.muted{color:var(--muted);font-size:.8125rem}.setup{border:1px solid var(--line);border-radius:var(--radius);background:#fff}.setup summary{padding:18px 22px;cursor:pointer;font-size:.9375rem;font-weight:600}.setup-body{padding:0 22px 18px;max-width:900px}.setup ol{margin:20px 0 0;padding-left:24px}.setup li{padding-left:8px;margin-bottom:22px;font-size:.875rem}.setup li:last-child{margin-bottom:0}.setup li>p{margin-top:6px}.setup li strong{font-weight:600}.setup pre{background:#f2f5f9;border-radius:7px;padding:12px 14px;overflow-x:auto;line-height:1.7;margin:10px 0 0;font-size:.8125rem;color:#29486f}.setup code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.address-label{display:flex;flex-direction:column;gap:8px;margin-top:14px;color:var(--muted);font-size:.8125rem}.address-label input{max-width:470px;font-size:.875rem}.command-label{display:flex;justify-content:space-between;align-items:center;margin-top:14px;font-size:.8125rem}.command-label+pre{margin-top:2px}footer{margin-top:22px}footer p{font-size:.75rem;line-height:1.8}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#f2f5f9}::-webkit-scrollbar-thumb{background:#b8c5d7;border-radius:6px}
.packet-detail{font-size:.75rem;margin-top:18px;line-height:1.7}.heading-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.setup+.setup{margin-top:16px}
@media(max-width:1050px){.test-controls{flex-wrap:wrap}.test-actions{margin-left:0}.connection-panel{align-items:flex-start;flex-direction:column;gap:12px}.connection-panel form{width:100%}.connection-panel input{flex:1}.topology{gap:12px}.route{max-width:110px}.metrics{gap:10px}.metric dd{font-size:1.35rem}}
@media(max-width:680px){.topbar{height:60px;padding:0 18px}.brand{font-size:1rem;gap:8px}.brand svg{width:24px}.connection{max-width:116px;font-size:.75rem;text-align:right}main{padding:24px 16px 18px}h1{font-size:1.45rem}.page-heading{align-items:flex-start}.page-heading>button{font-size:.8125rem;padding:6px 10px;min-height:36px}.page-heading p{max-width:28ch}.connection-panel,.section-heading{padding:16px}.connection-panel input{width:130px}.connection-panel form{flex-wrap:wrap}.connection-panel h2{font-size:.9375rem}.topology{padding:24px 0;gap:5px}.node{flex-direction:column;gap:6px;text-align:center;width:90px;flex-shrink:1}.node h2{font-size:.875rem}.node>svg{width:25px;height:25px}.node-state{font-size:.75rem;line-height:1.5}.route{min-width:30px}.route .route-protocol{display:none}.route span{font-size:.75rem}.route svg{height:10px}.test-controls{padding:0 16px;gap:12px;display:grid;grid-template-columns:1fr 1fr}.test-controls>label{min-width:0}.input-unit input{width:100%}.test-controls select{width:100%}.test-actions{grid-column:1/-1}.test-actions>button:first-child{flex:1}.control-note{padding:10px 16px 16px}.link-row{padding:18px 16px}.metrics{grid-template-columns:repeat(3,1fr);row-gap:22px}.metric dd{font-size:1.35rem}.link-heading{align-items:flex-start;margin-bottom:18px}.link-name{gap:7px}.link-name h3{font-size:.9375rem}.link-actions{flex-shrink:0}.chart-panel>.section-heading{align-items:flex-start;flex-direction:column}.chart-selects{width:100%}.chart-selects select{flex:1;width:45%}.chart{height:210px;padding:0 16px 16px}.setup summary{padding:16px}.setup-body{padding:0 16px 16px}.setup ol{padding-left:18px}.setup li{padding-left:3px}th,td{padding:12px 16px}}
.download-entry{display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px;margin:16px 0 0}.download-entry a{color:#225fd2;font-weight:600;text-underline-offset:3px}.download-entry a:focus-visible{outline:3px solid #628fe4;outline-offset:4px}.download-entry span{font-size:.8125rem}
@media(prefers-reduced-motion:no-preference){button{transition:background-color .15s ease-out,color .15s ease-out}.data-line{animation:reveal .35s cubic-bezier(.16,1,.3,1)}@keyframes reveal{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}}
