/* LEVELUP CLIENT V293 — calculator point 23. Scoped to the calculator only. */

/* Move the card nearer to the native app section header. */
._sectionOutlet_10chu_162 [data-levelup-calculator-layout="v40-7"].page {
  padding-top: .2rem !important;
}
[data-levelup-calculator-layout="v40-7"] [class*="_formCard_bzpw4_5"] {
  margin-top: .25rem !important;
}

/* Compact dropdown loading targets directly from the client's diet. */
.levelupDietSelectV293 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .5rem;
  margin-top: .8rem;
  min-width: 0;
}
.levelupDietSelectV293 label {
  font-size: .66rem;
  font-weight: 780;
  color: #e0bd73;
  white-space: nowrap;
}
.levelupDietSelectV293 select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 2.35rem;
  border-radius: .73rem;
  border: 1px solid rgba(215, 183, 111, .26);
  background: #20211c;
  color: #f5f2eb;
  font-size: .72rem;
  padding: 0 .65rem;
  text-overflow: ellipsis;
  color-scheme: dark;
}
.levelupDietSelectV293 select:focus-visible {
  outline: 2px solid #dbba71;
  outline-offset: 2px;
}
[data-levelup-calculator-layout="v40-7"] [class*="_macroInputs_bzpw4_47"] {
  margin-top: .6rem !important;
}
.levelupMacroRequiredV293 {
  font-size: .65rem;
  line-height: 1.35;
  color: #e3c58e;
  margin: .42rem 0 .1rem;
}

/* Product details: leave names, units and share limits visible, not B/W/T rows. */
._productRow_bzpw4_601 > span > small,
._selectedProductCopy_bzpw4_1078 > small,
._compactMealText_bzpw4_815 > small {
  display: none !important;
}

/* Product picker is now portaled to body: it can use the full iPhone viewport.
   The outer layer can scroll if even the safe-area/keyboard inset is tight. */
dialog._pickerDialog_bzpw4_422[open] {
  box-sizing: border-box !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  padding: calc(max(env(safe-area-inset-top, 0px), var(--levelup-status-fallback, 0px)) + .5rem) .65rem calc(env(safe-area-inset-bottom, 0px) + .5rem) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  align-items: flex-start !important;
  -webkit-overflow-scrolling: touch;
}
dialog._pickerDialog_bzpw4_422[open] ._picker_bzpw4_408 {
  min-height: 0;
  max-height: calc(100dvh - max(env(safe-area-inset-top, 0px), var(--levelup-status-fallback, 0px)) - env(safe-area-inset-bottom, 0px) - 1rem - var(--levelup-keyboard-inset, var(--levelup-vkb-height, 0px))) !important;
  overflow: hidden;
  flex: 0 1 34rem;
}
dialog._pickerDialog_bzpw4_422[open] ._productList_bzpw4_591 {
  min-height: 5rem;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
@media (max-width: 380px) {
  .levelupDietSelectV293 { gap: .35rem; }
  .levelupDietSelectV293 label { font-size: .61rem; }
  .levelupDietSelectV293 select { font-size: .67rem; }
}
