/* Teacher Plus shortcuts retain a stable order while wrapping for narrow screens. */
.dmr-teacher-shortcuts { min-width:0; display:grid; gap:10px; }
.dmr-teacher-actions--plus { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; width:100%; }
.dmr-teacher-actions[hidden] { display:none; }
.dmr-teacher-actions--plus a { min-height:54px; min-width:0; gap:8px; padding:10px; box-sizing:border-box; text-align:center; text-transform:none; overflow-wrap:anywhere; }
.dmr-teacher-actions--plus a:nth-child(2) { background:var(--dmr-yellow); }
.dmr-teacher-actions--plus a:nth-child(3) { background:var(--dmr-neutral, #fff2df); }
.dmr-teacher-actions--plus a:nth-child(4) { background:var(--dmr-pink); }
.dmr-teacher-actions--plus a:nth-child(5) { background:var(--dmr-panel); }
.dmr-teacher-actions--plus a:nth-child(6) { background:#d8cfe7; }
.dmr-teacher-actions--plus .dmr-semantic-icon { flex:0 0 22px; }
.dmr-teacher-secondary-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px 20px; }
.dmr-teacher-secondary-actions a { display:inline-flex; align-items:center; gap:7px; min-height:44px; color:var(--dmr-ink); font-weight:850; text-underline-offset:3px; }
.dmr-teacher-secondary-actions a[hidden] { display:none; }
.dmr-teacher-secondary-actions a:focus-visible,.dmr-teacher-actions--plus a:focus-visible { outline:3px solid var(--dmr-ink); outline-offset:3px; }
.dmr-teacher-review-statistics-entry { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; }
.dmr-teacher-card .dmr-teacher-review-statistics-entry a { min-height:44px; gap:7px; text-transform:none; }
@media(min-width:1081px) { .dmr-teacher-hero.has-plus-shortcuts { grid-template-columns:minmax(250px,.8fr) minmax(0,1.7fr); } }
@media(min-width:721px) and (max-width:1080px) { .dmr-teacher-actions--plus { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:720px) { .dmr-teacher-actions--plus { grid-template-columns:repeat(2,minmax(0,1fr)); } .dmr-teacher-actions--plus a { min-height:62px; } .dmr-teacher-secondary-actions { justify-content:flex-start; } }
@media(max-width:360px) { .dmr-teacher-actions--plus a { padding:8px 5px; gap:5px; } }

.dmr-teacher-secondary-actions .dmr-teacher-admin-link { padding:6px 10px; border:4px solid var(--dmr-ink); background:var(--dmr-yellow); font-size:.9em; font-weight:900; line-height:1.1; text-decoration:none; text-transform:uppercase; }
