.semester-group{margin-top:2.2rem}.semester-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line);padding-bottom:1rem;margin-bottom:1.2rem}.semester-heading h3{font-size:1.4rem;margin:0}.semester-heading>span{font-size:.85rem;color:var(--muted)}.semester-heading::before{content:"";width:5px;height:1.8rem;border-radius:5px;background:linear-gradient(#e0f0f5,#617884);flex:none}.semester-heading h3{flex:1}.semester-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}.semester-edit-card{min-width:0;border:1px solid var(--line);border-radius:10px;padding:1.4rem;background:var(--surface)}.semester-edit-card h4{font-size:1.1rem;line-height:1.6;margin:.5rem 0 1.3rem}.semester-edit-card label{display:grid;gap:.5rem;font-size:.9rem}.semester-edit-card input{width:100%;min-width:0;padding:.8rem;background:var(--bg);border:1px solid var(--line);border-radius:6px;color:var(--text);font:inherit}.semester-save{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem}.semester-save small,.semester-note{color:var(--muted);font-size:.8rem;line-height:1.7}.compose-destination{display:grid;grid-template-columns:1fr 1.6fr;gap:14px}.semester-note{margin:0 0 1.5rem}.course-manager{min-width:0}.course-manager .section-heading{align-items:start;gap:1rem}.course-manager .section-heading p:not(.eyebrow){font-size:.9rem;line-height:1.7}
dialog.admin-drawer{inset:0!important;margin:auto!important;box-sizing:border-box;animation:none!important}
@media(max-width:760px){.semester-edit-grid{grid-template-columns:1fr}.compose-destination{grid-template-columns:1fr}.semester-save{flex-wrap:wrap}.semester-heading h3{font-size:1.15rem}.course-manager .section-heading{flex-wrap:wrap}}

@media(max-width:760px){dialog.admin-drawer{width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important;}}
.catalog-tabs{display:flex;gap:.7rem;margin:1rem 0 1.5rem}.catalog-tabs [aria-pressed=true]{background:var(--surface);border-color:var(--muted)}.catalog-course{display:flex;flex-direction:column;justify-content:space-between;gap:1rem;padding:1.35rem;border:1px solid var(--line);border-radius:10px;min-width:0;background:var(--surface)}.catalog-course h4{font-size:1.1rem;margin:.5rem 0;line-height:1.6}.catalog-course small,.catalog-code,.catalog-description{color:var(--muted)}.catalog-code{font-size:.8rem}.catalog-description{font-size:.85rem;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.catalog-editor,.catalog-confirm{padding:1.5rem;background:var(--surface);border:1px solid var(--muted);border-radius:10px;margin:1rem 0 2rem}.catalog-editor fieldset{border:0;padding:0;min-width:0}.catalog-editor-heading{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:1rem}.catalog-editor-heading h3{margin:0}.catalog-fields{display:grid;grid-template-columns:1fr 2fr 1.2fr;gap:1rem}.catalog-editor label,.catalog-confirm label{display:grid;gap:.6rem;margin-bottom:1rem}.catalog-editor input,.catalog-editor textarea,.catalog-editor select,.catalog-confirm select{width:100%;min-width:0;border:1px solid var(--line);background:var(--bg);color:var(--text);padding:.85rem;border-radius:6px;font:inherit}.catalog-editor input[readonly]{opacity:.65}.catalog-danger{border-color:#bc817b;color:#f5c2b9}.catalog-confirm p{max-width:75ch;line-height:1.8}.catalog-confirm select{max-width:480px}.catalog-term-trash>div{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line);padding:1rem 0}.semester-empty{color:var(--muted);padding:1.2rem 0}.course-manager .admin-actions{flex-wrap:wrap}.semester-heading .admin-actions{flex:none}.catalog-term-trash{margin-bottom:2rem}@media(max-width:950px){.catalog-fields{grid-template-columns:1fr}.semester-heading{flex-wrap:wrap}.semester-heading .admin-actions{width:100%}.course-manager .section-heading{flex-wrap:wrap}}

.course-manager [data-primary]{background:linear-gradient(120deg,#ebf3f6,#aec8d5);color:#172c37}
