.teacher-profiles{display:grid;gap:14px}.teacher-profile{overflow:visible}.teacher-profile summary{display:flex;align-items:center;gap:22px;padding:22px 25px;cursor:pointer;list-style:none}.teacher-profile summary::-webkit-details-marker{display:none}.teacher-profile summary:focus-visible{outline:3px solid #378476;outline-offset:3px;border-radius:10px}.teacher-identity{min-width:210px;flex:1}.teacher-identity strong{display:block;font-size:1rem}.teacher-identity small{display:block;margin-top:5px;color:#758375;overflow-wrap:anywhere}.function-badges{display:flex;flex-wrap:wrap;gap:6px;max-width:320px}.function-badges .badge{font-size:.8125rem}.summary-context{color:#65795f;font-size:.8125rem;max-width:200px}.expand-label{font-size:.8125rem;white-space:nowrap;color:#386144}.expand-label span{margin-left:10px}.teacher-profile[open] summary{border-bottom:1px solid #e2e9de}.teacher-profile[open] .expand-label span{display:inline-block;transform:rotate(180deg)}.teacher-profile-body{padding:24px 25px}.teacher-functions-form fieldset{margin:0}.teacher-functions-form legend{font-size:1rem;margin-bottom:17px}.function-options{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:25px}.function-options .radio{border:1px solid #dce4d7;border-radius:8px;padding:12px 16px;min-width:130px;margin:0}.function-options .base-function{background:#f3f6ef}.function-context{padding:20px;background:#f7f9f4;border:1px solid #e0e8d9;border-radius:8px;margin:15px 0}.function-context[hidden]{display:none}.function-context h3{font-size:1rem;margin-bottom:5px}.context-options{display:flex;gap:20px;flex-wrap:wrap}.context-options .radio{margin:0;font-size:.875rem}.function-save-row{display:flex;gap:20px;justify-content:space-between;align-items:center;padding-top:18px;border-top:1px solid #e5eadf}.function-save-row .save-state{font-size:.8125rem}.import-columns{font-size:.875rem}.import-columns dt{font-weight:650;margin-top:18px}.import-columns dd{color:#718169;margin:5px 0 0}.sidebar nav{overflow-y:auto;min-height:0}.teacher-import-result:empty{display:none}.teacher-profile-body .help{font-size:.875rem}@media(max-width:1150px){.teacher-profile summary{flex-wrap:wrap;gap:14px}.teacher-identity{flex-basis:45%}.expand-label{margin-left:auto}.summary-context{max-width:none}}@media(max-width:600px){.teacher-profile summary{padding:18px}.teacher-identity{flex-basis:100%;min-width:0}.function-badges{max-width:none}.summary-context{width:100%}.teacher-profile-body{padding:20px 18px}.function-options{gap:9px}.function-options .radio{flex:1;min-width:115px;padding:10px}.context-options{gap:14px}.function-save-row{align-items:stretch;flex-direction:column;gap:12px}.function-save-row .primary{width:100%}.sidebar nav{overflow-y:hidden}}
.mentor-class-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.mentor-class-form label{flex:1;min-width:220px;margin:0}.mentor-class-form button{white-space:nowrap}.mentor-class-form .form-error{flex-basis:100%;margin:0}.mentor-class-form+.mentor-class-form{padding-top:16px;border-top:1px solid #e5eadf}
.mail-placeholder-buttons{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}.mail-placeholder-buttons .secondary{font-size:.875rem;padding:8px 11px}.mail-preview{margin-top:24px;padding:20px;background:#f7f9f4;border:1px solid #e0e8d9;border-radius:8px}.mail-preview h3{font-size:1rem;margin:0 0 12px}.mail-preview strong{display:block;margin-bottom:12px}.mail-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;margin:0}.teacher-password{display:block;overflow-wrap:anywhere;font-family:monospace;margin-top:6px}
.teacher-removal{margin-bottom:24px}.teacher-removal form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.teacher-removal form label{flex:1;min-width:250px}.teacher-removal form .form-error{flex-basis:100%;margin:0}.teacher-removal h3{font-size:1rem;margin:24px 0 10px}.teacher-removed-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e5eadf;padding:8px 0}
.year-reset{margin-top:28px;border-color:#e3c9c3}.year-reset>p{font-size:.875rem}.year-reset details{margin-top:18px;border-top:1px solid #ecd8d3;padding-top:18px}.year-reset summary{cursor:pointer;color:#8a3f35;font-weight:650}.year-reset-confirm{padding-top:20px}.year-reset-confirm label{max-width:340px}.year-reset-confirm input{margin-top:8px}.year-reset-button{background:#903f34;color:#fff;border-radius:8px;padding:11px 18px;margin-top:15px;font-weight:650}.year-reset-button:disabled{opacity:.5;cursor:not-allowed}
.import-salutation{display:flex;gap:6px;border:0;margin:0;padding:0;min-width:105px}.import-salutation label{display:inline-flex;align-items:center;gap:3px;cursor:pointer;border:1px solid #dce4d7;border-radius:7px;padding:5px 7px;font-weight:700}.import-salutation label:has(input:checked){background:#e5f1e5;border-color:#3f846b}.import-salutation input{margin:0;width:16px;height:16px}.import-salutation-status{font-weight:600;color:#254d40}
