.listening-mock-page {
  --mock-navy: #142238;
  --mock-teal: #168579;
  --mock-coral: #ff6b4a;
  --mock-paper: #fffdfa;
  --mock-line: rgba(20, 34, 56, 0.11);
}

.listening-mock-page .main-panel {
  min-width: 0;
}

.listening-mock-page .main-panel > .topbar {
  min-height: 88px;
}

.listening-mock-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.72fr);
  min-height: 410px;
  overflow: hidden;
  border-radius: 30px;
  color: white;
  background: var(--mock-navy);
  box-shadow: 0 25px 60px rgba(20, 34, 56, 0.19);
}

.mock-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(34px, 5vw, 62px);
  background:
    radial-gradient(circle at 85% 14%, rgba(22, 133, 121, 0.34), transparent 22rem),
    radial-gradient(circle at 5% 110%, rgba(36, 87, 214, 0.32), transparent 25rem);
}

.mock-kicker,
.mock-section-index {
  color: #78d5cb;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.17em;
}

.mock-hero-copy h2 {
  max-width: 760px;
  margin: 17px 0 18px;
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(42px, 5.8vw, 72px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.mock-hero-copy > p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.69);
  font-size: 16px;
  line-height: 1.75;
}

.mock-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.listening-mock-page .mock-hero-actions .btn {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
}

.listening-mock-page .mock-resume-link {
  border-color: rgba(255, 255, 255, 0.22);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.listening-mock-page .mock-resume-link[hidden] {
  display: none;
}

.mock-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.mock-facts span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 800;
}

.mock-wave {
  position: absolute;
  right: 30px;
  bottom: 0;
  left: 30px;
  height: 72px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  opacity: 0.18;
  pointer-events: none;
}

.mock-wave i {
  width: 100%;
  height: 22%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #78d5cb, transparent);
  transform-origin: bottom;
}

.mock-wave i:nth-child(2n) { height: 48%; }
.mock-wave i:nth-child(3n) { height: 78%; }
.mock-wave i:nth-child(5n) { height: 100%; }

.mock-hero-status {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 24px;
  padding: 34px;
  color: var(--oi-ink, #10213a);
  background: var(--mock-paper);
}

.status-heading {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--mock-line);
}

.status-heading span,
.status-heading strong,
.status-heading small {
  display: block;
}

.status-heading span {
  color: var(--oi-muted, #66758a);
  font-size: 12px;
  font-weight: 800;
}

.status-heading strong {
  margin-top: 8px;
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: 27px;
  line-height: 1.2;
}

.status-heading small {
  margin-top: 7px;
  color: var(--mock-teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mock-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mock-stat {
  min-height: 108px;
  padding: 15px 12px;
  border-bottom: 1px solid var(--mock-line);
}

.mock-stat:nth-child(odd) {
  border-right: 1px solid var(--mock-line);
}

.mock-stat:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.mock-stat span,
.mock-stat strong,
.mock-stat small {
  display: block;
}

.mock-stat span,
.mock-stat small {
  color: var(--oi-muted, #66758a);
  font-size: 11px;
}

.mock-stat strong {
  margin: 7px 0 5px;
  font-family: Georgia, serif;
  font-size: 25px;
  line-height: 1;
}

.mock-builder {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--mock-line);
  border-radius: 26px;
  background: rgba(255, 253, 250, 0.97);
  box-shadow: 0 16px 45px rgba(20, 34, 56, 0.07);
}

.mock-builder-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 32px 26px;
}

.mock-builder-head h2 {
  margin: 9px 0 8px;
  font-family: Georgia, "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
}

.mock-builder-head p {
  color: var(--oi-muted, #66758a);
  font-size: 14px;
  line-height: 1.6;
}

.mock-section-index {
  color: var(--mock-teal);
}

.source-lock {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(22, 133, 121, 0.2);
  border-radius: 999px;
  color: #126f66;
  background: rgba(22, 133, 121, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.source-lock span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--mock-teal);
}

.mock-part-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--mock-line);
  border-bottom: 1px solid var(--mock-line);
}

.mock-part-card {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-areas: "number heading" "select select" "choice choice";
  gap: 12px 14px;
  min-width: 0;
  padding: 24px 28px;
  cursor: pointer;
  transition: background 0.18s ease;
}

.mock-part-card:nth-child(odd) {
  border-right: 1px solid var(--mock-line);
}

.mock-part-card:nth-child(-n + 2) {
  border-bottom: 1px solid var(--mock-line);
}

.mock-part-card:hover,
.mock-part-card:focus-within {
  background: rgba(22, 133, 121, 0.045);
}

.part-number {
  grid-area: number;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--mock-teal);
  background: rgba(22, 133, 121, 0.1);
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 800;
}

