:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#172a43;background:#f3f6fb;font-synthesis:none;font-size:14px;line-height:1.5;--blue:#2672e7;--muted:#68798e;--border:#e5eaf1;--navy:#172a43}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,input,textarea{transition:border-color .15s,background .15s,box-shadow .15s}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #9bc3ff;outline-offset:3px}[hidden]{display:none!important}.shell{max-width:1260px;margin:auto;padding:0 44px}.header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:116px;border-bottom:1px solid #dfe6f0}.brand{display:flex;align-items:center;gap:14px}.brand-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#2774e8;box-shadow:0 6px 12px #2672e71c}.brand-icon svg{width:29px;height:29px;fill:none;stroke:#fff;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;color:#71829a;margin:0 0 5px}h1{font-size:23px;letter-spacing:-.6px;margin:0;font-weight:700}h2{font-size:23px;line-height:1.3;letter-spacing:-.5px;margin:0 0 8px}h3{font-size:13px;margin:0 0 5px;font-weight:650}.header-actions{display:flex;align-items:center;gap:12px}.private-badge{display:inline-flex;align-items:center;gap:7px;background:#eaf0f8;color:#506680;font-size:11px;font-weight:600;border:1px solid #dee7f3;border-radius:7px;padding:7px 10px}.private-badge svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.4;fill:none}.overview-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:34px 0 24px}.overview-heading h2{font-size:26px}.muted{color:var(--muted);margin:0}.small{font-size:12px}.status-chip{display:inline-flex;align-items:center;gap:8px;border:1px solid #cfe8df;background:#edf8f3;color:#267356;padding:7px 11px;border-radius:20px;font-size:11px;font-weight:600;white-space:nowrap}.status-dot,.tiny-dot{height:6px;width:6px;background:#36a375;border-radius:50%;display:inline-block;flex-shrink:0}.status-chip.stale{background:#fff5df;border-color:#ecd7a6;color:#886319}.status-chip.stale .status-dot{background:#c79225}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:28px}.stat-card{background:white;border:1px solid var(--border);border-radius:12px;padding:22px 24px;box-shadow:0 3px 6px #1b396004}.stat-label{color:#60738a;font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:10px}.stat-icon{display:grid;place-items:center;color:#4d87d8;background:#eef4ff;width:29px;height:29px;border-radius:8px;font-size:17px}.stat-value{font-size:35px;line-height:1.25;letter-spacing:-1.3px;font-weight:650;margin:9px 0}.stat-caption{font-size:11px;color:#7b899a}.access-card{background:white;border:1px solid var(--border);border-radius:12px;overflow:hidden;box-shadow:0 3px 8px #1b396003}.section-heading{padding:25px 26px;display:flex;align-items:center;justify-content:space-between;gap:20px}.section-heading h2{font-size:18px;display:flex;align-items:center;gap:9px}.count-pill{font-size:10px;color:#6480a3;background:#edf3fa;border:1px solid #e1eaf5;padding:1px 7px;border-radius:6px;letter-spacing:0}.button{border:1px solid transparent;display:inline-flex;gap:6px;align-items:center;justify-content:center;border-radius:7px;font-size:12px;font-weight:600;min-height:37px;padding:8px 14px;line-height:1.4;text-decoration:none}.button.primary{background:var(--blue);color:white;box-shadow:0 2px 3px #2672e713}.button.primary:hover:not(:disabled){background:#1d60c9}.button.secondary{background:#fff;border-color:#dce3ed;color:#536981}.button.secondary:hover:not(:disabled),.button.ghost:hover:not(:disabled){background:#f1f5fa}.button.ghost{background:transparent;color:#61738a;padding:6px 8px;font-size:11px;min-height:30px}.button.danger{background:#c84545;color:white}.button.danger:hover:not(:disabled){background:#ae3434}.button.full{width:100%}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;letter-spacing:.2px;color:#8190a2;font-weight:600;background:#f8fafd;padding:13px 20px;border-top:1px solid #eef1f5;border-bottom:1px solid #edf1f6}td{font-size:12px;padding:21px 20px;border-bottom:1px solid #eef1f5}th:first-child,td:first-child{padding-left:26px}th:last-child,td:last-child{padding-right:26px}tbody tr:last-child td{border-bottom:0}.user-name{display:flex;align-items:center;gap:11px;font-size:13px;font-weight:600}.user-avatar{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#edf3fc;color:#6281ab;flex-shrink:0}.user-avatar svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.5}.user-status{display:inline-flex;gap:6px;align-items:center;font-size:11px;color:#78879b}.user-status.online{color:#2b875f}.user-status .status-dot{background:#b7c2cf;width:5px;height:5px}.user-status.online .status-dot{background:#3aab79}.connection-detail{font-size:10px;color:#8693a5;margin-top:3px;padding-left:11px}.traffic-cell{font-variant-numeric:tabular-nums;font-weight:550;color:#4d6079}.last-cell{color:#7d8b9d;font-size:11px}.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.link-button{border:1px solid #dbe7f9;background:#f4f8ff;color:#3d73bd;padding:6px 10px;font-size:10px;border-radius:6px;white-space:nowrap}.link-button:hover{background:#e8f1ff}.revoke-button{border:0;background:transparent;color:#8190a3;padding:6px;font-size:11px}.revoke-button:hover:not(:disabled){color:#bd4444;background:#fff2f2;border-radius:5px}.table-footer{padding:13px 26px;border-top:1px solid #eef1f5;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#8a98a9}.table-footer>span{display:flex;align-items:center;gap:7px}.tiny-dot{width:4px;height:4px;background:#94a5b9}.text-button{border:0;background:none;color:#6381a9;font-size:10px;padding:4px}.text-button:hover{color:var(--blue)}.bottom-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:20px;margin-top:22px}.info-card{display:flex;align-items:flex-start;gap:12px;padding:18px 19px;border:1px solid #e0e8f3;border-radius:9px;background:#edf3fb;color:#536a86}.info-icon{display:grid;place-items:center;border:1px solid #a7bdd8;color:#6c8aaf;width:17px;height:17px;border-radius:50%;font-size:11px;font-weight:600;flex-shrink:0;margin-top:2px}.info-card p{margin:0;color:#7a8ba0;font-size:11px;line-height:1.7}.mode-card{background:#f6f8fb;border-color:#e2e8f1}.page-footer{display:flex;justify-content:space-between;gap:20px;margin:23px 0 32px;font-size:10px;color:#94a1b2}.notice{padding:12px 16px;margin:0 0 18px;font-size:12px;border-radius:8px}.error-notice{color:#8b5627;background:#fff6e7;border:1px solid #eedabb}.empty-state{padding:40px 25px;color:var(--muted);text-align:center;font-size:13px}.login-card{width:min(100%,420px);margin:72px auto;background:#fff;border:1px solid var(--border);border-radius:15px;box-shadow:0 8px 32px #1b396008;padding:32px}.login-card h2{font-size:25px}.login-card>.muted{font-size:13px;margin:10px 0 24px}.login-symbol{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#eff5ff;color:var(--blue);font-size:24px;margin-bottom:22px}.login-card form{margin-top:22px}.login-card .full{margin-top:18px}.login-foot{margin-top:25px;padding-top:18px;border-top:1px solid var(--border);font-size:10px;color:#8a98a9}#login-status{margin-top:14px}label{display:block;font-size:12px;font-weight:600;margin:20px 0 7px}input,textarea{display:block;width:100%;border:1px solid #d7e0eb;border-radius:7px;background:#fff;color:#233b58;padding:10px 12px;line-height:1.5;min-width:0}input::placeholder{color:#a2aebe}textarea{font-family:Consolas,monospace;resize:none;font-size:11px;background:#f7f9fc;word-break:break-all}.field-hint{font-size:11px;color:#8493a6;margin:8px 0 20px}.form-error{font-size:12px;color:#b43e3e;background:#fff2f2;border-radius:6px;padding:9px 11px;margin:12px 0}.dialog-body{padding:30px;position:relative}.dialog-body>.muted{font-size:13px;line-height:1.7}.dialog-body h2{font-size:23px;margin-bottom:13px}.dialog-body strong{color:#334b67;overflow-wrap:anywhere}.dialog-kicker{font-size:9px;font-weight:700;letter-spacing:1.5px;color:#6886ad;margin-bottom:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:26px}.dialog-close{border:0;background:transparent;position:absolute;right:15px;top:11px;color:#8b98aa;font-size:25px;width:32px;height:32px;line-height:1}.dialog-close:hover{color:#314a6a}.danger-text{color:#ba5454}dialog{padding:0;border:1px solid #dce5ef;border-radius:13px;color:var(--navy);width:min(460px,calc(100% - 32px));max-height:calc(100% - 40px);box-shadow:0 20px 80px #132b4a33}dialog::backdrop{background:#172a4360;backdrop-filter:blur(3px)}#link-loading{color:#7a8ba0;font-size:13px;margin-top:20px}#copy-status{margin-top:10px}.toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);padding:12px 20px;background:#203c5c;color:white;font-size:12px;border-radius:9px;box-shadow:0 5px 20px #203c5c20;z-index:5;max-width:calc(100% - 32px);text-align:center}.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}@media(min-width:1400px){.shell{max-width:1320px}.overview-heading{margin-top:42px}.stats{margin-bottom:32px}.stat-card{padding:25px 27px}td{padding-top:24px;padding-bottom:24px}}@media(max-width:950px){.shell{padding:0 25px}.header{min-height:100px}.private-badge{font-size:10px}.stats{gap:12px}.stat-card{padding:18px}.stat-caption{font-size:10px}.bottom-grid{grid-template-columns:1fr}.row-actions{gap:3px}td,th{padding-left:14px;padding-right:14px}.overview-heading h2{font-size:23px}.section-heading{padding:22px}.header-actions{gap:4px}}@media(max-width:680px){.shell{padding:0 17px}.header{min-height:91px;gap:10px}.brand{gap:10px}.brand-icon{width:39px;height:39px;border-radius:11px}.brand-icon svg{width:25px}.brand .eyebrow{font-size:8px;letter-spacing:1px}h1{font-size:19px}.header-actions{align-items:flex-end;flex-direction:column;gap:3px}.private-badge{font-size:0;background:transparent;border:0;padding:2px}.private-badge svg{width:19px;height:19px}.button.ghost{font-size:10px;min-height:20px;padding:2px 0}.overview-heading{margin:26px 0 20px;align-items:flex-start;flex-direction:column;gap:14px}.overview-heading h2{font-size:22px}.overview-heading>.status-chip{font-size:10px}.overview-heading .muted{font-size:12px}.stats{grid-template-columns:1fr;gap:10px;margin-bottom:22px}.stat-card{padding:16px 18px;position:relative}.stat-label{font-size:11px}.stat-icon{position:absolute;right:18px;top:18px}.stat-value{font-size:29px;margin:4px 0}.stat-caption{font-size:10px}.section-heading{align-items:stretch;flex-direction:column;padding:20px;gap:16px}.section-heading>.button{align-self:flex-start}.section-heading h2{font-size:18px}.section-heading .small{font-size:11px}.table-wrap{overflow:visible}table,tbody{display:block}thead{display:none}tr{display:grid;grid-template-columns:1fr 1fr;padding:17px 20px;border-top:1px solid #edf1f6;gap:13px 15px}td{display:block;padding:0!important;border:0!important;white-space:normal}td:first-child{grid-column:1;grid-row:1}td:nth-child(2){grid-column:2;grid-row:1;text-align:right}td:nth-child(3){grid-column:1;grid-row:2}td:nth-child(3)::before{content:"Трафик";display:block;font-size:9px;color:#8a98aa;font-weight:400;margin-bottom:3px}td:nth-child(4){grid-column:2;grid-row:2;text-align:right}td:nth-child(4)::before{content:"Последнее подключение";display:block;font-size:9px;color:#8a98aa;margin-bottom:4px}td:last-child{grid-column:1/-1;grid-row:3;padding-top:5px!important}.row-actions{justify-content:space-between}.link-button{font-size:11px;padding:7px 12px}.revoke-button{font-size:11px}.user-name{font-size:12px;gap:9px;word-break:break-word}.user-avatar{width:31px;height:31px}.user-status{font-size:10px}.connection-detail{font-size:9px}.table-footer{padding:12px 20px;font-size:9px}.bottom-grid{gap:12px;margin-top:17px}.info-card{padding:16px}.info-card p{font-size:10px}.info-card h3{font-size:12px}.page-footer{font-size:9px;flex-direction:column;gap:5px;margin-bottom:22px}.login-card{margin:35px auto;padding:25px}.dialog-body{padding:26px 23px}.dialog-body h2{font-size:21px}.dialog-actions .button{padding-left:12px;padding-right:12px}.toast{bottom:18px}}
.last-user-hint{margin:0;padding:11px 26px;background:#fafbfd;border-top:1px solid #edf1f6;color:#7b899b;font-size:10px}@media(max-width:680px){.last-user-hint{padding:12px 20px}}
.dialog-actions{flex-wrap:wrap}
