.test-screen{max-width:1000px;color:var(--mh-text);margin:auto;padding:22px clamp(14px,4vw,36px) 60px}.test-panel{margin-top:30px;line-height:1.6}.test-panel button,.test-panel input,.test-panel select{font:inherit;color:inherit}.test-panel button{border:1px solid var(--mh-border);background:var(--mh-surface);cursor:pointer;border-radius:12px;min-height:44px;padding:10px 18px}.test-panel button:disabled{opacity:.5;cursor:default}.test-panel :focus-visible{outline:3px solid var(--mh-link,var(--mh-text,#1939ff));outline-offset:3px}.test-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.test-heading h1{margin:0 0 8px;font-size:clamp(1.8rem,5vw,2.7rem);font-weight:800;line-height:1.2}.test-eyebrow{color:var(--mh-success);letter-spacing:.09em;text-transform:uppercase;font-size:.75rem;font-weight:800}.test-help{flex-shrink:0;position:relative}.test-help summary{border:1px solid var(--mh-border);cursor:pointer;border-radius:50%;place-items:center;width:44px;height:44px;font-weight:800;list-style:none;display:grid}.test-help[open]>div{z-index:5;border:1px solid var(--mh-border);background:var(--mh-surface);border-radius:16px;width:min(480px,100vw - 48px);padding:20px;position:absolute;right:0;box-shadow:0 12px 32px #0002}.test-disclaimer,.test-muted{color:var(--mh-muted);margin:16px 0;font-size:.9rem}.test-tabs{gap:8px;margin:24px 0 14px;display:flex}.test-tabs button[aria-selected=true]{background:var(--mh-success-strong,#234f3b);color:var(--mh-on-strong,#fff)}.test-card,.test-summary,.test-history{border:1px solid var(--mh-border);background:var(--mh-surface);border-radius:22px;padding:clamp(16px,4vw,32px)}.test-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0;display:grid}.test-form-grid label{gap:7px;font-weight:650;display:grid}.test-form-grid input,.test-panel select,.test-text-answer{border:1px solid var(--mh-border);background:var(--mh-surface-soft);border-radius:10px;width:100%;min-width:0;min-height:48px;padding:10px 12px}.test-panel .test-primary{background:var(--mh-success-strong,#234f3b);color:var(--mh-on-strong,#fff);font-weight:750}.test-pool{background:var(--mh-surface-soft);border-radius:12px;padding:12px 16px}.test-notice{border:1px solid var(--mh-border);background:var(--mh-surface-soft);border-radius:12px;margin:16px 0;padding:16px}.test-status,.test-progress-label{flex-wrap:wrap;justify-content:space-between;gap:10px;display:flex}.test-status [role=timer]{font-variant-numeric:tabular-nums;font-weight:750}.test-progress-label{color:var(--mh-muted);margin-top:20px;font-size:.85rem}.test-panel progress{width:100%;height:10px;accent-color:var(--mh-success);margin-bottom:28px}.test-running fieldset{border:0;min-width:0;padding:0}.test-running legend{overflow-wrap:anywhere;font-size:clamp(1.25rem,4vw,1.75rem);font-weight:750;line-height:1.4}.test-task-hint{color:var(--mh-muted);margin:14px 0 20px;font-size:.9rem}.test-choices{gap:12px;display:grid}.test-choices label{border:1px solid var(--mh-border);cursor:pointer;border-radius:12px;align-items:center;gap:14px;min-height:60px;padding:14px 18px;display:flex}.test-choices label[data-selected=true]{border:2px solid var(--mh-success);background:var(--mh-surface-soft);padding:13px 17px}.test-choices input{width:20px;height:20px;accent-color:var(--mh-success);flex-shrink:0}.test-matching{gap:12px;display:grid}.test-matching label{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:14px;display:grid}.test-text-answer{font-size:1.25rem!important}.test-save-status{color:var(--mh-muted);min-height:26px;margin:16px 0;font-size:.85rem}.test-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:20px;display:flex}.test-question-nav{flex-wrap:wrap;gap:7px;margin:22px 0;display:flex}.test-question-nav button{min-width:44px;padding:8px}.test-question-nav button[data-answered=true]{background:var(--mh-surface-soft)}.test-question-nav button[aria-current]{outline:2px solid var(--mh-success);font-weight:800}.test-result-top{flex-wrap:wrap;align-items:center;gap:clamp(20px,5vw,40px);margin:24px 0;display:flex}.test-score{background:conic-gradient(var(--mh-success,#347451) var(--test-progress),var(--mh-border) 0);border-radius:50%;place-items:center;width:156px;height:156px;display:grid;position:relative}.test-score:before{content:"";background:var(--mh-surface);border-radius:50%;width:132px;height:132px;position:absolute}.test-score strong{z-index:1;font-size:2rem}.test-counts{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0;display:grid}.test-counts>div{background:var(--mh-surface-soft);text-align:center;border-radius:12px;flex-direction:column;align-items:center;padding:16px 8px;display:flex}.test-counts strong{font-size:1.6rem}.test-counts span{font-size:.85rem}.test-categories p{border-bottom:1px solid var(--mh-border);justify-content:space-between;padding:12px 0;display:flex}.test-review-item{border-top:1px solid var(--mh-border);overflow-wrap:anywhere;padding:16px 0}.test-review-item summary{cursor:pointer}.test-review-item summary strong{color:var(--mh-muted);font-size:.85rem;display:block}.test-history-row{text-align:start;justify-content:space-between;align-items:center;gap:12px;width:100%;margin:10px 0;display:flex}.test-history-row small{color:var(--mh-muted);display:block}.test-bests{flex-wrap:wrap;gap:8px;display:flex}.test-bests>span{background:var(--mh-surface-soft);border-radius:10px;padding:8px 12px}@media (max-width:560px){.test-form-grid{grid-template-columns:1fr;gap:14px}.test-counts{grid-template-columns:repeat(2,minmax(0,1fr))}.test-running .test-actions>button{flex:1}.test-panel>.test-card>.test-primary{width:100%}}.test-language-buttons,.test-level-buttons{flex-wrap:wrap;gap:8px;margin:16px 0 24px;display:flex}.test-language-buttons button[aria-pressed=true],.test-level-buttons button[aria-pressed=true]{background:var(--mh-success-strong,#234f3b);color:var(--mh-on-strong,#fff);border-color:var(--mh-success)}.test-level-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.test-level-card{overflow-wrap:anywhere;flex-direction:column;align-items:stretch;gap:12px;min-width:0;padding:20px;display:flex}.test-level-card h3{margin:0;font-size:1.8rem;font-weight:800}.test-level-card p{margin:0}.test-level-card .test-score{align-self:center;margin:12px 0}.test-level-card dl{flex:1;font-size:.85rem}.test-level-card dl>div{border-bottom:1px solid var(--mh-border);justify-content:space-between;gap:8px;padding:8px 0;display:flex}.test-level-card dd{text-align:end;margin:0}.test-level-card .test-history-link{border:0;text-decoration:underline}.test-advanced{margin-top:24px}.test-advanced summary{cursor:pointer;min-height:44px;font-weight:700}.test-history-row>span{overflow-wrap:anywhere;min-width:0}.test-history-row small{display:block}.test-history-row strong{font-size:1rem}.test-variant-key{overflow-wrap:anywhere}.test-tabs{flex-wrap:wrap}.test-catalog h2{margin-top:24px;font-size:1.3rem;font-weight:750}@media (max-width:820px){.test-level-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:520px){.test-level-grid{grid-template-columns:minmax(0,1fr)}.test-history-row{flex-direction:column;align-items:start}.test-language-buttons button{flex:40%}}.test-attempt-number{display:block}.test-variant-best{margin:12px 0}.test-insight-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.test-insight-grid>section{min-width:0}.test-analysis-category{border-bottom:1px solid var(--mh-border);overflow-wrap:anywhere;padding:12px 0}.test-analysis-category progress{margin:8px 0}.test-study-recommendations a{overflow-wrap:anywhere;min-height:44px;padding:10px 0;text-decoration:underline;display:inline-block}.test-analysis .test-counts>div{overflow-wrap:anywhere;min-width:0}@media (max-width:600px){.test-insight-grid{grid-template-columns:minmax(0,1fr)}}.test-management{min-width:0;max-width:100%;padding:clamp(.5rem,2vw,1.5rem)}.test-management input:not([type=checkbox]):not([type=radio]),.test-management textarea,.test-management select{border:1px solid var(--border);background:var(--background);width:100%;min-width:0;max-width:100%;color:var(--foreground);font:inherit;border-radius:.6rem;padding:.65rem}.test-management textarea{resize:vertical;min-height:6rem}.test-management fieldset{border:0;gap:.8rem;min-width:0;padding:0;display:grid}.test-management label{gap:.35rem;display:grid}:is(.test-management label:has(input[type=checkbox]),.test-management label:has(input[type=radio])){align-items:flex-start;gap:.6rem;display:flex}.test-management label input[type=checkbox],.test-management label input[type=radio]{flex:none;margin-top:.3rem}.test-management button{white-space:normal;min-height:44px}.test-management .test-actions input{flex:1;min-width:10rem}.test-bank-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:1rem;min-width:0;padding:1rem 0;display:flex}.test-bank-row>div{flex:1;min-width:0}.test-bank-row p{white-space:pre-wrap;overflow-wrap:anywhere;max-height:8rem;overflow:auto}.test-bank-row>button{flex:none;max-width:35%}.test-editor{margin-top:1.5rem}.test-editor [data-severity=error]{color:var(--destructive,#b42318)}.test-table-wrap{max-width:100%;overflow-x:auto}.test-table-wrap table{border-collapse:collapse;width:100%}.test-table-wrap th,.test-table-wrap td{text-align:start;border-bottom:1px solid var(--border);vertical-align:top;padding:.7rem}.test-inline-counts{flex-wrap:wrap;gap:1rem;display:flex}.test-inline-counts dd{margin:0;font-weight:700}.test-member small{color:var(--muted-foreground);display:block}.test-analysis-category{border-bottom:1px solid var(--border);padding:1rem 0}.test-analysis-category progress{width:100%;display:block}.test-plot{min-width:0;margin:1rem 0}.test-plot svg{width:100%;max-height:240px;color:var(--foreground);font-size:12px;display:block}.test-plot figcaption{font-weight:600}.test-preview{margin:1rem 0}.test-question-nav button{min-height:44px}.test-screen .test-heading>div{min-width:0}@media (max-width:600px){.test-management .test-form-grid{grid-template-columns:1fr}.test-management .test-actions{gap:.5rem}.test-management .test-actions button{flex:1}.test-management .test-bank-row{flex-direction:column}.test-management .test-bank-row>button{width:100%;max-width:100%}.test-management .test-table-wrap th,.test-management .test-table-wrap td{padding:.5rem;font-size:.85rem}.test-management .test-counts{grid-template-columns:repeat(2,minmax(0,1fr))}}
