:root{--landscape-letter-height:720px;--landscape-a4-height:720px;--landscape-letter-width:931.7647058824px;--landscape-a4-width:1018.2857142857px;--landscape-letter-print-scale:1.1333333333;--landscape-a4-print-scale:1.1023622047}.worksheet-frame[data-rotate]{width:min(100%,var(--landscape-letter-width))}.worksheet-frame[data-rotate][data-paper=a4]{width:min(100%,var(--landscape-a4-width))}.worksheet-frame[data-rotate] .worksheet{width:var(--landscape-letter-width);height:var(--landscape-letter-height)}.worksheet-frame[data-rotate] .worksheet[data-paper=a4]{width:var(--landscape-a4-width);height:var(--landscape-a4-height)}.worksheet-frame[data-rotate] .worksheet[data-presentation=arithmetic][data-mode=drill]:is([data-count="20"],[data-count="30"],[data-count="50"]) .arithmetic-problems{grid-template-columns:repeat(5,minmax(0,1fr))}.worksheet-frame[data-rotate] .worksheet[data-presentation=arithmetic][data-mode=drill][data-format=stacked]:is([data-count="20"],[data-count="30"],[data-count="50"]) .arithmetic-problems{grid-template-columns:repeat(7,minmax(0,1fr))}.worksheet-frame[data-rotate] .worksheet[data-presentation=arithmetic][data-format=stacked]:is([data-count="20"],[data-count="30"],[data-count="50"]) .arithmetic-problems{grid-template-columns:repeat(5,minmax(0,1fr))}.worksheet-frame[data-rotate] .worksheet[data-presentation=arithmetic][data-format=stacked][data-count="4"] .arithmetic-problems:not([data-grid]){grid-template-columns:repeat(2,minmax(0,1fr))}.worksheet-frame[data-rotate] .worksheet[data-presentation=arithmetic][data-format=stacked][data-count="6"] .arithmetic-problems:not([data-grid]){grid-template-columns:repeat(3,minmax(0,1fr))}.worksheet-frame[data-rotate] .worksheet[data-presentation=arithmetic][data-format=stacked][data-count="8"] .arithmetic-problems:not([data-grid]){grid-template-columns:repeat(4,minmax(0,1fr))}.worksheet-frame[data-rotate] .worksheet[data-presentation=arithmetic][data-format=stacked][data-count="10"]:not([data-operations~=divide]) .arithmetic-problems:not([data-grid]){grid-template-columns:repeat(5,minmax(0,1fr))}.worksheet-frame[data-rotate] .worksheet[data-presentation=arithmetic][data-format=stacked][data-count="10"] .stacked-equation{font-size:max(14px, .82em)}.worksheet-frame[data-rotate] .worksheet[data-presentation=arithmetic] .arithmetic-problems{row-gap:10px}.worksheet-frame[data-rotate] .worksheet[data-presentation=arithmetic][data-format=stacked] .arithmetic-problem{padding-block:6px}.worksheet-frame[data-rotate] .worksheet[data-presentation=arithmetic][data-format=horizontal] .arithmetic-problem{padding-bottom:8px}.worksheet-frame[data-rotate] .worksheet .problem-number{width:29px;height:29px;font-size:.68rem}.worksheet-frame[data-rotate] .worksheet[data-mode=drill] .answer-blank{min-width:28px}.worksheet-frame[data-rotate] .worksheet[data-presentation=arithmetic][data-mode=drill] .arithmetic-problems{column-gap:14px}.worksheet-frame[data-rotate] .worksheet[data-type=column-addsub][data-count="10"] .arithmetic-problems:not([data-grid]){grid-template-columns:repeat(4,minmax(0,1fr))}.worksheet-frame[data-rotate] .worksheet.answer-key .key-grid{grid-template-columns:repeat(5,minmax(0,1fr));font-size:.78em;line-height:1.25;row-gap:6px}.worksheet-frame[data-rotate] .worksheet.answer-key .key-item{white-space:nowrap}.worksheet-frame[data-rotate] .worksheet.answer-key .key-day{margin-top:6px;font-size:.68rem}.worksheet-frame[data-rotate] .worksheet.answer-key[data-type=factors] .key-grid,.worksheet-frame[data-rotate] .worksheet.answer-key[data-type=gcf] .key-grid,.worksheet-frame[data-rotate] .worksheet.answer-key[data-type=lcm] .key-grid,.worksheet-frame[data-rotate] .worksheet.answer-key[data-type=multiples] .key-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.worksheet-frame[data-rotate] .worksheet .tracker-path{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}.worksheet-frame[data-rotate] .worksheet .tracker-stop:last-child:nth-child(odd){grid-column:auto}.worksheet-frame[data-rotate] .worksheet[data-category=geometry] .arithmetic-problems.geo-cols-5{--geo-cols:5}.worksheet-frame[data-rotate] .worksheet[data-presentation=arithmetic]:not([data-category=geometry]) .arithmetic-problems[data-grid="60"]{grid-template-columns:repeat(60,minmax(0,1fr));column-gap:0}.worksheet-frame[data-rotate] .worksheet[data-presentation=arithmetic]:not([data-category=geometry]) .arithmetic-problems[data-grid="60"]>.arithmetic-problem{grid-column:span var(--span,60);padding-inline:10px}.worksheet-frame[data-rotate] .worksheet[data-type=multiples] .equation{line-height:1.18}.worksheet-frame[data-rotate] .worksheet[data-presentation=arithmetic]:not([data-category=geometry]) .arithmetic-problems[data-grid="60"] :is(.stacked-equation,.column-worked){font-size:min(2rem, var(--fit-size))}@media print{.worksheet-frame[data-rotate],html[data-rotate],html[data-rotate] #worksheets,html[data-rotate] body{width:11in}.worksheet-frame[data-rotate]{height:8.5in!important}.worksheet-frame[data-rotate] .worksheet{transform:scale(var(--landscape-letter-print-scale));transform-origin:top left}.worksheet-frame[data-rotate][data-paper=a4],html[data-rotate][data-paper=a4],html[data-rotate][data-paper=a4] #worksheets,html[data-rotate][data-paper=a4] body{width:297mm}.worksheet-frame[data-rotate][data-paper=a4]{height:210mm!important}.worksheet-frame[data-rotate] .worksheet[data-paper=a4]{transform:scale(var(--landscape-a4-print-scale))}}