/* R21 production-candidate hardening: typography, controls and responsive guards. */
:root{--r21-control-h:44px;--r21-focus:0 0 0 3px rgba(40,118,207,.16)}
.app-shell button,.app-shell input,.app-shell select,.app-shell textarea,.adm button,.adm input,.adm select,.adm textarea{font-family:inherit!important;letter-spacing:normal}
.app-shell button,.adm button{min-height:var(--r21-control-h);line-height:1.2}
.app-shell select,.adm select{min-height:var(--r21-control-h);line-height:1.2}
.app-shell button:focus-visible,.app-shell input:focus-visible,.app-shell select:focus-visible,.app-shell textarea:focus-visible,.adm button:focus-visible,.adm input:focus-visible,.adm select:focus-visible,.adm textarea:focus-visible{outline:none!important;box-shadow:var(--r21-focus)!important}
.superadmin-command .r23-context-shell{overflow:visible!important}
.superadmin-command .r23-context-label,.superadmin-command .r23-context-chip{word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}
.superadmin-command .r23-context-label{white-space:nowrap!important;min-width:max-content!important}
.superadmin-command .r23-context-chip{white-space:nowrap!important;min-width:max-content!important}
.r23-modal-dialog{overscroll-behavior:contain}
.r23-modal-close{touch-action:manipulation}
.qa09-public .r20-hero-benefits span{overflow:hidden}
@media(max-width:760px){.superadmin-command .r23-context-label{white-space:normal!important;min-width:0!important}.superadmin-command .r23-context-chip{white-space:normal!important;min-width:0!important;overflow-wrap:break-word!important}.app-shell button,.adm button{white-space:normal}}
@media(max-width:430px){.qa09-public .r20-hero-benefits small{font-size:.76rem!important}.qa09-public .r20-hero-benefits b{font-size:.88rem!important}}

/* R27 multicourse command-center context */
.course-context-control{display:flex;align-items:center;gap:8px;margin-left:auto;padding:6px 10px;border:1px solid rgba(20,55,92,.12);border-radius:12px;background:rgba(255,255,255,.82)}
.course-context-control label{font-size:.72rem;font-weight:800;color:#53657c;white-space:nowrap}
.course-context-control select{min-width:190px;max-width:300px;border:0;background:transparent;font:inherit;font-weight:750;color:#153a67;outline:none}
.course-scope-note{padding:10px 12px;border-radius:10px;background:#f3f7fc;color:#54677d;font-size:.78rem;line-height:1.45}
.teacher-course-box{grid-column:1/-1;padding:14px;border:1px solid #dbe5f1;border-radius:14px;background:#f8fbff}
.teacher-course-box .field-title{font-weight:850;margin-bottom:8px;color:#173b68}
.teacher-course-box select[multiple]{min-height:150px}
.inline-check{display:flex!important;align-items:flex-start;gap:9px}.inline-check input{width:auto!important;margin-top:3px}
@media(max-width:760px){.course-context-control{order:3;width:100%;margin:6px 0 0;justify-content:space-between}.course-context-control select{min-width:0;max-width:none;flex:1}}
