.production { padding-block: 1.5rem 4rem; }
.prod-heading { max-width: 53rem; margin: 2rem 0 1.6rem; }
.prod-heading h1 { margin: 0 0 .6rem; font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: 1.05; }
.production p { line-height: 1.6; }
.prod-heading p { max-width: 48rem; color: var(--muted); font-size: 1.08rem; }
.prod-actions,.prod-jumps { display:flex; align-items:center; flex-wrap:wrap; gap:.7rem 1rem; }
.prod-actions { margin-top:1rem; }
.prod-actions a:not(.primary),.prod-link,.prod-source a { color:var(--lime); text-decoration:underline; text-underline-offset:.2em; }
.prod-jumps { margin:1.5rem 0; gap:.45rem; }
.prod-jumps a { padding:.45rem .7rem; background:#202820; border:1px solid var(--line); border-radius:5px; font-size:.9rem; }
.prod-jumps a:hover,.prod-jumps a:focus-visible { color:var(--lime); border-color:var(--lime); }
.prod-section,.prod-panel { background:#1a211c; border:1px solid #394637; border-radius:9px; padding:clamp(1rem,2.5vw,2rem); min-width:0; }
.prod-section { margin:1.4rem 0; max-width:65rem; scroll-margin-top:7rem; }
.prod-section-head { display:flex; align-items:center; gap:1rem; }
.prod-section-head img,.prod-estimate img { flex:none; width:4.5rem; height:4.5rem; padding:.25rem; object-fit:contain; border-radius:7px; background:radial-gradient(at 50% 90%,#40513b,#242e25); }
.production h2 { font-size:clamp(1.4rem,2.7vw,2rem); margin:0; }
.prod-section p { max-width:55rem; margin:1rem 0; }
.prod-return strong { color:var(--lime); display:block; }
.prod-table-wrap { margin:1rem 0; overflow-x:auto; }
.prod-table-wrap table { border-collapse:collapse; width:100%; font-size:1rem; }
.prod-table-wrap th,.prod-table-wrap td { padding:.55rem .7rem; text-align:left; border-bottom:1px solid #364234; line-height:1.4; }
.prod-table-wrap thead th { background:#232d24; color:#c8d9b5; font-size:.9rem; }
.prod-table-wrap td { font-variant-numeric:tabular-nums; }
.prod-caption,.prod-source,.prod-panel small { color:#b2beb1; font-size:.9rem; }
.prod-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:1.25rem; align-items:start; }
.prod-panel h2 { margin-bottom:1rem; }
.prod-panel label:not(.prod-check) { display:grid; gap:.25rem; margin:.7rem 0; font-size:.95rem; }
.prod-panel :is(select,input:not([type="checkbox"])) { width:100%; min-width:0; min-height:44px; margin:0; padding:.55rem .7rem; border:1px solid #495447; border-radius:5px; color:var(--ink); background:#111813; font:inherit; }
.prod-panel select { padding-right:2rem; }
.prod-panel fieldset { margin:1rem 0; min-width:0; border:1px solid var(--line); border-radius:5px; padding:.5rem .75rem .8rem; }
.prod-panel legend { padding:0 .3rem; color:#d1debf; }
.prod-check { display:flex; align-items:center; gap:.6rem; cursor:pointer; min-height:36px; }
.prod-check input { width:1.1rem; height:1.1rem; margin:0; accent-color:var(--lime); }
.production [hidden] { display:none !important; }
.prod-counter-slots,.prod-pair { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.6rem; }
.prod-pair { grid-template-columns:repeat(2,minmax(0,1fr)); }
.prod-estimate { display:flex; align-items:center; gap:1rem; background:linear-gradient(110deg,#263321,#202a21); border:1px solid #46583d; border-radius:7px; margin-top:1rem; padding:.8rem; }
.prod-estimate span,.prod-estimate strong,.prod-job-label small,.prod-job-label strong { display:block; }
.prod-estimate span { color:#d0ddc5; font-size:.9rem; }
.prod-estimate strong,.prod-job-clock { color:var(--lime); font-variant-numeric:tabular-nums; }
.prod-estimate strong { font-size:clamp(1.9rem,4vw,2.65rem); line-height:1.14; overflow-wrap:anywhere; }
.prod-panel .prod-error { margin:.5rem 0; color:#ffbb99; }
.prod-panel p:empty { display:none; }
.prod-panel button { min-height:44px; font-size:.95rem; }
.prod-controls { align-items:stretch; gap:.65rem; }
.prod-controls button { display:inline-flex; align-items:center; justify-content:center; min-height:46px; margin:0; padding:.65rem 1rem; line-height:1.25; }
.prod-board { border-top:3px solid #9cc65e; }
.prod-board ul { list-style:none; margin:.7rem 0; padding:0; }
.prod-job { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.35rem .75rem; padding:.9rem 0; border-top:1px solid var(--line); }
.prod-job-label small { font-size:.85rem; }
.prod-job-clock { text-align:right; font-size:clamp(1.2rem,3vw,1.8rem); }
.prod-job-at { font-size:.85rem; color:#c0cdc0; }
.prod-job button { justify-self:end; }
.prod-job.is-ready .prod-job-clock { color:#d7f7ac; }
.prod-section summary { padding:.6rem 0; cursor:pointer; }
@media(max-width:780px) {
  .prod-layout { grid-template-columns:minmax(0,1fr); }
  .prod-heading { margin:1.3rem 0; }
}
@media(max-width:440px) {
  .prod-controls { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,1fr); }
  .prod-controls button { padding-inline:.5rem; }
  .prod-table-wrap th,.prod-table-wrap td { font-size:.85rem; padding:.4rem .28rem; }
  .prod-table-wrap thead th { font-size:.8rem; }
  .prod-section-head { gap:.65rem; }
  .prod-section-head img { width:3.5rem; height:3.5rem; }
  .prod-counter-slots { grid-template-columns:1fr; gap:0; }
}
