:root {
  /* RYM brand palette (see RYM Brand Guide) */
  --navy: #004656;        /* Reformation */
  --navy-light: #3D8E9B;  /* Laguna */
  --gold: #F5B335;        /* Sunshine */
  --green: #1D4900;       /* Ponderosa */
  --red: #9E3223;         /* extension color -- the brand guide has no red; chosen to pass
                              WCAG AA and to sit harmoniously with the Coffee Hut / Faithful
                              warm-brown secondary palette */
  --amber: #563500;       /* Coffee Hut */
  --bg: #F8F8F8;          /* Cool White */
  --card: #ffffff;
  --border: #E1DEDA;
  --text: #231F20;        /* Lights Out Black */
  --text-muted: #484848;  /* Dark Grey */
  --radius: 10px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
a { color: var(--navy); }
.topbar {
  background: var(--navy);
  color: #fff;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar .brand { font-weight: 700; letter-spacing: .02em; display: flex; align-items: center; gap: 12px; }
.topbar .brand-logo { height: 32px; width: auto; display: block; }
.topbar .brand-text { font-size: 15px; }
@media (max-width: 560px) {
  .topbar .brand-text { display: none; }
}
.topbar nav a { margin-left: 18px; font-size: 14px; opacity: .9; }
.topbar nav a:hover { opacity: 1; text-decoration: underline; }
.container { max-width: 1080px; margin: 0 auto; padding: 28px 20px 60px; }
.container.narrow { max-width: 640px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 18px;
}
h1 { font-size: 26px; margin: 0 0 6px; }
h2 { font-size: 19px; margin: 0 0 12px; }
h3 { font-size: 15px; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); }
.subtitle { color: var(--text-muted); margin-bottom: 20px; }
.grid { display: grid; gap: 16px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
}
label { display: block; font-size: 13px; font-weight: 600; margin: 14px 0 5px; }
label.inline { display: inline; font-weight: 500; }
input[type=text], input[type=email], input[type=tel], input[type=date],
input[type=number], input[type=password], select, textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #cfcdc4;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
}
textarea { min-height: 70px; }
fieldset { border: 1px solid var(--border); border-radius: var(--radius); margin: 18px 0; padding: 16px 18px; }
legend { font-weight: 700; padding: 0 6px; }
.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: var(--navy-light); }
.btn.gold { background: var(--gold); color: var(--text); }
.btn.outline { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn.danger { background: var(--red); }
.btn.small { padding: 5px 10px; font-size: 12px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
/* .btn's own `display: inline-block` above otherwise wins over the browser's built-in
   `[hidden] { display: none }` rule (an author-stylesheet rule always beats the UA
   stylesheet, regardless of selector specificity) -- so setting el.hidden = true in JS on
   any .btn (e.g. signup.html's "+ Add Another Conference" cap) silently did nothing: the
   button stayed visible and clickable even past its cap. This re-asserts display:none for
   any hidden .btn so the hidden property actually works. */
.btn[hidden] { display: none; }
.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.badge.green { background: #C8E5B5; color: var(--green); }
.badge.red { background: #F6E2DE; color: var(--red); }
.badge.amber { background: #F9F1C5; color: var(--amber); }
.badge.gray { background: #eceae4; color: var(--text-muted); }
.badge.blue { background: #DDF0F5; color: var(--navy); }  /* mirrors .banner.blue -- added for
    training-registration statuses like "Deposit Paid" (see admin/training_roster.html) */
/* Wraps any admin/leader data table so it scrolls horizontally on narrow screens instead of
   pushing the page (and later columns/buttons) off-screen. No-op when the table already fits.
   The background-gradient pair is the "scroll shadow" trick: a faint edge shadow fades in only
   when there's more table to reveal in that direction, so a cut-off column reads as scrollable
   instead of just missing. (background-attachment: local scrolls with the content and covers
   the shadow once you've reached that edge; "scroll" keeps the opposite shadow fixed to the
   viewport so it's visible until you get there.) */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background:
    linear-gradient(to right, var(--card) 0, rgba(255,255,255,0) 24px) 0 0,
    linear-gradient(to left, var(--card) 0, rgba(255,255,255,0) 24px) 100% 0,
    linear-gradient(to right, rgba(35,31,32,.16), rgba(35,31,32,0) 14px) 0 0,
    linear-gradient(to left, rgba(35,31,32,.16), rgba(35,31,32,0) 14px) 100% 0;
  background-repeat: no-repeat;
  background-size: 24px 100%, 24px 100%, 14px 100%, 14px 100%;
  background-attachment: local, local, scroll, scroll;
}
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--border); }
th { font-size: 12px; text-transform: uppercase; color: var(--text-muted); letter-spacing: .03em; }
.stat { text-align: left; }
.stat .value { font-size: 26px; font-weight: 700; }
.stat .label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em; }
.banner {
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: 14px;
}
.banner.green { background: #C8E5B5; border: 1px solid #A9D08C; }
.banner.amber { background: #F9F1C5; border: 1px solid #E4C87A; }
.banner.red { background: #F6E2DE; border: 1px solid #E3AFA3; }
.banner.blue { background: #DDF0F5; border: 1px solid #BEE4ED; }
.flash { margin-bottom: 16px; }
.muted { color: var(--text-muted); }
.small { font-size: 12px; }
.ledger { width: 100%; border-collapse: collapse; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; }
.ledger td { padding: 6px 4px; border-bottom: 1px dashed var(--border); }
.ledger tr.total td { border-top: 2px solid var(--text); border-bottom: none; font-weight: 700; padding-top: 10px; }
.ledger td.amt { text-align: right; }
footer { text-align: center; color: var(--text-muted); font-size: 12px; padding: 30px; }
.step-tabs { display: flex; gap: 6px; margin-bottom: 20px; flex-wrap: wrap; }
.step-tabs .step {
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: #eceae4; color: var(--text-muted);
}
.step-tabs .step.active { background: var(--navy); color: #fff; }
.checkbox-row { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0; }
.checkbox-row input { margin-top: 3px; }
.actions-row { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.pill-nav { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.pill-nav a {
  text-decoration: none; padding: 7px 14px; border-radius: 999px; font-size: 13px;
  background: #eceae4; color: var(--text);
}
.pill-nav a.active { background: var(--navy); color: #fff; }
code.big { font-size: 22px; letter-spacing: .06em; background: #f1f0eb; padding: 6px 12px; border-radius: 6px; }
.waiver-text { max-height: 260px; overflow-y: auto; border: 1px solid var(--border); padding: 14px; border-radius: 8px; background: #fbfaf7; font-size: 13px; }
.help { color: var(--text-muted); font-size: 12px; margin-top: 3px; }
