/* Phones: the page always fits the screen. No double-tap zoom, no sideways scrolling, and form fields at 16px so iPhone does not zoom in when one is tapped. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; touch-action: manipulation }
html, body { max-width: 100%; overflow-x: clip }
@media (max-width: 700px) { input, select, textarea { font-size: max(16px, 1em) } }
/* Longer languages (Spanish): a select or its label never grows wider than its panel. */
.controls label { min-width: 0; max-width: 100% } .controls select { min-width: 0; max-width: 100% }
#app select { max-width: 100% }
/* Very small phones (320px): the signed-out top bar wraps inside the screen instead of pushing the page wider. */
@media (max-width: 360px) { .land-top { max-width: calc(100vw - 32px) } .hm { grid-template-columns: minmax(0, 1fr) } .hm > * { min-width: 0 } .hm .btn.big { white-space: normal } .land-top .topright { min-width: 0; max-width: calc(100vw - 32px); gap: 6px } .land-top .topright .btn { padding: 8px 10px; font-size: .8rem; white-space: nowrap } .land-top .topright #langSel { max-width: 92px } }

/* 28 Nov 2026: nothing may widen the page sideways; on iPhone a wider page makes Safari zoom out and the bottom bar float mid-screen */
html, body { overflow-x: clip }
