/* v4.13.1: contain fieldsets and override the legacy table min-width:650px.
   Scope to course composition; do not clip fields, errors or focus outlines. */
.course-editor .course-form,.urgent-editor .urgent-quick-form,.company-workspace .company-form{width:100%;min-width:0;min-inline-size:0;box-sizing:border-box}
:is(.course-form,.urgent-quick-form,.company-form) fieldset{min-width:0;min-inline-size:0;max-width:100%;margin-inline:0;box-sizing:border-box}
:is(.course-form,.urgent-quick-form,.company-form) legend{max-width:100%;white-space:normal;overflow-wrap:anywhere}
:is(.course-form,.urgent-quick-form,.company-form) :is(.form-grid,.company-grid){min-width:0;min-inline-size:0;max-width:100%}
:is(.course-form,.urgent-quick-form,.company-form) :is(.form-grid,.company-grid)>*{min-width:0;min-inline-size:0;max-width:100%}
:is(.course-form,.urgent-quick-form,.company-form) label{min-width:0;min-inline-size:0;max-width:100%}
:is(.course-form,.urgent-quick-form,.company-form) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){width:100%;min-width:0;min-inline-size:0;max-width:100%;box-sizing:border-box}
.content-editor{min-width:0;min-inline-size:0;max-width:100%}
.content-editor-scroll{min-width:0;max-width:100%;overflow-x:auto;padding:4px}
.content-editor table{width:100%;min-width:0;max-width:100%;table-layout:fixed}
.content-editor :is(th,td){min-width:0;white-space:normal;overflow-wrap:anywhere;padding:8px 6px}
.content-editor th:first-child{width:30px}
.content-editor th:last-child{width:60px}
.content-editor label{min-width:0;margin:0}
.content-editor .content-remove{width:44px;min-width:44px;min-height:44px;line-height:1}
.content-editor .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.course-form [data-schedule-grid]{width:100%;min-width:0;max-width:100%;overflow-x:auto}
.course-form [data-schedule-grid] table{min-width:360px}
@media(max-width:760px){
 .course-editor.container,.urgent-editor.container{width:100%;max-width:100%;padding-inline:16px;box-sizing:border-box}
 .course-editor .course-form,.urgent-editor .urgent-quick-form{max-width:100%;padding:16px;margin-inline:0}
 .course-form .form-grid,.urgent-quick-form .form-grid,.company-form .company-grid{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:16px}
 .course-form .form-grid>.wide,.urgent-quick-form .form-grid>.wide{grid-column:1/-1}
 :is(.course-form,.urgent-quick-form,.company-form) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){font-size:16px!important}
 .content-editor-heading{align-items:start;flex-direction:column;gap:4px}
 .content-editor-heading span,.content-editor-footer>span{white-space:normal;overflow-wrap:anywhere}
 .content-editor-footer{align-items:stretch;gap:10px}
 .content-editor-footer .btn{width:100%;min-height:44px;white-space:normal}
}
