.pharmacy-management{color:var(--ink,#173b46)}
.pharmacy-management h2{font-size:24px;margin:14px 0 8px}.pharmacy-management h3{font-size:18px;margin:24px 0 12px}
.management-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:16px 0;border-bottom:1px solid #dce5e7}.management-heading p{line-height:1.7;margin:0}
.management-total{display:grid;gap:6px;text-align:right}.management-total strong{font-size:30px}.management-total span{font-size:13px;color:#526b74}
.management-tabs{display:flex;gap:8px;padding:20px 0}.management-actions{display:flex;gap:8px;flex-wrap:wrap}
.management-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:24px 0;border-block:1px solid #dce5e7}.management-metrics>div{font-size:12px;color:#526b74}.management-metrics strong{display:block;font-size:23px;color:#173b46;margin-bottom:8px}
.management-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:8px 0 20px}.management-filters .field{margin:0}.management-note{color:#526b74;font-size:13px;line-height:1.6}.pharmacy-management dd{margin:4px 0 18px}.pharmacy-management dt{font-size:12px;color:#526b74}
.management-dialog{padding:24px;border:1px solid #bfcdd0;border-radius:8px;width:min(520px,calc(100vw - 32px));max-height:90vh;color:#173b46;background:#fff}.management-dialog::backdrop{background:rgba(10,30,36,.45);backdrop-filter:blur(3px)}.management-dialog header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.management-dialog h2{font-size:21px;margin:0}.management-dialog footer{display:flex;justify-content:end}.management-dialog input{width:100%;box-sizing:border-box}.management-fields{max-height:65vh;overflow:auto;padding:2px}.pharmacy-management .table-wrap{overflow:auto}.pharmacy-management svg{width:17px;height:17px;flex-shrink:0}.management-error{margin-bottom:16px}
.mg-owner-picker{border-top:1px solid #dce5e7;margin-top:20px;padding-bottom:20px}.mg-owner-picker .section-head{display:flex;flex-direction:row;align-items:center;justify-content:space-between}.mg-owner-choice,.mg-checkbox{display:flex;gap:12px;align-items:flex-start;padding:12px 0;line-height:1.5}.management-dialog .mg-owner-choice input,.management-dialog .mg-checkbox input{width:18px;height:18px;flex-shrink:0;margin-top:3px}.mg-owner-choice{border-bottom:1px solid #e4eaeb;cursor:pointer}.mg-owner-choice span{overflow-wrap:anywhere}.mg-owner-choice:has(input:checked){background:#ecf8f6}.mg-owner-choice small{color:#526b74}#mg-owner-results{max-height:230px;overflow:auto}
.management-dialog footer{margin-top:16px}.pharmacy-management .mg-owner-picker .section-head{flex-direction:row;align-items:center}#mg-existing{margin-bottom:12px}.management-dialog button[hidden]{display:none}
@media(max-width:700px){.management-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.management-heading{align-items:start;flex-direction:column}.management-total{text-align:left}.pharmacy-management .section-head{align-items:start;flex-direction:column}.management-filters .field{flex:1;min-width:130px}}
