/* RC13 course explorer: slim level bar, compact year choice and one course "ticket" (DESIGN.md price block). */
html[data-bnb-theme] .bnb-explorer--v2 { padding: clamp(10px, 2.4vw, 22px); }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-explorer-tabs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 14px;
  padding: 5px;
  border-radius: 14px;
  background: #102b4e;
}
html[data-bnb-theme] .bnb-explorer--v2 .bnb-explorer-tabs a {
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 4px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #cfdbe9 !important;
  text-align: center;
  box-shadow: none;
  transform: none;
}
html[data-bnb-theme] .bnb-explorer--v2 .bnb-explorer-tabs a:hover { background: rgba(255, 255, 255, .08); transform: none; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-explorer-tabs a[aria-selected="true"] { background: #e3b23c; color: #10213c !important; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-explorer-tabs svg { width: 20px; height: 20px; flex: 0 0 20px; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-explorer-tab-copy { align-items: center; gap: 0; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-explorer-tabs strong { font-size: 15px; line-height: 1.35; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-explorer-tabs .bnb-explorer-tab-copy span { font-size: 11px; line-height: 1.35; opacity: .85; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-explorer-tabs a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

html[data-bnb-theme] .bnb-explorer--v2 .bnb-explorer-tools { margin-bottom: 14px; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-explorer-tools > p { margin: 0 0 6px; font-size: 13px; color: var(--bnb-global-muted); }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-explorer-batches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 520px; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-explorer-batches a {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0 8px;
  align-items: center;
  min-height: 0;
  padding: 8px 12px;
  border: 1.5px solid var(--bnb-global-border);
  border-radius: 12px;
  background: transparent;
  color: var(--bnb-global-text) !important;
  text-decoration: none;
}
html[data-bnb-theme] .bnb-explorer--v2 .bnb-explorer-batches a i { grid-row: 1 / 3; width: 16px; height: 16px; border: 2px solid var(--bnb-global-muted); border-radius: 50%; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-explorer-batches a b { font-size: 16px; line-height: 1.35; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-explorer-batches a span { font-size: 12px; color: var(--bnb-global-muted); line-height: 1.4; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-explorer-batches a[aria-pressed="true"] { border-color: #c99416; background: rgba(227, 178, 60, .12); color: var(--bnb-global-text) !important; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-explorer-batches a[aria-pressed="true"] i { border: 5px solid #c99416; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-explorer-divisions { gap: 6px; margin-top: 10px; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-explorer-divisions span { font-size: 12px; padding: 2px 10px; border: 1px solid var(--bnb-global-border); border-radius: 9999px; line-height: 1.6; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-explorer-divisions .is-available { background: #102b4e; border-color: #102b4e; color: #fff; }

/* course ticket */
html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket { display: block; border: 1px solid var(--bnb-global-border); border-radius: 14px; overflow: hidden; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; margin: 0; padding: 7px 12px; background: #102b4e; color: #f4f1ea; font-size: 13px; font-weight: 600; line-height: 1.5; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket-head b { color: #f0c75a; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket-body { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket .bnb-explorer-art { width: 96px; border-radius: 10px; justify-self: start; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket .bnb-explorer-art img { object-fit: cover; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket h3 { margin: 0 0 6px; font-size: 18px; line-height: 1.35; color: var(--bnb-heading-text) !important; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket-text { margin: 0; font-size: 14px; line-height: 1.6; color: var(--bnb-global-muted) !important; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket .bnb-explorer-subjects { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket .bnb-explorer-subjects li { border: 0; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket .bnb-explorer-subjects a { display: inline-block; min-height: 0; padding: 2px 8px; border: 1px solid var(--bnb-global-border); border-radius: 8px; font-size: 12.5px; line-height: 1.6; color: var(--bnb-global-text) !important; text-decoration: none; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket .bnb-explorer-subjects a span { display: none; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket-price { padding: 0 12px; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket-price .bnb-price { margin: 0; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket .bnb-explorer-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0; padding: 12px; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket .bnb-explorer-primary { display: flex; justify-content: center; align-items: center; padding: 12px; border-radius: 11px; font-weight: 800; font-size: 16px; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket-links { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket-links a { padding: 0; font-weight: 700; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket .bnb-explorer-note { margin: 0; padding: 0 12px 12px; font-size: 12.5px; color: var(--bnb-global-muted) !important; }
html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket-solo { padding: 0 12px 12px; }

@media (min-width: 760px) {
  html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket-body { grid-template-columns: 150px minmax(0, 1fr); gap: 18px; padding: 16px; }
  html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket .bnb-explorer-art { width: 150px; }
  html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket-price { padding: 16px 16px 0 0; }
  html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket .bnb-explorer-actions { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; padding: 4px 16px 16px; }
  html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket .bnb-explorer-primary { padding: 12px 28px; }
  html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket-links { justify-content: flex-start; gap: 22px; }
  html[data-bnb-theme] .bnb-explorer--v2 .bnb-ticket .bnb-explorer-note { grid-column: 1 / -1; padding: 0 16px 14px; }
}
@media (max-width: 420px) {
  html[data-bnb-theme] .bnb-explorer--v2 .bnb-explorer-tabs strong { font-size: 14px; }
}
html[data-bnb-theme="dark"] .bnb-explorer--v2 .bnb-explorer-tabs,
html[data-bnb-theme="dark"] .bnb-explorer--v2 .bnb-ticket-head,
html[data-bnb-theme="dark"] .bnb-explorer--v2 .bnb-explorer-divisions .is-available { background: #0b1e3a; border-color: #304764; }
