:root{--background:#f4f7fb;--surface:#fff;--surface-muted:#eef3f8;--foreground:#172033;--muted:#5f6b7a;--border:#d7e0ea;--primary:#155eef;--primary-hover:#0b4ed0;--danger:#b42318;--focus:#84adff;--radius:.75rem;--shadow:0 12px 34px #1c273c17}.admin-page{gap:1.25rem;display:grid}.page-heading{justify-content:space-between;align-items:center;gap:1rem;display:flex}.eyebrow{color:#526070;letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.78rem;font-weight:700}.search-field{gap:.4rem;max-width:28rem;font-weight:600;display:grid}.search-field input,.admin-form input,.admin-form select{color:#15202b;background:#fff;border:1px solid #c7ced8;border-radius:.5rem;width:100%;padding:.7rem .8rem}.admin-form{background:#fff;border:1px solid #dce1e8;border-radius:.75rem;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;max-width:60rem;padding:1.25rem;display:grid}.admin-form label{align-content:start;gap:.4rem;font-weight:600;display:grid}.form-actions,.error-banner{grid-column:1/-1}.form-actions{gap:.75rem;display:flex}.field-error,.error-banner{color:#a12622}.table-scroll{background:#fff;border:1px solid #dce1e8;border-radius:.75rem;overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;white-space:nowrap;border-bottom:1px solid #e6e9ee;padding:.8rem}th{color:#344050;background:#f5f7fa;font-size:.82rem}.empty-state{text-align:center;border:1px dashed #b9c2cf;border-radius:.75rem;padding:2rem}.table-summary{color:#526070}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (max-width:700px){.admin-form{grid-template-columns:1fr}.page-heading{flex-direction:column;align-items:flex-start}}*{box-sizing:border-box;margin:0;padding:0}html,body{min-height:100%}html{background:var(--background)}body{min-height:100vh;color:var(--foreground);background:var(--background);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.detail-section,.state-actions,.record-summary{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);margin-top:1rem;padding:1rem}.detail-section h2,.state-actions h2{margin-bottom:.8rem}.detail-section dl,.record-summary{grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:.9rem;display:grid}.detail-section dt,.record-summary dt{color:var(--muted);text-transform:capitalize;font-size:.82rem}.detail-section dd,.record-summary dd{overflow-wrap:anywhere;margin-top:.2rem}.state-actions label,.inline-form label{gap:.35rem;display:grid}.state-actions textarea{width:min(100%,40rem);min-height:5rem;padding:.7rem}.inline-form{flex-wrap:wrap;align-items:end;gap:.75rem;margin-top:1rem;display:flex}.permission-grid{grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:.5rem;display:grid}.permission-grid label{align-items:center;gap:.5rem;display:flex}.link-button{color:var(--primary);cursor:pointer;background:0 0;border:0;text-decoration:underline}pre{white-space:pre-wrap;max-width:100%;overflow:auto}button,a{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.status-screen{place-items:center;min-height:100vh;padding:1.5rem;display:grid}.status-card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);width:min(100%,32rem);box-shadow:var(--shadow);text-align:center;padding:2rem}.status-card h1,.status-card h2{margin-bottom:.75rem}.status-card p{color:var(--muted);line-height:1.6}.button,.button-secondary{cursor:pointer;border:1px solid #0000;border-radius:.55rem;justify-content:center;align-items:center;min-height:2.75rem;padding:.65rem 1rem;font-weight:700;display:inline-flex}.button{color:#fff;background:var(--primary)}.button:hover:not(:disabled){background:var(--primary-hover)}.button-secondary{color:var(--foreground);border-color:var(--border);background:var(--surface)}.button:disabled,.button-secondary:disabled{cursor:not-allowed;opacity:.62}.status-card .button,.status-card .button-secondary{margin-top:1.25rem}
