.admin-page { min-height: 100vh; background: #f0fdfa; color: #164e63; }
.admin-shell { width: min(100% - 32px, 920px); margin: 0 auto; padding: 36px 0 72px; }
.admin-header { margin-bottom: 24px; text-align: center; }
.admin-brand { color: #0891b2; font-size: 17px; font-weight: 1000; letter-spacing: .04em; text-decoration: none; }
.admin-header p { margin: 5px 0 0; color: #64748b; font-size: 13px; }
.admin-card { padding: clamp(20px, 4vw, 32px); border: 1px solid #dbeafe; border-radius: 22px; background: white; box-shadow: 0 8px 24px rgb(15 23 42 / 7%); }
.auth-card { max-width: 520px; margin: 12vh auto 0; text-align: center; }
.admin-turtle { display: block; margin-bottom: 12px; font-size: 42px; }
.auth-card h1, .dashboard-heading h1 { margin-bottom: 8px; color: #0e7490; font-size: clamp(24px, 4vw, 32px); }
.auth-card p { margin-bottom: 20px; color: #64748b; line-height: 1.5; }
.admin-primary, .admin-secondary, .report-actions button { min-height: 40px; padding: 10px 15px; border: 0; border-radius: 10px; font-size: 13px; font-weight: 800; cursor: pointer; }
.admin-primary { background: #0891b2; color: white; }
.admin-primary:hover { background: #0e7490; }
.admin-secondary { border: 1px solid #cbd5e1; background: white; color: #475569; }
.admin-secondary:hover { background: #f8fafc; }
.back-link { display: block; margin-top: 20px; color: #0891b2; font-size: 12px; }
.admin-dashboard[hidden], .auth-card[hidden], [hidden] { display: none !important; }
.dashboard-heading, .card-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dashboard-heading { margin: 0 0 20px; }
.dashboard-heading h1 { margin: 3px 0 0; }
.admin-eyebrow { color: #0891b2; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.admin-feedback { min-height: 20px; margin: 0 2px 12px; color: #047857; font-size: 13px; font-weight: 700; }
.admin-feedback[data-error="true"] { color: #b91c1c; }
.admin-card h2 { margin: 3px 0 0; color: #164e63; font-size: 21px; }
.admin-card > p { margin: 13px 0 17px; color: #64748b; font-size: 13px; line-height: 1.55; }
.baseline-state { padding: 6px 10px; border-radius: 99px; background: #fef3c7; color: #92400e; font-size: 11px; font-weight: 800; }
.baseline-state[data-ready="true"] { background: #d1fae5; color: #047857; }
.baseline-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; align-items: end; }
.baseline-form label, .report-fields label { display: flex; min-width: 0; flex-direction: column; gap: 6px; color: #475569; font-size: 11px; font-weight: 800; }
.baseline-form input, .report-fields input, .report-fields select { width: 100%; min-width: 0; padding: 10px; border: 1px solid #cbd5e1; border-radius: 9px; background: white; color: #164e63; }
.baseline-form input:focus, .report-fields input:focus, .report-fields select:focus { border-color: #0891b2; outline: 3px solid #cffafe; }
.baseline-form button { grid-column: 1 / -1; justify-self: end; }
.admin-help { margin-bottom: 0 !important; font-size: 11px !important; }
.admin-totals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.admin-totals article { display: flex; min-height: 92px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid #dbeafe; border-radius: 17px; background: white; }
.admin-totals strong { color: #0891b2; font-size: 25px; }
.admin-totals span { color: #64748b; font-size: 9px; font-weight: 900; letter-spacing: .08em; text-align: center; }
.reports-card { margin-top: 18px; }
.report-list { display: grid; gap: 11px; }
.report-item { padding: 15px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fbfdff; }
.report-meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: #64748b; font-size: 11px; }
.report-status { color: #b45309; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.report-status.approved { color: #047857; }
.report-fields { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(130px, .7fr) auto; gap: 10px; align-items: end; }
.report-fields input, .report-fields select { font-size: 12px; }
.report-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.report-actions button { min-height: 34px; padding: 8px 11px; font-size: 11px; }
.approve-button { background: #059669; color: white; }
.reject-button { background: #fff7ed; color: #c2410c; }
.delete-button { margin-left: auto; background: #fef2f2; color: #b91c1c; }
.report-empty { padding: 15px; border-radius: 12px; background: #f8fafc; color: #94a3b8; font-size: 13px; text-align: center; }
.report-warning { color: #b91c1c; font-size: 12px; }
@media (max-width: 680px) {
  .admin-shell { padding-top: 24px; }
  .baseline-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-totals { grid-template-columns: repeat(2, 1fr); }
  .report-fields { grid-template-columns: 1fr; }
  .report-fields > button { justify-self: start; }
  .dashboard-heading { align-items: flex-start; }
}
