/* Unit-scoped screen layout. Physical print geometry follows approved §7. */
#page-quiz[data-tao-active] #answer-zone{display:block;width:100%;max-width:100%;min-width:0}
#page-quiz[data-tao-active] .question-card{min-width:0;max-width:100%}
#page-quiz[data-tao-active] #question-text{font-size:1.1rem;line-height:1.6;overflow-wrap:anywhere}
#page-quiz[data-tao-active] #feedback{display:block;box-sizing:border-box;width:100%;white-space:normal;font-size:1rem;line-height:1.6;overflow-wrap:anywhere}
#page-quiz[data-tao-active] #feedback.has-text{height:auto;min-height:46px;padding:8px 0;overflow:visible}
#page-quiz[data-tao-active] button{min-height:44px;min-width:44px;white-space:normal}
#page-quiz[data-tao-active] #hint-area p{margin:6px 0;line-height:1.6}
.tao-representations{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start;width:100%;margin:10px 0}
.tao-representations section{min-width:0}.tao-representations h3{font-size:1rem;margin:6px 0;font-weight:600;line-height:1.5}
.tao-table{border-collapse:collapse;table-layout:fixed;font-family:var(--font-learning),sans-serif;text-align:center}
.tao-screen-table{width:100%;font-size:1rem;line-height:1.3;margin:8px 0}
.tao-screen-table th,.tao-screen-table td{border:1.5px solid #333;height:42px;padding:3px 2px;vertical-align:middle;text-align:center;font-weight:400;white-space:nowrap}
.tao-screen-table th{font-weight:600}.tao-screen-table col:first-child{width:27%}.tao-screen-table col{width:24.333%}
.tao-diagram{display:block;width:100%;max-width:330px;height:auto;margin:8px auto;font-family:var(--font-learning),sans-serif;font-size:2.6px}
.tao-diagram[data-tao-surface="SURF-040-FIG-ALT-AFTER"]{font-size:2.05px}
.tao-key,.tao-input-guide{font-size:.9rem;line-height:1.6;text-align:left;margin:8px 0;white-space:normal;overflow-wrap:anywhere}
.tao-response{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:16px 0;font-size:1rem}
.tao-response button{font:600 1.25rem var(--font-learning),sans-serif;padding:8px 16px;border:2px solid #666;border-radius:6px;background:white;color:#222}
.tao-response button[aria-pressed="true"]{border:3px solid #125bad;background:#e5f1ff;outline:2px solid #125bad;outline-offset:2px}
.tao-response button:disabled,.tao-response input:disabled{opacity:1;-webkit-text-fill-color:#222}
.tao-response label{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center}
.tao-response input{width:100px;min-width:44px;height:48px;text-align:center;font:600 1.25rem var(--font-learning),sans-serif;padding:4px 8px;border:2px solid #666;border-radius:5px;box-sizing:border-box}
.tao-response [aria-invalid="true"]{border-color:#a32620}
.tao-explanation{font-size:.95rem;line-height:1.65;text-align:left;margin:14px 0;padding-top:10px;border-top:2px solid #5a755f}.tao-explanation p{margin:8px 0}
.tao-card-focus,.tao-lesson-focus{font-size:.9rem;line-height:1.6;margin:6px 0}
#lesson-card-content .calc-row:has([data-tao-example-answer]){display:block;white-space:normal;line-height:1.7;font-size:1rem}
[data-tao-example],[data-tao-example-answer],[data-tao-example-prompt]{display:block;margin:12px 0}
@media(max-width:640px){.tao-representations{grid-template-columns:1fr}.tao-diagram{max-width:280px}#page-quiz[data-tao-active] .question-card{padding:12px 8px!important}#page-quiz[data-tao-active] #submit-bar{position:static;box-shadow:none;border-top:0;padding:8px 14px calc(8px + env(safe-area-inset-bottom,0px))}#page-quiz[data-tao-active] .quiz-page{padding-bottom:16px}}
#page-print:has(#pr-sheet[data-unit="two_attribute_overlap_table2_3"]){overflow-x:auto;max-width:100%;padding:12px}
#page-print:has(#pr-sheet[data-unit="two_attribute_overlap_table2_3"]) .pr-preview-scroll{overflow-x:auto;max-width:100%;padding:12px}
#pr-sheet[data-unit="two_attribute_overlap_table2_3"],.tao-sheet[data-unit="two_attribute_overlap_table2_3"]{box-sizing:border-box!important;width:210mm!important;min-width:210mm!important;max-width:none!important;height:297mm!important;min-height:297mm!important;padding:10mm!important;margin:12px auto!important;transform:none!important;background:white!important;color:black!important;text-align:left!important}
#pr-sheet[data-unit="two_attribute_overlap_table2_3"] > :not(#pr-problems),.tao-pdf-clone > :not(#pr-problems){display:none!important}
#pr-sheet[data-unit="two_attribute_overlap_table2_3"] #pr-problems,.tao-pdf-clone #pr-problems{display:block!important;margin:0!important;padding:0!important;width:190mm!important;max-width:190mm!important;gap:0!important}
.tao-print-page{box-sizing:border-box!important;width:190mm!important;height:272mm!important;color:#000!important;background:#fff!important;font-family:'BIZ UDPGothic','Atkinson Hyperlegible',sans-serif}
.tao-print-page[lang="en"]{font-family:'Atkinson Hyperlegible','BIZ UDPGothic',sans-serif}
.tao-print-head{display:block!important;position:static!important;top:auto!important;left:auto!important;right:auto!important;width:190mm!important;max-width:190mm!important;background:white!important;color:black!important;box-shadow:none!important;border:0!important;border-radius:0!important;z-index:auto!important;height:46mm!important;box-sizing:border-box;padding:0!important;margin:0!important}
.tao-print-head h1{box-sizing:border-box!important;font-size:14.2pt!important;line-height:5.8mm!important;height:7mm!important;font-weight:700!important;text-align:center!important;margin:0 0 1mm!important;padding:0!important;white-space:nowrap!important;border:1.5pt solid #666!important;border-radius:0!important;background:#ffffcc!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
.tao-print-head p{font-size:12.7pt!important;line-height:5.8mm!important;max-height:23.3mm!important;margin:1mm 0 0!important;padding:0!important;white-space:normal!important;font-weight:400!important}
.tao-print-head .pp-field-label{font-size:12.6pt!important}
.tao-print-questions{height:194mm!important;display:grid!important;grid-template-columns:92mm 92mm!important;gap:6mm!important;margin:0!important;padding:0!important;align-items:start}
.tao-print-column{display:grid!important;grid-template-rows:repeat(5,38.8mm)!important;gap:0!important;width:92mm!important}
.tao-print-question{display:flex!important;gap:4mm!important;align-items:center!important;height:38.8mm!important;width:92mm!important;break-inside:avoid!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
.tao-print-left{width:45mm!important;flex:none!important}
.tao-print-number{font-size:12.7pt!important;line-height:6mm!important;height:6mm!important;white-space:nowrap!important}
.tao-print-table{border-collapse:collapse!important;border-spacing:0!important;table-layout:fixed!important;width:45mm!important;height:17.6mm!important;font-size:10.2pt!important;line-height:1!important;margin:0!important;padding:0!important;border:.3mm solid #333!important}
.tao-print-table col:first-child{width:12mm!important}.tao-print-table col:not(:first-child){width:11mm!important}
.tao-print-table tr,.tao-print-table td,.tao-print-table th{box-sizing:border-box!important;border:.3mm solid #333!important;padding:0!important;text-align:center!important;vertical-align:middle!important;height:4.4mm!important;background:white!important;color:black!important;font-weight:400!important;font-size:10.2pt!important;line-height:1!important;white-space:nowrap!important}
.tao-print-ansrow{font-size:12.7pt!important;line-height:8.5mm!important;height:8.5mm!important;margin:1.5mm 0 0!important;padding:0!important;white-space:pre!important}
.tao-print-diagram{display:block!important;width:35mm!important;min-width:35mm!important;height:26mm!important;max-width:none!important;margin:0!important;font-size:3.25px!important;flex:none!important}
.tao-print-answers{margin:0!important;padding:0!important;height:32mm!important;break-inside:avoid!important}
.tao-print-answers hr.pr-dashed{box-sizing:content-box!important;display:block!important;width:100%!important;height:0!important;padding:0!important;border:0!important;border-top:2pt dashed #aaa!important;margin:0 0 1mm!important}
.tao-print-answers h2{font-size:12.7pt!important;line-height:6mm!important;height:6mm!important;font-weight:600!important;margin:0!important;padding:0!important;text-align:left!important}
.tao-print-answer-columns{display:grid!important;grid-template-columns:92mm 92mm!important;gap:6mm!important}
.tao-print-answer{font-size:10.2pt!important;height:4.2mm!important;line-height:4.2mm!important;white-space:nowrap!important;overflow:visible!important}
.tao-pdf-clone{margin:0!important;box-shadow:none!important}
@media print{#page-print:has(#pr-sheet[data-unit="two_attribute_overlap_table2_3"]){overflow:visible!important;padding:0!important;max-width:none!important}#pr-sheet[data-unit="two_attribute_overlap_table2_3"]{width:190mm!important;min-width:190mm!important;max-width:190mm!important;height:277mm!important;min-height:277mm!important;margin:0!important;padding:0!important;box-shadow:none!important;break-after:avoid!important}#pr-sheet[data-unit="two_attribute_overlap_table2_3"] #pr-problems{display:block!important;grid-template-columns:none!important}}
