.preview-banner{padding:8px 16px;text-align:center;background:#d8cfe7;color:#212121;font:13px/1.4 Verdana,sans-serif;border-bottom:2px solid #212121}.preview-setup-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;margin-bottom:12px;font:15px/1.5 Verdana,sans-serif}.preview-setup-strip button,#previewOptionsDialog button{font-weight:400!important;text-transform:none!important;border:2px solid #212121;min-height:44px;color:#212121;background:#fffcf0;padding:8px 14px;cursor:pointer;border-radius:0}.preview-setup-strip button{display:flex;align-items:center;gap:8px;background:#d1e8ca;flex-shrink:0}.preview-setup-strip svg{width:22px;height:22px;fill:#d1e8ca;stroke:#212121;stroke-width:2}#previewOptionsDialog{box-sizing:border-box;width:min(640px,calc(100% - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:22px;border:2px solid #212121;border-radius:0;background:#fffcf0;color:#212121;font:15px/1.5 Verdana,sans-serif}#previewOptionsDialog::backdrop{background:#21212165}#previewOptionsDialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}#previewOptionsDialog h2{font:400 24px/1.3 Verdana,sans-serif;margin:0}#previewOptionsDialog .preview-hint{margin:10px 0 22px}#previewOptionsDialog #timesTablesOptions{margin:0;padding:0;border:0;box-shadow:none;background:transparent}#previewOptionsDialog .times-tables-option-strip{display:flex;flex-direction:column;align-items:stretch;gap:20px}#previewOptionsDialog fieldset{min-width:0;width:100%;box-sizing:border-box}#previewOptionsDialog legend{font-weight:400;text-transform:none}#previewOptionsDialog .times-tables-table-summary{justify-content:space-between}#previewOptionsDialog .times-tables-table-picker{position:static;box-sizing:border-box;margin:16px 0 0;padding:12px;width:100%;max-width:100%}#previewOptionsDialog button[aria-pressed=true]{background:#d1e8ca}#previewOptionsDialog .preview-extras{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px;padding-top:18px;border-top:2px solid #d8cfe7}#previewOptionsDialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px;font-size:12px}#previewOptionsDialog #previewDone{background:#d1e8ca}#previewOptionsDialog .dmr-action-icon{width:20px;height:20px}#previewOptionsDialog #previewClose{font-size:24px;line-height:24px;width:44px;padding:6px}#previewOptionsDialog button:focus-visible{outline:3px solid #315c9a;outline-offset:3px}@media(max-width:480px){.preview-setup-strip{font-size:12px}.preview-banner{font-size:11px}#previewOptionsDialog{padding:16px}#previewOptionsDialog footer span{max-width:150px}}
/* Preview applies the approved light-stroke treatment to this representative app. */
body.times-tables-practice-page.dmr-times-clean .container,body.times-tables-practice-page.dmr-times-clean button,body.times-tables-practice-page.dmr-times-clean input,body.times-tables-practice-page.dmr-times-clean .times-tables-equation-panel,body.times-tables-practice-page.dmr-times-clean .times-tables-answer-panel,body.times-tables-practice-page.dmr-times-clean .heading,body.times-tables-practice-page.dmr-times-clean [data-dmr-answer-pad]{border-width:2px!important}body.times-tables-practice-page.dmr-times-clean button,body.times-tables-practice-page.dmr-times-clean .heading h1{font-weight:400!important;text-transform:none!important}body.times-tables-practice-page.dmr-times-clean .heading h1{font-size:clamp(24px,3vw,36px)!important}body.times-tables-practice-page.dmr-times-clean .preview-setup-strip button{border-width:2px!important;background:#d1e8ca!important;font-size:16px!important}.preview-setup-strip{margin-bottom:0!important;padding:4px 0!important}
html body.times-tables-practice-page.dmr-times-clean #previewOptionsDialog button,html body.times-tables-practice-page.dmr-times-clean #previewOptionsDialog fieldset,html body.times-tables-practice-page.dmr-times-clean #previewOptionsDialog .times-tables-selected-summary,html body.times-tables-practice-page.dmr-times-clean #previewOptionsDialog .times-tables-table-picker{border-width:2px!important;font-weight:400!important;text-transform:none!important}html body.times-tables-practice-page.dmr-times-clean #previewOptionsDialog #timesTableButtons{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important;min-width:0!important;overflow:visible!important;gap:8px!important}html body.times-tables-practice-page.dmr-times-clean #previewOptionsDialog #timesTableButtons button{min-width:0!important;width:100%!important;height:44px!important;min-height:44px!important;padding:4px!important;font-size:18px!important}html body.times-tables-practice-page.dmr-times-clean #previewOptionsDialog .times-tables-table-picker{max-height:none!important;overflow:visible!important}html body.times-tables-practice-page.dmr-times-clean #previewOptionsDialog .times-tables-table-picker-header{font-weight:400!important;text-transform:none!important}html body.times-tables-practice-page.dmr-times-clean #previewOptionsDialog button[aria-pressed=true]{background:#d1e8ca!important}html body.times-tables-practice-page.dmr-times-clean #previewOptionsDialog #previewDone{background:#d1e8ca!important}
/* November 10 feedback: breathing room, centred presentation and clear account actions. */
html body.times-tables-practice-page.dmr-times-clean .infoandapp{box-sizing:border-box;width:min(calc(100% - 48px),1240px)!important;margin:24px auto!important}
html body.times-tables-practice-page.dmr-times-clean .container{border:2px solid #212121!important;padding:20px!important}
html body.times-tables-practice-page.dmr-times-clean #fullscreenButton{border:2px solid #212121!important;box-shadow:none!important}
html body.times-tables-practice-page.dmr-times-clean #fullscreenButton svg{stroke-width:1.75!important}
html body.times-tables-practice-page.dmr-times-clean #previewOptionsDialog .times-tables-table-picker,
html body.times-tables-practice-page.dmr-times-clean #previewOptionsDialog .times-tables-table-picker *{box-shadow:none!important;border-width:2px!important}
.preview-setup-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
html body.times-tables-practice-page.dmr-times-clean #previewCreateQr{font-size:15px!important;background:#bde7fb!important;border:2px solid #212121!important;display:flex;gap:8px;align-items:center;min-height:44px;padding:8px 12px}
#previewCreateQr svg{width:22px;height:22px;stroke-width:1.75;fill:none}
#previewQrDialog{box-sizing:border-box;width:min(540px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:2px solid #212121;border-radius:0;background:#fffcf0;color:#212121;font:15px/1.55 Verdana,sans-serif}
#previewQrDialog::backdrop{background:#21212165}
#previewQrDialog header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
#previewQrDialog h2{font:400 24px/1.3 Verdana,sans-serif;margin:0}
#previewQrDialog .preview-dialog-close{flex-shrink:0;width:44px;height:44px;font:24px Verdana;border:2px solid #212121;background:#fffcf0;border-radius:0;cursor:pointer}
#previewQrDialog ul{padding-left:22px}#previewQrDialog li{margin:10px 0}
.preview-account-actions{display:grid;grid-template-columns:1.4fr 1fr;gap:12px;margin-top:20px}
.preview-account-actions a,.dmr-share-access-link{display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;min-height:48px;padding:12px 16px;border:2px solid #212121;border-radius:0;font:600 15px/1.3 Verdana,sans-serif;color:#212121;text-decoration:none;background:#fffcf0}
.preview-account-actions .preview-account-primary{background:#d1e8ca}
.preview-account-actions a:hover{background:#ffe298;text-decoration:underline}
.preview-account-actions a:focus-visible,#previewQrDialog button:focus-visible{outline:3px solid #315c9a;outline-offset:3px}
.preview-free-note{font-weight:600}.preview-existing-note{font-size:12px;margin-bottom:0}
html body.times-tables-practice-page.dmr-times-clean.times-tables-fullscreen-active .preview-banner{display:none!important}
html body.times-tables-practice-page.dmr-times-clean.times-tables-fullscreen-active .infoandapp{display:flex!important;align-items:center!important;justify-content:center!important;width:100vw!important;height:100dvh!important;max-width:none!important;margin:0!important;padding:24px!important;background:#fbe9f2;overflow:auto!important}
html body.times-tables-practice-page.dmr-times-clean.times-tables-fullscreen-active .container{flex-shrink:0;width:min(100%,1240px)!important;height:min(760px,calc(100dvh - 48px))!important;margin:auto!important;grid-template-rows:auto auto minmax(0,1fr)!important}
@media(max-width:600px){html body.times-tables-practice-page.dmr-times-clean .infoandapp{width:calc(100% - 24px)!important;margin:12px auto!important}html body.times-tables-practice-page.dmr-times-clean .container{padding:12px!important}.preview-setup-strip{flex-wrap:wrap}.preview-setup-actions{width:100%;justify-content:space-between}#previewQrDialog{padding:18px}.preview-account-actions{grid-template-columns:1fr}html body.times-tables-practice-page.dmr-times-clean.times-tables-fullscreen-active .infoandapp{padding:12px!important}html body.times-tables-practice-page.dmr-times-clean.times-tables-fullscreen-active .container{height:calc(100dvh - 24px)!important}}
/* Outrank shared focus-mode rules without changing the shared site CSS. */
html body.times-tables-practice-page.dmr-times-clean #previewPracticeHost #fullscreenButton{border:2px solid #212121!important;box-shadow:none!important}
html body.times-tables-practice-page.dmr-times-clean #previewPracticeHost #fullscreenButton svg{stroke-width:1.75!important}
html body.times-tables-practice-page.dmr-times-clean #previewPracticeHost #previewQrDialog .preview-dialog-close{border:2px solid #212121!important}
html body.times-tables-practice-page.dmr-times-clean.times-tables-fullscreen-active #previewPracticeHost{display:flex!important;align-items:center!important;justify-content:center!important;width:100vw!important;height:100dvh!important;max-width:none!important;margin:0!important;padding:24px!important;overflow:auto!important}
html body.times-tables-practice-page.dmr-times-clean.times-tables-fullscreen-active #previewPracticeFrame{width:min(100%,1240px)!important;height:min(760px,calc(100dvh - 48px))!important;max-height:none!important;min-height:0!important;margin:auto!important;flex-shrink:0;grid-template-rows:auto auto minmax(0,1fr)!important;border:2px solid #212121!important}
@media(max-width:600px){html body.times-tables-practice-page.dmr-times-clean.times-tables-fullscreen-active #previewPracticeHost{padding:12px!important}html body.times-tables-practice-page.dmr-times-clean.times-tables-fullscreen-active #previewPracticeFrame{height:calc(100dvh - 24px)!important}}
html body.times-tables-practice-page.dmr-times-clean #previewCreateQr[hidden]{display:none!important}
/* Keep the panel content-sized rather than reserving a tall empty status area. */
html body.times-tables-practice-page.dmr-times-clean #previewPracticeFrame .times-tables-feedback-space{gap:4px}
html body.times-tables-practice-page.dmr-times-clean #previewPracticeFrame #feedback{min-height:56px;font-size:14px;line-height:1.35;padding:7px}
html body.times-tables-practice-page.dmr-times-clean #previewPracticeFrame #timesTablesRecordingStatus:empty{display:none;min-height:0;padding:0;margin:0}
html body.times-tables-practice-page.dmr-times-clean #previewPracticeFrame .times-tables-answer-panel{gap:6px}
html body.times-tables-practice-page.dmr-times-clean #previewPracticeFrame .dmr-answer-pad__key{min-height:44px!important;padding:5px!important}
html body.times-tables-practice-page.dmr-times-clean.times-tables-fullscreen-active #previewPracticeFrame{height:auto!important;max-height:calc(100dvh - 48px)!important;grid-template-rows:auto auto auto!important;overflow:auto!important}
html body.times-tables-practice-page.dmr-times-clean.times-tables-fullscreen-active #previewPracticeFrame .times-tables-workspace{height:auto!important;overflow:visible!important}
html body.times-tables-practice-page.dmr-times-clean.times-tables-fullscreen-active #previewPracticeFrame .question{height:auto!important}
@media(min-width:981px) and (max-height:800px){html body.times-tables-practice-page.dmr-times-clean #previewPracticeFrame{padding:14px!important;gap:8px!important}html body.times-tables-practice-page.dmr-times-clean #previewPracticeFrame .question{min-height:160px!important}html body.times-tables-practice-page.dmr-times-clean #previewPracticeFrame .times-tables-answer-panel{padding:8px!important}}
@media(max-width:600px){html body.times-tables-practice-page.dmr-times-clean #previewPracticeFrame .question{min-height:96px!important}html body.times-tables-practice-page.dmr-times-clean.times-tables-fullscreen-active #previewPracticeFrame{max-height:calc(100dvh - 24px)!important}}
@media(min-width:981px) and (max-height:700px){html body.times-tables-practice-page.dmr-times-clean:not(.times-tables-fullscreen-active) #previewPracticeHost{margin:12px auto!important}html body.times-tables-practice-page.dmr-times-clean #previewPracticeFrame{padding:12px!important;gap:6px!important}html body.times-tables-practice-page.dmr-times-clean #previewPracticeFrame .heading h1{font-size:28px!important}html body.times-tables-practice-page.dmr-times-clean #previewPracticeFrame .dmr-answer-pad__key{height:44px!important;min-height:44px!important;font-size:22px!important;line-height:1!important;padding:4px!important}html body.times-tables-practice-page.dmr-times-clean #previewPracticeFrame .dmr-answer-pad{gap:4px!important;padding:6px!important}}
@media(min-width:981px){html body.times-tables-practice-page.dmr-times-clean:not(.times-tables-fullscreen-active) #previewPracticeFrame{max-height:var(--preview-available-height);grid-template-rows:auto auto minmax(0,1fr);overflow:hidden}html body.times-tables-practice-page.dmr-times-clean:not(.times-tables-fullscreen-active) #previewPracticeFrame .times-tables-workspace{min-height:0;overflow:auto}}
/* Current feedback panel stays centred, not trapped by the legacy page slot. */
html body.times-tables-practice-page.dmr-times-clean #previewPracticeHost #dmrIssuePanel{position:fixed!important;inset:0!important;margin:auto!important;width:min(560px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 32px)!important}
@media(min-width:981px) and (max-height:700px){html body.times-tables-practice-page.dmr-times-clean #previewPracticeFrame #feedback{min-height:40px}}

.dmr-times-clean .preview-setup-strip[hidden]{display:none!important}
/* Complete thin-stroke treatment without changing answer behaviour. */
html body.times-tables-practice-page.dmr-times-clean #previewPracticeFrame .dmr-answer-pad{border:0!important;box-shadow:none!important;padding:0!important}
html body.times-tables-practice-page.dmr-times-clean #previewPracticeFrame .dmr-answer-pad-display{border-width:2px!important;box-shadow:none!important}
html body.times-tables-practice-page.dmr-times-clean #previewPracticeFrame button{text-transform:none!important}
@media(max-width:600px){html body.times-tables-practice-page.dmr-times-clean:not(.times-tables-fullscreen-active) #previewPracticeHost{margin-top:12px!important}html body.times-tables-practice-page.dmr-times-clean #previewPracticeFrame .heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}html body.times-tables-practice-page.dmr-times-clean #previewPracticeFrame .heading h1{font-size:24px!important}html body.times-tables-practice-page.dmr-times-clean #previewPracticeFrame .times-tables-heading-actions{width:auto!important}}
@media(max-width:600px){html body.times-tables-practice-page.dmr-times-clean #previewPracticeFrame .heading{flex-wrap:nowrap!important}html body.times-tables-practice-page.dmr-times-clean #previewPracticeFrame .activity-identity{width:auto!important;min-width:0!important;flex:1!important}}

@media(max-width:600px){html body.times-tables-practice-page.dmr-times-clean:not(.times-tables-fullscreen-active){padding-top:var(--times-clean-nav-height,80px)!important}}

/* Centre the close icon independently of legacy button font and padding. */
html body.times-tables-practice-page.dmr-times-clean #previewPracticeHost :is(#previewQrDialog .preview-dialog-close,#previewOptionsDialog #previewClose){display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;line-height:1!important;flex:0 0 44px!important;text-decoration:none!important}
html body.times-tables-practice-page.dmr-times-clean #previewPracticeHost :is(#previewQrDialog .preview-dialog-close,#previewOptionsDialog #previewClose):is(:hover,:focus,:active){text-decoration:none!important}
html body.times-tables-practice-page.dmr-times-clean #previewPracticeHost :is(#previewQrDialog .preview-dialog-close,#previewOptionsDialog #previewClose) svg{display:block!important;width:20px!important;height:20px!important;flex:none!important;margin:0!important;fill:none!important;stroke:currentColor!important;stroke-width:2;stroke-linecap:square;pointer-events:none}
html body.times-tables-practice-page.dmr-times-clean #previewPracticeHost :is(#previewQrDialog .preview-dialog-close,#previewOptionsDialog #previewClose):focus-visible{outline:3px solid #315c9a!important;outline-offset:3px!important}
