:root {
  color-scheme: light;
  --pine: #16843b;
  --pine-deep: #075b2d;
  --mint: #e3f3e7;
  --paper: #f5f8f5;
  --white: #fff;
  --ink: #17251c;
  --muted: #617168;
  --line: #dce6de;
  --coral: #c94d3b;
  --gold: #c58b13;
  --sky: #087fb4;
  --club-lime: #78e34b;
  --club-blue: #40b7e7;
}

* { box-sizing: border-box; }
body { background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 15px; }
a { color: inherit; }
.site-header { background: var(--pine-deep); color: white; }
.brand-lockup { display: inline-flex; align-items: center; text-decoration: none; line-height: 1; }
.brand-logo { display: block; width: auto; height: 48px; padding: 3px 6px; border-radius: 2px; background: white; object-fit: contain; }
.brand-lockup strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 22px; letter-spacing: 0; }
.brand-lockup small { display: block; margin-top: 4px; color: #c4f1b8; font-family: "Barlow Condensed", sans-serif; font-size: 12px; letter-spacing: 0; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #80d98f; border-radius: 50%; font-size: 21px; }
.site-header .nav-link { color: #e5eee8; font-size: 14px; }
.site-header .nav-link:hover { color: var(--club-lime); }
.nav-admin { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #62a879; border-radius: 50%; color: white; text-decoration: none; }
.today-band { color: white; background: var(--pine); background-image: repeating-linear-gradient(135deg, transparent 0, transparent 38px, rgb(255 255 255 / 3%) 39px, transparent 40px); }
.section-kicker { display: flex; align-items: center; gap: 9px; color: var(--pine); font-size: 11px; font-weight: 700; letter-spacing: 0; }
.today-band .section-kicker { color: var(--club-blue); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--club-lime); box-shadow: 0 0 0 4px rgb(120 227 75 / 16%); }
.kicker-rule { width: 34px; height: 1px; margin-left: 5px; background: currentColor; opacity: .45; }
.display-heading { margin: 14px 0 28px; font-family: "Barlow Condensed", sans-serif; font-size: 64px; font-weight: 600; line-height: .98; }
.display-heading em { color: var(--club-lime); font-style: normal; }
.today-event-list { border-top: 1px solid rgb(255 255 255 / 19%); }
.today-event { display: grid; grid-template-columns: 76px minmax(0, 1fr) 30px; gap: 15px; align-items: start; padding: 18px 0; border-bottom: 1px solid rgb(255 255 255 / 19%); }
.event-time { color: var(--club-blue); font-family: "Barlow Condensed", sans-serif; font-size: 22px; font-weight: 600; }
.event-type { color: #c4d8ca; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.event-title { display: inline-block; margin: 2px 0 5px; color: white; font-family: "Barlow Condensed", sans-serif; font-size: 24px; font-weight: 600; line-height: 1.1; text-decoration: none; }
.event-title:hover { color: var(--club-lime); }
.event-meta { display: flex; flex-wrap: wrap; gap: 5px 16px; color: #d4e0d8; font-size: 12px; }
.event-meta i { margin-right: 5px; }
.status { display: inline-block; padding: 3px 8px; border-radius: 2px; background: rgb(255 255 255 / 15%); color: white; font-size: 10px; font-weight: 700; }
.status-cancelled { background: #9e483b; }.status-postponed { background: #986e21; }.status-modified { background: #426f83; }
.group-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.group-chip { display: inline-block; padding: 4px 8px; border: 1px solid rgb(255 255 255 / 26%); border-radius: 2px; color: #e1eee5; font-size: 11px; }
.group-chip strong { color: var(--club-lime); font-weight: 600; }
.icon-link { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid rgb(255 255 255 / 40%); border-radius: 50%; color: white; text-decoration: none; }
.empty-note { padding: 20px 0; color: var(--muted); }
.today-band .empty-note { color: #d4e0d8; }
.weather-today { padding: 20px; border: 1px solid rgb(255 255 255 / 28%); background: rgb(8 49 37 / 25%); }
.weather-heading { display: flex; justify-content: space-between; gap: 8px; color: #d5e4d9; font-size: 10px; font-weight: 700; }
.weather-heading i { margin-right: 6px; color: var(--club-blue); font-size: 16px; }
.weather-range { display: flex; align-items: baseline; gap: 8px; margin: 16px 0; }
.weather-range strong { font-family: "Barlow Condensed", sans-serif; font-size: 60px; font-weight: 600; line-height: 1; }
.weather-range > span { color: #d4e0d8; font-size: 12px; }
.weather-low { margin-left: auto; }
.weather-facts { display: flex; flex-wrap: wrap; gap: 10px 18px; padding-top: 13px; border-top: 1px solid rgb(255 255 255 / 20%); color: #d4e0d8; font-size: 12px; }
.weather-facts i { margin-right: 5px; color: var(--club-blue); }
.weather-unavailable { margin: 18px 0 3px; color: #d4e0d8; font-size: 13px; }
.forecast-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; margin-top: 9px; overflow-x: auto; }
.forecast-day { display: grid; min-width: 42px; gap: 3px; justify-items: center; padding: 9px 3px; background: rgb(8 49 37 / 20%); color: #d4e0d8; font-size: 9px; }
.forecast-day strong { color: white; font-family: "Barlow Condensed", sans-serif; font-size: 19px; }
.forecast-day small { color: var(--club-blue); font-size: 8px; white-space: nowrap; }
.windy-frame { margin-top: 14px; overflow: hidden; height: 180px; border: 1px solid rgb(255 255 255 / 28%); }
.windy-frame iframe { width: 100%; height: 100%; border: 0; }
.section-block { padding-top: 62px; padding-bottom: 62px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 23px; }
.section-heading h2, .detail-section-heading h2 { margin: 4px 0 0; font-family: "Barlow Condensed", sans-serif; font-size: 36px; font-weight: 600; }
.text-link { color: var(--pine); font-size: 13px; font-weight: 600; text-decoration: none; }
.text-link i { margin-left: 4px; }
.calendar-shell { overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.calendar-toolbar { display: flex; min-height: 66px; justify-content: center; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.calendar-toolbar h3 { min-width: 190px; margin: 0; text-align: center; font-family: "Barlow Condensed", sans-serif; font-size: 25px; font-weight: 600; }
.calendar-toolbar h3 span { color: var(--muted); }
.calendar-arrow { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--pine); }
.calendar-arrow:hover { background: var(--pine); color: white; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-weekday { padding: 11px 8px; color: var(--muted); font-size: 10px; font-weight: 700; text-align: center; text-transform: uppercase; }
.calendar-day { min-height: 102px; padding: 8px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.calendar-day-link { display: block; color: inherit; text-decoration: none; }
.calendar-day-link:hover { background: #f0f6f1; }
.calendar-day-link:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--pine); outline-offset: -2px; }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day.outside-month { background: #f7faf7; color: #a8b4ab; }
.day-number { display: inline-grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; color: inherit; font-size: 12px; text-decoration: none; }
.is-today .day-number { background: var(--pine); color: white; font-weight: 700; }
.calendar-events { display: grid; gap: 4px; margin-top: 3px; }
.calendar-event { display: block; overflow: hidden; padding: 3px 5px; border-left: 3px solid var(--pine); background: var(--mint); color: var(--pine-deep); font-size: 10px; line-height: 1.25; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.calendar-event .calendar-event-name { display: block; overflow: hidden; text-overflow: ellipsis; }
.calendar-event .calendar-event-driver-missing { display: block; overflow: hidden; color: #a44834; font-size: 8px; font-weight: 700; text-overflow: ellipsis; white-space: normal; }
.event-kind-meeting.calendar-event { border-color: var(--gold); background: #f5edd4; color: #725616; }
.event-kind-camp.calendar-event { border-color: var(--sky); background: #e3eef2; color: #315a6a; }
.event-kind-competition.calendar-event { border-color: var(--coral); background: #f8e7df; color: #8a4030; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 15px 22px; padding: 14px 3px; color: var(--muted); font-size: 11px; }
.calendar-legend span::before { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--pine); content: ""; }
.calendar-legend .legend-meeting::before { background: var(--gold); }.calendar-legend .legend-camp::before { background: var(--sky); }.calendar-legend .legend-competition::before { background: var(--coral); }
.upcoming-band { border-top: 1px solid var(--line); background: #edf5ef; }
.upcoming-mark { color: var(--sky); font-size: 27px; }
.upcoming-list { border-top: 1px solid #cfd7cd; }
.upcoming-item { display: grid; grid-template-columns: 55px 130px 1fr 24px; gap: 15px; align-items: center; padding: 15px 5px; border-bottom: 1px solid #cfd7cd; text-decoration: none; }
.upcoming-item time { display: flex; align-items: baseline; gap: 6px; color: var(--pine); }
.upcoming-item time strong { font-family: "Barlow Condensed", sans-serif; font-size: 26px; line-height: 1; }
.upcoming-item time span { font-size: 10px; font-weight: 700; }
.upcoming-kind { color: var(--muted); font-size: 11px; font-weight: 700; }
.kind-camp { color: #315a6a; }.kind-competition { color: #a44834; }.kind-meeting { color: #80641c; }
.upcoming-name { font-family: "Barlow Condensed", sans-serif; font-size: 20px; font-weight: 600; }
.upcoming-item > i { color: var(--pine); }
.upcoming-item:hover .upcoming-name { color: var(--pine); }
.sponsor-band { overflow: hidden; padding: 22px 0 25px; border-top: 1px solid var(--line); background: var(--white); }
.sponsor-heading-wrap { margin-bottom: 14px; }
.sponsor-heading { margin: 0; color: var(--muted); font-size: 10px; font-weight: 700; text-align: center; text-transform: uppercase; }
.sponsor-marquee { overflow: hidden; }
.sponsor-track { display: flex; width: max-content; animation: sponsor-scroll 88s linear infinite; }
.sponsor-list { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 64px; min-width: 100vw; box-sizing: border-box; margin: 0; padding: 0 32px; list-style: none; }
.sponsor-item { display: grid; min-width: 120px; height: 58px; place-items: center; }
.sponsor-item a { display: grid; height: 100%; place-items: center; }
.sponsor-logo { display: block; width: auto; max-width: 180px; height: 52px; object-fit: contain; }
.sponsor-item a:hover { opacity: .75; }
@keyframes sponsor-scroll { to { transform: translateX(-50%); } }
.site-footer { padding: 22px 0; background: var(--pine-deep); color: #cfddd3; font-size: 12px; }
.detail-page { max-width: 900px; min-height: 70vh; padding-top: 35px; padding-bottom: 70px; }
.back-link { display: inline-block; margin-bottom: 25px; color: var(--pine); font-size: 13px; font-weight: 600; text-decoration: none; }
.back-link i { margin-right: 6px; }
.detail-heading { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.detail-heading h1 { margin: 5px 0 8px; font-family: "Barlow Condensed", sans-serif; font-size: 42px; font-weight: 600; line-height: 1.05; }
.detail-heading .section-kicker { margin-bottom: 8px; }
.detail-intro { margin: 0; color: var(--muted); line-height: 1.8; }
.event-description { margin: 22px 0; line-height: 1.7; }
.event-specs { display: flex; flex-wrap: wrap; gap: 22px; padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.event-specs strong { color: var(--pine); font-family: "Barlow Condensed", sans-serif; font-size: 22px; }
.route-line { display: flex; align-items: center; gap: 9px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.route-line > i { color: var(--pine); font-size: 18px; }.route-line a { margin-left: auto; color: var(--pine); font-size: 13px; font-weight: 700; text-decoration: none; }
.date-weather { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 18px 0; padding: 13px 15px; background: var(--mint); color: var(--pine-deep); font-size: 13px; }
.date-weather > i { font-size: 20px; }.date-weather span { color: var(--muted); }
.detail-section-heading { margin: 35px 0 14px; }
.group-list { display: grid; gap: 12px; }
.group-panel { padding: 17px; border: 1px solid var(--line); background: var(--white); }
.group-panel-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.group-panel h3 { margin: 0; font-family: "Barlow Condensed", sans-serif; font-size: 22px; font-weight: 600; }
.driver-confirmed { color: var(--pine); font-family: "Barlow Condensed", sans-serif; font-size: 24px; font-weight: 600; line-height: 1.1; }.driver-confirmed i { margin-right: 4px; font-size: 16px; }.driver-missing { color: #a44834; font-size: 12px; font-weight: 700; }
.driver-form, .attendance-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: end; margin-top: 16px; }
.driver-form-actions { grid-column: span 2; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.driver-form label, .attendance-form label { display: grid; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 600; }
.driver-form input, .driver-form select, .attendance-form input, .attendance-form select { box-sizing: border-box; width: 100%; height: 39px; padding: 7px 9px; border: 1px solid #cbd4ca; border-radius: 2px; background: white; color: var(--ink); font: inherit; font-size: 13px; }
.btn-forest { background: var(--pine); color: white; }.btn-forest:hover { background: var(--pine-deep); color: white; }
.btn-outline-forest { border-color: var(--pine); color: var(--pine); }.btn-outline-forest:hover { background: var(--pine); color: white; }
.attendance-summary { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 18px; color: var(--muted); font-size: 11px; }.attendance-summary strong { color: var(--pine); }
.attendance-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 20px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 12px; }
.attendance-list li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid #edf0e9; }.attendance-list li span { color: var(--muted); }
.response-present { color: var(--pine) !important; }.response-absent { color: #a44834 !important; }
.attendance-form { grid-template-columns: 1fr 1fr 1fr auto; padding-top: 15px; border-top: 1px solid var(--line); }
.date-event { display: grid; grid-template-columns: 86px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.date-event-time { color: var(--pine); font-family: "Barlow Condensed", sans-serif; font-size: 23px; }
.date-event h2 { margin: 2px 0; font-family: "Barlow Condensed", sans-serif; font-size: 24px; }.date-event h2 a { text-decoration: none; }
.date-event p { margin: 0; color: var(--muted); font-size: 12px; }
.date-event .group-chip { border-color: var(--line); color: var(--muted); }
.message-stack { padding-top: 12px; }

@media (max-width: 767.98px) {
  .brand-logo { height: 42px; }
  .display-heading { font-size: 46px; }
  .section-block { padding-top: 42px; padding-bottom: 42px; }
  .today-event { grid-template-columns: 51px minmax(0, 1fr) 28px; gap: 9px; padding: 14px 0; }
  .event-time { font-size: 19px; }.event-title { font-size: 21px; }
  .driver-confirmed { font-size: 21px; }
  .weather-today { margin-top: 8px; }
  .section-heading h2, .detail-section-heading h2 { font-size: 31px; }
  .calendar-day { min-height: 75px; padding: 5px 3px; }
  .calendar-weekday { padding: 9px 1px; font-size: 9px; }
  .calendar-event { padding: 3px 2px; border-left-width: 2px; font-size: 9px; }
  .calendar-event .calendar-event-name { max-height: 24px; white-space: normal; }
  .upcoming-item { grid-template-columns: 48px 87px 1fr 18px; gap: 8px; }
  .upcoming-kind { font-size: 10px; }.upcoming-name { font-size: 18px; }
  .driver-form { grid-template-columns: 1fr 1fr; }
  .attendance-form { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .calendar-toolbar { gap: 15px; }.calendar-toolbar h3 { min-width: 150px; font-size: 23px; }
  .calendar-day { min-height: 62px; }.calendar-events { gap: 2px; }
  .calendar-event .calendar-event-name { max-height: 12px; overflow: hidden; }
  .calendar-event .calendar-event-driver-missing { font-size: 7px; }
  .upcoming-item { grid-template-columns: 42px 1fr 18px; }.upcoming-kind { display: none; }
  .detail-heading h1 { font-size: 36px; }
  .group-panel { padding: 12px; }
  .date-event { grid-template-columns: 60px 1fr; gap: 8px; }
  .sponsor-list { gap: 42px; }
  .sponsor-logo { max-width: 145px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .sponsor-track { animation: none; }
}