/* Accessible teacher tools repair: no changes to records, tabs or APIs */
.teacher-center.nahrain-simple-mode .nahrain-expanded-tools[open]{display:block!important;visibility:visible!important;opacity:1!important;max-height:none!important;}
.teacher-center.nahrain-simple-mode .nahrain-expanded-tools[open] > .teacher-work-tabs{display:flex!important;flex-wrap:wrap!important;gap:9px!important;padding:12px 4px!important;}
.teacher-center.nahrain-simple-mode .nahrain-expanded-tools[open] > .teacher-work-tabs button{min-height:46px;padding:9px 13px;border-radius:11px;border:1px solid #b9d8d1;background:#fff;color:#165b51;font:inherit;font-weight:700;}
.teacher-center .nahrain-expanded-tools summary{min-height:44px;padding:11px 8px;cursor:pointer;font-weight:700;}
.teacher-center .nahrain-direct-file{background:#e7f7ef!important;color:#075e4c!important;border:2px solid #15946f!important;font-weight:800!important;}
.teacher-center .nahrain-direct-file:focus-visible,.teacher-center .nahrain-expanded-tools button:focus-visible{outline:3px solid #cc971f;outline-offset:2px;}
@media(max-width:620px){.teacher-center .nahrain-expanded-tools[open]>.teacher-work-tabs button{flex:1 1 45%;}.teacher-center .nahrain-direct-file{flex:1 1 100%}}
