/* Vendored from Frappe Gantt v1.2.2 dist/frappe-gantt.css (MIT).
 * Scoped to #gantt-container so the library defaults only apply when this asset is explicitly included. */
#gantt-container{--g-arrow-color: #1f2937;--g-bar-color: #fff;--g-bar-border: #fff;--g-tick-color-thick: #ededed;--g-tick-color: #f3f3f3;--g-actions-background: #f3f3f3;--g-border-color: #ebeff2;--g-text-muted: #7c7c7c;--g-text-light: #fff;--g-text-dark: #171717;--g-progress-color: #dbdbdb;--g-handle-color: #37352f;--g-weekend-label-color: #dcdce4;--g-expected-progress: #c4c4e9;--g-header-background: #fff;--g-row-color: #fdfdfd;--g-row-border-color: #c7c7c7;--g-today-highlight: #37352f;--g-popup-actions: #ebeff2;--g-weekend-highlight-color: #f7f7f7}
html[data-theme=dark] #gantt-container,#gantt-container[data-theme=dark]{--g-arrow-color: #e5e5e5;--g-bar-color: #2a2a2a;--g-bar-border: #3a3a3a;--g-tick-color-thick: #1a1a1a;--g-tick-color: #0a0a0a;--g-actions-background: #1a1a1a;--g-border-color: #2a2a2a;--g-text-muted: #999999;--g-text-light: #ffffff;--g-text-dark: #f5f5f5;--g-progress-color: #4a4a4a;--g-handle-color: #d0d0d0;--g-weekend-label-color: #3a3a3a;--g-expected-progress: #5a5a5a;--g-header-background: #0a0a0a;--g-row-color: #141414;--g-row-border-color: #2a2a2a;--g-today-highlight: #999999;--g-popup-actions: #1a1a1a;--g-weekend-highlight-color: #0f0f0f}
#gantt-container.gantt-container,#gantt-container .gantt-container{line-height:14.5px;position:relative;overflow:auto;font-size:12px;height:var(--gv-grid-height);width:100%;border-radius:8px;isolation:isolate;cursor:grab;overscroll-behavior-x:contain}
#gantt-container.gantt-container .popup-wrapper,#gantt-container .gantt-container .popup-wrapper{position:absolute;top:0;left:0;background:var(--g-header-background);box-shadow:0 10px 24px -3px #0003;padding:10px;border-radius:5px;width:max-content;z-index:1000}
#gantt-container.gantt-container .popup-wrapper .title,#gantt-container .gantt-container .popup-wrapper .title{margin-bottom:2px;color:var(--g-text-dark);font-size:.85rem;font-weight:650;line-height:15px}
#gantt-container.gantt-container .popup-wrapper .subtitle,#gantt-container .gantt-container .popup-wrapper .subtitle{color:var(--g-text-dark);font-size:.8rem;margin-bottom:5px}
#gantt-container.gantt-container .popup-wrapper .details,#gantt-container .gantt-container .popup-wrapper .details{color:var(--g-text-muted);font-size:.7rem}
#gantt-container.gantt-container .popup-wrapper .actions,#gantt-container .gantt-container .popup-wrapper .actions{margin-top:10px;margin-left:3px}
#gantt-container.gantt-container .popup-wrapper .action-btn,#gantt-container .gantt-container .popup-wrapper .action-btn{border:none;padding:5px 8px;background-color:var(--g-popup-actions);border-right:1px solid var(--g-border-color)}
#gantt-container.gantt-container .popup-wrapper .action-btn:hover,#gantt-container .gantt-container .popup-wrapper .action-btn:hover{filter:brightness(97%)}
#gantt-container.gantt-container .popup-wrapper .action-btn:first-child,#gantt-container .gantt-container .popup-wrapper .action-btn:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px}
#gantt-container.gantt-container .popup-wrapper .action-btn:last-child,#gantt-container .gantt-container .popup-wrapper .action-btn:last-child{border-right:none;border-top-right-radius:4px;border-bottom-right-radius:4px}
#gantt-container.gantt-container .grid-header,#gantt-container .gantt-container .grid-header{height:calc(var(--gv-lower-header-height) + var(--gv-upper-header-height) + 10px);background-color:var(--g-header-background);position:sticky;top:0;left:0;border-bottom:1px solid var(--g-row-border-color);z-index:1000}
#gantt-container.gantt-container .lower-text,#gantt-container .gantt-container .lower-text,#gantt-container.gantt-container .upper-text,#gantt-container .gantt-container .upper-text{text-anchor:middle}
#gantt-container.gantt-container .upper-header,#gantt-container .gantt-container .upper-header{height:var(--gv-upper-header-height)}
#gantt-container.gantt-container .lower-header,#gantt-container .gantt-container .lower-header{height:var(--gv-lower-header-height)}
#gantt-container.gantt-container .lower-text,#gantt-container .gantt-container .lower-text{font-size:12px;position:absolute;width:calc(var(--gv-column-width) * .8);height:calc(var(--gv-lower-header-height) * .8);margin:0 calc(var(--gv-column-width) * .1);align-content:center;text-align:center;color:var(--g-text-muted)}
#gantt-container.gantt-container .upper-text,#gantt-container .gantt-container .upper-text{position:absolute;width:fit-content;font-weight:500;font-size:14px;color:var(--g-text-dark);height:calc(var(--gv-lower-header-height) * .66)}
#gantt-container.gantt-container .current-upper,#gantt-container .gantt-container .current-upper{position:sticky;left:0!important;padding-left:17px;background:var(--g-header-background)}
#gantt-container.gantt-container .side-header,#gantt-container .gantt-container .side-header{position:sticky;top:0;right:0;float:right;z-index:1000;line-height:20px;font-weight:400;width:max-content;margin-left:auto;padding-right:10px;padding-top:10px;background:var(--g-header-background);display:flex}
#gantt-container.gantt-container .side-header *,#gantt-container .gantt-container .side-header *{transition-property:background-color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;background-color:var(--g-actions-background);border-radius:.5rem;border:none;padding:5px 8px;color:var(--g-text-dark);font-size:14px;letter-spacing:.02em;font-weight:420;box-sizing:content-box;margin-right:5px}
#gantt-container.gantt-container .side-header *:last-child,#gantt-container .gantt-container .side-header *:last-child{margin-right:0}
#gantt-container.gantt-container .side-header *:hover,#gantt-container .gantt-container .side-header *:hover{filter:brightness(97.5%)}
#gantt-container.gantt-container .side-header select,#gantt-container .gantt-container .side-header select{width:60px;padding-top:2px;padding-bottom:2px}
#gantt-container.gantt-container .side-header select:focus,#gantt-container .gantt-container .side-header select:focus{outline:none}
#gantt-container.gantt-container .date-range-highlight,#gantt-container .gantt-container .date-range-highlight{background-color:var(--g-progress-color);border-radius:12px;height:calc(var(--gv-lower-header-height) - 6px);top:calc(var(--gv-upper-header-height) + 5px);position:absolute}
#gantt-container.gantt-container .current-highlight,#gantt-container .gantt-container .current-highlight{position:absolute;background:var(--g-today-highlight);width:1px;z-index:999}
#gantt-container.gantt-container .current-ball-highlight,#gantt-container .gantt-container .current-ball-highlight{position:absolute;background:var(--g-today-highlight);z-index:1001;border-radius:50%}
#gantt-container.gantt-container .current-date-highlight,#gantt-container .gantt-container .current-date-highlight{background:var(--g-today-highlight);color:var(--g-text-light);border-radius:5px}
#gantt-container.gantt-container .holiday-label,#gantt-container .gantt-container .holiday-label{position:absolute;top:0;left:0;opacity:0;z-index:1000;background:var(--g-weekend-label-color);border-radius:5px;padding:2px 5px}
#gantt-container.gantt-container .holiday-label.show,#gantt-container .gantt-container .holiday-label.show{opacity:100}
#gantt-container.gantt-container .extras,#gantt-container .gantt-container .extras{position:sticky;left:0}
#gantt-container.gantt-container .extras .adjust,#gantt-container .gantt-container .extras .adjust{position:absolute;left:8px;top:calc(var(--gv-grid-height) - 60px);background-color:var(--g-actions-background);color:var(--g-text-light);border:none;padding:8px;border-radius:3px}
#gantt-container.gantt-container .hide,#gantt-container .gantt-container .hide{display:none}
#gantt-container .gantt{user-select:none;-webkit-user-select:none;position:absolute}
#gantt-container .gantt .grid-background{fill:none}
#gantt-container .gantt .grid-row{fill:var(--g-row-color)}
#gantt-container .gantt .row-line{stroke:var(--g-border-color)}
#gantt-container .gantt .tick{stroke:var(--g-tick-color);stroke-width:.4}
#gantt-container .gantt .tick.thick{stroke:var(--g-tick-color-thick);stroke-width:.7}
#gantt-container .gantt .arrow{fill:none;stroke:var(--g-arrow-color);stroke-width:1.5}
#gantt-container .gantt .bar-wrapper .bar{fill:var(--g-bar-color);stroke:var(--g-bar-border);stroke-width:0;transition:stroke-width .3s ease}
#gantt-container .gantt .bar-progress{fill:var(--g-progress-color);border-radius:4px}
#gantt-container .gantt .bar-expected-progress{fill:var(--g-expected-progress)}
#gantt-container .gantt .bar-invalid{fill:transparent;stroke:var(--g-bar-border);stroke-width:1;stroke-dasharray:5}
#gantt-container :is(.gantt .bar-invalid)~.bar-label{fill:var(--g-text-light)}
#gantt-container .gantt .bar-label{fill:var(--g-text-dark);dominant-baseline:central;font-family:Helvetica;font-size:13px;font-weight:400}
#gantt-container .gantt .bar-label.big{fill:var(--g-text-dark);text-anchor:start}
/* Color-blind-safe status suffix appended to each bar label (gantt_controller.js#decorateBarStatuses): status read as text, never by bar color alone. */
#gantt-container .gantt .bar-label .gantt-bar-status{fill:var(--g-text-muted);font-size:11px}
#gantt-container .gantt .bar-label.big .gantt-bar-status{fill:var(--g-text-muted)}
#gantt-container .gantt .handle{fill:var(--g-handle-color);opacity:0;transition:opacity .3s ease}
#gantt-container .gantt .handle.left,#gantt-container .gantt .handle.right{cursor:ew-resize;pointer-events:all;stroke:transparent;stroke-width:8px;width:10px}
#gantt-container .gantt .handle.active,#gantt-container .gantt .handle.visible,#gantt-container .gantt .bar-wrapper:hover .handle.left,#gantt-container .gantt .bar-wrapper:hover .handle.right{cursor:ew-resize;opacity:1}
#gantt-container .gantt .handle.progress{fill:var(--g-text-muted)}
#gantt-container .gantt .bar-wrapper{cursor:grab;touch-action:none}
#gantt-container .gantt .bar-wrapper:active,#gantt-container.gantt-dragging .gantt .bar-wrapper{cursor:grabbing}
#gantt-container .gantt .bar-wrapper .bar{outline:1px solid var(--g-row-border-color);border-radius:3px}
#gantt-container .gantt .bar-wrapper:hover .bar{transition:transform .3s ease}
#gantt-container .gantt .bar-wrapper:hover .date-range-highlight{display:block}
#gantt-container .gantt .grid-column{fill:transparent;pointer-events:all}
#gantt-container .gantt .grid-column:hover{fill:var(--g-weekend-highlight-color);transition:fill .1s ease}
#gantt-container .gantt .bar-wrapper.gantt-cascade-highlight .bar{stroke:#2563eb;stroke-width:2;filter:drop-shadow(0 0 4px rgba(37,99,235,.45))}
#gantt-container.gantt-dragging,#gantt-container.gantt-dragging *{user-select:none;-webkit-user-select:none}
#gantt-container.gantt-dragging .gantt .bar-wrapper:hover .bar,#gantt-container.gantt-dragging .gantt .handle{transition:none}
#gantt-container.gantt-panning,#gantt-container.gantt-panning *{cursor:grabbing!important;user-select:none;-webkit-user-select:none}
