/* NPB Volleyball — Red vs. Blue. Iterating locally before go-live. */
:root {
  /* Beach Pro Tour-inspired palette. Teams stay keyed red/blue in the markup &
     data; red = Bad Guys (coral), blue = Good Guys (green). --sand = BPT gold. */
  --red: #f75258;
  --red-deep: #c1333a;
  --blue: #5aa60f;
  --blue-deep: #3a6e0a;
  --sand: #f8ae17;
  --ink: #23272f;
  --paper: #ffffff;
  --warm: #faf6ef;
  --mist: #eef1f6;
  --line: #e2e6ee;
  --muted: #6b7280;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* The `hidden` attribute must always win, even over elements that set `display`
   (e.g. .btn). Without this, JS toggling `.hidden = true` on a button no-ops. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink); line-height: 1.6; background: var(--warm);
}
h2 { font-size: 1.9rem; color: var(--ink); margin-bottom: 1rem; }
h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 0.4rem;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--blue) 50% 100%); border-radius: 2px; }
h3.sub { margin: 2rem 0 0.8rem; font-size: 1.15rem; }
.muted { color: var(--muted); font-weight: 400; font-size: 0.9rem; }
.center { text-align: center; }

/* Hero */
.hero {
  position: relative;
  background-color: var(--blue-deep); /* fallback while image loads */
  background-image:
    linear-gradient(to bottom,
      rgba(8,15,35,0.42) 0%,
      rgba(8,15,35,0.12) 22%,
      rgba(8,15,35,0.12) 55%,
      rgba(8,15,35,0.58) 100%),
    url("Image_20260707_170430.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  color: #fff; text-align: center;
  display: flex; flex-direction: column; min-height: 540px;
}

/* Transparent hamburger nav overlaid on the hero image (no black bar) */
.topnav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.4rem; max-width: 1040px; margin: 0 auto;
}
.logo { color: #fff; font-weight: 800; font-size: 1.2rem; letter-spacing: 0.2px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55); }
.nav-toggle {
  background: none; border: none; cursor: pointer; padding: 6px; margin: -6px;
  display: flex; flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 26px; height: 3px; border-radius: 2px; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5); transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-menu {
  position: absolute; top: calc(100% + 6px); right: 1.4rem; z-index: 21;
  list-style: none; display: flex; flex-direction: column; min-width: 190px;
  background: rgba(13,20,38,0.97); border-radius: 12px; padding: 0.4rem;
  box-shadow: 0 12px 34px rgba(0,0,0,0.45);
}
.nav-menu a {
  color: #fff; text-decoration: none; display: block; font-weight: 600;
  padding: 0.7rem 0.9rem; border-radius: 8px;
}
.nav-menu a:hover { background: rgba(255,255,255,0.12); }

/* Floating "In this week?" prompt — fixed in the center until answered */
.float-cta {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 50;
  display: flex; align-items: center; gap: 0.7rem;
  background: rgba(13,20,38,0.96); color: #fff; padding: 0.7rem 0.8rem 0.7rem 1.2rem;
  border-radius: 999px; box-shadow: 0 14px 40px rgba(0,0,0,0.45);
  max-width: calc(100% - 1.5rem);
  animation: cta-pop 0.35s ease-out both;
}
@keyframes cta-pop {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.float-cta-label { font-weight: 800; font-size: 1rem; white-space: nowrap; }
.float-cta-actions { display: flex; gap: 0.4rem; }
.fc-btn {
  border: none; cursor: pointer; font: inherit; font-weight: 800;
  padding: 0.45rem 1rem; border-radius: 999px; text-decoration: none; line-height: 1;
}
.fc-yes { background: var(--blue); color: #fff; }
.fc-no { background: rgba(255,255,255,0.18); color: #fff; }
.fc-btn:active { transform: scale(0.96); }
.hero-text { max-width: 900px; margin: 2.5rem auto 0; padding: 0 1.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 0.78rem; opacity: 0.9; }
.hero-text h1 { font-size: 3.6rem; font-weight: 900; margin: 0.3rem 0; text-shadow: 0 2px 10px rgba(0,0,0,0.25); }
.hero-text h1 .vs { font-weight: 400; font-style: italic; opacity: 0.85; font-size: 2.4rem; }
.tagline { font-size: 1.15rem; opacity: 0.95; margin-bottom: 1.4rem; }

.btn {
  display: inline-block; background: var(--sand); color: #3a2c00;
  font-weight: 800; padding: 0.85rem 1.8rem; border-radius: 999px;
  text-decoration: none; transition: transform 0.1s ease, box-shadow 0.1s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18); border: none; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(0,0,0,0.24); }

.season-strip {
  display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap;
  margin-top: auto; padding: 0.7rem 1rem; font-weight: 700; font-size: 0.95rem;
  background: rgba(0,0,0,0.18);
}

/* Layout */
main { max-width: 1040px; margin: 0 auto; padding: 1rem 1.5rem 2rem; }
section { margin: 3rem 0; }
.note { font-size: 0.9rem; color: var(--muted); }

/* How it works */
.how-card {
  background: var(--paper); border-radius: 14px; padding: 1.3rem 1.4rem;
  box-shadow: 0 3px 14px rgba(0,0,0,0.06); border-left: 6px solid var(--sand);
}
.how-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.how-list li { position: relative; padding-left: 1.9rem; line-height: 1.5; }
.how-list li::before { content: "🏐"; position: absolute; left: 0; top: 0; }
.how-contact {
  margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line);
  font-size: 0.95rem; color: var(--muted);
}
.how-card a { color: var(--blue-deep); font-weight: 700; }

/* This week */
.week-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; }
.week-when { font-size: 1.25rem; font-weight: 800; }
.nudge {
  margin: 1rem 0; padding: 0.85rem 1.1rem; border-radius: 10px;
  background: #fff7e6; border: 1px solid #f2d492; color: #7a5a12; font-weight: 600;
}
.rsvp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.2rem; }
.rsvp-col { background: var(--paper); border-radius: 14px; padding: 1.2rem; box-shadow: 0 3px 14px rgba(0,0,0,0.06); border-top: 5px solid; }
.rsvp-col.red { border-color: var(--red); }
.rsvp-col.blue { border-color: var(--blue); }
.rsvp-col h3 { display: flex; justify-content: space-between; align-items: center; font-size: 1.25rem; }
.rsvp-col.red h3 { color: var(--red-deep); }
.rsvp-col.blue h3 { color: var(--blue-deep); }
.count { font-size: 0.85rem; font-weight: 700; background: var(--mist); color: var(--ink); padding: 0.15rem 0.6rem; border-radius: 999px; }
.pairs { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.6rem; }
.rsvp-list { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.rsvp-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.5rem 0.8rem; border: 1px solid var(--line); border-radius: 8px;
  cursor: pointer; background: var(--warm); transition: background 0.1s, border-color 0.1s;
  font-weight: 600;
}
.rsvp-item:hover { border-color: #c7cede; }
.rsvp-item.in { background: #e8f6ea; border-color: #a9dbb2; }
.rsvp-item .status { font-size: 0.8rem; color: var(--muted); font-weight: 700; }
.rsvp-item.in .status { color: #2e7d3a; }

/* RSVP confirmation modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(13, 20, 38, 0.55);
  display: flex; align-items: center; justify-content: center; padding: 1.2rem;
}
.modal-overlay[hidden] { display: none; }
.modal-card {
  background: var(--paper); border-radius: 16px; padding: 1.7rem 1.5rem;
  width: 100%; max-width: 360px; text-align: center;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}
.modal-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.5rem; }
.modal-msg { color: var(--ink); font-size: 1rem; margin-bottom: 1.4rem; }
.modal-actions { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.modal-actions .btn { width: 100%; }

/* Beach Bump easter-egg game */
.game-card { max-width: 360px; }
.game-sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.7rem; }
.game-scores { display: flex; justify-content: space-between; font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.game-scores b { color: var(--blue-deep); }
#game-canvas {
  width: 100%; max-width: 300px; height: auto; display: block; margin: 0 auto 0.9rem;
  border-radius: 12px; background: #bfe3f5; cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line); touch-action: manipulation;
}
.easter-hint { margin-top: 0.6rem; opacity: 0.85; }
.hero { cursor: default; -webkit-tap-highlight-color: transparent; }

/* Standings */
.scoreboard {
  display: flex; align-items: center; justify-content: center; gap: 1.5rem;
  background: var(--paper); border-radius: 16px; padding: 1.6rem; margin-bottom: 0.5rem;
  box-shadow: 0 3px 14px rgba(0,0,0,0.06);
}
.score { display: flex; align-items: center; gap: 0.7rem; }
.score-label { font-weight: 800; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; }
.score.red .score-label, .score.red .score-num { color: var(--red); }
.score.blue .score-label, .score.blue .score-num { color: var(--blue); }
.score-num { font-size: 3rem; font-weight: 900; line-height: 1; }
.score-sep { color: var(--muted); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; }

table { width: 100%; border-collapse: collapse; background: var(--paper);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05); border-radius: 10px; overflow: hidden; }
th { background: var(--ink); color: #fff; text-align: left; padding: 0.6rem 0.9rem; font-size: 0.9rem; }
td { padding: 0.6rem 0.9rem; border-top: 1px solid var(--mist); }
tr:nth-child(even) td { background: #fafbfd; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 0.4rem; vertical-align: middle; }
.dot.red { background: var(--red); }
.dot.blue { background: var(--blue); }
.win-red { color: var(--red); font-weight: 700; }
.win-blue { color: var(--blue); font-weight: 700; }
tr.sched-now td { background: #fff6d6 !important; font-weight: 700; }
tr.sched-done td { color: var(--muted); }
.more-btn {
  display: block; margin: 0.6rem auto 0; padding: 0.4rem 1.1rem; font-size: 0.9rem;
  font-weight: 700; color: var(--ink); background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; cursor: pointer; font-family: inherit;
}
.more-btn:hover { border-color: #c7cede; background: var(--mist); }

/* Rosters */
.join-bar { margin: 0.4rem 0 0.6rem; }
.btn.small { padding: 0.55rem 1.1rem; font-size: 0.95rem; box-shadow: 0 3px 10px rgba(0,0,0,0.14); }
.join-form { background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.3rem 1.4rem; margin: 0.6rem 0 1rem; box-shadow: 0 3px 14px rgba(0,0,0,0.06); }
.join-form h3 { margin-bottom: 0.3rem; }
.disclaimer { background: var(--mist); border-radius: 10px; padding: 0.7rem 0.9rem;
  font-size: 0.9rem; color: #444; margin: 0.6rem 0 0.9rem; }
.join-row { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.join-row input {
  flex: 1 1 220px; min-width: 0; padding: 0.6rem 0.8rem; font-size: 1rem;
  border: 1px solid var(--line); border-radius: 8px; font-family: inherit;
}
.join-row input:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.join-msg { margin-top: 0.8rem; font-weight: 600; padding: 0.6rem 0.8rem; border-radius: 8px; }
.join-msg.ok { background: #e8f6ea; color: #2e7d3a; }
.join-msg.err { background: #fdecec; color: #b3261e; }
.organizer-note { margin: 0.8rem 0 0.4rem; }

.roster-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.roster-col { background: var(--paper); border-radius: 14px; padding: 1.2rem 1.4rem; box-shadow: 0 3px 14px rgba(0,0,0,0.06); border-top: 5px solid; }
.roster-col.red { border-color: var(--red); }
.roster-col.blue { border-color: var(--blue); }
.roster-col.red h3 { color: var(--red-deep); }
.roster-col.blue h3 { color: var(--blue-deep); }
.rcount { font-weight: 700; font-size: 0.85rem; color: var(--muted); }
.roster-col ul { list-style: none; margin-top: 0.6rem; }
.roster-col li { display: flex; align-items: center; justify-content: space-between;
  padding: 0.45rem 0; border-top: 1px solid var(--mist); font-weight: 600; gap: 0.5rem; }
.roster-col li:first-child { border-top: none; }
.roster-col li.fresh { animation: flash 1.4s ease; }
@keyframes flash { from { background: #fff6cf; } to { background: transparent; } }
.rctrls { display: flex; gap: 0.35rem; }
.mini { border: 1px solid var(--line); background: var(--warm); border-radius: 6px;
  cursor: pointer; width: 28px; height: 28px; font-size: 0.85rem; line-height: 1; color: var(--muted); }
.mini:hover { border-color: #c7cede; color: var(--ink); }
.mini.remove:hover { color: var(--red); border-color: var(--red); }

/* Connection banner */
.conn-banner {
  max-width: 1040px; margin: 0 auto; padding: 0.85rem 1.1rem;
  background: #fdecec; border: 1px solid #f3b4b0; color: #8a2018;
  border-radius: 10px; font-weight: 600; font-size: 0.92rem;
}

/* Organizer */
.organizer { background: var(--mist); border-radius: 16px; padding: 1.8rem; }
.organizer h2::after { margin-left: 0; }
.pin-row { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; margin-top: 0.8rem; }
.pin-row input {
  flex: 1 1 200px; min-width: 0; padding: 0.6rem 0.8rem; font-size: 1rem;
  border: 1px solid var(--line); border-radius: 8px; font-family: inherit; letter-spacing: 3px;
}
.pin-row input:focus { outline: 2px solid var(--blue); border-color: var(--blue); }

.org-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.4rem; }
.org-badge { font-weight: 800; color: #2e7d3a; background: #e8f6ea; border: 1px solid #a9dbb2;
  padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.9rem; }

.org-form { background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.1rem 1.2rem; box-shadow: 0 3px 14px rgba(0,0,0,0.05); }
.org-field { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.9rem; font-weight: 600; font-size: 0.9rem; }
.org-field select, .org-field input {
  padding: 0.55rem 0.7rem; font-size: 1rem; border: 1px solid var(--line);
  border-radius: 8px; font-family: inherit; font-weight: 600;
}
.org-field select:focus, .org-field input:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.org-counts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cwrap.red { color: var(--red-deep); }
.cwrap.blue { color: var(--blue-deep); }
.org-tie { background: #fff7e6; border: 1px solid #f2d492; border-radius: 8px;
  padding: 0.6rem 0.8rem; margin-bottom: 0.9rem; display: flex; gap: 1rem; align-items: center;
  flex-wrap: wrap; font-weight: 600; font-size: 0.9rem; }
.org-tie label { font-weight: 700; cursor: pointer; }

.org-recorded { list-style: none; }
.org-recorded li { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  padding: 0.5rem 0.7rem; background: var(--paper); border: 1px solid var(--line);
  border-radius: 8px; margin-bottom: 0.4rem; font-size: 0.9rem; }
.link-btn.danger { color: var(--red); font-weight: 700; }

/* Player-card steppers */
.org-cards { display: flex; flex-direction: column; gap: 0.4rem; }
.pc-row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 0.9rem;
  padding: 0.6rem 0.8rem; background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
}
.pc-row.in { background: #e8f6ea; border-color: #a9dbb2; }
.pc-row.keyed { box-shadow: inset 4px 0 0 0 var(--blue); }
.pc-name { font-weight: 700; flex: 1 0 8rem; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.pc-in { font-size: 0.7rem; font-weight: 800; color: #2e7d3a; background: #fff;
  border: 1px solid #a9dbb2; border-radius: 999px; padding: 0.05rem 0.45rem; letter-spacing: 0.3px; }
.pc-keyed { font-size: 0.7rem; font-weight: 800; color: var(--blue-deep); background: #fff;
  border: 1px solid #b9d0f5; border-radius: 999px; padding: 0.05rem 0.45rem; letter-spacing: 0.3px; }
.pc-stat { display: inline-flex; align-items: center; gap: 0.35rem; }
.pc-stat label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); font-weight: 700; }
.pc-stat .mini { width: 26px; height: 26px; font-size: 1rem; font-weight: 700; }
.pc-val { min-width: 1.4rem; text-align: center; font-variant-numeric: tabular-nums; }

/* Footer */
footer { text-align: center; padding: 2.5rem 1.5rem; color: var(--muted); font-size: 0.9rem; }
.link-btn { background: none; border: none; color: var(--blue); cursor: pointer; text-decoration: underline; font: inherit; padding: 0; }
.disclaimer-line { max-width: 620px; margin: 0.6rem auto; font-size: 0.8rem; color: var(--muted); font-style: italic; }

@media (max-width: 640px) {
  .hero-text h1 { font-size: 2.6rem; }
  .hero-text h1 .vs { font-size: 1.8rem; }
  .rsvp-grid, .roster-grid { grid-template-columns: 1fr; }
  nav ul { gap: 1rem; }
}

/* ===================== Mornings with Paul ===================== */
.m-hero {
  text-align: center; color: #3a2c00; padding: 2.4rem 1.5rem 2.2rem;
  background: linear-gradient(160deg, #ffd27a 0%, #ffb454 45%, #ff8f5e 100%);
}
.m-back { display: inline-block; color: #6b4a12; font-weight: 700; text-decoration: none;
  font-size: 0.9rem; margin-bottom: 0.8rem; opacity: 0.9; }
.m-back:hover { text-decoration: underline; }
.m-hero h1 { font-size: 2.3rem; font-weight: 900; text-shadow: 0 1px 0 rgba(255,255,255,0.3); }
.m-sub { font-size: 1.05rem; margin-top: 0.3rem; }
.m-week { font-weight: 800; margin-top: 0.9rem; font-size: 1.05rem;
  background: rgba(255,255,255,0.35); display: inline-block; padding: 0.35rem 1rem; border-radius: 999px; }
.m-main { max-width: 780px; margin: 0 auto; padding: 1.4rem 1.5rem 3rem; }
.m-how { background: var(--paper); border-radius: 12px; padding: 1rem 1.2rem;
  box-shadow: 0 3px 14px rgba(0,0,0,0.06); border-left: 5px solid var(--sand); font-size: 0.95rem; }

.m-name-bar { display: flex; align-items: center; gap: 0.7rem; margin: 1.3rem 0 0.4rem; flex-wrap: wrap; }
.m-name-bar label { font-weight: 800; }
.m-name-bar input { flex: 1; min-width: 200px; padding: 0.7rem 0.9rem; border: 1px solid var(--line);
  border-radius: 10px; font: inherit; }
.m-name-bar input.nudge { border-color: var(--red); box-shadow: 0 0 0 3px rgba(247,82,88,0.2); }

.m-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-top: 1rem; }
.m-day { background: var(--paper); border-radius: 14px; padding: 1.1rem; border-top: 5px solid var(--blue);
  box-shadow: 0 3px 14px rgba(0,0,0,0.06); display: flex; flex-direction: column; gap: 0.6rem; }
.m-day.full { border-top-color: var(--muted); }
.m-day.mine { border-top-color: var(--sand); background: #fffdf5; }
.m-day-head { display: flex; justify-content: space-between; align-items: baseline; }
.m-day-name { font-weight: 900; font-size: 1.15rem; }
.m-day-date { color: var(--muted); font-weight: 700; font-size: 0.9rem; }
.m-spots { display: flex; align-items: center; gap: 0.5rem; }
.m-count { font-weight: 800; font-size: 0.9rem; background: var(--mist); padding: 0.1rem 0.55rem; border-radius: 999px; }
.m-count.is-full { background: #ffe2e2; color: var(--red-deep); }
.m-dots { letter-spacing: 2px; color: var(--blue); font-size: 0.9rem; }
.m-players { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.95rem; }
.m-players li { display: flex; align-items: center; gap: 0.4rem; }
.m-players .m-none { color: var(--muted); font-style: italic; }
.m-x { border: none; background: none; color: var(--red); cursor: pointer; font-size: 0.8rem; padding: 0 0.2rem; }
.m-day .btn { width: 100%; margin-top: auto; }
.m-add { background: var(--blue); color: #fff; }
.m-leave { background: #fff; color: var(--ink); border: 1px solid var(--line) !important; box-shadow: none !important; }
.m-locked { background: var(--mist); color: var(--muted); cursor: not-allowed; box-shadow: none !important; }
.m-empty { text-align: center; color: var(--muted); margin-top: 1.5rem; font-size: 1.05rem; }

.m-org { margin-top: 2.5rem; background: var(--paper); border-radius: 14px; padding: 1.2rem 1.4rem;
  box-shadow: 0 3px 14px rgba(0,0,0,0.06); }
.m-org h2 { font-size: 1.4rem; }
.m-org h2::after { content: ""; display: block; width: 48px; height: 4px; margin-top: 0.4rem;
  background: var(--sand); border-radius: 2px; }
.m-pin { display: flex; gap: 0.6rem; margin-top: 0.6rem; }
.m-pin input { padding: 0.6rem 0.8rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; width: 130px; }
.m-org-controls { display: flex; gap: 1.2rem; flex-wrap: wrap; margin: 0.6rem 0 0.4rem; }
.m-org-controls label { display: flex; flex-direction: column; font-weight: 700; font-size: 0.9rem; gap: 0.3rem; }
.m-org-controls input { padding: 0.5rem 0.7rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.m-org-days { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.7rem; }
.m-org-row { display: flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0.7rem; border: 1px solid var(--line);
  border-radius: 10px; background: var(--warm); }
.m-org-row.on { background: #eef7ee; border-color: #b9e0bb; }
.m-org-day { flex: 1; font-weight: 700; }
.m-org-count { color: var(--muted); font-size: 0.85rem; }
.m-org-foot { display: flex; justify-content: space-between; margin-top: 1rem; gap: 1rem; flex-wrap: wrap; }
.m-footer { text-align: center; padding: 1.5rem; color: var(--muted); font-size: 0.9rem; }
