.question figure{margin:20px auto;text-align:center;max-width:100%;overflow-x:auto}.question figure svg{max-width:100%;height:auto}.question figure .face{fill:#f2efff;stroke:#6555e8;stroke-width:1.5}.question figure .hole{fill:white;stroke:#6555e8;stroke-width:1.5}.question figure .ln{fill:none;stroke:#6555e8;stroke-width:2}.question figure .ax{fill:none;stroke:#8590a9;stroke-width:1.2}.question figure .dash{fill:none;stroke:#8590a9;stroke-dasharray:4 3}.question figure .dot{fill:#6555e8}.question figure text{font:12px Arial;fill:#253451}.question figure .it{font-style:italic}.question figure .ns{font:12px Arial;color:#8490a7}.question .scroll{max-width:100%;overflow-x:auto}.question table.data{border-collapse:collapse;margin:16px 0}.question table.data td{border:1px solid #dce2ed;padding:8px 11px;font:14px Arial}.part-title .row{display:contents}.part-title .row>span{display:inline}.part-title .row.sub{display:block}.part-title .row.sub .lab{font-weight:700}.arc-solution-step{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:9px 0;border-bottom:1px solid #e7e6f0}.arc-solution-step strong{white-space:nowrap;color:#6555e8}.arc-solution-step .katex{font-size:1em}
.arc-solution-alternative{margin-top:12px;border:1px solid #e2e0f2;border-radius:10px;padding:10px 14px}.arc-solution-alternative summary{cursor:pointer;color:#5345c6;font-weight:700}.arc-solution-method{margin-top:14px}.arc-solution-method>strong{display:block;font-size:13px;margin-bottom:6px;color:#56627a}

.question figure .shade{fill:#f2efff;stroke:none}

.part-title .row.sub .lab{margin-right:.35em}

/* Keep ordered single-row datasets visible; multi-row tables retain their layout. */
@media(max-width:600px){:is(.question,.sample-teaser) table.data:not(:has(tr + tr)){display:block;width:100%;min-width:0}:is(.question,.sample-teaser) table.data:not(:has(tr + tr)) tbody{display:block}:is(.question,.sample-teaser) table.data:not(:has(tr + tr)) tr{display:flex;flex-wrap:wrap;gap:6px}:is(.question,.sample-teaser) table.data:not(:has(tr + tr)) td{display:block;min-width:36px;text-align:center;border-radius:6px;padding:8px;box-sizing:border-box}}

/* Data introduced between question parts needs the same containment as stem tables. */
.question table.data th{border:1px solid #dce2ed;padding:8px 11px;font:700 14px Arial;text-align:left;background:#f5f3ff}
.part-title .scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.part-title table.data{border-collapse:collapse;margin:16px 0}
.part-title table.data :is(th,td){border:1px solid #dce2ed;padding:8px 11px;font:14px Arial;text-align:center}
.part-title table.data th{font-weight:700;background:#f5f3ff}

/* Imported Physics stems and choices use their own markup. Keep option letters
   separate from their answers and restore the same contrast as plain stems. */
.question .stem p{color:var(--ink)}
.question ol.mcq{list-style:none;margin:20px 0;padding:0;display:grid;gap:10px;counter-reset:none}
.question ol.mcq>li{display:grid;grid-template-columns:2rem minmax(0,1fr);align-items:center;gap:12px;min-height:34px;line-height:1.5}
.question ol.mcq>li>.ol{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:1px solid #d8d1f3;border-radius:7px;background:#f3f0ff;color:#4936ae;font-weight:750}
.question ol.mcq>li>span:last-child{min-width:0;overflow-wrap:anywhere}
.question ol.mcq .katex{font-size:1em}
.question ol.mcq>li.physics-selected-option{background:#f2efff;box-shadow:inset 0 0 0 1px #a99de5;border-radius:10px;padding:7px 9px}
.question table.mcq tr.physics-selected-option{background:#f2efff}
.physics-choice-part .part-title,.physics-choice-part .field,.physics-choice-part .answer-box,.physics-choice-part .answer-preview,.physics-choice-part .math-help,.physics-choice-part .math-toolbar,.physics-choice-part .math-symbols,.physics-choice-part .answer-upload,.physics-choice-part .part-check{display:none!important}
.physics-choice-buttons{margin:18px 0 8px}.physics-choice-buttons>strong{display:block;margin-bottom:10px;font-size:15px;color:var(--ink)}.physics-choice-buttons>div{display:flex;flex-wrap:wrap;gap:10px}.physics-choice-button{display:inline-grid;place-items:center;width:52px;height:48px;border:1.5px solid #a99de5;border-radius:10px;background:#f5f2ff;color:#4936ae;font-size:17px;font-weight:750;transition:background .15s,border-color .15s,transform .15s}.physics-choice-button:hover{background:#e9e3ff;transform:translateY(-1px)}.physics-choice-button[aria-checked="true"]{background:#5e49db;color:#fff;border-color:#5e49db;box-shadow:0 3px 10px #5e49db33}.physics-choice-button:focus-visible{outline:3px solid #ac9aff;outline-offset:3px}
/* Keep imported diagrams legible without stretching them across wide questions. */
figure.arc-import-diagram,.question figure.arc-import-diagram{width:100%;max-width:500px;margin:20px auto}
figure.arc-import-diagram svg{display:block;max-width:100%;height:auto}
@media(max-width:600px){
 .question :is(table.data,table.grid) :is(th,td),
 .part-title :is(table.data,table.grid) :is(th,td){font-size:16px;line-height:1.5}
 .question .scroll,.part-title .scroll{scrollbar-width:thin}
}
/* Narrow screens need an explicit cue when a data table has more columns. */
@media(max-width:600px){.question .scroll:has(table)::before,.sample-teaser .scroll:has(table)::before{content:"Swipe sideways to see the full table →";display:block;width:max-content;max-width:100%;padding:4px 0 7px;color:#5140bd;font:600 13px/1.4 Arial,sans-serif}}
