.orientation,#mock .exam-card{max-width:1040px;margin:0 auto;background:white;border:1px solid #dce4ee;border-radius:12px;padding:clamp(18px,3vw,42px);color:#182e48}
#mock [hidden]{display:none!important}
#orientSteps{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));list-style:none;margin:0 0 26px;padding:0;border:1px solid #cbd7e4;border-radius:6px;overflow:hidden;background:#fafcff}
#orientSteps li{padding:8px 12px;border-right:1px solid #dce4ee;line-height:1.35;color:#65788c}
#orientSteps li:last-child{border:0}
#orientSteps small,#orientSteps b{display:block}
#orientSteps small{font-size:13px}
#orientSteps .done{color:#225c94;background:#edf5fd}
#orientSteps [aria-current]{background:#245fc4;color:white}
.orientation h2,#examProgress{font-size:22px;margin:0 0 12px;border-bottom:1px solid #d8e0ea;padding-bottom:8px}
.orientation h3{font-weight:500;margin:16px 0;font-size:22px}
.orientation fieldset{min-width:0;margin:18px 0 22px;border:0;padding:0}
.orientation legend{font-weight:700;margin-bottom:8px}
.orientation fieldset label,.orientation .notice-grid label{display:flex;align-items:baseline;gap:8px;color:inherit;font-size:16px;cursor:pointer;padding:5px 0}
.orientation input[type=checkbox],.orientation input[type=radio]{appearance:auto;width:16px;height:16px;min-width:16px;margin:0;accent-color:#245fc4}
.ava-welcome,.begin-guide{text-align:center;padding:clamp(12px,3vw,38px) 0}
.orientation h1{font-size:clamp(24px,3vw,36px);line-height:1.25;color:#2357bd;margin:0 0 22px}
.ava-welcome img,.exam-player img{display:block;background:linear-gradient(140deg,#eef5ff,#cfdeed);border:1px solid #cad6e3;object-fit:contain}
.ava-welcome img{margin:16px auto 24px;width:min(224px,80%);border-radius:4px}
.orient-actions{margin-top:32px;display:flex;justify-content:space-between}
.orientation[data-page="0"] .orient-actions{justify-content:center}
.obtn,.sample{background:#245fc4;color:white;font-weight:700;border:0;border-radius:4px;padding:10px 22px;cursor:pointer}
.obtn{min-width:100px}
.obtn.secondary{background:#eaf2fc;color:#234f92}
.obtn:disabled{background:#dce4ef;color:#69788c;cursor:default}
#quickPractice{margin-top:24px;border-top:1px solid #e3e9f0;padding-top:10px;font-size:14px}
#quickPractice summary{cursor:pointer;color:#526984}
.survey-total{position:sticky;top:0;background:white;padding:10px 0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #dee7f0;z-index:1}
#activityCount{padding:4px 10px;background:#e7f6eb;color:#236e43;border:1px solid #a8ceb3;font-size:15px;font-weight:700}
.level-list>div{display:grid;grid-template-columns:26px 16px auto 1fr;align-items:baseline;gap:10px;border-bottom:1px solid #e8edf3;padding:12px 0}
.level-list>div>b{color:#245fc4}
.sample{padding:4px 8px;font-size:13px}
.notice-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:25px}
.orientation .notice-grid label{display:block;border:1px solid #d6e2f0;padding:16px;border-radius:8px;text-align:center}
.notice-grid label:has(:checked){background:#eef5ff;border-color:#719bd7}
.notice-grid span{color:#2462be;font-size:38px;display:inline-block;margin-right:12px}
.notice-grid strong,.notice-grid small{display:block;margin-top:10px}
.notice-grid small{font-size:14px;font-weight:400}
.exam-stage{display:grid;grid-template-columns:minmax(160px,300px) 1fr;gap:clamp(20px,5vw,65px);align-items:start;margin:20px 0}
.exam-player img{width:100%;aspect-ratio:1;object-fit:contain}
.player-bar{display:flex;align-items:center;justify-content:space-between;background:#edf3fa;padding-right:8px}
#replayHint{display:block;padding:8px;color:#365775;font-size:13px;background:#f5f8fc}
.exam-map{margin-top:24px}
#examNumbers{display:grid;grid-template-columns:repeat(5,minmax(24px,38px));gap:5px;list-style:none;margin:8px 0;padding:0}
#examNumbers li{background:#edf1f5;text-align:center;color:#69798d;padding:4px 0}
#examNumbers .done{background:#dceafb;color:#234d81}
#examNumbers [aria-current]{background:#235dc1;color:white;font-weight:bold}
#examProgress{display:block;color:#172e48}
#examPhase{font-size:16px;margin:0}
@media(max-width:700px){
 #orientSteps li{padding:6px 2px;text-align:center;font-size:12px}#orientSteps small{font-size:10px}
 .level-list>div{grid-template-columns:24px 16px 1fr}.level-list label{grid-column:2 / -1}.sample{justify-self:start}
 .notice-grid{grid-template-columns:1fr 1fr}.exam-stage{grid-template-columns:1fr}.exam-player{max-width:260px}.exam-map{margin:0}
}

#volumeMeter{height:180px;align-self:center;background:#e3ebf6;border-radius:6px;overflow:hidden}
#volumeMeter>div{height:100%;background:linear-gradient(#4caff0,#245fc4);transform:scaleY(0);transform-origin:bottom}
@media(max-width:700px){.exam-map{grid-column:1/-1}}
#orientSteps{grid-template-columns:repeat(3,minmax(0,1fr))}
.orientation fieldset label{flex-direction:row;align-items:center;gap:10px;padding-block:7px}
#activityCount{font-size:18px;padding:7px 14px}
#mock #examLive{max-width:1240px;width:100%;padding:clamp(18px,2.8vw,36px)}
#examLive #examClock{font-size:46px}
#firstQuestionNote{font-size:14px;color:#576a80;margin:10px 0}
#examStatus:empty{display:none}
.response-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 8px}
.response-heading button{flex:none}
.exam-end-row{display:flex;justify-content:center;margin-top:30px}
@media(min-width:701px){
 .exam-stage{grid-template-columns:minmax(200px,30%) 12px minmax(0,1fr);align-items:center;gap:clamp(12px,2vw,28px)}
 .exam-map{grid-column:3;margin:0}
 #examNumbers{grid-template-columns:repeat(5,minmax(30px,48px));gap:6px}
}
#examSetup[data-page="5"] #orientPage>p{font-size:14px;line-height:1.6}
#examNext{min-width:112px}
#examProgress{border:0;padding-bottom:0;margin-bottom:0}
#examLive .response-heading{margin-top:32px}
#examLive #examNumbers{grid-template-columns:repeat(12,minmax(0,1fr));width:min(100%,522px);gap:4px}
#examNumbers li{aspect-ratio:1;display:grid;place-items:center;line-height:1;padding:0;font-size:clamp(11px,1.2vw,17px)}
#examReveal{margin-top:20px}
#examLive .player-bar{font-size:85%;padding-right:7px}
#examListen{font-size:0.95rem;min-width:85px;padding:8.5px 18px;line-height:1.5}
.sidebar-caption{white-space:nowrap;font-size:12px;letter-spacing:1px}
.input-foot{justify-content:flex-end}
@media(min-width:701px){
 #examLive .exam-stage{grid-template-columns:minmax(170px,25.5%) 10px minmax(0,1fr);gap:clamp(10px,1.25vw,20px)}
 #examLive .exam-map{min-width:0;align-self:start;margin-top:clamp(12px,2.6vw,38px)}
}
@media(max-width:700px){
 #examLive .exam-player{width:100%;max-width:221px}
 #examLive .exam-map{min-width:0}
 #examLive #examNumbers{gap:2px}
}
@media(min-width:901px){main:has(#studio:not([hidden])){padding-top:20px;padding-left:22px}}
@media(max-width:900px){main:has(#studio:not([hidden])){padding-top:12px;padding-left:12px}}
.sidebar .brand{padding-inline-start:2px;align-items:center}
.brand-logo{width:.92em;height:.92em;object-fit:contain;margin-right:.17em;flex:none}
.keyword-title svg{flex:none;color:var(--blue)}
.exam-map>strong{font-size:15px}
#examLive .exam-player #examReveal{display:block;margin:8px 0 0}

/* Give each workspace the width left by the navigation. */
.shell main:has(:is(#studio,#bank,#mock,#saved):not([hidden])){
  max-width:none;
  width:100%;
  min-width:0;
  box-sizing:border-box;
  margin-inline:0;
  padding-inline:clamp(8px,0.8vw,14px);
}
#mock .orientation,#mock .exam-card,#mock #examLive{width:100%;max-width:none;box-sizing:border-box}
#examLive{overflow-anchor:none}
#examLive button{touch-action:manipulation}
#examLive #examText{font-size:max(16px,1rem)}
#examLive #examStatus{display:block;min-height:1.65em;margin-block:8px}
#examLive .response-heading{min-height:50px}
#volumeMeter{grid-column:2;grid-row:1}
@media(min-width:701px){
 #examLive .exam-stage{grid-template-columns:clamp(170px,25.5%,310px) 10px minmax(0,1fr)}
}
@media(max-width:700px){
 #examLive .exam-stage{grid-template-columns:minmax(0,221px) 8px minmax(0,1fr);gap:12px}
 #examLive .exam-map{grid-row:2;grid-column:1/-1}
}

.exam-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px clamp(14px,2vw,28px);min-width:0}
#examLive .noise-control{display:flex;flex-direction:column;align-items:flex-start;gap:3px;margin:0}
.noise-control span,.total-time span,.answer-time span{font-size:13px;line-height:1.4;font-weight:600;color:#516780}
.noise-control span{display:inline-flex;align-items:center;gap:6px}
.noise-control svg{color:#245fc4}
#examNoise{width:auto;min-height:34px;padding:4px 8px;border:1px solid #becfe0;border-radius:6px;font-size:16px;background:#fff;color:#203a58}
.total-time,.answer-time{display:grid;gap:2px}
.total-time{margin-left:auto;text-align:right}
#examTotalClock{font-size:clamp(32px,3.2vw,46px)}
#examLive #examClock{font:700 clamp(30px,2.7vw,40px)/1.15 Arial,sans-serif;font-variant-numeric:tabular-nums;color:#245fc4}
.exam-map>strong{font-size:17px}
#examLive #examNumbers li{font-size:clamp(12px,1.25vw,19px)}
#examQuestion{white-space:normal}
#examQuestion p{margin:0;white-space:pre-line}
#examQuestionEn{font-weight:600;color:#182e48}
#examQuestionKr{margin-top:6px!important;font-size:0.96em}
@media(min-width:701px){
 #examLive .exam-map{display:flex;flex-direction:column;align-self:stretch;margin-top:clamp(6px,1.4vw,24px)}
 .answer-time{margin-top:auto;padding-top:8px;padding-bottom:62px}
}
@media(max-width:700px){
 #examLive .exam-head{align-items:flex-start;flex-wrap:nowrap}
 .exam-tools{flex:1;gap:8px}
 .total-time{flex:none}
 .answer-time{margin-top:12px}
}
#examLive #examNumbers{grid-template-columns:repeat(13,minmax(0,1fr));width:min(100%,566px)}
#examLive .answer-time{margin-top:clamp(12px,2vw,28px);padding:0}
#examLive .exam-controls{margin:6px 0 0;gap:8px}
#examLive .exam-stage{margin-bottom:6px}
#examReveal{display:block;margin:0}
#examQuestion{margin:5px 0 0}
.response-heading{justify-content:flex-start;flex-wrap:wrap}
#examNext{margin-left:auto}
#examReview article{padding:10px 0;line-height:1.42}
#examReview article h3{font-size:1rem;margin:3px 0}
#examReview article small,#examReview article p{font-size:.88rem;margin:3px 0}
#examReview .exam-response{padding:8px 12px}
#examReview .review-tip{color:#315980}
#examReview .band{margin:12px 0;padding:12px 16px;border-radius:8px;background:#f0f6ff}
#examReview .band p{margin:3px 0}
#examReview [data-listen]{display:inline-flex;align-items:center;gap:5px}

#examLive .answer-time{margin-top:clamp(28px,3vw,44px)}
#examLive .response-heading{align-items:flex-end;margin-bottom:0}
#examLive .response-heading label,#toggleTranscript{margin-bottom:0}
#examLive #examText{margin-top:3px}
.pc-note{font-size:13px!important;color:#66788d;margin-top:24px}
#examSetup:not([data-page="0"]) .pc-note{display:none}
#examLive #examStatus:empty{min-height:0;margin:0}
