/*
 * CRSC — gym-poster look: condensed uppercase display type, flat blocks,
 * the club's cream/orange/green identity, minimal decoration.
 */

:root {
  --bg: #f4efe3;
  --card: #fffdf7;
  --ink: #1d1a14;
  --ink-soft: #6d6350;
  --line: #d9cfba;
  --line-strong: #1d1a14;
  --orange: #ee8a1e;
  --orange-dark: #c76e08;
  --green: #2f7d3f;
  --green-soft: #e3efe0;
  --red: #c23c11;
  --red-soft: #f8e8de;
  --radius: 8px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}
a { color: var(--orange-dark); }

/* ------- layout ------- */
.app-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 16px;
  background: var(--bg);
  border-bottom: 2px solid var(--line-strong);
}
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-mark {
  font-family: var(--display);
  font-weight: 800; font-size: 26px; letter-spacing: 1px;
  line-height: 1;
}
.brand-sub {
  font-size: 10px; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.08em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }

.app-main { max-width: 960px; margin: 0 auto; padding: 16px 16px 60px; }

.hero { padding: 22px 0 4px; }
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 8vw, 52px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-wrap: balance;
}
.hero p { margin: 8px 0 0; color: var(--ink-soft); font-weight: 600; }

.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 26px 0 8px;
}
.section-sub {
  font-size: 12px; margin: 16px 0 8px; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.09em; font-weight: 700;
}

