:root{font-family:Segoe UI,Arial,sans-serif;color:#172b29;background:#f5f7f6;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{outline-offset:4px}button{cursor:pointer;border:0;border-radius:8px;transition:.15s}button:disabled{opacity:.55;cursor:wait}a{color:#176957;text-decoration:none}[hidden]{display:none!important}h1,h2,p{margin-top:0}h1{font-size:32px;letter-spacing:-1px;margin-bottom:9px}h2{font-size:18px;letter-spacing:-.3px}.muted{color:#778580;line-height:1.6}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#778580;margin-bottom:12px}.primary{background:#176957;color:white;padding:13px 20px;font-weight:600}.primary:hover{background:#105442}.primary span{float:right}.quiet{background:#edf1ef;color:#536962;padding:10px 14px}.mark{width:60px;height:60px;background:#176957;color:#fff;display:flex;align-items:center;justify-content:center;font-size:31px;font-weight:700;border-radius:17px;margin-bottom:32px}.mark span{font-size:22px}.mark.small{width:33px;height:33px;font-size:18px;border-radius:9px;margin:0}.auth{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at 80% 10%,#e0eee7,transparent 55%)}.auth-card{width:420px;background:white;border:1px solid #e2e8e4;padding:40px;border-radius:18px;box-shadow:0 16px 70px #193d2e08}.auth form{margin-top:27px}.auth form .primary{width:100%;margin-top:7px}.auth h1{font-size:36px}.auth-note{margin:25px;color:#81918b;font-size:12px}.download{display:block;text-align:center;padding-top:20px;border-top:1px solid #edf1ee;margin-top:23px}label{display:block;font-size:12px;font-weight:600;margin-bottom:18px}input{display:block;width:100%;padding:12px;border:1px solid #d8e0db;border-radius:7px;background:#fbfcfb;margin-top:7px;color:#172b29}input:focus{border-color:#176957;outline:2px solid #17695722}input[type=checkbox]{display:inline;width:16px;height:16px;vertical-align:middle;margin:0 8px 0 0;accent-color:#176957}aside{position:fixed;inset:0 auto 0 0;width:234px;background:#fff;border-right:1px solid #e1e7e3;padding:30px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;font-size:20px;letter-spacing:-.5px;padding:0 8px}.workspace{font-size:9px;letter-spacing:1.6px;color:#9ca7a1;margin:50px 12px 15px}.nav{display:flex;width:100%;align-items:center;gap:12px;padding:13px 14px;background:transparent;color:#788780;text-align:left;margin:3px 0}.nav.active{background:#eaf3ee;color:#176957;font-weight:600}.nav i{font-size:11px;margin-left:auto;font-style:normal;background:#d9e9df;padding:2px 6px;border-radius:4px}.aside-bottom{margin-top:auto}.aside-bottom>a{display:block;padding:15px 12px;font-size:12px}.identity{border-top:1px solid #e7ece9;padding:20px 10px 0;display:flex;justify-content:space-between;align-items:center}.identity button{background:#eff3f0;padding:7px 10px}main{margin-left:234px;padding:45px 45px 20px;max-width:1600px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}header .muted{margin:0}.stats{display:grid;grid-template-columns:1fr 1fr 1.75fr;gap:18px;margin-bottom:36px}.stats>div{background:#fff;border:1px solid #e1e8e3;border-radius:12px;padding:23px}.stats span{font-size:12px;color:#78877e}.stats strong{display:block;font-size:34px;font-weight:600;margin:10px 0 3px;line-height:1}.stats small{display:block;color:#92a097;font-size:11px}.stats .route-stat{background:#eaf2ed;border-color:#dce8df;display:flex;flex-direction:column;justify-content:center;gap:13px}.stats .pill{font-size:9px;letter-spacing:1px;color:#39725b;font-weight:700}.route-stat b{font-size:16px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.section-head h2{margin:0}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(265px,1fr));gap:18px}.server{border:1px solid #e1e8e3;border-radius:12px;background:#fff;padding:23px}.server-top{display:flex;justify-content:space-between;align-items:center}.server-icon{width:40px;height:40px;background:#eff4f1;color:#50846a;border-radius:10px;display:grid;place-items:center;font-size:21px}.badge{font-size:10px;padding:5px 8px;background:#e9f4ed;color:#327751;border-radius:5px}.badge.off{background:#fff0d9;color:#9e741e}.server h3{font-size:18px;margin:20px 0 8px}.server .host{font-family:Consolas,monospace;font-size:13px;color:#6c8176}.server dl{border-top:1px solid #edf0ee;margin-top:21px;padding-top:16px;font-size:11px;display:grid;grid-template-columns:1fr 1fr;gap:11px}.server dt{color:#94a298}.server dd{margin:0;text-align:right;color:#547260}.server .actions{display:flex;gap:7px;margin-top:20px}.server .actions button{font-size:11px;flex:1}.activity{margin-top:35px}.activity h2{font-size:14px}.activity p{border-bottom:1px solid #e5ebe6;padding:11px 0;margin:0;font-size:12px;display:flex;gap:18px}.activity time{color:#91a095;min-width:136px}.activity b{font-weight:600;color:#65806e}footer{font-size:10px;color:#9aa69e;margin-top:45px;display:flex;justify-content:space-between}.table-wrap{background:#fff;border:1px solid #e1e8e3;border-radius:12px;overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:10px;text-transform:uppercase;color:#92a098;padding:17px}td{font-size:12px;padding:17px;border-top:1px solid #edf1ee}dialog{width:490px;max-width:94vw;border:1px solid #dce5de;border-radius:15px;padding:28px;color:#172b29}dialog::backdrop{background:#132a2466;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.dialog-head h2{margin:0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.row{display:grid;grid-template-columns:2fr 1fr;gap:14px}.hint{font-size:12px;line-height:1.6;color:#7c8d80;background:#f0f5f1;padding:13px;border-radius:8px}.check{margin:12px 0;font-weight:400}#loginError,#editorError{font-size:12px;color:#b24232;line-height:1.5}#banner{padding:14px 18px;background:#e4f1e7;color:#2c704a;border-radius:8px;margin-bottom:20px}#banner.error{background:#fff0e9;color:#a5472a}.empty{padding:30px;background:#fff;border-radius:10px;color:#7e9085}@media(max-width:1000px){main{padding:30px 24px}.stats{grid-template-columns:1fr 1fr}.stats .route-stat{grid-column:span 2}aside{width:200px}main{margin-left:200px}header{gap:15px}h1{font-size:27px}}@media(max-width:700px){aside{position:relative;width:auto;padding:15px;flex-direction:row;align-items:center;gap:12px}.workspace,.aside-bottom,.nav i{display:none}.nav{width:auto}.brand b{font-size:16px}main{margin:0;padding:25px 18px}header{align-items:flex-start}header .primary{font-size:11px;padding:11px}.stats{gap:10px}.stats>div{padding:17px}.cards{grid-template-columns:1fr}.auth-card{width:90%;padding:30px}.section-head .muted{display:none}.activity p{flex-wrap:wrap;gap:5px}}

/* Tunnel identity and member page */
.auth .tunnel-name{font-size:34px;line-height:1.15;letter-spacing:-1px}.tunnel-name span{display:block;font-size:20px;font-weight:500;letter-spacing:-.4px;margin-top:8px}.tunnel-mark{margin-bottom:25px}.auth-card{padding-bottom:27px}.auth #loginError:empty{margin:0}.brand b{line-height:1.1}.brand small{display:block;font-size:11px;font-weight:500;letter-spacing:0;margin-top:4px}.user-page{min-height:100vh}.user-header{padding:26px max(28px,calc((100vw - 1000px)/2));background:#fff;border-bottom:1px solid #e0e8e2;margin:0;gap:20px}.user-account{display:flex;align-items:center;gap:15px;color:#678071;font-size:12px}.user-main{margin:0 auto!important;max-width:850px;padding:65px 30px 60px!important}.user-main h1{font-size:38px}.app-download{display:inline-block;margin-top:19px;padding:17px 27px;border-radius:9px}.download-caption{font-size:11px;color:#8b9d90;margin:12px 0 42px}.guide{border:1px solid #e0e8e2;background:#fff;border-radius:15px;padding:30px}.guide h2{font-size:21px;margin-bottom:28px}.guide ol{padding:0;list-style:none;counter-reset:steps}.guide li{position:relative;counter-increment:steps;padding:0 0 25px 43px}.guide li:before{content:counter(steps);position:absolute;left:0;top:0;width:27px;height:27px;border-radius:50%;background:#eaf3ed;color:#176957;display:grid;place-items:center;font-weight:600;font-size:12px}.guide li b{font-size:14px}.guide li span{display:block;color:#7c8d82;font-size:13px;line-height:1.6;margin-top:6px}.guide-notes{border-top:1px solid #e8eee9;padding-top:8px;font-size:12px;color:#7b8c80;line-height:1.7}@media(max-width:700px){.user-header{align-items:flex-start;padding:20px;flex-wrap:wrap}.user-account{width:100%;justify-content:space-between}.user-main h1{font-size:30px}.guide{padding:23px}}

@media(max-width:700px){aside{flex-wrap:wrap}.aside-bottom{display:flex;margin:0 0 0 auto;align-items:center}.aside-bottom>a{display:none}.identity{padding:0;border:0}.identity>span{display:none}}

.ssh-user,.sync-state{display:block;font-size:10px;color:#889a8d;margin-top:7px;overflow-wrap:anywhere}.traffic-up,.traffic-down{font-size:11px;white-space:nowrap}.traffic-up{color:#39775a}.traffic-down{color:#587c99}.traffic-details{display:block;background:transparent;color:#176957;padding:0;margin-top:8px;font-size:10px}.usage-note{font-size:11px;margin:18px 0 0}#usageDialog{width:740px}.server dl dd{overflow-wrap:anywhere}

.server-network{border-top:1px solid #e8eee9;margin-top:18px;padding:15px 0;display:flex;flex-direction:column;gap:7px;font-size:11px;color:#668072}.server-network b{font-size:12px;color:#374f46}.server-network small{font-size:10px;color:#8a9b91}

.auth-legal{margin:20px 0 28px;font-size:11px}.auth-legal a{color:#84968b}.legal-link{margin-left:18px;font-size:11px}
