/* RunShake Discover 2.0 — navigation, race views and organizer workflow. */
:root {
  --rs8-ink: #161d27;
  --rs8-soft: #f5f7f9;
  --rs8-line: #e3e8ed;
  --rs8-red: #e82d48;
}
.rs4-desktop-links a[aria-current="page"] {
  font-weight: 800;
}
.rs8-view-nav {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  margin-top: 26px;
  box-shadow: 0 10px 24px rgba(9, 16, 22, 0.09);
}
.rs8-view-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  border-radius: 11px;
  padding: 12px 22px;
  color: #e7ebef;
  min-height: 44px;
  transition:
    background 0.17s,
    color 0.17s;
}
.rs8-view-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}
.rs8-view-nav a[aria-current="page"] {
  background: white;
  color: #17202a;
  font-weight: 800;
}
.rs8-list-intro {
  padding: 0 0 6px;
}
.rs8-list-intro .rs4-discovery-top {
  margin-bottom: 22px;
}
.rs8-list-intro .rs4-discovery-top p {
  max-width: 680px;
}
.rs4-filter-form > label,
.rs8-map-controls > label,
.rs8-map-controls > .rs8-field label {
  font-size: 13px !important;
  font-weight: 650 !important;
  line-height: 1.4;
  color: #596475 !important;
  letter-spacing: 0 !important;
}
.rs4-filter-form input:not([type="checkbox"]),
.rs4-filter-form select,
.rs8-map-controls input,
.rs8-map-controls select {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #1d2835 !important;
  min-height: 49px;
  border-radius: 13px;
}
.rs4-filter-form input::placeholder,
.rs8-map-controls input::placeholder {
  color: #88949e;
  font-weight: 450;
}
.rs4-filter-form label.rs4-check {
  font-size: 13px !important;
  font-weight: 550 !important;
}
.rs4-filter-form .rs4-reset {
  text-decoration: none;
  border-radius: 12px;
  padding: 10px 14px;
  background: #fff2f3;
}
.rs4-filter-form .rs4-reset:hover {
  background: #ffe4e8;
}
.rs4-catalog-wrap {
  padding-top: 42px !important;
}
.rs8-calendar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  background: #fff3f4;
  color: #b71b34;
  font-size: 12px;
  font-weight: 750;
  border: 1px solid #f7d9df;
  border-radius: 10px;
  padding: 9px 12px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.rs8-calendar:hover {
  background: #ffe3e9;
  border-color: #f0b2c0;
}
.rs4-race-card {
  position: relative;
  padding-bottom: 53px;
}
.rs4-race-card .rs8-calendar.rs8-card-calendar {
  position: absolute;
  right: 18px;
  bottom: 12px;
  padding: 7px 10px;
  font-size: 11px;
}
.rs8-event-actionbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 19px 0 0;
}
.rs8-event-actionbar .rs8-calendar {
  font-size: 14px;
  padding: 14px 18px;
  color: #fff;
  background: var(--rs8-red);
  border-color: var(--rs8-red);
  border-radius: 14px;
  box-shadow: 0 7px 20px #e82d4825;
}
.rs8-event-actionbar .rs8-calendar:hover {
  background: #bd1a36;
}
.rs8-event-actionbar .rs8-event-note {
  color: #687380;
  font-size: 12px;
}
.rs8-cal-dialog {
  border: 1px solid #e2e7ec;
  border-radius: 23px;
  padding: 0;
  width: min(530px, calc(100% - 26px));
  max-height: min(720px, 95vh);
  box-shadow: 0 35px 90px #0b17254a;
  color: var(--rs8-ink);
}
.rs8-cal-dialog::backdrop {
  background: #121c28a6;
  backdrop-filter: blur(5px);
}
.rs8-cal-form {
  padding: 28px;
  display: grid;
  gap: 16px;
}
.rs8-cal-dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}
.rs8-cal-dialog h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
.rs8-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 850;
  color: var(--rs8-red);
  letter-spacing: 1.3px;
}
.rs8-dialog-close {
  font-size: 26px;
  width: 38px;
  height: 38px;
  background: #f3f5f6;
  color: #334;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
}
.rs8-cal-event {
  padding: 14px 16px;
  margin: 0;
  background: #f3f7f6;
  border-radius: 14px;
  font-weight: 700;
}
.rs8-cal-help {
  font-size: 13px;
  color: #65717d;
  line-height: 1.7;
  margin: 0;
}
.rs8-cal-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.rs8-cal-times label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 750;
}
.rs8-cal-times input {
  min-height: 48px;
  border: 1px solid #dce2e7;
  border-radius: 12px;
  padding: 10px;
}
.rs8-cal-choices {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.rs8-cal-choices button {
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 750;
  font-size: 13px;
  flex: 1;
}
.rs8-secondary {
  border: 1px solid #dce2e7;
  background: white;
  color: #222c35;
}
.rs8-primary {
  border: 1px solid #161d27;
  background: #161d27;
  color: #fff;
}
.rs8-cal-choices button:hover {
  filter: brightness(0.94);
}

/* Monthly views use a bounded readable grid and a separate, accessible agenda. */
.rs8-calendars {
  padding-top: 40px;
  padding-bottom: 100px;
}
.rs8-month-toolbar {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: white;
  border: 1px solid var(--rs8-line);
  border-radius: 22px;
  padding: 20px 26px;
  margin-bottom: 20px;
  box-shadow: var(--rs6-shadow);
}
.rs8-toolbar-copy h2 {
  font-size: 24px;
  margin: 0 0 4px;
  letter-spacing: -0.035em;
}
.rs8-toolbar-copy p {
  margin: 0;
  color: #74808c;
  font-size: 13px;
}
.rs8-month-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rs8-month-actions button,
.rs8-month-actions select {
  min-height: 43px;
  background: #f5f7f9;
  color: #17212a;
  border: 1px solid #dfe5e9;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 650;
  padding: 10px 12px;
  cursor: pointer;
}
.rs8-month-actions button {
  min-width: 43px;
  font-size: 20px;
}
.rs8-month-actions button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.rs8-month-actions select {
  min-width: 190px;
  text-transform: capitalize;
}
.rs8-month {
  border: 1px solid var(--rs8-line);
  border-radius: 24px;
  background: white;
  overflow: hidden;
  box-shadow: var(--rs6-shadow);
  margin-bottom: 28px;
}
.rs8-month-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 21px 26px;
  gap: 18px;
  border-bottom: 1px solid var(--rs8-line);
  font-size: 25px;
  text-transform: capitalize;
  letter-spacing: -0.035em;
}
.rs8-month-title span {
  background: #f5f6f8;
  color: #67727d;
  border-radius: 99px;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  white-space: nowrap;
  text-transform: none;
}
.rs8-weekdays,
.rs8-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
}
.rs8-weekdays {
  background: #fbfcfd;
  border-bottom: 1px solid var(--rs8-line);
}
.rs8-weekdays span {
  text-align: center;
  font-size: 12px;
  font-weight: 750;
  color: #687480;
  padding: 13px 6px;
}
.rs8-day {
  border-right: 1px solid #edf0f3;
  border-bottom: 1px solid #edf0f3;
  min-width: 0;
  min-height: 133px;
  padding: 10px 9px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: background 0.15s;
}
.rs8-day:nth-child(7n) {
  border-right: 0;
}
.rs8-day:hover {
  background: #fafbfc;
}
.rs8-day.rs8-outside {
  background: #f9fafb;
}
.rs8-day.rs8-today .rs8-day-number {
  background: #e82d48;
  color: white;
}
.rs8-day.rs8-past {
  opacity: 0.65;
}
.rs8-day-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.rs8-day-number {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 750;
  color: #5b6772;
}
.rs8-day-count {
  background: #fff0f2;
  color: #b41c37;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 820;
  padding: 4px 7px;
}
.rs8-day-event {
  text-decoration: none;
  color: #293541;
  border-radius: 7px;
  border-left: 3px solid #ec546a;
  padding: 5px 6px;
  background: #fff4f6;
  line-height: 1.3;
  font-size: 11px;
  font-weight: 660;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rs8-day-event:hover {
  background: #ffe1e7;
}
.rs8-day-more {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 740;
  color: #aa1d37;
  text-decoration: none;
}
.rs8-month-foot {
  padding: 13px 25px;
  color: #73808c;
  font-size: 12px;
  line-height: 1.5;
  background: #fbfcfd;
}
.rs8-agenda {
  padding: 16px 24px 26px;
  border-top: 1px solid var(--rs8-line);
}
.rs8-agenda h3 {
  font-size: 18px;
  margin: 2px 0 15px;
  letter-spacing: -0.02em;
}
.rs8-agenda-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.rs8-agenda-card {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr);
  gap: 13px;
  background: #f8fafb;
  border: 1px solid #e9edf1;
  border-radius: 15px;
  padding: 13px;
}
.rs8-agenda-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  border-radius: 12px;
  color: #a61b32;
  background: #ffecef;
  font-weight: 840;
  font-size: 22px;
}
.rs8-agenda-date small {
  font-size: 10px;
  letter-spacing: 0.6px;
}
.rs8-agenda-copy {
  min-width: 0;
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 6px;
}
.rs8-agenda-copy > a:first-child {
  text-decoration: none;
  color: #1a2430;
  font-weight: 760;
  font-size: 14px;
  line-height: 1.35;
}
.rs8-agenda-copy > a:first-child:hover {
  color: #b71b34;
}
.rs8-agenda-copy small {
  color: #6b7781;
  font-size: 11px;
}
.rs8-agenda-copy .rs8-calendar {
  font-size: 11px;
  padding: 6px 9px;
}
.rs8-calendar-empty {
  padding: 35px 26px;
  text-align: center;
  color: #607080;
}
.rs8-cal-helpbox {
  font-size: 13px;
  color: #677683;
  padding: 14px 4px 0;
}

