:root{font-family:"Microsoft YaHei",system-ui,sans-serif;color:#172033;background:#eef2f6;letter-spacing:0}*{box-sizing:border-box}body{margin:0;min-height:100vh}.hidden{display:none!important}.login-gate{width:min(440px,calc(100% - 32px));margin:14vh auto;padding:42px;border:1px solid #d6dee8;background:#fff;text-align:center;box-shadow:0 16px 40px rgba(15,23,42,.12)}.login-gate img{width:68px;height:68px;border-radius:16px}.login-gate h1{margin:18px 0 8px;font-size:25px}.login-gate p{margin:0 0 24px;color:#64748b}.topbar{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid #d6dee8;background:#fff}.brand{display:flex;align-items:center;gap:11px}.brand img{width:38px;height:38px;border-radius:9px}.brand div{display:grid}.brand strong{font-size:16px}.brand span{color:#64748b;font-size:11px}.top-actions{display:flex;align-items:center;gap:14px;color:#475569;font-size:13px}.icon-button{height:32px;padding:0 12px;border:1px solid #cbd5e1;background:#fff;color:#475569;cursor:pointer}main{width:min(1400px,calc(100% - 48px));margin:0 auto;padding:30px 0 48px}.page-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:24px}.eyebrow{margin:0 0 6px;color:#0f766e;font-size:11px;font-weight:800}.page-head h1,dialog h2{margin:0;font-size:26px}.button{display:inline-flex;align-items:center;justify-content:center;height:38px;padding:0 16px;border:1px solid transparent;border-radius:4px;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.button.primary{background:#0f766e;color:#fff}.button.ghost{border-color:#cbd5e1;background:#fff;color:#475569}.toolbar{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border:1px solid #d6dee8;border-bottom:0;background:#f8fafc}.search{display:flex;align-items:center;gap:10px;color:#64748b;font-size:12px}.search input{width:280px;height:34px;padding:0 10px;border:1px solid #cbd5e1;background:#fff;outline:none}.summary{color:#64748b;font-size:12px}.table-wrap{overflow:auto;border:1px solid #d6dee8;background:#fff}table{width:100%;border-collapse:collapse;min-width:980px}th,td{padding:13px 14px;border-bottom:1px solid #e2e8f0;text-align:left;font-size:12px}th{position:sticky;top:0;background:#f1f5f9;color:#475569;font-weight:800}tbody tr:hover{background:#f8fafc}.user-name{display:grid;gap:3px}.user-name strong{font-size:13px}.user-name span{color:#94a3b8}.status-select,.access-select,.limit-input,select,input{height:32px;border:1px solid #cbd5e1;background:#fff;color:#334155;outline:none}.status-select,.access-select{padding:0 8px}.limit-input{width:64px;padding:0 7px}.access-cell{display:flex;flex-wrap:wrap;gap:6px}.access-chip{padding:4px 7px;background:#ecfdf5;color:#047857;font-size:11px}.empty{height:180px;text-align:center;color:#94a3b8}.small-button{height:30px;padding:0 10px;border:1px solid #cbd5e1;background:#fff;color:#334155;font:inherit;font-size:11px;font-weight:700;cursor:pointer}.page-message{min-height:20px;color:#dc2626;font-size:12px}dialog{width:min(520px,calc(100% - 32px));padding:0;border:1px solid #cbd5e1;border-radius:5px;box-shadow:0 24px 70px rgba(15,23,42,.25)}dialog::backdrop{background:rgba(15,23,42,.45)}dialog form{display:grid;gap:17px;padding:22px}dialog header,dialog footer{display:flex;align-items:center;justify-content:space-between}dialog header{padding-bottom:14px;border-bottom:1px solid #e2e8f0}dialog footer{justify-content:flex-end;gap:8px;padding-top:6px}.close-button{border:0;background:transparent;color:#94a3b8;font-size:27px;cursor:pointer}dialog label{display:grid;gap:6px;color:#475569;font-size:12px;font-weight:700}dialog input,dialog select{width:100%;padding:0 9px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.generated-codes{max-height:190px;overflow:auto;padding:10px;border:1px dashed #94a3b8;background:#f8fafc;font-family:Consolas,monospace;font-size:13px;line-height:1.8;user-select:text}@media(max-width:700px){.topbar{padding:0 16px}main{width:calc(100% - 24px);padding-top:20px}.page-head{align-items:start;gap:16px}.search input{width:180px}.field-row{grid-template-columns:1fr}}