.part-heading {
  grid-area: heading;
  align-self: center;
}

.part-heading strong,
.part-heading small {
  display: block;
}

.part-heading strong {
  font-family: Georgia, serif;
  font-size: 21px;
}

.part-heading small {
  margin-top: 4px;
  color: var(--oi-muted, #66758a);
  font-size: 12px;
}

.mock-part-card .select {
  grid-area: select;
  width: 100%;
  height: 48px;
  padding: 0 42px 0 14px;
  color: var(--oi-ink, #10213a);
  background: white;
  cursor: pointer;
}

.part-choice {
  grid-area: choice;
  min-width: 0;
  overflow: hidden;
  color: var(--oi-muted, #66758a);
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-builder-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 30px;
}

.mock-message {
  color: var(--oi-muted, #66758a);
  font-size: 13px;
  line-height: 1.5;
}

.mock-builder-footer .btn {
  flex: 0 0 auto;
  min-width: 170px;
}

.mock-boundary-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: 18px 0 4px;
  padding: 18px 22px;
  border: 1px solid rgba(20, 34, 56, 0.08);
  border-radius: 18px;
  background: rgba(255, 253, 250, 0.72);
}

.boundary-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--mock-navy);
  font-family: Georgia, serif;
  font-weight: 800;
}

.mock-boundary-note strong,
.mock-boundary-note p {
  display: block;
}

.mock-boundary-note p {
  margin-top: 5px;
  color: var(--oi-muted, #66758a);
  font-size: 13px;
  line-height: 1.55;
}

@media (prefers-reduced-motion: no-preference) {
  .listening-mock-hero,
  .mock-builder,
  .mock-boundary-note {
    animation: listening-mock-rise 0.48s cubic-bezier(0.22, 0.8, 0.25, 1) both;
  }
  .mock-builder { animation-delay: 0.06s; }
  .mock-boundary-note { animation-delay: 0.12s; }
  @keyframes listening-mock-rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
  }
}

@media (max-width: 1120px) {
  .listening-mock-hero {
    grid-template-columns: 1fr;
  }
  .mock-hero-status {
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    align-items: center;
  }
  .status-heading {
    padding: 0 24px 0 0;
    border-right: 1px solid var(--mock-line);
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .listening-mock-hero { border-radius: 24px; }
  .mock-hero-copy { padding: 34px 24px 72px; }
  .mock-hero-copy h2 { font-size: clamp(38px, 12vw, 54px); }
  .mock-hero-status { grid-template-columns: 1fr; padding: 28px 24px; }
  .status-heading { padding: 0 0 20px; border-right: 0; border-bottom: 1px solid var(--mock-line); }
  .mock-builder-head { display: grid; padding: 26px 22px; }
  .source-lock { width: fit-content; }
  .mock-part-grid { grid-template-columns: 1fr; }
  .mock-part-card:nth-child(odd) { border-right: 0; }
  .mock-part-card:not(:last-child) { border-bottom: 1px solid var(--mock-line); }
  .mock-builder-footer { align-items: stretch; flex-direction: column; padding: 20px 22px; }
  .mock-builder-footer .btn { width: 100%; }
}

@media (max-width: 480px) {
  .mock-hero-actions { flex-direction: column; }
  .mock-hero-actions .btn { width: 100%; }
  .mock-stat-grid { grid-template-columns: 1fr; }
  .mock-stat,
  .mock-stat:nth-child(odd),
  .mock-stat:nth-last-child(-n + 2) { border-right: 0; border-bottom: 1px solid var(--mock-line); }
  .mock-stat:last-child { border-bottom: 0; }
  .mock-part-card { padding: 22px 18px; }
}
