:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color-scheme:dark;--bg: #10151d;--bg-soft: #151c26;--surface: #171f2a;--surface-strong: #1c2632;--surface-hover: #222e3c;--line: rgba(211, 226, 239, .09);--line-strong: rgba(211, 226, 239, .15);--text: #edf4f7;--text-soft: #a8b6c1;--muted: #71808e;--accent: #9be7c4;--accent-strong: #70d5aa;--accent-ink: #10241c;--danger: #f08c8c;--shadow: 0 18px 50px rgba(0, 0, 0, .16);background:var(--bg);color:var(--text)}:root[data-theme=light]{color-scheme:light;--bg: #f4f7f8;--bg-soft: #edf2f3;--surface: #ffffff;--surface-strong: #f7faf9;--surface-hover: #edf4f1;--line: rgba(24, 46, 56, .09);--line-strong: rgba(24, 46, 56, .15);--text: #17242a;--text-soft: #63737b;--muted: #829198;--accent: #23875f;--accent-strong: #176e4a;--accent-ink: #ffffff;--danger: #b94c4c;--shadow: 0 18px 50px rgba(32, 61, 70, .07)}*{box-sizing:border-box}html{min-width:320px;min-height:100%;background:var(--bg)}body{margin:0;min-width:320px;min-height:100vh;min-height:100dvh;background:var(--bg);color:var(--text)}button,select{font:inherit}button{cursor:pointer}button:disabled,select:disabled{cursor:not-allowed;opacity:.55}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.app-shell{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;overflow-x:clip}.topbar{width:min(1200px,calc(100% - 56px));min-height:76px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:28px;border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;flex:0 0 auto}.brand-mark{width:37px;height:37px;display:grid;place-items:center;border-radius:12px;background:var(--surface-strong);border:1px solid var(--line);color:var(--accent)}.brand-mark svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.brand-mark circle{fill:currentColor;stroke:none}.brand-name{font-size:17px;line-height:1.1;font-weight:760;letter-spacing:-.6px}.brand-name>span{color:var(--accent)}.brand-name small{display:block;margin-top:4px;font-size:8px;letter-spacing:1.55px;color:var(--muted);font-weight:650}.main-nav{height:76px;display:flex;align-items:center;gap:7px}.nav-item{height:39px;display:inline-flex;align-items:center;gap:8px;padding:0 13px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--text-soft);font-size:12px;font-weight:620;transition:background .18s ease,color .18s ease}.nav-item:hover{background:var(--surface);color:var(--text)}.nav-item.active{background:var(--surface-strong);border-color:var(--line);color:var(--text)}.nav-item.active svg{color:var(--accent)}.topbar-actions{display:flex;justify-content:flex-end;min-width:138px}.theme-select{height:36px;display:inline-flex;align-items:center;gap:7px;padding:0 9px;border-radius:9px;border:1px solid var(--line);background:var(--surface);color:var(--text-soft)}.theme-select select{appearance:none;width:63px;border:0;outline:0;color:var(--text);background:transparent;font-size:11px;cursor:pointer}.theme-select option{background:var(--surface);color:var(--text)}.main-content{width:min(1200px,calc(100% - 56px));margin:0 auto;padding:39px 0 50px;flex:1 0 auto}.page-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:25px}.eyebrow{display:block;color:var(--accent);font-size:9px;letter-spacing:1.6px;line-height:1.4;font-weight:760}.page-intro h1,.panel-title-row h1{margin:8px 0 5px;font-size:clamp(25px,3vw,34px);line-height:1.13;letter-spacing:-1.25px;font-weight:710}.page-intro p,.panel-title-row p{margin:0;color:var(--text-soft);font-size:13px;line-height:1.6}.connection-chip{display:inline-flex;align-items:center;gap:8px;margin-bottom:4px;padding:8px 11px;border:1px solid var(--line);border-radius:30px;color:var(--text-soft);background:var(--surface);font-size:10px;white-space:nowrap}.connection-dot,.live-indicator>span,.mode-dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent)}.dashboard-grid{display:grid;grid-template-columns:minmax(330px,.91fr) minmax(480px,1.35fr);align-items:start;gap:19px}.surface-card{border:1px solid var(--line);border-radius:17px;background:var(--surface);box-shadow:var(--shadow)}.test-card{min-width:0;padding:24px 25px 18px}.gauge-panel{display:flex;flex-direction:column;align-items:center}.gauge-heading{width:100%;display:flex;justify-content:space-between;align-items:center;padding:0 2px}.live-indicator{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:8px;font-weight:780;letter-spacing:1.1px}.live-indicator>span{width:5px;height:5px;background:var(--muted);box-shadow:none}.live-indicator.is-live{color:var(--accent)}.live-indicator.is-live>span{background:var(--accent);animation:pulse 1.2s ease infinite}.gauge-wrap{width:min(100%,300px);position:relative;margin:4px auto 0;aspect-ratio:1;display:grid;place-items:center}.gauge-svg{width:100%;height:100%;overflow:visible}.gauge-track,.gauge-value{fill:none;stroke-width:8}.gauge-track{stroke:var(--line-strong)}.gauge-value{stroke:var(--accent);stroke-linecap:round;transition:stroke-dashoffset .35s ease;filter:drop-shadow(0 0 5px color-mix(in srgb,var(--accent) 28%,transparent))}.gauge-dot{fill:var(--accent)}.gauge-active .gauge-value{animation:gauge-breathe 1.8s ease-in-out infinite alternate}.gauge-reading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:4px}.gauge-number{max-width:82%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(38px,5vw,58px);line-height:1;font-weight:690;letter-spacing:-2.8px;font-variant-numeric:tabular-nums}.gauge-unit{margin-top:8px;color:var(--text-soft);font-size:12px;font-weight:570;letter-spacing:.3px}.gauge-caption{margin-top:19px;color:var(--muted);font-size:10px}.gauge-status{width:100%;min-height:34px;display:flex;justify-content:center;align-items:center;gap:8px;color:var(--text-soft);text-align:center;font-size:11px}.status-icon{color:var(--accent);display:inline-flex}.test-actions{display:flex;align-items:center;justify-content:center;gap:9px;margin:17px 0 10px}.primary-button{min-width:174px;min-height:45px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:0 22px;border:0;border-radius:10px;background:var(--accent);color:var(--accent-ink);font-size:12px;font-weight:760;box-shadow:0 7px 22px color-mix(in srgb,var(--accent) 15%,transparent);transition:transform .15s ease,background .15s ease}.primary-button:hover{transform:translateY(-1px);background:var(--accent-strong)}.primary-button.stop-button{background:color-mix(in srgb,var(--danger) 88%,#fff 0%);color:#281515;box-shadow:none}.icon-button{width:38px;height:38px;display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:10px;background:var(--surface-strong);color:var(--text-soft);transition:background .15s ease,color .15s ease}.icon-button:hover{background:var(--surface-hover);color:var(--text)}.retry-button{width:45px;height:45px}.live-progress{margin:12px 0 4px}.progress-track{height:4px;overflow:hidden;border-radius:10px;background:var(--line-strong)}.progress-track span{width:38%;height:100%;display:block;border-radius:inherit;background:var(--accent);animation:progress-slide 1.1s ease-in-out infinite alternate}.progress-meta{display:flex;justify-content:space-between;gap:10px;margin-top:8px;color:var(--muted);font-size:9px}.test-disclaimer{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:15px;color:var(--muted);text-align:center;font-size:9px;line-height:1.5}.test-disclaimer svg{flex:0 0 auto}.inline-alert,.inline-note{display:flex;align-items:flex-start;gap:8px;margin-top:13px;padding:11px 12px;border-radius:9px;border:1px solid var(--line);background:var(--surface-strong);color:var(--text-soft);font-size:11px;line-height:1.5}.inline-alert svg,.inline-note svg{flex:0 0 auto;margin-top:1px}.error-alert{color:var(--danger);border-color:color-mix(in srgb,var(--danger) 25%,transparent)}.right-column{min-width:0;display:flex;flex-direction:column;gap:16px}.metrics-section{min-width:0;padding:4px 2px 0}.section-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:0 0 13px}.section-title-row h2{margin:5px 0 0;font-size:17px;font-weight:680;letter-spacing:-.4px}.result-state{margin-bottom:2px;padding:5px 8px;border-radius:20px;border:1px solid var(--line);background:var(--surface);color:var(--muted);font-size:9px;font-weight:650}.result-state.success{color:var(--accent);border-color:color-mix(in srgb,var(--accent) 25%,transparent)}.metrics-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.metric-card{min-width:0;min-height:83px;display:flex;align-items:flex-start;gap:11px;padding:13px 14px;border-radius:12px;border:1px solid var(--line);background:var(--surface)}.metric-icon{width:31px;height:31px;flex:0 0 auto;display:grid;place-items:center;border-radius:9px;color:var(--text-soft);background:var(--surface-strong)}.metric-download,.metric-upload{color:var(--accent)}.metric-ping{color:#d5b98c}.metric-jitter{color:#b8a8df}.metric-loss{color:var(--danger)}.metric-copy{min-width:0;display:flex;flex-direction:column}.metric-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-soft);font-size:10px}.metric-value-row{display:flex;align-items:baseline;gap:5px;margin-top:6px}.metric-value-row strong{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:20px;line-height:1;font-weight:670;letter-spacing:-.7px;font-variant-numeric:tabular-nums}.metric-value-row>span{color:var(--muted);font-size:9px}.metric-secondary{margin-top:5px;color:var(--muted);font-size:8px}.measurement-caption{margin:8px 2px 0;color:var(--muted);font-size:9px;line-height:1.45}.server-selector{padding:15px 16px}.server-selector-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.section-heading{display:flex;align-items:center;gap:10px}.section-icon{width:31px;height:31px;display:grid;place-items:center;flex:0 0 auto;border-radius:9px;background:var(--surface-strong);color:var(--accent)}.section-heading h2{margin:0;font-size:12px;font-weight:680}.section-heading p{margin:3px 0 0;color:var(--muted);font-size:9px}.mode-pill{min-height:28px;display:inline-flex;align-items:center;gap:7px;padding:0 9px;border:1px solid var(--line);border-radius:20px;color:var(--text-soft);background:var(--surface-strong);font-size:9px}.mode-pill.selected{color:var(--accent);border-color:color-mix(in srgb,var(--accent) 27%,transparent)}.mode-dot{width:5px;height:5px}.select-wrap{position:relative;display:block}.select-wrap select{appearance:none;width:100%;min-height:38px;padding:0 34px 0 11px;border-radius:8px;border:1px solid var(--line);outline:none;background:var(--surface-strong);color:var(--text);font-size:10px}.select-wrap>svg{position:absolute;top:11px;right:11px;color:var(--muted);pointer-events:none}.select-wrap select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.network-card{padding:16px 17px 12px}.network-card>.section-heading{margin-bottom:12px}.network-rows{display:flex;flex-direction:column}.info-row{min-height:29px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line)}.info-row>span{color:var(--text-soft);font-size:10px;flex:0 0 auto}.info-row>strong{min-width:0;max-width:64%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:10px;font-weight:570;text-align:right}.info-row>strong.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px}.server-summary{display:flex;align-items:center;gap:9px;margin-top:12px;padding:9px;border-radius:9px;background:var(--surface-strong)}.server-summary-icon{width:27px;height:27px;display:grid;place-items:center;color:var(--accent);border-radius:7px;background:var(--surface-hover)}.server-summary-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.server-summary-copy span{color:var(--muted);font-size:8px}.server-summary-copy strong{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:10px;font-weight:640}.server-region{margin-left:auto;color:var(--text-soft);font-size:8px;text-align:right}.privacy-note{display:flex;align-items:center;gap:6px;margin:10px 1px 0;color:var(--muted);font-size:8px;line-height:1.45}.privacy-note svg{flex:0 0 auto}.history-panel{padding:24px}.panel-title-row{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;padding-bottom:19px;border-bottom:1px solid var(--line)}.panel-title-row h1{margin-top:7px}.text-button{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-strong);color:var(--text-soft);font-size:10px}.danger-button{color:var(--danger)}.history-list{display:flex;flex-direction:column}.history-row{display:grid;grid-template-columns:minmax(150px,1.5fr) repeat(3,minmax(100px,1fr)) 36px;gap:15px;align-items:center;min-height:70px;border-bottom:1px solid var(--line)}.history-date,.history-stat{min-width:0;display:flex;flex-direction:column;gap:5px}.history-date strong{color:var(--text);font-size:11px;font-weight:620}.history-date span,.history-stat span{color:var(--muted);font-size:9px}.history-stat strong{font-size:15px;color:var(--text);font-weight:670;font-variant-numeric:tabular-nums}.history-stat small{color:var(--muted);font-size:9px;font-weight:500}.subtle-button{width:32px;height:32px}.empty-state{min-height:220px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;color:var(--text-soft)}.empty-state strong{color:var(--text);font-size:13px}.empty-state>span{font-size:10px;color:var(--muted)}.empty-icon{width:46px;height:46px;display:grid;place-items:center;border:1px solid var(--line);border-radius:14px;color:var(--accent);background:var(--surface-strong);margin-bottom:4px}.history-footnote{display:flex;align-items:center;gap:7px;margin:18px 0 0;color:var(--muted);font-size:9px}.history-footnote svg{color:var(--accent);flex:0 0 auto}.details-view{display:flex;flex-direction:column;gap:17px;max-width:820px;margin:0 auto}.details-view .page-intro{margin-bottom:0}.detail-explainer{padding:20px}.detail-explainer h2{margin:0 0 10px;font-size:13px}.detail-explainer p{color:var(--text-soft);font-size:11px;line-height:1.7}.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}.app-footer{width:min(1200px,calc(100% - 56px));min-height:62px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);color:var(--muted);font-size:9px}.footer-separator{padding:0 4px;color:var(--line-strong)}.app-footer a{display:inline-flex;align-items:center;gap:5px;color:var(--text-soft);text-decoration:none;transition:color .15s ease}.app-footer a:hover{color:var(--accent)}@keyframes pulse{0%,to{opacity:1;box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 12%,transparent)}50%{opacity:.45;box-shadow:0 0 0 6px color-mix(in srgb,var(--accent) 3%,transparent)}}@keyframes gauge-breathe{0%{opacity:.82}to{opacity:1}}@keyframes progress-slide{0%{transform:translate(-35%)}to{transform:translate(190%)}}@media(max-width:900px){.dashboard-grid{grid-template-columns:minmax(280px,.88fr) minmax(390px,1.12fr);gap:13px}.topbar,.main-content,.app-footer{width:min(100% - 36px,1200px)}.test-card{padding:20px 17px 16px}.gauge-wrap{max-width:260px}.metric-card{padding:11px;gap:8px}}@media(max-width:700px){.topbar{min-height:66px;width:calc(100% - 30px);gap:10px}.brand-mark{width:33px;height:33px}.brand-name{font-size:15px}.main-nav{height:66px;gap:1px}.nav-item{width:37px;height:37px;justify-content:center;padding:0;font-size:0;gap:0}.nav-item svg{width:17px;height:17px}.topbar-actions{min-width:0}.theme-select{height:34px;padding:0 7px;gap:5px}.theme-select select{width:50px;font-size:10px}.main-content{width:calc(100% - 30px);padding:27px 0 36px}.page-intro{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:17px}.page-intro h1{font-size:27px}.connection-chip{margin:0}.dashboard-grid{grid-template-columns:minmax(0,1fr);gap:16px}.test-card{padding:20px 18px 17px}.gauge-wrap{max-width:275px}.right-column{gap:14px}.metrics-section{padding:0}.metrics-grid{gap:8px}.metric-card{min-height:78px}.network-card,.server-selector{border-radius:14px}.app-footer{width:calc(100% - 30px);min-height:58px}.history-panel{padding:18px 15px}.history-row{grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(74px,1fr)) 32px;gap:8px;padding:11px 0}.history-row .history-stat:nth-of-type(4){display:none}.history-date strong{font-size:9px}.history-date span{font-size:8px}.history-stat strong{font-size:13px}.panel-title-row{align-items:flex-start;flex-direction:column}}@media(max-width:390px){.topbar,.main-content,.app-footer{width:calc(100% - 22px)}.brand{gap:7px}.brand-name small{font-size:7px;letter-spacing:1px}.topbar{gap:5px}.brand-name{font-size:14px}.nav-item{width:28px}.theme-select{gap:2px;padding:0 5px}.theme-select select{width:34px}.app-footer{gap:8px;font-size:8px}.gauge-wrap{max-width:245px}.metric-card{padding:10px 9px;gap:7px}.metric-icon{width:28px;height:28px}.metric-value-row strong{font-size:18px}.server-region{max-width:90px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
