@xapp/form-widget 1.101.0 → 1.102.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
Binary file
@@ -0,0 +1 @@
1
+ export {};
Binary file
@@ -1,3 +1,20 @@
1
+ /**
2
+ * The phone breakpoint.
3
+ *
4
+ * Width alone cannot express "phone". A phone on its side is 740-863px wide - wider than
5
+ * an iPad in portrait - so `max-width: 640px` silently excluded every landscape phone, and
6
+ * with it the full-screen panel, the full-bleed modal, the 44px hit boxes, the safe-area
7
+ * insets and the soft-keyboard padding. Measured on 2026-08-13: in landscape the chat
8
+ * input sat ~22px from the bottom of a 340px viewport, so any keyboard covered it, and the
9
+ * form step's action row was unreachable. XappMedia/chat-widget#1561.
10
+ *
11
+ * The second arm adds short-and-touch, which is what a landscape phone is. Verified in
12
+ * Chromium against device descriptors: it matches iPhone 14, Pixel 7 and Galaxy S8 in
13
+ * landscape, and matches no iPad in either orientation and no desktop. `pointer: coarse`
14
+ * reports the PRIMARY pointer, so a touch laptop driven by a trackpad stays on desktop.
15
+ *
16
+ * Use this instead of writing the query by hand, so the definition lives in one place.
17
+ */
1
18
  .ModalDialog-module_xapp_search_modal__WpGiJ {
2
19
  position: fixed;
3
20
  top: 0;
@@ -10,12 +27,12 @@
10
27
  padding: 48px;
11
28
  z-index: 15000;
12
29
  }
