.production-gantt,.production-gantt__card-body{min-width:0;max-width:100%}.production-gantt-table-viewport{width:100%;overflow-x:auto;overscroll-behavior-x:contain}.production-gantt-table{table-layout:fixed;min-width:100%;border-collapse:separate;border-spacing:0;font-size:.8125rem}.production-gantt-table th,.production-gantt-table td{border-top:0;border-right:1px solid #dee2e6;border-bottom:1px solid #dee2e6;vertical-align:middle}.production-gantt-table thead th{height:98px;background:#f8f9fa;color:#495057;font-weight:600;white-space:nowrap}.production-gantt-table tbody td{height:52px}.production-gantt-table tbody td:not(.table-danger){background:#fff}.production-gantt-table tbody tr:hover td:not(.table-danger){background:#f8f9fa}.production-gantt-table .production-gantt-id{position:sticky;left:0;z-index:2;text-align:center;box-shadow:1px 0 #dee2e6}.production-gantt-table thead th{position:relative;z-index:3}.production-gantt-table thead .production-gantt-id{position:sticky;z-index:4}.production-gantt-table thead.is-floating th{box-shadow:0 2px #dee2e6}.production-gantt-table thead.is-floating .production-gantt-id{box-shadow:1px 0 #dee2e6,0 2px #dee2e6}.production-gantt-name,.production-gantt-text{display:block;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.production-gantt-table .production-gantt-calendar-heading,.production-gantt-table .production-gantt-calendar-cell{padding:0}.production-gantt-month-bands,.production-gantt-week-bands,.production-gantt-days,.production-gantt-track{display:grid;grid-template-columns:repeat(var(--gantt-days),minmax(28px,1fr))}.production-gantt-month-bands{height:24px;border-bottom:1px solid #dee2e6}.production-gantt-month-band{display:block;min-width:0;overflow:hidden;border-right:1px solid #ced4da;background:#e9ecef;line-height:23px;text-align:center;text-overflow:ellipsis;text-transform:capitalize;white-space:nowrap}.production-gantt-week-bands{height:22px;border-bottom:1px solid #dee2e6}.production-gantt-week-band{display:block;min-width:0;overflow:hidden;border-right:1px solid #ced4da;background:#f1f3f5;color:#495057;font-size:.75rem;line-height:21px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.production-gantt-week-band.is-current{background:#e8f4fd;color:#007bff}.dark-mode .production-gantt-week-band{background:#3f474e;color:#ced4da}.dark-mode .production-gantt-week-band.is-current{background:#24465b;color:#fff}.production-gantt-days{height:51px}.production-gantt-day{display:flex;align-items:center;justify-content:center;flex-direction:column;border-right:1px solid #e1e5e9;line-height:1.3}.production-gantt-day small{font-size:.65rem;font-weight:400}.production-gantt-track{position:relative;height:51px;isolation:isolate}.production-gantt-track-day{grid-row:1;border-right:1px solid #e9ecef;min-width:0}.production-gantt-day.is-weekend,.production-gantt-track-day.is-nonworking{background:#f1f3f5}.production-gantt-track-day.is-holiday{background-color:#fff3cd;background-image:repeating-linear-gradient(-45deg,transparent,transparent 5px,rgba(133,100,4,.08) 5px,rgba(133,100,4,.08) 7px)}.production-gantt-track-day.is-unconfigured{background:repeating-linear-gradient(-45deg,#f8f9fa,#f8f9fa 5px,#e9ecef 5px 6px)}.production-gantt-day.is-today,.production-gantt-track-day.is-today:not(.is-nonworking):not(.is-holiday):not(.is-unconfigured){background:#e8f4fd}.production-gantt-day.is-today,.production-gantt-track-day.is-today{box-shadow:inset 1px 0 #80b9e5,inset -1px 0 #80b9e5}.production-gantt-grid-bar{position:relative;z-index:1;grid-row:1;align-self:center;height:28px;min-width:0;margin:0 1px;padding:0 3px;overflow:hidden;border:1px solid;border-radius:3px;font:inherit;font-size:.6875rem;line-height:24px;font-weight:600;cursor:pointer;touch-action:manipulation}.production-gantt-grid-bar:focus-visible,.production-gantt-period-message:focus-visible{outline:2px solid #007bff;outline-offset:2px}.production-gantt-bar-fill{position:absolute;inset:0 auto 0 0;pointer-events:none}.production-gantt-bar-label{position:relative;z-index:1;display:flex;justify-content:center;align-items:center;white-space:nowrap;pointer-events:none}.production-gantt-grid-bar.gantt-bar-planned,.production-gantt-key-plan{color:#495057;border-color:#adb5bd;background:repeating-linear-gradient(-45deg,#e9ecef,#e9ecef 5px,#f8f9fa 5px 10px)}.production-gantt-grid-bar.gantt-bar-planned.is-deadline-window,.production-gantt-key-plan.is-deadline-window{border-style:dashed;border-color:#6c757d;background:repeating-linear-gradient(-45deg,#f8f9fa,#f8f9fa 5px,#fff 5px 10px)}.production-gantt-grid-bar.gantt-bar-planned.is-planned-order,.production-gantt-key.is-planned-order{color:#0b4f8a;border:2px dashed #1f6fd0;background:#e8f4fd}.production-gantt-grid-bar.gantt-bar-warning{color:#664d03;border-color:#d39e00;background:#fff3cd}.gantt-bar-warning .production-gantt-bar-fill{background:#ffc107}.production-gantt-grid-bar.gantt-bar-primary{color:#103f72;border-color:#007bff;background:#e3efff}.gantt-bar-primary .production-gantt-bar-fill{background:#6fa6e6}.production-gantt-grid-bar.gantt-bar-success{color:#155724;border-color:#28a745;background:#e5f4e9}.gantt-bar-success .production-gantt-bar-fill{background:#66bc7a}.production-gantt-track.production-gantt-execution-track{grid-template-rows:repeat(2,22px);row-gap:3px;height:auto;padding:3px 0}.production-gantt-execution-track .production-gantt-track-day{grid-row:1 / -1;margin:-3px 0}.production-gantt-execution-track .production-gantt-period-message{grid-row:1 / -1}.production-gantt-quantity{z-index:2;min-width:0;margin:0 1px;padding:0;overflow:hidden;border:0;border-radius:3px;color:#fff;font:inherit;font-size:.6875rem;font-variant-numeric:tabular-nums;font-weight:600;line-height:22px;text-align:center;white-space:nowrap;cursor:pointer;touch-action:manipulation}.production-gantt-quantity.is-sewing{grid-row:1;background:rgba(23,162,184,var(--gantt-intensity, 1))}.production-gantt-quantity.is-review{grid-row:2;background:rgba(40,167,69,var(--gantt-intensity, 1))}.production-gantt-quantity.is-light{color:#343a40}.production-gantt-quantity.is-after-projection,.production-gantt-key.is-after-projection{box-shadow:inset 0 2px #fd7e14}.production-gantt-quantity.is-after-deadline,.production-gantt-key.is-after-deadline{box-shadow:inset 0 2px #dc3545,inset 0 -2px #dc3545}.production-gantt-quantity:focus-visible{outline:2px solid #007bff;outline-offset:1px}.production-gantt-started-day{z-index:2;grid-row:1;display:flex;align-items:center;justify-content:center;min-width:0;margin:0 1px;border:1px dashed #17a2b8;border-radius:3px;background:#fff;color:#17a2b8;font-size:.5625rem}.production-gantt-projection{z-index:1;grid-row:1 / -1;margin:-1px 0;border:2px dashed #007bff;border-radius:4px;background:#007bff0d;pointer-events:none}.production-gantt-projection.is-clipped-start{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.production-gantt-projection.is-clipped-end{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}.production-gantt-deadline{z-index:3;grid-row:1 / -1;border-right:2px solid #dc3545;pointer-events:none}.production-gantt-key.is-deadline{width:3px;background:#dc3545}.production-gantt-key.is-projection{border:2px dashed #007bff}.production-gantt-key.is-sewing{background:#17a2b8}.production-gantt-key.is-review{background:#28a745}.production-gantt-key.is-started{border:1px dashed #17a2b8;background:#fff}.production-gantt-key.is-after-projection,.production-gantt-key.is-after-deadline{background:#ced4da}.production-gantt-start-badges{gap:.25rem;margin-top:.25rem}.dark-mode .production-gantt-started-day,.dark-mode .production-gantt-key.is-started{background:#343a40}.production-gantt-key{display:inline-block;width:.75rem;height:.75rem;vertical-align:-.08rem}.production-gantt-stage-totals{margin-top:.2rem;font-variant-numeric:tabular-nums}.production-gantt-grid-bar.is-clipped-start{border-left-style:dashed;border-top-left-radius:0;border-bottom-left-radius:0}.production-gantt-grid-bar.is-clipped-end{border-right-style:dashed;border-top-right-radius:0;border-bottom-right-radius:0}.production-gantt-period-message{z-index:1;grid-row:1;grid-column:1 / -1;justify-self:center;align-self:center;color:#6c757d;background:#ffffffd9;font-size:.75rem}.production-gantt-details{position:fixed;z-index:1080;width:calc(100vw - 32px);max-width:360px;max-height:75vh;margin:0;overflow-y:auto;box-shadow:0 .5rem 1rem #00000026}.production-gantt-details .card-title{max-width:calc(100% - 28px);font-size:.875rem}.dark-mode .production-gantt-table tbody td:not(.table-danger),.dark-mode .production-gantt-table thead th{background:#343a40;color:#ced4da}.dark-mode .production-gantt-table tbody tr:hover td:not(.table-danger){background:#3f474e}.dark-mode .production-gantt-day.is-weekend,.dark-mode .production-gantt-track-day.is-nonworking{background:#3f474e}.dark-mode .production-gantt-track-day.is-holiday{background-color:#534a33;background-image:repeating-linear-gradient(-45deg,transparent,transparent 5px,rgba(255,243,205,.12) 5px,rgba(255,243,205,.12) 7px)}.dark-mode .production-gantt-track-day.is-unconfigured{background:repeating-linear-gradient(-45deg,#343a40,#343a40 5px,#454d55 5px 6px)}.dark-mode .production-gantt-day.is-today,.dark-mode .production-gantt-track-day.is-today:not(.is-nonworking):not(.is-holiday):not(.is-unconfigured){background:#24465b}.dark-mode .production-gantt-month-band{background:#454d55;color:#ced4da}.production-gantt-report-card,.production-gantt-card-heading{min-width:0}.production-gantt-card-heading{flex:1}.production-gantt-report-card .card-title{float:none}.production-gantt-card-metrics{display:grid;gap:.75rem}.production-gantt-card-quantities{display:grid;grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:.5rem}.production-gantt-card-capacities{display:grid;grid-template-columns:repeat(auto-fit,minmax(20rem,1fr));gap:.75rem}.production-gantt-card-stat{display:grid;align-content:start;min-width:6rem;padding:.375rem .75rem;border:1px solid rgba(128,128,128,.25);border-radius:.25rem}.production-gantt-capacity{min-width:0;gap:.25rem;padding:.75rem}.production-gantt-card-quantity{gap:.25rem;border-left:3px solid #6c757d;background:#8080800a}.production-gantt-card-quantity.is-planned{border-left-color:#17a2b8}.production-gantt-card-quantity.is-allocated{border-left-color:#007bff}.production-gantt-card-quantity.is-reviewed{border-left-color:#28a745}.production-gantt-card-stat.production-gantt-card-quantity strong{font-size:1.25rem}.production-gantt-card-quantity strong small{font-size:.75rem;font-weight:400}@media(max-width:767.98px){.production-gantt-card-capacities{grid-template-columns:minmax(0,1fr)}}.production-gantt-capacity .progress{background:#e9ecef}.dark-mode .production-gantt-capacity .progress{background:#6c757d}.production-gantt-card-stat strong{font-size:.9375rem;font-variant-numeric:tabular-nums}.production-gantt-card-children>.card:last-child{margin-bottom:0}.production-gantt-card-children .card-title{font-size:1rem}.production-gantt-indicator .info-box-content{min-width:0}.production-gantt-indicator .small{line-height:1.35}.production-gantt-indicator .progress{height:4px;background:#e9ecef}.dark-mode .production-gantt-indicator .progress{background:#6c757d}.production-gantt-day,.production-gantt-track-day{position:relative}.production-gantt-table tbody tr.is-crosshair-row>td:not(.production-gantt-calendar-cell){background-image:linear-gradient(#007bff1f,#007bff1f)}.production-gantt-day.is-crosshair-column:after,.production-gantt-track-day.is-crosshair-column:after,.is-crosshair-row .production-gantt-track-day:after{content:"";position:absolute;inset:0;background:#007bff1f;pointer-events:none}.production-gantt-track-day.is-crosshair-cell:after{background:#007bff38;box-shadow:inset 0 0 0 2px #007bff}.production-gantt-day.is-crosshair-column{color:#004085}.dark-mode .production-gantt-day.is-crosshair-column{color:#90caf9}.manager-tv{--tv-petrol: #0e282e;--tv-green: #37c26f;--tv-orange: #ff6d00;--tv-ice: #e1e8ed;--tv-muted: #526476;display:flex;flex-direction:column;gap:10px;height:calc(100vh - 166px);min-height:610px;min-width:0;margin-bottom:16px;color:var(--tv-petrol)}.manager-tv .card{margin-bottom:0}.manager-tv h2,.manager-tv h3,.manager-tv h4,.manager-tv p{margin:0}.manager-tv button:focus-visible{outline:3px solid var(--tv-orange);outline-offset:2px}.manager-tv-eyebrow{color:inherit;font-size:11px;font-weight:800;letter-spacing:.12em}.manager-tv .manager-tv-header{flex:0 0 auto;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:24px;width:100%;min-height:76px;padding:11px 20px;border:0;border-radius:12px;background:var(--tv-petrol);color:#fff}.manager-tv-header-brandline{display:flex;align-items:center;gap:20px;flex:1 1 auto;min-width:0}.manager-tv-brand{display:flex;align-items:center;flex:0 0 auto}.manager-tv-brand img{display:block;width:150px;height:36px;object-fit:contain;object-position:left center}.manager-tv-header-divider{flex:0 0 1px;height:38px;background:#577088}.manager-tv-header-heading{min-width:0}.manager-tv-header h2{font-size:clamp(23px,1.65vw,32px);font-weight:800;line-height:1.05}.manager-tv-header p{color:#c1d0d5;font-size:13px}.manager-tv-header-actions{display:flex;align-items:center;gap:14px;flex-shrink:0}.manager-tv-header-meta{display:flex;flex-direction:column;align-items:flex-end;min-width:175px;white-space:nowrap}.manager-tv-header-meta strong{font-size:24px;line-height:1}.manager-tv-header-meta small{color:#c1d0d5;font-size:11px}.manager-tv-risk-count{padding:8px 12px;border-radius:8px;background:#244047;color:#eaf6ef;font-weight:700;white-space:nowrap}.manager-tv-risk-count.has-risk{background:#fff0e5;color:#8d3900}.manager-tv-header .btn{border-color:#91aaae;color:#fff;white-space:nowrap}.manager-tv-header .btn:hover{background:#fff;color:var(--tv-petrol)}.manager-tv-workspace{display:grid;grid-template-columns:minmax(420px,31%) minmax(0,1fr);gap:10px;min-height:0;flex:1}.manager-tv-overview{display:flex;flex-direction:column;padding:9px;min-height:0;min-width:0;border:1px solid #d8e2e9;border-radius:12px}.manager-tv-overview-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 5px 8px;margin-bottom:6px;border-bottom:1px solid #d8e2e9}.manager-tv-overview-head h3{font-size:20px;font-weight:800;line-height:1.1}.manager-tv-overview-head p{color:var(--tv-muted);font-size:12px;margin-top:2px}.manager-tv-overview-state{flex:0 0 auto;padding:4px 9px;border-radius:20px;background:#fff0f2;color:#b72b37;font-size:12px;white-space:nowrap}.manager-tv-overview-state.is-stable{background:#e9f7ee;color:#167748}.manager-tv-overview-legend{display:flex;align-items:center;justify-content:space-between;padding:2px 9px 6px 42px;color:var(--tv-muted);font-size:11px;font-weight:700}.manager-tv-overview-legend>span{display:inline-flex;align-items:center;gap:5px}.manager-tv-legend-track{display:inline-block;width:38px;height:5px;border-radius:4px;background:var(--tv-green)}.manager-tv-legend-line{display:inline-block;width:13px;border-top:2px solid var(--tv-green)}.manager-tv-legend-line.is-target{margin-left:4px;border-top:2px dashed var(--tv-orange)}.manager-tv-factories{display:grid;grid-auto-rows:clamp(52px,6.8vh,74px);align-content:start;gap:5px;min-height:0;flex:1;overflow-y:auto;scrollbar-width:thin}.manager-tv-factories.has-ten-factories{grid-template-rows:repeat(10,minmax(52px,1fr));grid-auto-rows:auto}.manager-tv-factory{position:relative;display:flex;flex-direction:row;align-items:center;gap:9px;min-width:0;min-height:0;width:100%;padding:5px 8px 4px 10px;overflow:hidden;border:1px solid #d8e2e9;border-left:5px solid #95aabc;border-radius:7px;background:#fff;color:var(--tv-petrol);text-align:left;transition:background .2s ease,box-shadow .2s ease,border-color .2s ease}.manager-tv-factory:hover,.manager-tv-factory.is-selected{border-color:var(--tv-green);border-left-color:var(--tv-green);box-shadow:0 0 0 2px #37c26f38}.manager-tv-factory.is-selected{background:#e9f8ef}.manager-tv-factory.is-selected:after{position:absolute;inset:auto 0 0;width:var(--selection-progress, 100%);height:2px;background:var(--tv-green);content:"";transition:width 1s linear}.manager-tv-factory.is-critical{border-left-color:#b72b37;background:#fff9fa}.manager-tv-factory.is-critical.is-selected{border-color:#b72b37;box-shadow:0 0 0 2px #b72b3738}.manager-tv-factory.is-critical.is-selected:after{background:#b72b37}.manager-tv-factory.is-pending{border-left-color:var(--tv-orange);background:#fffcf6}.manager-tv-rank{display:grid;place-items:center;flex:0 0 26px;height:28px;border-radius:8px;background:#edf2f5;color:#687c8a;font-size:15px;font-weight:800;font-variant-numeric:tabular-nums}.manager-tv-factory.is-podium .manager-tv-rank{background:var(--tv-petrol);color:#fff}.manager-tv-factory-visual{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}.manager-tv-factory-title{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0}.manager-tv-factory-title strong{flex:1;min-width:0;overflow:hidden;font-size:clamp(16px,1.08vw,21px);line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.manager-tv-factory-status{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;padding:2px 7px;border-radius:20px;background:#e9f7ee;color:#167748;font-size:12px;font-weight:800;white-space:nowrap}.manager-tv-factory-status:before{width:6px;height:6px;border-radius:50%;background:currentColor;content:""}.manager-tv-factory.is-critical .manager-tv-factory-status{background:#fff0f2;color:#b72b37}.manager-tv-factory.is-pending .manager-tv-factory-status{background:#fff4dc;color:#926108}.manager-tv-factory-charts{display:grid;grid-template-columns:minmax(0,1fr) 108px;align-items:center;gap:13px}.manager-tv-factory-efficiency{display:flex;align-items:center;gap:9px;min-width:0}.manager-tv-factory-progress{display:block;flex:1;height:9px;overflow:hidden;border-radius:6px;background:#e6edf3}.manager-tv-factory-progress[hidden]{display:none}.manager-tv-factory-progress span{display:block;height:100%;border-radius:inherit;background:var(--tv-green);transition:width .7s ease}.manager-tv-factory.is-critical .manager-tv-factory-progress span{background:#b72b37}.manager-tv-factory-oee{min-width:58px;color:var(--tv-petrol);font-size:clamp(17px,1.12vw,23px);line-height:1;font-variant-numeric:tabular-nums;font-weight:800;text-align:right}.manager-tv-factory-oee.is-unmeasured{min-width:0;color:#7a8b95;font-size:11px}.manager-tv-factory-sparkline{display:block;width:108px;height:30px;overflow:visible}.manager-tv-focus{display:flex;flex-direction:column;gap:9px;min-width:0;min-height:0}.manager-tv-alert{display:flex;align-items:center;gap:12px;min-height:60px;padding:9px 15px;border:2px solid #a7d5b4;border-radius:10px;background:#eef9f0;color:#175b38}.manager-tv-alert.is-critical{border-color:#c93643;background:#fff0f0;color:#81252e}.manager-tv-alert.is-pending{border-color:var(--tv-orange);background:#fff6ed;color:#8d3900}.manager-tv-alert-icon{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:#247b4a;color:#fff;font-size:20px;font-weight:800}.manager-tv-alert.is-critical .manager-tv-alert-icon{background:#b72b37}.manager-tv-alert.is-pending .manager-tv-alert-icon{background:#b85b00}.manager-tv-alert strong{display:block;font-size:17px;line-height:1.1}.manager-tv-alert span:last-child{display:block;font-size:12px}.manager-tv-detail{display:flex;flex-direction:column;min-width:0;min-height:0;flex:1;border:1px solid var(--tv-ice);border-radius:10px}.manager-tv-detail-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 14px}.manager-tv-detail-head .manager-tv-eyebrow{color:#247b4a}.manager-tv-detail-head h3{font-size:clamp(19px,1.5vw,25px);font-weight:800;line-height:1}.manager-tv-controls{display:flex;align-items:center;gap:5px}.manager-tv-controls .btn{padding:4px 9px;font-size:13px;font-weight:700}.manager-tv-countdown{min-width:76px;color:var(--tv-muted);font-size:12px;text-align:right;font-variant-numeric:tabular-nums}.manager-tv-cycle{height:3px;background:#e6eced}.manager-tv-cycle span{display:block;height:100%;background:var(--tv-green)}.manager-tv-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:8px 12px}.manager-tv-kpis>div{min-width:0;padding:5px 9px;border:1px solid #e4ebed;border-radius:7px;background:#f8faf9}.manager-tv-kpis span{display:block;color:var(--tv-muted);font-size:11px;white-space:nowrap}.manager-tv-kpis strong{display:block;overflow:hidden;font-size:clamp(17px,1.25vw,23px);font-weight:800;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.manager-tv-detail-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:9px;min-width:0;min-height:0;flex:1;padding:0 12px 8px}.manager-tv-chart-panel,.manager-tv-oee-panel{display:flex;flex-direction:column;min-width:0;min-height:0;padding:9px 11px;border:1px solid var(--tv-ice);border-radius:8px;box-shadow:none}.manager-tv-panel-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.manager-tv-panel-head h4{font-size:clamp(16px,1.15vw,21px);font-weight:800}.manager-tv-panel-head span{color:var(--tv-muted);font-size:11px;white-space:nowrap}.manager-tv-chart-legend{display:flex;gap:15px;padding:3px 0 4px;color:var(--tv-muted);font-size:12px}.manager-tv-chart-legend span{display:inline-flex;align-items:center;gap:5px}.manager-tv-chart-legend i{display:inline-block;width:20px;border-top:4px solid var(--tv-green);border-radius:2px}.manager-tv-chart-legend i.target{border-top-color:var(--tv-orange);border-top-style:dashed}.manager-tv-chart-space{min-height:100px;flex:1;overflow:hidden}.manager-tv-chart-space svg{display:block;width:100%;height:100%}.manager-tv-hours-heading{margin-top:3px;font-size:13px;font-weight:800}.manager-tv-hours-heading small{color:var(--tv-muted);font-size:11px;font-weight:400}.manager-tv-hours{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:5px}.manager-tv-hour{min-width:0;padding:5px 7px;border-radius:6px;background:#edf3f5}.manager-tv-hour-head{display:flex;align-items:baseline;justify-content:space-between;gap:3px;font-size:10px}.manager-tv-hour-head strong{font-size:16px}.manager-tv-hour .progress{height:4px;margin:3px 0;background:#d6e2e5}.manager-tv-hour .progress-bar{background:var(--tv-green)}.manager-tv-hour small{display:block;color:var(--tv-muted);font-size:10px}.manager-tv-hour-empty{grid-column:1 / -1;color:var(--tv-muted);font-size:12px}.manager-tv-gauge{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;min-height:118px}.manager-tv-gauge svg{display:block;width:min(100%,360px);height:min(22vh,192px);min-height:95px;flex:0 1 auto}.manager-tv-gauge path{fill:none;stroke-width:18;stroke-linecap:round}.manager-tv-gauge .gauge-track{stroke:#e1e8ed}.manager-tv-gauge .gauge-fill{stroke:var(--tv-green)}.manager-tv-gauge .gauge-needle{stroke:var(--tv-petrol);stroke-width:4;stroke-linecap:round}.manager-tv-gauge strong{display:block;margin-top:-3px;font-size:clamp(22px,2.2vw,40px);font-weight:800;line-height:1;text-align:center;font-variant-numeric:tabular-nums}.manager-tv-gauge.is-unmeasured .gauge-needle{opacity:.25}.manager-tv-gauge.is-unmeasured strong{color:var(--tv-muted);font-size:clamp(15px,1.4vw,21px)}.manager-tv-components{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.manager-tv-components>div{min-width:0;padding:5px;border:1px solid #e5ebed;border-radius:6px}.manager-tv-components span{display:block;overflow:hidden;color:var(--tv-muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.manager-tv-components strong{font-size:14px}.manager-tv-components .progress{height:4px;margin:3px 0 0}.manager-tv-components .progress-bar{background:var(--tv-green)}.manager-tv-components .is-out-of-scale strong{color:#a94900}.manager-tv-components .is-out-of-scale .progress-bar{background:var(--tv-orange)}.manager-tv-oee-note{margin-top:5px!important;color:var(--tv-muted);font-size:11px}.manager-tv-footnote{padding:0 13px 7px;color:var(--tv-muted);font-size:10px}.manager-tv:fullscreen{height:100vh;min-height:0;margin-bottom:0;padding:10px;background:#e1e8ed}@media(max-height:850px)and (min-width:901px){.manager-tv{height:calc(100vh - 148px);min-height:0;gap:6px}.manager-tv:fullscreen{height:100vh}.manager-tv .manager-tv-header{min-height:60px;padding:7px 13px}.manager-tv-brand img{width:130px;height:31px}.manager-tv-workspace,.manager-tv-focus{gap:6px}.manager-tv-overview{padding:6px}.manager-tv-factories{gap:3px}.manager-tv-factory{padding:2px 5px}.manager-tv-factory-visual{gap:1px}.manager-tv-factory-sparkline{height:24px}.manager-tv-alert{min-height:48px;padding:5px 10px}.manager-tv-detail-head{padding:5px 9px}.manager-tv-kpis{padding:5px 8px}.manager-tv-detail-grid{padding:0 8px 5px;gap:6px}.manager-tv-chart-panel,.manager-tv-oee-panel{padding:5px 7px}}@media(max-width:1100px){.manager-tv .manager-tv-header{flex-wrap:wrap}.manager-tv-header-brandline,.manager-tv-header-actions{width:100%}.manager-tv-header-actions{justify-content:space-between}}@media(max-width:900px){.manager-tv{height:auto;min-height:100vh}.manager-tv-workspace,.manager-tv-detail-grid{grid-template-columns:1fr}.manager-tv-factories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(60px,auto)}.manager-tv-factories.has-ten-factories{grid-template-rows:none;grid-auto-rows:minmax(60px,auto)}.manager-tv-detail-grid{min-height:650px}}@media(max-width:650px){.manager-tv-brand,.manager-tv-header-divider{display:none}.manager-tv-factories{grid-template-columns:1fr}.manager-tv-header-actions,.manager-tv-detail-head{flex-wrap:wrap}.manager-tv-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.manager-tv-detail-grid{min-height:720px}}@media(prefers-reduced-motion:reduce){.manager-tv-factory{transition:none}}#production-listing{--production-info-size: .9375rem}#production-tabs{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none}#production-tabs::-webkit-scrollbar{display:none}#production-tabs .nav-link{white-space:nowrap}#production-tabs .nav-link:not(.active){color:#6c757d}#production-tabs .nav-link .badge{margin-left:6px}#production-summary>[class*=col-]{display:flex}#production-summary .info-box{flex:1 1 auto}#production-summary .info-box-text{white-space:normal}#production-summary .info-box-text,#production-summary .info-box-number,#production-summary .info-box-number small{font-size:1rem}#production-summary .info-box-number small{font-weight:400;color:#6c757d}#production-summary .progress{height:3px;margin:4px 0}#production-summary .progress-description{font-size:.875rem;color:#6c757d}#production-summary a.info-box{color:inherit}#production-summary a.info-box:hover{box-shadow:0 0 0 1px #007bff}#production-summary a.info-box.is-active{box-shadow:0 0 0 2px #007bff}@media(max-width:1199.98px){#production-summary .info-box{min-height:0;padding:.375rem;margin-bottom:.5rem}#production-summary .info-box-icon{width:40px;font-size:1.125rem}#production-summary .info-box-content{padding:0 8px;line-height:1.3}#production-summary .info-box-text{font-size:.875rem}#production-summary .progress,#production-summary .progress-description{display:none}}@media(max-width:575.98px){#production-summary .info-box-number small{display:block}}#production-filters label{font-weight:600}#production-filters .production-input-with-icon{position:relative}#production-filters .production-input-icon{position:absolute;top:50%;left:.75rem;z-index:4;color:#6c757d;transform:translateY(-50%);pointer-events:none}#production-filters .production-input-with-icon>.form-control,#production-filters .production-input-with-icon .select2-selection__rendered{padding-left:2.25rem}.production-filter-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #dee2e6;background:#f8f9fa;border-radius:4px;padding:2px 4px 2px 8px;font-size:.875rem}.production-filter-chip a{color:#6c757d;padding:0 6px}.production-info-line{display:flex;align-items:center;gap:6px;min-width:0;font-size:var(--production-info-size);line-height:1.5}.production-info-line>.fa-fw{width:1.25em;flex:none;color:#6c757d}.production-info-line .text-truncate{min-width:0}.production-reference{font-weight:700;color:#343a40}.production-reference:hover{color:#007bff}.badge-status{font-size:calc(var(--production-info-size) * .875);font-weight:600;padding:.3em .6em;margin-top:4px}.production-progress-numbers{display:flex;justify-content:space-between;align-items:baseline;gap:8px;white-space:nowrap;font-size:var(--production-info-size)}.production-progress-numbers+.progress.progress-sm{height:6px;margin-top:6px;margin-bottom:0}.production-finish-description{display:none}.production-finish-reason{white-space:normal;line-height:1.35;margin-top:4px}#production-table-wrap{overflow:visible}#production-table th{font-size:var(--production-info-size);white-space:nowrap;border-top:0}#production-table th a{color:inherit}#production-table td{vertical-align:middle;font-size:var(--production-info-size)}#production-table tbody tr[data-edit-url]{cursor:pointer}#production-table tbody tr[data-edit-url]:hover{background:#007bff0f}#production-listing .btn-group-sm>.btn{min-height:32px;min-width:32px}@media(min-width:1200px){#production-table .production-column-identity{width:40%;max-width:0}#production-table .production-column-cells{width:25%;max-width:0}#production-table .production-column-finish{width:14%;white-space:nowrap}#production-table .production-column-reviewed{width:12%;min-width:120px}.production-finish-description{display:inline}}@media(max-width:1199.98px){#production-table thead{display:none}#production-table,#production-table>tbody{display:block}#production-table tr.production-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"identity actions" "cells cells" "finish finish" "reviewed reviewed";gap:6px 16px;padding:12px 16px;border-bottom:1px solid #dee2e6}#production-table tr.production-row>td{display:block;padding:0;border:0;min-width:0}#production-table .production-column-identity{grid-area:identity}#production-table .production-column-cells{grid-area:cells}#production-table .production-column-finish{grid-area:finish}#production-table .production-column-reviewed{grid-area:reviewed}#production-table .production-column-deleted{grid-area:cells}#production-table .production-column-actions{grid-area:actions;align-self:start}#production-table .production-column-finish{display:flex;flex-wrap:wrap;align-items:center;gap:8px}#production-table .production-column-finish .badge-status{margin-top:0}#production-table tr.production-row .btn{min-height:40px;min-width:42px;font-size:1rem}}@media(min-width:576px)and (max-width:1199.98px){#production-table tr.production-row{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;grid-template-areas:"identity cells actions" "finish reviewed actions"}#production-table tr.production-row-deleted{grid-template-areas:"identity cells actions" "identity cells actions"}}@media(min-width:768px)and (max-width:1199.98px){#production-table tr.production-row{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr) auto;grid-template-areas:"identity cells finish actions" "identity cells reviewed actions"}#production-table tr.production-row-deleted{grid-template-areas:"identity cells cells actions" "identity cells cells actions"}#production-table .production-column-finish{align-self:start}}.pcp-tl-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.pcp-tl-heatmap{display:grid;grid-template-columns:7.5rem repeat(var(--pcp-days, 30),minmax(1.9rem,1fr));gap:2px;min-width:calc(7.5rem + var(--pcp-days, 30) * 2rem);font-size:.6875rem}.pcp-tl-head,.pcp-tl-tile,.pcp-tl-row-label{display:flex;align-items:center;min-width:0;height:1.9rem;border-radius:3px}.pcp-tl-head{flex-direction:column;justify-content:center;height:2.2rem;line-height:1.1;color:#6c757d}.pcp-tl-head.is-today{color:#007bff;font-weight:700}.pcp-tl-row-label{padding-left:.25rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pcp-tl-row-label small{margin-left:.25rem;font-weight:400;color:#6c757d}.pcp-tl-row-label.is-summary{font-weight:400;font-style:italic;color:#6c757d}.pcp-tl-tile{position:relative;justify-content:center;padding:0;border:1px solid transparent;background:transparent;font-size:.6875rem;line-height:1}button.pcp-tl-tile{cursor:pointer}button.pcp-tl-tile:hover,button.pcp-tl-tile:focus{border-color:#343a40;outline:0}.pcp-tl-tile.is-selected{z-index:1;box-shadow:0 0 0 2px #343a40}.pcp-tl-tile.is-summary{font-weight:700}.pcp-tl-tile.is-past{opacity:.55}.pcp-tl-tile.is-changed:after{content:"";position:absolute;top:2px;right:2px;width:5px;height:5px;border-radius:50%;background:#6f42c1}.pcp-tl-tile.is-unassigned{background:#fff3cd;color:#856404;font-weight:700}.level-free{border:1px solid #c3e6cb!important;background:#fff;color:#155724}.level-low{background:#e3f0fa;color:#0c447c}.level-medium{background:#9ec5e8;color:#0c447c}.level-high{background:#4a90d0;color:#fff}.level-full{background:#1f4e79;color:#fff}.is-off{background:repeating-linear-gradient(45deg,#f1f1f1,#f1f1f1 3px,#dcdcdc 3px 5px);color:#6c757d}.is-unknown{background:repeating-linear-gradient(-45deg,#fff3cd,#fff3cd 4px,#ffd970 4px 6px);color:#856404}.is-conflict{outline:2px solid #dc3545;outline-offset:-2px;background:#f8d7da;color:#721c24}.pcp-tl-legend{display:flex;flex-wrap:wrap;gap:.25rem .9rem;font-size:.75rem;color:#6c757d}.pcp-tl-legend>span{display:inline-flex;align-items:center;gap:.3rem}.pcp-tl-swatch{display:inline-block;width:14px;height:12px;border:1px solid rgba(0,0,0,.08);border-radius:2px}.pcp-tl-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#6f42c1}.pcp-tl-gantt{min-width:56rem;font-size:.75rem}.pcp-tl-lane{display:flex;align-items:stretch;border-bottom:1px solid #eee}.pcp-tl-lane.is-selected{background:#f8fbff}.pcp-tl-lane.is-selected .pcp-tl-lane-label strong{color:#007bff}.pcp-tl-lane-label{flex:none;width:9.5rem;padding:.35rem .5rem;line-height:1.2}.pcp-tl-lane-label strong,.pcp-tl-lane-label small{display:block}.pcp-tl-lane-label small{color:#6c757d}.pcp-tl-track{display:flex;flex:1;min-width:0}.pcp-tl-column{position:relative;flex:1;min-width:0;min-height:2.75rem;border-left:1px solid #e9ecef}.pcp-tl-column.is-rest{flex:.35}.pcp-tl-column.is-off,.pcp-tl-column.is-outside{background:repeating-linear-gradient(45deg,#fafafa,#fafafa 3px,#eee 3px 5px)}.pcp-tl-column.is-today:before{content:"";position:absolute;top:0;bottom:0;left:-1px;z-index:3;border-left:2px solid #007bff}.pcp-tl-lane.is-head .pcp-tl-column{min-height:0;padding:.25rem;color:#6c757d;font-size:.6875rem;line-height:1.2;text-align:center}.pcp-tl-lane.is-head .pcp-tl-column.is-today{color:#007bff;font-weight:700}.pcp-tl-lane.is-head .pcp-tl-column.is-today:before{display:none}.pcp-tl-bar{position:absolute;top:.6rem;z-index:1;height:1.5rem;padding:0 .25rem;overflow:hidden;border:0;border-radius:3px;font-size:.6875rem;line-height:1.5rem;text-align:left;white-space:nowrap;cursor:pointer}.pcp-tl-bar-ok{background:#cfe2f3;color:#0c447c}.pcp-tl-bar-risk{background:#f5c2c7;color:#842029}.pcp-tl-bar-done{background:#e2e3e5;color:#41464b}.pcp-tl-bar.is-unknown{border:1px dashed #d39e00}.pcp-tl-bar-overlap{background:#dc3545;color:#fff}.pcp-tl-bar.pcp-tl-bar-overlap{top:1.5rem;z-index:2;height:.9rem;line-height:.9rem;font-size:.625rem}.pcp-tl-bar.is-compact{height:.8rem;font-size:.625rem;line-height:.8rem}.pcp-tl-bar.is-selected{z-index:4;box-shadow:0 0 0 2px #343a40}.pcp-tl-bar.is-dimmed{opacity:.3}.pcp-tl-diamond{position:absolute;top:.15rem;z-index:5;width:10px;height:10px;border:1px solid #fff;background:#495057;transform:rotate(45deg)}.pcp-tl-diamond.is-risk,.pcp-tl-diamond-legend{background:#dc3545}.pcp-tl-diamond-legend{width:9px;height:9px;transform:rotate(45deg)}.pcp-tl-today-legend{width:3px;background:#007bff}.pcp-tl-chart{position:relative;height:300px}.pcp-tl-chart-done{background:#adb5bd}.pcp-tl-chart-planned{background:#3c8dbc}.pcp-tl-chart-capacity{height:0;border:0;border-top:2px dashed #dc3545}.pcp-tl-orders tbody tr{cursor:pointer}.pcp-tl-orders tbody tr.is-selected td{background:#007bff14;font-weight:600}.pcp-tl-detail dt{font-weight:400;color:#6c757d}.pcp-tl-corner,.pcp-tl-row-label,.pcp-tl-lane-label{position:sticky;left:0;z-index:6;background:#fff}.pcp-tl-lane.is-selected .pcp-tl-lane-label{background:#f8fbff}.pcp-pf-chart{position:relative;height:280px}.pcp-pf-legend{display:flex;flex-wrap:wrap;gap:.25rem .9rem;font-size:.75rem;color:#6c757d}.pcp-pf-legend>span{display:inline-flex;align-items:center;gap:.3rem}.pcp-pf-swatch{display:inline-block;width:14px;height:12px;border-radius:2px}.pcp-pf-table{font-size:.8125rem}.pcp-pf-table>thead th{font-size:.75rem;white-space:nowrap}.pcp-pf-table>tbody>tr>td{vertical-align:middle}.pcp-pf-coverage{position:relative;min-width:80px;height:8px;overflow:hidden;border-radius:4px;background:#e9ecef}.pcp-pf-coverage i{position:absolute;top:0;bottom:0;left:0;background:#3c8dbc}.pcp-pf-coverage i.is-excess{background:#6f42c1}.pcp-pf-excess{color:#6f42c1;font-weight:700}.pcp-pf-slack{position:relative;min-width:110px;height:10px}.pcp-pf-slack:before{content:"";position:absolute;top:-3px;bottom:-3px;left:50%;border-left:1px solid #adb5bd}.pcp-pf-slack i{position:absolute;top:0;bottom:0;border-radius:2px}.pcp-pf-slack i.is-late{background:#dc3545}.pcp-pf-slack i.is-ok{background:#28a745}.pcp-pf-detail>td{background:#fbfcfe!important}.pcp-pf-subtitle{margin-bottom:.4rem;font-size:.75rem;font-weight:700;text-transform:uppercase;color:#6c757d}.pcp-pf-detail table{font-size:.75rem}.pcp-pf-week-chip{display:inline-flex;align-items:center;gap:6px;padding:2px 10px;border-radius:12px;background:#e7f1fb;color:#0c447c;font-size:.75rem}.pcp-pf-week-chip button{padding:0;border:0;background:none;color:inherit;line-height:1}.pcp-trace-scroll{max-width:100%;overflow-x:auto}.pcp-trace-sankey{position:relative;min-width:640px;height:340px}.pcp-trace-bullets{position:relative;min-width:520px}.pcp-trace-legend{display:flex;flex-wrap:wrap;gap:.25rem .9rem;font-size:.75rem;color:#6c757d}.pcp-trace-legend>span{display:inline-flex;align-items:center;gap:.3rem}.pcp-trace-swatch{display:inline-block;width:14px;height:12px;border-radius:2px}.pcp-trace-layer{height:100%;padding:.75rem 1rem;border-top:3px solid #adb5bd;border-radius:.25rem;background:#fff;box-shadow:0 0 1px #00000020,0 1px 3px #0003}.pcp-trace-layer h3{margin:0 0 .35rem;font-size:.8rem;font-weight:700;text-transform:uppercase;color:#6c757d}.pcp-trace-layer .value{font-size:1.45rem;font-weight:700;line-height:1.2}.pcp-trace-layer small{display:block;color:#6c757d}.pcp-trace-layer.is-demand{border-top-color:#2a78d6}.pcp-trace-layer.is-plan{border-top-color:#1baf7a}.pcp-trace-layer.is-physical{border-top-color:#6f42c1}.pcp-trace-layer.is-production{border-top-color:#eb6834}.pcp-trace-grade th{font-size:.75rem;white-space:nowrap}.pcp-trace-grade .is-demand{background:#eaf2fc}.pcp-trace-grade .is-plan{background:#e8f7f0}.pcp-trace-grade .is-balance{background:#fff8e6}.pcp-trace-grade .is-production{background:#fdf0ea}.pcp-trace-balance{padding:0 4px;border-radius:3px;background:#ffe8a3;color:#7a5600;font-weight:700}.pcp-trace-excess{color:#6f42c1;font-weight:700}.pcp-trace-bar{position:relative;min-width:90px;height:8px;overflow:hidden;border-radius:4px;background:#e9ecef}.pcp-trace-bar i{position:absolute;top:0;bottom:0;left:0;background:#3c8dbc}.pcp-trace-bar i.is-excess{background:#6f42c1}.pcp-trace-op{border-left:4px solid #eb6834}.pcp-trace-op.is-done{border-left-color:#1baf7a}.pcp-trace-op.is-pending{border-left-color:#eda100}.pcp-trace-op.is-selected{box-shadow:0 0 0 2px #343a40}