/* ------- cards ------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

/* ------- chips / badges ------- */
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 4px;
  font-size: 12px; font-weight: 700;
}
.chip-paid { background: var(--green-soft); color: var(--green); }
.chip-unpaid { background: var(--red-soft); color: var(--red); }
.chip-wl { background: #f3e6c3; color: #7c5c07; }
.chip-in { background: #dfe9f6; color: #23538e; }
.chip-mine { background: var(--green-soft); color: var(--green); }
.chip-muted { background: #e7e0d0; color: var(--ink-soft); }
.chip-demo { background: var(--ink); color: var(--bg); letter-spacing: 0.08em; }
.chip-pass { background: var(--ink); color: #f5b942; letter-spacing: 0.04em; }
/* Playing level: an exec's note, so it reads quietly rather than as a badge. */
.chip-level { background: #e2e8f4; color: #2c4a77; letter-spacing: 0.04em; }
/* Part-paid: real money came in, so it must not read as "unpaid" — but it is
 * not settled either. */
.chip-part { background: #f8ecc0; color: #7c5c07; }
.input-amount { max-width: 130px; }
/* Switching: the options are buttons, so they read as "tap to move here". */
.switch-opt { width: 100%; text-align: left; cursor: pointer; background: var(--card); font: inherit; }
.switch-opt:hover { background: #f6f0e2; }
/* A played Saturday says so plainly, so nobody mistakes the record for a
 * sheet they can still sign up on. */
.record-banner {
  margin-top: 12px; padding: 8px 12px;
  background: #efe7d4; border-left: 4px solid var(--ink);
  border-radius: 4px; font-size: 13px; font-weight: 600; color: var(--ink-soft);
}
/* A level above the player's grade: visible, so they know the game exists,
 * but plainly not theirs to take. */
.join-barred { opacity: 0.55; cursor: not-allowed; }
.join-barred input { cursor: not-allowed; }
/* checked-in chip: green when also paid, yellow when here but unpaid */
.chip-in-ok { background: var(--green-soft); color: var(--green); }
.chip-in-warn { background: #f8ecc0; color: #7c5c07; }

/* paid / check-in checkbox toggles (traffic-light: red / yellow / green).
   .btn.cb-* so these beat the base .btn background in the cascade. */
.btn.cb { border-width: 2px; }
.btn.cb-green { background: var(--green); border-color: var(--green); color: #fff; }
.btn.cb-yellow { background: #f5c211; border-color: #b98f14; color: #4a3903; }
.btn.cb-red { background: var(--red-soft); border-color: var(--red); color: var(--red); }
.btn.cb-off { background: transparent; border-color: var(--line); color: var(--ink-soft); }
.btn.cb:disabled { opacity: 0.85; cursor: default; }

/* ------- buttons / inputs ------- */
.btn {
  appearance: none; cursor: pointer;
  border: 1px solid var(--line-strong);
  border-radius: 6px; padding: 10px 16px;
  font-size: 14px; font-weight: 700; font-family: var(--body);
  background: var(--card); color: var(--ink);
  text-transform: uppercase; letter-spacing: 0.03em;
  transition: transform 0.05s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); border-color: var(--orange-dark); color: #fff; }
.btn-success { background: var(--green); border-color: var(--green); color: #fff; }
.btn-danger { background: var(--red-soft); color: var(--red); border-color: var(--red); }
/* Quieter than btn-danger: it sits in a list of rows, so it must not
   shout over the names it belongs to until you reach for it. */
.btn-danger-ghost { background: transparent; color: var(--ink-soft); border-color: var(--line); }
.btn-danger-ghost:hover, .btn-danger-ghost:focus-visible { background: var(--red-soft); color: var(--red); border-color: var(--red); }
.btn-warn { background: #f3e6c3; color: #7c5c07; border-color: #b98f14; }
.btn-ghost { background: transparent; border-color: var(--line); }
.btn-exec { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-small { padding: 6px 11px; font-size: 12px; }
.btn-tiny { padding: 3px 8px; font-size: 11px; }
.btn.wide { width: 100%; margin-top: 10px; }
.btn.grow { flex: 1; }

.input {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 6px;
  font-size: 15px; font-family: var(--body); background: #fff; color: var(--ink);
}
.input:focus { outline: 2px solid var(--orange); outline-offset: -1px; }
.input-pin { text-align: center; font-size: 22px; letter-spacing: 6px; }
.input-num { width: 62px; flex: none; text-align: center; }
textarea.input { resize: vertical; }
select.input { appearance: auto; }
.field-label { font-size: 11px; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.07em; }

.row { display: flex; align-items: stretch; }
.row.center { align-items: center; }
.row.gap { gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 8px; }
.m0 { margin: 0; }
.hint { color: var(--ink-soft); font-size: 13px; margin: 0; }

/* ------- registration gate ------- */
.welcome-card { max-width: 440px; margin: 12px auto 0; display: flex; flex-direction: column; gap: 12px; }

/* ------- players directory ------- */
.players-list { max-height: 55vh; }
/* A directory row is one person on one line. The chips and the two buttons
 * drop to a second line on a narrow phone rather than squeezing the name
 * column: break-all on a long address used to wrap it one character per
 * line and stretch the row to 400px tall. */
.player-row { flex-wrap: wrap; row-gap: 4px; }
.player-row .entry-name { flex: 1 1 60%; min-width: 0; }
.player-row small {
  display: block; color: var(--ink-soft); font-size: 11px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ------- profile ------- */
.profile-strip {
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 8px 12px; margin-top: 16px;
}
.profile-strip small { display: block; color: var(--ink-soft); }

.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover; flex: none;
  display: inline-grid; place-items: center;
  background: var(--ink);
  color: var(--bg); font-weight: 700; font-size: 17px;
  font-family: var(--display);
}
.avatar-sm { width: 30px; height: 30px; font-size: 13px; }
.avatar-pick { cursor: pointer; position: relative; }
.avatar-pick::after {
  content: '+'; position: absolute; right: -2px; bottom: -2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--orange); color: #fff; font-size: 12px; font-weight: 700;
  display: grid; place-items: center;
}

/* ------- season calendar ------- */
.cal-months {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin-top: 12px;
}
.cal-month {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px 12px;
}
.cal-month-name {
  font-family: var(--display);
  font-weight: 700; font-size: 18px;
  text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 2px solid var(--line-strong);
  padding-bottom: 6px; margin-bottom: 6px;
}
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 3px; text-align: center;
}
.cal-dow { font-size: 10px; font-weight: 700; color: var(--ink-soft); padding: 2px 0; text-transform: uppercase; }
.cal-day {
  font-size: 13px; color: #b3a88f;
  padding: 5px 0; border-radius: 5px;
  font-variant-numeric: tabular-nums;
}
.cal-blank { visibility: hidden; }
.cal-sat {
  font-weight: 700; text-decoration: none;
  border: 1px solid transparent;
}
.cal-sat.is-open { background: var(--orange); color: #fff; border-color: var(--orange-dark); }
.cal-sat.is-full { background: #efe7d4; color: var(--ink-soft); border-color: var(--line); text-decoration: line-through; }
.cal-sat.is-past { background: transparent; color: #b3a88f; border-color: var(--line); }
.cal-sat.is-closed { background: #e7e0d0; color: var(--ink-soft); }
.cal-sat.is-mine { outline: 2px solid var(--green); outline-offset: 1px; }
.cal-legend {
  display: flex; gap: 16px; margin-top: 10px;
  font-size: 12px; color: var(--ink-soft); font-weight: 600;
}
.cal-legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.dot-open { background: var(--orange); }
.dot-full { background: #efe7d4; border: 1px solid var(--line); }
.dot-mine { background: var(--card); outline: 2px solid var(--green); outline-offset: -1px; }

/* ------- my games / records ------- */
.my-games { padding: 4px 12px; }
.my-game {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid #efe8d8;
  text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600;
}
.my-game:last-child { border-bottom: none; }
.my-game-date {
  font-family: var(--display); font-weight: 700; font-size: 15px;
  text-transform: uppercase; width: 62px; flex: none;
}
.record-card { padding: 4px 12px; }
.record-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 9px 0; border-bottom: 1px solid #efe8d8;
  text-decoration: none; color: var(--ink); font-size: 13px;
}
.record-row:last-child { border-bottom: none; }
.record-date { font-family: var(--display); font-weight: 700; font-size: 15px; text-transform: uppercase; width: 62px; flex: none; }
.rec-good { color: var(--green); font-weight: 700; }
.rec-bad { color: var(--red); font-weight: 700; }

/* ------- event view ------- */
.back { display: inline-block; margin-bottom: 10px; text-decoration: none; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: 0.04em; }
.event-head { margin-bottom: 8px; }
.event-h1 {
  margin: 0; font-family: var(--display); font-weight: 800;
  font-size: 30px; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1;
}
.event-sub { color: var(--ink-soft); font-size: 13px; margin-top: 4px; }
.event-prices { margin-top: 8px; font-size: 13px; color: var(--ink-soft); }
.my-spots { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; }
.exec-toolbar { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }

.session { margin-top: 22px; }
.session-title {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  text-transform: uppercase; letter-spacing: 1px;
  margin: 0 0 10px;
  background: var(--ink); color: var(--bg);
  display: inline-block; padding: 3px 12px; border-radius: 4px;
}
.lists-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .lists-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); } }

.list-card { border-top: 4px solid var(--c, var(--orange)); display: flex; flex-direction: column; gap: 8px; }
.list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.list-sport { font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: 0.5px; }
.list-level { color: var(--c, var(--ink-soft)); font-weight: 700; font-size: 13px; text-transform: uppercase; }
.list-cap { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-soft); }
.capbar { flex: 1; height: 6px; border-radius: 3px; background: #ece4d1; overflow: hidden; }
.capbar-fill { height: 100%; background: var(--green); transition: width 0.3s; }
.capbar-fill.full { background: var(--red); }
.cap-text { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }

.entries { display: flex; flex-direction: column; }
.entry {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 4px; border-bottom: 1px solid #f0e9d9;
  font-size: 14px;
}
.entry:last-child { border-bottom: none; }
.entry-mine { background: var(--green-soft); border-radius: 5px; padding-left: 8px; padding-right: 8px; }
.entry-clickable { cursor: pointer; }
.entry-clickable:hover { background: var(--bg); border-radius: 5px; }
.entry-name span { font-weight: 600; }
.entry-name em { font-style: normal; color: var(--green); font-size: 12px; }
.entry-name small { display: block; color: var(--ink-soft); font-size: 11px; }
.empty-list { color: var(--ink-soft); font-size: 13px; padding: 8px 4px; font-style: italic; }
.wl-divider, .team-divider {
  margin-top: 6px; padding: 4px 4px 2px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wl-divider { color: #7c5c07; border-top: 2px dashed #dcc98e; }
.team-divider { color: var(--ink); border-top: 2px solid var(--line-strong); }
.team-divider.team-unassigned { color: var(--ink-soft); border-top-style: dashed; border-top-color: var(--line); }
.team-hint { padding: 6px 4px; font-style: italic; }
.btn-join { margin-top: 4px; }
.exec-list-tools { align-items: center; margin-top: 2px; }
.teams-ctl {
  margin-left: auto; display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.teams-ctl select { border: 1px solid var(--line); border-radius: 5px; padding: 3px 4px; background: #fff; font-family: var(--body); }

/* ------- info / exec ------- */
.info-box {
  margin-top: 30px; padding: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 13px; color: var(--ink-soft);
}
.info-box h3 {
  margin: 0 0 8px; color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 18px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.info-box ul { margin: 8px 0; padding-left: 18px; }
.info-box li { margin: 3px 0; }
.late-fee { color: var(--red); font-weight: 700; }

.exec-panel {
  margin-top: 26px; padding: 14px;
  border: 2px dashed var(--line); border-radius: var(--radius);
}
.empty { padding: 24px; text-align: center; color: var(--ink-soft); background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ------- modals ------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(29, 26, 20, 0.5);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fadein 0.15s;
}
@media (min-width: 640px) { .modal-overlay { align-items: center; } }
@keyframes fadein { from { opacity: 0; } }
.modal {
  background: var(--bg); width: 100%; max-width: 520px;
  max-height: 92vh; overflow-y: auto;
  border-radius: 12px 12px 0 0;
  border-top: 2px solid var(--line-strong);
  animation: slideup 0.2s;
}
@media (min-width: 640px) { .modal { border-radius: 12px; border: 2px solid var(--line-strong); } .modal-wide { max-width: 640px; } }
@keyframes slideup { from { transform: translateY(30px); opacity: 0.5; } }
@media (prefers-reduced-motion: reduce) {
  .modal, .modal-overlay { animation: none; }
}
.modal-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.modal-body h2 {
  margin: 0; font-family: var(--display); font-weight: 700; font-size: 22px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.confirm-msg { font-size: 15px; margin: 4px 0 8px; }

.prices-once {
  font-size: 13px; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  padding: 8px 12px; margin-bottom: 8px; line-height: 1.7;
}
.join-session { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; margin-bottom: 8px; }
.join-session-label {
  background: var(--ink); color: var(--bg); padding: 5px 12px;
  font-family: var(--display); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.8px;
}
.join-list { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid #f0e9d9; cursor: pointer; font-size: 14px; font-weight: 600; }
.join-list input { width: 18px; height: 18px; accent-color: var(--orange); }
.join-full { opacity: 0.75; }
.pay-opt { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; flex: 1; font-size: 14px; font-weight: 600; }
.pay-opt input { accent-color: var(--orange); }

.price-box { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; }
.price-line { display: flex; justify-content: space-between; font-size: 14px; padding: 3px 0; font-variant-numeric: tabular-nums; }
.price-total { font-weight: 800; border-top: 2px solid var(--line-strong); margin-top: 4px; padding-top: 7px; font-size: 15px; }
.pay-instructions p { margin: 0; font-size: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; }
.pay-email {
  font-family: var(--display); font-size: 20px; font-weight: 700; text-align: center;
  background: #fff; border: 2px solid var(--orange); border-radius: 6px;
  padding: 12px; margin: 4px 0; user-select: all;
}

/* summary */
.stat-row { display: flex; gap: 10px; }
.stat { flex: 1; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 10px 6px; }
.stat strong { display: block; font-size: 20px; font-family: var(--display); }
.stat span { font-size: 10px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.stat-good strong { color: var(--green); }
.stat-bad strong { color: var(--red); }
.summary-list { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; max-height: 240px; overflow-y: auto; }

/* removal log */
.chip-flag { background: var(--red); color: #fff; letter-spacing: 0.03em; }
.removal-row small { display: block; color: var(--ink-soft); font-size: 11px; }
.removal-flagged { background: var(--red-soft); border-radius: 5px; padding-left: 8px; padding-right: 8px; }

/* received-payment matcher */
.pay-match { display: flex; flex-direction: column; gap: 6px; padding: 9px 0; border-bottom: 1px solid #f0e9d9; }
.pay-match:last-child { border-bottom: none; }
.pay-amt { font-weight: 800; font-variant-numeric: tabular-nums; }
/* The note the sender typed — it is what names the friends they paid for,
 * so it stays readable rather than shrinking into the metadata. */
.pay-note { margin: 0; font-size: 13px; color: #6b6152; overflow-wrap: anywhere; }

/* A level label never pushes the sport name onto its own line: the two read
 * as one title, and "Adv + Men" must sit beside "Volleyball", not under it. */
.list-head { flex-wrap: nowrap; }
.list-head .list-level { text-align: right; white-space: nowrap; }

/* Season pass: choosing which list a held spot lives in. */
.pass-lists { display: flex; flex-direction: column; gap: 10px; }
.pass-sess { display: flex; flex-direction: column; gap: 4px; }
.pass-opt { display: flex; align-items: center; gap: 8px; padding: 5px 0; cursor: pointer; }
.pass-opt input { width: 17px; height: 17px; flex: none; }

/* A search result is a shortcut to the row's controls, so it reads as one. */
.find-row { cursor: pointer; }
.find-row:hover { background: #f6f0e2; }

/* The club's full rules — quiet, but never more than one tap away. */
.policies-link { display: inline-block; margin-top: 10px; font-weight: 700; color: #8a5a1c; text-decoration: none; }
.policies-link:hover { text-decoration: underline; }

/* event editor */
.ee-list { border: 1px solid var(--line); border-radius: 6px; padding: 10px; margin-bottom: 8px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.ee-cols { display: flex; justify-content: space-between; font-size: 10px; color: var(--ink-soft); }
.sticky-actions { position: sticky; bottom: 0; background: var(--bg); padding-top: 10px; }

/* toasts */
.toasts { position: fixed; bottom: 18px; left: 0; right: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast {
  background: var(--ink); color: var(--bg);
  padding: 10px 18px; border-radius: 6px;
  font-size: 14px; font-weight: 700;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s;
  max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast-err { background: var(--red); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .toast { transition: opacity 0.25s; transform: none; }
}

/* status chips never squeeze on narrow phones; long names truncate instead */
.entry .chip { flex: none; white-space: nowrap; }
.entry-name { overflow: hidden; }
.entry-name span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* A chip sitting beside a name is a label ON it, not a bar under it: the
 * block rule above would otherwise stretch it across the whole row. */
.entry-name .chip { display: inline-flex; width: auto; vertical-align: middle; }
.chip-pass-off { background: transparent; border: 1px solid var(--ink); color: var(--ink); }

/* personal transfer link */
.transfer-link { font-size: 12px; }

/* a Saturday whose sign-up window has not started yet */
.cal-sat.is-scheduled { background: transparent; color: var(--ink); border-color: var(--orange); border-style: dashed; }
.dot-scheduled { background: transparent; border: 1px dashed var(--orange); }
.scheduled-note { margin-top: 10px; }
/* status chips in the event header must not stretch to the row's height */
.event-head .chip { align-self: flex-start; }

/* device is not on the shared list */
.offline-banner {
  background: var(--red-soft); color: var(--red);
  border: 2px solid var(--red); border-radius: var(--radius);
  padding: 10px 12px; margin-top: 12px;
  font-size: 13px; font-weight: 700;
}

/* ------- reaching the club ------- */
.contact-row { margin-top: 6px; }
.ee-bulk { margin-top: 10px; }
.log-row .log-kind { min-width: 22px; font-weight: 700; }

/* ------- signing in ------- */
.si-or {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-soft); font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
}
.si-or::before, .si-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.chip-exec-tag { background: var(--line-strong); color: var(--card); font-weight: 700; }

/* The Payments screen dates every transfer and folds away the ones sent
   before this Saturday opened, so an exec cannot apply a fortnight-old
   payment to tonight's list by mistake. */
.pay-when { margin: 2px 0 6px; font-size: 12px; color: var(--muted, #6b6257); }
.older-pays { margin-top: 14px; border-top: 1px solid var(--line, #ddd6c9); padding-top: 10px; }
.older-pays summary { cursor: pointer; font-weight: 600; font-size: 14px; padding: 4px 0; }
.older-pays .summary-list { margin-top: 8px; opacity: .8; }

/* A level the club is not running that week is still tickable — the seat is
   simply waiting for the week it appears. Dimmed so an exec can see which
   choices take effect now. */
.pass-opt-off span { opacity: .62; }
