:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#e4e9ee;background:#0d1117;font-synthesis:none;--muted:#98a4b2;--border:#29333f;--green:#88e6bd;--blue:#91b8ff}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}button,input,textarea,select,summary{outline-offset:4px}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--green)}svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.topbar{min-height:80px;border-bottom:1px solid #222b36;padding:18px max(32px,calc((100vw - 1280px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px;background:#10151c}.brand{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:650;letter-spacing:-.5px}.brand-light{font-weight:400;color:#a4afbd}.brand-mark{width:35px;height:35px;background:var(--green);color:#0b2921;display:grid;place-items:center;border-radius:10px;font-size:23px;font-weight:800;letter-spacing:-3px;padding-right:3px}.local-badge{display:flex;align-items:center;gap:8px;font-size:13px;color:#abb7c4}main{max-width:1344px;padding:38px 32px 0;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.eyebrow{font-size:12px;letter-spacing:1.7px;color:#9daab9;font-weight:600}h1{font-size:34px;letter-spacing:-1.2px;font-weight:600;margin:12px 0 10px;line-height:1.2}p{font-size:16px;line-height:1.6;color:var(--muted);margin:0}.button{border:1px solid #354150;border-radius:7px;background:#202936;color:#e7edf4;padding:10px 15px;min-height:42px;font-size:14px;font-weight:550;display:inline-flex;align-items:center;justify-content:center;gap:9px;transition:background .15s,border-color .15s;white-space:normal}.button:hover{background:#2b3848;border-color:#586778}.button.quiet{background:transparent;color:#adb8c5}.button.soft{background:#172821;border-color:#2b4a3b;color:#a5e8c7}.button.soft:hover{background:#213b30}.button.primary{background:var(--green);border-color:var(--green);color:#10251d;font-weight:650;padding:13px 20px}.button.primary:hover{background:#abf1d2}.button.danger{background:#923c46;border-color:#bc535f}.button.compact{font-size:13px;min-height:34px;padding:7px 11px}.tunnel-bar{border:1px solid var(--border);border-radius:10px;background:#121923;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:20px 26px}.tunnel-peer{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.tunnel-peer strong{font-size:15px;display:block;margin-bottom:5px;font-weight:550}.tunnel-peer div>span{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.peer-letter{display:grid;place-items:center;flex-shrink:0;width:37px;height:37px;border-radius:9px;font-size:16px;font-weight:600}.peer-letter.a{color:var(--green);background:#1b3730;border:1px solid #325347}.peer-letter.b{color:var(--blue);background:#1e2e49;border:1px solid #354767}.tunnel-peer.right{justify-content:flex-end;text-align:right}.tunnel-middle{width:35%;max-width:360px;min-width:100px;text-align:center;font-size:12px;color:#7f8fa1}.tunnel-line{display:flex;align-items:center;gap:14px;margin-bottom:5px}.tunnel-line span{height:1px;background:#344353;flex:1}.tunnel-line svg{color:#90a5bb;width:22px;height:22px}.section-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:28px 0 15px}.section-label{display:flex;align-items:center;gap:11px}h2{font-size:17px;font-weight:550;margin:0;letter-spacing:-.3px}.step{font-size:12px;color:#8493a5;border:1px solid var(--border);padding:4px 6px;border-radius:4px;font-variant-numeric:tabular-nums}.peers{display:grid;grid-template-columns:1fr 1fr;gap:20px}.peer-card{min-width:0;background:#141b24;border:1px solid var(--border);border-radius:11px;overflow:hidden}.card-heading{padding:20px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);gap:10px}.card-title{display:flex;align-items:center;gap:11px}.card-title h2{font-size:19px;font-weight:600}.card-title .peer-letter{width:30px;height:30px;font-size:14px;border-radius:7px}.card-content{padding:22px}.subheading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.subheading h3{font-size:13px;letter-spacing:.8px;text-transform:uppercase;color:#a2afbd;font-weight:550;margin:0}.fields{display:grid;grid-template-columns:1fr 1fr;gap:17px 14px}.field{min-width:0}.field.wide{grid-column:1/-1}label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px;color:#bcc7d3;margin-bottom:8px}label small{font-size:12px;font-weight:400;color:#7e8f9f}.input-wrap{position:relative}.input-wrap input{padding-right:63px}input,select,textarea{width:100%;background:#0f151e;border:1px solid #2d3947;border-radius:6px;color:#e2e9f2;padding:11px 12px;font-size:14px;line-height:1.5;min-width:0}input::placeholder,textarea::placeholder{color:#667589;opacity:1}input:focus,textarea:focus,select:focus{border-color:#6bb994}input[readonly]{color:#98aab8;background:#151e28;border-style:dashed}input[aria-invalid=true],textarea[aria-invalid=true]{border-color:#ec8c93}.reveal{position:absolute;right:4px;top:4px;bottom:4px;background:transparent;color:#9faebf;border:0;padding:0 10px;font-size:12px}.reveal:hover{color:var(--green)}.network{margin-top:25px;padding-top:22px;border-top:1px solid #28333f}.hint{font-size:12px;color:#8293a5;margin-top:7px;line-height:1.5}.advanced{margin-top:22px;border-top:1px solid var(--border);padding-top:18px}.advanced summary{font-size:14px;cursor:pointer;color:#b8c5d1;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px}.advanced summary::-webkit-details-marker{display:none}.advanced summary::after{content:'+';font-size:20px;font-weight:300;color:#8da0b4}.advanced[open] summary::after{content:'−'}.advanced .fields{margin-top:20px}.advanced textarea{resize:vertical;min-height:68px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px}.generate-bar{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:24px 0 34px}.generate-bar p{display:flex;align-items:center;gap:8px;font-size:13px}.generate-bar svg{width:15px;height:15px;color:#7a8d9f}.outputs{display:grid;grid-template-columns:1fr 1fr;gap:20px}.output{min-width:0;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:#0c121a}.output-heading{display:flex;align-items:center;justify-content:space-between;padding:13px 18px;background:#161f2a;border-bottom:1px solid var(--border);gap:10px}.filename{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:14px;color:#c5d1de;display:flex;align-items:center;gap:8px}.filename svg{color:#8093a8}.output-actions{display:flex;gap:8px}.output textarea{display:block;border:0;border-radius:0;background:transparent;resize:vertical;padding:21px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;line-height:1.8;color:#b9dac9;font-size:13px;min-height:260px;white-space:pre;overflow:auto}.output textarea:focus-visible{outline-offset:-3px}.output-note{padding:10px 18px 14px;font-size:12px;color:#8799ac}.muted{font-size:13px;color:var(--muted)}footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:40px;border-top:1px solid #232e3a;padding:22px 0 28px;font-size:12px;color:#718195}#notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:5;background:#213d31;color:#d4f8e5;border:1px solid #48755e;box-shadow:0 8px 30px #0006;border-radius:9px;padding:15px 20px;font-size:14px;max-width:calc(100vw - 32px);width:max-content}#notice.error{background:#45262d;color:#ffd9df;border-color:#8a4955}dialog{max-width:450px;width:calc(100% - 32px);padding:27px;background:#17202b;color:#e6ecf3;border:1px solid #3b4a5a;border-radius:12px;box-shadow:0 25px 80px #0009}dialog::backdrop{background:#04090dbb}dialog h2{font-size:21px;margin-bottom:12px}dialog p{font-size:15px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.hidden-file{display:none}@media(min-width:1500px){main{padding-top:44px}}@media(max-width:900px){main{padding:28px 20px 0}.topbar{padding:18px 20px}.card-content{padding:18px}.card-heading{padding:18px}.fields{grid-template-columns:1fr}.field.wide{grid-column:auto}.generate-bar p{max-width:350px}.output-heading{align-items:flex-start;flex-direction:column}}@media(max-width:650px){.topbar{min-height:68px}.brand{font-size:18px}.local-badge{font-size:0;gap:0}.local-badge svg{width:20px;height:20px}.page-heading{align-items:flex-start}h1{font-size:29px}.eyebrow{font-size:11px;letter-spacing:1px}.page-heading p{font-size:14px}.page-heading>.button{padding:8px 10px;min-height:36px;font-size:12px;margin-top:26px}.peers,.outputs{grid-template-columns:1fr}.fields{grid-template-columns:1fr 1fr}.field.wide{grid-column:1/-1}.tunnel-bar{padding:17px 14px;gap:10px}.tunnel-peer{gap:8px}.tunnel-peer div>span{font-size:11px}.tunnel-middle{min-width:42px;width:15%;font-size:0}.tunnel-line{gap:3px}.tunnel-line svg{width:18px}.tunnel-peer .peer-letter{width:28px;height:30px;font-size:13px}.tunnel-peer strong{font-size:14px}.section-toolbar{flex-wrap:wrap;gap:12px}.section-toolbar .button{font-size:13px;padding:9px 12px}.generate-bar{flex-direction:column-reverse;align-items:stretch;gap:15px}.generate-bar p{max-width:none;justify-content:center;text-align:center;font-size:12px}.output-heading{flex-direction:row;align-items:center}.output-actions{gap:5px}.button.compact{padding:7px 9px}.card-content{padding:19px}.card-heading{padding:18px 19px}footer{margin-top:28px}}@media(max-width:380px){.fields{grid-template-columns:1fr}.field.wide{grid-column:auto}.page-heading{display:block}.page-heading>.button{margin-top:16px}.tunnel-peer div>span{font-size:10px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.output-heading{flex-wrap:wrap}.output-actions{flex-wrap:wrap}.qr-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.qr-heading h2{margin:0}#qr-dialog{max-width:520px;max-height:calc(100dvh - 32px);overflow-y:auto}.qr-frame{margin:22px auto 16px;line-height:0;max-width:400px;background:#fff;border-radius:6px;overflow:hidden}.qr-frame img{display:block;width:100%;height:auto;image-rendering:pixelated}#qr-dialog .qr-private{font-size:13px;color:#acb9c8}#qr-dialog .dialog-actions{justify-content:center;margin-top:20px}@media(max-width:650px){#qr-dialog{padding:20px}.output-heading{align-items:flex-start}.output-actions{gap:6px}.qr-heading h2{font-size:19px}}
[hidden]{display:none!important}.mode-tabs{display:flex;gap:4px;padding:4px;border:1px solid var(--border);border-radius:9px;background:#101721;width:max-content;max-width:100%;margin-bottom:28px}.mode-tabs button{border:0;border-radius:6px;background:transparent;color:#a9b7c7;padding:10px 18px;font-size:14px;min-height:42px}.mode-tabs button[aria-selected=true]{background:#233c34;color:#b2f0d0}.batch-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.check-label{grid-column:1/-1;justify-content:flex-start;gap:10px;line-height:1.5;margin:0}.check-label input{width:18px;height:18px;accent-color:var(--green)}.allocation-panel{margin-top:20px;padding:22px;border:1px solid #315347;background:#12241f;border-radius:10px}.allocation-panel>.section-label{margin-bottom:12px}.allocation-panel>p{font-size:15px;color:#b6cfbf}.allocation-panel .hint{font-size:13px;color:#93b29f}.allocation-panel .allocation-error{color:#ffb9be}.address-chips{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0}.address-chips span{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;background:#1d362b;padding:7px 9px;border-radius:5px;color:#caedda}.batch-results-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:18px;align-items:start}.client-table-scroll{max-height:490px;overflow:auto}.client-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}.client-table th{padding:13px 16px;color:#93a5b8;font-size:12px;font-weight:500;background:#111a24;position:sticky;top:0}.client-table td{border-top:1px solid #26323d;padding:14px 16px;overflow-wrap:anywhere}.client-table td:nth-child(2){font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;white-space:nowrap}.client-actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@media(max-width:900px){.batch-results-grid{grid-template-columns:1fr}.batch-results-grid .output-heading{flex-direction:row;align-items:center}.client-table-scroll{max-height:440px}}@media(max-width:650px){.batch-grid{grid-template-columns:1fr}.mode-tabs{width:100%}.mode-tabs button{flex:1;padding:10px 8px}.allocation-panel{padding:18px}.client-table th,.client-table td{padding:12px 10px}.client-table td:first-child{max-width:115px}.client-actions .button{font-size:12px;padding:6px 8px}.batch-results-grid .output-heading{flex-wrap:wrap}}

.import-panel{margin-bottom:20px;padding:22px;border:1px solid #354753;border-radius:10px;background:linear-gradient(120deg,#17252b,#111a23)}.import-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.import-heading h2{font-size:18px;margin:0 0 8px}.import-heading p{font-size:14px;max-width:620px}.import-heading .button{flex-shrink:0}.import-panel .advanced{margin-top:16px;padding-top:14px}.import-panel .field{margin:18px 0 12px}#batch-import-summary{color:var(--green);margin-top:18px}.import-error{color:#ffb9be;margin-top:14px}input:disabled{color:#98aab8;background:#151e28;border-style:dashed}@media(max-width:650px){.import-panel{padding:18px}.import-heading{align-items:flex-start;flex-direction:column;gap:14px}.import-heading .button{width:100%}}

.project-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.project-actions .button{white-space:nowrap}#project-dialog{max-width:520px;max-height:calc(100dvh - 32px);overflow-y:auto}#project-dialog .field{margin-top:20px}#project-file{font-size:13px;padding:12px}#project-progress{color:var(--green);font-size:14px}@media(max-width:850px){.page-heading{align-items:flex-start;flex-direction:column}.project-actions{justify-content:flex-start}}@media(max-width:450px){.project-actions{gap:6px}.project-actions .button{font-size:12px;padding:9px 11px}#project-dialog{padding:20px}.dialog-actions{flex-wrap:wrap}}

#client-edit-dialog{max-width:620px;max-height:calc(100dvh - 32px);overflow:auto}.client-setting{margin-top:20px}.client-setting-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}.client-setting-heading>label{margin:0}.client-own-label{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:12px;color:var(--green)}.client-own-label input{width:16px;height:16px;accent-color:var(--green)}.client-setting input:disabled,.client-setting textarea:disabled,.client-setting select:disabled{color:#96a4b3;background:#131b25;border-style:dashed;opacity:.8}.client-setting textarea{resize:vertical;min-height:70px}.client-custom{display:block;width:max-content;margin-top:6px;padding:3px 6px;border-radius:4px;background:#213d31;color:#aeeccc;font-size:10px;letter-spacing:.2px}.client-table td:first-child{min-width:95px}@media(max-width:500px){#client-edit-dialog{padding:20px}.client-setting-heading{gap:8px}.client-setting-heading>label{font-size:13px}#client-edit-dialog .dialog-actions{gap:6px}#client-edit-dialog .button{font-size:12px;padding:9px 10px}}
