.class-directory,.reports-panel,.works-library{min-width:0}.reports-panel .tools-filters,.works-library .tools-filters{padding:18px;background:#f6f8fc;border:1px solid #e3e9f2;border-radius:14px}.reports-panel .tools-filters>label,.works-library .tools-filters>label{flex:1 1 150px;min-width:0}.reports-panel .tools-filters>label:first-child,.works-library .tools-filters>label:first-child{flex-basis:260px}.reports-panel .tools-filters input,.reports-panel .tools-filters select,.works-library .tools-filters input,.works-library .tools-filters select{width:100%;min-width:0}.reports-panel .tools-list>button{border:1px solid #e3e9f2;border-radius:14px;transition:border-color .15s,box-shadow .15s}.reports-panel .tools-list>button:hover{border-color:#8ba8e6;box-shadow:0 3px 14px #1d4ed80a}.reports-panel .tools-list>button:focus-visible{outline:3px solid #a5b4fc;outline-offset:2px}.reports-panel .tools-list>button p{margin:7px 0}.teacher-report-drawer{left:auto!important;right:0!important;top:0!important;transform:none!important;border-radius:18px 0 0 18px!important;max-height:100dvh!important;height:100dvh;width:min(760px,100vw)!important;max-width:min(760px,100vw)!important;align-content:start}.class-directory label,.teacher-report-drawer label,.teacher-template-dialog label{display:flex;flex-direction:column;gap:6px;font-size:14px}.class-directory input,.class-directory select,.teacher-report-drawer input,.teacher-report-drawer select,.teacher-report-drawer textarea,.teacher-template-dialog input,.teacher-template-dialog select,.teacher-template-dialog textarea{border:1px solid #cbd5e1;border-radius:8px;padding:9px 12px;background:#fff;color:#172554;width:100%;min-width:0}.class-directory label:has(input[type=checkbox]),.teacher-template-dialog label:has(input[type=checkbox]){display:flex;flex-direction:row;align-items:center;gap:8px}.class-directory input[type=checkbox],.teacher-template-dialog input[type=checkbox]{width:18px;height:18px;flex:0 0 auto;padding:0}.teacher-template-dialog{max-width:950px!important}.teacher-template-dialog .panel{border:1px solid #e3e9f2;border-radius:12px;padding:16px;margin:8px 0}.teacher-template-dialog .tools-filters{display:flex;gap:12px;flex-wrap:wrap}.teacher-template-dialog .tools-filters>label{flex:1 1 180px;min-width:0}.teacher-template-dialog .section-line{gap:10px;flex-wrap:wrap}.teacher-template-dialog .tools-tabs{position:sticky;top:-24px;background:var(--background,#fff);z-index:2;padding:12px 0;margin-top:0}.teacher-template-dialog details{padding:12px 0;border-top:1px solid #e5eaf2}.teacher-template-dialog summary{cursor:pointer;font-weight:600;color:#334155}.teacher-template-dialog details>div,.teacher-template-dialog details>label{margin-top:12px}.class-directory .class-grid{margin:20px 0}.class-directory .event-row{gap:12px;flex-wrap:wrap}.class-directory .panel{margin:16px 0}.teacher-report-drawer p,.teacher-template-dialog p{overflow-wrap:anywhere}.teacher-template-dialog h3{font-weight:650;font-size:17px}.works-library .actions a{align-self:center}.teacher-report-drawer .actions,.teacher-template-dialog .actions{display:flex;gap:10px;flex-wrap:wrap}@media(max-width:600px){.teacher-template-dialog{padding:16px!important;width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important}.teacher-template-dialog .tools-tabs{top:-16px;gap:6px}.teacher-template-dialog .tools-tabs button{font-size:12px;padding:7px 9px}.teacher-template-dialog footer{bottom:-16px!important;gap:8px}.teacher-template-dialog footer button{flex:1;white-space:normal;height:auto;min-height:40px}.teacher-report-drawer{border-radius:0!important;padding:20px 16px!important}.reports-panel .tools-filters,.works-library .tools-filters{padding:12px;gap:10px}.reports-panel .tools-filters>label,.works-library .tools-filters>label{flex-basis:120px}.works-library .page-heading{align-items:flex-start;gap:12px}.works-library .page-heading a{white-space:nowrap}.class-directory .actions,.class-directory .page-heading,.class-directory .teacher-row{flex-wrap:wrap}}.teacher-report-drawer{translate:none!important}.teacher-report-drawer,.teacher-template-dialog{background:#fff!important}.reports-panel .tools-list,.works-library .tools-list{grid-template-columns:minmax(0,1fr);min-width:0}.reports-panel .tools-list>button,.works-library .tools-list>article{min-width:0;max-width:100%}.reports-panel .tools-list>button small,.works-library .tools-list>article p{overflow-wrap:anywhere}.assignment-targets{display:grid;gap:14px}.assignment-targets>label:first-child{display:grid;gap:7px}.assignment-class-list input[type=search],.assignment-targets select{width:100%;min-height:40px;padding:8px 12px;border:1px solid #cbd5e1;border-radius:8px;background:white;color:#254368}.assignment-class-list{border:1px solid #dbe4ee;border-radius:10px;padding:12px}.assignment-class-list>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;max-height:220px;overflow:auto;padding:8px 2px}.assignment-class-list small{color:#64748b;font-size:11px}.assignment-class-list .checkbox-label{align-items:center;gap:8px}.common-builder-modes{display:flex;gap:4px;padding:4px;border-radius:10px;background:#f0f3f9}.common-builder-modes button{flex:1;min-height:40px;border:0;border-radius:8px;background:transparent;color:#52657d;font:inherit;cursor:pointer}.common-builder-modes button[aria-pressed=true]{background:#fff;color:#01509f;box-shadow:0 1px 4px #20365020}.common-builder-steps{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid #dfe7f0;padding-bottom:16px}.common-builder-steps button{display:flex;gap:8px;align-items:center;padding:8px 12px;border:0;background:transparent;color:#52657d;border-radius:8px;cursor:pointer}.common-builder-steps button[aria-current=step]{background:#edf5ff;color:#01509f}.common-builder-steps b{border-radius:50%;background:#e5edf7;padding:4px 9px}.common-builder-steps button[aria-current=step] b{background:#01509f;color:white}.mcko-builder,.pref-builder{max-height:calc(100dvh - 32px)!important;overflow-y:auto;overscroll-behavior:contain}.mcko-builder section[hidden],.pref-builder section[hidden]{display:none!important}.builder-empty{padding:16px;border:1px dashed #b9c9de;border-radius:10px;background:#f8faff;color:#53657d;font-size:14px;line-height:1.6}.common-builder-footer{position:sticky;bottom:-24px;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:14px 0;background:#fff;border-top:1px solid #dfe7f0;z-index:5}.mcko-builder form,.pref-builder form{min-width:0}.mcko-builder [data-slot=dialog-header],.pref-builder [data-slot=dialog-header]{padding-right:24px;text-align:left}.pref-builder .pref-add-tasks{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 90px auto;align-items:end}.pref-builder .pref-add-tasks>button,.pref-builder .pref-add-tasks>label{grid-column:auto}.pref-builder .pref-add-tasks [role=combobox]{width:100%;min-width:0}@media(max-width:700px){.pref-builder .pref-add-tasks{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.pref-builder .pref-add-tasks>label:first-child,.pref-builder .pref-add-tasks>label:nth-child(2){grid-column:1/-1}.pref-builder .pref-add-tasks>button{align-self:end}.mcko-builder,.pref-builder{padding:18px!important;gap:18px}.common-builder-footer{bottom:-18px}.common-builder-footer button{flex:1 1 auto;min-height:40px;height:auto;white-space:normal;text-align:center}}@media(max-width:600px){.common-builder-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.common-builder-steps button{flex-direction:column;align-items:flex-start;gap:5px;padding:6px;font-size:12px;text-align:left}.common-builder-steps b{padding:2px 7px}.common-builder-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.common-builder-modes button{font-size:13px;padding:6px;min-width:0}}