/* v43 targeted UX refinements — no change to the teacher action bar layout. */
.dm-class-stages{display:grid;gap:16px;margin:14px 0}
.dm-stage{padding:14px 16px;border:1px solid #d9e2d5;border-radius:12px;background:#fcfdf9}
.dm-stage-before{border-left:4px solid #567f60}
.dm-stage-after{border-left:4px solid #c7a354;background:#fffcf4}
.dm-stage h3{font-size:16px;font-weight:700;margin:0 0 12px;color:#2a5039}
.dm-stage h3 span{font-size:12px;font-weight:400;color:#647067;margin-left:8px}
.dm-stage .dm-fields{margin:0}
.rw-week-active{box-shadow:0 0 0 2px #2f6845 inset!important}
.rw-week-active::after{content:" · Current";font-size:11px;font-weight:600}
#action-save-status{font-weight:700;border:1px solid #bfd3c2;border-radius:10px;padding:9px 14px;background:#f0f8ef}
#action-save-status[data-error="true"]{background:#fff1ed;border-color:#d58b7a;color:#8d3024}
.ws-save{display:inline-block;min-width:48px}
.home-illustrated .home-homework:has(.portal-homework){border:2px solid #d7b260;background:#fffbf0}
.home-illustrated .home-homework .portal-homework .btn{display:block;width:100%;min-height:48px;font-size:18px;margin-top:14px}
.home-illustrated .home-last{padding:18px 22px}
.home-illustrated .home-last h2{font-size:clamp(23px,3vw,32px)}
.home-illustrated .home-last .home-continue{width:auto;max-width:100%;font-size:15px;padding:10px 16px}
.home-illustrated .home-last .home-progress{height:10px}
.home-illustrated .home-last .progress-caption{margin-bottom:8px}
@media(max-width:680px){.dm-stage{padding:12px}.dm-stage h3 span{display:block;margin:3px 0 0}.home-illustrated .home-last .home-continue{width:100%}}

/* v44: concise last-class recap first; homework remains the primary action. */
.home-illustrated .home-last{padding:15px 20px}
.home-illustrated .home-last-content{margin-top:10px;gap:12px}
.home-illustrated .home-last h2{font-size:clamp(20px,2.4vw,26px);margin:0 0 8px}
.home-illustrated .home-last .last-class-label{font-size:13px;padding:5px 11px}
.home-illustrated .home-last .home-stopped{font-size:15px;line-height:1.45}
.home-illustrated .home-last .art-chat{width:62px;height:62px;flex:none}
.home-illustrated .home-continue-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 20px}
.home-illustrated .home-continue-card>div{flex:1;min-width:0}
.home-illustrated .home-continue-card h2{font-size:clamp(17px,2vw,22px);line-height:1.25;margin:4px 0 10px}
.home-illustrated .home-continue-card .home-eyebrow{font-size:13px;margin:0}
.home-illustrated .home-continue-card .home-progress{height:7px;margin:0}
.home-illustrated .home-continue-card .progress-caption{font-size:12px;margin:5px 0 0}
.home-illustrated .home-continue-card .home-continue{font-size:14px;padding:9px 14px;white-space:nowrap;min-height:38px}
@media(max-width:600px){.home-illustrated .home-continue-card{flex-direction:column;align-items:stretch;gap:10px}.home-illustrated .home-continue-card .home-continue{width:100%}.home-illustrated .home-last .art-chat{width:44px;height:44px}}

/* v45: stack Continue Lesson content; never squeeze long titles beside the button. */
.home-illustrated .home-continue-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;padding:15px 20px!important;min-width:0!important}
.home-illustrated .home-continue-card>div{display:block!important;width:100%!important;min-width:0!important;flex:none!important}
.home-illustrated .home-continue-card h2{display:block!important;width:100%!important;max-width:100%!important;overflow-wrap:anywhere!important;word-break:normal!important;font-size:clamp(18px,2.2vw,23px)!important;line-height:1.3!important;margin:4px 0 8px!important}
.home-illustrated .home-continue-card .home-continue{align-self:flex-start!important;width:auto!important;max-width:100%!important;white-space:normal!important;font-size:13px!important;padding:8px 14px!important;min-height:36px!important}
.home-illustrated .home-continue-card .home-progress{width:100%!important}
.dm-copy-control{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
.dm-copy-control .btn{display:inline-flex;align-items:center;gap:6px}
.dm-copy-control svg{width:15px;height:15px}
.dm-copy-feedback{color:#2c6847;font-size:12px;font-weight:600}
@media(max-width:600px){.home-illustrated .home-continue-card .home-continue{width:100%!important;align-self:stretch!important}}
