html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}body{margin:0;background:#f5f5f5;color:#262626;font-family:Segoe UI,Microsoft YaHei,sans-serif}.page-loading{min-height:220px;display:grid;place-items:center}.login-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#f0f7ff,#f5f5f5)}.login-panel{width:min(400px,calc(100vw - 32px))}.account-name{font-family:Consolas,monospace}.secret-row{display:inline-flex;gap:8px;align-items:center;flex-wrap:wrap}.dialog-stack{display:flex;flex-direction:column;gap:16px}.account-actions{white-space:nowrap}.ant-pro-page-container-children-container{min-width:0}.ant-pro-table .ant-table-cell{vertical-align:middle}@media (max-width: 600px){.ant-pro-page-container-children-container{padding-inline:12px!important}.ant-modal{max-width:calc(100vw - 24px)}.ant-pro-table-list-toolbar-right,.ant-pro-table-list-toolbar-right .ant-space{flex-wrap:wrap}.ant-pro-table-list-toolbar-right>div{flex-wrap:wrap!important;max-width:100%}}@media (max-width: 767px){.ant-table-cell-fix-right,.ant-table-cell-fix-right-first{position:static!important}.ant-table-cell-fix-right-first:after{box-shadow:none!important}}.legacy{--bg: #f5f6f8;--panel: #fff;--text: #1f2328;--muted: #6b7280;--border: #e5e7eb;--primary: #2563eb;--danger: #dc2626;--ok: #16a34a;--warn-bg: #fff7ed;font-family:system-ui,-apple-system,Segoe UI,Microsoft YaHei,sans-serif;font-size:14px;color:var(--text)}.legacy *{box-sizing:border-box}.legacy body{margin:0;background:var(--bg)}.legacy code{font-family:ui-monospace,Consolas,monospace;background:#f1f5f9;padding:1px 4px;border-radius:4px}.legacy .center{min-height:100vh;display:grid;place-items:center}.legacy .layout header{display:flex;align-items:center;gap:24px;padding:10px 20px;background:var(--panel);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:5}.legacy .layout header nav{display:flex;gap:4px;flex:1;flex-wrap:wrap}.legacy .layout main{padding:16px 20px;max-width:1400px;margin:0 auto}.legacy .me{color:var(--muted);display:flex;gap:8px;align-items:center}.legacy .card{background:var(--panel);border:1px solid var(--border);border-radius:8px;padding:16px;margin-bottom:16px;overflow-x:auto}.legacy .card h3{margin:0 0 12px;font-size:15px}.legacy .login{width:340px}.legacy .login h2{margin:0 0 8px}.legacy .form{display:flex;flex-direction:column;gap:12px}.legacy .form label,.legacy .grid label{display:flex;flex-direction:column;gap:4px;color:var(--muted);font-size:13px}.legacy .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin-bottom:12px}.legacy .toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:8px 0}.legacy input:not(.ant-input),.legacy select,.legacy textarea:not(.ant-input){font:inherit;color:inherit;padding:6px 8px;border:1px solid var(--border);border-radius:6px;background:#fff}.legacy textarea:not(.ant-input){width:100%;font-family:ui-monospace,Consolas,monospace}.legacy button:not(.ant-btn){font:inherit;padding:6px 14px;border-radius:6px;border:1px solid var(--primary);background:var(--primary);color:#fff;cursor:pointer}.legacy button:disabled{opacity:.45;cursor:not-allowed}.legacy button.small{padding:2px 8px;font-size:12px;background:#fff;color:var(--primary)}.legacy button.danger{border-color:var(--danger);background:#fff;color:var(--danger)}.legacy button.link{border:none;background:none;color:var(--primary);padding:0 4px}.legacy button.tab{background:none;border:1px solid transparent;color:var(--text)}.legacy button.tab.active{border-color:var(--primary);color:var(--primary)}.legacy table{width:100%;border-collapse:collapse}.legacy th,.legacy td{text-align:left;padding:6px 8px;border-bottom:1px solid var(--border);white-space:nowrap}.legacy th{color:var(--muted);font-weight:500;font-size:12px}.legacy td.detail{white-space:normal;max-width:420px;font-family:ui-monospace,Consolas,monospace;font-size:12px;color:var(--muted)}.legacy .row-warn{background:var(--warn-bg)}.legacy .row-dim{opacity:.5}.legacy .badge{display:inline-block;padding:1px 8px;border-radius:10px;font-size:12px;background:#eef2f7}.legacy .s-in_stock,.legacy .s-active{background:#dbeafe;color:#1e40af}.legacy .s-assigned,.legacy .s-pending,.legacy .s-need_check{background:#fef3c7;color:#92400e}.legacy .s-in_progress{background:#e0e7ff;color:#3730a3}.legacy .s-redeemed,.legacy .s-done{background:#dcfce7;color:#166534}.legacy .s-invalid,.legacy .s-anomaly,.legacy .s-locked{background:#fee2e2;color:#991b1b}.legacy .s-cancelled,.legacy .s-retired{background:#f3f4f6;color:#6b7280}.legacy .muted{color:var(--muted)}.legacy .error{color:var(--danger);background:#fef2f2;padding:8px 10px;border-radius:6px}.legacy .error-inline{color:var(--danger);font-size:12px}.legacy .success{color:var(--ok)}.legacy .result{background:#f8fafc;border:1px solid var(--border);padding:10px;border-radius:6px}.legacy .result ul{margin:6px 0 0;padding-left:20px;max-height:200px;overflow:auto;color:var(--muted)}.legacy .pager{display:flex;gap:8px;align-items:center;margin-top:10px;color:var(--muted)}.legacy .totp{display:inline-flex;gap:4px;align-items:center}.legacy .totp code{font-size:15px;letter-spacing:1px}.legacy .modal-mask{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;display:grid;place-items:center;z-index:10;padding:16px}.legacy .modal{background:var(--panel);border-radius:10px;padding:16px 20px;width:min(860px,100%);max-height:90vh;overflow:auto}.legacy .modal-head{display:flex;justify-content:space-between;margin-bottom:12px}.legacy .kv{display:grid;grid-template-columns:100px 1fr;gap:6px 12px;align-items:center}.legacy .kv>*{justify-self:start}.legacy .kv>span:nth-child(odd){color:var(--muted)}.legacy .step{border:1px dashed var(--border);border-radius:8px;padding:10px 12px;display:flex;flex-direction:column;gap:8px}.legacy .helper{display:flex;gap:8px;align-items:center;color:var(--muted)}.legacy .account-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.legacy .account-actions button{white-space:nowrap}.legacy .login-error-tip{position:relative;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-left:6px;border:1px solid currentColor;border-radius:50%;cursor:help;color:#b42318;font-size:12px}.legacy .login-error-tip [role=tooltip]{display:none;position:absolute;z-index:20;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);width:260px;padding:10px 12px;border-radius:6px;background:#202939;color:#fff;white-space:normal;line-height:1.5;box-shadow:0 4px 12px #0003}.legacy .login-error-tip:hover [role=tooltip],.legacy .login-error-tip:focus [role=tooltip]{display:block}
