:root{font-family:"IBM Plex Sans",Arial,sans-serif;color:#12243a;background:#f3f5f4;font-synthesis:none;--ink:#12243a;--paper:#fff;--ground:#f3f5f4;--muted:#536779;--line:#d9e0e2;--cyan:#147d92;--cyan-soft:#e2f1f3;--amber:#95570f;--red:#a33136;--green:#24694e;--green-soft:#e4f3eb;--r:12px;--shadow:0 12px 30px #12243a18}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}.boot{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:18px;color:var(--muted)}.route-mark,.brand-mark{position:relative;width:38px;height:38px;border:1.5px solid #7c9da9;border-radius:50%;flex:none}.route-mark:before,.brand-mark:before{content:"";position:absolute;left:17px;top:-1px;height:39px;width:2px;background:#efb24f;transform:rotate(45deg)}.shell{min-height:100vh;display:grid;grid-template-columns:225px minmax(0,1fr)}.rail{background:var(--ink);color:#f5f7f8;padding:26px 18px;display:flex;flex-direction:column;gap:34px}.brand{display:flex;align-items:center;gap:12px;font-weight:600}.brand small{display:block;font-weight:400;color:#a9bac5;font-size:12px;margin-top:2px}.nav button{border:0;background:transparent;text-align:left;color:#bfccd4;padding:11px 12px;border-radius:8px;display:flex;gap:11px;align-items:center;width:100%}.nav button[aria-current=page],.nav button:hover{background:#263d54;color:white}.nav svg,.icon-button svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7}.rail-foot{margin-top:auto;border-top:1px solid #314359;padding-top:16px;color:#b3c1ca;font-size:13px}.main{min-width:0}.topbar{height:68px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#ffffffec;border-bottom:1px solid var(--line)}.crumb{font-size:13px;color:var(--muted)}.user-menu{display:flex;align-items:center;gap:12px;font-size:14px}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#d9e7e8;color:#175b65;font-weight:600}.content{max-width:1280px;margin:auto;padding:34px 38px 60px}.heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:25px}.heading h1{font-size:30px;line-height:1.15;letter-spacing:-.025em;margin:0;font-weight:600}.heading p{margin:8px 0 0;color:var(--muted);font-size:15px}.button{border:1px solid transparent;padding:10px 15px;min-height:42px;border-radius:8px;font-weight:500;display:inline-flex;justify-content:center;align-items:center;gap:8px;transition:background .16s ease}.button:active{transform:translateY(1px)}.primary{background:var(--cyan);color:white}.primary:hover{background:#0d697c}.secondary{background:white;border-color:var(--line);color:var(--ink)}.secondary:hover{border-color:#9bb2b9}.danger{background:#fbe8e8;color:var(--red)}.button svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.7}:focus-visible{outline:3px solid #e6aa45;outline-offset:2px}.route-board{background:var(--ink);color:#f8fafb;border-radius:var(--r);padding:20px 24px;margin-bottom:26px;display:grid;grid-template-columns:minmax(180px,1fr) minmax(200px,1.1fr) minmax(175px,1fr) auto;gap:20px;align-items:center}.route-node{display:flex;align-items:center;gap:12px}.node{width:10px;height:10px;border-radius:50%;background:#72c1c4;box-shadow:0 0 0 5px #72c1c426}.node.amber{background:#edaf4e;box-shadow:0 0 0 5px #edaf4e26}.node-label{font-size:14px;font-weight:500}.node-label small{display:block;font-size:12px;color:#aebdc7;font-weight:400;margin-top:3px}.route-line{height:2px;background:#496174;position:relative}.route-line:after{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:#d6e8e7;top:-2.5px;left:62%}.route-line.down:after{background:#edaf4e}.route-caption{font-size:12px;color:#c0ccd2;text-align:right}.route-caption strong{display:block;font:13px "IBM Plex Mono",monospace;color:#fff;margin-top:4px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid var(--line);margin-bottom:27px}.stat{padding:16px 20px;border-right:1px solid var(--line)}.stat:first-child{padding-left:0}.stat:last-child{border:0}.stat-label{font-size:13px;color:var(--muted)}.stat-value{font-size:23px;font-weight:600;margin-top:5px}.stat-note{font-size:12px;color:var(--muted);margin-top:3px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:28px 0 13px}.section-head h2{margin:0;font-size:18px;font-weight:600}.section-head p{margin:4px 0 0;color:var(--muted);font-size:13px}.search{width:min(250px,42vw);height:40px;border:1px solid var(--line);border-radius:8px;padding:0 12px;background:#fff}.table-wrap{overflow:auto;background:var(--paper);border:1px solid var(--line);border-radius:var(--r)}table{width:100%;border-collapse:collapse;text-align:left;min-width:590px}th{font-size:12px;font-weight:500;color:var(--muted);padding:12px 16px;border-bottom:1px solid var(--line);background:#fafbfa}td{padding:14px 16px;border-bottom:1px solid #e8edee;font-size:14px}tbody tr:last-child td{border:0}.login-name,.conn-name{font-weight:500}.subtext,.conn-date{font-size:12px;color:var(--muted);margin-top:3px}.quota{font:13px "IBM Plex Mono",monospace}.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;font-size:12px;white-space:nowrap}.badge:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.badge.good{background:var(--green-soft);color:var(--green)}.badge.off{background:#edf0f1;color:#5c6e78}.row-actions{display:flex;gap:5px;justify-content:flex-end}.icon-button{width:35px;height:35px;border:1px solid transparent;background:transparent;border-radius:7px;display:grid;place-items:center;color:var(--muted)}.icon-button:hover{border-color:var(--line);background:#f8fafa;color:var(--ink)}.empty{padding:36px 20px;text-align:center;color:var(--muted)}.empty strong{display:block;color:var(--ink);font-size:15px;margin-bottom:5px}.panel{background:white;border:1px solid var(--line);border-radius:var(--r);padding:20px 23px;margin-bottom:18px}.connection{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0;border-top:1px solid var(--line)}.connection:first-child{border:0}.conn-actions{display:flex;gap:5px}.quota-line{font:13px "IBM Plex Mono",monospace;color:var(--muted)}.notice{padding:13px 15px;border-radius:9px;background:var(--cyan-soft);color:#205b65;font-size:14px;line-height:1.5;margin:12px 0 18px}.notice.warn{background:#fff0d9;color:#71420e}.form-grid{display:grid;gap:14px}.field{display:grid;gap:6px}.field label{font-size:13px;font-weight:500}.field input{height:43px;width:100%;border:1px solid #cbd6d9;border-radius:8px;background:white;padding:0 12px;color:var(--ink)}.field-help{font-size:12px;color:var(--muted);line-height:1.45}.modal-backdrop{position:fixed;inset:0;background:#0c1a298c;z-index:10;display:grid;place-items:center;padding:20px}.modal{background:white;border-radius:14px;width:min(550px,100%);max-height:90vh;overflow:auto;box-shadow:var(--shadow);padding:24px}.modal h2{font-size:21px;margin:0 0 6px}.modal-sub{color:var(--muted);font-size:14px;line-height:1.5;margin:0 0 18px}.modal-head{display:flex;justify-content:space-between;gap:12px}.secret-code{font:13px "IBM Plex Mono",monospace;background:#f3f5f4;border:1px solid var(--line);padding:12px;border-radius:8px;overflow-wrap:anywhere;user-select:all}.textarea{width:100%;min-height:145px;resize:vertical;border:1px solid var(--line);border-radius:8px;padding:11px;font:12px/1.5 "IBM Plex Mono",monospace}.modal-foot{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.toast{position:fixed;right:22px;bottom:22px;z-index:20;background:var(--ink);color:#fff;padding:12px 16px;border-radius:9px;box-shadow:var(--shadow);font-size:14px;max-width:calc(100vw - 36px)}.toast.error{background:#8b292e}.auth-wrap{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:white}.auth-aside{background:var(--ink);color:#fff;padding:clamp(30px,7vw,82px);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-aside:after{content:"";position:absolute;width:420px;height:420px;border:1px solid #334d64;border-radius:50%;right:-210px;bottom:-140px;box-shadow:0 0 0 36px #ffffff06,0 0 0 78px #ffffff05}.auth-aside h1{font-size:clamp(32px,4vw,50px);line-height:1.08;letter-spacing:-.035em;max-width:450px;margin:60px 0 12px}.auth-aside p{font-size:16px;color:#bdc9d1;line-height:1.6;max-width:390px}.route-mini{display:flex;align-items:center;gap:10px;color:#d5e0e5;font-size:13px}.route-mini i{width:9px;height:9px;border-radius:50%;background:#73c3c2}.route-mini i:last-child{background:#efb24f}.auth-form-area{display:grid;place-items:center;padding:32px}.auth-card{width:min(390px,100%)}.auth-card h2{font-size:25px;margin:0 0 8px}.auth-card>p{color:var(--muted);font-size:14px;line-height:1.5;margin:0 0 22px}.auth-card>.button{width:100%;margin-top:5px}.auth-links{margin-top:15px;text-align:center}.quiet{border:0;background:transparent;color:var(--cyan);font-size:13px}.error-line{color:var(--red);font-size:13px;min-height:20px}.qr-frame{display:grid;place-items:center;padding:15px;border:1px solid var(--line);border-radius:10px;width:max-content;margin:15px auto}.qr-frame img{width:220px;height:220px}.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(max-width:920px){.shell{grid-template-columns:190px 1fr}.content{padding:27px 24px 45px}.topbar{padding:0 24px}.route-board{grid-template-columns:1fr 1fr}.route-caption{display:none}}
@media(max-width:650px){.shell{display:block}.rail{padding:11px 16px;flex-direction:row;align-items:center;justify-content:space-between;gap:10px}.brand-mark{width:29px;height:29px}.brand-mark:before{left:12px;height:30px}.brand small,.rail-foot{display:none}.nav button{padding:8px}.nav button span{display:none}.nav svg{width:20px;height:20px}.topbar{height:52px;padding:0 18px}.content{padding:25px 17px 42px}.heading{align-items:flex-start;flex-direction:column;margin-bottom:19px}.heading h1{font-size:27px}.route-board{grid-template-columns:1fr;padding:17px;gap:12px}.route-line{width:2px;height:14px;margin:-6px 4px}.stats{grid-template-columns:repeat(3,1fr)}.stat{padding:12px 9px}.stat:first-child{padding-left:0}.stat-value{font-size:19px}.stat-label,.stat-note{font-size:11px}.section-head{align-items:flex-start;gap:9px}.section-head h2{font-size:17px}.search{width:40vw}.table-wrap{border:0;background:transparent;overflow:visible}table,tbody{display:block;min-width:0}thead{display:none}tbody{display:grid;gap:9px}tr{display:grid;grid-template-columns:1fr auto;gap:4px 8px;padding:13px;border:1px solid var(--line);border-radius:10px;background:#fff}td{padding:0;border:0}td:nth-child(2){grid-column:1}.row-actions{grid-column:2;grid-row:1/4;align-self:center}.inline-form{grid-template-columns:1fr}.panel{padding:16px}.auth-wrap{grid-template-columns:1fr}.auth-aside{min-height:240px;padding:23px}.auth-aside h1{margin:28px 0 7px;font-size:31px}.auth-aside p{font-size:14px;margin:0}.auth-aside:after{width:280px;height:280px;right:-180px;bottom:-190px}.auth-form-area{padding:32px 22px;align-items:start}.auth-card{margin:auto 0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
