/* Shared form treatment, scoped to instructor publishing tools. */
body #instructor-section.publishing-workspace #instructor-panel{text-align:left;color:#203b4d}
body #instructor-section.publishing-workspace #instructor-panel h3{color:#315d80;font-size:1.45rem;line-height:1.3;margin:0 0 14px}
body #instructor-section.publishing-workspace #instructor-panel h4{color:#315d80;font-size:1.15rem;line-height:1.4;margin:0 0 8px}
body #instructor-section.publishing-workspace #instructor-panel p{font-size:1rem;line-height:1.55;margin:8px 0 16px}
body #instructor-section.publishing-workspace #instructor-panel .instructor-grid{align-items:start;gap:24px}
body #instructor-section.publishing-workspace #instructor-panel .instructor-form,body #instructor-section.publishing-workspace #instructor-panel .planning-editor{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:14px;padding:22px;border:1px solid #d6dfe5;border-radius:16px;background:linear-gradient(135deg,#fff,#f1f5f8);margin:18px 0}
body #instructor-section.publishing-workspace #instructor-panel [hidden]{display:none!important}
body #instructor-section.publishing-workspace #instructor-panel label{display:flex!important;flex-direction:column;align-items:stretch;gap:8px;font-size:1rem;line-height:1.4;font-weight:600;margin:0 0 12px!important;color:#203b4d}
body #instructor-section.publishing-workspace #instructor-panel label:has(>input[type=checkbox]),body #instructor-section.publishing-workspace #instructor-panel label:has(>input[type=radio]){flex-direction:row!important;align-items:center!important;justify-content:flex-start;gap:10px}
body #instructor-section.publishing-workspace #instructor-panel input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body #instructor-section.publishing-workspace #instructor-panel select,body #instructor-section.publishing-workspace #instructor-panel textarea{box-sizing:border-box;width:100%!important;max-width:100%;min-height:44px;font:400 1rem/1.5 Georgia,serif!important;color:#203b4d!important;background:#fff!important;border:1px solid #bac7d0!important;border-radius:10px!important;padding:11px 13px!important;margin:0!important}
body #instructor-section.publishing-workspace #instructor-panel textarea{resize:vertical;min-height:140px}
body #instructor-section.publishing-workspace #instructor-panel input[type=checkbox],body #instructor-section.publishing-workspace #instructor-panel input[type=radio]{width:20px!important;height:20px!important;min-height:0!important;padding:0!important;margin:0!important;flex:0 0 20px;accent-color:#3d709b}
body #instructor-section.publishing-workspace #instructor-panel button{width:auto;min-height:44px;padding:10px 16px!important;border:1px solid #aebdca!important;border-radius:10px!important;background:#e8eaed!important;color:#203b4d!important;font:600 1rem/1.4 system-ui,sans-serif!important;cursor:pointer;box-shadow:none!important;text-transform:none}
body #instructor-section.publishing-workspace #instructor-panel button.danger{color:#8b2f29!important;background:#f8e7e5!important;border-color:#d9b8b4!important}
body #instructor-section.publishing-workspace #instructor-panel button:disabled{opacity:.55;cursor:not-allowed}
body #instructor-section.publishing-workspace #instructor-panel button:focus-visible,body #instructor-section.publishing-workspace #instructor-panel input:focus-visible,body #instructor-section.publishing-workspace #instructor-panel textarea:focus-visible,body #instructor-section.publishing-workspace #instructor-panel select:focus-visible{outline:3px solid #b99550;outline-offset:3px}
body #instructor-section.publishing-workspace #instructor-panel fieldset{min-width:0;margin:12px 0;padding:18px;border:1px solid #d6dfe5;border-radius:12px}
body #instructor-section.publishing-workspace #instructor-panel legend{color:#315d80;font-size:1.1rem;font-weight:bold;padding:0 6px}
body #instructor-section.publishing-workspace #instructor-panel .instructor-list{gap:16px}
body #instructor-section.publishing-workspace #instructor-panel .instructor-card{padding:20px;border:1px solid #d6dfe5;border-radius:16px;margin-bottom:16px}
body #instructor-section.publishing-workspace #instructor-panel .rite-guide-editor{max-width:none!important;width:100%;box-sizing:border-box;margin:20px 0!important}
body #instructor-section.publishing-workspace #instructor-panel .rite-guide-editor h3:focus{outline:none}
@media(max-width:750px){body #instructor-section.publishing-workspace #instructor-panel .instructor-grid{grid-template-columns:1fr}body #instructor-section.publishing-workspace #instructor-panel .instructor-form,body #instructor-section.publishing-workspace #instructor-panel .planning-editor{padding:16px}}

body #instructor-section.publishing-workspace .assignment-lesson-category{margin:10px 0;border:1px solid #d6dfe5;border-radius:12px;background:#fff;overflow:hidden}
body #instructor-section.publishing-workspace .assignment-lesson-category summary{padding:16px;cursor:pointer;font:600 1.05rem/1.4 system-ui,sans-serif;color:#315d80}
body #instructor-section.publishing-workspace .assignment-category-count{display:block;margin:6px 0 0 18px;font-size:.9rem;font-weight:400;color:#536779}
body #instructor-section.publishing-workspace .assignment-category-lessons{padding:8px 16px 12px;border-top:1px solid #e0e6eb}
body #instructor-section.publishing-workspace #instructor-panel .assignment-category-lessons label{padding:10px 0;margin:0!important;font-weight:400;border-bottom:1px solid #edf1f4}
body #instructor-section.publishing-workspace .assignment-lesson-category summary:focus-visible{outline:3px solid #b99550;outline-offset:-3px}
