/* Host adaptation around the imported chrome; the imported stylesheet stays intact. */
:where(.reading-player, .reading-exit-card) button {
  border: 0;
  border-radius: 0;
  min-height: 0;
  padding: 0;
  line-height: normal;
  /* The public site keeps its buttons on one line; the player's sentence cards are buttons that wrap. */
  white-space: normal;
}
.reading-player main {
  max-width: none;
  margin: 0;
}
.reading-player h1,
.reading-player h2,
.reading-player h3,
.reading-player h4 {
  line-height: 1.3;
}
/* iClass renders the whole player with grayscale antialiasing; text weight differs visibly without it. */
.reading-player { -webkit-font-smoothing: antialiased; }
/* iClass's base sheet lets buttons inherit line height, which centres the pane toggle's arrow. */
.reading-player .exam-pane-toggle { line-height: inherit; }
/* The 30px toggle sits on the divider, so iClass's 26px gap starts at its edge; otherwise
   it covers the choices on a 1024px tablet, where the answers reach the middle of the pane. */
.reading-player .exam-reasoning-layout .exam-right-scroll { padding-left: 56px; }
/* iClass's base sheet (Tailwind preflight) resets these, and its question diagrams are sized against that. */
.reading-player .exam-split-layout figure { margin: 0; }
.reading-player .exam-split-layout :is(img, svg) { display: block; vertical-align: middle; }
.reading-player .exam-split-layout img { max-width: 100%; height: auto; }
/* The finish dialog reuses the Save and exit card, but the host renders it beside the player's
   full-window layer, so it stacks above that layer and its status lines. */
