/* LyfeHype universal dropdown colors (2026-09-25). Additive override; main CSS untouched.
   Light grey list #EFEFF1, black text #111111, light purple highlight #E4D4FA, border #D4D4D8.
   Profile menu intentionally excluded. */

/* 1) Shared styled Select (Radix) - list panel, items, highlight */
[role="listbox"].bg-popover{background-color:#EFEFF1!important;color:#111111!important;border-color:#D4D4D8!important}
[role="listbox"].bg-popover [role="option"]{color:#111111!important;background-color:transparent}
[role="listbox"].bg-popover [role="option"][data-highlighted],
[role="listbox"].bg-popover [role="option"]:focus{background-color:#E4D4FA!important;color:#111111!important}
[role="listbox"].bg-popover [role="option"] svg{color:#111111}
[role="listbox"].bg-popover > div:not([role]){color:#111111}

/* 2) Native <select> option lists (hover highlight is controlled by the browser/OS) */
select option,select optgroup{background-color:#EFEFF1;color:#111111}

/* 3) Venue address suggestion lists (Create / Edit Event) */
ul[data-testid^="address-suggestions"]{background-color:#EFEFF1!important;border-color:#D4D4D8!important;color:#111111!important}
ul[data-testid^="address-suggestions"] button{color:#111111!important}
ul[data-testid^="address-suggestions"] button:hover,
ul[data-testid^="address-suggestions"] button:focus-visible{background-color:#E4D4FA!important}
ul[data-testid^="address-suggestions"] button.hover-elevate:after{display:none}

/* 4) Edit Event: native date / time / date-time pickers use the LIGHT widget scheme (2026-09-29).
   The page body is light (lh-edit-light) but inputs inherited .dark color-scheme:dark, which drew
   the calendar/clock icon in white on the white field (invisible). Colors of the fields are unchanged. */
html.lh-edit-light main input[type="date"],
html.lh-edit-light main input[type="time"],
html.lh-edit-light main input[type="datetime-local"]{color-scheme:light!important}
/* 2026-11-04: text-[11px] is used in the bundle but missing from index-DNFo4CfN.css (never rebuilt). */
.text-\[11px\]{font-size:11px}
/* 2026-11-05: Tablet nav (iPad 768-1179px). The full top-nav needs ~1100px; between 768px and
   1180px the labels wrapped onto two lines. In that range use the existing hamburger menu (same as
   phones). >=1180px (desktop, iPad Air/Pro landscape) is unchanged. */
@media (min-width:768px) and (max-width:1179.98px){
  header nav.md\:flex{display:none!important}
  header button[aria-label="Toggle menu"].md\:hidden{display:inline-flex!important}
  header > div.md\:hidden{display:block!important}
}

/* Mobile-only symmetric layouts (2026-12-02). Phones only (max-width 640px); desktop/tablet unchanged. No color changes. */
@media (max-width:640px){
  /* Floor plan editor: even button grids (classes added by the floor plan injector) */
  .lh-fpm-grid{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px!important;align-items:stretch!important}
  .lh-fpm-btns{width:100%}
  .lh-fpm-grid>*{grid-column:span 4;margin:0!important;min-width:0;box-sizing:border-box}
  .lh-fpm-grid>button{width:100%;padding-left:6px!important;padding-right:6px!important;text-align:center;white-space:normal;line-height:1.2}
  .lh-fpm-grid>span{grid-column:1/-1}
  .lh-fpm-grid>input,.lh-fpm-grid>select{grid-column:1/-1;width:100%!important;max-width:none!important}
  .lh-fpm-grid>.lh-fpm-3{grid-column:span 3}
  .lh-fpm-grid>.lh-fpm-6{grid-column:span 6}
  .lh-fpm-grid>.lh-fpm-12{grid-column:1/-1}
  /* My Events: event card actions in two even columns; an odd last action (delete) spans the row */
  [data-testid^="row-event-"]>.flex.flex-wrap.items-center.gap-2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  [data-testid^="row-event-"]>.flex.flex-wrap.items-center.gap-2>*{width:100%;min-width:0}
  [data-testid^="row-event-"]>.flex.flex-wrap.items-center.gap-2>a{display:block}
  [data-testid^="row-event-"]>.flex.flex-wrap.items-center.gap-2>a>button{width:100%}
  [data-testid^="row-event-"]>.flex.flex-wrap.items-center.gap-2>:last-child:nth-child(odd){grid-column:1/-1}
  [data-testid^="row-event-"]>.flex.flex-wrap.items-center.gap-2>button,[data-testid^="row-event-"]>.flex.flex-wrap.items-center.gap-2>a>button{justify-content:flex-start!important;text-align:left}
}
