.email-template{margin-top:14px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#18243d}.email-template summary{display:flex;align-items:center;gap:12px;padding:18px 20px;cursor:pointer;font-weight:800;list-style:none}.email-template summary::-webkit-details-marker{display:none}.email-template summary>span{margin-right:auto}.email-template summary::after{content:'+';order:4;color:var(--orange);font-size:21px}.email-template[open] summary::after{content:'−'}.email-template[open] summary{border-bottom:1px solid var(--line)}.email-template-body{padding:20px}.email-audience,.template-state{padding:4px 8px;border:1px solid #64718e;border-radius:999px;font-size:12px;color:var(--muted)}.access-revoked{background:#4b2830!important}.access-revoked:hover{background:#61333c!important}.access-revoked td{border-color:#75434e}.access-revoked-label{display:inline-block;padding:7px 12px;border:1px solid #d67a82;border-radius:999px;background:#572c34;color:#ffd7db;font-size:13px;font-weight:700;white-space:nowrap}
html[data-theme=light] .access-revoked,html[data-theme=light] .access-revoked:hover{background:#fee7e9!important;color:#84212b}html[data-theme=light] .access-revoked td{border-color:#f0bbc1}html[data-theme=light] .access-revoked td a{color:#9d2430}html[data-theme=light] .access-revoked-label{background:#fff5f5;border-color:#db7d86;color:#8b2635}html[data-theme=light] .course-settings{background:#fff;border-color:#e39a57}html[data-theme=light] .course-settings summary{background:#EB7C16;color:#fff}html[data-theme=light] .course-settings summary small{color:#fff3e8}html[data-theme=light] .course-settings summary::after{color:#fff}html[data-theme=light] .course-settings[open] summary{border-color:#c96109}html[data-theme=light] .course-settings-body{background:#fffaf5}html[data-theme=light] .email-template{background:#fff;border-color:#d6e0ed}html[data-theme=light] .email-template summary{background:#f4f8fc;color:#18243d}html[data-theme=light] .email-template[open] summary{border-color:#d6e0ed}html[data-theme=light] .email-template-body{background:#fff}html[data-theme=light] .email-audience,html[data-theme=light] .template-state{border-color:#b5c7dc;color:#37526f;background:#fff}
html[data-theme=high-contrast] .email-template,html[data-theme=high-contrast] .course-settings,html[data-theme=high-contrast] .email-template summary,html[data-theme=high-contrast] .course-settings summary,html[data-theme=high-contrast] .email-template-body,html[data-theme=high-contrast] .course-settings-body{background:#000!important;color:#fff!important}html[data-theme=high-contrast] .access-revoked,html[data-theme=high-contrast] .access-revoked:hover{background:#000!important;color:#fff!important}
.rich-text-toolbar{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0 8px}.rich-text-toolbar button{padding:7px 10px}.rich-text-editor{min-height:180px;padding:14px;border:1px solid #3b4a6c;border-radius:12px;background:#091329;color:var(--ink);line-height:1.55}.rich-text-editor:focus{outline:2px solid #65a9ff;outline-offset:2px}.rich-text-editor :first-child{margin-top:0}.rich-text-editor :last-child{margin-bottom:0}.html-source-panel{margin:0 0 12px;padding:12px;border:1px dashed var(--line);border-radius:10px}.html-source-panel label{margin:0}.html-source-panel textarea{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.rich-text-save,.teaching-points-save{margin-top:16px}.home-notes{margin-top:24px}.rich-content{line-height:1.6}.rich-content p,.rich-content ul,.rich-content ol,.rich-content blockquote{margin:0 0 16px}.rich-content h1,.rich-content h2,.rich-content h3,.rich-content h4{margin:24px 0 12px;line-height:1.2}.rich-content h1{font-size:30px}.rich-content h2{font-size:24px}.rich-content h3{font-size:20px}.rich-content h4{font-size:17px}.rich-content a{color:#65a9ff;font-weight:700}html[data-theme=light] .rich-text-editor{background:#fff;color:#18243d;border-color:#aebed4}html[data-theme=light] .rich-content a{color:#075cae}html[data-theme=high-contrast] .rich-text-editor{background:#000!important;color:#fff!important;border:2px solid #fff!important}
.staff-access-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end}.staff-access-form button{align-self:end;min-height:46px;padding:10px 18px;white-space:nowrap}@media(max-width:760px){.staff-access-form{grid-template-columns:1fr}}
.settings-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none}.settings-panel>summary::-webkit-details-marker{display:none}.settings-panel>summary h2{margin:0}.settings-panel>summary::after{content:"";flex:0 0 auto;width:10px;height:10px;border:solid currentColor;border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg)}.settings-panel[open]>summary::after{transform:translateY(2px) rotate(225deg)}.settings-panel-content{margin-top:18px}html[data-theme=high-contrast] .settings-panel>summary::after{border-color:#fff}
