:root{color:#0f172a;background:#f1f5f9;font-family:Inter,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}.admin-shell{grid-template-columns:220px 1fr;min-height:100vh;display:grid}.sidebar{color:#e2e8f0;background:#0f172a;padding:1.25rem}.brand{margin-bottom:1.5rem;font-weight:700}.sidebar nav{flex-direction:column;gap:.75rem;display:flex}.content{padding:1.5rem 2rem}.muted{color:#64748b}.stat-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;margin-top:1rem;display:grid}.stat-grid article{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;padding:1rem}.stat{margin:0;font-size:1.75rem;font-weight:700}table{border-collapse:collapse;background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;width:100%;overflow:hidden}th,td{text-align:left;border-bottom:1px solid #e2e8f0;padding:.75rem 1rem}.toolbar{gap:.5rem;margin:1rem 0;display:flex}.toolbar input{border:1px solid #cbd5e1;border-radius:.5rem;flex:1;padding:.5rem .75rem}.tool-list{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;padding:1rem 1.25rem 1rem 2rem;line-height:1.7}.sidebar-footer{flex-direction:column;gap:.75rem;margin-top:auto;padding-top:2rem;display:flex}.sidebar{flex-direction:column;display:flex}.muted-light{color:#94a3b8;font-size:.8rem;line-height:1.4}.role-pill{color:#e2e8f0;text-transform:uppercase;letter-spacing:.04em;background:#1e293b;border-radius:999px;margin-top:.25rem;padding:.1rem .4rem;font-size:.7rem;display:inline-block}.gate{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;max-width:420px;margin:4rem auto;padding:1.5rem}.gate .toolbar{margin-top:1rem}button,.toolbar button{cursor:pointer;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:.5rem;padding:.45rem .75rem}button.primary{color:#fff;background:#0f172a;border-color:#0f172a}button.danger{color:#b91c1c;background:#fff1f2;border-color:#fecaca}button.ghost{color:#cbd5e1;background:0 0;border-color:#334155}button:disabled{opacity:.55;cursor:not-allowed}select{font:inherit;border:1px solid #cbd5e1;border-radius:.35rem;padding:.25rem .4rem}.row-actions{flex-wrap:wrap;align-items:center;gap:.35rem;display:flex}.mini{width:4.5rem;font:inherit;border:1px solid #cbd5e1;border-radius:.35rem;padding:.35rem .4rem}.mini.reason{width:8rem}.error{color:#b91c1c;background:#fff1f2;border:1px solid #fecaca;border-radius:.5rem;padding:.5rem .75rem}code{background:#f1f5f9;border-radius:.25rem;padding:.1rem .3rem;font-size:.85em}
