.edition-tabs{display:grid;grid-template-columns:1fr;gap:5px;margin-bottom:14px}.edition-tabs a{padding:11px 8px;border:1px solid #c8dbd5;background:white;border-radius:7px;text-decoration:none;color:#426159;font-size:13px;text-align:center;font-weight:bold}.edition-tabs [aria-current]{background:#176e5c;color:white}.drill-grades,.drill-terms{display:flex;gap:4px;margin:12px 0}.drill-grades button,.drill-terms button{flex:1;border:1px solid #c8dbd5;border-radius:6px;padding:9px 3px;background:white;font-size:12px}.drill-grades [aria-pressed=true],.drill-terms [aria-pressed=true]{background:#176e5c;color:white}#drill-unit{width:100%;padding:12px 5px;border:1px solid #c8dbd5;border-radius:7px;margin-top:6px}.drill-help{font-size:11px;line-height:1.7;color:#607970}.groups details{margin:9px 0}.groups summary{padding:12px;background:#e7efeb;border-radius:6px;cursor:pointer;font-weight:bold}.groups summary small{float:right}.drill-choice{display:block;width:100%;border:1px solid #d2e3df;background:white;text-align:left;border-radius:7px;margin:6px 0;padding:11px 9px}.drill-choice strong{font-size:12px;display:block}.drill-choice small{font-size:11px;display:block;margin-top:6px;color:#647f75}.drill-choice[aria-pressed=true]{border:2px solid #21816b;background:#edf8f3}.drill-theme{width:95px;flex-shrink:0}.drill-theme svg{width:100%;display:block}.paper.drill-sheet{width:186mm;max-width:none;height:250mm;min-height:250mm;max-height:250mm;padding:0;border:0;display:flex;flex-direction:column;box-shadow:none;background:white;overflow:visible}.drill-sheet .sheet-hero{min-height:23mm;margin:3mm 0;padding:3mm;border-radius:3mm}.drill-sheet .sheet-hero h2{font-size:17px;margin:4px 0}.drill-sheet .instructions{font-size:10px;margin:0;line-height:1.5}.drill-sheet .paper-top{font-size:9px}.drill-sheet .fields{padding-bottom:3mm;flex-shrink:0}.drill-sheet .problems{grid-template-columns:repeat(var(--cols),minmax(0,1fr));grid-template-rows:repeat(var(--rows),minmax(0,1fr));gap:2mm;min-height:0;margin-top:3mm}.drill-sheet .problem{height:auto;min-height:0;padding:4mm 2mm 1mm;overflow:visible}.drill-sheet .number{top:1mm;left:1mm;font-size:8px;line-height:12px;height:12px;width:12px}.drill-sheet .expression{font-size:16px;margin:0 4px 0 0;display:inline-block}.drill-sheet .answer{font-size:15px}.drill-sheet .fraction{font-size:13px}.drill-sheet .vertical{font-size:22px;width:80px;line-height:1.25}.drill-sheet .finish-line{margin-top:2mm;flex-shrink:0}.drill-sheet .paper-footer{font-size:8px;min-height:6mm;margin-top:2mm;padding-top:2mm;flex-shrink:0}.drill-solution{color:#c62828;font-weight:700}.drill-prompt{font-size:12px;line-height:1.7;word-break:keep-all}.drill-response{min-height:7mm;margin-top:2mm;border-bottom:1px solid #b3c5ca}.drill-solution small{font-size:10px;line-height:1.5}.drill-equation{font-size:17px;line-height:1.5}.drill-box{display:inline-flex;border:1px solid #90a7b4;border-radius:4px;min-width:28px;min-height:26px;align-items:center;justify-content:center;padding:1px 3px}.digit-vertical{text-align:right;font:22px/1.45 monospace;width:max-content;margin:auto}.digit-rule{border-bottom:1px solid #456}.digit-cell,.digit-box{display:inline-block;width:17px;text-align:center}.digit-box{border:1px solid #7d99aa;border-radius:3px}.digit-division{font:19px/1.6 monospace;text-align:center}.digit-quotient{text-align:right;padding-right:8px}.dividend-digits{border-top:1px solid #456;border-left:1px solid #456;padding-left:4px}.dot-groups{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.dot-groups>span{border:1px solid #9ebfc0;border-radius:8px;padding:3px;color:#238775;font-size:10px;max-width:85px}.drill-sheet .concealed{visibility:hidden}
@media screen{.layout>section{overflow-x:auto;padding:5px}.paper.drill-sheet{margin:0 auto}.drill-sheet{outline:12px solid white}.layout{grid-template-columns:300px minmax(0,1fr);max-width:1260px}.right-ad{display:none}}
@media(max-width:760px){.groups{display:block;overflow:visible}.layout{display:block}.layout>section{overflow-x:auto}.drill-sheet{transform-origin:top left}.toolbar{min-width:0}}
@media print{.paper.drill-sheet{outline:0}.drill-theme{width:25mm}.drill-sheet .problem{min-height:0}.drill-sheet .problems{grid-template-columns:repeat(var(--cols),minmax(0,1fr))}}

.drill-sheet .sheet-hero>.drill-theme{flex:0 0 95px;width:95px}.drill-sheet .sheet-hero{height:26mm;max-height:26mm}.drill-sheet .sheet-hero h2{font-size:16px!important;line-height:1.3}.drill-sheet .sheet-hero .instructions{font-size:10px}.drill-sheet .worked{font-size:20px;line-height:1.3}.drill-sheet .paper-top{min-height:5mm}

@media print{.paper.drill-sheet{zoom:1!important}}

.drill-sheet .division-answer-line{display:block;white-space:nowrap;margin-top:3px;line-height:1.3}

/* Make the worked example the primary menu label. */
.drill-choice .drill-example{font-size:23px;line-height:1.4;font-weight:750;color:#193f50;overflow-wrap:anywhere}.drill-choice .drill-description{font-size:11px;line-height:1.5;font-weight:400;color:#647f75;margin-top:7px}.drill-choice{padding:13px 10px}
/* US printable writing spaces. */
.drill-sheet .answer{
  display:inline-flex;
  box-sizing:border-box;
  width:12mm;
  min-width:12mm;
  height:9mm;
  min-height:9mm;
  align-items:center;
  justify-content:center;
  border:1px solid #64838b;
  border-radius:1mm;
  vertical-align:middle;
  background:#fff;
  line-height:1;
}
.drill-sheet .answer.concealed{visibility:visible;color:transparent}
.drill-sheet .vertical .result{
  box-sizing:border-box;
  min-width:12mm;
  min-height:9mm;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}
.drill-sheet .worked.multiplication .working>div:last-child{
  box-sizing:border-box;
  min-width:12mm;
  min-height:9mm;
  display:flex;
  align-items:center;
  justify-content:flex-end;
}
.drill-sheet .worked.multiplication .working.concealed>div:last-child{
  visibility:visible;
  color:transparent;
  border-top:1.5px solid #64838b;
}
.drill-sheet .drill-box{
  box-sizing:border-box;
  min-width:12mm;
  min-height:9mm;
}
