.mock-shell { width:min(1100px, calc(100% - 36px)); margin:0 auto; padding:36px 0 50px; color:var(--theme-text); }
.mock-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:26px; }
.mock-intro { padding:42px; border:1px solid var(--theme-border); border-radius:24px; }
.mock-intro h1 { margin:6px 0 10px; font-size:clamp(2.4rem,6vw,4.5rem); letter-spacing:-.055em; }
.mock-intro > p:last-child { max-width:650px; margin:0; color:var(--theme-muted); font-size:1.1rem; line-height:1.6; }
.mock-filters { display:flex; flex-wrap:wrap; gap:18px; margin:24px 0 36px; padding:22px; border:1px solid var(--theme-border); border-radius:18px; }
.mock-filters label { display:grid; gap:7px; min-width:min(240px,100%); color:var(--theme-text); font-weight:700; }
.mock-filters select { min-height:46px; padding:0 38px 0 13px; border:1px solid var(--theme-border); border-radius:10px; background:var(--theme-surface); color:var(--theme-text); font:inherit; }
.mock-results-heading h2 { margin:0; color:var(--theme-text); font-size:1.65rem; }
.mock-set-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr)); gap:16px; margin-top:16px; }
.mock-set-card { display:flex; flex-direction:column; min-height:230px; padding:22px; border:1px solid var(--theme-border); border-radius:18px; background:var(--theme-surface); color:var(--theme-text); box-shadow:0 8px 28px #2027350a; }
.mock-set-card { width:100%; max-width:520px; justify-self:start; }
.mock-set-meta { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:13px; }
.mock-set-meta span { padding:5px 9px; border-radius:999px; background:var(--theme-chip); color:var(--theme-accent-hover); font-size:.78rem; font-weight:750; }
.mock-set-card h3 { margin:0 0 9px; font-size:1.3rem; }
.mock-set-card p { margin:0 0 18px; color:var(--theme-muted); line-height:1.55; }
.mock-set-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:auto; }
.mock-link-button,.mock-secondary-link { display:inline-flex; align-items:center; justify-content:center; min-height:43px; padding:0 14px; border:1px solid var(--theme-border); border-radius:9px; color:var(--theme-text); font-weight:750; text-decoration:none; }
.mock-link-button { border-color:var(--theme-accent); background:var(--theme-accent); color:var(--theme-button-text,#fff); }
.mock-link-button:hover { background:var(--theme-accent-hover); }
.mock-secondary-link:hover { background:var(--theme-soft); }
.mock-empty { padding:25px; border:1px dashed var(--theme-border); border-radius:16px; color:var(--theme-muted); background:var(--theme-surface); line-height:1.6; }
.home-footer a { color:var(--theme-accent); text-decoration:none; }
.mock-header .home-link { margin-bottom:0; }
@media(max-width:600px){.mock-shell{width:calc(100% - 24px);padding-top:68px}.mock-intro{padding:26px 22px}.mock-filters{padding:17px}.mock-filters label{width:100%}}
.exam-heading{margin-bottom:18px}
.exam-controls,.exam-progress{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0;padding:16px 19px;border:1px solid var(--theme-border);border-radius:15px;background:var(--theme-surface);color:var(--theme-text)}
.exam-controls > div:first-child,.exam-progress > div:first-child{display:grid;gap:4px}
.exam-timer,.exam-progress span{color:var(--theme-muted);font-size:.9rem}
.exam-actions{display:flex;flex-wrap:wrap;gap:8px}
.exam-actions button{font:inherit;background:var(--theme-surface);cursor:pointer}
.exam-actions .mock-link-button{color:var(--theme-button-text,#fff);background:var(--theme-accent)}
.exam-progress{display:block}
.exam-progress > div:first-child{display:flex;justify-content:space-between;margin-bottom:9px}
.progress-track{height:9px;overflow:hidden;border-radius:999px;background:var(--theme-soft)}
.progress-fill{display:block;height:100%;border-radius:inherit;background:var(--theme-accent);transition:width .2s ease}
.exam-task-nav{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.exam-number{width:42px;height:42px;border:1px solid var(--theme-border);border-radius:10px;background:var(--theme-surface);color:var(--theme-text);font:700 .9rem inherit;cursor:pointer}
.exam-number.current{border-color:var(--theme-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--theme-accent) 20%,transparent)}
.exam-number.answered{background:var(--theme-chip);color:var(--theme-accent-hover)}
.exam-task{padding:clamp(20px,4vw,34px);border:1px solid var(--theme-border);border-radius:19px;background:var(--theme-surface);color:var(--theme-text)}
.exam-task-top h2{margin:0 0 18px;font-size:1.65rem}
.exam-task .eyebrow{margin:0 0 6px}
.exam-situation,.exam-instruction{font-size:1.02rem;line-height:1.65}
.exam-situation{padding:15px 17px;border-radius:12px;background:var(--theme-soft)}
.exam-instruction{font-weight:750}
.exam-task h3{margin:22px 0 10px}
.exam-response-label,.exam-fields label{display:block;margin:13px 0 7px;color:var(--theme-text);font-weight:750}
.exam-task textarea{display:block;width:100%;box-sizing:border-box;min-height:100px;padding:12px;border:1px solid var(--theme-border);border-radius:10px;background:var(--theme-surface);color:var(--theme-text);font:inherit;line-height:1.55;resize:vertical}
.exam-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:5px 16px}
.exam-fields textarea{min-height:64px}
.exam-requirements{padding-left:23px;line-height:1.75}
.exam-table-wrap{overflow-x:auto;margin:20px 0}
.exam-table-wrap table{width:100%;border-collapse:collapse}
.exam-table-wrap th,.exam-table-wrap td{padding:11px 12px;border:1px solid var(--theme-border);text-align:left;vertical-align:top}
.exam-table-wrap th{background:var(--theme-soft);color:var(--theme-text)}
.exam-info-card,.exam-scaffold{margin:18px 0;padding:16px 18px;border:1px solid var(--theme-border);border-radius:12px;background:var(--theme-soft)}
.exam-info-card h3{margin:0 0 8px}.exam-info-card ul{margin:0;padding-left:21px;line-height:1.7}
.exam-scaffold p{margin:3px 0;white-space:pre-line}.exam-opening,.exam-closing{white-space:pre-line;line-height:1.6}
.exam-note{margin:20px 0 0;color:var(--theme-muted);font-size:.88rem;line-height:1.5}
.exam-page-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px;padding-top:18px;border-top:1px solid var(--theme-border);color:var(--theme-muted)}
.exam-page-controls button{font:inherit;background:var(--theme-surface);cursor:pointer}.exam-page-controls .mock-link-button{background:var(--theme-accent);color:var(--theme-button-text,#fff)}
.exam-page-controls button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:650px){.exam-controls{align-items:flex-start;flex-direction:column}.exam-progress > div:first-child{gap:5px;flex-direction:column}.exam-page-controls{flex-wrap:wrap}.exam-page-controls span{order:-1;width:100%;text-align:center}}
@media print{.mock-header,.exam-controls,.exam-progress,.exam-task-nav,.exam-page-controls,.site-tools{display:none!important}.mock-shell{width:100%;padding:0}.exam-task{box-shadow:none;border:0}.exam-task textarea{min-height:120px}.exam-task{break-inside:avoid}.exam-heading{padding:0 0 20px;border:0}.exam-situation,.exam-info-card,.exam-scaffold{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* NT2nu classic styling for the practice view. */
body:has(.exam-shell){background:var(--theme-page);color:var(--theme-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.exam-shell{width:100%;min-height:100vh;margin:0;padding:0 0 90px;background:var(--theme-page);color:var(--theme-text);font-family:inherit}
.exam-shell>.mock-header{display:none}
.exam-shell .site-tools{top:12px!important;right:14px!important;z-index:120!important}
.exam-site-topbar{position:sticky;top:0;z-index:100;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;align-items:center;gap:10px;min-height:64px;padding:10px max(130px,calc((100vw - 1100px)/2 + 130px)) 10px max(20px,calc((100vw - 1100px)/2));border-bottom:1px solid var(--theme-border);background:var(--theme-surface);color:var(--theme-text);box-shadow:0 5px 18px #2636520b}
.exam-home-button{display:inline-block;min-height:0;padding:0;border:0;background:transparent;color:var(--theme-accent)!important;font:750 .92rem/1.35 Inter,ui-sans-serif,system-ui,sans-serif;text-decoration:none;white-space:nowrap}
.exam-home-button:hover{text-decoration:underline}
.exam-site-title{overflow:hidden;font-size:1rem;text-overflow:ellipsis;white-space:nowrap}
.exam-topbar-count{padding:7px 11px;border:1px solid var(--theme-border);border-radius:999px;background:var(--theme-soft);color:var(--theme-muted);font-size:.84rem;font-weight:700;white-space:nowrap}
.exam-countdown{display:inline-flex;align-items:center;justify-content:center;min-width:96px;min-height:38px;padding:0 11px;border:1px solid var(--theme-border);border-radius:11px;background:var(--theme-chip);color:var(--theme-accent-hover);font:800 .95rem/1 Inter,ui-sans-serif,system-ui,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap}
.exam-countdown[hidden]{display:none}
.exam-timer-toggle{display:inline-grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid var(--theme-border)!important;border-radius:10px;background:var(--theme-surface)!important;color:var(--theme-accent)!important;cursor:pointer}
.exam-timer-toggle:hover{background:var(--theme-soft)!important}
.exam-timer-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.exam-countdown.is-expired{border-color:#d69a94;background:#fff0ef;color:#a93c35}
.exam-content{width:min(900px,calc(100% - 36px));min-height:calc(100vh - 145px);margin:0 auto;padding:36px 0 50px}
.exam-question-title{color:var(--theme-accent);font-weight:750}
.exam-question-title span+span{color:var(--theme-muted)}
.exam-task{padding:clamp(22px,4vw,38px);border:1px solid var(--theme-border);border-radius:20px;background:var(--theme-surface);color:var(--theme-text);box-shadow:0 8px 24px #26365208}
.exam-task h1{font-size:1.6rem;letter-spacing:-.035em}
.exam-task-kicker{color:var(--theme-accent);font-size:.76rem;letter-spacing:.1em;text-transform:uppercase}
.exam-situation{padding:15px 17px;border:1px solid var(--theme-border);border-radius:13px;background:var(--theme-soft);color:var(--theme-text);line-height:1.65}
.exam-task textarea{border:1px solid var(--theme-border);border-radius:10px;background:var(--theme-surface);color:var(--theme-text);font:inherit;line-height:1.6;box-shadow:none}
.exam-task textarea:focus{outline:3px solid color-mix(in srgb,var(--theme-accent) 22%,transparent);border-color:var(--theme-accent)}
.exam-info-card,.exam-scaffold{border-color:var(--theme-border);border-radius:13px;background:var(--theme-soft);color:var(--theme-text)}
.exam-info-card h3,.exam-table-wrap h3{color:var(--theme-text)}
.exam-table-wrap th{background:var(--theme-soft);color:var(--theme-text)}
.exam-table-wrap th,.exam-table-wrap td{border-color:var(--theme-border)}
.exam-note{color:var(--theme-muted)}
.exam-inline-actions{display:none!important}
.exam-bottom-nav{position:fixed;right:0;bottom:0;left:0;z-index:110;display:grid;grid-template-columns:minmax(72px,1fr) minmax(0,540px) minmax(190px,1fr);align-items:center;min-height:66px;overflow:hidden;padding:8px max(12px,calc((100vw - 1200px)/2));border-top:1px solid var(--theme-border);background:var(--theme-surface);box-shadow:0 -7px 22px #2636520b;color:var(--theme-text);font-family:inherit}
.exam-bottom-nav button{border:1px solid transparent;border-radius:10px;background:transparent;color:var(--theme-text);font:700 .9rem/1 Inter,ui-sans-serif,system-ui,sans-serif}
.exam-bottom-nav button:hover:not(:disabled){background:var(--theme-soft)}
.exam-bottom-nav button:disabled{opacity:.42}
.exam-nav-direction,.exam-overview-button{min-height:43px;padding:0 14px;white-space:nowrap}
.exam-nav-direction[data-action="previous"]{justify-self:start}
.exam-nav-numbers{display:flex;width:100%;min-width:0;justify-content:center;gap:3px;overflow-x:auto;padding:0;scrollbar-width:none;-ms-overflow-style:none}
.exam-nav-numbers::-webkit-scrollbar{display:none}
.exam-nav-trailing{display:flex;justify-self:end;gap:4px;min-width:0}
.exam-bottom-nav .exam-number{flex:0 0 29px;width:29px;height:34px;padding:0;border:1px solid var(--theme-border);border-radius:9px;background:var(--theme-surface);color:var(--theme-text);font:700 .78rem/1 Inter,ui-sans-serif,system-ui,sans-serif}
.exam-bottom-nav .exam-number.current{border-color:var(--theme-accent);background:var(--theme-accent);color:var(--theme-button-text,#fff);font-weight:800}
.exam-bottom-nav .exam-number.answered:not(.current){border-color:var(--theme-border);background:var(--theme-chip);color:var(--theme-accent-hover)}
.exam-overview-panel{min-height:min(72vh,730px);padding:clamp(22px,4vw,34px);border:1px solid var(--theme-border);border-radius:20px;background:var(--theme-surface);color:var(--theme-text);box-shadow:0 8px 24px #26365208}
.exam-overview-panel h1{font-weight:800;letter-spacing:-.04em}
.exam-overview-panel>p{color:var(--theme-muted)}
.exam-overview-number{border:1px solid var(--theme-border);border-radius:12px;background:var(--theme-surface);color:var(--theme-accent);font-family:inherit}
.exam-overview-number.answered{background:var(--theme-chip);color:var(--theme-accent-hover)}
.exam-overview-legend{color:var(--theme-muted)}
.exam-overview-legend i{border-color:var(--theme-border);border-radius:5px}
.exam-overview-legend .legend-answered{border-color:var(--theme-accent);background:var(--theme-chip)}
.exam-overview-actions button,.exam-overview-panel>[data-action="back-home"]{min-height:44px;padding:0 17px;border:1px solid var(--theme-accent);border-radius:10px;background:var(--theme-accent);color:var(--theme-button-text,#fff);font:750 .9rem/1 Inter,ui-sans-serif,system-ui,sans-serif}
.exam-overview-actions .mock-secondary-link{background:var(--theme-surface);color:var(--theme-text)}
.exam-submitted-note{border:1px solid var(--theme-border);border-radius:12px;background:var(--theme-soft);color:var(--theme-text)}
.exam-email{overflow:hidden;margin:22px 0;border:1px solid var(--theme-border);border-radius:13px;background:var(--theme-surface);color:var(--theme-text);box-shadow:0 5px 18px #2636520a;font:inherit}
.exam-email-titlebar{display:flex;align-items:center;justify-content:space-between;min-height:42px;padding:0 15px;border-bottom:1px solid var(--theme-border);background:var(--theme-soft);color:var(--theme-text);font-size:.9rem}
.exam-email-titlebar span{color:var(--theme-muted);letter-spacing:.08em}
.exam-email-fields{display:grid;padding:7px 15px;border-bottom:1px solid var(--theme-border);background:var(--theme-surface)}
.exam-email-fields>div{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:12px;min-height:39px;border-bottom:1px solid var(--theme-border)}
.exam-email-fields>div:last-child{border-bottom:0}
.exam-email-fields span{color:var(--theme-muted);font-size:.88rem;font-weight:650}
.exam-email-fields p{overflow:hidden;margin:0;color:var(--theme-text);font:inherit;font-size:.92rem;text-overflow:ellipsis;white-space:nowrap}
.exam-email-body{padding:23px 18px 18px;background:var(--theme-surface);color:var(--theme-text);font:inherit;font-size:.95rem;line-height:1.65}
.exam-email-body p{white-space:pre-line}
.exam-email-body .exam-email-greeting{margin:0 0 22px}
.exam-email-body .exam-opening{margin:0 0 16px}
.exam-email-body textarea{min-height:160px;margin:0 0 16px;padding:8px 0;border:0;border-bottom:1px solid var(--theme-border);border-radius:0;background:transparent;color:var(--theme-text);font:inherit;line-height:1.65;box-shadow:none;resize:vertical}
.exam-email-body textarea:focus{outline:2px solid color-mix(in srgb,var(--theme-accent) 20%,transparent);outline-offset:2px;border-bottom-color:var(--theme-accent)}
.exam-email-body .exam-closing{margin:8px 0 0}
.exam-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:27px;margin:24px 0 0}
.exam-fields label{display:grid;gap:10px;margin:0;color:var(--theme-text);font-weight:700;line-height:1.5}
.exam-field-question{display:block;font-size:.98rem}
.exam-fields textarea{min-height:66px;padding:9px 10px;border:1px solid var(--theme-text);border-radius:3px;background:var(--theme-surface);color:var(--theme-text);font:inherit;line-height:1.5;resize:vertical}
@media(max-width:520px){.exam-email-fields>div{grid-template-columns:78px minmax(0,1fr);gap:8px}.exam-email-body{padding:18px 14px}.exam-email-titlebar{padding:0 12px}}
@media(max-width:700px){.exam-site-topbar{grid-template-columns:auto minmax(0,1fr) auto;justify-items:start;gap:4px 7px;min-height:72px;padding:8px 112px 9px 14px}.exam-home-button{grid-column:1;grid-row:1}.exam-site-title{grid-column:2/4;grid-row:1;max-width:100%;font-size:.85rem}.exam-topbar-count{grid-column:1;grid-row:2;padding:4px 6px;font-size:.72rem}.exam-countdown{grid-column:2;grid-row:2;min-width:76px;min-height:30px;padding:0 5px;font-size:.75rem}.exam-timer-toggle{grid-column:3;grid-row:2;width:30px;height:30px}.exam-timer-toggle svg{width:16px;height:16px}.exam-shell .site-tools{top:12px!important;right:10px!important}.exam-content{width:calc(100% - 24px);padding-top:24px}.exam-bottom-nav{grid-template-columns:minmax(62px,1fr) minmax(0,540px) minmax(160px,1fr);padding:6px 4px}.exam-nav-direction,.exam-overview-button{gap:4px;padding:0 6px;font-size:.76rem!important}.exam-nav-trailing{gap:2px}.exam-nav-numbers{justify-content:center;gap:2px}.exam-bottom-nav .exam-number{flex-basis:27px;width:27px;height:32px;font-size:.72rem}.exam-overview-grid{grid-template-rows:repeat(6,48px);gap:7px 10px}}
@media print{.exam-site-topbar,.exam-bottom-nav,.exam-shell .site-tools{display:none!important}.exam-content{width:100%;padding:0}.exam-task{border:0;box-shadow:none;break-inside:avoid}.exam-task textarea{min-height:120px}.exam-overview-panel{box-shadow:none}}
