@import url('/assets/academia-next/brand.css?v=20260926-toefl-speaking-1');

/* Academia's current site identity; task structure and timing remain in their engines. */
html:root:has(body.te-page),html:root:has(body.toefl-exam){background:var(--nx-bg,#f5f3fa)!important;color-scheme:light}
html:root[data-theme=dark]:has(body.te-page),html:root[data-theme=dark]:has(body.toefl-exam){color-scheme:dark}
html:root body:is(.te-page,.toefl-exam){
  --ink:var(--nx-ink,#191329);--muted:var(--nx-muted,#62596f);--paper:var(--nx-surface,#fff);--bg:var(--nx-bg,#f5f3fa);--line:var(--nx-line,#d8cee9);--purple:var(--nx-accent,#674195);--brand:var(--nx-accent,#674195);
  background:var(--nx-bg,#f5f3fa)!important;color:var(--nx-ink,#191329)!important;
  font-family:var(--ae-body-font,Onest,system-ui,sans-serif)!important;font-size:16px!important;line-height:1.6;
}
html:root body:is(.te-page,.toefl-exam) :is(button,input,select,textarea,p,li,label,summary,small,a,span,strong,td,th,svg text,h2,h3,h4,h5,h6){font-family:var(--ae-body-font,Onest,system-ui,sans-serif)!important}
html:root body:is(.te-page,.toefl-exam) h1{font-family:var(--ae-title-font,Unbounded,Onest,system-ui,sans-serif)!important;letter-spacing:-.035em!important;line-height:1.35!important}
html:root body.te-page main,html:root body.toefl-exam .s50-panel{
  background:var(--nx-surface,#fff)!important;color:var(--nx-ink,#191329)!important;
  border:1px solid var(--nx-line,#d8cee9)!important;border-radius:20px!important;
  box-shadow:0 8px 30px #39244808!important;overflow:clip;
}
html:root body.te-page main{margin:24px auto!important;min-height:768px!important}
html:root body.toefl-exam .s50-shell{margin:24px auto!important}
html:root body:is(.te-page,.toefl-exam) :is(.te-exam-top,.s50-exam-top){
  min-height:76px;height:auto;box-sizing:border-box;gap:16px;padding:14px 20px;
  background:var(--nx-surface,#fff)!important;color:var(--nx-ink,#191329)!important;
  border-bottom:3px solid var(--nx-accent,#674195);
}
html:root body:is(.te-page,.toefl-exam) .ae-toefl-brand{display:flex;align-items:center;gap:10px;line-height:1.3;white-space:nowrap}
html:root body:is(.te-page,.toefl-exam) .ae-toefl-brand img{display:block;width:36px;height:36px;object-fit:contain;border-radius:10px}
html:root body:is(.te-page,.toefl-exam) .ae-toefl-brand strong{display:block;font-size:17px;font-weight:800;letter-spacing:-.02em}
html:root body:is(.te-page,.toefl-exam) .ae-toefl-brand small{display:block;margin-top:2px;font-size:10px;font-weight:650;letter-spacing:.08em;color:var(--nx-muted,#62596f)}
html:root body:is(.te-page,.toefl-exam) :is(.te-exam-controls,.s50-exam-controls){gap:8px}
html:root body:is(.te-page,.toefl-exam) :is(.te-exam-controls,.s50-exam-controls) button{
  min-height:44px;height:auto;border:1px solid var(--nx-line,#d8cee9)!important;border-radius:12px!important;
  background:var(--nx-soft,#ece7f7)!important;color:var(--nx-ink,#191329)!important;font-size:13px!important;font-weight:650!important;
}
html:root body.te-page .te-exam-controls #te-frame-next,html:root body.toefl-exam #s50-navigation button{
  background:var(--nx-accent,#674195)!important;color:var(--nx-on-accent,#fff)!important;border-color:var(--nx-accent,#674195)!important;
}
html:root body:is(.te-page,.toefl-exam) :is(#te-banner,.s50-head){
  height:auto!important;min-height:36px!important;box-sizing:border-box;padding-top:7px!important;padding-bottom:7px!important;
  background:var(--nx-soft,#ece7f7)!important;color:var(--nx-ink,#191329)!important;border-color:var(--nx-line,#d8cee9)!important;
}
html:root body:is(.te-page,.toefl-exam) :is(button,.button){border-radius:12px!important;min-height:44px}
html:root body:is(.te-page,.toefl-exam) :is(button,input,textarea,a):focus-visible{outline:3px solid var(--nx-accent,#674195)!important;outline-offset:3px}
html:root body:is(.te-page,.toefl-exam) input[type=radio]{accent-color:var(--nx-accent,#674195)!important}
html:root body:is(.te-page,.toefl-exam) :is(.te-stage-clock,.s50-clock){font-variant-numeric:tabular-nums}
html:root body:is(.te-page,.toefl-exam) :is(#te-volume-panel,#s50-volume-panel){background:var(--nx-surface,#fff)!important;color:var(--nx-ink,#191329)!important;border:1px solid var(--nx-line,#d8cee9)!important;border-radius:12px;box-shadow:0 8px 24px #39244812}
html:root body:is(.te-page,.toefl-exam) :is(.s50-response-title,.response-time-title){background:var(--nx-accent,#674195)!important;color:var(--nx-on-accent,#fff)!important}
html:root body:is(.te-page,.toefl-exam) :is(.s50-mic,.response-mic){stroke:var(--nx-accent,#674195)!important}
html:root body:is(.te-page,.toefl-exam) .te-task-table{border-color:var(--nx-line,#d8cee9)}
html:root body:is(.te-page,.toefl-exam) .te-task-table th{background:var(--nx-accent,#674195)!important;color:var(--nx-on-accent,#fff)!important}
html:root body:is(.te-page,.toefl-exam) .te-task-table :is(th,td){border-color:var(--nx-line,#d8cee9)}
html:root body:is(.te-page,.toefl-exam) .te-scene-region.is-active{color:var(--nx-accent,#674195)!important}
html:root body:is(.te-page,.toefl-exam) .is-active .te-scene-object{stroke:var(--nx-accent,#674195)!important;fill:var(--nx-soft,#ece7f7)!important}
html:root body:is(.te-page,.toefl-exam) .te-scene-arrow{fill:var(--nx-accent,#674195)!important;stroke:var(--nx-accent,#674195)!important}
html:root body:is(.te-page,.toefl-exam) .is-active .te-scene-label{fill:var(--nx-accent,#674195)!important}
@media(max-width:650px){
  html:root body.te-page main{width:100%!important;margin:0!important;min-height:100vh!important;border:0!important;border-radius:0!important}
  html:root body.toefl-exam .s50-shell{margin:0!important}
  html:root body.toefl-exam .s50-panel{border:0!important;border-radius:0!important;min-height:100vh!important}
  html:root body:is(.te-page,.toefl-exam) :is(.te-exam-top,.s50-exam-top){padding:12px 16px;flex-wrap:wrap;gap:12px;min-height:76px}
  html:root body:is(.te-page,.toefl-exam) .ae-toefl-brand strong{font-size:15px}
  html:root body:is(.te-page,.toefl-exam) .ae-toefl-brand small{font-size:9px}
  html:root body:is(.te-page,.toefl-exam) .ae-toefl-brand img{width:32px;height:32px}
  html:root body:is(.te-page,.toefl-exam) :is(.te-exam-controls,.s50-exam-controls){margin-left:auto}
}
