:root{--ink:#172b3d;--muted:#75818d;--line:#e5e9ed;--paper:#f5f7f8;--green:#177d62;--mint:#dbf1e8;--red:#cc4a50;--nav:#101e2c}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.5}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1.2px;line-height:1.2;margin-bottom:10px;font-weight:650}h2{font-size:17px;letter-spacing:-.35px;margin-bottom:0}h3{font-size:15px}p{color:var(--muted)}.hidden{display:none!important}.muted,small{color:var(--muted)}.sidebar{width:244px;position:fixed;inset:0 auto 0 0;background:var(--nav);color:#d1dbe3;padding:32px 18px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:600;font-size:21px;padding:0 12px;margin-bottom:54px;letter-spacing:-.5px}.brand small{display:block;font-size:8px;letter-spacing:1.8px;color:#8191a0;margin-top:3px}.brandmark{display:grid;place-items:center;width:44px;height:44px;background:#a1e7ce;border-radius:13px;color:var(--nav);font-size:29px;font-weight:750;letter-spacing:-3px;padding-right:3px}.nav-label{font-size:9px;letter-spacing:1.6px;color:#6d8194;margin:0 14px 14px}.nav-item{width:100%;display:flex;align-items:center;text-align:left;gap:12px;border:0;background:none;color:#91a3b4;padding:13px 14px;border-radius:8px;font-size:13px;margin:4px 0}.nav-item>span{font-size:20px;width:22px;line-height:1}.nav-item:hover{background:#1a2b3b;color:white}.nav-item.active{background:#203a3e;color:#abe8d1}.nav-item b{margin-left:auto;background:#2b3a48;padding:1px 7px;border-radius:5px;font-size:10px}.sidebar-bottom{margin-top:auto}.worker-badge{font-size:10px;color:#8ac6ae;padding:13px;margin-bottom:16px;background:#142a2e;border:1px solid #203a3e;border-radius:8px}.worker-badge.offline{color:#f2b878;background:#392e21;border-color:#624627}.profile{display:flex;gap:10px;align-items:center;border-top:1px solid #2a3744;padding:20px 9px 0;font-size:11px}.profile small{display:block;font-size:10px}.profile button{margin-left:auto;border:0;background:none;color:#9babb8;font-size:23px}.avatar{background:#304555;color:#cee1ee;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-weight:500}.avatar.small{width:28px;height:28px;font-size:10px;background:#e3eaf0;color:#415769}.workspace{margin-left:244px}.topbar{height:76px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 40px;font-size:11px;color:#7b8792}.topbar>span>span{margin:0 12px;color:#c2cad0}.topbar-right{display:flex;align-items:center;gap:24px}.clock{font-variant-numeric:tabular-nums}main{max-width:1560px;padding:36px 40px 18px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;gap:15px}.page-heading p{font-size:13px;margin:0}.eyebrow{font-size:9px;letter-spacing:2px;color:#7c8a96;font-weight:650;margin-bottom:12px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;min-height:40px;border:1px solid #dce3e8;background:#fff;color:#354b5b;border-radius:7px;font-size:12px;font-weight:550;text-decoration:none;white-space:nowrap}.button:hover{background:#edf2f4}.button.primary{background:var(--green);color:#fff;border-color:var(--green);box-shadow:0 2px 3px #174d3320}.button.primary:hover{background:#116b53}.button.full{width:100%;justify-content:space-between}.text-button{border:0;background:none;padding:7px 0;font-size:11px;color:#3b7769}.summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:34px}.summary-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:21px 22px}.summary-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#657581}.summary-icon{width:28px;height:28px;border-radius:7px;background:#f0f4f6;color:#718899;display:grid;place-items:center;font-size:16px}.summary-icon.green{background:#e4f5ed;color:#298268}.summary-icon.red{background:#fff0f0;color:#ce6060}.summary-number{font-size:34px;line-height:1.1;letter-spacing:-1.4px;font-weight:600;margin:15px 0 9px}.summary-note{font-size:10px;color:#87949e}.summary-note.green{color:#27846a}.section-heading,.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-heading{margin-bottom:18px}.section-heading p{font-size:11px;margin:5px 0 0}.count{font-size:11px;background:#e8edf0;color:#758492;border-radius:5px;padding:2px 6px;margin-left:6px;vertical-align:middle}.segment{display:flex;border:1px solid var(--line);background:#eef1f4;padding:3px;border-radius:7px;gap:3px}.segment button{padding:6px 12px;border:0;background:none;font-size:10px;color:#778593;border-radius:5px}.segment .selected{background:#fff;color:#263f51;box-shadow:0 1px 3px #0001}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:20px;overflow:hidden}.panel-heading{padding:22px 24px;border-bottom:1px solid #eff1f3}.panel-heading h2{font-size:14px}.subtle{font-size:8px;letter-spacing:1.3px;color:#9aa6af}.table-wrap{overflow-x:auto;background:white;border:1px solid var(--line);border-radius:10px;margin-bottom:24px}table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}th{font-weight:500;font-size:9px;color:#89949e;letter-spacing:.7px;padding:14px 20px;background:#fafbfc;border-bottom:1px solid var(--line)}td{padding:18px 20px;border-bottom:1px solid #eff2f4;font-size:11px}tr:last-child td{border-bottom:0}.device-name{display:flex;align-items:center;gap:12px;min-width:160px}.device-icon{height:34px;width:34px;flex-shrink:0;display:grid;place-items:center;border:1px solid #e7ecef;border-radius:8px;background:#fafcfd;font-size:19px;color:#688494}.device-name strong{display:block;font-size:12px;font-weight:600}.device-name small{font-size:10px}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;color:#748592}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:5px;font-size:10px;padding:4px 8px;background:#eff2f5;color:#7b8995}.badge:before{content:'';height:5px;width:5px;border-radius:50%;background:currentColor}.badge.up{background:#e8f5ed;color:#258368}.badge.down{background:#fcebed;color:#cc4a50}.badge.warning{background:#fff5dd;color:#a47e1c}.badge.paused{color:#8a8597;background:#f1eff6}.history{display:flex;gap:2px;align-items:center;height:26px}.history i{width:3px;height:18px;background:#66bca0;border-radius:1px;display:block}.history i.bad{background:#e47b7e}.latency{font-variant-numeric:tabular-nums;color:#405e68}.empty{padding:48px 24px;text-align:center}.empty .empty-icon{background:#f0f6f4;color:#559b85;width:56px;height:56px;border-radius:15px;margin:0 auto 18px;display:grid;place-items:center;font-size:25px}.empty h3{font-size:16px;margin-bottom:8px}.empty p{font-size:12px;max-width:390px;margin:0 auto 20px}.empty.compact{padding:28px 20px}.empty.compact p{margin:0 auto}.lower-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:22px}.incident-row,.audit-row,.checklist-row{display:flex;align-items:center;gap:12px;padding:17px 24px;border-bottom:1px solid #f0f2f4}.incident-row:last-child,.audit-row:last-child,.checklist-row:last-child{border-bottom:0}.incident-icon{background:#fcecee;color:#d77379;border-radius:7px;width:32px;height:32px;display:grid;place-items:center;font-size:17px}.incident-icon.resolved{background:#e6f5ee;color:#278469}.incident-content{flex:1}.incident-content strong{font-size:11px;font-weight:550}.incident-content small{display:block;font-size:10px}.incident-row time{font-size:10px;color:#9aa6ae}.check-num{width:24px;height:24px;border-radius:50%;border:1px solid #dce4e8;color:#82909c;font-size:10px;display:grid;place-items:center}.check-num.done{background:#e3f3eb;color:#258367;border-color:transparent}.checklist-row strong{font-size:11px;font-weight:500}.checklist-row small{font-size:10px;display:block}.checklist-row .text-button{margin-left:auto;font-size:14px}.banner{padding:14px 18px;margin-bottom:22px;border-radius:8px;font-size:12px;line-height:1.7;border:1px solid}.banner.info{background:#eaf2fa;color:#466881;border-color:#dce7f1}.banner.warning{background:#fff7e5;color:#946e21;border-color:#eee0bb}.banner.danger{background:#fff0f0;color:#bd4d52;border-color:#f2d5d6}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-panel{padding:26px}.settings-panel h2{font-size:20px;margin:13px 0 10px}.settings-panel p{font-size:12px}.settings-panel form{margin-top:22px}label{display:block;font-size:11px;font-weight:550;color:#5e7281;margin-bottom:15px}input,select{display:block;width:100%;border:1px solid #dce3e7;background:white;padding:11px 12px;border-radius:6px;margin-top:7px;color:#294252;font-size:12px;min-width:0}input:focus,select:focus{border-color:#6caa94;outline:2px solid #dceddf}input::placeholder{color:#a4afb7;font-size:11px}form>small{display:block;font-size:10px;margin:-8px 0 17px}.channel-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;font-size:22px}.channel-icon.telegram{background:#e5f2fc;color:#2e8ab5}.channel-icon.push{background:#e8f5ed;color:#268268}.note{background:#f6f8fa;padding:14px;border-radius:7px;color:#7b8995;font-size:11px;line-height:1.8;margin:20px 0}.push-status{font-size:12px;margin:25px 0 16px;color:#6b8090}.facts{margin:25px 0}.facts>div{display:flex;justify-content:space-between;gap:15px;padding:11px 0;border-bottom:1px solid #edf0f2;font-size:11px}.facts dt{color:#7c8b98}.facts dd{margin:0;color:#3f5869}.panel-pad{padding:16px 24px;margin:0;font-size:11px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:28px 0}.feature-grid span{font-size:24px;color:#5b9d87}.feature-grid h3{margin:10px 0}.feature-grid p{font-size:12px}.roadmap{padding:26px}.toolbar{margin-bottom:20px;max-width:420px}.toolbar input{margin:0}.icon-button{border:0;background:#f3f6f8;width:28px;height:28px;border-radius:6px;font-size:20px;color:#78909b}.row-button{border:0;background:none;padding:5px;color:#4d7d70;font-size:11px}.audit-row{justify-content:space-between;font-size:11px;gap:16px}.audit-row small{font-size:10px}.audit-row time{color:#91a0aa;font-size:10px}.audit-row div{flex:1}footer{display:flex;justify-content:space-between;padding:26px 0 10px;font-size:9px;color:#9aa6af}.footer-dot{padding:0 8px}dialog{border:1px solid var(--line);border-radius:14px;padding:28px;max-width:560px;width:calc(100% - 32px);max-height:90vh;overflow:auto;color:var(--ink);box-shadow:0 28px 90px #0e233738}dialog::backdrop{background:#0b1d3066;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.dialog-heading .eyebrow{margin-bottom:5px}.dialog-heading h2{font-size:22px}.form-row{display:flex;gap:16px}.form-row>label{flex:1;min-width:0}.form-row>.grow{flex:3}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.danger-button{background:#c74b53;color:white;border-color:#c74b53}.toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translateX(-50%);background:#173f36;color:#e0f4e9;padding:13px 22px;border-radius:9px;box-shadow:0 6px 20px #0002;z-index:100;font-size:12px;max-width:90vw}.toast.error{background:#843e44}.error{color:#ba4e57;font-size:12px}.login-body{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 20% 10%,#dcece5,transparent 60%),#f2f5f7}.login-card{background:white;border:1px solid #e4ebe6;border-radius:18px;padding:40px;width:400px;max-width:calc(100% - 32px);box-shadow:0 20px 80px #1b45330a}.login-card>.brandmark{margin-bottom:28px}.login-card .eyebrow{font-size:8px;letter-spacing:1.5px}.login-card h1{font-size:30px}.login-card p{font-size:12px}.login-card form{margin-top:28px}.login-card>small{display:block;text-align:center;font-size:9px;margin-top:25px}.chart{width:100%;height:140px;margin:20px 0;background:#f7faf9;border-radius:8px}.chart polyline{stroke:#258569;fill:none;stroke-width:2}.detail-history{margin-top:25px}.detail-history .history i{flex:1}.detail-history small{font-size:10px}.detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.detail-description{overflow-wrap:anywhere;font-size:12px}.empty-data{color:#a5afb8;font-size:11px}
.router-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:20px 0 26px}.router-toolbar .muted{font-size:10px;margin-left:auto}.wide-dialog{max-width:1100px;width:calc(100% - 32px)}.routes-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:16px 0}.routes-toolbar input{margin:0;flex:1}.route-pagination{display:flex;align-items:center;gap:12px;font-size:11px}.route-row-actions{display:flex;gap:8px}.route-table{max-height:50vh;overflow:auto}.route-table th{position:sticky;top:0;z-index:1}.route-table td{font-size:11px;white-space:normal;overflow-wrap:anywhere;min-width:120px}.route-table td:first-child{min-width:150px}.route-table td:last-child{min-width:145px}.facts dd{max-width:75%;overflow-wrap:anywhere}.routes-toolbar a{font-size:10px}#route-form>small{display:block;font-size:10px;margin:0 0 18px}#routes-table{min-height:80px}#router-command-preview .facts>div{align-items:flex-start}
@media(max-width:800px){.router-toolbar .muted{width:100%;margin-left:0}.routes-toolbar{flex-wrap:wrap}.routes-toolbar input{min-width:200px}.routes-toolbar .segment{flex:1;min-width:245px}.wide-dialog{padding:18px;width:calc(100% - 18px)}.route-table td{padding:12px}}
.telegram-message{font-size:12px;line-height:1.7;padding:12px;background:#f3f7f6;border-radius:6px;margin:14px 0}.telegram-chat-choice{display:block;text-align:left;width:100%;padding:10px 12px;background:white;border:1px solid #d8e5de;border-radius:6px;color:var(--ink);margin:8px 0}.telegram-chat-choice:hover{background:#edf6f1}.telegram-chat-choice small{display:block;font-size:10px;margin-top:3px}.telegram-bot{font-size:11px;margin:10px 0 18px}.telegram-bot a{color:var(--green)}#telegram-discover{margin:0 0 14px}
.checkbox-label{display:flex;align-items:center;gap:10px;font-weight:500;line-height:1.6}.checkbox-label input{width:17px;height:17px;margin:0;flex-shrink:0;accent-color:var(--green)}.job-heading{margin-top:28px}.vpn-table .button{min-height:32px;padding:6px 10px;font-size:11px}.vpn-table td{white-space:normal;min-width:100px}.vpn-table td:first-child{min-width:160px}
@media(max-width:800px){.vpn-table th:nth-child(3),.vpn-table td:nth-child(3),.vpn-table th:nth-child(4),.vpn-table td:nth-child(4){display:none}.vpn-table td,.vpn-table th{padding:12px}.vpn-table td:first-child{min-width:135px}}
@media(min-width:1500px){main{padding-top:44px}.summary-grid{gap:24px}.summary-card{padding:25px}.summary-number{font-size:40px}}
@media(max-width:1150px){.sidebar{width:210px;padding:26px 12px}.workspace{margin-left:210px}main{padding:28px 24px}.topbar{padding:0 24px}.brand{font-size:18px}.summary-grid{gap:12px}.summary-card{padding:17px}.lower-grid{grid-template-columns:1fr}.toast{left:calc(50% + 80px)}td,th{padding-left:14px;padding-right:14px}.optional-column{display:none}}
@media(max-width:800px){.sidebar{width:72px;padding:24px 10px}.brand{padding:0 4px;margin-bottom:28px}.brand>span:last-child,.nav-label,.nav-item b,.sidebar-bottom{display:none}.nav-item{font-size:0;justify-content:center;padding:14px 0;gap:0}.nav-item>span{font-size:23px}.brandmark{width:42px;height:42px}.workspace{margin-left:72px}.topbar{height:60px;padding:0 20px}.topbar-right .clock{display:none}main{padding:24px 20px}.page-heading{align-items:flex-start;flex-direction:column;gap:18px}.page-heading h1{font-size:28px}.page-heading .button{font-size:11px}.summary-grid{grid-template-columns:1fr 1fr;margin-bottom:26px}.settings-grid{grid-template-columns:1fr;gap:0}.section-heading{align-items:flex-start}.section-heading h2{font-size:15px}.segment button{padding:5px 8px;font-size:9px}.section-heading p{max-width:170px}.summary-number{font-size:30px}.summary-label{font-size:10px}.summary-icon{width:23px;height:23px}.feature-grid{grid-template-columns:1fr;gap:8px}.feature-grid div{border-bottom:1px solid var(--line)}.toast{left:50%;bottom:18px}.topbar{font-size:9px}footer{gap:15px;font-size:8px}.form-row{gap:12px}.panel-heading{padding:18px}.incident-row,.audit-row,.checklist-row{padding:16px 18px}.summary-note{font-size:9px}.page-heading p{font-size:12px}}
