:root {
  --page: #f5f5f7;
  --paper: #ffffff;
  --paper-soft: #fbfbfd;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --quiet: #a1a1a6;
  --line: rgba(0, 0, 0, .075);
  --line-strong: rgba(0, 0, 0, .14);
  --blue: #0071e3;
  --green: #34c759;
  --amber: #ff9f0a;
  --red: #ff3b30;
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, .06);
  --shadow-high: 0 34px 90px rgba(0, 0, 0, .12);
  --shadow-card: 0 18px 54px rgba(0, 0, 0, .075), inset 0 1px 0 rgba(255, 255, 255, .86);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, .96), rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 18% 18%, rgba(0, 113, 227, .055), rgba(0, 113, 227, 0) 30%),
    linear-gradient(180deg, #fbfbfc 0%, var(--page) 100%);
}

button,
select {
  font: inherit;
}

button {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, .88);
  font-weight: 720;
  cursor: pointer;
}

button:hover {
  background: #f0f0f2;
}

.interview-shell {
  width: min(1500px, calc(100vw - 44px));
  height: 100dvh;
  min-height: 720px;
  margin: 0 auto;
  padding: 14px 0;
  position: relative;
  display: block;
}

.intro-card {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 34px;
  z-index: 12;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 216px;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.top-status,
.agent-row {
  position: relative;
  min-height: 36px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, .055);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(248, 248, 250, .64));
  box-shadow: 0 14px 34px rgba(0, 0, 0, .045), inset 0 1px 0 rgba(255, 255, 255, .90);
  backdrop-filter: blur(22px);
}

.top-status::after,
.agent-row::after,
.timer-card::after,
.stage::after,
.speech-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 113, 227, .10), 0 0 22px rgba(0, 113, 227, .045);
  animation: surfaceBreath 4.8s ease-in-out infinite;
}

.top-status {
  gap: 7px;
  padding: 0 13px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.top-status b {
  color: var(--ink);
}

.top-status em {
  color: var(--quiet);
  font-style: normal;
}

#provider {
  display: none;
}

.dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--quiet);
  animation: statusBreath 2.8s ease-in-out infinite;
}

.dot.asking {
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(0, 113, 227, .12);
}

.dot.listening {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(52, 199, 89, .13);
}

.dot.thinking {
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(255, 159, 10, .13);
}

.dot.paused {
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(255, 59, 48, .12);
}

.brand-lockup {
  text-align: center;
  transform: translateY(-1px);
  visibility: hidden;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

h1 {
  margin: 0;
  font-size: clamp(29px, 2.35vw, 40px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 790;
}

.agent-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px;
  padding: 0 12px;
  justify-self: end;
  width: 100%;
}

.agent-row::after {
  animation-delay: -1.2s;
}

.agent-row label {
  color: var(--quiet);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.agent-row select {
  min-width: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  outline: none;
  font-size: 12px;
  font-weight: 720;
}

.voice-console {
  position: relative;
  min-height: 0;
  overflow: hidden;
  display: grid;
  height: calc(100dvh - 28px);
  min-height: 690px;
  grid-template-columns: minmax(136px, 188px) minmax(0, 1fr) minmax(136px, 188px);
  grid-template-rows: 82px minmax(372px, 1fr) minmax(0, auto) 66px;
  gap: 8px 20px;
  padding: 24px 30px 20px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(255, 255, 255, .96), rgba(255, 255, 255, 0) 45%),
    linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(251, 251, 253, .82));
  box-shadow: var(--shadow-high);
  backdrop-filter: blur(28px);
}

.voice-console::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(1260px, 92vw);
  height: min(620px, 60vh);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse, rgba(0, 0, 0, .052) 0%, rgba(0, 0, 0, .018) 38%, rgba(0, 0, 0, 0) 72%);
  pointer-events: none;
}

.timer-card,
.metric-pill,
.focus-board,
.speech-card,
.tip {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .90), rgba(248, 248, 250, .72));
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(22px);
}

