.simple-day-dialog{width:470px;max-width:94vw;padding:22px}.simple-day-dialog h2{font-size:18px}.simple-day-dialog .dialog-heading{margin:0 0 20px}.simple-day-dialog details{margin:16px 0}.simple-day-dialog summary,.schedule-extras summary{cursor:pointer;font-weight:600;color:#536780}.simple-day-dialog details label{margin-top:14px}.simple-day-dialog details button{margin:6px 4px 0 0}.simple-day-dialog .form-actions{display:flex;flex-wrap:wrap;gap:10px}.simple-day-dialog .simple-day-warning{background:#fff3e4;border-radius:8px;padding:12px}.simple-day-dialog .info-panel{margin-top:0}.schedule-extras{margin:8px 0 14px;padding:10px 14px;border:1px solid #e6eaf0;border-radius:10px;background:white}#schedule .schedule-banner{padding:12px 16px;margin:12px 0}#schedule .toolbar{gap:10px;margin:10px 0 14px}#teamPeriodTitle{font-size:18px;margin:10px 0}#teamGrid{max-height:70vh}#teamGrid th,#teamGrid td{min-width:62px;padding:2px}#teamGrid thead th{height:44px;min-width:62px;font-size:11px;padding:4px 2px}#teamGrid td{height:48px}#teamGrid .team-shift{min-height:44px;padding:3px 2px}#teamGrid .absence-code{font-size:13px}#teamGrid .shift-hours{font-size:9px;letter-spacing:-.3px}#teamGrid .trade-badge{font-size:7px;white-space:normal}#teamGrid th:first-child{min-width:54px;width:54px}#teamGrid .worker-initials{min-width:34px;min-height:34px;font-size:11px}#teamGrid .team-location-row th,#teamGrid .team-location-row td{height:19px}#teamGrid .shift-hourly{white-space:normal}@media print{.schedule-extras{display:none}}
/* Czytelny grafik: jeden pasek, wyraźne nazwiska i dwa zakresy widoku. */
#schedule>.heading{margin:8px 0 12px}#schedule>.heading h1{margin:0}#schedule .schedule-main-toolbar{align-items:end;gap:10px;flex-wrap:wrap}#schedule .schedule-main-toolbar label{margin-bottom:0}#schedule .schedule-main-toolbar .month-switch{gap:6px}.schedule-view-switch{display:flex;align-items:center;border:1px solid #dce2eb;border-radius:9px;overflow:hidden;background:#fff}.schedule-view-switch button{border:0;border-radius:0;min-height:43px;padding:8px 12px}.schedule-view-switch button.selected{color:#1765d2;background:#edf3fc;box-shadow:inset 0 -2px #1765d2}.schedule-quick-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin:8px 0 12px;color:#536780;font-size:12px}.schedule-quick-legend b{color:#263951}.schedule-secondary{padding:14px 18px;border:1px solid #e0e6ef;border-radius:12px;background:#fff;margin:16px 0}.schedule-secondary>summary{cursor:pointer;font-weight:600;color:#536780}.schedule-secondary .schedule-details-title{display:none}.schedule-extras{margin:6px 0;padding:8px 12px}#schedule .schedule-banner{min-height:66px;margin:10px 0;padding:12px 16px}#schedule .schedule-banner.is-published{background:#eff8f3;border-color:#d6e9dd}#schedule .schedule-banner.is-published strong{color:#176445}#schedule .schedule-banner p{margin:3px 0 0}#teamGrid{scrollbar-gutter:auto;max-height:68vh}#teamGrid th:first-child{min-width:160px;width:160px;max-width:190px;background:#fff;left:0;z-index:3}#teamGrid thead th:first-child{z-index:5;background:#f8fafc}#teamGrid .worker-readable{display:block!important;width:100%;min-width:150px;max-width:190px;min-height:48px;text-align:left;padding:8px 10px;font-size:14px;font-weight:650;white-space:normal;line-height:1.3;background:transparent;border:0;border-radius:0;color:#24354c}#teamGrid th,#teamGrid td{min-width:82px}#teamGrid thead th{min-width:82px;font-size:12px;height:48px}#teamGrid .team-shift{min-height:54px;padding:5px 3px}#teamGrid .shift-hours{font-size:12px;letter-spacing:0;line-height:1.4}#teamGrid .work-code{font-size:12px}#teamGrid .absence-code{font-size:15px}#teamGrid .team-shift>small:not(.shift-hours){font-size:10px;white-space:normal}#teamGrid .team-location-row th,#teamGrid .team-location-row td{height:25px;font-size:12px;border-top:2px solid var(--location-accent,#cad4df);background:var(--location-bg,#f5f7fa)}#teamGrid .team-location-row th{padding-left:10px}#schedule[data-view=week] #teamGrid table{width:100%;table-layout:fixed}#schedule[data-view=week] #teamGrid th,#schedule[data-view=week] #teamGrid td{min-width:92px}#schedule[data-view=week] #teamGrid .team-shift{min-height:66px}#schedule[data-view=week] #teamGrid .shift-hours{font-size:14px}.simple-day-dialog{width:510px}.simple-day-dialog #simpleWorkFields label{margin-bottom:13px}.simple-day-dialog input,.simple-day-dialog select{font-size:15px}.simple-day-dialog details{border-top:1px solid #e6eaf0;padding-top:12px}.simple-day-dialog .form-actions{position:sticky;bottom:0;background:#fff;padding-top:12px}#simpleDayRestore{font-size:13px}
@media(max-width:700px){#schedule .schedule-main-toolbar{display:grid;grid-template-columns:1fr 1fr}#schedule .schedule-main-toolbar>.month-switch{grid-column:1/-1;display:flex}#schedule .month-switch>label{flex:1}#schedule .schedule-main-toolbar>label{min-width:0}#schedule .schedule-main-toolbar select{width:100%}.schedule-view-switch button{flex:1;padding:8px}.schedule-quick-legend{gap:6px 12px;font-size:11px}#teamGrid th:first-child{min-width:120px;width:120px;max-width:120px}#teamGrid .worker-readable{min-width:112px;max-width:120px;font-size:13px;padding:7px;visibility:visible!important;opacity:1!important}#teamGrid .team-location-row th{font-size:12px}#schedule[data-view=week] #teamGrid table{table-layout:auto;width:max-content;min-width:100%}#schedule .schedule-banner{align-items:flex-start;gap:10px;flex-direction:column}#schedule .schedule-banner button{width:100%}#teamPeriodTitle{font-size:16px}#schedule>.heading{margin-top:8px}.schedule-secondary{padding:12px}}
@media print{.schedule-view-switch,.schedule-quick-legend,.schedule-secondary,.schedule-extras{display:none}#teamGrid .worker-readable{font-size:9px;min-width:80px}#teamGrid th:first-child{min-width:85px;width:85px}}
/* Zwarty miesiąc: stała kolumna pracownika, kolory sklepów i czytelne statusy. */
@media screen {
#schedule[data-view=month] #teamGrid table{width:100%;min-width:1320px;table-layout:fixed}
#schedule[data-view=month] #teamGrid th,#schedule[data-view=month] #teamGrid td{min-width:0;width:auto;padding:2px;height:50px}
#schedule[data-view=month] #teamGrid thead th{height:43px;font-size:12px}
#schedule[data-view=month] #teamGrid th:first-child{width:158px;min-width:158px;max-width:158px;padding:3px 5px}
#teamGrid .worker-readable{display:flex!important;align-items:center;gap:7px;min-width:0;max-width:100%;min-height:43px;padding:4px 2px;font-size:12px;letter-spacing:0;white-space:nowrap}
#teamGrid .worker-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 25px;height:25px;border:1px solid var(--location-accent,#b5bfd0);border-radius:50%;background:var(--location-bg,#f2f5fa);color:var(--location-accent,#536780);font-size:11px;letter-spacing:-.5px}
#teamGrid .worker-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#teamGrid tr.location-start>th,#teamGrid tr.location-start>td{border-top:1px solid var(--location-accent,#dce3ed)}
#schedule[data-view=month] #teamGrid .team-shift{min-height:44px;padding:3px 1px;border-top:0;border-radius:5px}
#schedule[data-view=month] #teamGrid .shift-hours{font-size:10px;line-height:1.25;white-space:normal}
#schedule[data-view=month] #teamGrid .shift-hours>span{display:block}
#schedule[data-view=month] #teamGrid .shift-hours .hours-separator{display:none}
#schedule[data-view=month] #teamGrid .work-code{font-size:10px}
#schedule[data-view=month] #teamGrid .absence-code{font-size:13px}
#schedule[data-view=month] #teamGrid .trade-badge{font-size:6px;padding:1px;line-height:1.15}
#schedule[data-view=month] #teamGrid .team-shift>small:not(.shift-hours){font-size:8px;overflow-wrap:anywhere}
#teamGrid .team-shift:has(.add-mark){background:#edf8f3}
#teamGrid .add-mark{font-size:14px;color:#9bbeb0}
#teamGrid .worker-readable:hover,#teamGrid .worker-readable:focus-visible{background:var(--location-bg,#f3f6fa);border-radius:6px}
.worker-tooltip-heading{font-size:12px;font-weight:700;color:#536780;border-bottom:1px solid #e3e9ef;padding-bottom:9px;margin-bottom:10px}
.worker-tooltip dl{gap:10px 12px}.worker-tooltip{width:335px}
}
/* Nazwiska wyrównane do lewej, w domyślnym kroju aplikacji. */
#teamGrid,#teamGrid button,#teamGrid .worker-name,#workerTooltip{font-family:Inter,'Segoe UI Variable','Segoe UI',Arial,sans-serif}
#teamGrid .worker-readable{justify-content:flex-start;gap:7px;text-align:left;font-weight:500;letter-spacing:0;overflow:hidden;overflow-wrap:normal}
#teamGrid .worker-name{display:block;flex:1;min-width:0;text-align:left;line-height:1.4;font-weight:500;letter-spacing:0}
#teamGrid .worker-avatar{font-weight:600;letter-spacing:0}
#teamGrid tbody tr:has(.worker-readable):hover>td{background-color:#f4f7fb}

/* Uproszczony grafik: puste pola i informacje o handlu w podpowiedzi daty. */
#teamGrid .add-mark,#teamGrid .trade-badge.trade-closed{display:none}
#teamGrid .team-shift:has(.add-mark){background:transparent;border-top-color:transparent}
#teamGrid .worker-readable{padding-left:7px}

/* Readable planning grid: preserve cell sizes and scroll the month. */
#schedule>.heading,#schedule>.schedule-banner,#schedule>.schedule-main-toolbar,#teamPeriodTitle,#schedule>.schedule-quick-legend{display:none}
.planner-top{display:flex;align-items:center;gap:22px;margin:0 0 16px;flex-wrap:wrap}.planner-top h1{font-size:32px;margin:0;letter-spacing:-1px}.planner-navigation{display:flex;align-items:center;gap:18px}.planner-navigation .month-switch{display:flex;align-items:center;gap:6px}.planner-navigation .month-switch label{font-size:0;margin:0}.planner-navigation input{font-size:15px;font-weight:650;padding:10px;width:200px;min-height:42px}.planner-navigation button{min-height:42px}.planner-publication{display:flex;gap:16px;align-items:center;margin-left:auto;font-size:13px;color:#536780}.planner-publication button{white-space:nowrap}
.planner-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;background:white;border:1px solid #dfe6f0;border-radius:12px;flex-wrap:wrap}.planner-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.planner-actions label{margin:0;font-size:0}.planner-actions select{font-size:13px;max-width:210px}.planner-actions button{font-size:13px;padding:10px 12px;min-height:40px}.planner-actions #addPlan{background:#f8fbff;color:#0966ec;border-color:#7aa9f8;box-shadow:none}.planner-actions button.selected{background:#e7f0ff;color:#075be5;border-color:#578fee}
.planner-legend{display:flex;gap:14px;flex-wrap:wrap;color:#536780;font-size:12px}.planner-legend span{display:flex;align-items:center;gap:6px}.planner-legend span:before{content:'';width:20px;height:22px;background:#eef1f5;border:1px solid #dbe3ef;border-radius:4px}.planner-legend .key-free:before{background:#e4f6ed;border-color:#bde6d0}.planner-legend .key-leave:before{background:#ffe7c6;border-color:#f9d7a9}.planner-legend .key-sick:before{background:#eee8ff;border-color:#daccfb}.planner-legend .key-empty:before{background:white;border:1px dashed #c4cfdf}
#schedule>.schedule-extras{border:0;background:transparent;margin:4px 0;padding:4px 1px;font-size:12px}#schedule>.schedule-extras[open]{background:white;border:1px solid #dfe6f0;padding:12px}.schedule-extras>summary{width:max-content}.planner-top~#teamGrid{margin-top:4px}
#schedule[data-view] #teamGrid{max-width:100%;max-height:calc(100vh - 300px);min-height:200px;overflow:auto;border-radius:10px 10px 0 0;overscroll-behavior:contain;scrollbar-gutter:stable}
#schedule[data-view] #teamGrid table{table-layout:fixed;width:max-content;min-width:0;border-collapse:separate;border-spacing:0}
#schedule[data-view] #teamGrid th,#schedule[data-view] #teamGrid td{box-sizing:border-box;min-width:74px;width:74px;max-width:74px;padding:3px;border:0;border-right:1px solid #e4eaf3;border-bottom:1px solid #e4eaf3;background:white}
#schedule[data-view] #teamGrid th:first-child{min-width:220px;width:220px;max-width:220px;padding:8px 14px;position:sticky;left:0;z-index:3;background:white;text-align:left}
#schedule[data-view] #teamGrid thead th{position:sticky;top:0;z-index:4;height:62px;font-size:15px;font-weight:600;background:#f7f9fd;text-align:center}#schedule[data-view] #teamGrid thead th:first-child{z-index:6;background:#f7f9fd;font-size:14px}#schedule[data-view] #teamGrid thead small{display:block;font-size:11px;margin-top:6px;font-weight:400}#schedule[data-view] #teamGrid thead .planner-weekend{background:#fcf3f5;color:#c73757}#schedule[data-view] #teamGrid thead .today-cell{background:#e6efff;color:#0862ec;box-shadow:inset 0 -3px #0862ec}
#schedule[data-view] #teamGrid tbody td{height:84px}#schedule[data-view] #teamGrid .team-shift{box-sizing:border-box;min-height:76px;height:76px;width:100%;min-width:0;padding:6px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border:1px solid transparent;border-radius:5px;box-shadow:none;color:#12294c;background:#eef1f5;font-size:15px}
#schedule[data-view] #teamGrid .team-shift[hidden],#schedule[data-view] #teamGrid .team-shift [hidden]{display:none!important}
#schedule[data-view] #teamGrid .planner-work{background:#eef1f5;color:#12294c}#schedule[data-view] #teamGrid .day-free{background:#e4f6ed;color:#075e42}#schedule[data-view] #teamGrid .day-leave{background:#ffe7c6;color:#8f410d}#schedule[data-view] #teamGrid .day-sick{background:#eee8ff;color:#483580}#schedule[data-view] #teamGrid .day-delegation{background:#e4f1fb}#schedule[data-view] #teamGrid .planner-empty{background:white;border:1px dashed #c4cfdf}#schedule[data-view] #teamGrid .add-mark{display:inline;font-size:21px;color:#7287a5}#schedule[data-view] #teamGrid .is-default{background:#f8fafc;border:1px dashed #c4cfdf;color:#65758b}#schedule[data-view] #teamGrid .planner-proposal{font-size:9px!important;color:#67798f}#schedule[data-view] #teamGrid .team-shift:hover{filter:brightness(.97);border-color:#87aaf1}#schedule[data-view] #teamGrid .team-shift:focus-visible{outline:3px solid #176bff;outline-offset:-2px}
#schedule[data-view] #teamGrid .shift-hours{display:flex;flex-direction:column;font-size:14px;font-weight:500;line-height:1.55;letter-spacing:0;white-space:normal}#schedule[data-view] #teamGrid .shift-hours>span{display:block}#schedule[data-view] #teamGrid .shift-hours .hours-separator{display:none}#schedule[data-view] #teamGrid .absence-code,#schedule[data-view] #teamGrid .work-code{font-size:16px}#schedule[data-view] #teamGrid .team-shift>small:not(.shift-hours){font-size:10px;line-height:1.2}#schedule[data-view] #teamGrid .trade-badge{display:none}#schedule[data-view] #teamGrid .today-cell .team-shift{box-shadow:inset 0 0 0 1px #82afff}#schedule[data-view] #teamGrid .planner-selected{outline:2px solid #086bff;outline-offset:-2px;background:#deebff}#schedule[data-view] #teamGrid .draft-dot{position:absolute;right:3px;top:1px;color:#2374d9;font-size:8px}
#schedule[data-view] #teamGrid .worker-readable{display:block!important;width:100%;max-width:100%;min-width:0;min-height:0;margin:0;padding:0 0 3px;background:transparent;border:0;font-size:15px;line-height:1.3;color:#142d52}#schedule[data-view] #teamGrid .worker-name{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:650;letter-spacing:0}.planner-worker-summary{font-size:11px;color:#607391;font-weight:400;line-height:1.5;white-space:normal}.planner-worker-summary>span{display:block}.planner-remaining{color:#a96212}.planner-complete{color:#05834b}#schedule[data-view] #teamGrid tr.location-start>th,#schedule[data-view] #teamGrid tr.location-start>td{border-top:2px solid var(--location-accent,#dce3ed)}
#schedule[data-view] #teamGrid tfoot th,#schedule[data-view] #teamGrid tfoot td{background:#f7f9fd;height:48px;position:sticky;bottom:0;z-index:2;font-size:12px;text-align:center}#schedule[data-view] #teamGrid tfoot th{z-index:5;text-align:left}#schedule[data-view] #teamGrid tfoot small{display:block;font-size:10px;font-weight:400;color:#657998}#schedule[data-view] #teamGrid tfoot .planner-gap{background:#fff0de;color:#975119}
.planner-scroll-hint{display:flex;justify-content:space-between;font-size:11px;color:#667c9b;margin:6px 0 12px;gap:12px}.planner-quick{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:white;border:1px solid #dfe6f0;padding:12px;border-radius:10px;margin-bottom:12px}.planner-quick>div:first-child{margin-right:10px;font-size:13px}.planner-quick small{display:block;color:#687d9b;font-size:11px;margin-top:4px}#plannerPresets{display:flex;gap:8px;flex-wrap:wrap}.planner-quick button,.planner-quick select{font-size:12px;min-height:38px;padding:8px}.planner-quick .quick-free{background:#e4f6ed;color:#075e42;border-color:#bde6d0}.planner-quick .quick-leave{background:#ffe7c6;color:#8f410d;border-color:#f5cf9a}.planner-off{margin:0!important}.planner-quick button:disabled{opacity:.5}.planner-tools button:disabled{opacity:.4}
@media(min-width:1000px){body:has(#schedule:not([hidden])) main{padding-top:18px!important}}
@media(max-width:760px){.planner-top{gap:12px;margin-bottom:10px}.planner-top h1{font-size:27px}.planner-navigation{gap:8px;flex-wrap:wrap}.planner-navigation input{width:166px}.planner-publication{margin-left:0;width:100%;justify-content:space-between}.planner-legend{gap:10px}.planner-tools{padding:8px}.planner-actions{gap:5px}.planner-actions select{max-width:170px}.planner-actions button{padding:8px;font-size:12px}#schedule[data-view] #teamGrid{max-height:65vh}#schedule[data-view] #teamGrid th:first-child{min-width:160px;width:160px;max-width:160px;padding:8px}.planner-worker-summary{font-size:10px}.planner-scroll-hint{flex-direction:column;gap:3px}}
@media print{.planner-tools,.planner-quick,.planner-publication,.planner-scroll-hint{display:none}#schedule[data-view] #teamGrid{max-height:none;overflow:visible}#schedule[data-view] #teamGrid table{width:100%}}
#schedule[data-view] #teamGrid .shift-hours,#schedule[data-view] #teamGrid .absence-code,#schedule[data-view] #teamGrid .work-code,#schedule[data-view] #teamGrid .planner-kind{color:inherit}#schedule[data-view] #teamGrid th{letter-spacing:0}#schedule[data-view] #teamGrid .planner-worker-summary{letter-spacing:0}#schedule[data-view] #teamGrid .team-shift{position:relative}
@media(min-width:761px){#schedule[data-view] #teamGrid{max-height:calc(100dvh - 440px)}}
.planner-scroll-buttons{display:flex;align-items:center;gap:8px}.planner-scroll-buttons button{padding:2px 12px;min-height:26px;font-size:16px}.planner-scroll-buttons button:disabled{opacity:.4}
.schedule-subnav{display:flex;gap:4px;border-bottom:1px solid #dfe6f0;margin:0 0 18px;padding-bottom:0}.schedule-subnav button{border:0;border-radius:7px 7px 0 0;padding:10px 24px;background:transparent;color:#627794;font-size:14px}.schedule-subnav button.selected{color:#0862ec;background:#eaf2ff;box-shadow:inset 0 -2px #0862ec;font-weight:650}
#nav .schedule-sidebar-subnav{display:flex;flex-direction:column;gap:3px;margin:-3px 0 8px 29px;border-left:1px solid #dce6f5;padding-left:9px}#nav .schedule-sidebar-subnav button{padding:8px 12px;min-height:35px;font-size:13px}#nav .schedule-sidebar-subnav button.selected{background:#eaf2ff;color:#0862ec;border-radius:7px;box-shadow:none}#nav .schedule-sidebar-subnav[hidden],#nav [data-tab=report][hidden]{display:none!important}
#schedule[data-panel=execution]>:not(.schedule-subnav):not(.schedule-execution){display:none!important}#schedule[data-panel=planned]>.schedule-execution{display:none!important}.schedule-execution>.heading{margin-top:0}.schedule-execution .heading h1{margin:0}.schedule-execution .table-wrap{overflow:auto}
@media(min-width:761px){#schedule[data-panel=planned] #teamGrid{max-height:calc(100dvh - 498px)}}
@media(max-width:760px){#nav .schedule-sidebar-subnav{flex-direction:row;width:100%;margin:0;padding:0 0 0 12px;border-left:0}.schedule-subnav{margin-bottom:12px}.schedule-subnav button{padding:8px 20px}}
@media print{.schedule-subnav,.schedule-sidebar-subnav{display:none}}
.execution-top{margin-bottom:16px}.execution-top input{width:200px;font-size:15px;font-weight:600}.execution-top .planner-navigation{flex-wrap:wrap}.execution-top button{min-height:42px}.execution-legend{display:flex;gap:12px 20px;flex-wrap:wrap;font-size:12px;color:#526988;margin:14px 0 6px}.execution-caption{font-size:12px;margin:0 0 12px}.execution-details{background:white;border:1px solid #dfe6f0;border-radius:10px;padding:12px;margin-top:16px}.execution-details>summary{cursor:pointer;color:#526988;font-weight:600}.execution-details[open]>summary{margin-bottom:18px}
#executionGrid{overflow:auto;max-width:100%;max-height:calc(100dvh - 370px);min-height:200px;border-radius:10px;overscroll-behavior:contain}#executionGrid table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;min-width:0}#executionGrid th,#executionGrid td{box-sizing:border-box;width:74px;min-width:74px;max-width:74px;padding:3px;border:0;border-bottom:1px solid #e4eaf3;border-right:1px solid #e4eaf3;background:white;text-align:center;letter-spacing:0}#executionGrid thead th{position:sticky;top:0;z-index:4;height:62px;background:#f7f9fd;color:#20385c;font-size:14px;font-weight:600}#executionGrid th small{display:block;font-size:11px;color:#7184a1;font-weight:400;margin-top:4px}#executionGrid th:first-child:not(.execution-row-label){width:220px;min-width:220px;max-width:220px;text-align:left;position:sticky;left:0;z-index:3;padding:10px 14px;background:white}#executionGrid thead th:first-child{z-index:6;background:#f7f9fd}#executionGrid .execution-row-label{position:sticky;left:220px;z-index:3;width:78px;min-width:78px;max-width:78px;font-size:10px;font-weight:500;color:#6c7f99;background:#fafbfd;text-align:left;padding-left:8px}#executionGrid thead .execution-row-label{z-index:5}#executionGrid tbody th strong{display:block;font-size:14px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#executionGrid tbody tr.execution-plan-row.execution-group-start>th,#executionGrid tbody tr.execution-plan-row.execution-group-start>td{border-top:2px solid var(--location-accent,#e4eaf3)}#executionGrid tbody tr.execution-actual-row>td,#executionGrid tbody tr.execution-actual-row>.execution-row-label{border-bottom:1px solid #d5deec}
#executionGrid .execution-cell{display:flex;align-items:center;justify-content:center;width:100%;height:35px;min-height:35px;padding:4px;border:1px solid transparent;border-radius:5px;font-size:15px;font-weight:650;box-shadow:none;background:#f7f9fc;color:#173458}#executionGrid .execution-plan-work{background:#eef1f5}#executionGrid .execution-plan-free{background:#e4f6ed;color:#075e42}#executionGrid .execution-plan-leave{background:#ffe7c6;color:#8f410d}#executionGrid .execution-plan-sick{background:#eee8ff;color:#483580}#executionGrid .execution-plan-empty{background:white;color:#8b9ab0;border:1px dashed #d4dce8}#executionGrid .execution-status-ok{color:#0a8b59;background:#f0faf5}#executionGrid .execution-status-warning{color:#ab5e07;background:#fff2df}#executionGrid .execution-status-absent{color:#c32743;background:#ffedf0}#executionGrid .execution-status-progress{color:#0966ec;background:#eaf2ff}#executionGrid .execution-status-neutral{color:#a0aec0;background:white}#executionGrid .execution-cell:hover,#executionGrid .execution-cell:focus-visible{outline:2px solid #73a3fa;outline-offset:-2px}#executionGrid thead .execution-weekend{background:#fcf3f5;color:#bd3854}#executionGrid thead .execution-today{background:#e6efff;color:#0862ec;box-shadow:inset 0 -3px #0862ec}#executionGrid td.execution-today{background:#f3f7ff}
.execution-tooltip{position:fixed;z-index:1000;max-width:min(340px,calc(100vw - 16px));padding:16px 18px;border:1px solid #d4dfee;border-radius:10px;background:white;color:#20385c;box-shadow:0 12px 34px #17345824;white-space:pre-line;font-size:13px;line-height:1.7;pointer-events:auto}.execution-tooltip[hidden]{display:none}
.agent-review-actions{display:flex;gap:8px;margin-top:12px}.agent-review-actions button{padding:7px 10px;border:1px solid #b9c9df;border-radius:6px;background:white;color:#173458;cursor:pointer}.agent-review-actions button:first-child{background:#eaf7ee;border-color:#a7d8b5}.agent-review-actions button:last-child{background:#fff0f2;border-color:#e9bbc4}
@media(max-width:760px){#executionGrid{max-height:65vh}#executionGrid th:first-child:not(.execution-row-label){width:140px;min-width:140px;max-width:140px;padding:8px}#executionGrid .execution-row-label{left:140px;width:63px;min-width:63px;max-width:63px;font-size:9px;padding-left:5px}.execution-top .planner-navigation{gap:6px}.execution-top input{width:172px}.execution-legend{gap:6px 12px}.execution-caption{font-size:11px}}
@media print{.execution-tooltip,.execution-legend,#executionTools{display:none}#executionGrid{max-height:none;overflow:visible}}

#executionGrid th,#executionGrid th strong,#executionGrid th small{text-transform:none;font-family:Inter,'Segoe UI Variable','Segoe UI',Arial,sans-serif}
#executionGrid .execution-status-manual{color:#0862ec;background:#e7f0ff}.execution-manual-key{color:#0862ec;font-weight:600}

/* Praca z rozliczeniem W5: godziny i osobna rezerwacja przyszłej puli. */
.compact-balance-day{margin:12px 0;padding:14px;border:1px solid #cfc3f5;border-radius:10px;background:#f6f3ff;color:#43306e}.compact-balance-day dl{margin:10px 0}.compact-balance-day dl>div{display:flex;justify-content:space-between;gap:16px;margin:7px 0}.compact-balance-day dt{font-weight:400}.compact-balance-day dd{margin:0;font-weight:650;text-align:right}.compact-balance-day p{margin:8px 0 0;font-size:12px;line-height:1.5}#teamGrid .compact-balance-deficit{display:block;font-size:10px;line-height:1.2;font-weight:650}#teamGrid [data-entry-type=BAL] .compact-day-detail{line-height:1.25}

/* Horizontal execution scrolling is available immediately above the day headers. */
#schedule .execution-scroll{height:18px;overflow-x:auto;overflow-y:hidden;margin:0 0 2px;max-width:100%;background:#f1f4f8;scrollbar-color:#9aa9bc #f1f4f8}
#schedule .execution-scroll-width{height:1px;pointer-events:none}
#schedule .execution-scroll::-webkit-scrollbar{height:14px}
#schedule .execution-scroll::-webkit-scrollbar-track{background:#f1f4f8;border-radius:5px}
#schedule .execution-scroll::-webkit-scrollbar-thumb{background:#9aa9bc;border:2px solid #f1f4f8;border-radius:5px}
#schedule .execution-scroll:focus-visible{outline:2px solid #1765d2;outline-offset:1px}
@media screen{#schedule[data-panel=execution] #executionGrid{overflow-x:hidden;overflow-y:auto;touch-action:pan-y pinch-zoom}}
#schedule[data-panel=execution] #executionGrid thead th:first-child{z-index:6}
@media print{#schedule .execution-scroll{display:none!important}}
