.me-chef {
  display: inline-block;
  width: 120px;
  flex: none;
  vertical-align: middle;
}
.me-chef img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.me-illustrated-state {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  max-width: 100%;
  color: var(--me-muted, #aa9f91);
}
.me-state-shrug .me-chef,
.me-state-whistle .me-chef {
  width: 180px;
  max-width: 42vw;
}
.me-featured-text .me-chef {
  width: 90px;
  max-width: 120px;
  float: left;
}
.me-fallback {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background: #100e0b;
  color: #f5f0e7;
  font:
    16px Manrope,
    system-ui,
    sans-serif;
}
.me-fallback .me-illustrated-state {
  padding: 24px;
}
.me-offline {
  padding: 12px 24px;
}
.v563-add-photo {
  display: flex !important;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 90px;
  font-size: 10px;
  min-height: 44px;
}
.v563-add-photo .me-chef {
  width: 44px;
}
.v563-add-photo .me-chef img {
  width: 44px;
  height: 55px;
}
.v561-offer [data-v561-offer-price],
[data-promotion-new] {
  white-space: nowrap;
}
.v562-offer-fields button.primary {
  min-width: 150px;
}
.v563-ingredient-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.v563-ingredient-filters input {
  flex: 1;
  min-width: 160px;
}
.v563-type-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: var(--me-panel, #181612);
  border-top: 1px solid var(--me-line, #342d24);
  box-shadow: 0 -6px 24px #0005;
}
.v563-type-list {
  padding-bottom: 140px;
}
.v563-rule-suggestions {
  display: grid;
  gap: 12px;
  margin-block: 20px;
}
.v563-rule-suggestions button {
  text-align: left;
  padding: 14px;
}
.v563-file {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-block: 20px;
}
.v563-file label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--me-accent, #d9a441);
  border-radius: 24px;
  cursor: pointer;
}
.v563-file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}
.v563-file label:focus-within {
  outline: 2px solid var(--me-accent, #d9a441);
  outline-offset: 3px;
}
.v563-file span {
  overflow-wrap: anywhere;
  min-width: 0;
}
.me-detail .me-sheet-handle {
  border-bottom: 0 !important;
  outline-offset: -4px;
}
.me-detail-photo {
  border-top: 0 !important;
}
.me-detail-copy {
  border-top: 0 !important;
}
.me-allergen-filter .me-allergen-icon {
  margin-inline: 5px;
}

.me-sheet-handle:focus:not(:focus-visible) {
  outline: none !important;
}
.me-sheet-handle:focus-visible {
  outline: 2px solid var(--me-accent);
  outline-offset: -5px;
}
.me-detail .me-sheet-handle:after {
  box-shadow: none !important;
  border: 0 !important;
}

.me-sheet-handle:focus-visible {
  outline: none !important;
}
.me-sheet-handle:focus-visible:after {
  outline: 2px solid var(--me-accent);
  outline-offset: 4px;
}
.v562-bulk-types.v563-type-bar select {
  max-width: min(100%, 250px);
}
/* Keep the primary label readable; legacy .v561-offer button makes every label gold. */
.v561-offer button.primary {
  color: var(--me-bg, #100e0b);
  background: var(--me-accent, #d9a441);
}
.v561-offer {
  position: relative;
  display: block;
  min-width: 0;
}
.v561-offer > div {
  min-width: 0;
}
.v561-offer > div > b,
.v561-offer > div > p {
  display: block;
  padding-right: 90px;
}
.v561-offer > [data-v561-offer-price] {
  position: absolute;
  top: 16px;
  right: 16px;
  width: auto;
  max-width: 90px;
  font-size: 14px;
  padding: 8px;
  white-space: nowrap;
}
.v562-offer-fields {
  margin-top: 14px;
}
.v562-offer-fields input[name="time_from"],
.v562-offer-fields input[name="time_to"] {
  width: 110px;
  max-width: 100%;
}
.v562-offer-fields label {
  white-space: nowrap;
}
/* Both audited drafts and the current type selection stay reachable. */
body:has(.v563-type-bar:not([hidden])) .v561-publishbar {
  bottom: 76px;
}
body:has(.v563-type-bar:not([hidden])) .v563-type-list {
  padding-bottom: 260px;
}
@media (max-width: 760px) {
  body:has(.v563-type-bar:not([hidden])) .v561-publishbar {
    bottom: calc(140px + env(safe-area-inset-bottom));
  }
  .v563-type-bar {
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
  }
}
