/* Roster extends Trackmedico's established forest/mint workspace. */
.roster-tabs{display:flex;gap:6px;border-bottom:1px solid #dce6e5;margin-bottom:24px;padding-bottom:10px}
.roster-tabs button{display:flex;align-items:center;gap:8px;background:transparent;color:#494641;border:0;border-radius:8px;padding:10px 16px}
.roster-tabs button[aria-pressed=true]{background:#1f4d48;color:#fff}
.roster-tabs svg,.roster-community-note svg,.roster-log-privacy svg,.roster-note-footer svg,.community-log-filters svg{width:17px;height:17px;flex-shrink:0}
.roster-layout{display:grid;grid-template-columns:minmax(340px,1.15fr) minmax(320px,1fr);gap:28px;align-items:start}
.roster-calendar{padding:22px;position:sticky;top:24px;box-shadow:none}
.roster-calendar-heading,.roster-month-nav{display:flex;align-items:center;justify-content:space-between;gap:12px}
.roster-calendar h3{font-size:17px;margin:0}
.roster-month-nav{margin:26px 0 20px;font-variant-numeric:tabular-nums}
.roster-month-nav h3{font-size:16px}
.roster-weekdays,.roster-date-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.roster-weekdays{margin-bottom:10px;text-align:center;text-transform:uppercase;font-size:11px;color:#676159;letter-spacing:.04em}
.roster-date-grid .roster-date{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:5px;min-width:0;min-height:65px;border:0;border-radius:8px;background:transparent;color:#023631;padding:9px;font-size:14px;font-variant-numeric:tabular-nums;box-shadow:none}
.roster-date-grid .roster-date:hover:not(:disabled){background:#ebf6f5}
.roster-date-grid .roster-date.selected{background:#023631;color:#fff}
.roster-date-grid .roster-date.holiday:not(.selected){background:#fff4df;color:#8c4b0b}
.roster-date-grid .roster-date.outside{color:#676159}
.roster-date-grid .roster-date:disabled{color:#7e7973;background:#f7f6f5;cursor:default}
.roster-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#2a6a64;flex-shrink:0}
.selected .roster-dot{background:#aceee7}
.roster-calendar-key{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:#676159;font-size:11px;margin:18px 0 0}
.roster-cancel-key{flex-basis:100%;margin-top:4px}
.roster-community-note{display:flex;gap:10px;align-items:flex-start;color:#494641;font-size:12px;line-height:1.6;margin:24px 0 0;padding-top:18px;border-top:1px solid #dce6e5}
.roster-day-heading{display:flex;justify-content:space-between;gap:12px;margin:0 0 18px}
.roster-day-heading h3{font-size:19px;margin:0 0 8px;color:#023631;line-height:1.5}
.roster-day-heading p{font-size:12px;color:#676159;margin:0}
.roster-day-heading label{display:grid;gap:4px;max-width:160px;font-size:11px;color:#494641;align-self:start}
.roster-day-heading select{min-width:0;width:100%;font-size:12px;padding:8px}
.roster-lecture{padding:20px;background:#fff;border:1px solid #dce6e5;border-radius:12px;margin-bottom:16px;min-width:0}
.roster-lecture-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:11px;font-variant-numeric:tabular-nums;color:#494641}
.roster-kind{border-radius:999px;padding:4px 9px;background:#e5f0ef;color:#023631}
.roster-lecture h4{margin:12px 0 18px;font-size:17px;line-height:1.5;overflow-wrap:anywhere;color:#023631}
.roster-change-note{font-size:11px;color:#676159;margin-top:-12px}
.roster-note-values{margin:0;display:grid;gap:16px}
.roster-note-values dt,.roster-conflict dt{font-size:11px;color:#676159;margin-bottom:4px}
.roster-note-values dd,.roster-conflict dd{font-size:13px;line-height:1.7;color:#141e1d;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.roster-note-values .not-recorded{color:#676159}
.roster-note-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #dce6e5;padding-top:16px;margin-top:20px}
.roster-note-footer span{color:#676159;font-size:11px;line-height:1.6}
.roster-note-footer button{display:flex;align-items:center;gap:6px;flex-shrink:0;font-size:12px}
.roster-note-form fieldset{border:0;padding:0;margin:0;display:grid;gap:14px;min-width:0}
.roster-note-form label{display:grid;gap:7px;font-size:12px;color:#494641}
.roster-note-form input,.roster-note-form textarea{width:100%;box-sizing:border-box;font:inherit;font-size:13px;color:#141e1d;caret-color:#1f4d48}
.roster-note-form textarea{resize:vertical;min-height:120px;line-height:1.65}
.roster-form-message{font-size:12px;line-height:1.65;color:#494641;margin:16px 0}
.roster-form-actions{display:flex;gap:8px;flex-wrap:wrap}
.roster-form-actions button{font-size:12px}
.roster-conflict{padding:14px;background:#fff4df;border-radius:8px;margin-bottom:16px;font-size:12px;color:#5d370b}
.roster-conflict summary{cursor:pointer;font-weight:600}
.roster-conflict button{margin-top:8px}
.roster-status{padding:12px 16px;background:#e5f0ef;border-radius:8px;font-size:13px;line-height:1.6;margin:0 0 20px;color:#023631}
.roster-status:empty{display:none}
.roster-empty{padding:32px 24px;background:#fff;border:1px solid #dce6e5;border-radius:12px;font-size:14px;color:#494641;line-height:1.7}
.roster-empty h3,.roster-empty h4{margin:0 0 8px;color:#023631;font-size:17px}
.roster-empty p{margin:0}
.roster-syllabus-context{font-size:13px;color:#494641;margin:0 0 18px}
.community-log-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-bottom:22px}
.community-log-filters label{display:grid;gap:6px;font-size:12px;color:#494641;flex:1;min-width:160px}
.community-log-filters input,.community-log-filters select{width:100%;box-sizing:border-box;min-width:0}
.community-log-filters button{display:flex;align-items:center;gap:8px;min-height:44px}
.community-log-list{background:#fff;border:1px solid #dce6e5;border-radius:12px}
.community-log-list:empty{display:none}
.community-log-entry{display:flex;align-items:start;gap:16px;padding:24px}
.community-log-entry+.community-log-entry{border-top:1px solid #dce6e5}
.community-log-avatar{display:grid;place-items:center;background:#ebf6f5;color:#023631;border-radius:8px;width:36px;height:36px;flex-shrink:0;font-weight:600;font-size:14px}
.community-log-body{flex:1;min-width:0}
.community-log-body header{display:flex;justify-content:space-between;align-items:start;gap:16px}
.community-log-body header div{display:grid;gap:5px;font-size:13px}
.community-log-body header span{color:#494641;font-size:12px}
.community-log-body time{font-size:11px;color:#676159;font-variant-numeric:tabular-nums;flex-shrink:0}
.community-log-context{font-size:12px;color:#494641;line-height:1.7;margin:12px 0}
.community-log-body details{margin-top:16px;font-size:12px}
.community-log-body summary{cursor:pointer;color:#1f4d48;font-weight:600}
.community-log-body dl{margin-bottom:0}
.community-log-body dt{font-weight:600;margin-bottom:8px;font-size:12px;overflow-wrap:anywhere}
.community-log-body dd{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 16px}
.community-log-body dd span{padding:12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;border-radius:8px;min-width:0}
.community-log-body dd small{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.04em;margin-bottom:5px;color:#494641}
.community-log-before{background:#f7f6f5;color:#494641}
.community-log-after{background:#ebf6f5;color:#023631}
.community-log-more{margin-top:20px}
.roster-log-privacy{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.6;color:#676159;margin-top:20px}
#roster-view button:focus-visible,#community-logs-view button:focus-visible,#moderator-logs-view button:focus-visible{outline:2px solid #2a6a64;outline-offset:3px}
#roster-view [hidden],#community-logs-view [hidden],#moderator-logs-view [hidden]{display:none!important}
.roster-lecture.cancelled h4{color:#676159}
@media(max-width:1199px){.roster-layout{grid-template-columns:minmax(290px,1fr) minmax(280px,1fr);gap:18px}.roster-calendar{padding:16px}.roster-day-heading{flex-wrap:wrap}}
@media(max-width:760px){.roster-layout{grid-template-columns:1fr}.roster-calendar{position:static}.roster-date-grid .roster-date{min-height:48px}.roster-lecture{padding:18px}.roster-day-heading{justify-content:space-between}.roster-note-footer{align-items:start}.community-log-entry{gap:10px;padding:18px}.community-log-body header{flex-direction:column;gap:8px}.community-log-body dd{grid-template-columns:1fr}.community-log-filters label{min-width:130px}.community-log-filters button{width:100%;justify-content:center}}
