.schedule-shell{--sch-ink:#171a21;--sch-red:#f02d3a;--sch-green:#168a55;background:#fff;border:1px solid #dfe3e8;border-radius:18px;box-shadow:0 18px 42px rgba(32,43,56,.08);overflow:hidden}.schedule-toolbar{display:flex;align-items:center;justify-content:space-between;padding:24px 26px 20px;border-bottom:1px solid #e9ebee}.schedule-eyebrow{color:var(--sch-red);font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.schedule-toolbar h2{font-size:28px;margin:5px 0 0}.schedule-toolbar-actions,.schedule-employees{display:flex;gap:8px;align-items:center}.schedule-toolbar-actions button,.schedule-employees button{border:1px solid #dce1e7;background:#fff;border-radius:10px;min-height:42px;padding:0 14px;font:inherit;font-weight:700;color:var(--sch-ink);cursor:pointer}.schedule-toolbar-actions button:hover,.schedule-employees button:hover{border-color:#aeb6c1}.schedule-toolbar-actions .schedule-approve-all{background:var(--sch-ink);border-color:var(--sch-ink);color:#fff}.schedule-approve-all b{background:var(--sch-red);border-radius:99px;padding:2px 7px;margin-left:6px}.schedule-employees{padding:14px 26px;border-bottom:1px solid #e9ebee;overflow:auto}.schedule-employees button{display:flex;align-items:center;gap:9px;white-space:nowrap}.schedule-employees button.active{background:#fff2f3;border-color:#ff7b84;color:#b91c29}.schedule-employees kbd,.schedule-submit kbd{font-family:inherit;background:#1d2128;color:#fff;border-radius:6px;padding:3px 7px}.schedule-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;min-height:600px}.schedule-calendar{min-width:0;border-right:1px solid #e9ebee}.schedule-weekdays,.schedule-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.schedule-weekdays b{height:42px;display:flex;align-items:center;padding:0 10px;color:#818a98;font-size:11px;text-transform:uppercase;letter-spacing:.08em;border-right:1px solid #f0f1f3}.schedule-day{min-height:92px;border-top:1px solid #eaedf0;border-right:1px solid #eaedf0;padding:7px;position:relative}.schedule-day:nth-child(7n){border-right:0}.schedule-day.outside{background:#fafbfc;color:#b8bec7}.schedule-day>button{border:0;background:transparent;display:flex;align-items:center;gap:6px;width:100%;padding:0;text-align:left;color:inherit;cursor:pointer}.schedule-day>button:disabled{cursor:default}.schedule-day>button>span{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;font-weight:800}.schedule-day>button.selected>span{background:var(--sch-red);color:#fff}.schedule-day.today>button>span{background:#171a21;color:#fff}.schedule-day>button small{color:var(--sch-red);font-size:9px;font-weight:800;text-transform:uppercase}.schedule-day article{display:flex;align-items:center;gap:5px;background:#f1f8f4;border-radius:7px;margin-top:5px;padding:5px 6px;font-size:10px;min-width:0}.schedule-day article.pending{background:#fff5df}.schedule-day article i{width:6px;height:6px;background:var(--sch-green);border-radius:50%;flex:none}.schedule-day article.pending i{background:#e39b13}.schedule-day article span{min-width:0}.schedule-day article b,.schedule-day article small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.schedule-day article small{color:#7c8490}.schedule-day article button{border:0;background:transparent;margin-left:auto;cursor:pointer;color:#8c6330}.schedule-side{padding:22px;background:#fafbfc}.schedule-pending-head,.schedule-request header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.schedule-pending-head span,.schedule-request header span{font-size:12px;color:#707987;text-transform:uppercase;font-weight:800}.schedule-pending-head b{background:#fff0dc;color:#9a5d00;border-radius:99px;padding:4px 9px}.schedule-pending-list{display:grid;gap:7px;margin-bottom:22px;max-height:285px;overflow:auto}.schedule-pending-list article{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid #e2e5e9;border-radius:11px;padding:10px}.schedule-pending-list b,.schedule-pending-list span{display:block}.schedule-pending-list span{font-size:11px;color:#7a8390;margin-top:2px}.schedule-pending-list button{width:34px;height:34px;border:0;border-radius:9px;background:#e7f7ee;color:var(--sch-green);font-size:18px;cursor:pointer}.schedule-request{border-top:1px solid #e0e3e7;padding-top:20px}.schedule-time-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.schedule-time-row label span{display:block;color:#747e8c;font-size:11px;font-weight:700;margin-bottom:5px}.schedule-time-row input{width:100%;height:42px;border:1px solid #d8dde3;border-radius:9px;padding:0 9px;background:#fff;font:inherit}.schedule-selection{display:flex;align-items:baseline;gap:8px;margin:20px 0}.schedule-selection b{font-size:34px}.schedule-selection span{color:#727b88}.schedule-submit{width:100%;min-height:48px;border:0;border-radius:10px;background:var(--sch-red,#f02d3a);color:#fff;font:inherit;font-weight:800;cursor:pointer}.schedule-submit:disabled{opacity:.35;cursor:not-allowed}.schedule-submit kbd{margin-left:7px;background:rgba(0,0,0,.18)}.schedule-empty{display:grid;gap:5px;padding:18px;background:#fff;border:1px dashed #ccd2da;border-radius:12px}.schedule-empty span,.schedule-side-hint,.schedule-empty-inline{color:#7b8490;font-size:13px}@media(max-width:1050px){.schedule-layout{grid-template-columns:1fr}.schedule-calendar{border-right:0}.schedule-side{border-top:1px solid #e9ebee}.schedule-day{min-height:82px}.schedule-day article b{display:none}}@media(max-width:720px){.schedule-toolbar{align-items:flex-start;gap:14px;flex-direction:column}.schedule-layout{min-width:720px}.schedule-shell{overflow:auto}}
.schedule-pending-actions{display:flex;gap:5px}.schedule-pending-actions .reject{background:#fff0f1!important;color:#c72431!important}.schedule-payroll{padding:24px 26px 28px;border-top:1px solid #e2e6eb;background:#f7f8fa}.schedule-payroll>header{display:flex;align-items:end;justify-content:space-between;margin-bottom:14px}.schedule-payroll>header span{color:var(--sch-red);font-size:11px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.schedule-payroll>header h3{margin:3px 0 0;font-size:22px}.schedule-payroll>header p{color:#7a8390;font-size:12px}.schedule-payroll-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.schedule-payroll-grid form{display:grid;gap:12px;padding:16px;border:1px solid #dde2e8;border-radius:13px;background:#fff}.schedule-payroll-name{display:flex;align-items:center;justify-content:space-between}.schedule-payroll-name strong{font-size:22px}.schedule-payroll-metrics{display:grid;grid-template-columns:1fr 1fr;border:1px solid #edf0f3;border-radius:9px}.schedule-payroll-metrics span{display:grid;gap:3px;padding:9px 11px}.schedule-payroll-metrics span+span{border-left:1px solid #edf0f3}.schedule-payroll-metrics small,.schedule-payroll-fields span{color:#7a8390;font-size:9px;font-weight:800;text-transform:uppercase}.schedule-payroll-fields{display:grid;grid-template-columns:1fr 1fr auto;gap:7px;align-items:end}.schedule-payroll-fields label{display:grid;gap:4px}.schedule-payroll-fields input{width:100%;height:38px;border:1px solid #d9dee5;border-radius:8px;padding:0 9px;font:inherit}.schedule-payroll-fields button{height:38px;border:0;border-radius:8px;padding:0 13px;background:#1c2027;color:#fff;font:inherit;font-weight:750;cursor:pointer}.schedule-payroll-formula{color:#7a8390}@media(max-width:1050px){.schedule-payroll-grid{grid-template-columns:1fr}}
.schedule-day article.delete-requested{background:#fff0f1}.schedule-day article.delete-requested i{background:#d82432}.schedule-payroll-name>span{display:grid;gap:2px;text-align:right}.schedule-payroll-name>span small{color:#7a8390;font-size:8px;font-weight:800;text-transform:uppercase}.schedule-payroll-name>span.is-accrued strong{color:#168a55}.schedule-payroll-name>span.is-accrued{padding-left:14px;border-left:1px solid #e5e8ec}

/* В календаре всегда видны все сотрудники, без времени смены. */
.schedule-day article b{display:block}
.schedule-request{padding-top:16px}
.schedule-selection{margin:8px 0 18px}

.schedule-shift-dialog{width:min(460px,calc(100vw - 32px));border:1px solid #dfe3e8;border-radius:16px;padding:24px;color:#171a21;box-shadow:0 24px 80px #171a2133}.schedule-shift-dialog::backdrop{background:#171a2166}.schedule-shift-dialog header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.schedule-shift-dialog header span{color:#747e8c;font-size:13px}.schedule-shift-dialog h3{margin:4px 0;font-size:22px}.schedule-shift-dialog header button{border:0;background:#f1f3f6;border-radius:8px;width:32px;height:32px;font-size:22px;cursor:pointer}.schedule-shift-dialog .schedule-editor-actions{display:flex;gap:10px;margin-top:20px}.schedule-shift-dialog .schedule-editor-actions>button:not(.schedule-submit){border:1px solid #d8dde3;border-radius:10px;background:#fff;padding:0 12px;white-space:nowrap;cursor:pointer}.schedule-pay-input{display:grid;gap:6px;margin-top:16px;font-size:13px}.schedule-pay-input input{height:42px;border:1px solid #d8dde3;border-radius:9px;padding:0 10px;font:inherit}.schedule-pay-input small{color:#747e8c;line-height:1.4}.schedule-drafts{display:grid;gap:6px;margin-bottom:16px}.schedule-drafts button{display:grid;gap:4px;background:#fff;border:1px solid #d8dde3;border-radius:9px;padding:10px;text-align:left;font:inherit;cursor:pointer}.schedule-drafts button span,.schedule-drafts button small{font-size:12px;color:#747e8c}.schedule-day article small{white-space:normal;line-height:1.4}.schedule-pending-list span{line-height:1.5}.schedule-payroll-formula{line-height:1.5}

.schedule-shift-dialog .schedule-editor-actions{width:100%;margin:20px 0 0;padding:0;border:0;display:flex;gap:10px}.schedule-shift-dialog .schedule-editor-actions>.schedule-submit{display:block;flex:1;min-width:0;background:#f02d3a;color:#fff;opacity:1}.schedule-shift-dialog .schedule-editor-actions>.schedule-submit:disabled{opacity:.4}.schedule-day article{position:relative;display:block;padding:8px 7px 24px}.schedule-day article>i{position:absolute;top:12px;left:7px}.schedule-day article>span{display:block;width:100%}.schedule-day article b{padding-left:11px;padding-right:13px}.schedule-day article>button{position:absolute;top:5px;right:5px;padding:0 2px;margin:0}.schedule-day article .schedule-shift-time,.schedule-day article .schedule-shift-pay{font-size:10px;white-space:nowrap;line-height:1.5}.schedule-day article .schedule-shift-hours{position:absolute;right:7px;bottom:5px;white-space:nowrap;font-size:10px}
.schedule-day article[data-schedule-edit-shift]{cursor:pointer}.schedule-day article[data-schedule-edit-shift]:hover{box-shadow:inset 0 0 0 1px #9abdae}.schedule-day article[data-schedule-edit-shift]:focus-visible{outline:2px solid #ed2938;outline-offset:2px}

.schedule-bonuses{margin:20px;border:1px solid #dde3e8;border-radius:12px;background:#fff;padding:20px}.schedule-bonuses header{display:flex;align-items:center;justify-content:space-between;gap:12px}.schedule-bonuses h3{margin:5px 0;font-size:18px}.schedule-bonuses p{color:#7d8794;font-size:12px;line-height:1.5}.schedule-bonus-row{display:grid;grid-template-columns:90px 1fr 1fr 40px;gap:12px;align-items:center;margin:12px 0}.schedule-bonus-row label{display:grid;gap:6px;color:#788390;font-size:11px}.schedule-bonus-row input{min-width:0;width:100%;box-sizing:border-box;border:1px solid #dde3e8;border-radius:8px;padding:10px;background:#f8f9fa;font:inherit;color:#17202b}.schedule-bonuses button{border:1px solid #dde3e8;border-radius:8px;padding:10px 14px;font:inherit;cursor:pointer;background:#f8f9fa}.schedule-bonuses .schedule-submit{width:auto;margin-top:12px;background:#f02d3a;color:#fff;border-color:#f02d3a}.schedule-bonuses input:focus-visible,.schedule-bonuses button:focus-visible{outline:2px solid #f02d3a;outline-offset:2px}.schedule-shift-bonus{color:#19734b!important;font-weight:750}
@media(max-width:700px){.schedule-bonuses{margin:12px;padding:14px}.schedule-bonus-row{grid-template-columns:1fr 1fr 35px}.schedule-bonus-row>b{grid-column:1/-1}.schedule-bonuses header{align-items:start}.schedule-bonuses header button{white-space:nowrap}}

/* Выбор дат и единая панель под календарём. */
.schedule-layout:not(:has(.schedule-side)){grid-template-columns:minmax(0,1fr);min-height:0}
.schedule-layout{min-height:0}
.schedule-selection-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 26px;border-bottom:1px solid #e9ebee;background:#fafbfc}
.schedule-selection-tools p{margin:0;color:#747e8c;font-size:13px}
.schedule-selection-tools>div{display:flex;gap:4px;padding:4px;border:1px solid #e0e4e9;border-radius:10px;background:#f0f2f5}
.schedule-selection-tools button{padding:8px 12px;border:0;border-radius:7px;background:transparent;color:#6b7482;font:inherit;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}
.schedule-selection-tools button[aria-pressed="true"]{background:#fff;color:#c91e2d;box-shadow:0 1px 4px #171a2114}
.schedule-day.is-selected{background:#fff2f3;box-shadow:inset 0 0 0 2px #f02d3a}
.schedule-day.today>button.selected>span{background:var(--sch-red);color:#fff}
.schedule-day>button{min-height:30px}
.schedule-day>button:disabled{opacity:.5}
.schedule-batch-panel{padding:20px 26px;border-top:2px solid #f02d3a;background:#fff9fa}
.schedule-batch-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.schedule-batch-heading h3{margin:4px 0;font-size:22px;color:#171a21}.schedule-batch-heading p{margin:0;color:#737d8b;font-size:13px}
.schedule-batch-heading>button,.schedule-full-day{border:1px solid #dbe0e6;background:#fff;color:#5f6a79;border-radius:9px;padding:10px 12px;font:inherit;font-size:12px;cursor:pointer}
.schedule-selected-dates{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}
.schedule-selected-dates button{padding:5px 9px;border:1px solid #ffc8ce;border-radius:7px;background:#fff;color:#bc2030;font:inherit;font-size:12px;cursor:pointer}
.schedule-selected-dates button span{margin-left:6px;color:#a77278}
.schedule-batch-fields{display:grid;grid-template-columns:minmax(220px,1fr) auto minmax(180px,1fr) minmax(180px,1fr);gap:12px;align-items:end}
.is-staff .schedule-batch-fields{grid-template-columns:minmax(220px,1fr) auto minmax(180px,1fr)}
.schedule-batch-fields .schedule-pay-input{margin:0}.schedule-batch-fields .schedule-submit{min-height:42px}
.schedule-full-day{min-height:42px}.schedule-batch-summary{margin:12px 0 0;font-size:13px;color:#6f7885}
.schedule-batch-dialog{width:min(660px,calc(100vw - 32px));max-height:85vh;overflow:auto}
.schedule-change-list{max-height:42vh;overflow:auto;border:1px solid #e1e5ea;border-radius:10px}
.schedule-change-list article{display:flex;justify-content:space-between;gap:18px;padding:12px 14px;border-bottom:1px solid #e1e5ea;font-size:13px}.schedule-change-list article:last-child{border:0}
.schedule-change-list article>div{display:grid;gap:4px}.schedule-change-list article>div:last-child{text-align:right;white-space:nowrap}
.schedule-change-list small{color:#7a8390}.schedule-change-list strong{color:#c91e2d}.schedule-preview-total{font-size:14px;margin:18px 0}
.schedule-resubmit-note{padding:12px;border-radius:8px;background:#fff4de;color:#865b12;font-size:13px;line-height:1.5}
.schedule-pending-list article>div:first-child{min-width:0}.schedule-pending-list small{display:block;font-size:10px;color:#8c6b34;margin-top:4px}.schedule-pending-list{max-height:550px}
.schedule-toolbar-actions button:disabled{opacity:.4;cursor:default}
.schedule-shell button:focus-visible,.schedule-shell input:focus-visible{outline:2px solid #f02d3a;outline-offset:2px}
@media(max-width:1200px){.schedule-batch-fields,.is-staff .schedule-batch-fields{grid-template-columns:1fr 1fr}.schedule-selection-tools{flex-wrap:wrap}}
@media(max-width:720px){.schedule-shell{overflow:hidden}.schedule-layout{min-width:0}.schedule-calendar{overflow-x:auto}.schedule-weekdays,.schedule-days{min-width:680px}.schedule-selection-tools,.schedule-batch-panel{padding:14px}.schedule-batch-heading{align-items:start}.schedule-batch-fields,.is-staff .schedule-batch-fields{grid-template-columns:1fr}.schedule-batch-heading>button{font-size:11px}.schedule-toolbar-actions{flex-wrap:wrap}.schedule-change-list article{gap:10px;font-size:12px}}
.schedule-notification{margin:0 0 20px;padding:16px;border:1px solid #d8dee7;border-radius:12px;background:#fff}
.schedule-notification header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.schedule-notification h3{margin:0;font-size:16px}.schedule-notification header button{border:1px solid #d8dee7;border-radius:8px;background:#fff;padding:8px 12px;font:inherit;cursor:pointer}
.schedule-notification ul{list-style:none;padding:0;margin:12px 0 0;max-height:360px;overflow:auto}
.schedule-notification li{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:10px 0;border-top:1px solid #edf0f4;font-size:13px}
.schedule-notification li small{margin-left:auto;color:#616b79}.schedule-notification p{font-size:13px;color:#616b79}