13
- @media (max-width: 640px) {
30
+ @media (max-width: 640px), (max-height: 480px) and (pointer: coarse) {
14
31
  .ModalDialog-module_xapp_search_modal__WpGiJ {
15
32
  padding: env(safe-area-inset-top) env(safe-area-inset-right) max(env(safe-area-inset-bottom), var(--xapp-keyboard-inset, 0px)) env(safe-area-inset-left);
16
33
  }
17
34
  }
18
- @media (max-height: 640px) and (min-width: 641px) {
35
+ @media (max-height: 640px) and (min-width: 641px) and (pointer: fine) {
19
36
  .ModalDialog-module_xapp_search_modal__WpGiJ {
20
37
  padding-bottom: 24px;
21
38
  }
@@ -37,7 +54,7 @@
37
54
  display: flex;
38
55
  flex-direction: column;
39
56
  }
40
- @media (max-width: 640px) {
57
+ @media (max-width: 640px), (max-height: 480px) and (pointer: coarse) {
41
58
  .ModalDialog-module_xapp_search_modal__body__qK17C {
42
59
  width: 100%;
43
60
  height: 100%;
@@ -46,6 +63,23 @@
46
63
  .SearchResponseBubble-module_xapp_search_response_bubble__UtmuK {
47
64
  --xapp-bubble-background: #fff;
48
65
  }
66
+ /**
67
+ * The phone breakpoint.
68
+ *
69
+ * Width alone cannot express "phone". A phone on its side is 740-863px wide - wider than
70
+ * an iPad in portrait - so `max-width: 640px` silently excluded every landscape phone, and
71
+ * with it the full-screen panel, the full-bleed modal, the 44px hit boxes, the safe-area
72
+ * insets and the soft-keyboard padding. Measured on 2026-08-13: in landscape the chat
73
+ * input sat ~22px from the bottom of a 340px viewport, so any keyboard covered it, and the
74
+ * form step's action row was unreachable. XappMedia/chat-widget#1561.
75
+ *
76
+ * The second arm adds short-and-touch, which is what a landscape phone is. Verified in
77
+ * Chromium against device descriptors: it matches iPhone 14, Pixel 7 and Galaxy S8 in
78
+ * landscape, and matches no iPad in either orientation and no desktop. `pointer: coarse`
79
+ * reports the PRIMARY pointer, so a touch laptop driven by a trackpad stays on desktop.
80
+ *
81
+ * Use this instead of writing the query by hand, so the definition lives in one place.
82
+ */
49
83
  .Card-module_xapp_search_card__9iVCv {
50
84
  border: solid 0 var(--xapp-form-widget-border-color, #d3d3df);
51
85
  border-radius: 12px;
@@ -221,6 +255,23 @@
221
255
  .Carousel-module_xapp_search_carousel__content__EoqyB {
222
256
  flex-grow: 1;
223
257
  }
258
+ /**
259
+ * The phone breakpoint.
260
+ *
261
+ * Width alone cannot express "phone". A phone on its side is 740-863px wide - wider than
262
+ * an iPad in portrait - so `max-width: 640px` silently excluded every landscape phone, and
263
+ * with it the full-screen panel, the full-bleed modal, the 44px hit boxes, the safe-area
264
+ * insets and the soft-keyboard padding. Measured on 2026-08-13: in landscape the chat
265
+ * input sat ~22px from the bottom of a 340px viewport, so any keyboard covered it, and the
266
+ * form step's action row was unreachable. XappMedia/chat-widget#1561.
267
+ *
268
+ * The second arm adds short-and-touch, which is what a landscape phone is. Verified in
269
+ * Chromium against device descriptors: it matches iPhone 14, Pixel 7 and Galaxy S8 in
270
+ * landscape, and matches no iPad in either orientation and no desktop. `pointer: coarse`
271
+ * reports the PRIMARY pointer, so a touch laptop driven by a trackpad stays on desktop.
272
+ *
273
+ * Use this instead of writing the query by hand, so the definition lives in one place.
274
+ */
224
275
  .CarouselItem-module_xapp_search_carousel_item__xNpwo {
225
276
  display: inline-flex;
226
277
  flex-direction: column;
@@ -231,7 +282,7 @@
231
282
  .CarouselItem-module_xapp_search_carousel_item__xNpwo:last-child {
232
283
  padding-right: 0;
233
284
  }
234
- @media (max-width: 640px) {
285
+ @media (max-width: 640px), (max-height: 480px) and (pointer: coarse) {
235
286
  .CarouselItem-module_xapp_search_carousel_item__xNpwo {
236
287
  min-width: 100%;
237
288
  max-width: 100%;
@@ -241,6 +292,23 @@
241
292
  display: flex;
242
293
  flex-direction: column;
243
294
  }
295
+ /**
296
+ * The phone breakpoint.
297
+ *
298
+ * Width alone cannot express "phone". A phone on its side is 740-863px wide - wider than
299
+ * an iPad in portrait - so `max-width: 640px` silently excluded every landscape phone, and
300
+ * with it the full-screen panel, the full-bleed modal, the 44px hit boxes, the safe-area
301
+ * insets and the soft-keyboard padding. Measured on 2026-08-13: in landscape the chat
302
+ * input sat ~22px from the bottom of a 340px viewport, so any keyboard covered it, and the
303
+ * form step's action row was unreachable. XappMedia/chat-widget#1561.
304
+ *
305
+ * The second arm adds short-and-touch, which is what a landscape phone is. Verified in
306
+ * Chromium against device descriptors: it matches iPhone 14, Pixel 7 and Galaxy S8 in
307
+ * landscape, and matches no iPad in either orientation and no desktop. `pointer: coarse`
308
+ * reports the PRIMARY pointer, so a touch laptop driven by a trackpad stays on desktop.
309
+ *
310
+ * Use this instead of writing the query by hand, so the definition lives in one place.
311
+ */
244
312
  .FormFieldSelect-module_xapp_checkbox_select__QccWu {
245
313
  margin: 6px !important;
246
314
  font-size: var(--xapp-form-widget-checkbox-font-size, 14px) !important;
@@ -249,6 +317,11 @@
249
317
  padding: 8px 16px !important;
250
318
  height: 32px !important;
251
319
  }
320
+ @media (max-width: 640px), (max-height: 480px) and (pointer: coarse) {
321
+ .FormFieldSelect-module_xapp_checkbox_select__QccWu {
322
+ height: 44px !important;
323
+ }
324
+ }
252
325
 
253
326
  .FormFieldSelect-module_xapp_select_container__HWy4J {
254
327
  display: flex;
@@ -269,6 +342,23 @@
269
342
  .FormFieldCard-module_xapp_form_card__AcVAf img {
270
343
  width: 50% !important;
271
344
  }
345
+ /**
346
+ * The phone breakpoint.
347
+ *
348
+ * Width alone cannot express "phone". A phone on its side is 740-863px wide - wider than
349
+ * an iPad in portrait - so `max-width: 640px` silently excluded every landscape phone, and
350
+ * with it the full-screen panel, the full-bleed modal, the 44px hit boxes, the safe-area
351
+ * insets and the soft-keyboard padding. Measured on 2026-08-13: in landscape the chat
352
+ * input sat ~22px from the bottom of a 340px viewport, so any keyboard covered it, and the
353
+ * form step's action row was unreachable. XappMedia/chat-widget#1561.
354
+ *
355
+ * The second arm adds short-and-touch, which is what a landscape phone is. Verified in
356
+ * Chromium against device descriptors: it matches iPhone 14, Pixel 7 and Galaxy S8 in
357
+ * landscape, and matches no iPad in either orientation and no desktop. `pointer: coarse`
358
+ * reports the PRIMARY pointer, so a touch laptop driven by a trackpad stays on desktop.
359
+ *
360
+ * Use this instead of writing the query by hand, so the definition lives in one place.
361
+ */
272
362
  .MuiChip-label {
273
363
  padding-left: 4px !important;
274
364
  padding-right: 4px !important;
@@ -304,10 +394,11 @@
304
394
  outline: 2px solid var(--xapp-form-widget-focus-ring-color, var(--xapp-form-widget-header-background-color, #012b54));
305
395
  outline-offset: 0px;
306
396
  }
307
- @media (max-width: 640px) {
397
+ @media (max-width: 640px), (max-height: 480px) and (pointer: coarse) {
308
398
  .FormFieldChips-module_xapp_checkbox_chip__8DRkb {
309
399
  min-width: 100px !important;
310
400
  font-size: 16px !important;
401
+ height: 44px !important;
311
402
  }
312
403
  .FormFieldChips-module_xapp_checkbox_chip__8DRkb .MuiChip-label {
313
404
  margin: 0;
@@ -332,7 +423,7 @@
332
423
  margin: 0 2px;
333
424
  text-align: center;
334
425
  }
335
- @media (max-width: 640px) {
426
+ @media (max-width: 640px), (max-height: 480px) and (pointer: coarse) {
336
427
  .FormFieldChips-module_xapp_chip_wrapper__AGfKl {
337
428
  margin: 0 2px;
338
429
  }
@@ -413,6 +504,23 @@
413
504
  .FormFieldTextInput-module_xapp_text_input_text__3rHVn .MuiInputBase-multiline {
414
505
  padding: 0px;
415
506
  }
507
+ /**
508
+ * The phone breakpoint.
509
+ *
510
+ * Width alone cannot express "phone". A phone on its side is 740-863px wide - wider than
511
+ * an iPad in portrait - so `max-width: 640px` silently excluded every landscape phone, and
512
+ * with it the full-screen panel, the full-bleed modal, the 44px hit boxes, the safe-area
513
+ * insets and the soft-keyboard padding. Measured on 2026-08-13: in landscape the chat
514
+ * input sat ~22px from the bottom of a 340px viewport, so any keyboard covered it, and the
515
+ * form step's action row was unreachable. XappMedia/chat-widget#1561.
516
+ *
517
+ * The second arm adds short-and-touch, which is what a landscape phone is. Verified in
518
+ * Chromium against device descriptors: it matches iPhone 14, Pixel 7 and Galaxy S8 in
519
+ * landscape, and matches no iPad in either orientation and no desktop. `pointer: coarse`
520
+ * reports the PRIMARY pointer, so a touch laptop driven by a trackpad stays on desktop.
521
+ *
522
+ * Use this instead of writing the query by hand, so the definition lives in one place.
523
+ */
416
524
  .FormFieldDropdown-module_xapp_dropdown_container__4oRlr {
417
525
  margin-top: 20px;
418
526
  margin-bottom: 20px;
@@ -422,12 +530,29 @@
422
530
  font-size: var(--xapp-form-widget-dropdown-font-size, 14px);
423
531
  font-family: var(--xapp-form-widget-dropdown-font-family, var(--xapp-form-widget-font-family, RobotoRegular, serif));
424
532
  }
425
- @media (max-width: 640px) {
533
+ @media (max-width: 640px), (max-height: 480px) and (pointer: coarse) {
426
534
  .FormFieldDropdown-module_xapp_dropdown_container__4oRlr .MuiInputBase-input,
427
535
  .FormFieldDropdown-module_xapp_dropdown_container__4oRlr select {
428
536
  font-size: var(--xapp-form-widget-dropdown-font-size-mobile, 16px);
429
537
  }
430
538
  }
539
+ /**
540
+ * The phone breakpoint.
541
+ *
542
+ * Width alone cannot express "phone". A phone on its side is 740-863px wide - wider than
543
+ * an iPad in portrait - so `max-width: 640px` silently excluded every landscape phone, and
544
+ * with it the full-screen panel, the full-bleed modal, the 44px hit boxes, the safe-area
545
+ * insets and the soft-keyboard padding. Measured on 2026-08-13: in landscape the chat
546
+ * input sat ~22px from the bottom of a 340px viewport, so any keyboard covered it, and the
547
+ * form step's action row was unreachable. XappMedia/chat-widget#1561.
548
+ *
549
+ * The second arm adds short-and-touch, which is what a landscape phone is. Verified in
550
+ * Chromium against device descriptors: it matches iPhone 14, Pixel 7 and Galaxy S8 in
551
+ * landscape, and matches no iPad in either orientation and no desktop. `pointer: coarse`
552
+ * reports the PRIMARY pointer, so a touch laptop driven by a trackpad stays on desktop.
553
+ *
554
+ * Use this instead of writing the query by hand, so the definition lives in one place.
555
+ */
431
556
  .FormFieldDate-module_xapp_date_picker_container__d8LYB {
432
557
  height: 100%;
433
558
  display: flex;
@@ -531,7 +656,7 @@
531
656
  * only fits once the 2px side margins on each cell go - hence dropping the gap rather than
532
657
  * the cell, per the issue.
533
658
  */
534
- @media (max-width: 640px) {
659
+ @media (max-width: 640px), (max-height: 480px) and (pointer: coarse) {
535
660
  .FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersDay-root,
536
661
  .FormFieldDate-module_xapp_date_picker__Rvtj1 .MuiPickersDay-dayWithMargin {
537
662
  width: 44px !important;
@@ -552,6 +677,148 @@
552
677
  height: 44px !important;
553
678
  }
554
679
  }
680
+ /**
681
+ * The phone breakpoint.
682
+ *
683
+ * Width alone cannot express "phone". A phone on its side is 740-863px wide - wider than
684
+ * an iPad in portrait - so `max-width: 640px` silently excluded every landscape phone, and
685
+ * with it the full-screen panel, the full-bleed modal, the 44px hit boxes, the safe-area
686
+ * insets and the soft-keyboard padding. Measured on 2026-08-13: in landscape the chat
687
+ * input sat ~22px from the bottom of a 340px viewport, so any keyboard covered it, and the
688
+ * form step's action row was unreachable. XappMedia/chat-widget#1561.
689
+ *
690
+ * The second arm adds short-and-touch, which is what a landscape phone is. Verified in
691
+ * Chromium against device descriptors: it matches iPhone 14, Pixel 7 and Galaxy S8 in
692
+ * landscape, and matches no iPad in either orientation and no desktop. `pointer: coarse`
693
+ * reports the PRIMARY pointer, so a touch laptop driven by a trackpad stays on desktop.
694
+ *
695
+ * Use this instead of writing the query by hand, so the definition lives in one place.
696
+ */
697
+ .FormFieldDateTime-module_xapp_datetime__rPNwE {
698
+ display: flex;
699
+ flex-direction: column;
700
+ align-items: center;
701
+ width: 100%;
702
+ font-family: var(--xapp-form-widget-date-font-family, var(--xapp-form-widget-font-family, RobotoRegular, serif));
703
+ }
704
+
705
+ .FormFieldDateTime-module_xapp_datetime_title__VNHwW {
706
+ margin: 0 0 8px;
707
+ font-family: inherit;
708
+ font-size: 1rem;
709
+ text-align: center;
710
+ }
711
+
712
+ /* Calendar and column side by side on a wide enough viewport.
713
+ *
714
+ * `flex-wrap` rather than a fixed two-column grid: the pair has to be allowed to fall
715
+ * onto two rows rather than force the step to scroll sideways, which is the failure the
716
+ * mobile rule below would otherwise only fix at the breakpoint. */
717
+ .FormFieldDateTime-module_xapp_datetime_body__ta9Ui {
718
+ display: flex;
719
+ flex-wrap: wrap;
720
+ justify-content: center;
721
+ align-items: flex-start;
722
+ gap: 16px;
723
+ width: 100%;
724
+ }
725
+
726
+ .FormFieldDateTime-module_xapp_datetime_calendar__Ge5W6 {
727
+ flex: 0 0 auto;
728
+ }
729
+
730
+ /* A column of buttons rather than chips: a half-hour schedule produces 16 or more
731
+ * offerings and chips wrap into an unreadable block past a handful. */
732
+ .FormFieldDateTime-module_xapp_datetime_times__rhU-O {
733
+ flex: 1 1 160px;
734
+ display: flex;
735
+ flex-direction: column;
736
+ gap: 8px;
737
+ min-width: 0;
738
+ max-width: 240px;
739
+ max-height: 320px;
740
+ overflow-y: auto;
741
+ padding: 4px;
742
+ }
743
+
744
+ .FormFieldDateTime-module_xapp_datetime_group__CeL-E {
745
+ position: sticky;
746
+ top: 0;
747
+ z-index: 1;
748
+ margin: 4px 0 0;
749
+ padding: 4px 0;
750
+ background-color: #ffffff;
751
+ font-family: inherit;
752
+ font-size: var(--xapp-form-widget-date-font-size, 14px);
753
+ font-weight: 600;
754
+ text-align: left;
755
+ }
756
+
757
+ .FormFieldDateTime-module_xapp_datetime_time__x5lxl {
758
+ flex: 0 0 auto;
759
+ min-height: 44px;
760
+ padding: 8px 12px;
761
+ border: 1px solid var(--xapp-form-widget-chips-background-color, #c4dced);
762
+ border-radius: var(--xapp-form-widget-border-radius-sm, 8px);
763
+ background-color: transparent;
764
+ color: var(--xapp-form-widget-chips-color, #000000);
765
+ font-family: var(--xapp-form-widget-chips-font-family, var(--xapp-form-widget-font-family, RobotoRegular, serif));
766
+ font-size: var(--xapp-form-widget-chips-font-size, 0.875em);
767
+ font-weight: 600;
768
+ cursor: pointer;
769
+ transition: background-color 200ms ease-in-out, box-shadow 200ms ease-in-out, transform 150ms ease-in-out;
770
+ }
771
+ .FormFieldDateTime-module_xapp_datetime_time__x5lxl:hover {
772
+ background-color: var(--xapp-form-widget-chips-background-color, #c4dced);
773
+ box-shadow: var(--xapp-form-widget-box-shadow-subtle, 0 2px 8px rgba(0, 0, 0, 0.08));
774
+ }
775
+ .FormFieldDateTime-module_xapp_datetime_time__x5lxl:active {
776
+ transform: scale(0.98);
777
+ }
778
+ .FormFieldDateTime-module_xapp_datetime_time__x5lxl:focus {
779
+ outline: none;
780
+ }
781
+ .FormFieldDateTime-module_xapp_datetime_time__x5lxl:focus-visible {
782
+ outline: 2px solid var(--xapp-form-widget-focus-ring-color, var(--xapp-form-widget-header-background-color, #012b54));
783
+ outline-offset: 0px;
784
+ }
785
+ @media (max-width: 640px), (max-height: 480px) and (pointer: coarse) {
786
+ .FormFieldDateTime-module_xapp_datetime_time__x5lxl {
787
+ font-size: 16px;
788
+ }
789
+ }
790
+
791
+ .FormFieldDateTime-module_xapp_datetime_time_selected__IRT84 {
792
+ border-color: var(--xapp-form-widget-chips-background-color-selected, var(--xapp-form-widget-chips-background-color-dark, #6e7ae1));
793
+ background-color: var(--xapp-form-widget-chips-background-color-selected, var(--xapp-form-widget-chips-background-color-dark, #6e7ae1));
794
+ color: var(--xapp-form-widget-chips-color-selected, #ffffff);
795
+ }
796
+ .FormFieldDateTime-module_xapp_datetime_time_selected__IRT84:hover {
797
+ background-color: var(--xapp-form-widget-chips-background-color-selected, var(--xapp-form-widget-chips-background-color-dark, #6e7ae1));
798
+ }
799
+
800
+ .FormFieldDateTime-module_xapp_datetime_message__4rf-S {
801
+ margin: 8px 0;
802
+ font-size: var(--xapp-form-widget-date-font-size, 14px);
803
+ text-align: center;
804
+ }
805
+
806
+ .FormFieldDateTime-module_xapp_datetime_error__bTyZK {
807
+ margin-top: 14px;
808
+ }
809
+
810
+ /* Stacked, with the column under the calendar and given room to scroll on its own. */
811
+ @media (max-width: 640px), (max-height: 480px) and (pointer: coarse) {
812
+ .FormFieldDateTime-module_xapp_datetime_body__ta9Ui {
813
+ flex-direction: column;
814
+ align-items: center;
815
+ }
816
+ .FormFieldDateTime-module_xapp_datetime_times__rhU-O {
817
+ width: 100%;
818
+ max-width: 320px;
819
+ max-height: 260px;
820
+ }
821
+ }
555
822
  .FormFieldTextInputAddress-module_xapp_text_input_address_container__title__IbovL p {
556
823
  margin: 0;
557
824
  font-family: var(--xapp-form-widget-text-font-family, var(--xapp-form-widget-font-family, RobotoRegular, serif));
@@ -606,6 +873,23 @@
606
873
  .MuiAutocomplete-popper {
607
874
  z-index: 16000 !important;
608
875
  }
876
+ /**
877
+ * The phone breakpoint.
878
+ *
879
+ * Width alone cannot express "phone". A phone on its side is 740-863px wide - wider than
880
+ * an iPad in portrait - so `max-width: 640px` silently excluded every landscape phone, and
881
+ * with it the full-screen panel, the full-bleed modal, the 44px hit boxes, the safe-area
882
+ * insets and the soft-keyboard padding. Measured on 2026-08-13: in landscape the chat
883
+ * input sat ~22px from the bottom of a 340px viewport, so any keyboard covered it, and the
884
+ * form step's action row was unreachable. XappMedia/chat-widget#1561.
885
+ *
886
+ * The second arm adds short-and-touch, which is what a landscape phone is. Verified in
887
+ * Chromium against device descriptors: it matches iPhone 14, Pixel 7 and Galaxy S8 in
888
+ * landscape, and matches no iPad in either orientation and no desktop. `pointer: coarse`
889
+ * reports the PRIMARY pointer, so a touch laptop driven by a trackpad stays on desktop.
890
+ *
891
+ * Use this instead of writing the query by hand, so the definition lives in one place.
892
+ */
609
893
  .FormStepDisplay-module_xapp_step_iframe_wrapper__BBFRw {
610
894
  display: flex;
611
895
  flex-direction: column;
@@ -619,7 +903,7 @@
619
903
  margin-left: -56px;
620
904
  margin-right: -56px;
621
905
  }
622
- @media (max-width: 640px) {
906
+ @media (max-width: 640px), (max-height: 480px) and (pointer: coarse) {
623
907
  .FormStepDisplay-module_xapp_step_full_bleed__rhGGK {
624
908
  margin-left: calc(-1 * (8px + env(safe-area-inset-left, 0px)));
625
909
  margin-right: calc(-1 * (8px + env(safe-area-inset-right, 0px)));
@@ -743,6 +1027,7 @@
743
1027
  background-color: var(--xapp-form-widget-primary-button-color, #ea6539) !important;
744
1028
  font-family: inherit !important;
745
1029
  border-radius: var(--xapp-form-widget-border-radius-md, 12px) !important;
1030
+ min-height: 44px !important;
746
1031
  transition: box-shadow 200ms ease-in-out, transform 150ms ease-in-out, opacity 200ms ease-in-out !important;
747
1032
  }
748
1033
  .FormStepDisplay-module_xapp_primary_button__d2wra:hover {
@@ -764,6 +1049,7 @@
764
1049
  background-color: var(--xapp-form-widget-secondary-button-color, #d24cc7) !important;
765
1050
  font-family: inherit !important;
766
1051
  border-radius: var(--xapp-form-widget-border-radius-md, 12px) !important;
1052
+ min-height: 44px !important;
767
1053
  transition: box-shadow 200ms ease-in-out, transform 150ms ease-in-out, opacity 200ms ease-in-out !important;
768
1054
  }
769
1055
  .FormStepDisplay-module_xapp_secondary_button__LuMfN:hover {
@@ -785,6 +1071,7 @@
785
1071
  background-color: rgba(121, 117, 133, 0.5) !important;
786
1072
  font-family: inherit !important;
787
1073
  border-radius: var(--xapp-form-widget-border-radius-md, 12px) !important;
1074
+ min-height: 44px !important;
788
1075
  cursor: not-allowed !important;
789
1076
  }
790
1077
  /**
@@ -972,6 +1259,23 @@
972
1259
  .FormDisplay-module_xapp_header_container_showcase__MWJfr .MuiTypography-root {
973
1260
  color: var(--xapp-form-widget-header-text-color, #b7c5d1) !important;
974
1261
  }
1262
+ /**
1263
+ * The phone breakpoint.
1264
+ *
1265
+ * Width alone cannot express "phone". A phone on its side is 740-863px wide - wider than
1266
+ * an iPad in portrait - so `max-width: 640px` silently excluded every landscape phone, and
1267
+ * with it the full-screen panel, the full-bleed modal, the 44px hit boxes, the safe-area
1268
+ * insets and the soft-keyboard padding. Measured on 2026-08-13: in landscape the chat
1269
+ * input sat ~22px from the bottom of a 340px viewport, so any keyboard covered it, and the
1270
+ * form step's action row was unreachable. XappMedia/chat-widget#1561.
1271
+ *
1272
+ * The second arm adds short-and-touch, which is what a landscape phone is. Verified in
1273
+ * Chromium against device descriptors: it matches iPhone 14, Pixel 7 and Galaxy S8 in
1274
+ * landscape, and matches no iPad in either orientation and no desktop. `pointer: coarse`
1275
+ * reports the PRIMARY pointer, so a touch laptop driven by a trackpad stays on desktop.
1276
+ *
1277
+ * Use this instead of writing the query by hand, so the definition lives in one place.
1278
+ */
975
1279
  .SearchResponseOutputSpeech-module_xapp_search_response_output_speech__DCf8F {
976
1280
  font-family: var(--xapp-form-widget-font-family, RobotoRegular, serif);
977
1281
  font-weight: normal;
@@ -985,6 +1289,23 @@
985
1289
  .SearchResponseOutputSpeech-module_xapp_search_response_output_speech__DCf8F p:last-child {
986
1290
  margin-bottom: 0;
987
1291
  }
1292
+ /**
1293
+ * The phone breakpoint.
1294
+ *
1295
+ * Width alone cannot express "phone". A phone on its side is 740-863px wide - wider than
1296
+ * an iPad in portrait - so `max-width: 640px` silently excluded every landscape phone, and
1297
+ * with it the full-screen panel, the full-bleed modal, the 44px hit boxes, the safe-area
1298
+ * insets and the soft-keyboard padding. Measured on 2026-08-13: in landscape the chat
1299
+ * input sat ~22px from the bottom of a 340px viewport, so any keyboard covered it, and the
1300
+ * form step's action row was unreachable. XappMedia/chat-widget#1561.
1301
+ *
1302
+ * The second arm adds short-and-touch, which is what a landscape phone is. Verified in
1303
+ * Chromium against device descriptors: it matches iPhone 14, Pixel 7 and Galaxy S8 in
1304
+ * landscape, and matches no iPad in either orientation and no desktop. `pointer: coarse`
1305
+ * reports the PRIMARY pointer, so a touch laptop driven by a trackpad stays on desktop.
1306
+ *
1307
+ * Use this instead of writing the query by hand, so the definition lives in one place.
1308
+ */
988
1309
  .Button-module_xapp_search_btn__cQf3T {
989
1310
  display: inline-block;
990
1311
  border-radius: var(--xapp-form-widget-border-radius-md, 12px);
@@ -1018,6 +1339,23 @@
1018
1339
  .Button-module_xapp_search_btn__expand__dUwot {
1019
1340
  width: 100%;
1020
1341
  }
1342
+ /**
1343
+ * The phone breakpoint.
1344
+ *
1345
+ * Width alone cannot express "phone". A phone on its side is 740-863px wide - wider than
1346
+ * an iPad in portrait - so `max-width: 640px` silently excluded every landscape phone, and
1347
+ * with it the full-screen panel, the full-bleed modal, the 44px hit boxes, the safe-area
1348
+ * insets and the soft-keyboard padding. Measured on 2026-08-13: in landscape the chat
1349
+ * input sat ~22px from the bottom of a 340px viewport, so any keyboard covered it, and the
1350
+ * form step's action row was unreachable. XappMedia/chat-widget#1561.
1351
+ *
1352
+ * The second arm adds short-and-touch, which is what a landscape phone is. Verified in
1353
+ * Chromium against device descriptors: it matches iPhone 14, Pixel 7 and Galaxy S8 in
1354
+ * landscape, and matches no iPad in either orientation and no desktop. `pointer: coarse`
1355
+ * reports the PRIMARY pointer, so a touch laptop driven by a trackpad stays on desktop.
1356
+ *
1357
+ * Use this instead of writing the query by hand, so the definition lives in one place.
1358
+ */
1021
1359
  .SuggestedAction-module_xapp_search_suggested_action__gbLCz {
1022
1360
  display: inline-block;
1023
1361
  border-radius: var(--xapp-form-widget-border-radius-md, 12px);
@@ -1067,6 +1405,23 @@
1067
1405
  padding: 0 10px;
1068
1406
  overflow: auto;
1069
1407
  }
1408
+ /**
1409
+ * The phone breakpoint.
1410
+ *
1411
+ * Width alone cannot express "phone". A phone on its side is 740-863px wide - wider than
1412
+ * an iPad in portrait - so `max-width: 640px` silently excluded every landscape phone, and
1413
+ * with it the full-screen panel, the full-bleed modal, the 44px hit boxes, the safe-area
1414
+ * insets and the soft-keyboard padding. Measured on 2026-08-13: in landscape the chat
1415
+ * input sat ~22px from the bottom of a 340px viewport, so any keyboard covered it, and the
1416
+ * form step's action row was unreachable. XappMedia/chat-widget#1561.
1417
+ *
1418
+ * The second arm adds short-and-touch, which is what a landscape phone is. Verified in
1419
+ * Chromium against device descriptors: it matches iPhone 14, Pixel 7 and Galaxy S8 in
1420
+ * landscape, and matches no iPad in either orientation and no desktop. `pointer: coarse`
1421
+ * reports the PRIMARY pointer, so a touch laptop driven by a trackpad stays on desktop.
1422
+ *
1423
+ * Use this instead of writing the query by hand, so the definition lives in one place.
1424
+ */
1070
1425
  .FormWidget-module_loading__aAJ-B {
1071
1426
  background-color: rgba(0, 0, 0, 0) !important;
1072
1427
  border: 0px !important;
@@ -1173,9 +1528,10 @@
1173
1528
  }
1174
1529
  }
1175
1530
  /* Mobile */
1176
- @media (max-width: 640px) {
1531
+ @media (max-width: 640px), (max-height: 480px) and (pointer: coarse) {
1177
1532
  .FormWidget-module_xapp_form_widget__V-G-H {
1178
1533
  width: 100%;
1534
+ max-width: none;
1179
1535
  height: 100%;
1180
1536
  border-radius: 0;
1181
1537
  border: 0;
@@ -1188,6 +1544,23 @@
1188
1544
  overflow-y: auto;
1189
1545
  }
1190
1546
  }
1547
+ /**
1548
+ * The phone breakpoint.
1549
+ *
1550
+ * Width alone cannot express "phone". A phone on its side is 740-863px wide - wider than
1551
+ * an iPad in portrait - so `max-width: 640px` silently excluded every landscape phone, and
1552
+ * with it the full-screen panel, the full-bleed modal, the 44px hit boxes, the safe-area
1553
+ * insets and the soft-keyboard padding. Measured on 2026-08-13: in landscape the chat
1554
+ * input sat ~22px from the bottom of a 340px viewport, so any keyboard covered it, and the
1555
+ * form step's action row was unreachable. XappMedia/chat-widget#1561.
1556
+ *
1557
+ * The second arm adds short-and-touch, which is what a landscape phone is. Verified in
1558
+ * Chromium against device descriptors: it matches iPhone 14, Pixel 7 and Galaxy S8 in
1559
+ * landscape, and matches no iPad in either orientation and no desktop. `pointer: coarse`
1560
+ * reports the PRIMARY pointer, so a touch laptop driven by a trackpad stays on desktop.
1561
+ *
1562
+ * Use this instead of writing the query by hand, so the definition lives in one place.
1563
+ */
1191
1564
  .SideButton-module_xapp_form_sticky_button__YqORL {
1192
1565
  position: fixed;
1193
1566
  z-index: 10000;