.production-board .pb-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.production-board .pb-head span,.production-board .pb-note{font-size:11px;color:var(--muted)}.production-board h3{font-size:14px;margin:12px 0 6px}.production-board .pb-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.production-board .pb-controls label{display:flex;gap:5px;align-items:center;font-size:12px}.production-board .pb-controls input[type=number]{width:76px}.production-board .pb-controls input[type=date]{width:145px}.production-board .pb-controls select{width:130px}.production-board .pb-check input{width:auto}.production-board [data-pb-summary]{display:flex;gap:16px;flex-wrap:wrap;padding:9px 0;border-bottom:1px solid var(--border);font-size:13px}.production-board .pb-danger{color:#ff7785}.production-board .pb-warning{color:#e8b748}.production-board .pb-chain{display:flex;gap:14px;align-items:center;padding:7px 0;border-bottom:1px solid var(--border)}.production-board .pb-product{width:145px;flex:0 0 145px;font-size:11px;overflow-wrap:anywhere}.production-board small{display:block;color:var(--muted);font-size:11px}.production-board .pb-product details{color:var(--muted);margin-top:3px}.production-board .pb-product details div{overflow-wrap:anywhere}.production-board .pb-stages{display:flex;flex-wrap:wrap;gap:10px 17px;min-width:0}.production-board .pb-stage{position:relative;min-width:0}.production-board .pb-stage:not(:last-child)::after{content:'→';position:absolute;right:-14px;top:32px;color:var(--muted)}.production-board .pb-stage-label{display:block;color:var(--muted);font-size:11px;margin-bottom:3px}.production-board .pb-stage-cards,.production-board .pb-single{display:flex;gap:4px;flex-wrap:wrap}.production-board .pb-single{min-width:0}.production-board .pb-machine{display:block;width:100px;flex:0 0 100px;min-height:0;padding:0;text-align:left;border:1px solid var(--border);border-radius:5px;background:var(--surface2);color:var(--text);overflow:hidden}.production-board .pb-cardtop{display:flex;align-items:center;justify-content:space-between;gap:3px;padding:5px 6px}.production-board .pb-cardtop b{font-size:16px}.production-board .pb-cardtop>span{font-size:11px;white-space:nowrap}.production-board .pb-band{display:block;padding:3px 5px;border-top:1px solid var(--border);font-size:11px;white-space:nowrap;color:var(--muted)}.production-board .pb-low .pb-band{border-top:2px solid #ed5164;background:#45212c;color:#ffbec7;padding-top:2px}.production-board .pb-detail{margin:8px 0;padding:10px;border-left:3px solid #7197fa;background:var(--surface2);font-size:12px}.production-board table{font-size:11px;font-variant-numeric:tabular-nums}.production-board td,.production-board th{padding:5px 7px}.production-board td:nth-child(n+4){text-align:center}.production-board .pb-lowrow td:first-child{box-shadow:inset 3px 0 #ed5164}.production-board td button{font-size:11px;padding:4px 8px;min-height:28px}.production-board [data-pb-error]{color:#ff7785}.production-board .pb-idle .pb-cardtop b{color:var(--muted)}
@media(max-width:900px){.production-board .pb-chain{display:block}.production-board .pb-product{width:auto;margin-bottom:5px}.production-board .pb-product details{display:inline-block;margin-left:9px}}
@media(max-width:500px){.production-board .pb-head{display:block}.production-board .pb-machine{width:88px;flex-basis:88px}.production-board .pb-cardtop b{font-size:14px}.production-board .pb-controls input,.production-board .pb-controls select{font-size:16px}.production-board .pb-stages{gap:10px 16px}.production-board table{min-width:780px}}
#app:has(.production-board)>.admin-head{display:none}#app:has(.production-board){max-width:1600px}.production-board .pb-head h2{margin:0 0 8px}.production-board{padding:16px}.production-board .pb-head{margin-bottom:8px}.production-board .pb-controls button{padding:7px 10px;min-height:34px;font-size:12px}.production-board .pb-controls input,.production-board .pb-controls select{padding:7px;font-size:12px}.production-board .pb-product details summary{padding:3px 0}.production-board .pb-note{margin:5px 0}.production-board .pb-danger,.production-board [data-pb-error]{color:var(--danger)}
@media print{.production-board .pb-controls,.production-board .pb-note,.production-board [data-pb-cards],.production-board [data-pb-detail]{display:none}.production-board .table-wrap{overflow:visible}.production-board table{min-width:0;width:100%}}
