/* Student-only visual candidate. Original grading, recording and mode code is unchanged. */
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean{padding:84px 12px 12px!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .infoandapp{width:min(100%,1240px)!important;max-width:1240px!important;height:auto!important;max-height:none!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean main.container{border:2px solid #212121!important;padding:18px!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;display:block!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .heading{border-bottom:1.5px solid #212121!important;gap:14px!important;padding-bottom:14px!important;margin-bottom:14px!important;flex-wrap:wrap!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .heading h1{font-size:clamp(24px,3vw,32px)!important;font-weight:400!important;line-height:1.2!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .heading .activity-identity{width:auto!important;min-width:0!important;flex:1!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean button,html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean input,html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean fieldset,html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .dmr-answer-pad,html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .times-tables-options,html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .times-tables-answer-panel,html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .times-tables-equation-panel,html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .question{border-width:1.5px!important;border-radius:0!important;box-shadow:none!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean button{font-weight:400!important;text-transform:none!important;min-height:44px!important;font-size:15px!important;padding:8px 12px!important;line-height:1.2!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .times-tables-heading-actions{gap:8px!important;align-items:center!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .dmr-issue-reporter__button{position:static!important;width:44px!important;height:44px!important;padding:9px!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .times-tables-issue-slot{position:static!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .student-settings{margin-bottom:16px;background:#fff2df;border:1.5px solid #212121;padding:0 12px}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .student-settings summary{padding:12px 0;cursor:pointer;font-size:14px;min-height:44px;box-sizing:border-box}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .times-tables-options{border:0!important;background:transparent!important;padding:0 0 12px!important;margin:0!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean fieldset{border:0!important;padding:0!important;background:transparent!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean legend{font-size:13px!important;font-weight:400!important;text-transform:none!important;margin-bottom:6px}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .times-tables-option-strip{gap:16px!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .times-tables-workspace{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(300px,370px)!important;gap:18px!important;align-items:stretch!important;height:auto!important;min-height:0!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .times-tables-equation-panel{display:grid!important;place-content:center;background:#edf8fc!important;min-height:280px!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .question{border:0!important;background:transparent!important;font-size:clamp(32px,4.5vw,56px)!important;font-weight:400!important;min-height:0!important;gap:10px!important;flex-wrap:nowrap!important;padding:16px!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean #displayquestion .dmr-answer-pad-display{border:1.5px solid #212121!important;font-size:40px!important;font-weight:400!important;min-width:90px!important;width:100px!important;min-height:60px!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .times-tables-answer-panel{background:transparent!important;border:0!important;padding:0!important;min-height:0!important;height:auto!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .dmr-answer-pad{border:0!important;padding:0!important;width:100%!important;background:transparent!important;margin:0!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .dmr-answer-pad__keys{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean button.dmr-answer-pad__key{font-size:22px!important;min-height:54px!important;background:#bde7fb!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean #enterRow{width:100%!important;gap:8px!important;margin-top:8px!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean #enterRow button{flex:1!important;font-size:16px!important;min-height:48px!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean #submit{background:#d1e8ca!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .feedback{font-size:17px!important;font-weight:400!important;min-height:28px!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .times-tables-feedback-space{margin-top:8px!important;min-height:36px!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .times-tables-selected-summary{font-size:13px!important;font-weight:400!important;border-width:1.5px!important}
@media(max-width:700px){html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean{padding:84px 10px 10px!important}html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean main.container{padding:12px!important}html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .heading{gap:8px!important;margin-bottom:10px!important;padding-bottom:10px!important}html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .times-tables-workspace{grid-template-columns:1fr!important;gap:12px!important}html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .times-tables-equation-panel{min-height:120px!important}html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .question{font-size:32px!important;padding:12px!important}html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean #displayquestion .dmr-answer-pad-display{font-size:30px!important;min-width:70px!important;width:76px!important;min-height:48px!important}html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean button.dmr-answer-pad__key{min-height:48px!important;font-size:20px!important}html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .student-settings{margin-bottom:12px}html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .times-tables-heading-actions{width:100%!important}html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .times-tables-option-strip{flex-direction:column!important;align-items:stretch!important}}

@media(max-width:700px){html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .heading{display:flex!important;flex-direction:column!important;align-items:stretch!important}html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .activity-identity{width:100%!important}html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .heading h1{font-size:26px!important}}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .container button.dmr-answer-pad__key,html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean #timesTablesIssueSlot button,html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean #fullscreenButton,html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean #timesTablesShareButton{border:1.5px solid #212121!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .heading nav,html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .heading .dmr-breadcrumbs{display:none!important}
/* Keep student-only saved progress and return controls independently tappable. */
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .heading .activity-identity{flex:1 1 300px!important;min-width:min(100%,300px)!important;flex-wrap:wrap!important;gap:8px!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean #timesTablesSavedProgress{flex:0 0 44px!important;width:44px!important;min-width:44px!important;height:44px!important;padding:8px!important;justify-content:center!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean #timesTablesSavedProgress .progress-label{display:none!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean #timesTablesSavedProgress .progress-icon{width:22px!important;height:22px!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean #timesTablesReturnLink{border-width:1.5px!important;font-weight:400!important;font-size:14px!important;min-height:44px!important;max-width:100%!important}
@media(max-width:700px){html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .heading .activity-identity{flex:0 0 auto!important;min-width:0!important}html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .activity-identity h1{flex:1 1 150px!important;white-space:normal!important}}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .times-tables-expression{flex-wrap:nowrap!important;white-space:nowrap!important;gap:8px!important}
@media(max-width:360px){html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean #displayquestion{font-size:26px!important;gap:8px!important;padding:10px!important}html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean #displayquestion .dmr-answer-pad-display{font-size:28px!important;min-width:60px!important;width:60px!important}}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean.times-tables-fullscreen-active{padding:0!important}
html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .infoandapp:fullscreen,html.dmr-student-tables-clean body.student-tables-clean.student-tables-clean .infoandapp:-webkit-full-screen{width:100%!important;height:100%!important;max-width:none!important;overflow:auto!important;background:#fffcf0!important;padding:8px!important}

/* Compact timed practice: retain original controls and timing handlers. */
html.dmr-student-tables-clean body.student-tables-clean #timedRunModal{padding:16px!important;overflow:auto!important;align-items:center!important}
html.dmr-student-tables-clean body.student-tables-clean #timedRunModal .times-tables-modal__panel{width:min(580px,100%)!important;max-width:100%!important;min-width:0!important;max-height:calc(100dvh - 32px)!important;padding:20px!important;border:2px solid #212121!important;background:#fffcf0!important;gap:16px!important;box-shadow:none!important;overscroll-behavior:contain}
html.dmr-student-tables-clean body.student-tables-clean #timedRunModal :is(h2,legend,label,strong,button){text-transform:none!important}
html.dmr-student-tables-clean body.student-tables-clean #timedRunModal .times-tables-modal__header{flex-wrap:nowrap!important;gap:16px!important}
html.dmr-student-tables-clean body.student-tables-clean #timedRunModal h2{font:400 24px/1.3 Verdana,sans-serif!important}
html.dmr-student-tables-clean body.student-tables-clean #timedRunPanel{border:0!important;padding:0!important;background:transparent!important;gap:16px!important;min-width:0!important}
html.dmr-student-tables-clean body.student-tables-clean #timedRunModal .times-tables-timed-panel__intro{font:400 14px/1.5 Verdana,sans-serif!important;display:block!important}
html.dmr-student-tables-clean body.student-tables-clean #timedRunModal .times-tables-timed-panel__intro strong{display:none}
html.dmr-student-tables-clean body.student-tables-clean #timedRunModal .times-tables-timed-options{grid-template-columns:1fr 1fr!important;gap:16px!important;min-width:0}
html.dmr-student-tables-clean body.student-tables-clean #timedRunModal fieldset{min-width:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html.dmr-student-tables-clean body.student-tables-clean #timedRunModal .times-tables-choice-group--tables{grid-column:1/-1}
html.dmr-student-tables-clean body.student-tables-clean #timedRunModal legend{padding:0 0 8px!important;font:400 14px/1.4 Verdana,sans-serif!important}
html.dmr-student-tables-clean body.student-tables-clean #timedRunModal .times-tables-selected-summary{border:0!important;padding:0 0 8px!important;background:none!important}
html.dmr-student-tables-clean body.student-tables-clean #timedTableButtons{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important;min-width:0!important}
html.dmr-student-tables-clean body.student-tables-clean #timedRunModal button{box-sizing:border-box!important;border:2px solid #212121!important;border-radius:0!important;background:#fff!important;font:400 14px/1.3 Verdana,sans-serif!important;padding:8px!important;min-height:44px!important;min-width:0!important;box-shadow:none!important;max-width:100%!important}
html.dmr-student-tables-clean body.student-tables-clean #timedTableButtons button{width:100%!important;height:44px!important}
html.dmr-student-tables-clean body.student-tables-clean #timedRunModal button[aria-pressed=true]{background:#d1e8ca!important}
html.dmr-student-tables-clean body.student-tables-clean #timedRunModal .times-tables-choice-row{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
html.dmr-student-tables-clean body.student-tables-clean #timedRunModal .times-tables-timed-controls{display:grid!important;grid-template-columns:1fr!important;gap:16px!important}
html.dmr-student-tables-clean body.student-tables-clean #timedRunModal .times-tables-timed-name{min-width:0!important;font:400 14px/1.4 Verdana,sans-serif!important;gap:6px!important}
html.dmr-student-tables-clean body.student-tables-clean #timedStudentName{border:2px solid #212121!important;background:#fff!important;min-height:44px!important;font:400 16px/1.3 Verdana,sans-serif!important}
html.dmr-student-tables-clean body.student-tables-clean #timedRunModal .times-tables-timed-actions{display:flex!important;justify-content:flex-end!important;gap:8px!important}
html.dmr-student-tables-clean body.student-tables-clean #timedRunModal :is(#startTimedRunButton,#retryTimedRunButton){background:#d1e8ca!important}
html.dmr-student-tables-clean body.student-tables-clean #timedRunModalClose{flex:0 0 44px!important;width:44px!important;height:44px!important;display:grid!important;place-items:center!important;padding:0!important}
html.dmr-student-tables-clean body.student-tables-clean #timedRunModalClose svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2}
@media(max-width:420px){html.dmr-student-tables-clean body.student-tables-clean #timedRunModal{padding:12px!important}html.dmr-student-tables-clean body.student-tables-clean #timedRunModal .times-tables-modal__panel{padding:14px!important;max-height:calc(100dvh - 24px)!important}html.dmr-student-tables-clean body.student-tables-clean #timedTableButtons{grid-template-columns:repeat(4,minmax(0,1fr))!important}html.dmr-student-tables-clean body.student-tables-clean #timedRunModal .times-tables-timed-options{gap:12px!important}}
