:root {
    --blue: #0d4f84;
    --blue-dark: #08395f;
    --blue-soft: #eaf3f9;
    --gold: #c49a3a;
    --gold-soft: #f8f1df;
    --ink: #1d2935;
    --muted: #66727e;
    --line: #dce3e8;
    --bg: #f5f7f9;
    --white: #ffffff;
    --success: #2f7d57;
    --success-soft: #e8f5ee;
    --danger: #a63f3f;
    --danger-soft: #fbebeb;
    --warning: #8b6418;
    --shadow: 0 16px 42px rgba(22, 46, 67, .10);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--blue); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.public-body {
    background:
        linear-gradient(135deg, rgba(196,154,58,.08) 0 1px, transparent 1px 22px) 0 0/22px 22px,
        linear-gradient(180deg, #fbfcfd, #f3f6f8 380px);
}
.site-header {
    width: min(980px, calc(100% - 32px));
    margin: 28px auto 10px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 26px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(13,79,132,.10);
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(20,49,70,.06);
}
.brand-mark {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    border: 3px solid var(--gold);
    outline: 2px solid var(--blue);
    outline-offset: -7px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--blue);
    font: 700 27px Georgia, serif;
    background: #fff;
}
.brand-kicker { color: var(--gold); font-weight: 800; letter-spacing: .18em; font-size: 12px; }
.brand-title { color: var(--blue); font: italic 700 34px/1 Georgia, serif; }
.brand-title span { color: var(--gold); font: 800 13px/1 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .08em; margin-left: 7px; }
.brand-tagline { margin-top: 5px; color: var(--blue-dark); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.champions-logo { max-width: 100%;}

.page-shell { width: min(980px, calc(100% - 32px)); margin: 28px auto 70px; }
.hero-card { text-align: center; padding: 42px 24px 30px; }
.eyebrow { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { color: var(--blue-dark); line-height: 1.16; margin-top: 0; }
h1 { font: 700 44px/1.08 Georgia, serif; margin: 8px 0 16px; }
h2 { font-size: 25px; margin-bottom: 8px; }
h3 { font-size: 20px; margin-bottom: 0; }
.lead { color: #495864; font-size: 19px; max-width: 760px; margin: 0 auto 18px; }
.deadline-pill { display: inline-block; padding: 8px 13px; background: var(--gold-soft); color: #6e5319; border-radius: 999px; font-weight: 700; font-size: 14px; }

.form-card, .admin-card, .submit-card {
    background: var(--white);
    border: 1px solid rgba(15,64,100,.11);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.form-card { position: relative; padding: 30px; margin-bottom: 24px; }
.step-number {
    position: absolute;
    top: 26px;
    left: 28px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: white;
    font-weight: 800;
}
.section-heading { padding-left: 52px; margin-bottom: 24px; }
.section-heading p { color: var(--muted); margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; color: #33414c; font-weight: 700; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="date"], input[type="search"], select, textarea {
    width: 100%;
    margin-top: 7px;
    border: 1px solid #c9d3db;
    border-radius: 10px;
    padding: 12px 13px;
    color: var(--ink);
    background: #fff;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(13,79,132,.12); }
.field-help { display: block; font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.category-choice {
    display: flex;
    position: relative;
    gap: 13px;
    min-height: 146px;
    padding: 18px;
    border: 2px solid #dbe3e8;
    border-radius: 15px;
    background: #fff;
    cursor: pointer;
    transition: .16s ease;
}
.category-choice:hover { border-color: #a8c3d7; transform: translateY(-1px); }
.category-choice.is-selected { border-color: var(--blue); background: var(--blue-soft); box-shadow: 0 7px 20px rgba(13,79,132,.09); }
.category-choice input { position: absolute; opacity: 0; pointer-events: none; }
.custom-check {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border: 2px solid #aebbc4;
    border-radius: 7px;
    background: #fff;
    margin-top: 1px;
    position: relative;
}
.category-choice.is-selected .custom-check { background: var(--blue); border-color: var(--blue); }
.category-choice.is-selected .custom-check::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    left: 6px;
    top: 7px;
}
.category-copy { display: flex; flex-direction: column; gap: 7px; color: var(--muted); font-weight: 500; }
.category-copy strong { color: var(--blue-dark); font-size: 17px; }
.category-type { align-self: flex-start; padding: 3px 8px; background: var(--gold-soft); color: #73591f; border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }

.selected-nominations { margin: 24px 0; display: grid; gap: 20px; }
.empty-selection { text-align: center; padding: 34px; border: 2px dashed #ccd7df; border-radius: var(--radius); color: var(--muted); display: grid; gap: 4px; background: rgba(255,255,255,.55); }
.empty-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin: 0 auto 7px; font-size: 26px; }
.nominee-card { background: #fff; border: 2px solid rgba(13,79,132,.18); border-left: 6px solid var(--gold); border-radius: var(--radius); padding: 27px; box-shadow: 0 10px 30px rgba(20,49,70,.07); }
.nominee-card.is-hidden, .empty-selection.is-hidden { display: none; }
.nominee-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 10px; }
.nominee-card label + label { margin-top: 18px; }
.nominee-category-description { color: var(--muted); margin: 0 0 21px; }
.text-button { border: 0; background: transparent; color: var(--danger); font-weight: 700; cursor: pointer; padding: 3px 0; }
.character-count { display: block; text-align: right; color: var(--muted); font-size: 12px; font-weight: 600; margin-top: 5px; }

.submit-card { margin-top: 26px; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.submit-card > div { display: grid; gap: 3px; color: var(--muted); }
.submit-card strong { color: var(--blue-dark); font-size: 18px; }
.button-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid var(--blue);
    border-radius: 10px;
    padding: 10px 16px;
    background: var(--blue);
    color: white;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
    transition: .15s ease;
}
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); }
.button-large { min-height: 52px; padding: 13px 22px; font-size: 16px; }
.button-small { min-height: 36px; padding: 7px 11px; font-size: 13px; border-radius: 8px; }
.button-wide { width: 100%; }
.button-secondary { background: #fff; color: var(--blue); }
.button-secondary:hover { background: var(--blue-soft); color: var(--blue-dark); }
.button-ghost { background: #fff; color: #4f5e69; border-color: #cfd8de; }
.button-ghost:hover { background: #f5f7f8; color: var(--ink); border-color: #b9c5cd; }

.alert { padding: 14px 16px; border-radius: 12px; margin: 0 0 20px; border: 1px solid; }
.alert ul { margin: 8px 0 0 20px; }
.alert-error { background: var(--danger-soft); border-color: #ebc8c8; color: #7f3131; }
.alert-success { background: var(--success-soft); border-color: #c9e5d6; color: #286848; }
.muted { color: var(--muted); }
.closed-card, .thank-you-card { text-align: center; max-width: 760px; margin: 35px auto; padding: 48px 35px; }
.closed-icon, .success-badge { width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--success-soft); color: var(--success); font-size: 28px; font-weight: 900; }
.thank-you-card h1 { font-size: 36px; }
.site-footer { width: min(980px, calc(100% - 32px)); margin: 0 auto 35px; padding: 22px 0; text-align: center; border-top: 1px solid var(--line); font-size: 13px; }
.site-footer > div:first-child { color: var(--blue-dark); font-weight: 800; }

/* Admin */
.admin-body { background: #f2f5f7; }
.admin-topbar { min-height: 68px; padding: 0 28px; background: var(--blue-dark); color: white; display: flex; align-items: center; justify-content: space-between; gap: 22px; position: sticky; top: 0; z-index: 10; box-shadow: 0 5px 18px rgba(4,36,60,.14); }
.admin-brand { color: white; text-decoration: none; font: italic 700 22px Georgia, serif; white-space: nowrap; }
.admin-brand span { color: #e1be67; font: 800 11px system-ui, sans-serif; text-transform: uppercase; letter-spacing: .06em; margin-left: 5px; }
.admin-nav { display: flex; align-items: center; gap: 4px; }
.admin-nav a { color: rgba(255,255,255,.82); text-decoration: none; font-size: 13px; font-weight: 700; padding: 9px 10px; border-radius: 8px; }
.admin-nav a:hover { color: white; background: rgba(255,255,255,.10); }
.menu-toggle { display: none; border: 1px solid rgba(255,255,255,.30); color: white; background: transparent; border-radius: 8px; padding: 7px 10px; }
.admin-shell { width: min(1240px, calc(100% - 32px)); margin: 30px auto 70px; }
.admin-page-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; margin-bottom: 22px; }
.admin-page-head h1 { font-size: 34px; margin-bottom: 0; }
.signed-in { color: var(--muted); font-size: 13px; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 18px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: 0 5px 18px rgba(20,49,70,.04); }
.stat-card span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.stat-card strong { color: var(--blue-dark); font-size: 28px; }
.stat-selected { border-color: #d9c384; background: #fffdf8; }
.admin-card { padding: 22px; margin-bottom: 18px; border-radius: 14px; box-shadow: 0 5px 20px rgba(20,49,70,.05); }
.admin-card h2 { font-size: 21px; }
.filter-bar { display: grid; grid-template-columns: minmax(220px, 1.5fr) minmax(180px, 1fr) minmax(160px, .8fr) auto auto auto; gap: 10px; align-items: end; }
.filter-bar label { font-size: 12px; }
.filter-bar input, .filter-bar select { margin-top: 4px; padding: 9px 10px; }
.table-card { padding: 0; overflow: hidden; }
.responsive-table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #e6ebef; vertical-align: middle; }
th { color: #667580; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; background: #f8fafb; }
td { font-size: 14px; }
tbody tr:hover { background: #fbfcfd; }
.table-subtext { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.table-action { text-align: right; }
.status-badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #eef2f5; color: #4e5e68; font-size: 11px; font-weight: 800; white-space: nowrap; }
.status-new { background: #edf3f8; color: var(--blue); }
.status-under_review { background: #fff4d9; color: #7a5b0f; }
.status-follow_up_needed { background: #fff0e7; color: #8a4c24; }
.status-finalist { background: #eee9fb; color: #5a448f; }
.status-selected { background: var(--success-soft); color: var(--success); }
.status-not_selected { background: #f1f2f3; color: #6d7479; }
.admin-empty { padding: 45px 25px; text-align: center; color: var(--muted); display: grid; gap: 5px; }
.admin-empty strong { color: var(--ink); }

.review-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(310px, .8fr); gap: 18px; align-items: start; }
.nomination-detail-card, .review-panel { margin-bottom: 0; }
.detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.detail-head h2 { font: 700 31px Georgia, serif; margin: 3px 0 0; }
.category-context { color: var(--muted); background: #f7fafc; padding: 13px 15px; border-radius: 10px; margin: 18px 0; font-size: 14px; }
.reason-block { padding: 8px 0 20px; }
.reason-block > span, .detail-meta-grid span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; font-weight: 800; }
.reason-block p { font-size: 18px; line-height: 1.65; margin-bottom: 0; }
.detail-meta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.detail-meta-grid > div { background: #fafbfc; padding: 12px; border-radius: 9px; }
.detail-meta-grid strong { display: block; margin-top: 4px; font-size: 13px; overflow-wrap: anywhere; }
.stack-form { display: grid; gap: 15px; }
.last-updated { color: var(--muted); font-size: 11px; margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.admin-back-row { justify-content: space-between; margin-bottom: 12px; }
.back-link { color: var(--blue); text-decoration: none; font-weight: 700; font-size: 13px; }

.categories-layout { grid-template-columns: minmax(0, 1.5fr) minmax(320px, .8fr); }
.category-admin-list, .admin-user-list { display: grid; gap: 10px; }
.category-admin-item, .admin-user-item { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfd; }
.category-admin-item p { margin: 5px 0 0; color: var(--muted); font-size: 13px; max-width: 720px; }
.category-admin-title { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.category-admin-item.is-inactive, .admin-user-item.is-inactive { opacity: .58; }
.inactive-pill { background: #eceff1; color: #626b72; border-radius: 999px; padding: 2px 7px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.compact-row { flex-wrap: nowrap; }
.compact-row form { margin: 0; }
.check-row, .switch-row { display: flex; align-items: flex-start; gap: 10px; }
.check-row input, .switch-row input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); }
.settings-card { max-width: 760px; }
.settings-form { max-width: 640px; }
.switch-row { padding: 15px; border-radius: 11px; background: var(--blue-soft); }
.switch-row span { display: grid; }
.switch-row small { color: var(--muted); font-weight: 500; margin-top: 2px; }
.admin-user-item > div { display: grid; gap: 3px; }
.admin-user-item span { color: var(--muted); font-size: 12px; }

/* Login / setup */
.login-body { min-height: 100vh; display: grid; place-items: center; padding: 30px 16px; background: linear-gradient(145deg, var(--blue-dark), #0d598d); }
.login-card { width: min(430px, 100%); background: #fff; border-radius: 20px; box-shadow: 0 22px 60px rgba(0,0,0,.20); padding: 32px; }
.setup-card { width: min(560px, 100%); }
.login-card h1 { font-size: 31px; margin-top: 5px; }
.login-card > p { color: var(--muted); }
.login-mark { margin-bottom: 18px; }
.login-card .back-link { display: inline-block; margin-top: 22px; }

@media (max-width: 980px) {
    .filter-bar { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .review-grid, .categories-layout { grid-template-columns: 1fr; }
    .admin-nav { display: none; position: absolute; right: 16px; top: 58px; width: 220px; background: var(--blue-dark); padding: 10px; border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.18); flex-direction: column; align-items: stretch; }
    .admin-nav.is-open { display: flex; }
    .menu-toggle { display: block; }
}

@media (max-width: 720px) {
    .site-header { margin-top: 14px; padding: 16px; }
    .brand-mark { width: 46px; height: 46px; font-size: 22px; }
    .brand-title { font-size: 28px; }
    .brand-tagline { display: none; }
    .page-shell { margin-top: 10px; }
    .hero-card { padding: 30px 8px 24px; }
    h1 { font-size: 34px; }
    .lead { font-size: 17px; }
    .form-card { padding: 22px 18px; }
    .step-number { position: static; margin-bottom: 12px; }
    .section-heading { padding-left: 0; }
    .two-col, .category-grid { grid-template-columns: 1fr; }
    .category-choice { min-height: auto; }
    .nominee-card { padding: 21px 17px; }
    .submit-card { flex-direction: column; align-items: stretch; }
    .submit-card .button { width: 100%; }
    .admin-topbar { padding: 0 16px; }
    .admin-shell { width: min(100% - 20px, 1240px); margin-top: 18px; }
    .admin-page-head { align-items: flex-start; flex-direction: column; }
    .signed-in { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .filter-bar { grid-template-columns: 1fr; }
    .filter-bar .button { width: 100%; }
    .detail-meta-grid { grid-template-columns: 1fr; }
    .category-admin-item, .admin-user-item { align-items: flex-start; flex-direction: column; }
    .compact-row { width: 100%; }
    .responsive-table { overflow: visible; }
    table, thead, tbody, tr, th, td { display: block; }
    thead { display: none; }
    tbody tr { padding: 14px; border-bottom: 1px solid var(--line); }
    td { border: 0; padding: 6px 0 6px 42%; position: relative; min-height: 32px; }
    td::before { content: attr(data-label); position: absolute; left: 0; width: 38%; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
    .table-action { padding-left: 0; text-align: left; margin-top: 8px; }
    .table-action::before { display: none; }
    .table-action .button { width: 100%; }
}

@media print {
    .admin-topbar, .admin-page-head, .admin-back-row, .review-panel { display: none !important; }
    .admin-shell { width: 100%; margin: 0; }
    .review-grid { display: block; }
    .admin-card { box-shadow: none; border: 0; }
    body { background: white; }
}

/* Two-level committee access controls */
.inline-role-form {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.inline-role-form select {
    width: auto;
    min-width: 130px;
}
.role-help {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0,0,0,.12);
}
.role-help h3 {
    margin: 0 0 .65rem;
}
.role-help p {
    margin: .55rem 0;
    font-size: .92rem;
    line-height: 1.5;
}

/* Per-nomination committee activity log */
.activity-card { margin-top: 18px; }
.activity-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.activity-heading h2 { margin: 2px 0 0; }
.activity-count { color: var(--muted); font-size: 12px; font-weight: 700; }
.activity-list { display: grid; gap: 0; }
.activity-entry { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.activity-entry:last-child { border-bottom: 0; padding-bottom: 2px; }
.activity-marker { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font-weight: 900; }
.activity-status .activity-marker { background: #fff4d9; color: #7a5b0f; }
.activity-content { min-width: 0; }
.activity-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; margin-bottom: 8px; }
.activity-meta strong { font-size: 13px; overflow-wrap: anywhere; }
.activity-meta > span { color: var(--muted); font-size: 11px; }
.activity-note-text { background: #f8fafb; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; line-height: 1.55; white-space: normal; }
.activity-status-change { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.status-arrow { color: var(--muted); font-weight: 800; }
.legacy-pill { display: inline-flex; padding: 3px 7px; border-radius: 999px; background: #f1f2f3; color: #68737a !important; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.activity-empty { padding: 28px 4px 8px; color: var(--muted); }
.review-panel .field-help { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 500; }

@media (max-width: 720px) {
    .activity-entry { grid-template-columns: 30px 1fr; gap: 9px; }
    .activity-marker { width: 28px; height: 28px; font-size: 12px; }
    .activity-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
}

@media print {
    .activity-card { display: block !important; }
    .activity-entry { break-inside: avoid; }
}

/* Super Admin reset / testing cleanup */
.button-danger { background: var(--danger); border-color: var(--danger); }
.button-danger:hover { background: #843030; border-color: #843030; }
.danger-zone { border: 1px solid #e7bebe; background: #fffafa; }
.danger-eyebrow { color: var(--danger); }
.danger-intro { color: #713737; max-width: 680px; }
.reset-count-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.reset-count-grid > div { padding: 15px; background: #fff; border: 1px solid #ecd4d4; border-radius: 10px; display: grid; gap: 2px; }
.reset-count-grid strong { font-size: 27px; color: var(--danger); }
.reset-count-grid span { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.reset-preserves { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 13px 15px; display: grid; gap: 3px; margin-bottom: 16px; }
.reset-preserves span { color: var(--muted); font-size: 13px; }
.reset-audit { color: var(--muted); font-size: 12px; border-top: 1px solid #ecd4d4; border-bottom: 1px solid #ecd4d4; padding: 11px 0; margin: 16px 0; }
.reset-form { max-width: 640px; margin-top: 18px; }
.reset-form label strong { color: var(--danger); }
.reset-empty { margin-top: 18px; margin-bottom: 0; }

@media (max-width: 720px) {
    .reset-count-grid { grid-template-columns: 1fr; }
}

/* Version 5: user administration */
.user-management-actions { display: grid; gap: 9px; justify-items: end; }
.user-admin-details { width: min(100%, 430px); border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.user-admin-details summary { cursor: pointer; padding: 9px 11px; font-weight: 700; font-size: 13px; }
.user-admin-details[open] summary { border-bottom: 1px solid var(--line); }
.user-password-form { padding: 12px; }
.delete-user-form { margin: 0; }
@media (max-width: 760px) {
    .user-management-actions { width: 100%; justify-items: stretch; }
    .user-admin-details { width: 100%; }
}
