.production{max-width:1440px;margin:0 auto}.production-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px}.production-tabs .button{text-decoration:none}.production-body{padding:24px}.production-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.production .field{display:flex;flex-direction:column;gap:7px;min-width:0}.production .field-label{font-size:13px;font-weight:600;color:var(--text-muted,#536174)}.production input,.production select,.production textarea{width:100%;min-width:0}.production .field-hint{display:block;line-height:1.5;color:var(--text-muted,#657187);margin-top:4px}.production .form-error{margin-bottom:18px}.production-section{padding-top:24px;margin-top:24px;border-top:1px solid var(--border,#e1e7ef)}.production-section h2,.production-body h2{font-size:18px;margin:0 0 10px}.production-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.production-section-heading p{font-size:13px;line-height:1.5;color:var(--text-muted,#657187);margin:0}.production-item-list,.production-cost-list{display:grid;gap:14px}.production-recipe-item,.production-consumption,.production-actual-cost{padding:18px;border:1px solid var(--border,#e1e7ef);border-radius:12px;background:var(--surface-muted,#f8fafc)}.production-item-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:end;margin-bottom:16px}.production-planned-cost{display:grid;grid-template-columns:minmax(0,2fr) minmax(120px,1fr) minmax(150px,1fr) auto;gap:12px;align-items:end;padding:16px;border:1px solid var(--border,#e1e7ef);border-radius:10px}.production-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:24px}.production-filters{display:flex;gap:14px;align-items:end;margin-bottom:20px;flex-wrap:wrap}.production-filters label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:600;min-width:190px}.production-filters label:first-child{flex:1}.production-pagination{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:16px 20px;color:var(--text-muted,#657187);font-size:13px;border-top:1px solid var(--border,#e1e7ef)}.production-pagination>div{display:flex;gap:8px}.production table td small{display:block;font-size:12px;color:var(--text-muted,#657187);margin-top:5px}.production table td{vertical-align:top}.production-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0 0 22px}.production-summary>div{display:flex;flex-direction:column;gap:7px;min-width:0}.production-summary span{font-size:12px;color:var(--text-muted,#657187)}.production-summary strong{font-size:18px;font-weight:650;overflow-wrap:anywhere}.production-notes{white-space:pre-wrap;overflow-wrap:anywhere}.production-preview{padding:24px;margin-top:24px;border:2px solid var(--primary,#326ce5)}.production-preview .notice{margin-top:16px}.production-price-result{margin-top:24px}.production-price-result h2{font-size:36px;letter-spacing:-1px;margin-top:10px}.production [data-new-fields],.production [data-linked-fields]{margin-top:16px}.production [hidden]{display:none!important}.production .empty-state{padding:38px 20px}.production .notice{margin:20px 0;line-height:1.5}.production .button{min-height:40px}.production .small-button{min-height:36px}.production-consumption>button{margin-top:14px}.production-consumption>small{margin-top:10px}.production .loading-panel{padding:36px}.production table{min-width:600px}
@media(max-width:900px){.production-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.production-planned-cost{grid-template-columns:repeat(2,minmax(0,1fr))}.production-planned-cost>button{justify-self:start}.production .page-heading{align-items:flex-start}}
@media(max-width:620px){.production-body,.production-preview{padding:17px}.production-grid{grid-template-columns:minmax(0,1fr);gap:14px}.production-tabs{display:grid;grid-template-columns:1fr;gap:6px}.production-tabs .button{justify-content:center}.production-section-heading{flex-direction:column;gap:12px}.production-section-heading>button{width:100%}.production-item-top{grid-template-columns:minmax(0,1fr)}.production-item-top>button{justify-self:start}.production-planned-cost{grid-template-columns:minmax(0,1fr)}.production-recipe-item,.production-consumption,.production-actual-cost{padding:14px}.production-actions{display:grid;grid-template-columns:1fr}.production-actions>.button{width:100%;justify-content:center;text-align:center}.production-summary{gap:16px 12px}.production-summary strong{font-size:16px}.production-filters{display:grid;grid-template-columns:1fr}.production-filters label{min-width:0}.production-pagination{align-items:flex-start;flex-direction:column;padding:15px}.production-pagination>div{width:100%}.production-pagination button{flex:1}.production-price-result h2{font-size:32px}.production .heading-actions{width:100%}.production .heading-actions>.button{width:100%;justify-content:center}.production .page-heading h1{overflow-wrap:anywhere}}
.production-reversal-preview{border-top:2px solid var(--danger,#b44232)}.production-reversal-effects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.production-reversal-effects>section{padding:18px;border:1px solid var(--border,#e1e7ef);border-radius:12px;min-width:0}.production-reversal-effects h3,.production-reversal-finance h3,.production-reversal-blockers h3{font-size:16px;margin:0 0 15px}.production-reversal-products,.production-reversal-finance ul{list-style:none;padding:0;margin:0}.production-reversal-products li,.production-reversal-finance li{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid var(--border,#e1e7ef)}.production-reversal-products li:first-child,.production-reversal-finance li:first-child{border-top:0}.production-reversal-products li>div{min-width:0;overflow-wrap:anywhere}.production-reversal-products li>div:last-child{text-align:right;white-space:nowrap}.production-reversal-products small{display:block;font-size:12px;margin-top:5px;color:var(--text-muted,#657187)}.production-reversal-finance{padding:20px;background:var(--surface-muted,#f8fafc);border-radius:12px;margin:20px 0}.production-reversal-finance h4{font-size:14px;margin:18px 0 8px}.production-reversal-finance li{flex-wrap:wrap;font-size:14px}.production-reversal-consent{display:flex;align-items:flex-start;gap:12px;line-height:1.6;padding:18px;border:1px solid var(--border,#e1e7ef);border-radius:10px}.production .production-reversal-consent input{width:20px;height:20px;margin-top:3px;flex:none;accent-color:var(--primary,#137f70)}.production-reversal-blockers{padding:18px;background:#fff5ed;border:1px solid #efccae;border-radius:10px;margin:20px 0;color:#80371f}.production-reversal-blockers ul{padding-left:20px;margin-bottom:0}.production-reversal-blockers li{line-height:1.6;margin:6px 0}.production-reversal-history{padding:22px;border:1px solid var(--border,#d7e2df);border-radius:12px;background:var(--surface-muted,#f8fafc);margin-bottom:24px}.production-reversal-history .production-section-heading{margin-bottom:8px}.production-reversal-history details{margin-top:18px}.production-reversal-history summary{cursor:pointer;font-weight:600}.production-reversal-metadata{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.production-reversal-metadata dt{font-size:12px;color:var(--text-muted,#657187);margin-bottom:6px}.production-reversal-metadata dd{margin:0;font-weight:600}
@media(max-width:620px){.production-reversal-effects{grid-template-columns:minmax(0,1fr);gap:12px}.production-reversal-effects>section,.production-reversal-finance,.production-reversal-history{padding:15px}.production-reversal-metadata{grid-template-columns:1fr;gap:12px}.production-reversal-finance li{display:grid;grid-template-columns:minmax(0,1fr)}.production-reversal-consent{padding:14px;font-size:14px}}
.production-reversal-summary{padding:20px;border:1px solid var(--border,#d7e2df);border-radius:12px;margin-bottom:24px}.production-reversal-summary .production-summary{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:12px}.production-reversal-summary small{color:var(--text-muted,#657187)}.production-reversal-timeline{list-style:none;padding:0;margin:20px 0 0}.production-reversal-event{border-left:3px solid var(--border,#d7e2df);padding:0 0 24px 20px;margin:0 0 22px}.production-reversal-event:last-child{margin-bottom:0;padding-bottom:0}.production-reversal-event h3{font-size:16px;line-height:1.5;margin:0 0 10px}.production-reversal-trace{margin:24px 0}.production-reversal-trace fieldset{border:1px solid var(--border,#e1e7ef);border-radius:10px;padding:16px;margin:18px 0;min-width:0}.production-reversal-trace legend{font-weight:600;padding:0 7px;font-size:14px;overflow-wrap:anywhere;max-width:100%}.production-reversal-trace-choice{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:12px 0;border-bottom:1px solid var(--border,#e1e7ef)}.production-reversal-trace-choice>span{min-width:0;overflow-wrap:anywhere}.production-reversal-trace-choice small{display:block;font-size:12px;color:var(--text-muted,#657187);margin-top:5px}.production .production-reversal-trace-choice input{width:130px;flex:none}.production .production-reversal-trace-choice input[type=checkbox]{width:22px;height:22px;accent-color:var(--primary,#137f70)}.production [data-trace-choices]{max-height:360px;overflow:auto;padding:2px}.production .heading-actions>.pill+.pill{margin-left:8px}
@media(max-width:620px){.production-reversal-summary{padding:15px}.production-reversal-summary .production-summary{grid-template-columns:minmax(0,1fr);gap:15px}.production-reversal-summary .production-summary>div{padding-bottom:12px;border-bottom:1px solid var(--border,#e1e7ef)}.production-reversal-event{padding-left:12px}.production-reversal-trace fieldset{padding:12px}.production-reversal-trace-choice{gap:10px}.production .production-reversal-trace-choice input:not([type=checkbox]){width:95px}}
.production-report-product-field{grid-column:1/-1}.production-report-selection{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px;border:1px solid var(--border,#e1e7ef);border-radius:10px}.production-report-selection>strong{min-width:0;overflow-wrap:anywhere;font-size:14px}.production-report-selection>div{display:flex;gap:8px;flex-wrap:wrap;flex:none}.production-report-picker{border-top:1px solid var(--border,#e1e7ef);margin-top:22px;padding-top:22px}.production-report-product-options{list-style:none;padding:0;margin:0}.production-report-product-options li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 2px;border-top:1px solid var(--border,#e1e7ef)}.production-report-product-options li>div{min-width:0;overflow-wrap:anywhere}.production-report-product-options small{display:block;margin-top:6px;color:var(--text-muted,#657187)}.production-report-views{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.production-report-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.production-report-summary article{border:1px solid var(--border,#e1e7ef);border-radius:12px;padding:20px;min-width:0}.production-report-summary article>span{font-size:13px;color:var(--text-muted,#657187);display:block;line-height:1.5}.production-report-summary article>strong{font-size:26px;display:block;margin:10px 0;overflow-wrap:anywhere}.production-report-summary article>p{font-size:13px}.production-report-summary small{display:block;font-size:12px;line-height:1.7;color:var(--text-muted,#657187)}.production-report-products,.production-report-events{margin-top:24px}.production-report-products table{min-width:900px}.production-report-events table{min-width:1000px}.production-report-reason{white-space:pre-wrap;overflow-wrap:anywhere;max-width:300px;min-width:170px}.production-report-scope strong{display:inline}.production-report-events .production-body,.production-report-products .production-body{padding-bottom:8px}
@media(max-width:900px){.production-report-summary{grid-template-columns:minmax(0,1fr)}.production-report-selection{align-items:flex-start;flex-direction:column}.production-report-summary article>strong{font-size:24px}}
@media(max-width:620px){.production-report-selection>div{width:100%;display:grid;grid-template-columns:1fr}.production-report-selection button{width:100%;justify-content:center}.production-report-views{display:grid;grid-template-columns:1fr}.production-report-views button{justify-content:center}.production-report-summary article{padding:16px}.production-report-product-options li{align-items:flex-start}.production-report-product-options button{flex:none}}
.production-report-exports{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--border,#e1e7ef)}.production-report-export-actions{display:flex;gap:8px;flex-wrap:wrap;flex:none}.production-report-exports>p{flex-basis:100%;margin:0;font-size:13px;line-height:1.6}.production-report-print-frame{position:fixed;width:1px;height:1px;left:-10000px;top:0;border:0;pointer-events:none;opacity:0}
@media(max-width:620px){.production-report-export-actions{display:grid;grid-template-columns:1fr;width:100%}.production-report-export-actions button{width:100%;justify-content:center}}

.production-report-reversal-filters{min-width:0;margin:22px 0 0;padding:20px 0 0;border:0;border-top:1px solid var(--border,#e1e7ef)}.production-report-reversal-filters legend{font-size:16px;font-weight:650;padding:0 12px 0 0}.production-report-reversal-filters>.field-hint{margin:0 0 18px}.production-report-reversal-filters .production-report-selection strong{overflow-wrap:anywhere}
