body.teacher-page .teacher-v3-columns{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)!important}
body.teacher-page .teacher-form-v3{grid-template-columns:1.45fr .8fr .8fr auto!important;align-items:end}
body.teacher-page .teacher-form-v3 label{display:grid;gap:4px;color:#646b87;font-size:9px;font-weight:800}
body.teacher-page .teacher-form-v3 input{width:100%;min-width:0}
body.teacher-page .teacher-steps{grid-template-columns:repeat(2,1fr)!important}
@media(max-width:700px){body.teacher-page .teacher-v3-columns,body.teacher-page .teacher-form-v3{grid-template-columns:1fr!important}}
body.teacher-page .teacher-form-v3 .primary-button{white-space:nowrap;padding:9px 12px}
body.teacher-page .teacher-detail-form{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}
body.teacher-page .teacher-detail-form .primary-button{grid-column:1 / -1;width:100%;white-space:nowrap;padding:9px 10px}
body.teacher-page .teacher-detail-form label span,body.teacher-page .teacher-detail-class-field>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.teacher-page .teacher-detail-group{grid-template-columns:minmax(0,1fr) auto auto}
body.teacher-page .teacher-detail-group .row-delete{font-size:10px;padding:4px 6px;border:1px solid #ffdce3;border-radius:6px}
body.teacher-page .teacher-row-actions{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap}
body.teacher-page .inline-edit-teacher,body.teacher-page .inline-remove-teacher,body.teacher-page .inline-save-quota{padding:4px 6px!important;border-radius:6px!important;font-size:9px!important;line-height:1!important;white-space:nowrap}
body.teacher-page .inline-edit-teacher{border:1px solid #ddd5ff;background:#faf8ff;color:#6047d2}
body.teacher-page .inline-edit-teacher{display:none!important}
body.teacher-page .inline-remove-teacher{border:1px solid #ffdce3;background:#fff8f9;color:#dc6575}
body.teacher-page .inline-save-quota{margin:3px 0 0!important}
body.teacher-page .teacher-toolbar-v3 .soft-button{white-space:nowrap;padding:8px 9px;font-size:9px}
body.teacher-page .teacher-v3-columns section:first-child .v3-table{min-width:690px}
body.teacher-page .teacher-v3-columns section:first-child .v3-table th:last-child,body.teacher-page .teacher-v3-columns section:first-child .v3-table td:last-child{min-width:104px;width:104px;white-space:nowrap}
body.teacher-page .teacher-v3-columns section:first-child .v3-table td:last-child{padding-left:5px;padding-right:5px}
body.teacher-page .teacher-row-actions{white-space:nowrap;flex-wrap:nowrap}
body.teacher-page .teacher-row-actions button{min-width:31px}
body.teacher-page .teacher-v3-columns section:first-child .inline-save-quota{display:inline-block;min-width:34px;margin:0 0 0 3px!important}
body.teacher-page .teacher-final-remove{display:inline-block!important;min-width:34px;margin-left:4px;cursor:pointer}
body.teacher-page .teacher-detail-form select,body.teacher-page .teacher-detail-form input,body.teacher-page .teacher-detail-class-field button{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.teacher-page .teacher-detail-form .primary-button{min-height:36px}
body.teacher-page .teacher-detail-form label:has(.teacher-detail-multi-trigger){position:relative}
body.teacher-page .teacher-detail-multi-trigger{height:36px;width:100%;border:1px solid #dddcef;border-radius:8px;background:#fff;color:#454c6c;padding:0 10px;text-align:left;font-size:10px;font-weight:700;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.teacher-page .teacher-detail-multi-menu{position:absolute;z-index:50;top:58px;left:0;right:0;display:none;max-height:190px;overflow:auto;padding:5px;border:1px solid #dedaf5;border-radius:8px;background:#fff;box-shadow:0 8px 18px #40348c22}
body.teacher-page .teacher-detail-multi-menu.open{display:grid;gap:2px}
body.teacher-page .teacher-detail-multi-menu label{display:flex;align-items:center;gap:7px;padding:7px;color:#4c5471;font-size:10px;font-weight:500;cursor:pointer}
body.teacher-page .teacher-detail-multi-menu label:hover{background:#f3f1ff}
body.teacher-page .teacher-detail-multi-menu input{width:14px;height:14px}
body.teacher-page .teacher-detail-multi-menu small{padding:7px;color:#969bad;font-size:10px}
body.teacher-page .teacher-duty-field{position:relative}
body.teacher-page .teacher-duty-multi{position:relative}
body.teacher-page .teacher-duty-multi-trigger{height:36px;width:100%;border:1px solid #dddcef;border-radius:8px;background:#fff;color:#454c6c;padding:0 10px;text-align:left;font-size:10px;font-weight:700;cursor:pointer}
body.teacher-page .teacher-duty-multi-trigger::after{content:'⌄';float:right;color:#7350e8;font-size:14px}
body.teacher-page .teacher-duty-multi-menu{position:absolute;z-index:70;top:40px;left:0;right:0;display:none;max-height:230px;overflow:auto;padding:6px;border:1px solid #dedaf5;border-radius:9px;background:#fff;box-shadow:0 12px 24px #40348c2e}
body.teacher-page .teacher-duty-multi.open .teacher-duty-multi-menu{display:grid;gap:2px}
body.teacher-page .teacher-duty-multi-menu>label{display:flex;align-items:flex-start;gap:8px;padding:8px;border-radius:7px;color:#4c5471;cursor:pointer}
body.teacher-page .teacher-duty-multi-menu>label:hover{background:#f5f2ff}
body.teacher-page .teacher-duty-multi-menu input{flex:0 0 auto;width:15px;height:15px;margin-top:2px;accent-color:#6842e8}
body.teacher-page .teacher-duty-multi-menu span,body.teacher-page .teacher-duty-multi-menu b,body.teacher-page .teacher-duty-multi-menu small{display:block;white-space:normal}
body.teacher-page .teacher-duty-multi-menu b{font-size:10px;color:#3f4563}
body.teacher-page .teacher-duty-multi-menu small{margin-top:2px;font-size:9px;color:#299467}
body.teacher-page .teacher-duty-multi-menu small.needs-configuration{color:#b87919}
body.teacher-page .teacher-duty-section{grid-column:1/-1;margin:12px 0 14px;padding:12px;border:1px solid #e7e2f7;border-radius:10px;background:#fbfaff}
body.teacher-page .teacher-duty-section h3{margin:0 0 4px;color:#6549d3;font-size:10px}
body.teacher-page .teacher-duty-section>small{display:block;margin-bottom:9px;color:#8f94a8;font-size:9px}
body.teacher-page .teacher-duty-list{display:grid;gap:6px}
body.teacher-page .teacher-duty-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid #ece8f8;border-radius:8px;background:#fff}
body.teacher-page .teacher-duty-row b,body.teacher-page .teacher-duty-row small{display:block}
body.teacher-page .teacher-duty-row b{color:#4f39c8;font-size:10px}
body.teacher-page .teacher-duty-row small{margin-top:3px;color:#2f9867;font-size:9px;font-weight:800}
