/* Layout only; the established DMR navigation and account controls remain. */
.arithmetic-app-shell{box-sizing:border-box;width:min(calc(100% - 28px),1240px);margin:18px auto 24px;color:#212121;font-family:Verdana,Arial,sans-serif;min-width:0}
.arithmetic-app-shell *, .arithmetic-app-shell *::before,.arithmetic-app-shell *::after{box-sizing:border-box}
.arithmetic-app-shell a{color:inherit}.arithmetic-app-shell>p[role=status]{padding:20px;border:3px solid #212121;background:#fffcf0}
.arithmetic-app-shell :is(button,select,input,a):focus-visible{outline:3px solid #212121;outline-offset:3px}
@media(max-width:600px){.arithmetic-app-shell{width:calc(100% - 20px);margin:12px auto 18px}}

.arithmetic-teacher-page-heading{display:flex;gap:16px;align-items:center;justify-content:space-between;margin:0 0 20px}.arithmetic-teacher-page-heading h1{font-size:clamp(26px,3.4vw,38px);line-height:1.15;margin:0}.arithmetic-teacher-page-heading a{display:flex;align-items:center;min-height:44px;font-size:13px;font-weight:700;flex-shrink:0}
body.has-dmr-shell .arithmetic-teacher-page button{text-transform:none!important}
body.has-dmr-shell .arithmetic-teacher-page .arithmetic-save-focus{background:#d1e8ca!important;border:3px solid #212121!important}
@media(max-width:620px){.arithmetic-teacher-page-heading{align-items:start;flex-direction:column;gap:8px}}
