/* Loumies experience layer (paid release): building a meal rather than filling in a form. Same palette and type as the approved stylesheet:
   hot pink for the active choice, yellow for the communal meal, white and cool ink between. No new brand element. */
.meal-module .module-fields { display: block; padding: 16px 14px 18px; background: var(--cream); }
.pick-group { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.pick-group legend { padding: 0; margin-bottom: 9px; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pick-group legend small { margin-left: 6px; color: var(--pink); font-weight: 800; letter-spacing: .06em; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 8px; }
.pick { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 7px 10px 7px 7px; border: 1px solid var(--line); background: #fff; text-align: left; cursor: pointer; font: inherit; font-size: 13px; font-weight: 720; line-height: 1.2; color: var(--ink); }
.pick:hover { border-color: var(--ink); }
.pick:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.pick img, .pick .pick-dot { width: 42px; height: 42px; flex: none; border-radius: 50%; object-fit: cover; background: var(--yellow); }
.pick .pick-dot { display: block; border: 1px solid rgba(46, 61, 74, .25); }
.pick small { display: block; margin-top: 2px; font-size: 10px; font-weight: 640; color: rgba(46, 61, 74, .72); }
.pick.is-selected { border-color: var(--pink); background: #fff4fa; box-shadow: inset 0 0 0 2px var(--pink); }
.pick.is-selected::after { content: "✓"; margin-left: auto; color: var(--pink); font-weight: 900; }
.pick.is-unavailable, .pick:disabled { opacity: .5; cursor: not-allowed; }
.pick.is-unavailable:hover { border-color: var(--line); }

.pie-builder { margin: 4px 0 2px; padding: 14px 14px 16px; background: var(--yellow); }
.pie-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pie-head b { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.pie-progress { font-family: var(--display); font-size: 22px; line-height: 1; text-transform: uppercase; }
.pie-progress.is-done { color: var(--ink); }
.pie-sub { margin: 4px 0 0; font-size: 12px; line-height: 1.4; }
.pie-tray { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; margin: 12px 0; padding: 0; }
.pie-slot { position: relative; aspect-ratio: 1; width: 100%; padding: 0; display: grid; place-items: center; overflow: hidden; border: 2px dashed rgba(46, 61, 74, .38); border-radius: 50%; background: rgba(255, 255, 255, .7); color: rgba(46, 61, 74, .5); font-size: 20px; cursor: default; }
.pie-slot.is-filled { border: 2px solid var(--ink); background: #fff; cursor: pointer; }
.pie-slot img { width: 100%; height: 100%; object-fit: cover; }
.pie-slot .pie-x { position: absolute; right: 1px; top: 1px; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; line-height: 1; }
.pie-options { display: grid; gap: 8px; }
.pie-option { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 10px 7px 7px; border: 1px solid rgba(46, 61, 74, .18); background: #fff; }
.pie-option img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.pie-option .pie-name { font-size: 13px; font-weight: 740; line-height: 1.2; }
.pie-option .pie-name small { display: block; margin-top: 2px; font-size: 10px; font-weight: 640; color: rgba(46, 61, 74, .72); }
.pie-option.is-unavailable { opacity: .55; }
.pie-step { display: inline-flex; align-items: center; gap: 8px; }
.pie-step button { width: 38px; height: 38px; border: 1px solid var(--ink); border-radius: 50%; background: #fff; font: inherit; font-size: 19px; line-height: 1; cursor: pointer; }
.pie-step button:hover:not(:disabled), .pie-step button:focus-visible { background: var(--ink); color: #fff; }
.pie-step button:disabled { opacity: .35; cursor: not-allowed; }
.pie-step strong { min-width: 18px; text-align: center; font-size: 15px; }
.pie-fill { grid-column: 2 / -1; justify-self: start; padding: 2px 0; border: 0; border-bottom: 1px solid var(--pink); background: none; color: var(--ink); font: inherit; font-size: 11px; font-weight: 740; cursor: pointer; }
.pie-fill:hover, .pie-fill:focus-visible { color: var(--pink); }
.pie-hint { margin: 10px 0 0; font-size: 12px; font-weight: 700; }

.meal-review { margin: 18px 0 0; padding: 16px; border: 1px solid var(--ink); background: #fff; }
.meal-review h3 { margin: 0 0 10px; font-family: var(--display); font-size: 22px; line-height: 1; text-transform: uppercase; }
.meal-review-row { padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.45; }
.meal-review-row b { display: block; margin-bottom: 2px; color: var(--pink); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.meal-review-row.is-todo { color: var(--pink); font-weight: 700; }

/* The basket line: what the food actually is */
.basket-includes { margin: 6px 0 0; font-size: 11.5px; line-height: 1.45; }
.basket-includes b { font-weight: 760; }
.basket-shared-summary .basket-pies { display: block; }
.basket-shared-summary .basket-middle { border-left-color: var(--pink); background: #fff; }
.menu-row-note { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.4; color: rgba(46, 61, 74, .78); }
@media (max-width: 560px) {
  .pick-grid { grid-template-columns: 1fr 1fr; }
  .pick { font-size: 12.5px; }
  .pie-tray { gap: 5px; }
}

/* Table and Feast drawer: the picture is a banner, not the whole first screen, so the building of the meal starts above the fold */
.drawer .shared-drawer-media { height: clamp(150px, 26vh, 230px); }
.drawer .shared-drawer-media .shared-spread { min-height: 0; height: 100%; }
.drawer-content:has(.meal-builder) h2 { font-size: clamp(44px, 5.4vw, 64px); margin-bottom: 12px; }
.drawer-content:has(.meal-builder) .drawer-lead { font-size: 15px; }
.drawer-content:has(.meal-builder) .shared-base { padding: 12px 14px; }

.shared-needs { margin: 12px 0 0; padding: 10px 14px; border-left: 4px solid var(--pink); background: #fff4fa; font-size: 13.5px; font-weight: 700; }
