/* Selector-only refinement. Review cards, images and tab behaviour stay intact. */
#results .review-selector__help {
  margin: 10px 0 0;
  color: var(--review-ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: normal;
}
#results .review-categories[role="tablist"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 14px;
}
#results .review-categories button[data-course="foundation"] { --choice-tint:#f0f9fe; --choice-active:#d9f0fb; --choice-border:#b8deed; --choice-accent:#126381; }
#results .review-categories button[data-course="intensive"] { --choice-tint:#f1f4fd; --choice-active:#e3eafa; --choice-border:#bdcce9; --choice-accent:#3d568f; }
#results .review-categories button[data-course="ebook"] { --choice-tint:#f0fbf8; --choice-active:#d8f3ec; --choice-border:#b8e3db; --choice-accent:#17695c; }
#results .review-categories button[data-course="civil"] { --choice-tint:#fff9ec; --choice-active:#f8e8c2; --choice-border:#e9d6aa; --choice-accent:#805a1e; }
#results .review-categories button[role="tab"] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 246px;
  padding: 18px 14px;
  border: 2px solid var(--choice-border);
  border-radius: 20px;
  background: linear-gradient(145deg, #fffdf9, var(--choice-tint));
  color: var(--review-ink);
  box-shadow: inset 0 1px 0 #fff, 0 7px 18px -15px #0f2a3840;
  cursor: pointer;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
#results .review-choice__mascot { display:block; flex:0 0 auto; width:70px; height:70px; object-fit:contain; border-radius:14px; margin-bottom:4px; }
#results .review-choice__name {
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  color: var(--review-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
#results .review-categories button small {
  min-height:42px;
  margin: 0;
  color: #4c6268;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}
#results .review-choice__cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  margin-top: 7px;
  color: var(--choice-accent);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}
#results .review-choice__cue svg { flex: 0 0 18px; width: 18px; height: 18px; }
#results .review-choice__cue--selected { display: none; }
#results .review-categories button[aria-selected="true"] {
  background: linear-gradient(145deg, var(--choice-tint), var(--choice-active));
  border-color: var(--choice-accent);
  box-shadow: inset 0 0 0 1px var(--choice-accent), inset 0 1px 0 #fff, 0 9px 22px -14px #0f2a3855;
}
#results .review-categories button[aria-selected="true"] .review-choice__cue--view { display: none; }
#results .review-categories button[aria-selected="true"] .review-choice__cue--selected { display: inline-flex; }
#results .review-categories button:focus-visible { outline: 3px solid var(--choice-accent); outline-offset: 4px; }
@media (hover:hover) {
  #results .review-categories button:hover { transform:translateY(-2px); border-color:var(--choice-accent); box-shadow:inset 0 0 0 1px var(--choice-accent), 0 10px 22px -14px #0f2a3855; }
}
@media (max-width: 860px) {
  #results .review-categories[role="tablist"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  #results .review-categories[role="tablist"] { gap: 10px; }
  #results .review-categories button[role="tab"] { min-height: 242px; padding: 14px 8px; }
  #results .review-choice__mascot { width:62px; height:62px; }
  #results .review-choice__name { font-size: 15px; }
  #results .review-categories button small { font-size: 13px; }
  #results .review-choice__cue { gap: 5px; font-size: 14px; }
}
@media (prefers-reduced-motion:reduce) {
  #results .review-categories button[role="tab"] { transition:none; transform:none; }
}
