.admin-body { min-height: 100vh; background: #eef0e6; }
.admin-topbar { position: sticky; top: 0; }
.admin-badge { padding: 6px 9px; color: var(--navy); background: var(--lime); font-size: 9px; font-weight: 900; letter-spacing: 1.2px; text-transform: uppercase; }
.admin-public-link { margin-left: auto; color: rgba(255,255,255,.72); font-size: 12px; border-bottom: 1px solid rgba(255,255,255,.35); }
.admin-main { width: min(1220px, calc(100% - 40px)); margin: 0 auto; padding: 68px 0 100px; }
.admin-hero { display: grid; grid-template-columns: minmax(0,1fr) 340px; align-items: end; gap: 40px; margin-bottom: 34px; }
.admin-kicker { display: block; margin-bottom: 12px; color: var(--green); font-size: 9px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; }
.admin-hero h1 { margin: 0; color: var(--navy); font-family: var(--display); font-size: clamp(46px, 6vw, 76px); line-height: .98; letter-spacing: -.055em; }
.admin-hero h1 em { color: var(--green); font-weight: 500; }
.admin-hero p { max-width: 680px; margin: 22px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.owner-card { padding: 22px; display: grid; gap: 5px; color: white; background: var(--green-dark); border-left: 4px solid var(--lime); }
.owner-card > span { color: var(--lime); font-size: 9px; font-weight: 900; letter-spacing: 1.3px; text-transform: uppercase; }
.owner-card strong { overflow-wrap: anywhere; font-family: var(--display); font-size: 17px; }
.owner-card small { color: rgba(255,255,255,.62); }
.owner-card a { width: fit-content; margin-top: 10px; color: var(--lime); border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 800; }
.admin-alert { margin-bottom: 22px; padding: 18px 20px; display: grid; gap: 4px; color: #692d25; background: #f8e7e1; border-left: 4px solid #b74635; }
.admin-alert[hidden] { display: none; }
.admin-alert span { font-size: 12px; line-height: 1.5; }
.admin-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 22px; }
.admin-stats article { min-height: 106px; padding: 20px; display: flex; align-items: flex-end; justify-content: space-between; color: var(--muted); background: var(--paper); border: 1px solid rgba(21,54,49,.1); }
.admin-stats span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.admin-stats strong { color: var(--navy); font-family: var(--display); font-size: 34px; }
.admin-panel { margin-bottom: 22px; padding: clamp(24px, 4vw, 38px); background: var(--paper); border: 1px solid rgba(21,54,49,.1); box-shadow: 0 12px 32px rgba(27,50,44,.05); }
.admin-panel-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.admin-panel-heading h2 { margin: 0; color: var(--navy); font-family: var(--display); font-size: 26px; letter-spacing: -.035em; }
.admin-controls { display: flex; align-items: center; gap: 9px; }
.admin-controls select { height: 46px; padding: 0 36px 0 12px; color: var(--ink); background: white; border: 1px solid #ccd3cc; }
.request-list { display: grid; gap: 12px; }
.request-card { padding: 18px; display: grid; grid-template-columns: minmax(0,1.4fr) minmax(250px,.7fr); gap: 20px; background: #eef1e8; border-left: 4px solid #b79b3c; }
.request-card.approved { border-left-color: var(--green); }
.request-card.honor_active { border-left-color: #aa7b35; }
.request-card.rejected { border-left-color: #b74635; }
.request-meta { display: flex; flex-wrap: wrap; gap: 7px 14px; color: var(--muted); font-size: 11px; }
.request-type { padding: 5px 7px; color: var(--green-dark); background: var(--lime); font-weight: 900; text-transform: uppercase; letter-spacing: .8px; }
.request-card h3 { margin: 13px 0 6px; font-family: var(--display); font-size: 19px; }
.request-card p { margin: 4px 0; color: var(--muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.request-card a { color: var(--green-dark); text-decoration: underline; }
.request-review { display: grid; align-content: start; gap: 9px; }
.request-review textarea { width: 100%; min-height: 76px; padding: 10px; resize: vertical; border: 1px solid #cbd3cc; background: white; }
.review-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.review-actions button { min-height: 40px; border: 0; font-size: 11px; font-weight: 900; cursor: pointer; }
.approve-button { color: white; background: var(--green); }
.reject-button { color: white; background: #a9493d; }
.reviewed-by { color: var(--muted); font-size: 10px; line-height: 1.4; }
.admin-empty { margin: 0; padding: 26px; color: var(--muted); background: #f0f1eb; text-align: center; }
.admin-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.admin-grid .admin-panel { height: calc(100% - 22px); }
.admin-panel-copy { margin: -12px 0 22px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.settings-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.settings-form label { display: grid; gap: 6px; }
.settings-form label > span { font-size: 11px; font-weight: 800; }
.settings-form input { width: 100%; height: 44px; padding: 0 11px; background: white; border: 1px solid #cbd3cc; }
.settings-note { grid-column: 1 / -1; }
.settings-form .field-error, .settings-form button { grid-column: 1 / -1; }
.reviewer-explainer { display: grid; gap: 10px; }
.reviewer-explainer article { padding: 14px; background: #eef1e8; border-left: 3px solid var(--green); }
.reviewer-explainer strong { font-family: var(--display); font-size: 13px; }
.reviewer-explainer p { margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.reviewer-footnote { margin: 16px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.reviewer-footnote code { color: var(--green-dark); font-weight: 800; }
.audit-list { display: grid; gap: 1px; background: #dce1da; }
.audit-item { padding: 13px 15px; display: grid; grid-template-columns: 160px 1fr auto; gap: 14px; align-items: center; background: #f2f3ed; font-size: 11px; }
.audit-item strong { color: var(--green-dark); }
.audit-item span { color: var(--muted); }
.audit-item time { color: var(--muted); font-size: 10px; white-space: nowrap; }
.button:disabled { opacity: .55; cursor: wait; }

@media (max-width: 900px) {
  .admin-hero, .admin-grid { grid-template-columns: 1fr; }
  .owner-card { max-width: 520px; }
  .request-card { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .admin-topbar { gap: 14px; padding-inline: 16px; }
  .admin-badge { display: none; }
  .admin-main { width: min(100% - 24px, 1220px); padding-top: 42px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-stats article { min-height: 88px; }
  .admin-panel { padding: 22px 16px; }
  .admin-panel-heading { align-items: stretch; flex-direction: column; }
  .admin-controls { align-items: stretch; flex-direction: column; }
  .settings-form { grid-template-columns: 1fr; }
  .settings-note, .settings-form .field-error, .settings-form button { grid-column: auto; }
  .audit-item { grid-template-columns: 1fr; gap: 4px; }
}
