/* Shared single-select sizing. Reserve the arrow separately from option text.
   Explicit bespoke controls may opt out with data-select-size="custom". */
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):not([data-select-size="custom"]){
 box-sizing:border-box!important;
 width:max-content!important;
 min-width:0!important;
 max-width:min(100%,calc(100vw - 2rem))!important;
 field-sizing:fixed!important;
 flex-shrink:0;
 appearance:none!important;
 padding-inline-end:2rem!important;
 background-image:var(--select-arrow,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234936a8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"))!important;
 background-repeat:no-repeat!important;
 background-position:right .5rem center!important;
 background-size:16px 16px!important;
}
/* All student selects share one appearance. Teacher/public activity styles stay unchanged. */
body.student-layout select{--select-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323805a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");font:500 .85rem/1.4 "Manrope",sans-serif;color:#244b3a;background-color:#fffdf5;border:1px solid #a8cbb5;border-radius:3px;padding:8px 12px;box-shadow:0 2px 0 #dceade;min-height:36px;cursor:pointer;transition:border-color .15s,background-color .15s}
body.student-layout select:hover:not(:disabled){border-color:#23805a;background-color:#f0f8ee}
body.student-layout select:focus-visible{outline:2px solid #23805a;outline-offset:2px}
body.student-layout select:disabled{background-color:#f0f0e8;border-color:#d5dbd0;color:#828b80;box-shadow:none;cursor:not-allowed}

@media(forced-colors:active){
 select:not([multiple]){appearance:auto!important;background-image:none!important;}
}
