:root{--ink:#1b2b47;--muted:#607086;--blue:#285bc9;--paper:#f7f8fb;--line:#dce3ee;--orange:#be641a;--green:#177251;--pink:#b12d59;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;line-height:1.6}*{box-sizing:border-box}body{margin:0}a{color:var(--blue);text-underline-offset:3px}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #e39939;outline-offset:4px}h1,h2,h3{line-height:1.18;letter-spacing:-.035em}h1{font-size:clamp(30px,4.5vw,50px);margin:0 0 20px}h2{font-size:25px;margin:0 0 15px}h3{font-size:21px;margin:14px 0}p{margin:0 0 16px}hr{border:0;border-top:1px solid var(--line);margin:24px 0}.topbar{max-width:1240px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 32px;border-bottom:1px solid var(--line)}.brand{color:var(--ink);text-decoration:none;display:flex;align-items:center;gap:12px;font-weight:750;font-size:19px;line-height:1.3}.brand small{display:block;font-size:16px;font-weight:500;color:var(--muted);letter-spacing:.02em}.brand-mark{background:var(--ink);color:white;width:39px;height:39px;border-radius:12px;display:grid;place-content:center;font-size:25px;position:relative;font-family:Georgia,serif}.brand-mark span{color:#f4b86a;position:absolute;right:5px;top:0}.topbar nav{display:flex;gap:22px;flex-wrap:wrap;font-size:16px}.topbar nav a{text-decoration:none;color:var(--ink)}main{max-width:1200px;margin:auto;padding:38px 28px 70px;min-height:65vh}main:focus,h1:focus{outline:none}.hero{display:grid;grid-template-columns:1.6fr 1fr;gap:40px;align-items:center;padding:24px 0 44px}.hero h1{font-size:clamp(39px,5.1vw,63px);letter-spacing:-.045em;line-height:1.12}.hero em{font-family:Georgia,serif;color:var(--blue);font-weight:500}.hero-art{border-radius:48% 48% 28% 28%;overflow:hidden;border:1px solid var(--line);transform:rotate(-3deg)}.hero-art svg{width:100%;display:block}.eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:16px;font-weight:750;color:var(--blue);margin-bottom:16px}.lead{font-size:19px;max-width:760px;color:#485a75}.muted,.small{color:var(--muted)}.small{font-size:18px;line-height:1.65}.actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:22px 0}.button{display:inline-flex;justify-content:center;align-items:center;gap:14px;min-height:46px;border:1px solid var(--blue);border-radius:10px;background:var(--blue);color:white;padding:10px 19px;font-weight:650;text-decoration:none;font-size:18px;line-height:1.4}.button:hover{background:#204ca9}.button.quiet{background:white;color:var(--blue);border-color:#c9d6ec}.button.quiet:hover{background:#f0f5ff}.stack{display:flex;flex-direction:column;gap:12px;margin:22px 0}.how{border-block:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;padding:23px 0;margin-bottom:48px;font-size:16px}.how b{display:inline-grid;place-items:center;width:29px;height:29px;background:#e6edfa;border-radius:50%;margin-right:9px;color:var(--blue)}.topic-group{margin:44px 0}.group-title{display:flex;gap:18px;align-items:flex-start;margin-bottom:23px}.group-title>span{font:italic 36px Georgia,serif;color:#94a8c7}.group-title h2{margin-bottom:7px}.group-title p{color:var(--muted);margin:0;font-size:16px}.lesson-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.lesson-card{display:flex;flex-direction:column;border:1px solid var(--line);background:white;border-radius:16px;padding:24px;color:var(--ink);text-decoration:none;box-shadow:0 4px 14px #263e6004}.lesson-card:hover{border-color:#94b0e7;box-shadow:0 8px 24px #263e6009}.lesson-card p{color:var(--muted);font-size:16px;flex:1}.position{font-size:16px;letter-spacing:.055em;text-transform:uppercase;font-weight:750;color:var(--blue)}.lesson-status{font-size:16px;color:var(--green);line-height:1.45;border-top:1px solid var(--line);padding-top:13px;margin-top:4px;display:flex;justify-content:space-between;gap:10px}.note{border-left:3px solid #e7af63;background:#fff8ec;padding:23px 27px;border-radius:0 12px 12px 0;color:#705124;font-size:16px;margin-top:35px}.breadcrumb{font-size:16px;display:flex;gap:13px;flex-wrap:wrap;color:var(--muted);margin-bottom:27px}.lesson-head{margin:15px 0 34px}.lesson-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:25px;align-items:start}.panel{padding:28px;background:white;border:1px solid var(--line);border-radius:17px;margin-bottom:22px;min-width:0}.theory{font-size:17px}.theory li{margin-bottom:8px}.takeaway{border-left:3px solid var(--blue);padding-left:17px;background:#f7faff;margin-top:20px}.lesson-sidebar h2,.help-panel h2{font-size:21px}.lesson-sidebar p,.help-panel p{font-size:18px;line-height:1.65}.resource-list{padding-left:18px;font-size:18px;line-height:1.65}.resource-list li{margin:12px 0}.lab-svg{display:block;width:100%;max-width:100%;height:auto;min-width:0}.model-panel svg{max-width:100%;height:auto}.model-panel label{display:block;font-size:16px;font-weight:550;margin:10px 0}.model-panel input[type=range]{width:100%;accent-color:var(--blue);min-height:35px}.model-panel input[type=number],.model-panel input[type=text],.model-panel select{max-width:100%;width:150px;border:1px solid #acbdd5;border-radius:7px;padding:7px 10px;background:white;color:var(--ink)}.model-panel button{border:1px solid #bacce6;border-radius:7px;padding:9px 13px;min-height:42px;background:#f0f5ff;color:var(--ink);margin:3px}.model-panel output{color:var(--blue);font-weight:650}.model-panel [role=status]{padding:12px 0}.model-panel fieldset{border:1px solid var(--line);border-radius:10px;min-width:0}.model-panel .lab-controls{display:flex;gap:13px;flex-wrap:wrap;align-items:end}.model-panel .lab-feedback{background:#edf7f2;border-radius:8px;padding:12px}.model-panel p{overflow-wrap:anywhere}.practice-head{display:flex;align-items:flex-start;justify-content:space-between;gap:25px}.practice-head h1{font-size:34px}.text-link{font-size:16px;white-space:normal;min-width:0;max-width:100%}.practice-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:25px;align-items:start}.task-index{font-size:16px;color:var(--muted)}.task-condition{font-size:21px;border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:25px;overflow-wrap:anywhere}.task-condition p:last-child{margin-bottom:0}.step-trail{display:flex;list-style:none;padding:0;margin:24px 0;gap:10px}.step-trail li{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#eff2f8;color:var(--muted);font-size:16px}.step-trail li.current{background:var(--blue);color:white}.step-trail li.passed{background:#e5f3eb;color:var(--green)}.question{font-size:18px;margin:25px 0 16px;overflow-wrap:anywhere}.answer-label{display:block;font-size:16px;font-weight:650}.answer-label input{display:block;width:100%;max-width:400px;border:1px solid #9baec9;border-radius:9px;padding:12px 14px;font-size:19px;margin:8px 0;background:#fbfcff}.choices{border:0;padding:0;margin:0;display:grid;gap:10px}.choices label{border:1px solid var(--line);border-radius:9px;padding:13px;display:flex;gap:13px;align-items:center;cursor:pointer}.choices input{accent-color:var(--blue);width:18px;height:18px;flex-shrink:0}.choices label:has(input:checked){background:#edf3ff;border-color:var(--blue)}.feedback:empty{display:none}.feedback,.hint-box{padding:15px 18px;border-radius:9px;margin:16px 0;background:#f1f4fa;font-size:18px;line-height:1.65}.feedback.good{background:#eaf6ef;color:#135b3e}.feedback.bad{background:#fff1eb;color:#924120}.hint-box{background:#fff8e7}.hint-box p:last-child{margin:0}.mode-note{font-size:16px;color:var(--muted)}.result-panel{max-width:780px;margin:30px auto}.result-symbol{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#e3f3e9;color:var(--green);font-size:29px;margin-bottom:23px}.solution{background:#f5f7fc;border-radius:12px;padding:22px;margin:27px 0}.solution h2{font-size:20px}.repair-panel{max-width:830px;margin:30px auto}.progress-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.progress-grid h2{font-size:19px}.progress-grid .panel{margin:0}.progress-grid p{font-size:16px}progress{width:100%;height:9px;accent-color:var(--green)}footer{border-top:1px solid var(--line);padding:25px 28px;text-align:center;color:var(--muted);font-size:16px}footer p{margin:5px}.storage-warning{max-width:1150px;margin:18px auto;background:#fff2d5;border:1px solid #e1ba71;border-radius:9px;padding:15px;font-size:16px}.skip{position:absolute;top:-80px;left:20px;background:white;padding:10px;z-index:99}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}sup,sub{line-height:0}[hidden]{display:none!important}@media(max-width:960px){.lesson-grid,.progress-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lesson-layout,.practice-layout{grid-template-columns:minmax(0,1fr)}.lesson-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:20px}.hero{gap:25px}.hero h1{font-size:44px}}@media(max-width:600px){.topbar{padding:17px 18px;gap:16px;flex-wrap:wrap}.topbar nav{gap:18px;font-size:16px}main{padding:22px 16px 45px}.hero{grid-template-columns:1fr;padding:20px 0}.hero h1{font-size:42px}.hero-art{display:none}.hero .lead{font-size:17px}.how{flex-direction:column;gap:13px;margin-bottom:30px;padding:20px 0}.lesson-grid,.progress-grid,.lesson-sidebar{grid-template-columns:1fr}.lesson-card{padding:22px}.topic-group{margin:32px 0}.group-title>span{font-size:30px}.group-title h2{font-size:24px}.panel{padding:21px 17px}.practice-head{display:block}.practice-head h1{font-size:28px;margin-bottom:12px}.practice-head .text-link{display:block;margin:0 0 20px}.task-condition{font-size:19px}.lesson-head h1{font-size:31px}.actions{gap:10px}.actions>.button{flex:1 1 auto}.model-panel .lab-controls{display:block}.storage-warning{margin:12px 16px}.note{padding:18px}.breadcrumb{gap:8px;font-size:16px}.result-panel h1{font-size:31px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.theory table{width:100%;border-collapse:collapse;font-size:16px;table-layout:fixed}.theory th,.theory td{padding:9px 4px;border:1px solid var(--line);text-align:center;overflow-wrap:anywhere}.theory pre{white-space:pre-wrap}.model-panel .lab-readout{padding:12px;border-radius:9px;background:#f1f5fd}
.brand,.brand>span{min-width:0}.brand small{overflow-wrap:anywhere}.brand-mark{flex-shrink:0}.model-panel label{min-width:0!important;max-width:100%;overflow-wrap:anywhere}.model-panel input{min-width:0;max-width:100%}.model-panel .lab-readout{overflow-wrap:anywhere}.model-panel .lab-readout span{white-space:normal!important}h1,h2,h3{overflow-wrap:anywhere}

body{overflow-wrap:anywhere}.model-panel input[type=range]{margin-inline:0}.circle-lab{min-width:0}

/* A quiet, task-bound workspace for the first three exam positions. */
.first-three-head{max-width:760px;margin:24px 0 40px}.first-three-head h1{font-size:clamp(32px,4vw,52px)}.exam-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.exam-card{display:flex;flex-direction:column;border:1px solid #cfdde0;border-radius:18px;background:white;color:var(--ink);padding:28px;text-decoration:none;min-height:270px}.exam-card:hover{border-color:#176860;background:#fbfefc}.exam-card h2{margin:24px 0 14px}.exam-card p{color:var(--muted);flex:1}.exam-number{display:grid;place-items:center;background:#e9f5ef;color:#176860;border-radius:13px;width:50px;height:50px;font-size:28px;font-weight:700}.exam-open{color:#176860;font-weight:650}.first-three-note{color:var(--muted);margin:28px 0}.first-three-entry{margin-bottom:20px}.exam-head{max-width:800px;margin-bottom:40px}.exam-head .small{margin-top:10px}.topic-heading{font-size:23px}.exam-topics{display:grid;gap:14px;margin:24px 0}.exam-topic{display:grid;grid-template-columns:40px minmax(0,1fr) 170px;gap:20px;align-items:start;padding:24px;background:white;border:1px solid var(--line);border-radius:15px}.exam-topic h3{margin:0 0 9px}.exam-topic p{font-size:16px;color:var(--muted);margin-bottom:8px}.topic-number{font-size:23px;color:#869894;font-variant-numeric:tabular-nums}.topic-actions{display:grid;gap:10px;font-size:16px}.topic-actions>a{text-align:center}.focused-practice{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}.focused-practice.with-model{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.condition-panel h2{font-size:16px;color:var(--muted);letter-spacing:0;margin-bottom:12px}.condition-panel .task-condition{font-size:19px;border:0;padding:0;margin:0 0 18px;line-height:1.65}.focused-practice .panel{padding:24px}.task-kind{margin:12px 0 0}.current-step{font-size:16px;color:#176860;font-weight:700;margin:0 0 12px}.current-question .question{margin:0 0 18px;font-size:21px;line-height:1.5}.answer-label input{max-width:100%;font-size:22px;min-height:52px}.number-help{font-size:16px;color:var(--muted);margin-top:-6px}.number-help p{padding-top:12px;max-width:420px}.number-help summary,.support-details summary,.extra-help summary,#explore-lab summary{cursor:pointer;padding:8px 0;font-weight:600}.number-help summary{font-weight:400}.answer-actions,.next-actions{margin:18px 0 0}.answer-actions .button,.next-actions .button{min-height:48px}.next-actions:has([hidden]){margin:0}.support-details{border-top:1px solid var(--line);padding-top:13px;margin-top:24px;font-size:16px;color:var(--muted)}.support-details p{margin:12px 0}.solution-history{border-bottom:1px solid var(--line);margin:0 0 24px;padding:0 0 18px}.solution-history h2{font-size:16px;letter-spacing:0;color:#176860}.solution-history ol{list-style:none;padding:0;margin:0;display:grid;gap:16px}.solution-history li{display:flex;gap:12px;align-items:flex-start}.earned-number{background:#eaf4ee;color:#176860;min-width:25px;height:25px;display:grid;place-content:center;border-radius:50%;font-size:16px}.solution-history li>div{min-width:0}.solution-history p{font-size:16px;margin:0 0 4px}.solution-history strong{font-size:20px;color:#164d44;font-variant-numeric:tabular-nums}.solution-history .earned-why{font-size:16px;color:#526674;margin:4px 0 0}.result-panel .solution-history{margin-top:28px}.focused-practice #task-model{min-width:0}.profile-task-svg,.task-vector-model svg,.stereo-task-model svg{display:block;width:100%;max-width:100%;height:auto}.profile-task-model,.task-vector-model,.stereo-task-model{min-width:0;max-width:100%;font-size:16px}#task-model button{min-height:44px;max-width:100%;padding:9px 12px;border:1px solid #b8cfc7;border-radius:9px;background:#f3f9f6;color:#24574f;font-size:18px;line-height:1.4}#task-model button[aria-pressed=true]{background:#ddecdf;border-color:#54856e}#task-model button:disabled{cursor:default}#task-model p{font-size:18px;line-height:1.65}.profile-model-controls,.vector-model-controls,.stereo-model-controls{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.profile-model-note{color:var(--muted)}#task-model label{font-size:16px}#task-model input[type=range]{max-width:100%}#explore-lab>summary{margin-bottom:12px}.lesson-head .actions{margin-bottom:0}
@media(min-width:1000px){.focused-practice .condition-panel{position:sticky;top:16px}}
@media(max-width:760px){.exam-grid{grid-template-columns:1fr}.exam-card{min-height:0;padding:22px;display:grid;grid-template-columns:48px 1fr;column-gap:18px}.exam-card h2{margin:0 0 8px;font-size:23px}.exam-card p,.exam-open{grid-column:2}.exam-number{grid-row:1/4;width:44px;height:44px}.exam-topic{grid-template-columns:25px minmax(0,1fr);gap:14px;padding:20px}.topic-actions{grid-column:2;grid-template-columns:1fr;justify-items:start}.topic-actions .button{width:100%}.focused-practice.with-model{grid-template-columns:minmax(0,1fr);gap:0}.focused-practice .panel{padding:19px 15px}.condition-panel .task-condition{font-size:18px}.practice-head h1{font-size:26px}.first-three-head{margin:12px 0 26px}.first-three-head h1{font-size:34px}.exam-head h1{font-size:34px}.task-panel .question{font-size:20px}.exam-card .exam-open{font-size:16px}}
@media(max-width:380px){.exam-card{grid-template-columns:35px 1fr;gap:12px}.exam-number{width:34px;height:34px;font-size:22px}.exam-card h2{font-size:21px}}

.actions .text-link{white-space:normal;min-width:0;max-width:100%}.exam-card,.exam-topic,.topic-actions{min-width:0}

/* Optional calm view: ordinary notation and task difficulty stay unchanged. */
.topbar{flex-wrap:wrap}.topbar .brand{min-width:0;max-width:100%;overflow-wrap:anywhere}.topbar .brand>span{min-width:0}.topbar .brand-mark{flex-shrink:0}#calm-toggle{font-size:16px}
.calm-view{line-height:1.75}.calm-view main{max-width:960px}
.calm-view .hero-art,.calm-view .how{display:none}.calm-view .hero{display:block}
.calm-view .eyebrow{letter-spacing:.04em;text-transform:none;font-size:16px}
.calm-view .focused-practice.with-model{grid-template-columns:minmax(0,1fr)}
.calm-view .focused-practice .condition-panel{position:static}
.calm-view .task-condition,.calm-view .question{font-size:22px;line-height:1.65}
.calm-view .current-question{border-left:4px solid var(--blue);padding-left:18px}
.calm-view .button{min-height:48px}.calm-view .small{font-size:18px;line-height:1.65}
.calm-view .exam-grid,.calm-view .lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.calm-view .solution-history{background:#f5f8fc;padding:18px;border-radius:12px}
.earned-explanation summary{font-size:16px;cursor:pointer;min-height:44px;padding:8px 0}
.plan-support{padding:20px;background:#f4f7fc;border-radius:12px;margin-bottom:24px}
.plan-support h2,.micro-support h2{font-size:21px}.plan-support li{margin:10px 0}
.micro-support{margin-bottom:24px}.micro-support input,.micro-support select{max-width:100%;padding:10px;border:1px solid #8395af;border-radius:8px}
.micro-support form{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.micro-support li{margin:12px 0}#micro-feedback{margin-top:16px}
#checkpoint-model svg,#example-model svg{display:block;max-width:100%;height:auto}
#checkpoint-model table,#example-model table{width:100%;border-collapse:collapse;table-layout:fixed}
#checkpoint-model th,#checkpoint-model td,#example-model th,#example-model td{border:1px solid var(--line);padding:8px;overflow-wrap:anywhere}
.practice-head{flex-wrap:wrap}.practice-head>div{flex:1 1 230px}
[hidden]{display:none!important}
@media(max-width:760px){.calm-view .exam-grid,.calm-view .lesson-grid{grid-template-columns:minmax(0,1fr)}.topbar{gap:16px;padding:20px}.calm-view .current-question{padding-left:12px}.calm-view .task-condition,.calm-view .question{font-size:20px}.calm-view .exam-card .small{grid-column:2}.calm-view .exam-card .exam-number{grid-row:1/5}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Optional short entry for pupils who already have an OGE foundation. */
.readiness-entry{border-left:5px solid #285bc9;margin-bottom:26px;background:#eef4ff}
.readiness-entry h2{font-size:26px;max-width:700px}.readiness-entry p{max-width:750px}
.readiness-card{display:flex;gap:20px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:16px 0}
.readiness-card:last-of-type{border-bottom:0}.readiness-card h3{font-size:19px;margin:0 0 8px}.readiness-card p{font-size:16px;margin:0;color:var(--muted)}
.readiness-card>div{min-width:0}.readiness-card .button{flex-shrink:0}
.diagnostic-panel{max-width:760px;margin:auto}.diagnostic-panel .question{font-size:22px;margin-bottom:24px}
.task-condition svg{display:block;max-width:100%;height:auto;margin:16px auto}
.return-to-task{padding:14px 18px;background:#eaf4ee;border-radius:10px;margin-bottom:20px}
@media(max-width:480px){.readiness-card{align-items:flex-start;flex-direction:column;gap:10px}.readiness-entry h2{font-size:23px}.diagnostic-panel{padding:20px 16px}.diagnostic-panel h1{font-size:28px}}

/* The same focused workspace, now across the full first part. */
.full-course-head{margin-bottom:28px}.full-course-head .button{white-space:normal}
.full-course-grid{gap:16px}.full-course-grid .exam-card{min-height:225px;padding:22px;position:relative}
.full-course-grid .exam-card h2{font-size:23px;margin:18px 0 10px;line-height:1.3}
.full-course-grid .exam-card p{font-size:16px;margin-bottom:12px}
.course-card-status{color:var(--muted);margin-bottom:12px}
.inequalities-entry{margin-top:30px;max-width:850px}.inequalities-entry p{max-width:680px}
.plain-steps{padding-left:24px}.plain-steps li{padding:5px 0;line-height:1.65}
.course-table-wrap{max-width:100%;overflow:auto}.course-numbering{width:100%;border-collapse:collapse;font-size:16px}
.course-numbering th,.course-numbering td{border-bottom:1px solid var(--line);padding:12px 8px;text-align:left}
.course-numbering th{background:#eef5f2}.course-numbering td:first-child{min-width:140px}
#task-model table{width:100%;border-collapse:collapse;font-size:16px;table-layout:fixed}
#task-model th,#task-model td{padding:9px 5px;border:1px solid var(--line);overflow-wrap:anywhere;text-align:center}
#task-model svg{max-width:100%;height:auto;display:block}
#task-model details{margin:14px 0}#task-model summary{cursor:pointer;min-height:44px;padding:10px 0}
#task-model .earned-line{color:#176860;background:#eff7f2;padding:10px;border-radius:8px}
@media(max-width:760px){.full-course-grid .exam-card{min-height:0}.full-course-grid .exam-card h2{margin:0 0 8px;font-size:22px}.full-course-grid .course-card-status{grid-column:2}.full-course-grid .exam-number{grid-row:1/5}.full-course-grid .exam-open{grid-column:2}.full-course-grid .exam-card p{margin-bottom:8px}.course-numbering{font-size:16px}.inequalities-entry{padding:20px}}

/* Exam tasks come first; prerequisite help appears when it is needed. */
.exam-card-actions{display:grid;gap:12px;margin-top:18px;align-content:start}.exam-card-actions .button{color:#fff;text-align:center;white-space:normal}.exam-card-actions>a:not(.button){font-size:16px}.difficulty-help{border:1px solid var(--line);border-radius:12px;background:#f7fafc;padding:20px;margin:20px 0}.difficulty-help h2{font-size:20px}.difficulty-help p{font-size:16px}.difficulty-help p:last-child{margin-top:14px;margin-bottom:0}
@media(max-width:760px){.exam-card-actions{grid-column:2}.exam-card-actions .button{font-size:18px}.difficulty-help{padding:16px}}

/* These three ratio tasks reveal an explanation only when help is requested. */
#task-model .profile-trig-explanation .profile-task-svg{max-height:320px}
#task-model .profile-trig-explanation .profile-model-note{font-size:18px}
.profile-trig-walkthrough{margin-top:20px;border-top:1px solid var(--line);padding-top:20px}
.profile-trig-walkthrough[hidden]{display:none}
.profile-trig-walkthrough ol{list-style:none;padding:0;margin:0;display:grid;gap:18px}
.profile-trig-step{min-width:0;background:#f3f8f5;border:1px solid #ceded5;border-radius:12px;padding:18px}
.profile-trig-step h3{font-size:20px;line-height:1.4;margin:0 0 14px;color:#164d44}
#task-model .profile-trig-step p{font-size:18px;line-height:1.6;margin:12px 0 0;overflow-wrap:anywhere}
#task-model .profile-trig-step .profile-trig-formula{font-weight:650;color:#164d44}
#task-model .profile-trig-step .profile-trig-ratio{display:flex;align-items:center;gap:.4em}
.profile-trig-equality{flex:none;white-space:nowrap}
.profile-trig-fraction{display:inline-grid;grid-template-columns:minmax(0,1fr);flex:0 1 auto;min-width:0;text-align:center;line-height:1.4}
.profile-trig-numerator,.profile-trig-denominator{padding:.2em .3em;overflow-wrap:normal}
.profile-trig-denominator{border-top:2px solid currentColor}
#task-model .profile-trig-step .profile-trig-proportion{display:flex;align-items:center;gap:.3em}
.profile-trig-crossbox{position:relative;display:grid;place-items:center;flex:0 0 56px;height:64px}
.profile-trig-cross{display:block;width:56px;height:64px}
.profile-trig-crossbox>span{position:absolute;background:#f3f8f5;line-height:1;padding:0 3px}
.profile-trig-diagonal-a{color:#b42318}.profile-trig-diagonal-b{color:#5f6368}
.profile-trig-proportion .profile-trig-denominator{border-color:#164d44}
#task-model .profile-trig-explanation button{font-size:17px;white-space:normal;min-height:48px}
#task-model .profile-trig-explanation button:focus-visible{outline:3px solid #176860;outline-offset:3px}
#task-model [data-trig-next]{margin-top:18px}
#task-model [data-trig-next][aria-disabled=true]{background:#f2f4f3;color:#53635c;border-color:#ced5d1;cursor:default}
@media(max-width:420px){.profile-trig-step{padding:14px}.profile-trig-step h3{font-size:19px}}

/* A worked solution stays beside the same task, one revealed action at a time. */
.profile-solution{min-width:0;max-width:100%;margin-top:20px}
.profile-solution button{max-width:100%;min-height:48px;white-space:normal;text-align:left;line-height:1.45}
.profile-solution button:focus-visible{outline:3px solid #176860;outline-offset:3px}
.profile-solution-panel{margin-top:20px;border-top:1px solid var(--line);padding-top:20px}
.profile-solution-panel ol{list-style:none;padding:0;margin:0;display:grid;gap:18px}
.profile-solution-step{min-width:0;border:1px solid #ceded5;border-radius:12px;background:#f3f8f5;padding:18px}
.profile-solution-step h3{font-size:20px;line-height:1.5;margin:0 0 14px;color:#164d44}
.profile-solution-step p,.profile-solution-step>div{font-size:18px;line-height:1.65;margin:12px 0 0;overflow-wrap:anywhere}
.profile-solution-step>div>p:first-child{margin-top:0}
.profile-solution-formula{font-weight:650;color:#164d44}
.profile-solution-fraction{display:inline-grid;grid-template-columns:minmax(0,1fr);vertical-align:middle;min-width:0;max-width:100%;text-align:center;line-height:1.35;margin-inline:.12em}
.profile-solution-numerator,.profile-solution-denominator{padding:.18em .25em;overflow-wrap:anywhere}
.profile-solution-denominator{border-top:2px solid currentColor}
.profile-solution-ratio,.profile-solution-proportion{display:flex;align-items:center;gap:.3em;min-width:0}
.profile-solution-ratio{flex-wrap:wrap}
.profile-solution-proportion>.profile-solution-fraction{flex:0 1 auto}
.profile-solution-equality{min-width:0;overflow-wrap:anywhere}
.profile-solution-crossbox{position:relative;display:grid;place-items:center;flex:0 0 56px;height:64px}
.profile-solution-cross{display:block;width:56px;height:64px}
.profile-solution-crossbox>span{position:absolute;background:#f3f8f5;line-height:1;padding:0 3px}
.profile-solution-extreme{color:#b42318}.profile-solution-mean{color:#5f6368}
.profile-solution-proportion .profile-solution-denominator{border-color:#164d44}
.profile-solution [data-solution-next]{margin-top:18px}
.profile-solution [data-solution-next][aria-disabled=true]{background:#f2f4f3;color:#53635c;border-color:#ced5d1;cursor:default}
#result-model{min-width:0;max-width:100%}
#result-model svg{display:block;max-width:100%;height:auto}
#result-model button{min-height:44px;max-width:100%;white-space:normal}
@media(max-width:420px){.profile-solution-step{padding:14px}.profile-solution-step h3{font-size:19px}.profile-solution-step p,.profile-solution-step>div{font-size:18px}.result-panel .solution{padding:14px}}

/* Focused school-topic panel inside an existing public trainer. */
.course-help .topbar,.course-help footer,.course-help .breadcrumb{display:none}
.course-help main{max-width:none;margin:0;padding:20px}
.course-help h1{font-size:clamp(24px,4vw,34px)}

/* Readable help captions link directly to the current worked solution. */
.task-help-link{display:inline-flex;align-items:center;min-height:44px;max-width:100%;padding:8px 0;font-size:18px;font-weight:650;line-height:1.6;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px;overflow-wrap:anywhere}
.task-help-link:hover{text-decoration-thickness:2.5px}
.task-help-link:focus-visible{outline:3px solid #176860;outline-offset:4px;border-radius:3px}
.profile-solution .profile-solution-title,.profile-trig-walkthrough .profile-solution-title{font-size:22px;line-height:1.45;letter-spacing:0;color:#164d44;margin:0 0 18px}
.profile-solution-panel,.profile-trig-walkthrough{scroll-margin-block:24px}
.profile-solution-panel:focus,.profile-trig-walkthrough:focus,.profile-solution-title:focus{outline:3px solid #176860;outline-offset:5px;border-radius:4px}
#task-model .profile-model-note,#example-model .profile-model-note,#checkpoint-model .profile-model-note,#result-model .profile-model-note{font-size:18px;line-height:1.65}
.number-help summary,.support-details summary,.extra-help summary,#explore-lab summary{min-height:44px}
.profile-model-note:focus{outline:3px solid #176860;outline-offset:5px;border-radius:4px;scroll-margin-block:24px}
