:root{color-scheme:light;--bg:var(--fa-paper,#f4f7f5);--surface:#fff;--text:var(--fa-text,#0f1a1e);--muted:var(--fa-muted,#5f6f74);--purple:var(--fa-accent,#0b7d63);--line:var(--fa-line,#e0e8e4);--font:var(--fa-font,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.6 var(--font);-webkit-font-smoothing:antialiased}[hidden]{display:none!important}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #5ee2b2;outline-offset:3px}input,select{min-width:0;width:100%;height:44px;border:1px solid #d5e0db;border-radius:10px;padding:0 13px;background:#fff;color:var(--text);transition:border-color .15s}input:focus,select:focus{border-color:var(--purple)}input::placeholder{color:#9aa8ab}label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600}label .hint{font-size:11px;font-weight:400;color:var(--muted)}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-.7px;line-height:1.3}h2{font-size:18px;line-height:1.5}h3{font-size:16px}.muted{color:var(--muted);font-weight:400}.eyebrow{display:block;font-size:12px;font-weight:700;letter-spacing:2px;margin-bottom:12px}.purple{color:var(--purple)}.button{border:1px solid #d5e0db;background:#fff;color:var(--text);border-radius:10px;height:42px;padding:0 17px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-weight:600;font-size:13px;white-space:nowrap;transition:background .15s,box-shadow .15s}.button:hover{background:#f4f7f5}.button.primary{color:#fff;background:var(--purple);border-color:var(--purple);box-shadow:0 4px 10px #0b7d631a}.button.primary:hover{background:#075f4b}.button.ghost{background:transparent;border-color:transparent;color:#5f6f74}.button.small{font-size:12px;height:34px;padding:0 12px}.button.danger{color:#e3536b;border-color:#f4c9d1}.button.danger:hover{background:#fff2f4}.button.full{width:100%;justify-content:space-between;height:48px}.brand{display:inline-flex;align-items:center;gap:10px;font-size:19px;font-weight:750;letter-spacing:-.5px}.brand-icon{width:30px;height:30px;background:#8bf2cb;color:#0b1115;border-radius:9px;text-align:center;font-size:16px;font-weight:800;line-height:30px}.brand-divider{height:18px;border-left:1px solid #d5e0db;margin:0 6px}.brand small{font-size:13px;font-weight:500;color:#5f6f74;letter-spacing:0}.brand.inverse{color:#fff}.brand.inverse .brand-icon{background:#8bf2cb}.startup{min-height:100vh;display:grid;place-items:center;color:var(--muted)}.login-layout{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr}.login-story{padding:48px 10%;display:flex;flex-direction:column;justify-content:space-between;background:radial-gradient(900px 420px at 85% -10%,rgba(139,242,203,.18),transparent 65%),radial-gradient(700px 360px at -10% 120%,rgba(94,226,178,.1),transparent 60%),#0b1115;position:relative;overflow:hidden;color:#fff}.login-story:after{content:"";position:absolute;width:400px;height:400px;border:1px solid #ffffff13;border-radius:50%;bottom:-150px;right:-200px;box-shadow:0 0 0 65px #ffffff07,0 0 0 130px #ffffff05;pointer-events:none}.login-story h1{font-size:clamp(34px,3.7vw,56px);letter-spacing:-.02em;line-height:1.4;margin:20px 0}.login-story p{font-size:16px;color:#a9b8b8;line-height:2}.login-story .eyebrow{color:#8bf2cb}.login-story small{font-size:12px;letter-spacing:1px;color:#8fa0a3;z-index:1}.story-tags{display:flex;flex-wrap:wrap;gap:10px;margin:32px 0}.story-tags span{font-size:13px;padding:7px 12px;border:1px solid #ffffff24;border-radius:7px;background:#ffffff08}.login-side{display:grid;place-items:center;background:#fff;padding:48px 30px}.login-card{width:min(380px,100%)}.login-card h2{font-size:28px;margin-bottom:10px}.login-card form{margin-top:32px}.login-card label{margin-bottom:20px}.login-hint{font-size:12px;color:#7c8a8e;line-height:1.9;margin-top:24px}.login-links{display:flex;justify-content:space-between;font-size:12px;color:#6c7b80;border-top:1px solid var(--line);margin-top:32px;padding-top:20px}.error{color:#d84661;font-size:13px;min-height:20px;margin:12px 0}.error:empty{min-height:0;margin:0}.topbar{background:#ffffffed;border-bottom:1px solid var(--line)}.topbar-inner{width:min(1440px,calc(100% - 72px));margin:auto;display:flex;align-items:center;justify-content:space-between;min-height:76px;gap:20px}.user-menu{display:flex;align-items:center;gap:12px;font-size:13px}.role-badge{color:#075f4b;background:#e5f6ee;border-radius:6px;padding:3px 8px;font-size:11px}.container{width:min(1440px,calc(100% - 72px));margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:38px 0 26px}.page-heading .eyebrow{margin-bottom:8px}.page-heading p{margin-top:8px;font-size:13px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:0 0 28px}.stat{padding:22px 24px;background:#fff;border:1px solid var(--line);border-radius:14px;display:flex;align-items:center;justify-content:space-between}.stat p{font-size:12px;color:var(--muted)}.stat strong{display:block;font-size:29px;line-height:1.4;letter-spacing:-1px;margin-top:5px;font-variant-numeric:tabular-nums}.stat-icon{display:grid;place-items:center;border-radius:12px;width:42px;height:42px;background:#e5f6ee;color:#0b7d63;font-size:20px}.stat:nth-child(2) .stat-icon{color:#29a28c;background:#e9f7f3}.stat:nth-child(3) .stat-icon{color:#d39844;background:#fff5e6}.stat:nth-child(4) .stat-icon{color:#6198dd;background:#eef5ff}.tabs{display:flex;gap:8px;margin:0 0 24px;overflow-x:auto}.tabs button{border:1px solid transparent;background:transparent;color:#5f6f74;padding:10px 21px;border-radius:9px;font-size:14px;font-weight:600;white-space:nowrap}.tabs button.active{background:var(--purple);color:#fff;box-shadow:0 3px 8px #0b7d631c}.tabs button:hover:not(.active){background:#eaf0ed}.panel{border:1px solid #e0e8e4;border-radius:17px;background:#fff;box-shadow:0 7px 25px #0b111503;padding:26px;margin-bottom:22px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.panel-heading p{font-size:12px;margin-top:4px}.subtle-tag{font-size:11px;background:#f4f7f5;border:1px solid #e0e8e4;border-radius:6px;color:#6c7b80;padding:4px 10px}.generate-grid{display:grid;grid-template-columns:1.5fr 1fr .8fr .8fr 1.25fr auto;gap:14px;align-items:end}.generate-grid label{position:relative}.generate-grid .hint{position:absolute;right:0;top:1px}.generate-grid .button{height:44px}.form-note{grid-column:1/-1;color:#7c8a8e;font-size:11px}.count{font-size:12px;background:#e5f6ee;color:#075f4b;padding:3px 8px;border-radius:6px;font-weight:500;margin-left:6px}.filters{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}.filters label{width:145px}.filters .search-field{flex:1;min-width:180px;max-width:360px}.filters input,.filters select{height:40px;font-size:12px}.filters .button{height:40px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:12px;font-weight:600;color:#5f6f74;background:#f4f7f5;padding:13px 14px;border-bottom:1px solid var(--line)}th:first-child{border-radius:8px 0 0 8px}th:last-child{border-radius:0 8px 8px 0}td{padding:18px 14px;border-bottom:1px solid #edf1ef;font-size:12px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f8fbf9}.code-cell{display:flex;align-items:center;gap:8px}.code-cell code{font:600 12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:-.4px}.cell-sub{display:block;font-size:11px;color:#8a979a;margin-top:4px;max-width:260px;overflow:hidden;text-overflow:ellipsis}.date-cell{font-size:12px;line-height:1.7}.chip{display:inline-flex;align-items:center;border-radius:6px;padding:3px 8px;font-size:11px;line-height:1.6;background:#eef2f0;color:#5f6f74}.chip.valid{background:#e7f7ed;color:#2e9a65}.chip.disabled{background:#fff0ed;color:#d57861}.chip.expired{background:#f0f3f2;color:#6c7b80}.chip.sold{background:#e5f6ee;color:#075f4b}.row-actions{display:flex;align-items:center;gap:6px}.row-actions .button{padding:0 9px;font-size:11px;height:29px;border-radius:7px}.icon-button{border:0;background:transparent;color:#7c8a8e;padding:3px;min-width:26px;font:20px/1.2 var(--font);border-radius:4px}.icon-button:hover{color:var(--purple);background:#e5f6ee}.copy-code{font-size:16px;line-height:1.4}.pagination{border-top:1px solid var(--line);margin-top:12px;padding-top:18px;display:flex;justify-content:space-between;align-items:center;gap:15px;color:#6c7b80;font-size:12px}.pagination .page-controls{display:flex;gap:8px;align-items:center}.pagination select{height:32px;width:96px;font-size:11px}.pagination .button{height:32px;font-size:12px;padding:0 11px}.empty-cell{text-align:center;padding:54px 20px;white-space:normal;color:var(--muted)}.empty-cell strong{display:block;font-size:15px;color:#2c3b40;margin:8px 0}.empty-symbol{font-size:30px;color:#9fd9c3}.api-panel{padding:32px}.api-panel>p{margin:10px 0 24px;font-size:13px}.api-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.api-cards article{padding:22px;background:#f8fbf9;border:1px solid var(--line);border-radius:12px;min-width:0}.api-cards code{font-size:12px;word-break:break-all}.endpoint-tag{font-size:10px;color:#075f4b;background:#e5f6ee;padding:3px 6px;border-radius:4px;margin-right:8px}.api-cards h3{margin:20px 0 8px}.api-cards p{color:var(--muted);font-size:12px;min-height:42px}.api-cards pre{font-size:11px;white-space:pre-wrap;word-break:break-word;color:#3b4b50;line-height:1.9}.settings-panel{max-width:560px}.settings-panel>p{font-size:12px;margin:8px 0 24px}.settings-panel label{margin-bottom:18px}.workspace-footer{display:flex;justify-content:space-between;color:#8a979a;font-size:11px;padding:8px 0 28px}dialog{border:1px solid #e0e8e4;border-radius:17px;width:min(480px,calc(100% - 32px));padding:26px;color:var(--text);box-shadow:0 30px 100px #0b111533}dialog::backdrop{background:#0b111599;backdrop-filter:blur(3px)}.modal-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-heading .icon-button{font-size:26px}#modal-content label{margin-bottom:17px}#modal-content p{color:#5f6f74;font-size:12px;margin-bottom:18px;white-space:normal;overflow-wrap:anywhere}.modal-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.toast{position:fixed;bottom:32px;left:50%;transform:translateX(-50%);background:#0b1115;color:#fff;border-radius:10px;padding:12px 22px;font-size:13px;box-shadow:0 5px 25px #0b111533;z-index:5;max-width:calc(100vw - 32px);text-align:center}.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}.api-doc{max-width:900px;margin:0 auto;padding:40px 24px}.api-doc .brand{margin-bottom:32px}.api-doc h1{margin-bottom:12px}.api-doc h2{margin:24px 0 12px}.api-doc h3{margin:20px 0 8px}.api-doc p{margin:10px 0;color:#3b4b50}.api-doc pre{padding:18px;background:#f4f7f5;border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace}.api-doc li{margin:7px 0;color:#3b4b50}.api-doc table{white-space:normal}.api-doc .panel{margin-top:24px}
@media(min-width:1600px){td{padding-top:21px;padding-bottom:21px}.code-cell code{font-size:13px}}
@media(max-width:1150px){.generate-grid{grid-template-columns:repeat(3,1fr)}.api-cards{grid-template-columns:1fr}.api-cards p{min-height:auto}.stats{gap:12px}.stat{padding:18px}.stat-icon{width:35px;height:35px}.container,.topbar-inner{width:calc(100% - 40px)}}
@media(max-width:760px){.login-layout{grid-template-columns:1fr}.login-story{padding:24px;min-height:240px;gap:28px}.login-story h1{font-size:30px;margin:0}.login-story .eyebrow{display:none}.login-story p{font-size:12px;line-height:1.8;margin-top:12px}.login-story small,.story-tags{display:none}.login-side{padding:32px 24px}.login-card{width:100%;max-width:420px}.login-card h2{font-size:23px}.topbar-inner{min-height:66px;gap:8px}.brand{font-size:16px;gap:7px}.brand small,.brand-divider{display:none}.user-menu{gap:8px;font-size:12px}#current-user{max-width:85px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.role-badge{display:none}.container,.topbar-inner{width:calc(100% - 32px)}.page-heading{padding:26px 0 20px;align-items:flex-start;flex-direction:column;gap:16px}h1{font-size:25px}.stats{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:20px}.stat{padding:16px}.stat strong{font-size:25px}.stat p{font-size:11px}.stat-icon{width:32px;height:32px;font-size:16px}.tabs{gap:3px;margin-bottom:18px}.tabs button{font-size:12px;padding:9px 14px}.panel{padding:18px 16px;border-radius:12px;margin-bottom:16px}.panel-heading{margin-bottom:18px;align-items:flex-start}.panel-heading h2{font-size:16px}.panel-heading p{font-size:11px}.subtle-tag{display:none}.generate-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}.generate-grid label:first-child{grid-column:1/-1}.generate-grid .button{grid-column:1/-1}.generate-grid .hint{font-size:10px}.filters{gap:8px}.filters .search-field{max-width:none;min-width:100%;flex-basis:100%}.filters label{width:calc(50% - 4px)}.filters .button{flex:1}.filters #filter-agent-label{width:100%}.table-panel{padding-bottom:18px}.table-scroll{margin:0 -16px;padding:0 16px}.pagination{flex-direction:column;align-items:flex-start;gap:12px}.pagination .page-controls{width:100%;justify-content:flex-end}.pagination select{margin-right:auto}td{padding:16px 12px}.code-cell code{font-size:11px}.api-panel{padding:22px 18px}.api-cards article{padding:18px}.workspace-footer{font-size:10px}.api-doc{padding:24px 16px}}

.register-link{display:block;margin-top:20px;text-align:center;color:var(--purple);font-size:13px;font-weight:600}.approval-actions{display:flex;gap:10px;align-items:center}.approval-actions select{height:42px;width:140px}.chip.pending{background:#fff5df;color:#b98325}.register-result{padding:24px;border-radius:12px;background:#e5f6ee;line-height:1.9}.register-result h3{margin-bottom:10px}.register-result p{color:#3b4b50;font-size:13px}.register-result .button{margin-top:20px}@media(max-width:760px){.approval-actions{flex-wrap:wrap;justify-content:flex-end}.approval-actions select{width:112px}.approval-actions .button{padding:0 10px;font-size:11px}}
