/* Readable, continuous exam sheets. Native engines remain mounted for grading. */
[data-pv-native="1"]{display:none!important}
body.pv-exam{margin:0;background:#f5f7f4;color:#202d25;font:19px/1.75 system-ui,-apple-system,"Segoe UI",sans-serif}
.pv-shell{max-width:1440px;margin:0 auto;padding:22px 28px 70px;box-sizing:border-box}
.pv-shell *{box-sizing:border-box}
.pv-shell h1{font:650 clamp(28px,4vw,42px)/1.3 system-ui;margin:24px 0 12px}.pv-shell h2{font:650 23px/1.45 system-ui;margin:0 0 18px}.pv-shell h3{font:650 20px/1.5 system-ui;margin:18px 0 12px}
.pv-shell p{margin:12px 0 20px}.pv-intro,.pv-scroll-note{color:#526259}.pv-nav{display:flex;flex-wrap:wrap;gap:12px 24px}.pv-nav a{color:#176747;text-decoration:underline;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}
.pv-controls{display:flex;flex-wrap:wrap;align-items:end;gap:14px;margin:24px 0}.pv-controls label{display:grid;gap:7px}.pv-controls details{width:100%}
.pv-condition,.pv-question,.pv-reference{background:#fff;border:1px solid #d4dfd6;border-radius:14px;padding:24px}
.pv-condition{margin:22px 0 26px}.pv-condition:empty{display:none}
/* Cloned native descriptions carry small .problem-text/.descbody sizes.
   Normalize prose in every variant without changing diagrams or headings. */
.pv-shell .pv-condition,.pv-shell .pv-condition :where(div,p,span,b,strong,em,i,li,small,a){font-size:19px;line-height:1.75}
.pv-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.pv-reference{position:sticky;top:12px;max-height:calc(100vh - 24px);overflow:auto;scrollbar-gutter:stable;min-width:0}
.pv-task-stream{display:grid;gap:26px;min-width:0}.pv-question{min-width:0;scroll-margin-top:18px}.pv-question-condition{margin-bottom:22px}.pv-question-condition>div>p:first-child{margin-top:0}
.pv-answer-form{display:flex;flex-wrap:wrap;gap:16px;align-items:end;margin:22px 0}.pv-field{display:grid;gap:9px;flex:1 1 180px;min-width:0}.pv-field>span{font-weight:600;line-height:1.6}
.pv-shell input:not([type=range]),.pv-shell select,.pv-shell textarea{font:inherit;color:#203b2c;background:white;border:1.5px solid #8ea697;border-radius:8px;padding:11px 13px;min-height:48px;max-width:100%;width:100%}.pv-shell textarea{min-height:120px;resize:vertical}
.pv-shell button,.pv-shell summary{font:600 18px/1.45 system-ui;min-height:46px;cursor:pointer}.pv-shell button{border:1px solid #8db69d;border-radius:8px;padding:11px 16px;background:#e9f3ec;color:#155b3b;white-space:normal}.pv-shell .pv-check{background:#216b48;border-color:#216b48;color:white}.pv-shell button:disabled{opacity:.65;cursor:wait}.pv-shell summary{padding:12px 4px;color:#176747}
.pv-shell :is(button,input,select,textarea,a,summary):focus-visible{outline:3px solid #377ec3;outline-offset:3px}
.pv-feedback{flex-basis:100%;font-weight:600;line-height:1.7}.pv-feedback:empty{display:none}.pv-correct{color:#176747}.pv-incorrect{color:#a23928}
.pv-help{margin:18px 0 0}.pv-help-panel{margin-top:16px;border-top:1px solid #d7e3da;padding:16px 0 0}.pv-help-panel[hidden]{display:none!important}.pv-help-panel details{margin:16px 0;border:1px solid #d7e3da;border-radius:9px;padding:6px 14px}.pv-help-panel .pm-content{padding:6px 0 12px}.pv-help-panel .pd-first-step{font-size:19px}.pv-help-panel .pd-note{font-size:17px}.pv-help-panel .pd-control{font-size:18px}.pv-help-panel input[type=range]{width:100%;min-height:44px}
.pv-table-scroll,.pv-figure-scroll{width:100%;max-width:100%;overflow:auto;overscroll-behavior-x:contain}.pv-figure-scroll svg{display:block;max-width:none;width:100%;height:auto;min-width:520px}.pv-figure-large svg{min-width:850px!important}.pv-zoom{margin-top:12px}.pv-scroll-note{font-size:16px!important;margin:8px 0 20px!important}
.pv-shell table{border-collapse:collapse;width:100%;margin:14px 0;font-size:18px;line-height:1.65}.pv-shell th,.pv-shell td{border:1px solid #c7d7cc;padding:10px 12px;text-align:center;vertical-align:middle}.pv-shell th{background:#edf4ee;font-weight:650}.pv-shell td input{min-width:95px}.pv-tables{margin-top:24px}.pv-shell small{font-size:17px}.pv-shell .frac,.pv-shell .pm-fraction{display:inline-flex;flex-direction:column;vertical-align:middle;text-align:center;line-height:1.1;margin:0 .2em}.pv-shell .frac>:first-child,.pv-shell .pm-fraction>:first-child{border-bottom:1.5px solid currentColor;padding:0 .25em .15em}.pv-shell .frac>:last-child,.pv-shell .pm-fraction>:last-child{padding:.15em .25em 0}
.pv-shell .pv-subtype{display:grid;gap:8px;margin:0 0 18px}.pv-shell .pv-subtype select{width:100%}
@media(max-width:900px){.pv-workspace{grid-template-columns:1fr}.pv-reference{position:static;max-height:none;overflow:visible}.pv-shell{max-width:800px}}
@media(max-width:480px){.pv-shell{padding:14px 12px 46px}.pv-condition,.pv-question,.pv-reference{padding:17px 14px}.pv-shell h2{font-size:22px}.pv-answer-form{gap:12px}.pv-field{flex-basis:100%}.pv-controls{display:grid}.pv-shell button{max-width:100%}.pv-help-panel details{padding:5px 7px}.pv-help-panel .pm-content{padding:5px 0}.pv-shell .pd-picture{margin-left:-4px;margin-right:-4px}.pv-shell td,.pv-shell th{padding:9px}.pv-shell .pv-check{width:100%}}
@media(prefers-reduced-motion:reduce){.pv-shell *{scroll-behavior:auto!important;transition:none!important}}

.pv-shell figure{margin:0}.pv-shell figcaption{font-size:17px;line-height:1.6;margin:10px 0 18px}
.pv-shell th,.pv-shell td{font-size:18px}.pv-shell .pv-question-condition,.pv-shell .pv-question-condition .q{font-size:19px;line-height:1.75}.pv-shell .refnote,.pv-shell .note{font-size:18px;line-height:1.75}
.pv-shell .pd-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}.pv-shell .pd-control{min-width:0;display:grid;grid-template-columns:1fr auto;align-content:start;gap:8px;margin:8px 0}.pv-shell .pd-control>input,.pv-shell .pd-control>select{grid-column:1/-1;width:100%;min-height:48px;margin:0}.pv-shell .pd-control>output{font-weight:700;margin:0;font-variant-numeric:tabular-nums}.pv-shell .pd-action{min-height:48px;text-align:left;white-space:normal}.pv-shell .pd-action[aria-pressed=true]{background:#176747;color:white}.pv-shell .pd-picture{overflow:auto;max-width:100%;margin:20px auto;overscroll-behavior:contain}.pv-shell .pd-picture svg{display:block;width:100%;min-width:360px;height:auto;max-height:none;margin:0}.pv-shell .pd-picture.pd-picture-zoomed{max-height:390px;border:1px solid #b7d0bf}.pv-shell .pd-picture.pd-picture-zoomed svg{width:640px;max-width:none}.pv-shell .pd-reading{padding:14px 0;font-size:18px;line-height:1.8;min-height:2em}.pv-shell .pd-table{width:100%;table-layout:fixed;margin:18px 0}.pv-shell .pd-table th,.pv-shell .pd-table td{padding:6px;text-align:center}.pv-shell .pd-table button{display:block;width:100%;min-height:48px;padding:8px 2px}.pv-shell .pd-unsuitable{text-decoration:line-through;opacity:.6}.pv-shell .pd-return{margin-top:18px}.pv-shell .pm-model-step{margin:14px 0;padding:10px 0;border-bottom:1px solid #d7e3da}.pv-shell .pv-native-help{overflow-wrap:anywhere}.pv-shell .pm-table-scroll{max-width:100%;overflow:auto}
@media(max-width:600px){.pv-shell .pd-controls{grid-template-columns:1fr}.pv-shell .pd-table th,.pv-shell .pd-table td{padding:4px}.pv-shell .pd-picture{margin:18px 0}}
.pv-shell .pv-givens{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.pv-shell .pv-givens .g{padding:10px 14px;background:#edf4ee;border-radius:8px}.pv-shell .pv-givens .k{font-size:18px}.pv-shell .pv-givens .v{font-weight:650}
