/* Score overview and the detail page share the existing score components. */
.scores-main {
  max-width: 1600px;
  margin: 0 auto;
  padding: 28px 32px 48px;
}
.scores-back {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin: 0 0 25px;
  color: var(--purple);
  font: 700 18px/1.4 Arial, Helvetica, sans-serif;
  letter-spacing: .5px;
  text-decoration: none;
}
.scores-back > span { color: #111; }
.scores-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.scores-main > h1,
.scores-list-main > h1 {
  margin: 0 0 30px;
  color: #202b3d;
  font: 700 48px/1.15 var(--heading-font);
  letter-spacing: -1.3px;
  overflow-wrap: anywhere;
}
.scores-detail-panel {
  min-width: 0;
  padding: 24px 24px 30px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 7px #00000013;
}
.scores-detail-panel > h2 {
  margin: 0 0 14px;
  font: 700 34px/1.2 var(--heading-font);
  letter-spacing: -.8px;
}
.scores-detail-panel > .score-info { margin-bottom: 18px; font-size: 16px; line-height: 1.5; }
.scores-detail-panel > .score-info .icon { width: 24px; height: 24px; }
#best-heading { scroll-margin-top: 105px; }
.scores-list-main {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 32px 42px 50px;
  color: #202b3d;
  font: 400 16px/1.55 Arial, Helvetica, sans-serif;
}
.scores-list-main > h1 { margin-bottom: 24px; }
.scores-test-picker { width: min(100%, 260px); margin-bottom: 20px; }
.scores-test-picker label { display: block; margin-bottom: 4px; font-weight: 600; }
.scores-required { margin-left: 2px; color: #c3262e; }
.scores-test-picker select {
  width: 100%;
  min-height: 50px;
  padding: 12px 36px 12px 16px;
  border: 1px solid #999;
  border-radius: 6px;
  background: #fff;
  color: #242a31;
  font: inherit;
  box-shadow: 0 1px 2px #00000012;
}
.scores-test-picker select:focus-visible,
.scores-table-scroll:focus-visible { outline: 3px solid #7770d7; outline-offset: 3px; }
.scores-list-main h2 { margin: 0 0 8px; font: 700 21px/1.35 Arial, Helvetica, sans-serif; letter-spacing: -.6px; }
.scores-list-main .score-info { margin-bottom: 20px; font-size: 15px; line-height: 1.5; }
.scores-list-main .score-info .icon { width: 21px; height: 21px; }
.scores-table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.scores-list-table { width: 100%; min-width: 850px; border-collapse: collapse; table-layout: fixed; text-align: left; font-size: 15px; line-height: 1.5; }
.scores-col-test { width: 19%; }
.scores-col-date { width: 15%; }
.scores-col-expiry { width: 26%; }
.scores-col-status { width: 15%; }
.scores-col-actions { width: 25%; }
.scores-list-table thead { color: #fff; background: #3e387e; }
.scores-list-table th { padding: 17px 16px; font-weight: 700; }
.scores-list-table td { padding: 12px 16px 15px; vertical-align: top; overflow-wrap: anywhere; }
.scores-list-table strong { font-weight: 600; }
.scores-list-appointment { display: block; }
.scores-ready-badge { display: inline-block; max-width: 100%; padding: 3px 10px; color: #111; border: 1px solid #111; border-radius: 20px; font-size: 12px; line-height: 1.5; font-weight: 700; white-space: nowrap; }
.scores-list-links a { display: block; width: fit-content; text-underline-offset: 2px; }
.scores-list-links a + a { margin-top: 7px; }
.scores-status-note { display: flex; align-items: center; gap: 9px; margin: 4px 16px 9px; padding: 8px 10px; border-radius: 6px; background: #c5effc; font-size: 14px; }
.scores-status-note .icon { width: 24px; height: 24px; color: #080808; }
.scores-status-note p { margin: 0; }
.scores-best-action { padding: 20px 0; border-top: 1px solid #d4d4d4; border-bottom: 1px solid #d4d4d4; }
.scores-best-link { display: inline-flex; align-items: center; gap: 15px; max-width: 100%; padding: 8px 20px; color: white; background: #3e387e; font-size: 16px; line-height: 1.4; font-weight: 700; text-decoration: none; }
.scores-best-link:hover { background: #4e478e; }
.scores-best-link > span { min-width: 0; overflow-wrap: anywhere; }
.scores-best-link em { white-space: nowrap; }
.scores-best-link sup { font-size: .65em; }
.scores-best-ribbon { width: 21px; height: 35px; color: #ff895c; flex-shrink: 0; }
.scores-best-arrow { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; flex-shrink: 0; }
.scores-review { padding-top: 22px; }
.scores-review ul { padding-left: 21px; margin: 22px 0; font-size: 15px; line-height: 1.75; }
.scores-review a { text-underline-offset: 2px; }
.scores-review-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; max-width: 100%; padding: 10px 20px; border: 1px solid var(--purple); background: #fff; color: var(--purple); font: 700 15px/1.4 var(--heading-font); }
.scores-review-button:hover { background: #f3f2fc; }
.scores-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (min-width: 1000px) {
  .scores-main { margin: 0 auto; padding: 28px 40px 48px; }
}
@media (max-width: 699px) {
  .scores-main { padding: 24px 16px 36px; }
  .scores-back { margin-bottom: 20px; font-size: 15px; }
  .scores-main > h1, .scores-list-main > h1 { font-size: 36px; margin-bottom: 24px; letter-spacing: -.8px; }
  .scores-detail-panel { padding: 18px 0 24px; box-shadow: none; }
  .scores-detail-panel > h2 { font-size: 30px; }
  .scores-detail-panel > .score-info { font-size: 14px; }
  .scores-detail-panel > .score-info .icon { width: 21px; height: 21px; }
  .scores-list-main { padding: 25px 18px 36px; }
  .scores-test-picker { width: 100%; max-width: 300px; }
  .scores-list-main h2 { font-size: 20px; }
  .scores-list-main .score-info { font-size: 14px; }
  .scores-list-table { min-width: 850px; font-size: 14px; }
  .scores-status-note { margin: 9px 0 12px; align-items: flex-start; font-size: 13px; }
  .scores-status-note .icon { margin-top: 1px; }
  .scores-best-link { width: 100%; gap: 10px; padding: 9px 12px; font-size: 14px; }
  .scores-best-arrow { margin-left: auto; }
  .scores-review ul { font-size: 14px; line-height: 1.65; }
  #best-heading { scroll-margin-top: 84px; }
}
