.production-filters{display:flex;align-items:end;flex-wrap:wrap;gap:10px;padding:12px 0}.production-filters label{display:grid;gap:4px;font-size:12px;color:var(--muted);min-width:100px;flex:1}.production-filters .production-search{flex:2;min-width:190px}.production-filters input,.production-filters select{height:34px;width:100%;min-width:0;font-size:12px;padding:5px 8px}.production-filters button{font-size:12px;padding:6px 10px;white-space:nowrap}.production-table-wrap{max-width:100%;overflow:auto;max-height:calc(100dvh - 230px);border:1px solid #dce0e7;background:white}.production-table-wrap table{border-collapse:separate;border-spacing:0;table-layout:fixed;min-width:1730px;width:100%}.production-table-wrap td,.production-table-wrap th{padding:5px 8px;border-right:1px solid #e0e3e9;border-bottom:1px solid #e0e3e9;font-size:12px;line-height:1.5;text-align:left;overflow-wrap:anywhere}.production-table-wrap thead{position:sticky;top:0;z-index:3}.production-table-wrap th{height:35px;background:#f9fafc;font-weight:500;color:#424b5b}.production-table-wrap th button{background:none;border:0;padding:0;font-size:12px;color:inherit}.production-table-wrap th:first-child{width:38px}.production-table-wrap th:nth-child(2){width:115px}.production-table-wrap th:nth-child(3){width:68px}.production-table-wrap th:nth-child(7){width:108px}.production-table-wrap th:nth-child(8){width:90px}.production-table-wrap th:nth-child(10),.production-table-wrap th:nth-child(11),.production-table-wrap th:nth-child(12){width:95px}.production-table-wrap th:nth-last-child(2){width:145px}.production-table-wrap td{height:38px}.production-table-wrap .production-fixed{position:sticky;left:0;z-index:1;background:white;box-shadow:1px 0 #dce0e7}.production-table-wrap th.production-fixed{background:#f9fafc;z-index:4}.production-table-wrap .production-index{color:#929ba9;text-align:center}.production-table-wrap .production-style-link{border:0;background:none;padding:0;color:inherit;font-size:12px;text-align:left}.production-style-link:hover{text-decoration:underline}.production-thumb{width:30px;height:34px;object-fit:contain;display:block}.production-chip{display:inline-block;border-radius:4px;padding:2px 7px;font-size:12px;max-width:100%;line-height:1.35;white-space:normal;overflow-wrap:anywhere}.production-stage-0,.production-tag{background:#f4dea2;color:#775213}.production-stage-1{background:#c9edf7;color:#225366}.production-stage-2{background:#dfe6ff;color:#384c8b}.production-stage-3{background:#e6def7;color:#584284}.production-stage-4{background:#f7e2cc;color:#845331}.production-stage-5{background:#d7e9fa;color:#315a84}.production-stage-6{background:#d4eddf;color:#285c40}.production-stage-7{background:#eee0e2;color:#814350}.production-wave-repeat{background:#b42d7c;color:white}.production-wave{background:#fbe0b9;color:#805220}.production-brand{background:#25823f;color:white}.production-table-wrap .production-group-row td{background:#f7f9fc;padding:0;border-top:12px solid #fff;height:46px}.production-table-wrap .production-wave-row td{background:#fff;padding:0;height:34px}.production-group-row button,.production-wave-row button{border:0;background:none;border-radius:0;width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:7px 12px;font-size:12px;color:#697383}.production-wave-row button{padding-left:30px}.production-group-total{margin-left:24px}.production-table-wrap .production-total{background:#eff7fc;text-align:right}.production-total small{display:block;color:#7b8490;font-size:10px}.production-note{white-space:pre-wrap}.production-table-wrap td .secondary{font-size:12px;padding:3px 8px;min-height:27px}.production-table-wrap tr[data-production-row]:hover td{box-shadow:inset 0 0 0 999px #19374e05}.production-empty{text-align:center!important;height:150px!important;color:var(--muted)}#productionTableFoot{font-size:12px;margin-top:10px}
#productionBoardDialog{width:min(920px,calc(100% - 24px));padding:0;overflow:hidden;max-height:calc(100dvh - 32px)}#productionBoardDialog[open]{display:flex;flex-direction:column}#productionBoardDialog header{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;background:#f0f6f2;border-bottom:1px solid var(--line);flex:none}#productionBoardDialog h2{margin:0!important;font-size:19px}#productionBoardDialog header p{margin:4px 0 0;font-size:12px}#productionBoardForm{display:flex;flex-direction:column;min-height:0}#productionBoardForm fieldset{border:0;margin:0;padding:0;min-width:0}.production-editor-body{padding:16px 18px;overflow:auto;min-height:0}.production-editor-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.production-editor-fields label,.production-editor-note{display:grid;gap:5px;font-size:12px;min-width:0}.production-editor-fields input,.production-editor-fields select{height:35px;width:100%;min-width:0;padding:6px 8px;font-size:13px}.production-size-heading{display:flex;align-items:center;justify-content:space-between;margin:18px 0 10px;gap:10px}.production-size-heading h3{font-size:15px;margin:0}.production-purchase-ref{display:flex;gap:8px;margin-bottom:10px}.production-purchase-ref select{min-width:0;flex:1;font-size:12px}#productionBoardDialog button{font-size:13px}#productionBoardDialog .dialog-close{font-size:24px}#productionSizeInputs table{min-width:0;width:100%}#productionSizeInputs th,#productionSizeInputs td{padding:5px 8px;font-size:12px}#productionSizeInputs td:last-child{width:40px}#productionSizeInputs input{width:100%;min-width:0;height:32px;padding:4px 8px}#productionSizeInputs button{min-height:26px;width:26px;padding:0;font-size:20px}.production-editor-note{margin-top:12px}.production-editor-note textarea{padding:8px;min-height:64px;resize:vertical}#productionAllocationTotal{margin-top:8px;font-size:12px}#productionBoardError{color:#ab3243;font-size:13px}#productionBoardError:empty{display:none}#productionBoardForm footer{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);padding:12px 18px;background:white;flex:none}
.production-table-wrap th button{white-space:nowrap}
@media(max-width:650px){.production-filters label{flex:1 1 calc(50% - 10px);min-width:0}.production-filters .production-search{flex:1 1 100%}.production-filters .actions{width:100%;justify-content:flex-end}.production-table-wrap{max-height:calc(100dvh - 340px)}.production-editor-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.production-editor-body{padding:12px}#productionBoardDialog{max-height:calc(100dvh - 16px)}.production-purchase-ref{flex-wrap:wrap}.production-purchase-ref select{flex-basis:100%}}
