#swv-tests-shell{--brown:#654b3b;--brown-dark:#443126;--brown-soft:#f1e8da;--gold:#c5ab75;--line:#dedbd2;--muted:#596b74}
#swv-tests-shell{scroll-padding-top:110px}
#swv-tests-shell{font-size:16px}
#swv-tests-shell .skip-link{position:fixed;top:-100px;left:16px;z-index:1000;padding:12px;background:#fff}
#swv-tests-shell .skip-link:focus{top:10px}
#swv-tests-shell .preview-banner{background:#49372d;color:#fff7e8;padding:7px 26px;font-size:13px;text-align:center}
#swv-tests-shell .preview-banner span{opacity:.8;margin-left:16px}
#swv-tests-shell .masthead{position:relative;backdrop-filter:none}
#swv-tests-shell .nav-inner{gap:20px;min-height:88px}
#swv-tests-shell .nav-links{gap:18px}
#swv-tests-shell .nav-links a{font-size:13px}
#swv-tests-shell .brand img{width:214px;height:auto}
#swv-tests-shell .mobile-toggle{font-size:14px;min-height:44px}
#swv-tests-shell .loading{padding-block:50px}
#swv-tests-shell .category-row{border-bottom:1px solid var(--line);background:var(--paper)}
#swv-tests-shell .categories{display:flex;gap:28px}
#swv-tests-shell .categories a{padding:16px 2px 13px;font-size:16px;font-weight:700;border-bottom:3px solid transparent}
#swv-tests-shell .categories a[aria-current=page]{color:var(--brown);border-color:var(--brown)}
#swv-tests-shell .page-title{background:var(--ivory);padding:28px 0 24px;border-bottom:1px solid var(--line)}
#swv-tests-shell .page-title h1{font-size:42px;margin:0 0 8px}
#swv-tests-shell .page-title p{margin:0;max-width:820px;font-size:16px}
#swv-tests-shell .library{padding:26px 0 52px}
#swv-tests-shell .formats{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:22px}
#swv-tests-shell .formats button,#swv-tests-shell .formats a{border:1px solid #cfd9d3;border-radius:30px;background:transparent;color:var(--navy);padding:10px 17px;font-size:14px;min-height:44px}
#swv-tests-shell .formats button[aria-pressed=true]{background:var(--brown);border-color:var(--brown);color:#fff}
#swv-tests-shell .vocabulary .formats button[aria-pressed=true]{background:var(--navy);border-color:var(--navy)}
#swv-tests-shell .formats a{margin-left:auto}
#swv-tests-shell .format-note{font-size:15px;margin-bottom:24px}
#swv-tests-shell .filters{display:grid;grid-template-columns:200px 1fr auto;gap:16px;align-items:end;padding-bottom:22px;border-bottom:1px solid var(--line)}
#swv-tests-shell .filters label{font-size:14px;font-weight:700;display:grid;gap:6px;color:#52675e}
#swv-tests-shell input,#swv-tests-shell select{min-height:46px;border:1px solid #cdd4cd;border-radius:8px;background:#fff;color:var(--ink);padding:10px 13px;font-size:16px;width:100%;min-width:0}
#swv-tests-shell .filters button{min-height:46px}
#swv-tests-shell .btn{font-size:14px;min-height:44px}
#swv-tests-shell .btn.primary{background:var(--brown)}
#swv-tests-shell .btn.primary:hover{background:var(--brown-dark)}
#swv-tests-shell .btn.outline{border-color:#c7c7bb}
#swv-tests-shell .button-row{display:flex;gap:10px;flex-wrap:wrap}
#swv-tests-shell .results-count{display:flex;justify-content:space-between;align-items:center;padding:16px 0;font-size:14px}
#swv-tests-shell .results-count p{margin:0}
#swv-tests-shell .text-button{background:transparent;border:0;text-decoration:underline;color:var(--brown);padding:10px 0;font-size:14px;min-height:44px}
#swv-tests-shell .test-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
#swv-tests-shell .test-card{overflow:hidden;border:1px solid var(--line);border-radius:13px;display:flex;flex-direction:column;background:#fffefa}
#swv-tests-shell .cover{aspect-ratio:16/9;position:relative;display:block;overflow:hidden;background:#5a4438}
#swv-tests-shell .cover>img{width:100%;height:100%;object-fit:cover;display:block}
#swv-tests-shell .cover .play{position:absolute;right:16px;bottom:16px;background:#183248dd;border:1px solid #ffffff90;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;color:white;font-size:15px}
#swv-tests-shell .card-body{padding:22px;display:flex;flex-direction:column;flex:1}
#swv-tests-shell .card-meta{display:flex;align-items:center;gap:10px;margin-bottom:12px;color:#66716f;font-size:14px}
#swv-tests-shell .level{display:inline-flex;padding:3px 10px;border-radius:5px;background:var(--brown-soft);color:var(--brown-dark);font-size:14px;font-weight:700}
#swv-tests-shell .test-card h2{font-size:27px;line-height:1.15;margin-bottom:14px}
#swv-tests-shell .test-card p{font-size:16px;margin-bottom:18px}
#swv-tests-shell .card-link{font-size:14px;font-weight:700;color:#975449;margin-top:auto;min-height:44px;display:flex;align-items:center}
#swv-tests-shell .not-ready{color:#65706d;font-size:14px;margin-top:auto;min-height:44px;display:flex;align-items:center}
#swv-tests-shell .poster{height:100%;padding:22px 25px;display:flex;flex-direction:column;justify-content:space-between;background:radial-gradient(ellipse at top right,#896747,#48352b);color:#fff7e8}
#swv-tests-shell .poster small{font-size:11px;letter-spacing:.14em;color:#e0cead}
#swv-tests-shell .poster strong{font:700 clamp(22px,2.1vw,31px)/1.1 Georgia,serif;max-width:240px}
#swv-tests-shell .poster span{font-size:13px;color:#e5d5b8}
#swv-tests-shell .practice-pack{display:grid;grid-template-columns:1.4fr 1fr;gap:36px;align-items:center;margin-top:36px;background:#eaf0e9;border:1px solid #dce2d8;border-radius:14px;padding:32px}
#swv-tests-shell .practice-pack h2{font-size:34px}
#swv-tests-shell .practice-pack p{font-size:16px}
#swv-tests-shell .practice-pack .eyebrow{font-size:12px}
#swv-tests-shell .pack-actions{display:grid;gap:15px;justify-items:start}
#swv-tests-shell .pack-actions a:not(.btn){text-decoration:underline;font-size:14px;color:#426553}
#swv-tests-shell .formats-list{display:flex;gap:7px;flex-wrap:wrap}
#swv-tests-shell .formats-list span{padding:4px 9px;background:#fff9;border:1px solid #dbe3d6;border-radius:5px;font-size:13px;color:#52675e}
#swv-tests-shell .empty{grid-column:1/-1;border:1px solid var(--line);padding:32px;border-radius:12px}
#swv-tests-shell .empty h2{font-size:30px}
#swv-tests-shell .scope-note{font-size:14px;padding:13px 16px;border-left:3px solid var(--gold);background:#f7f2e8;margin-bottom:22px}
#swv-tests-shell .detail{padding:24px 0 50px}
#swv-tests-shell .back-link{font-size:14px;color:#52675e;display:inline-block;margin-bottom:18px;text-decoration:underline}
#swv-tests-shell .detail h1{font-size:clamp(32px,4vw,49px);max-width:900px;margin-bottom:14px}
#swv-tests-shell .detail-intro{max-width:800px;margin:14px 0 22px}
#swv-tests-shell .lesson{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(355px,1fr);gap:24px;align-items:start}
#swv-tests-shell .video-column{position:sticky;top:16px}
#swv-tests-shell .video-column video{display:block;width:100%;aspect-ratio:16/9;background:#48352b;border-radius:12px}
#swv-tests-shell .video-tools{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
#swv-tests-shell .video-tools .btn{padding:11px 16px}
#swv-tests-shell .video-note{font-size:14px;margin:12px 0 18px}
#swv-tests-shell .video-column details{border-top:1px solid var(--line);padding:16px 0}
#swv-tests-shell .video-column summary{font-size:16px;font-weight:700;cursor:pointer}
#swv-tests-shell .video-column ul{padding-left:22px;color:var(--muted);font-size:15px}
#swv-tests-shell .answer-panel{border:1px solid #d9cbb8;border-radius:13px;overflow:hidden;background:#fffefa;scroll-margin-top:16px}
#swv-tests-shell .panel-top{padding:18px 22px 14px;background:#f3ecdf;border-bottom:1px solid #e1d7c7}
#swv-tests-shell .panel-topline{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px}
#swv-tests-shell .panel-top h2{font-size:25px;margin:0}
#swv-tests-shell .mode{font-size:13px;color:#654b3b}
#swv-tests-shell .answer-progress{height:5px;border-radius:5px;background:#dfd4c0;overflow:hidden}
#swv-tests-shell .answer-progress span{display:block;height:100%;background:#8b704b}
#swv-tests-shell .progress-copy{font-size:14px;margin:8px 0 0;color:#645d51}
#swv-tests-shell .panel-content{padding:22px}
#swv-tests-shell .question-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}
#swv-tests-shell .question-nav label{font-size:14px;color:#655d52}
#swv-tests-shell .question-nav select{max-width:160px;font-size:14px;min-height:42px}
#swv-tests-shell .question-prompt{font:400 27px/1.35 Georgia,serif;color:#263b44;margin-bottom:22px;min-height:66px}
#swv-tests-shell .choices{display:grid;gap:10px}
#swv-tests-shell .choice{display:flex;align-items:center;text-align:left;gap:14px;border:1px solid #d7d8ce;border-radius:8px;background:white;min-height:52px;padding:11px 14px;color:#253a45;font-size:18px}
#swv-tests-shell .choice b{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border:1px solid #d9d4c7;border-radius:5px;font-size:14px}
#swv-tests-shell .choice:hover{border-color:#a58c60;background:#faf6ed}
#swv-tests-shell .choice[aria-pressed=true]{border:2px solid #876c47;padding:10px 13px;background:#f2eadb}
#swv-tests-shell .choice[aria-pressed=true] b{background:#755b3f;border-color:#755b3f;color:#fff}
#swv-tests-shell .unknown[aria-pressed=true]{font-weight:700;background:#f2eadb;border-radius:5px;padding-inline:12px}
#swv-tests-shell .question-actions{display:flex;justify-content:space-between;align-items:center;margin:12px 0 20px;gap:8px}
#swv-tests-shell .question-actions .text-button{padding:8px 0}
#swv-tests-shell .step-actions{display:flex;gap:9px}
#swv-tests-shell .step-actions button{flex:1}
#swv-tests-shell .panel-bottom{border-top:1px solid var(--line);padding:18px 22px}
#swv-tests-shell .finish{width:100%}
#swv-tests-shell .storage-status{font-size:13px;margin:10px 0 0;color:#647067}
#swv-tests-shell .question-map{border-top:1px solid var(--line);padding:16px 22px}
#swv-tests-shell .question-map summary{font-size:14px;cursor:pointer;color:#52675e}
#swv-tests-shell .map{display:grid;grid-template-columns:repeat(8,1fr);gap:6px;margin-top:14px}
#swv-tests-shell .map button{height:38px;min-width:0;background:#fff;border:1px solid #d9d5ca;border-radius:5px;font-size:14px;color:#253a45}
#swv-tests-shell .map button.done{background:#e8ede3;border-color:#a9baa7}
#swv-tests-shell .map button.current{outline:2px solid #8b704b;outline-offset:1px}
#swv-tests-shell .legend{font-size:13px;margin:12px 0 0}
#swv-tests-shell .btn:disabled{opacity:.5;cursor:default;transform:none}
#swv-tests-shell .result-summary{background:#edf1e7;border-bottom:1px solid #d0dac8;padding:24px 22px}
#swv-tests-shell .result-summary h2{font-size:28px;margin:0 0 6px}
#swv-tests-shell .score{font-size:58px;line-height:1.1;font-family:Georgia,serif;color:#345346;margin:9px 0}
#swv-tests-shell .score span{font-size:28px}
#swv-tests-shell .result-summary p{margin-bottom:8px;font-size:15px;color:#40584a}
#swv-tests-shell .result-summary .score-tag{font-size:14px;font-weight:700}
#swv-tests-shell .result-content{padding:22px}
#swv-tests-shell .result-content h3{font-size:25px}
#swv-tests-shell .topic-score{display:grid;grid-template-columns:1fr auto;gap:7px;padding:13px 0;border-bottom:1px solid #e5e3dc}
#swv-tests-shell .topic-score b{font-size:15px}
#swv-tests-shell .topic-score span{font-size:15px}
#swv-tests-shell .topic-track{grid-column:1/-1;height:5px;background:#e5e7df;border-radius:5px;overflow:hidden}
#swv-tests-shell .topic-track i{display:block;background:#8ca18c;height:100%}
#swv-tests-shell .topic-score a{grid-column:1/-1;font-size:14px;color:#75543b;text-decoration:underline}
#swv-tests-shell .result-actions{margin:20px 0;display:flex;flex-direction:column;gap:10px}
#swv-tests-shell .result-footnote{font-size:14px}
#swv-tests-shell .review-header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:26px 0 12px}
#swv-tests-shell .review-header h3{margin:0}
#swv-tests-shell .review-tabs{display:flex;gap:6px;margin-bottom:20px}
#swv-tests-shell .review-tabs button{padding:8px 12px;border:1px solid #cfd6cc;background:#fff;border-radius:6px;font-size:14px;min-height:44px}
#swv-tests-shell .review-tabs button[aria-pressed=true]{background:#edf1e7;border-color:#8b9e87}
#swv-tests-shell .review-item{padding:17px 0;border-top:1px solid #e1e0d8}
#swv-tests-shell .review-item h4{font-size:17px;margin:0 0 9px}
#swv-tests-shell .review-item p{font-size:15px;margin-bottom:7px}
#swv-tests-shell .review-item .correct{color:#345c43;font-weight:700}
#swv-tests-shell .review-item .wrong{color:#914b44}
#swv-tests-shell .review-item .text-button{min-height:36px;padding:4px 0}
#swv-tests-shell .review-nav{margin:14px 0}
#swv-tests-shell .review-nav label{font-size:14px}
#swv-tests-shell .review-nav select{font-size:14px}
#swv-tests-shell .review-all-good{background:#edf1e7;padding:18px;border-radius:8px}
#swv-tests-shell .result-view .video-column{position:static}
#swv-tests-shell dialog{border:1px solid #d2c5b4;border-radius:14px;padding:30px;max-width:470px;width:calc(100% - 32px);color:#253a45;background:#fffefa;box-shadow:0 20px 100px #0004}
#swv-tests-shell dialog::backdrop{background:#18282499}
#swv-tests-shell dialog h2{font-size:30px}
#swv-tests-shell dialog p{font-size:16px}
#swv-tests-shell dialog .button-row{margin-top:24px}
#swv-tests-shell footer{border-top:1px solid var(--line);background:var(--ivory);padding:36px 0}
#swv-tests-shell footer p{font-size:14px;margin:15px 0 10px}
#swv-tests-shell footer a{font-size:14px;text-decoration:underline}
#swv-tests-shell button:focus-visible,#swv-tests-shell a:focus-visible,#swv-tests-shell input:focus-visible,#swv-tests-shell select:focus-visible,#swv-tests-shell summary:focus-visible,#swv-tests-shell video:focus-visible{outline:3px solid #9c763c;outline-offset:4px}
#swv-tests-shell button,#swv-tests-shell a{-webkit-tap-highlight-color:transparent}
@media(max-width:1100px){#swv-tests-shell .nav-links{gap:12px}
#swv-tests-shell .nav-links a{font-size:12px}
#swv-tests-shell .brand img{width:180px}
#swv-tests-shell .test-grid{gap:18px}}
@media(max-width:960px){#swv-tests-shell .mobile-toggle{display:flex}
#swv-tests-shell .nav-inner{min-height:76px;flex-wrap:wrap;padding-block:10px}
#swv-tests-shell .nav-inner nav{display:none;width:100%}
#swv-tests-shell .nav-inner nav.open{display:block}
#swv-tests-shell .nav-links{display:flex;flex-wrap:wrap;gap:4px 22px;padding:8px 0}
#swv-tests-shell .nav-links a{font-size:15px}
#swv-tests-shell .test-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#swv-tests-shell .lesson{grid-template-columns:minmax(0,1fr) minmax(330px,1fr);gap:18px}
#swv-tests-shell .panel-content{padding:18px}
#swv-tests-shell .question-prompt{font-size:25px}
#swv-tests-shell .poster strong{font-size:30px}}
@media(max-width:700px){#swv-tests-shell .container{width:calc(100% - 32px)}
#swv-tests-shell .preview-banner{font-size:12px;padding:7px 12px}
#swv-tests-shell .preview-banner span{display:none}
#swv-tests-shell .categories{gap:25px}
#swv-tests-shell .categories a{padding-block:12px}
#swv-tests-shell .page-title{padding:24px 0}
#swv-tests-shell .page-title h1{font-size:35px}
#swv-tests-shell .filters{grid-template-columns:1fr auto;gap:12px}
#swv-tests-shell .filters .search{grid-column:1/-1;grid-row:1}
#swv-tests-shell .formats{gap:7px}
#swv-tests-shell .formats a{margin-left:0}
#swv-tests-shell .formats button,#swv-tests-shell .formats a{padding:9px 12px}
#swv-tests-shell .test-grid{grid-template-columns:1fr}
#swv-tests-shell .test-card h2{font-size:28px}
#swv-tests-shell .poster strong{font-size:34px}
#swv-tests-shell .practice-pack{grid-template-columns:1fr;padding:24px;gap:16px}
#swv-tests-shell .practice-pack h2{font-size:31px}
#swv-tests-shell .lesson{display:block}
#swv-tests-shell .video-column{position:sticky;top:0;background:var(--paper);z-index:10;padding-bottom:8px}
#swv-tests-shell .video-column video{max-height:34svh;border-radius:8px}
#swv-tests-shell .video-tools{margin-top:8px;gap:8px}
#swv-tests-shell .video-tools .btn{font-size:13px;min-height:38px;padding:9px 12px}
#swv-tests-shell .video-note,#swv-tests-shell .video-column details{display:none}
#swv-tests-shell .answer-panel{margin-top:16px;scroll-margin-top:calc(34svh + 66px)}
#swv-tests-shell .result-view .answer-panel{scroll-margin-top:16px}
#swv-tests-shell .detail-intro{font-size:16px}
#swv-tests-shell .detail h1{font-size:33px}
#swv-tests-shell .panel-content{padding:20px}
#swv-tests-shell .question-prompt{min-height:0;font-size:26px}
#swv-tests-shell .choice{min-height:52px}
#swv-tests-shell .panel-top{padding:17px 20px 13px}
#swv-tests-shell .question-map{padding:16px 20px}
#swv-tests-shell .step-actions{margin-top:6px}
#swv-tests-shell .result-view .video-column{position:static}
#swv-tests-shell .score{font-size:54px}
#swv-tests-shell .practice-pack .btn{width:100%}
#swv-tests-shell .pack-actions{justify-items:stretch}
#swv-tests-shell .result-content{padding:20px}
#swv-tests-shell .button-row .btn{flex:1}
#swv-tests-shell .scope-note{font-size:14px}}
@media(prefers-reduced-motion:reduce){#swv-tests-shell{scroll-behavior:auto}
#swv-tests-shell *{transition:none!important}}
#swv-tests-shell .card-link:after{content:none}
#swv-tests-shell select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23596b74' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px}


#swv-tests-shell /* Tests is a shared destination; the two subjects have equal prominence. */
.tests-home-hero{padding:56px 0 62px;background:var(--ivory)}
#swv-tests-shell .tests-home-hero .eyebrow{font-size:13px;color:#65756a;margin-bottom:14px}
#swv-tests-shell .tests-home-hero h1{font-size:clamp(36px,4.4vw,58px);margin-bottom:18px}
#swv-tests-shell .tests-home-hero>.container>p{font-size:18px;max-width:750px;margin-bottom:30px}
#swv-tests-shell .test-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}
#swv-tests-shell .test-choice{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:34px;border-radius:14px;border:1px solid;min-height:330px;transition:box-shadow .18s,transform .18s}
#swv-tests-shell .test-choice.vocabulary{background:#e8eff1;border-color:#b7ccd3;color:#183248}
#swv-tests-shell .test-choice.grammar{background:#f0e5d5;border-color:#c9b393;color:#533c2d}
#swv-tests-shell .test-choice:hover{transform:translateY(-3px);box-shadow:0 12px 25px #263b4412}
#swv-tests-shell .test-choice>svg{width:42px;height:42px;margin-bottom:26px}
#swv-tests-shell .choice-levels{position:absolute;right:30px;top:38px;font-size:14px;font-weight:700}
#swv-tests-shell .test-choice h2{font-size:37px;margin-bottom:15px}
#swv-tests-shell .test-choice p{color:inherit;font-size:17px;line-height:1.65;margin-bottom:24px}
#swv-tests-shell .choice-cta{margin-top:auto;padding:13px 20px;border-radius:7px;min-height:46px;color:white;font-size:15px;font-weight:700}
#swv-tests-shell .vocabulary .choice-cta{background:#183248}
#swv-tests-shell .grammar .choice-cta{background:#654b3b}
#swv-tests-shell .tests-home-hero>.container>.tests-home-note{margin:26px 0 0;font-size:16px;color:#596b65}
#swv-tests-shell .test-type-bar{position:sticky;top:0;z-index:40;padding:12px 0 16px;background:#fffefa;border-bottom:1px solid #dcd8cf;box-shadow:0 3px 12px #253a4508}
#swv-tests-shell .test-location{display:flex;gap:10px;align-items:center;margin-bottom:9px;font-size:14px;line-height:1.4;color:#657069}
#swv-tests-shell .test-location>a{text-decoration:underline;color:#425a65}
#swv-tests-shell .test-location>span:last-child{color:#394f58;font-weight:700}
#swv-tests-shell .test-switch{display:grid;grid-template-columns:1fr 1fr;gap:14px}
#swv-tests-shell .test-switch-option{position:relative;display:flex;gap:13px;align-items:center;min-height:78px;border:2px solid;border-radius:9px;padding:13px 18px;transition:background .15s}
#swv-tests-shell .test-switch-option>svg{width:32px;height:32px;flex-shrink:0}
#swv-tests-shell .test-switch-option strong{display:block;font-size:21px;line-height:1.25}
#swv-tests-shell .test-switch-option small{display:block;font-size:14px;margin-top:4px;line-height:1.3}
#swv-tests-shell .test-switch-option.vocabulary{border-color:#afc5cd;background:#edf2f4;color:#183248}
#swv-tests-shell .test-switch-option.grammar{border-color:#ccb596;background:#f7efe3;color:#654b3b}
#swv-tests-shell .test-switch-option.vocabulary:hover{background:#dfebee}
#swv-tests-shell .test-switch-option.grammar:hover{background:#eadcc8}
#swv-tests-shell .test-switch-option.vocabulary[aria-current=page]{border-color:#183248;background:#183248;color:white}
#swv-tests-shell .test-switch-option.grammar[aria-current=page]{border-color:#654b3b;background:#654b3b;color:white}
#swv-tests-shell .selected-label{margin-left:auto;font-size:13px;font-weight:700;padding:4px 9px;background:#ffffff24;border:1px solid #ffffff70;border-radius:4px;line-height:1.3}
#swv-tests-shell .test-switch-option[aria-current=page] small{color:#ffffffdb}
#swv-tests-shell .video-column{top:152px}
#swv-tests-shell .answer-panel{scroll-margin-top:150px}
#swv-tests-shell .result-view .answer-panel{scroll-margin-top:150px}
#swv-tests-shell .nav-tests{position:relative}
#swv-tests-shell .tests-menu-trigger{display:flex;align-items:center;gap:2px}
#swv-tests-shell .nav-links .tests-menu-trigger>a{font-weight:750}
#swv-tests-shell .nav-links .tests-menu-trigger button{padding:0;display:inline-flex;justify-content:center;align-items:center;min-width:32px;height:44px;color:#455a64;border-radius:5px}
#swv-tests-shell .tests-menu-trigger button:hover,#swv-tests-shell .tests-menu-trigger button[aria-expanded=true]{background:#eee7d9}
#swv-tests-shell .tests-menu-trigger button[aria-expanded=true] svg{transform:rotate(180deg)}
#swv-tests-shell .tests-submenu{display:none;position:absolute;left:-18px;top:calc(100% - 1px);z-index:120;width:265px;list-style:none;padding:8px;margin:0;border:1px solid #d5cbb9;border-radius:10px;background:#fffefa;box-shadow:0 14px 34px #18324820}
#swv-tests-shell .nav-tests.is-open>.tests-submenu{display:block}
#swv-tests-shell .nav-links .tests-submenu a{display:block;padding:12px 14px;font-size:16px;line-height:1.3;border-radius:5px;color:#253a45;font-weight:700;white-space:normal}
#swv-tests-shell .tests-submenu a span{display:block;margin-top:4px;font-size:13px;font-weight:400;color:#65747c}
#swv-tests-shell .nav-links .tests-submenu a:hover,#swv-tests-shell .nav-links .tests-submenu a:focus-visible{background:#f1eadd}
#swv-tests-shell .tests-submenu li+li{border-top:1px solid #eee9df}
@media(max-width:960px){#swv-tests-shell .nav-links .nav-tests{flex-basis:100%}
#swv-tests-shell .tests-menu-trigger{justify-content:space-between}
#swv-tests-shell .nav-links .tests-menu-trigger button{width:46px;border:1px solid #ddd4c2}
#swv-tests-shell .tests-submenu{position:static;width:100%;box-shadow:none;margin:0 0 8px}
#swv-tests-shell .test-switch-option strong{font-size:19px}
#swv-tests-shell .test-switch-option>svg{display:none}
#swv-tests-shell .test-choice{padding:28px}
#swv-tests-shell .test-choice h2{font-size:33px}}
@media(max-width:700px){#swv-tests-shell .tests-home-hero{padding:30px 0 36px}
#swv-tests-shell .tests-home-hero h1{font-size:36px}
#swv-tests-shell .tests-home-hero>.container>p{font-size:16px;margin-bottom:24px}
#swv-tests-shell .test-choice-grid{gap:15px}
#swv-tests-shell .test-choice{padding:18px;min-height:294px;border-radius:10px}
#swv-tests-shell .test-choice>svg{width:32px;height:32px;margin-bottom:16px}
#swv-tests-shell .choice-levels{top:25px;right:15px;font-size:12px}
#swv-tests-shell .test-choice h2{font-size:27px;line-height:1.12}
#swv-tests-shell .test-choice p{font-size:15px;line-height:1.5;margin-bottom:20px}
#swv-tests-shell .test-choice p br{display:none}
#swv-tests-shell .choice-cta{padding:10px 12px;font-size:14px;line-height:1.3;width:100%}
#swv-tests-shell .test-type-bar{padding:9px 0 10px}
#swv-tests-shell .test-location{font-size:13px;margin-bottom:7px}
#swv-tests-shell .test-switch{gap:9px}
#swv-tests-shell .test-switch-option{padding:11px 12px;min-height:79px;align-items:flex-start}
#swv-tests-shell .test-switch-option strong{font-size:17px;line-height:1.2}
#swv-tests-shell .test-switch-option small{font-size:12px;line-height:1.25;margin-top:5px}
#swv-tests-shell .selected-label{position:absolute;right:7px;bottom:7px;font-size:10px;padding:2px 5px;border:0}
#swv-tests-shell .test-switch-option[aria-current=page]{padding-bottom:25px}
#swv-tests-shell .test-switch-option[aria-current=page] small{display:none}
#swv-tests-shell .video-column{top:125px}
#swv-tests-shell .answer-panel{scroll-margin-top:calc(34svh + 193px)}
#swv-tests-shell .result-view .answer-panel{scroll-margin-top:139px}}
@media(max-width:420px){#swv-tests-shell .test-choice-grid{gap:10px}
#swv-tests-shell .test-choice{padding:16px 13px}
#swv-tests-shell .test-choice h2{font-size:25px}
#swv-tests-shell .test-choice p{font-size:14px}
#swv-tests-shell .choice-levels{font-size:11px;right:12px}
#swv-tests-shell .test-choice>svg{width:29px;height:29px}
#swv-tests-shell .choice-cta{padding:10px;font-size:13px}}
@media(max-width:700px){#swv-tests-shell .test-choice p{font-size:16px}
#swv-tests-shell .choice-cta{font-size:14px}}
#swv-tests-shell{scroll-padding-top:0}
#swv-tests-shell .practice-pack,#swv-tests-shell #review-heading{scroll-margin-top:150px}
@media(max-width:700px){#swv-tests-shell .answer-panel{scroll-margin-top:calc(min((100vw - 32px) * .5625,34svh) + 189px)}
#swv-tests-shell .result-view .answer-panel{scroll-margin-top:139px}
#swv-tests-shell .practice-pack,#swv-tests-shell #review-heading{scroll-margin-top:139px}}


#swv-tests-shell [hidden]{display:none!important}
#swv-tests-shell .video-pending{border:1px solid #d9cbb8;border-radius:12px;overflow:hidden;background:#f1e8da}
#swv-tests-shell .video-pending img{display:block;width:100%;height:auto}
#swv-tests-shell .video-pending>div{padding:22px}
#swv-tests-shell .video-pending strong{font-size:23px}
#swv-tests-shell .video-pending p{font-size:16px;margin:10px 0 18px}
#swv-tests-shell .video-column{position:static}
#swv-tests-shell .answer-panel{scroll-margin-top:150px}
@media(max-width:700px){#swv-tests-shell .answer-panel{scroll-margin-top:139px}}

/* YouTube players and controls, scoped to the grammar assessment. */
#swv-tests-shell .player-frame{width:100%;aspect-ratio:16/9;min-height:200px;background:#38291f;border-radius:12px;overflow:hidden;scroll-margin-top:155px}
#swv-tests-shell .player-frame iframe{display:block;width:100%;height:100%;min-height:200px;border:0}
#swv-tests-shell .video-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0}
#swv-tests-shell .video-actions .btn{font-size:14px;padding:9px 12px}
#swv-tests-shell .video-actions a{font-size:14px;text-decoration:underline}
#swv-tests-shell .video-column{position:sticky;top:152px}
#swv-tests-shell .result-view .video-column{position:static}
@media(max-width:700px){
 #swv-tests-shell .video-column{position:static}
 #swv-tests-shell .video-actions{gap:8px}
 #swv-tests-shell #video-sync{display:block;font-size:13px}
 #swv-tests-shell .answer-panel,#swv-tests-shell .result-view .answer-panel{scroll-margin-top:145px}
}

/* Compact shared navigation and assessment heading, 1.1.1. */
body.swv-tests-area{--swv-test-sticky-top:72px}
body.swv-tests-area.admin-bar{--swv-test-sticky-top:104px}
body.swv-tests-area .announcement{display:none}
body.swv-tests-area .masthead,body.swv-tests-area.admin-bar .masthead{position:relative!important;top:auto!important;backdrop-filter:none}
body.swv-tests-area .masthead .nav-inner{min-height:72px}
body.swv-tests-area .swv-test-tabs,#swv-tests-shell .swv-test-tabs{padding:10px 0;background:#fffefa;top:0;position:sticky;z-index:40}
body.swv-tests-area.admin-bar .swv-test-tabs,body.admin-bar #swv-tests-shell .swv-test-tabs{top:32px}
.swv-type-nav{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.swv-type-tab{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;border:2px solid;border-radius:8px;padding:8px 16px;font-size:17px;line-height:1.2;text-decoration:none}
.swv-type-tab svg{width:22px;height:22px;flex:none}
.swv-type-tab strong{font-family:inherit;font-weight:700;font-size:17px;line-height:1.2}
.swv-type-tab.vocabulary{border-color:#afc5cd;background:#edf2f4;color:#183248}
.swv-type-tab.grammar{border-color:#ccb596;background:#f7efe3;color:#654b3b}
.swv-type-tab.vocabulary[aria-current=page]{background:#183248;border-color:#183248;color:#fff}
.swv-type-tab.grammar[aria-current=page]{background:#654b3b;border-color:#654b3b;color:#fff}
.swv-type-tab:hover{filter:brightness(.97)}
.swv-type-state{font-weight:700;font-size:16px}
.swv-type-tab:focus-visible,.swv-assessment-subscribe:focus-visible{outline:3px solid #ba914b;outline-offset:3px}
body.swv-tests-area main.swv-vc-detail,#swv-tests-shell .detail{padding:18px 0 42px}
.swv-assessment-header{margin:0 0 18px;padding:0;border:0;background:none}
.swv-assessment-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 8px;color:#65747c;font-size:13px;line-height:1.3}
body.swv-tests-area .swv-assessment-meta .swv-vc-back,#swv-tests-shell .swv-assessment-meta .back-link{padding:0;margin:0;font-size:13px;line-height:1.3;min-height:24px;display:inline-flex;align-items:center}
body.swv-tests-area .swv-assessment-meta .card-meta{display:flex;align-items:center;gap:9px;margin:0}
.swv-assessment-title-row{display:flex;justify-content:space-between;align-items:center;gap:20px}
body.swv-tests-area .swv-assessment-header h1,#swv-tests-shell .swv-assessment-header h1{font-size:clamp(27px,2.4vw,34px);line-height:1.12;letter-spacing:-.025em;max-width:none;margin:0;min-width:0}
body.swv-tests-area a.swv-assessment-subscribe,#swv-tests-shell a.swv-assessment-subscribe{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;flex-shrink:0;border:1px solid #d5c9b8;border-radius:8px;padding:9px 12px;color:#243b48;background:#fffaf1;font:700 13px/1.2 Arial,sans-serif;text-decoration:none;white-space:nowrap}
.swv-assessment-subscribe svg{width:22px;height:17px;flex:none}
body.swv-tests-area a.swv-assessment-subscribe:hover{border-color:#ba914b;background:#f5ecd9}
body.swv-tests-area main.swv-vc-detail [class$="-workspace"]{margin-top:0;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:24px}
body.swv-tests-area main.swv-vc-detail .swv-vc-source{display:flex;align-items:center;gap:16px;margin:10px 0;font-size:13px;min-height:44px}
body.swv-tests-area main.swv-vc-detail .swv-vc-lesson-links{display:inline-flex;margin:0;gap:8px}
body.swv-tests-area main.swv-vc-detail .swv-vc-intro{font-size:14px;line-height:1.5;margin:12px 0;max-width:100%}
.swv-screen-reader{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){.swv-assessment-title-row{gap:12px}.swv-assessment-subscribe span:first-of-type{max-width:150px;white-space:normal}}
@media(max-width:850px){
 body.swv-tests-area .masthead .nav-inner{min-height:64px}
 body.swv-tests-area main.swv-vc-detail [class$="-workspace"]{grid-template-columns:1fr;gap:12px;margin-top:0}
 .swv-assessment-title-row{flex-wrap:wrap;gap:10px}
 body.swv-tests-area .swv-assessment-header h1,#swv-tests-shell .swv-assessment-header h1{font-size:28px}
 .swv-assessment-meta{gap:8px;font-size:12px;margin-bottom:8px}
 .swv-assessment-header{margin-bottom:14px}
 body.swv-tests-area main.swv-vc-detail .swv-vc-intro{display:none}
 body.swv-tests-area main.swv-vc-detail .swv-vc-source{gap:14px;margin:6px 0;font-size:12px}
}
@media(max-width:782px){body.swv-tests-area.admin-bar .swv-test-tabs,body.admin-bar #swv-tests-shell .swv-test-tabs{top:46px}}
@media(max-width:600px){
 body.swv-tests-area.admin-bar .swv-test-tabs,body.admin-bar #swv-tests-shell .swv-test-tabs{top:0}
 body.swv-tests-area .swv-test-tabs,#swv-tests-shell .swv-test-tabs{padding:8px 0}
 .swv-type-nav{gap:8px}
 .swv-type-tab{padding:8px 7px;gap:6px;font-size:15px;min-height:44px}
 .swv-type-tab svg{display:none}
 .swv-type-tab strong{font-size:15px}
 .swv-type-state{font-size:13px}
 body.swv-tests-area main.swv-vc-detail,#swv-tests-shell .detail{padding-top:14px}
 body.swv-tests-area .swv-assessment-meta .swv-vc-back,#swv-tests-shell .swv-assessment-meta .back-link{font-size:12px}
}

/* Grammar adopts the vocabulary answer-sheet structure. */
#swv-tests-shell .page-title{padding:18px 0 16px}
#swv-tests-shell .page-title h1{font-size:34px;margin-bottom:5px}
#swv-tests-shell .page-title p{font-size:15px}
#swv-tests-shell .library{padding-top:18px}
#swv-tests-shell .formats{margin-bottom:16px}
#swv-tests-shell .filters{grid-template-columns:180px minmax(200px,1fr) auto auto;gap:12px;padding-bottom:18px;margin-bottom:20px}
#swv-tests-shell .filters #reset-filters{padding:10px 8px;white-space:nowrap}
#swv-tests-shell .lesson{grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:24px;margin:0 0 30px}
#swv-tests-shell .video-column{position:sticky;top:var(--swv-test-sticky-top,72px);min-width:0}
#swv-tests-shell .result-view .video-column{position:static}
#swv-tests-shell .video-actions{margin:10px 0;gap:16px;min-height:44px;flex-direction:row-reverse;justify-content:flex-end}
#swv-tests-shell .video-actions a{font-size:13px}
#swv-tests-shell .video-actions .btn{padding:9px 15px;font-size:13px}
#swv-tests-shell .detail-intro{font-size:14px;line-height:1.5;margin:12px 0;max-width:100%}
#swv-tests-shell .video-note{font-size:12px;margin:10px 0}
#swv-tests-shell .answer-panel{background:#fffdf8;border:1px solid #ded8cc;border-top:4px solid #ba914b;border-radius:14px;box-shadow:0 8px 30px #172b4210;padding:23px;overflow:visible;scroll-margin-top:calc(var(--swv-test-sticky-top,72px) + 12px)}
#swv-tests-shell .panel-top{background:none;border:0;padding:0}
#swv-tests-shell .panel-topline{margin:0 0 12px;font-size:12px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;gap:12px}
#swv-tests-shell .sheet-badge{background:#654b3b;color:white;padding:5px 10px;border-radius:6px;letter-spacing:.02em;white-space:nowrap}
#swv-tests-shell .sheet-progress{display:flex;justify-content:space-between;gap:8px;font-size:13px}
#swv-tests-shell .progress-copy{margin:0;font-size:13px;color:inherit}
#swv-tests-shell .answer-progress{height:6px;background:#ebe5db;margin:8px 0 15px}
#swv-tests-shell .answer-progress span{background:#ba914b}
#swv-tests-shell .sheet-sync{font-size:12px;color:#53616d;margin:8px 0;line-height:1.5}
#swv-tests-shell .panel-content{padding:0}
#swv-tests-shell .question-group{color:#53616d;font-size:13px;line-height:1.4;margin:12px 0 0}
#swv-tests-shell #question-title{font-size:25px;line-height:1.2;margin:12px 0 10px;color:#263b44}
#swv-tests-shell #question-title small{font-size:16px;color:#53616d;font-weight:400}
#swv-tests-shell .answer-instruction{font-size:15px;line-height:1.5;margin:8px 0}
#swv-tests-shell .choices{display:grid;grid-template-columns:repeat(var(--choice-count,4),1fr);gap:9px;margin:18px 0 10px}
#swv-tests-shell .choice{display:block;text-align:center;font-family:inherit;font-weight:750;font-size:24px;line-height:1.3;min-height:58px;border:1px solid #ded8cc;border-radius:8px;padding:12px 4px;background:#fff;color:#654b3b}
#swv-tests-shell .choice[aria-pressed=true]{background:#654b3b;border:1px solid #654b3b;padding:12px 4px;color:#fff}
#swv-tests-shell .sheet-full{display:block;width:100%;min-height:44px;border:1px solid #ded8cc;border-radius:8px;padding:10px 14px;background:#fff;color:#654b3b;font-size:15px;cursor:pointer;text-align:center}
#swv-tests-shell .unknown[aria-pressed=true]{background:#654b3b;color:#fff;padding:10px 14px}
#swv-tests-shell .answer-feedback{min-height:24px;margin:8px 0;font-size:13px;line-height:1.5;color:#245746}
#swv-tests-shell .question-reference{margin:0 0 12px;font-size:13px}
#swv-tests-shell .question-reference summary{cursor:pointer;color:#65716e;font-size:12px;text-decoration:underline;min-height:30px;display:flex;align-items:center}
#swv-tests-shell .question-reference ol{padding-left:25px;font-size:14px;line-height:1.6}
#swv-tests-shell .question-reference .question-prompt{font-size:19px;min-height:0;margin:8px 0}
#swv-tests-shell .panel-bottom{padding:14px 0 0;margin-top:16px;border-top:1px solid #ded8cc}
#swv-tests-shell .panel-bottom>label{display:block;font-size:13px;font-weight:650;margin:8px 0}
#swv-tests-shell .question-nav{display:grid;grid-template-columns:minmax(0,1fr) 44px 44px;gap:8px;margin:0}
#swv-tests-shell .question-nav select{max-width:none;min-height:44px;font-size:16px;padding:10px}
#swv-tests-shell .step-button{min-height:44px;border:1px solid #ded8cc;border-radius:8px;background:white;color:#654b3b;cursor:pointer;font-size:18px}
#swv-tests-shell .step-button:disabled{opacity:.4;cursor:default}
#swv-tests-shell .sheet-actions{display:flex;gap:8px;margin:14px 0}
#swv-tests-shell .sheet-actions>*{flex:1;font-size:14px;padding:10px;min-height:44px}
#swv-tests-shell .panel-bottom>#reset-test{font-size:13px;min-height:36px;padding:6px;margin-top:4px}
#swv-tests-shell .storage-status{font-size:12px;margin-top:8px}
#swv-tests-shell .question-map{padding:12px 0 0;margin-top:14px}
#swv-tests-shell .question-map summary{font-size:13px}
#swv-tests-shell .result-summary{margin:-23px -23px 0;border-radius:10px 10px 0 0}
#swv-tests-shell .result-content{padding:18px 0 0}
#swv-tests-shell .result-view .answer-panel{scroll-margin-top:calc(var(--swv-test-sticky-top,72px) + 12px)}
@media(max-width:850px){
 #swv-tests-shell .lesson{display:grid;grid-template-columns:1fr;gap:12px}
 #swv-tests-shell .answer-panel{padding:18px;margin-top:0}
 #swv-tests-shell .video-column{position:static}
 #swv-tests-shell .video-column>details,#swv-tests-shell .detail-intro,#swv-tests-shell .video-note{display:none}
 #swv-tests-shell .video-actions{margin:6px 0;gap:14px}
 #swv-tests-shell .result-summary{margin:-18px -18px 0}
}
@media(max-width:850px) and (min-height:600px){
 #swv-tests-shell .video-column{position:sticky;top:calc(var(--swv-test-sticky-top,72px) - 8px);z-index:10;background:#fffdf8;padding-bottom:4px;box-shadow:0 5px 10px #122b4212}
 #swv-tests-shell .result-view .video-column{position:static}
 #swv-tests-shell .answer-panel{scroll-margin-top:calc(max(200px,(100vw - 32px)*.5625) + 144px)}
 #swv-tests-shell .result-view .answer-panel{scroll-margin-top:80px}
}
@media(max-width:600px){
 #swv-tests-shell .filters{grid-template-columns:minmax(0,1fr) auto auto;gap:10px}
 #swv-tests-shell .filters .search{grid-column:1/-1;grid-row:1}
 #swv-tests-shell .filters label{font-size:12px}
 #swv-tests-shell .filters #reset-filters{font-size:12px;padding:10px 0}
 #swv-tests-shell .filters .btn{padding:12px}
 #swv-tests-shell .video-column{top:60px}
 #swv-tests-shell .panel-topline{font-size:11px;letter-spacing:.04em}
 #swv-tests-shell #question-title{font-size:23px}
 #swv-tests-shell .choices{margin-top:12px}
}

/* Immediate-answer feedback: keep the shared controls and YouTube invitations. */
.grammar .immediate-feedback{margin:16px 0;padding:14px 16px;background:#f5f0e7;border-left:3px solid #bb9450;border-radius:6px;color:#283f4a;font-size:16px;line-height:1.5}
.grammar .immediate-feedback p{margin:5px 0;font-size:16px;line-height:1.5}
.grammar .immediate-feedback small{display:block;margin-top:8px;color:#56656b;font-size:14px}
.grammar .immediate-feedback.is-correct{border-color:#327050;background:#eff6f0}
.grammar .choice:disabled,.grammar .unknown:disabled{cursor:default;opacity:1}
.grammar .choice.revealed-correct{background:#e6f2e7;color:#205435;border:2px solid #327050}
.grammar .choice.revealed-wrong{background:#f8e8e3;color:#843f31;border:2px solid #a45d4a}
