:root{font-family:'Segoe UI Variable','Segoe UI',sans-serif;color:#182b45;background:#eef2f7;font-size:16px;line-height:1.55}*{box-sizing:border-box}body{margin:0}a{color:#365bd6;text-underline-offset:4px}button,input{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border:0;border-radius:10px;padding:10px 20px;background:#365bd6;color:white;font-weight:650;text-decoration:none;cursor:pointer}button:hover,.button:hover{background:#2849b4}.secondary{background:#e9eef9;color:#27469f}.secondary:hover{background:#dce5f7}:focus-visible{outline:3px solid #e89c31;outline-offset:4px}aside{position:fixed;inset:0 auto 0 0;width:234px;background:#182b45;color:#fff;padding:36px 26px;display:flex;flex-direction:column}.brand{font-size:25px;font-weight:750;letter-spacing:-1px;color:inherit;text-decoration:none}.brand small{display:block;font-size:13px;font-weight:400;letter-spacing:0;color:#c0cce0;margin-top:3px}nav{display:grid;gap:10px;margin-top:55px}nav a{color:#d5dfed;text-decoration:none;padding:12px;border-radius:8px}nav a[aria-current]{background:#304763;color:#fff}aside footer{margin-top:auto;font-size:13px;color:#c0cce0}main{margin-left:234px;padding:32px 5vw 70px;max-width:1500px}.top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:55px}.account{color:#5c6c80;font-size:14px}.top button{min-height:36px;padding:5px 15px}h1{font-size:36px;line-height:1.16;letter-spacing:-1px;margin:0 0 14px}h2{font-size:23px;letter-spacing:-.4px;margin:0 0 12px}h3{font-size:20px;margin:0 0 4px}p{max-width:68ch;margin:0 0 18px}.muted{color:#5c6c80}.intro{margin-bottom:34px}.connections{background:#fff;border-radius:16px;overflow:hidden;border:1px solid #d8e0eb}.service{display:grid;grid-template-columns:62px 1fr auto;gap:22px;padding:30px;align-items:center}.service+.service{border-top:1px solid #d8e0eb}.emblem{width:60px;height:60px;display:grid;place-items:center;border-radius:15px;background:#e4eaff;color:#365bd6;font-size:26px;font-weight:750}.emblem.x{background:#182b45;color:white}.service p{font-size:14px;margin:5px 0}.status{display:inline-block;font-size:13px;color:#52637a}.status.ok{color:#14684f}.details{margin-top:8px;display:flex;gap:18px;flex-wrap:wrap}.details span{font-size:14px}.below{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;margin-top:38px;padding:0 4px}.below h2{font-size:20px}.below p{font-size:15px}.panel{background:white;border:1px solid #d8e0eb;border-radius:16px;padding:32px;max-width:640px}.panel.wide{max-width:100%}form.stack{display:grid;gap:18px}label{display:grid;gap:7px;font-size:14px;font-weight:600}input{width:100%;border:1px solid #aab8ca;border-radius:8px;background:#fff;padding:12px;color:#182b45;min-height:48px}input:focus{border-color:#365bd6}.hint{font-size:13px;color:#5c6c80;font-weight:400}.notice{border-left:4px solid #365bd6;background:#e4ebfa;padding:16px 20px;border-radius:0 8px 8px 0;margin:0 0 25px;max-width:760px}.error{border-color:#b03939;background:#fbecec;color:#8b2727}.auth{max-width:500px;margin:8vh auto;padding:0 20px}.auth .brand{display:block;margin-bottom:35px}.auth .panel{padding:30px}.auth h1{font-size:30px}.auth footer{font-size:13px;margin-top:25px;color:#5c6c80}.auth-switch{margin-top:24px}.recovery{overflow-wrap:anywhere;font-size:20px;padding:18px;background:#eef2f7;border-radius:8px;font-family:monospace}.inline{display:inline}.section-links{display:flex;gap:14px;flex-wrap:wrap;margin-top:20px}.danger{color:#a12d35;background:#fbecec}.back{display:inline-block;margin-bottom:24px}.help-row{padding:22px 0;border-bottom:1px solid #d8e0eb}.help-row:last-child{border:0}.help-row p{margin-bottom:8px}button:disabled{opacity:.5;cursor:wait}@media(min-width:1600px){main{padding-left:80px;padding-right:80px}}@media(max-width:800px){aside{position:static;width:100%;padding:20px 22px;display:block}.brand{font-size:23px}.brand small{display:none}nav{margin-top:18px;display:flex;gap:5px;flex-wrap:wrap}nav a{padding:8px 12px;font-size:14px}aside footer{display:none}main{margin:0;padding:24px 20px 45px}.top{margin-bottom:32px}h1{font-size:29px}.service{grid-template-columns:48px 1fr;gap:15px;padding:23px 20px}.emblem{width:48px;height:48px;font-size:22px;border-radius:12px}.service>.button{grid-column:2;justify-self:start}.below{grid-template-columns:1fr;gap:20px}.panel{padding:23px}.auth{margin-top:5vh}.details{gap:8px 16px}}@media(prefers-reduced-motion:no-preference){button,.button{transition:background .15s}}
:root .telegram-button{width:100%;gap:12px;background:#267cad}.telegram-button:hover{background:#1a638d}.telegram-hint{margin:18px 0 24px}.migration{border-top:1px solid #d8e0eb;padding-top:20px;font-size:14px}.migration summary{cursor:pointer;color:#365bd6}.migration p{margin-top:16px}

/* Service workspaces */
.service-tabs{display:flex;gap:26px;margin:0 0 32px;border-bottom:1px solid #d8e0eb}.service-tabs a{padding:10px 0 15px;border-radius:0;color:#5c6c80}.service-tabs a[aria-current]{color:#244cc4;background:none;border-bottom:3px solid #365bd6}.connection-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.connection-header button{margin-top:8px;min-height:34px;padding:5px 12px}.data-panel{background:#fff;border:1px solid #d8e0eb;border-radius:14px;padding:25px;margin-bottom:22px;min-width:0}.data-panel h2{font-size:21px}.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:20px}.metrics span{display:block;font-size:13px;color:#5c6c80}.metrics strong{display:block;font-size:22px;line-height:1.35;margin-top:8px}.data-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:22px}.section-top{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}.periods{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.periods a{font-size:14px;padding:6px 12px;background:#eef2f7;border-radius:7px;text-decoration:none}.periods a[aria-current]{background:#365bd6;color:white}.traffic-total{font-size:28px;font-weight:650;margin:6px 0}.chart-scroll{overflow-x:auto;margin-top:22px}.chart-scroll svg{width:100%;height:160px;display:block;fill:#6a87df}.chart-labels{display:flex;justify-content:space-between;font-size:12px;color:#5c6c80;margin-bottom:20px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;color:#5c6c80;font-weight:600;white-space:nowrap}td,th{padding:12px 10px 12px 0;border-bottom:1px solid #e5ebf2}td{overflow-wrap:anywhere}tr:last-child td{border-bottom:0}summary{cursor:pointer;color:#365bd6}.subscription-copy{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:25px}.subscription-copy label{grid-column:1/-1}.subscription-copy input{min-width:0}.download-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:22px;padding-top:22px;border-top:1px solid #d8e0eb}.download-grid .section-links{margin-top:8px}.unlink{margin:20px 0}.unlink p{margin:16px 0}.data-panel .notice{font-size:14px}.data-panel h3{margin-top:20px}@media(max-width:1100px){.data-grid{grid-template-columns:1fr}}@media(max-width:600px){.connection-header{align-items:flex-start}.connection-header>.hint{max-width:140px}.data-panel{padding:20px 16px}.metrics{grid-template-columns:1fr 1fr;gap:20px 14px}.metrics strong{font-size:18px}.subscription-copy{grid-template-columns:1fr}.subscription-copy button{justify-self:start}.service-tabs{gap:24px}.data-grid{gap:0}}

.table-scroll td{white-space:nowrap;overflow-wrap:normal}.table-scroll td:first-child{white-space:normal;min-width:100px}

/* Theme preference is applied before the stylesheet is loaded. */
:root{color-scheme:light}.header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.top .theme-toggle{width:38px;height:38px;min-height:38px;padding:0;border-radius:50%}.theme-toggle svg{display:block}.greeting{font-size:16px;overflow-wrap:anywhere}.top .greeting{min-width:0}
:root[data-theme=dark]{color-scheme:dark;background:#101721;color:#e7edf7}
[data-theme=dark] aside{background:#131f30}
[data-theme=dark] .connections,[data-theme=dark] .panel,[data-theme=dark] .data-panel{background:#1a2534;border-color:#344254}
[data-theme=dark] a,[data-theme=dark] summary{color:#a4baff}
[data-theme=dark] .muted,[data-theme=dark] .account,[data-theme=dark] .hint,[data-theme=dark] .status,[data-theme=dark] .metrics span,[data-theme=dark] th,[data-theme=dark] .chart-labels,[data-theme=dark] .auth footer{color:#b0bdd0}
[data-theme=dark] .secondary,[data-theme=dark] .periods a{background:#2a3b56;color:#c3d1ff}
[data-theme=dark] .secondary:hover{background:#354b6b}
[data-theme=dark] .button:not(.secondary),[data-theme=dark] button:not(.secondary){background:#4268d8;color:#fff}
[data-theme=dark] .button:not(.secondary):hover,[data-theme=dark] button:not(.secondary):hover{background:#5077e8}
[data-theme=dark] nav a{color:#c3cfe0}
[data-theme=dark] nav a[aria-current]{background:#304763;color:#fff}
[data-theme=dark] .service-tabs a[aria-current]{background:none;color:#b0c4ff;border-bottom-color:#8aa8ff}
[data-theme=dark] .service-tabs,[data-theme=dark] .service+.service,[data-theme=dark] .help-row,[data-theme=dark] .download-grid,[data-theme=dark] td,[data-theme=dark] th{border-color:#344254}
[data-theme=dark] .periods a[aria-current]{background:#4268d8;color:white}
[data-theme=dark] input{background:#111c29;color:#edf2fc;border-color:#52647c}
[data-theme=dark] .emblem{background:#2c3e68;color:#c7d4ff}
[data-theme=dark] .emblem.x{background:#101927;color:#f1f5ff}
[data-theme=dark] .notice{background:#253b5a;color:#dae5ff;border-color:#91adff}
[data-theme=dark] .error,[data-theme=dark] .danger{background:#462b35;color:#ffd0d4;border-color:#f28f9a}
[data-theme=dark] .status.ok{color:#81dfbe}
[data-theme=dark] .chart-scroll svg{fill:#89a4fa}
@media(max-width:450px){.header-actions{gap:8px}.greeting{font-size:14px}.top{gap:12px}}

.status.online{color:#14684f;font-weight:650}.status.offline{color:#b12f3b;font-weight:650}[data-theme=dark] .status.online{color:#81dfbe}[data-theme=dark] .status.offline{color:#ff9ca8}

.service{grid-template-columns:90px minmax(0,1fr) auto}.service-identity{display:flex;flex-direction:column;align-items:center;gap:9px;text-align:center}.service-identity .status{font-size:12px;line-height:1.35;overflow-wrap:anywhere}.connection-facts{display:flex;flex-wrap:wrap;gap:14px 28px;margin-top:14px}.connection-facts>div{display:grid;gap:3px}.connection-facts span{font-size:12px}.connection-facts strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}@media(max-width:800px){.service{grid-template-columns:64px minmax(0,1fr)}.service-tabs{gap:18px}.connection-facts{gap:12px}.service-tabs a{white-space:nowrap}}

.emblem svg{display:block}.emblem.x{background:#e4eaff;color:#365bd6}[data-theme=dark] .emblem.x{background:#2c3e68;color:#c7d4ff}
