.production-content-batch{display:grid;gap:22px;min-width:0;overflow:hidden}
.production-batch-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;min-width:0}
.production-batch-heading>div{min-width:0}.production-batch-heading h2,.production-batch-heading p{overflow-wrap:break-word}
.production-batch-selection-count{flex:0 0 auto;padding:9px 12px;border:1px solid var(--line);border-radius:999px;background:var(--lilac);color:var(--brand-soft-text);font-size:11px;font-weight:800;white-space:nowrap}
.production-batch-context{display:grid;gap:14px;min-width:0;padding:18px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(135deg,var(--lilac),var(--paper) 72%)}
.production-batch-context>header{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;min-width:0}.production-batch-context>header>div{min-width:0}.production-batch-context h3,.production-batch-context p{margin:0;overflow-wrap:break-word}
.production-batch-context>header>span{flex:0 0 auto;color:var(--muted);font-size:10px;font-weight:800;white-space:nowrap}
.production-batch-context-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;min-width:0}
.production-batch-context-grid article{display:grid;align-content:start;gap:5px;min-width:0;min-height:104px;padding:14px;border:1px solid var(--line);border-radius:11px;background:var(--paper)}
.production-batch-context-grid span,.production-batch-context-grid small{color:var(--muted);font-size:10px;line-height:1.45}.production-batch-context-grid strong{font-size:14px;line-height:1.3;overflow-wrap:break-word}
.production-batch-cost-context{border-color:var(--purple)!important}.production-batch-cost-context>span{color:var(--brand-soft-text);font-weight:800}
.production-batch-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-width:0}
.production-batch-progress article{display:grid;gap:6px;min-width:0;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
.production-batch-progress span,.production-batch-progress small{color:var(--muted);font-size:10px}.production-batch-progress strong{font-size:20px;overflow-wrap:break-word}
.production-batch-progress progress{width:100%;height:7px;accent-color:var(--purple)}
.production-batch-progress-note,.production-batch-empty-action{margin:0;color:var(--muted);font-size:11px;line-height:1.5}
.production-batch-selection-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:16px;border-top:1px solid var(--line)}
.production-batch-selection-toolbar span{color:var(--muted);font-size:11px}.production-batch-selection-toolbar button{min-height:44px}
.production-batch-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:10px;min-width:0;margin:0;padding:0;border:0}
.production-batch-items>label,.production-batch-files>label{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--paper);cursor:pointer}
.production-batch-items>label:has(input:checked),.production-batch-files>label:has(input:checked){border-color:var(--purple);background:var(--lilac)}
.production-batch-items input,.production-batch-files input,.production-batch-confirm input{flex:0 0 auto;width:20px;height:20px;margin:1px 0 0;accent-color:var(--purple)}
.production-batch-items label>span,.production-batch-files label>span{display:grid;gap:3px;min-width:0;overflow-wrap:break-word}.production-batch-items small{color:var(--muted);font-size:10px}
.production-batch-item-meta{display:flex!important;flex-wrap:wrap;gap:5px!important;min-width:0;margin-top:6px}.production-batch-item-meta>span{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:4px 7px;border:1px solid var(--line);border-radius:999px;background:var(--bg);font-size:9px;line-height:1.2;overflow-wrap:break-word}
.production-batch-item-meta>span>span{color:var(--muted)}.production-batch-item-meta strong{font-size:9px;overflow-wrap:break-word}
.production-batch-message:empty{display:none}.production-batch-actions{display:grid;gap:16px;min-width:0}
.production-batch-actions>section{display:grid;gap:12px;min-width:0;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
.production-batch-actions h3,.batch-inspection h4{margin:0}.production-batch-action-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:12px;min-width:0}
.production-batch-action-heading{display:flex;align-items:flex-start;gap:10px;min-width:0}.production-batch-action-heading>span{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:9px;background:var(--lilac);color:var(--brand-soft-text);font-size:10px;font-weight:900}.production-batch-action-heading>div{min-width:0}.production-batch-action-heading p{margin:3px 0 0;color:var(--muted);font-size:11px;line-height:1.45;overflow-wrap:break-word}
.production-batch-actions form,.production-batch-actions form>label{display:grid;gap:8px;min-width:0}.production-batch-actions fieldset{min-width:0;margin:0;padding:0;border:0}.production-batch-action-grid form{grid-template-columns:minmax(0,1fr) auto;align-items:end}
.production-batch-actions button,.production-batch-actions select{min-height:44px;max-width:100%}.production-batch-actions select{display:block;width:100%;min-width:0}.production-batch-files{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:8px;min-width:0}
.production-batch-confirm{display:flex!important;align-items:flex-start;grid-template-columns:none!important;gap:10px!important;line-height:1.5}
.batch-inspection{display:grid;gap:10px;min-width:0;padding-top:12px;border-top:1px solid var(--line)}.batch-inspection ul{display:grid;gap:7px;margin:0;padding:0;list-style:none}
.batch-inspection li{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;padding:10px;border:1px solid var(--line);border-radius:9px}.batch-inspection li>span:first-child{display:grid;min-width:0;overflow-wrap:break-word}.batch-inspection li small{color:var(--muted)}
.batch-inspection-match>span:last-child,.batch-inspection-safe{color:var(--status-success)}.batch-inspection-warning>span:last-child,.batch-inspection-warning{color:var(--status-danger)}
html[data-theme="dark"] .batch-inspection-match>span:last-child,html[data-theme="dark"] .batch-inspection-safe{color:var(--status-success)}html[data-theme="dark"] .batch-inspection-warning>span:last-child,html[data-theme="dark"] .batch-inspection-warning{color:var(--status-danger)}
@media(max-width:1000px){.production-batch-context-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.production-batch-heading{display:grid}.production-batch-selection-count{justify-self:start}.production-batch-context>header{align-items:flex-start;flex-direction:column}.production-batch-context>header>span{white-space:normal}.production-batch-progress{grid-template-columns:1fr}.production-batch-action-grid,.production-batch-action-grid form{grid-template-columns:1fr}.production-batch-actions button{width:100%}}
@media(max-width:520px){.production-batch-context{padding:14px}.production-batch-context-grid{grid-template-columns:minmax(0,1fr)}.production-batch-context-grid article{min-height:0}}
@media(max-width:420px){.production-content-batch{gap:16px}.production-batch-selection-toolbar{align-items:stretch;flex-direction:column}.production-batch-selection-toolbar button{width:100%}.production-batch-items,.production-batch-files{grid-template-columns:minmax(0,1fr)}.production-batch-actions>section{padding:13px}}
@media(prefers-reduced-motion:reduce){.production-content-batch *{scroll-behavior:auto!important}}
