body.timed-test{background:#f4f6f9}.timed-test .app{width:min(1180px,calc(100% - 28px));max-width:none;padding:14px 0 24px}.timed-test .app>header{margin:2px 0 12px}.timed-test .app>header h1{font-size:23px}.timed-test .app>header p{margin:2px 0}.timed-test .app>.panel{padding:16px;margin-bottom:10px;border-radius:12px}.timed-test #typingArea{min-height:56vh;height:56vh;resize:vertical;font-size:clamp(22px,3vw,32px);line-height:1.7}.timed-test #clearButton{opacity:.55}.test-session{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px 16px}.test-session h2{grid-column:1/-1;margin:0;color:#102b50}.test-session p{margin:0}.test-session audio{width:100%;grid-column:1/-1}.test-session #test-clock{font-weight:800;color:#102b50}.test-session #test-status{color:#53657b}.test-session #submit-test{grid-column:1/-1;max-width:260px;margin:2px auto 0}@media(max-width:560px){.timed-test .app{width:calc(100% - 16px);padding-top:8px}.timed-test .app>.panel{padding:12px}.timed-test #typingArea{height:58vh;min-height:48vh;padding:12px;font-size:22px}.test-session{grid-template-columns:1fr}.test-session>*{grid-column:1!important}.test-session #submit-test{max-width:none;width:100%}}
.test-result{margin-top:18px;padding:16px;border:1px solid #dbe5ef;border-radius:12px;background:#f7fafc;color:#17324d}.test-result h3{margin:0 0 8px}.test-result p{line-height:1.6;overflow-wrap:anywhere}
.practice-app{width:min(1100px,calc(100% - 32px));max-width:none;margin:0 auto;padding:22px 0 50px}.practice-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 18px}.practice-heading h1,.practice-result h1{font-size:clamp(28px,4vw,40px)}.practice-heading p:not(.eyebrow){margin:6px 0 0;color:#607086}.practice-heading .primary-button{flex:0 0 auto;min-width:120px}.practice-options{padding:22px}.practice-setting-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.practice-setting-grid label,.reference-upload>label,.reference-workspace>label{display:grid;gap:7px;color:#334155;font-size:14px;font-weight:750}.practice-setting-grid select,.practice-setting-grid input,.reference-upload input[type=file]{width:100%;min-height:44px;padding:9px 12px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#172033;font:inherit}.practice-setting-grid small{color:#607086;font-size:12px;font-weight:500}.reference-upload{margin-top:20px;padding-top:18px;border-top:1px solid #e3e9f1}.reference-upload input[type=file]{margin-top:7px}.form-message,.practice-message{min-height:1.4em;color:#53657b;font-size:13px}.reference-workspace{display:grid;gap:10px;margin-top:18px}.reference-preview{min-width:0}.reference-preview h2,.highlighted-reference h3,.result-document h3{margin:0 0 8px;color:#102b50;font-size:16px}.reference-preview iframe,.result-document iframe{display:block;width:100%;height:min(42vh,360px);border:1px solid #d7e0ea;border-radius:9px;background:#f8fafc}.reference-workspace>label{margin-top:8px}.reference-workspace textarea{width:100%;min-height:180px;padding:14px;border:1px solid #cbd5e1;border-radius:10px;background:white;color:#172033;font:22px/1.75 system-ui,sans-serif;resize:vertical}.practice-message{color:#9a3c25}.practice-session{display:flex;min-height:calc(100svh - 170px);flex-direction:column;gap:12px}.practice-session-bar{position:sticky;top:84px;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #e3e9f1;border-radius:12px;background:#fffffff2;backdrop-filter:blur(8px)}.practice-session-bar>span{color:#53657b;font-size:14px;font-weight:700}.practice-session-bar>strong{color:#102b50;font-size:clamp(20px,3vw,28px);font-variant-numeric:tabular-nums}.practice-session-bar button{min-width:112px}.practice-session #typingArea{display:block;width:100%;height:calc(100svh - 245px);min-height:50vh;flex:1;padding:20px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#172033;font:clamp(23px,3vw,34px)/1.75 system-ui,"Noto Sans Devanagari",sans-serif;outline:none;resize:none;overscroll-behavior:contain}.practice-session #typingArea:focus{border-color:#2563eb}.practice-result{padding:10px 0 30px}.result-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.result-metric{padding:16px;border:1px solid #e3e9f1;border-radius:12px;background:#fff}.result-metric span,.result-metric strong{display:block}.result-metric span{color:#607086;font-size:13px}.result-metric strong{margin-top:5px;color:#102b50;font-size:24px}.analysis-gate{margin:18px 0;padding:16px;border-radius:12px;background:#fff4e9;color:#783f13;font-weight:700}.analysis-gate a{display:inline-block;margin-left:5px;color:#17477b}.analysis-result,.highlighted-reference{margin-top:22px;padding:18px;border:1px solid #e3e9f1;border-radius:12px;background:#fff}.analysis-result h2{margin:0 0 8px;color:#102b50}.analysis-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.analysis-columns section{padding:12px;border-radius:9px;background:#f7f9fc}.analysis-columns h3{margin:0 0 8px;color:#102b50;font-size:15px}.analysis-columns ul{margin:0;padding-left:20px;overflow-wrap:anywhere}.highlighted-reference>p{font-size:12px}.highlighted-reference>div{max-height:50vh;overflow:auto;padding:16px;border-radius:9px;background:#fbfcfe;white-space:pre-wrap;overflow-wrap:anywhere;font-size:17px;line-height:1.9}.highlight-wrong{background:#ffd3d3;color:#8e1d1d;text-decoration:underline;text-decoration-color:#c52b2b;text-decoration-thickness:2px}.highlight-missing{background:#fff0a8;color:#634d00}.result-document{margin-top:18px}.result-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.practice-result[hidden],.practice-session[hidden],.practice-setup[hidden]{display:none!important}.timed-test .practice-app{width:min(1320px,calc(100% - 24px));padding:12px 0 18px}.timed-test .practice-session{min-height:calc(100svh - 112px)}.timed-test .practice-session-bar{top:84px}.timed-test .practice-session #typingArea{height:calc(100svh - 178px);min-height:60vh}.practice-topbar .brand{justify-self:center}.practice-topbar .user-menu-trigger{margin:0}.practice-topbar .top-actions{min-width:112px}.practice-topbar .guest-auth-links{gap:7px}.practice-topbar .guest-auth-links a{font-size:12px}.practice-topbar .guest-auth-links a:last-child{padding:3px 7px}.practice-topbar{position:sticky;top:0}
.practice-session #typing-status{min-height:1em;margin:0;padding:0 4px;color:#925022;font-size:12px}
.practice-topbar{z-index:20;background:#fff}
.practice-heading .primary-button,.result-actions .primary-button,.result-actions .secondary-button{width:auto!important}
.practice-heading{align-items:center}.practice-heading h1{margin:0}
.duration-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.55fr);gap:14px;align-items:end}
.duration-row label{display:grid;gap:8px;color:#334155;font-size:14px;font-weight:750}
.duration-row select,.duration-row input{width:100%;min-height:48px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#172033;font:inherit}
.file-picker{position:relative;display:flex;min-height:58px;align-items:center;justify-content:center;margin-top:9px;padding:13px 16px;overflow:hidden;border:2px dashed #7590ad;border-radius:12px;background:#f3f7fc;color:#102b50;font-weight:800;text-align:center;cursor:pointer;touch-action:manipulation}
.file-picker:active{background:#e5eef8}.file-picker input[type=file]{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer}
.reference-label{display:block;color:#334155;font-weight:750}.reference-label small{color:#607086;font-weight:500}
.reference-review{display:grid;gap:14px}.reference-review[hidden]{display:none!important}.reference-review-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
.reference-review-grid>div>label{display:block;margin:0 0 8px;color:#334155;font-weight:750}
.reference-review-grid textarea{width:100%;height:min(56vh,650px);min-height:260px;padding:14px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#172033;font:clamp(19px,2.3vw,25px)/1.8 system-ui,"Noto Sans Devanagari",sans-serif;resize:vertical}
.reference-review-grid textarea:focus{outline:2px solid #2563eb;outline-offset:1px}.reference-review>.primary-button{justify-self:end;width:auto!important;min-width:140px}
.practice-session-bar>span:first-child{font-size:13px}.practice-session-bar>span:nth-of-type(2){margin-left:auto}
.practice-session-bar button{width:auto!important}.timed-test .practice-topbar{position:sticky;top:0}
.timed-test .practice-app{width:calc(100% - 20px);padding:8px 0 10px}.timed-test .practice-session{min-height:calc(100svh - 92px);gap:6px}
.timed-test .practice-session-bar{top:76px;min-height:58px}.timed-test .practice-session #typingArea{height:calc(100svh - 166px);min-height:65vh;flex:1}
.result-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.result-metric strong{overflow-wrap:anywhere}
.result-document iframe{height:min(62vh,700px)}
@media(max-width:700px){.duration-row{grid-template-columns:1fr}.reference-review-grid{grid-template-columns:1fr}.reference-review-grid textarea{height:38vh;min-height:230px}.practice-heading{align-items:center}.practice-heading .primary-button{min-width:100px}.result-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.practice-app{padding-top:12px}.duration-row{gap:12px}.file-picker{min-height:64px;font-size:16px}.practice-heading .primary-button{width:auto!important}.practice-session-bar{gap:7px}.practice-session-bar>span:first-child{max-width:27%;font-size:11px}.practice-session-bar>span:nth-of-type(2){font-size:11px}.timed-test .practice-app{width:calc(100% - 10px)}.timed-test .practice-session{min-height:calc(100svh - 84px)}.timed-test .practice-session-bar{top:76px;padding:7px}.timed-test .practice-session #typingArea{height:calc(100svh - 150px);min-height:60vh;padding:12px}.reference-preview iframe{height:34vh}.practice-result{padding-top:6px}}
@media(max-width:700px){.practice-app{width:calc(100% - 22px);padding-top:14px}.practice-setting-grid{grid-template-columns:1fr 1fr}.practice-setting-grid label:first-child{grid-column:1/-1}.practice-session{min-height:calc(100svh - 150px)}.practice-session-bar{top:80px}.practice-session #typingArea{height:calc(100svh - 230px);min-height:52vh;padding:14px;font-size:23px}.timed-test .practice-session-bar{top:80px}.timed-test .practice-session #typingArea{height:calc(100svh - 164px);min-height:58vh}.result-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.practice-topbar{height:76px;grid-template-columns:42px 1fr 94px;padding:0 10px}.practice-topbar .user-menu-trigger{width:36px;height:36px;margin:0}.practice-topbar .brand{gap:6px;font-size:15px}.practice-topbar .brand img{width:42px;height:42px}.practice-topbar .top-actions{min-width:0;gap:0}.practice-topbar .icon-button{width:36px;height:34px}.practice-topbar .guest-auth-links{gap:7px}.practice-topbar .guest-auth-links a{font-size:11px}.practice-app{width:calc(100% - 18px);padding-top:12px}.practice-heading{align-items:flex-end;gap:10px}.practice-heading h1{font-size:28px}.practice-heading p:not(.eyebrow){font-size:13px}.practice-heading .primary-button{min-width:82px;padding:9px 12px}.practice-options{padding:14px}.practice-setting-grid{grid-template-columns:1fr}.practice-setting-grid label:first-child{grid-column:auto}.reference-workspace textarea{min-height:155px;font-size:19px}.practice-session-bar{top:76px;padding:8px}.practice-session-bar>span{max-width:32%;font-size:12px}.practice-session-bar button{min-width:82px;padding:8px 11px}.practice-session #typingArea{height:calc(100svh - 212px);min-height:58vh;padding:12px;font-size:22px}.timed-test .practice-app{width:calc(100% - 12px);padding-top:7px}.timed-test .practice-session{min-height:calc(100svh - 90px)}.timed-test .practice-session-bar{top:76px}.timed-test .practice-session #typingArea{height:calc(100svh - 150px);min-height:60vh}.result-metrics{gap:8px}.result-metric{padding:12px}.result-metric strong{font-size:20px}.analysis-result,.highlighted-reference{padding:13px}.analysis-columns{grid-template-columns:1fr}.reference-preview iframe,.result-document iframe{height:32vh}}
#custom-duration-wrap[hidden],#manual-check[hidden]{display:none!important}

/* Leave one empty text line below the caret as practice input scrolls. */
.practice-session #typingArea{padding-bottom:calc(1.75em + 20px)}
.file-picker{display:grid;gap:10px;justify-items:stretch;cursor:default}
#referenceFile{position:static;inset:auto;width:100%;height:auto;min-height:48px;margin:0!important;padding:6px;opacity:1;border:1px solid #bdcbd9;border-radius:8px;background:#fff;color:#26384d;cursor:pointer;touch-action:manipulation}
.file-picker input[type=file]::file-selector-button{min-height:36px;margin-right:10px;padding:7px 12px;border:0;border-radius:7px;background:#17375b;color:#fff;font:600 14px system-ui,sans-serif}
.manual-check{margin-top:20px;padding:18px;border:1px solid #e3e9f1;border-radius:12px;background:#fff}
.manual-check h2{margin:0 0 8px;color:#102b50}.manual-check>p{color:#53657b;line-height:1.55}
.manual-check>label,.character-search label{display:grid;gap:7px;color:#334155;font-size:14px;font-weight:750}
.manual-check textarea{display:block;width:100%;min-height:34vh;margin-top:7px;padding:14px;border:1px solid #cbd5e1;border-radius:9px;background:#fbfcfe;color:#172033;font:20px/1.75 system-ui,"Noto Sans Devanagari",sans-serif;resize:vertical}
.character-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-top:14px}
.character-search input{width:100%;min-height:44px;padding:9px 11px;border:1px solid #cbd5e1;border-radius:8px;font:inherit}
.character-search button{width:auto!important;min-width:92px;margin:0}
#character-count-result{min-height:1.5em;margin-bottom:0;color:#102b50;font-weight:750}
@media(max-width:560px){.file-picker{padding:12px;font-size:14px}.file-picker input[type=file]{font-size:13px}.manual-check{padding:13px}.manual-check textarea{min-height:30vh;font-size:18px}.character-search{grid-template-columns:1fr}.character-search button{width:100%!important}}
.practice-layout-control{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2fr);gap:14px;align-items:end;margin-bottom:18px}.practice-layout-control label{display:grid;gap:7px;color:#334155;font-size:14px;font-weight:750}.practice-layout-control select{width:100%;min-height:46px;padding:9px 12px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#172033;font:inherit}.practice-layout-control p{min-height:1.4em;margin:0 0 8px;color:#53657b;font-size:13px}.editor-layout-note{margin:7px 0 0;color:#53657b;font-size:12px}.reference-review-grid textarea[data-layout="english"]{font-family:system-ui,Arial,sans-serif}.reference-review-grid textarea[data-layout="inscript"],.reference-review-grid textarea[data-layout="kruti"]{font-family:system-ui,"Noto Sans Devanagari","Nirmala UI",sans-serif}
@media(max-width:700px){.practice-layout-control{grid-template-columns:1fr;gap:4px}.practice-layout-control p{margin-bottom:0}}

/* Independent practice result and timed-session refinements. */
.analysis-columns section{border:1px solid #e1e7ef;background:#fff;box-shadow:0 2px 8px #102b500a}
.analysis-columns ul{display:grid;gap:7px;margin:0;padding:0;list-style:none}
.analysis-columns li{padding:9px 11px;border:1px solid #e5eaf0;border-radius:8px;background:#f8fafc;color:#26384d;font-weight:650;overflow-wrap:anywhere}
.analysis-columns li:first-child:last-child{color:#627184;font-weight:500}
.highlighted-reference>div{background:#fff;color:#111827}
.highlighted-reference mark{padding:2px 4px;border-radius:4px;color:#fff;font-weight:700;text-decoration:none}
.highlighted-reference .highlight-wrong{background:#8f1d24;color:#fff}
.highlighted-reference .highlight-missing{background:#9a6700;color:#fff}
.reference-choice{width:min(440px,calc(100% - 32px));max-width:none;padding:0;border:0;border-radius:16px;background:transparent;color:#172033;box-shadow:0 20px 60px #0b1d3440}
.reference-choice::backdrop{background:#0b1d3470;backdrop-filter:blur(2px)}
.reference-choice-card{padding:24px;border:1px solid #e1e7ef;border-radius:16px;background:#fff}
.reference-choice-card h2{margin:0;color:#102b50;font-size:21px;line-height:1.35}
.reference-choice-card p{margin:10px 0 20px;color:#5b6879;line-height:1.55}
.reference-choice-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.reference-choice-actions button{width:100%!important;margin:0}
body.timed-test{height:100vh;height:100dvh;overflow:hidden;padding:0;display:flex;flex-direction:column}
.timed-test .practice-topbar{position:relative;top:auto;z-index:2;flex:0 0 76px}
.timed-test .practice-app{width:100%;min-height:0;height:calc(100vh - 76px);height:calc(100dvh - 76px);flex:1;padding:6px 10px;overflow:hidden}
.timed-test .practice-session{height:100%;min-height:0;gap:6px}
.timed-test .practice-session-bar{position:relative;top:auto;z-index:auto;flex:0 0 auto;min-height:54px}
.timed-test .practice-session #typingArea{width:100%;height:auto;min-height:0;flex:1;padding:14px;resize:none;overflow:auto;scroll-padding-block:2.5em;overscroll-behavior:contain}
@media(max-width:520px){.timed-test .practice-topbar{flex-basis:76px}.timed-test .practice-app{height:calc(100vh - 76px);height:calc(100dvh - 76px);padding:5px 7px}.timed-test .practice-session{min-height:0}.timed-test .practice-session-bar{top:auto;min-height:50px;padding:6px}.timed-test .practice-session #typingArea{height:auto;min-height:0;flex:1;padding:11px;scroll-padding-block:2.5em}}

/* Use the visible mobile viewport so browser chrome and the on-screen keyboard
   cannot push the typing area below the device screen. */
body.timed-test{height:calc(var(--practice-visible-height,100dvh) - var(--practice-bottom-space,0px))}
.timed-test .practice-app{height:calc(var(--practice-visible-height,100dvh) - 76px - var(--practice-bottom-space,0px))}
.timed-test .practice-session #typingArea{padding-bottom:calc(1.75em + 11px)}
@media(pointer:coarse){body.timed-test{--practice-bottom-space:28px}}
.class-test-session-mode .practice-app{display:flex;flex-direction:column;gap:6px}.class-test-session-mode .test-session{flex:0 0 auto}.class-test-session-mode .practice-session{height:auto;min-height:0;flex:1}.class-test-session-mode #practice-setup,.class-test-session-mode #reference-review,.class-test-session-mode #practice-result,.class-test-session-mode .practice-session-bar,.class-test-session-mode #typing-status{display:none!important}.class-test-session-mode #practice-session{display:flex!important}.class-test-session-mode #test-layout-slot{grid-column:1/-1}.class-test-session-mode #test-layout-slot .practice-layout-control{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;border:1px solid #dce5ef;border-radius:10px;background:#f3f7fb}.class-test-session-mode #test-layout-slot label{margin:0;color:#344a63;font-size:13px;font-weight:750}.class-test-session-mode #test-layout-slot select{display:block;min-width:190px;min-height:40px;margin-top:5px;padding:8px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#172033;font:inherit}.class-test-session-mode #test-layout-slot #layoutInfo{margin:0;color:#607086;font-size:12px}.test-history-link{display:inline-flex;grid-column:1/-1;justify-self:center;margin-top:4px;padding:8px 12px;border-radius:8px;background:#fff4e9;color:#93470c;font-size:13px;font-weight:750;text-decoration:none}.test-history-link-ready{border:1px solid #f3c79e}@media(max-width:560px){.class-test-session-mode #test-layout-slot .practice-layout-control{grid-template-columns:1fr}.class-test-session-mode #test-layout-slot select{width:100%}}
.test-result-metrics{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));margin:14px 0}.test-result-columns{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-top:14px}.test-result-columns section{min-width:0}.test-result-columns ul{display:grid;gap:7px;margin:0;padding:0;list-style:none}.test-result-columns li{padding:8px 10px;border:1px solid #e5eaf0;border-radius:8px;background:#fff;overflow-wrap:anywhere}.test-reference-result{margin-top:14px;padding:14px;border:1px solid #dfe7ef;border-radius:11px;background:#fff}.test-reference-result h3{margin:0 0 8px;color:#102b50;font-size:15px}.test-reference-text{max-height:44vh;overflow:auto;padding:14px;border-radius:8px;background:#fbfcfe;white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.85}.test-reference-text mark{padding:2px 4px;border-radius:4px;color:#fff;font-weight:700}.test-reference-text .highlight-wrong{background:#8f1d24}.test-reference-text .highlight-missing{background:#9a6700}.test-completion-status{font-weight:750;color:#344a63}
body.timed-test.class-test-results{display:block;height:auto;min-height:100vh;overflow:auto}body.timed-test.class-test-results .practice-topbar{position:sticky;top:0;flex-basis:auto}body.timed-test.class-test-results .practice-app{display:block;width:min(1100px,calc(100% - 28px));height:auto;min-height:0;margin:0 auto;padding:20px 0 48px;overflow:visible}body.timed-test.class-test-results .practice-session{display:none!important}body.timed-test.class-test-results .test-session{display:grid;grid-template-columns:1fr auto;padding:20px}body.timed-test.class-test-results .test-session h2{font-size:24px}body.timed-test.class-test-results .test-result{grid-column:1/-1;padding:18px}body.timed-test.class-test-results .test-history-link{grid-column:1/-1;justify-self:start}body.timed-test.class-test-results #test-clock{font-size:15px}
@media(max-width:560px){.test-result-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.test-reference-text{max-height:48vh;padding:11px;font-size:15px}body.timed-test.class-test-results .practice-app{width:calc(100% - 16px);padding-top:12px}body.timed-test.class-test-results .test-session{grid-template-columns:1fr;padding:14px}body.timed-test.class-test-results .test-session>*{grid-column:1/-1}}
body.timed-test.class-test-session-mode.class-test-results #practice-session{display:none!important}
.class-test-tabs{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;margin:4px 0 2px;padding:6px;border:1px solid #dbe4ee;border-radius:12px;background:#f2f6fa}
.class-test-tab{display:flex;min-height:42px;align-items:center;justify-content:center;padding:8px 12px;border-radius:9px;color:#193b62;font-size:14px;font-weight:800;text-decoration:none}
.class-test-tab[aria-current="page"]{background:#173b67;color:#fff;box-shadow:0 2px 6px #173b6725}
.class-test-tabs #test-clock{min-width:122px;text-align:center;color:#173b67;font-size:15px;font-variant-numeric:tabular-nums;font-weight:850;white-space:nowrap}
.class-test-session-mode .test-session{grid-template-columns:1fr}
.class-test-session-mode .test-session h2{grid-column:1/-1}
.class-test-session-mode .test-session>p#test-details{grid-column:1/-1;color:#5b6b7d;font-size:13px}
@media(max-width:420px){.class-test-tabs{gap:4px;padding:4px}.class-test-tab{min-height:40px;padding:7px 5px;font-size:12px}.class-test-tabs #test-clock{min-width:104px;font-size:12px}}
body.timed-test.class-live-mode:not(.class-test-results) .practice-app{gap:4px;padding-top:4px;padding-bottom:4px}
body.timed-test.class-live-mode:not(.class-test-results) .test-session{grid-template-columns:1fr;gap:4px 8px;padding:7px 10px;margin:0}
body.timed-test.class-live-mode:not(.class-test-results) .test-session h2{grid-column:1/-1;margin:0;font-size:16px;line-height:1.2}
body.timed-test.class-live-mode:not(.class-test-results) .test-session>p#test-details{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
body.timed-test.class-live-mode:not(.class-test-results) .class-test-tabs{margin:0;padding:3px}
body.timed-test.class-live-mode:not(.class-test-results) .class-test-tab{min-height:38px;font-size:12px}
body.timed-test.class-live-mode:not(.class-test-results) .class-test-tabs #test-clock{font-size:13px}
body.timed-test.class-live-mode:not(.class-test-results) #test-audio{display:none!important}
body.timed-test.class-live-mode:not(.class-test-results) #test-layout-slot .practice-layout-control{grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:5px 8px}
body.timed-test.class-live-mode:not(.class-test-results) #test-layout-slot label{font-size:11px}
body.timed-test.class-live-mode:not(.class-test-results) #test-layout-slot select{min-width:130px;min-height:34px;margin-top:0;padding:5px 8px;font-size:12px}
body.timed-test.class-live-mode:not(.class-test-results) #test-layout-slot #layoutInfo{display:none}
body.timed-test.class-live-mode:not(.class-test-results) #test-status{min-height:0;font-size:11px;line-height:1.2}
body.timed-test.class-live-mode:not(.class-test-results) #submit-test{min-height:38px;padding:7px 14px;margin:0;font-size:13px}
body.timed-test.class-live-mode:not(.class-test-results) .test-history-link{display:none}
body.timed-test.class-live-waiting:not(.class-test-results) #submit-test{display:none}
body.timed-test.class-live-waiting:not(.class-test-results) #typingArea{background:#fbfcfe}
body.timed-test.class-live-waiting:not(.class-test-results) #typingArea::placeholder{color:#9aa7b7}
body.timed-test.class-live-mode.class-test-results .test-history-link{display:inline-flex}
body.timed-test.class-test-session-mode #test-layout-slot:empty{display:none!important}
.class-test-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0}
.class-test-heading h2{grid-column:auto!important;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.class-test-heading #submit-test{grid-column:auto!important;width:auto!important;min-width:82px;max-width:none!important;min-height:32px;margin:0!important;padding:5px 10px;border-radius:8px;font-size:11px;line-height:1.1}
.timer-wait-message{margin:0;padding:12px 14px;border:1px solid #f1d7be;border-radius:9px;background:#fff6ec;color:#8b4c15;font-weight:800;text-align:center}
body.timed-test.class-live-mode:not(.class-test-results) .class-test-heading h2{grid-column:auto!important}
body.timed-test.class-live-mode:not(.class-test-results) .class-test-heading #submit-test{min-height:30px}
@media(max-width:520px){.class-test-heading{gap:5px}.class-test-heading #submit-test{min-width:70px;min-height:29px;padding:4px 8px;font-size:10px}}
.class-test-home-actions{display:grid;grid-template-rows:auto auto;gap:2px;min-width:0}
.class-test-home-actions #submit-test{grid-column:auto!important;width:100%!important;max-width:none!important;min-height:29px;margin:0!important;padding:4px 6px;border-radius:7px;font-size:10px;line-height:1.1}
.class-test-home-actions .class-test-tab{min-height:30px;padding:4px 6px;font-size:11px}
body.timed-test.class-live-mode:not(.class-test-results) .class-test-tabs{grid-template-columns:minmax(0,1fr) minmax(100px,.8fr) minmax(82px,1fr);gap:5px}
body.timed-test.class-live-mode:not(.class-test-results) .class-test-home-actions #submit-test{min-height:26px;padding:3px 5px;font-size:10px}
body.timed-test.class-live-mode:not(.class-test-results) .class-test-home-actions .class-test-tab{min-height:28px}
@media(max-width:520px){body.timed-test.class-live-mode:not(.class-test-results) .class-test-tabs{grid-template-columns:minmax(0,1fr) 100px minmax(78px,1fr);gap:3px}body.timed-test.class-live-mode:not(.class-test-results) .class-test-home-actions #submit-test{min-height:23px;padding:2px 4px;font-size:9px}body.timed-test.class-live-mode:not(.class-test-results) .class-test-home-actions .class-test-tab{min-height:25px;padding:3px 4px;font-size:10px}}
@media(max-width:520px){body.timed-test.class-live-mode:not(.class-test-results) .test-session{gap:3px;padding:5px 7px}body.timed-test.class-live-mode:not(.class-test-results) .test-session h2{font-size:14px}body.timed-test.class-live-mode:not(.class-test-results) .class-test-tabs{grid-template-columns:minmax(0,1fr) 105px minmax(0,1fr)}body.timed-test.class-live-mode:not(.class-test-results) .class-test-tab{min-height:34px;padding:5px 3px;font-size:11px}body.timed-test.class-live-mode:not(.class-test-results) .class-test-tabs #test-clock{min-width:100px;font-size:11px}body.timed-test.class-live-mode:not(.class-test-results) #test-layout-slot .practice-layout-control{grid-template-columns:minmax(0,1fr) auto}body.timed-test.class-live-mode:not(.class-test-results) #test-layout-slot label{font-size:10px}body.timed-test.class-live-mode:not(.class-test-results) #test-layout-slot select{min-width:112px;min-height:31px;font-size:11px}body.timed-test.class-live-mode:not(.class-test-results) #submit-test{min-height:34px}}
