/* Work planning 0.5.91. Geometry is assigned through DOM properties under the
   existing self-only CSP. No styles escape this work schedule or its dialog. */
.ws591,.ws591-dialog{--ws-ink:#173b4c;--ws-muted:#526d7e;--ws-line:#d8e4eb;--ws-teal:#087b86;--ws-blue:#326fa6;--ws-green:#24775a;--ws-orange:#ac5a18;--ws-red:#a13f3a;--ws-surface:#f4f8fa;color:var(--ws-ink)}
.ws591 *,.ws591-dialog *{box-sizing:border-box}
.ws591{min-width:0;margin:20px 0 28px;font-size:13px;line-height:1.55}
.ws591 button,.ws591-dialog button{font-family:inherit;cursor:pointer}
.ws591 button:disabled,.ws591-dialog button:disabled{cursor:not-allowed;opacity:.55}
.ws591 svg,.ws591-dialog svg{flex:0 0 auto;width:18px;height:18px;vertical-align:middle}
.ws591 :is(h2,h3,h4,p),.ws591-dialog :is(h3,h4,p){margin-top:0}
.ws591-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:2px 0 20px}
.ws591-eyebrow{display:block;color:var(--ws-teal);font-size:10px;font-weight:750;letter-spacing:1.3px;margin:0 0 7px}
.ws591 .ws591-head h2{font-size:25px;letter-spacing:-.6px;line-height:1.2;margin:0 0 9px;color:var(--ws-ink)}
.ws591 .ws591-head p{font-size:12px;color:var(--ws-muted);margin:0;max-width:580px;line-height:1.65}
.ws591-head-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;align-items:center;max-width:540px}
.ws591-head-actions .btn{display:inline-flex;align-items:center;gap:7px;min-height:42px;white-space:nowrap}
.ws591-head-actions .ws591-subactions{display:flex;align-items:center;justify-content:flex-end;gap:7px;width:100%;flex-wrap:wrap}
.ws591-link{background:none;border:0;color:var(--ws-teal);font-size:12px;font-weight:600;padding:6px 0;text-decoration:none;text-align:left;min-height:30px}
.ws591-link:hover{text-decoration:underline}
.ws591-link svg{width:14px;height:14px;margin-right:4px}
.ws591-summary{display:grid;grid-template-columns:1.1fr 1.3fr 1fr 1fr;gap:12px;margin-bottom:20px}
.ws591-kpi{padding:18px 18px 16px;border:1px solid var(--ws-line);background:#fff;border-radius:12px;min-width:0;position:relative}
.ws591-kpi:first-child{border-top:3px solid var(--ws-teal);padding-top:16px}
.ws591-kpi>span{font-size:11px;color:var(--ws-muted);display:flex;align-items:center;gap:7px;margin-bottom:10px;font-weight:550}
.ws591-kpi>span svg{width:15px;height:15px;color:#638291}
.ws591-kpi>strong{font-size:26px;line-height:1.2;letter-spacing:-.5px;font-weight:700;display:block;font-variant-numeric:tabular-nums}
.ws591-kpi>strong.ws591-date-value{font-size:22px}
.ws591-kpi>small{font-size:10px;color:var(--ws-muted);display:block;margin-top:9px;line-height:1.5}
.ws591-kpi .ws591-badge{margin-top:9px}
.ws591-kpi progress,.ws591-progress{height:5px;border:0;display:block;width:100%;border-radius:5px;background:#e8eff3;overflow:hidden;accent-color:var(--ws-teal);margin:12px 0 0}
.ws591-kpi progress::-webkit-progress-bar,.ws591-progress::-webkit-progress-bar{background:#e8eff3;border-radius:5px}
.ws591-kpi progress::-webkit-progress-value,.ws591-progress::-webkit-progress-value{background:var(--ws-teal);border-radius:5px}
.ws591-kpi progress::-moz-progress-bar,.ws591-progress::-moz-progress-bar{background:var(--ws-teal);border-radius:5px}
.ws591-badge{display:inline-flex;align-items:center;gap:5px;max-width:100%;border-radius:5px;padding:3px 7px;font-size:10px;font-weight:650;line-height:1.4;white-space:normal;border:1px solid #dce5eb;background:#f0f5f7;color:#4f6879}
.ws591-badge.ws591-ok{background:#edf7f1;border-color:#cde6d6;color:#286d50}
.ws591-badge.ws591-late{background:#fff1e7;border-color:#efd3b9;color:#96501f}
.ws591-badge.ws591-risk{background:#fff8e6;border-color:#e9ddb7;color:#8a671d}
.ws591-badge.ws591-ahead{background:#eaf4fa;border-color:#cce1ef;color:#2c678f}
.ws591-badge.ws591-neutral{background:#f1f5f7;color:#5a7484;border-color:#dce5eb}
.ws591-badge.ws591-blocked{background:#fff0ef;color:#a13f3a;border-color:#e8c8c4}
.ws591-note{display:flex;align-items:flex-start;gap:9px;padding:12px 15px;border-radius:9px;border:1px solid #cfdee7;background:#f3f8fb;font-size:12px;line-height:1.6;color:#3c6074;margin:0 0 16px}
.ws591-note svg{width:17px;height:17px;margin-top:1px;flex:none}
.ws591-note>div{flex:1;min-width:0}.ws591-note p{margin:0}
.ws591-note.ws591-warning{background:#fff8ec;border-color:#ebd6b8;color:#80551e}
.ws591-note.ws591-success{background:#edf8f2;border-color:#c5e5d3;color:#25654b}
.ws591-note.ws591-error{background:#fff3f2;border-color:#e6c4bf;color:#923e36}
.ws591-note .ws591-link{font-size:11px;padding:2px 0;min-height:24px}
.ws591-card{border:1px solid var(--ws-line);background:#fff;border-radius:14px;overflow:hidden;min-width:0;box-shadow:0 3px 10px #173b4c03}
.ws591-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #e8eef2;flex-wrap:wrap}
.ws591-card-head h3{font-size:16px;letter-spacing:-.2px;line-height:1.3;margin:0}
.ws591-card-head>div>small{display:block;color:var(--ws-muted);font-size:10px;margin-top:4px}
.ws591-segmented{display:flex;align-items:center;border:1px solid #d5e1e8;background:#f4f7f9;border-radius:8px;padding:3px;gap:2px}
.ws591-segmented button{display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 12px;min-height:34px;border:1px solid transparent;background:none;border-radius:5px;color:#526e80;font-size:11px;font-weight:650;white-space:nowrap}
.ws591-segmented button[aria-pressed=true]{background:#fff;border-color:#d5e2e9;color:#1c5266;box-shadow:0 1px 3px #1d4a5c09}
.ws591-segmented button svg{width:14px;height:14px}
.ws591-toolbar{display:flex;align-items:end;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:14px 20px 12px}
.ws591-filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap;flex:1;min-width:0}
.ws591 label,.ws591-dialog label{font-size:11px;font-weight:600;color:#456474;display:grid;gap:5px;min-width:0}
.ws591 .ws591-toolbar input,.ws591 .ws591-toolbar select{font:inherit;font-size:12px;min-height:36px;height:36px;width:100%;min-width:0;padding:7px 10px;border:1px solid #cadbe5;background:#fff;border-radius:7px;color:var(--ws-ink)}
.ws591 .ws591-search{flex:1;max-width:260px;min-width:160px}
.ws591 .ws591-stage-filter{max-width:200px;min-width:140px}
.ws591-date-filter{max-width:153px}
.ws591 .ws591-date-filter input{min-width:135px}
.ws591-status-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:0 20px 14px}
.ws591-status-tabs button{display:inline-flex;align-items:center;gap:6px;min-height:31px;font-size:11px;font-weight:550;border:1px solid transparent;background:transparent;border-radius:6px;color:#5b7383;padding:5px 8px}
.ws591-status-tabs button[aria-pressed=true]{background:#e8f4f5;border-color:#cce6e9;color:#076974}
.ws591-status-tabs button span{font-size:9px;border-radius:4px;padding:2px 5px;background:#eef3f6;color:#5e7584}
.ws591-status-tabs button[aria-pressed=true] span{background:#cfe8eb;color:#176975}
.ws591-chart-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:11px 20px;border-top:1px solid #edf2f5;background:#fbfcfd}
.ws591-chart-nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.ws591-chart-nav .btn.small{min-height:32px;padding:6px 9px;font-size:11px}
.ws591-chart-nav .ws591-square{width:32px;min-width:32px;padding:5px!important}
.ws591-chart-nav strong{font-size:12px;line-height:1.5;margin-left:7px;text-transform:capitalize;min-width:150px}
.ws591-chart-tools select{font:inherit;min-height:32px;height:32px;font-size:11px;padding:5px 9px;border:1px solid #cedde6;border-radius:6px;background:#fff}
.ws591-chart-options{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ws591-inline-check{display:flex!important;align-items:center;gap:7px!important;font-size:10px!important;font-weight:450!important;line-height:1.5;margin:0}
.ws591-inline-check input{accent-color:var(--ws-teal);width:15px;height:15px;margin:0;flex:none}
.ws591-gantt-scroll{overflow:auto;max-height:610px;min-width:0;border-top:1px solid var(--ws-line);border-bottom:1px solid var(--ws-line);overscroll-behavior-x:contain;position:relative;scrollbar-width:thin;scrollbar-color:#9cb4c1 #f1f6f8}
.ws591-gantt{--ws-label:296px;--ws-track:840px;--ws-day:28px;min-width:100%;width:calc(var(--ws-label) + var(--ws-track));position:relative;isolation:isolate}
.ws591-gantt-row{display:grid;grid-template-columns:var(--ws-label) minmax(var(--ws-track),1fr);width:100%;height:76px;background:#fff;border-bottom:1px solid #e8eff3}
.ws591-gantt-row:last-child{border-bottom:0}
.ws591-row-label{position:sticky;left:0;z-index:4;min-width:0;padding:12px 16px;background:#fff;border-right:1px solid #d1e0e8;box-shadow:4px 0 7px #1e405504;display:flex;align-items:center;gap:8px}
.ws591-row-label>div{flex:1;min-width:0}
.ws591-row-name{display:block;max-width:100%;padding:0;min-height:20px;color:#254d61;border:0;background:none;font-size:11px;text-align:left;line-height:1.45;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ws591-row-name:hover{color:var(--ws-teal);text-decoration:underline}
.ws591-row-label small{display:block;color:#68818f;font-size:9px;line-height:1.5;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ws591-row-pct{font-size:11px;font-weight:700;color:#476c7e;font-variant-numeric:tabular-nums;min-width:35px;text-align:right}
.ws591-row-track{position:relative;min-width:0;overflow:hidden;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(var(--ws-day) - 1px),#e9f0f4 calc(var(--ws-day) - 1px),#e9f0f4 var(--ws-day))}
.ws591-nonworking-layer{position:absolute;left:var(--ws-label);top:65px;bottom:0;width:calc(100% - var(--ws-label));z-index:1;pointer-events:none}
.ws591-weekend-shade{position:absolute;top:0;bottom:0;background:#708fa608;pointer-events:none;z-index:0}
.ws591-gantt-head{position:sticky;top:0;z-index:10;height:65px;background:#f6f9fb;border-bottom:1px solid #cfdee7}
.ws591-gantt-head .ws591-row-label{background:#f6f9fb;display:block;padding-top:13px;z-index:11}
.ws591-gantt-head .ws591-row-label strong{font-size:10px;font-weight:700;color:#486a7e}
.ws591-gantt-head .ws591-row-label small{font-size:9px;margin-top:6px;color:#718895;white-space:normal}
.ws591-months{display:flex;height:26px;align-items:stretch;background:#f5f9fb;border-bottom:1px solid #e2ebf1}
.ws591-months span{flex:none;font-size:10px;font-weight:650;color:#4e6f83;text-transform:capitalize;line-height:26px;white-space:nowrap;overflow:hidden;padding-left:10px;border-right:1px solid #dce7ee}
.ws591-days{display:flex;height:39px;background:#fbfdfe}
.ws591-day{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;border-right:1px solid #e5edf2;color:#527186}
.ws591-day small{font-size:7px;line-height:1;text-transform:uppercase;letter-spacing:.1px}
.ws591-day b{font-size:10px;line-height:1;font-weight:600;font-variant-numeric:tabular-nums}
.ws591-day.ws591-nonworking{background:#edf3f6;color:#7b909c}
.ws591-day.ws591-today{background:#e1f0f2;color:#086f7a}
.ws591-day.ws591-today b{background:#0b7d87;color:#fff;min-width:18px;padding:3px;border-radius:4px;margin-top:-2px}
.ws591-gantt-group{height:36px;border-bottom-color:#dce8ee;background:#eff6f8}
.ws591-gantt-group .ws591-row-label{background:#eff6f8;padding:5px 14px}
.ws591-gantt-group .ws591-row-track{background-color:#f3f8fa}
.ws591-group-button{border:0;background:none;padding:4px 0;display:flex;align-items:center;gap:7px;font-size:10px;font-weight:700;color:#466777;min-width:0;width:100%;text-align:left;line-height:1.3}
.ws591-group-button>span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ws591-group-button small{font-size:9px;color:#70909e;white-space:nowrap;margin:0}
.ws591-group-button svg{width:12px;height:12px;transition:transform .1s}
.ws591-group-button[aria-expanded=true] svg{transform:rotate(90deg)}
.ws591-group-track-label{position:absolute;font-size:9px;color:#72909f;top:10px;left:14px}
.ws591-bar{position:absolute;display:flex;align-items:center;justify-content:center;min-width:4px;border:1px solid transparent;border-radius:4px;overflow:hidden;padding:0;white-space:nowrap;cursor:pointer;z-index:2;font-family:inherit}
.ws591-bar span{font-size:9px;font-weight:650;line-height:1.1;overflow:hidden;text-overflow:ellipsis;padding:0 6px;max-width:100%;pointer-events:none}
.ws591-bar.ws591-baseline-bar{top:11px;height:7px;background:#eaf0f3;border:1px dashed #9cb0bf;border-radius:2px;opacity:.95}
.ws591-bar.ws591-plan-bar{top:26px;height:20px;background:#edf2f6;border-color:#cbd8e1;color:#647e8d}
.ws591-bar.ws591-forecast-bar{top:26px;height:20px;background:#d7eaef;border-color:#72b3be;color:#246779;box-shadow:0 1px 2px #185b7210}
.ws591-bar.ws591-forecast-bar.ws591-late{background:#f8dcca;border-color:#d89d70;color:#85491d}
.ws591-bar.ws591-forecast-bar.ws591-ahead{background:#dcecf9;border-color:#83b4d9;color:#356b94}
.ws591-bar.ws591-forecast-bar.ws591-ok{background:#dceee7;border-color:#8abca9;color:#3c735b}
.ws591-bar.ws591-actual-bar{top:56px;height:8px;background:#459a79;border:1px solid #39866a;border-radius:2px}
.ws591-bar:focus-visible{outline:2px solid #007689;outline-offset:2px;z-index:6}
.ws591-bar:hover{filter:brightness(.97)}
/* Procurement markers: distinct initials and states supplement the colors. */
.ws591 .wm602-dot{position:absolute;transform:translateX(-50%);width:22px;height:22px;min-width:22px;min-height:22px;padding:0;border:2px solid var(--ui67-paper,#fff);border-radius:50%;display:grid;place-items:center;z-index:5;font-size:10px;font-weight:750;line-height:1;box-shadow:0 0 0 1px var(--wm602-color);background:var(--wm602-color);color:var(--wm602-on,#fff);overflow:visible}
.wm602-order{--wm602-color:#8c4ec2;--wm602-on:#fff}
.wm602-delivery{--wm602-color:#147a84;--wm602-on:#fff}
.ws591 .wm602-order{top:2px}
.ws591 .wm602-delivery{top:49px}
.ws591 .wm602-dot.wm602-late{box-shadow:0 0 0 2px var(--ui67-danger,#aa3546)}
.ws591 .wm602-dot.wm602-late::after{content:'!';position:absolute;right:-6px;top:-4px;border-radius:50%;width:11px;height:11px;font-size:9px;line-height:11px;background:var(--ui67-danger,#aa3546);color:var(--ui67-paper,#fff)}
.ws591 .wm602-dot.wm602-completed{box-shadow:0 0 0 2px var(--u598-ok,#197456)}
.ws591 .wm602-dot.wm602-completed::after{content:'✓';position:absolute;right:-7px;top:-5px;width:12px;height:12px;line-height:12px;background:var(--ui67-paper,#fff);border-radius:50%;color:var(--u598-ok,#197456);font-size:11px}
.ws591 .wm602-dot.wm602-closed{box-shadow:0 0 0 1px var(--ui67-muted,#526b7c);filter:saturate(.25)}
.ws591 .wm602-dot:hover{filter:brightness(1.08);z-index:7}
.ws591 .wm602-dot:focus-visible{outline:3px solid var(--u598-focus,#00829a);outline-offset:3px;z-index:8}
.wm602-legend{padding:8px 20px 13px;font-size:11px;color:var(--ui67-muted,#526b7c);border-top:1px solid var(--ui67-line,#d5e1e8)}
.wm602-legend>div{display:flex;align-items:center;flex-wrap:wrap;gap:13px}
.wm602-legend span{display:inline-flex;align-items:center;gap:7px}
.wm602-legend p{margin:9px 0!important;line-height:1.5}
.wm602-key{display:inline-grid;place-items:center;width:19px;height:19px;border-radius:50%;background:var(--wm602-color);color:var(--wm602-on,#fff);font-style:normal;font-weight:750;font-size:10px}
.wm602-key-late{border:2px solid var(--ui67-danger,#aa3546);color:var(--ui67-danger,#aa3546);background:var(--ui67-paper,#fff)}
.wm602-key-done{border:2px solid var(--u598-ok,#197456);color:var(--u598-ok,#197456);background:var(--ui67-paper,#fff)}
.wm602-actions .btn.small{font-size:11px;min-height:32px}
.wm602-explanation,.wm602-position{font-size:12px;color:var(--ui67-muted,#526b7c);line-height:1.6}
.wm602-details{display:grid;gap:14px}
.wm602-detail{padding:14px;border:1px solid var(--ui67-line,#d5e1e8);border-radius:7px;background:var(--ui67-paper,#fff);color:var(--ui67-ink,#173245)}
.wm602-detail header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.wm602-detail h3{font-size:14px;margin:0 0 4px!important}
.wm602-detail header p,.wm602-coverage,.wm602-detail details{font-size:11px;line-height:1.6;color:var(--ui67-muted,#526b7c)}
.wm602-states{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.wm602-state{display:inline-block;font-size:11px;padding:4px 7px;border:1px solid var(--ui67-line,#d5e1e8);border-radius:4px;color:var(--ui67-ink,#173245)}
.wm602-state.wm602-late{border-color:var(--ui67-danger,#aa3546);color:var(--ui67-danger,#aa3546)}
.wm602-state.wm602-completed{border-color:var(--u598-ok,#197456);color:var(--u598-ok,#197456)}
.wm602-detail dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:13px 0}
.wm602-detail dt{font-size:10px;color:var(--ui67-muted,#526b7c);line-height:1.5}
.wm602-detail dd{font-size:12px;font-weight:650;margin:3px 0 0;line-height:1.5}
.wm602-tooltip{position:fixed;z-index:10000;width:max-content;max-width:min(390px,calc(100vw - 16px));padding:10px 12px;background:var(--ui67-paper,#fff);color:var(--ui67-ink,#173245);border:1px solid var(--ui67-line,#d5e1e8);box-shadow:0 5px 20px #0002;border-radius:6px;font-size:11px;line-height:1.5;pointer-events:none}
.wm602-tooltip strong,.wm602-tooltip span,.wm602-tooltip small{display:block;white-space:normal;overflow-wrap:anywhere}
.wm602-tooltip span{margin-top:5px}.wm602-tooltip small{margin-top:7px;color:var(--ui67-muted,#526b7c)}
html[data-theme=dark] .wm602-order{--wm602-color:#c5a0ee;--wm602-on:#271334}
html[data-theme=dark] .wm602-delivery{--wm602-color:#78c6cc;--wm602-on:#092b30}
@media(max-width:700px){.wm602-detail dl{grid-template-columns:repeat(2,minmax(0,1fr))}.wm602-detail header{flex-wrap:wrap}.wm602-legend{padding-inline:12px}.wm602-tooltip{font-size:12px}}
.ws591-clip-start{border-top-left-radius:0!important;border-bottom-left-radius:0!important;border-left-style:dashed!important}
.ws591-clip-end{border-top-right-radius:0!important;border-bottom-right-radius:0!important;border-right-style:dashed!important}
.ws591-unscheduled-label{position:absolute;left:14px;top:28px;color:#8b7353;font-size:10px;font-weight:450}
.ws591-gantt-marker{position:absolute;top:65px;bottom:0;width:1px;background:#14869588;z-index:1;pointer-events:none}
.ws591-gantt-marker>span{position:sticky;top:66px;background:#0b7d87;color:#fff;font-size:7px;display:block;width:32px;text-align:center;padding:2px;transform:translateX(-50%);border-radius:0 0 3px 3px}
.ws591-gantt-marker.ws591-position-marker{background:#b98a3f77;border-left:1px dashed #b98a3f;width:0}
.ws591-gantt-marker.ws591-position-marker>span{background:#a3742f;width:42px}
.ws591 .ws591-dependencies{position:absolute;left:var(--ws-label);top:65px;width:calc(100% - var(--ws-label));height:calc(100% - 65px);z-index:1;pointer-events:none;overflow:visible}
.ws591-dependencies path{fill:none;stroke:#849cad;stroke-width:1;stroke-dasharray:3 2;opacity:.7}
.ws591-legend{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:12px 20px;font-size:10px;color:#5d798b;line-height:1.5}
.ws591-legend span{display:flex;align-items:center;gap:6px}
.ws591-legend i{display:block;width:16px;height:7px;border-radius:2px;background:#d6eaf0;border:1px solid #7fb5c1}
.ws591-legend .ws591-key-baseline{border:1px dashed #96acbc;background:#ecf2f5}
.ws591-legend .ws591-key-plan{border-color:#c9d8e0;background:#edf2f6}
.ws591-legend .ws591-key-actual{background:#459a79;border-color:#39866a}
.ws591-legend .ws591-key-late{background:#f8dcca;border-color:#d89d70}
.ws591-grid-foot{padding:0 20px 13px;color:#6d8493;font-size:10px;line-height:1.6}
.ws591-table-scroll{overflow:auto;max-height:600px;border-top:1px solid var(--ws-line);min-width:0;scrollbar-width:thin}
.ws591-table{border-collapse:separate;border-spacing:0;width:100%;min-width:1180px;font-size:11px;line-height:1.5;text-align:left;table-layout:auto}
.ws591-table th{position:sticky;top:0;z-index:3;background:#f5f9fb;color:#516f81;font-size:10px;font-weight:650;white-space:nowrap;border-bottom:1px solid #d4e3ec;padding:12px 13px;text-align:left}
.ws591-table td{padding:13px;border-bottom:1px solid #e6eef3;vertical-align:top;color:#315467;white-space:nowrap;font-variant-numeric:tabular-nums}
.ws591-table th:first-child,.ws591-table td:first-child{position:sticky;left:0;z-index:2;min-width:245px;max-width:300px;background:#fff;border-right:1px solid #e0e9ef;box-shadow:3px 0 6px #214f6504;white-space:normal}
.ws591-table th:first-child{z-index:4;background:#f5f9fb}
.ws591-table td.ws591-calculated{background:#f6f9fb}
.ws591-table td small{font-size:9px;color:#718996;display:block;margin-top:4px;line-height:1.45}
.ws591-table .ws591-row-name{white-space:normal;font-size:11px}
.ws591-table .ws591-progress{width:84px;max-width:100%;height:4px;margin-top:6px}
.ws591-table tr:hover td{background:#f1f8fa}
.ws591-table tr:hover .ws591-calculated{background:#edf4f7}
.ws591-table .ws591-neg{color:#a0582a}.ws591-table .ws591-pos{color:#237456}
.ws591-lower{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:18px;margin-top:20px}
.ws591-card-body{padding:18px 20px}
.ws591-suggestions{display:grid;gap:12px}
.ws591-suggestion{border:1px solid #dce7ed;border-radius:9px;padding:13px 15px;background:#fbfdfe}
.ws591-suggestion.ws591-late{border-left:3px solid #cd9463}
.ws591-suggestion.ws591-ahead{border-left:3px solid #6aa2bb}
.ws591-suggestion h4{font-size:12px;font-weight:650;line-height:1.5;margin:0 0 6px;color:#2d5468}
.ws591-suggestion p{font-size:11px;line-height:1.6;color:#5f7989;margin:0 0 5px}
.ws591-suggestion .ws591-link{font-size:11px;margin-top:3px}
.ws591-event-list{list-style:none;margin:0;padding:0;display:grid;gap:0}
.ws591-event-list li{display:flex;align-items:flex-start;gap:12px;padding:13px 0;border-bottom:1px solid #e9eff3;min-width:0}
.ws591-event-list li:first-child{padding-top:0}.ws591-event-list li:last-child{border-bottom:0;padding-bottom:0}
.ws591-event-icon{width:31px;height:31px;min-width:31px;display:flex;align-items:center;justify-content:center;border-radius:8px;background:#eaf4f5;color:#43818a}
.ws591-event-icon.ws591-rain{background:#eef3fb;color:#6386af}.ws591-event-icon.ws591-loss{background:#fff4e8;color:#b17b43}
.ws591-event-list li>div:nth-child(2){flex:1;min-width:0}
.ws591-event-list strong{font-size:11px;font-weight:650;color:#3a5e71;display:block;overflow-wrap:anywhere}
.ws591-event-list small{font-size:10px;color:#6c8493;line-height:1.5;display:block;margin-top:4px;overflow-wrap:anywhere}
.ws591-event-date{font-size:9px;color:#7a909e;white-space:nowrap;margin-left:auto;padding-top:2px}
.ws591-footer-note{font-size:10px;color:#708793;margin:16px 0 0;line-height:1.65}
.ws591-live{display:inline-flex;align-items:center;gap:6px;color:#5d7b8b;font-size:10px;white-space:nowrap}
.ws591-live i{width:6px;height:6px;border-radius:50%;background:#419579;box-shadow:0 0 0 3px #e5f4ee}
.ws591-live.ws591-offline i{background:#be8b4d;box-shadow:0 0 0 3px #fff4e7}
.ws591-empty{min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:34px 24px;text-align:center;gap:12px;background:#fcfdfe}
.ws591-empty>svg{width:35px;height:35px;color:#6ba2ae;margin-bottom:3px}
.ws591-empty h3{font-size:18px;margin:0;line-height:1.4}
.ws591-empty p{font-size:12px;color:#67808f;max-width:530px;margin:0;line-height:1.7}
.ws591-empty .btn{margin-top:5px}.ws591-empty.ws591-compact{padding:20px 12px;min-height:120px}.ws591-empty.ws591-compact h3{font-size:13px}.ws591-empty.ws591-compact p{font-size:11px}
.ws591-pager{padding:11px 20px;display:flex;align-items:center;gap:7px;border-top:1px solid #e8eef3;font-size:10px;color:#718996}
.ws591-pager>span{margin-right:auto}.ws591-pager .btn.small{min-height:30px;padding:5px 9px;font-size:10px}
.ws591-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ws591 :is(button,a,input,select,textarea):focus-visible,.ws591-dialog :is(button,a,input,select,textarea):focus-visible{outline:2px solid #0b7d87;outline-offset:3px}
/* Wide work editors retain the native dialog, dirty-state and focus behavior. */
html[data-interface567] #modal.ws591-dialog,#modal.ws591-dialog{width:min(1180px,calc(100vw - 36px))!important;max-width:1180px;max-height:calc(100dvh - 36px);border-radius:16px;overflow:hidden}
html[data-interface567] #modal.ws591-dialog.ws591-small-dialog,#modal.ws591-dialog.ws591-small-dialog{width:min(760px,calc(100vw - 36px))!important}
#modal.ws591-dialog>.modal-header{padding:20px 24px;border-bottom:1px solid var(--ws-line);background:#fff;min-height:78px}
#modal.ws591-dialog>.modal-header h2{font-size:22px;letter-spacing:-.4px;color:var(--ws-ink)}
#modal.ws591-dialog>.modal-body{padding:20px 24px;overflow:auto;max-height:calc(100dvh - 200px);background:var(--ws-surface)}
#modal.ws591-dialog>.modal-footer{padding:14px 24px;background:#fff;border-top:1px solid var(--ws-line);display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
#modal.ws591-dialog .modal-footer .ws591-footer-hint{margin-right:auto;font-size:11px;color:#64808f;max-width:58%;line-height:1.5}
.ws591-dialog .ws591-stepbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:11px;color:#7a909d;margin-bottom:18px}
.ws591-stepbar>span{display:flex;align-items:center;gap:6px}.ws591-stepbar b{display:inline-flex;align-items:center;justify-content:center;width:21px;height:21px;background:#e5eef3;border-radius:50%;font-size:10px;font-weight:650;color:#72909e}
.ws591-stepbar>.current{color:#176e79;font-weight:650}.ws591-stepbar>.current b{background:#d7edef;color:#126e79}
.ws591-dialog h3{font-size:16px;color:#284e62;line-height:1.4;margin-bottom:8px}.ws591-dialog h4{font-size:12px;color:#3f6477;margin-bottom:8px}.ws591-dialog p{font-size:12px;line-height:1.65;color:#587789;margin:0 0 14px}
.ws591-dialog .ws591-section{background:#fff;border:1px solid var(--ws-line);border-radius:11px;padding:18px;margin-bottom:16px}
.ws591-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}.ws591-section-head h3{margin:0}.ws591-section-head>div>small{font-size:10px;color:#708b99;display:block;margin-top:5px}
.ws591-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
.ws591-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.ws591-form-grid>.wide,.ws591-settings-grid>.wide{grid-column:1/-1}
.ws591-dialog fieldset[data-lock]{border:0;margin:0;padding:0;min-width:0}
.ws591-dialog input:not([type=checkbox]):not([type=radio]),.ws591-dialog select,.ws591-dialog textarea{font:inherit;font-size:13px;line-height:1.4;color:var(--ws-ink);background:#fff;border:1px solid #c1d4df;border-radius:7px;min-height:42px;padding:10px 11px;max-width:100%;min-width:0;width:100%;font-weight:400}
.ws591-dialog textarea{resize:vertical;min-height:76px}.ws591-dialog input[type=checkbox],.ws591-dialog input[type=radio]{accent-color:var(--ws-teal);width:17px;height:17px;margin:0;flex:none}
.ws591-dialog input[readonly],.ws591-dialog .ws591-computed{background:#edf3f6;color:#537282;border-color:#d8e4ea}
.ws591-dialog label small{font-size:10px;color:#6b8797;font-weight:400;line-height:1.55}
.ws591-days-checks{display:flex;gap:5px;flex-wrap:wrap;padding:4px 0}.ws591-days-checks label{position:relative;display:flex;align-items:center;justify-content:center;min-width:41px;min-height:37px;cursor:pointer}
.ws591-days-checks input{position:absolute;opacity:0;pointer-events:none}
.ws591-days-checks label span{border:1px solid #d0dee7;background:#f7fafc;border-radius:7px;min-width:41px;min-height:37px;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:600;color:#6a8392;padding:5px}
.ws591-days-checks input:checked+span{background:#e1f0f2;border-color:#91c3cd;color:#176b78}.ws591-days-checks input:focus-visible+span{outline:2px solid #0b7d87;outline-offset:2px}
.ws591-dialog .ws591-edit-scroll{max-height:430px;overflow:auto;border:1px solid #d7e4ec;border-radius:8px;background:#fff;min-width:0}
.ws591-edit-table{min-width:920px;width:100%;border-collapse:separate;border-spacing:0;font-size:11px;line-height:1.5}
.ws591-edit-table th{background:#f3f8fa;position:sticky;top:0;z-index:3;padding:11px 10px;border-bottom:1px solid #d4e2ea;font-size:10px;color:#59798a;text-align:left;font-weight:600;white-space:nowrap}
.ws591-edit-table td{padding:11px 10px;border-bottom:1px solid #e6eef3;vertical-align:top}
.ws591-edit-table th:first-child,.ws591-edit-table td:first-child{position:sticky;left:0;z-index:2;width:260px;min-width:260px;max-width:300px;background:#fff;border-right:1px solid #e0eaf0;box-shadow:3px 0 5px #1b506403}
.ws591-edit-table th:first-child{background:#f3f8fa;z-index:4}
.ws591-edit-table td>strong{font-size:11px;color:#34586b;display:block;line-height:1.5}.ws591-edit-table td>small{font-size:9px;display:block;color:#6c8796;margin-top:4px;line-height:1.45}
.ws591-edit-table input,.ws591-edit-table select{min-height:35px!important;padding:7px 8px!important;font-size:11px!important}
.ws591-edit-table .ws591-edit-start{min-width:134px}.ws591-edit-table .ws591-edit-rate{min-width:108px}.ws591-edit-table .ws591-edit-crews{width:68px}.ws591-edit-table td.ws591-computed{background:#f1f6f8;min-width:85px}
.ws591-edit-table .btn.small{font-size:10px;padding:6px 8px;min-height:32px}
.ws591-edit-table .ws591-row-pending{background:#fffaf2}.ws591-edit-table .ws591-row-pending td:first-child{background:#fffaf2}
.ws591-dialog .ws591-inline-check{font-size:11px!important}
.ws591-source-list{display:grid;gap:7px;max-height:220px;overflow:auto;border:1px solid #dbe5ec;border-radius:8px;padding:9px;background:#fbfdfe}
.ws591-source-choice{display:flex!important;align-items:flex-start;gap:9px!important;padding:8px;border-radius:6px;cursor:pointer;font-size:11px!important;line-height:1.55}
.ws591-source-choice:hover{background:#eff6f8}.ws591-source-choice input{margin-top:2px!important}.ws591-source-choice>span{flex:1;min-width:0}.ws591-source-choice small{display:block;margin-top:3px}
.ws591-dialog .ws591-choice-empty{padding:12px;font-size:11px;color:#6d8796;margin:0}
.ws591-dependency-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.ws591-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.ws591-info-grid>div{background:#edf3f6;border:1px solid #dbe6ec;border-radius:8px;padding:12px;min-width:0}
.ws591-info-grid small{display:block;font-size:9px;color:#78909e;margin-bottom:5px}.ws591-info-grid b{font-size:14px;color:#3a6175;line-height:1.4;font-variant-numeric:tabular-nums}.ws591-info-grid span{font-size:10px;color:#6c8797;display:block;margin-top:4px;line-height:1.5}
.ws591-dialog .ws591-preview-table{width:100%;border-collapse:collapse;font-size:11px;min-width:700px}.ws591-preview-table th{font-size:10px;text-align:left;color:#698595;background:#f3f8fa;padding:10px;border-bottom:1px solid #dbe6ed}.ws591-preview-table td{padding:11px 10px;border-bottom:1px solid #e3edf2;color:#3d6073}.ws591-preview-table td small{display:block;color:#75909d;font-size:9px;line-height:1.5;margin-top:4px}.ws591-preview-table td.ws591-computed{background:#f2f7f9}
.ws591-confirmation{padding:14px 16px;border:1px solid #c9dfe7;border-radius:9px;background:#edf7f8;margin-top:15px}
.ws591-confirmation label{display:flex;align-items:flex-start;gap:10px;font-size:12px;font-weight:550;color:#2e5e6f;line-height:1.65;cursor:pointer}.ws591-confirmation input{margin-top:2px!important}
.ws591-dialog .ws591-history{min-width:760px;width:100%;font-size:11px;border-collapse:collapse}.ws591-history th{font-size:10px;text-align:left;color:#688594;background:#f3f8fa;padding:11px;border-bottom:1px solid #dbe7ee}.ws591-history td{padding:13px 11px;border-bottom:1px solid #e4edf3;vertical-align:top;color:#496d80;line-height:1.6}.ws591-history td small{display:block;font-size:9px;color:#77919e}.ws591-history .ws591-voided{opacity:.65}.ws591-history .btn.small{font-size:10px;min-height:31px;padding:6px 9px}
.ws591-dialog .ws591-dialog-meta{font-size:10px;line-height:1.6;color:#7d94a1;margin:14px 0 0}
.ws591-dialog .ws591-hours-presets{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:5px}.ws591-hours-presets button{font-size:10px;color:#527c8d;background:#f3f8fa;border:1px solid #d2e3eb;border-radius:5px;min-height:28px;padding:4px 8px}
@media(min-width:1700px){.ws591-gantt{--ws-label:340px}.ws591-row-name{font-size:12px}.ws591-row-label small{font-size:10px}.ws591-gantt-scroll{max-height:680px}.ws591 .ws591-head h2{font-size:28px}}
@media(max-width:1100px){.ws591-head{display:block}.ws591-head-actions{justify-content:flex-start;max-width:none;margin-top:16px}.ws591-head-actions .ws591-subactions{width:auto;justify-content:flex-start;margin-left:auto}.ws591-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ws591-lower{grid-template-columns:1fr 1fr;gap:14px}.ws591-gantt{--ws-label:250px}.ws591-row-label{padding:11px 12px}.ws591-row-name{font-size:10px}.ws591-chart-nav strong{font-size:11px;min-width:130px}.ws591-kpi>strong{font-size:24px}.ws591-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.ws591{margin-top:16px}.ws591 .ws591-head h2{font-size:22px}.ws591 .ws591-head p{font-size:11px}.ws591-head-actions{gap:7px}.ws591-head-actions>.btn{font-size:11px;padding:9px 11px;min-height:43px}.ws591-head-actions .ws591-subactions{margin-left:0;width:100%;justify-content:flex-start;margin-top:3px;gap:14px}.ws591-head-actions .ws591-subactions .ws591-link{font-size:11px}.ws591-summary{gap:8px;margin-bottom:14px}.ws591-kpi{padding:14px 12px;border-radius:10px}.ws591-kpi:first-child{padding-top:12px}.ws591-kpi>span{font-size:10px;margin-bottom:8px;line-height:1.4}.ws591-kpi>span svg{width:13px;height:13px}.ws591-kpi>strong{font-size:23px}.ws591-kpi>strong.ws591-date-value{font-size:20px}.ws591-kpi>small{font-size:9px}.ws591-badge{font-size:9px}.ws591-card-head{padding:14px;gap:10px}.ws591-card-head h3{font-size:14px}.ws591-card-head>div>small{font-size:9px}.ws591-segmented button{padding:6px 9px;min-height:34px;font-size:10px}.ws591-segmented button svg{width:13px;height:13px}.ws591-toolbar{padding:12px 13px 10px;align-items:stretch;gap:9px}.ws591-filters{gap:8px}.ws591 label{font-size:10px}.ws591 .ws591-toolbar input,.ws591 .ws591-toolbar select{font-size:16px;min-height:40px;height:40px;padding:7px 8px}.ws591 .ws591-search{min-width:120px;max-width:none;flex-basis:100%}.ws591 .ws591-stage-filter{min-width:130px;max-width:none;flex:1}.ws591-date-filter{max-width:158px}.ws591-status-tabs{padding:0 13px 11px;gap:3px}.ws591-status-tabs button{font-size:10px;padding:6px;min-height:35px;gap:5px}.ws591-chart-tools{padding:10px 13px;gap:10px;align-items:flex-start}.ws591-chart-nav{width:100%;gap:5px}.ws591-chart-nav strong{font-size:11px;min-width:105px;margin-left:3px;flex:1;text-align:right}.ws591-chart-nav .btn.small{min-height:35px;font-size:10px;padding:6px 7px}.ws591-chart-options{width:100%;justify-content:space-between;gap:7px}.ws591-chart-tools select{font-size:14px;min-height:37px;height:37px;min-width:105px}.ws591-inline-check{font-size:9px!important}.ws591-gantt{--ws-label:164px}.ws591-gantt-scroll{max-height:520px}.ws591-row-label{padding:11px 9px;gap:4px}.ws591-row-name{font-size:10px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.45;max-height:30px}.ws591-row-label small{font-size:8px;max-width:124px;margin-top:4px}.ws591-row-pct{font-size:9px;min-width:26px}.ws591-gantt-head .ws591-row-label{padding:12px 9px}.ws591-gantt-head .ws591-row-label strong{font-size:9px}.ws591-gantt-head .ws591-row-label small{font-size:8px;line-height:1.4}.ws591-gantt-group .ws591-row-label{padding:5px 8px}.ws591-group-button{font-size:9px;gap:5px}.ws591-group-button small{font-size:8px}.ws591-group-button svg{width:10px;height:10px}.ws591-legend{padding:11px 13px;gap:10px;font-size:9px}.ws591-grid-foot{padding:0 13px 12px;font-size:9px}.ws591-lower{grid-template-columns:1fr;margin-top:14px}.ws591-card-body{padding:15px}.ws591-suggestion{padding:12px}.ws591-note{font-size:11px;padding:11px 12px}.ws591-table th:first-child,.ws591-table td:first-child{min-width:155px;max-width:185px}.ws591-table td{padding:12px 10px;font-size:10px}.ws591-table .ws591-row-name{font-size:10px}.ws591-table th{font-size:9px;padding:11px 10px}.ws591-pager{padding:10px 13px;font-size:9px;flex-wrap:wrap}.ws591-empty{padding:28px 18px}.ws591-empty h3{font-size:16px}.ws591-empty p{font-size:11px}.ws591-footer-note{font-size:9px}}
@media(max-width:720px){html[data-interface567] #modal.ws591-dialog,#modal.ws591-dialog,html[data-interface567] #modal.ws591-dialog.ws591-small-dialog,#modal.ws591-dialog.ws591-small-dialog{width:calc(100vw - 12px)!important;max-width:none;max-height:calc(100dvh - 12px);border-radius:12px}#modal.ws591-dialog>.modal-header{padding:15px 16px;min-height:69px}#modal.ws591-dialog>.modal-header h2{font-size:19px}#modal.ws591-dialog>.modal-body{padding:14px 13px;max-height:calc(100dvh - 169px)}#modal.ws591-dialog>.modal-footer{padding:12px 13px calc(12px + env(safe-area-inset-bottom));gap:7px}#modal.ws591-dialog .modal-footer .ws591-footer-hint{max-width:none;width:100%;font-size:10px;order:-1}.ws591-dialog .ws591-section{padding:13px;margin-bottom:13px;border-radius:9px}.ws591-settings-grid,.ws591-form-grid{grid-template-columns:minmax(0,1fr);gap:14px}.ws591-dialog input:not([type=checkbox]):not([type=radio]),.ws591-dialog select,.ws591-dialog textarea{font-size:16px;min-height:44px;padding:10px}.ws591-dialog label{font-size:11px}.ws591-dialog label small{font-size:10px}.ws591-section-head{margin-bottom:12px}.ws591-section-head h3{font-size:14px}.ws591-section-head .btn{font-size:10px;padding:7px 9px;min-height:36px}.ws591-days-checks{gap:6px}.ws591-days-checks label,.ws591-days-checks label span{min-width:38px;min-height:38px;font-size:10px}.ws591-info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ws591-info-grid>div{padding:10px}.ws591-info-grid b{font-size:13px}.ws591-info-grid small{font-size:9px}.ws591-dependency-grid{grid-template-columns:1fr}.ws591-edit-table th:first-child,.ws591-edit-table td:first-child{min-width:160px;width:160px;max-width:185px}.ws591-edit-table td{padding:10px 8px}.ws591-edit-table td>strong{font-size:10px}.ws591-edit-table td>small{font-size:8px}.ws591-edit-table input,.ws591-edit-table select{font-size:14px!important;min-height:39px!important}.ws591-dialog .ws591-edit-scroll{max-height:400px}.ws591-confirmation{padding:12px}.ws591-confirmation label{font-size:11px}.ws591-dialog .ws591-stepbar{font-size:10px;gap:7px;margin-bottom:14px}.ws591-stepbar b{width:19px;height:19px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.ws591 *,.ws591-dialog *{transition:none!important;scroll-behavior:auto!important}}
@media print{.ws591-head-actions,.ws591-toolbar,.ws591-status-tabs,.ws591-chart-tools,.ws591-pager{display:none!important}.ws591-gantt-scroll,.ws591-table-scroll{max-height:none;overflow:visible}.ws591-card{box-shadow:none}.ws591-lower{break-inside:avoid}.ws591-head{padding-bottom:10px}}