.reading-finish-backdrop { z-index: 10002; }
/* A failed finish says why above the dialog's buttons. */
.reading-exit-card .reading-exit-error { margin: -32px 0 24px; color: #b00020; }
.reading-player .exam-split-layout table { border-collapse: collapse; border-color: inherit; text-indent: 0; }
/* The imported question text renderer's rules live in iClass's global sheet. */
.question-text-renderer { width: 100%; }
.question-text-renderer__paragraph { margin: 0 0 16px; }
.question-text-renderer__paragraph:last-child { margin-bottom: 0; }
.question-text-renderer__list + .question-text-renderer__paragraph,
.question-text-renderer__table-wrap + .question-text-renderer__paragraph { margin-top: 18px; }
.question-text-renderer__list { margin: 0 0 16px 1.4rem; padding: 0 0 0 0.2rem; list-style-type: disc; list-style-position: outside; }
.question-text-renderer__list:last-child { margin-bottom: 0; }
.question-text-renderer__list.question-text-renderer__list--numbered { list-style-type: decimal; }
.question-text-renderer__list-item { margin: 0 0 10px; padding-left: 6px; }
.question-text-renderer__list-item:last-child { margin-bottom: 0; }
.question-text-renderer__table-wrap { width: 100%; overflow-x: auto; margin: 0 0 16px; border-radius: 16px; border: 1px solid rgba(148, 163, 184, 0.35); background: #ffffff; }
.question-text-renderer__table-wrap:last-child { margin-bottom: 0; }
.question-text-renderer__table { width: 100%; min-width: max-content; border-collapse: collapse; border-spacing: 0; }
.question-text-renderer__cell { padding: 10px 12px; border: 1px solid rgba(148, 163, 184, 0.35); text-align: left; vertical-align: top; white-space: nowrap; color: #0f172a; background: #ffffff; }
.question-text-renderer__cell--head { font-weight: 700; background: #f8fafc; }
.reading-player {
  min-width: 1024px;
}
.sab-wordmark {
  display: flex;
  align-items: center;
  font:
    700 20px Georgia,
    serif;
  color: #002664;
  white-space: nowrap;
}
.sab-pretest .reading-player {
  min-width: 0;
}
.sab-pretest .reading-entry-card {
  max-width: calc(100vw - 40px);
}
/* Mock mode adaptations of the imported player (handoff 6e). */
.reading-entry-heading h1 { font-size: 18px; font-weight: bold; line-height: 1.25; }
.reading-entry-subtitle { margin-top: 8px; font: 14px Arial, Helvetica, sans-serif; color: #444; }
.reading-untimed {
  align-self: center;
  margin-left: 12px;
  padding: 6px 12px;
  border: 2px solid #002664;
  font: 700 14px Arial, Helvetica, sans-serif;
  color: #002664;
  white-space: nowrap;
}
.reading-entry-card--end {
  width: 520px;
  min-height: 0;
  padding: 34px 28px 26px;
  gap: 14px;
  justify-content: flex-start;
  font-family: Arial, Helvetica, sans-serif;
}
.reading-entry-card--end h1 { font-size: 24px; }
.reading-entry-card--end > p { font-size: 15px; line-height: 1.5; color: #444; }
.reading-end-results { width: 100%; border-collapse: collapse; font-size: 15px; }
.reading-end-results th, .reading-end-results td { width: auto; padding: 8px 4px; border: 0; border-top: 1px solid #d9d9d9; font: 15px Arial, Helvetica, sans-serif; letter-spacing: normal; text-transform: none; color: #000; }
.reading-end-results th { text-align: left; }
.reading-end-results td { text-align: right; font-weight: bold; }
.reading-end-actions { margin-top: 14px; gap: 14px; }
.reading-entry-card .reading-end-actions button {
  width: auto;
  min-width: 70px;
  height: 46px;
  padding: 0 18px;
  font-size: 15px;
}
.reading-entry-card .reading-end-actions .reading-end-secondary {
  background: white;
  border: 2px solid #002664;
  color: #002664;
}
.sab-pretest .reading-entry-card--end { max-width: calc(100vw - 40px); }
.sab-pretest .reading-entry-card--confirm {
  max-width: calc(100vw - 40px);
}
.sab-pretest .reading-navigation-table {
  min-width: 700px;
}
.sab-pretest .reading-header .reading-question-tab {
  max-width: 40vw;
}
.sab-writing .reading-flag {
  display: none;
}
.reading-player .sab-writing-layout {
  grid-template-columns: 42% 58%;
}
.sab-writing-editor {
  height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.sab-writing-editor textarea {
  flex: 1;
  min-height: 200px;
  resize: none;
  border: 1px solid #c8c8c8;
  border-radius: 0;
  padding: 18px;
  font:
    16px/1.6 Arial,
    sans-serif;
  color: black;
}
.writing-count {
  padding: 12px 0;
  font:
    14px Arial,
    sans-serif;
  text-align: right;
}
.orientation-block {
  position: fixed;
  inset: 0;
  z-index: 20001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px;
  background: white;
  color: #002664;
  text-align: center;
  font:
    600 24px/1.5 Arial,
    sans-serif;
}
.pretest-viewport-note,
.break-note {
  position: fixed;
  z-index: 10001;
  left: 50%;
  bottom: 72px;
  transform: translateX(-50%);
  padding: 8px 14px;
  background: white;
  border: 1px solid #c8c8c8;
  color: #002664;
  font:
    14px/1.5 Arial,
    sans-serif;
  text-align: center;
  max-width: 90vw;
}
.break-note {
  bottom: 110px;
}
.autosave-status {
  position: fixed;
  bottom: 66px;
  right: 12px;
  z-index: 10001;
  padding: 3px 8px;
  background: #fffefbee;
  color: #646e69;
  font:
    11px/1.4 Arial,
    sans-serif;
  max-width: 60vw;
}
.test-error {
  position: fixed;
  top: 75px;
  left: 20px;
  z-index: 10001;
  background: white;
  padding: 12px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.sab-modal {
  width: 540px;
  max-width: calc(100vw - 32px);
  padding: 32px 36px;
  position: fixed;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #646e69;
  font-size: 24px;
  width: 44px;
  height: 44px;
}
.sab-modal h2 {
  font-size: 26px;
  line-height: 1.25;
  margin: 8px 24px 14px 0;
}
.sab-modal p {
  margin-bottom: 16px;
}
.signup-form {
  display: grid;
  gap: 16px;
}
.signup-form > p {
  margin-bottom: 0;
}
/* What a free mock sign-up offers next: its actions stacked with room between them. */
.signup-done {
  display: grid;
  gap: 10px;
}
.signup-done > p {
  margin-bottom: 6px;
}
.signup-done > button:last-child {
  justify-self: start;
  margin-top: 4px;
}
/* Google's own button, drawn in its frame at the width it is given (200 to 400 pixels). */
.google-button {
  display: flex;
  justify-content: center;
  min-height: 44px;
}
.or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #646e69;
  font-size: 12px;
}
.or-divider::before,
.or-divider::after {
  content: '';
  flex: 1;
  border-top: 1px solid #e6e1d4;
}
.signup-form label:not(.checkbox-label),
.inline-form label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
}
.signup-form input:not([type='checkbox']),
.inline-form input,
select {
  min-height: 44px;
  border: 1.5px solid #ddd8ca;
  border-radius: 6px;
  padding: 11px 14px;
  background: #fffefb;
  color: #1b2a24;
  font:
    14px 'Work Sans',
    sans-serif;
  max-width: 100%;
}
.checkbox-label {
  display: flex;
  gap: 12px;
  align-items: start;
  font-size: 12.5px;
  line-height: 1.55;
  font-weight: 400;
}
.checkbox-label input {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 3px 0;
}
.factual-note {
  font-size: 12.5px;
  line-height: 1.55;
  color: #4a554f;
}
.full-width {
  width: 100%;
}
.meta {
  font-size: 12px;
  line-height: 1.6;
  color: #646e69;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--accent);
  text-decoration: underline;
  padding: 5px;
}
.form-error {
  color: #963d39;
  font-size: 13px;
  padding: 8px 0;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
.product-page {
  padding: 44px;
}
.product-page > h1 {
  font-size: 38px;
  margin: 10px 0 18px;
}
.product-page > p {
  margin-bottom: 18px;
}
.product-page > .button {
  margin: 16px 12px 0 0;
}
.product-page h2 {
  font-size: 26px;
}
.product-page h3 {
  font-size: 20px;
}
.narrow {
  max-width: 680px;
  margin: auto;
}
.page-lead {
  color: #4a554f;
  font-size: 16px;
}
.waiting-page {
  max-width: 730px;
  margin: auto;
  padding-top: 80px;
}
.waiting-page .notice {
  margin: 24px 0;
}
.inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin: 20px 0;
}
.score-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 28px 0 32px;
}
.score-tile {
  border: 1px solid #e3ded2;
  border-radius: 8px;
  padding: 22px;
  background: #fffefb;
}
.score-tile h2 {
  font:
    500 14px 'Work Sans',
    sans-serif;
  color: #4a554f;
}
.score-tile strong {
  display: block;
  margin: 16px 0 8px;
  font:
    400 34px 'Lora',
    Georgia,
    serif;
}
.score-tile p {
  color: #646e69;
  font-size: 13px;
}
.locked-review {
  position: relative;
  border: 1px solid #e3ded2;
  border-radius: 8px;
  background: #fffefb;
  overflow: hidden;
  margin-bottom: 26px;
}
.blurred-question-list {
  filter: blur(5px);
  user-select: none;
  opacity: 0.5;
  padding: 20px;
}
.blurred-question-list div {
  padding: 16px;
  border-bottom: 1px solid #e3ded2;
}
.review-lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  gap: 10px;
  text-align: center;
  background: #fffefb70;
}
.subscribe-offer {
  background: var(--tint);
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  padding: 28px;
  display: grid;
  gap: 16px;
}
.subscribe-offer .button {
  justify-self: start;
}
.page-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.page-title-row h1 {
  font-size: 38px;
}
.mock-list summary {
  cursor: pointer;
  min-height: 44px;
  padding: 10px 0;
}
/* A question's diagram and setup outside the exam player, in review and the admin preview. */
:is(.review-part, .admin-question-part) > figure {
  max-width: 480px;
  margin: 0 0 18px;
}
:is(.review-part, .admin-question-part) > figure svg {
  display: block;
}
.question-stem-stimulus {
  margin-bottom: 14px;
  line-height: 1.6;
}
.account-nav {
  display: flex;
  gap: 10px;
}
.account-section {
  margin: 32px 0;
  border: 1px solid #e3ded2;
  border-radius: 8px;
  padding: 28px;
  background: #fffefb;
}
.account-section h2 {
  margin-bottom: 20px;
}
.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #f0ece2;
}
.account-row h3 {
  font:
    500 15px 'Work Sans',
    sans-serif;
  margin-bottom: 8px;
}
.account-row p {
  font-size: 13px;
  color: #646e69;
}
.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
}
.toggle-row input {
  width: 22px;
  height: 22px;
  accent-color: #7a3550;
}
.home-bundle {
  background: #fffefb;
  border: 1px solid #e3ded2;
  border-radius: 8px;
  padding: 28px;
  margin-top: 20px;
}
.home-bundle h3 {
  font-size: 26px;
  margin: 12px 0;
}
.home-bundle > button {
  margin-top: 16px;
}
.home-free {
  padding: 22px 0;
  margin-top: 24px;
  border-top: 1px solid #e3ded2;
}
.home-free h3 {
  font-size: 22px;
}
.home-free .button {
  margin-top: 12px;
}
.mock-list {
  border-top: 1px solid #e3ded2;
  margin: 20px 0;
}
.mock-list > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.privacy-page p {
  margin: 18px 0;
}
.privacy-page h2 {
  margin-top: 30px;
}
@media (max-width: 819px) {
  .product-page {
    padding: 32px 20px;
  }
  .product-page > h1,
  .page-title-row h1 {
    font-size: 34px;
  }
  .waiting-page {
    padding-top: 48px;
  }
  .score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-title-row {
    align-items: start;
    flex-wrap: wrap;
  }
  .account-row {
    align-items: start;
  }
  .account-section {
    padding: 20px;
  }
  .sab-modal {
    padding: 28px 24px;
  }
}
@media (max-width: 479px) {
  .score-grid {
    grid-template-columns: 1fr;
  }
  .account-row {
    flex-wrap: wrap;
  }
}
/* SAB-owned results and review surfaces follow 1h and 1j. */
.results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
  gap: 44px;
}
.results-content h1 {
  font-size: 38px;
  margin: 10px 0 12px;
}
.results-content .page-lead {
  font-size: 14px;
}
.results-content .score-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0;
}
.results-content .score-tile {
  padding: 18px;
}
.results-content .score-tile h2 {
  font-size: 13px;
}
.results-content .score-tile strong {
  font:
    600 30px 'Work Sans',
    sans-serif;
  display: inline;
}
.raw-mark {
  margin: 16px 0 6px;
  white-space: nowrap;
}
.raw-mark span {
  color: #646e69;
  font-size: 14px;
}
.results-content .writing-score {
  border-style: dashed;
}
.results-content .writing-score strong {
  display: block;
  font:
    400 15px 'Work Sans',
    sans-serif;
  margin: 18px 0 10px;
}
.results-content .score-tile p {
  font-size: 12px;
}
.question-list-title {
  color: #646e69;
  margin: 34px 0 10px;
}
.results-content .locked-review {
  margin: 0;
}
.blurred-question-list {
  padding: 0;
}
.blurred-question-list > div {
  display: flex;
  gap: 24px;
  font-size: 12px;
  padding: 16px 18px;
}
.blurred-question-list > div span:nth-child(2) {
  flex: 1;
}
.review-lock {
  padding: 24px;
  background: transparent;
}
.review-lock > div {
  padding: 14px 24px;
  border: 1px solid #e3ded2;
  border-radius: 8px;
  background: #fffefb;
  box-shadow: 0 4px 20px #1b2a2412;
  max-width: 440px;
}
.review-lock h2 {
  font:
    500 14px 'Work Sans',
    sans-serif;
  margin-bottom: 6px;
}
.review-lock p {
  font-size: 13px;
  color: #646e69;
  line-height: 1.4;
}
.subscribe-offer {
  position: sticky;
  top: 24px;
  padding: 26px;
  gap: 16px;
}
.subscribe-offer h2 {
  font-size: 22px;
  line-height: 1.3;
}
.subscribe-offer ul {
  padding-left: 18px;
  margin: 0;
  font-size: 13.5px;
  color: #3d4844;
  display: grid;
  gap: 8px;
}
.subscribe-offer .price {
  font-size: 22px;
}
body[data-surface='review'] .site-header {
  display: none;
}
body[data-surface='review'] #content {
  max-width: none;
}
/* Buddy's avatar (v5.11, 11a), at the sizes the student look gives it. */
.buddy-avatar { display: block; flex: none; width: 32px; height: 32px; border-radius: 50%; }
.buddy-avatar--card { width: 44px; height: 44px; }
.buddy-avatar--prompt { width: 52px; height: 52px; }
.buddy-avatar--header { width: 132px; height: 132px; }
@media (max-width: 1179px) {
  .results-layout {
    grid-template-columns: 1fr;
  }
  .subscribe-offer {
    position: static;
  }
}
@media (max-width: 819px) {
  .results-content .score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 479px) {
  .results-content .score-grid {
    grid-template-columns: 1fr;
  }
}
.account-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.account-page .account-section {
  margin: 0;
  padding: 0;
}
.account-page .account-section > h2 {
  padding: 18px 20px;
  margin: 0;
  border-bottom: 1px solid #f0ece2;
}
.account-page .account-row {
  padding: 18px 20px;
}
.account-page .account-section > p,
.account-page .account-section > a {
  display: block;
  margin: 12px 20px;
}
.account-page .inline-form {
  padding: 0 20px;
}
.child-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.child-actions button {
  font-size: 12px;
}
.account-page .account-emails,
.account-page .account-history {
  max-width: 720px;
  margin-top: 32px;
}
.account-emails .toggle-row {
  padding: 16px 20px;
  border-bottom: 1px solid #f0ece2;
  font-size: 13.5px;
}
.toggle-row input[role='switch'] {
  appearance: none;
  position: relative;
  width: 38px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: #a2aaa5;
  cursor: pointer;
}
.toggle-row input[role='switch']::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fffefb;
  top: 3px;
  left: 3px;
}
.toggle-row input[role='switch']:checked {
  background: #1b2a24;
}
.toggle-row input[role='switch']:checked::after {
  left: 19px;
}
.home-bundle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  column-gap: 36px;
  row-gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}