.timer-card {
  position: absolute;
  right: 30px;
  top: 82px;
  z-index: 5;
  min-width: 112px;
  padding: 9px 14px;
  text-align: center;
  overflow: hidden;
}

.timer-card::after {
  animation-delay: -2.8s;
}

.timer-card span,
.metric-pill span {
  display: block;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 720;
}

.timer-card b {
  display: block;
  margin-top: 2px;
  font-size: 28px;
  line-height: 1;
  font-weight: 790;
  font-variant-numeric: tabular-nums;
}

.metric-pill {
  position: relative;
  z-index: 5;
  width: 168px;
  padding: 11px 13px 12px;
  overflow: hidden;
}

.metric-pill::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(0, 113, 227, .12);
  opacity: 0;
  pointer-events: none;
  animation: metricBreath 5.6s ease-in-out infinite;
}

.metric-pill::after {
  content: "";
  position: absolute;
  left: -45%;
  top: 0;
  width: 38%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent);
  opacity: .42;
  transform: skewX(-18deg);
  animation: cardScan 7.5s ease-in-out infinite;
  pointer-events: none;
}

.metric-pill.is-updating {
  animation: metricUpdatePop .82s cubic-bezier(.2, .8, .2, 1);
}

.metric-left {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  justify-self: start;
  margin-bottom: 72px;
}

.metric-right {
  grid-column: 3;
  grid-row: 2;
  align-self: end;
  justify-self: end;
  margin-bottom: 72px;
}

.metric-right::before {
  animation-delay: -1.8s;
}

.metric-pill b {
  display: block;
  margin: 5px 0 10px;
  font-size: 23px;
  font-weight: 790;
}

.metric-pill i {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 0, 0, .08);
}

.metric-pill em {
  display: block;
  height: 100%;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}

.metric-pill em::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  animation: progressBreath 2.8s ease-in-out infinite;
}

.metric-pill .complete {
  width: 42%;
  background: var(--blue);
}

.metric-pill .grade {
  width: 58%;
  background: linear-gradient(90deg, #c7c7cc, #1d1d1f);
}

.breath-stage {
  position: relative;
  grid-column: 2;
  grid-row: 1 / 3;
  z-index: 2;
  width: min(1380px, 100%);
  height: min(700px, 100%);
  min-height: 470px;
  align-self: start;
  justify-self: center;
  display: grid;
  place-items: center;
  perspective: 1100px;
  pointer-events: none;
  transform: translateY(-42px);
}

.particle-field {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 168%;
  height: 138%;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(64deg) rotateZ(-9deg);
  transform-origin: 50% 54%;
  transform-style: preserve-3d;
  background-image:
    radial-gradient(circle, rgba(29, 29, 31, .38) 0 1.35px, transparent 1.95px),
    radial-gradient(circle, rgba(0, 113, 227, .19) 0 1.08px, transparent 1.78px),
    radial-gradient(circle, rgba(52, 199, 89, .10) 0 1px, transparent 1.65px);
  background-size: 14px 14px, 24px 24px, 38px 38px;
  background-position: 0 0, 11px 8px;
  box-shadow:
    0 58px 124px rgba(0, 0, 0, .12),
    inset 0 0 105px rgba(255, 255, 255, .72);
  mask-image: radial-gradient(ellipse at center, #000 0 50%, rgba(0, 0, 0, .72) 63%, transparent 82%);
  animation: dotPlane 7.2s cubic-bezier(.4, 0, .2, 1) infinite;
}

.particle-field {
  overflow: hidden;
  border-radius: 50%;
}

.particle-field::before,
.particle-field::after {
  content: "";
  position: absolute;
  inset: 4%;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 50%;
  animation: breatheRing 4s ease-in-out infinite;
}

.particle-field::after {
  inset: 18%;
  border-color: rgba(0, 113, 227, .13);
  animation-delay: -1.1s;
}

.particle-field i {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(46vw, 620px);
  height: min(18vw, 230px);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .42) 28%, rgba(255, 255, 255, 0) 68%);
  filter: blur(22px);
  opacity: .46;
  animation: centerSink 5.8s ease-in-out infinite;
}

.particle-field i:nth-child(n+2) {
  display: none;
}

