/* t1452u: PXL GEN mobile fit pass — every tap target ≥44px on phone, no clipped labels, landscape Export footer fits.
   Loaded last. Icon buttons keep their look and get an invisible 44px hit pad; text buttons/inputs in sheets just grow. */

/* invisible hit pads (top bar, dock, overlay, layer rows, inspector header) — 40px → 44px, 36px → 44px */
html.phone :is(.nav .mx-site, .nav .mx-shuffle, #navFsBtn, .layer .icon.eye, .layer .icon.mx-more, .inspector .icon.ring, .insp-head .icon.ring, .m-sheet .icon.ring, .mp-glass .icon.ring) { position: relative; }
html.phone .nav a.brand, html.phone .nav .m-menu-btn { position: relative; }
html.phone :is(.nav .mx-site, .nav .mx-shuffle, #navFsBtn, #pvSeg, .layer .icon.eye, .layer .icon.mx-more, .icon.ring)::after { content: ""; position: absolute; inset: -2px; }
html.phone :is(.nav a.brand, .nav .m-menu-btn)::after { content: ""; position: absolute; inset: -4px -2px; }
html.phone #playBtn { min-width: 44px !important; }
html.phone .sbx-vo-gear { min-width: 44px !important; min-height: 44px !important; }
html.phone .hud .slowtip-btn { position: relative; }
html.phone .hud .slowtip-btn::after { content: ""; position: absolute; inset: -13px -2px; }

/* text buttons + fields inside sheets: real 44px rows */
html.phone :is(.sb-chip, .wb-kinds > button, .mp-cur-b, .mp-save .btn, .mp-save .mp-name, .mp-new, .ex-dd-sel, #exQueueAdd, #docName, #loopSec, #loopMinus, #loopPlus) { min-height: 44px !important; }
html.phone :is(#loopMinus, #loopPlus) { min-width: 44px !important; }
html.phone #loopSec { min-width: 44px !important; }
html.phone .mp-glass .btn, html.phone .m-presets-glass .btn { min-height: 44px !important; }
html.phone .inspector .ctl > :is(.sel-pill, .color-pill) { min-height: 44px !important; height: 44px !important; }

/* Controls: long slider labels wrap to two lines instead of being cut under the slider */
html.phone .inspector .ctl > .ctl-top > .lb { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; overflow-wrap: anywhere; line-height: 1.15 !important; padding-right: 6px; }

/* phone landscape Export: the two footer buttons share one row so the settings get the height */
@media (orientation: landscape) {
  html.phone .m-sheet[data-pane="export"]:not(.closed) .m-pane #exportPop.ex21.x28 > .ex-acts { display: grid !important; grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important; grid-auto-flow: column !important; gap: 8px !important; padding-top: 8px !important; padding-bottom: calc(8px + env(safe-area-inset-bottom)) !important; }
  html.phone .m-sheet[data-pane="export"]:not(.closed) .m-pane #exportPop.ex21.x28 > .ex-acts > :not([hidden]) { height: 48px !important; min-height: 48px !important; align-self: stretch; grid-column: auto !important; grid-row: 1 !important; order: 0 !important; margin: 0 !important; width: auto !important; min-width: 0 !important; }
  html.phone .m-sheet[data-pane="export"]:not(.closed) .m-pane #exportPop.ex21.x28 { padding-bottom: 80px !important; }
}

/* Export sheet + inspector pills carry heavier rules — match their weight */
html.phone .m-pane #exportPop.ex21.x28 :is(#exQueueAdd, .ex-dd-sel, #docName) { min-height: 44px !important; height: 44px !important; }
html.phone .m-pane #exportPop.ex21.x28 :is(#loopMinus, #loopPlus) { min-width: 44px !important; width: 44px !important; min-height: 44px !important; height: 44px !important; }
html.phone .m-pane #exportPop.ex21.x28 #loopSec { min-height: 44px !important; height: 44px !important; }
html.phone body .m-sheet .inspector .sel-pill { min-height: 44px !important; height: 44px !important; }
html.phone .inspector .ctl:is(:has(> .toggle), :has(> .sel-pill), :has(> .color-pill), .fx-src) > :is(.sel-pill, .color-pill) { height: 44px !important; min-height: 44px !important; }

/* t1452u: builder — plain one-line note under a field when the value was kept in range (all sizes) */
.wb-hint { margin: calc(4px * var(--ui, 1)) 0 0; padding: calc(6px * var(--ui, 1)) calc(8px * var(--ui, 1)); border: 1px solid color-mix(in srgb, var(--accent, #36f07a) 45%, transparent); border-radius: 0; background: color-mix(in srgb, var(--accent, #36f07a) 8%, transparent); color: rgba(255,255,255,.86); font-size: calc(12px * var(--ui, 1)); line-height: 1.35; overflow-wrap: anywhere; }
