.schedule-people{display:flex;flex-direction:row!important;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:4px!important}
.schedule-person-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:var(--person-color);color:var(--person-ink,#fff);font:700 13px/1 system-ui,sans-serif;letter-spacing:0;white-space:nowrap}
.schedule-person-name{white-space:normal;overflow-wrap:anywhere;font-weight:600}
body.mobile-schedule-view main{padding:4px!important;max-width:none}
body.mobile-schedule-view #workspace{display:block!important}
body.mobile-schedule-view .workspace-sidebar,body.mobile-schedule-view main>footer{display:none!important}
body.mobile-schedule-view.mobile-schedule-nav .workspace-sidebar{display:flex!important;position:fixed;inset:48px auto 8px 4px;width:160px;z-index:100;box-shadow:0 4px 24px #20304030;background:#f5f7fa}
.schedule-mobile-panel{padding:0!important;min-width:0}
.schedule-mobile-bar{display:flex;align-items:center;gap:6px;height:42px;margin-bottom:4px}
.schedule-mobile-bar h1{font-size:17px;white-space:nowrap;margin:0}
.schedule-mobile-bar small{font-size:11px;color:#586a78;white-space:nowrap}
.schedule-mobile-bar input{width:85px;min-width:0;min-height:32px;padding:5px 8px;margin-left:auto}
.schedule-mobile-bar button{min-height:36px;min-width:36px;padding:4px}
.schedule-mobile-panel .schedule-scroll{max-height:none!important;min-height:120px!important;border-radius:7px;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y}
.schedule-mobile-panel table.mobile-schedule-matrix{table-layout:fixed;width:max-content!important;min-width:0!important}
.schedule-mobile-panel .mobile-schedule-matrix .schedule-project,.schedule-mobile-panel .mobile-schedule-matrix .schedule-td{width:112px!important;min-width:112px!important;max-width:112px!important}
.schedule-mobile-panel .mobile-schedule-matrix .schedule-row-name,.schedule-mobile-panel .mobile-schedule-matrix .schedule-corner,.schedule-mobile-panel .mobile-schedule-matrix .schedule-category-row th{width:82px!important;min-width:82px!important;max-width:82px!important;padding:4px!important;font-size:11px}
.schedule-mobile-panel .mobile-schedule-matrix .schedule-project-info{padding:5px!important}
.schedule-mobile-panel .mobile-schedule-matrix .schedule-project-info span{white-space:normal!important;overflow:visible!important;text-overflow:clip;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.schedule-mobile-panel .mobile-schedule-matrix .schedule-project-name{font-weight:700}
.schedule-mobile-panel .mobile-schedule-matrix .schedule-cell{height:auto!important;min-height:31px!important;padding:3px 5px!important;font-size:12px;cursor:default;user-select:text}
.schedule-mobile-panel .schedule-person-badge{width:24px;height:24px;flex-basis:24px;font-size:12px}

.schedule-mobile-panel .schedule-matrix .state-arranged{background:#e8f2eb!important}
.schedule-mobile-panel .schedule-matrix .state-confirmed{background:#e5f3ea!important}
.schedule-mobile-panel .schedule-matrix .state-needed{background:#fff4d9!important}
.schedule-mobile-panel .schedule-matrix .state-not-needed{background:#e4e6ea!important}



.staff-picks{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:8px}
.staff-picks .staff-pick,.schedule-person-badge.staff-all{border-radius:50%;background:var(--person-color);color:var(--person-ink,white)}
.staff-picks .staff-pick{width:44px;height:44px;padding:0;font-weight:700}
.staff-pick[aria-pressed=true]{outline:3px solid #28455c;outline-offset:2px}
.staff-all{--person-color:#bb3038;--person-ink:white}

.schedule-resource-preview{position:fixed;inset:auto;margin:0;box-sizing:border-box;width:min(300px,42vw);max-height:min(300px,50vh);overflow:auto;padding:4px;border:1px solid #c5d2dd;border-radius:9px;background:white;color:#233644;box-shadow:0 5px 20px #18354828}
.schedule-resource-preview button{display:grid;width:100%;text-align:left;padding:6px 9px;border:0;background:white;color:inherit;cursor:pointer}
.schedule-resource-preview button:hover,.schedule-resource-preview button.active{background:#e3edf6}
.schedule-resource-preview small{display:block;color:#52697b;padding:2px 0}

.schedule-resource-link{color:#285e87;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.schedule-group-options{display:grid;gap:4px;max-height:36vh;overflow:auto}
.schedule-group-options button{text-align:left}
.schedule-group-options [aria-pressed=true]{background:#d7e8f5;outline:2px solid #346789;outline-offset:-2px}

.schedule-cell .schedule-resource-link{width:fit-content;max-width:100%}

.schedule-matrix .schedule-cell,.schedule-mobile-panel .mobile-schedule-matrix .schedule-cell{height:auto!important;min-height:25px!important;padding:2px 6px!important;line-height:1.35;color:#171717}
.schedule-matrix .schedule-row-name .schedule-item-name,.schedule-matrix .schedule-row-name .schedule-drag{height:auto;min-height:24px;padding-block:1px}
.schedule-matrix .schedule-person-badge{width:21px;height:21px;flex-basis:21px;font-size:11px}
.schedule-matrix a.schedule-resource-link{color:#285e87;text-decoration:underline;text-underline-offset:2px}
