/* Price Sync: only what Polaris does not do itself. Polaris draws the pages, sections, tables, fields, badges, banners
   and modals; inside the admin the frame sits on the admin's own grey, so the page color matters only outside it. */

html, body { margin: 0; }
body { background: #f1f1f1; } /* slop-ok: Shopify admin look (owner choice 4 Oct 2026) - the admin's page grey */

/* The screen's name for screen readers: the page focuses it on every new screen, so the new screen is announced. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* App Bridge reads the nav from the page and draws it in the admin's sidebar; the links themselves are never shown. */
s-app-nav { display: none; }

/* Until polaris-1.js defines the elements, keep the words readable if it never loads. */
s-page:not(:defined), s-section:not(:defined) { display: block; padding: 8px 16px; }
s-modal:not(:defined), s-popover:not(:defined) { display: none; }

/* The Styles table's empty state (no match, before the first read): on a phone the table's list layout gives it no room
   at the sides, so its words would touch the screen's edges. Its own box, with the page's side gutter. */
s-table-body > s-empty-state { display: block; padding-inline: 16px; }

/* A tap area around a small control (review of 5 Oct 2026; app.js hit()): Polaris draws a row's checkbox 16 to 20 px and
   a link 16 to 20 px tall, under the 44 px a finger needs on a phone. The page widens the area with padding and takes the
   same space back with a negative margin, so nothing moves; a tap on it that misses the control is the control's own. */
.hit { display: inline-grid; align-items: center; justify-items: start; }
.hit-line { display: grid; }
