:root{--op-navy:#102d55;--op-blue:#145adb;--op-teal:#009c8a}.op-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;margin:6px 0 20px}.op-heading h1{font-size:clamp(26px,3vw,38px);font-weight:800;color:var(--op-navy);margin:6px 0}.op-heading h2,.op-card h2{font-size:21px;font-weight:750;color:var(--op-navy)}.op-heading p{margin:4px 0;color:#526680}.op-eyebrow{font-size:11px;letter-spacing:.12em;color:#27578c;font-weight:800}.op-actions{display:flex;gap:10px;flex-wrap:wrap}.op-filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;padding:18px;background:#f1f5fc;border:1px solid #d7e3f3;border-radius:12px;margin:16px 0}.op-filters label{font-size:12px;font-weight:750;color:#294b77;max-width:100%}.op-filters label input,.op-filters label select{margin-top:6px;max-width:100%}.op-filters>span,.op-scope{font-size:12px;color:#596a80}.op-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:24px}.op-kpi{padding:20px;background:white;border:1px solid #d9e4f3;border-top:4px solid var(--op-blue);border-radius:14px;text-decoration:none;color:var(--op-navy);box-shadow:0 5px 20px #13375b06}.op-kpi:nth-child(2),.op-kpi:nth-child(3){border-top-color:#e2a02d}.op-kpi:nth-child(4){border-top-color:var(--op-teal)}.op-kpi>span{display:block;font-weight:750;font-size:14px}.op-kpi>strong{display:block;font-size:38px;line-height:1.3;margin-top:10px}.op-kpi>small,.op-kpi p{font-size:12px;color:#576981}.op-kpi p{margin:10px 0}.op-kpi>b{font-size:12px;color:var(--op-blue)}.op-kpi:hover{box-shadow:0 8px 22px #173a7220;border-color:#8baee5}.op-card{padding:24px;background:white;border:1px solid #d6e2f3;border-radius:14px;margin-bottom:22px;min-width:0}.op-production-totals{display:flex;gap:15px;flex-wrap:wrap;margin:18px 0}.op-production-totals>span{background:#eef4fd;border-radius:9px;padding:12px 16px;font-size:13px;color:#345474}.op-production-totals b{font-size:24px;display:block;color:#133860}.op-chart{overflow-x:auto;padding:25px 4px 8px}.op-chart-bars{display:flex;gap:8px;min-width:1200px;height:240px;align-items:end}.op-day{flex:1;min-width:30px;text-align:center}.op-bars{height:190px;display:flex;gap:4px;align-items:end;border-bottom:1px solid #bccde3;justify-content:center}.op-bar{position:relative;width:13px;max-height:100%;min-height:1px;border-radius:3px 3px 0 0}.op-bar span{position:absolute;bottom:100%;left:50%;transform:translateX(-50%) rotate(-45deg);transform-origin:center;font-size:9px;color:#173554;font-weight:700;margin-bottom:5px}.op-emergency{background:#164b94}.op-hospital{background:var(--op-teal)}.op-day small{font-size:10px}.op-legend{font-size:12px;color:#18467f;display:flex;gap:18px;flex-wrap:wrap}.op-legend span:nth-child(2){color:#007c70}.op-table-details summary{color:#234d84;font-weight:700;margin:18px 0;cursor:pointer}.op-status{display:inline-block;background:#fff0cf;border:1px solid #f0d297;color:#76500c;padding:5px 9px;border-radius:7px;font-size:11px;font-weight:650}.op-card .table th{background:#edf3fb;color:#173d70;text-align:center}.op-card .table td{vertical-align:middle;padding:14px 10px}.op-card .table caption{caption-side:top;font-size:12px}.op-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(560px,100vw);max-width:100vw;max-height:100dvh;height:100dvh;border:0;border-left:1px solid #c7d8ef;padding:24px;box-shadow:-15px 0 50px #152b4d2b;overflow-y:auto;color:#173d70}.op-drawer::backdrop{background:#0d26454d}.op-drawer-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.op-drawer-head h2{font-size:23px}.op-drawer .ag-grid{grid-template-columns:1fr}.op-drawer .ag-form{padding:0;border:0}.op-drawer-trigger{margin:10px 0 20px}.op-drawer .ag-form-bottom{position:sticky;bottom:-24px;background:white;padding:15px 0}.op-drawer .ag-form-bottom small{max-width:65%}.op-drawer .ag-form-bottom button{white-space:normal}.op-drawer .form-select{white-space:normal}.op-drawer [role=listbox]{z-index:10}.op-drawer h3{font-size:16px}.op-drawer-note{font-size:12px;color:#5d7087;padding:12px;background:#f0f5fc;border-radius:9px}
@media(max-width:1300px){.op-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.op-kpis{grid-template-columns:1fr}.op-card{padding:16px}.op-filters{padding:12px}.op-filters label{width:100%}.op-actions .btn{flex:1}.op-drawer{padding:18px}.op-drawer .ag-form-bottom{bottom:-18px}.op-production-totals>span{flex:1}.op-heading h1{font-size:27px}}
@media print{.op-actions,.op-filters,.op-drawer-trigger,.op-drawer,.op-scope+.op-actions{display:none!important}.op-kpis{grid-template-columns:repeat(4,1fr)}.op-kpi{padding:10px;break-inside:avoid}.op-kpi>b{display:none}.op-card{padding:12px;border-color:#bbb;break-inside:auto}.op-chart{overflow:visible}.op-chart-bars{min-width:0;gap:3px}.op-chart-bars .op-day{min-width:0}.op-bars{gap:1px}.op-bar{width:8px}.op-bar span{font-size:6px}.op-card .table td{padding:5px}.op-heading h1{font-size:24px}.op-table-details{display:block!important}}
