/* Mock Test only; shared navigation and in-test controls retain their existing rules. */
.exam-page { --mock-ink: #10264d; --mock-muted: #557397; }
.exam-page .mock-scene { position: relative; isolation: isolate; flex: 1 0 auto; min-height: 700px; color: var(--mock-ink); background: radial-gradient(ellipse at 43% 48%, #f8fbff 6%, #eaf3ff 49%, #c7e2fc 100%); }
.exam-page .mock-scene[hidden] { display: none; }
.exam-page .mock-water { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.exam-page .mock-water img { width: 100%; height: 100%; }
.exam-page .mock-dolphin { position: absolute; width: clamp(260px, 27vw, 440px); height: auto; left: -60px; top: 35px; transform: rotate(-100deg); z-index: -1; pointer-events: none; opacity: .88; }
.exam-page .mock-brand { display: flex; align-items: center; gap: 26px; padding: 22px 32px; font-size: 20px; font-weight: 650; }
.exam-page .mock-brand a { color: #0d1649; text-decoration: none; font-size: 30px; font-weight: 800; letter-spacing: -1.5px; }
.exam-page .mock-brand > span { padding-left: 26px; border-left: 1px solid #7791b0; }
.exam-page .mock-brand b { color: #31557d; }
.exam-page .mock-content { position: relative; width: min(1120px, calc(100% - 100px)); margin: 55px auto 85px; }
.exam-page .mock-heading { text-align: center; margin: 0 0 28px; }
.exam-page .mock-eyebrow { color: #0865ed; font-size: 15px; font-weight: 750; letter-spacing: 3px; margin: 0 0 20px; }
.exam-page .mock-heading h1 { margin: 0; font-size: clamp(28px, 3.1vw, 52px); line-height: 1.2; letter-spacing: -1.6px; font-weight: 750; color: #0e184b; }
.exam-page .mock-heading h1 span { color: #0867f7; background: linear-gradient(100deg,#1563df,#0078ff); background-clip: text; -webkit-text-fill-color: transparent; }
.exam-page .mock-subtitle { margin: 15px 0 20px; color: #42658c; font-size: clamp(14px, 1.35vw, 21px); line-height: 1.6; }
.exam-page .mock-heading i { display: block; width: 56px; height: 5px; background: #1679ff; border-radius: 6px; margin: auto; }
.exam-page .mock-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .41fr); gap: 26px; align-items: start; }
.exam-page .mock-choices { min-width: 0; }
.exam-page .mock-choices > h2 { margin: 0 0 22px; display: flex; align-items: center; gap: 14px; font-size: 23px; color: #101949; }
.exam-page .mock-choices > h2 svg { width: 27px; height: 27px; color: #1679ff; }
.exam-page .mock-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.exam-page .mock-card { position: relative; height: clamp(265px, 19vw, 325px); padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 20px; background: #284b5f; text-align: left; color: #fff; cursor: pointer; box-shadow: 0 6px 10px #1d5c8a20; transition: box-shadow 180ms; }
.exam-page .mock-card > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 200ms; }
.exam-page .mock-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 25%,#0a23344d 45%,#11324df2 100%); }
.exam-page .mock-card[aria-pressed="true"] { border-color: #1672ff; box-shadow: 0 0 0 2px #fff, 0 7px 12px #2276d75c; }
.exam-page .mock-card:hover > img { transform: scale(1.035); }
.exam-page .mock-card:disabled { cursor: wait; }
.exam-page .mock-check { display: none; position: absolute; right: 10px; top: 10px; width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: #0671ff; z-index: 2; }
.exam-page .mock-card[aria-pressed="true"] .mock-check { display: block; }
.exam-page .mock-card-copy { position: absolute; bottom: 12px; left: 18px; right: 12px; display: flex; flex-direction: column; align-items: start; gap: 9px; z-index: 1; }
.exam-page .mock-part { padding: 4px 12px; border-radius: 30px; background: #fff; color: #234b78; font-size: 15px; font-weight: 700; }
.exam-page .mock-card strong { font-size: clamp(18px,1.5vw,25px); line-height: 1.15; max-width: 190px; }
.exam-page .mock-description { font-size: clamp(12px,1.08vw,17px); line-height: 1.5; }
.exam-page .mock-duration { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-top: 4px; }
.exam-page .mock-duration svg { width: 20px; height: 20px; }
.exam-page .mock-info { margin-top: 0; padding: 26px; border: 1px solid #ffffffed; border-radius: 26px; background: linear-gradient(135deg, #ffffffa8, #f7fbff75); box-shadow: inset 0 1px 0 #fff, 0 8px 30px #4386bf08; backdrop-filter: blur(8px); }
.exam-page .mock-info h2 { margin: 0 0 20px; padding-bottom: 18px; border-bottom: 1px solid #cbddee; font-size: clamp(21px,1.8vw,29px); color: #101949; white-space: nowrap; }
.exam-page .mock-feature { display: flex; align-items: center; gap: 22px; margin: 22px 0; }
.exam-page .mock-feature > svg { flex: 0 0 29px; width: 29px; height: 29px; color: #355e88; }
.exam-page .mock-feature h3 { margin: 0 0 6px; font-size: 18px; }
.exam-page .mock-feature p { margin: 0; font-size: 13px; line-height: 1.6; color: #42658c; }
.exam-page .mock-start-slot { display: flex; justify-content: center; margin-top: 28px; }
.exam-page .mock-start-slot #new-chat-button { display: flex; align-items: center; justify-content: center; gap: 22px; width: 350px; max-width: 100%; min-height: 64px; padding: 8px 24px; border: 1px solid #ffffff9c; border-radius: 50px; color: #fff; background: linear-gradient(120deg,#4b89ca,#1d5699 65%,#174980); box-shadow: inset 0 2px 3px #ffffff75,0 12px 22px #448fce55; font-size: 20px; }
.exam-page .mock-start-slot #new-chat-button > svg { display: none; }
.exam-page .mock-orb { display: none; }
.exam-page .mock-start-slot .mock-orb { display: block; flex: 0 0 44px; width: 44px; height: 44px; margin: 0; }
.exam-page .mock-start-arrow { display: none; }
.exam-page .mock-start-slot .mock-start-arrow { display: block; width: 24px; height: 24px; }
.exam-page .exam-shell:not(.has-session) .chat-main { overflow-y: auto; display: block; background: #e8f4ff; }
.exam-page .exam-shell:not(.has-session) .talk-toolbar,
.exam-page .exam-shell:not(.has-session) .history-toggle,
.exam-page .exam-shell:not(.has-session) .conversation { display: none; }
.exam-page .exam-shell:not(.has-session) .composer-area { background: #edf5ff; }
.exam-page .exam-shell:not(.has-session) .composer-inner { padding-block: 0; }
html.dark .exam-page .mock-scene { background: radial-gradient(ellipse at center,#203c58,#101c32); --mock-ink: #edf5ff; }
html.dark .exam-page .mock-heading h1, html.dark .exam-page .mock-choices > h2, html.dark .exam-page .mock-info h2, html.dark .exam-page .mock-brand a { color: #eef5ff; }
html.dark .exam-page .mock-subtitle, html.dark .exam-page .mock-feature p, html.dark .exam-page .mock-brand b { color: #c0d6ee; }
html.dark .exam-page .mock-info { background: #11243b99; border-color: #557397; }
html.dark .exam-page .mock-water, html.dark .exam-page .mock-dolphin { opacity: .25; }
@media (min-width: 1700px) { .exam-page .mock-content { margin-top: 65px; } }
@media (max-width: 1200px) and (min-width: 901px) { .exam-page .mock-content { width: calc(100% - 48px); margin-top: 48px; } .exam-page .mock-grid { gap: 18px; grid-template-columns: minmax(0,1fr) 210px; } .exam-page .mock-cards { gap: 12px; } .exam-page .mock-info { padding: 18px; } .exam-page .mock-feature { gap: 12px; } .exam-page .mock-card-copy { left: 12px; } }
@media (max-width: 900px) { .exam-page .mock-brand { padding: 22px 20px; font-size: 15px; gap: 16px; } .exam-page .mock-brand > span { padding-left: 16px; } .exam-page .mock-content { width: calc(100% - 40px); margin-top: 65px; } .exam-page .mock-dolphin { width: 260px; left: -80px; opacity: .45; } .exam-page .mock-grid { grid-template-columns: minmax(0,1fr); } .exam-page .mock-info { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; } .exam-page .mock-info h2 { grid-column: 1/-1; margin: 0; } .exam-page .mock-feature { margin: 0; gap: 12px; } .exam-page .mock-feature > svg { display: none; } .exam-page .mock-heading h1 { font-size: 34px; } }
@media (prefers-reduced-motion: reduce) { .exam-page .mock-card, .exam-page .mock-card > img { transition: none; } .exam-page .mock-orb, .exam-page .mock-orb * { animation: none; } }
.exam-page .mock-scene { min-height: max(700px, calc(100dvh - 38px)); }
@media (min-width: 901px) { .exam-page .mock-info { margin-top: -30px; } }
.exam-page .mock-start-slot #new-chat-button { flex-wrap: nowrap; height: 64px; }
.exam-page .mock-start-arrow svg { width: 24px; height: 24px; }
.exam-page .mock-start-slot #session-button-label { white-space: nowrap; }

/* Keep the ocean visible through the active test, including preparation and review. */
.exam-page .chat-main { position: relative; isolation: isolate; background: radial-gradient(ellipse at 43% 48%, #f8fbff 6%, #eaf3ff 49%, #c7e2fc 100%); }
.exam-page .mock-session-ocean { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.exam-page .mock-session-ocean img { width: 100%; height: 100%; object-fit: fill; }
.exam-page .exam-shell:not(.has-session) .mock-session-ocean { display: none; }
.exam-page .has-session .conversation, .exam-page .has-session .talk-toolbar, .exam-page .has-session .exam-controls { background: transparent; }
.exam-page .has-session .message, .exam-page .has-session .composer { color: #142d54; }
.exam-page .has-session .composer-area { background: transparent; backdrop-filter: none; border-top: 0; box-shadow: none; }
.exam-page .has-session .message-assistant .message-text { color: #142d54; }
.exam-page .mock-selection-status { margin: 16px 0 0; color: #42658c; font-size: 14px; text-align: center; line-height: 1.6; }
.exam-page .mock-start-slot .mock-orb { border-radius: 50%; animation: none; background: radial-gradient(circle at 68% 78%, #d8ffff 0%, #75dcff 21%, transparent 52%), radial-gradient(circle at 28% 22%, #b47aff 0%, #9662ed 29%, transparent 64%), #decdff; box-shadow: inset 0 1px 3px #ffffffd9, inset 0 -3px 8px #b8f3ff80, 0 0 12px #80c5ff40; overflow: hidden; }
.exam-page .mock-start-slot .mock-orb .orb-blob { animation: none; box-shadow: none; background: radial-gradient(ellipse at 36% 65%, #fff 0%, #fff9 16%, transparent 47%); }
.exam-page .mock-start-slot .mock-orb .orb-blob::before, .exam-page .mock-start-slot .mock-orb .orb-blob::after { display: none; }
html.dark .exam-page .chat-main { background: radial-gradient(ellipse at center,#203c58,#101c32); }
html.dark .exam-page .mock-session-ocean { opacity: .25; }
html.dark .exam-page .has-session .composer-area { background: transparent; }
html.dark .exam-page .has-session .message-assistant .message-text, html.dark .exam-page .mock-selection-status { color: #d7e8fa; }
html.dark .exam-page .has-session .message, html.dark .exam-page .has-session .composer { color: #dceaff; }

.exam-page .mock-card:focus-visible { outline: 3px solid #075ed5; outline-offset: 4px; }
.exam-page .mock-session-ocean::after { content: ''; position: absolute; top: 35px; left: -60px; width: clamp(260px, 27vw, 440px); aspect-ratio: 1; background: url('/assets/free-talk/dolphin.baf4d7c82c072290.webp') center / contain no-repeat; transform: rotate(-100deg); opacity: .6; }
@media (max-width: 900px) { .exam-page .mock-session-ocean::after { width: 260px; left: -80px; opacity: .3; } }

/* Phone preparation screen; leave the desktop and active exam layouts intact. */
@media (max-width: 680px) {
  .exam-page .mock-scene { min-height: 0; padding-bottom: max(20px, env(safe-area-inset-bottom, 0px)); }
  .exam-page .mock-brand { padding: 16px 18px 12px; gap: 12px; }
  .exam-page .mock-brand a { font-size: 27px; }
  .exam-page .mock-brand > span { padding-left: 12px; font-size: 12px; }
  .exam-page .mock-dolphin { top: 10px; width: 220px; opacity: .2; }
  .exam-page .mock-content { width: calc(100% - 32px); margin: 18px auto 0; }
  .exam-page .mock-heading { margin-bottom: 20px; }
  .exam-page .mock-eyebrow { margin-bottom: 12px; font-size: 10px; letter-spacing: 1.5px; }
  .exam-page .mock-heading h1 { font-size: clamp(27px, 7.4vw, 36px); line-height: 1.15; letter-spacing: -1px; }
  .exam-page .mock-heading h1 span { display: block; }
  .exam-page .mock-subtitle { margin: 12px 0 14px; font-size: 12px; line-height: 1.6; }
  .exam-page .mock-heading i { width: 44px; height: 4px; }
  .exam-page .mock-grid { gap: 18px; }
  .exam-page .mock-choices > h2 { margin-bottom: 12px; gap: 9px; font-size: 20px; }
  .exam-page .mock-choices > h2 svg { width: 24px; height: 24px; }
  .exam-page .mock-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .exam-page .mock-card {
    display: grid;
    grid-template-columns: 30% minmax(0, 1fr);
    height: auto;
    min-height: 108px;
    border-radius: 16px;
    background: #f5faffeb;
    color: var(--mock-ink);
    box-shadow: 0 4px 10px #1d5c8a12;
  }
  .exam-page .mock-card > img { position: static; width: 100%; height: 100%; min-height: 108px; }
  .exam-page .mock-card::after { display: none; }
  .exam-page .mock-card-copy { position: static; min-width: 0; padding: 9px 10px; gap: 4px; }
  .exam-page .mock-part { padding: 2px 9px; background: #dcecff; font-size: 11px; line-height: 1.4; }
  .exam-page .mock-card strong { max-width: none; font-size: clamp(14px, 3.9vw, 18px); line-height: 1.2; }
  .exam-page .mock-description { font-size: 11px; line-height: 1.5; }
  .exam-page .mock-duration { gap: 5px; margin-top: 1px; font-size: 11px; }
  .exam-page .mock-duration svg { width: 15px; height: 15px; }
  .exam-page .mock-check { top: 7px; right: 7px; width: 20px; height: 20px; padding: 4px; }
  .exam-page .mock-card[aria-pressed="true"] .mock-part { margin-right: 20px; }
  .exam-page .mock-start-slot { margin-top: 16px; }
  .exam-page .mock-start-slot #new-chat-button { width: 100%; height: 56px; min-height: 56px; padding: 8px 18px; gap: 14px; font-size: 18px; }
  /* Beat the shared opening-state orb size, which otherwise stretches to 88px. */
  .exam-page .exam-shell .mock-start-slot .mock-orb { flex: 0 0 36px; width: 36px; height: 36px; margin: 0; }
  .exam-page .mock-info { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 0; padding: 16px 10px; border-radius: 20px; }
  .exam-page .mock-info h2 { padding: 0 4px 12px; font-size: 19px; }
  .exam-page .mock-feature { flex-direction: column; gap: 7px; min-width: 0; padding: 0 6px; text-align: center; }
  .exam-page .mock-feature + .mock-feature { border-left: 1px solid #cbddee; }
  .exam-page .mock-feature > svg { display: block; flex: 0 0 23px; width: 23px; height: 23px; color: #1679ff; }
  .exam-page .mock-feature h3 { margin-bottom: 4px; font-size: 12px; }
  .exam-page .mock-feature p { font-size: 10px; line-height: 1.5; }
  .exam-page .exam-shell:not(.has-session) .composer-area { background: transparent; }
  .exam-page .exam-shell:not(.has-session) .composer,
  .exam-page .exam-shell:not(.has-session) .composer-hint { display: none; }
  .exam-page .exam-shell:not(.has-session) .composer-area:not(:has(.error-text:not(:empty), #retry-button:not([hidden]))) { display: none; }
  html.dark .exam-page .mock-card { background: #182c43; }
  html.dark .exam-page .mock-part { background: #294666; color: #d7e8fa; }
  html.dark .exam-page .mock-feature + .mock-feature { border-color: #557397; }
}
