@font-face{font-family:QLLNoto;src:url('fonts/NotoSans-LatinVietnamese.woff2') format('woff2');font-weight:100 900;font-display:swap}*{box-sizing:border-box}body{margin:0;background:#f6f7f9;color:#18304e;font-family:QLLNoto,Arial,sans-serif;font-size:15px}button,select,input{font:inherit}button,a,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.6;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #f59e0b;outline-offset:3px}[hidden]{display:none!important}.exam-header{height:64px;background:#fff;display:flex;align-items:center;gap:24px;padding:0 5%;border-bottom:1px solid #e2e8f0}.exam-header a{color:inherit;text-decoration:none;font-weight:650}.brand{margin-right:auto;font-size:21px}.brand span{color:#c66a0a;font-size:12px}.library-intro{padding:42px 0 24px}.library-intro h1{font-size:36px;margin:12px 0}.library-intro p{color:#64748b;line-height:1.7}.eyebrow{font-size:11px;color:#b45309;letter-spacing:1.4px;font-weight:800}#library{max-width:1160px;margin:auto;padding:0 24px 60px}.skill-tabs,.part-tabs{display:flex;gap:8px;flex-wrap:wrap}.skill-tabs button,.part-tabs button,.quiet{border:1px solid #dbe3ed;border-radius:8px;background:#fff;padding:9px 15px;color:#18304e;font-weight:650}.skill-tabs button[aria-pressed=true],.part-tabs button[aria-selected=true]{background:#fff3df;border-color:#e99a2e;color:#9a4b09}.test-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.test-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:24px}.test-card h2{font-size:20px;line-height:1.5;margin:12px 0}.test-card p{color:#64748b}.skill-label{font-size:11px;color:#b45309;font-weight:800;text-transform:uppercase;letter-spacing:1px}.primary{background:linear-gradient(120deg,#c66a0a,#e99a2e);color:white;border:0;border-radius:9px;padding:11px 18px;font-weight:750}.exam-toolbar{display:flex;gap:14px;align-items:center;background:white;padding:12px 24px;border-bottom:1px solid #e2e8f0}.exam-toolbar h1{flex:1;font-size:16px;margin:0}.exam-toolbar #clock{font-variant-numeric:tabular-nums;font-weight:800}.part-tabs{padding:10px 24px;background:#f6f7f9}.workspace{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#e2e8f0;margin:0 24px;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.workspace>article{background:white;padding:28px;line-height:1.8;min-width:0;max-height:calc(100vh - 290px);overflow:auto;scroll-behavior:smooth}.workspace.listening{grid-template-columns:1fr;max-width:940px;margin:0 auto}.workspace.listening>article{max-height:calc(100vh - 365px)}.passage h1,.passage h2{font-size:24px;line-height:1.5}.passage img,.questions img{max-width:100%;height:auto}.questions h2,.questions h3{font-size:19px}.questions h4{font-size:15px;margin:0 0 12px;color:#9a4b09}.questions .test-panel__item{padding-bottom:26px;margin-bottom:24px;border-bottom:1px solid #e2e8f0}.questions .test-panel__answer-item{display:flex;align-items:flex-start;gap:8px;margin:8px 0}.questions .test-panel__answer-option{font-weight:750}.questions label{cursor:pointer}.questions input[type=radio],.questions input[type=checkbox]{width:17px;height:17px;accent-color:#c66a0a;vertical-align:middle;margin:0 8px 0 0}.questions input[type=text],.questions input:not([type]),.questions select{border:1px solid #94a3b8;background:white;color:#18304e;border-radius:5px;padding:5px 8px;max-width:100%;min-width:80px}.questions input[type=text]{width:160px}.questions select{margin:0 6px}.questions .checkmark{display:none}.questions .test-panel__question-sm-title{font-weight:700;margin:15px 0 8px}.questions .test-panel__question-num{font-weight:800;color:#b45309;margin-right:5px}.questions table{width:100%;border-collapse:collapse;font-size:14px;margin:14px 0}.questions td,.questions th{border:1px solid #cbd5e1;padding:8px;vertical-align:top}.table-responsive{overflow-x:auto}.questions .question-active{outline:2px solid #e99a2e;outline-offset:3px}#audio-bar{display:flex;align-items:center;gap:16px;padding:8px 24px;background:#fff7ed;border-bottom:1px solid #fed7aa}#audio-bar audio{flex:1;max-width:720px;height:42px}#audio-bar>span{font-size:12px;font-weight:700}.question-footer{background:white;padding:12px 24px;border-top:1px solid #e2e8f0;position:sticky;bottom:0;z-index:3}.footer-meta{display:flex;align-items:center;gap:15px;font-size:12px;margin-bottom:9px}.footer-meta #exam-status{color:#9a4b09}#question-nav{display:flex;gap:5px;flex-wrap:wrap}#question-nav button{width:29px;height:29px;border:1px solid #cbd5e1;background:#fff;border-radius:5px;font-size:11px;color:#18304e}#question-nav button.filled{background:#e0f2fe;border-color:#7dd3fc}#question-nav button.flagged{box-shadow:inset 0 -4px #f59e0b}#question-nav button.current{outline:2px solid #c66a0a}#question-nav button.correct{background:#dcfce7;border-color:#86efac}#question-nav button.wrong{background:#fee2e2;border-color:#fca5a5}#question-nav button.partial{background:#fef3c7;border-color:#fcd34d}#result,#answer-details{max-width:940px;margin:18px auto;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px}#result h2{margin:0;font-size:24px}#answer-details summary{cursor:pointer;font-weight:750}#answer-table{overflow-x:auto}#answer-table table{border-collapse:collapse;width:100%;margin:15px 0;font-size:13px}#answer-table th,#answer-table td{padding:10px;border-bottom:1px solid #e2e8f0;text-align:left}.result-note{font-size:12px;color:#64748b}@media(max-width:700px){.exam-header{padding:0 15px;gap:14px}.exam-header a{font-size:12px}.brand{font-size:17px!important}.library-intro h1{font-size:28px}.test-grid{grid-template-columns:1fr}.exam-toolbar{padding:10px 12px;flex-wrap:wrap;gap:8px}.exam-toolbar h1{order:4;flex-basis:100%;font-size:13px}.exam-toolbar #clock{margin-left:auto}.part-tabs{padding:10px 12px}.workspace{grid-template-columns:1fr;margin:0 12px}.workspace>article{max-height:43vh;padding:18px}.workspace.listening{margin:0 12px}.workspace.listening>article{max-height:55vh}.question-footer{padding:10px 12px}.footer-meta{flex-wrap:wrap;gap:8px}#audio-bar{flex-wrap:wrap;padding:8px 12px;gap:6px}#audio-bar audio{flex-basis:100%;width:100%}#result,#answer-details{margin:12px}.questions input[type=text]{width:120px}}
#audio-bar{position:sticky;top:0;z-index:5}

.passage .section-image img{display:block;max-height:180px;object-fit:contain;width:auto;margin:12px auto}.passage .section-image{margin-bottom:16px}.mobile-pane-tabs{display:none}
@media(max-width:700px){.mobile-pane-tabs{display:flex;gap:8px;padding:0 12px 10px}.mobile-pane-tabs button{flex:1;background:white;border:1px solid #cbd5e1;border-radius:7px;padding:8px;color:#18304e}.mobile-pane-tabs button[aria-pressed=true]{background:#fff3df;border-color:#e99a2e}.workspace:not(.listening) .questions{display:none}.workspace.show-mobile-questions .questions{display:block}.workspace.show-mobile-questions .passage{display:none}.workspace>article{height:calc(100dvh - 415px);max-height:none;min-height:210px}.workspace.listening>article{height:calc(100dvh - 420px);max-height:none}.question-footer{position:static;margin-top:10px}.footer-meta #exam-status{flex-basis:100%}.passage .section-image img{max-height:100px}}
/* Amber book-and-sun identity; shared with the approved mockup. */
:root{--exam-orange:#ff7118;--exam-gold:#ffbd20;--exam-navy:#12314f;--exam-line:#e5e9ee;--exam-gradient:linear-gradient(110deg,#ff6a19,#ffb81c)}body{background:linear-gradient(180deg,#fffaf1 0,#faf8f4 460px,#f6f8fb 100%);color:var(--exam-navy)}.exam-header{height:78px;padding:0 max(24px,calc((100% - 1440px)/2));gap:12px;border-bottom:1px solid #f0e5d7;background:#fffefa}.exam-header>a:not(.brand){padding:10px 17px;border:1px solid transparent;border-radius:12px;transition:.18s}.exam-header>a:not(.brand):hover{background:#fff0d8;border-color:#ffcb7a;color:#a44308}#exam{max-width:1488px;margin:22px auto 0;padding:0 24px}.exam-toolbar{position:relative;background:linear-gradient(115deg,#fff0d6,#fff9ef 58%,#ffedce);border:1px solid #f2dfc2;border-radius:20px 20px 0 0;padding:22px 24px;gap:16px}.exam-skill-icon{display:grid;place-items:center;width:65px;height:65px;background:#ffe6bf;color:#ef7311;border-radius:50%;font-size:33px;flex-shrink:0}.exam-heading{flex:1;min-width:0}.exam-heading h2{font-size:30px;line-height:1.25;margin:0 0 6px;letter-spacing:-.7px}.exam-heading p{margin:0;color:#577089;font-size:15px}.exam-toolbar #exam-title{display:none}.exam-toolbar #back{position:absolute;left:0;top:-15px;transform:translateY(-100%);padding:4px 0;border:0;background:transparent;font-size:12px}.exam-toolbar #clock{background:var(--exam-navy);color:white;padding:15px 20px;border-radius:17px;min-width:110px;text-align:center;font-size:20px}.primary{background:var(--exam-gradient);border-radius:14px;padding:13px 22px;box-shadow:0 5px 12px #f58a1720;transition:transform .15s,box-shadow .15s}.primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 7px 18px #f58a1730}.exam-toolbar #submit{font-size:16px;min-width:130px}.part-tabs{padding:18px 0;background:transparent;gap:10px}.part-tabs button,.skill-tabs button{border-radius:24px;padding:10px 22px;transition:.15s}.part-tabs button:hover,.skill-tabs button:hover,.quiet:hover{border-color:#ffc97a;background:#fff7e9}.part-tabs button[aria-selected=true],.skill-tabs button[aria-pressed=true]{background:var(--exam-gradient);color:white;border-color:#ff991b;box-shadow:0 4px 10px #f58a171c}#audio-bar{padding:14px 22px;background:#fff9ee;border:1px solid #f2dfc2;border-top:0;border-radius:0 0 20px 20px;box-shadow:0 9px 22px #b8833010;position:sticky;top:8px;z-index:6}#audio-bar>span:first-child{display:none}#audio-bar audio{max-width:none;width:100%}.custom-audio{display:flex;align-items:center;gap:16px;width:100%;background:#fffefa;border:1px solid #f3e4cd;border-radius:16px;padding:10px 15px}.custom-audio button{border:0;background:transparent;color:#12314f;font-size:24px;width:38px;height:40px;flex-shrink:0}.custom-audio #audio-play{width:48px;height:48px;border-radius:50%;background:var(--exam-gradient);color:white;font-size:21px;box-shadow:0 3px 9px #ff95172a}.custom-audio>span{font-size:13px;font-variant-numeric:tabular-nums;color:#48627e;min-width:40px}.audio-seek-label{flex:1;display:flex;min-width:40px}.audio-volume-label{width:100px;display:flex}.custom-audio input{width:100%;accent-color:#ff8518;cursor:pointer}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.exam-content{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:18px;align-items:start}.exam-content:has(.workspace:not(.listening)){grid-template-columns:1fr}.workspace{margin:0;gap:18px;background:transparent;border:0;border-radius:0;overflow:visible;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}.workspace>article{border:1px solid var(--exam-line);border-radius:16px;padding:28px 32px;box-shadow:0 6px 20px #18304e04;max-height:calc(100dvh - 350px);min-height:260px;scrollbar-width:thin;scrollbar-color:#c8d3df transparent}.workspace.listening{max-width:none;width:100%;margin:0}.workspace.listening>article{max-height:calc(100dvh - 415px)}.questions .test-panel__answer-item{position:relative;align-items:center;padding:11px 14px;border:1px solid #dfe5ec;border-radius:10px;gap:12px;transition:.15s;background:#fff;margin:9px 0}.questions .test-panel__answer-item:has(input:checked){background:#fff4df;border-color:#ffb23e;box-shadow:0 0 0 1px #ffbe5722}.questions .test-panel__answer-item:has(input:not(:disabled)):hover{background:#fffbf3;border-color:#ffc476}.questions .test-panel__answer-item label{flex:1;line-height:1.6}.questions .test-panel__answer-item input[type=radio],.questions .test-panel__answer-item input[type=checkbox]{width:19px;height:19px;accent-color:#ff861b}.questions .test-panel__answer-option{color:#12314f;min-width:14px}.questions h4{color:#12314f;font-size:22px;margin-bottom:12px}.questions input[type=text],.questions input:not([type]),.questions select{border-radius:8px;border-color:#bac8d8;padding:7px 10px}.exam-sidebar{background:white;border:1px solid var(--exam-line);border-radius:16px;padding:22px 18px;box-shadow:0 6px 20px #18304e04}.sidebar-heading{display:flex;justify-content:space-between;font-size:16px}.exam-sidebar progress{display:block;width:100%;height:9px;margin:18px 0 22px;accent-color:#ff861a;border:0;border-radius:8px;overflow:hidden}.exam-sidebar progress::-webkit-progress-bar{background:#edf0f4}.exam-sidebar progress::-webkit-progress-value{background:var(--exam-gradient);border-radius:8px}#sidebar-nav{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}#sidebar-nav button{border:1px solid #d8e1eb;border-radius:50%;width:36px;height:36px;background:white;color:#12314f;font-size:13px}#sidebar-nav button.current{background:var(--exam-gradient);color:white;border-color:#ff9c20}#sidebar-nav button.filled{background:#fff0d2;border-color:#ffbc55}#sidebar-nav button.flagged{box-shadow:inset 0 -3px #c68618}#sidebar-nav button.correct{background:#dcfce7}#sidebar-nav button.wrong{background:#fee2e2}.exam-sidebar p{font-size:11px;line-height:1.8;color:#789;margin:18px 0 0}.question-footer{margin-top:16px;border:1px solid var(--exam-line);border-radius:16px;padding:14px 18px;box-shadow:0 -4px 20px #12314f05;bottom:8px}.footer-meta{margin-bottom:12px}#question-nav{gap:6px}#question-nav button{width:30px;height:30px;border-radius:50%;font-size:11px;transition:.15s}#question-nav button.filled{background:#fff0d6;border-color:#ffbd55}#question-nav button.current{outline:0;background:var(--exam-gradient);color:white;border-color:#ff9c20}#question-nav button.correct{background:#dcfce7;color:#166534}#question-nav button.wrong{background:#fee2e2;color:#991b1b}.library-intro{margin-top:25px;padding:36px;border:1px solid #f2dfc2;background:linear-gradient(110deg,#fff0d6,#fffcf5);border-radius:24px;margin-bottom:24px}.library-intro h1{font-weight:800}.test-card{border-radius:18px;padding:28px;box-shadow:0 6px 22px #12314f05;transition:transform .18s,border-color .18s}.test-card:hover{transform:translateY(-3px);border-color:#ffc36f}.skill-label{display:inline-block;padding:6px 11px;border-radius:8px;background:#fff0d4;color:#ab570b;letter-spacing:.5px}#library-status{color:#597089;font-size:13px;margin:22px 0}
@media(max-width:1000px){.exam-content{grid-template-columns:minmax(0,1fr) 210px}.exam-sidebar{padding:18px 12px}#sidebar-nav{gap:5px}#sidebar-nav button{width:31px;height:31px}.workspace>article{padding:23px}.exam-heading h2{font-size:25px}}
@media(max-width:700px){.exam-header{height:auto;min-height:70px;padding:12px 14px;flex-wrap:wrap;gap:6px}.exam-header>a:not(.brand){font-size:11px;padding:7px 9px}#exam{padding:0 12px;margin-top:28px}.exam-toolbar{padding:16px 14px;gap:10px;border-radius:16px 16px 0 0;flex-wrap:wrap}.exam-skill-icon{width:42px;height:42px;font-size:24px}.exam-heading{flex-basis:calc(100% - 60px)}.exam-heading h2{font-size:23px}.exam-heading p{font-size:12px}.exam-toolbar #clock{margin-left:0;padding:9px 14px;font-size:17px;min-width:90px}.exam-toolbar #submit{margin-left:auto;padding:10px 18px;font-size:14px;min-width:100px}#audio-bar{padding:10px;top:4px;gap:5px;border-radius:0 0 16px 16px}.custom-audio{gap:8px;padding:8px}.custom-audio #audio-play{width:38px;height:38px;font-size:17px}.custom-audio>span{font-size:11px;min-width:34px}.audio-volume-label{display:none}.custom-audio #audio-mute{width:24px;font-size:20px}.exam-content{display:block}.exam-sidebar{display:none}.part-tabs{padding:14px 0;gap:7px}.part-tabs button{padding:8px 17px;font-size:13px}.workspace,.workspace.listening{margin:0;grid-template-columns:1fr}.workspace>article,.workspace.listening>article{height:auto;max-height:58dvh;min-height:240px;padding:20px 17px}.workspace:not(.listening)>article{max-height:58dvh}.questions h4{font-size:19px}.questions .test-panel__answer-item{padding:10px;gap:8px;font-size:14px}.question-footer{position:static;padding:12px;margin-top:12px}#question-nav{gap:5px}#question-nav button{width:27px;height:27px}.library-intro{padding:25px 20px;margin-top:18px}.library-intro h1{font-size:27px}.test-card{padding:22px}.mobile-pane-tabs{padding:0 0 12px}.footer-meta{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.question-footer{position:static}.exam-sidebar{max-height:calc(100dvh - 415px);overflow:auto;scrollbar-width:thin}.custom-audio input[type=range]{appearance:none;-webkit-appearance:none;background:transparent;height:20px}.custom-audio input[type=range]::-webkit-slider-runnable-track{height:7px;border-radius:8px;background:linear-gradient(to right,#ff8618 var(--audio-fill,0%),#e6e8ec var(--audio-fill,0%))}.custom-audio input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:18px;height:18px;margin-top:-5.5px;border:0;border-radius:50%;background:#ff8618}.custom-audio input[type=range]::-moz-range-track{height:7px;border-radius:8px;background:#e6e8ec}.custom-audio input[type=range]::-moz-range-progress{height:7px;border-radius:8px;background:#ff8618}.custom-audio input[type=range]::-moz-range-thumb{width:18px;height:18px;border:0;border-radius:50%;background:#ff8618}.custom-audio #audio-volume{--audio-fill:100%}.exam-skill-icon svg{width:32px;height:32px}.custom-audio #audio-mute svg{width:24px;height:24px}@media(max-width:700px){.exam-header .brand{flex-basis:100%;margin-bottom:2px}.exam-header>a:not(.brand){padding:5px 9px}.exam-skill-icon svg{width:26px;height:26px}}
#exam{margin-top:36px}.questions .question-active{border-radius:10px;outline-offset:5px}
