.rota-toolbar{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:0 0 20px}.rota-toolbar a{font-size:12px;font-weight:600}.rota-filters{flex-wrap:wrap;gap:12px}.rota-filters .field{min-width:140px;flex:1;margin-bottom:10px}.rota-filters .rota-search{min-width:180px}.rota-legend{display:flex;gap:9px 18px;flex-wrap:wrap;margin:8px 0 18px;font-size:11px}.rota-code{display:inline-block;border-radius:4px;padding:3px 8px;margin-right:4px}.rota-working{background:#e0efe6;color:#22563c}.rota-rotation{background:#e4e7f9;color:#404b8d}.rota-holiday{background:#fff0cc;color:#845515}.rota-paid_off{background:#f5e2ef;color:#833d70}.rota-unpaid_off{background:#f9dfde;color:#903d3d}.rota-rest{background:#e9edef;color:#4d606b}.rota-travel{background:#d8eff3;color:#235b69}.rota-unplanned{background:#f5f6f7;color:#71818a}.rota-mixed{background:#e6edf1;color:#345467}.rota-grid{overflow:auto;max-height:65vh;min-height:170px}.rota-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0}.rota-table thead{position:sticky;top:0;z-index:3}.rota-table th,.rota-table td{padding:5px 3px;text-align:center;border-bottom:1px solid var(--line);font-size:11px}.rota-table th{letter-spacing:0;text-transform:none;min-width:54px}.rota-table th small{display:block;font-weight:400;color:var(--muted)}.rota-table .rota-person{position:sticky;left:0;z-index:2;text-align:left;min-width:215px;max-width:215px;background:#fff;border-right:1px solid var(--line);padding:10px 12px;white-space:normal}.rota-table thead .rota-person{background:#f7f9f9;z-index:4}.rota-person button{font-size:12px;border:0;padding:0;text-align:left;white-space:normal;background:transparent}.rota-person small{display:block;font-size:10px;color:var(--muted);font-weight:400}.rota-cell{display:block;min-height:42px;min-width:49px;width:100%;font-size:12px;padding:5px 4px;border:1px solid transparent;border-radius:4px}.rota-cell small{font-size:9px;color:inherit;margin:1px 0 0}.rota-cell:disabled{opacity:1;cursor:default}.rota-provisional{border-bottom:2px dotted currentColor}.rota-year .rota-cell{min-width:64px;font-size:10px;white-space:nowrap}.rota-help{font-size:12px}.rota-good{color:var(--green);font-weight:600}.rota-pattern-day{display:grid;grid-template-columns:95px 1fr;gap:12px;align-items:center;margin-bottom:7px}.rota-pattern-day label{margin:0}.rota-pattern-day select{padding:7px}.rota-entry-card{padding:12px 0;border-bottom:1px solid var(--line)}.rota-entry-card p{font-size:13px;margin:5px 0 8px}.rota-import-preview{max-height:220px;overflow:auto;font-size:12px}.rota-import-preview p{margin:5px 0}#rota-rule-form .actions{justify-content:flex-start;margin:14px 0 20px}#rota-rule-form .columns{gap:16px}#rota-access-sites{max-height:260px;overflow:auto}#rota-workers{min-height:44px}#rota-select-all{font-size:12px;padding:5px 0;border:0}#rota-grid:focus-visible{outline:2px solid var(--orange)}
.rota-filters input[type=search]{min-width:0}.rota-filters input,.rota-filters select{min-width:0}.rota-month th:not(.rota-person){font-size:10px;min-width:28px;padding:5px 2px}.rota-month td{padding:5px 2px}.rota-month .rota-cell{min-width:26px;font-size:11px}.rota-month .rota-cell small{display:none}.rota-year .rota-cell{min-width:48px}
.rota-planned{display:block}.rota-recorded{display:block;border-top:1px solid #bdcdd1;margin:5px -2px -2px;padding:4px 2px 1px;font-size:10px;font-weight:700;color:#204858;background:#ffffffbd;border-radius:0 0 3px 3px}.rota-different{outline:2px solid #ba7525;outline-offset:-1px}.rota-month .rota-cell:has(.rota-recorded){min-width:37px}.rota-source{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:8px 0}.rota-sources{margin:12px 0}.rota-source button{font-size:12px}.rota-recorded-details{max-height:330px;overflow:auto}.rota-differences-table .actions{justify-content:flex-start;flex-wrap:wrap;gap:6px}.rota-differences-table button{font-size:11px;padding:7px 9px}.rota-differences-table td{vertical-align:top}#rota-differences .panel-head{flex-wrap:wrap;gap:12px}#rota-differences .panel-body{padding-top:12px;padding-bottom:12px}.rota-cell:focus-visible{outline:3px solid var(--orange)}

.rota-sick{background:#f9e4d8;color:#833b1a}.rota-off_site{background:#ecedef;color:#4b5360}

.rota-hours-over{color:#9c430e}
#rota-hours-filter{max-width:320px}
#rota-weekdays{margin:12px 0;border:1px solid #d6e0e4;border-radius:6px;padding:12px}

.rota-working_unassigned{background:#fff1d6;color:#755215}.rota-working_from_home{background:#e1edf8;color:#28577b}
