.ep-planner{padding:24px;color:#17364d;font-family:inherit;box-sizing:border-box;min-height:100%;background:#f5f8fb}.ep-planner[hidden]{display:none!important}.ep-planner *{box-sizing:border-box}.ep-planner button,.ep-planner input,.ep-planner select,.ep-planner textarea{font:inherit}.ep-planner button{cursor:pointer;border:1px solid #c7d7e4;background:#fff;color:#174b72;border-radius:7px;padding:8px 12px}.ep-planner button:focus-visible,.ep-planner input:focus-visible,.ep-planner select:focus-visible{outline:3px solid #e9983c;outline-offset:2px}.ep-planner button:disabled{opacity:.5;cursor:wait}.ep-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:18px}.ep-toolbar h2{margin:0;font-size:24px;color:#063f6c}.ep-toolbar p{margin:5px 0 0;color:#6b7e8d;font-size:13px}.ep-controls{display:flex;gap:7px;align-items:end;flex-wrap:wrap}.ep-planner label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600}.ep-planner input:not([type=checkbox]),.ep-planner select,.ep-planner textarea{padding:8px 10px;border:1px solid #c7d7e4;border-radius:6px;color:#17364d;background:#fff;max-width:100%}.ep-filters{display:flex;align-items:center;gap:18px;margin-bottom:15px}.ep-filters>span{font-size:13px;color:#677e8e}.ep-filters label{flex-direction:row;align-items:center}.ep-layout{display:grid;grid-template-columns:240px minmax(0,1fr);border:1px solid #d6e1e9;border-radius:10px;background:white;overflow:hidden;min-height:330px}.ep-layout.ep-readonly{grid-template-columns:minmax(0,1fr)}.ep-projects{padding:17px;background:#fbfcfe;border-right:1px solid #d6e1e9;max-height:65vh;overflow:auto}.ep-projects h3{font-size:14px;margin:0 0 13px}.ep-projects>p{font-size:11px;color:#718293;line-height:1.4}.ep-projects input{width:100%}.ep-planner .ep-project{display:flex;flex-direction:column;gap:5px;width:100%;text-align:left;border-left:4px solid var(--ep-color);margin:10px 0;padding:11px;white-space:normal}.ep-project small{color:#6d8191;font-size:10px}.ep-project strong{font-size:12px;line-height:1.4}.ep-project span{font-size:10px;color:#718293}.ep-scroll{overflow:auto;max-height:65vh;min-width:0;position:relative}.ep-board{position:relative;min-height:100%}.ep-header{display:flex;position:sticky;top:0;z-index:5;background:#f1f6fa;border-bottom:1px solid #bfcfdb;height:62px}.ep-name{position:sticky;left:0;flex:0 0 200px;width:200px;padding:15px;background:#fff;z-index:3;border-right:1px solid #d6e1e9;font-size:12px;display:flex;flex-direction:column;justify-content:center;gap:5px;white-space:normal}.ep-name strong{padding-right:20px;overflow-wrap:anywhere}.ep-name small{color:#8b6d3b;font-size:10px}.ep-name [data-add]{position:absolute;right:9px;top:25px;padding:1px 6px;font-size:17px}.ep-header>.ep-name{background:#f1f6fa;font-weight:600;z-index:6}.ep-dates{display:flex;flex-shrink:0}.ep-date{flex:0 0 var(--ep-day);width:var(--ep-day);border-right:1px solid #e0e8ef;display:flex;flex-direction:column;justify-content:end;font-size:10px;overflow:visible;padding:5px 3px;gap:8px}.ep-date strong{font-size:10px;min-height:12px;white-space:nowrap;z-index:1;color:#376684}.ep-weekend{background:#eef1f5}.ep-holiday{background:#f8e5c6}.ep-today{box-shadow:inset 2px 0 #e88925;color:#c16511}.ep-row{display:flex;position:relative;border-bottom:1px solid #e1e8ef;min-height:76px}.ep-unassigned>.ep-name{background:#fff9ed}.ep-track{position:relative;flex-shrink:0;background-image:linear-gradient(to right,#e5ecf2 1px,transparent 1px);background-size:var(--ep-day) 100%;overflow:hidden}.ep-shade{position:absolute;top:0;bottom:0;pointer-events:auto;font-size:9px;color:#6e6482;padding-top:7px;text-align:center;overflow:hidden;white-space:nowrap}.ep-absence{background:#efe6f4;color:#7c5687;border-top:3px solid #b08abc}.ep-outside{background:repeating-linear-gradient(135deg,#e3e6e8 0 4px,#f5f5f5 4px 8px)}.ep-planner .ep-entry{position:absolute;height:32px;background:var(--ep-color);color:#fff;border:0;border-radius:5px;padding:5px 8px;display:flex;align-items:center;text-align:left;font-size:11px;z-index:2;min-width:8px;overflow:hidden}.ep-entry span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}.ep-planner .ep-entry.ep-open{background:#fff9ec;color:#825b24;border:1px dashed #d5983f;border-left:4px solid #d5983f}.ep-entry.ep-conflict{box-shadow:0 0 0 2px #dc7a37 inset}.ep-entry [data-resize]{position:absolute;right:0;width:9px;top:0;bottom:0;cursor:ew-resize;background:#ffffff35;touch-action:none}.ep-drop{box-shadow:inset 0 0 0 3px #ec9a39}.ep-legend{display:flex;align-items:center;gap:8px;font-size:11px;color:#738594;margin-top:15px;flex-wrap:wrap}.ep-legend>span:last-child{margin-left:9px}.ep-key{width:12px;height:12px;display:inline-block;margin-left:8px;border-radius:2px}.ep-key-project{background:#176798}.ep-key-open{border:1px dashed #d5983f;background:#fff5df}.ep-key-absence{background:#e3d4eb}.ep-key-holiday{background:#f8e5c6}.ep-footnote{font-size:11px;color:#718293;line-height:1.5}.ep-message{background:#e9f2f9;border-radius:7px;padding:12px;margin:12px 0;font-size:13px}.ep-error{color:#a3372c;background:#fff1ed}.ep-empty{padding:20px;font-size:13px}.ep-dialog{border:0;border-radius:12px;padding:24px;width:min(580px,95vw);max-height:90vh;color:#17364d;box-shadow:0 15px 80px #132b4944}.ep-dialog::backdrop{background:#152e4b77}.ep-dialog form{display:flex;flex-direction:column;gap:15px}.ep-dialog-head{display:flex;justify-content:space-between;align-items:center}.ep-dialog-head h3{margin:0;font-size:19px}.ep-dialog-head button{border:0;font-size:24px;padding:0 5px}.ep-dialog-dates{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ep-dialog .ep-check{flex-direction:row;align-items:center;gap:8px;font-weight:400;font-size:13px}.ep-check input{accent-color:#176798}.ep-help{font-size:12px;color:#748494;margin:0;line-height:1.5}.ep-dialog fieldset{border:1px solid #d5e1e9;border-radius:7px;padding:12px}.ep-dialog legend{font-size:12px}.ep-employee-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;max-height:160px;overflow:auto}.ep-dialog-actions{display:flex;gap:8px;justify-content:end}.ep-dialog-actions .ep-danger{margin-right:auto;color:#b44135}.ep-dialog-actions .ep-primary{background:#063f6c;color:white}.ep-dialog [data-dialog-message]{font-size:12px;margin:0;padding:8px}.ep-dialog [data-dialog-message]:empty{display:none}@media(max-width:900px){.ep-planner{padding:12px}.ep-toolbar{align-items:start;flex-direction:column}.ep-layout{grid-template-columns:180px minmax(0,1fr)}.ep-projects{padding:10px}}@media(max-width:600px){.ep-layout{grid-template-columns:1fr}.ep-projects{border-right:0;border-bottom:1px solid #d6e1e9;max-height:180px}.ep-projects [data-projects]{display:flex;gap:8px;overflow:auto}.ep-planner .ep-project{flex:0 0 170px}.ep-employee-options{grid-template-columns:1fr}}

/* Resize handles stay separate from the draggable project body. */
.ep-planner .ep-entry{padding-left:12px;padding-right:12px}
.ep-entry [data-resize]{width:min(10px,30%);min-width:3px;z-index:3;user-select:none;-webkit-user-drag:none}
.ep-entry [data-resize="start"]{left:0;right:auto;border-right:1px solid #ffffff55}
.ep-entry [data-resize="end"]{right:0;left:auto;border-left:1px solid #ffffff55}
.ep-entry [data-resize]:hover{background:#ffffff70}
.ep-planner .ep-entry.ep-resizing{z-index:4;overflow:visible;box-shadow:0 0 0 2px #e9983c;cursor:ew-resize}
.ep-entry.ep-resizing[data-resize-label]::after{content:attr(data-resize-label);position:absolute;left:0;bottom:calc(100% + 5px);white-space:nowrap;background:#063f6c;color:#fff;padding:5px 8px;border-radius:4px;font-size:11px;pointer-events:none}

/* Match the project list: project, customer address and construction site. */
.ep-project-text{display:flex;flex-direction:column;gap:4px;min-width:0;width:100%}
.ep-project .ep-project-text>strong{font-size:12px;line-height:1.4}
.ep-project .ep-project-text>span{font-size:11px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.ep-project .ep-project-status{font-size:10px;color:#718293}
.ep-planner .ep-entry{height:66px;align-items:center}
.ep-entry .ep-project-text{white-space:normal;overflow:hidden;text-overflow:clip;gap:3px;pointer-events:none}
.ep-entry .ep-project-text>strong,.ep-entry .ep-project-text>span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}
.ep-entry .ep-project-text>strong{font-size:11px}
.ep-entry .ep-project-text>span{font-size:10px;color:inherit;opacity:.9}
