/* IPA R164 – Production & Manpower: keep hero dimensions, move operational controls to toolbar.
   Scoped styling; no global header geometry, API, Firestore or data changes. */
#production-manpower-page .prod-hero .prod-hero-footline{
  position:absolute;left:var(--ipa-r30-safe-left,78px);bottom:22px;z-index:4;
  display:flex;align-items:center;gap:9px;
  color:rgba(224,238,252,.83);font-size:10px;font-weight:800;letter-spacing:.12em;
  pointer-events:none;text-shadow:0 1px 4px rgba(0,9,26,.45);
}
#production-manpower-page .prod-operation-toolbar{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:12px 16px;background:#13263c;border:1px solid #2e4864;
  border-radius:14px;min-width:0;width:100%;box-shadow:0 5px 12px rgba(1,11,27,.15);
}
#production-manpower-page .prod-operation-toolbar-label{
  display:inline-flex;align-items:center;gap:9px;min-width:max-content;
  color:#dbeafe;font-size:12px;font-weight:800;letter-spacing:.01em;
}
#production-manpower-page .prod-operation-toolbar-label i{color:#60a5fa}
#production-manpower-page .prod-operation-toolbar .prod-operation-filters{
  display:grid!important;grid-template-columns:1.1fr .85fr 1fr 1fr!important;
  width:min(760px,76%)!important;min-width:0!important;gap:10px!important;
  align-items:center!important;
}
#production-manpower-page .prod-operation-toolbar .prod-filter{
  min-width:0;padding:6px 9px;background:rgba(4,18,38,.57);
  border:1px solid rgba(122,161,201,.29);border-radius:11px;
}
#production-manpower-page .prod-operation-toolbar .prod-filter label{
  font-size:9px;letter-spacing:.055em;color:#9dc8f6;margin:0 0 3px;
}
#production-manpower-page .prod-operation-toolbar .prod-filter :is(select,input){
  min-width:0;width:100%;max-width:100%;border:0;background:#10253e;color:#f3f8ff;
  padding:7px 6px;border-radius:7px;font-size:11px;font-weight:750;
}
#production-manpower-page .prod-operation-toolbar .prod-filter :is(select,input):focus-visible{
  outline:2px solid #76b8ff;outline-offset:1px;
}
#production-manpower-page .prod-operation-toolbar input[type=file][hidden]{display:none!important}
html:not(.dark) #production-manpower-page .prod-operation-toolbar{background:#f2f7fc;border-color:#ccddeb}
html:not(.dark) #production-manpower-page .prod-operation-toolbar-label{color:#193a57}
html:not(.dark) #production-manpower-page .prod-operation-toolbar .prod-filter{background:#fff;border-color:#cbdbe9}
html:not(.dark) #production-manpower-page .prod-operation-toolbar .prod-filter :is(select,input){background:#f0f5fb;color:#12324c}
html:not(.dark) #production-manpower-page .prod-operation-toolbar .prod-filter label{color:#315978}
html:not(.dark) #production-manpower-page .prod-hero .prod-hero-footline{color:#153e5e;text-shadow:0 1px 4px rgba(255,255,255,.65)}
@media(max-width:1090px){
  #production-manpower-page .prod-operation-toolbar{flex-wrap:wrap;gap:10px}
  #production-manpower-page .prod-operation-toolbar .prod-operation-filters{width:100%!important}
}
@media(max-width:680px){
  /* Keep long Production title separate from the Live pill on narrow screens. */
  html body #production-manpower-page .prod-hero.ipa-premium-header-r30 .prod-title{
    max-width:calc(100% - 30px)!important;
  }
  html body #production-manpower-page .prod-hero.ipa-premium-header-r30 .prod-title h2{
    font-size:clamp(20px,5.45vw,24px)!important;line-height:1.14!important;
  }
  html body #production-manpower-page .prod-hero.ipa-premium-header-r30 > .prod-live.ipa-r30-live{
    top:auto!important;bottom:43px!important;right:12px!important;
  }

  #production-manpower-page .prod-operation-toolbar{padding:11px;gap:9px}
  #production-manpower-page .prod-operation-toolbar .prod-operation-filters{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;
  }
  #production-manpower-page .prod-hero .prod-hero-footline{
    left:17px;bottom:12px;font-size:8px;letter-spacing:.055em;
  }
}
@media(max-width:350px){
  #production-manpower-page .prod-hero .prod-hero-footline{letter-spacing:0;font-size:7.4px}
}
