/* Schedule owns this layout; other tabs keep the project directory. */
.schedule-workspace,.project-list-panel{min-width:0}
.projects-schedule-active>main.projects-page{max-width:1680px;padding:16px 20px 40px}
.projects-schedule-active .projects-heading{margin-bottom:8px}
.projects-schedule-active .projects-heading__identity{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%}
.projects-schedule-active .projects-heading h1{font-size:22px}
.projects-schedule-active .projects-heading .last-opened{min-height:44px;max-width:360px;padding:5px 0;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.projects-schedule-active .project-find{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;padding:10px 12px;margin-bottom:14px;border:1px solid var(--ucl-line);border-radius:10px}
.projects-schedule-active .project-find__controls{grid-column:1/-1;margin:0!important;gap:10px}
.projects-schedule-active .project-find #projectSearch{min-height:44px;max-width:520px;font-size:16px;padding:8px 12px}
.projects-schedule-active .project-find .pipeline-chips{grid-column:1;grid-row:2;min-width:0;align-self:center;gap:2px;margin:0;padding:0;overflow-x:auto}
.projects-schedule-active .project-find .pipeline-chip{min-height:44px;padding:8px 10px}
.projects-schedule-active .project-list-menu summary{min-height:44px}
.schedule-toolbar{grid-column:2;grid-row:2;min-width:0}
.schedule-toolbar .schedule-map-filters{margin:0}
.projects-schedule-active .schedule-workspace{display:grid;grid-template-columns:minmax(0,45fr) minmax(0,55fr);align-items:start;gap:18px}
.projects-schedule-active .project-list-panel{grid-column:1;grid-row:1}
.projects-schedule-active .project-directory-labels{display:none}
.projects-schedule-active #projectGrid{border:1px solid var(--ucl-line);border-radius:10px;overflow:hidden}
.projects-schedule-active .project-group-heading{gap:10px;padding:10px 12px;background:var(--ucl-surface-2)}
.projects-schedule-active .project-group-heading h2{font-size:13px;font-weight:700;line-height:1.4}
.projects-schedule-active .project-group-heading>span{font-size:12px}
.projects-schedule-active .project-load-status:not(:empty){margin:0 0 10px}
.projects-schedule-active .project-more{min-height:44px;margin:12px auto 0}

/* Selection is separate from opening a project or choosing its install date. */
.projects-schedule-active .projects-page .schedule-job{display:block;min-width:0;margin:0;padding:0;border:0;border-bottom:1px solid var(--ucl-line);border-radius:0;background:var(--ucl-surface);box-shadow:none;scroll-margin-top:calc(var(--ucl-shell-top,64px) + 16px)}
.projects-schedule-active .projects-page .schedule-job:last-child{border-bottom:0}
.projects-schedule-active .projects-page .schedule-job:hover{background:var(--ucl-surface-2)}
.projects-schedule-active .projects-page .schedule-job.is-selected{background:var(--ucl-selected-bg);box-shadow:inset 3px 0 var(--ucl-selected-ink)}
.schedule-job-select{display:grid;grid-template-columns:48px minmax(0,1fr) minmax(94px,auto);align-items:center;gap:10px;width:100%;min-width:0;min-height:72px;margin:0;padding:11px 12px 5px;border:0;border-radius:0;background:transparent;color:var(--ucl-ink);font:inherit;text-align:left;cursor:pointer;touch-action:manipulation}
.schedule-job-select:hover{background:transparent}
.schedule-job-select:focus-visible{outline:3px solid var(--ucl-info);outline-offset:-3px}
.projects-schedule-active .projects-page .schedule-job .project-image{grid-area:auto;grid-column:auto;grid-row:auto;align-self:center;width:48px;height:44px;border-radius:6px}
.schedule-job-identity{display:flex;flex-direction:column;gap:4px;min-width:0}
.projects-schedule-active .schedule-job .project-card-title{align-items:center;gap:6px;min-width:0}
.schedule-job-name{min-width:0;font-size:15px;font-weight:650;line-height:1.3;overflow-wrap:anywhere}
.projects-schedule-active .schedule-job .project-map-number{min-width:22px;height:22px;padding:0 4px;font-size:11px}
.schedule-job-identity .project-address{display:block;min-width:0;font-size:12px;line-height:1.4;color:var(--ucl-muted);overflow-wrap:anywhere}
.schedule-job-timing{display:flex;flex-direction:column;align-items:flex-end;gap:3px;max-width:145px;text-align:right;line-height:1.35}
.schedule-job-timing strong{font-size:13px;font-weight:650;color:var(--ucl-ink)}
.schedule-job-timing strong.is-pending{color:var(--ucl-warn,#915208)}
.schedule-job-timing strong.is-scheduled{color:var(--ucl-link,#1769aa)}
.schedule-job-timing>span{font-size:11px;color:var(--ucl-muted);overflow-wrap:anywhere}
.schedule-job-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:2px 12px 8px 70px}
.schedule-job-payment{min-width:0;font-size:11px;line-height:1.4;color:var(--ucl-muted);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.schedule-job-actions{display:flex;align-items:center;flex:none;gap:4px}
.schedule-job-open,.schedule-job-actions .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 10px;border-radius:7px;font-size:12px;font-weight:600;line-height:1.25;text-decoration:none;white-space:nowrap}
.schedule-job-open{color:var(--ucl-ink)}
.schedule-job-open:hover{background:var(--ucl-surface-3);text-decoration:underline;text-underline-offset:3px}
.schedule-job-actions .schedule-job-action{border-color:var(--ucl-selected-border);background:var(--ucl-selected-bg);color:var(--ucl-selected-ink)}
.schedule-job-actions .schedule-job-action:hover{border-color:var(--ucl-selected-ink)}

/* Image, projection and pins share this 8:5 surface at every display size. */
.project-schedule-panel{min-width:0;margin:0;padding:14px;border:1px solid var(--ucl-line,#d8e0e7);border-radius:10px;background:var(--ucl-surface,#fff);color:var(--ucl-ink,#183044)}
.projects-schedule-active .project-schedule-panel{grid-column:2;grid-row:1;position:sticky;top:calc(var(--ucl-shell-top,64px) + 12px)}
.project-schedule-panel[hidden],.project-schedule-panel [hidden]{display:none!important}
.schedule-map-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px}
.schedule-map-heading h2{margin:0;font-size:17px;line-height:1.3;font-weight:650}
.schedule-map-heading p{margin:3px 0 0;font-size:12px;line-height:1.4}
.schedule-map-heading-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px;margin-left:auto}
.schedule-map-heading .btn,.schedule-map-detail .btn,.project-schedule-panel>button.btn{min-height:44px;padding:8px 10px;font-size:12px;white-space:nowrap}
.schedule-map-move[aria-pressed=true]{border-color:var(--ucl-selected-ink);background:var(--ucl-selected-bg);color:var(--ucl-selected-ink)}
.schedule-map-filters{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:10px 0}
.schedule-map-filter{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px 11px;border:1px solid var(--ucl-line-2,#cbd5e1);border-radius:8px;background:var(--ucl-surface,#fff);color:var(--ucl-ink,#294052);font:600 12px/1.25 var(--ucl-font,system-ui);white-space:nowrap;cursor:pointer;touch-action:manipulation}
.schedule-map-filter:hover{background:var(--ucl-surface-2,#f2f6fa)}
.schedule-map-filter[aria-pressed=true]{border-color:var(--ucl-selected-ink,#123752);background:var(--ucl-selected-bg,#eaf1f7);color:var(--ucl-selected-ink,#123752);box-shadow:inset 0 0 0 1px var(--ucl-selected-ink,#123752)}
.schedule-map-filter--to-be-scheduled:before,.schedule-map-filter--scheduled:before{content:'';display:inline-block;flex:none;width:9px;height:9px;background:#a85b08}
.schedule-map-filter--scheduled:before{border-radius:50%;background:#1769aa}
.schedule-map-status{min-height:18px;margin:7px 0 9px;font-size:12px;line-height:1.5;color:var(--ucl-muted,#526476)}
.schedule-map-frame{position:relative;width:100%;max-width:800px;margin:0 auto;border:1px solid var(--ucl-line,#d8e0e7);border-radius:8px;overflow:hidden;background:var(--ucl-surface-2,#eef2f5)}
.schedule-map-surface{position:relative;width:100%;aspect-ratio:8/5;touch-action:pan-y;cursor:grab;outline-offset:-3px}
.project-schedule-panel.is-map-interactive .schedule-map-surface{touch-action:none}
.schedule-map-surface:active{cursor:grabbing}
.schedule-map-image{display:block;width:100%;height:100%;object-fit:fill;user-select:none;pointer-events:none}
.schedule-map-pins{position:absolute;inset:0;pointer-events:none}
.schedule-map-pin{position:absolute;display:flex;align-items:center;justify-content:center;transform:translate(-50%,-50%);isolation:isolate;pointer-events:auto;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:8px;background:transparent;color:#fff;font:700 12px/1 system-ui;cursor:pointer;z-index:1;touch-action:manipulation}
.schedule-map-pin:before{content:'';position:absolute;inset:6px;z-index:-1;border:2px solid #fff;border-radius:6px;background:#a85b08;box-shadow:0 1px 5px #0007}
.schedule-map-pin--scheduled:before{border-radius:50%;background:#1769aa}
.schedule-map-pin:hover,.schedule-map-pin:focus-visible,.schedule-map-pin[aria-pressed=true]{z-index:2;outline:none}
.schedule-map-pin:hover:before,.schedule-map-pin:focus-visible:before,.schedule-map-pin[aria-pressed=true]:before{outline:3px solid #102b40;outline-offset:2px}
.schedule-map-controls{position:absolute;right:8px;top:8px;display:flex;flex-direction:column;border:1px solid var(--ucl-line-2,#cbd5e1);border-radius:8px;overflow:hidden;box-shadow:0 1px 4px #0002}
.schedule-map-controls button,.schedule-map-directions button{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;width:44px;height:44px;margin:0;padding:0;background:var(--ucl-surface,#fff);color:var(--ucl-ink,#102b40);font:600 22px/1 system-ui;cursor:pointer;touch-action:manipulation}
.schedule-map-controls button{border:0;border-bottom:1px solid var(--ucl-line,#d8e0e7);border-radius:0}
.schedule-map-controls button:last-child{border-bottom:0}
.schedule-map-controls button:disabled{color:var(--ucl-muted,#97a4b0);opacity:.5;cursor:default}
.schedule-map-directions{position:absolute;right:8px;bottom:32px;display:none;grid-template-columns:repeat(3,44px);grid-template-rows:repeat(2,44px);gap:3px;pointer-events:none}
.project-schedule-panel.is-map-interactive .schedule-map-directions{display:grid}
.schedule-map-directions button{pointer-events:auto;border:1px solid var(--ucl-line-2,#cbd5e1);border-radius:7px;box-shadow:0 1px 4px #0002;font-size:18px}
.schedule-map-pan[aria-label="Pan north"]{grid-column:2;grid-row:1}
.schedule-map-pan[aria-label="Pan west"]{grid-column:1;grid-row:2}
.schedule-map-pan[aria-label="Pan south"]{grid-column:2;grid-row:2}
.schedule-map-pan[aria-label="Pan east"]{grid-column:3;grid-row:2}
.schedule-map-detail{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding:10px 0 0;border-top:1px solid var(--ucl-line)}
.schedule-map-detail>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.schedule-map-detail strong{font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.schedule-map-detail span{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.schedule-map-detail__status{font-weight:650;color:var(--ucl-ink)}
.schedule-map-detail .btn{flex:none}
.schedule-map-notice{margin:10px 0 0;padding:0 10px;border:1px solid var(--ucl-warn-line,#ead7b2);border-radius:8px;background:var(--ucl-warn-bg,#fff8eb);color:var(--ucl-warn,#69400c);font-size:12px}
.schedule-map-notice>summary{min-height:44px;padding:12px 0;font-weight:650;cursor:pointer;touch-action:manipulation}
.schedule-map-notice ul{margin:0 0 10px;padding-left:18px}
.schedule-map-notice li+li{margin-top:7px}
.schedule-map-notice a{display:inline-flex;align-items:center;min-height:44px;color:inherit;font-weight:650;text-decoration:underline;overflow-wrap:anywhere}
.project-schedule-panel>button{margin-top:10px}
.projects-schedule-active .schedule-workspace:has(>.is-map-expanded),.projects-schedule-active .schedule-workspace:has(>.is-map-hidden){grid-template-columns:minmax(0,1fr)}
.projects-schedule-active .schedule-workspace:has(>.is-map-expanded)>.project-list-panel,.projects-schedule-active .schedule-workspace:has(>.is-map-hidden)>.project-list-panel{grid-column:1;grid-row:2}
.projects-schedule-active .schedule-workspace>.project-schedule-panel:is(.is-map-expanded,.is-map-hidden){grid-column:1;grid-row:1;position:static}
.project-schedule-panel.is-map-expanded .schedule-map-frame{max-width:none}
.projects-schedule-active .project-schedule-panel.is-map-hidden{padding-block:8px}
.project-schedule-panel.is-map-hidden :is(.schedule-map-status,.schedule-map-detail,.schedule-map-notice),.project-schedule-panel.is-map-hidden>button,.project-schedule-panel.is-map-hidden .schedule-map-heading-actions>:not(.schedule-map-visibility){display:none!important}

/* Compact the 1024px shell for this view without changing saved nav preferences. */
@media(min-width:1024px) and (max-width:1179px){
 :root.ucl-shell.ucl-schedule-active{--ucl-shell-left:72px;--ucl-nav-width:72px}
 .ucl-schedule-active .ucl-global-nav__link span{display:none}
 .ucl-schedule-active .ucl-global-nav__brand{padding:0 12px}
 .ucl-schedule-active .ucl-global-nav .ucl-hd__brand:before{content:attr(data-initials);font:750 15px var(--ucl-font);letter-spacing:.02em;color:var(--ucl-brand)}
 .ucl-schedule-active .ucl-global-nav .ucl-hd__logo,.ucl-schedule-active .ucl-global-nav .ucl-hd__wordmark,.ucl-schedule-active .ucl-nav-collapse{display:none}
 .ucl-schedule-active .ucl-global-nav__links{padding-inline:8px}
 .ucl-schedule-active .ucl-global-nav__link{justify-content:center;padding-inline:10px}
}
@media(min-width:900px) and (max-width:1179px){
 .projects-schedule-active>main.projects-page{padding:14px 16px 32px}
 .projects-schedule-active .schedule-workspace{grid-template-columns:minmax(0,52fr) minmax(0,48fr);gap:12px}
 .projects-schedule-active .project-find{gap:4px 10px;padding:8px 10px;margin-bottom:12px}
 .projects-schedule-active .project-find .pipeline-chip{padding-inline:8px;font-size:12px}
 .schedule-map-filter{padding-inline:9px;font-size:12px}
 .project-schedule-panel{padding:12px}
 .schedule-map-heading{align-items:flex-start}
 .schedule-map-heading-actions{gap:4px}
 .schedule-map-heading .btn{padding-inline:8px;font-size:11px}
 .schedule-job-select{grid-template-columns:44px minmax(0,1fr) minmax(88px,auto);gap:8px;padding-inline:10px}
 .projects-schedule-active .projects-page .schedule-job .project-image{width:44px;height:42px}
 .schedule-job-name{font-size:14px}
 .schedule-job-timing{max-width:120px}
 .schedule-job-footer{padding-left:10px;padding-right:10px}
 .schedule-job-actions .btn,.schedule-job-open{padding-inline:8px}
}
@media(max-width:899px){
 .projects-schedule-active>main.projects-page{padding:12px 16px 32px}
 .projects-schedule-active .projects-heading__identity{gap:10px}
 .projects-schedule-active .projects-heading .last-opened{max-width:240px}
 .projects-schedule-active .project-find{grid-template-columns:minmax(0,1fr);gap:4px;padding:8px 10px;margin-bottom:12px}
 .projects-schedule-active .project-find__controls{grid-column:1;grid-row:1}
 .projects-schedule-active .project-find .pipeline-chips{grid-column:1;grid-row:2}
 .schedule-toolbar{grid-column:1;grid-row:3}
 .schedule-toolbar .schedule-map-filters{flex-wrap:nowrap;overflow-x:auto;padding:2px 0}
 .projects-schedule-active .schedule-workspace{grid-template-columns:minmax(0,1fr);gap:12px}
 .projects-schedule-active .project-list-panel{grid-column:1;grid-row:2}
 .projects-schedule-active .project-schedule-panel{grid-column:1;grid-row:1;position:static;padding:12px}
 .schedule-map-frame{max-width:448px}
 .project-schedule-panel.is-map-expanded .schedule-map-frame{max-width:none}
 .schedule-map-heading{gap:6px 10px}
 .schedule-map-heading-actions{gap:4px}
 .schedule-map-heading .btn{padding-inline:9px}
 .schedule-map-status{margin:5px 0 7px}
 .schedule-map-detail{margin-top:8px;padding-top:8px}
 .schedule-job-footer{padding-left:70px}
}
@media(max-width:540px){
 .projects-schedule-active>main.projects-page{padding-inline:12px}
 .projects-schedule-active .projects-heading__identity{align-items:flex-start;flex-direction:column;gap:0}
 .projects-schedule-active .projects-heading .last-opened{max-width:100%}
 .projects-schedule-active .project-find #projectSearch{flex-basis:calc(100% - 90px);width:auto}
 .projects-schedule-active .project-find__controls{flex-wrap:nowrap}
 .projects-schedule-active .project-find .pipeline-chip{padding-inline:8px;font-size:12px}
 .schedule-map-filter{flex:none;padding-inline:9px}
 .schedule-map-heading{display:block}
 .schedule-map-heading-actions{justify-content:flex-start;margin-top:5px}
 .schedule-map-heading .btn{font-size:11px;padding-inline:8px}
 .schedule-map-directions{right:5px;bottom:32px}
 .schedule-map-controls{right:5px;top:5px}
 .schedule-job-select{grid-template-columns:40px minmax(0,1fr);gap:5px 8px;padding:10px 10px 4px}
 .projects-schedule-active .projects-page .schedule-job .project-image{grid-column:1;grid-row:1/span 2;align-self:start;width:40px;height:40px}
 .schedule-job-identity{grid-column:2;grid-row:1}
 .schedule-job-name{font-size:14px}
 .schedule-job-timing{grid-column:2;grid-row:2;flex-direction:row;align-items:baseline;justify-content:flex-start;flex-wrap:wrap;gap:3px 8px;max-width:none;text-align:left}
 .schedule-job-timing strong{font-size:12px}
 .schedule-job-footer{padding:2px 10px 8px;gap:4px}
 .schedule-job-payment{font-size:10px}
 .schedule-job-open,.schedule-job-actions .btn{padding-inline:8px;font-size:11px}
 .schedule-map-detail{align-items:flex-start}
}
@media(prefers-reduced-motion:reduce){.schedule-job-select,.schedule-map-filter,.schedule-map-pin{transition:none}}
