:root{font-family:Inter,"Microsoft YaHei",system-ui,sans-serif;color:#172033;background:#f7f9fc}*{box-sizing:border-box}body{margin:0}.shell{max-width:1200px;margin:0 auto;padding:42px 28px 70px}header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:30px}h1{margin:0;font-size:30px;letter-spacing:-.8px}header p{margin:7px 0 0;color:#64748b}h2{font-size:17px;margin:0 0 18px}.auth{min-height:55vh;display:grid;place-items:center}.auth form{width:min(100%,390px);padding:30px;background:#fff;border:1px solid #e4eaf2;border-radius:16px;box-shadow:0 18px 50px #1d334015}.auth label,.create label{display:grid;gap:7px;font-size:13px;font-weight:650;color:#354153}.auth label+label{margin-top:15px}input,textarea{border:1px solid #cbd5e1;border-radius:9px;background:white;color:#172033;font:inherit;padding:10px 12px;outline:none}input:focus,textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #dbeafe}button{border:0;border-radius:9px;background:#2563eb;color:#fff;font:650 14px inherit;padding:10px 15px;cursor:pointer}button:hover{background:#1d4ed8}.auth button{width:100%;margin-top:21px}.ghost,.secondary{background:#eef2f7;color:#334155}.ghost:hover,.secondary:hover{background:#e2e8f0}.toolbar{display:flex;gap:18px;justify-content:space-between;align-items:end;margin-bottom:18px}.create{display:flex;gap:10px;align-items:end}.create input{width:120px}.toolbar>#search{width:260px}.created{display:grid;grid-template-columns:1fr 145px;gap:10px;align-items:center;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:12px;padding:16px;margin-bottom:18px}.created div{display:grid;gap:4px}.created span{font-size:13px;color:#42655a}.created textarea{grid-column:1/-1;height:88px;resize:vertical;font-family:ui-monospace,monospace;font-size:13px}.created button{justify-self:start}.table-wrap{overflow:auto;background:white;border:1px solid #e4eaf2;border-radius:12px}table{width:100%;border-collapse:collapse;min-width:810px}th,td{text-align:left;padding:13px 14px;border-bottom:1px solid #edf1f6;font-size:13px;white-space:nowrap}th{background:#f8fafc;color:#64748b;font-size:12px;font-weight:700}tr:last-child td{border:0}.status{display:inline-block;padding:4px 8px;border-radius:99px;font-size:12px;font-weight:700}.active{background:#dcfce7;color:#166534}.expired,.disabled{background:#fee2e2;color:#b91c1c}.muted{color:#94a3b8}.actions{display:flex;gap:6px}.actions button{padding:6px 9px;font-size:12px}.danger{background:#dc2626}.danger:hover{background:#b91c1c}.audit{margin-top:28px;padding:20px;background:#fff;border:1px solid #e4eaf2;border-radius:12px}.audit ul{list-style:none;padding:0;margin:0}.audit li{padding:9px 0;border-top:1px solid #edf1f6;font-size:13px;color:#475569}.audit li:first-child{border:0}.error{color:#dc2626;min-height:20px;margin:11px 0 0;font-size:13px}#notice{min-height:22px;margin:0 0 12px;color:#047857;font-size:13px}@media(max-width:720px){.shell{padding:28px 16px}.toolbar,.create{align-items:stretch;flex-direction:column}.create label,.create input,.toolbar>#search{width:100%}.created{grid-template-columns:1fr}.created button{width:100%}}