.center-pulse {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 480px;
  height: 260px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.center-pulse span {
  position: absolute;
  inset: 10px 28px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 50% 58%, rgba(0, 0, 0, .16), rgba(0, 0, 0, .045) 28%, rgba(0, 0, 0, 0) 58%),
    radial-gradient(ellipse, rgba(255, 255, 255, .78), rgba(255, 255, 255, 0) 72%);
  filter: blur(20px);
  animation: pulse 2.7s ease-in-out infinite;
}

.center-pulse b {
  position: relative;
  font-size: 132px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.01em;
  transform: skewX(-5deg);
  text-shadow:
    0 18px 34px rgba(0, 0, 0, .18),
    0 40px 60px rgba(0, 0, 0, .10);
}

@keyframes breatheRing {
  0%, 100% { opacity: .34; transform: scale(.975); }
  50% { opacity: .82; transform: scale(1.055); }
}

@keyframes particleBreath {
  0%, 100% { opacity: .22; scale: .78; }
  50% { opacity: .82; scale: 1.42; }
}

@keyframes dotPlane {
  0%, 100% {
    opacity: .72;
    transform: translate(-50%, -50%) rotateX(64deg) rotateZ(-9deg) scaleX(1) scaleY(1);
    background-position: 0 0, 11px 8px, 4px 10px;
    filter: blur(.1px);
  }
  50% {
    opacity: .98;
    transform: translate(-50%, -50%) rotateX(69deg) rotateZ(-9deg) scaleX(1.035) scaleY(.90);
    background-position: 18px 9px, 2px 22px, 24px 2px;
    filter: blur(0);
  }
}

@keyframes centerSink {
  0%, 100% {
    opacity: .34;
    transform: translate(-50%, -50%) scaleX(.78) scaleY(.72);
  }
  50% {
    opacity: .66;
    transform: translate(-50%, -50%) scaleX(1.18) scaleY(.42);
  }
}

@keyframes pulse {
  0%, 100% { opacity: .20; transform: scale(.95); }
  50% { opacity: .72; transform: scale(1.13); }
}

.dialogue-zone {
  position: relative;
  grid-column: 1 / 4;
  grid-row: 3;
  z-index: 4;
  width: min(1180px, 100%);
  align-self: end;
  justify-self: center;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "tagline"
    "stage"
    "ai"
    "teacher"
    "tip";
  gap: 8px;
  transform: translateY(-10px);
}

.console-tagline {
  grid-area: tagline;
  width: fit-content;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
  font-weight: 620;
  letter-spacing: 0;
}

.stage {
  position: relative;
  grid-area: stage;
  width: fit-content;
  margin: 0 auto 4px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(248, 248, 250, .70));
  box-shadow: 0 12px 30px rgba(0, 0, 0, .045);
  font-size: 12px;
  font-weight: 720;
  overflow: hidden;
}

.stage::after {
  animation-delay: -3.4s;
}

.speech-card {
  position: relative;
  padding: 14px 22px;
  overflow: hidden;
  border-radius: 20px;
}

.speech-card::after {
  animation-delay: -2.3s;
}

.speech-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 760;
}

.ai-card {
  grid-area: ai;
  width: min(1080px, 72vw);
  min-height: 144px;
  height: 144px;
  display: flex;
  flex-direction: column;
  justify-self: center;
}

#prompt {
  flex: 1;
  min-height: 0;
  margin: 0;
  color: var(--ink);
  font-size: clamp(18px, 1.16vw, 22px);
  line-height: 1.36;
  font-weight: 780;
  letter-spacing: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: block;
  padding-right: 6px;
  scrollbar-width: thin;
}

.caption-line,
.caption-paragraph {
  display: block;
  max-width: 100%;
  white-space: normal;
  overflow: visible;
  text-wrap: pretty;
}

.caption-line.active,
.caption-paragraph.active {
  color: var(--ink);
}

#prompt.density-long {
  font-size: clamp(16px, 1.05vw, 20px);
  line-height: 1.4;
}

