const OPS_TPL_L={bb:N_('ops.tpl_bb'),transit:N_('ops.tpl_transit'),ix:N_('ops.tpl_ix'),kit:N_('ops.tpl_kit')};
// The Ops panel: the intern, their shift log, and the standing orders with their dials. A bottom sheet on phones.
function opsCard(){if(!S)return '';const last=opsHired()&&S.ops.log[0];
return `
`+OPS.map(opsOrderHtml).join('');
// Per POP: switch single orders off where the player wants to decide by hand.
const cities=Object.keys(S.pops).sort((a,b)=>CITY[a].name.localeCompare(CITY[b].name)),c=S.pops[UI.opsCity]?UI.opsCity:cities[0];
if(c)h+=`
`;
h+=opsOnceHtml();openModal(h,'ops');}
// The big one-off batches (#181, #192) live here now, next to the orders that run them every week.
const opsOnceHtml=()=>`
`;
// On a city without a POP: open it from the template in one tap.
function opsTplHtml(c){if(!opsHired())return '';const q=opsTplQuote(c);if(!q)return '';
return `