.order-plan-table{width:100%;min-width:1500px;table-layout:fixed}
.order-plan-table th{white-space:normal;line-height:1.25;padding:8px 7px}
.order-plan-table td{padding:9px 7px;font-size:11px;line-height:1.35;vertical-align:top;overflow-wrap:anywhere;word-break:break-word}
.order-plan-table th:nth-child(1){width:5%}.order-plan-table th:nth-child(2){width:15%}.order-plan-table th:nth-child(3){width:6%}.order-plan-table th:nth-child(4),.order-plan-table th:nth-child(5){width:5%}.order-plan-table th:nth-child(6){width:8%}.order-plan-table th:nth-child(7){width:9%}.order-plan-table th:nth-child(8){width:6%}.order-plan-table th:nth-child(9),.order-plan-table th:nth-child(10){width:5%}.order-plan-table th:nth-child(11){width:6%}.order-plan-table th:nth-child(12){width:8%}.order-plan-table th:nth-child(13){width:10%}.order-plan-table th:nth-child(14){width:7%}
.order-plan-table td:nth-child(13){white-space:nowrap;overflow-wrap:normal;word-break:normal}
.order-plan-table td small{font-size:10px;line-height:1.3}
.order-plan-status{white-space:nowrap;padding:3px 6px;font-size:10px}
.order-plan-accept{width:100%;height:30px;margin-top:4px;padding:0 7px;white-space:nowrap;font-size:11px}.order-plan-row-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-top:4px}.order-plan-row-actions .order-plan-edit,.order-plan-row-actions .order-plan-delete{width:100%;height:30px;margin:0;padding:0 5px;white-space:nowrap;font-size:11px;line-height:1}.order-plan-table td:last-child{vertical-align:top}#productionOrderRows td:last-child{white-space:nowrap}#productionOrderRows .dev-edit,#productionOrderRows .order-delete{display:inline-flex;align-items:center;justify-content:center;width:48px;height:30px;margin:0 2px;padding:0;font-size:11px;line-height:1}
#orderPlanReviewDialog{width:min(1180px,calc(100vw - 40px));max-width:none;max-height:calc(100vh - 40px);overflow:hidden}#orderPlanReviewDialog form{display:flex;flex-direction:column;box-sizing:border-box;width:100%;max-height:calc(100vh - 42px);padding:28px 30px}#orderPlanReviewDialog h2,#orderPlanReviewDialog .review-dialog-summary{flex:none}.order-plan-review-wrap{min-height:260px;max-height:none;overflow:auto;flex:1 1 auto;border:1px solid var(--line);margin:12px 0}.order-plan-review-wrap table{width:100%;min-width:1080px;border-collapse:collapse}.order-plan-review-wrap thead th{position:sticky;top:0;z-index:1;background:#f4f4f4}.order-plan-review-wrap th,.order-plan-review-wrap td{padding:10px 9px;white-space:nowrap;font-size:11px;vertical-align:top}.order-plan-review-wrap th:nth-child(1){width:72px}.order-plan-review-wrap th:nth-child(2){width:86px}.order-plan-review-wrap th:nth-child(3){width:90px}.order-plan-review-wrap th:nth-child(4){min-width:210px}.order-plan-review-wrap th:nth-child(5){width:90px}.order-plan-review-wrap th:nth-child(6),.order-plan-review-wrap th:nth-child(7){width:70px}.order-plan-review-wrap th:nth-child(8){min-width:150px}.order-plan-review-wrap th:nth-child(9),.order-plan-review-wrap th:nth-child(10){width:90px}.order-plan-review-wrap tr.duplicate{background:#fff7f1}.order-plan-review-wrap .review-duplicate{color:#b54a16;font-size:11px}.order-plan-review-wrap input[type=checkbox]{width:16px;height:16px;margin:0}#orderPlanReviewDialog form>div:last-child{flex:none}@media(max-width:700px){#orderPlanReviewDialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}#orderPlanReviewDialog form{max-height:calc(100dvh - 22px);padding:18px 14px!important}.order-plan-review-wrap{min-height:220px;margin:10px 0}.order-plan-review-wrap table{min-width:1000px}}
.order-plan-edit-form{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px 14px;min-width:620px}.order-plan-edit-form label{display:grid;gap:5px;color:#777;font-size:12px}.order-plan-edit-form label.full{grid-column:1/-1}.order-plan-edit-form input,.order-plan-edit-form select,.order-plan-edit-form textarea{width:100%;box-sizing:border-box;padding:9px 10px;border:1px solid var(--line);border-radius:6px;background:#fff;font:inherit;color:#222}.order-plan-edit-form textarea{min-height:70px;resize:vertical}
.order-plan-toolbar{align-items:end;gap:8px;flex-wrap:nowrap;overflow-x:auto;padding:9px 10px}.order-plan-toolbar label{gap:4px;white-space:nowrap;font-size:10px}.order-plan-toolbar input,.order-plan-toolbar select{height:36px;min-width:138px;padding:0 9px;font-size:11px}.order-plan-toolbar input[type=file]{width:240px;min-width:240px;padding:4px 6px}.order-plan-toolbar input[type=file]::file-selector-button{height:26px;margin-right:7px;padding:0 9px;border:1px solid var(--line);border-radius:5px;background:#fff;color:#333;font-size:11px}.order-plan-toolbar button{height:36px;padding:0 12px;white-space:nowrap;font-size:11px}
.order-plan-toolbar #supplyWorkflowPlanBar{display:contents}.order-plan-toolbar #supplyWorkflowPlanBar label{display:grid;gap:4px;color:#777;font-size:10px}.order-plan-toolbar #supplyWorkflowPlanBar span{align-self:end;padding:0 4px 10px;color:#777;font-size:10px;white-space:nowrap}
.module-surface-head .order-header-sort{height:36px;min-width:138px;margin-left:auto;margin-right:8px;padding:0 10px;border:1px solid var(--line);border-radius:6px;background:#fff;color:#333;font-size:11px}
.order-plan-delivery-cell{min-width:112px;vertical-align:top!important}.delivery-delay-summary{color:#b54a16}.order-delivery-change{height:30px;margin:0 2px;padding:0 8px;font-size:11px;white-space:nowrap}.delivery-change-summary{padding:10px 12px;background:#fff7fa;border-left:3px solid var(--pink)}.delivery-change-summary p{margin:4px 0}.delivery-change-history{max-height:220px;overflow:auto;border:1px solid var(--line);border-radius:6px;padding:6px 10px}.delivery-change-history div{display:grid;grid-template-columns:170px 100px 1fr;gap:8px;padding:7px 0;border-bottom:1px solid #eee;font-size:11px}.delivery-change-history div:last-child{border-bottom:0}.delivery-change-history span{color:#b54a16}.delivery-change-history small{color:#777}
@media(max-width:700px){.order-plan-table{min-width:1200px}.order-plan-edit-form{grid-template-columns:1fr;min-width:0}.order-plan-edit-form label.full{grid-column:auto}}
.planning-analysis{display:grid;gap:12px;margin-top:12px}.planning-analysis-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding:12px}.planning-analysis-kpis>div{min-width:0;padding:12px 14px;background:#fff;border:1px solid var(--line);border-top:3px solid var(--pink);border-radius:7px}.planning-analysis-kpis span,.planning-analysis-kpis small{display:block;color:#777;font-size:11px}.planning-analysis-kpis b{display:block;margin:8px 0 4px;color:#222;font-size:22px;line-height:1.1}.planning-analysis-section{margin:0}.planning-analysis-section .planning-table{min-width:840px}.planning-analysis-section .module-surface-head span{color:#888;font-size:11px}.analysis-drilldown{height:28px;padding:0 9px;font-size:11px;white-space:nowrap}.planning-empty{text-align:center;color:#999;padding:28px!important}@media(max-width:1100px){.planning-analysis-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.planning-analysis-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.planning-analysis-kpis b{font-size:18px}}
.planning-decision-metrics .module-surface-head>div,.planning-analysis-section .module-surface-head>div{display:grid;gap:3px}.planning-decision-metrics .module-surface-head span{color:#888;font-size:11px}.planning-trend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.planning-trend-section{margin:0}.planning-trend-section .planning-table{min-width:520px}.planning-structure-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line)}.planning-structure-grid>div{min-width:0;padding:15px 18px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.planning-structure-grid>div:nth-child(3n){border-right:0}.planning-structure-grid span,.planning-structure-grid small{display:block;color:#777;font-size:11px}.planning-structure-grid b{display:block;margin:8px 0 4px;font-size:20px}.planning-funnel{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;border-top:1px solid var(--line)}.planning-funnel button{display:grid;gap:5px;min-height:96px;padding:14px 16px;border:0;border-right:1px solid var(--line);border-radius:0;background:#fff;color:#222;text-align:left;cursor:pointer}.planning-funnel button:last-child{border-right:0}.planning-funnel button:hover{background:#fff7fa}.planning-funnel span,.planning-funnel small{color:#777;font-size:11px}.planning-funnel b{font-size:24px}.planning-conclusions{display:grid;gap:6px;padding:12px 16px;border-top:1px solid var(--line)}.planning-conclusions p{margin:0;color:#555;font-size:12px}.planning-anomalies{display:flex;gap:8px;flex-wrap:wrap;padding:0 16px 16px}.planning-anomalies button{display:flex;align-items:center;gap:7px;height:36px}.planning-anomalies button b{color:#c2251a}.planning-no-anomaly{color:#777;font-size:11px}.order-plan-toolbar{scrollbar-width:thin}.order-plan-toolbar #orderPlanYear,.order-plan-toolbar #orderPlanQuarter{min-width:110px}.order-plan-toolbar #orderPlanCategory{min-width:130px}@media(max-width:1000px){.planning-trend-grid{grid-template-columns:1fr}.planning-structure-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.planning-structure-grid>div:nth-child(3n){border-right:1px solid var(--line)}.planning-structure-grid>div:nth-child(2n){border-right:0}.planning-funnel{grid-template-columns:repeat(2,minmax(0,1fr))}.planning-funnel button{border-bottom:1px solid var(--line)}}@media(max-width:700px){.planning-structure-grid{grid-template-columns:1fr}.planning-structure-grid>div{border-right:0!important}.planning-funnel{grid-template-columns:1fr}.planning-funnel button{border-right:0}}