/* Single shared filter system for map and directory. */
.rs8-map-page {
  padding: 36px 0 85px;
}
.rs8-map-shell {
  border: 1px solid var(--rs8-line);
  background: white;
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--rs6-shadow);
}
.rs8-map-filter-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px;
  padding: 0 0 19px;
}
.rs8-map-filter-head h2 {
  font-size: 25px;
  letter-spacing: -0.035em;
  margin: 0 0 5px;
}
.rs8-map-filter-head p {
  font-size: 13px;
  color: #72808a;
  margin: 0;
  line-height: 1.6;
}
.rs8-map-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px 16px;
}
.rs8-map-controls > label {
  display: grid;
  gap: 7px;
}
.rs8-map-controls input:not([type="checkbox"]),
.rs8-map-controls select {
  width: 100%;
  padding: 12px 13px;
  background: #fafbfc;
  color: var(--rs8-ink);
  border: 1px solid #dce3e9;
  font-weight: 500;
  min-width: 0;
  font-size: 14px;
}
.rs8-map-filter-bottom {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}
.rs8-map-filter-bottom label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 550;
  color: #5e6a75;
}
.rs8-map-filter-bottom input {
  accent-color: var(--rs8-red);
  width: 18px;
  height: 18px;
}
.rs8-map-filter-bottom button {
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
  color: #b91d36;
  background: #fff0f2;
}
.rs8-map-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(265px, 0.8fr);
  gap: 18px;
  margin-top: 20px;
}
#rs8-map {
  min-width: 0;
  width: 100%;
  height: 575px;
  background: #e6eeeb;
  border: 1px solid #dce7e2;
  border-radius: 19px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.rs8-map-failure {
  padding: 20px;
  color: #4f6460;
  line-height: 1.8;
  max-width: 450px;
  text-align: center;
}
.rs8-map-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--rs8-line);
  border-radius: 19px;
  padding: 18px;
  background: #fafbfc;
  min-height: 0;
  max-height: 575px;
}
.rs8-map-side h3 {
  font-size: 19px;
  margin: 0;
  letter-spacing: -0.03em;
}
.rs8-map-side p {
  font-size: 12px;
  line-height: 1.6;
  color: #667583;
  margin: 0;
}
#rs8-map-results {
  display: grid;
  gap: 8px;
  overflow-y: auto;
  padding: 2px 3px 4px 0;
  min-height: 0;
}
.rs8-map-result {
  display: grid;
  gap: 5px;
  text-decoration: none;
  background: white;
  border: 1px solid #edf0f2;
  border-radius: 12px;
  padding: 11px 13px;
  color: #1d2730;
}
.rs8-map-result:hover {
  border-color: #efb5bf;
}
.rs8-map-result strong {
  font-size: 13px;
  line-height: 1.4;
}
.rs8-map-result small {
  color: #667782;
  font-size: 11px;
  line-height: 1.4;
}
.rs8-map-popup {
  max-width: 260px;
  font-size: 13px;
}
.rs8-map-popup ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  max-height: 240px;
  overflow: auto;
}
.rs8-map-popup li {
  border-top: 1px solid #e8ecef;
  padding: 7px 0;
}
.rs8-map-popup li a {
  font-weight: 700;
  color: #b51b34;
}
.rs8-map-popup li small {
  display: block;
  color: #64727c;
}
.rs8-map-meta {
  margin-top: 16px;
  padding: 0 3px;
  font-size: 12px;
  color: #687783;
  line-height: 1.7;
}
.rs8-map-meta a {
  color: #af1730;
  text-underline-offset: 3px;
}