#prompt.density-compact {
  font-size: clamp(15px, .98vw, 18px);
  line-height: 1.42;
}

.teacher-card {
  grid-area: teacher;
  width: min(1180px, 78vw);
  min-height: 136px;
  height: 136px;
  padding-top: 12px;
  justify-self: center;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(251, 251, 253, .90), rgba(246, 246, 248, .72));
}

.feed-lines {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: 7px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
}

.feed-lines p {
  margin: 0;
  color: var(--quiet);
  font-size: clamp(14px, .94vw, 17px);
  line-height: 1.46;
  white-space: normal;
  overflow: visible;
  text-wrap: pretty;
}

.feed-lines p:nth-last-child(2) {
  color: var(--muted);
}

.feed-lines p.active,
.feed-lines p:last-child {
  color: var(--ink);
  font-weight: 620;
}

.feed-lines em {
  display: inline-block;
  min-width: 36px;
  margin-right: 8px;
  color: var(--blue);
  font-style: normal;
  font-weight: 760;
}

.feed-lines span {
  vertical-align: top;
}

.feed-lines.density-long p {
  font-size: clamp(13px, .88vw, 16px);
  line-height: 1.46;
}

.feed-lines.density-compact p {
  font-size: clamp(12px, .82vw, 15px);
  line-height: 1.44;
}

.tip {
  grid-area: tip;
  width: fit-content;
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 15px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 560;
  overflow: hidden;
  animation: tipFloat 4.6s ease-in-out infinite;
}

@keyframes tipFloat {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 18px 54px rgba(0, 0, 0, .075), inset 0 1px 0 rgba(255, 255, 255, .86);
  }
  50% {
    transform: translateY(-1px);
    box-shadow: 0 22px 62px rgba(0, 0, 0, .095), inset 0 1px 0 rgba(255, 255, 255, .90);
  }
}

.focus-board {
  display: none;
}

.focus-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.focus-header b {
  color: var(--ink);
}

.focus-header span {
  color: var(--blue);
}

.focus-list {
  display: none;
}

.progress-map {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 5px;
  margin-top: 10px;
}

.progress-map span {
  height: 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .09);
}

.progress-map span.done {
  background: rgba(0, 0, 0, .36);
}

.progress-map span.current {
  background: var(--blue);
}

.primary-actions {
  position: relative;
  grid-column: 1 / 4;
  grid-row: 4;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, .74);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(22px);
  align-self: end;
  justify-self: center;
}

.primary-actions button {
  width: 82px;
  height: 46px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 17px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .065);
}

.primary-actions .primary {
  width: 102px;
  height: 50px;
  min-height: 50px;
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
  font-size: 16px;
  box-shadow: 0 18px 38px rgba(0, 113, 227, .24);
  animation: primaryBreath 3.2s ease-in-out infinite;
}

.primary-actions .finish {
  color: var(--ink);
  background: rgba(251, 251, 253, .92);
}

