/* Staff workspace */
.sidebar-caption{margin-top:14px;color:#596244;font-size:14px;line-height:1.4}
.delivery-tabs{margin-bottom:26px}
.delivery-toolbar{display:flex;align-items:flex-end;gap:16px;margin-bottom:22px;flex-wrap:wrap}
.delivery-toolbar>.field{flex:1;min-width:180px;margin:0}.delivery-toolbar>.btn{flex:none;min-height:45px}
.delivery-statuses{gap:8px;flex-wrap:wrap;margin-bottom:18px}.delivery-statuses .tab{display:flex;gap:9px;align-items:center}
.delivery-statuses .tab span{font:500 12px Ubuntu,sans-serif;opacity:.75}
.delivery-table th:last-child{min-width:250px}.delivery-score{font:700 28px Arsenal,sans-serif;color:#4E5728}
.delivery-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.delivery-actions .text-btn{font-size:12px}
.delivery-appearance{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,300px);gap:32px;align-items:start}
.delivery-form-sections{display:grid;gap:22px;min-width:0}.delivery-form-sections h2{font-size:25px;color:#4E5728}
.delivery-form-sections textarea{font-size:18px;line-height:1.45;min-height:80px;resize:vertical}
.delivery-toggle{display:flex;gap:12px;align-items:flex-start;padding:13px 0;cursor:pointer}
.delivery-toggle input{width:18px;height:18px;flex:none;accent-color:#4E5728;margin:3px 0 0}
.delivery-toggle strong{display:block;font-size:17px;font-weight:400;line-height:1.4}
.delivery-toggle small{display:block;color:#596244;font-size:14px;line-height:1.4;margin-top:4px}
.delivery-story-fields{border-bottom:1px solid var(--line);padding:16px 0}.delivery-story-fields:first-child{padding-top:0}.delivery-story-fields:last-child{border:0;padding-bottom:0}
.delivery-story-fields summary{cursor:pointer;font:500 13px Ubuntu,sans-serif;color:#4E5728}.delivery-story-fields[open] summary{margin-bottom:16px}
.delivery-save{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:0 0 24px}
.delivery-preview{position:sticky;top:26px;min-width:0}.delivery-preview>h3{font-size:16px;font-weight:400;color:#596244;margin-bottom:14px}
.delivery-card-preview{position:relative;background:#ECE5DD url('/assets/brand/paper.svg');border:1px solid var(--line);border-radius:16px;padding:26px 24px;overflow:hidden}
.delivery-card-preview .wordmark{width:134px;display:block}.delivery-card-preview h2{font:italic 500 32px/1.12 'Playfair Display',serif;color:#4E5728;margin-top:34px;white-space:pre-line;overflow-wrap:anywhere}
.delivery-preview-art{height:190px;position:relative;margin:22px 0}.delivery-preview-art .mascot{position:absolute;inset:0 34px}.delivery-card-preview p{font-size:16px;line-height:1.4;white-space:pre-line;overflow-wrap:anywhere;color:#616A4B}
.data-record{margin-top:24px;display:grid;gap:0}.data-record>div{display:grid;grid-template-columns:170px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}
.data-record dt{font-size:15px;color:#596244}.data-record dd{font-size:17px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:1100px){.delivery-appearance{grid-template-columns:minmax(0,1fr) 230px;gap:20px}.delivery-card-preview{padding:22px 18px}.delivery-card-preview h2{font-size:27px}.delivery-preview-art{height:155px}}
@media(max-width:800px){.delivery-appearance{grid-template-columns:minmax(0,1fr)}.delivery-preview{position:static;grid-row:1;max-width:300px;width:100%}.delivery-preview-art{height:160px}.delivery-card-preview h2{font-size:30px}.delivery-toolbar>.field{min-width:150px}.delivery-statuses .tab{font-size:12px}.data-record>div{grid-template-columns:minmax(0,1fr);gap:5px}}
.team-summary{display:flex;align-items:center;gap:28px;margin:22px 0;color:#616A4B}
.team-summary>div{display:flex;align-items:center;gap:10px;flex-shrink:0}
.team-summary strong{font:700 38px Arsenal,sans-serif;color:#4E5728}
.team-summary p{max-width:620px;font-size:17px;line-height:1.45}
.staff-row{display:flex;align-items:center;gap:16px;padding:21px 24px;border-bottom:1px solid var(--line)}
.staff-row:last-child{border-bottom:0}.staff-person{display:flex;flex-direction:column;gap:4px;flex:1;min-width:110px}
.staff-person strong{font-size:20px}.staff-person span,.staff-state{font-size:15px;color:#596244}
.staff-row .btn{flex-shrink:0}.account-form{max-width:530px}
#staff-error{color:#8C4A14;font-size:16px;margin-top:12px}
#bulk-error{color:#8C4A14;font-size:16px;margin-top:12px}.page-head>.row{justify-content:flex-end}
.writing-context{grid-column:1/-1}.task-instruction,.speaking-prompt,.exam-section-head .hint{white-space:pre-line}.speaking-prompt+.speaking-prompt{margin-top:20px}
.review-grid>.sticky{top:18px;max-height:calc(100dvh - 36px);overflow-y:auto;scrollbar-width:thin;padding-right:3px}
.review-grid #grade-form{padding:22px}.review-grid .score-inputs{gap:12px;margin:16px 0}.review-grid .score-field select{min-height:44px;padding:8px 11px;font-size:23px}
.review-grid .criteria{margin:14px 0}.review-grid .overall-box{margin:16px 0;padding:12px 16px}.review-grid .overall-box strong{font-size:36px}
.review-grid #teacher-note{min-height:100px;font-size:17px;line-height:1.45;padding:12px}.review-grid #grade-form>.hint{font-size:14px}.review-grid #grade-form>.btn{min-height:42px;margin-top:14px}
.sidebar .nav{gap:2px}.sidebar .nav a{padding-top:11px;padding-bottom:11px}
.exam-header{padding:14px 28px;min-height:64px;gap:16px}.exam-header .wordmark{width:150px}
.exam-person{font-size:16px}.exam-person small{font-size:12px}.exam-top{padding:12px 28px 0;max-width:1340px;margin:auto}
.exam-tabs{gap:20px;margin:0}.exam-tab{padding:10px 0;font-size:12px}.exam-tab .number{height:23px;width:23px}
.exam-notice{max-width:1284px;margin:10px auto 0;padding:0 28px}.exam-notice .hint{font-size:13px;margin-bottom:0!important}
.exam-layout{max-width:1340px;margin:auto;padding:16px 28px 20px;gap:18px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.exam-section-head{margin:0;gap:16px}.exam-section-head h1{font-size:34px;line-height:1.1;margin:3px 0 6px}
.exam-section-head .eyebrow{font-size:9px;letter-spacing:1px}.exam-section-head .hint{font-size:15px;line-height:1.45;max-width:880px}
.exam-reading{padding:22px;top:18px;max-height:calc(100dvh - 36px);overflow:auto}
.exam-passage{font-size:18px;line-height:1.6;white-space:pre-line}.exam-passage:first-line{font-size:inherit}
.exam-questions{padding:0 20px 8px}.question{padding:16px 0}.question-text{font-size:17px;line-height:1.4}
.question-no{width:24px;height:24px;min-width:24px;font-size:11px}.question>input,.question>select{font-size:17px;min-height:40px;padding:8px 11px;margin-top:12px}
.options{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.option{padding:9px 12px;font-size:16px;line-height:1.35;flex:1 1 125px;min-height:40px;gap:8px}
.option input{flex-shrink:0}.audio-player{padding:16px 18px}.audio-player h3{font-size:19px}.audio-player p{font-size:15px;line-height:1.4;margin-top:8px}
.audio-player .btn{margin-top:12px;min-height:40px;padding:10px 14px;font-size:12px}.waveform{height:22px;margin-top:12px}.waveform i{max-height:18px}.audio-progress{margin-top:10px}.audio-time{font-size:12px;margin-top:7px}
.exam-layout[data-skill=listening]{grid-template-columns:300px minmax(0,1fr)}
.exam-layout[data-skill=listening] .exam-reading{display:flex;flex-direction:column;gap:20px;padding:16px;max-height:none;background-image:none}
.exam-layout[data-skill=listening] .exam-questions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px;align-content:start;padding:0 18px 8px}
.exam-layout[data-skill=listening] .question{min-width:0}.exam-layout[data-skill=listening] .exam-passage{padding:0 4px;font-size:16px;line-height:1.5}
.exam-layout[data-skill=listening] .audio-player{display:grid;gap:16px;padding:18px;margin:0}.audio-player-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.audio-player-heading h3{display:flex;align-items:center;gap:8px;line-height:1.3}.audio-player-heading .badge{flex-shrink:0}
.exam-layout[data-skill=listening] .audio-player p{font-size:14px;line-height:1.5;margin:0}.exam-layout[data-skill=listening] .audio-player .btn{width:100%;justify-content:center;gap:8px;font-size:12px;min-height:44px;padding:11px 12px;margin:0}
.sound-check{display:grid;gap:10px;padding-bottom:16px;border-bottom:1px solid #4E572826}.exam-layout[data-skill=listening] .sound-check-status{font-size:13px;color:#616A4B}.sound-check-error{color:#8C4A14!important}.exam-audio-controls{display:grid;gap:10px}.exam-audio-controls .audio-progress,.exam-audio-controls .audio-time{margin:0}.exam-layout[data-skill=listening] .waveform{display:none}
.exam-layout[data-skill=listening] .exam-reading>.part-instructions,.exam-layout[data-skill=listening] .exam-reading>.exam-figure{margin:0}.exam-layout[data-skill=listening] .exam-reading>.exam-passage{padding:0 4px}
.exam-writing{gap:18px}.writing-task{padding:22px}.writing-task .task-instruction{font-size:18px;line-height:1.5;margin-top:14px}.writing-task textarea{font-size:18px;line-height:1.6;padding:16px;min-height:260px}
.exam-bottom{max-width:1284px;margin:0 auto;padding:16px 0 24px}.exam-bottom .btn{min-height:42px;padding:11px 17px;font-size:13px}
.question-editor{padding:20px}.question-editor textarea{font-size:17px}.question-editor .field{margin-bottom:14px}
.question-editor{padding:14px 18px}.question-summary{list-style:none;display:flex;align-items:center;gap:12px;cursor:pointer;min-height:28px}.question-summary::-webkit-details-marker{display:none}
.question-summary-num{display:grid;place-items:center;width:26px;height:26px;flex-shrink:0;background:#E3E2C8;color:#4E5728;border-radius:50%;font:500 11px Ubuntu,sans-serif}
.question-summary>span:nth-child(2){font-size:17px;line-height:1.35;flex:1;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.question-summary>.icon{width:16px;height:16px;transition:transform .18s;flex-shrink:0;transform:rotate(90deg)}
.question-editor[open]>.question-summary>.icon{transform:rotate(-90deg)}.question-body{padding-top:18px;margin-top:14px;border-top:1px solid var(--line)}
.part-tabs{display:flex;gap:7px;flex-wrap:wrap;grid-column:1/-1;align-items:center}
.part-tabs button{border:1px solid #4E57282B;background:#FDFBF7;color:#616A4B;border-radius:7px;padding:9px 13px;font:500 11px Ubuntu,sans-serif;cursor:pointer;transition:background .18s,color .18s}
.part-tabs button.active{background:#4E5728;color:#ECE5DD;border-color:#4E5728}.part-tabs button:hover:not(.active){background:#E3E2C8}
.preview-strip,.demo-strip{font-size:12px;color:#596244;line-height:1.4;padding:5px 0}.preview-strip{color:#8C4A14}
.question-label{align-items:flex-start;gap:10px}.question-no,.question-summary-num{width:auto;min-width:27px;height:26px;padding:0 6px;border-radius:7px;flex-shrink:0}
.question-wide{grid-column:1/-1}.multi-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:7px}.multi-options .option{align-items:flex-start;min-height:40px}.multi-options .option input{margin-top:3px}
.answer-hint{font-size:13px;line-height:1.4;color:#596244;margin-top:9px}.multi-text{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:10px;margin-top:12px}.multi-text label{display:grid;align-content:start;gap:6px}.multi-text label>span{font-size:14px;color:#596244}.multi-text input{min-width:0;font-size:17px;padding:9px 11px}
.question-instructions{white-space:pre-line;font-size:14px;line-height:1.45;color:#4E5728;border-left:3px solid #CAC897;padding:2px 0 2px 11px;margin-bottom:14px}
.question-context{white-space:pre-line;font-size:16px;line-height:1.5;padding:13px 15px;background:#F7F4EF;border-radius:7px;margin-bottom:14px}.part-instructions{white-space:pre-line;font-size:15px;line-height:1.5;color:#616A4B;margin-bottom:17px}
.exam-figure{display:block;width:100%;background:#FFF;border:1px solid #4E57281A;border-radius:7px;overflow:hidden;margin:16px 0;cursor:zoom-in;padding:9px;color:#596244}
.exam-figure img{display:block;max-width:100%;width:auto;max-height:450px;height:auto;object-fit:contain;margin:auto}.exam-figure>span{display:block;font-size:12px;text-align:center;margin-top:9px}.figure-view img{display:block;max-width:100%;max-height:78dvh;object-fit:contain;margin:auto}
.exam-table-wrap{overflow-x:auto;margin:16px 0}.exam-source-table{width:100%;font-size:15px;border-collapse:collapse}.exam-source-table th,.exam-source-table td{border:1px solid #4E572830;padding:10px;white-space:pre-line;min-width:90px;vertical-align:top}.exam-source-table th{background:#E3E2C8;color:#4E5728}
.writing-answer{padding:22px;position:sticky;top:18px}.writing-answer textarea{width:100%;min-height:440px;font-size:18px;line-height:1.65;padding:16px;margin-top:10px;resize:vertical}.writing-prompt .exam-passage{font-size:18px;margin-top:9px}.save-status.save-error{color:#8C4A14}
.writing-prompt+.writing-prompt{margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}.writing-answer .word-count{margin-top:8px}.writing-answer .word-count+.label{margin-top:24px}
.editor-actions,.editor-meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.editor-actions{justify-content:flex-end}.editor-meta{margin-top:18px;font-size:15px}.editor-meta .badge{margin-left:auto}.editor-meta .text-btn{font-size:13px}
.editor-group-bar{display:flex;align-items:flex-start;gap:12px;justify-content:space-between;margin:18px 0}.editor-group-bar>.btn{flex-shrink:0}.editor-fieldset{border:0;padding:0;margin:0;min-width:0}
.section-settings>summary,.question-extra>summary{font-size:16px;color:#616A4B;cursor:pointer}.part-count{align-self:center;justify-self:end;font-size:15px;color:#596244}.audio-editor{margin:16px 0}.audio-editor audio{display:block;width:100%;margin-bottom:12px}
.question-type-label{color:#596244;font-size:12px;white-space:nowrap}.question-extra{margin:15px 0}.question-summary-num{font-size:10px}.scale-head,.scale-row{display:grid;grid-template-columns:1fr 1fr 32px;align-items:center;gap:10px;margin-top:10px}.scale-head{font-size:13px;color:#596244}.scale-row input,.scale-row select{min-width:0;padding:8px;font-size:16px}.answer-points{margin-left:auto;white-space:nowrap;font-size:13px}
@media(max-width:650px){.part-tabs{gap:5px}.part-tabs button{font-size:10px;padding:8px 10px}.exam-figure img{max-height:400px}.writing-answer{position:static;padding:18px;margin-bottom:16px}.writing-answer textarea{min-height:320px;font-size:17px}.question-type-label{display:none}.editor-group-bar{display:block}.editor-group-bar>.btn{margin-top:12px}.editor-actions{justify-content:flex-start}.editor-meta .badge{margin-left:0}.part-count{justify-self:start}.question-context{font-size:15px}.exam-source-table{font-size:13px}.multi-text{grid-template-columns:1fr}.multi-text label{grid-template-columns:50px 1fr}}
.question-editor:focus-within{border-color:#9B9C77;box-shadow:0 0 0 2px #CAC89740}
.upload-label{transition:background .18s,border-color .18s}.upload-label:hover{background:#E3E2C8;border-color:#9B9C77}
input:focus-visible,textarea:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid #737E4B;outline-offset:3px}
@media(min-width:651px) and (max-height:800px){.sidebar{padding-top:22px;padding-bottom:18px}.sidebar .nav{margin-top:18px}.sidebar .nav a{padding-top:9px;padding-bottom:9px}.sidebar .side-note{font-size:13px;padding:12px}.sidebar .nav-label{margin-top:20px}}
@media(max-width:1050px){.exam-layout[data-skill=listening]{grid-template-columns:270px minmax(0,1fr)}}
@media(min-width:851px){.exam-layout{display:grid}.exam-layout[data-skill=listening] .question-label{min-height:44px}.exam-layout[data-skill=listening] .question:last-child:nth-child(odd){grid-column:1/-1}}
@media(min-width:651px) and (max-width:850px){.exam-layout[data-skill=listening]{display:block}.exam-layout[data-skill=listening] .exam-reading{margin-bottom:18px}.exam-layout[data-skill=listening] .exam-questions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.staff-row{flex-wrap:wrap;gap:12px}.staff-state{margin-left:auto}.exam-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.exam-bottom{margin:0 28px}}
@media(max-width:900px){.review-grid>.sticky{max-height:none;overflow:visible;padding-right:0}}
@media(max-width:650px){
 .sidebar{padding:10px 12px;gap:10px}.sidebar>.wordmark{width:103px;flex-shrink:0}.sidebar>.wordmark .logo-horizontal{width:103px}
 .sidebar .nav{overflow-x:auto;min-width:0;margin-left:auto;gap:0;scrollbar-width:none}.sidebar .nav a{padding:9px 8px;flex-shrink:0}.sidebar .nav a .icon{width:18px;height:18px}
 .page-head{flex-wrap:wrap}.page-head .btn{font-size:12px}.team-summary{align-items:flex-start;gap:14px}.team-summary>div{flex-direction:column;align-items:flex-start;gap:0}.team-summary>div span{font-size:13px}.team-summary p{font-size:16px}
 .staff-row{padding:18px}.staff-row .staff-person{min-width:170px}.staff-row .staff-state{margin-left:0}.staff-row .btn{margin-left:auto}.staff-row .badge{font-size:10px}
 .exam-header{padding:12px 16px;gap:9px}.exam-header .wordmark{width:118px}.exam-person{font-size:14px;flex:1;text-align:right}.exam-person small{font-size:11px}.exam-header>.row{width:100%;justify-content:space-between;flex-direction:row-reverse}.save-status{font-size:10px!important}.exam-header .icon-btn{width:27px;height:27px}
 .exam-top{padding:6px 16px 0}.exam-tabs{gap:10px}.exam-tab{font-size:10px;gap:4px;padding:10px 0}.exam-tab .number{width:20px;height:20px;min-width:20px;font-size:10px}
 .exam-notice{padding:0 16px;margin:8px 0 0}.exam-notice .hint{font-size:12px;line-height:1.3}.exam-layout{display:block;padding:14px 16px 16px}.exam-section-head{margin-bottom:14px}.exam-section-head h1{font-size:30px}.exam-section-head .hint{font-size:15px}
 .exam-reading{padding:18px;max-height:none;overflow:visible;margin-bottom:14px}.exam-passage{font-size:17px;line-height:1.55}.exam-questions{padding:0 16px 4px}.question{padding:13px 0}.question-text{font-size:17px}.option{font-size:16px;padding:9px}
 .exam-layout[data-skill=listening] .exam-reading{display:flex;gap:18px;padding:14px}.exam-layout[data-skill=listening] .exam-passage{font-size:16px}.exam-layout[data-skill=listening] .exam-questions{display:block;padding:0 16px 4px}
 .audio-player{padding:14px}.audio-player p{font-size:14px}.audio-player .btn{min-height:42px;font-size:12px}.waveform{display:none}.exam-bottom{margin:0 16px;padding:10px 0 22px;gap:10px}.exam-bottom .btn{font-size:12px;padding:11px 12px}
 .writing-task{padding:18px}.writing-task .task-instruction{font-size:17px}.writing-task textarea{font-size:17px;min-height:270px}.word-count{font-size:12px}.question-editor{padding:17px}
}

/* Cards follow their content; longer exam groups extend the page naturally. */
.exam-toolbar{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.exam-toolbar .exam-section-head{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-width:0}
.exam-toolbar .exam-section-head h1{margin:0}.exam-toolbar .part-tabs{margin:0;gap:6px}
.exam-section-rules{position:relative;font-size:13px;color:#616A4B}.exam-section-rules summary{cursor:pointer;white-space:nowrap}
.exam-section-rules p{position:absolute;top:24px;left:0;z-index:45;width:min(420px,calc(100vw - 48px));padding:16px 18px;background:#FDFBF7;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 30px #343B241F;font-size:15px;line-height:1.5;white-space:pre-line}
.exam-spread{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start;min-width:0}
.exam-workspace .exam-spread>.panel,.exam-workspace .exam-spread>.speaking-card{height:auto;max-height:none;position:static;align-self:start;overflow:visible}
.exam-layout[data-skill=listening] .exam-spread{grid-template-columns:300px minmax(0,1fr)}
.exam-layout>.audio-player{grid-column:1/-1}
@media(min-width:851px){
 .exam-workspace{height:auto;min-height:100dvh;display:block;overflow:visible}
 .exam-workspace .exam-header{grid-area:header;min-height:50px;padding:8px 24px;gap:14px}.exam-workspace .exam-header .wordmark{width:132px}.exam-workspace .exam-person{font-size:14px}.exam-workspace .exam-person small{font-size:11px}
 .exam-workspace .exam-top{grid-area:tabs;width:100%;max-width:1600px;margin:0 auto;padding:4px 24px 0}.exam-workspace .exam-tabs{gap:20px}.exam-workspace .exam-tab{padding:7px 0;font-size:11px}.exam-workspace .exam-tab .number{width:21px;height:21px;font-size:10px}
 .exam-workspace .exam-notice{grid-area:notice;max-width:1600px;width:100%;padding:0 24px;margin:0 auto}.exam-workspace .preview-strip{padding:3px 0 0;font-size:11px}.exam-workspace .exam-notice .alert{padding:8px 12px;font-size:14px}
 .exam-workspace .exam-layout{grid-area:main;display:grid;width:100%;max-width:1600px;margin:0 auto;padding:8px 24px 12px;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:10px;align-items:start;min-height:0}
 .exam-workspace .exam-layout[data-skill=listening]{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto}
 .exam-workspace .exam-toolbar{grid-column:1;min-height:38px;gap:10px}.exam-workspace .exam-section-head{grid-column:auto;gap:10px}.exam-workspace .exam-section-head h1{font-size:27px;line-height:1.1}.exam-workspace .exam-section-head .eyebrow{font-size:9px}.exam-workspace .exam-section-rules{font-size:11px}
 .exam-workspace .part-tabs button{padding:7px 10px;font-size:10px}
 .exam-workspace .exam-spread{grid-column:1;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:16px;height:auto;min-height:0;align-items:start}
 .exam-workspace .exam-layout[data-skill=listening] .exam-spread{grid-template-columns:minmax(260px,.8fr) minmax(0,1.8fr)}
 .exam-workspace .exam-spread>.panel,.exam-workspace .exam-spread>.speaking-card{position:static;align-self:start;height:auto;min-height:0;max-height:none;margin:0;padding:16px 20px;overflow:visible}
 .exam-workspace .exam-layout[data-skill=listening] .exam-reading{gap:12px;padding:14px 16px}
 .exam-workspace .part-instructions{font-size:14px;line-height:1.4}.exam-workspace .exam-layout[data-skill=listening] .exam-passage{font-size:15px;line-height:1.4;padding:0}
 .exam-workspace .exam-layout[data-skill=listening] .exam-figure{display:block;flex:none;min-height:0;height:auto;padding:8px}
 .exam-workspace .exam-layout[data-skill=listening] .exam-figure img{flex:none;min-height:0;height:auto;width:auto;max-width:100%;max-height:min(320px,40dvh);object-fit:contain}.exam-workspace .exam-figure>span{flex:none;font-size:11px;margin-top:6px}
 .exam-workspace .exam-layout[data-skill=listening] .exam-questions{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content;align-items:start;column-gap:20px;padding:0 16px 8px}
 .exam-workspace .question{padding:10px 0}.exam-workspace .exam-layout[data-skill=listening] .question-label{min-height:26px;gap:9px}.exam-workspace .question-text{font-size:15px;line-height:1.35}.exam-workspace .question-no{height:24px;min-width:25px;font-size:10px}
 .exam-workspace .question>input,.exam-workspace .question>select,.exam-workspace .multi-text input{font-size:16px;min-height:34px;padding:6px 10px;margin-top:6px}.exam-workspace .multi-text{gap:8px;margin-top:6px}.exam-workspace .multi-text input{margin-top:0}.exam-workspace .multi-text label{gap:4px}.exam-workspace .multi-text label>span{font-size:12px}.exam-workspace .answer-hint{font-size:12px;line-height:1.35;margin-top:6px}
 .exam-workspace .options{gap:6px;margin-top:8px}.exam-workspace .option{font-size:15px;line-height:1.3;min-height:36px;padding:7px 10px}.exam-workspace .question-instructions{font-size:13px;margin-bottom:10px}.exam-workspace .question-context{font-size:14px;padding:10px 12px;margin-bottom:10px}
 .exam-workspace .exam-layout[data-skill=listening] .audio-player{grid-column:1;display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) minmax(225px,1.05fr);grid-template-areas:'heading sound controls' 'description sound controls';gap:6px 20px;align-items:center;padding:12px 16px;border-radius:10px}
 .exam-workspace .audio-player-heading{grid-area:heading;gap:8px;justify-content:flex-start}.exam-workspace .audio-player-heading h3{font-size:17px;gap:8px}.exam-workspace .audio-player-heading h3 .icon{width:17px;height:17px}.exam-workspace .audio-player-heading .badge{font-size:10px;padding:5px 8px}
 .exam-workspace .audio-description{grid-area:description}.exam-workspace .exam-layout[data-skill=listening] .audio-player p{font-size:12px;line-height:1.35}
 .exam-workspace .sound-check{grid-area:sound;gap:6px;border:0;padding:0}.exam-workspace .exam-audio-controls{grid-area:controls;gap:6px}.exam-workspace .exam-audio-controls .audio-progress{height:3px}.exam-workspace .audio-time{font-size:11px}
 .exam-workspace .exam-layout[data-skill=listening] .audio-player .btn{min-height:36px;font-size:11px;padding:8px 12px}
 .exam-workspace .writing-answer textarea{min-height:180px;font-size:17px;line-height:1.5}.exam-workspace .writing-prompt .exam-passage{font-size:17px;line-height:1.5}
 .exam-workspace .exam-bottom{grid-area:footer;display:flex;width:100%;max-width:1600px;margin:0 auto;padding:9px 24px 12px;min-height:55px;background:var(--paper);border-top:1px solid var(--line)}.exam-workspace .exam-bottom .btn{min-height:36px;font-size:12px;padding:8px 13px}.exam-workspace .exam-bottom .hint{margin:0;font-size:13px}
}
@media(max-width:850px){
 .exam-workspace .exam-layout{display:block}.exam-workspace .exam-toolbar{margin-bottom:14px}.exam-workspace .exam-layout>.audio-player{margin-bottom:16px}
 .exam-workspace .exam-spread{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.exam-workspace .exam-layout[data-skill=listening] .exam-spread{display:block}
}
@media(max-width:650px){
 .exam-workspace .exam-spread{display:block}.exam-workspace .exam-section-rules p{left:auto;right:0;width:min(340px,calc(100vw - 48px))}.exam-workspace .exam-toolbar .exam-section-head h1{font-size:30px}
 .exam-workspace .exam-layout[data-skill=listening] .audio-player{padding:16px}.exam-workspace .exam-layout[data-skill=listening] .exam-reading{margin-bottom:14px}
}
@media(min-width:1200px){
 .exam-workspace .exam-layout[data-skill=listening] .exam-questions.question-many{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(min-width:1200px){
 .exam-workspace .question-many .question-label{display:block;min-height:26px}
 .exam-workspace .question-many .question-no{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-right:7px}
 .exam-workspace .question-many .question-text{display:inline}
}

/* Writing needs a full-size work area, even before the first word is entered. */
.exam-workspace .exam-layout[data-skill=writing] .writing-answer{align-self:stretch;display:flex;flex-direction:column;gap:12px}
.exam-workspace .exam-layout[data-skill=writing] .writing-answer>.label{flex:none;margin:0}
.exam-workspace .exam-layout[data-skill=writing] .writing-answer textarea{flex:1 1 auto;width:100%;min-height:max(440px,calc(100dvh - 310px));margin:0;resize:vertical;line-height:1.6}
.exam-workspace .exam-layout[data-skill=writing] .writing-answer .word-count{flex:none;margin:0;text-align:right}
.exam-workspace .exam-layout[data-skill=writing] .writing-answer .word-count+.label{margin-top:12px}

.exam-completion{min-height:100dvh;display:flex;flex-direction:column}
.exam-completion .submitted-screen{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;max-width:740px;margin:0 auto;padding:48px 24px;gap:24px;text-align:center}
.exam-completion .submitted-screen .mascot{flex:none;width:108px;height:164px;margin:0}
.submitted-copy{display:flex;flex-direction:column;align-items:center;gap:16px;max-width:100%}
.exam-completion .submitted-screen h1{font-size:clamp(30px,3.2vw,44px);line-height:1.18;color:#4E5728;white-space:normal;overflow-wrap:break-word}
.exam-completion .submitted-screen p{max-width:560px;font-size:18px;line-height:1.55}
.submitted-actions{display:flex;flex-direction:column;align-items:center;gap:12px;width:100%}
.submitted-actions::before{content:'';display:block;width:48px;height:1px;background:#4E572836;margin:0 0 6px}
.submitted-status{max-width:100%;padding:0;color:#596244;font:400 16px/1.5 Arsenal,sans-serif;text-align:center}
.submitted-home{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%;min-height:42px;padding:8px 0;color:#4E5728;font:500 12px/1.45 Ubuntu,sans-serif;transition:color .18s}
.submitted-home .icon{width:16px;height:16px}.submitted-home span{text-decoration:underline;text-decoration-color:#4E57284D;text-underline-offset:5px;transition:text-decoration-color .18s}
.submitted-home:hover{color:#343B24}.submitted-home:hover span{text-decoration-color:currentColor}
.exam-completion .submitted-screen .btn{width:fit-content;max-width:100%;min-height:44px;margin:0;justify-content:center}
@media(max-width:650px){
 .exam-workspace .exam-layout[data-skill=writing] .writing-answer textarea{min-height:440px}
 .exam-completion .submitted-screen{padding:32px 20px;gap:20px}.exam-completion .submitted-screen .mascot{width:92px;height:140px}
 .submitted-copy{gap:14px}.exam-completion .submitted-screen h1{font-size:30px}.exam-completion .submitted-screen p{font-size:17px}
}
@media (min-width: 901px) and (max-height: 800px) {
  .login-screen .login-art .intro-copy {
    padding-bottom: 280px;
  }
}

.delivery-toolbar .field input,.delivery-toolbar .field select{height:46px;min-height:46px;font-size:17px;padding:9px 12px}
.delivery-tabs{gap:22px}.delivery-statuses{gap:20px}
.delivery-recap-preview{aspect-ratio:9/16;display:flex;flex-direction:column;padding:25px 22px}
.delivery-recap-preview h2{margin-top:35px;font-size:31px;line-height:1.12}
.delivery-recap-preview .delivery-preview-art{flex:1;min-height:110px;margin:24px 0}
.delivery-recap-preview .delivery-preview-art .mascot{inset:0 25px}
.delivery-recap-preview p{font-size:12px;line-height:1.35}
.result-aside .result-link{display:inline-flex;margin-top:18px;gap:6px;align-items:center}
.story h2,.story-comment,.story-footer>span:first-child{overflow-wrap:anywhere}
@media(max-width:1100px) and (min-width:801px){.delivery-recap-preview h2{font-size:24px}.delivery-recap-preview{padding:20px 17px}.delivery-recap-preview .delivery-preview-art{margin:18px 0}}

@media(max-width:800px){.delivery-preview{grid-row:auto}}

/* Guidebook page 8: three families, each with one consistent role. */
:root{--font-body:Arsenal,sans-serif;--font-ui:Ubuntu,sans-serif;--font-accent:'Playfair Display',serif;--text-body:18px;--text-control:13px;--text-label:12px;--muted:#596244}
body,input,textarea,select{font-family:var(--font-body);font-weight:400}
body{line-height:1.5}
button{font-family:var(--font-ui);font-weight:500}
h1,h2,h3,h4,.label,.eyebrow,.badge,.pill,.btn,.nav,.topbar,.tab,th,.data-tabs,.exam-tab,.stage-control button,.part-tabs button,.text-btn{font-family:var(--font-ui);font-weight:500}
.label{font-size:var(--text-label);line-height:1.5;letter-spacing:0}
.field.label{margin-bottom:18px}.field.label>input,.field.label>select,.field.label>textarea{display:block;margin-top:8px}
.btn,.text-btn{font-size:var(--text-control);line-height:1.45}
.nav a{font-size:12px;line-height:1.45}.sidebar-caption{font-size:16px}
.topbar,.nav-label{font-size:11px;line-height:1.5}.topbar{color:#596244}
.page-head h1{font-size:32px;line-height:1.2;letter-spacing:-.02em}
.page-head p{font-size:18px;line-height:1.5}
.panel-head h2,.panel.pad>h2,.delivery-form-sections h2{font-size:24px;line-height:1.3;letter-spacing:-.015em}
.panel h3,.panel.pad>h3{font-size:20px;line-height:1.35;letter-spacing:-.01em}
input,textarea,select{line-height:1.5}
input,select{font-size:18px}.hint{font-size:15px;line-height:1.5;color:#596244}
.db-table td{font-family:var(--font-body);font-size:16px;font-variant-numeric:tabular-nums}
th{font-size:11px;line-height:1.45;letter-spacing:0}
.code,.score-field select,.overall-box strong,.stat-number,.delivery-score,.story-score,.result-summary strong{font-variant-numeric:tabular-nums}
.quickcard h3{font-family:var(--font-ui);font-style:normal;font-weight:500;font-size:24px;line-height:1.3;letter-spacing:-.02em}
.handwritten,.sticker-caption,.art-caption{font-family:var(--font-body);font-style:normal;font-weight:400;letter-spacing:0}
.handwritten,.sticker-caption{font-size:19px;line-height:1.3}
.story-skill-art .art-caption{font-size:4.7cqw;line-height:1.2}
.exam-workspace .exam-section-head h1{font-family:var(--font-ui);font-style:normal;font-weight:500;font-size:25px;line-height:1.25;letter-spacing:-.02em}
.exam-workspace .question-text,.exam-workspace .option{font-size:17px;line-height:1.45}
.exam-workspace .part-instructions,.exam-workspace .question-instructions{font-size:15px;line-height:1.5}
.exam-workspace .exam-passage{font-family:var(--font-body);font-size:18px;line-height:1.6;font-weight:400}
.exam-workspace .exam-layout[data-skill=listening] .exam-passage{font-size:17px;line-height:1.5}
.welcome h1,.login-art h1,.login-form h2,.variant-cover .display,.submitted-screen h1,.result-aside h1,.story h2,.delivery-card-preview h2{font-family:var(--font-accent);font-style:italic;font-weight:500}
@media(max-width:650px){.page-head h1{font-size:28px}.page-head p{font-size:17px}.panel-head h2,.panel.pad>h2,.delivery-form-sections h2{font-size:22px}.sidebar-caption{display:none}.nav a{font-size:12px}.handwritten,.sticker-caption{font-size:16px}.exam-workspace .exam-section-head h1{font-size:24px}.exam-workspace .exam-passage{font-size:17px}.field.label{margin-bottom:16px}}
.stat-label,.welcome .eyebrow,.quickcard>.eyebrow{font-size:12px}
.exam-workspace .exam-tab,.exam-workspace .part-tabs button{font-size:12px}
.exam-workspace .exam-tab .number,.exam-workspace .question-no,.question-summary-num{font-size:11px}
.exam-workspace .exam-section-head .eyebrow,.exam-workspace .audio-player-heading .badge{font-size:11px}
.exam-workspace .exam-section-rules,.exam-workspace .audio-time,.exam-workspace .exam-figure>span{font-size:12px}
.result-phone:is([data-theme=listening],[data-theme=speaking]):after{opacity:0}

.profile strong,td .name{font-family:var(--font-body);font-weight:700}
.story-counter,.story-footer>span:last-child,.result-summary span{font-weight:500}

/* Reserve room for the illustration below the story copy. */
.story:is(.listening,.reading,.writing,.speaking) .story-name{margin-top:9cqw}
.story:is(.listening,.reading,.writing,.speaking) .story-score{font-size:30cqw}
.story-skill-art{height:45cqw}

/* The recap is one centered story on every screen size. */
.results-page{display:grid;place-items:center;min-height:100dvh;gap:0;padding:max(12px,env(safe-area-inset-top)) 16px max(12px,env(safe-area-inset-bottom))}
.result-page-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.result-phone-wrap{width:min(480px,calc((100dvh - 90px)*.5625),calc(100vw - 32px));max-width:100%;margin:0}
.result-phone{border-radius:32px;box-shadow:0 18px 65px #343B241A;border-color:#4E572822}
.result-controls{margin-top:12px}.result-controls .btn{min-height:50px;border-radius:18px;font-size:14px}
.result-controls .result-back{border-radius:18px}.result-controls.has-back{grid-template-columns:50px 1fr;gap:10px}
.story-name{max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.story-intro-copy{font-family:var(--font-body);font-size:4.1cqw;line-height:1.4;color:#596244;margin-top:5cqw;max-width:82cqw;position:relative;z-index:3;overflow-wrap:anywhere}
.story.intro .story-name{margin-top:9cqw}
.story.intro .story-art{width:78cqw;height:55cqw;right:5cqw;bottom:19cqw}
.story.intro .story-art .mascot{inset:1cqw 15cqw 2cqw 20cqw}
.story.intro .intro-paper{inset:0 8cqw 0 12cqw}
.story.intro .intro-star{width:14cqw;height:14cqw;left:3cqw;top:5cqw}
.story.intro .art-caption{font-size:4.6cqw;left:9cqw;bottom:-1cqw}
.writing .skill-symbol{left:6cqw;top:7cqw;width:27cqw;height:31cqw;transform:rotate(-6deg)}
.writing-pen{display:block;width:100%;height:100%;object-fit:contain}

.result-phone[data-theme=overall]{background:#4E5728;color:#ECE5DD}
.result-phone[data-theme=overall]:after{opacity:0}
.result-phone[data-theme=overall] .story-progress button{background:#ECE5DD40}
.result-phone[data-theme=overall] .story-progress button:is(.active,.past){background:#ECE5DD}
.story.overall .story-name{margin-top:8cqw;color:#ECE5DD}
.story.overall h2{font-size:11.4cqw;line-height:1.1;margin-top:3cqw;color:#ECE5DD;white-space:nowrap;letter-spacing:-.3cqw}
.overall-score-art{position:relative;height:53cqw;margin-top:5cqw;isolation:isolate;flex:none}
.overall-score-art:before{content:'';position:absolute;inset:0 -1cqw;background:#DEDB94;border-radius:48% 52% 46% 50%;transform:rotate(-4deg);z-index:-1}
.overall-score-label{position:absolute;left:0;right:0;top:7cqw;font:500 3cqw/1.4 var(--font-ui);text-transform:uppercase;letter-spacing:.3cqw;color:#4E5728;text-align:center}
.story.overall .overall-score-art .story-score{position:absolute;left:0;right:0;top:17cqw;margin:0;font-size:30cqw;line-height:1;color:#4E5728;letter-spacing:-1.2cqw;white-space:nowrap;text-align:center}
.story.overall .overall-score-art .story-score span{font-size:3.5cqw;color:#4E5728;margin-left:1.8cqw}
.overall-score-art>.mascot{position:absolute;right:2cqw;top:24cqw;bottom:1cqw;width:16cqw;z-index:2;transform:rotate(5deg);animation:mascot-arrive .9s both}
.overall-score-art .overall-star{top:-2cqw;right:-1cqw;width:13cqw;height:13cqw;transform:rotate(12deg)}
.overall-spark{position:absolute;left:-2cqw;bottom:0;width:8cqw;height:8cqw;transform:rotate(-14deg);animation:star-arrive .9s .2s both}
.overall-summary{display:grid;grid-template-columns:1fr 1fr;gap:0 6cqw;margin-top:6cqw;flex:none}
.overall-summary>div{display:flex;align-items:baseline;justify-content:space-between;gap:2cqw;background:none;border:0;border-bottom:1px solid #ECE5DD4D;border-radius:0;padding:2.7cqw 0}
.overall-summary span{font:500 3.3cqw/1.4 var(--font-ui);color:#ECE5DD}
.overall-summary strong{font:700 7.5cqw/1.1 var(--font-body);color:#ECE5DD;margin:0;letter-spacing:-.15cqw}
.story.overall .story-footer{margin-top:auto;color:#ECE5DD;font-size:3cqw;gap:4cqw;align-items:flex-end}
.result-school-link{display:inline-flex;align-items:center;justify-content:center;gap:1.5cqw;max-width:76cqw;font:400 3cqw/1.35 var(--font-body);color:inherit;text-decoration:underline;text-decoration-color:#ECE5DD66;text-underline-offset:3px}
.result-school-link .icon{flex:none;width:3.3cqw;height:3.3cqw}
.story-note-button{align-self:flex-start;display:inline-flex;align-items:center;gap:2cqw;margin-top:4cqw;padding:1cqw 0;min-height:8cqw;color:#ECE5DD;background:none;border:0;font:500 3.2cqw/1.4 var(--font-ui);text-decoration:underline;text-decoration-color:#ECE5DD66;text-underline-offset:4px;cursor:pointer;position:relative;z-index:5}
.story-note-button .icon{width:4.2cqw;height:4.2cqw}
.story-note-panel{position:absolute;inset:0;z-index:20;background:#FDFBF7;color:#4E5728;padding:17cqw 8cqw 9cqw;display:flex;flex-direction:column;gap:5cqw;animation:storyIn .35s ease-out}
.story-note-panel>.eyebrow{font-size:3cqw;color:#596244}
.story-note-panel h2{font:500 6cqw/1.2 var(--font-ui);letter-spacing:-.02em;margin:0;padding-right:3cqw}
.story-note-close{position:absolute;right:5cqw;top:5cqw;display:grid;place-items:center;width:44px;height:44px;border:1px solid #4E572830;background:transparent;border-radius:50%;color:#4E5728;cursor:pointer}
.story-note-close .icon{width:20px;height:20px}
.story-note-copy{font:400 4.7cqw/1.6 var(--font-body);white-space:pre-wrap;overflow:auto;overflow-wrap:anywhere;min-height:0;padding-right:2cqw;scrollbar-width:thin}
@media(max-width:650px){
 .results-page{padding:max(10px,env(safe-area-inset-top)) 12px max(10px,env(safe-area-inset-bottom))}
 .result-phone-wrap{width:min(440px,calc((100dvh - 84px)*.5625),calc(100vw - 24px))}
 .result-phone{border-radius:28px}.result-controls .btn{font-size:13px;min-height:48px}.result-controls.has-back{grid-template-columns:48px 1fr}
}
@media(prefers-reduced-motion:reduce){.story-note-panel{animation:none}}

.story-footer,.story.overall .story-footer{justify-content:center;text-align:center}
.story-footer>span:last-child{font-family:var(--font-body);font-size:3.1cqw;line-height:1.35;white-space:normal}
