/* Kayron UI standard kit (9 Nov 2026), phone view only.
   Applies only on touch-screen phones (760px and below, no mouse). Computers are never affected, at any window size or zoom.
   Rules checked by the kit's phoneaudit.js: nothing wider than the screen, tap targets at least 36px (we aim for 44px),
   no text smaller than 12px, no layout shift while loading or scrolling. */
@media (max-width:760px) and (hover:none) and (pointer:coarse){
  /* Tap targets: buttons, button-styled links and form fields */
  main button, main .button, main a.button, main .inline-button, main .primary, main .primary-link, main .market-button,
  main input[type=submit], main input[type=button], main select,
  main input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=range]):not([type=file]):not([type=color]){min-height:44px}
  main a.button, main a.inline-button, main a.primary-link{display:inline-flex;align-items:center;justify-content:center}
  main .link-button{min-height:44px;display:inline-flex;align-items:center;padding-inline:6px}
  main summary{min-height:44px;padding-block:11px}
  /* Tick boxes and radio buttons: the whole label row is the tap area */
  main label:has(>input[type=checkbox]), main label:has(>input[type=radio]){min-height:44px;display:flex;align-items:center;gap:10px}
  main input[type=checkbox], main input[type=radio], main .cms-check input[type=checkbox], main .cms-prices input[type=checkbox]{width:22px!important;min-width:0!important;height:36px!important;min-height:0!important;margin:0;flex:none}
  /* Tab and filter links */
  main .cms-jump a{min-height:44px;display:inline-flex;align-items:center}
  /* Plain text links: a taller touch area without moving the text around them */
  main a:not([class]):not(.cms-jump a), main a.text-link, main .market-product-buy a, main .market-clear,
  main .market-store-card>b{padding-block:12px;margin-block:-12px}
  /* Readable text: nothing below 12px */
  main small, main .eyebrow, main .status-pill, main .market-product-meta, main .market-product-visual small,
  main .market-vendor, main .market-store-card small, main .market-store-card>b, main .activity-item small,
  main .invoice-row small, main .billing-summary small{font-size:12px}
  /* No sideways spill: wide tables and code scroll inside their own box */
  main .table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}
  main pre{overflow-x:auto;max-width:100%}
  main code{overflow-wrap:anywhere}
}
