:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#e9edf3;background:#0c111b;color-scheme:dark;--line:#283345;--muted:#95a2b6;--accent:#8ab7ff}*{box-sizing:border-box}body{margin:0}header,main{max-width:1180px;margin:auto;padding:30px 24px}header{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.eyebrow{color:var(--accent);font-size:11px;letter-spacing:.16em}h1{font-size:28px;margin:10px 0}h2{font-size:18px;margin:0 0 18px}p{font-size:14px;line-height:1.7;color:var(--muted)}.card{background:#131c2a;border:1px solid var(--line);border-radius:14px;padding:24px;margin-bottom:20px}.narrow{max-width:460px;margin:36px auto}.stats{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px}.stats .card span{display:block;color:var(--muted);font-size:13px}.stats strong{display:block;font-size:27px;margin-top:10px}label{display:flex;flex-direction:column;gap:8px;margin-bottom:16px;font-size:13px}input{background:#0b1421;border:1px solid #34445c;border-radius:8px;color:#fff;padding:11px 12px;min-width:0;font:inherit}input:focus{outline:2px solid var(--accent);outline-offset:1px}button{border:1px solid #3b4d68;border-radius:8px;padding:10px 14px;background:#23324a;color:#eaf1ff;font:inherit;cursor:pointer;white-space:nowrap}button:hover{background:#304361}button:disabled{opacity:.5;cursor:wait}.primary{background:#91baff;color:#0b1830;border-color:#91baff;font-weight:650}.primary:hover{background:#b2ceff}.create-grid{display:grid;grid-template-columns:1fr 1.2fr 140px auto;gap:14px;align-items:end}.create-grid button{margin-bottom:16px}.muted{font-size:12px;margin-bottom:0}.section-top,.tools{display:flex;justify-content:space-between;align-items:center;gap:12px}.tools{margin-bottom:18px}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.table-wrap{overflow-x:auto}th{font-weight:500;color:var(--muted);padding:10px 12px}td{padding:16px 12px;border-top:1px solid var(--line)}td small{color:var(--muted);display:block;margin-top:5px}.actions{display:flex;gap:8px}.actions button{padding:7px 10px;font-size:12px}.badge{border-radius:20px;padding:5px 9px;background:#283444;color:#c4cedb;white-space:nowrap}.badge.active{background:#173d32;color:#8de0b9}.badge.disabled{background:#4b2730;color:#f7a9b4}#notice{white-space:pre-wrap;border-radius:8px;padding:12px 16px;margin-bottom:18px;background:#20344e;color:#c0dbff}#notice:empty{display:none}#notice.error{background:#46252e;color:#ffc0c8}.audit{font-size:12px;color:var(--muted);max-height:240px;overflow:auto}.audit div{padding:10px 0;border-bottom:1px solid var(--line)}footer{font-size:12px;color:#738297;text-align:center;padding:15px 0 30px}[hidden]{display:none!important}@media(max-width:760px){header,main{padding:20px 14px}h1{font-size:23px}.stats{grid-template-columns:1fr 1fr}.stats .card:last-child{grid-column:1/-1}.create-grid{grid-template-columns:1fr}.create-grid button{margin-top:-8px}.card{padding:18px}.section-top{align-items:start;flex-direction:column}.tools{width:100%}.tools input{flex:1}.actions{flex-wrap:wrap}td,th{padding:12px 8px}}
