:root{color:#172b4d;font-synthesis:none;--blue:#245bc5;--navy:#153268;--border:#dce4ef;--muted:#5c6b82;background:#f4f7fc;font-family:Source Han Sans CN,Microsoft YaHei,sans-serif;font-size:15px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.42}input,select{color:#172b4d;background:#fff;border:1px solid #cbd6e5;border-radius:8px;outline:none;width:100%;max-width:100%;height:44px;padding:0 13px}input:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #245bc51a}button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #80a9fa}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.6px;margin-bottom:0;font-size:32px;line-height:1.5}h2{margin:0;font-size:23px}h3{margin:7px 0 0;font-size:22px}p{line-height:1.8}label{font-weight:500;display:block}label>input,label>select{margin-top:9px}button{white-space:nowrap}::-webkit-scrollbar{display:none}*{scrollbar-width:none}.muted{color:var(--muted)}.eyebrow{letter-spacing:1px;color:var(--muted);font-size:12px}.error,.danger,.required{color:#b42318}.error{font-size:14px;line-height:1.7}.button{border:1px solid var(--blue);color:#fff;background:var(--blue);border-radius:8px;justify-content:center;align-items:center;gap:8px;min-width:94px;height:44px;padding:0 22px;font-weight:500;transition:background .15s;display:inline-flex}.button:hover:not(:disabled){background:#1e4ca6}.button.secondary{color:#34527d;background:#fff;border-color:#c3cfe1}.button.secondary:hover:not(:disabled){background:#f2f6fc}.text-button{color:var(--blue);background:0 0;border:0;justify-content:center;align-items:center;min-height:32px;padding:6px 4px;font-size:14px;display:inline-flex}.text-button.danger{color:#b42318}.icon-button{color:#5c6b82;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;padding:0;font-size:25px;display:inline-flex}.icon-button:hover{background:#eef3fa}.sidebar{color:#fff;z-index:20;background:linear-gradient(160deg,#17376d,#122d5a);width:240px;padding:26px 14px;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:12px;margin:0 9px 45px;display:flex}.brand img{object-fit:cover;border-radius:14px;width:58px;height:58px}.brand strong{letter-spacing:1px;font-size:24px;display:block}.brand span{color:#b4c9e9;margin-top:4px;display:block}.sidebar nav{flex-direction:column;gap:10px;display:flex}.sidebar nav button{color:#c7d8f2;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:15px;height:56px;padding:0 20px;font-size:18px;display:flex}.sidebar nav button.active{color:#fff;background:#245bc5;box-shadow:0 6px 16px #03173833}.nav-icon{text-align:center;width:26px;font-size:25px}.sidebar-foot{color:#afc6e8;font-size:13px;position:absolute;bottom:26px;left:28px}.sidebar-foot span{margin-left:12px}.topbar{border-bottom:1px solid var(--border);z-index:15;background:#fff;justify-content:space-between;align-items:center;gap:18px;height:76px;padding:0 32px;display:flex;position:fixed;inset:0 0 auto 240px;overflow:hidden}.breadcrumb{white-space:nowrap;font-size:17px}.breadcrumb span{color:#a0afc6;margin:0 18px}.account{white-space:nowrap;align-items:center;gap:12px;display:flex}.avatar{width:32px;height:32px;color:var(--blue);background:#edf3fc;border-radius:50%;place-items:center;font-weight:600;display:grid}.divider{background:var(--border);width:1px;height:23px;margin:0 12px}.workspace-scroll{scrollbar-width:thin;scrollbar-color:#9bb6e6 #edf2fa;background:#f4f7fc;position:fixed;inset:76px 0 0 240px;overflow:auto}.workspace-scroll::-webkit-scrollbar{width:0;height:10px;display:block}.workspace-scroll::-webkit-scrollbar-thumb{background:#9bb6e6;border-radius:8px}.workspace-scroll::-webkit-scrollbar-track{background:#edf2fa}.workspace{min-width:1680px;min-height:100%;padding:32px}.page-heading{justify-content:space-between;align-items:center;gap:24px;margin:0 0 26px;display:flex}.page-heading p{margin:0}.create-button{min-width:174px;height:48px}.create-button span{font-size:25px;font-weight:300}.filter-bar{border:1px solid var(--border);background:#fff;border-radius:12px;flex-wrap:wrap;align-items:center;gap:20px;margin-bottom:24px;padding:24px;display:flex}.filter-bar label{white-space:nowrap;align-items:center;gap:13px;display:flex}.filter-bar input,.filter-bar select{width:190px;margin:0}.filter-bar .search-filter input{width:260px}.filter-bar input[type=datetime-local]{width:218px}.filter-bar .button{height:44px}.panel{border:1px solid var(--border);background:#fff;border-radius:12px;padding:16px 20px 0;overflow:hidden}table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:14px}th{text-align:left;overflow-wrap:anywhere;background:#f1f5fb;padding:16px 10px;font-size:14px;font-weight:600;line-height:1.5}th:first-child{border-radius:8px 0 0 8px}th:last-child{border-radius:0 8px 8px 0}td{overflow-wrap:anywhere;border-bottom:1px solid #e7edf6;padding:20px 10px;line-height:1.7}tbody tr:hover{background:#fafdff}.code-value{text-align:left;color:#16315c;white-space:normal;overflow-wrap:anywhere;background:0 0;border:0;padding:0;font-family:inherit;font-size:14px;font-weight:600}.code-cell{font-size:13px}.number-emphasis{font-weight:600}.row-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.date-cell{color:#445775;font-size:13px}.status{white-space:nowrap;color:#64748b;background:#edf1f8;border-radius:20px;justify-content:center;align-items:center;padding:3px 10px;font-size:13px;line-height:1.7;display:inline-flex}.status:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px;margin-right:6px}.status.redeemable,.status.active{color:#176b52;background:#e5f5eb}.status.exhausted,.status.expired{color:#a56610;background:#fff3d9}.status.void,.status.revoked{color:#b42318;background:#ffebeb}.table-empty{text-align:center;color:#8492a7;height:150px}.list-footer{color:var(--muted);justify-content:space-between;align-items:center;gap:20px;min-height:80px;padding:20px 5px 22px;font-size:14px;display:flex}.pagination{align-items:center;gap:10px;display:flex}.page-button{border:1px solid var(--border);color:#526b8e;background:#fff;border-radius:7px;width:36px;height:36px;font-size:24px}.page-number{background:var(--blue);color:#fff;border-radius:7px;place-items:center;min-width:36px;height:36px;padding:0 10px;display:grid}.created-result{background:#eef5ff;border:1px solid #c3d5f3;border-radius:12px;align-items:center;gap:16px;margin-bottom:22px;padding:18px 22px;display:flex}.created-result>div{flex:1}.created-result strong{-webkit-user-select:all;user-select:all;margin:0 16px;font-size:17px}.created-result span{color:var(--muted)}.modal-backdrop{z-index:50;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0d23496b;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal{background:#fff;border:1px solid #dce4ef;border-radius:14px;outline:none;flex-direction:column;width:620px;max-width:100%;max-height:calc(100dvh - 48px);display:flex;overflow:hidden;box-shadow:0 20px 90px #071a4240}.modal.wide{width:1440px}.modal-header{border-bottom:1px solid var(--border);flex-shrink:0;justify-content:space-between;align-items:center;gap:15px;padding:22px 26px;display:flex}.modal-header h2{overflow-wrap:anywhere;font-size:19px}.modal-form{flex-direction:column;min-height:0;display:flex}.modal-body{min-height:0;padding:28px;overflow:auto}.modal-body label{margin-bottom:22px}.modal-body .filter-bar label{margin-bottom:0}.modal-footer{border-top:1px solid var(--border);background:#fafcff;flex-shrink:0;justify-content:flex-end;gap:12px;padding:18px 26px;display:flex}.modal-open .workspace-scroll{overflow:hidden}.quota-summary{color:var(--muted);background:#f3f6fb;border-radius:9px;justify-content:space-between;margin-bottom:25px;padding:18px;display:flex}.quota-summary strong{color:#172b4d;margin-top:6px;font-size:24px;display:block}.callout{background:#f4f7fc;border-radius:8px;padding:18px}.callout.danger{background:#fff2f0}.detail-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px;display:flex}.detail-heading h3{overflow-wrap:anywhere}.detail-grid{color:var(--muted);background:#f4f7fc;border-radius:10px;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-bottom:25px;padding:24px;font-size:13px;display:grid}.detail-grid strong{color:#172b4d;margin-top:8px;font-size:16px;font-weight:500;display:block}.tabs{border-bottom:1px solid var(--border);gap:24px;margin-bottom:22px;display:flex}.tabs button{color:#5c6b82;background:0 0;border:0;border-bottom:3px solid #0000;padding:14px 4px;font-size:16px}.tabs button.selected{border-color:var(--blue);color:var(--blue);font-weight:600}.modal .filter-bar{gap:12px;padding:16px}.modal .filter-bar label{gap:9px;font-size:13px}.modal .filter-bar input,.modal .filter-bar select{width:150px}.modal .filter-bar input[type=datetime-local]{width:185px}.modal table{font-size:12px}.modal td,.modal th{padding:14px 8px}.modal .status{font-size:12px}.toast-message{z-index:100;color:#fff;background:#14346a;border-radius:10px;max-width:90vw;padding:15px 25px;line-height:1.6;position:fixed;top:26px;left:50%;transform:translate(-50%);box-shadow:0 8px 35px #0b285a30}.toast-enter-active,.toast-leave-active{transition:opacity .2s,margin .2s}.toast-enter-from,.toast-leave-to{opacity:0;margin-top:-8px}.startup{min-height:100dvh;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;display:flex}.login-page{background:#fff;grid-template-columns:1fr 1fr;min-height:100dvh;display:grid}.login-story{color:#fff;background:linear-gradient(140deg,#153268,#1b4d98);flex-direction:column;justify-content:center;padding:clamp(45px,7vw,120px);display:flex;position:relative;overflow:hidden}.login-story img{z-index:1;border-radius:18px;width:74px;height:74px;margin-bottom:55px}.login-story .eyebrow{color:#bdd2f4;z-index:1}.login-story h1{z-index:1;letter-spacing:-1px;margin:24px 0;font-size:clamp(38px,4vw,66px);line-height:1.45}.login-story p{color:#c3d7f7;z-index:1;font-size:17px}.story-grid{border:1px solid #6896d155;border-radius:50%;width:700px;height:700px;position:absolute;bottom:-300px;right:-320px;box-shadow:0 0 0 90px #6c96d110,0 0 0 180px #6c96d108}.login-card{width:460px;max-width:calc(100% - 60px);margin:auto;padding:45px 0}.login-card h2{margin:12px 0;font-size:32px}.login-card>p{margin-bottom:42px}.login-card label{margin-bottom:25px}.login-card input{height:50px}.login-button{width:100%;height:50px;margin-top:15px}.login-page .eyebrow{font-size:13px}@media (width<=800px){.login-page{grid-template-columns:1fr}.login-story{display:none}.topbar{padding:0 16px}.breadcrumb{font-size:14px}.account{gap:5px;font-size:13px}.account .divider{margin:0 4px}.account .avatar{display:none}.modal-backdrop{padding:12px}.modal{max-height:calc(100dvh - 24px)}.modal-body{padding:20px}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
