/* Keep the established Testinar palette; the work surface stays quiet during practice. */
#content.tn-practice-page { clear:both; display:block; width:100%; color:#143c38; }
.tn-practice-page .container { max-width:1020px; }
.tn-practice-page .content-wrap { padding:32px 0 56px; }
.tn-practice-page h1 { font-size:clamp(24px,3vw,36px); line-height:1.2; margin:12px 0; }
.tn-practice-page h2 { font-size:25px; line-height:1.25; }
.tn-practice-page p,.tn-practice-page li { line-height:1.65; max-width:80ch; }
.tn-practice-page a { color:#175b50; text-decoration:underline; text-underline-offset:3px; }
.tn-practice-page :is(button,select,input) { font:inherit; }
.tn-practice-page button,.tn-practice-start button { min-height:46px; padding:10px 17px; border:1px solid #8fae9e; background:#fff; color:#173e35; border-radius:5px; cursor:pointer; }
.tn-practice-page button:hover { background:#edf5ef; }
.tn-practice-page button:disabled { opacity:.55; cursor:not-allowed; }
.tn-practice-page :is(button,a,input,select,summary):focus-visible,.tn-course-page :is(a,input,summary):focus-visible { outline:3px solid #b87508; outline-offset:3px; }
.tn-practice-page .tn-exam-primary { background:#20584f; color:#fff; border-color:#20584f; }
.tn-practice-page .tn-exam-primary:hover { background:#163f38; color:#fff; }
.tn-practice-start { display:grid; gap:14px; max-width:560px; margin-top:24px; }
.tn-practice-page select { max-width:100%; min-height:46px; padding:10px; border:1px solid #8fae9e; border-radius:4px; background:#fff; }
.tn-practice-header { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:20px; align-items:start; background:#fff; border-bottom:3px solid #20584f; padding:0 0 18px; }
.tn-practice-header a { font-size:14px; }
.tn-practice-header h1 { font-size:26px; }
.tn-practice-header p { margin:8px 0 0; }
.tn-practice-clock { position:sticky; top:105px; min-width:125px; padding:12px; background:#eef6f0; border:1px solid #b6d0be; text-align:center; border-radius:5px; }
.tn-practice-clock span,.tn-practice-clock strong,.tn-practice-clock small { display:block; }
.tn-practice-clock strong { font-variant-numeric:tabular-nums; font-size:30px; color:#102d2a; }
.tn-practice-clock small { font-size:12px; }
#practice-save-status { padding:10px 14px; background:#f2f6f3; border-left:3px solid #91b49f; font-size:14px; }
#practice-save-status.is-error { color:#812c1d; border-color:#bc5a32; background:#fff1e9; }
.tn-practice-question { max-width:820px; padding:20px 0; }
.tn-practice-prompt { font-size:18px; line-height:1.7; margin:0 0 24px; overflow-wrap:break-word; }
.tn-practice-prompt svg,.tn-practice-review svg { display:block; max-width:100%; height:auto; margin:18px 0; }
.tn-practice-prompt table,.tn-practice-review table { border-collapse:collapse; max-width:100%; }
.tn-practice-prompt :is(th,td),.tn-practice-review :is(th,td) { border:1px solid #a9bfb4; padding:8px 12px; }
.tn-practice-choices { border:0; padding:0; }
.tn-practice-choices legend { font-size:16px; font-weight:700; margin-bottom:10px; }
.tn-practice-choices label { display:flex; align-items:center; gap:14px; min-height:56px; padding:12px 16px; margin:10px 0; border:1px solid #b5cbbf; border-radius:5px; cursor:pointer; }
.tn-practice-choices label:has(input:checked) { border:2px solid #20584f; padding:11px 15px; background:#eef7f0; }
.tn-practice-choices input,.tn-practice-flag input,.tn-course-reviewed input { width:20px; height:20px; flex:0 0 20px; accent-color:#20584f; }
.tn-practice-flag,.tn-course-reviewed { display:flex; align-items:center; gap:10px; min-height:46px; padding:10px 0; cursor:pointer; }
.tn-practice-number { display:block; max-width:100%; width:300px; min-height:50px; padding:12px; border:1px solid #8fae9e; border-radius:4px; }
#practice-answer-help { font-size:14px; color:#48675b; }
.tn-practice-actions { display:flex; flex-wrap:wrap; gap:10px; padding:0 0 22px; }
.tn-practice-map { border-block:1px solid #b5cbbf; padding:14px 0; }
.tn-practice-map summary { cursor:pointer; min-height:44px; padding:10px 0; font-weight:700; }
.tn-practice-question-map { display:flex; flex-wrap:wrap; gap:8px; margin:15px 0; }
.tn-practice-question-map button { min-width:46px; padding:8px; }
.tn-practice-question-map .is-answered { background:#dceee1; border-color:#41785d; }
.tn-practice-question-map [aria-current=step] { box-shadow:inset 0 0 0 2px #183d33; }
.tn-practice-question-map .is-flagged { border-bottom:4px solid #b8790e; }
.tn-practice-finish { padding:24px 0 10px; }
.tn-practice-finish button { background:#173f38; color:#fff; }
.tn-practice-finish button:hover { background:#20584f; }
.tn-practice-result-header { border-bottom:3px solid #20584f; padding-bottom:24px; margin-bottom:30px; }
.tn-practice-score { font-size:32px; font-weight:700; color:#163b32; }
.tn-practice-domain-table { border-collapse:collapse; width:100%; margin:20px 0; }
.tn-practice-domain-table :is(th,td) { text-align:left; padding:12px; border-bottom:1px solid #bdcfc4; }
.tn-practice-domain-table thead { background:#eef5ef; }
.tn-practice-review { padding:24px 0; border-bottom:1px solid #bdcfc4; }
.tn-practice-review details { padding:12px 0; }
.tn-practice-review summary { padding:8px 0; min-height:44px; cursor:pointer; font-weight:700; }
.tn-practice-review[hidden] { display:none!important; }
.tn-course-tests { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.tn-course-quick-links { display:flex; flex-wrap:wrap; align-items:center; gap:20px; }
#practice-finish-dialog { width:min(570px,calc(100% - 32px)); max-height:calc(100% - 32px); overflow:auto; padding:24px; border:2px solid #20584f; border-radius:8px; color:#143c38; }
#practice-finish-dialog::backdrop { background:rgba(10,29,25,.55); }
.tn-course-tests article { padding:20px; background:#f3f8f2; border-top:3px solid #20584f; }
.tn-course-units { padding-left:24px; }
.tn-course-units > li { padding-left:8px; margin-bottom:20px; scroll-margin-top:120px; }
.tn-course-units details > summary { font-size:20px; }
.tn-course-units ul li { padding:5px 0; }
@media(max-width:650px){.tn-practice-header{gap:12px;grid-template-columns:1fr}.tn-practice-header h1{font-size:21px}.tn-practice-clock{position:static;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px}.tn-practice-clock strong{font-size:24px}.tn-practice-clock small{font-size:11px}.tn-practice-prompt{font-size:17px}.tn-practice-actions{display:grid;grid-template-columns:1fr 1fr}.tn-practice-actions button{padding:10px;font-size:14px}.tn-course-tests{grid-template-columns:1fr}.tn-practice-domain-table :is(th,td){padding:9px 6px;font-size:14px}.tn-practice-prompt :is(th,td){padding:7px}.tn-practice-page .content-wrap{padding-top:24px}}
@media(prefers-reduced-motion:reduce){.tn-practice-page *{scroll-behavior:auto!important}}
@media print{.tn-practice-page .tn-practice-clock,.tn-practice-actions,.tn-practice-finish{display:none}.tn-practice-review{break-inside:avoid}}
