:root {
  --ink: #25141d;
  --rose: #a73f6d;
  --pink: #f4b5d0;
  --baby: #fff0f6;
  --cream: #fffaf2;
  --line: #e8d3dd;
  --muted: #745c67;
  --success: #1f725a;
  --warn: #9b641d;
  --danger: #a9294c;
}
[hidden] {
  display: none !important;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font:
    400 14px/1.55 "DM Sans",
    Arial,
    sans-serif;
}
button,
input,
textarea,
select {
  font: inherit;
}
header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 10px 4vw;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
header a {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}
header a b {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: "DM Serif Display", serif;
}
header a span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
header nav {
  display: flex;
  gap: 15px;
  align-items: center;
}
header nav a,
header nav button {
  border: 0;
  background: none;
  color: var(--rose);
  font-size: 11px;
  font-weight: 900;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--rose);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.16em;
}
.admin-auth {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: calc(100vh - 68px);
}
.admin-auth > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vw;
  background: linear-gradient(140deg, #25141d, #70314f);
  color: #fff;
}
.admin-auth h1,
.page-title h1 {
  margin: 0;
  font:
    400 clamp(50px, 7vw, 90px) / 0.95 "DM Serif Display",
    serif;
}
.admin-auth > div > p:last-child {
  max-width: 620px;
  color: #f1cfdd;
  font-size: 17px;
}
.admin-auth form,
.quick-form {
  align-self: center;
  width: min(520px, calc(100% - 44px));
  margin: auto;
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(65, 18, 40, 0.11);
}
.admin-auth h2,
.quick-form h2 {
  margin: 0 0 15px;
  font:
    400 34px "DM Serif Display",
    serif;
}
.admin-auth label,
.quick-form label {
  display: grid;
  gap: 6px;
  margin: 13px 0;
  font-size: 11px;
  font-weight: 800;
}
.admin-auth input,
.quick-form input,
.quick-form textarea,
.quick-form select,
dialog input,
dialog textarea,
dialog select,
.search input {
  width: 100%;
  border: 1px solid #d7c2cc;
  border-radius: 9px;
  padding: 12px;
}
.quick-form textarea,
dialog textarea {
  min-height: 100px;
  resize: vertical;
}
.admin-auth button,
.quick-form button,
dialog form button {
  border: 0;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  padding: 13px 16px;
  font-weight: 900;
}
.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 68px);
}
.admin-shell > aside {
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  padding: 28px 18px;
  background: #2c1822;
  color: #fff;
}
.admin-shell > aside h2 {
  margin: 0;
  font:
    400 30px "DM Serif Display",
    serif;
}
.admin-shell > aside nav {
  display: grid;
  gap: 3px;
  margin: 20px 0;
}
.admin-shell > aside nav button,
.admin-shell > aside > button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #eed4df;
  padding: 10px 12px;
  text-align: left;
  font-size: 11px;
  font-weight: 800;
}
.admin-shell > aside nav button.active,
.admin-shell > aside nav button:hover {
  background: rgba(244, 181, 208, 0.15);
  color: #fff;
}
.admin-shell > aside > button {
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.admin-content {
  min-width: 0;
  padding: 45px clamp(22px, 5vw, 75px) 80px;
}
.admin-panel {
  display: none;
}
.admin-panel.active {
  display: block;
}
.page-title {
  margin: 0 0 30px;
}
.page-title h1 {
  font-size: clamp(48px, 6vw, 74px);
}
.page-title p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.metric-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}
.metric-grid strong {
  display: block;
  font:
    400 48px/0.95 "DM Serif Display",
    serif;
}
.metric-grid span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}
.attention-card {
  margin-top: 25px;
  padding: 27px;
  border-radius: 17px;
  background: var(--baby);
}
.attention-card h3 {
  margin: 8px 0;
  font:
    400 27px "DM Serif Display",
    serif;
}
.attention-card p {
  color: var(--muted);
}
.training-chapter {
  margin: 24px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.training-chapter-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.training-chapter-heading h2 {
  margin: 4px 0 0;
  font: 400 30px "DM Serif Display", serif;
}
.training-chapter-heading > strong {
  color: var(--rose);
  white-space: nowrap;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
}
.academy-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 12px;
}
.academy-table th,
.academy-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.academy-table th {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.academy-table .status {
  color: var(--rose);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.quick-form {
  width: 100%;
  max-width: 850px;
  margin: 0 0 30px;
  box-shadow: none;
}
.wide-form textarea {
  min-height: 260px;
  font-family: Consolas, monospace;
  font-size: 12px;
}
.search {
  display: block;
  max-width: 630px;
  margin: 25px 0;
  font-size: 11px;
  font-weight: 900;
}
.search input {
  display: block;
  margin-top: 6px;
}
.data-list {
  display: grid;
  gap: 10px;
}
.data-list article {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}
.data-list h3 {
  margin: 0;
  font:
    400 23px "DM Serif Display",
    serif;
}
.data-list p {
  margin: 3px 0;
  color: var(--muted);
  font-size: 11px;
}
.data-list strong,
.data-list small {
  display: block;
}
.data-list small {
  color: var(--muted);
}
.data-list .status {
  color: var(--rose);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.data-list .actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: end;
}
.data-list button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
  color: var(--rose);
  font-size: 10px;
  font-weight: 900;
}
.data-list button.danger {
  color: var(--danger);
}
.application-record {
  align-items: start !important;
}
.application-summary {
  min-width: 0;
}
.application-summary details {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.application-summary summary {
  cursor: pointer;
  color: var(--rose);
  font-size: 11px;
  font-weight: 900;
}
.application-answers {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.application-answers section {
  padding: 14px;
  border-radius: 10px;
  background: var(--baby);
}
.application-answers h4 {
  margin: 0 0 6px;
  font-family: "DM Serif Display", serif;
  font-size: 19px;
}
.application-answers p {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
}
.member-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.member-identity > img,
.member-identity > span,
.profile-photo-editor > img,
.profile-photo-editor > div {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: var(--baby);
  color: var(--rose);
  font-weight: 900;
}
.member-profile-dialog form {
  display: grid;
  gap: 12px;
}
.member-profile-dialog label {
  display: grid;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
}
.profile-photo-editor {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 12px;
  background: var(--baby);
}
.profile-photo-editor label {
  flex: 1;
}
.checkbox-line {
  grid-template-columns: auto 1fr !important;
  align-items: center;
}
.checkbox-line input {
  width: auto;
}
dialog {
  width: min(540px, calc(100% - 30px));
  border: 0;
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 25px 70px rgba(42, 12, 27, 0.3);
}
dialog::backdrop {
  background: rgba(25, 8, 16, 0.68);
}
dialog h2 {
  margin: 0;
  font:
    400 36px "DM Serif Display",
    serif;
}
.close {
  position: absolute;
  right: 12px;
  top: 8px;
  border: 0;
  background: none;
  font-size: 30px;
}
dialog label {
  display: grid;
  gap: 5px;
  margin: 14px 0;
  font-size: 11px;
  font-weight: 800;
}
@media (max-width: 1000px) {
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
  .data-list article {
    grid-template-columns: 1fr;
  }
  .data-list .actions {
    justify-content: start;
  }
}
@media (max-width: 720px) {
  header a span {
    display: none;
  }
  .admin-auth {
    grid-template-columns: 1fr;
  }
  .admin-auth > div {
    padding: 55px 25px;
  }
  .admin-auth form {
    margin: 35px auto;
  }
  .admin-shell {
    display: block;
  }
  .admin-shell > aside {
    position: sticky;
    top: 68px;
    z-index: 10;
    height: auto;
    padding: 10px;
  }
  .admin-shell > aside > p,
  .admin-shell > aside > h2,
  .admin-shell > aside > button {
    display: none;
  }
  .admin-shell > aside nav {
    display: flex;
    overflow: auto;
    margin: 0;
  }
  .admin-shell > aside nav button {
    white-space: nowrap;
  }
  .admin-content {
    padding: 28px 18px 70px;
  }
  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.bulk-review-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:18px 0;padding:16px 18px;border:1px solid #ead5df;border-radius:16px;background:#fff7fa}.bulk-review-bar label{display:flex;align-items:center;gap:8px;font-weight:700}.bulk-review-bar input{width:auto}.bulk-review-bar span{color:#725766}.dues-select{display:flex;align-items:center}.dues-select input{width:20px;height:20px}