.hidden-store {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body[data-mode="asking"] .center-pulse,
body[data-mode="listening"] .center-pulse {
  animation: pulseCore 1.65s ease-in-out infinite;
}

body[data-mode="listening"] .center-pulse {
  border-color: rgba(52, 199, 89, .36);
}

body[data-mode="thinking"] .center-pulse {
  border-color: rgba(255, 159, 10, .38);
}

body[data-mode="paused"] .center-pulse {
  border-color: rgba(255, 59, 48, .32);
}

@keyframes pulseCore {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

@keyframes statusBreath {
  0%, 100% {
    opacity: .56;
    box-shadow: 0 0 0 0 rgba(0, 0, 0, .08);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 7px rgba(0, 0, 0, .045);
  }
}

@keyframes surfaceBreath {
  0%, 100% {
    opacity: 0;
  }
  45%, 60% {
    opacity: .82;
  }
}

@keyframes cardScan {
  0%, 70%, 100% {
    left: -45%;
  }
  86% {
    left: 112%;
  }
}

@keyframes progressBreath {
  0%, 100% {
    transform: translateX(-100%);
    opacity: .18;
  }
  50% {
    transform: translateX(100%);
    opacity: .65;
  }
}

@keyframes primaryBreath {
  0%, 100% {
    box-shadow: 0 18px 38px rgba(0, 113, 227, .24);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 24px 54px rgba(0, 113, 227, .34);
    transform: translateY(-1px);
  }
}

@keyframes metricBreath {
  0%, 100% {
    opacity: 0;
    transform: scale(.985);
  }
  48%, 62% {
    opacity: .78;
    transform: scale(1.015);
  }
}

@keyframes metricUpdatePop {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: var(--shadow-card);
  }
  42% {
    transform: translateY(-3px) scale(1.035);
    box-shadow: 0 24px 62px rgba(0, 113, 227, .18), inset 0 1px 0 rgba(255, 255, 255, .92);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: var(--shadow-card);
  }
}

@media (max-height: 780px) {
  .interview-shell {
    min-height: 660px;
    padding: 14px 0;
  }

  .voice-console {
    min-height: 650px;
    grid-template-rows: 58px minmax(260px, 1fr) minmax(0, auto) 60px;
    padding: 18px 26px;
  }

  .breath-stage {
    width: min(860px, 100%);
    min-height: 300px;
    transform: translateY(-22px);
  }

  .center-pulse {
    width: 330px;
    height: 176px;
  }

  .center-pulse b {
    font-size: 86px;
  }

  .dialogue-zone {
    gap: 7px;
    transform: translateY(-8px);
  }

  .ai-card {
    height: 132px;
    min-height: 132px;
  }

  #prompt {
    font-size: 17px;
  }

  .teacher-card {
    height: 128px;
    min-height: 128px;
  }
}

@media (max-width: 1280px) {
  .interview-shell {
    width: calc(100vw - 24px);
  }

  .voice-console {
    grid-template-columns: 148px minmax(0, 1fr) 148px;
    gap: 8px 12px;
    padding: 22px 22px 18px;
  }

  .timer-card {
    right: 22px;
  }

  .metric-pill {
    width: 148px;
  }

  .metric-left,
  .metric-right {
    margin-bottom: 64px;
  }

  .breath-stage {
    min-height: 390px;
    transform: translateY(-30px);
  }

  .center-pulse {
    width: 380px;
    height: 220px;
  }

  .center-pulse b {
    font-size: 108px;
  }

  .ai-card {
    width: min(860px, 78vw);
  }

  .teacher-card {
    width: min(960px, 84vw);
  }

  #prompt {
    font-size: clamp(15px, 1.35vw, 18px);
  }
}

@media (max-width: 1050px) {
  body {
    overflow: auto;
  }

  .interview-shell {
    height: auto;
    min-height: 100vh;
    padding: 14px 0;
  }

  .intro-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px;
  }

  .top-status,
  .agent-row {
    justify-content: center;
  }

  .voice-console {
    height: auto;
    min-height: 980px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
    padding: 24px;
  }

  .timer-card,
  .metric-pill,
  .breath-stage,
  .dialogue-zone,
  .primary-actions {
    grid-column: 1;
  }

  .timer-card {
    position: relative;
    right: auto;
    top: auto;
    grid-row: 1;
    justify-self: center;
  }

  .metric-left {
    grid-row: 2;
    justify-self: center;
  }

  .metric-right {
    grid-row: 3;
    justify-self: center;
  }

  .breath-stage {
    grid-row: 4;
    width: min(620px, 100%);
    min-height: 300px;
  }

  .dialogue-zone {
    grid-row: 5;
    width: min(760px, 100%);
    grid-template-columns: 1fr;
    grid-template-areas:
      "tagline"
      "stage"
      "ai"
      "teacher"
      "tip";
  }

  .ai-card {
    width: min(680px, 92%);
    height: 150px;
    min-height: 150px;
  }

  .teacher-card {
    width: min(760px, 100%);
    height: 150px;
    min-height: 150px;
  }

  .primary-actions {
    position: sticky;
    bottom: 18px;
    margin-top: 14px;
    grid-row: 6;
  }

  .focus-board {
    width: min(760px, calc(100% - 80px));
  }
}
