:root{font-family:system-ui,sans-serif;color:#172033;background:#f5f7fa;--brand-primary:#183b56;--brand-secondary:#0c234b;--brand-accent:#1261a0}body{margin:0}.site-header{background:var(--brand-secondary);color:white;padding:1rem 5%;display:flex;justify-content:space-between;align-items:center}.site-header a{color:white;font-weight:700;text-decoration:none}.brand{display:flex;gap:.75rem;align-items:center}.brand img{height:42px;width:auto;max-width:180px;object-fit:contain}.brand-fallback{display:grid;place-items:center;background:var(--brand-primary);border:2px solid #fff;border-radius:6px;min-width:44px;height:40px}.portal-nav{display:flex;gap:.25rem;padding:.6rem 5%;background:white;border-bottom:3px solid var(--brand-primary);overflow:auto}.portal-nav a{color:var(--brand-secondary);padding:.6rem .9rem;text-decoration:none;font-weight:650;border-radius:4px}.portal-nav a:hover,.portal-nav a:focus{background:#eef2f6;outline:2px solid var(--brand-accent)}main{max-width:1200px;margin:2rem auto;padding:0 1rem}.grid,.directory-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}.card{background:white;border:1px solid #d9e1e8;border-radius:8px;padding:1.25rem;margin-bottom:1rem}.narrow{max-width:420px;margin:auto}label{display:block;margin:.75rem 0}input,select,textarea,button{box-sizing:border-box;width:100%;padding:.65rem;margin-top:.25rem}button,.button-link{background:var(--brand-primary);color:white;border:0;border-radius:4px;cursor:pointer;padding:.65rem;text-decoration:none;display:inline-block}button:focus,input:focus,select:focus,textarea:focus,a:focus{outline:3px solid var(--brand-accent);outline-offset:2px}.site-header button{width:auto;margin:0}.error{background:#fee2e2;padding:.75rem}.success{background:#dcfce7;padding:.75rem}table{border-collapse:collapse;width:100%;font-size:.9rem}th,td{text-align:left;border-bottom:1px solid #ddd;padding:.5rem;vertical-align:top}.wrap{overflow-wrap:anywhere}dt{font-weight:700}dd{margin:0 0 .6rem}.mail-list{background:white;border:1px solid #d9e1e8}.mail-row{display:grid;grid-template-columns:minmax(160px,1fr) 2fr auto;gap:1rem;padding:.85rem;color:inherit;text-decoration:none;border-bottom:1px solid #e5e7eb}.mail-row:hover{background:#f8fafc}.mail-row.unread{border-left:5px solid var(--brand-primary);font-weight:650}.mail-row small{display:block;font-weight:400}.thread{max-width:850px}.message header{background:none;color:inherit;padding:0 0 .75rem;display:flex;justify-content:space-between}.message pre{white-space:pre-wrap;font:inherit;overflow-wrap:anywhere}.message-actions form{display:flex;gap:.5rem}.message-actions button{width:auto}.compose{max-width:760px}@media(max-width:650px){.mail-row{grid-template-columns:1fr}.site-header{align-items:flex-start}.brand>span:last-child{display:none}}
.instructor-portal{min-height:100vh;display:flex;flex-direction:column;background:#f4f6f9}.instructor-portal main{width:min(1240px,calc(100% - 2rem));box-sizing:border-box;flex:1}.instructor-header{min-height:64px;padding:0 max(1rem,4vw);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:2rem;background:linear-gradient(100deg,#243447,#111827);color:#fff;box-shadow:0 2px 8px #0f172a30}.instructor-brand{color:#fff;text-decoration:none;font-weight:750;font-size:1.05rem;white-space:nowrap}.instructor-brand small{display:block;font-weight:500;color:#cbd5e1;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase}.instructor-header nav{display:flex;align-self:stretch;align-items:center;gap:.25rem}.instructor-header nav a{color:#e5e7eb;text-decoration:none;padding:.75rem .9rem;border-bottom:3px solid transparent;font-weight:650}.instructor-header nav a:hover,.instructor-header nav a:focus,.instructor-header nav a[aria-current=page]{color:#fff;border-bottom-color:#60a5fa;background:#ffffff0d}.instructor-header form,.instructor-header button{margin:0;width:auto}.instructor-header button{background:transparent;border:1px solid #94a3b8;padding:.45rem .7rem}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}.page-heading h1{margin:0}.page-heading p{margin:.35rem 0 0;color:#526174}.action-row{display:flex;gap:.6rem;flex-wrap:wrap}.button-link.secondary,.button-secondary{background:#fff;color:#183b56;border:1px solid #9aa9b8}.summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1rem}.status-pill{display:inline-block;padding:.2rem .55rem;border-radius:999px;background:#e8eef5;font-size:.8rem;font-weight:700}.status-pill.open,.status-pill.active,.status-pill.finalized{background:#dcfce7;color:#166534}.status-pill.draft{background:#fef3c7;color:#92400e}.instructor-list{display:grid;gap:.75rem}.instructor-list article{background:#fff;border:1px solid #d9e1e8;border-radius:7px;padding:1rem;display:flex;justify-content:space-between;gap:1rem;align-items:center}.instructor-list h2,.instructor-list h3{margin:0 0 .3rem}.instructor-list p{margin:.2rem 0;color:#526174}.wizard-shell{display:grid;grid-template-columns:210px minmax(0,1fr);gap:1.5rem}.wizard-steps{list-style:none;margin:0;padding:0;background:#fff;border:1px solid #d9e1e8;border-radius:8px;height:max-content}.wizard-steps li{padding:.85rem 1rem;border-bottom:1px solid #e5e7eb;color:#64748b}.wizard-steps li:last-child{border:0}.wizard-steps li.current{border-left:4px solid #1261a0;color:#172033;font-weight:750;background:#eff6ff}.wizard-panel{background:#fff;border:1px solid #d9e1e8;border-radius:8px;padding:1.4rem}.wizard-panel h2{margin-top:0}.wizard-actions{display:flex;justify-content:space-between;gap:1rem;margin-top:1.5rem}.wizard-actions button,.wizard-actions .button-link{width:auto;min-width:92px}.field-grid,.date-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1rem}.date-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.date-control{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:.5rem}.muted{color:#64748b}.attention{border-left:4px solid #d97706}.empty-state{text-align:center;padding:2.5rem 1rem;background:#fff;border:1px dashed #94a3b8;border-radius:8px}.operations-nav{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0}.operations-nav a{padding:.4rem .65rem;background:#e8eef5;border-radius:4px;text-decoration:none;color:#183b56}@media(max-width:760px){.instructor-header{grid-template-columns:1fr auto;gap:.5rem;padding:.6rem 1rem}.instructor-header nav{grid-column:1/-1;order:3;overflow:auto}.wizard-shell{grid-template-columns:1fr}.wizard-steps{display:flex;overflow:auto}.wizard-steps li{white-space:nowrap;border-bottom:0;border-right:1px solid #e5e7eb}.field-grid,.date-grid{grid-template-columns:1fr}.page-heading{display:block}.page-heading .action-row{margin-top:1rem}}
.course-signup-card{max-width:64rem;margin-inline:auto}.course-signup-context{margin-bottom:1rem}.signup-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.signup-columns section{padding:1rem;border:1px solid #d7dde5;border-radius:.5rem}.checkbox-label{display:flex;align-items:flex-start;gap:.5rem;margin:.75rem 0}.checkbox-label input[type=checkbox]{flex:0 0 auto;width:auto;margin:.15rem 0 0;padding:0}@media(max-width:720px){.signup-columns{grid-template-columns:1fr}}
