:root {
  --ink: #223127;
  --muted: #607064;
  --line: #dce3d8;
  --club: #111b15;
  --lime: #c9e45b;
  color: var(--ink);
  background: #f3f5ef;
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", sans-serif;
  font-size: 15px;
}
.admin-header {
  position: sticky;
  top: 0;
  z-index: 5;
  min-height: 82px;
  padding: 16px 30px;
  background: var(--club);
  color: #edf1e6;
  border-bottom: 1px solid #354133;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f4f5ef;
  font-size: 22px;
  letter-spacing: -0.7px;
}
.brand small {
  display: block;
  color: #a9b49e;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  margin-top: 1px;
}
.brand-mark {
  color: #f4f5ef;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -3px;
}
.brand-mark span {
  color: var(--lime);
}
.admin-header #account {
  font-size: 13px;
  color: #bdc7b5;
  overflow-wrap: anywhere;
}
.admin-header #logout {
  background: transparent;
  color: #edf1e6;
  border-color: #56644c;
  font-size: 13px;
}
.layout {
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: calc(100dvh - 82px);
}
.layout > nav {
  background: var(--club);
  border-right: 0;
  padding: 25px 14px;
}
.nav-heading {
  display: block;
  color: #91a184;
  font-size: 11px;
  letter-spacing: 2px;
  padding: 12px 14px;
}
.layout > nav button {
  border: 1px solid transparent;
  border-radius: 5px;
  color: #e5ebdd;
  padding: 13px 14px;
  margin-bottom: 5px;
  line-height: 1.5;
}
.layout > nav button strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.layout > nav button small {
  display: block;
  color: #9eae92;
  font-size: 11px;
  margin-top: 3px;
}
.layout > nav button[aria-current="page"] {
  background: var(--lime);
  color: #192210;
}
.layout > nav button[aria-current="page"] small {
  color: #435121;
}
.layout > nav button:hover {
  border-color: #63734f;
}
.nav-footnote {
  color: #8f9b82;
  font-size: 10px;
  line-height: 2;
  letter-spacing: 1.5px;
  margin: 50px 14px 0;
}
.layout main {
  max-width: 1600px;
  padding: 34px clamp(20px, 3vw, 48px) 60px;
}
h1 {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -0.7px;
  margin-bottom: 12px;
}
h2 {
  font-size: 20px;
  font-weight: 650;
}
.muted {
  color: var(--muted);
  line-height: 1.8;
}
main form {
  margin-top: 26px;
  max-width: 660px;
}
input,
select,
textarea {
  min-height: 42px;
  border-color: #bdc9b8;
  border-radius: 5px;
  color: var(--ink);
}
input[type="checkbox"] {
  min-height: auto;
  accent-color: #274c32;
}
textarea {
  min-height: 100px;
}
button {
  border-radius: 5px;
  min-height: 38px;
  transition:
    background-color 120ms,
    border-color 120ms;
}
form button[type="submit"],
#login button {
  background: var(--lime);
  color: #192210;
  border-color: #b4cc4f;
  font-weight: 650;
}
td button {
  background: #fff;
  border-color: #bac9b2;
  color: #274c32;
  min-height: 34px;
  white-space: nowrap;
}
.table-actions {
  min-width: 224px;
}
td button:hover {
  background: #edf2e6;
}
.subnav {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.subnav button {
  background: transparent;
  border-color: transparent;
  border-radius: 0;
  border-bottom: 2px solid transparent;
}
.subnav button[aria-pressed="true"] {
  border-bottom-color: #345a2c;
  color: #203923;
  font-weight: 650;
}
.list-tools {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
table {
  border: 1px solid var(--line);
}
th {
  background: #eaf0e4;
  color: #53644f;
  font-weight: 600;
  white-space: nowrap;
}
td {
  border-bottom-color: #e2e8dd;
  font-size: 14px;
}
tbody tr:hover {
  background: #fafcf7;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid #78903a;
  outline-offset: 3px;
}
.layout > nav button:focus-visible {
  outline-color: var(--lime);
}
.coach-display-preview {
  margin-top: 32px;
  padding: 26px;
  background: #172018;
  color: #f4f5ef;
  max-width: 760px;
  overflow-wrap: anywhere;
}
.coach-display-preview .drawer-heading h2 {
  font-size: 15px;
  color: #b7c6a7;
}
.coach-display-preview .drawer-heading button {
  background: transparent;
  color: #e5ebdd;
  border-color: #71855b;
}
.coach-display-body {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  column-gap: 28px;
  padding-top: 24px;
}
.coach-display-portrait {
  grid-row: span 5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background: #25371f;
  overflow: hidden;
}
.coach-display-portrait img {
  width: 100%;
  height: 100%;
  max-height: 300px;
  object-fit: cover;
}
.coach-display-initial {
  color: var(--lime);
  font-size: 72px;
  font-weight: 700;
}
.coach-display-preview h3 {
  font-size: 28px;
  margin: 0 0 12px;
}
.coach-display-slogan {
  margin: 0 0 8px;
}
.coach-display-bio {
  color: #b4c0a8;
  white-space: pre-wrap;
  margin: 0;
  line-height: 1.9;
}
.coach-display-preview .muted {
  color: #a1b08f;
  font-size: 12px;
}
.login {
  max-width: 440px;
  margin: 12vh auto;
  padding: 30px;
  border-top: 4px solid #233a24;
}
.login .brand {
  color: #203923;
  font-size: 29px;
  margin-bottom: 28px;
}
.login h1 {
  font-size: 24px;
}
.login form {
  margin-top: 24px;
}
.login button {
  width: 100%;
  margin-top: 24px;
  min-height: 44px;
}
@media (max-width: 1100px) {
  #content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }
}
@media (max-width: 700px) {
  .admin-header {
    min-height: 70px;
    padding: 12px 16px;
    gap: 12px;
  }
  .brand {
    font-size: 19px;
    gap: 8px;
    flex-shrink: 0;
  }
  .brand-mark {
    font-size: 30px;
  }
  .brand small {
    font-size: 9px;
    letter-spacing: 2px;
  }
  .admin-header #account {
    max-width: 100px;
  }
  .admin-header #logout {
    padding: 6px 10px;
  }
  .layout {
    display: block;
  }
  .layout > nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 12px;
  }
  .layout > nav button {
    margin: 0;
    width: 100%;
    padding: 11px 13px;
  }
  .nav-heading,
  .nav-footnote {
    display: none;
  }
  .layout main {
    padding: 26px 16px 40px;
  }
  h1 {
    font-size: 25px;
  }
  .list-tools .list-field {
    flex: 1 1 140px;
    min-width: 0;
  }
  .list-tools select,
  .list-tools input {
    width: 100%;
  }
  .subnav {
    gap: 6px;
  }
  .subnav button {
    padding: 8px;
    font-size: 13px;
  }
  .coach-display-preview {
    padding: 20px;
  }
  .coach-display-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .coach-display-portrait {
    min-height: 140px;
    grid-row: auto;
  }
  .coach-display-portrait img {
    max-height: 240px;
    width: auto;
  }
  .coach-display-preview h3 {
    font-size: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  button {
    transition: none;
  }
}

.display-image-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:24px}.display-image-editor{background:#fff;border:1px solid #dce2dc;padding:20px;min-width:0}.display-image-editor h2{font-size:19px;margin:0 0 12px}.display-image-preview{width:100%;height:200px;object-fit:contain;background:#172019;margin:8px 0 16px}.display-image-preview[hidden]{display:none}.display-image-editor input[type=file]{width:100%;min-width:0}.display-image-editor .actions{flex-wrap:wrap}.display-image-editor p{overflow-wrap:anywhere}