.home-next-mock,
.home-bundle .home-free {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fffefb;
  border: 1px solid #e3ded2;
  border-radius: 8px;
  padding: 18px 22px;
  margin: 0;
}
.home-next-mock h3,
.home-bundle .home-free h3 {
  font:
    500 15px 'Work Sans',
    sans-serif;
  margin: 0 0 4px;
}
.home-next-mock p,
.home-bundle .home-free p {
  font-size: 13px;
  color: #646e69;
}
.home-bundle .home-free .button {
  margin: 0;
}
.home-bundle .mock-list {
  border: 1px dashed #ddd8ca;
  border-radius: 8px;
  padding: 6px 22px;
  margin: 0;
  color: #646e69;
}
.home-bundle .mock-list summary {
  list-style: none;
}
.home-bundle .mock-list summary p {
  font-size: 12px;
  margin-top: 3px;
}
.home-bundle .mock-list > div {
  padding-bottom: 16px;
}
@media (max-width: 1179px) {
  .home-bundle {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 819px) {
  .account-main-grid {
    grid-template-columns: 1fr;
  }
  .child-actions {
    flex-wrap: wrap;
  }
  .home-next-mock,
  .home-bundle .home-free {
    flex-wrap: wrap;
  }
}
.results-content .score-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 479px) {
  .results-content .score-grid--3 {
    grid-template-columns: 1fr;
  }
}
.results-content h2.question-list-title,
.account-page .account-section > h2.eyebrow {
  font-size: 10.5px;
}
/* Signed-in v2 surfaces. */
body[data-surface="private"] .site-header { background: #fffefb; }
body[data-surface="private"] .wordmark { font-size: 19px; }
.trial-badge, .optional-badge { background: #efebe1; color: #646e69; font-size: 11px; border-radius: 999px; padding: 4px 10px; }
.mocks-page, .account-page-v2 { max-width: 1280px; margin: auto; padding: 40px; }
.mocks-page > h1, .account-page-v2 > h1 { font-size: 36px; }
.mocks-page .page-lead, .account-page-v2 .page-lead { margin-top: 8px; }
.mocks-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 28px; margin-top: 28px; align-items: start; }
.mocks-main, .mocks-sidebar { display: grid; gap: 22px; min-width: 0; }
.mocks-main h2.eyebrow { color: #646e69; margin-bottom: 10px; }
.bundle-toggle { display: inline-flex; padding: 4px; background: #efebe1; border-radius: 999px; margin-top: 22px; gap: 4px; }
.bundle-toggle button { background: transparent; border: 0; border-radius: 999px; padding: 6px 16px; }
.bundle-toggle button[aria-pressed="true"] { background: #fffefb; box-shadow: 0 1px 4px #1b2a2414; }
.mock-list-row { display: flex; align-items: center; gap: 18px; padding: 18px 22px; background: #fffefb; border: 1px solid #e3ded2; border-radius: 10px; }
.mock-list-row > div:first-child { flex: 1; min-width: 0; }
.mock-list-row h3, .mock-card-title h3 { font: 500 16px 'Work Sans', sans-serif; }
.mock-list-row p, .mock-card-title p { font-size: 13px; color: #646e69; margin-top: 3px; }
.finished-mocks { border: 1px solid #e3ded2; border-radius: 10px; overflow: hidden; }
.finished-mocks .mock-list-row { border: 0; border-bottom: 1px solid #f0ece2; border-radius: 0; }
.finished-mocks .mock-list-row:last-child { border-bottom: 0; }
.mock-marks { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.mock-marks span { white-space: nowrap; }
.mock-progress-card { background: var(--tint); border: 1px solid var(--accent-border); border-radius: 12px; padding: 22px; display: grid; gap: 18px; }
.mock-card-title { display: flex; align-items: center; gap: 18px; }
.mock-card-title > div { flex: 1; }
.section-progress { display: grid; grid-template-columns: repeat(auto-fit,minmax(100px,1fr)); gap: 12px; font-size: 11.5px; }
.section-progress progress { display: block; width: 100%; height: 6px; accent-color: var(--accent); margin-top: 5px; }
.mock-library > summary { color: #3a5fa8; cursor: pointer; font-weight: 500; }
.mock-library > div { display: grid; grid-template-columns: repeat(auto-fit,minmax(100px,1fr)); gap: 8px; margin-top: 12px; max-height: 360px; overflow-y: auto; }
.mock-library > p { margin-top: 12px; font-size: 13px; }
.locked-mocks { background: transparent; border-style: dashed; color: #646e69; }
.subscribe-home { border: 1px solid var(--accent-border); background: var(--tint); border-radius: 12px; padding: 24px; display: grid; gap: 14px; }
.subscribe-home h2 { font-size: 21px; line-height: 1.3; }
.subscribe-home ul { padding-left: 18px; margin: 0; color: #3d4844; font-size: 13.5px; }
.subscribe-home > p > strong { font-size: 22px; font-weight: 500; }
.home-buddy, .home-subscription { background: #fffefb; border: 1px solid #e3ded2; border-radius: 12px; padding: 22px; display: grid; gap: 12px; }
.home-buddy header { display: flex; align-items: center; gap: 10px; }
.home-buddy h2 { flex: 1; font: 500 15px 'Work Sans',sans-serif; }
.home-buddy header > span:last-child { font-size: 12px; color: #646e69; }
.home-buddy p { font-size: 14px; line-height: 1.65; }
.home-subscription { padding: 18px 22px; gap: 6px; font-size: 13px; color: #4a554f; }
.home-subscription h3 { font: 500 14px 'Work Sans',sans-serif; color: #1b2a24; }
.subscription-status { display: inline-block; border-radius: 999px; font-size: 12px; font-weight: 500; padding: 4px 10px; white-space: nowrap; background: #efebe1; color: #646e69; }
.status-active { background: #e8f1eb; color: #2f6b4f; }
.status-cancelled { background: #f4ede0; color: #795b21; }
.status-payment-failed { background: #fcf0de; color: #8a4b0a; }
.status-ended { background: #ece8e0; color: #646e69; }
.status-not-subscribed { background: #eef1f8; color: #3a5fa8; }
.status-included { background: #e8f1eb; color: #2f6b4f; }
.status-paused { background: #f7eae7; color: #955649; }
.ended-banner, .payment-banner { padding: 16px 20px; margin-top: 24px; background: #f4ede0; border: 1px solid #e6d9c2; border-radius: 10px; display: flex; align-items: center; gap: 20px; }
.ended-banner > div { flex: 1; }
.ended-banner p { color: #4a554f; font-size: 13px; margin-top: 4px; }
.payment-banner { display: block; padding: 10px 18px; font-size: 13px; }
.other-free { background: var(--tint); border: 1px solid var(--accent-border); border-radius: 10px; padding: 16px 20px; display: flex; align-items: center; gap: 16px; }
.other-free p { flex: 1; }
.account-layout-v2 { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 36px; margin-top: 30px; align-items: start; }
.account-side-menu { display: grid; gap: 4px; position: sticky; top: 24px; }
.account-side-menu a { padding: 11px 14px; text-decoration: none; color: #4a554f; border-radius: 6px; }
.account-side-menu a[aria-current] { background: #efebe1; color: #1b2a24; font-weight: 500; }
.account-sections-v2 { min-width: 0; display: grid; gap: 32px; }
.account-sections-v2 > p:empty { display: none; }
.account-sections-v2 > section { scroll-margin-top: 24px; width: 100%; }
.account-sections-v2 h2.eyebrow { margin-bottom: 12px; }
.section-title-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.section-title-actions h2.eyebrow { margin: 0; }
.account-sections-v2 small { display: block; color: #646e69; font-size: 12px; font-weight: 400; }
.account-sections-v2 .meta { margin-top: 10px; }
.account-panel { background: #fffefb; border: 1px solid #e3ded2; border-radius: 10px; overflow: hidden; }
.account-panel .toggle-row, .security-row { padding: 15px 22px; border-bottom: 1px solid #f0ece2; display: flex; align-items: center; gap: 14px; }
.account-panel .toggle-row > span, .security-row > span, .security-row > div { flex: 1; }
.security-row:last-child { border-bottom: 0; }
.security-row > span small { display: inline; margin-right: 14px; font-size: 14px; }
.account-panel-note { padding: 12px 22px 18px; }
.pin-switch { width: 40px; min-height: 23px; height: 23px; padding: 3px; border-radius: 999px; background: #d6d1c4; border: 0; justify-content: start; }
.pin-switch[aria-checked="true"] { background: #1b2a24; justify-content: end; }
.pin-switch span { width: 17px; height: 17px; border-radius: 50%; background: #faf8f3; }
.pin-backdrop { position: fixed; inset: 0; z-index: 1000; background: #1b2a2473; display: grid; place-items: center; padding: 20px; }
.pin-dialog { background: #fffefb; border: 1px solid #e3ded2; border-radius: 12px; width: min(100%,440px); padding: 30px; }
.pin-dialog h2 { font-size: 26px; }
.pin-digits { display: flex; gap: 10px; justify-content: center; margin: 12px 0; }
.pin-digits input { width: 52px; height: 60px; padding: 0; text-align: center; font-size: 25px; border-radius: 9px; }
.pin-actions { display: flex; gap: 10px; justify-content: end; }
.mock-saved-summary { margin: 18px 0; border: 1px solid #ece7db; background: #f7f4ea; border-radius: 10px; padding: 14px 16px; display: grid; gap: 8px; font-size: 14px; }
.mock-saved-summary > div { display: flex; gap: 18px; }
.mock-saved-summary dt { flex: 1; color: #646e69; }
.mock-saved-summary dd { margin: 0; text-align: right; }
.sab-wordmark { font-family: Lora,Georgia,serif; font-weight: 500; }
@media(max-width:1000px) { .mocks-layout { grid-template-columns: minmax(0,1fr); } .mocks-sidebar { grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); } .account-layout-v2 { grid-template-columns: 1fr; gap: 20px; } .account-side-menu { position: static; display: flex; flex-wrap: wrap; } }
@media(max-width:600px) { .mocks-page, .account-page-v2 { padding: 28px 20px; } .mock-list-row, .mock-card-title, .ended-banner, .other-free { flex-wrap: wrap; } .mock-list-row > div:first-child, .other-free p { flex-basis: 100%; } .security-row { flex-wrap: wrap; padding: 14px; } .mock-saved-summary > div { flex-direction: column; gap: 2px; } .mock-saved-summary dd { text-align: left; } }
.mocks-page h2.eyebrow, .account-page-v2 h2.eyebrow { font: 600 10.5px/1.5 'Work Sans',sans-serif; letter-spacing: .12em; }
.account-sections-v2 { grid-template-columns: minmax(0,1fr); }
.account-sections-v2 > section { min-width: 0; }
.mocks-page .home-buddy h2 { font: 500 15px 'Work Sans',sans-serif; }
.mocks-page .subscribe-home h2 { font: 400 21px/1.3 Lora,Georgia,serif; }
.mocks-page .home-subscription h3 { font: 500 14px 'Work Sans',sans-serif; }
.pin-fields { padding: 0; margin: 0; border: 0; min-width: 0; }
.account-sections-v2 .table-wrap { position: relative; }
dialog.pin-dialog::backdrop { background: #1b2a2473; }
.mock-saved-page > button { margin: 16px 10px 0 0; }
/* v3 signed-in views */
.site-header.parent-view-header { background: #f5eaee; border-bottom-color: #ead7de; }
.parent-view-label { color: #7a3550; text-transform: uppercase; font-size: 11px; font-weight: 600; letter-spacing: .12em; white-space: nowrap; }
.site-header .student-view-button { background: #1b2a24; color: #fffefb; border-color: #1b2a24; border-radius: 999px; padding: 9px 16px; }
.parent-page { max-width: 1280px; margin: auto; padding: 36px 40px 48px; }
.parent-summary-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 24px 0 22px; }
.parent-summary-cards article { background: #fffefb; border: 1px solid #e3ded2; border-radius: 12px; padding: 20px; }
.parent-page .parent-summary-cards h2 { font: 500 14px 'Work Sans',sans-serif; }
.parent-summary-cards p { font-size: 13px; color: #646e69; margin: 7px 0 10px; }
.parent-summary-cards a, .parent-page .text-button, .parent-details a { color: #3159a0; font-size: 13px; }
.parent-security .security-row { display: grid; grid-template-columns: 150px minmax(0,1fr) auto; font-size: 14px; }
.parent-security .security-label { color: #646e69; }
.security-actions { display: flex; gap: 18px; }
.parent-details { margin-top: 32px; }
.parent-details > h2 { margin-bottom: 16px; }
.subscription-status, .trial-badge, .optional-badge, .price-label, .checkout-price, .price, .per-month, .pill,
.site-header nav a, .text-button, .button, .parent-summary-cards a, .home-buddy header > span:last-child { white-space: nowrap; flex: none; }
@media(max-width:900px) { .parent-summary-cards { grid-template-columns: 1fr; } .parent-page { padding: 28px 20px; } }
@media(max-width:600px) { .parent-security .security-row { grid-template-columns: 1fr auto; } .parent-security .security-label { grid-column: 1 / -1; } .parent-view-header { flex-wrap: wrap; } .parent-view-header nav { flex-wrap: wrap; } .parent-view-label { display: none; } .home-buddy header { flex-wrap: wrap; } }
.payment-success { max-width: 780px; margin: 40px auto; }
.success-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
body[data-surface="private"] .site-header.parent-view-header { background: #f5eaee; border-bottom-color: #ead7de; }
.parent-page .subscription-status { flex: none; }
.parent-page .toggle-row small { display: block; margin-top: 5px; color: #646e69; }
.parent-security .security-row { min-height: 69px; padding-top: 12px; padding-bottom: 12px; }
body[data-surface="private"] .site-header { padding: 14px 40px; }
@media(max-width:600px) { body[data-surface="private"] .site-header { padding: 14px 20px; gap: 16px; } }
.site-header nav a svg { vertical-align: -1px; margin-left: 3px; }
/* My mocks v4: a cream header and a light, saved-mock hero. */
body:has(.mocks-page) main { max-width: none; }
.mocks-page { max-width: none; padding: 0; }
.mocks-header-band { background: #f3efe6; border-bottom: 1px solid #e3ded2; padding: 40px max(40px, calc((100% - 1200px) / 2)) 22px; }
.mocks-heading { display: flex; align-items: flex-end; gap: 32px; }
.mocks-heading > div { flex: 1; min-width: 0; }
.mocks-heading h1 { font-size: 44px; line-height: 1.08; letter-spacing: -.02em; margin-top: 10px; }
.mocks-heading .bundle-toggle { margin: 0; background: #e9e3d6; flex: none; }
.mocks-heading .bundle-toggle button { white-space: nowrap; }
.mocks-counts { display: flex; gap: 44px; flex-wrap: wrap; padding: 28px 0 0; margin: 0; }
.mocks-counts > div { display: flex; flex-direction: column; gap: 3px; }
.mocks-counts dd { margin: 0; font: 400 30px/1 Lora,Georgia,serif; }
.mocks-counts dt { order: 1; font-size: 12.5px; color: #4a554f; white-space: nowrap; }
.mocks-body { max-width: 1280px; padding: 32px 40px 44px; margin: auto; }
.mocks-body > .mocks-layout { margin-top: 0; grid-template-columns: minmax(0,1fr) 380px; }
.mocks-body > .payment-banner, .mocks-body > .ended-banner { margin-bottom: 24px; }
.mocks-main { gap: 24px; }
.mock-progress-card { background: #fffefb; border: 1px solid #e3ded2; border-radius: 16px; padding: 0; gap: 0; overflow: hidden; box-shadow: 0 20px 44px -28px #1b2a2459; }
.mock-card-title { padding: 26px 30px 24px; gap: 24px; border-bottom: 1px solid #efebe1; }
.mock-card-title .mock-current-detail { flex: 1; }
.mock-save-line { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: #646e69; flex-wrap: wrap; }
.mock-save-line > span { white-space: nowrap; }
.mock-save-line > span:nth-child(2) { color: #c9c2b2; }
.mock-card-title h3 { font: 400 30px/1.15 Lora,Georgia,serif; margin-top: 8px; }
.mock-card-title p { font-size: 14px; color: #4a554f; margin-top: 6px; }
.mock-card-title .mock-time-left { flex: none; text-align: right; display: grid; gap: 2px; }
.mock-time-left strong { font: 400 34px/1 Lora,Georgia,serif; font-variant-numeric: tabular-nums; }
.mock-time-left > span { font-size: 12px; color: #646e69; white-space: nowrap; }
.mock-card-title .primary { padding: 15px 24px; border-radius: 10px; font-size: 15px; box-shadow: 0 8px 18px -8px #7a355099; }
.section-timeline { display: flex; list-style: none; padding: 24px 30px 26px; margin: 0; }
.section-timeline li { flex: 1; min-width: 0; position: relative; display: grid; align-content: start; gap: 10px; color: #646e69; }
.section-timeline li:not(:last-child)::before { content: ''; position: absolute; left: 13px; right: -13px; top: 12px; height: 2px; background: #e8e2d5; }
.section-timeline .section-done::before { background: var(--accent); }
.section-step { position: relative; width: 26px; height: 26px; border: 1.5px solid #d6cfc0; border-radius: 50%; background: #fffefb; display: grid; place-items: center; font-size: 12px; color: #8b938e; }
.section-current .section-step { border: 2px solid var(--accent); color: var(--accent); box-shadow: 0 0 0 5px var(--tint); }
.section-done .section-step { border-color: var(--accent); background: var(--accent); color: #fff; }
.section-step-label { font-size: 13px; font-weight: 500; padding-right: 8px; }
.section-current .section-step-label, .section-done .section-step-label { color: #1b2a24; }
.section-step-label small { display: block; font-weight: 400; font-size: 12.5px; color: #646e69; margin-top: 2px; white-space: nowrap; }
.mock-progress-card > .meta { margin: 0 30px 18px; }
.finished-empty { display: flex; align-items: center; gap: 18px; border: 1px dashed #d9d3c4; border-radius: 12px; padding: 26px 24px; font-size: 14px; color: #4a554f; }
.empty-section-bars { display: flex; gap: 6px; flex: none; }
.empty-section-bars i { width: 10px; height: 34px; border-radius: 3px; background: #e8e2d5; }
.empty-section-bars i:first-child { background: var(--accent-border); }
.mocks-sidebar { gap: 16px; }
.home-buddy { background: #fffefb; color: #1b2a24; border: 1px solid #ead7de; border-top: 3px solid #7a3550; border-radius: 16px; padding: 24px 24px 20px; gap: 16px; box-shadow: 0 20px 44px -28px #1b2a244d; }
.home-buddy header > div p { font-size: 12px; color: #646e69; }
.home-buddy > p { color: #2a3833; font-size: 14.5px; }
.home-buddy > p.meta { font-size: 12px; color: #646e69; }
.home-buddy-composer { display: flex; align-items: center; gap: 10px; background: #f7f4ea; border: 1px solid #e3ded2; border-radius: 10px; padding: 8px 12px 8px 14px; }
.home-buddy-composer input { min-width: 0; width: 100%; background: transparent; border: 0; padding: 0; font: inherit; font-size: 13.5px; color: #1b2a24; }
.home-buddy-composer input::placeholder { color: #8b938e; }
.home-buddy-composer button { min-width: 44px; min-height: 44px; padding: 0; border: 0; background: #ece7db; border-radius: 8px; }
.home-buddy-composer button:disabled { color: #8b938e; cursor: default; }
.test-day-card { background: #fffefb; border: 1px solid #e3ded2; border-radius: 16px; padding: 20px 22px; display: grid; gap: 9px; }
.test-day-card h2 { font: 500 14px 'Work Sans',sans-serif; margin-bottom: 3px; }
.test-day-card p { display: flex; gap: 10px; font-size: 13px; color: #4a554f; }
.test-day-card strong { color: var(--accent); font-weight: 500; flex: none; }
@media(max-width:1179px) { .mocks-body > .mocks-layout { grid-template-columns: minmax(0,1fr) 320px; } .mock-card-title { flex-wrap: wrap; gap: 18px; padding: 24px; } .mock-card-title .mock-current-detail { flex-basis: calc(100% - 150px); } }
@media(max-width:999px) { .mocks-body > .mocks-layout { grid-template-columns: 1fr; } .mocks-heading { align-items: start; flex-direction: column; gap: 20px; } }
@media(max-width:600px) { .mocks-page { padding: 0; } .mocks-header-band { padding: 28px 20px 22px; } .mocks-heading h1 { font-size: 34px; } .mocks-body { padding: 24px 20px 32px; } .mocks-counts { gap: 24px; } .mock-card-title .mock-current-detail { flex-basis: 100%; } .section-timeline { padding: 24px 20px; } .section-step-label { font-size: 11px; } .finished-empty { padding: 22px 18px; } }
/* 8f: until subscribed, one quiet offer in the hero, the locked mocks, and Buddy without an input. */
.mocks-intro { margin-top: 10px; font-size: 15px; color: #4a554f; }
.mocks-header-band--offer { padding-bottom: 32px; }
.hero-offer { display: flex; align-items: center; gap: 16px; flex: none; background: #fffefb; border: 1px solid var(--accent-border); border-radius: 14px; padding: 14px 16px 14px 20px; }
.hero-offer > div { display: grid; gap: 2px; }
.hero-offer strong { font-size: 14px; font-weight: 500; white-space: nowrap; }
.hero-offer span { font-size: 12.5px; color: #646e69; white-space: nowrap; }
.hero-offer .button { flex: none; min-height: 0; padding: 9px 18px; border: 1.5px solid var(--accent); border-radius: 999px; background: transparent; color: var(--accent); font-size: 14px; font-weight: 500; }
.hero-offer .button:hover { background: var(--tint); }
.locked-mock-list { background: #fffefb; border: 1px solid #e3ded2; border-radius: 16px; padding: 22px 28px 10px; }
.locked-mock-list header { display: flex; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.locked-mock-list header > div { flex: 1; min-width: 0; display: grid; gap: 4px; }
.locked-mock-list h2 { font: 500 16px 'Work Sans',sans-serif; }
.locked-mock-list header p { font-size: 13.5px; color: #646e69; }
.locked-mock-list .text-link, .home-buddy--locked .text-link { color: var(--accent); }
.locked-mock-list ul { list-style: none; margin: 0; padding: 0; }
.locked-mock-list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #f0ece2; color: #8b938e; }
.locked-mock-list li svg { flex: none; }
.locked-mock-list li span { flex: 1; font-size: 14px; font-weight: 500; color: #646e69; }
.locked-mock-list li small { font-size: 12.5px; white-space: nowrap; }
.locked-mock-list > p { padding: 10px 0 12px; border-top: 1px solid #f0ece2; font-size: 13px; color: #8b938e; }
.home-buddy.home-buddy--locked { border: 1px solid #e3ded2; padding: 22px 24px; gap: 14px; box-shadow: none; }
.home-buddy--locked .text-link { justify-self: start; }
@media(max-width:600px) { .hero-offer { width: 100%; flex-wrap: wrap; padding: 14px 16px; } .hero-offer > div { flex: 1 1 180px; } .hero-offer span { white-space: normal; } .locked-mock-list { padding: 20px 20px 8px; } .locked-mock-list header { flex-wrap: wrap; gap: 8px; } .locked-mock-list header > div { flex-basis: 100%; } }

/* Review (8c): the exam interface's split. The passage pane and the question
   column scroll on their own, Buddy keeps 420px, and the bottom bar steps
   through the section's questions. */
.review-screen { display: flex; flex-direction: column; height: 100dvh; border-top: 5px solid #7a3550; background: #faf8f3; }
.review-toolbar { flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 10px 24px; border-bottom: 1px solid #e3ded2; background: #fffefb; }
.review-toolbar > a { justify-self: start; color: #1b2a24; font-size: 13.5px; font-weight: 500; text-decoration: none; }
.review-toolbar > div { text-align: center; }
.review-toolbar strong { font-size: 13.5px; font-weight: 500; }
.review-toolbar p { margin: 0; color: #646e69; font-size: 12px; }
.review-toolbar button { justify-self: end; min-height: 38px; padding: 7px 16px; font-size: 13px; }
.review-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 420px; grid-template-rows: minmax(0, 1fr) auto; }
.review-body--passage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 420px; }
.review-passage-pane, .review-question-column { min-height: 0; overflow: auto; padding: 26px 32px 36px; }
.review-passage-pane { border-right: 1px solid #e3ded2; }
.review-extract-tabs { display: inline-flex; gap: 2px; margin-bottom: 18px; padding: 3px; border-radius: 10px; background: #efebe1; }
.review-extract-tabs button { min-height: 34px; padding: 5px 16px; border: 0; border-radius: 8px; background: transparent; color: #4a554f; font-size: 13px; }
.review-extract-tabs button.active { background: #fffefb; color: #1b2a24; box-shadow: 0 1px 2px #1b2a2422; }
.review-passage-title { margin: 0 0 12px; font: 400 19px/1.35 Lora, Georgia, serif; }
.review-passage-pane .reading-passage { font-size: 14.5px; line-height: 1.8; color: #2a3833; }
.review-question-column > * { max-width: 720px; }
.review-question-heading { display: flex; align-items: center; gap: 12px; color: #7a3550; font-size: 13px; font-weight: 500; }
.answer-status { padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 500; }
.status-incorrect { color: #7a3550; background: #f5eaee; }
.status-correct { color: #2f6b4f; background: #e8f1eb; }
.status-unchecked { color: #4a554f; background: #efebe1; }
.review-part { margin: 0 0 28px; }
.review-inline { margin: 0 0 28px; }
.review-inline-part .worked-answer { margin-top: 8px; }
.review-inline-answer { margin: 6px 0 0; font-size: 16px; font-weight: 700; line-height: 1.45; color: #1b2a24; }
.review-inline-answer.is-right { color: #14574e; }
.review-inline-answer.is-wrong { color: #9a3a24; }
.review-part h2 { margin: 14px 0 18px; font: 400 16.5px/1.6 'Work Sans', sans-serif; color: #1b2a24; }
.review-choices { display: grid; gap: 10px; }
.review-choice { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border: 1px solid #ddd8ca; border-radius: 8px; background: #fffefb; font-size: 14.5px; line-height: 1.5; }
.review-choice > :nth-child(2) { flex: 1; min-width: 0; }
.choice-letter { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #8b938e; border-radius: 50%; font-size: 11.5px; font-weight: 500; }
.review-choice small { flex: none; margin-left: 8px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.choice-picked { border-color: #7a3550; background: #fbf5f7; }
.choice-picked .choice-letter { border-color: #7a3550; background: #7a3550; color: #fff; }
.choice-picked small { color: #7a3550; }
.choice-correct { border-color: #2f6b4f; background: #f1f6f2; }
.choice-correct .choice-letter { border-color: #2f6b4f; background: #2f6b4f; color: #fff; }
.choice-correct small { color: #2f6b4f; }
.worked-answer { margin-top: 18px; border: 1px solid #e3ded2; border-radius: 8px; background: #fffefb; }
.worked-answer > header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 4px; }
.worked-answer--hidden > header { padding-bottom: 12px; }
.worked-answer .eyebrow { color: #646e69; }
.worked-answer .text-button { min-height: 32px; padding: 4px 0; color: #7a3550; font-size: 13px; text-decoration: none; }
.worked-answer-body { padding: 4px 16px 12px; }
.worked-answer .question-text-renderer { color: #2a3833; font-size: 14px; line-height: 1.7; }
.worked-answer .question-text-renderer p { margin: 0 0 8px; }
.worked-reason strong:first-child { font-weight: 600; }
.worked-reason--picked p:first-child strong:first-child { color: #7a3550; }
.worked-answer-more { border-top: 1px solid #f0ece2; }
.worked-answer-more > button { min-height: 44px; padding: 10px 16px; border: 0; background: transparent; color: #1b2a24; font-size: 13px; }
.worked-answer-more .worked-reason { padding: 0 16px 4px; }
.review-pager { grid-column: 1 / -2; grid-row: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; border-top: 1px solid #e3ded2; background: #fffefb; }
.review-pager > button { min-height: 38px; padding: 7px 18px; border-radius: 999px; font-size: 13px; }
.review-pager > button:not(.primary) { border-color: #ddd8ca; }
.review-pager > .primary { background: #1b2a24; border-color: #1b2a24; color: #fffefb; }
.review-pager > button:disabled { opacity: .45; cursor: default; }
.review-dots { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 5px; min-width: 0; }
.review-dot { width: 8px; min-width: 8px; height: 8px; min-height: 8px; padding: 0; border: 0; border-radius: 4px; background: #d6d1c4; transition: width .15s; }
.review-dot--right { background: #a8c8b3; }
.review-dot--wrong { background: #d2a5b5; }
.review-dot[aria-current='step'] { width: 20px; background: #1b2a24; }
.review-dot--right[aria-current='step'] { background: #2f6b4f; }
.review-dot--wrong[aria-current='step'] { background: #7a3550; }
.review-dot:disabled { opacity: .35; cursor: default; }

/* Buddy, in Review (8b, 8d) and on My mocks (8a, 8e): one thread per exam. */
.review-buddy { grid-column: -2; grid-row: 1 / span 2; min-height: 0; display: flex; flex-direction: column; border-left: 1px solid #e3ded2; background: #fffefb; }
.buddy-heading { flex: none; display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid #f0ece2; }
.buddy-heading h2 { font: 500 14px 'Work Sans', sans-serif; }
.buddy-heading p { margin: 0; color: #646e69; font-size: 12px; }
.buddy-heading p span { white-space: nowrap; }
.buddy-heading > div { min-width: 0; }
.usage-counter { flex: none; margin-left: auto; padding: 4px 10px; border: 1px solid #e3ded2; border-radius: 999px; color: #646e69; font-size: 11.5px; white-space: nowrap; }
.review-buddy-thread { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 16px; padding: 18px 20px; }
/* Messages sit at the bottom of an unfilled panel, as a chat does. */
.review-buddy-thread > :first-child { margin-top: auto; }
.buddy-exchange { display: grid; gap: 10px; }
.buddy-learner { justify-self: end; max-width: 80%; margin: 0; padding: 9px 14px; border-radius: 12px; background: #efebe1; color: #1b2a24; font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.buddy-reply { padding: 2px 0 2px 14px; border-left: 2px solid #1b2a24; color: #1b2a24; font-size: 14px; line-height: 1.7; }
.buddy-text p, .buddy-text ul, .buddy-text ol { margin: 0 0 10px; }
.buddy-text ul, .buddy-text ol { padding-left: 20px; }
.buddy-text > :last-child { margin-bottom: 0; }
.buddy-reply table { margin: 2px 0 10px; border: 0; border-collapse: collapse; background: transparent; }
.buddy-reply th, .buddy-reply td { padding: 3px 18px 3px 0; border: 0; background: transparent; text-align: left; font-size: 14px; }
.buddy-reply th { color: #646e69; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.buddy-reply td { color: inherit; font-weight: 400; }
.buddy-reply--pending { margin: 0; color: #646e69; font-style: italic; }
.buddy-exchange--muted .buddy-learner, .buddy-exchange--muted .buddy-reply { color: #4a554f; }
.buddy-exchange--muted .buddy-reply { border-left-color: #d6d1c4; }
.buddy-links { display: flex; flex-wrap: wrap; gap: 8px; }
.buddy-links a { padding: 7px 14px; border: 1px solid #d6d1c4; border-radius: 999px; background: #fffefb; color: #1b2a24; font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.buddy-links a:hover { border-color: #7a3550; }
.buddy-divider { display: flex; align-items: center; gap: 12px; color: #646e69; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.buddy-divider::before, .buddy-divider::after { content: ''; flex: 1; height: 1px; background: #e3ded2; }
.buddy-divider a { color: #7a3550; text-decoration: none; }
.buddy-intro { margin: 0; padding-left: 12px; border-left: 2px solid #1b2a24; font-size: 14px; }
.buddy-hint { margin: -4px 0 0; color: #646e69; font-size: 13px; }
.buddy-older { margin: 0; color: #8b938e; font-size: 12px; text-align: center; }
.buddy-composer { flex: none; padding: 12px 16px 14px; border-top: 1px solid #f0ece2; }
.buddy-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.buddy-chips:empty { display: none; }
.buddy-chips button { min-height: 34px; padding: 6px 13px; border: 1px solid #d6d1c4; border-radius: 999px; font-size: 12.5px; }
.buddy-composer form { display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 14px; border: 1px solid #ddd8ca; border-radius: 10px; background: #fffefb; }
.buddy-composer input { flex: 1; min-width: 0; min-height: 38px; padding: 0; border: 0; background: transparent; color: #1b2a24; font-size: 14px; }
.buddy-composer form:focus-within { border-color: #7a3550; }
.buddy-composer .primary { min-height: 36px; padding: 6px 16px; border-radius: 999px; background: #1b2a24; border-color: #1b2a24; color: #fffefb; }
.buddy-composer .primary:disabled { opacity: .5; cursor: default; }
.buddy-composer .meta { margin: 8px 0 0; }
.home-buddy .usage-counter { margin-left: auto; }
.home-buddy-last { display: grid; gap: 8px; }
.home-buddy-last .eyebrow { margin: 0; color: #646e69; font: 600 11px/1.4 'Work Sans', sans-serif; letter-spacing: .12em; }
.home-buddy-last a, .home-buddy-last button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 0; padding: 12px 16px; border: 1px solid #e3ded2; border-radius: 10px; background: #fffefb; color: #1b2a24; text-align: left; text-decoration: none; }
.home-buddy-last a > span, .home-buddy-last button > span { display: grid; min-width: 0; }
.home-buddy-last strong { font-size: 14px; font-weight: 500; }
.home-buddy-last span span { overflow: hidden; color: #4a554f; font-size: 13.5px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.home-buddy-last b { flex: none; color: #7a3550; font-size: 13px; font-weight: 500; }
.home-buddy-thread { display: grid; gap: 14px; max-height: 440px; overflow: auto; }
.home-buddy .buddy-reply { border-left-color: #7a3550; font-size: 14px; }
.home-buddy-composer button:not(:disabled) { background: #7a3550; color: #fff; }
.home-buddy-composer input:focus-visible, .buddy-composer input:focus-visible { outline: none; }
.home-buddy-composer:focus-within { border-color: #7a3550; }

/* The marked writing, laid out as ai-tutor's learner writing review in SAB's colours. */
.writing-review { display: grid; gap: 14px; max-width: 700px; margin: 0 auto; color: #1b2a24; }
.writing-card { padding: 24px; border: 1px solid #e3ded2; border-radius: 16px; background: #fffefb; }
.writing-card h2 { margin: 0; font: 400 20px/1.3 Lora, Georgia, serif; }
.writing-hero { display: flex; align-items: center; gap: 16px; }
.writing-hero-icon { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: #f5eaee; font-size: 22px; }
.writing-hero-copy { flex: 1; min-width: 0; }
.writing-eyebrow, .writing-label, .writing-task button span:first-child { margin: 0 0 4px; color: #646e69; font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.writing-hero h2 { font-size: clamp(19px, 2.2vw, 22px); line-height: 1.25; }
.writing-score { flex: none; display: grid; justify-items: end; color: #7a3550; }
.writing-score strong { font: 400 36px/1 Lora, Georgia, serif; }
.writing-score span { color: #646e69; font-size: 13px; }
.writing-summary { display: flex; align-items: flex-start; gap: 12px; margin: 20px 0 0; padding: 14px 15px; border-radius: 12px; background: #f5eaee; color: #3b2230; font-size: 14px; line-height: 1.55; }
.writing-summary svg { flex: none; color: #7a3550; }
.writing-summary p { margin: 0; white-space: pre-line; }
.writing-sets { margin: 12px 0 0; color: #4a554f; font-size: 13px; line-height: 1.5; }
.writing-task { margin-top: 16px; border-top: 1px solid #f0ece2; }
.writing-task button { display: flex; justify-content: space-between; width: 100%; min-height: 0; padding: 14px 0 0; border: 0; background: none; }
.writing-task button span:last-child { color: #7a3550; font-size: 12.5px; }
.writing-task > div { margin-top: 12px; padding: 16px; border: 1px solid #e3ded2; border-radius: 12px; background: #faf8f3; font-size: 14px; line-height: 1.65; white-space: pre-wrap; }
.writing-helper { margin: 4px 0 0; color: #646e69; font-size: 13px; }
.writing-parts, .writing-steps { display: grid; gap: 9px; margin-top: 14px; }
.writing-part { overflow: hidden; border: 1px solid #e3ded2; border-radius: 12px; }
.writing-part--open { background: #faf8f3; }
.writing-part > button { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; gap: 9px; white-space: normal; width: 100%; min-height: 0; padding: 14px 16px; border: 0; background: transparent; color: inherit; text-align: left; font-weight: 400; }
.writing-part-top, .writing-part-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.writing-part-top > span { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; }
.writing-part-top strong { flex: none; font-size: 14px; font-weight: 500; }
.writing-badge { padding: 2px 8px; border-radius: 999px; font-size: 10px; font-style: normal; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.writing-badge--best { background: #e8f1eb; color: #2f6b4f; }
.writing-badge--focus { background: #f5eaee; color: #7a3550; }
.writing-track { display: block; height: 8px; overflow: hidden; border-radius: 999px; background: #efebe1; }
.writing-track > span { display: block; height: 100%; border-radius: inherit; }
.writing-track--best { background: #2f6b4f; }
.writing-track--focus { background: #7a3550; }
.writing-track--middle { background: #c9a14a; }
.writing-part-bottom { color: #2a3833; font-size: 13px; line-height: 1.45; }
.writing-part-bottom > span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.writing-part-bottom b { flex: none; color: #7a3550; font-size: 12.5px; font-weight: 500; }
.writing-part-detail { padding: 0 16px 16px; color: #2a3833; font-size: 13.5px; line-height: 1.65; }
.writing-part-detail p { margin: 6px 0 0; }
.writing-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; color: #4a554f; font-size: 12px; }
.writing-legend span { display: inline-flex; align-items: center; gap: 6px; }
.writing-legend i { width: 15px; height: 11px; border-radius: 2px; }
.writing-swatch--fix, .writing-mark--fix { background: #fbefc4; border-bottom: 1px solid #c9a14a; }
.writing-swatch--liked, .writing-mark--liked { background: #e3f0e7; border-bottom: 1px solid #2f6b4f; }
.writing-draft { margin-top: 14px; color: #1b2a24; font-size: 14.5px; line-height: 1.9; white-space: pre-wrap; }
.writing-draft p { margin: 0; }
.writing-mark { display: inline; min-height: 0; padding: 0; border-top: 0; border-left: 0; border-right: 0; border-radius: 2px; color: inherit; font: inherit; font-weight: inherit; line-height: inherit; text-align: left; white-space: pre-wrap; }
.writing-mark[aria-pressed='true'] { outline: 2px solid #7a3550; outline-offset: 1px; }
.writing-note { margin-top: 14px; padding: 12px 15px; border: 1px solid #e3ded2; border-radius: 10px; background: #faf8f3; font-size: 13px; line-height: 1.55; }
.writing-note strong { font-size: 12px; font-weight: 600; }
.writing-note p { margin: 4px 0 0; }
.writing-count { margin: 12px 0 0; color: #646e69; font-size: 12px; font-weight: 500; }
.writing-steps button { display: flex; align-items: flex-start; justify-content: flex-start; gap: 12px; width: 100%; padding: 12px 15px; border: 1px solid #e3ded2; border-radius: 12px; background: #fffefb; color: #2a3833; font-size: 13.5px; font-weight: 400; line-height: 1.5; text-align: left; white-space: normal; }
.writing-steps button:hover, .writing-steps .writing-step--selected { border-color: #7a3550; background: #fbf5f7; }
.writing-steps button > span:first-child { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #efebe1; font-size: 12px; font-weight: 600; }
.writing-steps .writing-step--selected > span:first-child { background: #7a3550; color: #fff; }
.writing-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.writing-actions .primary { min-height: 44px; padding: 0 18px; border-radius: 10px; background: #7a3550; border-color: #7a3550; }

@media (max-width: 1179px) {
  .review-screen { height: auto; min-height: 100dvh; }
  .review-body, .review-body--passage { display: flex; flex-direction: column; }
  .review-passage-pane { max-height: 50dvh; border-right: 0; border-bottom: 1px solid #e3ded2; }
  .review-passage-pane, .review-question-column { overflow: visible; }
  .review-passage-pane { overflow: auto; }
  .review-pager { position: sticky; bottom: 0; z-index: 1; }
  .review-buddy { order: 4; min-height: 520px; border-left: 0; border-top: 1px solid #e3ded2; }
  .review-buddy-thread { max-height: 460px; }
}
@media (max-width: 600px) {
  .review-toolbar { grid-template-columns: auto 1fr; padding: 10px 16px; }
  .review-toolbar > div { text-align: right; }
  .review-toolbar button { grid-column: 1 / -1; justify-self: stretch; }
  .review-passage-pane, .review-question-column { padding: 20px 16px 28px; }
  .review-pager { padding: 10px 16px; gap: 10px; }
  .review-pager > button { padding: 7px 12px; }
  .review-dots { gap: 4px; }
  .review-dot { width: 6px; min-width: 6px; height: 6px; min-height: 6px; }
  .review-dot[aria-current='step'] { width: 16px; }
  .review-choice { flex-wrap: wrap; row-gap: 4px; }
  .review-choice small { flex-basis: 100%; margin-left: 40px; }
  .writing-card { padding: 18px; }
  .writing-hero { align-items: flex-start; gap: 11px; }
  .writing-hero-icon { width: 42px; height: 42px; font-size: 19px; }
  .writing-score strong { font-size: 29px; }
}

/* SAB v5.13: the welcome after a first purchase (5c+), in the adult look, and
   its three steps, which My mocks also shows as a card until Mock 1 is finished. */
.welcome-page { max-width: 1040px; margin: 0 auto; padding: 56px 40px 64px; display: flex; flex-direction: column; gap: 40px; }
.welcome-top { display: flex; gap: 40px; align-items: flex-start; }
.welcome-hero { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.welcome-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #2f6b4f; }
.welcome-check { width: 28px; height: 28px; border-radius: 999px; background: #e6efe8; display: grid; place-items: center; flex: none; }
.welcome-page .welcome-hero h1 { font-size: 38px; line-height: 1.2; letter-spacing: 0; margin: 0; text-wrap: balance; }
.welcome-lead { font-size: 15.5px; line-height: 1.65; color: #4a554f; max-width: 58ch; }
.welcome-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.welcome-actions .button, .welcome-actions button { border-radius: 8px; font-size: 14px; padding: 12px 18px; border-color: #ddd8ca; }
.welcome-actions .primary { font-size: 14.5px; padding: 12px 20px; border-color: #7a3550; background: #7a3550; color: #fff; }
.welcome-plan { width: 320px; flex: none; background: #fffefb; border: 1px solid #e3ded2; border-radius: 12px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; }
.welcome-page .welcome-plan h2, .welcome-page .welcome-tips h2 { font: 600 12px 'Work Sans', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #7a3550; }
.welcome-plan-name { display: flex; gap: 12px; justify-content: space-between; font-size: 15px; font-weight: 500; }
.welcome-plan dl { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 8px; margin: 0; padding-top: 12px; border-top: 1px solid #f0ece2; font-size: 13.5px; color: #4a554f; }
.welcome-plan dd { margin: 0; color: #1b2a24; text-align: right; overflow-wrap: anywhere; }
.welcome-plan-note { font-size: 12.5px; line-height: 1.6; color: #4a554f; padding-top: 12px; border-top: 1px solid #f0ece2; }
/* A link on a line of its own, so it gets a full touch target. */
.welcome-link { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; margin: -10px 0; font-size: 13.5px; font-weight: 500; color: #7a3550; }
.welcome-link:hover { color: #5c2440; }
.welcome-steps { display: flex; flex-direction: column; gap: 16px; }
.welcome-page .welcome-steps h2, .getting-started-card h2 { font-size: 22px; font-weight: 500; line-height: 1.3; text-wrap: balance; }
.getting-started-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.getting-started-steps li { background: #fffefb; border: 1px solid #e3ded2; border-radius: 12px; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.getting-started-number { width: 28px; height: 28px; border-radius: 999px; background: #f3e7ec; color: #7a3550; display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.getting-started-steps li h3 { font: 500 16px/1.4 'Work Sans', sans-serif; }
.getting-started-steps li p { font-size: 13.5px; line-height: 1.6; color: #4a554f; }
.welcome-tips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.welcome-tips > section { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 2px solid #c27a12; }
.welcome-page .welcome-tips .welcome-tips-learner h2 { color: #7d4c06; }
.welcome-tips > .welcome-tips-parents { border-top-color: #3a5fa8; }
.welcome-page .welcome-tips .welcome-tips-parents h2 { color: #2d4a85; }
.welcome-tips ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.7; color: #2a3833; }
.welcome-tips-parents .welcome-link { color: #2d4a85; }
.welcome-tips-parents .welcome-link:hover { color: #1f3561; }
.welcome-pin-set { font-size: 13.5px; font-weight: 500; color: #2d4a85; }
.welcome-help { font-size: 13px; color: #646e69; padding-top: 16px; border-top: 1px solid #e3ded2; }
.welcome-help a { color: #7a3550; }
.welcome-help a:hover { color: #5c2440; }
.getting-started-card { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.getting-started-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.getting-started-heading .getting-started-close { flex: none; width: 44px; height: 44px; padding: 0; border-radius: 999px; border-color: #e3ded2; color: #4a554f; }
@media (max-width: 1179px) {
  .welcome-top { flex-direction: column; }
  .welcome-plan { width: 100%; max-width: 520px; }
}
@media (max-width: 819px) {
  .welcome-page { padding: 32px 16px 48px; gap: 32px; }
  .welcome-page .welcome-hero h1 { font-size: 32px; }
  .getting-started-steps, .welcome-tips { grid-template-columns: 1fr; }
  .welcome-plan { max-width: none; }
  .getting-started-card h2 { font-size: 20px; }
}
/* Subscribe checkout (5a+, v5.14): numbered sections, card and PayPal side by side, a sticky summary. */
.secure-checkout-label { display: inline-flex; align-items: center; gap: 6px; color: #4a554f; white-space: nowrap; font-size: 13px; }
.checkout-page { max-width: 1280px; margin: auto; padding: 48px 64px 64px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; align-items: start; }
.checkout-main { display: flex; flex-direction: column; gap: 30px; min-width: 0; container-type: inline-size; }
.checkout-intro { display: flex; flex-direction: column; gap: 10px; }
.checkout-intro h1 { font: 400 38px/1.2 Lora, Georgia, serif; margin: 0; }
.checkout-intro > p:not(.checkout-saved):not(.notice) { color: #4a554f; line-height: 1.6; margin: 0; }
.checkout-intro .notice { margin: 0; font-size: 13.5px; }
.checkout-saved { display: flex; gap: 12px; align-items: flex-start; margin: 0; background: #f1f6f2; border: 1px solid #d5e6da; border-radius: 8px; padding: 14px 16px; font: 400 14px/1.55 'Work Sans', sans-serif; color: #24453a; }
.checkout-saved svg { flex-shrink: 0; margin-top: 1px; }
.checkout-saved b { font-weight: 600; }
.checkout-section { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.checkout-legend { padding: 0; margin-bottom: 12px; font: 600 11px 'Work Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #7a3550; }
.checkout-hint, .checkout-field small { font: 400 12.5px/1.45 'Work Sans', sans-serif; color: #4a554f; margin: 0; }
/* 1 · Exam */
.exam-options { display: flex; flex-direction: column; gap: 12px; }
.exam-option { display: flex; align-items: center; gap: 14px; background: #fffefb; border: 1.5px solid #e3ded2; border-radius: 10px; padding: 18px 20px; cursor: pointer; transition: border-color .15s, background .15s; }
.exam-option:hover { border-color: #c9b3bd; }
.exam-option:has(input:checked) { border-color: #7a3550; background: #f5eaee; box-shadow: 0 0 0 1px #7a3550; }
.exam-option:has(input:focus-visible) { outline: 3px solid #3a5fa8; outline-offset: 2px; }
.exam-option input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: #7a3550; }
.exam-option input:focus-visible { outline: none; }
.exam-option-text { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.exam-option-text strong { font: 500 15.5px 'Work Sans', sans-serif; }
.exam-option-text span { font: 400 12.5px/1.45 'Work Sans', sans-serif; color: #4a554f; }
.exam-option-price { font: 400 13px 'Work Sans', sans-serif; color: #4a554f; white-space: nowrap; }
.exam-option-price b { font: 600 15px 'Work Sans', sans-serif; color: #1b2a24; }
/* 2 · Account */
.checkout-account-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.checkout-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.checkout-field > label, .checkout-label { font: 500 14px 'Work Sans', sans-serif; color: #1b2a24; }
.checkout-label .optional { font-weight: 400; color: #4a554f; }
.checkout-field > input { box-sizing: border-box; width: 100%; height: 46px; padding: 12px 14px; font: 400 15px 'Work Sans', sans-serif; color: #1b2a24; background: #fffefb; border: 1px solid #ddd8ca; border-radius: 6px; }
.checkout-field > input::placeholder { color: #8a918c; }
.checkout-field > input[readonly] { background: #f2efe7; color: #4a554f; }
.checkout-field > input:focus-visible, .checkout-field .pin-digits input:focus-visible { outline: 3px solid #3a5fa8; outline-offset: 1px; }
.checkout-field > input[aria-invalid="true"] { border-color: #963d39; }
.checkout-field .pin-digits { display: flex; gap: 8px; margin: 0; justify-content: start; }
.checkout-field .pin-digits input { box-sizing: border-box; width: 46px; height: 46px; padding: 0; text-align: center; font: 500 18px 'Work Sans', sans-serif; background: #fffefb; border: 1px solid #ddd8ca; border-radius: 6px; }
.checkout-field small.field-error { color: #963d39; font-weight: 500; }
.checkout-field .checkbox-label { margin-top: 4px; }
/* 3 · Pay with */
.pay-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pay-option { display: flex; flex-direction: column; background: #fffefb; border: 1px solid #ddd8ca; border-radius: 14px; box-shadow: 0 1px 2px rgba(27,42,36,.05), 0 4px 14px rgba(27,42,36,.05); cursor: pointer; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.pay-option:hover { border-color: #bfb5a2; box-shadow: 0 2px 4px rgba(27,42,36,.06), 0 8px 22px rgba(27,42,36,.08); }
.pay-option:has(input:checked) { border-color: #7a3550; box-shadow: 0 0 0 1px #7a3550, 0 8px 24px rgba(122,53,80,.14); }
.pay-option:has(input:focus-visible) { outline: 3px solid #3a5fa8; outline-offset: 3px; }
.pay-option-top { display: flex; align-items: flex-start; gap: 14px; padding: 20px 20px 14px; }
.pay-option input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1.5px solid #bfb5a2; border-radius: 50%; background: #fffefb; flex-shrink: 0; cursor: pointer; }
.pay-option input:checked { border-color: #7a3550; background: radial-gradient(circle, #7a3550 0 5px, #fffefb 6px); }
.pay-option input:focus-visible { outline: none; }
.pay-option-text { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pay-option-text strong { font: 600 16px 'Work Sans', sans-serif; color: #1b2a24; }
.pay-option-text span { font: 400 12.5px/1.3 'Work Sans', sans-serif; color: #4a554f; }
.pay-option-badge { width: 22px; height: 22px; border-radius: 50%; background: #7a3550; display: grid; place-items: center; flex-shrink: 0; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.pay-option:has(input:checked) .pay-option-badge { opacity: 1; transform: scale(1); }
.pay-option-logos { display: flex; flex-wrap: wrap; align-items: center; align-content: flex-start; gap: 8px; padding: 0 20px 18px 56px; min-height: 34px; }
.pay-logo { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 34px; box-sizing: border-box; background: #fff; border: 1px solid #e3ded2; border-radius: 6px; box-shadow: 0 1px 2px rgba(27,42,36,.08); }
.pay-logo img { display: block; width: auto; }
.pay-logo.visa { background: #1434cb; border-color: #1434cb; }
.pay-logo.amex { padding: 0; overflow: hidden; border-color: #006fcf; }
.pay-logo.amex img { width: 32px; height: 32px; }
.pay-logo.paypal { width: auto; padding: 0 12px; }
.pay-option-foot { margin-top: auto; display: flex; align-items: center; gap: 7px; padding: 11px 20px; border-top: 1px solid #f0ece2; background: #faf8f3; font: 400 12.5px 'Work Sans', sans-serif; color: #2f6b4f; transition: background .15s; }
.pay-option:has(input:checked) .pay-option-foot { background: #f5eaee; border-top-color: #ead7de; }
.lock-icon { flex-shrink: 0; }
.pay-next { display: flex; gap: 12px; align-items: center; margin: 0; background: #fffefb; border: 1px solid #e3ded2; border-left: 3px solid #7a3550; border-radius: 8px; padding: 13px 16px; font: 400 14px/1.35 'Work Sans', sans-serif; color: #2a3833; }
.pay-next svg { flex-shrink: 0; }
.pay-reassurance { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 2px 2px 0; font: 400 12.5px 'Work Sans', sans-serif; color: #4a554f; }
.pay-reassurance li { display: flex; align-items: center; gap: 6px; }
/* Summary */
.checkout-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.checkout-summary { display: flex; flex-direction: column; gap: 14px; background: #fffefb; border: 1px solid #e3ded2; border-radius: 12px; padding: 24px 24px 22px; }
.checkout-summary h2 { font: 500 16px 'Work Sans', sans-serif; margin: 0; }
.checkout-summary p { margin: 0; }
.checkout-summary .summary-line { display: flex; justify-content: space-between; gap: 16px; font: 400 14.5px 'Work Sans', sans-serif; color: #2a3833; }
.checkout-summary .summary-method { font-size: 13.5px; color: #4a554f; }
.checkout-summary .checkout-total { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #f0ece2; padding-top: 14px; font: 600 16px 'Work Sans', sans-serif; }
.checkout-summary .checkout-total strong { font-weight: 600; }
.checkout-summary .renewal-note { font: 400 12.5px/1.6 'Work Sans', sans-serif; color: #4a554f; }
.checkout-summary .form-error { padding: 0; }
.checkout-cta { display: block; width: 100%; padding: 15px 18px; border: 0; border-radius: 8px; background: #7a3550; color: #fff; font: 500 15px 'Work Sans', sans-serif; text-align: center; cursor: pointer; }
.checkout-cta:hover:not(:disabled) { background: #5c2440; }
.checkout-cta:focus-visible { outline: 3px solid #3a5fa8; outline-offset: 2px; }
.checkout-cta.secondary { background: #fffefb; color: #7a3550; border: 1.5px solid #7a3550; }
.checkout-cta.secondary:hover { background: #f5eaee; }
.paypal-button { display: flex; flex-direction: column; gap: 10px; min-height: 50px; }
.paypal-button[data-state="failed"] > div:first-child { display: none; }
.paypal-button-placeholder { display: grid; place-items: center; height: 50px; border-radius: 25px; background: #f2efe7; color: #4a554f; font: 400 13px 'Work Sans', sans-serif; }
.checkout-secure { display: flex; align-items: center; justify-content: center; gap: 6px; text-align: left; font: 400 12px/1.45 'Work Sans', sans-serif; color: #4a554f; }
.paying-unlocks { display: flex; flex-direction: column; gap: 11px; padding: 4px 6px; }
.paying-unlocks h2 { margin: 0; font: 600 11px 'Work Sans', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #7a3550; }
.paying-unlocks ul { display: flex; flex-direction: column; gap: 11px; list-style: none; margin: 0; padding: 0; }
.paying-unlocks li { display: flex; gap: 10px; font: 400 13.5px/1.55 'Work Sans', sans-serif; color: #2a3833; }
.paying-unlocks li svg { flex-shrink: 0; margin-top: 2px; }
.paying-unlocks b { font-weight: 600; }
@media (max-width: 999px) {
  .checkout-page { padding: 32px 24px 48px; }
  .checkout-layout { grid-template-columns: 1fr; gap: 28px; }
  .checkout-side { position: static; }
}
@media (max-width: 819px) { .pay-options { grid-template-columns: 1fr; } }
/* Beside the summary on a smaller screen the form column is narrow, whatever the viewport. */
@container (max-width: 639px) {
  .pay-options, .checkout-account-fields { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .secure-checkout-label { font-size: 12px; gap: 4px; }
  .checkout-page { padding: 24px 16px 40px; }
  .checkout-intro h1 { font-size: 32px; }
  .checkout-account-fields { grid-template-columns: 1fr; }
  .exam-option { flex-wrap: wrap; padding: 16px; }
  .exam-option-price { width: 100%; padding-left: 34px; }
}
/* Beside the wordmark on the narrowest phones the label fits only without its lock. */
@media (max-width: 399px) { .secure-checkout-label svg { display: none; } }
