.team-schedule-tabs{display:flex;gap:6px;padding:5px;background:#eaf0f7;border:1px solid #d6e1ec;border-radius:12px;width:fit-content;margin-bottom:18px}.team-schedule-tab{border:0;border-radius:8px;background:transparent;color:#59708b;padding:11px 18px;cursor:pointer;font-weight:750;font-size:13px}.team-schedule-tab.active{color:#275a78;background:#fff;box-shadow:0 2px 6px #21456615}#scheduleView.team-rotations-open>:not(.team-schedule-tabs):not(.team-rotations-panel){display:none!important}.team-schedule-tabs[hidden],.team-rotations-panel[hidden]{display:none!important}.team-rotations-panel{border:1px solid #cfdfeb;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 7px 25px #224b7110}.rotation-overview-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px;background:linear-gradient(110deg,#eaf5f7,#eeedf8);border-bottom:1px solid #d6e3ed}.rotation-overview-head small{font-size:10px;letter-spacing:.12em;color:#658295;font-weight:800}.rotation-overview-head h2{font-size:23px;line-height:1.3;margin:5px 0;color:#244e6a}.rotation-overview-head p{font-size:12px;margin:0;color:#5f748a}.rotation-switch{display:flex;gap:5px;padding:5px;border:1px solid #ccdce9;border-radius:11px;background:#fff}.rotation-switch button{border:0;background:transparent;border-radius:7px;padding:11px 20px;font-size:13px;color:#576d85;font-weight:800;cursor:pointer;white-space:nowrap}.rotation-switch button.active{background:#337386;color:white;box-shadow:0 3px 7px #33738625}.rotation-switch button[data-team-rotation=B].active{background:#776394}.rotation-view-controls{display:flex;flex-wrap:wrap;align-items:end;gap:15px;padding:16px 20px;border-bottom:1px solid #e0e8f0}.rotation-view-controls label{display:grid;gap:5px;font-size:11px;color:#54708a;font-weight:750}.rotation-view-controls input,.rotation-view-controls select{padding:8px 10px;min-height:37px;border:1px solid #cfdeea;border-radius:7px;background:white;color:#304e67;font:inherit;font-size:12px;max-width:100%}.rotation-week-picker{display:flex;gap:7px;align-items:end}.rotation-week-picker button{min-height:37px;padding:8px 11px;border:1px solid #cfdeea;border-radius:7px;background:#f5f8fc;color:#4f6d87;cursor:pointer;font-size:12px;font-weight:700}.rotation-week-summary{padding:17px 20px 5px;display:flex;align-items:center;justify-content:space-between;gap:16px}.rotation-week-summary h3{font-size:17px;color:#2f526f;margin:5px 0}.rotation-week-summary>span{font-size:12px;color:#4e7366;font-weight:750}#rotationWeekBadge{font-size:11px;background:#e8f2ee;border:1px solid #cee4d9;border-radius:20px;padding:3px 9px;font-weight:800;color:#3b7060}.rotation-calendar-help,.rotation-save-hint{font-size:11px;line-height:1.6;color:#748298;margin:9px 20px 16px;max-width:950px}.rotation-schedule-scroll{overflow:auto;max-height:72vh;border-top:1px solid #d1deea;border-bottom:1px solid #d1deea;isolation:isolate}.rotation-schedule-table{border-collapse:separate;border-spacing:0;width:100%;table-layout:fixed;min-width:1320px;font-size:12px;color:#34526a}.rotation-schedule-table th,.rotation-schedule-table td{padding:10px;border-right:1px solid #dbe5ec;border-bottom:1px solid #dbe5ec;vertical-align:top;overflow-wrap:anywhere;text-align:left}.rotation-schedule-table thead th{position:sticky;top:0;z-index:3;background:#e9f1f7;color:#3e617e;font-size:12px;vertical-align:middle}.rotation-schedule-table thead th small{display:block;margin-top:4px;color:#6e869e;font-size:10px}.rotation-schedule-table .rotation-person{position:sticky;left:0;width:175px;background:#f9fbfd;z-index:1;box-sizing:border-box}.rotation-schedule-table thead .rotation-person{z-index:4;background:#e9f1f7}.rotation-person>b{display:block;color:#234e70;font-size:12px}.rotation-person small{display:block;font-size:10px;font-weight:400;margin-top:4px;color:#768899}.rotation-person .rotation-person-pattern{color:#6875a0}.rotation-edit{padding:0;margin-top:7px;border:0;background:transparent;color:#347d89;font-size:10px;font-weight:750;cursor:pointer;text-decoration:underline}.rotation-day{width:128px}.rotation-day>b{display:block;font-size:11px;line-height:1.55;font-weight:700}.rotation-working{background:#e8f2f5}.rotation-off{background:#f0f1f3;color:#8995a1;font-size:11px}.rotation-lunch{display:block;font-size:10px;color:#8a969f;margin-top:5px;line-height:1.5}.rotation-lunch.has-lunch{color:#866821;background:#fff5d9;border:1px solid #eee0b7;border-radius:5px;padding:3px 5px}.rotation-hours{width:85px;text-align:center!important;background:#f0f5fa}.rotation-hours strong{font-size:15px;font-weight:800;color:#35697f}.rotation-hours small{display:block;font-size:9px;margin-top:4px;color:#7c90a2}.rotation-notes{width:190px;font-size:10px;background:#fcfdfd;color:#67788a}.rotation-note-entry+.rotation-note-entry{margin-top:8px;border-top:1px solid #e3e9ed;padding-top:7px}.rotation-note-entry b,.rotation-note-entry span{display:block;line-height:1.5;white-space:pre-wrap}.rotation-note-entry b{color:#507286}.rotation-attendance-label{display:block;font-size:9px;color:#91642c;margin-top:7px;line-height:1.4}.rotation-attendance{box-shadow:inset 0 -3px #d7b577}.rotation-department th{background:#325c80;color:#fff;padding:10px 14px}.rotation-department.reception th{background:#347885}.rotation-department.research th{background:#71658b}.rotation-department.hybrid th{background:#447c67}.rotation-department b{font-size:14px;font-weight:800}.rotation-department span{font-size:10px;font-weight:400;margin-left:18px;color:#f2f7ff}.rotation-empty{text-align:center!important;padding:28px!important;color:#748398}.rotation-save-hint{margin-top:13px}.team-rotations-panel :focus-visible,.team-schedule-tabs :focus-visible{outline:3px solid #92b7d5;outline-offset:3px}@media(max-width:760px){.rotation-overview-head{align-items:flex-start;flex-direction:column;padding:16px}.rotation-overview-head h2{font-size:20px}.rotation-switch{width:100%}.rotation-switch button{flex:1}.rotation-view-controls{padding:14px}.rotation-view-controls>label{flex:1;min-width:140px}.rotation-week-picker{flex-basis:100%;flex-wrap:wrap}.rotation-week-summary{align-items:flex-start;flex-direction:column;gap:4px;padding:14px}.rotation-calendar-help,.rotation-save-hint{margin-left:14px;margin-right:14px}.team-schedule-tabs{width:100%;box-sizing:border-box}.team-schedule-tab{padding:10px;font-size:12px;flex:1}.rotation-schedule-table .rotation-person{width:150px}.rotation-department span{display:block;margin:4px 0 0}}
.roster-master-rotation{display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px;padding:16px 20px;margin:0 20px 12px;border:1px solid #cddfdf;border-radius:12px;background:linear-gradient(110deg,#edf6f3,#efedf8)}.roster-master-rotation[hidden]{display:none!important}.roster-master-heading{flex:1;min-width:220px}.roster-master-heading>small{font-size:9px;font-weight:800;letter-spacing:.12em;color:#6f8298}.roster-master-heading h3{margin:4px 0;font-size:18px;color:#2c596c}.roster-master-heading p{margin:0;font-size:11px;line-height:1.5;color:#6a8092}.roster-master-range{flex-basis:100%;font-size:12px;font-weight:750;color:#4f6c81}.roster-master-switch button[data-master-rotation=B].active{background:#776394}.roster-selected-rotation{display:grid;gap:4px;padding:7px 8px;background:#e8f2ee;border:1px solid #d0e1d8;border-radius:7px;margin-bottom:4px}.roster-selected-rotation>b{font-size:11px;color:#326959}.roster-selected-rotation>span{font-size:10px;color:#577a6c;white-space:normal}@media(max-width:760px){.roster-master-rotation{margin-left:10px;margin-right:10px;padding:14px}.roster-master-switch{width:100%}.roster-master-switch button{flex:1;padding:10px 9px;font-size:12px}}
