[hidden] { display: none !important; }
.admin-header, .admin-actions, .detail-header { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.admin-header { padding:20px 0; }
.admin-main { padding:48px 0 70px; }
.admin-main h1 { font-size:clamp(28px,4vw,44px); margin:8px 0; }
.login-shell { max-width:520px; margin:30px auto; }
.login-shell button { margin-top:20px; }
.admin-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin:24px 0; }
.admin-stats .info-card { display:flex; flex-direction:column; }
.admin-stats strong { font-size:44px; color:#216674; line-height:1.5; }
.admin-stats small { color:var(--muted); }
.admin-filters { display:grid; grid-template-columns:2fr 1fr 1fr; gap:18px; }
.admin-records { margin:28px 0; }
.table-scroll { overflow-x:auto; }
table { width:100%; border-collapse:collapse; font-size:14px; text-align:left; }
th,td { padding:16px 12px; border-bottom:1px solid #dce7e8; vertical-align:top; }
th { background:#eef7f7; }
td small { display:block; }
td select { padding:8px; border-radius:8px; background:white; border:1px solid #a9c8ce; }
dialog { width:min(680px, calc(100% - 32px)); border:0; border-radius:24px; padding:28px; max-height:85vh; overflow:auto; }
dialog::backdrop { background:#122c3c80; }
dt { font-weight:700; margin-top:15px; }
dd { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
#status { min-height:28px; color:#843d23; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
@media(max-width:850px) { .admin-stats { grid-template-columns:repeat(2,1fr); } .admin-filters { grid-template-columns:1fr; } }
@media(max-width:450px) { .admin-stats { grid-template-columns:1fr; } }
