.schedule-heading{margin-bottom:14px}.schedule-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:8px}.schedule-toolbar label{margin:0;max-width:190px}.schedule-toolbar button{min-height:44px}.schedule-toolbar input{min-height:44px}.schedule-selection{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px}.schedule-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:14px;align-items:start}.schedule-layout:has(.schedule-palette.hidden){grid-template-columns:minmax(0,1fr)}.schedule-palette{padding:12px}.schedule-palette h3{margin:0 0 10px}.schedule-palette input{min-width:0;width:100%}.schedule-resource-tabs{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}.schedule-resource-tabs button{padding:6px 8px;font-size:11px;min-height:36px}.schedule-resources{display:grid;gap:5px;max-height:52vh;overflow:auto;overscroll-behavior:contain}.schedule-resource{padding:9px;text-align:left;white-space:normal;font-size:12px;min-height:44px;cursor:grab;border:1px solid var(--line);border-radius:6px;background:var(--surface,#edf2eb);color:inherit}.schedule-board-card{padding:12px;min-width:0}.schedule-scroll{overflow:auto;max-height:72vh;border:1px solid var(--line);border-radius:7px;overscroll-behavior:contain}.schedule-matrix{table-layout:fixed;min-width:1040px;width:100%;border-collapse:separate;border-spacing:0;font-size:12px}.schedule-matrix th,.schedule-matrix td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:4px;white-space:normal;vertical-align:middle;overflow-wrap:anywhere}.schedule-matrix th{position:sticky;top:0;z-index:2;background:#e3ece6;color:#163b3a;text-align:center;text-transform:none;font-size:12px}.schedule-matrix th:first-child,.schedule-matrix td:first-child{width:90px;position:sticky;left:0;background:#eaf0e8;z-index:1;color:#17383f}.schedule-matrix th:first-child{z-index:3}.schedule-matrix th:nth-child(n+2):nth-child(-n+8){width:82px}.schedule-matrix th:nth-last-child(3){width:140px}.schedule-matrix th:nth-last-child(2){width:80px}.schedule-matrix th:last-child{width:150px}.schedule-date-button{color:inherit;background:transparent;border:0;width:100%;min-height:44px;padding:4px;font:inherit;font-weight:700}.schedule-job{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;text-align:center;width:100%;min-height:54px;padding:4px;font-size:11px;border:0;border-left:3px solid var(--team-edge);border-radius:4px;background:var(--team-fill);color:var(--team-ink);cursor:pointer}.schedule-job[draggable=true]{cursor:grab}.schedule-job strong{font-size:12px}.schedule-range{font-size:11px;font-weight:600}.schedule-pic{font-weight:700}.schedule-drop{outline:3px solid #c28b22;outline-offset:-3px}.schedule-warning-mark,.schedule-warning{color:#765217;background:#fff0cc;border-radius:4px;padding:3px 5px}.schedule-warning{font-size:12px;margin:7px 0}.schedule-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:0;padding:0;margin:12px 0}.schedule-fields label{margin:0;min-width:0}.schedule-fields input,.schedule-fields select,.schedule-fields textarea{width:100%;min-width:0}.schedule-fields .check-label input,.schedule-helper-choices input{width:auto}.schedule-wide{grid-column:1/-1}.schedule-dialog{width:min(760px,calc(100vw - 24px));color:var(--ink);background:#f0f2eb}.schedule-dialog .subtle{font-size:12px}.schedule-helper-choices{display:grid;grid-template-columns:1fr 1fr;max-height:180px;overflow:auto;margin-top:8px;gap:8px}.schedule-day-vehicles{display:grid;grid-template-columns:1fr 1fr;max-height:200px;overflow:auto;gap:8px}.schedule-print-title h2{margin:0}.schedule-print-title p{font-size:12px;margin:5px 0 8px}.schedule-guide{font-size:12px}#schedule-cancel-tools{margin-top:18px}#schedule-cancel-tools button{margin-top:8px}
:root[data-theme='dark'] .schedule-matrix th,:root[data-theme='dark'] .schedule-matrix td:first-child{background:#1b333e;color:#d5e8e9}:root[data-theme='dark'] .schedule-resource{background:#203943;color:#dce8eb}:root[data-theme='dark'] .schedule-dialog{background:#182e38;color:#dce8eb}:root[data-theme='dark'] .schedule-warning-mark,:root[data-theme='dark'] .schedule-warning{background:#493a22;color:#ffe0a4}
@media(max-width:1100px){.schedule-layout{grid-template-columns:minmax(0,1fr)}.schedule-palette{max-height:none}.schedule-resources{display:flex;max-height:130px;overflow:auto;flex-wrap:wrap}.schedule-resource{flex:0 0 auto;max-width:200px}.schedule-palette h3{display:none}.schedule-resource-tabs{margin:5px 0}.schedule-palette label{margin-bottom:5px}.schedule-palette input{max-width:440px}}
@media(max-width:600px){.schedule-heading,.schedule-board-card{padding:10px}.schedule-heading .section-heading{align-items:start}.schedule-heading h2{font-size:22px}.schedule-toolbar{gap:6px}.schedule-toolbar button{font-size:12px;padding:8px 10px}.schedule-dialog{padding:12px}.schedule-fields{grid-template-columns:minmax(0,1fr)}.schedule-wide{grid-column:auto}.schedule-helper-choices,.schedule-day-vehicles{grid-template-columns:minmax(0,1fr)}.schedule-guide{line-height:1.5}.schedule-resource-tabs button{min-height:44px}.schedule-scroll{max-height:65vh}}
@media print{@page{size:A4 landscape;margin:8mm}body *{visibility:hidden}#view-schedule-maker,#view-schedule-maker *{visibility:visible}#view-schedule-maker{position:absolute;inset:0;width:100%;display:block!important}#view-schedule-maker .schedule-heading,#schedule-palette,#view-schedule-maker details,#view-schedule-maker dialog,.schedule-board-card>p{display:none!important}.schedule-layout{display:block}.schedule-board-card{padding:0;border:0;background:white;color:black}.schedule-scroll{overflow:visible;max-height:none;border:0}.schedule-matrix{min-width:0;font-size:8px}.schedule-matrix th,.schedule-matrix td{position:static!important;width:auto!important;padding:2px}.schedule-job{min-height:40px;padding:3px;font-size:8px;break-inside:avoid}.schedule-job strong,.schedule-date-button{font-size:8px}.schedule-job{print-color-adjust:exact;-webkit-print-color-adjust:exact}.schedule-matrix tr{break-inside:avoid}}

.schedule-reference{border-top:1px solid var(--line);padding:10px 0}.schedule-reference dl{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:6px;font-size:12px}.schedule-reference dt{font-weight:700}.schedule-reference dd{margin:0;overflow-wrap:anywhere}

.schedule-list-card{margin:10px;padding:12px;border-left:3px solid var(--team-edge);border-radius:7px;background:var(--team-fill);color:var(--team-ink)}.schedule-list-card h3{margin:0 0 7px;font-size:16px}.schedule-list-card p{margin:6px 0}.schedule-list-card .subtle{color:inherit}.schedule-list-day{display:block;width:100%;margin-top:7px;white-space:normal;text-align:left}

.schedule-inline-matrix{min-width:1280px}.schedule-inline-matrix th:nth-child(n),.schedule-inline-matrix td:first-child{width:auto}.schedule-inline-matrix th:nth-child(1){width:165px}.schedule-inline-matrix th:nth-child(2){width:170px}.schedule-inline-matrix th:nth-child(3){width:145px}.schedule-inline-matrix th:nth-child(4){width:137px}.schedule-inline-matrix th:nth-child(n+5){width:92px}.schedule-inline-row td:first-child{background:var(--team-fill);color:var(--team-ink);border-left:3px solid var(--team-edge)}.schedule-inline-label{display:flex;flex-direction:column;gap:3px;margin:5px 0;min-width:0}.schedule-inline-caption{font-size:10px;font-weight:600;opacity:.85}.schedule-inline-row input,.schedule-inline-row select{font:inherit;color:var(--ink);background:var(--surface,#f0f2eb);border:1px solid var(--line);border-radius:5px;width:100%;min-width:0;min-height:44px;padding:5px}.schedule-inline-row button{white-space:normal}.schedule-inline-details{font-size:11px;min-height:44px}.schedule-inline-range button{width:100%;font-size:11px;min-height:36px;margin-top:5px}.schedule-inline-row .schedule-inline-handle{font-size:10px;min-height:32px;margin-top:5px}.schedule-inline-status{font-size:11px;color:inherit}.schedule-unsaved{outline:2px solid #c28b22;outline-offset:-2px}.schedule-inline-helpers{font-size:11px;margin:5px 0}.schedule-inline-helpers summary{cursor:pointer;min-height:36px}.schedule-inline-helpers>div{max-height:180px;overflow:auto}.schedule-inline-helpers .check-label{white-space:normal;min-height:44px}.schedule-inline-helpers label[hidden]{display:none!important}.schedule-inline-helpers input[type=checkbox]{width:20px;min-height:20px}.schedule-list-card.schedule-inline-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.schedule-list-card.schedule-inline-row h3,.schedule-list-card .schedule-inline-site,.schedule-list-card .schedule-inline-pic,.schedule-list-card .schedule-inline-activity,.schedule-list-card .schedule-inline-range,.schedule-list-card.schedule-inline-row>p{grid-column:1/-1}.schedule-list-card .schedule-inline-pic,.schedule-list-card .schedule-inline-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.schedule-list-card .schedule-inline-helpers{grid-column:1/-1}.schedule-list-card .schedule-inline-range .schedule-inline-status{grid-column:1/-1}.schedule-list-card .schedule-inline-label{margin:0}.schedule-list-card input,.schedule-list-card select{font-size:16px}.schedule-inline-day small{display:block;font-size:10px}.schedule-inline-matrix .schedule-inline-day .schedule-inline-caption{display:none}
:root[data-theme='dark'] .schedule-inline-row input,:root[data-theme='dark'] .schedule-inline-row select{background:#142a34;color:#dce8eb}
.schedule-approval{margin:14px 0;border-left:4px solid #b28a37}.schedule-approval[data-status=approved]{border-left-color:#008778}.schedule-approval[data-status=changed],.schedule-approval[data-status=stale]{border-left-color:#b26522}.schedule-approval h3{margin-top:0}.schedule-approval .signature-preview{display:block;width:min(240px,100%);height:auto;margin:12px 0}.schedule-approval button{margin:4px 6px 4px 0;min-height:44px}.schedule-signed-dialog{width:min(1050px,calc(100vw - 24px));background:var(--surface,#f0f2eb);color:var(--ink)}.schedule-signed-dialog .signature-preview{width:min(260px,100%);height:auto}.schedule-signed-dialog table{min-width:700px}.schedule-signed-dialog td{white-space:normal;overflow-wrap:anywhere}
.schedule-more{position:relative;margin:0}.schedule-more>summary{min-height:44px;padding:10px 12px;cursor:pointer;color:var(--ink)}.schedule-more>div{position:absolute;right:0;z-index:6;min-width:180px;padding:8px;border:1px solid var(--line);border-radius:7px;background:var(--surface,#edf2eb);display:grid;gap:5px}.schedule-more button{width:100%}
#schedule-board{max-height:none}.schedule-day-matrix{min-width:960px}.schedule-day-matrix .schedule-range span{display:block}.schedule-day-matrix th:first-child,.schedule-day-matrix td:first-child{width:76px}.schedule-day-matrix th:nth-child(n+2):nth-child(-n+8){width:69px}.schedule-day-matrix th:nth-last-child(3){width:135px}.schedule-day-matrix th:nth-last-child(2){width:80px}.schedule-day-matrix th:last-child{width:120px}.schedule-day-matrix td{padding:3px}.schedule-day-matrix .schedule-job{min-height:60px;border-left-width:2px;gap:2px;font-size:11px}.schedule-day-matrix .schedule-job strong{font-size:11px}.schedule-day-matrix .schedule-job small{font-size:11px}.schedule-day-matrix .schedule-date-button{display:flex;flex-direction:column;align-items:center;gap:3px;min-height:54px}.schedule-day-matrix .schedule-day-empty{width:100%;min-height:60px;border:0;background:transparent}.schedule-day-matrix .text-button{font-size:12px;min-height:44px;padding:4px;text-align:left;white-space:normal}.schedule-day-matrix .schedule-day-pic{font-size:12px;background:var(--team-fill);color:var(--team-ink);text-align:center;font-weight:700}
.schedule-day-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;padding:8px}.schedule-day-strip button{padding:8px 2px;font-size:11px;min-height:44px}.schedule-day-strip button[aria-pressed=true]{background:var(--accent,#087f72);color:var(--accent-text,#fff)}.schedule-day-list-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px}.schedule-day-list-heading h3{font-size:16px;margin:0}.schedule-day-saved{margin:8px;padding:10px;border-left:3px solid var(--team-edge);background:var(--team-fill);color:var(--team-ink);border-radius:5px}.schedule-day-saved p{margin:3px 0;font-size:12px;color:inherit}.schedule-day-saved .text-button{color:inherit;white-space:normal;text-align:left;min-height:44px}
.schedule-day-dialog{width:min(920px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:0;color:var(--ink);background:var(--surface,#edf2eb);overflow:hidden}.schedule-day-dialog[open]{display:flex;flex-direction:column}.schedule-day-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px 20px;border-bottom:1px solid var(--line)}.schedule-day-heading h2{font-size:19px;margin:0}.schedule-day-heading p{font-size:12px;margin:4px 0}.schedule-day-nav{display:flex;gap:5px}.schedule-day-nav button{min-height:44px}.schedule-day-body{overflow-y:auto;min-height:0;padding:15px 20px}.schedule-day-scope{padding:10px 12px;margin-bottom:14px;background:var(--surface-raised,#e4ebe3);border-radius:5px}.schedule-day-scope .check-label{margin:0}.schedule-day-scope p{font-size:12px;margin:6px 0}.schedule-day-assignment{margin-bottom:9px;border:1px solid var(--line);border-left:3px solid var(--team-edge);border-radius:6px}.schedule-day-assignment>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 12px;min-height:52px;cursor:pointer;list-style:none}.schedule-day-assignment>summary::-webkit-details-marker{display:none}.schedule-day-assignment>summary:after{content:'+';font-size:20px}.schedule-day-assignment[open]>summary:after{content:'−'}.schedule-day-assignment>summary strong{display:block;font-size:13px}.schedule-day-assignment>summary small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.schedule-day-fields{border:0;padding:2px 12px 14px;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-width:0}.schedule-day-fields label{display:flex;flex-direction:column;gap:5px;margin:0;font-size:12px;min-width:0}.schedule-day-fields input,.schedule-day-fields select,.schedule-day-fields textarea{width:100%;min-width:0;min-height:44px;font-size:14px}.schedule-day-site{grid-column:span 2}.schedule-day-extra{grid-column:1/-1;border-top:1px solid var(--line);padding-top:8px}.schedule-day-extra>summary,.schedule-day-extra details>summary{min-height:36px;cursor:pointer;font-size:12px}.schedule-day-extra>label,.schedule-day-extra>details{margin-top:10px}.schedule-day-helper-list{display:grid;grid-template-columns:1fr 1fr;max-height:180px;overflow-y:auto;gap:6px}.schedule-day-helper-list label[hidden]{display:none!important}.schedule-day-helper-list input[type=checkbox],.schedule-day-no-work input[type=checkbox]{width:18px;min-height:18px}.schedule-day-fields .schedule-day-no-work{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;gap:8px;min-height:36px}.schedule-day-add{min-height:44px}.schedule-day-actions{padding:12px 20px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex-shrink:0}.schedule-day-actions button{min-height:44px}.schedule-day-error{padding:10px;background:#fff0cc;color:#765217;font-size:13px;border-radius:5px}
:root[data-theme='dark'] .schedule-day-dialog,:root[data-theme='dark'] .schedule-more>div{background:#182e38;color:#dce8eb}:root[data-theme='dark'] .schedule-day-scope{background:#203943}:root[data-theme='dark'] .schedule-day-error{background:#493a22;color:#ffe0a4}
@media(max-width:600px){.schedule-day-dialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}.schedule-day-heading,.schedule-day-body,.schedule-day-actions{padding:12px}.schedule-day-heading h2{font-size:17px}.schedule-day-nav{margin-left:auto}.schedule-day-fields{grid-template-columns:minmax(0,1fr)}.schedule-day-site,.schedule-day-person{grid-column:1/-1}.schedule-day-fields input,.schedule-day-fields select,.schedule-day-fields textarea{font-size:16px}.schedule-day-helper-list{grid-template-columns:1fr}}
@media print{.schedule-day-dialog,.schedule-day-strip,.schedule-more{display:none!important}}
.schedule-heading{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px}.schedule-heading>.section-heading{display:contents}.schedule-heading .eyebrow{display:none}.schedule-heading h2{font-size:18px;margin:0}.schedule-heading .schedule-toolbar{flex:1;justify-content:center;margin:0}.schedule-heading #schedule-new{order:2}.schedule-heading #schedule-status,.schedule-heading .schedule-guide,.schedule-heading #schedule-selection{flex-basis:100%;margin:2px 0}.schedule-heading #schedule-status{order:3;font-size:12px}.schedule-heading .schedule-guide{order:4}.schedule-heading #schedule-selection{order:5}.schedule-board-card>.schedule-print-title,.schedule-board-card>p.subtle{display:none}
@media(max-width:800px){.schedule-heading .schedule-toolbar{order:3;flex-basis:100%;justify-content:flex-start}.schedule-heading #schedule-status{order:4}.schedule-heading .schedule-guide{order:5}.schedule-heading #schedule-new{margin-left:auto}.schedule-heading #schedule-selection{order:6}}
@media print{.schedule-board-card>.schedule-print-title{display:block}}

/* Engineer rows and left-to-right dates. Values become controls only while editing. */
.schedule-grid{width:100%;table-layout:fixed;border-spacing:0;font-size:11px}
.schedule-grid th,.schedule-grid td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:0;vertical-align:top}
.schedule-grid thead th{height:32px;padding:3px 6px;text-align:left}
.schedule-grid thead th:first-child,.schedule-grid tbody th:first-child{width:var(--schedule-engineer-width,128px)!important;min-width:var(--schedule-engineer-width,128px);position:sticky;left:0;z-index:3;background:var(--surface-raised,#e4ebe3);color:var(--ink)}
.schedule-grid thead th:first-child{z-index:4}
.schedule-grid tbody .schedule-grid-engineer{padding:7px;background:var(--team-fill);color:var(--team-ink);border-left:3px solid var(--team-edge);vertical-align:middle}
.schedule-grid-engineer strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.schedule-grid-engineer span{font-size:10px;font-weight:700;opacity:.8}
.schedule-grid thead .schedule-grid-date{width:auto;padding:0;vertical-align:middle}
.schedule-grid-date .schedule-date-button{min-height:32px;padding:3px 5px;text-align:left;font-size:11px;white-space:normal}
.schedule-grid thead .schedule-grid-date{position:relative}
.schedule-column-resize{position:absolute;z-index:2;inset:0 0 0 auto;width:12px;cursor:col-resize;touch-action:none;user-select:none}
.schedule-column-resize::after{content:"";position:absolute;inset:6px 3px;width:2px;background:currentColor;opacity:.35}
.schedule-column-resize:hover::after,.schedule-column-resize:focus-visible::after{opacity:1}
@media print{.schedule-column-resize{display:none}}
.schedule-tile-notes{white-space:pre-wrap;overflow-wrap:anywhere;padding:3px 0}
.schedule-extra-staff summary{cursor:pointer;padding:8px 0}
.schedule-extra-staff .check-label{display:flex;flex-direction:row;align-items:center;gap:8px;min-height:44px}
.schedule-extra-staff input[type=checkbox]{width:18px;min-height:18px}
.schedule-grid-tile{display:block;width:100%;min-height:88px;margin:0;padding:3px 4px;border-left:3px solid var(--team-edge);background:var(--team-fill);color:var(--team-ink);font:inherit;text-align:left;position:relative}
.schedule-grid-tile+.schedule-grid-tile{border-top:1px solid var(--team-edge)}
.schedule-grid-line{display:grid;grid-template-columns:25px minmax(0,1fr);gap:2px;line-height:18px;min-height:18px}
.schedule-grid-key{font-size:9px;font-weight:700;letter-spacing:.025em;opacity:.78}
.schedule-grid-slot{min-width:0}
.schedule-grid-value{display:block;width:100%;min-height:18px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-size:11px;font-weight:700;line-height:18px;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
button.schedule-grid-value{cursor:pointer;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:2px}
button.schedule-grid-value:hover,button.schedule-grid-value:focus-visible{text-decoration-color:currentColor;outline:1px solid var(--team-edge)}
.schedule-grid-details{position:static;display:inline-block;margin-right:8px;padding:3px 2px;border:0;background:transparent;color:inherit;font:inherit;font-size:9px;opacity:.75;cursor:pointer}
.schedule-grid-details:hover,.schedule-grid-details:focus-visible{opacity:1;text-decoration:underline}
.schedule-grid-empty{display:block;width:100%;min-height:88px;border:0;background:transparent;color:var(--muted);font:inherit;text-align:center;cursor:pointer}
.schedule-grid-empty:hover,.schedule-grid-empty:focus-visible{background:var(--surface-raised,#e4ebe3);outline:2px solid var(--line);outline-offset:-2px}
.schedule-inline-controls{display:flex;flex-wrap:wrap;gap:2px;align-items:center;min-width:0}
.schedule-inline-controls select,.schedule-inline-controls input{width:100%;min-width:0;min-height:28px;padding:2px;border:1px solid var(--team-edge);border-radius:3px;background:var(--surface,#eef1ea);color:var(--ink);font-size:12px}
.schedule-inline-controls select:focus-visible,.schedule-inline-controls input:focus-visible{outline:2px solid var(--team-edge)}
.schedule-inline-cancel,.schedule-inline-reload{min-height:22px;padding:1px 4px;border:1px solid var(--team-edge);border-radius:3px;background:var(--surface,#eef1ea);color:var(--ink);font-size:11px;cursor:pointer}
.schedule-inline-error{display:block;font-size:10px;line-height:1.3;color:#9b3420}
.schedule-inline-error:empty{display:none}
.schedule-inline-saving{opacity:.7;pointer-events:none}
.schedule-day-saved{margin:5px 8px;padding:0;border:0;background:transparent}
.schedule-day-saved .schedule-grid-tile{border-radius:4px}
:root[data-theme='dark'] .schedule-grid thead th:first-child{background:#1b333e;color:#d5e8e9}
:root[data-theme='dark'] .schedule-inline-controls select,:root[data-theme='dark'] .schedule-inline-controls input,:root[data-theme='dark'] .schedule-inline-cancel,:root[data-theme='dark'] .schedule-inline-reload{background:#142a34;color:#dce8eb}
:root[data-theme='dark'] .schedule-inline-error{color:#ffd1b5}
@media(max-width:600px){.schedule-day-saved .schedule-grid-tile{min-height:88px}.schedule-grid-tile{min-height:88px}}
@media print{.schedule-grid col{width:auto!important}.schedule-grid-cell{min-width:0}.schedule-grid{width:100%!important;min-width:0!important;font-size:8px}.schedule-grid thead th,.schedule-grid tbody th{position:static!important}.schedule-grid thead th:first-child,.schedule-grid tbody th:first-child{width:95px!important;min-width:0}.schedule-grid-tile{min-height:55px;padding:2px 3px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.schedule-grid-line{line-height:12px;min-height:12px;grid-template-columns:22px minmax(0,1fr)}.schedule-grid-key,.schedule-grid-value{font-size:8px;line-height:12px}.schedule-grid-empty,.schedule-grid-details{display:none!important}}

/* Saved monthly plans: job rows with civil dates running left to right. */
.schedule-month{min-width:0;margin:14px 0;padding:14px}
.schedule-month-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.schedule-month-heading .eyebrow{margin:0 0 2px}.schedule-month-heading h3{margin:0;font-size:18px}
.schedule-month-controls{display:flex;gap:5px}.schedule-month-controls button{min-height:40px;padding:6px 10px}
.schedule-month-status{font-size:12px;margin:8px 0}
.schedule-month-scroll{overflow:auto;max-height:65vh;border:1px solid var(--line);border-radius:6px;overscroll-behavior:contain}
/* Page calendars hand vertical gestures back to the page at either boundary. */
#schedule-board,.schedule-month-scroll{overscroll-behavior-y:auto;overscroll-behavior-x:contain}
.schedule-month-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:11px}
.schedule-month-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.schedule-month-table th,.schedule-month-table td{padding:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.schedule-month-table thead th{position:sticky;top:0;z-index:2;background:var(--surface-raised,#e4ebe3);color:var(--ink);text-align:center}
.schedule-month-table thead th:first-child,.schedule-month-table tbody th:first-child{position:sticky;left:0;z-index:3;width:146px;min-width:146px;max-width:146px}
.schedule-month-table thead th:first-child{z-index:4;text-align:left;padding:5px 8px}
.schedule-month-date,.schedule-month-cell{width:34px;min-width:34px;max-width:34px}
.schedule-month-date-button{width:100%;min-height:42px;border:0;background:transparent;color:inherit;cursor:pointer;font:inherit;font-weight:700}
.schedule-month-date-button span,.schedule-month-date-button small{display:block;line-height:1.15}.schedule-month-date-button small{font-size:9px;color:var(--muted)}
.schedule-month-date-button:hover,.schedule-month-date-button:focus-visible{outline:2px solid var(--accent,#087f72);outline-offset:-2px}
.schedule-month-job{height:37px;padding:3px 6px!important;background:var(--team-fill);color:var(--team-ink);border-left:3px solid var(--team-edge);text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.schedule-month-job strong{display:inline-block;max-width:74px;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.schedule-month-job span{font-weight:700;margin-left:4px}.schedule-month-job small{display:block;overflow:hidden;text-overflow:ellipsis;font-size:9px;opacity:.8}
.schedule-month-cell{height:37px;background:var(--surface,#eef1ea)}
.schedule-month-cell.is-weekend:not(:has(.schedule-month-work)),.schedule-month-date.is-weekend{background:var(--surface-raised,#e4ebe3)}
.schedule-month-cell.is-today,.schedule-month-date.is-today{box-shadow:inset 2px 0 var(--accent,#087f72),inset -2px 0 var(--accent,#087f72)}
.schedule-month-work{display:block;width:100%;height:37px;padding:0;border:0;background:var(--team-fill);color:var(--team-ink);cursor:pointer}
.schedule-month-work:hover,.schedule-month-work:focus-visible{outline:2px solid var(--team-edge);outline-offset:-2px;filter:brightness(.93)}
.schedule-month-empty{padding:22px 12px!important;color:var(--muted);text-align:center}
.schedule-month-row-edit{display:block;width:100%;height:100%;min-height:37px;padding:3px 6px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}
.schedule-month-row-edit:hover,.schedule-month-row-edit:focus-visible{outline:2px solid var(--team-edge);outline-offset:-2px}
.schedule-month-new-label{padding:3px 6px!important;background:var(--surface-raised,#e4ebe3);color:var(--ink);text-align:left;font-size:11px}
.schedule-month-pick-button{display:block;width:100%;height:37px;padding:0;border:0;background:transparent;color:var(--muted);font:inherit;cursor:pointer;opacity:.5}
.schedule-month-pick-button:hover,.schedule-month-pick-button:focus-visible,.schedule-month-pick.is-selected .schedule-month-pick-button{opacity:1;background:var(--accent,#087f72);color:white;outline:2px solid var(--accent,#087f72);outline-offset:-2px}
.schedule-month-editor{margin:10px 0;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-raised,#e4ebe3)}
.schedule-month-editor[hidden]{display:none}
.schedule-month-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.schedule-month-editor-heading strong{font-size:15px}.schedule-month-editor-heading button{min-height:40px}
.schedule-month-editor .subtle{margin:4px 0 10px;font-size:12px}
.schedule-month-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 10px;align-items:end}
.schedule-month-field{display:grid;gap:3px;min-width:0;font-size:12px;font-weight:700;color:var(--ink)}
.schedule-month-field input,.schedule-month-field select{width:100%;min-width:0;min-height:42px;margin:0}
.schedule-month-site-field{grid-column:span 2}.schedule-month-editor-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}.schedule-month-editor-actions button{min-height:42px}
.schedule-month-error{grid-column:1/-1;color:var(--danger,#b63b32);margin:0}
:root[data-theme='dark'] .schedule-month-editor{background:#182e38;color:#dce8eb}
:root[data-theme='dark'] .schedule-month-editor-heading strong,:root[data-theme='dark'] .schedule-month-field{color:#dce8eb}
:root[data-theme='dark'] .schedule-month-editor .subtle{color:#b7c9ca}
@media(max-width:900px){.schedule-month-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.schedule-month-form{grid-template-columns:1fr}.schedule-month-site-field{grid-column:auto}.schedule-month-date,.schedule-month-cell{width:42px;min-width:42px;max-width:42px}.schedule-month-pick-button{height:42px}}
@media(max-width:600px){.schedule-month{padding:10px}.schedule-month-scroll{max-height:55vh}.schedule-month-heading h3{font-size:16px}}
@media print{#schedule-month{display:none!important}}

/* Workbook details on the left; the same assignment's dated Gantt on the right. */
.schedule-month{--m-site:190px;--m-capacity:60px;--m-activity:120px;--m-details:180px;--m-pic:42px;--m-el:42px;--m-progress:60px;--m-start:68px;--m-end:68px;--m-days:40px}
.schedule-month-table .schedule-month-meta{background:var(--team-fill,var(--surface-raised,#e4ebe3));color:var(--team-ink,var(--ink));font-size:11px;line-height:1.3;padding:3px 4px!important;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.schedule-month-table .month-col-site{width:var(--m-site)!important;min-width:var(--m-site)!important;max-width:var(--m-site)!important;text-align:left}
.schedule-month-table .month-col-capacity{width:var(--m-capacity);min-width:var(--m-capacity);max-width:var(--m-capacity)}
.schedule-month-table .month-col-activity{width:var(--m-activity);min-width:var(--m-activity);max-width:var(--m-activity);white-space:normal;overflow-wrap:anywhere;text-align:left}
.schedule-month-table .month-col-details{width:var(--m-details);min-width:var(--m-details);max-width:var(--m-details);text-align:left;white-space:normal}
.schedule-month-table .month-col-pic{width:var(--m-pic);min-width:var(--m-pic);max-width:var(--m-pic)}
.schedule-month-table .month-col-el{width:var(--m-el);min-width:var(--m-el);max-width:var(--m-el)}
.schedule-month-table .month-col-progress{width:var(--m-progress);min-width:var(--m-progress);max-width:var(--m-progress)}
.schedule-month-table .month-col-start{width:var(--m-start);min-width:var(--m-start);max-width:var(--m-start)}
.schedule-month-table .month-col-end{width:var(--m-end);min-width:var(--m-end);max-width:var(--m-end)}
.schedule-month-table .month-col-days{width:var(--m-days);min-width:var(--m-days);max-width:var(--m-days)}
.schedule-month-table .schedule-month-job strong{display:block;max-width:none;white-space:normal;overflow-wrap:anywhere;font-size:11px;font-weight:600}
.schedule-month-table .schedule-month-row-edit{padding:0;min-height:28px;font:inherit}
.schedule-month-table .schedule-month-data-edit{border:0;background:transparent;color:inherit;display:block;width:100%;min-height:28px;padding:0;text-align:inherit;font:inherit;white-space:inherit;cursor:pointer}
.schedule-month-data-edit:hover,.schedule-month-data-edit:focus-visible{outline:2px solid var(--team-edge,#087f72);outline-offset:-2px}
.schedule-month-table thead .schedule-month-meta{height:60px;white-space:normal;background:#4c5c60;color:#fff;letter-spacing:0;font-size:10px;z-index:5}
.schedule-month-table .schedule-month-week{height:24px;padding:2px!important;background:var(--surface-raised,#e4ebe3);font-size:10px;letter-spacing:0;white-space:nowrap;z-index:3}
.schedule-month-table .schedule-month-day-row th{top:24px;}
.schedule-month-table .schedule-month-day-row th:first-child{left:auto;z-index:2}
.schedule-month-table .schedule-month-date,.schedule-month-table .schedule-month-cell{width:24px!important;min-width:24px!important;max-width:24px!important}
.schedule-month-table .schedule-month-date-button{min-height:36px;font-size:10px}
.workspace .schedule-month-table thead .schedule-month-meta{background:#4c5c60!important;color:#fff!important;font-size:9px;white-space:normal}
.schedule-month-table .schedule-month-cell,.schedule-month-table .schedule-month-work{height:34px}
.schedule-month-table .schedule-month-new-label{width:auto!important;min-width:0!important;max-width:none!important;position:sticky!important;left:0;z-index:4}
.schedule-month-table .schedule-month-meta input{height:30px;min-height:30px;width:100%;padding:2px;font-size:12px}
.schedule-month-table .schedule-month-meta.is-editing-date{width:165px;min-width:165px;max-width:165px;white-space:normal}
.schedule-month-meta>button:not(.schedule-month-data-edit):not(.schedule-month-row-edit){padding:3px;font-size:10px;border:1px solid var(--line);background:var(--surface,#edf0e8);color:var(--ink)}
.schedule-month-jump{display:none!important}
.maintenance-state-upcoming{color:#087347;font-weight:700}
:root[data-theme=dark] .maintenance-state-upcoming{color:#71dfb0}
/* Mid-tone Gantt rows and stronger bars retain each Engineer's color identity. */
.schedule-month{--gantt-empty:#edf1e8;--gantt-weekend:#e3eadd}
:root[data-theme=dark] .schedule-month{--gantt-empty:#152d38;--gantt-weekend:#1c3945}
.schedule-month .schedule-month-cell{background:var(--gantt-empty)}
.schedule-month .schedule-month-cell.is-weekend:not(:has(.schedule-month-work)),.schedule-month .schedule-month-date.is-weekend{background:var(--gantt-weekend)}
:root[data-theme] .schedule-month .team-green{--team-fill:#9ecfb5;--team-ink:#123a28;--team-edge:#286842;--team-bar:#408a60}
:root[data-theme] .schedule-month .team-blue{--team-fill:#adc9e6;--team-ink:#173654;--team-edge:#345f8b;--team-bar:#4c84bc}
:root[data-theme] .schedule-month .team-amber{--team-fill:#e2bf7a;--team-ink:#49320e;--team-edge:#825c1e;--team-bar:#a97c28}
:root[data-theme] .schedule-month .team-purple{--team-fill:#c9b4e1;--team-ink:#38224e;--team-edge:#6e498e;--team-bar:#8f68b5}
:root[data-theme] .schedule-month .team-rose{--team-fill:#e2afc1;--team-ink:#512438;--team-edge:#8d4563;--team-bar:#b96585}
:root[data-theme] .schedule-month .team-cyan{--team-fill:#a0cdd2;--team-ink:#173e45;--team-edge:#286a75;--team-bar:#388c98}
:root[data-theme] .schedule-month .team-brown{--team-fill:#cfb998;--team-ink:#443321;--team-edge:#755834;--team-bar:#9d7b4e}
:root[data-theme] .schedule-month .team-neutral{--team-fill:#bbc8c6;--team-ink:#263d3a;--team-edge:#516f69;--team-bar:#6f8984}
:root[data-theme=dark] .schedule-month .team-green{--team-fill:#376f55;--team-ink:#effbf3;--team-edge:#a5e0bd;--team-bar:#63bc87}
:root[data-theme=dark] .schedule-month .team-blue{--team-fill:#365e83;--team-ink:#eff6ff;--team-edge:#b3d4f4;--team-bar:#75aadd}
:root[data-theme=dark] .schedule-month .team-amber{--team-fill:#806235;--team-ink:#fff5df;--team-edge:#f0d19a;--team-bar:#d7ab58}
:root[data-theme=dark] .schedule-month .team-purple{--team-fill:#665083;--team-ink:#f8f1ff;--team-edge:#d4b9ef;--team-bar:#af8ed0}
:root[data-theme=dark] .schedule-month .team-rose{--team-fill:#804d64;--team-ink:#fff1f7;--team-edge:#f1bad1;--team-bar:#d98ba9}
:root[data-theme=dark] .schedule-month .team-cyan{--team-fill:#356e77;--team-ink:#effcff;--team-edge:#a5dfe8;--team-bar:#69b6c3}
:root[data-theme=dark] .schedule-month .team-brown{--team-fill:#746047;--team-ink:#fff6e9;--team-edge:#e3c7a3;--team-bar:#c2a075}
:root[data-theme=dark] .schedule-month .team-neutral{--team-fill:#536a69;--team-ink:#f0faf8;--team-edge:#c3d8d5;--team-bar:#96b3af}
.schedule-month .schedule-month-work,.schedule-month .schedule-month-cell:has(.schedule-month-work){background:var(--team-bar,var(--team-fill))}
.schedule-month .schedule-month-work{box-shadow:inset 0 0 0 1px var(--team-edge)}
@media(min-width:1101px){
 .schedule-month-table .schedule-month-meta{position:sticky;z-index:3}
 .month-col-site{left:0}.month-col-capacity{left:var(--m-site)}.month-col-activity{left:calc(var(--m-site) + var(--m-capacity))}.month-col-details{left:calc(var(--m-site) + var(--m-capacity) + var(--m-activity))}
 .month-col-pic{left:calc(var(--m-site) + var(--m-capacity) + var(--m-activity) + var(--m-details))}.month-col-el{left:calc(var(--m-site) + var(--m-capacity) + var(--m-activity) + var(--m-details) + var(--m-pic))}
 .month-col-progress{left:calc(var(--m-site) + var(--m-capacity) + var(--m-activity) + var(--m-details) + var(--m-pic) + var(--m-el))}
 .month-col-start{left:calc(var(--m-site) + var(--m-capacity) + var(--m-activity) + var(--m-details) + var(--m-pic) + var(--m-el) + var(--m-progress))}
 .month-col-end{left:calc(var(--m-site) + var(--m-capacity) + var(--m-activity) + var(--m-details) + var(--m-pic) + var(--m-el) + var(--m-progress) + var(--m-start))}
 .month-col-days{left:calc(var(--m-site) + var(--m-capacity) + var(--m-activity) + var(--m-details) + var(--m-pic) + var(--m-el) + var(--m-progress) + var(--m-start) + var(--m-end));border-right:2px solid var(--line)}
}
@media(max-width:1400px){.schedule-month{--m-site:160px;--m-details:130px}}
@media(max-width:1100px){.schedule-month-table .schedule-month-meta:not(.month-col-site){position:static}.schedule-month-table thead .schedule-month-meta:not(.month-col-site){position:sticky;left:auto}.schedule-month-jump{display:inline-flex!important}.schedule-month-controls{flex-wrap:wrap}}
.maintenance-due-table{min-width:950px}.maintenance-due-table td{white-space:normal;font-size:12px}.maintenance-due-table td small{display:block;margin-top:5px}.maintenance-due-table .maintenance-actions{min-width:160px}.maintenance-actions button{margin:3px;min-height:40px}.maintenance-rule-form{padding:14px;border:1px solid var(--line);border-radius:8px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.maintenance-rule-form h4,.maintenance-rule-form>.subtle,.maintenance-rule-form>.signature-actions,.maintenance-rule-form>.schedule-month-error{grid-column:1/-1}.maintenance-rule-form [hidden]{display:none!important}.maintenance-state-overdue{color:#9c3e28;font-weight:700}.maintenance-state-due_today{color:#855819;font-weight:700}:root[data-theme=dark] .maintenance-state-overdue{color:#ffb9a2}:root[data-theme=dark] .maintenance-state-due_today{color:#f4d793}@media(max-width:650px){.maintenance-rule-form{grid-template-columns:1fr}}

/* A separate, full-width plant reference worksheet preserves source columns. */
.scheduler-view-tabs{display:flex;gap:8px;margin-bottom:14px}
.scheduler-view-tabs [aria-selected="true"]{border-color:var(--teal);box-shadow:inset 0 -3px var(--teal)}
.schedule-reference-scroll{overflow-x:auto;overscroll-behavior-x:contain;max-width:100%}
.schedule-reference-table{width:max-content;min-width:100%;font-size:12px;border-collapse:separate;border-spacing:0}
.schedule-reference-table th,.schedule-reference-table td{padding:7px 10px;min-width:110px;max-width:260px;border-bottom:1px solid var(--line);white-space:normal;overflow-wrap:anywhere}
.schedule-reference-table th:first-child,.schedule-reference-table td:first-child{position:sticky;left:0;z-index:1;min-width:220px;background:var(--tusc-day-surface,#f0f2eb);font-weight:700}
.schedule-reference-table thead th{background:var(--tusc-day-surface,#f0f2eb);font-size:11px}
.schedule-reference-table tbody tr:nth-child(even){background:color-mix(in srgb,var(--teal) 6%,transparent)}
#scheduler-reference-panel{min-width:0}
@media(max-width:650px){.schedule-reference-table th:first-child,.schedule-reference-table td:first-child{min-width:150px;max-width:150px}.scheduler-view-tabs button{flex:1}}

:root[data-theme='dark'] .schedule-reference-table th,:root[data-theme='dark'] .schedule-reference-table td:first-child{background:var(--night-surface)}

@media print{.scheduler-view-tabs{display:none!important}}

#scheduler-reference-panel .eyebrow{color:#805619}:root[data-theme='dark'] #scheduler-reference-panel .eyebrow{color:#f3ca76}

/* Spreadsheet editors keep the original cell's geometry in every Scheduler table. */
.schedule-grid-slot{position:relative;display:block;min-height:22px}
.schedule-reference-table td:not(:first-child),.maintenance-due-table td{position:relative}
.scheduler-cell-editing{overflow:visible!important;z-index:12!important}
.scheduler-cell-editing>:not(.scheduler-cell-editor){visibility:hidden}
.scheduler-cell-editor{position:absolute;inset:1px;z-index:2;display:flex;align-items:stretch;min-width:0;outline:2px solid var(--team-edge,var(--teal,#087f72));background:var(--tusc-day-input,#f5f6ef);color:var(--ink)}
.scheduler-cell-controls,.scheduler-cell-editor .schedule-inline-controls{display:flex;flex-flow:row nowrap;align-items:stretch;gap:1px;width:100%;height:100%;min-width:0}
#view-schedule-maker .scheduler-cell-editor :is(input,select){flex:1 1 0;width:0;min-width:0;height:100%;max-height:100%;min-height:0;margin:0;padding:0 2px;border:0;border-radius:0;font-size:12px;line-height:1.2;box-shadow:none;background:transparent;color:inherit}
#view-schedule-maker .scheduler-cell-editor :is(.scheduler-cell-cancel,.schedule-inline-cancel){flex:0 0 15px;min-width:15px;width:15px;height:100%;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font-size:12px}
.scheduler-cell-error,.scheduler-cell-editor .schedule-inline-error{position:absolute;top:100%;left:0;min-width:180px;max-width:280px;white-space:normal;background:#fff0cc;color:#762b1b;font-size:11px;line-height:1.4;z-index:5}
.scheduler-cell-error:empty{display:none}
.schedule-reference-value{display:block;width:100%;min-height:24px;padding:0;border:0;border-radius:0;background:transparent;color:inherit;text-align:inherit;font:inherit;cursor:cell;white-space:inherit}
.schedule-reference-value:hover,.schedule-reference-value:focus-visible{outline:1px solid var(--teal,#087f72);outline-offset:-1px}
:root[data-theme='dark'] .scheduler-cell-editor{background:#101d26;color:#e4edf0}
:root[data-theme='dark'] .scheduler-cell-error,:root[data-theme='dark'] .scheduler-cell-editor .schedule-inline-error{background:#493b24;color:#ffd1b5}
@media(max-width:650px){#view-schedule-maker .scheduler-cell-editor :is(input,select){font-size:16px}}

.schedule-reference-table{table-layout:fixed}
.schedule-reference-table td,.schedule-month-table .month-col-details,.schedule-month-table .month-col-activity{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.schedule-reference-table td:first-child,.schedule-reference-table th:first-child{width:220px}
.schedule-reference-value,.schedule-month-data-edit{overflow:hidden;text-overflow:ellipsis}
.maintenance-due-table .maintenance-actions{white-space:nowrap;min-width:200px}
.maintenance-actions button{min-height:28px;padding:3px 6px;font-size:10px}
@media(max-width:650px){.schedule-reference-table td:first-child,.schedule-reference-table th:first-child{width:150px}}

.schedule-month-job .schedule-month-row-edit{display:inline-flex;width:20px;min-height:28px;height:28px;padding:0;vertical-align:middle;align-items:center;justify-content:center;font-size:10px}
.schedule-month-job .schedule-month-data-edit{display:inline-block;width:calc(100% - 20px);vertical-align:middle;min-height:28px}

.schedule-working-days{border:1px solid var(--line);border-radius:6px;padding:10px;margin:0;min-width:0;grid-column:1/-1}
.schedule-working-days legend{font-size:12px;font-weight:700;padding:0 4px}.schedule-working-days>label{display:grid;gap:4px;max-width:260px}
.schedule-working-choices{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.schedule-working-choices .check-label{display:flex;align-items:center;gap:4px;min-height:32px}
#view-schedule-maker .schedule-working-choices input{width:18px;height:18px;min-height:18px;margin:0}.schedule-working-days p{margin:4px 0 0}
.schedule-working-dialog{width:min(520px,calc(100vw - 24px));background:var(--tusc-day-surface,#f0f2eb);color:var(--ink)}
:root[data-theme='dark'] .schedule-working-dialog{background:var(--night-surface);color:var(--night-ink)}
.schedule-month-jump-label{display:grid;gap:3px;font-size:11px;margin:0}.schedule-month-jump-label input{min-height:40px;max-width:175px}
.schedule-timeline-table .schedule-month-month{height:22px;top:0;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:2px 4px;background:var(--surface-raised,#e4ebe3)}
.schedule-timeline-table .schedule-month-week-row th{top:22px}
.schedule-timeline-table .schedule-month-week-row th:first-child{left:auto;padding:2px!important;text-align:center;z-index:3}
.schedule-timeline-table .schedule-month-day-row th{top:46px}
.schedule-timeline-table .schedule-timeline-gap{padding:0!important;border:0!important;pointer-events:none;background:var(--surface,#eef1ea)}
:root[data-theme='dark'] .schedule-timeline-table .schedule-month-month,:root[data-theme='dark'] .schedule-timeline-table .schedule-timeline-gap{background:var(--night-surface);color:var(--night-ink)}

/* Stronger weekly day-mode shades, scoped away from management calendars. */
:root:not([data-theme=dark]) #schedule-board .team-green{--team-fill:#9bcfad;--team-ink:#123c25;--team-edge:#297347}
:root:not([data-theme=dark]) #schedule-board .team-blue{--team-fill:#a0c5e9;--team-ink:#173d65;--team-edge:#3d70a6}
:root:not([data-theme=dark]) #schedule-board .team-amber{--team-fill:#e9c980;--team-ink:#51380b;--team-edge:#ad7b25}
:root:not([data-theme=dark]) #schedule-board .team-purple{--team-fill:#c7afe4;--team-ink:#432d67;--team-edge:#7952a8}
:root:not([data-theme=dark]) #schedule-board .team-rose{--team-fill:#dfa8c1;--team-ink:#602c43;--team-edge:#aa5279}
:root:not([data-theme=dark]) #schedule-board .team-cyan{--team-fill:#91cbd1;--team-ink:#184b52;--team-edge:#367f8a}
:root:not([data-theme=dark]) #schedule-board .team-brown{--team-fill:#cfb795;--team-ink:#503b24;--team-edge:#8c6940}
:root:not([data-theme=dark]) #schedule-board .team-neutral{--team-fill:#b8c9c2;--team-ink:#2b4940;--team-edge:#68877a}
#schedule-board .schedule-grid th.schedule-saturday{background:#d1e2f2;color:#204f76;border-top:3px solid #638fba}
#schedule-board .schedule-grid th.schedule-sunday{background:#ecd7bd;color:#73441c;border-top:3px solid #bb854e}
:root[data-theme=dark] #schedule-board .schedule-grid th.schedule-saturday{background:#28485f;color:#d5ebff;border-top-color:#7eb1dc}
:root[data-theme=dark] #schedule-board .schedule-grid th.schedule-sunday{background:#59432d;color:#ffe3c1;border-top-color:#d3a267}
#schedule-month-manage-vehicles,#schedule-inline-vehicles{min-height:36px;margin-top:5px;white-space:normal}