/* Checklist: progress dashboard, stage timeline and concrete capabilities. */
.rs8-check-page .rs2-content {
  padding-top: 50px;
}
.rs8-check-page .rs2-check-intro {
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: start;
  margin-bottom: 24px;
}
.rs8-check-page .rs2-check-progress {
  background: #151e28;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 16px 35px #17222a20;
}
.rs8-check-page .rs2-check-progress strong {
  font-size: 40px;
  letter-spacing: -0.04em;
}
.rs8-check-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 15px;
  justify-content: space-between;
  margin: 0 0 23px;
  padding: 20px 23px;
  border-radius: 18px;
  border: 1px solid #e2e8ed;
  background: white;
}
.rs8-check-tools label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  color: #61707d;
  font-weight: 690;
}
.rs8-check-tools input {
  border: 1px solid #dae1e7;
  border-radius: 12px;
  min-height: 44px;
  width: min(390px, 76vw);
  padding: 11px 13px;
  font-size: 14px;
  color: #14212a;
}
.rs8-check-reset {
  background: #fff1f4;
  border: 1px solid #f3d4d9;
  color: #a71a34;
  border-radius: 12px;
  cursor: pointer;
  min-height: 44px;
  padding: 11px 15px;
  font-weight: 760;
}
.rs8-check-nav {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 0 0 26px;
}
.rs8-check-nav a {
  background: #f3f5f7;
  border: 1px solid #e0e6eb;
  color: #4e5e69;
  border-radius: 50px;
  padding: 11px 14px;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
}
.rs8-check-nav a:hover {
  color: #b71d39;
  background: #fff1f3;
  border-color: #f3c2cc;
}
.rs8-check-page .rs2-checklist {
  gap: 18px;
}
.rs8-check-page .rs2-check-group {
  border-radius: 24px;
  padding: 29px 32px;
  border: 1px solid #e2e8ed;
  box-shadow: var(--rs6-shadow);
  scroll-margin-top: 115px;
}
.rs8-check-page .rs2-check-group h2 {
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.rs8-check-page .rs2-check-group h2 > span {
  display: grid;
  place-items: center;
  background: #fff0f3;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  font-size: 14px;
  color: #bd1733;
}
.rs8-group-done {
  font-size: 12px;
  color: #5e7280;
  font-weight: 650;
  margin-left: auto;
}
.rs8-check-page .rs2-check-items {
  gap: 8px 15px;
}
.rs8-check-page .rs2-check-item {
  min-height: 56px;
  background: #f8fafb;
  border: 1px solid #edf0f2;
  border-radius: 11px;
  padding: 13px;
  align-items: center;
  font-weight: 500;
}
.rs8-check-page .rs2-check-item:hover {
  background: #f3f7f8;
}
.rs8-check-page .rs2-check-item:has(input:checked) {
  background: #f1f7f4;
  border-color: #d8e9df;
}
.rs8-check-feature {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid #d8e8e1;
  border-radius: 16px;
  background: linear-gradient(115deg, #f0f8f5, #f8fcfa);
}
.rs8-check-feature span {
  display: inline-block;
  font-size: 10px;
  font-weight: 850;
  color: #2d735f;
  letter-spacing: 1.1px;
  margin-bottom: 5px;
}
.rs8-check-feature h3 {
  font-size: 17px;
  letter-spacing: -0.02em;
  margin: 0 0 7px;
}
.rs8-check-feature p {
  font-size: 13px;
  line-height: 1.65;
  color: #4d665e;
  margin: 0 0 10px;
}
.rs8-check-feature a {
  font-size: 13px;
  font-weight: 800;
  color: #ad1730;
  text-underline-offset: 3px;
}
.rs8-check-foot {
  background: #151f28;
  color: white;
  padding: 27px;
  border-radius: 20px;
  margin: 33px 0;
}
.rs8-check-foot h2 {
  margin: 0 0 8px;
  color: white;
  font-size: 25px;
}
.rs8-check-foot p {
  font-size: 14px;
  color: #cad7df;
  line-height: 1.7;
}
.rs8-check-foot a {
  display: inline-flex;
  padding: 12px 18px;
  background: #f4f7f8;
  color: #19232d;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.rs8-check-foot a:hover {
  background: #fff;
}
.rs8-muted {
  color: #6a7885;
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 1050px) {
  .rs8-map-stage {
    grid-template-columns: minmax(0, 1fr);
  }
  #rs8-map {
    height: 470px;
  }
  .rs8-map-side {
    max-height: none;
  }
  #rs8-map-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rs8-map-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rs8-day {
    min-height: 113px;
    padding: 7px;
  }
  .rs8-day-event {
    font-size: 10px;
  }
}
@media (max-width: 760px) {
  .rs8-view-nav {
    width: 100%;
    justify-content: space-between;
  }
  .rs8-view-nav a {
    flex: 1;
    padding: 12px 10px;
    font-size: 13px;
  }
  .rs8-month-toolbar {
    padding: 16px;
  }
  .rs8-month-actions,
  .rs8-month-actions select {
    width: 100%;
  }
  .rs8-month-actions select {
    flex: 1;
    min-width: 0;
  }
  .rs8-weekdays,
  .rs8-month-grid {
    display: none;
  }
  .rs8-agenda {
    padding: 18px;
    border-top: 0;
  }
  .rs8-agenda-grid {
    grid-template-columns: 1fr;
  }
  .rs8-month-title {
    font-size: 21px;
    padding: 18px;
  }
  .rs8-calendars {
    padding-top: 25px;
  }
  .rs8-map-page {
    padding-top: 28px;
  }
  .rs8-map-controls {
    grid-template-columns: 1fr;
  }
  .rs8-map-shell {
    padding: 17px;
  }
  #rs8-map {
    height: 390px;
  }
  #rs8-map-results {
    grid-template-columns: 1fr;
  }
  .rs8-check-page .rs2-check-intro {
    grid-template-columns: 1fr;
  }
  .rs8-check-page .rs2-check-group {
    padding: 22px 18px;
  }
  .rs8-check-page .rs2-check-items {
    grid-template-columns: 1fr;
  }
  .rs8-check-tools {
    align-items: stretch;
  }
  .rs8-check-tools label,
  .rs8-check-tools input {
    width: 100%;
  }
  .rs8-event-actionbar {
    padding-top: 16px;
  }
}
@media print {
  .rs8-check-tools,
  .rs8-check-nav,
  .rs8-check-feature,
  .rs8-check-foot,
  .rs8-view-nav,
  .rs8-calendar,
  .rs8-cal-dialog {
    display: none !important;
  }
  .rs8-check-page .rs2-check-group {
    break-inside: avoid;
    border-radius: 0;
    box-shadow: none;
  }
  .rs8-check-page .rs2-check-item {
    background: white !important;
    border-color: #e5e5e5;
  }
  .rs8-check-page .rs2-check-progress {
    background: white !important;
    color: black !important;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  .rs8-check-page .rs2-check-progress > span {
    color: black !important;
  }
  .rs8-check-page .rs2-check-intro {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rs8-view-nav a,
  .rs8-calendar {
    transition: none;
  }
}

/* Historic racing archive — visible but subordinate to the current race filters. */
.rs10-archive-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #f0f6f4;
  border: 1px solid #d5e6dd;
  border-radius: 18px;
  padding: 18px 22px;
  margin: 14px 0 20px;
}
.rs10-archive-tools strong {
  display: block;
  margin: 0 0 4px;
  font-size: 15px;
  color: #183a32;
  font-weight: 800;
}
.rs10-archive-tools p {
  margin: 0;
  color: #476258;
  font-size: 13px;
  line-height: 1.55;
}
.rs10-archive-link {
  display: inline-flex;
  background: #163e34;
  color: #fff !important;
  font-weight: 760;
  font-size: 13px;
  padding: 12px 17px;
  text-decoration: none;
  border-radius: 11px;
  white-space: nowrap;
}
.rs10-archive-link:hover {
  background: #27634e;
}
.rs10-calendar-note {
  padding-top: 20px;
}
.rs10-calendar-note p {
  padding: 13px 19px;
  color: #456154;
  background: #ecf5f0;
  border-radius: 12px;
  border: 1px solid #dce9e1;
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .rs10-archive-tools {
    align-items: stretch;
    flex-direction: column;
  }
  .rs10-archive-link {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}
