/* Additive accessibility rules; the existing design sheets remain unchanged. */
[data-mpm-root] :focus-visible{outline:2px solid currentColor;outline-offset:3px;scroll-margin-block:var(--mpm-focus-offset,100px) 30px}
[data-mpm-root] .mpm-price-val,[data-mpm-root] .mpm-money,[data-mpm-root] .mpm-currency{white-space:nowrap}
[data-mpm-root] .mpm-filter-drawer{padding-bottom:max(16px,env(safe-area-inset-bottom));max-height:100dvh}
[data-mpm-root] .mpm-ux-tools{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-block:.6rem}
[data-mpm-root] .mpm-ux-tools button{font:inherit;min-height:32px;padding:.3em .6em;cursor:pointer}
[data-mpm-root] .mpm-ux-note{font-size:.875em;line-height:1.5;white-space:pre-line}
[data-mpm-root] .mpm-ux-sr,.mpm-ux-skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
[data-mpm-root] .mpm-ux-skip:focus{display:inline-block;padding:8px;background:Canvas;color:CanvasText}
[data-mpm-root] .mpm-ux-count{margin-inline-start:.4em;font-size:.85em;white-space:nowrap}
[data-mpm-root] .mpm-ux-shortlist{overflow:auto;max-width:100%;margin-block:1rem}
[data-mpm-root] .mpm-ux-shortlist table{border-collapse:collapse}
[data-mpm-root] .mpm-ux-shortlist th,[data-mpm-root] .mpm-ux-shortlist td{padding:.6rem;border:1px solid currentColor}
[data-mpm-root].mpm-ux-compact table td{padding-block:5px}
[data-mpm-root] .mpm-provider-name,[data-mpm-root] .mpm-pharmacy-name{overflow-wrap:anywhere}
@media(pointer:coarse){[data-mpm-root] .mpm-ux-tools button,[data-mpm-root] .mpm-filter-drawer button{min-height:44px}}
@media(max-height:450px) and (orientation:landscape){[data-mpm-root] .mpm-filter-drawer{max-height:100dvh;overflow:auto}}
@media(forced-colors:active){[data-mpm-root] button[aria-pressed=true]{outline:2px solid Highlight}[data-mpm-root] .mpm-chip{border:1px solid ButtonText}}
@media(prefers-reduced-motion:reduce){[data-mpm-root] *,[data-mpm-root] *::before,[data-mpm-root] *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{body.mpm-ux-printing *{visibility:hidden}body.mpm-ux-printing .mpm-ux-print,body.mpm-ux-printing .mpm-ux-print *{visibility:visible}body.mpm-ux-printing .mpm-ux-print{position:absolute;left:0;top:0;width:100%}body.mpm-ux-printing .mpm-ux-print .mpm-ux-tools,body.mpm-ux-printing .mpm-filter-drawer-root{display:none}[data-mpm-root] .mpm-table-shell{overflow:visible!important}[data-mpm-root] td,[data-mpm-root] th{position:static!important}}

/* Reflow applies within components; the comparison retains its intentional table scroller. */
[data-mpm-root] .mpm-ux-tools>*{max-width:100%;overflow-wrap:anywhere}
[data-mpm-root] .mpm-filter-drawer input,[data-mpm-root] .mpm-filter-drawer select{max-width:100%;min-width:0}
[data-mpm-root] .mpm-filter-drawer button{white-space:normal;height:auto}
@media(max-height:450px) and (orientation:landscape){.mpm-sticky-dose-bar,.mpm-sticky-header{max-height:35dvh;overflow:auto}}
@media(pointer:coarse){[data-mpm-root] [data-mpm-remove-filter],[data-mpm-root] .mpm-chip-remove{min-width:28px;min-height:28px}}

[data-mpm-root] [data-mpm-payable-note]{display:block;max-width:24em;white-space:normal;line-height:1.45;margin-top:.4em}
