.hero-actions{display:flex;flex-direction:column;gap:10px}.prod-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin-bottom:22px;overflow:auto}.prod-tabs button{border:0;background:none;color:var(--muted);padding:14px 20px;font-weight:600;white-space:nowrap}.prod-tabs .active{color:var(--ink);border-bottom:3px solid var(--ink)}.period-bar{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin-bottom:14px}.period-bar label{margin:0;min-width:145px}.period-bar button{margin-bottom:3px}.prod-stats{margin:22px 0}.production-list{margin-top:24px}.batch-card{border:1px solid var(--line);border-radius:15px;margin:18px 0;padding:18px;background:#fff}.batch-card.cancelled{opacity:.65}.batch-heading{display:flex;align-items:start;gap:12px;margin-bottom:14px}.order-chip{background:var(--lime);color:var(--ink);border-radius:10px;padding:8px 12px;font-weight:700}.batch-heading h3{font-size:17px;margin:0}.batch-heading p{font-size:12px;color:var(--muted);margin:4px 0}.batch-heading .badge{margin-left:auto;white-space:nowrap}.batch-output{display:flex;justify-content:space-between;gap:15px;padding:7px 0;border-top:1px solid var(--line);font-size:13px}.batch-output small{display:block;color:var(--muted)}.batch-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px}.batch-foot .secondary{font-size:12px;padding:10px 14px}.batch-foot small{color:var(--muted);font-size:11px}.stage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.stage-cell{background:#f4f2f3;border-radius:9px;padding:10px;font-size:11px}.stage-cell strong{display:block;font-size:20px;color:var(--ink)}.stage-cell.empty{padding:10px;text-align:left;opacity:.55}.dialog-body{padding:25px}.dialog-body h3{font-size:18px}#plan-dialog,#catalog-dialog,#batch-dialog{max-width:760px}.recipe-row{display:flex;gap:15px;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.recipe-row strong{display:block;font-size:14px}.recipe-row small{font-size:11px;color:var(--muted)}.recipe-editor{border-top:1px solid var(--line);margin-top:25px;padding-top:25px}.output-editor{display:grid;grid-template-columns:2fr 1fr auto;gap:10px;align-items:center}.output-editor button{margin-top:5px}.output-editor label{min-width:0}fieldset{border:1px solid var(--line);border-radius:12px;padding:15px;margin:15px 0 22px}fieldset label{display:flex;align-items:center;gap:10px;margin:10px 0}fieldset input[type=checkbox]{width:18px;height:18px;min-height:18px;margin:0}.detail-line{background:var(--bg);padding:14px;border-radius:12px;margin-bottom:12px}.detail-line h3{margin:0 0 8px}.history-details{margin-top:30px;border-top:1px solid var(--line);padding-top:18px}.history-item{padding:12px 0;border-bottom:1px solid var(--line);font-size:12px;overflow-wrap:anywhere}.history-item small{display:block}.history-item.reverted{opacity:.6}.history-item p{margin:4px 0}.deliver-row{padding:15px 0;border-bottom:1px solid var(--line);font-size:13px}.deliver-row strong{display:block}.prod-empty{padding:35px 5px;color:var(--muted);text-align:center}#print-sheet{display:none}#yield-preview{margin-top:10px}#action-form{border-top:1px solid var(--line);margin-top:24px;padding-top:22px}.print-table{width:100%;border-collapse:collapse}.print-table th,.print-table td{border:1px solid #777;padding:7px;font-size:12px}.print-block{break-inside:avoid;margin-bottom:18px}.print-head{margin:5px 0;font-size:14px}@media(max-width:750px){.hero-actions{width:100%;flex-direction:row;flex-wrap:wrap}.hero-actions>*{flex:1;font-size:12px;padding:12px 14px}.period-bar{gap:10px}.period-bar label{min-width:0;flex:1}.period-bar button{font-size:12px}.period-bar #print-plan{padding:9px 12px}.prod-tabs button{padding:12px 15px;font-size:13px}.batch-card{padding:14px}.batch-heading{gap:8px;flex-wrap:wrap}.batch-heading h3{font-size:15px}.batch-heading .badge{font-size:9px}.batch-foot{align-items:start}.dialog-body{padding:20px}.stage-grid{grid-template-columns:repeat(2,1fr)}.output-editor{grid-template-columns:1.7fr 1fr auto;gap:6px}.output-editor button{padding:3px}.prod-stats .stat strong{font-size:26px}#prod-search{width:100%}.batch-output span{min-width:0;overflow-wrap:anywhere}#batch-title{font-size:19px}}
@media print{body{background:#fff;color:#000}#production-app>header,#production-app main>*:not(#print-sheet),dialog,#toast,#prod-login{display:none!important}#production-app{display:block!important}#print-sheet{display:block}main{padding:0;max-width:none}.print-block h3{color:#000}a{text-decoration:none}@page{size:A4;margin:12mm}}
