@font-face{font-family:Inter;src:url('/inter.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{
  color-scheme:light;--ink:#111d32;--muted:#516078;--border:#dce3ed;--blue:#22268b;--blue-hover:#343aa1;--tint:#eeeffc;--canvas:#f5f7fa;--white:#fff;
  --divider-fade:36px;
  --content-rule-color:#9a773b66;
  --content-rule:linear-gradient(90deg,transparent,var(--content-rule-color) var(--divider-fade),var(--content-rule-color) calc(100% - var(--divider-fade)),transparent);
  font:16px/1.55 Inter,Arial,sans-serif;color:var(--ink);background:var(--canvas)
}
@media(max-width:700px){:root{--divider-fade:24px}}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0}
h1,h2,h3,p,ol{margin:0}
h1{font-size:clamp(2.15rem,4.2vw,3.75rem);letter-spacing:-.064em;line-height:1.05;font-weight:670;text-wrap:balance}
h2{font-size:1.12rem;line-height:1.3;letter-spacing:-.035em;font-weight:660}
a{color:var(--blue)}
.mast,.practice-header{background-color:white;border-bottom:1px solid transparent}
.mast-inner,.practice-header{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px}
.mast-inner{max-width:1192px;padding:0 34px;margin:auto}
.identity{display:flex;align-items:center;gap:22px}.identity img{width:145px;height:auto}
.identity span{border-left:1px solid transparent;background:linear-gradient(180deg,transparent,var(--content-rule-color) min(16px,50%),var(--content-rule-color) max(calc(100% - 16px),50%),transparent) left center / 1px 100% no-repeat border-box;padding-left:20px;font-size:.9rem;font-weight:560}
.practice-link,.practice-header a{display:inline-flex;align-items:center;gap:7px;text-decoration:none;font-size:.86rem;font-weight:610}
.practice-link:hover,.practice-header a:hover{text-decoration:underline;text-underline-offset:4px}
.exam,.practice{max-width:1032px;margin:auto;padding:0 36px 64px}
#test-progress {
  position:sticky;
  top:0;
  z-index:2;
  display:grid;
  justify-items:center;
  row-gap:1px;
  margin:0 0 clamp(.875rem,2.5vh,1.5rem);
  padding:max(2px,env(safe-area-inset-top)) 0 2px;
  background:var(--canvas);
}
#question-position {
  color:var(--muted);
  font-size:.78rem;
  font-weight:500;
  line-height:1.2;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.journey {
  --icon-size:24px;
  --icon-gap:calc(var(--icon-size) / 2 + 5px);
  position:relative;
  width:min(100%,38rem);
}
#question-track {
  position:absolute;
  inset:calc(var(--icon-size) / 2) calc(100% / 6 + var(--icon-gap)) auto;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:calc(2 * var(--icon-gap));
  height:1px;
  pointer-events:none;
}
.journey-connector {
  display:flex;
  background:linear-gradient(90deg,transparent,#b9c4d4 16px,#b9c4d4 calc(100% - 16px),transparent);
}
.journey-connector [data-progress] { flex:1 1 0;min-width:0; }
.journey-connector b {
  display:block;
  height:100%;
  background:var(--blue);
  transform:scaleX(0);
  transform-origin:left;
}
.milestones {
  list-style:none;
  padding:0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.milestones li { display:grid;justify-items:center;align-content:start; }
.milestone-icon {
  display:block;
  width:var(--icon-size);
  height:var(--icon-size);
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  color:#69778b;
  transition:color .24s ease;
}
.milestones .reached .milestone-icon { color:var(--ink); }
.milestones [aria-current="step"] .milestone-icon { color:var(--blue); }
#test-progress:has(+ #intro[hidden]) .milestone-name {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
#test-progress:has(+ #intro[hidden]) small { display:none; }
html:has(#test-progress:not([hidden]) + #intro[hidden]) {
  scroll-padding-top:calc(3rem + env(safe-area-inset-top));
}
@media (prefers-reduced-motion:no-preference) {
  .milestones [aria-current="step"] use {
    stroke-dasharray:1;
    animation:milestone-trace .65s cubic-bezier(.22,.78,.24,1);
  }
  @keyframes milestone-trace { from { stroke-dashoffset:1; } to { stroke-dashoffset:0; } }
}
@media(forced-colors:active){
  .journey-connector{forced-color-adjust:none;background:GrayText}
  .journey-connector b{background:Highlight}
  .milestones [aria-current="step"] .milestone-icon{forced-color-adjust:none;color:Highlight}
}
button,input,textarea{font:inherit}
button{display:inline-flex;min-height:46px;align-items:center;justify-content:center;gap:9px;padding:10px 17px;cursor:pointer;border:0;border-radius:999px;background:var(--blue);color:var(--white);font-size:.9rem;font-weight:610;touch-action:manipulation;transition:background-color .18s,scale .16s,opacity .18s,outline-offset .15s}
@media (hover:hover) and (pointer:fine){
  button:hover:enabled{background:var(--blue-hover)}
}
button:active:enabled{scale:.97}
button:disabled{opacity:.53;cursor:default}

:where(button,a,textarea,input[type=range]){outline:3px solid transparent;outline-offset:0}
a,textarea,input[type=range]{transition:color .18s,opacity .18s,outline-offset .15s,outline-color .15s}
:focus-visible{outline:3px solid #7080c7;outline-offset:3px}
[tabindex="-1"]:focus{outline:none}
.lead{max-width:64ch;margin-top:14px;font-size:1.04rem;line-height:1.65;color:var(--muted)}
.kicker{color:var(--muted);font-size:.8125rem;font-weight:460;line-height:1.45}
.material{padding:0 0 24px;border-bottom:1px solid transparent}
.material h1,#speaking-title{font-size:var(--material-title-size);font-weight:570;line-height:1.3;letter-spacing:-.025em}
.material h1{margin:0 0 10px}
#passage-body p{max-width:72ch;color:#354259;white-space:pre-line;line-height:1.65}#passage-body p+p{margin-top:8px}
.question,.capture{margin-top:24px}
fieldset{border:0;margin:0;padding:0;min-width:0}
legend,#speaking-instruction{font-size:var(--task-size);font-weight:640;letter-spacing:-.032em;line-height:1.28;color:var(--ink);text-wrap:pretty}
legend{padding:0;margin:0 0 16px}
#options{display:grid;border-block:1px solid transparent}
.option{display:flex;align-items:center;gap:13px;padding:11px 14px;border:0;border-radius:0;cursor:pointer;font-size:1rem;transition:background-color .18s,border-color .18s}
.option+.option{border-top:1px solid transparent}.option:hover{background-color:#eef1f6}.option:has(input:checked){background-color:var(--tint)}
input[type=radio]{flex:none;accent-color:var(--blue);width:17px;height:17px;margin:0}
.actions,.transport,.buttons,.metrics,.replay{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.actions,.buttons{margin-top:20px}
.transport,.replay{background:white;border:1px solid var(--border);border-radius:12px;padding:10px 15px;margin:16px 0 7px;flex-wrap:nowrap}
.replay{width:min(100%,620px);background:var(--canvas)}
.morph{flex:none;width:21px;height:21px;fill:currentColor;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}
#listen,.round-control{border-radius:50%;width:46px;height:46px;padding:0;flex:none}
button[data-icon=record] .morph{width:18px}
.wave{display:flex;align-items:center;justify-content:space-between;gap:2px;flex:1;height:28px;overflow:hidden}
.wave i{
  position:relative;min-width:1px;flex:1;border-radius:3px;background:#ccd4e3;
  animation:wave-tick-enter .32s cubic-bezier(.18,.7,.28,1) var(--tick-delay,0ms) backwards;
}
.wave i::after{
  content:'';position:absolute;inset:0;border-radius:inherit;background:var(--blue);
  opacity:0;transform:scaleY(.08);transition:transform .17s ease-in,opacity .17s ease-in;
}
.wave i.played::after{
  opacity:1;transform:scaleY(1);
  transition:transform .5s cubic-bezier(.22,1.65,.38,1),opacity .28s ease-out;
}
@keyframes wave-tick-enter{from{transform:scaleY(.08)}to{transform:scaleY(1)}}
@media(prefers-reduced-motion:reduce){
  .wave i{animation:none}
  .wave i::after,.wave i.played::after{transition:none}
}
.media-time,#clock{font-variant-numeric:tabular-nums;font-size:.8rem;color:var(--muted);white-space:nowrap}
.replay input{min-width:32px;flex:1;accent-color:var(--blue);transition:opacity .18s}
.replay input:disabled{opacity:.52}
.media-time,#clock{display:inline-block}
.helper,.note,.status{color:var(--muted);font-size:.87rem}
.helper:not(:empty),.note,.status{margin-top:12px}.actions .helper{margin:0}
#speaking .material,.practice #result{margin-top:22px}
#speaking>.kicker,#summary>.kicker{margin-bottom:8px}
.phrase{max-width:52ch;margin:0 auto;font-size:var(--material-title-size);line-height:1.5;letter-spacing:-.012em}
.practice-header{padding:14px max(20px,calc((100% - 1100px)/2))}.practice{padding-top:45px}.practice>p{margin-top:10px;color:var(--muted)}
textarea{width:100%;font-size:1.4rem;line-height:1.4;border:1px solid var(--border);border-radius:9px;margin:8px 0;padding:12px;color:var(--ink);resize:vertical}
.metric{padding:10px 20px 10px 0}.metric strong{display:block}.practice h3{font-size:1rem}
.status-echo{position:fixed;pointer-events:none;font-size:.87rem;color:var(--muted)}
.presence,#speak-next,#skip{
  transition:opacity .18s,translate .18s,display .18s allow-discrete,
    background-color .18s,border-color .18s,color .18s,scale .16s,outline-offset .15s,outline-color .15s;
  @starting-style{opacity:0;translate:0 4px}
}
.presence[hidden],#speak-next[hidden],#skip[hidden]{opacity:0;translate:0 -4px;pointer-events:none}
@media(max-width:720px){
  .mast-inner,.exam,.practice{padding-left:20px;padding-right:20px}.mast-inner{min-height:61px}
  .identity{gap:12px}.identity img{width:115px}.identity span{padding-left:12px;font-size:.8rem}
}
@media(max-width:460px){
  .identity span{display:none}.practice-link{font-size:.78rem}
  .transport,.replay{padding:8px;gap:8px}.wave{gap:1px}.exam,.practice{padding-left:15px;padding-right:15px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:0s!important;transition-duration:0s!important}
}

.exam{
  --task-size:clamp(1.35rem,1.12rem + 1vw,1.68rem);
  --material-title-size:clamp(1.125rem,1.02rem + .45vw,1.32rem);
  max-width:780px;min-height:calc(100svh - 72px)
}
#intro{
  min-height:clamp(480px,72svh,700px);display:flex;flex-direction:column;
  justify-content:center;align-items:center;text-align:center;padding:32px 0;
}
#intro h1{font-size:clamp(2.28rem,5vw,3.85rem);letter-spacing:-.057em}
#intro .lead{max-width:48ch;text-wrap:pretty}
#intro .actions{margin:0}
.exam .actions{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:center;gap:4px;margin-top:24px}
.exam .actions>.primary{min-width:9.75rem}
.exam .actions .quiet{font-weight:500;font-size:.85rem}
#material-label{margin-bottom:8px}
.exam .results{margin:28px 0 18px}
.results>div{display:grid;grid-template-columns:minmax(9rem,1fr) minmax(0,1.75fr);align-items:baseline;gap:12px;border-bottom:1px solid transparent;padding:15px 0}
/* Webinar/dividers.css: paint a one-pixel gradient at the existing row edge. */
.mast,.practice-header,.material,.results>div,#options,#options .option+.option,.practice #result {
  background-image:var(--content-rule);
  background-position:center bottom;
  background-size:100% 1px;
  background-repeat:no-repeat;
  background-origin:border-box;
}
#options .option+.option,.practice #result { background-position:center top; }
#options { background-image:var(--content-rule),var(--content-rule); background-position:center top,center bottom; }
.results dt{color:var(--muted);font-size:.95rem}.results dd{margin:0;text-align:right;font-weight:560;color:var(--ink)}
#speaking,#summary{text-align:center}
#speaking .lead{margin-inline:auto}
#speaking-instruction{max-width:46ch;margin-top:10px}
#summary>.lead{margin-inline:auto;margin-top:12px;max-width:52ch}
#speaking .material{padding:8px 0 24px}
#speaking .phrase[hidden]{display:none}
#speaking-cues{margin-top:14px;color:var(--ink);font-size:1rem}
#mic-status:not(:empty){color:var(--ink);font-size:1rem;line-height:1.55;white-space:pre-line}
#mic[aria-busy="true"] .morph{display:none}
#mic[aria-busy="true"]::before{
  content:"";width:1em;height:1em;border:2px solid currentColor;border-right-color:transparent;
  border-radius:50%;animation:mic-processing .8s linear infinite;
}
@keyframes mic-processing{to{transform:rotate(1turn)}}
@media(prefers-reduced-motion:reduce){#mic[aria-busy="true"]::before{animation:none}}
.record-actions{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
#mic-wave {
  display: block;
  width: min(100%, 15rem);
  height: 2.25rem;
  max-height: 0;
  margin: 0 auto;
  opacity: 0;
  fill: var(--blue);
  transition: opacity .18s ease, max-height .2s ease, margin-top .2s ease;
}
#mic-wave.capturing { max-height: 2.25rem; margin-top: .65rem; opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  #mic-wave rect { transition: y 55ms linear, height 55ms linear; }
}
@media (prefers-reduced-motion: reduce) {
  #mic-wave { transition: none; }
}
#summary .results{text-align:left}
.exam .transport{margin-inline:auto;max-width:34rem;border:0;background:transparent;padding-inline:0}
#listening{text-align:center}
@media(max-width:460px){
  #intro{min-height:min(78svh,550px)}
  .results>div{grid-template-columns:1fr 1fr}
}
