/* Example diet plans, extracted from Meal Planner. The tool CSS is separate. */
#bf-meal-plan-examples {
  --mpe-accent: var(--color-brand-500, #397bb5);
  --mpe-border: var(--color-default-border, #d7e0e8);
  --mpe-page: var(--color-page-background, #ffffff);
  --mpe-text: var(--color-page-text, #4a6178);
  color: var(--mpe-text);
  margin: 1.25rem 0 1.75rem;
}
#bf-meal-plan-examples * { box-sizing: border-box; }
#bf-meal-plan-examples .bf-mpe-intro { margin: 0 0 1rem; max-width: 78ch; }
#bf-meal-plan-examples .bf-mpe-title {
  color: var(--color-blue-title, currentColor);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 0.45rem;
  text-wrap: balance;
}
#bf-meal-plan-examples .bf-mpe-copy {
  line-height: 1.65;
  margin: 0;
  text-wrap: pretty;
}
#bf-meal-plan-examples .bf-mpe-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
#bf-meal-plan-examples .bf-mpe-card {
  background: var(--mpe-card-bg, var(--bf-pastel-blue-bg, #edf6ff));
  border: 1px solid var(--mpe-card-border, var(--bf-pastel-blue-border, #c8def1));
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 22px rgba(15, 23, 42, 0.06);
  margin: 0;
  padding: 8px;
}
#bf-meal-plan-examples .bf-mpe-card:nth-child(2) {
  --mpe-card-bg: var(--bf-pastel-green-bg, #edf8f2);
  --mpe-card-border: var(--bf-pastel-green-border, #c8e4d3);
}
#bf-meal-plan-examples .bf-mpe-card:nth-child(3) {
  --mpe-card-bg: var(--bf-pastel-yellow-bg, #fff8e5);
  --mpe-card-border: var(--bf-pastel-yellow-border, #ead9a8);
}
#bf-meal-plan-examples .bf-mpe-open {
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: inherit;
  cursor: zoom-in;
  display: block;
  min-height: 40px;
  padding: 0;
  text-align: left;
  transition-duration: 150ms;
  transition-property: box-shadow, transform;
  transition-timing-function: ease-out;
  width: 100%;
}
#bf-meal-plan-examples .bf-mpe-open:hover,
#bf-meal-plan-examples .bf-mpe-open:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mpe-accent) 26%, transparent);
  outline: 0;
}
#bf-meal-plan-examples .bf-mpe-open:active { transform: scale(0.96); }
#bf-meal-plan-examples .bf-mpe-open img {
  background: #ffffff;
  border-radius: 10px;
  display: block;
  height: auto;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
  width: 100%;
}
#bf-meal-plan-examples .bf-mpe-card-footer {
  align-items: center;
  display: flex;
  gap: 0.65rem;
  justify-content: space-between;
  min-height: 44px;
  padding: 0.65rem 0.4rem 0.35rem;
}
#bf-meal-plan-examples .bf-mpe-card-title {
  color: var(--color-blue-title, currentColor);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}
#bf-meal-plan-examples .bf-mpe-card-hint {
  color: var(--mpe-accent);
  flex: 0 0 auto;
  font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}
