.roster-page{--roster-line:#e7dfd8;--roster-warm:#f7f2ec;min-width:0}.roster-page .page-heading{align-items:flex-start}.roster-metrics{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px;margin-bottom:24px}.roster-metrics>div{background:#fff;border:1px solid var(--roster-line);border-radius:14px;padding:21px 24px;display:flex;flex-direction:column;gap:8px}.roster-metrics>div:first-child{background:#3c2926;color:#fff}.roster-metrics span{font-size:13px;font-weight:600}.roster-metrics strong{font-size:32px;font-weight:600;line-height:1.1}.roster-metrics small{font-size:12px;opacity:.8;line-height:1.5}.roster-plan{overflow:hidden}.roster-toolbar{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:22px;border-bottom:1px solid var(--roster-line)}.roster-date-nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.roster-date-nav>div{display:flex;flex-direction:column;gap:5px}.roster-date-nav small{font-size:12px;color:#796d67}.roster-tabs{display:flex;background:#f3efeb;padding:4px;border-radius:9px}.roster-tabs button{padding:9px 16px;border:0;background:transparent;border-radius:6px;color:#5d4c45;cursor:pointer}.roster-tabs [aria-pressed=true]{background:#fff;box-shadow:0 1px 4px #38211f18;color:#38211f;font-weight:700}.roster-filters{display:flex;gap:14px;padding:18px 22px;align-items:end;flex-wrap:wrap}.roster-filters label{font-size:12px;font-weight:600;display:flex;flex-direction:column;gap:6px;min-width:140px}.roster-filters select,.roster-filters input{min-height:40px;max-width:230px}.roster-tools{display:flex;gap:8px;flex-wrap:wrap;margin-left:auto}.roster-tools .btn{font-size:12px}.roster-banner{padding:14px 22px;background:#fff4de;color:#7b4d18;font-size:13px;border-block:1px solid #f2deb9}.roster-banner strong{margin-right:8px}.roster-grid-wrap{overflow:auto;max-width:100%}.roster-grid{border-collapse:separate;border-spacing:0;width:100%;table-layout:fixed;min-width:980px}.roster-grid th,.roster-grid td{border-right:1px solid var(--roster-line);border-bottom:1px solid var(--roster-line);vertical-align:top;padding:8px}.roster-grid thead th{font-size:12px;text-align:left;background:#f9f6f2;padding:15px 10px;font-weight:600;white-space:nowrap}.roster-grid th:first-child{width:166px;position:sticky;left:0;background:#fff;z-index:1;border-right:1px solid #d7cbbf}.roster-grid tbody th{text-align:left;padding:18px 12px;font-size:13px}.roster-grid tbody th span{display:block;color:#817169;font-size:12px;margin-top:7px;font-weight:400}.roster-grid td{height:100px}.roster-grid .roster-today{background:#fcf7ef}.roster-chip{display:flex;flex-direction:column;gap:5px;width:100%;text-align:left;padding:10px 9px;margin:0 0 6px;border:1px solid #d5e0d2;border-left:3px solid #6b8765;background:#f3f7f0;border-radius:7px;color:#263f27;cursor:pointer;font:inherit;font-size:11px;line-height:1.4;overflow-wrap:anywhere}.roster-chip strong{font-size:12px;font-weight:700}.roster-chip small{font-size:10px;opacity:.83}.roster-chip:hover{box-shadow:0 2px 6px #38211f1a;filter:brightness(.98)}.roster-chip.duty-service{background:#edf3f9;border-color:#d0ddec;border-left-color:#6481a2;color:#2c4968}.roster-chip.duty-transport{background:#fff5e6;border-color:#edddc2;border-left-color:#b78d47;color:#74511d}.roster-chip.duty-sauna{background:#f5edf3;border-color:#e2cedd;border-left-color:#a27594;color:#704865}.roster-chip.duty-prep,.roster-chip.duty-other{background:#f4f0eb;border-color:#e0d7cc;border-left-color:#9f8a70;color:#594c3d}.roster-chip.roster-leave{background:#f3f2f1;border-color:#e2dfdc;border-left-color:#aca49e;color:#6c635c}.roster-chip.is-cancelled{opacity:.6;text-decoration:line-through}.roster-add{display:block;width:100%;padding:4px;border:1px dashed transparent;background:transparent;border-radius:5px;color:#a6978d;cursor:pointer;min-height:30px}.roster-add:hover,.roster-add:focus-visible{background:#f6f1ec;border-color:#d9c8b8;color:#38211f}.roster-footnote{font-size:12px;color:#82736a;line-height:1.7;padding:14px 22px;margin:0}.roster-events{margin-top:24px}.roster-event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0 22px 22px}.roster-event{border:1px solid var(--roster-line);border-radius:10px;padding:18px}.roster-event>span{font-size:11px;color:#847366}.roster-event h3{font-family:inherit;font-size:15px;margin:10px 0 7px}.roster-event p{font-size:12px;line-height:1.6;margin:0 0 12px}.roster-event>strong{display:block;font-size:12px;color:#436244}.roster-event>div{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.roster-event .btn{padding:7px 10px;font-size:11px}.roster-event .roster-open-text{color:#9a641d}.roster-empty{padding:18px;color:#8b7a70;font-size:13px}.roster-daily{padding:16px 22px;display:grid;gap:20px}.roster-mobile{display:none}.roster-day{border:1px solid var(--roster-line);border-radius:10px;overflow:hidden}.roster-day .panel-heading{padding:16px;margin:0;border-bottom:1px solid var(--roster-line)}.roster-day h3{font-family:inherit;font-size:16px;margin:0}.roster-day-row{display:grid;grid-template-columns:1fr 2fr;gap:18px;padding:12px 16px;border-bottom:1px solid #eee8e1;align-items:center}.roster-day-row:last-child{border-bottom:0}.roster-person{font-size:13px;display:flex;flex-direction:column;gap:7px}.roster-person span{font-size:11px;color:#8b7a70}.roster-day-row .roster-chip{margin:0;font-size:12px}.roster-day-row .roster-chip strong{font-size:14px}.roster-filter-note{padding:10px 22px;font-size:13px;display:flex;gap:12px;align-items:center;background:#f7f2ec}.roster-employee-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid #e9e1d9}.roster-employee-row small{display:block;color:#8b7a70;margin-top:5px}.roster-dialog-footer{display:flex;justify-content:space-between;gap:16px;padding-top:14px}.roster-duration{font-size:13px;font-weight:600;color:#4f6a49}.roster-error{color:#b12d2d;font-size:13px}.simple-form #roster-work-fields{border:0;padding:0;margin:0;display:grid;gap:16px}.simple-form #roster-work-fields[hidden]{display:none}#roster-form [hidden]{display:none}#roster-print{display:none}
@media(min-width:1450px){.roster-grid{min-width:1040px}.roster-grid th:first-child{width:190px}.roster-chip{padding:12px;font-size:12px}.roster-chip strong{font-size:13px}}
@media(max-width:1050px){.roster-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.roster-toolbar{align-items:flex-start}.roster-metrics{gap:10px}.roster-metrics>div{padding:18px}.roster-tools{margin-left:0}}
@media(max-width:700px){.roster-page .page-heading{gap:14px}.roster-metrics{grid-template-columns:1fr 1fr}.roster-metrics>div:first-child{grid-column:1/-1}.roster-metrics strong{font-size:27px}.roster-metrics>div:first-child{display:grid;grid-template-columns:1fr auto;align-items:center}.roster-metrics>div:first-child small{grid-column:1/-1}.roster-toolbar{padding:16px;flex-wrap:wrap;gap:16px}.roster-date-nav{gap:8px}.roster-date-nav>div{font-size:13px}.roster-date-nav .btn{padding:8px 11px}.roster-filters{padding:16px;gap:12px}.roster-filters label{min-width:0;flex:1 1 130px}.roster-filters select,.roster-filters input{width:100%;max-width:none}.roster-tools{gap:7px}.roster-grid-wrap{display:none}.roster-mobile{display:grid}.roster-daily{padding:12px}.roster-day-row{grid-template-columns:1fr;gap:9px;padding:14px}.roster-person{flex-direction:row;justify-content:space-between}.roster-event-grid{grid-template-columns:1fr;padding:0 16px 16px}.roster-banner{padding:14px 16px;line-height:1.6}.roster-banner strong{display:block}.roster-filter-note{flex-wrap:wrap}.roster-dialog-footer{flex-wrap:wrap}.roster-footnote{padding:14px 16px}}
@media print{@page{size:A4 landscape;margin:12mm}body>*{display:none!important}body>#roster-print{display:block!important;font-family:Arial,sans-serif;color:#222}#roster-print h1{font-size:20px;margin:0 0 8px}#roster-print p{font-size:10px;margin:6px 0 12px}#roster-print .roster-grid-wrap{display:block;overflow:visible}#roster-print .roster-grid{min-width:0;width:100%;table-layout:fixed;font-size:9px}#roster-print .roster-grid th:first-child{position:static;width:100px}#roster-print .roster-grid th{font-size:9px;padding:6px;white-space:normal}#roster-print .roster-grid td{height:auto;padding:4px}#roster-print .roster-grid tr{break-inside:avoid}#roster-print .roster-chip{font-size:8px;padding:6px;box-shadow:none;border:1px solid #bbb;background:#fff;color:#111;break-inside:avoid}#roster-print .roster-chip strong{font-size:9px}#roster-print .roster-chip small{font-size:8px}#roster-print .roster-add{display:none}}
