.na-sp {
  --nas-ink: #21334f;
  --nas-muted: #5c6e89;
  --nas-line: #d9e2f4;
  --nas-accent: #3f61ba;
  --nas-accent-dark: #2d478b;
  --nas-soft: #edf2fc;
  --nas-shadow: 0 12px 40px rgb(36 65 122 / 7%);
  max-width: 1280px;
  margin: 0 auto 72px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--nas-ink);
}
.na-sp * { box-sizing: border-box; }
.na-sp a { text-decoration: none; }
.na-sp a:focus-visible,
.na-sp button:focus-visible,
.na-sp input:focus-visible,
.na-sp select:focus-visible,
.na-sp summary:focus-visible {
  outline: 3px solid #8ca5e3;
  outline-offset: 2px;
}
.na-sp-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 30px 34px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(115deg,#304f9d,#3f61ba);
}
.na-sp-hero h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(26px,3vw,39px);
  font-weight: 700;
  line-height: 1.14;
}
.na-sp-eyebrow {
  margin: 0 0 10px;
  color: #dce6ff;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 11px;
  font-weight: 700;
}
.na-sp-hero .na-sp-intro {
  max-width: 620px;
  margin: 0;
  color: #edf2ff;
  font-size: 14px;
}
.na-sp-timebox {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  flex-direction: column;
  padding: 12px 20px;
  min-width: 165px;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 15px;
  background: rgb(255 255 255 / 9%);
}
.na-sp-timebox span { font-size: 12px; color: #edf2ff; }
.na-sp-timebox strong { color: #fff; font-size: 30px; line-height: 1.15; font-variant-numeric: tabular-nums; }
.na-sp-timebox small { color: #dce6ff; }
.na-sp-notice {
  margin: 18px 0 25px;
  padding: 13px 17px;
  border-radius: 11px;
  border: 1px solid var(--nas-line);
  background: #f7f9ff;
  color: var(--nas-muted);
  font-size: 13px;
}
.na-sp-notice a {
  display: inline-block;
  margin-left: 5px;
  color: var(--nas-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.na-sp-toolbar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.na-sp-views {
  display: inline-flex;
  align-items: center;
  padding: 5px;
  border: 1px solid var(--nas-line);
  background: #f2f5fc;
  border-radius: 11px;
  gap: 3px;
}
.na-sp-views a {
  padding: 9px 19px;
  color: var(--nas-muted);
  border-radius: 8px;
  font-weight: 650;
  font-size: 14px;
}
.na-sp-views a.is-active { background: #fff; color: var(--nas-accent-dark); box-shadow: 0 2px 8px rgb(36 65 122 / 11%); }
.na-sp-views a:hover { color: var(--nas-accent-dark); }
.na-sp-period { display: flex; align-items: center; gap: 10px; }
.na-sp-period strong { font-size: 16px; color: var(--nas-ink); min-width: 170px; text-align: center; text-transform: capitalize; }
.na-sp-arrow {
  display: inline-flex; justify-content: center; align-items: center;
  width: 34px; height: 34px;
  border-radius: 9px; border: 1px solid var(--nas-line);
  color: var(--nas-ink); font-size: 25px; font-weight: 500;
}
.na-sp-arrow:hover { background: var(--nas-soft); color: var(--nas-accent); }
.na-sp-today {
  border: 1px solid var(--nas-accent);
  border-radius: 9px;
  padding: 8px 13px;
  color: var(--nas-accent);
  font-weight: 650;
  font-size: 13px;
}
.na-sp-today:hover { background: var(--nas-soft); color: var(--nas-accent); }
.na-sp-filters {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) repeat(3,minmax(0,1fr)) auto;
  align-items: end;
  gap: 12px;
  padding: 19px;
  border: 1px solid var(--nas-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--nas-shadow);
}
.na-sp-filters > .na-sp-field { min-width: 0; max-width: 100%; }
.na-sp-field--search { min-width: 0; }
.na-sp-filters .na-sp-field--search input[type="search"] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
}
.na-sp-field label {
  display: block; margin: 0 0 7px;
  color: var(--nas-ink);
  font-size: 12px; font-weight: 700;
}
.na-sp-field input,
.na-sp-field select {
  display: block;
  width: 100%; max-width: none;
  height: 44px; min-height: 44px;
  margin: 0; padding: 8px 11px;
  border: 1px solid #cbd7ed;
  border-radius: 9px;
  background: #fff;
  color: var(--nas-ink);
  font: inherit;
  font-size: 14px;
  box-shadow: none;
}
.na-sp-field input::placeholder { color: #8191ad; }
.na-sp-field input:focus,
.na-sp-field select:focus { border-color: var(--nas-accent); }
.na-sp-filter-actions { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.na-sp-filter-actions button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-width: 115px; height: 44px;
  padding: 9px 15px; margin: 0;
  border: 0; border-radius: 9px;
  color: #fff; background: var(--nas-accent);
  font: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
  text-transform: none; box-shadow: none;
}
.na-sp-filter-actions button:hover { background: var(--nas-accent-dark); color: #fff; }
.na-sp-filter-actions a { color: var(--nas-muted); font-size: 12px; text-decoration: underline; }
.na-sp-results {
  display: flex; align-items: baseline; gap: 5px;
  margin: 25px 0 13px; color: var(--nas-ink);
  font-size: 17px; font-weight: 650;
}
.na-sp-results strong { font-size: 24px; font-variant-numeric: tabular-nums; }
.na-sp-results span { margin-left: 6px; font-size: 13px; font-weight: 400; color: var(--nas-muted); }
.na-sp-days { display: grid; gap: 12px; }
.na-sp-days--day { grid-template-columns: minmax(0,1fr); }
.na-sp-days--week { grid-template-columns: repeat(7,minmax(0,1fr)); }
.na-sp-days--month { grid-template-columns: repeat(7,minmax(0,1fr)); gap: 7px; }
.na-sp-day {
  min-width: 0;
  border: 1px solid var(--nas-line);
  border-radius: 13px;
  background: #fff;
  padding: 12px;
}
.na-sp-day.is-today { border-color: #8ca5e3; background: #f4f7ff; }
.na-sp-day.is-empty { background: #fafbfe; }
.na-sp-day-heading {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 10px; margin-bottom: 12px;
  border-bottom: 1px solid var(--nas-line);
  color: var(--nas-ink);
  font-weight: 750; text-transform: capitalize;
}
.na-sp-day-heading:hover { color: var(--nas-accent); }
.na-sp-day-heading small { color: var(--nas-muted); font-weight: 500; }
.na-sp-day-items {
  display: grid;
  gap: 6px;
  container: na-schedule-list / inline-size;
}
.na-sp .na-sp-event {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--nas-line);
  border-left: 3px solid var(--nas-accent);
  border-radius: 8px;
  background: var(--nas-soft);
}
.na-sp .na-sp-event:nth-child(even) { background: #fff; }
.na-sp .na-sp-details { margin: 0; padding: 0; border: 0; min-width: 0; }
.na-sp .na-sp-event-row {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr) max-content max-content;
  align-items: center;
  column-gap: 16px;
  row-gap: 6px;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 8px 12px;
  list-style: none;
  cursor: pointer;
  color: var(--nas-ink);
}
.na-sp .na-sp-event-row::-webkit-details-marker { display: none; }
.na-sp .na-sp-event-row::marker { content: ''; }
.na-sp .na-sp-event-time {
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  color: var(--nas-accent-dark);
  font-variant-numeric: tabular-nums;
}
.na-sp .na-sp-event-time strong { font-size: 15px; font-weight: 700; white-space: nowrap; }
.na-sp .na-sp-event-time > span { color: var(--nas-muted); font-size: 12px; line-height: 1.35; }
.na-sp .na-sp-event-title {
  min-width: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.na-sp .na-sp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; min-width: 0; }
.na-sp .na-sp-platform {
  display: inline-flex;
  padding: 3px 7px;
  border: 1px solid #cbd7ed;
  border-radius: 5px;
  background: #fff;
  color: var(--nas-accent-dark);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  white-space: nowrap;
}
.na-sp .na-sp-details-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--nas-accent-dark);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.na-sp .na-sp-event-row,
.na-sp .na-sp-event-row:hover,
.na-sp .na-sp-details-label,
.na-sp .na-sp-chevron { text-decoration: none; }
.na-sp .na-sp-event-row:hover .na-sp-details-label { color: var(--nas-accent); }
.na-sp .na-sp-chevron { display: inline-flex; flex: 0 0 20px; width: 20px; height: 20px; align-items: center; justify-content: center; line-height: 0; transition: transform .15s; }
.na-sp .na-sp-chevron svg { display: block; width: 20px; height: 20px; }
.na-sp .na-sp-details[open] .na-sp-chevron { transform: rotate(180deg); }
.na-sp .na-sp-description {
  margin: 0 12px;
  padding: 12px 0;
  border-top: 1px solid var(--nas-line);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.na-sp-description p { margin: 0 0 9px; }
.na-sp-description a { color: var(--nas-accent-dark); text-decoration: underline; }
.na-sp-description img { max-width: 100%; height: auto; }
/* Narrow calendar cells and phones keep the same order, without horizontal scrolling. */
@container na-schedule-list (max-width: 700px) {
  .na-sp .na-sp-event-row { grid-template-columns: 108px minmax(0,1fr); column-gap: 10px; }
  .na-sp .na-sp-event-time { grid-column: 1; grid-row: 1; }
  .na-sp .na-sp-event-title { grid-column: 2; grid-row: 1; }
  .na-sp .na-sp-meta { grid-column: 1; grid-row: 2; }
  .na-sp .na-sp-details-label { grid-column: 2; grid-row: 2; }
}
@container na-schedule-list (max-width: 280px) {
  .na-sp .na-sp-event-row { grid-template-columns: minmax(0,1fr) auto; padding: 8px; gap: 6px; }
  .na-sp .na-sp-event-time { grid-column: 1; grid-row: 1; flex-wrap: wrap; }
  .na-sp .na-sp-meta { grid-column: 2; grid-row: 1; }
  .na-sp .na-sp-event-title { grid-column: 1 / -1; grid-row: 2; font-size: 12px; }
  .na-sp .na-sp-details-label { grid-column: 1 / -1; grid-row: 3; font-size: 11px; }
  .na-sp .na-sp-event-time strong { font-size: 13px; }
  .na-sp .na-sp-event-time > span { font-size: 11px; }
}
.na-sp-no-events { margin: 0; font-size: 12px; color: #8996ac; }
.na-sp-weekday { text-align: center; font-weight: 700; color: var(--nas-muted); font-size: 12px; padding: 4px; }
.na-sp-blank { min-height: 10px; }
.na-sp-days--month .na-sp-day { border-radius: 9px; padding: 8px; min-height: 84px; }
.na-sp-days--month .na-sp-day-heading { margin-bottom: 6px; padding-bottom: 6px; }
.na-sp-empty {
  text-align: center;
  padding: 42px 20px;
  background: #f7f9ff;
  border: 1px solid var(--nas-line);
  border-radius: 14px;
}
.na-sp-empty strong { display: block; font-size: 19px; color: var(--nas-ink); }
.na-sp-empty p { max-width: 580px; margin: 10px auto 18px; color: var(--nas-muted); }
.na-sp-empty a { color: var(--nas-accent-dark); font-weight: 700; text-decoration: underline; }
.na-sp-footnote { margin: 22px 0 0; font-size: 12px; color: var(--nas-muted); }
@media(max-width:1199px) {
  .na-sp-filters { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .na-sp-field--search { grid-column: span 2; }
  .na-sp-filter-actions { grid-column: span 2; flex-direction: row; }
  .na-sp-filter-actions button { width: auto; }
  .na-sp-days--week { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media(max-width:767px) {
  .na-sp-hero { flex-direction: column; align-items: stretch; gap: 20px; padding: 23px; }
  .na-sp-timebox { flex-direction: row; align-items: center; gap: 12px; min-width: 0; }
  .na-sp-timebox strong { font-size: 25px; }
  .na-sp-toolbar { align-items: stretch; flex-direction: column; }
  .na-sp-views { align-self: stretch; justify-content: center; }
  .na-sp-views a { flex: 1; text-align: center; padding: 9px 10px; }
  .na-sp-period { justify-content: center; flex-wrap: wrap; }
  .na-sp-filters { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 15px; }
  .na-sp-field--search { grid-column: 1 / -1; }
  .na-sp-filter-actions { grid-column: 1 / -1; }
  .na-sp-days--week, .na-sp-days--month { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .na-sp-weekday, .na-sp-blank { display: none; }
  .na-sp-days--month .na-sp-day.is-empty { display: none; }
  .na-sp-days--month .na-sp-day { min-height: 0; padding: 12px; }
}
@media(max-width:479px) {
  .na-sp { font-size: 14px; }
  .na-sp-filters { grid-template-columns: minmax(0,1fr); }
  .na-sp-field--search, .na-sp-filter-actions { grid-column: auto; }
  .na-sp-filter-actions button { flex: 1; }
  .na-sp-days--week, .na-sp-days--month { grid-template-columns: minmax(0,1fr); }
  .na-sp-day { padding: 13px; }
  .na-sp-period strong { min-width: 150px; font-size: 14px; }
  .na-sp-notice a { display: block; margin: 4px 0 0; }
}

/* NA FILTER GRID V2: isolate form layout from WoodMart field sizing.
   Full-width search on its own row, equal-height controls on the next row. */
.na-sp .na-sp-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  column-gap: 12px;
  row-gap: 16px;
  width: 100%;
  min-width: 0;
}
.na-sp .na-sp-filters .na-sp-field {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-self: stretch;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}
.na-sp .na-sp-filters .na-sp-field--search {
  grid-column: 1 / -1;
}
.na-sp .na-sp-filters .na-sp-field label {
  display: block;
  flex: 0 0 auto;
  min-height: 18px;
  margin: 0 0 8px;
  line-height: 18px;
  font-size: 12px;
  font-weight: 700;
}
.na-sp .na-sp-filters .na-sp-field input[type="search"],
.na-sp .na-sp-filters .na-sp-field input[type="date"],
.na-sp .na-sp-filters .na-sp-field select {
  display: block;
  flex: 0 0 44px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  margin: 0;
  padding: 8px 11px;
  border: 1px solid #cbd7ed;
  border-radius: 9px;
  background: #fff;
  color: var(--nas-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  box-shadow: none;
}
.na-sp .na-sp-filters .na-sp-filter-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  grid-column: auto;
}
@media (max-width: 1199px) {
  .na-sp .na-sp-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .na-sp .na-sp-filters .na-sp-filter-actions {
    flex-direction: row;
  }
  .na-sp .na-sp-filters .na-sp-filter-actions button {
    flex: 1;
    width: auto;
  }
}
@media (max-width: 479px) {
  .na-sp .na-sp-filters {
    grid-template-columns: minmax(0, 1fr);
  }
  .na-sp .na-sp-filters .na-sp-filter-actions {
    grid-column: 1 / -1;
  }
}

/* NA CONNECTION DETAILS V1: wide desktop card only; narrow/mobile layout is unchanged. */
@media (min-width: 1024px) {
  @container na-schedule-list (min-width: 701px) {
    .na-sp .na-sp-details { --na-connection-width: clamp(224px, 30cqi, 360px); }
    .na-sp .na-sp-event-row {
      grid-template-columns: 124px minmax(0, 1fr) max-content var(--na-connection-width);
    }
    .na-sp .na-sp-description {
      width: var(--na-connection-width);
      max-width: calc(100% - 24px);
      margin-left: auto;
      margin-right: 12px;
      text-align: left;
    }
  }
}
.na-sp .na-sp-credentials { text-align: left; }
.na-sp .na-sp-credential {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  margin: 5px 0;
}
.na-sp .na-sp-credential-label { color: var(--nas-ink); }
.na-sp .na-sp-credential-value {
  display: inline;
  padding: 0;
  background: none;
  color: var(--nas-ink);
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  cursor: text;
  user-select: all;
}
.na-sp .na-sp-copy-passcode {
  min-width: 0;
  min-height: 28px;
  margin: 0;
  padding: 3px 7px;
  border: 1px solid #cbd7ed;
  border-radius: 5px;
  background: #fff;
  box-shadow: none;
  color: var(--nas-accent-dark);
  font: inherit;
  font-size: 11px;
  line-height: 20px;
  font-weight: 600;
  text-transform: none;
  cursor: pointer;
}
.na-sp .na-sp-copy-passcode[hidden] { display: none; }
.na-sp .na-sp-copy-passcode:hover { border-color: var(--nas-accent); background: #f4f7ff; }
.na-sp .na-sp-copy-status { color: var(--nas-accent-dark); font-size: 11px; }
.na-sp .na-sp-copy-status:empty { display: none; }
.na-sp-copy-buffer { position: fixed; left: -9999px; top: 0; width: 1px; height: 1px; padding: 0; border: 0; }

/* Cross-date search: ranked groups with upcoming dated occurrences. */
.na-sp .na-sp-search-context {
  margin: 16px 0 8px;
  padding: 12px 16px;
  border: 1px solid var(--nas-line);
  border-radius: 10px;
  color: var(--nas-muted);
  background: #f6f8ff;
  font-size: 13px;
}
.na-sp .na-sp-search-limit {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--nas-muted);
}
.na-sp .na-sp-search-list { display: grid; gap: 18px; min-width: 0; }
.na-sp .na-sp-search-group {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--nas-line);
  border-radius: 13px;
  background: #fff;
}
.na-sp .na-sp-search-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 15px;
  padding-bottom: 11px;
  margin-bottom: 11px;
  border-bottom: 1px solid var(--nas-line);
}
.na-sp .na-sp-search-group-head h3 {
  margin: 0;
  color: var(--nas-ink);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 750;
}
.na-sp .na-sp-search-group-head span,
.na-sp .na-sp-search-no-dates { color: var(--nas-muted); font-size: 12px; }
.na-sp .na-sp-search-events { display: grid; gap: 7px; min-width: 0; }
.na-sp .na-sp-search-event {
  display: grid;
  grid-template-columns: 166px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-width: 0;
}
.na-sp .na-sp-search-event-date {
  padding: 12px 0 0;
  color: var(--nas-accent-dark);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}
.na-sp .na-sp-search-event-card {
  min-width: 0;
  container: na-schedule-list / inline-size;
}
.na-sp .na-sp-search-event:nth-child(even) .na-sp-event { background: #fff; }
@media (max-width: 767px) {
  .na-sp .na-sp-search-group { padding: 12px; }
  .na-sp .na-sp-search-event { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .na-sp .na-sp-search-event-date { padding: 5px 0 0; }
  .na-sp .na-sp-search-group-head h3 { font-size: 16px; }
}

/* PUBLIC-BETA PREVIEW, LOCAL only. Informational, not a dismissible ad.
   All selectors scoped; no overrides to WoodMart's global styles. */
.na-sp .na-sp-beta-banner {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 15px;
  padding: 20px 23px;
  margin: 0 0 18px;
  background: #f4f7ff;
  border: 1px solid #bacbf1;
  border-left: 4px solid #3f61ba;
  border-radius: 12px;
  color: #263b60;
}
.na-sp .na-sp-beta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: #3f61ba;
  font-weight: 700;
  font-size: 17px;
  font-family: Georgia, serif;
}
.na-sp .na-sp-beta-body { min-width: 0; }
.na-sp .na-sp-beta-title {
  margin: 0 0 7px;
  color: #263b60;
  font-weight: 750;
  font-size: 17px;
  line-height: 1.35;
}
.na-sp .na-sp-beta-copy {
  margin: 0 0 10px;
  color: #354c70;
  font-size: 14px;
  line-height: 1.6;
}
.na-sp .na-sp-beta-feedback {
  margin: 0 0 12px;
  color: #354c70;
  font-size: 13px;
}
.na-sp .na-sp-beta-feedback--pending { color: #687a98; }
.na-sp .na-sp-beta-feedback a {
  color: #2d478b;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.na-sp .na-sp-beta-back {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid #3f61ba;
  border-radius: 8px;
  color: #2d478b;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}
.na-sp .na-sp-beta-back:hover { background: #e9efff; color: #2d478b; }
.na-sp .na-sp-beta-back:focus-visible,
.na-sp-legacy-tryout a:focus-visible {
  outline: 3px solid #8ca5e3;
  outline-offset: 3px;
}
/* Links carried forward from the published legacy online-groups page.
   Rendered just below the beta banner; never affects the old calendar. */
.na-sp .na-sp-support {
  margin: 0 0 20px;
  padding: 18px;
  border: 1px solid #d8e3f6;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 18px rgb(36 65 122 / 6%);
}
.na-sp .na-sp-support-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.na-sp .na-sp-support-info-item {
  min-width: 0;
  padding: 15px 17px;
  border: 1px solid #e2eaf9;
  border-radius: 10px;
  background: #f6f9ff;
}
.na-sp .na-sp-support-question {
  margin: 0 0 7px;
  color: #263b60;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}
.na-sp .na-sp-support-info-item a {
  color: #2d61aa;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.na-sp .na-sp-support-info-item a:hover { color: #234d89; }
.na-sp .na-sp-support-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.na-sp .na-sp-support-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  min-height: 76px;
  margin: 0;
  padding: 15px 19px;
  border: 1px solid #287dbe;
  border-radius: 11px;
  background: linear-gradient(120deg, #168ed0 0%, #3374b8 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 5px 12px rgb(29 89 155 / 13%);
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.na-sp .na-sp-support-link:hover {
  background: linear-gradient(120deg, #1177b3 0%, #285d9b 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 7px 16px rgb(29 89 155 / 18%);
}
.na-sp .na-sp-support-link:focus-visible,
.na-sp .na-sp-support-info-item a:focus-visible {
  outline: 3px solid #8ca5e3;
  outline-offset: 3px;
}
.na-sp .na-sp-support-link-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.na-sp .na-sp-support-link-kind {
  color: #eaf5ff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}
.na-sp .na-sp-support-link-title {
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.na-sp .na-sp-support-link-arrow {
  flex: 0 0 auto;
  color: #fff;
  font-size: 21px;
  line-height: 1;
}
@media (max-width: 680px) {
  .na-sp .na-sp-support { padding: 13px; }
  .na-sp .na-sp-support-info,
  .na-sp .na-sp-support-links { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .na-sp .na-sp-support-info-item { padding: 12px 14px; }
  .na-sp .na-sp-support-link { min-height: 64px; padding: 13px 15px; }
  .na-sp .na-sp-support-link-title { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .na-sp .na-sp-support-link { transition: none; }
  .na-sp .na-sp-support-link:hover { transform: none; }
}

.na-sp-legacy-tryout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 5px 0 24px;
  padding: 14px 18px;
  border: 1px solid #cbd8f1;
  border-left: 4px solid #3f61ba;
  border-radius: 10px;
  color: #2a426a;
  background: #f4f7ff;
}
.na-sp-legacy-tryout .na-sp-legacy-tryout-text {
  display: flex;
  flex: 1 1 270px;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.na-sp-legacy-tryout .na-sp-legacy-tryout-text strong {
  color: #243e6b;
  font-size: 15px;
}
.na-sp-legacy-tryout .na-sp-legacy-tryout-text span {
  color: #566e91;
  font-size: 13px;
}
.na-sp-legacy-tryout > a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 9px 13px;
  border-radius: 8px;
  color: #fff;
  background: #3f61ba;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
}
.na-sp-legacy-tryout > a:hover { background: #2d478b; color: #fff; }
@media (max-width: 600px) {
  .na-sp .na-sp-beta-banner {
    padding: 16px;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 11px;
  }
  .na-sp .na-sp-beta-icon {
    width: 25px;
    height: 25px;
    font-size: 15px;
  }
  .na-sp .na-sp-beta-title { font-size: 15px; }
  .na-sp .na-sp-beta-copy { font-size: 13px; }
  .na-sp .na-sp-beta-back { width: 100%; justify-content: center; }
  .na-sp-legacy-tryout > a { width: 100%; justify-content: center; }
}


/* FILTER ACTIONS INLINE V1, 16.11.2026.
   The original blue submit button markup/rules are untouched.
   Reserve space in the outer form grid for its original desktop width. */
.na-sp .na-sp-filters .na-sp-filter-actions {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  column-gap: 10px;
  align-items: end;
  align-content: end;
  justify-content: stretch;
}
.na-sp .na-sp-filters .na-sp-filter-actions > a {
  display: inline-flex;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 9px 10px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  background: #b4232c;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}
.na-sp .na-sp-filters .na-sp-filter-actions > a:hover {
  color: #fff;
  background: #921d25;
  text-decoration: none;
}
.na-sp .na-sp-filters .na-sp-filter-actions > a:focus-visible {
  color: #fff;
  text-decoration: none;
}
/* Four-field day/week/month: 5+5+5+9 columns; the existing submit
   occupies approximately its old 1/4 width within the 9-unit action slot. */
@media (min-width: 1200px) {
  .na-sp .na-sp-filters--dated {
    grid-template-columns: repeat(3, minmax(0, 5fr)) minmax(0, 9fr);
  }
  /* Search has one fewer filter; maintain the same submit size. */
  .na-sp .na-sp-filters--search {
    grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 6fr);
  }
}
/* Tablet: keep the select and both actions on the same horizontal row.
   Other controls keep their normal two-column footprint. */
@media (min-width: 650px) and (max-width: 1199px) {
  .na-sp .na-sp-filters--dated {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .na-sp .na-sp-filters--dated > .na-sp-field--platform {
    grid-column: 1 / 3;
    grid-row: 2;
  }
  .na-sp .na-sp-filters--dated > .na-sp-field--date {
    grid-column: 3 / 5;
    grid-row: 2;
  }
  .na-sp .na-sp-filters--dated > .na-sp-field--group {
    grid-column: 1 / 2;
    grid-row: 3;
  }
  .na-sp .na-sp-filters--dated > .na-sp-filter-actions {
    grid-column: 2 / 5;
    grid-row: 3;
  }
  .na-sp .na-sp-filters--search > .na-sp-filter-actions {
    grid-column: 1 / -1;
    width: 75%;
    justify-self: end;
  }
}
/* Narrow screens: retain single-row buttons, without overflow. */
@media (min-width: 480px) and (max-width: 649px) {
  .na-sp .na-sp-filters .na-sp-filter-actions {
    grid-column: 1 / -1;
    grid-row: auto;
    width: 75%;
    justify-self: end;
  }
}
@media (max-width: 479px) {
  .na-sp .na-sp-filters .na-sp-filter-actions {
    grid-column: 1 / -1;
    grid-row: auto;
    width: 100%;
  }
}
