/* Public teacher UI only. Original student/assignment paths stay unmodified. */
html body.apps-preview.place-value-practice-page .place-stage,
html body.apps-preview.place-value-practice-page .place-question,
html body.apps-preview.place-value-practice-page .place-work,
html body.apps-preview.place-value-practice-page .place-feedback,
html body.apps-preview.hundreds-practice-page .practice-head,
html body.apps-preview.hundreds-practice-page .practice-layout,
html body.apps-preview.hundreds-practice-page .practice-stage,
html body.apps-preview.hundreds-practice-page .chart-wrap,
html body.apps-preview.hundreds-practice-page .practice-answer,
html body.apps-preview.hundreds-practice-page .practice-prompt,
html body.apps-preview.hundreds-practice-page .practice-start-panel{border-width:2px!important;box-shadow:none!important}
html body.apps-preview.place-value-practice-page .place-stage,
html body.apps-preview.hundreds-practice-page .practice-layout{border:0!important;padding:0!important;gap:8px!important}
html body.apps-preview.place-value-practice-page .place-work h2{font-size:16px!important;font-weight:400!important}
html body.apps-preview.place-value-practice-page .place-question h2{font-size:20px!important;font-weight:500!important}
html body.apps-preview.place-value-practice-page .place-feedback{font-size:14px!important;font-weight:400!important}
html body.apps-preview.place-value-practice-page .dmr-answer-pad{border:0!important;padding:0!important}
html body.apps-preview.place-value-practice-page .dmr-answer-pad__keys{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important}
html body.apps-preview.place-value-practice-page .dmr-answer-pad__key{width:auto!important;min-width:0!important;min-height:44px!important;white-space:normal!important;padding:4px!important;font-size:14px!important}
html body.apps-preview.hundreds-practice-page .practice-prompt h2,
html body.apps-preview.hundreds-practice-page .practice-answer h2{font-size:18px!important;font-weight:500!important}
html body.apps-preview.hundreds-practice-page button{text-transform:none!important;min-height:44px!important}
html body.apps-preview.hundreds-practice-page .practice-focus-number{font-size:28px!important;line-height:1.2!important;min-height:44px!important;padding:4px!important}
html body.apps-preview.hundreds-practice-page .practice-start-panel>p{display:none!important}
@media(max-width:600px){
 html body.apps-preview.place-value-practice-page .place-head,
 html body.apps-preview.hundreds-practice-page .practice-head{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important;padding:0 0 8px!important}
 html body.apps-preview.place-value-practice-page .place-head h1,
 html body.apps-preview.hundreds-practice-page .practice-head h1{font-size:24px!important;line-height:1.1!important;flex:1!important;min-width:0!important;margin:0!important}
 html body.apps-preview.place-value-practice-page .place-head-actions,
 html body.apps-preview.hundreds-practice-page .practice-head-actions{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;width:94px!important;min-width:94px!important;gap:6px!important}
 html body.apps-preview.hundreds-practice-page .practice-score{font-size:12px!important;font-weight:400!important;line-height:1.2!important;min-height:0!important;width:100%!important;padding:4px!important}
 html body.apps-preview.place-value-practice-page .apps-preview-strip,
 html body.apps-preview.hundreds-practice-page .apps-preview-strip{gap:8px!important;margin-block:0!important}
 html body.apps-preview.place-value-practice-page .place-question,
 html body.apps-preview.place-value-practice-page .place-work{padding:8px!important;gap:6px!important;min-height:0!important}
 html body.apps-preview.place-value-practice-page .place-question-visual{min-height:74px!important;padding:0!important}
 html body.apps-preview.place-value-practice-page .place-answer-row{padding:0!important;gap:6px!important}
 html body.apps-preview.place-value-practice-page .place-feedback{padding:6px!important}
 html body.apps-preview.hundreds-practice-page .practice-stage{padding:0!important;border:0!important}
 html body.apps-preview.hundreds-practice-page .chart-wrap{max-width:270px!important;margin-inline:auto!important;padding:0!important}
 html body.apps-preview.hundreds-practice-page .practice-answer{padding:6px!important;gap:6px!important}
 html body.apps-preview.hundreds-practice-page .practice-prompt{display:flex!important;align-items:center!important;gap:8px!important;padding:6px!important;min-height:0!important}
 html body.apps-preview.hundreds-practice-page .practice-prompt>div:first-child{flex:1!important}
 html body.apps-preview.hundreds-practice-page .practice-prompt .practice-focus-number{width:auto!important;min-width:50px!important}
 html body.apps-preview.hundreds-practice-page .practice-start-panel{padding:6px!important;min-height:0!important}
 html body.apps-preview.hundreds-practice-page .self-check-actions{gap:6px!important}
}
html body.apps-preview.place-value-practice-page main.place-practice > #practiceStage{border:0!important;padding:0!important;gap:8px!important}
html body.apps-preview.place-value-practice-page .dmr-answer-pad__key--unit{font-size:12px!important;letter-spacing:-.2px!important}
@media(max-width:600px){
 html body.apps-preview.place-value-practice-page #questionVisual{min-height:48px!important}
 html body.apps-preview.place-value-practice-page #questionVisual .highlight-number{font-size:36px!important;line-height:1.1!important}
 html body.apps-preview.hundreds-practice-page .chart-wrap{width:270px!important;height:294px!important;max-width:100%!important;min-height:294px!important;container-type:size!important}
 html body.apps-preview.hundreds-practice-page .practice-chart{width:264px!important;max-width:100%!important;height:264px!important;aspect-ratio:1!important}
}
html body.apps-preview.place-value-practice-page #dmrIssueReporter{position:static!important;inset:auto!important}
html body.apps-preview.place-value-practice-page #dmrIssueReporterButton{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;border-width:2px!important}
html body.apps-preview.place-value-practice-page .place-head h1{font-size:24px!important}
html body.apps-preview.place-value-practice-page .place-feedback:has(.place-answer-display:not(:has(.place-answer-display__visual))){display:flex!important;align-items:baseline!important;justify-content:space-between!important;gap:6px!important}
html body.apps-preview.place-value-practice-page .place-answer-display:not(:has(.place-answer-display__visual)){display:flex!important;align-items:baseline!important;gap:6px!important}
html body.apps-preview.place-value-practice-page .place-answer-display strong{font-size:16px!important}
html body.apps-preview.place-value-practice-page #submitButton,html body.apps-preview.place-value-practice-page #nextButton{min-height:44px!important;font-size:14px!important}
@media(min-width:800px){
 html body.apps-preview.hundreds-practice-page .practice-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important}
 html body.apps-preview.hundreds-practice-page .practice-stage{grid-column:1!important;grid-row:1!important;padding:8px!important}
 html body.apps-preview.hundreds-practice-page .practice-answer{grid-column:2!important;grid-row:1!important;padding:8px!important;gap:6px!important}
 html body.apps-preview.hundreds-practice-page .chart-wrap{width:430px!important;height:460px!important;max-width:100%!important;container-type:size!important}
 html body.apps-preview.hundreds-practice-page .practice-chart{width:min(420px,100%)!important;height:420px!important;aspect-ratio:1!important}
}
@media(max-width:600px){
 html body.apps-preview.place-value-practice-page .apps-preview-frame{padding:8px!important;gap:6px!important}
 html body.apps-preview.place-value-practice-page .place-question,html body.apps-preview.place-value-practice-page .place-work{padding:6px!important;gap:4px!important}
 html body.apps-preview.place-value-practice-page .place-head h1{font-size:22px!important}
}
html body.apps-preview.place-value-practice-page .place-work:has(#feedbackPanel.is-correct) #submitButton{display:none!important}
html body.apps-preview.place-value-practice-page .place-feedback:has(.place-answer-display:not(:has(.place-answer-display__visual))){flex-direction:row!important;flex-wrap:wrap!important}
html body.apps-preview.hundreds-practice-page .practice-answer:has(#answerForm:not([hidden])) #answerText{display:none!important}
@media(max-width:600px){
 html body.apps-preview.hundreds-practice-page .answer-pad{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;padding:4px!important;border-width:2px!important}
 html body.apps-preview.hundreds-practice-page .answer-pad__key{min-height:44px!important;padding:4px!important;border-width:2px!important}
 html body.apps-preview.hundreds-practice-page .answer-pad__key--enter{grid-column:auto!important}
 html body.apps-preview.hundreds-practice-page .practice-head h1{font-size:20px!important}
 html body.apps-preview.hundreds-practice-page .practice-head{border:0!important;padding-bottom:4px!important}
 html body.apps-preview.hundreds-practice-page .apps-preview-frame{padding:8px!important;gap:6px!important}
 html body.apps-preview.hundreds-practice-page .practice-prompt h2{font-size:16px!important}
}
html body.apps-preview.place-value-practice-page .place-work button{min-height:44px!important;font-size:14px!important}
@media(max-width:600px){
 html body.apps-preview.place-value-practice-page #questionVisual .mab-blocks{gap:6px!important;justify-content:space-between!important}
 html body.apps-preview.place-value-practice-page #questionVisual .mab-group{gap:3px!important}
 html body.apps-preview.place-value-practice-page #questionVisual .mab-group:nth-child(1){flex:0 0 138px!important;max-width:138px!important}
 html body.apps-preview.place-value-practice-page #questionVisual .mab-group:nth-child(2){flex:0 0 62px!important;max-width:62px!important}
 html body.apps-preview.place-value-practice-page #questionVisual .mab-group:nth-child(3){flex:0 0 44px!important;max-width:44px!important}
 html body.apps-preview.place-value-practice-page #questionVisual .mab-review-block[data-type="hundred"]{width:44px!important;height:44px!important}
 html body.apps-preview.place-value-practice-page #questionVisual .mab-review-block[data-type="ten"]{width:60px!important;height:14px!important}
 html body.apps-preview.place-value-practice-page #questionVisual .mab-review-block[data-type="one"]{width:20px!important;height:20px!important}
}
@media(max-width:600px){
 /* The selected task is already in the toolbar; retain the full question. */
 html body.apps-preview.place-value-practice-page #taskLabel{display:none!important}
 html body.apps-preview.place-value-practice-page #feedbackPanel.is-waiting{display:none!important}
}
@media(max-width:600px){
 html body.apps-preview.hundreds-practice-page .answer-pad{grid-template-columns:repeat(5,minmax(0,1fr))!important}
 html body.apps-preview.hundreds-practice-page .answer-pad__key--enter{grid-column:span 3!important}
 html body.apps-preview.hundreds-practice-page .practice-prompt .practice-focus-number{font-size:22px!important;min-height:32px!important}
 html body.apps-preview.hundreds-practice-page .practice-prompt{padding:4px!important;gap:4px!important}
 html body.apps-preview.hundreds-practice-page .practice-answer{padding:4px!important;gap:4px!important}
 html body.apps-preview.hundreds-practice-page .answer-form{gap:4px!important}
 html body.apps-preview.hundreds-practice-page .answer-slots{min-height:32px!important;height:32px!important;padding:2px!important}
 html body.apps-preview.hundreds-practice-page .practice-head-actions{width:164px!important;min-width:164px!important;flex-wrap:nowrap!important;gap:4px!important}
 html body.apps-preview.hundreds-practice-page .practice-score{width:auto!important;white-space:normal!important;max-width:68px!important}
 html body.apps-preview.hundreds-practice-page .practice-head h1{font-size:18px!important}
 html body.apps-preview.hundreds-practice-page .chart-wrap{width:246px!important;height:270px!important;min-height:270px!important}
 html body.apps-preview.hundreds-practice-page .practice-chart{width:240px!important;height:240px!important}
 html body.apps-preview.hundreds-practice-page .practice-chart__cell{font-size:11px!important}
}
@media(max-width:600px){
 /* The question names the task; the complete numbered chart shows its range. */
 html body.apps-preview.hundreds-practice-page .apps-preview-summary,html body.apps-preview.hundreds-practice-page .chart-meta{display:none!important}
 html body.apps-preview.hundreds-practice-page .chart-wrap{width:270px!important;height:268px!important;min-height:268px!important;grid-template-rows:1fr!important}
 html body.apps-preview.hundreds-practice-page .practice-chart{width:264px!important;height:264px!important}
 html body.apps-preview.hundreds-practice-page .practice-chart__cell{font-size:12px!important}
 html body.apps-preview.hundreds-practice-page .answer-slots{height:auto!important;min-height:44px!important;padding:2px!important}
 html body.apps-preview.hundreds-practice-page .practice-layout{gap:4px!important}
}
@media(max-width:600px){html body.apps-preview.hundreds-practice-page .apps-preview-frame{gap:4px!important}html body.apps-preview.hundreds-practice-page .answer-pad{margin:0!important}html body.apps-preview.hundreds-practice-page .practice-feedback{font-weight:500!important}}
@media(max-width:600px){
 html body.apps-preview.hundreds-practice-page .answer-slots{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;gap:4px!important;scrollbar-width:thin}
 html body.apps-preview.hundreds-practice-page .answer-slot{flex:1 0 44px!important;min-width:44px!important;min-height:44px!important}
}
@media(max-width:600px){html body.apps-preview.hundreds-practice-page .apps-preview-frame{padding:6px!important;gap:3px!important}}