#bf-meal-plan-examples .bf-mpe-modal {
  background: var(--mpe-page);
  border: 1px solid var(--mpe-border);
  border-radius: 18px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  color: var(--mpe-text);
  left: 50%;
  margin: 0;
  max-height: 94vh;
  max-width: 94vw;
  overflow: hidden;
  padding: 0;
  position: fixed;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(94vw, 980px);
}
#bf-meal-plan-examples .bf-mpe-modal::backdrop {
  backdrop-filter: blur(3px);
  background: rgba(6, 16, 26, 0.72);
}
#bf-meal-plan-examples .bf-mpe-modal-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: 94vh;
}
#bf-meal-plan-examples .bf-mpe-modal-header {
  align-items: center;
  border-bottom: 1px solid var(--mpe-border);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 14px;
}
#bf-meal-plan-examples .bf-mpe-modal-title {
  color: var(--color-blue-title, currentColor);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
}
#bf-meal-plan-examples .bf-mpe-modal-count {
  display: block;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 2px;
  opacity: 0.78;
}
#bf-meal-plan-examples .bf-mpe-modal-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}
#bf-meal-plan-examples .bf-mpe-modal-actions form { margin: 0; }
#bf-meal-plan-examples .bf-mpe-download,
#bf-meal-plan-examples .bf-mpe-close,
#bf-meal-plan-examples .bf-mpe-nav,
#bf-meal-plan-examples .bf-mpe-dot {
  align-items: center;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 40px;
  transition-duration: 150ms;
  transition-property: background-color, border-color, color, transform;
  transition-timing-function: ease-out;
}
#bf-meal-plan-examples .bf-mpe-download {
  background: var(--mpe-accent);
  border: 1px solid var(--mpe-accent);
  color: #ffffff !important;
  padding: 7px 14px;
  text-decoration: none !important;
}
#bf-meal-plan-examples .bf-mpe-close,
#bf-meal-plan-examples .bf-mpe-nav {
  background: color-mix(in srgb, var(--mpe-text) 6%, var(--mpe-page));
  border: 1px solid var(--mpe-border);
  color: var(--mpe-text);
  padding: 7px 12px;
}
#bf-meal-plan-examples .bf-mpe-close:hover,
#bf-meal-plan-examples .bf-mpe-close:focus-visible,
#bf-meal-plan-examples .bf-mpe-nav:hover:not(:disabled),
#bf-meal-plan-examples .bf-mpe-nav:focus-visible {
  background: color-mix(in srgb, var(--mpe-accent) 12%, var(--mpe-page));
  border-color: var(--mpe-accent);
  outline: 0;
}
#bf-meal-plan-examples .bf-mpe-download:hover,
#bf-meal-plan-examples .bf-mpe-download:focus-visible {
  background: color-mix(in srgb, var(--mpe-accent) 86%, #000000 14%);
  border-color: color-mix(in srgb, var(--mpe-accent) 86%, #000000 14%);
  outline: 0;
}
#bf-meal-plan-examples .bf-mpe-download:active,
#bf-meal-plan-examples .bf-mpe-close:active,
#bf-meal-plan-examples .bf-mpe-nav:active:not(:disabled),
#bf-meal-plan-examples .bf-mpe-dot:active { transform: scale(0.96); }
#bf-meal-plan-examples .bf-mpe-nav:disabled { cursor: not-allowed; opacity: 0.45; }
#bf-meal-plan-examples .bf-mpe-modal-body {
  display: grid;
  gap: 10px;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: auto;
  padding: 14px;
}
#bf-meal-plan-examples .bf-mpe-controls {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: center;
  min-height: 40px;
}
#bf-meal-plan-examples .bf-mpe-dots {
  align-items: center;
  display: inline-flex;
  gap: 6px;
  justify-content: center;
}
#bf-meal-plan-examples .bf-mpe-dot {
  background: transparent;
  border: 1px solid var(--mpe-border);
  color: var(--mpe-accent);
  min-width: 40px;
  padding: 0 10px;
}
#bf-meal-plan-examples .bf-mpe-dot[aria-current="true"] {
  background: var(--mpe-accent);
  border-color: var(--mpe-accent);
  color: #ffffff;
}
#bf-meal-plan-examples .bf-mpe-stage {
  display: grid;
  min-height: 0;
  place-items: center;
}
#bf-meal-plan-examples .bf-mpe-stage img {
  background: #ffffff;
  border-radius: 10px;
  display: block;
  height: auto;
  margin: 0 auto;
  max-height: calc(94vh - 160px);
  max-width: 100%;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
  width: auto;
}
html[data-theme="dark"] #bf-meal-plan-examples .bf-mpe-open img,
html[data-theme="dark"] #bf-meal-plan-examples .bf-mpe-stage img {
  outline-color: rgba(255, 255, 255, 0.1);
}
@media (prefers-color-scheme: dark) {
  html[data-theme="system"] #bf-meal-plan-examples .bf-mpe-open img,
  html[data-theme="system"] #bf-meal-plan-examples .bf-mpe-stage img {
    outline-color: rgba(255, 255, 255, 0.1);
  }
}
@media (max-width: 760px) {
  #bf-meal-plan-examples .bf-mpe-grid { grid-template-columns: 1fr; }
  #bf-meal-plan-examples .bf-mpe-modal-header { align-items: flex-start; }
  #bf-meal-plan-examples .bf-mpe-modal-actions { flex-wrap: wrap; justify-content: flex-end; }
  #bf-meal-plan-examples .bf-mpe-download { padding-inline: 10px; }
}
