/* Scoped class-management actions; shared navigation and dropdowns are unchanged. */
[data-class-action-icon]::before {
  content: ""; display: inline-block; width: 22px; height: 22px; flex: 0 0 22px;
  margin-inline-end: 7px; vertical-align: -.3em; background: center / contain no-repeat;
  pointer-events: none;
}
[data-class-action-icon="edit"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20stroke%3D%22%23212121%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m6%2019%2014-14%207%207-14%2014-9%202Z%22%20fill%3D%22%23ffe298%22%2F%3E%3Cpath%20d%3D%22m20%205%203-3%207%207-3%203Z%22%20fill%3D%22%23f7a4a6%22%2F%3E%3Cpath%20d%3D%22m6%2019%207%207-9%202Z%22%20fill%3D%22%23fffcf0%22%2F%3E%3Cpath%20d%3D%22m4%2028%201-5%204%204Z%22%20fill%3D%22%23212121%22%2F%3E%3Cpath%20d%3D%22m9.5%2022.5%2014-14%22%2F%3E%3C%2Fsvg%3E"); }
[data-class-action-icon="delete"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20stroke%3D%22%23212121%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m7%2010%202%2019h14l2-19Z%22%20fill%3D%22%23f7a4a6%22%2F%3E%3Cpath%20d%3D%22M12%207V3h8v4%22%2F%3E%3Crect%20x%3D%225%22%20y%3D%227%22%20width%3D%2222%22%20height%3D%224%22%20rx%3D%221%22%20fill%3D%22%23ffe298%22%2F%3E%3Cpath%20d%3D%22M13%2015v9M19%2015v9%22%2F%3E%3C%2Fsvg%3E"); }
[data-class-action-icon="save"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20stroke%3D%22%23212121%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%203h20l5%205v21H4Z%22%20fill%3D%22%23bde7fb%22%2F%3E%3Cpath%20d%3D%22M10%203v9h13V3M9%2029V19h15v10%22%20fill%3D%22%23fffcf0%22%2F%3E%3Cpath%20d%3D%22M19%205v5M13%2023h7%22%2F%3E%3C%2Fsvg%3E"); }
[data-class-action-icon="add-student"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20stroke%3D%22%23212121%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2029v-5a8%208%200%200%201%2016%200v5Z%22%20fill%3D%22%23bde7fb%22%2F%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%229%22%20r%3D%225%22%20fill%3D%22%23ffe298%22%2F%3E%3Cpath%20d%3D%22M24%2013v12M18%2019h12%22%2F%3E%3C%2Fsvg%3E"); }
[data-class-action-icon="print"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20stroke%3D%22%23212121%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%203h16v9H8Z%22%20fill%3D%22%23fffcf0%22%2F%3E%3Cpath%20d%3D%22M4%2012h24v12H4Z%22%20fill%3D%22%23bde7fb%22%2F%3E%3Cpath%20d%3D%22M8%2019h16v10H8Z%22%20fill%3D%22%23fffcf0%22%2F%3E%3Cpath%20d%3D%22M12%2023h8M12%2026h8%22%2F%3E%3Ccircle%20cx%3D%2223%22%20cy%3D%2216%22%20r%3D%221%22%20fill%3D%22%23212121%22%20stroke%3D%22none%22%2F%3E%3C%2Fsvg%3E"); }
[data-class-action-icon="display"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20stroke%3D%22%23212121%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%204h26v19H3Z%22%20fill%3D%22%23bde7fb%22%2F%3E%3Cpath%20d%3D%22M12%2023v5h8v-5M8%2029h16%22%2F%3E%3Cpath%20d%3D%22M8%209h5v5H8ZM19%2014h5v5h-5Z%22%20fill%3D%22%23ffe298%22%2F%3E%3C%2Fsvg%3E"); }
[data-class-action-icon="copy"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20stroke%3D%22%23212121%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%203h18v21H4Z%22%20fill%3D%22%23d8cfe7%22%2F%3E%3Cpath%20d%3D%22M10%209h18v21H10Z%22%20fill%3D%22%23bde7fb%22%2F%3E%3C%2Fsvg%3E"); }
[data-class-action-icon="link"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20stroke%3D%22%23212121%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%2019-3%203a4%204%200%200%201-6-6l7-7a4%204%200%200%201%206%200l2%202%22%20fill%3D%22%23ffe298%22%2F%3E%3Cpath%20d%3D%22m20%2013%203-3a4%204%200%200%201%206%206l-7%207a4%204%200%200%201-6%200l-2-2%22%20fill%3D%22%23bde7fb%22%2F%3E%3Cpath%20d%3D%22m11%2021%2010-10%22%2F%3E%3C%2Fsvg%3E"); }

.class-signin-panel .class-qr-summary { padding-top: 0; border-top: 0; }
.class-qr-options { position: relative; min-width: 0; }
#classQrOptionsButton { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin: 0; min-height: 44px; }
.class-qr-chevron { width: 9px; height: 9px; border-right: 2px solid #212121; border-bottom: 2px solid #212121; transform: translateY(-2px) rotate(45deg); }
#classQrOptionsButton[aria-expanded="true"] .class-qr-chevron { transform: translateY(2px) rotate(225deg); }
.class-qr-option-list { display: grid; position: absolute; top: calc(100% + 5px); inset-inline: 0; z-index: 5; padding: 5px; border: 3px solid #212121; background: #fffcf0; }
body.has-dmr-shell .class-qr-option-list button { display: flex; align-items: center; min-width: 0; min-height: 44px; margin: 0; padding: 10px; border: 0 !important; background: #fffcf0 !important; text-align: left; font-size: 15px; }
body.has-dmr-shell .class-qr-option-list button:hover { background: #ffe298 !important; }
body.has-dmr-shell .class-qr-option-list button:focus-visible { outline: 3px solid #212121; outline-offset: -3px; background: #ffe298 !important; }
body.has-dmr-shell .class-management-shell .danger-button, body.has-dmr-shell .class-management-shell .danger-button:hover,
body.has-dmr-shell .class-dialog .danger-button, body.has-dmr-shell .class-dialog .danger-button:hover { background: #f7a4a6 !important; color: #212121; }
.student-workspace-heading .class-workspace-actions { gap: 8px; }
.student-workspace-heading .class-workspace-actions button { margin: 0; white-space: normal; }
@media (max-width: 900px) {
  .class-qr-options { align-self: center; }
}
@media (max-width: 540px) {
  .student-workspace-heading .class-workspace-actions { width: 100%; justify-content: flex-start; }
}

[data-class-action-icon="search"]::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2032%22%20fill%3D%22none%22%20stroke%3D%22%23212121%22%20stroke-width%3D%222.2%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m20%2021%208%208%203-3-8-8Z%22%20fill%3D%22%23d8cfe7%22%2F%3E%3Ccircle%20cx%3D%2213%22%20cy%3D%2213%22%20r%3D%2210%22%20fill%3D%22%23ffe298%22%2F%3E%3Cpath%20d%3D%22M8%2013a5%205%200%200%201%205-5%22%2F%3E%3C%2Fsvg%3E"); }

.roster-search-control { display: grid; gap: 7px; min-width: 0; }
.roster-search-control > label { font-weight: 900; cursor: pointer; }
.roster-search-control .roster-search-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; align-items: start; min-width: 0; }
body.has-dmr-shell .roster-search-toggle { display: grid; place-items: center; width: 44px; min-width: 44px; min-height: 44px; margin: 0; padding: 7px; }
.roster-search-toggle[data-class-action-icon]::before { margin: 0; }
.roster-search-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; transform-origin: left center; }
.roster-search-panel:not([hidden]) { animation: class-roster-search-open 240ms cubic-bezier(.2, .7, .2, 1); }
.roster-search-panel input { flex: 1 1 140px; min-width: 0; }
.roster-search-panel #clearRosterSearchButton { flex: 0 0 auto; min-height: 44px; margin: 0; }
@keyframes class-roster-search-open {
  from { clip-path: inset(-10px 100% -10px -10px); opacity: 0; transform: translateX(-6px); }
  to { clip-path: inset(-10px -10px -10px -10px); opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .roster-search-panel:not([hidden]) { animation: none; }
}
