:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#222c3f;background:#f6f7fa;font-size:14px;font-synthesis:none;--accent:#315be8;--line:#e7eaf0;--muted:#778196;--nav:#172338;--orange:#ff663b}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:inherit;text-decoration:none}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1{font-size:29px;letter-spacing:-.8px;line-height:1.3;margin-bottom:10px;font-weight:650}h2{font-size:17px;font-weight:650;margin-bottom:8px}h3{font-size:15px;margin-bottom:8px}p{line-height:1.7;margin-bottom:16px}.muted{color:var(--muted)}.eyebrow{color:var(--muted);font-size:11px;font-weight:650;letter-spacing:1.7px;margin-bottom:10px}.button{border:1px solid #d9deea;background:white;color:#36435b;border-radius:7px;min-height:39px;padding:9px 16px;display:inline-flex;gap:8px;align-items:center;justify-content:center;font-weight:550;white-space:nowrap;transition:background .15s,box-shadow .15s}.button:hover{background:#f4f6fa;box-shadow:0 2px 5px #1224470a}.button.primary{background:var(--accent);border-color:var(--accent);color:white;box-shadow:0 3px 6px #315be820}.button.primary:hover{background:#244dd3}.button.danger{background:#d94747;border-color:#d94747;color:white}.button.subtle{background:#fafbfc;padding:8px 12px}.text-button{border:0;background:transparent;color:var(--accent);padding:6px;font-size:13px}.text-button:hover{text-decoration:underline}.icon-button{border:0;background:none;color:var(--muted);font-size:27px;line-height:1;padding:4px}.wide{width:100%;justify-content:space-between}.brand-mark{width:54px;height:54px;background:var(--orange);color:#fff;border-radius:16px;font:700 36px/54px Georgia,serif;text-align:center;letter-spacing:-3px}.brand-mark span{color:#ffd6c9}.brand-mark.small{width:37px;height:37px;font-size:25px;line-height:37px;border-radius:10px;letter-spacing:-2px}.login-view{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at 20% 15%,#e9edfa,transparent 55%),#f6f7fa;padding:40px 20px}.login-card{max-width:450px;width:100%;padding:44px;background:white;border:1px solid var(--line);border-radius:15px;box-shadow:0 15px 65px #2033560b}.login-card>.brand-mark{margin-bottom:30px}.login-card>.eyebrow{font-size:10px}.login-card h1{font-size:27px}.login-card form{margin-top:28px}.login-foot{font-size:12px;line-height:1.8;color:#9098a6;text-align:center;margin:25px 0 0}.login-foot code{font-size:11px}.login-caption{color:#9ba3b2;font-size:12px;margin-top:28px;letter-spacing:1px}.error{color:#c94242;font-size:13px;min-height:10px;margin:9px 0 14px}
.app-shell{display:flex;min-height:100vh}.sidebar{width:222px;flex-shrink:0;position:fixed;inset:0 auto 0 0;background:var(--nav);color:#fff;padding:30px 16px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:11px;font-size:17px;font-weight:650;padding:0 8px;margin-bottom:46px}.brand small{display:block;font-size:11px;color:#8896ad;margin-top:5px;font-weight:400;letter-spacing:2px}.nav-label{color:#7b8aa3;font-size:11px;letter-spacing:1px;margin:0 15px 12px}.nav-item{display:flex;align-items:center;gap:13px;background:none;border:0;color:#aab6ca;width:100%;text-align:left;padding:13px 15px;border-radius:7px;margin-bottom:7px;font-size:14px}.nav-item:hover{background:#213149;color:#fff}.nav-item.active{background:#2a3e64;color:white;box-shadow:inset 3px 0 #7194ff}.nav-icon{width:18px;font-size:23px;line-height:20px;text-align:center;font-family:system-ui}.sidebar-foot{margin:auto 10px 0;padding-top:20px;border-top:1px solid #2a364b;color:#c0cadb;font-size:12px}.sidebar-foot div{color:#6f7e95;font-size:10px;margin-top:8px}.status-dot{display:inline-block;width:6px;height:6px;background:#36b98e;border-radius:50%;margin-right:7px;vertical-align:middle}.workspace{margin-left:222px;width:calc(100% - 222px);display:flex;flex-direction:column;min-width:0}.topbar{height:70px;border-bottom:1px solid var(--line);padding:0 36px;background:#fff;display:flex;align-items:center;justify-content:space-between;font-size:12px}.slash{color:#cad0db;margin:0 15px}.topbar-right{display:flex;align-items:center;gap:9px}.avatar{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#ebeff9;color:#596b98;font-size:12px;font-weight:600}.topbar-right .text-button{color:#8c96a6;margin-left:10px;font-size:12px}.content{padding:35px 36px;max-width:1580px;width:100%;margin:auto auto 0;flex:1}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:28px}.page-heading p:last-child{margin-bottom:0;font-size:14px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:22px}.stats article{background:white;border:1px solid var(--line);border-radius:10px;padding:22px 25px;position:relative}.stats article>span{font-size:13px;color:#7a8698;display:block}.stats strong{display:block;font-size:32px;line-height:1.2;margin:12px 0;color:#263552;letter-spacing:-.8px;font-weight:620;font-variant-numeric:tabular-nums}.stats small{color:#a0a8b5;font-size:11px}.endpoint-strip{display:flex;align-items:center;gap:18px;border:1px solid #dfe5f1;border-radius:8px;background:#edf1fa;padding:12px 16px;margin-bottom:25px}.endpoint-strip code{font-size:12px;color:#61718e;word-break:break-all}.endpoint-strip .text-button{margin-left:auto;white-space:nowrap}.badge{display:inline-flex;align-items:center;font-size:11px;padding:4px 9px;line-height:1.4;border-radius:4px;background:#edf0f5;color:#8490a2;white-space:nowrap}.badge.green{background:#e6f5ee;color:#289171}.badge.red{background:#fff0ef;color:#bf6565}.badge.amber{background:#fff5e0;color:#bd902c}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.panel-toolbar{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--line);gap:18px}.panel-toolbar h2{margin:0;white-space:nowrap;font-size:15px}.count{font-size:11px;color:#6c7d99;background:#eef1f7;padding:3px 7px;border-radius:5px;margin-left:7px}.filters{display:flex;gap:9px}.filters input{width:235px}.filters select{width:114px}.filters input,.filters select{font-size:12px;min-height:35px;padding:8px 10px}.filters .button{min-height:35px;font-size:12px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left;font-size:12px}th{font-size:11px;letter-spacing:.2px;font-weight:500;background:#fbfcfe;color:#8c95a6;padding:13px 20px;border-bottom:1px solid #edf0f5}td{padding:20px;border-bottom:1px solid #f0f2f6;color:#63708a}td:first-child{max-width:250px}td strong{display:block;font-size:13px;font-weight:550;color:#34425b;overflow:hidden;text-overflow:ellipsis}td small{font-size:11px;color:#99a2b2;display:block;margin-top:6px;overflow:hidden;text-overflow:ellipsis}td code{font-size:11px;color:#7f8ca4}tr:last-child td{border-bottom:0}.align-right{text-align:right}.key-actions{display:flex;justify-content:flex-end;gap:6px}.key-actions button{font-size:11px;padding:4px}.key-actions .revoke{color:#bc7878}.empty{text-align:center;padding:52px 20px 50px}.empty-symbol{background:#f0f3fb;color:#8b9bc0;width:52px;height:52px;border-radius:12px;font-size:32px;line-height:52px;margin:0 auto 17px}.empty h3{font-size:14px;font-weight:550}.empty p{font-size:12px;color:#9ba4b4}.empty .button{font-size:12px;min-height:34px;padding:7px 14px}.panel-footer{font-size:11px;background:#fcfcfd;border-top:1px solid var(--line);color:#98a1b1;padding:13px 20px}.workspace-foot{display:flex;justify-content:space-between;font-size:10px;color:#b0b7c4;padding:24px 36px;margin-top:30px}
label,legend{display:block;font-size:13px;font-weight:550;margin-bottom:9px;color:#485670}input,select{width:100%;border:1px solid #dce1eb;border-radius:6px;background:#fff;min-height:42px;padding:10px 12px;color:#34415a;transition:border .15s}input:focus,select:focus{outline:2px solid #315be815;border-color:#809af2}input::placeholder{color:#a6afbd;font-size:12px}input[type=checkbox],input[type=radio]{accent-color:var(--accent)}.field{margin-top:24px}.hint{font-size:12px;line-height:1.7;color:#939daf;margin-top:9px;margin-bottom:0}.optional{color:#a7afbe;font-weight:400;margin-left:5px;font-size:11px}.settings-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:22px}.settings-panel{padding:27px}.settings-panel>p{font-size:12px}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.panel-title p{font-size:12px;margin:0}.switch{position:relative;width:40px;height:23px;flex-shrink:0;margin:0}.switch input{position:absolute;inset:0;min-height:0;opacity:0;cursor:pointer;z-index:1;margin:0}.switch>span{display:block;background:#d8dfe9;height:23px;border-radius:16px;transition:background .15s}.switch>span:before{content:"";display:block;background:#fff;width:17px;height:17px;border-radius:50%;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0002;transition:transform .15s}.switch input:checked+span{background:var(--accent)}.switch input:checked+span:before{transform:translateX(17px)}.switch input:focus-visible+span{outline:2px solid #7194ff;outline-offset:3px}fieldset{border:0;padding:0;margin:0}.radio-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.radio-card{display:flex;align-items:flex-start;gap:10px;border:1px solid #e1e6ef;border-radius:7px;padding:15px 12px;cursor:pointer;margin:0;line-height:1.5}.radio-card:has(input:checked){background:#f6f8ff;border-color:#93a7ec}.radio-card input{width:14px;height:14px;min-height:0;margin:3px 0 0;flex-shrink:0}.radio-card strong{font-size:12px;display:block}.radio-card small{font-size:10px;font-weight:400;color:#939eb2;display:block;margin-top:5px}.short-input{max-width:180px}.notice{display:flex;gap:10px;padding:13px;background:#f6f8fc;color:#8c9db6;border-radius:6px;margin-top:26px}.notice p{font-size:11px;color:#7a889e;margin:0;line-height:1.8}.divider{border-top:1px solid var(--line);margin:27px 0}.setting-line{display:flex;justify-content:space-between;font-size:12px;margin-top:18px;color:#8691a4}.setting-line code{font-size:11px;color:#536481}.form-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:12px;align-items:center}.form-actions>span{margin-right:auto;font-size:12px}.connection-result{grid-column:1/-1;background:#e8f6ef;border:1px solid #d0eadd;color:#318468;font-size:13px;padding:16px;border-radius:8px}.connection-result.failed{background:#fff1ef;color:#b75f56;border-color:#f4d7d3}.guide-panel{padding:35px;max-width:1000px}.step{display:flex;gap:22px;padding-bottom:30px;margin-bottom:30px;border-bottom:1px solid var(--line)}.step:last-child{padding-bottom:0;margin-bottom:0;border:0}.step>span{background:#eff3ff;color:#647dcc;border-radius:7px;width:34px;height:34px;line-height:34px;text-align:center;font-size:12px;flex-shrink:0}.step>div{min-width:0;flex:1}.step h2{font-size:15px;margin:6px 0 13px}.step p{font-size:13px;margin-bottom:0}.code-line{display:flex;justify-content:space-between;align-items:center;background:#f8f9fc;border:1px solid #edf0f6;border-radius:6px;padding:13px 16px;gap:10px}.code-line code{overflow-wrap:anywhere;font-size:12px}pre{background:#f7f9fc;border:1px solid #e9edf4;border-radius:7px;font-size:12px;line-height:1.85;padding:18px;color:#52688d;overflow:auto;margin:15px 0 0}code{font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace}.account-panel{max-width:560px}.account-panel>.button{margin-top:28px}
dialog{border:1px solid var(--line);border-radius:12px;padding:30px;width:480px;max-width:calc(100vw - 32px);color:#26344d;box-shadow:0 25px 100px #12244330}dialog::backdrop{background:#14213680;backdrop-filter:blur(2px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.dialog-heading h2{margin:0;font-size:19px}dialog>p,dialog form>p{font-size:13px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:30px}.dialog-actions .button{font-size:13px}.secret-input{font-family:monospace;font-size:12px;background:#f7f9ff;letter-spacing:.2px}#custom-expiry{margin-top:12px}.toast{position:fixed;top:20px;left:50%;transform:translateX(-50%);z-index:50;background:#24344e;color:#fff;padding:13px 22px;border-radius:8px;box-shadow:0 5px 22px #15294525;font-size:13px;max-width:90vw}.toast.fail{background:#a84d4d}
@media(min-width:1550px){.content{padding-top:45px}}@media(max-width:1200px){.sidebar{width:196px}.workspace{margin-left:196px;width:calc(100% - 196px)}.content{padding:28px 24px}.topbar{padding:0 24px}.panel-toolbar{align-items:flex-start;flex-direction:column}.filters{width:100%}.filters input{flex:1}.settings-grid{grid-template-columns:1fr}.settings-panel{padding:24px}.settings-grid>.settings-panel:nth-child(2){display:block}.stats article{padding:20px}.workspace-foot{padding:24px}.settings-grid .form-actions{margin-top:0}}
@media(max-width:760px){.app-shell{display:block}.sidebar{width:100%;height:auto;position:static;padding:18px 16px}.brand{margin-bottom:18px;padding:0;font-size:15px}.brand small,.nav-label,.sidebar-foot{display:none}.sidebar nav{display:flex;gap:5px}.nav-item{font-size:12px;justify-content:center;padding:10px 7px;margin:0;gap:6px}.nav-icon{font-size:17px;width:16px}.nav-item.active{box-shadow:inset 0 -2px #7194ff}.workspace{width:100%;margin:0}.topbar{height:56px;padding:0 18px}.content{padding:24px 16px}.page-heading{align-items:flex-start;gap:12px;margin-bottom:22px}h1{font-size:25px}.page-heading p:last-child{font-size:12px}.page-heading>.button{font-size:12px;padding:8px 10px;min-height:35px;margin-top:24px}.eyebrow{font-size:9px}.stats{gap:8px;margin-bottom:16px}.stats article{padding:16px 12px}.stats article>span{font-size:11px}.stats strong{font-size:25px;margin:10px 0}.stats small{font-size:9px}.endpoint-strip{flex-wrap:wrap;gap:10px;padding:12px}.endpoint-strip code{font-size:10px;order:3;width:100%}.endpoint-strip .text-button{padding:0}.panel-toolbar{padding:16px}.filters{flex-wrap:wrap}.filters input{width:100%;flex-basis:100%}.filters select{flex:1}.panel-footer{font-size:10px;padding:13px 16px}.workspace-foot{font-size:9px;padding:20px 16px;gap:15px;line-height:1.7}.radio-grid{grid-template-columns:1fr}.settings-panel{padding:20px}.form-actions{flex-wrap:wrap}.form-actions>span{width:100%;text-align:right}.guide-panel{padding:22px}.step{gap:12px}.step>span{width:27px;height:27px;line-height:27px;font-size:10px}.step h2{font-size:14px}.login-card{padding:32px}dialog{padding:24px}.table-scroll{max-width:calc(100vw - 34px)}}

.code-editor{font:12px/1.8 "SFMono-Regular",Consolas,monospace;display:block;resize:vertical;width:100%;min-height:200px;padding:13px;border:1px solid #dce1eb;border-radius:6px;color:#34415a;background:#fbfcff}.code-editor:focus{outline:2px solid #315be815;border-color:#809af2}.code-editor::placeholder{color:#a6afbd}.checkbox-line{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:400;line-height:1.7;margin:18px 0 0}.checkbox-line input{width:15px;height:15px;min-height:0;flex-shrink:0;margin:0}input:disabled{background:#f4f6f9;color:#9ca6b7}.header-help{font-size:12px;line-height:1.8;color:#8390a5;margin-top:14px}.header-help summary{cursor:pointer;color:#5b72a8}.header-help p{overflow-wrap:anywhere;margin:10px 0 0}.reset-headers{margin-top:18px;font-size:12px}#header-cookie-status{margin-left:7px;font-weight:400}#headers-form>.settings-panel{align-self:start}
@media(max-width:760px){.sidebar nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.sidebar nav .nav-item{width:100%}}
