:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --panel: #ffffff;
  --ink: #18201d;
  --muted: #637069;
  --line: #dfe5dc;
  --brand: #11806f;
  --brand-dark: #102c2d;
  --accent: #f0645a;
  --signal: #68d8c2;
  --shadow: 0 3px 8px -2px rgba(55, 104, 86, 0.52), 0 10px 18px -5px rgba(55, 104, 86, 0.82);
  --topbar-bg: #ffffff;
  --toolbar-bg: rgba(255, 255, 255, 0.76);
  --field-bg: rgba(255, 255, 255, 0.96);
  --brand-tagline-color: #e74536;
  --story-name-color: #9d7428;
  --storybook-card-bg: #fbf6ea;
  --storybook-card-border: rgba(155, 138, 91, 0.34);
  --storybook-label: #8d6c21;
  --theme-soft: rgba(15, 111, 92, 0.08);
  --theme-focus: rgba(15, 111, 92, 0.12);
  --pin-color: #cd6f0f;
  --pin-bg: #fff4d7;
  --pin-border: rgba(154, 107, 24, 0.46);
  --pin-focus: rgba(154, 107, 24, 0.14);
  --favorite-color: #c83131;
  --favorite-bg: #fff0e6;
  --favorite-border: rgba(182, 100, 56, 0.46);
  --favorite-focus: rgba(182, 100, 56, 0.14);
  --card-min: 340px;
  --price-slider-low: #651915;
  --price-slider-high: #e74536;
  --price-slider-track: #d9e1d8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  height: 100vh;
  overflow: visible;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.app-fullscreen {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

body.app-fullscreen .topbar {
  top: 0;
}

body.app-fullscreen .main-layout {
  flex: 1 1 auto;
  min-height: 0;
}

body[data-storybook-theme="fantasy"] {
  --muted: #6f6870;
  --line: #e1dce4;
  --brand: #6f5a7d;
  --brand-dark: #332b3b;
  --accent: #b88763;
  --signal: #78d9b9;
  --shadow: 0 5px 8px -5px rgba(51, 43, 59, 0.18), 0 14px 18px -12px rgba(51, 43, 59, 0.24);
  --brand-tagline-color: #655371;
  --story-name-color: #8e6422;
  --storybook-card-bg: #faf3f8;
  --storybook-card-border: rgba(111, 90, 125, 0.28);
  --storybook-label: #6f5a7d;
  --theme-soft: rgba(111, 90, 125, 0.09);
  --theme-focus: rgba(111, 90, 125, 0.13);
  --pin-color: #c99a24;
  --pin-bg: #fff4cf;
  --pin-border: rgba(201, 154, 36, 0.5);
  --pin-focus: rgba(201, 154, 36, 0.16);
  --favorite-color: #8b6aa3;
  --favorite-bg: #f6eefb;
  --favorite-border: rgba(139, 106, 163, 0.46);
  --favorite-focus: rgba(139, 106, 163, 0.15);
  --price-slider-low: #2f916f;
  --price-slider-high: #6f5a7d;
}

body[data-storybook-theme="western"] {
  --muted: #756959;
  --line: #e5d5bf;
  --brand: #9b6030;
  --brand-dark: #3d2a1d;
  --accent: #b85f45;
  --signal: #b9bf78;
  --shadow: 0 5px 8px -5px rgba(61, 42, 29, 0.2), 0 14px 18px -12px rgba(61, 42, 29, 0.26);
  --brand-tagline-color: #8f572d;
  --story-name-color: #8a562a;
  --storybook-card-bg: #fff2df;
  --storybook-card-border: rgba(155, 96, 48, 0.32);
  --storybook-label: #8a562a;
  --theme-soft: rgba(155, 96, 48, 0.1);
  --theme-focus: rgba(155, 96, 48, 0.15);
  --pin-color: #2f6f64;
  --pin-bg: #e4f0ea;
  --pin-border: rgba(47, 111, 100, 0.48);
  --pin-focus: rgba(47, 111, 100, 0.15);
  --favorite-color: #a95f2d;
  --favorite-bg: #fff0df;
  --favorite-border: rgba(169, 95, 45, 0.46);
  --favorite-focus: rgba(169, 95, 45, 0.15);
  --price-slider-low: #8a562a;
  --price-slider-high: #c99a36;
}

body[data-storybook-theme="none"] {
  --brand-tagline-color: #e74536;
  --price-slider-low: #651915;
  --price-slider-high: #e74536;
}

button,
input,
select {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1100;
  display: grid;
  gap: 2px 18px;
  grid-template-columns: minmax(150px, max-content) minmax(0, 1fr) max-content;
  align-items: start;
  padding: 14px clamp(16px, 3vw, 34px);
  border-bottom: 1px solid rgba(16, 44, 45, 0.16);
  background: var(--topbar-bg);
  box-shadow: 0 10px 30px rgba(24, 32, 29, 0.08), inset 0 0px 0 rgba(255, 255, 255, 0.42);
}

.topbar > * {
  position: relative;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(23px, 2.7vw, 34px);
  line-height: 0.96;
  letter-spacing: 0;
}

.brand-block {
  position: relative;
  display: grid;
  grid-column: 1;
  grid-row: 1 / 3;
  grid-template-columns: max-content;
  align-content: start;
  align-items: start;
  gap: 5px;
  min-width: 0;
}

.brand-left {
  justify-self: start;
  min-width: 0;
}

.brand-right {
  justify-self: center;
  align-self: center;
  min-width: 0;
  max-width: 100%;
}

.brand-block h1 {
  max-width: none;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
}

.brand-lockup-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand-wordmark {
  color: #102c2d;
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(29px, 1.35vw, 40px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
}

.brand-tagline {
  color: var(--brand-tagline-color);
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(9px, 0.82vw, 11px);
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-home-link {
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

.brand-home-link:focus-visible {
  border-radius: 10px;
  box-shadow: 0 0 0 4px var(--theme-focus);
  outline: 0;
}

.partner-line {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: min(100%, 290px);
  margin: 0;
  border: 1px solid rgba(16, 44, 45, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.58);
  color: #d93c31;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
  font-size: 12px;
  box-shadow: 0 4px 12px rgba(24, 32, 29, 0.08);
  backdrop-filter: blur(8px) saturate(1.05);
  cursor: pointer;
  padding: 4px 9px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, color 140ms ease, transform 140ms ease;
}

.partner-line[hidden],
.partner-line:empty {
  display: none;
}

.partner-line a {
  color: inherit;
  text-decoration: none;
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
  text-align: center;
}

.partner-line:hover,
.partner-line:focus,
.partner-line:focus-visible,
.partner-line:focus-within {
  border-color: rgba(217, 60, 49, 0.54);
  background: rgba(255, 246, 237, 0.86);
  box-shadow: 0 0 0 3px rgba(217, 60, 49, 0.12), 0 8px 20px rgba(24, 32, 29, 0.12);
  color: #a92820;
  transform: translateY(1px);
  outline: 0;
}

.partner-line a:hover,
.partner-line a:focus-visible {
  color: #a92820;
  outline: 0;
}

.brand-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
}

#resultSummary {
  grid-column: 2 / 4;
  grid-row: 2;
  display: flex;
  align-items: center;
  align-self: start;
  justify-content: stretch;
  gap: 14px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  min-height: 26px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  justify-self: stretch;
}

#resultSummary.filters-wrapped {
  min-height: 24px;
}

#resultSummary.is-empty {
  display: none;
  min-height: 0;
  margin-top: 0;
}

.summary-count {
  position: fixed;
  left: 18px;
  bottom: 14px;
  z-index: 1800;
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  max-width: min(560px, calc(100vw - 36px));
  overflow: hidden;
  border: 1px solid rgba(213, 222, 211, 0.86);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(24, 32, 29, 0.16);
  color: #3f5049;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  padding: 4px 12px;
  text-align: left;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.summary-count #summaryCountText {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.summary-count-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.summary-count-link:hover,
.summary-count-link:focus-visible {
  color: #0f6f5c;
  text-decoration: none;
}

.summary-count-link:focus-visible {
  border-radius: 3px;
  outline: 2px solid rgba(15, 111, 92, 0.32);
  outline-offset: 2px;
}

.summary-count-link-icon {
  position: absolute;
  top: 50%;
  left: calc(100% + 2px);
  z-index: 1;
  display: inline-flex;
  width: 13px;
  height: 13px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-2px, -44%);
  transition: opacity 140ms ease, transform 140ms ease;
}

.summary-count-link:hover .summary-count-link-icon,
.summary-count-link:focus-visible .summary-count-link-icon {
  opacity: 1;
  transform: translate(0, -44%);
}

.summary-count-link-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.summary-count-separator {
  flex: 0 0 auto;
  margin: 0 5px;
  transition: color 140ms ease;
}

.summary-count-link:hover + .summary-count-separator,
.summary-count-link:focus-visible + .summary-count-separator {
  color: transparent;
}

.summary-count .pager {
  padding: 0;
  padding-left: 8px;
}

.location-pill {
  position: fixed;
  bottom: 14px;
  z-index: 2100;
  display: flex;
  align-items: center;
  min-height: 32px;
  max-width: min(340px, calc(100vw - 36px));
  overflow: hidden;
  border: 1px solid rgba(213, 222, 211, 0.86);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(24, 32, 29, 0.16);
  color: #3f5049;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  padding: 8px 12px;
  text-align: left;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.location-pill[hidden] {
  display: none;
}

.location-pill span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.timer-stack {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2800;
  display: grid;
  gap: 8px;
  width: min(320px, calc(100vw - 36px));
  pointer-events: none;
}

.timer-stack[hidden] {
  display: none;
}

.timer-stack.limit-hit {
  animation: timerLimitShake 180ms ease;
}

.cooking-timer {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(213, 222, 211, 0.94);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(24, 32, 29, 0.18);
  padding: 10px;
  pointer-events: auto;
  touch-action: none;
  backdrop-filter: blur(14px);
}

.cooking-timer.minimized {
  gap: 0;
  padding-block: 8px;
}

.cooking-timer.is-dragged {
  position: fixed;
  width: min(320px, calc(100vw - 36px));
}

.cooking-timer.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.cooking-timer:not(.is-dragging) {
  cursor: grab;
}

.cooking-timer.done {
  border-color: rgba(188, 94, 40, 0.42);
  background: rgba(255, 242, 225, 0.96);
}

.timer-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.timer-copy span {
  display: grid;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}

.timer-copy span small,
.timer-copy span strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timer-copy span small {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.1;
  text-transform: none;
}

.timer-copy span strong {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.timer-copy-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.timer-copy button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(213, 222, 211, 0.94);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  touch-action: manipulation;
}

.timer-minimized-time {
  display: none;
  color: var(--brand-dark);
  font-size: 17px;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.cooking-timer.minimized .timer-copy {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.cooking-timer.minimized .timer-minimized-time {
  display: block;
}

.cooking-timer.minimized.running .timer-minimized-time {
  color: #9b4f1e;
}

.timer-actions {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
}

.timer-actions button {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 38px;
  border: 1px solid rgba(213, 222, 211, 0.94);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  touch-action: manipulation;
}

.timer-actions button[data-toggle-timer] {
  align-self: start;
  height: 16px;
  border: 0;
  background: transparent;
  color: var(--brand-dark);
}

.timer-main {
  display: grid;
  grid-template-rows: minmax(0, 1fr) 16px;
  align-items: center;
  justify-items: center;
  min-width: 0;
  height: 58px;
  border: 1px solid rgba(15, 111, 92, 0.24);
  border-radius: 999px;
  background: rgba(15, 111, 92, 0.1);
  color: var(--brand-dark);
}

.cooking-timer.running .timer-main {
  border-color: rgba(218, 126, 50, 0.48);
  background: rgba(255, 238, 215, 0.96);
  color: #9b4f1e;
}

.timer-time-input {
  grid-row: 1;
  align-self: end;
  width: 142px;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.timer-time-input:focus {
  border-color: rgba(15, 111, 92, 0.34);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(15, 111, 92, 0.1);
  outline: 0;
}

.timer-time-input.invalid {
  border-color: rgba(188, 94, 40, 0.5);
  box-shadow: 0 0 0 3px rgba(188, 94, 40, 0.12);
}

.timer-actions button[data-toggle-timer] span {
  display: block;
  color: var(--brand-dark);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.cooking-timer.running .timer-actions button[data-toggle-timer] span {
  color: #9b4f1e;
}

.timer-actions button:hover,
.timer-actions button:focus-visible,
.timer-copy button:hover,
.timer-copy button:focus-visible,
.timer-main:focus-within {
  border-color: rgba(15, 111, 92, 0.34);
  box-shadow: 0 0 0 3px rgba(15, 111, 92, 0.1);
  outline: 0;
}

.tour-start-button {
  position: relative;
  align-self: end;
  justify-self: end;
  display: grid;
  place-items: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field-bg);
  color: var(--brand-dark);
  box-shadow: 0 6px 16px rgba(24, 32, 29, 0.06);
  cursor: pointer;
}

.tour-start-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.tour-start-button:hover,
.tour-start-button:focus-visible {
  border-color: rgba(15, 111, 92, 0.34);
  background: rgba(17, 128, 111, 0.08);
  box-shadow: 0 0 0 3px rgba(15, 111, 92, 0.1);
  outline: 0;
}

.tour-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: transparent;
  pointer-events: none;
}

.tour-spotlight {
  position: fixed;
  z-index: 5001;
  border: 2px solid rgba(17, 128, 111, 0.86);
  border-radius: 8px;
  box-shadow: 0 0 0 9999px rgba(16, 24, 22, 0.36), 0 12px 32px rgba(16, 24, 22, 0.22);
  pointer-events: none;
  transition: left 180ms ease, top 180ms ease, width 180ms ease, height 180ms ease, opacity 120ms ease;
}

.tour-popover {
  position: fixed;
  z-index: 5002;
  width: min(360px, calc(100vw - 28px));
  border: 1px solid rgba(15, 111, 92, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(24, 32, 29, 0.22);
  padding: 16px;
  color: var(--ink);
}

.tour-popover.is-interactive {
  border-color: rgba(182, 100, 56, 0.36);
}

.tour-popover.is-complete {
  border-color: rgba(17, 128, 111, 0.52);
  box-shadow: 0 18px 44px rgba(24, 32, 29, 0.2), 0 0 0 4px rgba(17, 128, 111, 0.12);
}

.tour-popover.is-compact-complete {
  width: min(260px, calc(100vw - 28px));
  padding: 12px;
}

.tour-popover.is-compact-complete h2 {
  font-size: 16px;
}

.tour-popover.is-compact-complete p,
.tour-popover.is-compact-complete .tour-progress {
  display: none;
}

.tour-popover.is-compact-complete .tour-actions {
  margin-top: 10px;
}

.tour-step-label {
  margin-bottom: 7px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.tour-popover.is-interactive .tour-step-label::after {
  content: "Try it";
  display: inline-block;
  margin-left: 8px;
  border: 1px solid rgba(182, 100, 56, 0.36);
  border-radius: 999px;
  background: rgba(255, 240, 230, 0.94);
  color: var(--favorite-color);
  padding: 3px 7px;
  font-size: 10px;
  letter-spacing: 0.02em;
}

.tour-popover.is-complete .tour-step-label::after {
  content: "Done";
  border-color: rgba(17, 128, 111, 0.34);
  background: rgba(17, 128, 111, 0.1);
  color: var(--brand);
}

.tour-popover h2 {
  color: var(--brand-dark);
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.08;
}

.tour-popover p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.38;
}

.tour-progress {
  height: 5px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 111, 92, 0.12);
}

.tour-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width 180ms ease;
}

.tour-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.tour-actions > div {
  display: flex;
  gap: 8px;
}

.tour-text-button,
.tour-primary-button {
  min-height: 36px;
  border-radius: 8px;
  padding: 0 13px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.tour-text-button {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
}

.tour-primary-button {
  border: 1px solid rgba(15, 111, 92, 0.28);
  background: var(--brand-dark);
  color: #fff;
}

.tour-text-button:hover,
.tour-text-button:focus-visible,
.tour-primary-button:hover,
.tour-primary-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(15, 111, 92, 0.12);
  outline: 0;
}

.tour-text-button:disabled {
  cursor: default;
  opacity: 0.38;
}

@keyframes timerLimitShake {
  0%,
  100% { transform: translateX(0); }
  35% { transform: translateX(-6px); }
  70% { transform: translateX(5px); }
}

.summary-filters {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap:6px;
  min-height: 26px;
  max-height: 26px;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}

#resultSummary.filters-wrapped .summary-filters {
  max-height: none;
}

.filter-chip {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 210px;
  height: 26px;
  overflow: hidden;
  border: 1px solid #c9cec8;
  border-radius: 6px;
  background: #eef0ed;
  color: #55615b;
  box-shadow: none;
  padding: 0 10px;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 24px;
}

.filter-chip:hover,
.filter-chip:focus-visible {
  border-color: #9daa91;
  background: #d9dec9;
  outline: 0;
}

.results-loading-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  border: 1px solid rgba(15, 111, 92, 0.24);
  border-radius: 999px;
  background: rgba(234, 245, 240, 0.96);
  color: var(--brand-dark);
  padding: 0 10px 0 8px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.results-loading-spinner {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(15, 111, 92, 0.18);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: resultsSpin 720ms linear infinite;
}

@keyframes resultsSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .results-loading-spinner {
    animation: none;
  }
}

.filter-chip:not(.is-static):not(.is-inactive):nth-of-type(4n + 1) {
  border-color: #c9cec8;
  background: #eef0ed;
  color: #55615b;
}

.filter-chip:not(.is-static):not(.is-inactive):nth-of-type(4n + 2) {
  border-color: #c9cec8;
  background: #eef0ed;
  color: #55615b;
}

.filter-chip:not(.is-static):not(.is-inactive):nth-of-type(4n + 3) {
  border-color: #c9cec8;
  background: #eef0ed;
  color: #55615b;
}

.filter-chip:not(.is-static):not(.is-inactive):nth-of-type(4n + 4) {
  border-color: #c9cec8;
  background: #eef0ed;
  color: #55615b;
}

.filter-chip:not(.is-static):not(.is-inactive):nth-of-type(4n + 1):hover,
.filter-chip:not(.is-static):not(.is-inactive):nth-of-type(4n + 1):focus-visible {
  border-color: #9daa91;
  background: #d9dec9;
  color: #425543;
}

.filter-chip:not(.is-static):not(.is-inactive):nth-of-type(4n + 2):hover,
.filter-chip:not(.is-static):not(.is-inactive):nth-of-type(4n + 2):focus-visible {
  border-color: #b79f78;
  background: #e6d5b8;
  color: #65533b;
}

.filter-chip:not(.is-static):not(.is-inactive):nth-of-type(4n + 3):hover,
.filter-chip:not(.is-static):not(.is-inactive):nth-of-type(4n + 3):focus-visible {
  border-color: #95aaa5;
  background: #d3dfda;
  color: #3f5854;
}

.filter-chip:not(.is-static):not(.is-inactive):nth-of-type(4n + 4):hover,
.filter-chip:not(.is-static):not(.is-inactive):nth-of-type(4n + 4):focus-visible {
  border-color: #b58d84;
  background: #dfc8c2;
  color: #68433d;
}

.filter-chip.is-inactive {
  border-color: #c27d64;
  border-style: dashed;
  background: #f1d5c7;
  color: #8f3f2b;
  box-shadow: none;
  opacity: 0.78;
  text-decoration: line-through;
}

.filter-chip.is-inactive:hover,
.filter-chip.is-inactive:focus-visible {
  border-color: #ac5e43;
  background: #e9bfae;
  color: #743019;
  opacity: 1;
}

.filter-chip.is-static {
  border-color: #d8c9ad;
  background: #eee3cd;
  color: #6a5740;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

.clear-filters {
  flex: 0 0 auto;
  height: 26px;
  border: 1px solid #c9cec8;
  border-radius: 999px;
  background: #eef0ed;
  color: #5b615d;
  box-shadow: none;
  padding: 0 10px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  line-height: 24px;
}

.clear-filters:hover,
.clear-filters:focus-visible {
  border-color: #b9867c;
  background: #dfc0b8;
  color: #7d413a;
  outline: 0;
}

.toolbar {
  display: grid;
  gap: 9px;
  align-items: end;
  border: 1px solid rgba(223, 229, 220, 0.84);
  border-radius: 8px;
  background: var(--toolbar-bg);
  box-shadow: 0 6px 18px rgba(24, 32, 29, 0.055);
  padding: 10px;
}

.filter-panel {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  grid-template-columns: minmax(240px, 1fr) 237px 37px;
  align-items: end;
  justify-self: stretch;
  width: 100%;
}

.filter-options-toggle {
  position: relative;
  display: grid;
  grid-column: 3;
  grid-row: 1;
  align-self: end;
  justify-self: end;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 6px;
  background: var(--field-bg);
  color: var(--brand-dark);
  cursor: pointer;
  transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.filter-options-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.filter-options-toggle:hover,
.filter-options-toggle:focus-visible,
.filter-options-toggle[aria-expanded="true"] {
  border-color: color-mix(in srgb, var(--brand) 42%, transparent);
  background: var(--theme-soft);
  box-shadow: 0 0 0 3px var(--theme-focus);
  outline: 0;
}

.filter-options-toggle::after,
.view-options-toggle::after,
.account-sync-toggle::after,
.tour-start-button::after {
  position: absolute;
  z-index: 2200;
  top: calc(100% + 7px);
  left: 50%;
  content: attr(data-tooltip);
  min-width: max-content;
  border: 1px solid rgba(16, 44, 45, 0.14);
  border-radius: 6px;
  background: rgba(16, 44, 45, 0.94);
  color: #fff;
  box-shadow: 0 8px 18px rgba(24, 32, 29, 0.18);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  padding: 7px 8px;
  pointer-events: none;
  text-transform: none;
  transform: translateX(-50%) translateY(-2px);
  transition: opacity 120ms ease, transform 120ms ease;
  white-space: nowrap;
}

.filter-options-toggle:hover::after,
.filter-options-toggle:focus-visible::after,
.view-options-toggle:hover::after,
.view-options-toggle:focus-visible::after,
.account-sync-toggle:hover::after,
.account-sync-toggle:focus-visible::after,
.tour-start-button:hover::after,
.tour-start-button:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.filter-options-toggle[aria-expanded="true"]::after,
.view-options-toggle[aria-expanded="true"]::after {
  opacity: 0;
}

.filter-options-panel {
  position: absolute;
  z-index: 1250;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 14px 12px;
  width: min(520px, calc(100vw - 24px));
  border: 2px solid rgba(223, 229, 220, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(24, 32, 29, 0.16);
  padding: 14px;
}

.filter-options-panel.open {
  display: grid;
}

.filter-options-panel .price-range-field {
  grid-column: 1 / -1;
}

.filter-options-panel .storybook-field {
  margin-top: 4px;
}

.filter-panel .search-field {
  grid-column: 1;
  grid-row: 1;
}

.filter-panel .primary-filter-field {
  grid-column: 2;
  grid-row: 1;
}

.filter-panel > .primary-filter-field > span {
  display: none;
}

.filter-panel > .primary-filter-field {
  align-self: end;
}

.search-field > span,
.display-panel .sort-field > span {
  display: none;
}

.mobile-filter-action-row {
  display: none;
}

.view-action-row {
  display: contents;
}

.display-panel {
  grid-column: 3;
  grid-row: 1;
  position: relative;
  grid-template-columns: 74px minmax(104px, 1fr) 42px 42px;
  align-items: end;
  justify-self: start;
  /* Preserve the action-button columns while making the sort dropdown 20% wider. */
  width: min(100%, 368px);
}

.display-panel > .art-field {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  justify-items: center;
}

.account-sync-toggle {
  grid-column: 4;
  grid-row: 1;
  align-self: end;
  justify-self: end;
}

.display-panel.has-fullscreen-control {
  grid-template-columns: 74px minmax(104px, 1fr) 42px 42px 42px;
  width: min(100%, 410px);
}

.fullscreen-toggle {
  grid-column: 5;
  grid-row: 1;
  align-self: end;
  justify-self: end;
  display: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 6px;
  background: var(--field-bg);
  color: var(--brand-dark);
  box-shadow: 0 6px 18px rgba(24, 32, 29, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease, color 120ms ease;
}

.fullscreen-toggle svg {
  grid-area: 1 / 1;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.fullscreen-toggle:hover,
.fullscreen-toggle:focus-visible {
  border-color: color-mix(in srgb, var(--brand) 42%, transparent);
  background: var(--theme-soft);
  box-shadow: 0 0 0 3px var(--theme-focus), 0 8px 20px rgba(24, 32, 29, 0.1);
  outline: 0;
}

.fullscreen-toggle[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--brand) 46%, transparent);
  background: var(--theme-soft);
  color: var(--brand);
}

.fullscreen-toggle .fullscreen-exit-icon {
  display: none;
}

.fullscreen-toggle[aria-pressed="true"] .fullscreen-enter-icon {
  display: none;
}

.fullscreen-toggle[aria-pressed="true"] .fullscreen-exit-icon {
  display: block;
}

.fullscreen-toggle[hidden] {
  display: none;
}

.display-panel .sort-field {
  grid-column: 2;
  grid-row: 1;
  position: relative;
}

.storybook-field,
.sort-field {
  position: relative;
}

.storybook-field select,
.sort-field select {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.native-sort-select,
.native-menu-select {
  display: none;
}

.view-options-toggle {
  grid-column: 3;
  grid-row: 1;
  align-self: end;
  margin-top: 0;
}

.pinned-tray {
  position: fixed;
  right: 10px;
  bottom: 14px;
  z-index: 2400;
  display: flex;
  align-items: center;
  gap: 8px;
  width: var(--pinned-tray-width, min(590px, calc(100vw - 12px)));
  max-width: calc(100vw - 12px);
  overflow: visible;
  border: 1px solid rgba(213, 222, 211, 0.88);
  border-radius: 999px;
  background: rgba(249, 188, 27);
  padding: 11px 7px 11px;
  box-shadow: 0 14px 34px rgba(24, 32, 29, 0.18);
  backdrop-filter: blur(12px);
  transition: width 420ms cubic-bezier(0.2, 0.76, 0.22, 1), padding 420ms cubic-bezier(0.2, 0.76, 0.22, 1), box-shadow 240ms ease;
}

.pinned-tray.collapsed {
  width: 71px;
  padding: 7px;
}

.pinned-tray.focus-only,
.pinned-tray.focus-only.collapsed {
  width: 55px;
  max-width: 55px;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.pinned-tray.shopping-only,
.pinned-tray.shopping-only.collapsed {
  width: 55px;
  max-width: 55px;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.pinned-tray.is-disabled {
  pointer-events: none;
  background: rgb(163, 145, 97);
}

.pinned-tray.is-pin-disabled:not(.focus-only) {
  background: rgb(163, 145, 97);
}

.pinned-tray.is-disabled .pinned-tray-toggle,
.pinned-tray.is-disabled .pinned-tray-focus-button,
.pinned-tray.is-disabled .pinned-tray-thumb,
.pinned-tray.is-disabled .pinned-tray-remove,
.pinned-tray.is-disabled .pinned-tray-clear {
  cursor: not-allowed;
  opacity: 0.48;
  filter: grayscale(0.25);
}

.pinned-tray.is-pin-disabled .pinned-tray-toggle,
.pinned-tray.is-pin-disabled .pinned-tray-thumb,
.pinned-tray.is-pin-disabled .pinned-tray-remove,
.pinned-tray.is-pin-disabled .pinned-tray-clear {
  cursor: not-allowed;
  opacity: 0.48;
  filter: grayscale(0.25);
}

.pinned-tray-toggle {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border: 3px solid #c87d38;
  border-radius: 999px;
  background: var(--pin-bg);
  color: var(--pin-color);
  cursor: pointer;
  font: inherit;
  padding: 0;
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.pinned-tray-shopping-button {
  position: fixed;
  right: 10px;
  bottom: 14px;
  z-index: 2400;
  display: none;
  place-items: center;
  width: 71px;
  height: 71px;
  border: 1px solid rgba(15, 111, 92, 0.34);
  border-radius: 999px;
  background: #809995;
  color: var(--brand-dark);
  cursor: pointer;
  padding: 8px;
  box-shadow: 0 12px 30px rgba(24, 32, 29, 0.16);
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.pinned-tray-shopping-button::before {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(15, 111, 92, 0.24);
  border-radius: inherit;
  background: #fffdf8;
  content: "";
}

.pinned-tray-shopping-button[hidden] {
  display: none;
}

body:has(.drawer.open) .pinned-tray-shopping-button:not([hidden]),
body:has(.pinned-drawer-deck:not([hidden])) .pinned-tray-shopping-button:not([hidden]) {
  display: grid;
}

body:has(.shopping-list-modal:not([hidden])) .pinned-tray-shopping-button {
  display: none !important;
}

body:has(.shopping-list-modal:not([hidden])) .pinned-tray {
  display: none !important;
}

@media (min-width: 901px) {
  .pinned-tray {
    height: 67px;
    padding-block: 5px;
  }

  .pinned-tray.collapsed {
    width: 55px;
    height: 55px;
    padding: 0;
  }

  .pinned-tray.focus-only,
  .pinned-tray.focus-only.collapsed,
  .pinned-tray.shopping-only,
  .pinned-tray.shopping-only.collapsed {
    height: 55px;
  }

  .pinned-tray.collapsed .pinned-tray-focus-button {
    right: 0;
  }

  .pinned-tray .pinned-tray-scrollbar {
    bottom: 1px;
    height: 3px;
  }

  .pinned-tray-shopping-button {
    width: 55px;
    height: 55px;
    padding: 0;
  }

  .pinned-tray-shopping-button svg {
    width: 26px;
    height: 26px;
  }

  body:has(.drawer.open) .pinned-tray-shopping-button,
  body:has(.pinned-drawer-deck:not([hidden])) .pinned-tray-shopping-button {
    display: none;
  }

  body:has(.drawer.open) .split-handle,
  body:has(.pinned-drawer-deck:not([hidden])) .split-handle {
    position: relative;
    z-index: 2400;
  }
}

.pinned-tray.is-shopping-modal-disabled {
  pointer-events: none;
  opacity: 0.52;
  filter: grayscale(0.45) saturate(0.65);
}

.pinned-tray-shopping-button svg {
  position: relative;
  z-index: 1;
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.pinned-tray-shopping-button:hover,
.pinned-tray-shopping-button:focus-visible {
  border-color: rgba(15, 111, 92, 0.44);
  background: #67e165;
  box-shadow: 0 0 0 3px rgba(15, 111, 92, 0.14), 0 14px 34px rgba(24, 32, 29, 0.18);
  outline: 0;
  transform: translateY(-1px);
}

.pinned-tray-focus-button {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  aspect-ratio: 1;
  width: 55px;
  height: 55px;
  border: 1px solid rgba(15, 20, 111, 0.28);
  border-radius: 50%;
  background: #6593be;
  color: var(--brand-dark);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 12px 30px rgba(24, 32, 29, 0.16);
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.pinned-tray.focus-only .pinned-tray-focus-button {
  position: static;
}

.pinned-tray-focus-button::before,
.shopping-list-floating-focus-button::before {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(15, 111, 92, 0.24);
  border-radius: inherit;
  background: #fffdf8;
  content: "";
}

.pinned-tray-focus-button svg {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.pinned-tray-focus-button:hover,
.pinned-tray-focus-button:focus-visible {
  border-color: rgba(15, 111, 92, 0.44);
  background: #67e165;
  box-shadow: 0 0 0 3px rgba(15, 111, 92, 0.14), 0 14px 34px rgba(24, 32, 29, 0.18);
  outline: 0;
  transform: translateY(-1px);
}

.pinned-tray-focus-button.is-flashing {
  animation: focus-button-flash 760ms ease-in-out infinite;
}

@keyframes focus-button-flash {
  0%,
  100% {
    border-color: rgba(15, 111, 92, 0.28);
    background: #fff;
    box-shadow: 0 12px 30px rgba(24, 32, 29, 0.16);
    transform: translateY(0) scale(1);
  }

  50% {
    border-color: rgba(240, 100, 90, 0.72);
    background: var(--accent);
    box-shadow: 0 0 0 13px rgba(240, 100, 90, 0.34), 0 18px 42px rgba(24, 32, 29, 0.24);
    color: #fff;
    transform: translateY(-3px) scale(1.09);
  }
}

.pinned-tray-focus-button[aria-pressed="true"] {
  border-color: var(--pin-border);
  background: #5497b6;
  color: #123123;
  box-shadow: 0 0 0 3px rgba(209, 168, 87, 0.28), 0 14px 34px rgba(24, 32, 29, 0.18);
}

@media (prefers-reduced-motion: reduce) {
  .pinned-tray-focus-button.is-flashing {
    animation: none;
    border-color: rgba(240, 100, 90, 0.72);
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 0 8px rgba(240, 100, 90, 0.3), 0 14px 34px rgba(24, 32, 29, 0.18);
  }
}

.pinned-tray-toggle:hover,
.pinned-tray-toggle:focus-visible {
  border-color: var(--pin-border);
  background: var(--panel);
  box-shadow: 0 0 0 3px var(--pin-focus);
  outline: 0;
  transform: translateY(-1px);
}

.pinned-tray-toggle-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
}

.pinned-tray-toggle-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.pinned-tray-strip {
  min-width: 0;
  flex: 1 1 auto;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  padding-right: 10px;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 300ms ease, transform 420ms cubic-bezier(0.2, 0.76, 0.22, 1), max-width 420ms cubic-bezier(0.2, 0.76, 0.22, 1);
}

.pinned-tray.collapsed .pinned-tray-strip {
  max-width: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(12px);
}

.pinned-tray.collapsed .pinned-tray-clear {
  display: none;
}

.pinned-tray-strip::-webkit-scrollbar {
  display: none;
}

.pinned-tray-scrollbar {
  position: absolute;
  right: 18px;
  bottom: 7px;
  left: 78px;
  display: none;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(5, 38, 31, 0.14);
  cursor: pointer;
  touch-action: none;
}

.pinned-tray.has-overflow .pinned-tray-scrollbar {
  display: block;
}

.pinned-tray.has-clear .pinned-tray-scrollbar {
  right: 84px;
}

.pinned-tray.collapsed .pinned-tray-scrollbar {
  display: none;
}

.pinned-tray-scrollbar span {
  display: block;
  width: 34px;
  height: 100%;
  border-radius: inherit;
  background: rgba(5, 38, 31, 0.46);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.54) inset;
  transition: transform 80ms linear, width 80ms linear;
  cursor: grab;
}

.pinned-tray.scrollbar-dragging .pinned-tray-scrollbar span {
  cursor: grabbing;
  transition: width 80ms linear;
}

.pinned-tray[hidden] {
  display: none;
}

.pinned-tray-item {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  align-items: center;
}

.pinned-tray-thumb {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 74px;
  height: 55px;
  overflow: hidden;
  border: 2px solid #794f26;
  border-radius: 999px;
  background: #e7ece7;
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
  padding: 0;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.pinned-tray-thumb img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transition: filter 180ms ease;
}

.pinned-tray-thumb img.storybook-locked {
  filter: saturate(0.5);
}

.pinned-tray-thumb img.storybook-unlocked {
  filter: saturate(1);
}

.pinned-tray-item.active .pinned-tray-thumb,
.pinned-tray-thumb:hover,
.pinned-tray-thumb:focus-visible {
  border-color: color-mix(in srgb, var(--pin-color) 82%, transparent);
  box-shadow: 0 0 0 3px var(--pin-focus);
  outline: 0;
  transform: translateY(-1px);
}

.pinned-tray-item.active .pinned-tray-thumb {
  border-color: color-mix(in srgb, var(--pin-color) 92%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--pin-bg) 82%, #fff);
}

.pinned-tray-item.active .pinned-tray-thumb::after {
  position: absolute;
  right: 6px;
  bottom: 5px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--pin-color) 86%, #102c2d);
  color: #fff;
  content: "Open";
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
  padding: 3px 6px;
  box-shadow: 0 2px 8px rgba(24, 32, 29, 0.22);
}

.pinned-tray-tooltip {
  position: fixed;
  z-index: 2600;
  width: max-content;
  max-width: min(260px, 72vw);
  border: 1px solid rgba(16, 44, 45, 0.14);
  border-radius: 8px;
  background: rgba(16, 44, 45, 0.94);
  box-shadow: 0 8px 18px rgba(24, 32, 29, 0.18);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  opacity: 0;
  padding: 7px 9px;
  pointer-events: none;
  text-align: center;
  transform: translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
  white-space: normal;
}

.pinned-tray-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pinned-tray-clear {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  min-width: 56px;
  height: 38px;
  border: 1px solid rgba(154, 60, 52, 0.28);
  border-radius: 999px;
  background: rgba(255, 247, 244, 0.96);
  color: #9a3c34;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  padding: 0 12px;
  margin-right: 10px;
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.pinned-tray-clear:hover,
.pinned-tray-clear:focus-visible {
  border-color: rgba(154, 60, 52, 0.5);
  background: #fff0eb;
  box-shadow: 0 0 0 3px rgba(154, 60, 52, 0.14);
  outline: 0;
  transform: translateY(-1px);
}

.pinned-tray-remove {
  position: absolute;
  top: 0px;
  right: -5px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(154, 60, 52, 0.28);
  border-radius: 50%;
  background: rgba(255, 247, 244, 0.96);
  color: #9a3c34;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  padding: 0;
}

.view-options-toggle,
.account-sync-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 36px;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 6px;
  background: var(--field-bg);
  color: var(--brand-dark);
  cursor: pointer;
  transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.view-options-toggle svg,
.account-sync-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.account-sync-toggle .account-chef-icon {
  width: 26px;
  height: 26px;
  stroke-width: 1.55;
}

.account-sync-toggle .account-chef-face {
  fill: #e74536;
}

.view-options-toggle:hover,
.view-options-toggle:focus-visible,
.view-options-toggle[aria-expanded="true"],
.account-sync-toggle:hover,
.account-sync-toggle:focus-visible {
  border-color: color-mix(in srgb, var(--brand) 42%, transparent);
  background: var(--theme-soft);
  box-shadow: 0 0 0 3px var(--theme-focus);
  outline: 0;
}

.view-options-panel {
  position: absolute;
  z-index: 1200;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(190px, 1.2fr) minmax(150px, 1fr);
  gap: 8px;
  width: min(700px, calc(100vw - 32px));
  border: 2px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 100%, #ffffff);
  box-shadow: 0 18px 40px rgba(24, 32, 29, 0.16);
  padding: 12px;
}

.view-options-panel .field {
  grid-template-rows: 13px 36px 11px;
  gap: 5px;
}

.view-options-panel > .detail-field,
.view-options-panel > .zoom-field,
.view-options-panel > .measurement-system-field {
  min-width: 0;
}

.view-options-panel > .detail-field {
  width: 100%;
}

.view-options-panel > .measurement-system-field {
  width: 100%;
}

.view-options-panel > .zoom-field {
  width: 100%;
}

.view-options-panel > .view-action-row {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 210px repeat(5, minmax(62px, 1fr));
  gap: 8px;
  align-items: end;
  justify-content: space-between;
  padding-top: 2px;
}

.view-options-panel > .view-action-row > .field {
  justify-items: center;
  width: 100%;
}

.view-options-panel > .view-action-row > .language-field {
  justify-items: stretch;
}

.view-options-panel > .view-action-row > .language-field .check-menu summary {
  padding-inline: 9px 24px;
}

.view-options-panel > .view-action-row > .language-field #languageSummary {
  gap: 5px;
}

.view-options-panel > .view-action-row > .language-field .language-option-name {
  max-width: 142px;
}

.view-options-panel > .view-action-row > .language-field > span {
  justify-self: start;
  text-align: left;
}

.view-options-panel > .view-action-row > .field > span {
  text-align: center;
}

.view-options-panel > .view-action-row button {
  justify-self: center;
}

.view-options-panel .holiday-cards-toggle,
.view-options-panel .recipe-art-toggle,
.view-options-panel .pinned-filter-button,
.view-options-panel .favorite-filter-button,
.view-options-panel .tour-start-button,
.view-options-panel .display-reset-button {
  width: 34px;
  min-width: 34px;
  height: 34px;
}

.view-options-panel .holiday-cards-toggle svg,
.view-options-panel .recipe-art-toggle svg,
.view-options-panel .pinned-filter-button svg,
.view-options-panel .favorite-filter-button svg,
.view-options-panel .tour-start-button svg,
.view-options-panel .display-reset-button svg {
  width: 19px;
  height: 19px;
}

.view-options-panel[hidden] {
  display: none;
}

.field {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.dropdown-field {
  min-width: 0;
  overflow: visible;
}

.field span {
  color: #526159;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.field input,
.field select,
.check-menu summary,
.holiday-cards-toggle,
.recipe-art-toggle,
.pinned-filter-button,
.favorite-filter-button,
.mobile-filter-reset-button,
.display-reset-button {
  min-width: 0;
  width: 100%;
  height: 36px;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 6px;
  background: var(--field-bg);
  color: var(--ink);
  padding: 0 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.field select {
  appearance: none;
  cursor: pointer;
  padding-right: 30px;
}

.storybook-field::after,
.sort-field::after {
  position: absolute;
  right: 10px;
  top: 31px;
  content: "⌄";
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.storybook-field::after,
.sort-field::after {
  content: none;
}

.field input:hover,
.field select:hover,
.check-menu summary:hover,
.holiday-cards-toggle:hover,
.recipe-art-toggle:hover,
.pinned-filter-button:hover,
.favorite-filter-button:hover,
.mobile-filter-reset-button:hover,
.display-reset-button:hover {
  border-color: color-mix(in srgb, var(--brand) 30%, transparent);
  background: var(--panel);
}

.field input:focus,
.field select:focus,
.check-menu summary:focus-visible,
.holiday-cards-toggle:focus-visible,
.recipe-art-toggle:focus-visible,
.pinned-filter-button:focus-visible,
.favorite-filter-button:focus-visible,
.mobile-filter-reset-button:focus-visible,
.display-reset-button:focus-visible {
  border-color: color-mix(in srgb, var(--brand) 50%, transparent);
  box-shadow: 0 0 0 3px var(--theme-focus);
  outline: 0;
}

.holiday-cards-toggle,
.recipe-art-toggle,
.pinned-filter-button,
.favorite-filter-button,
.mobile-filter-reset-button,
.display-reset-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  appearance: none;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
}

.mobile-filter-reset-button {
  width: 36px;
  color: var(--brand);
}

.holiday-cards-toggle svg,
.recipe-art-toggle svg,
.pinned-filter-button svg,
.favorite-filter-button svg,
.mobile-filter-reset-button svg,
.display-reset-button svg {
  width: 21px;
  height: 21px;
}

.mobile-filter-reset-button svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.mobile-filter-reset-spacer {
  visibility: hidden;
}

.display-reset-button svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.holiday-cards-toggle,
.recipe-art-toggle,
.pinned-filter-button,
.favorite-filter-button {
  color: #627069;
}

.holiday-cards-toggle svg,
.recipe-art-toggle svg,
.pinned-filter-button svg,
.favorite-filter-button svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.holiday-cards-toggle[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--brand) 46%, transparent);
  background: var(--theme-soft);
  color: var(--brand-dark);
  box-shadow: 0 0 0 3px var(--theme-focus);
}

.holiday-cards-toggle[aria-pressed="false"] {
  color: #8a948f;
  opacity: 0.72;
}

.recipe-art-toggle[aria-pressed="false"] {
  color: #8a948f;
  opacity: 0.72;
}

.recipe-art-toggle[aria-pressed="true"] {
  border-color: color-mix(in srgb, #b7791f 55%, transparent);
  background: color-mix(in srgb, #f3d89d 38%, var(--field-bg));
  color: #825313;
  box-shadow: 0 0 0 3px color-mix(in srgb, #d8a848 24%, transparent);
}

.display-panel > .art-field,
.filter-panel > .art-field,
.view-options-panel > .art-field {
  display: grid;
  place-items: center;
}

.display-panel .art-field .recipe-art-toggle,
.filter-panel > .art-field .recipe-art-toggle,
.view-options-panel .art-field .recipe-art-toggle {
  position: relative;
  display: block;
  justify-self: center;
  width: 70px;
  min-width: 70px;
  height: 34px;
  overflow: visible;
  border: 1px solid #bdc7c0;
  border-radius: 999px;
  background: #d9dfdb;
  padding: 2px;
  color: inherit;
  box-shadow: inset 0 1px 3px rgba(24, 32, 29, 0.14);
  opacity: 1;
}

.display-panel .art-field .recipe-art-toggle-label,
.filter-panel > .art-field .recipe-art-toggle-label,
.view-options-panel .art-field .recipe-art-toggle-label {
  color: #59655f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}

.display-panel .art-field .recipe-art-toggle-knob,
.filter-panel > .art-field .recipe-art-toggle-knob,
.view-options-panel .art-field .recipe-art-toggle-knob {
  display: grid;
  place-items: center;
  position: absolute;
  top: 2px;
  left: 2px;
  z-index: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(24, 32, 29, 0.28);
  transform: translateX(0);
  transition: transform 160ms ease;
}

.display-panel .art-field .recipe-art-toggle[aria-pressed="true"],
.filter-panel > .art-field .recipe-art-toggle[aria-pressed="true"],
.view-options-panel .art-field .recipe-art-toggle[aria-pressed="true"] {
  border-color: #9b6a20;
  background: #d7a846;
  box-shadow: inset 0 1px 3px rgba(86, 53, 10, 0.18);
}

.display-panel .art-field .recipe-art-toggle[aria-pressed="true"] .recipe-art-toggle-label,
.filter-panel > .art-field .recipe-art-toggle[aria-pressed="true"] .recipe-art-toggle-label,
.view-options-panel .art-field .recipe-art-toggle[aria-pressed="true"] .recipe-art-toggle-label {
  color: #5f3c0e;
}

.display-panel .art-field .recipe-art-toggle[aria-pressed="true"] .recipe-art-toggle-knob,
.filter-panel > .art-field .recipe-art-toggle[aria-pressed="true"] .recipe-art-toggle-knob,
.view-options-panel .art-field .recipe-art-toggle[aria-pressed="true"] .recipe-art-toggle-knob {
  transform: translateX(36px);
}

.pinned-filter-button[aria-pressed="false"],
.favorite-filter-button[aria-pressed="false"] {
  color: #8a948f;
  opacity: 0.72;
}

.pinned-filter-button[aria-pressed="true"] {
  border-color: var(--pin-border);
  background: var(--pin-bg);
  color: var(--pin-color);
  box-shadow: 0 0 0 3px var(--pin-focus);
}

.favorite-filter-button[aria-pressed="true"] {
  border-color: var(--favorite-border);
  background: var(--favorite-bg);
  color: var(--favorite-color);
  box-shadow: 0 0 0 3px var(--favorite-focus);
}

.pinned-filter-button.active {
  border-color: var(--pin-border);
  background: var(--pin-bg);
  color: var(--pin-color);
  box-shadow: 0 0 0 3px var(--pin-focus);
}

.favorite-filter-button.active {
  border-color: var(--favorite-border);
  background: var(--favorite-bg);
  color: var(--favorite-color);
  box-shadow: 0 0 0 3px var(--favorite-focus);
}

.check-menu {
  position: relative;
  min-width: 0;
}

.check-menu summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  list-style: none;
}

.check-menu summary span {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.check-menu summary::-webkit-details-marker {
  display: none;
}

.check-menu summary::after {
  content: "⌄";
  flex: 0 0 auto;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.check-options {
  position: absolute;
  z-index: 1300;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  display: grid;
  gap: 4px;
  min-width: max(100%, 176px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 34px rgba(24, 32, 29, 0.14);
  max-height: calc(100vh - 175px);
  overflow-y: scroll;
  overscroll-behavior: contain;
  padding: 8px;
  scrollbar-gutter: stable;
  scrollbar-color: rgba(82, 97, 89, 0.5) rgba(213, 222, 211, 0.36);
  scrollbar-width: thin;
}

.check-options::-webkit-scrollbar {
  width: 10px;
}

.check-options::-webkit-scrollbar-track {
  background: rgba(213, 222, 211, 0.36);
  border-radius: 999px;
}

.check-options::-webkit-scrollbar-thumb {
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(82, 97, 89, 0.5);
}

.language-options {
  min-width: max(100%, 220px);
}

.check-options label,
.check-options button {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 28px;
  width: 100%;
  border: 0;
  border-radius: 5px;
  background: transparent;
  padding: 5px 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
}

.check-options label:hover,
.check-options button:hover,
.check-options button.active {
  background: var(--theme-soft);
}

.check-options button.active {
  color: var(--brand-dark);
}

.check-options input {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  min-width: 14px;
  margin: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  box-shadow: none;
  padding: 0;
  accent-color: var(--brand);
}

.check-options input:hover,
.check-options input:focus {
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: 0;
}

.range-pair {
  display: grid;
  grid-template-rows: 22px 11px;
  gap: 3px;
  align-items: center;
}

.range-readout {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--brand-dark);
  font-size: 11px;
  line-height: 1;
  padding: 0px 10px;
}

.range-readout b {
  font-weight: 500;
}

.rolling-char {
  display: inline-block;
  min-width: 0.58em;
  text-align: center;
  font-variant-numeric: tabular-nums;
  will-change: transform, opacity;
}

.rolling-char:not(.changed) {
  transform: translateY(0);
}

.rolling-char.changed {
  animation: debtDigitRoll 480ms cubic-bezier(0.2, 0.78, 0.24, 1);
}

@keyframes debtDigitRoll {
  0% {
    opacity: 0.25;
    transform: translateY(0.85em);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rolling-char.changed {
    animation: none;
  }
}

.range-note {
  display: flex;
  justify-content: space-between;
  width: 100%;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
}

.range-note b {
  font-weight: 850;
}

.single-range {
  display: grid;
  align-items: center;
  height: 36px;
  margin-top: 0;
}

.zoom-toggle,
.measurement-system-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  height: 36px;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 6px;
  background: rgba(238, 241, 237, 0.96);
  padding: 3px;
}

.zoom-toggle button,
.measurement-system-toggle button {
  min-width: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #56625c;
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
}

.zoom-toggle button[aria-pressed="true"],
.measurement-system-toggle button[aria-pressed="true"] {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 1px 4px rgba(24, 32, 29, 0.12);
}

.zoom-toggle button:hover,
.zoom-toggle button:focus-visible,
.measurement-system-toggle button:hover,
.measurement-system-toggle button:focus-visible {
  color: var(--brand-dark);
  outline: 0;
}

.zoom-toggle:focus-within,
.measurement-system-toggle:focus-within {
  border-color: rgba(15, 111, 92, 0.45);
  box-shadow: 0 0 0 3px rgba(15, 111, 92, 0.12);
}

.detail-field input {
  width: 100%;
  height: 36px;
  margin: 0;
  border: 0;
  background: transparent;
  padding: 0;
  accent-color: var(--brand);
  appearance: none;
}

.detail-field input::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: #d9e1d8;
}

.detail-field input::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  margin-top: -7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 1px 5px rgba(24, 32, 29, 0.25);
  cursor: pointer;
  appearance: none;
}

.detail-field input::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: #d9e1d8;
}

.detail-field input::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 1px 5px rgba(24, 32, 29, 0.25);
  cursor: pointer;
}

.dual-range {
  --range-start: 0%;
  --range-end: 100%;
  position: relative;
  height: 30px;
  margin-inline: 8px;
}

.range-track {
  position: absolute;
  top: 11px;
  right: 0;
  left: 0;
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(
      to right,
      var(--price-slider-track) 0%,
      var(--price-slider-track) var(--range-start),
      var(--price-slider-low) var(--range-start),
      var(--price-slider-high) var(--range-end),
      var(--price-slider-track) var(--range-end),
      var(--price-slider-track) 100%
    );
}

.dual-range input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 30px;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
  appearance: none;
  padding: 0px 0px
}

.dual-range input[type="range"]:hover,
.dual-range input[type="range"]:focus {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  outline: 0;
}

.dual-range input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border: 0;
  box-shadow: none;
  background: transparent;
  appearance: none;
}

.dual-range input[type="range"]::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
  margin-top: -7px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--price-slider-high);
  box-shadow: 0 1px 5px rgba(24, 32, 29, 0.25);
  cursor: pointer;
  pointer-events: auto;
  appearance: none;
}

.dual-range input[type="range"]::-moz-range-track {
  height: 8px;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.dual-range input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--price-slider-high);
  box-shadow: 0 1px 5px rgba(24, 32, 29, 0.25);
  cursor: pointer;
  pointer-events: auto;
}

#minPriceFilter {
  z-index: 2;
}

#maxPriceFilter {
  z-index: 3;
}

#minPriceFilter::-webkit-slider-thumb {
  background: var(--price-slider-low);
}

#minPriceFilter::-moz-range-thumb {
  background: var(--price-slider-low);
}

.main-layout {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 10px;
  align-items: stretch;
  padding: 22px clamp(14px, 3vw, 34px) 10px;
}

.main-layout.kitchen-panel-collapsed {
  padding-right: max(6px, calc(clamp(14px, 3vw, 34px) - 18px));
}

.listing-pane {
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  padding-bottom: 30px;
}

.split-handle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 100%;
  min-height: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #809995;
  color: #123;
  cursor: pointer;
  padding: 0;
}

.split-handle::before {
  display: none;
}

.split-handle-cart {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.split-handle:hover,
.split-handle.dragging,
.split-handle:focus-visible {
  border-color: rgba(15, 111, 92, 0.45);
  box-shadow: 0 0 0 4px rgba(15, 111, 92, 0.12);
  outline: 0;
}
.main-layout.kitchen-panel-collapsed .split-handle {
  align-content: center;
  gap: 8px;
  width: 38px;
  color: #123;
  cursor: pointer;
}

.main-layout.kitchen-panel-collapsed.has-pinned-tray-button .split-handle {
  height: max(38px, calc(100% - 74px));
}

.main-layout.kitchen-panel-collapsed.has-pinned-focus-button .split-handle {
  height: max(38px, calc(100% - 72px));
}

.main-layout.kitchen-panel-collapsed.has-open-pinned-drawer .split-handle {
  height: max(38px, calc(100% - 149px));
}
.main-layout.kitchen-panel-collapsed .split-handle::before {
  display: none;
}
.main-layout.kitchen-panel-collapsed .split-handle-cart {
  display: block;
}

.main-map-pane {
  height: 100%;
  min-width: 0;
}
.main-map-pane[hidden] {
  display: none !important;
}
.main-layout.kitchen-panel-collapsed .main-map-pane {
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.main-listings-map {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e8ece5;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.main-listings-map .maplibregl-control-container {
  font: initial;
}

.listing-map-marker {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 3px 10px rgba(24, 32, 29, 0.25);
  cursor: pointer;
  padding: 4px 7px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.marker-pin-icon,
.marker-favorite-icon {
  display: none;
  place-items: center;
}

.marker-pin-icon svg,
.marker-favorite-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.listing-map-marker.is-pinned {
  min-width: 30px;
  width: 30px;
  height: 30px;
  border-color: color-mix(in srgb, var(--pin-color) 18%, #fff 82%);
  background: var(--pin-color);
  color: color-mix(in srgb, var(--pin-bg) 86%, #fff 14%);
  padding: 0;
  box-shadow: 0 5px 14px color-mix(in srgb, var(--pin-color) 34%, transparent);
}

.listing-map-marker.is-favorite {
  min-width: 30px;
  width: 30px;
  height: 30px;
  border-color: color-mix(in srgb, var(--favorite-color) 18%, #fff 82%);
  background: var(--favorite-color);
  color: color-mix(in srgb, var(--favorite-bg) 88%, #fff 12%);
  padding: 0;
  box-shadow: 0 5px 14px color-mix(in srgb, var(--favorite-color) 30%, transparent);
}

.listing-map-marker.is-pinned .marker-price,
.listing-map-marker.is-favorite .marker-price {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.listing-map-marker.is-pinned .marker-pin-icon {
  display: grid;
}

.listing-map-marker.is-favorite .marker-favorite-icon {
  display: grid;
}

.marker-preview {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  z-index: 1001;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 178px;
  min-height: 150px;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 8px;
  background: #e8ece5;
  box-shadow: 0 10px 26px rgba(24, 32, 29, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(4px) scale(0.98);
  transition: opacity 120ms ease, transform 120ms ease;
}

.marker-preview img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.marker-preview strong {
  display: block;
  overflow: hidden;
  background: #fff;
  color: #26342f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  padding: 7px 8px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-map-marker:hover .marker-preview,
.listing-map-marker:focus-visible .marker-preview,
.listing-map-marker.card-hover .marker-preview {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.listing-map-marker.preview-below .marker-preview {
  top: calc(100% + 10px);
  bottom: auto;
  transform: translateX(-50%) translateY(-4px) scale(0.98);
}

.listing-map-marker.preview-below:hover .marker-preview,
.listing-map-marker.preview-below:focus-visible .marker-preview,
.listing-map-marker.preview-below.card-hover .marker-preview {
  transform: translateX(-50%) translateY(0) scale(1);
}

.listing-map-marker.grey-match {
  background: #79837d;
  opacity: 0.62;
}

.listing-map-marker.is-pinned.grey-match {
  background: var(--pin-color);
  opacity: 0.78;
}

.listing-map-marker.is-favorite.grey-match {
  background: var(--favorite-color);
  opacity: 0.76;
}

.listing-map-marker.hide-match {
  visibility: hidden;
  pointer-events: none;
}

.listing-map-marker:hover,
.listing-map-marker.card-hover {
  z-index: 1000;
  background: var(--brand-dark);
}

.listing-map-marker:focus-visible {
  z-index: 1000;
}

.maplibregl-marker:has(.listing-map-marker.is-pinned) {
  z-index: 500;
}

.maplibregl-marker:has(.listing-map-marker.is-favorite) {
  z-index: 450;
}

.maplibregl-marker:has(.listing-map-marker:hover),
.maplibregl-marker:has(.listing-map-marker:focus-visible),
.maplibregl-marker:has(.listing-map-marker.card-hover) {
  z-index: 1000;
}

.cards {
  --ingredient-card-min: max(190px, calc(var(--card-min) * 0.72));
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--card-min)), 1fr));
  gap: 18px;
  align-content: start;
  align-items: stretch;
  min-height: 100%;
  padding: 6px;
}

.cards > [data-holiday-card-list],
.cards > [data-recipe-card-list] {
  display: contents;
}

.cards > [data-ingredient-card-list],
.cards > [data-tool-card-list] {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--ingredient-card-min)), 1fr));
  gap: 14px;
  align-content: start;
  align-items: stretch;
}

.cards > [data-ingredient-card-list] > .listing-section-heading,
.cards > [data-tool-card-list] > .listing-section-heading {
  grid-column: 1 / -1;
}

.listing-section-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 -2px;
  color: #5c6962;
}

.listing-section-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: rgba(16, 44, 45, 0.14);
}

.listing-section-heading h2 {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.cards:has(.empty) {
  align-content: center;
  justify-content: center;
  place-items: center;
}

.cards:has(> .grid-loading:only-child) {
  align-content: center;
  place-items: center;
}

.cards.is-loading-first-images {
  position: relative;
  min-height: min(58vh, 680px);
  overflow: hidden;
}

.listing-loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: rgba(247, 248, 245, 0.94);
  backdrop-filter: blur(2px);
}

.grid-loading {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  place-items: center;
  justify-self: center;
  align-self: center;
}

.grid-loading-brand {
  position: relative;
  display: grid;
  place-items: center;
  width: max-content;
  max-width: calc(100vw - 48px);
}

.grid-loading-lockup {
  position: relative;
  z-index: 1;
  padding: 0;
}

.grid-loading-lockup .brand-icon {
  width: 51px;
  height: 51px;
}

.grid-loading-lockup .brand-wordmark {
  font-size: clamp(34px, 3.8vw, 48px);
}

.grid-loading-lockup .brand-tagline {
  font-size: clamp(10px, 1vw, 13px);
}

.loading-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 20px;
}

.loading-dots span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(94, 102, 97, 0.72);
  animation: loadingPulse 900ms ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
  animation-delay: 120ms;
}

.loading-dots span:nth-child(3) {
  animation-delay: 240ms;
}

.map-loading {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

@keyframes loadingPulse {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0) scale(0.86);
  }

  40% {
    opacity: 1;
    transform: translateY(-3px) scale(1);
  }
}

.card {
  container-type: inline-size;
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 5px 18px rgba(24, 32, 29, 0.27);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, opacity 160ms ease, filter 160ms ease;
}

.card.grey-match {
  opacity: 0.42;
  filter: grayscale(0.82);
}

.card.highlight-match {
  box-shadow: inset 0 0 0 6px rgb(23 89 46 / 62%), 0 14px 32px rgb(111 15 42 / 16%);
}

.card.status-pending {
  border-color: rgba(184, 103, 24, 0.52);
  box-shadow: inset 0 0 0 6px rgba(184, 103, 24, 0.62), 0 5px 18px rgba(24, 32, 29, 0.07);
}

.card.status-sold {
  border-color: rgba(178, 54, 54, 0.52);
  box-shadow: inset 0 0 0 6px rgba(178, 54, 54, 0.62), 0 5px 18px rgba(24, 32, 29, 0.07);
}

.card.hide-match {
  visibility: hidden;
  pointer-events: none;
}

.card:hover {
  transform: none;
  border-color: color-mix(in srgb, var(--brand) 38%, transparent);
  box-shadow: var(--shadow);
}

.card.grey-match:hover {
  opacity: 0.92;
}

.card.highlight-match:hover {
  border-color: var(--brand-dark);
  box-shadow: 0 0 0 5px rgba(15, 111, 92, 0.28), var(--shadow);
}

.card.status-pending:hover {
  border-color: rgba(184, 103, 24, 0.72);
  box-shadow: inset 0 0 0 6px rgba(184, 103, 24, 0.62), var(--shadow);
}

.card.status-sold:hover {
  border-color: rgba(178, 54, 54, 0.72);
  box-shadow: inset 0 0 0 6px rgba(178, 54, 54, 0.62), var(--shadow);
}

.card.is-pinned {
  border-color: var(--pin-border);
}

.card.is-favorite:not(.is-pinned) {
  border-color: var(--favorite-border);
}

.holiday-card {
  border-color: rgba(231, 69, 54, 0.68);
  background: #ffdfdc;
}

.holiday-card:hover,
.holiday-card:focus-visible {
  border-color: #e74536;
  box-shadow: 0 0 0 3px rgba(231, 69, 54, 0.14), var(--shadow);
}

.ingredient-listing-card {
  border-color: rgba(15, 111, 92, 0.22);
  min-width: 0;
}

.ingredient-listing-card:hover,
.ingredient-listing-card:focus-visible {
  border-color: rgba(15, 111, 92, 0.52);
}

.ingredient-status {
  background: #f3eee9;
  color: #5d4d42;
}

.ingredient-listing-card .card-body {
  align-content: stretch;
  gap: 9px;
  height: 100%;
  padding: 11px;
}

.ingredient-listing-card .card-top {
  display: block;
}

.ingredient-listing-card .price {
  font-size: 18px;
  overflow-wrap: anywhere;
}

.ingredient-listing-card .card-metric-line {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ingredient-listing-card .recipe-card-description {
  display: none;
}

.ingredient-listing-card .ingredient-status {
  justify-self: start;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tool-listing-card {
  min-width: 0;
  border-color: rgba(213, 222, 211, 0.96);
  background: #f7faf5;
  cursor: default;
}

.tool-listing-card:hover,
.tool-listing-card:focus-visible {
  border-color: rgba(15, 111, 92, 0.34);
  box-shadow: 0 5px 18px rgba(24, 32, 29, 0.07);
}

.tool-listing-card > .tool-card {
  height: 100%;
  border: 0;
  background: transparent;
}

.tool-card-image-placeholder {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: #fffaf0;
}

.pin-button,
.favorite-button,
.print-button,
.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #627069;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease, color 120ms ease;
}

.pin-button svg,
.favorite-button svg,
.print-button svg,
.share-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.pin-button:hover,
.pin-button:focus-visible,
.favorite-button:hover,
.favorite-button:focus-visible,
.print-button:hover,
.print-button:focus-visible,
.share-button:hover,
.share-button:focus-visible {
  border-color: var(--pin-border);
  background: var(--pin-bg);
  color: var(--brand-dark);
  box-shadow: 0 0 0 3px var(--pin-focus);
  outline: 0;
}

.pin-button.pinned {
  border-color: var(--pin-border);
  background: var(--pin-bg);
  color: var(--pin-color);
}

.pin-button.is-pin-added,
.pinned-tray-toggle.is-pin-added {
  animation: pinAddedFlash 620ms cubic-bezier(0.2, 0.85, 0.3, 1);
}

@keyframes pinAddedFlash {
  0%,
  100% {
    box-shadow: 0 0 0 0 transparent;
    transform: scale(1);
  }

  32% {
    box-shadow: 0 0 0 7px var(--pin-focus), 0 7px 18px color-mix(in srgb, var(--pin-color) 28%, transparent);
    transform: scale(1.16);
  }

  62% {
    box-shadow: 0 0 0 3px var(--pin-focus);
    transform: scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pin-button.is-pin-added,
  .pinned-tray-toggle.is-pin-added {
    animation: none;
    box-shadow: 0 0 0 4px var(--pin-focus);
  }
}

.favorite-button:hover,
.favorite-button:focus-visible {
  border-color: var(--favorite-border);
  background: var(--favorite-bg);
  color: var(--favorite-color);
  box-shadow: 0 0 0 3px var(--favorite-focus);
}

.favorite-button.favorited {
  border-color: var(--favorite-border);
  background: var(--favorite-bg);
  color: var(--favorite-color);
}

.share-button.copied,
.share-menu button.copied {
  border-color: rgba(15, 111, 92, 0.38);
  background: rgba(232, 246, 240, 0.96);
  color: var(--brand);
}

.share-menu-wrap {
  position: relative;
  display: inline-flex;
}

.share-menu {
  position: absolute;
  z-index: 2405;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 164px;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 28px rgba(24, 32, 29, 0.16);
  padding: 6px;
}

.share-menu::before {
  position: absolute;
  top: -6px;
  right: 16px;
  width: 10px;
  height: 10px;
  content: '';
  border-top: 1px solid rgba(213, 222, 211, 0.96);
  border-left: 1px solid rgba(213, 222, 211, 0.96);
  background: rgba(255, 255, 255, 0.98);
  transform: rotate(45deg);
}

.share-menu[hidden] {
  display: none;
}

.share-menu button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 34px;
  width: 100%;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #38433e;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  padding: 0 10px;
  text-align: left;
  white-space: nowrap;
}

.share-menu button:hover,
.share-menu button:focus-visible {
  background: var(--theme-soft);
  color: var(--brand-dark);
  outline: 0;
}

.card-pin-button,
.card-favorite-button {
  position: absolute;
  z-index: 4;
  top: 9px;
  width: 29px;
  height: 29px;
  padding: 0;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 18px rgba(24, 32, 29, 0.14);
  touch-action: manipulation;
}

.card-pin-button {
  right: 9px;
}

.card-favorite-button {
  right: 44px;
}

.ingredient-listing-card .card-favorite-button {
  right: 9px;
}

.card-pin-button span,
.card-favorite-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.card-pin-button.pinned {
  background: var(--pin-color);
  color: #fff;
}

.card-favorite-button.favorited {
  background: var(--favorite-color);
  color: #fff;
}

.card:focus-visible,
.icon-button:focus-visible,
.pager button:focus-visible {
  outline: 3px solid rgba(15, 111, 92, 0.28);
  outline-offset: 2px;
}

.card-body {
  position: relative;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
}

.card-body > * {
  min-width: 0;
  max-width: 100%;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.card[data-recipe-id] .card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
}

.card[data-recipe-id] .price {
  min-width: 0;
  overflow-wrap: anywhere;
}
.card.detail-0 .card-top {
  display: none;
}

.price {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.status {
  border: 1px solid rgba(15, 111, 92, 0.22);
  border-radius: 999px;
  background: #eaf5f0;
  color: var(--brand-dark);
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.card-status-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  min-width: 0;
}

.status.status-pending {
  border-color: rgba(184, 103, 24, 0.32);
  background: #fff0d7;
  color: #8a4a10;
}

.status.status-coming-soon {
  border-color: rgba(33, 81, 134, 0.34);
  background: #e6f0ff;
  color: #215186;
}

.status.status-sold {
  border-color: rgba(178, 54, 54, 0.32);
  background: #ffe3e3;
  color: #963333;
}

.address {
  color: #29342f;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.28;
}

.card-address {
  display: grid;
  gap: 2px;
}

.card-address span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: clamp(11px, 4.2cqw, 15px);
}
.recipe-card-description span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  white-space: normal;
  line-height: 1.28;
}

.fantasy-house-name {
  overflow: hidden;
  color: var(--story-name-color);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(12px, 4.4cqw, 16px);
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(4px, 1.8cqw, 8px);
}

.fact {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, auto);
  align-items: baseline;
  justify-content: center;
  gap: clamp(2px, 1.2cqw, 5px);
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px clamp(3px, 1.5cqw, 6px);
  background: #fbfcfa;
  white-space: nowrap;
}

.fact strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(11px, 3.6cqw, 16px);
  line-height: 1;
}

.fact span {
  min-width: 0;
  margin-top: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--muted);
  font-size: clamp(8px, 2.45cqw, 11px);
  font-weight: 700;
  text-transform: uppercase;
}

.card-metric-line {
  min-width: 0;
  overflow: hidden;
  color: #52615a;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.holiday-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.holiday-country {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.holiday-country-flag {
  flex: 0 0 auto;
  font-size: 1.1em;
  line-height: 1;
}

.gallery-wrap {
  display: grid;
  gap: 7px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.gallery {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #e8ece5;
  touch-action: pan-y;
}

.card .gallery {
  aspect-ratio: var(--recipe-card-row-aspect-ratio, 4 / 3);
}

.card.is-custom-recipe .gallery {
  aspect-ratio: var(--recipe-card-row-aspect-ratio, 10 / 10);
}

.custom-recipe-profile-badge {
  position: absolute;
  right: 9px;
  bottom: 9px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 3px solid rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(24, 32, 29, 0.22);
  pointer-events: none;
}

.custom-recipe-profile-badge img {
  position: static;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.gallery img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.gallery .custom-recipe-profile-badge img {
  position: static;
  inset: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.card.is-favorite .gallery,
.recipe-drawer-inner.is-favorite .gallery {
  box-shadow: 0 14px 34px rgba(24, 32, 29, 0.14);
}

.card.is-favorite .gallery img,
.recipe-drawer-inner.is-favorite .gallery img {
  filter: saturate(1.28) contrast(1.04);
}

.card.is-favorite .gallery::after,
.recipe-drawer-inner.is-favorite .gallery::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background: linear-gradient(115deg, transparent 0 36%, rgba(255, 255, 255, 0.48) 46%, rgba(255, 214, 128, 0.48) 52%, transparent 64% 100%);
  background-size: 240% 100%;
  animation: favoriteShineSweep 9.6s ease-in-out infinite;
}

@keyframes favoriteShineSweep {
  0%,
  100% {
    opacity: 0;
    background-position: 130% 0;
  }
  10% {
    opacity: 0.72;
  }
  22%,
  72% {
    opacity: 0;
    background-position: -30% 0;
  }
}

.gallery.storybook-photo > img,
.lightbox-stage > img.storybook-photo,
.marker-preview img.storybook-photo {
  transition: filter 180ms ease;
}

.gallery.storybook-locked > img,
.gallery > img.storybook-locked,
.lightbox-stage > img.storybook-locked,
.marker-preview img.storybook-locked {
  filter: saturate(0.5);
}

.gallery.storybook-unlocked > img,
.gallery > img.storybook-unlocked,
.lightbox-stage > img.storybook-unlocked,
.marker-preview img.storybook-unlocked {
  filter: saturate(1);
}

.storybook-magic-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  display: none;
  pointer-events: none;
}

.gallery.storybook-photo .storybook-magic-layer {
  display: block;
}

.gallery.storybook-photo .storybook-locked-haze {
  display: none;
}

.storybook-locked-haze {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.2), transparent 18%),
    linear-gradient(135deg, rgba(20, 35, 42, 0.18), rgba(255, 255, 255, 0.04));
}

.gallery.storybook-locked .storybook-locked-haze {
  display: block;
}

.storybook-sparkles {
  opacity: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 231, 151, 0.86) 0 1.5px, transparent 2.5px),
    radial-gradient(circle, rgba(177, 238, 223, 0.82) 0 1px, transparent 2px);
  background-position: 12% 16%, 81% 24%, 20% 78%;
  background-size: 70px 82px, 92px 74px, 110px 96px;
  mix-blend-mode: screen;
}

.gallery.storybook-locked .storybook-sparkles {
  animation: storybookSparkleDrift 4.8s ease-in-out infinite;
  animation-direction: alternate;
  opacity: 0.64;
}

.storybook-shimmer {
  opacity: 0;
  overflow: hidden;
}

.storybook-shimmer::before {
  position: absolute;
  top: -18%;
  bottom: -18%;
  left: -55%;
  width: 44%;
  content: '';
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.2), rgba(255, 238, 166, 0.62), rgba(255, 255, 255, 0.25), transparent);
  filter: blur(1px);
  transform: skewX(-16deg);
}

.gallery.storybook-just-unlocked .storybook-shimmer {
  animation: storybookShimmerLayer 960ms ease-out both;
}

.gallery.storybook-just-unlocked .storybook-shimmer::before {
  animation: storybookShimmerSweep 960ms ease-out both;
}

@keyframes storybookSparkleDrift {
  0% {
    background-position: 12% 16%, 81% 24%, 20% 78%;
    opacity: 0.36;
  }
  50% {
    opacity: 0.76;
  }
  100% {
    background-position: 14% 22%, 78% 18%, 24% 72%;
    opacity: 0.36;
  }
}

@keyframes storybookShimmerLayer {
  0%, 100% {
    opacity: 0;
  }
  20%, 68% {
    opacity: 1;
  }
}

@keyframes storybookShimmerSweep {
  from {
    transform: translateX(0) skewX(-16deg);
  }
  to {
    transform: translateX(360%) skewX(-16deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery.storybook-locked .storybook-sparkles,
  .gallery.storybook-just-unlocked .storybook-shimmer,
  .gallery.storybook-just-unlocked .storybook-shimmer::before {
    animation: none;
  }
}

.storybook-info-button {
  position: absolute;
  left: 9px;
  top: 9px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(24, 32, 29, 0.68);
  color: #fff;
  cursor: help;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transform: none;
  transition: opacity 140ms ease, background 140ms ease;
}

.storybook-info-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.storybook-info-button:hover,
.storybook-info-button:focus-visible {
  background: rgba(24, 32, 29, 0.86);
  outline: 0;
}

.storybook-info-popover {
  position: absolute;
  left: 50%;
  top: 44px;
  z-index: 7;
  width: min(380px, calc(100% - 18px));
  max-height: min(290px, calc(100% - 54px));
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 8px;
  background: rgba(17, 24, 21, 0.9);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.58;
  opacity: 0;
  padding: 11px 12px 12px;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 120ms ease;
  white-space: pre-wrap;
}

.storybook-info-popover::-webkit-scrollbar {
  width: 10px;
}

.storybook-info-popover::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.storybook-info-popover::-webkit-scrollbar-thumb {
  border: 2px solid rgba(17, 24, 21, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
}

.storybook-info-popover::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.68);
}

.storybook-info-popover p {
  margin: 0 0 9px;
}

.storybook-info-popover p:last-child {
  margin-bottom: 0;
}

.direction-alternative-change {
  color: inherit;
  text-decoration: none;
}

.storybook-house-link {
  color: var(--brand-dark);
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: rgba(16, 44, 45, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.storybook-house-link:hover,
.storybook-house-link:focus-visible {
  color: var(--brand);
  outline: 0;
  text-decoration-color: currentColor;
}

.storybook-info-popover .storybook-house-link {
  color: #fff0b7;
  text-decoration-color: rgba(255, 240, 183, 0.64);
}

.storybook-info-popover .storybook-house-link:hover,
.storybook-info-popover .storybook-house-link:focus-visible {
  color: #ffffff;
  text-decoration-color: currentColor;
}

.storybook-info-button:hover + .storybook-info-popover,
.storybook-info-button:focus + .storybook-info-popover,
.storybook-info-popover:hover {
  opacity: 1;
  pointer-events: auto;
}

.gallery button {
  position: absolute;
  z-index: 6;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(24, 32, 29, 0.62);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease, background 140ms ease;
}

.gallery .storybook-info-button {
  top: 9px;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  transform: none;
}

.gallery .card-pin-button,
.gallery .card-favorite-button {
  top: 9px;
  left: auto;
  z-index: 6;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  opacity: 0.96;
  pointer-events: auto;
  transform: none;
}

.gallery .card-pin-button {
  right: 9px;
}

.gallery .card-favorite-button {
  right: 44px;
}

.ingredient-listing-card .gallery .card-favorite-button {
  right: 9px;
}

.card.is-favorite:not(.is-pinned):not(:hover) .gallery .card-favorite-button {
  right: 9px;
}

.gallery:hover .storybook-info-button,
.gallery:has(button:focus-visible) .storybook-info-button {
  opacity: 0.96;
  pointer-events: auto;
}

.gallery:hover button,
.gallery:has(button:focus-visible) button {
  opacity: 1;
  pointer-events: auto;
}

.gallery .card-pin-button:not(.pinned),
.gallery .card-favorite-button:not(.favorited) {
  opacity: 0;
  pointer-events: none;
}

.card:hover .gallery .card-pin-button:not(.pinned),
.card:has(.gallery button:focus-visible) .gallery .card-pin-button:not(.pinned),
.card:hover .gallery .card-favorite-button:not(.favorited),
.card:has(.gallery button:focus-visible) .gallery .card-favorite-button:not(.favorited) {
  opacity: 0.96;
  pointer-events: auto;
}

.gallery button:hover {
  background: rgba(24, 32, 29, 0.8);
}

.gallery .card-pin-button:hover,
.gallery .card-pin-button:focus-visible {
  background: color-mix(in srgb, var(--pin-bg) 82%, #fff 18%);
  color: var(--pin-color);
}

.gallery .card-favorite-button:hover,
.gallery .card-favorite-button:focus-visible {
  background: color-mix(in srgb, var(--favorite-bg) 82%, #fff 18%);
  color: var(--favorite-color);
}

.gallery .card-pin-button.pinned:hover,
.gallery .card-pin-button.pinned:focus-visible {
  background: color-mix(in srgb, var(--pin-color) 76%, #fff 24%);
  color: #fff;
}

.gallery .card-favorite-button.favorited:hover,
.gallery .card-favorite-button.favorited:focus-visible {
  background: color-mix(in srgb, var(--favorite-color) 76%, #fff 24%);
  color: #fff;
}

.holiday-card .gallery {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 238, 196, 0.44), transparent 36%),
    linear-gradient(180deg, #fffaf0, #f6efe3);
}

.holiday-card .gallery img {
  object-fit: cover;
}

.holiday-card .holiday-flag-image {
  opacity: 0;
  transition: opacity 520ms ease, transform 680ms ease;
}

.holiday-card .holiday-food-image {
  opacity: 1;
  transition: opacity 520ms ease, transform 680ms ease;
}

.holiday-card:hover .holiday-flag-image,
.holiday-card:focus-visible .holiday-flag-image,
.holiday-card:focus-within .holiday-flag-image {
  opacity: 1;
  transform: scale(1.025);
}

.holiday-card:hover .holiday-food-image,
.holiday-card:focus-visible .holiday-food-image,
.holiday-card:focus-within .holiday-food-image {
  opacity: 0;
  transform: scale(1.025);
}

.holiday-card .gallery button,
.holiday-card .storybook-info-button {
  display: none;
}

.holiday-card .status {
  border-color: rgba(231, 69, 54, 0.28);
  background: rgba(231, 69, 54, 0.10);
  color: #b83226;
}

.holiday-card .card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
}

.holiday-card .price {
  min-width: 0;
  overflow-wrap: anywhere;
}

.holiday-card .card-status-row {
  min-width: max-content;
}

.holiday-card-dishes {
  color: #596861;
  font-size: 12px;
  font-weight: 750;
}

.ingredient-listing-card .ingredient-card-gallery {
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 244, 214, 0.92), rgba(246, 248, 243, 0.88) 56%, rgba(231, 238, 229, 0.9));
}

.ingredient-listing-card .ingredient-card-gallery img {
  object-fit: contain;
  padding: 0;
  transform: none;
}

:root[data-card-zoom="small"] .ingredient-listing-card .ingredient-card-gallery {
  aspect-ratio: 16 / 10;
}

:root[data-card-zoom="small"] .ingredient-listing-card .ingredient-card-gallery img {
  object-fit: cover;
}

.ingredient-listing-card .ingredient-card-meta {
  align-self: end;
  width: 100%;
  min-width: 0;
  margin-top: auto;
  color: #617169;
  font-size: 12px;
  font-weight: 800;
}

.ingredient-listing-card .ingredient-card-meta .meta-days {
  max-width: 48%;
}

.ingredient-listing-card.is-alternate-result,
.tool-listing-card.is-alternate-result {
  border-color: rgba(98, 126, 117, 0.24);
}

.ingredient-listing-card.is-alternate-result::before,
.tool-listing-card.is-alternate-result::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(82, 94, 88, 0.24);
  pointer-events: none;
}

.gallery .prev {
  left: 9px;
}

.gallery .next {
  right: 9px;
}

.gallery-thumbs {
  display: flex;
  gap: 6px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  padding: 1px 1px 4px;
  scrollbar-width: thin;
}

.gallery-thumb {
  position: relative;
  flex: 0 0 84px;
  width: 84px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 6px;
  background: #dfe5dc;
  cursor: pointer;
  padding: 0;
}

.gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 160ms ease, opacity 160ms ease;
}

.gallery-thumb.storybook-locked img {
  filter: saturate(0.45);
  opacity: 0.72;
}

.gallery-thumb.storybook-locked::after {
  position: absolute;
  inset: 0;
  content: '';
  background:
    radial-gradient(circle at 22% 22%, rgba(255, 255, 255, 0.54), transparent 12%),
    linear-gradient(135deg, rgba(20, 35, 42, 0.2), rgba(255, 255, 255, 0.04));
  mix-blend-mode: screen;
  pointer-events: none;
}

.gallery-thumb.storybook-unlocked {
  border-color: rgba(255, 231, 151, 0.82);
}

.gallery-thumb.storybook-unlocked img {
  filter: saturate(1.08);
}

.gallery-thumb.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(15, 111, 92, 0.14);
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible {
  border-color: rgba(15, 111, 92, 0.55);
  outline: 0;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.meta-row > span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.cuisine-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  vertical-align: -2px;
  color: inherit;
  text-decoration: none;
}
.cuisine-label span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cuisine-flag {
  flex: 0 0 auto;
  height: 18px;
  border: 1px solid rgba(16, 44, 45, 0.16);
  border-radius: 999px;
  object-fit: cover;
}
.cuisine-label .account-chef-icon {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.cuisine-label .account-chef-face {
  fill: #e74536;
}
.recipe-byline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  line-height: 1;
  white-space: nowrap;
}
.meta-row > .recipe-byline,
.drawer-address > .recipe-byline {
  display: inline-flex;
  flex-wrap: nowrap;
  width: max-content;
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.card[data-recipe-id] .meta-row > .recipe-byline {
  flex: 1 1 auto;
  width: auto;
  overflow: hidden;
}

.card[data-recipe-id] .meta-row > .meta-days {
  flex: 0 0 auto;
}
.recipe-byline-separator {
  flex: 0 0 auto;
  color: currentColor;
}

.card[data-recipe-id] .recipe-byline-separator,
.card[data-recipe-id] .recipe-byline-author {
  display: none;
}

.meta-row > span:last-child {
  flex: 0 0 auto;
  text-align: right;
}

.meta-days {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.rating-inline {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 5px;
  line-height: 1;
  white-space: nowrap;
}
.card-address .rating-inline,
.recipe-drawer-title .drawer-address .rating-inline {
  display: inline-flex;
  align-items: center;
  width: auto;
  overflow: visible;
  color: inherit;
  font-size: inherit;
  line-height: 1;
  text-overflow: clip;
  white-space: nowrap;
}
.card-address .rating-inline > span,
.recipe-drawer-title .drawer-address .rating-inline > span {
  display: inline-flex;
  overflow: visible;
  color: inherit;
  font-size: inherit;
  text-overflow: clip;
  white-space: nowrap;
}

.rating-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  border: 1px solid rgba(182, 111, 43, 0.24);
  border-radius: 999px;
  background: rgba(255, 249, 239, 0.92);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 4px 7px;
  white-space: nowrap;
}

.rating-chip-icon {
  color: #b66f2b;
  font-size: 12px;
  line-height: 1;
}

.rating-chip strong {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 950;
}

.rating-chip-empty {
  border-color: rgba(97, 113, 105, 0.22);
  background: rgba(247, 248, 245, 0.92);
  color: #617169;
}

.rating-chip-empty strong {
  color: inherit;
}

.rating-chip-count {
  color: #617169;
  font-size: 11px;
  font-weight: 800;
}

.rating-chip[data-open-recipe-reviews] {
  cursor: pointer;
}

.recipe-drawer-title .drawer-recipe-stats .rating-chip.rating-count,
.recipe-drawer-title .drawer-social-stats .rating-chip.rating-count {
  gap: 7px;
  border: 0;
  background: transparent;
  padding: 0;
  color: #27332e;
  font: inherit;
  font-weight: inherit;
}

.recipe-drawer-title .rating-chip.rating-count[data-open-recipe-reviews] {
  cursor: pointer;
  border-radius: 999px;
}

.recipe-drawer-title .rating-chip.rating-count[data-open-recipe-reviews]:focus-visible {
  outline: 3px solid rgba(15, 111, 92, 0.24);
  outline-offset: 3px;
}

.recipe-drawer-title .drawer-recipe-stats .rating-chip.rating-count .rating-chip-icon,
.recipe-drawer-title .drawer-social-stats .rating-chip.rating-count .rating-chip-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #b66438;
  font-size: 18px;
  line-height: 1;
  transform: none;
}

.recipe-drawer-title .drawer-recipe-stats .rating-chip.rating-count strong,
.recipe-drawer-title .drawer-recipe-stats .rating-chip.rating-count .rating-chip-count,
.recipe-drawer-title .drawer-social-stats .rating-chip.rating-count strong,
.recipe-drawer-title .drawer-social-stats .rating-chip.rating-count .rating-chip-count {
  color: #27332e;
  font-size: inherit;
  font-weight: inherit;
}

.spice-slider {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.spice-slider input[type="range"] {
  width: 100%;
  height: 28px;
  margin: 0;
  accent-color: #b9432f;
  cursor: pointer;
}

.spice-live-preview {
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 56px;
}

.spice-flame {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  transform: scale(var(--flame-scale, 1));
  transform-origin: bottom center;
  transition: transform 120ms ease, color 120ms ease;
}

.spice-flame svg {
  width: 100%;
  height: 100%;
  fill: #e14f2f;
  filter: drop-shadow(0 5px 7px rgba(185, 67, 47, 0.22));
}

.spice-flame svg path + path {
  fill: #ffd166;
}

.sweetness-slider input[type="range"] {
  accent-color: #b98a2f;
}

.sweetness-cube {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  align-self: start;
  margin-top: -7px;
  transform: scale(var(--sweetness-scale, 1));
  transform-origin: center;
  transition: transform 120ms ease, color 120ms ease;
}

.sweetness-cube svg {
  width: 100%;
  height: 100%;
  fill: #fff7df;
  stroke: #b98a2f;
  stroke-linejoin: round;
  stroke-width: 1.45;
  filter: drop-shadow(0 5px 7px rgba(185, 138, 47, 0.2));
}

.sweetness-cube svg path:first-child {
  stroke-width: 1.35;
}

.sweetness-cube svg path:not(:first-child) {
  fill: none;
  stroke: #caa155;
}

.spice-slider-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.spice-slider-labels small {
  overflow: hidden;
  max-width: 100%;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.spice-readout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.rating-bar {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-width: max-content;
  line-height: 1;
}

.rating-bar .rating-chip {
  padding: 5px 8px;
}

.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 28px 0 8px;
}

.summary-count .pager {
  gap: 6px;
}

.pager[hidden] {
  display: none;
}

.pager button,
.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.summary-count .pager button {
  width: 26px;
  height: 26px;
  border-color: rgba(213, 222, 211, 0.92);
  color: #0f6f5c;
  font-size: 18px;
  line-height: 1;
}

.pager button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

#pageInfo {
  min-width: 120px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.summary-count #pageInfo {
  min-width: 42px;
  color: #4f5d57;
  font-size: 12px;
  font-weight: 900;
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 1900;
  background: rgba(24, 32, 29, 0.82);
  backdrop-filter: blur(2px);
}

.confirm-modal {
  position: fixed;
  z-index: 3000;
  top: 50%;
  left: 50%;
  width: min(420px, calc(100vw - 34px));
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(24, 32, 29, 0.78);
  transform: translate(-50%, -50%);
}

.confirm-modal[hidden] {
  display: none;
}

.confirm-modal-inner {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.confirm-modal h2 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 26px;
  font-weight: 950;
  line-height: 1.05;
}

.confirm-modal p {
  margin: 0;
  color: #56635d;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.4;
}

.confirm-modal-text-wrap {
  display: grid;
  gap: 6px;
  color: #52615a;
  font-size: 12px;
  font-weight: 950;
}

.confirm-modal-text-wrap[hidden] {
  display: none;
}

.confirm-modal-text-wrap input {
  width: 100%;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  padding: 11px 12px;
}

.confirm-modal-text-wrap input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(17, 128, 111, 0.1);
  outline: 0;
}

.confirm-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

.confirm-cancel-button,
.confirm-danger-button {
  appearance: none;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  padding: 12px 16px;
}

.confirm-cancel-button {
  border: 1px solid var(--line);
  background: #fff;
  color: #56635d;
}

.confirm-danger-button {
  border: 1px solid rgba(197, 72, 59, 0.46);
  background: #c5483b;
  color: #fff;
}

.confirm-danger-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.confirm-cancel-button:hover,
.confirm-cancel-button:focus-visible {
  background: var(--theme-soft);
  outline: 0;
}

.confirm-danger-button:hover,
.confirm-danger-button:focus-visible {
  background: #a93f34;
  outline: 0;
}

.drawer {
  --drawer-content-inset: clamp(16px, 4vw, 30px);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  right: auto;
  z-index: 2300;
  width: min(100vw, max(560px, 61.8vw));
  overflow-x: hidden;
  overflow-y: auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 22px 54px rgba(24, 32, 29, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.985);
  transition: transform 220ms ease, opacity 180ms ease;
}

.drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
}

body.account-modal-drawer-open .drawer {
  z-index: 2850;
}

.pinned-drawer-deck {
  --pinned-drawer-width: clamp(744px, 38.2vw, 820px);
  --pinned-drawer-fit-width: min(var(--pinned-drawer-width), calc((100vw - 72px)));
  --pinned-drawer-height: min(1880px, calc(100vh - 30px));
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 28px 18px;
  scroll-snap-type: none;
  overflow-anchor: none;
  scrollbar-width: none;
}

.pinned-drawer-deck.two-up {
  display: flex;
  align-items: center;
  justify-content: start;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 28px 18px;
  scroll-snap-type: none;
  scrollbar-width: none;
}

.pinned-drawer-deck[hidden] {
  display: none;
}

.pinned-drawer-deck::-webkit-scrollbar {
  display: none;
}

.pinned-drawer {
  position: relative;
  inset: auto;
  left: auto;
  right: auto;
  flex: 0 0 min(calc(100vw - 36px), var(--pinned-drawer-fit-width));
  width: min(calc(100vw - 36px), var(--pinned-drawer-fit-width));
  height: var(--pinned-drawer-height);
  max-height: var(--pinned-drawer-height);
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 14px;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition: none;
  will-change: transform;
  z-index: 2;
}

.pinned-drawer-deck.two-up .pinned-drawer {
  flex: 0 0 min(calc(100vw - 36px), var(--pinned-drawer-fit-width));
  width: min(calc(100vw - 36px), var(--pinned-drawer-fit-width));
  max-width: var(--pinned-drawer-fit-width);
  min-width: 0;
  height: var(--pinned-drawer-height);
  max-height: var(--pinned-drawer-height);
}

.pinned-drawer.open {
  transform: none;
  transition: none;
}

.close-button {
  position: sticky;
  top: 12px;
  isolation: isolate;
  z-index: 20;
  margin: 0px 12px 0 auto;
}

#detailDrawer > .close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
}

.pinned-drawer > .close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
}

#detailDrawer > .close-button,
.pinned-drawer > .close-button {
  z-index: 30;
}

body.print-modal-open #detailDrawer,
body.print-modal-open .pinned-drawer {
  visibility: hidden;
  pointer-events: none;
}

body.focus-pinned-open .pinned-drawer {
  visibility: hidden;
  pointer-events: none;
}

body.focus-pinned-open .pinned-tray {
  z-index: 2700;
}

body.focus-pinned-open .pinned-drawer-deck {
  pointer-events: none;
}

.drawer-inner {
  position: relative;
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: var(--drawer-content-inset) var(--drawer-content-inset) 30px;
}

.drawer-hero {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.drawer .gallery {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 10;
}

.drawer .gallery img {
  cursor: zoom-in;
}

.drawer .gallery-thumbs {
  gap: 8px;
}

.drawer .gallery-thumb {
  flex-basis: 128px;
  width: 128px;
}

.drawer-title {
  display: grid;
  gap: 8px;
}

.drawer-address span {
  font-size: 16px;
}

.drawer-address .fantasy-house-name {
  font-size: 18px;
}

.drawer-address-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.drawer-address-row .drawer-address {
  min-width: 0;
}

.custom-recipe-drawer-edit-action {
  display: grid;
  grid-template-columns: 150px minmax(82px, max-content);
  align-items: center;
  justify-content: center;
  justify-self: stretch;
  gap: 18px;
  padding-top: 10px;
  width: 100%;
}

.custom-recipe-drawer-edit-action.is-single-action {
  grid-template-columns: 150px minmax(82px, max-content);
  justify-content: center;
  gap: 18px;
}

.custom-recipe-drawer-edit-action.has-published-owner {
  grid-template-columns: minmax(130px, max-content) minmax(0, 1fr);
  justify-content: stretch;
}

.custom-recipe-drawer-edit-action.has-published-owner.is-owner-only {
  grid-template-columns: 1fr;
}

.custom-recipe-drawer-edit-action.has-published-owner .custom-recipe-drawer-action-spacer {
  display: none;
}

.custom-recipe-drawer-owner {
  justify-self: end;
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  color: #52615a;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.custom-recipe-drawer-owner img {
  width: 78px;
  height: 78px;
  border: 1px solid rgba(15, 111, 92, 0.24);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 16px rgba(24, 32, 29, 0.1);
  object-fit: cover;
}

.custom-recipe-drawer-owner small {
  display: block;
  max-width: 92px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-recipe-drawer-owner > span {
  display: block;
  max-width: 180px;
  color: #6a766f;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
}

.custom-recipe-drawer-owner.is-published {
  justify-self: stretch;
  grid-template-columns: minmax(0, 1fr) 78px;
  align-items: center;
  justify-items: end;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  text-align: right;
}

.custom-recipe-drawer-owner.is-published .custom-recipe-drawer-owner-copy {
  display: grid;
  justify-items: end;
  gap: 4px;
  min-width: 0;
  width: 100%;
  max-width: none;
}

.custom-recipe-drawer-owner.is-published small {
  max-width: 100%;
  font-size: 13px;
  line-height: 1.15;
}

.custom-recipe-drawer-owner.is-published .custom-recipe-drawer-owner-copy > span {
  display: block;
  max-width: 100%;
  color: #6a766f;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
}

.custom-recipe-drawer-action-stack {
  display: grid;
  gap: 6px;
  justify-items: start;
  align-self: center;
  width: 100%;
  min-width: 0;
}

.custom-recipe-drawer-action-spacer {
  min-width: 0;
}

.custom-recipe-drawer-action-stack .about-primary-button,
.custom-recipe-drawer-action-stack .about-secondary-button {
  justify-self: start;
  width: 100%;
  min-height: 34px;
  min-width: 0;
  border-width: 1px;
  font-size: 12px;
  font-weight: 850;
  padding: 0 12px;
  box-shadow: none;
}

.custom-recipe-drawer-action-stack .custom-recipe-drawer-complete-button,
.about-secondary-button.custom-recipe-drawer-edit-button,
.about-secondary-button.custom-recipe-drawer-submit-button {
  border-color: rgba(15, 111, 92, 0.32);
  background: rgba(17, 128, 111, 0.1);
  color: var(--brand-dark);
}

.custom-recipe-drawer-action-stack .custom-recipe-drawer-complete-button:hover,
.custom-recipe-drawer-action-stack .custom-recipe-drawer-complete-button:focus-visible,
.about-secondary-button.custom-recipe-drawer-edit-button:hover,
.about-secondary-button.custom-recipe-drawer-edit-button:focus-visible,
.about-secondary-button.custom-recipe-drawer-submit-button:hover:not(:disabled),
.about-secondary-button.custom-recipe-drawer-submit-button:focus-visible:not(:disabled) {
  border-color: rgba(15, 111, 92, 0.44);
  background: rgba(17, 128, 111, 0.16);
  box-shadow: 0 0 0 3px rgba(17, 128, 111, 0.08);
}

.custom-recipe-drawer-submit-button:disabled,
.account-custom-recipe-submit-button:disabled {
  opacity: 0.58;
  cursor: default;
}

.custom-recipe-drawer-complete-button.is-warm-warning {
  border-color: rgba(159, 67, 39, 0.34);
  background: rgba(201, 85, 50, 0.1);
  color: #9b3f25;
}

.custom-recipe-drawer-complete-button.is-warm-warning:hover,
.custom-recipe-drawer-complete-button.is-warm-warning:focus-visible {
  border-color: rgba(122, 48, 27, 0.42);
  background: rgba(201, 85, 50, 0.16);
  box-shadow: 0 0 0 3px rgba(201, 85, 50, 0.08);
}

@media (max-width: 720px) {
  .custom-recipe-drawer-edit-action {
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 14px;
  }

  .custom-recipe-drawer-edit-action.is-single-action {
    grid-template-columns: minmax(120px, 1fr) 72px;
    justify-content: space-between;
  }

  .custom-recipe-drawer-edit-action.has-published-owner,
  .custom-recipe-drawer-edit-action.has-published-owner.is-single-action {
    grid-template-columns: minmax(112px, max-content) minmax(0, 1fr);
    justify-content: stretch;
  }

  .custom-recipe-drawer-edit-action.has-published-owner.is-owner-only {
    grid-template-columns: 1fr;
  }

  .custom-recipe-drawer-owner img {
    width: 72px;
    height: 72px;
  }

  .custom-recipe-drawer-owner.is-published {
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 8px;
    max-width: 100%;
  }

  .custom-recipe-drawer-owner.is-published .custom-recipe-drawer-owner-copy,
  .custom-recipe-drawer-owner.is-published small,
  .custom-recipe-drawer-owner.is-published .custom-recipe-drawer-owner-copy > span {
    max-width: 100%;
  }

  .custom-recipe-drawer-owner small {
    max-width: 76px;
  }

  .custom-recipe-drawer-owner.is-published small {
    max-width: 100%;
  }

  .custom-recipe-drawer-owner:not(.is-published) > span {
    display: none;
  }
}

.drawer-address.card-address span,
.drawer-address .fantasy-house-name {
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
}
.drawer-address.card-address .recipe-byline,
.drawer-address.card-address .recipe-byline span {
  white-space: nowrap;
}

.drawer-activity {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 11px;
  min-width: max-content;
}

.drawer-stats {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: #5c6962;
  padding-top: 1px;
}

.drawer-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.drawer-stat svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drawer-stat strong {
  color: #38433e;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
}

.drawer-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.drawer-price-row .status {
  align-self: center;
  flex: 0 0 auto;
}

.drawer-title-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.drawer-listing-nav {
  position: fixed;
  inset: 0;
  z-index: 2301;
  pointer-events: none;
}

.drawer-listing-nav-button {
  position: fixed;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 8px;
  background: rgba(24, 32, 29, 0.48);
  color: #fff;
  cursor: pointer;
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  padding: 0 0 5px;
  pointer-events: auto;
  transform: translateY(-50%);
  transition: background 120ms ease, border-color 120ms ease, opacity 120ms ease;
}

.drawer-listing-nav-button:hover,
.drawer-listing-nav-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(24, 32, 29, 0.62);
  outline: 0;
}

.drawer-listing-prev {
  left: max(18px, calc(50vw - (min(100vw, max(560px, 38.2vw)) / 2) - 64px));
}

.drawer-listing-next {
  right: max(18px, calc(50vw - (min(100vw, max(560px, 38.2vw)) / 2) - 64px));
}

.drawer-listing-nav-button:disabled {
  cursor: not-allowed;
  opacity: 0.28;
}

.drawer-save-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.drawer-pin-button,
.drawer-favorite-button,
.drawer-print-button,
.drawer-share-button {
  height: 30px;
  padding: 0 10px;
}

.ingredient-modal {
  position: fixed;
  z-index: 2200;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(760px, calc(100vw - 34px));
  max-height: min(820px, calc(100vh - 34px));
  overflow: auto;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(24, 32, 29, 0.28);
  transform: translate(-50%, -50%);
}

.ingredient-modal[hidden] {
  display: none;
}

.ingredient-modal > .close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
}

.ingredient-modal-inner {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 30px);
}

.ingredient-modal-hero {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.ingredient-modal-hero > img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(213, 222, 211, 0.9);
  border-radius: 10px;
  background: #f8f8f2;
  object-fit: contain;
  padding: 12px;
}

.ingredient-modal-title {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.ingredient-modal-title h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
}

.ingredient-modal-favorite {
  height: 34px;
  padding: 0 12px;
}

.ingredient-modal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #52615a;
  font-size: 15px;
  font-weight: 800;
}

.ingredient-modal-dek {
  max-width: 48ch;
  margin: 0;
  color: #4f6058;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
}

.ingredient-modal-shopping-button {
  justify-self: start;
  gap: 8px;
  min-height: 42px;
}

.ingredient-modal-shopping-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.ingredient-modal-shopping-button.is-added:disabled {
  border-color: rgba(15, 111, 92, 0.24);
  background: rgba(15, 111, 92, 0.1);
  color: var(--brand-dark);
  opacity: 1;
}

.ingredient-modal-copy {
  display: grid;
  gap: 12px;
  color: #303b36;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}

.ingredient-modal-copy p {
  margin: 0;
}

.ingredient-modal-copy strong {
  font-weight: 800;
}

.ingredient-modal-recipes {
  display: grid;
  gap: 12px;
  padding-top: 6px;
}

.ingredient-modal-recipes h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.ingredient-modal-recipes > div {
  display: grid;
  gap: 10px;
}

.ingredient-modal-recipes button {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 78px;
  border: 1px solid rgba(213, 222, 211, 0.92);
  border-radius: 8px;
  background: #fbfcfa;
  color: var(--ink);
  cursor: pointer;
  padding: 8px;
  text-align: left;
}

.ingredient-modal-recipes button:hover,
.ingredient-modal-recipes button:focus-visible {
  border-color: rgba(15, 111, 92, 0.36);
  background: #f4faf7;
  outline: 0;
}

.ingredient-modal-recipes img {
  width: 82px;
  height: 82px;
  border-radius: 7px;
  object-fit: cover;
}

.ingredient-modal-recipes span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ingredient-modal-recipes strong,
.ingredient-modal-recipes small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ingredient-modal-recipes strong {
  font-size: 17px;
  line-height: 1.1;
}

.ingredient-modal-recipes small,
.ingredient-modal-empty {
  color: #65746d;
  font-size: 13px;
  font-weight: 750;
}

.about-modal,
.gear-modal,
.account-sync-modal {
  position: fixed;
  z-index: 2200;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(1120px, calc(100vw - 34px));
  max-height: min(1020px, calc(100vh - 34px));
  overflow: auto;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(24, 32, 29, 0.28);
  transform: translate(-50%, -50%);
}

.about-modal {
  width: min(1360px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
}

.gear-modal {
  position: fixed;
  z-index: 2350;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(1240px, calc(100vw - 24px));
  height: calc(100dvh - 24px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 14px;
  background: #fbfcf9;
  box-shadow: 0 36px 110px rgba(18, 29, 25, 0.4);
  transform: translate(-50%, -50%);
}

.account-sync-modal {
  z-index: 2800;
  width: min(926px, calc(100vw - 34px));
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
}

.shopping-list-modal {
  position: fixed;
  z-index: 2320;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(980px, calc(100vw - 34px));
  height: calc(100dvh);
  overflow: scroll;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 14px;
  background: #fffdf8;
  box-shadow:
    0 46px 130px rgba(8, 18, 14, 0.72),
    0 16px 42px rgba(8, 18, 14, 0.42);
  transform: translate(-50%, -50%);
}

.donate-modal {
  position: fixed;
  z-index: 3000;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(560px, calc(100vw - 34px));
  max-height: min(860px, calc(100dvh - 34px));
  overflow: auto;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 42px 120px rgba(8, 18, 14, 0.86),
    0 14px 34px rgba(8, 18, 14, 0.74);
  transform: translate(-50%, -50%);
}

.custom-recipe-modal,
.custom-recipe-image-modal {
  position: fixed;
  z-index: 2900;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(100vw, clamp(900px, 60.48vw, 1000px));
  max-height: min(900px, calc(100dvh - 34px));
  overflow: auto;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 46px 130px rgba(8, 18, 14, 0.68),
    0 16px 42px rgba(8, 18, 14, 0.36);
  align-content: start;
  align-items: start;
  transform: translate(-50%, -50%);
}

.custom-recipe-modal {
  grid-template-rows: minmax(0, 1fr);
  height: min(1521px, calc(100dvh - 16px));
  max-height: calc(100dvh - 16px);
  overflow: hidden;
}

.custom-recipe-modal[data-custom-recipe-mode="setup"] {
  display: block;
  width: min(1040px, calc(100vw - 34px));
  height: min(1220px, calc(100dvh - 64px)) !important;
  max-height: calc(100dvh - 16px);
  min-height: 0;
  overflow: hidden;
}

#customRecipeModalContent {
  min-height: 0;
  max-height: inherit;
  overflow: auto;
}

#customRecipeModal:not([data-custom-recipe-mode="setup"]) #customRecipeModalContent {
  display: grid;
  height: 100%;
  overflow: hidden;
}

.custom-recipe-image-modal {
  z-index: 2950;
  width: min(980px, calc(100vw - 34px));
}

.custom-recipe-modal.is-image-picker-open {
  pointer-events: none;
}

.about-modal[hidden],
.gear-modal[hidden],
.account-sync-modal[hidden],
.custom-recipe-modal[hidden],
.custom-recipe-image-modal[hidden],
.shopping-list-modal[hidden],
.donate-modal[hidden] {
  display: none;
}

.about-modal > .close-button,
.gear-modal > .close-button,
.account-sync-modal > .close-button,
.custom-recipe-modal > .close-button,
.custom-recipe-image-modal > .close-button,
.shopping-list-modal > .close-button,
.donate-modal > .close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
}

.print-modal {
  position: fixed;
  z-index: 2500;
  top: 0;
  bottom: 0;
  left: 50%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(100vw, clamp(900px, 60.48vw, 1000px));
  height: 100vh;
  max-height: none;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #f5f6f4;
  box-shadow: 0 28px 90px rgba(24, 32, 29, 0.28);
  transform: translateX(-50%);
}

.print-modal[hidden] {
  display: none;
}

.print-modal .print-modal-actions > .close-button {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 3;
  border-color: rgba(213, 222, 211, 0.86);
  box-shadow: 0 1px 2px rgba(24, 32, 29, 0.08);
}

.print-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 56px;
  background: #fff;
  padding: 10px 82px 10px 16px;
}

.print-modal-left-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.print-font-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #737373;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.print-font-control input {
  width: min(180px, 34vw);
  accent-color: #7cbe9f;
}

.print-reading-mode-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 28px;
  border: 1px solid rgba(15, 111, 92, 0.26);
  border-radius: 8px;
  background: rgb(45 52 50 / 89%);
  color: #73817a;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  padding: 0 10px;
  box-shadow: 0 1px 2px rgba(24, 32, 29, 0.08);
  white-space: nowrap;
}

.print-reading-mode-button:hover,
.print-reading-mode-button:focus-visible,
.print-reading-mode-button[aria-pressed="true"] {
  border-color: rgba(15, 111, 92, 0.42);
  background: #ddd;
  color: #739c8c;
  outline: 0;
}

.print-control-icon {
  display: none;
}

.print-modal[data-mode="focus"] .print-reading-mode-button .print-control-label {
  display: none;
}

.print-modal[data-mode="focus"] .print-reading-mode-button .print-control-icon {
  display: grid;
  place-items: center;
}

.print-modal[data-mode="focus"] .print-reading-mode-button .print-control-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.print-modal:not([data-mode="focus"]) #focusReadingModeToggle {
  display: none;
}

.print-modal-action-button {
  appearance: none;
  align-self: center;
  border: 1px solid rgba(15, 111, 92, 0.35);
  border-radius: 8px;
  background: #fff;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  min-height: 40px;
  padding: 0 18px;
}

.print-modal-action-button:hover,
.print-modal-action-button:focus-visible {
  background: #7cbe9f;
  outline: 0;
}

.print-modal[data-mode="focus"] .print-modal-action-button {
  display: none;
}

.print-modal[data-mode="focus"] .print-ingredients-section > .meta {
  display: none;
}

.print-modal[data-mode="focus"][data-focus-dark-mode="true"] {
  background: #0f1512;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.54);
}

.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .print-modal-actions {
  background: #0f1512;
  color: #f4ecd8;
}

.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .print-font-control {
  color: #c7cabf;
}

.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .print-font-control input {
  accent-color: #9bd5b7;
}

.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .print-reading-mode-button {
  background: rgba(244, 236, 216, 0.1);
  color: #f4ecd8;
}

.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .print-modal-actions > .close-button {
  border-color: rgba(244, 236, 216, 0.24);
  background: #151f1b;
  color: #f4ecd8;
}

#printModalContent {
  overflow: auto;
  padding: 22px;
  background-color: #fff;
}

.print-modal .recipe-note-card {
  box-sizing: border-box;
  width: min(7.85in, 100%);
  margin: 0 auto 22px;
  border: 0;
  background: #fff;
  color: #111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: calc(11pt * var(--print-font-scale, 1));
  line-height: 1.35;
}

.print-modal .recipe-note-card:last-child {
  margin-bottom: 0;
}

.print-modal[data-mode="focus"][data-focus-dark-mode="true"] #printModalContent {
  background-color: #0f1512;
}

.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .recipe-note-card {
  background: #0f1512;
  color: #f4ecd8;
}

.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .recipe-note-card header {
  border-color: rgba(244, 236, 216, 0.72);
}

.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .recipe-note-card h2,
.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .recipe-note-card h3,
.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .recipe-note-card h4,
.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .print-sides-section h3,
.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .print-tips-section h3 {
  border-color: rgba(244, 236, 216, 0.62);
}

.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .print-ingredients-section h4 {
  border-color: rgba(244, 236, 216, 0.28);
}

.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .recipe-note-card .meta,
.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .recipe-note-card .description,
.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .print-ingredient-list small {
  color: #c8c5b7;
}

.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .print-check-row:hover,
.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .print-check-row:focus-visible {
  background: rgba(155, 213, 183, 0.14);
}

.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .print-check-row.checked {
  color: #878d84;
}

.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .print-check-row.checked small {
  color: #777e75;
}

.print-modal[data-mode="focus"] .direction-time {
  position: relative;
  z-index: 1;
  font-size: inherit;
}

.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .direction-time {
  border-color: rgba(155, 213, 183, 0.34);
  background: rgba(155, 213, 183, 0.14);
  color: #c9f0de;
}

.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .direction-time:hover,
.print-modal[data-mode="focus"][data-focus-dark-mode="true"] .direction-time:focus-visible {
  border-color: rgba(155, 213, 183, 0.58);
  background: rgba(155, 213, 183, 0.22);
}

body:has(#printModal[data-mode="focus"][data-focus-dark-mode="true"]:not([hidden])) .cooking-timer {
  border-color: rgba(201, 240, 222, 0.22);
  background: rgba(20, 28, 24, 0.96);
  color: #f4ecd8;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.46);
}

body:has(#printModal[data-mode="focus"][data-focus-dark-mode="true"]:not([hidden])) .timer-copy span small,
body:has(#printModal[data-mode="focus"][data-focus-dark-mode="true"]:not([hidden])) .timer-minimized-time,
body:has(#printModal[data-mode="focus"][data-focus-dark-mode="true"]:not([hidden])) .timer-time-input {
  color: #f4ecd8;
}

body:has(#printModal[data-mode="focus"][data-focus-dark-mode="true"]:not([hidden])) .timer-copy span strong {
  color: #b8c6bd;
}

body:has(#printModal[data-mode="focus"][data-focus-dark-mode="true"]:not([hidden])) .timer-copy button,
body:has(#printModal[data-mode="focus"][data-focus-dark-mode="true"]:not([hidden])) .timer-actions > button {
  border-color: rgba(201, 240, 222, 0.24);
  background: #1b2520;
  color: #e5eee8;
}

body:has(#printModal[data-mode="focus"][data-focus-dark-mode="true"]:not([hidden])) .timer-main {
  border-color: rgba(155, 213, 183, 0.34);
  background: rgba(155, 213, 183, 0.12);
  color: #c9f0de;
}

body:has(#printModal[data-mode="focus"][data-focus-dark-mode="true"]:not([hidden])) .timer-actions button[data-toggle-timer] span {
  color: #c9f0de;
}

body:has(#printModal[data-mode="focus"][data-focus-dark-mode="true"]:not([hidden])) .cooking-timer.running .timer-main {
  border-color: rgba(231, 164, 105, 0.52);
  background: rgba(155, 79, 30, 0.28);
  color: #ffd4b0;
}

body:has(#printModal[data-mode="focus"][data-focus-dark-mode="true"]:not([hidden])) .cooking-timer.running .timer-actions button[data-toggle-timer] span {
  color: #ffd4b0;
}

body:has(#printModal[data-mode="focus"][data-focus-dark-mode="true"]:not([hidden])) .cooking-timer.done {
  border-color: rgba(231, 164, 105, 0.46);
  background: rgba(62, 35, 23, 0.98);
}

body:has(#printModal[data-mode="focus"][data-focus-dark-mode="true"]:not([hidden])) .timer-time-input:focus {
  border-color: rgba(155, 213, 183, 0.48);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(155, 213, 183, 0.12);
}

.print-modal[data-mode="focus"][data-focus-context="pinned"] {
  --focus-control-rail-width: 76px;
  --focus-control-gutter: 94px;
  --pinned-drawer-width: clamp(744px, 38.2vw, 820px);
  --pinned-drawer-fit-width: min(var(--pinned-drawer-width), calc(100vw - var(--focus-control-gutter) - 72px));
  --pinned-drawer-height: min(1880px, calc(100vh - 82px));
  inset: 0;
  left: 0;
  display: block;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
  transform: none;
}

.print-modal[data-mode="focus"][data-focus-context="pinned"] .print-modal-actions > .close-button,
.print-modal[data-mode="focus"][data-focus-context="pinned"] .print-modal-actions {
  pointer-events: auto;
}

.print-modal[data-mode="focus"][data-focus-context="pinned"] .print-modal-actions {
  position: fixed;
  top: 14px;
  right: 20px;
  z-index: 4;
  box-sizing: border-box;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  min-height: 0;
  border: 1px solid rgba(213, 222, 211, 0.55);
  border-radius: 10px;
  background: rgba(4, 4, 4, 0.88);
  padding: 8px;
  box-shadow: 0 12px 34px rgba(24, 32, 29, 0.18);
}

.print-modal[data-mode="focus"][data-focus-context="pinned"] .print-modal-left-actions {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.print-modal[data-mode="focus"][data-focus-context="pinned"] .print-font-control,
.print-modal[data-mode="focus"][data-focus-context="pinned"] .print-reading-mode-button,
.print-modal[data-mode="focus"][data-focus-context="pinned"] .print-modal-action-button {
  width: 100%;
}

.print-modal[data-mode="focus"][data-focus-context="pinned"] .print-font-control {
  flex-direction: column;
  justify-content: center;
  min-height: 150px;
}

.print-modal[data-mode="focus"][data-focus-context="pinned"] .print-font-control input {
  width: 24px;
  height: 116px;
  writing-mode: vertical-lr;
  direction: rtl;
}

.print-modal[data-mode="focus"][data-focus-context="pinned"] .print-reading-mode-button {
  justify-content: center;
  padding: 10px 7px;
  text-align: center;
  white-space: normal;
}

.print-modal[data-mode="focus"][data-focus-context="pinned"] .print-reading-mode-button .print-control-label {
  display: none;
}

.print-modal[data-mode="focus"][data-focus-context="pinned"] .print-reading-mode-button .print-control-icon {
  display: grid;
  place-items: center;
}

.print-modal[data-mode="focus"][data-focus-context="pinned"] .print-reading-mode-button .print-control-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.print-modal[data-mode="focus"][data-focus-context="pinned"] .print-modal-actions > .close-button {
  display: none;
}

.print-modal[data-mode="focus"][data-focus-context="pinned"] #printModalContent {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  width: calc(100% - var(--focus-control-gutter));
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 28px 18px;
  background: transparent;
  pointer-events: auto;
}

.print-modal[data-mode="focus"][data-focus-context="pinned"] .recipe-note-card {
  position: relative;
  flex: 0 0 min(calc(100vw - var(--focus-control-gutter) - 36px), var(--pinned-drawer-fit-width));
  width: min(calc(100vw - var(--focus-control-gutter) - 36px), var(--pinned-drawer-fit-width));
  max-width: var(--pinned-drawer-fit-width);
  height: var(--pinned-drawer-height);
  max-height: var(--pinned-drawer-height);
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  border-radius: 14px;
  padding: 0.3in;
  box-shadow: 0 22px 54px rgba(24, 32, 29, 0.24);
}

.print-card-close-button {
  display: none;
}

.print-modal[data-mode="focus"][data-focus-context="pinned"] .print-card-close-button {
  position: sticky;
  top: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: -0.26in -0.16in 0 auto;
  border: 1px solid rgba(213, 222, 211, 0.86);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #111;
  cursor: pointer;
  font: 900 24px/1 Arial, sans-serif;
  box-shadow: 0 8px 22px rgba(24, 32, 29, 0.16);
}

.print-modal[data-mode="focus"][data-focus-context="pinned"] .print-card-close-button:hover,
.print-modal[data-mode="focus"][data-focus-context="pinned"] .print-card-close-button:focus-visible {
  background: #fff0eb;
  border-color: rgba(154, 60, 52, 0.36);
  outline: 0;
}

@media (max-width: 779px) {
  .print-modal[data-mode="focus"]:not([data-focus-context="pinned"]) .print-modal-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 56px;
    padding: 8px 10px;
  }

  .print-modal[data-mode="focus"]:not([data-focus-context="pinned"]) .print-modal-left-actions {
    display: contents;
  }

  .print-modal[data-mode="focus"]:not([data-focus-context="pinned"]) .print-font-control {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .print-modal[data-mode="focus"]:not([data-focus-context="pinned"]) .print-font-control input {
    flex: 1 1 auto;
    width: auto;
    min-width: 64px;
  }

  .print-modal[data-mode="focus"] .print-reading-mode-button {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
  }

  .print-modal[data-mode="focus"] .print-reading-mode-button .print-control-label {
    display: none;
  }

  .print-modal[data-mode="focus"] .print-reading-mode-button .print-control-icon {
    display: grid;
    place-items: center;
  }

  .print-modal[data-mode="focus"] .print-reading-mode-button .print-control-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }

  .print-modal[data-mode="focus"] #printMeasurementsToggle {
    order: 2;
  }

  .print-modal[data-mode="focus"] #focusReadingModeToggle {
    order: 1;
  }

  .print-modal[data-mode="focus"] .print-font-control {
    order: 3;
  }

  .print-modal[data-mode="focus"]:not([data-focus-context="pinned"]) .print-modal-actions > .close-button {
    position: static;
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    order: 4;
    width: 40px;
    height: 40px;
  }

  .print-modal[data-mode="focus"][data-focus-context="pinned"] {
    --focus-control-rail-width: 0px;
    --focus-control-gutter: 0px;
    --pinned-drawer-width: calc(100vw - 28px);
    --pinned-drawer-fit-width: var(--pinned-drawer-width);
    --pinned-drawer-height: calc(100dvh - 92px);
    height: 100dvh;
  }

  .print-modal[data-mode="focus"][data-focus-context="pinned"] .print-modal-actions {
    top: 10px;
    right: 12px;
    left: 12px;
    flex-direction: row;
    align-items: center;
    width: auto;
    min-height: 56px;
    border-color: rgba(213, 222, 211, 0.38);
    background: #111;
    padding: 7px 9px;
    backdrop-filter: none;
  }

  .print-modal[data-mode="focus"][data-focus-context="pinned"] .print-modal-left-actions {
    flex: 1 1 auto;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  .print-modal[data-mode="focus"][data-focus-context="pinned"] .print-font-control {
    flex: 1 1 auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
    width: auto;
    min-width: 0;
    min-height: 40px;
    padding-inline: 8px;
  }

  .print-modal[data-mode="focus"][data-focus-context="pinned"] .print-font-control input {
    flex: 1 1 auto;
    width: auto;
    min-width: 64px;
    height: auto;
    writing-mode: horizontal-tb;
    direction: ltr;
  }

  .print-modal[data-mode="focus"][data-focus-context="pinned"] .print-reading-mode-button {
    flex: 0 0 40px;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
  }

  .print-modal[data-mode="focus"][data-focus-context="pinned"] .print-font-control {
    order: 3;
  }

  .print-modal[data-mode="focus"][data-focus-context="pinned"] #printMeasurementsToggle {
    order: 2;
  }

  .print-modal[data-mode="focus"][data-focus-context="pinned"] #focusReadingModeToggle {
    order: 1;
  }

  .print-modal[data-mode="focus"][data-focus-context="pinned"] .print-modal-actions > .close-button {
    position: static;
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
  }

  .print-modal[data-mode="focus"][data-focus-context="pinned"] .print-card-close-button {
    display: none;
  }

  .print-modal[data-mode="focus"][data-focus-context="pinned"] #printModalContent {
    align-items: flex-start;
    width: 100%;
    height: 100dvh;
    padding: 78px 14px 14px;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .print-modal[data-mode="focus"][data-focus-context="pinned"] .recipe-note-card {
    flex-basis: var(--pinned-drawer-fit-width);
    width: var(--pinned-drawer-fit-width);
    contain: layout paint;
    box-shadow: 0 8px 20px rgba(24, 32, 29, 0.18);
  }

}

body.print-modal-open #scrim {
  background: rgba(42, 44, 43);
}

.print-modal .recipe-note-card *,
.print-modal .recipe-note-card *::before,
.print-modal .recipe-note-card *::after {
  box-sizing: border-box;
}

.print-modal .recipe-note-card > header {
  margin-bottom: 0.16in;
  padding-bottom: 0.12in;
}

.print-modal .recipe-note-card h1,
.print-modal .recipe-note-card h2,
.print-modal .recipe-note-card h3,
.print-modal .recipe-note-card h4,
.print-modal .recipe-note-card p {
  margin: 0;
}

.print-modal .recipe-note-card h1 {
  font-size: calc(22pt * var(--print-font-scale, 1));
  letter-spacing: 0.03em;
  line-height: 1.02;
  text-transform: uppercase;
}

.print-modal .recipe-note-card .meta {
  margin-top: 0.08in;
  font: 700 calc(10pt * var(--print-font-scale, 1)) Arial, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.print-modal .recipe-note-card .description {
  margin-top: 0.12in;
  color: #303b36;
}

.print-modal .recipe-note-card h2 {
  margin-top: 0.18in;
  border-bottom: 1px solid #111;
  font: 800 calc(12pt * var(--print-font-scale, 1)) Arial, sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.print-modal .recipe-note-card h3 {
  margin-top: 0.16in;
  font: 800 calc(11pt * var(--print-font-scale, 1)) Arial, sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.print-modal .recipe-note-card h4 {
  margin-top: 0.1in;
  font: 800 calc(9pt * var(--print-font-scale, 1)) Arial, sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.print-modal .recipe-note-card h2,
.print-modal .recipe-note-card h3,
.print-modal .recipe-note-card h4 {
  break-after: avoid;
  page-break-after: avoid;
}

.print-modal .recipe-note-card h2 + p,
.print-modal .recipe-note-card h3 + p,
.print-modal .recipe-note-card h2 + .print-subsection,
.print-modal .recipe-note-card h3 + ul,
.print-modal .recipe-note-card h4 + ul,
.print-modal .recipe-note-card h4 + ol {
  break-before: avoid;
  page-break-before: avoid;
}

.print-modal .recipe-note-card ul,
.print-modal .recipe-note-card ol {
  margin: 0.06in 0 0 0.18in;
  padding: 0;
}

.print-modal .recipe-note-card li {
  margin-bottom: 0.045in;
  break-inside: avoid;
}

.print-modal .recipe-note-card dl {
  margin: 0.08in 0 0;
}

.print-modal .recipe-note-card dt {
  font: 800 calc(9pt * var(--print-font-scale, 1)) Arial, sans-serif;
  text-transform: uppercase;
}

.print-modal .recipe-note-card dd {
  margin: 0.02in 0 0.08in;
}

.print-modal .print-tool-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 0.24in;
  row-gap: 0.025in;
  margin-left: 0.15in;
}

.print-modal .print-tool-list li {
  break-inside: avoid;
  margin-bottom: 0;
}

.print-modal .print-subsection {
  break-inside: avoid;
  page-break-inside: avoid;
}

.print-modal .print-ingredient-sections {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0.28in;
  row-gap: 0.08in;
  margin-top: 0.08in;
}

.print-modal[data-mode="focus"] .print-ingredient-sections.is-balanced {
  align-items: start;
}

.print-modal[data-mode="focus"] .print-ingredient-column {
  display: grid;
  align-content: start;
  gap: 0.08in;
  min-width: 0;
}

.print-modal .print-ingredients-section .print-subsection {
  break-inside: auto;
  page-break-inside: auto;
  margin-top: 8px;
}

.print-modal .print-ingredients-section h4 {
  margin-top: 0;
  border-bottom: 1px solid #bbb;
  padding-bottom: 0.025in;
}

.print-modal .print-ingredient-list {
  margin: 0.045in 0 0 0.15in;
}

.print-modal .print-ingredient-list li {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 0.08in;
  align-items: baseline;
  margin-bottom: 0.06in;
  line-height: 1.22;
}

.print-modal .print-ingredient-list li > span {
  min-width: 0;
}

.print-modal .print-ingredient-list small {
  color: #444;
  font-size: calc(8.5pt * var(--print-font-scale, 1));
  font-style: italic;
  justify-self: end;
  line-height: 1.12;
  min-width: 0;
  text-align: right;
}

.print-modal .print-check-row {
  cursor: pointer;
  border-radius: 3px;
}

.print-modal .print-check-row:hover,
.print-modal .print-check-row:focus-visible {
  background: rgba(124, 190, 159, 0.12);
  outline: 0;
}

.print-modal .print-check-row.checked {
  color: #8b948e;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.print-modal .print-check-row.checked small {
  color: #9aa19c;
}

.print-modal .print-directions-section .print-subsection + .print-subsection {
  margin-top: 0.14in;
}

.print-modal .print-directions-section {
  margin-bottom: 0.34in;
}

.print-modal .print-directions-section + .print-sides-section h3 {
  margin-top: 0;
}

.print-modal .print-sides-section h3,
.print-modal .print-tips-section h3 {
  border-bottom: 1px solid #111;
  padding-bottom: 0.03in;
}

.about-modal-inner {
  display: grid;
  gap: 28px;
  padding: clamp(20px, 3.4vw, 46px);
}

.account-sync-modal-inner {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3.4vw, 30px);
}

.account-sync-modal-header {
  display: grid;
  gap: 10px;
}

.account-sync-modal-header h2 {
  margin: 0;
  max-width: calc(100% - 76px);
  color: var(--ink);
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 950;
  line-height: 1.02;
}

.account-sync-modal-header p:not(.about-eyebrow),
.account-sync-note p {
  margin: 0;
  color: #4c5a54;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.48;
}

.shopping-list-modal-inner {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(16px, 2.5vw, 24px);
}

.shopping-list-modal-header {
  display: grid;
  gap: 10px;
  padding-right: 60px;
}

.shopping-list-modal-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 950;
  line-height: 1;
}

.shopping-list-floating-focus-button {
  position: fixed;
  right: 10px;
  bottom: 14px;
  z-index: 2400;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: 55px;
  height: 55px;
  border: 1px solid rgba(15, 111, 92, 0.28);
  border-radius: 50%;
  background: #67be65;
  color: var(--brand-dark);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 8px 20px rgba(24, 32, 29, 0.14);
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.shopping-list-floating-focus-button[hidden] {
  display: none;
}

.shopping-list-floating-focus-button svg {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.shopping-list-floating-focus-button:hover,
.shopping-list-floating-focus-button:focus-visible {
  border-color: rgba(15, 111, 92, 0.44);
  background: #67e165;
  box-shadow: 0 0 0 3px rgba(15, 111, 92, 0.14), 0 10px 24px rgba(24, 32, 29, 0.16);
  outline: 0;
  transform: translateY(-1px);
}

.shopping-list-floating-focus-button[aria-pressed="true"] {
  border-color: var(--pin-border);
  background: #5497b6;
  color: #123123;
}

.shopping-list-modal-header p:not(.about-eyebrow) {
  margin: 0;
  color: #56635d;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.42;
}

.shopping-list-pinned-action-row {
  display: flex;
  align-items: end;
  gap: 18px;
  min-width: 0;
}

.shopping-list-pinned-action-row .shopping-list-pinned-recipes {
  flex: 1 1 auto;
  width: auto;
}

@media (max-width: 700px) {
  .shopping-list-pinned-action-row {
    align-items: end;
    flex-wrap: wrap;
  }
}

.shopping-list-pinned-recipes {
  display: grid;
  gap: 8px;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.shopping-list-pinned-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #40564c;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.shopping-list-pinned-track {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 1px 2px 3px;
  scrollbar-color: rgba(49, 81, 69, 0.35) transparent;
  scrollbar-width: thin;
}

.shopping-list-pinned-recipe {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  flex: 0 0 179px;
  min-width: 0;
  min-height: 72px;
  border: 1px solid #d4ded5;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  padding: 4px 8px 4px 4px;
  text-align: left;
}

.shopping-list-pinned-recipe-image {
  position: relative;
  display: block;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 8px;
}

.shopping-list-pinned-recipe-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shopping-list-pinned-recipe-title {
  display: -webkit-box;
  overflow: hidden;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.shopping-list-pinned-recipe:hover,
.shopping-list-pinned-recipe:focus-visible {
  border-color: rgba(15, 111, 92, 0.48);
  background: #f7fbf6;
  box-shadow: 0 0 0 3px rgba(15, 111, 92, 0.12);
  outline: 0;
  transform: translateY(-1px);
}

.shopping-list-shop-button,
.shopping-specialty-back {
  min-height: 40px;
  border: 1px solid #bdccc2;
  border-radius: 999px;
  padding: 0 17px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 950;
}

.shopping-list-shop-button.is-amazon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-color: #c06e2e;
  background: #c06e2e;
  color: #fff;
}

.shopping-list-shop-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.shopping-list-shop-button:hover:not(:disabled),
.shopping-list-shop-button:focus-visible,
.shopping-specialty-back:hover,
.shopping-specialty-back:focus-visible {
  box-shadow: 0 0 0 3px rgba(47, 96, 77, 0.14);
  outline: 0;
  transform: translateY(-1px);
}

.shopping-list-shop-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.shopping-specialty-modal-inner {
  gap: 24px;
}

.shopping-specialty-header {
  gap: 10px;
}

.shopping-specialty-back {
  justify-self: start;
  width: max-content;
  min-height: 34px;
  margin-bottom: 5px;
  background: #fff;
  color: #40564c;
}

.shopping-specialty-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.shopping-specialty-item {
  position: relative;
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  min-height: 160px;
  overflow: hidden;
  border: 1px solid #d4ded5;
  border-radius: 18px;
  background: #fff;
}

.shopping-specialty-item > :not(.shopping-specialty-select) {
  transition: opacity 140ms ease, filter 140ms ease;
}

.shopping-specialty-item:has([data-amazon-specialty-select]:not(:checked)) {
  border-color: #d9ded9;
  background: #f4f5f3;
}

.shopping-specialty-item:has([data-amazon-specialty-select]:not(:checked)) > :not(.shopping-specialty-select) {
  opacity: 0.58;
  filter: grayscale(0.35);
}

.shopping-specialty-select {
  position: absolute;
  top: 11px;
  right: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 25px;
  padding: 3px 8px;
  border: 1px solid #c9d5cc;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #40564c;
  cursor: pointer;
  font-size: 9px;
  font-weight: 950;
}

.shopping-specialty-select input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #315145;
}

.shopping-specialty-select:has(input:not(:checked)) {
  color: #78847e;
  opacity: 0.78;
}

.shopping-specialty-image {
  display: grid;
  place-items: center;
  background: #fff9ed;
  padding: 14px;
}

.shopping-specialty-image img {
  width: 124px;
  height: 124px;
  object-fit: contain;
}

.shopping-specialty-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
  padding: 20px 22px;
}

.shopping-specialty-copy > p,
.shopping-specialty-copy > h3 {
  margin: 0;
}

.shopping-specialty-copy > p {
  color: #687870;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.shopping-specialty-copy > h3 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.15;
}

.shopping-specialty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.shopping-specialty-add-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 42px;
  margin-top: 14px;
  padding: 9px 17px;
  border: 1px solid #c06e2e;
  border-radius: 999px;
  background: #c06e2e;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
}

.shopping-specialty-add-all small {
  font-size: 9px;
  opacity: 0.75;
}

.shopping-specialty-add-all:hover,
.shopping-specialty-add-all:focus-visible {
  border-color: #315145;
  background: #315145;
  color: #fff;
  outline: 0;
}

.shopping-specialty-add-all.is-disabled {
  pointer-events: none;
  opacity: 0.45;
}

.shopping-specialty-amazon-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 36px;
  border: 1px solid #315145;
  border-radius: 999px;
  background: #315145;
  padding: 0 16px;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  text-decoration: none;
}

.shopping-specialty-amazon-link.is-secondary {
  border-color: #c8d4ca;
  background: #fff;
  color: #315145;
}

.shopping-specialty-amazon-link small {
  font-size: 8px;
  opacity: 0.72;
}

.shopping-specialty-amazon-link:hover,
.shopping-specialty-amazon-link:focus-visible {
  border-color: #c06e2e;
  background: #c06e2e;
  color: #fff;
  outline: 0;
}

.shopping-specialty-footer {
  border-top: 1px solid #d8e1d8;
  padding-top: 16px;
}

.shopping-list-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.shopping-list-category-column {
  display: grid;
  align-content: start;
  gap: 24px;
  min-width: 0;
}

.shopping-list-modal-sections {
  display: grid;
  gap: 18px;
}

.shopping-list-modal-section {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}

.shopping-list-modal-section > header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.shopping-list-modal-section > header > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.shopping-list-modal-section > header > .shopping-list-modal-section-actions {
  display: flex;
  align-items: start;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 18px;
}

.shopping-list-modal-section-actions .shopping-list-modal-clear,
.shopping-list-modal-section-actions .shopping-list-shop-button {
  width: auto;
  min-height: 34px;
}

.shopping-list-modal-section > header h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  font-weight: 950;
  line-height: 1.05;
}

.shopping-list-section-title {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.shopping-list-section-title small {
  color: #78847e;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}

.shopping-list-modal-clear {
  flex: 0 0 auto;
  min-height: 32px;
  border: 1px solid rgba(154, 60, 52, 0.26);
  border-radius: 8px;
  background: #fff7f4;
  color: #9a3c34;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  padding: 0 12px;
}

.shopping-list-modal-clear:hover,
.shopping-list-modal-clear:focus-visible {
  border-color: rgba(154, 60, 52, 0.5);
  background: #fff0eb;
  box-shadow: 0 0 0 3px rgba(154, 60, 52, 0.12);
  outline: 0;
}

.shopping-list-modal-clear:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.shopping-list-modal-transfer-all {
  flex: 0 0 auto;
  min-height: 32px;
  border: 1px solid rgba(15, 111, 92, 0.34);
  border-radius: 8px;
  background: #f4faf6;
  color: var(--brand-dark);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 950;
  padding: 0 12px;
}

.shopping-list-modal-transfer-all:hover,
.shopping-list-modal-transfer-all:focus-visible {
  border-color: rgba(15, 111, 92, 0.58);
  background: #eaf5ee;
  box-shadow: 0 0 0 3px rgba(15, 111, 92, 0.12);
  outline: 0;
}

.shopping-list-modal-transfer-all:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.shopping-list-modal-add {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
}

.shopping-list-modal-add > .shopping-list-modal-clear {
  flex: 0 0 auto;
}

.shopping-list-modal-add .shopping-list-shop-button {
  width: auto;
  min-height: 32px;
  padding-inline: 12px;
}

.shopping-list-modal-add .kitchen-add-form {
  flex: 0 1 360px;
  width: min(360px, 100%);
  min-width: 0;
  border-top: 0;
  padding: 0;
  margin-right: auto;
}

.shopping-list-modal-add .kitchen-add-menu summary {
  min-height: 38px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
}

.shopping-list-modal-add .kitchen-add-menu .check-options {
  z-index: 12;
}

.shopping-list-category {
  overflow: hidden;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(24, 32, 29, 0.1);
}

.shopping-list-category > header {
  border-bottom: 1px solid rgba(213, 222, 211, 0.86);
  background: rgba(152, 187, 171, 0.72);
}

.shopping-list-category-pantry > header {
  background: rgb(152 180 187 / 72%);
}

.shopping-list-category.collapsed > header {
  border-bottom-color: transparent;
}

.shopping-list-category > header h3 {
  margin: 0;
}

.shopping-list-category-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 14px;
  gap: 12px;
  align-items: center;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 11px 13px;
  text-align: left;
}

.shopping-list-category-toggle:hover,
.shopping-list-category-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: 0;
}

.shopping-list-category-toggle:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(15, 111, 92, 0.2);
}

.shopping-list-category-name {
  min-width: 0;
  overflow: hidden;
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shopping-list-category-count {
  color: #56635d;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.shopping-list-category-icon {
  justify-self: center;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--brand-dark);
  border-bottom: 2px solid var(--brand-dark);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 140ms ease;
}

.shopping-list-category.collapsed .shopping-list-category-icon {
  transform: translateX(-2px) rotate(-45deg);
}

.shopping-list-items {
  display: grid;
}

.shopping-list-items[hidden] {
  display: none;
}

.shopping-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
  border: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
  text-align: left;
}

.shopping-list-item-main {
  display: grid;
  grid-template-columns: 22px 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
}

.shopping-list-item:last-child {
  border-bottom: 0;
}

.shopping-list-item:hover,
.shopping-list-item:has(.shopping-list-item-main:focus-visible) {
  background: #fff8ec;
  box-shadow: inset 3px 0 0 var(--brand);
  outline: 0;
}

.shopping-list-item-main:focus-visible {
  outline: 0;
}

.shopping-list-item.checked {
  background: #f6f8f5;
}

.shopping-list-item-check {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(15, 111, 92, 0.28);
  border-radius: 999px;
  color: #fff;
}

.shopping-list-item.checked .shopping-list-item-check {
  border-color: var(--brand);
  background: var(--brand);
}

.shopping-list-item.checked .shopping-list-item-check::before {
  content: "✓";
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
}

.shopping-list-item-actions {
  display: flex;
  gap: 7px;
  align-items: center;
}

.shopping-list-row-action {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(15, 111, 92, 0.24);
  border-radius: 999px;
  background: #f7fbf6;
  color: var(--brand-dark);
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
  padding: 0;
}

.shopping-list-row-action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.shopping-list-row-action:hover,
.shopping-list-row-action:focus-visible {
  border-color: rgba(15, 111, 92, 0.42);
  background: var(--pin-bg);
  box-shadow: 0 0 0 3px rgba(15, 111, 92, 0.12);
  outline: 0;
}

.shopping-list-row-action.is-danger {
  border-color: rgba(154, 60, 52, 0.24);
  background: #fff7f4;
  color: #9a3c34;
}

.shopping-list-row-action.is-danger:hover,
.shopping-list-row-action.is-danger:focus-visible {
  border-color: rgba(154, 60, 52, 0.5);
  background: #fff0eb;
  box-shadow: 0 0 0 3px rgba(154, 60, 52, 0.12);
}

.shopping-list-item-image {
  display: block;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 8px;
  background: #eef3ee;
}

.shopping-list-item-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shopping-list-item-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.shopping-list-item.pantry-item .shopping-list-item-main {
  grid-template-columns: 52px minmax(0, 1fr);
  cursor: default;
}

.shopping-list-item-copy strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.12;
}

.shopping-list-item-copy span {
  overflow-wrap: anywhere;
  color: #7b5a16;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

.shopping-detail-1 .shopping-list-category > header {
  display: none;
}

.shopping-detail-1 .shopping-list-category {
  border-radius: 8px;
  box-shadow: none;
}

.shopping-detail-1 .shopping-list-items[hidden] {
  display: grid;
}

.shopping-detail-1 .shopping-list-item-copy > span,
.shopping-detail-2 .shopping-list-item-copy > span {
  display: none;
}

.shopping-detail-1 .shopping-list-item-image,
.shopping-detail-2 .shopping-list-item-image,
.shopping-detail-3 .shopping-list-item-image {
  display: none;
}

.shopping-detail-1 .shopping-list-item-main,
.shopping-detail-2 .shopping-list-item-main,
.shopping-detail-3 .shopping-list-item-main {
  grid-template-columns: 22px minmax(0, 1fr);
}

.shopping-detail-1 .shopping-list-item.pantry-item .shopping-list-item-main,
.shopping-detail-2 .shopping-list-item.pantry-item .shopping-list-item-main,
.shopping-detail-3 .shopping-list-item.pantry-item .shopping-list-item-main {
  grid-template-columns: minmax(0, 1fr);
}

.shopping-list-item.checked .shopping-list-item-image {
  opacity: 0.58;
}

.shopping-list-item.checked .shopping-list-item-copy strong,
.shopping-list-item.checked .shopping-list-item-copy span {
  color: #8b948e;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.shopping-list-modal-inner.is-kitchen-focus-mode {
  gap: 18px;
  background: #fff;
  color: #000;
}

.is-kitchen-focus-mode .shopping-list-modal-add,
.is-kitchen-focus-mode .shopping-list-item-actions,
.is-kitchen-focus-mode .shopping-list-pinned-action-row,
.is-kitchen-focus-mode .shopping-list-modal-section .about-eyebrow,
.is-kitchen-focus-mode .shopping-list-category-count,
.is-kitchen-focus-mode .shopping-list-category-icon,
.is-kitchen-focus-mode .shopping-list-item-image,
.is-kitchen-focus-mode .shopping-list-item-copy > span,
.is-kitchen-focus-mode .shopping-list-modal-empty span {
  display: none;
}

.is-kitchen-focus-mode .shopping-list-modal-sections {
  gap: 24px;
}

@media (min-width: 721px) {
  .is-kitchen-focus-mode .shopping-list-modal-sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

.is-kitchen-focus-mode .shopping-list-modal-section {
  gap: 12px;
  margin: 0;
}

.is-kitchen-focus-mode .shopping-list-modal-section > header h3 {
  color: #000;
  font-size: 22px;
}

.is-kitchen-focus-mode .shopping-list-section-title small {
  color: #333;
  font-size: 11px;
}

.is-kitchen-focus-mode .shopping-list-categories {
  grid-template-columns: 1fr;
  gap: 10px;
}

.is-kitchen-focus-mode .shopping-list-category {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.is-kitchen-focus-mode .shopping-list-category > header,
.is-kitchen-focus-mode .shopping-list-category-pantry > header,
.is-kitchen-focus-mode .shopping-list-category.collapsed > header {
  border: 0;
  background: #fff;
}

.is-kitchen-focus-mode .shopping-list-category-toggle {
  grid-template-columns: 1fr;
  cursor: default;
  padding: 5px 2px;
  pointer-events: none;
}

.is-kitchen-focus-mode .shopping-list-category-toggle:hover,
.is-kitchen-focus-mode .shopping-list-category-toggle:focus-visible {
  background: #fff;
  box-shadow: none;
}

.is-kitchen-focus-mode .shopping-list-category-name {
  color: #000;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.is-kitchen-focus-mode .shopping-list-items[hidden] {
  display: grid;
}

.is-kitchen-focus-mode .shopping-list-item {
  grid-template-columns: 1fr;
  min-height: 26px;
  background: #fff;
  color: #000;
  padding: 0px 20px;
}

.is-kitchen-focus-mode .shopping-list-item:last-child {
  border-bottom: 0;
}

.is-kitchen-focus-mode .shopping-list-item:hover,
.is-kitchen-focus-mode .shopping-list-item:has(.shopping-list-item-main:focus-visible) {
  background: #f2f2f2;
  box-shadow: none;
}

.is-kitchen-focus-mode .shopping-list-item-main,
.is-kitchen-focus-mode.shopping-detail-1 .shopping-list-item-main,
.is-kitchen-focus-mode.shopping-detail-2 .shopping-list-item-main,
.is-kitchen-focus-mode.shopping-detail-3 .shopping-list-item-main {
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 4px;
}

.is-kitchen-focus-mode .shopping-list-item.pantry-item .shopping-list-item-main,
.is-kitchen-focus-mode.shopping-detail-1 .shopping-list-item.pantry-item .shopping-list-item-main,
.is-kitchen-focus-mode.shopping-detail-2 .shopping-list-item.pantry-item .shopping-list-item-main,
.is-kitchen-focus-mode.shopping-detail-3 .shopping-list-item.pantry-item .shopping-list-item-main {
  grid-template-columns: minmax(0, 1fr);
}

.is-kitchen-focus-mode .shopping-list-item-check {
  width: 18px;
  height: 18px;
  border: 1.5px solid #111;
  border-radius: 3px;
  color: #fff;
}

.is-kitchen-focus-mode .shopping-list-item.checked {
  background: #eee;
}

.is-kitchen-focus-mode .shopping-list-item.checked .shopping-list-item-check {
  border-color: #000;
  background: #000;
}

.is-kitchen-focus-mode .shopping-list-item-copy strong {
  color: #000;
  font-size: 15px;
  line-height: 1.18;
}

.is-kitchen-focus-mode .shopping-list-item.checked .shopping-list-item-copy strong {
  color: #555;
  text-decoration-color: #111;
}

.is-kitchen-focus-mode .shopping-list-modal-empty {
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #000;
  padding: 8px 0;
}

.shopping-list-modal-empty {
  display: grid;
  gap: 6px;
  border: 1px dashed rgba(15, 111, 92, 0.24);
  border-radius: 10px;
  background: rgba(234, 245, 240, 0.62);
  color: #56635d;
  padding: 18px;
}

.shopping-list-modal-empty strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

@media (max-width: 720px) {
  .shopping-list-categories {
    grid-template-columns: 1fr;
  }
}

.account-sync-note {
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(213, 222, 211, 0.92);
  padding-top: 16px;
}

.account-sync-note h3 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.1;
}

.account-recipe-request {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: bisque;
  margin-bottom: 12px;
}

.account-recipe-request-heading {
  display: grid;
  gap: 6px;
}

.account-delete-row {
  display: flex;
  justify-content: flex-end;
  margin: -18px 0 24px;
}

.account-delete-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: #a9362e;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  padding: 0;
  text-decoration: none;
}

.account-delete-link:hover,
.account-delete-link:focus-visible {
  color: #7f261f;
  outline: 0;
}

.account-recipe-request h3,
.account-recipe-request h4 {
  margin: 0;
  color: var(--brand-dark);
  font-weight: 950;
  line-height: 1.1;
}

.account-recipe-request h3 {
  font-size: 17px;
}

.account-recipe-request h4 {
  font-size: 14px;
}

.account-recipe-request-heading p,
.account-recipe-request-status,
.account-request-chart-empty {
  margin: 0;
  color: #56635d;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.account-recipe-request-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.account-recipe-request-form label {
  display: grid;
  gap: 5px;
  color: #52615a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-recipe-request-form input {
  width: 100%;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  padding: 10px 11px;
  text-transform: none;
}

.account-recipe-request-form input:focus {
  border-color: rgba(15, 111, 92, 0.36);
  box-shadow: 0 0 0 3px rgba(15, 111, 92, 0.1);
  outline: 0;
}

.account-recipe-request-form.is-disabled {
  opacity: 0.72;
}

.account-recipe-request-chart {
  display: grid;
  gap: 9px;
}

.account-request-chart-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-request-chart-list li {
  display: grid;
  gap: 5px;
}

.account-request-chart-row {
  align-items: baseline;
  color: #4c5a54;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.account-request-chart-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-request-chart-row b {
  color: var(--brand-dark);
  font-size: 12px;
}

.account-request-chart-list i {
  display: block;
  width: var(--request-bar-width);
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 72%, #fff);
}

.about-modal-hero {
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  padding-right: 60px;
  border-bottom: 1px solid rgba(213, 222, 211, 0.92);
  padding-bottom: 24px;
}

.about-modal-brand {
  justify-content: start;
}

.about-modal-showcase {
  display: grid;
  gap: 18px;
  align-self: start;
}

.about-modal-brand .brand-icon {
  width: 58px;
  height: 58px;
}

.about-phone-preview {
  display: block;
  width: min(100%, 230px);
  height: auto;
  border-radius: 20px;
  justify-self: center;
}

.about-modal-title {
  display: grid;
  gap: 12px;
}

.about-eyebrow {
  margin: 0;
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
}

.about-modal-title h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.96;
}

.about-modal-title p:not(.about-eyebrow),
.about-modal-grid p {
  margin: 0;
  color: #4c5a54;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.48;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
  margin-bottom: 12px;
}

.about-donate {
  margin-top: 2px;
}

.about-primary-button,
.about-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 8px;
  padding: 0 16px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
}

.about-primary-button[hidden],
.about-secondary-button[hidden] {
  display: none;
}

.about-primary-button {
  border: 1px solid rgba(15, 111, 92, 0.34);
  background: var(--brand);
  color: #fff;
}

.about-secondary-button {
  border: 1px solid rgba(70, 80, 68, 0.96);
  background: var(--field-bg);
  color: var(--brand-dark);
}

.about-primary-button:hover,
.about-primary-button:focus-visible,
.about-secondary-button:hover,
.about-secondary-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(15, 111, 92, 0.12);
  outline: 0;
}

.about-feature-section {
  display: grid;
  gap: 24px;
  border-bottom: 1px solid rgba(213, 222, 211, 0.92);
  padding-bottom: 38px;
}

.about-feature-heading {
  display: grid;
  gap: 6px;
  max-width: 720px;
}

.about-feature-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 950;
  line-height: 1.04;
}

.about-feature-grid {
  position: relative;
  display: grid;
  gap: 42px;
}

.about-feature-grid::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 50%;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(15, 111, 92, 0.1), rgba(15, 111, 92, 0.36) 18%, rgba(197, 68, 51, 0.52) 55%, rgba(15, 111, 92, 0.18));
  transform: translateX(-50%);
}

.about-feature-card {
  position: relative;
  display: grid;
  align-content: start;
  grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1fr);
  gap: 6px 24px;
  align-items: center;
  min-width: 0;
}

.about-feature-card::before {
  content: "";
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / -1;
  justify-self: center;
  width: 34px;
  height: 34px;
  border: 7px solid #fff;
  border-radius: 999px;
  background: #c5483b;
  box-shadow:
    0 0 0 1px rgba(197, 68, 51, 0.32),
    0 14px 30px rgba(197, 68, 51, 0.2);
}

.about-feature-card:nth-child(odd) .about-feature-shot {
  grid-column: 1;
}

.about-feature-card:nth-child(odd) .about-feature-copy {
  grid-column: 3;
}

.about-feature-card:nth-child(even) .about-feature-shot {
  grid-column: 3;
}

.about-feature-card:nth-child(even) .about-feature-copy {
  grid-column: 1;
  justify-self: end;
  text-align: right;
}

.about-feature-copy {
  display: grid;
  align-self: center;
  gap: 10px;
  max-width: 38ch;
}

.about-feature-card h4 {
  margin: 0;
  color: var(--brand-dark);
  max-width: 420px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 950;
  line-height: 1.02;
}

.about-feature-card p {
  margin: 0;
  color: #56635d;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.42;
}

.about-feature-shot {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  grid-row: 1 / -1;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(191, 215, 209, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 247, 0.96)),
    var(--field-bg);
  box-shadow: 0 10px 24px rgba(24, 32, 29, 0.06);
  padding: 0;
  aspect-ratio: 1.62;
}

.about-feature-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: #fff;
}

.feature-tall .about-feature-shot {
  aspect-ratio: 1.04;
}

.feature-wide .about-feature-shot {
  aspect-ratio: 1.8;
}

.feature-ribbon .about-feature-shot {
  aspect-ratio: 3.4;
}

.feature-ribbon .about-feature-shot-walkthrough {
  min-height: 0;
  aspect-ratio: 1.5;
}

.about-feature-shot-lists img {
  object-position: top center;
}

.about-feature-shot-pins img {
  object-position: top center;
}

.about-feature-shot-low-details img {
  object-position: top left;
}

.about-feature-shot-timers img {
  object-fit: contain;
  object-position: center;
}

.about-feature-shot-controls img,
.about-feature-shot-ingredients img,
.about-feature-shot-measurements img,
.about-feature-shot-tools img,
.about-feature-shot-timers img,
.about-feature-shot-diet img,
.about-feature-shot-walkthrough img {
  object-fit: contain;
  object-position: center;
}

.about-feature-shot-controls,
.about-feature-shot-tools,
.about-feature-shot-timers,
.about-feature-shot-diet {
  min-height: 0;
  aspect-ratio: 2.72;
}

.about-feature-shot-measurements {
  aspect-ratio: 1.18;
}

.about-feature-shot-measurements img {
  object-position: top center;
}

.about-feature-shot-focus img {
  object-fit: contain;
  object-position: center;
}

.about-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-modal-grid section {
  display: grid;
  align-content: start;
  gap: 9px;
  border: 1px solid rgba(213, 222, 211, 0.86);
  border-radius: 8px;
  background: #d5d5d5;
  padding: 16px;
}

.about-modal-grid h3 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.08;
}

.about-modal-grid a {
  color: var(--brand);
  font-weight: 900;
}

.about-modal-grid .about-faq-section {
  grid-column: 1 / -1;
  gap: 14px;
}

.about-modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  border-top: 1px solid rgba(115, 129, 118, 0.2);
  margin-top: 12px;
  padding-top: 18px;
  color: #738176;
  font-size: 12px;
  font-weight: 850;
}

.about-modal-footer nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-modal-footer a {
  color: #56635d;
  text-decoration: underline;
  text-decoration-color: rgba(86, 99, 93, 0.38);
  text-underline-offset: 3px;
}

.about-modal-footer a:hover,
.about-modal-footer a:focus-visible {
  color: var(--brand-dark);
  text-decoration-color: currentColor;
}

.about-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.about-faq-list article {
  display: grid;
  align-content: start;
  gap: 6px;
  border: 1px solid rgba(115, 129, 118, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.46);
  padding: 12px;
}

.about-faq-list h4 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.18;
}

.account-sync-panel {
  display: grid;
  gap: 12px;
  padding-bottom: 18px;
}

.account-sync-panel[hidden] {
  display: none;
}

.account-sync-status,
.account-sync-user {
  margin: 0;
  color: #56635d;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.account-sync-user {
  align-self: center;
  color: var(--brand-dark);
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-sync-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.account-sync-actions .is-active {
  border-color: color-mix(in srgb, var(--brand) 54%, transparent);
  background: var(--theme-soft);
  color: var(--brand-dark);
}

.account-clerk-auth {
  width: min(100%, 440px);
  padding-top: 4px;
}

.account-clerk-auth[hidden] {
  display: none;
}

.account-clerk-auth [data-clerk-auth-root] {
  min-height: 320px;
}

.account-section-heading {
  display: block;
  margin: 22px 0 0;
}

.account-section-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.1;
}

.account-section-heading[hidden] {
  display: none;
}

.account-section-auth {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  width: 100%;
}

.account-sync-user {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  font-weight: 850;
}

.account-sync-user img {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(15, 111, 92, 0.2);
  border-radius: 50%;
  object-fit: cover;
}

.account-sync-user span {
  display: grid;
  min-width: 0;
}

.account-sync-user strong,
.account-sync-user small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-sync-user strong {
  font-size: 17px;
  line-height: 1.12;
}

.account-sync-user small {
  color: #6b766f;
  font-size: 15px;
  font-weight: 850;
}

.account-sync-actions .about-primary-button,
.account-sync-actions .about-secondary-button {
  min-height: 36px;
  padding: 0 13px;
}

.account-sync-actions [data-auth-signup] {
  border-color: rgba(205, 100, 43, 0.34);
  background: #d86f35;
  color: #fff;
}

.account-sync-actions [data-auth-signup]:hover,
.account-sync-actions [data-auth-signup]:focus-visible {
  border-color: rgba(173, 80, 34, 0.42);
  background: #bd5a26;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(216, 111, 53, 0.18);
}

.account-section-auth .about-primary-button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 22px;
  font-size: 14px;
}

.account-section-buttons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.account-section-buttons .about-secondary-button {
  min-height: 38px;
  padding: 0 18px;
  font-size: 14px;
}

@media (max-width: 540px) {
  .account-section-auth {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .account-section-buttons {
    width: 100%;
  }

  .account-section-buttons button {
    flex: 1 1 0;
  }

  .account-sync-user img {
    width: 46px;
    height: 46px;
  }

  .account-sync-user strong {
    font-size: 15px;
  }

  .account-sync-user small {
    font-size: 12px;
  }

  .account-section-auth .about-primary-button {
    min-height: 46px;
    padding: 0 14px;
    font-size: 15px;
  }
}

.account-sync-actions [data-auth-signin].is-active,
.account-sync-actions [data-auth-signup].is-active {
  border-color: color-mix(in srgb, var(--brand) 42%, transparent);
  background: var(--theme-soft);
  color: var(--brand-dark);
}

.account-email-auth-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  padding-top: 6px;
  padding-bottom: 6px;
}

.account-email-auth-form[hidden] {
  display: none;
}

.account-email-auth-form label {
  display: grid;
  gap: 5px;
  color: #52615a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-email-auth-form .account-avatar-picker {
  grid-column: 1 / -1;
}

.account-email-auth-form input {
  width: 100%;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  padding: 10px 11px;
}

.account-email-auth-form input:focus {
  border-color: rgba(15, 111, 92, 0.36);
  box-shadow: 0 0 0 3px rgba(15, 111, 92, 0.1);
  outline: 0;
}

.account-email-auth-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.account-profile-section[hidden] {
  display: none;
}

.account-profile-section {
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 8px;
  background: #dcdbd0;
  padding: 14px;
}

.account-profile-form {
  display: grid;
  gap: 12px;
}

.account-profile-heading {
  display: grid;
  gap: 3px;
}

.account-profile-heading h4,
.account-profile-heading p {
  margin: 0;
}

.account-profile-heading h4 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.account-profile-heading p {
  color: #6b766f;
  font-size: 13px;
  font-weight: 750;
}

.account-profile-form label {
  display: grid;
  gap: 5px;
  color: #52615a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-profile-form input[type="text"],
.account-profile-form textarea {
  width: 100%;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 550;
  padding: 10px 11px;
}

.account-profile-form textarea {
  min-height: 72px;
  resize: vertical;
  line-height: 1.35;
  text-transform: none;
}

.account-avatar-picker {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}

.account-avatar-picker legend {
  margin-bottom: 7px;
  color: #52615a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-avatar-picker-shell {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: stretch;
  gap: 6px;
  background-color: #f0efdf;
  border-radius: 8px;
  padding: 4px;
}

.account-avatar-scroll-button {
  appearance: none;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 100%;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 8px;
  background: #fff;
  color: var(--brand-dark);
  cursor: pointer;
  font: inherit;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
  padding: 0;
}

.account-avatar-scroll-button:hover,
.account-avatar-scroll-button:focus-visible {
  border-color: color-mix(in srgb, var(--brand) 42%, transparent);
  background: var(--theme-soft);
  outline: 0;
}

.account-avatar-options {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  max-width: 100%;
  overflow-anchor: none;
  overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-color: rgba(82, 97, 89, 0.5) rgba(213, 222, 211, 0.36);
  scrollbar-gutter: stable both-edges;
  scrollbar-width: thin;
  padding: 5px;
  padding-bottom: 9px;
}

.account-avatar-options::-webkit-scrollbar {
  height: 10px;
  width: 10px;
}

.account-avatar-options::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(213, 222, 211, 0.36);
}

.account-avatar-options::-webkit-scrollbar-thumb {
  border: 2px solid rgba(213, 222, 211, 0.36);
  border-radius: 999px;
  background: rgba(82, 97, 89, 0.5);
}

.account-avatar-options:focus-visible {
  border-radius: 8px;
  box-shadow: 0 0 0 3px rgba(17, 128, 111, 0.1);
  outline: 0;
}

.account-avatar-choice {
  position: relative;
  display: grid;
  flex: 0 0 82px;
  justify-items: center;
  gap: 6px;
  min-width: 82px;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  padding: 8px 2px 8px 2px;
}

.account-avatar-choice input {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.account-avatar-choice span {
  display: block;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 50%;
}

.account-avatar-choice img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-avatar-choice small {
  color: #52615a;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
}

.account-avatar-choice:has(input:checked) {
  border-color: rgba(17, 128, 111, 0.48);
  background: #a2c7a7;
  box-shadow: 0 0 0 5px rgba(17, 128, 111, 0.4);
}

.account-profile-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.account-profile-status {
  min-height: 18px;
  margin: 0;
  color: #52615a;
  font-size: 13px;
  font-weight: 800;
}

.account-email-auth-form .about-primary-button,
.account-email-auth-form .about-secondary-button {
  min-height: 39px;
  padding: 0 13px;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .account-email-auth-form {
    grid-template-columns: 1fr;
  }

  .custom-recipe-modal-header,
  .custom-recipe-grid {
    grid-template-columns: 1fr;
  }

  .custom-recipe-modal-header {
    padding-right: 34px;
  }

  .custom-recipe-modal-header img {
    width: 96px;
    height: 96px;
  }

  .custom-recipe-ingredient-row-head {
    display: none;
  }

  .custom-recipe-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .custom-recipe-actions > div,
  .custom-recipe-actions .custom-recipe-status,
  .custom-recipe-actions button {
    width: 100%;
  }

  .custom-recipe-actions .custom-recipe-status {
    text-align: left;
  }
}

.account-sync-actions [data-auth-signout],
.account-section-heading [data-auth-signout] {
  border-color: rgba(154, 60, 52, 0.36);
  background: #c5483b;
  color: #fff;
}

.account-sync-actions [data-auth-signout]:hover,
.account-sync-actions [data-auth-signout]:focus-visible,
.account-section-heading [data-auth-signout]:hover,
.account-section-heading [data-auth-signout]:focus-visible {
  background: #a9362e;
  box-shadow: 0 0 0 3px rgba(197, 72, 59, 0.16);
}

.account-sync-stat-button {
  display: grid;
  justify-items: start;
  gap: 3px;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(15, 111, 92, 0.22);
  border-radius: 8px;
  background: rgba(234, 245, 240, 0.72);
  color: var(--brand-dark);
  cursor: pointer;
  padding: 10px 13px;
  text-align: left;
}

.account-sync-stat-button[hidden] {
  display: none;
}

.account-sync-favorites-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.account-sync-favorites-section[hidden] {
  display: none;
}

.account-sync-stat-main {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.account-sync-stat-button span {
  font-size: 15px;
  font-weight: 950;
  line-height: 1.1;
}

.account-sync-stat-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #c6493b;
}

.account-sync-stat-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.account-sync-stat-button small {
  color: #56635d;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.account-sync-stat-button:hover,
.account-sync-stat-button:focus-visible {
  border-color: color-mix(in srgb, var(--brand) 42%, transparent);
  background: var(--theme-soft);
  box-shadow: 0 0 0 3px var(--theme-focus);
  outline: 0;
}

.account-sync-stat-button-bottom {
  margin-top: 2px;
}

.account-custom-recipes {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: #c9d5d1;
}

.account-custom-recipes > .account-recipe-request-heading {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.account-custom-recipes > .account-recipe-request-heading h3,
.account-custom-recipes > .account-recipe-request-heading p {
  grid-column: 1;
}

.account-custom-recipes > .account-recipe-request-heading .account-add-recipe-button {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.account-add-recipe-button {
  justify-self: end;
  min-height: 38px;
  padding: 0 16px;
}

@media (max-width: 560px) {
  .account-custom-recipes > .account-recipe-request-heading {
    grid-template-columns: 1fr;
  }

  .account-custom-recipes > .account-recipe-request-heading .account-add-recipe-button {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
}

.account-custom-recipe-list {
  display: grid;
  gap: 8px;
}

.account-custom-recipe-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  padding: 12px;
}

.account-custom-recipe-main {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.account-custom-recipe-main img {
  width: 124px;
  height: 124px;
  border-radius: 8px;
  object-fit: cover;
}

.account-custom-recipe-main span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.account-custom-recipe-main strong,
.account-custom-recipe-main small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-custom-recipe-main strong {
  font-size: 14px;
  font-weight: 950;
}

.account-custom-recipe-main small,
.account-custom-recipe-empty {
  color: #56635d;
  font-size: 12px;
  font-weight: 850;
}

.account-custom-recipe-main p {
  margin: 0;
  color: #6b766f;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
  overflow-wrap: anywhere;
  white-space: normal;
}

.account-custom-recipe-actions {
  display: grid;
  gap: 8px;
  justify-items: stretch;
  min-width: 112px;
}

.account-custom-recipe-actions button {
  min-height: 34px;
  padding: 0 12px;
  white-space: nowrap;
}

.account-custom-recipe-delete-button {
  border-radius: 999px;
}

.account-custom-recipe-item:hover,
.account-custom-recipe-item:focus-within {
  border-color: color-mix(in srgb, var(--brand) 42%, transparent);
  box-shadow: 0 0 0 3px var(--theme-focus);
  outline: 0;
}

.account-custom-recipe-main:focus-visible,
.account-custom-recipe-actions button:focus-visible {
  outline: 0;
}

@media (max-width: 620px) {
  .account-custom-recipe-item {
    grid-template-columns: 1fr;
  }

  .account-custom-recipe-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }
}

.custom-recipe-modal-inner {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0;
  align-content: stretch;
  min-height: 0;
  height: 100%;
  padding: 0;
}

.custom-recipe-edit-body {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 0;
  overflow: auto;
  padding: clamp(20px, 4vw, 34px);
}

.custom-recipe-setup-form {
  gap: 12px;
  grid-auto-rows: max-content;
  grid-template-rows: none;
  width: 100%;
  min-height: 0;
  height: auto;
  padding: clamp(20px, 4vw, 34px);
}

.custom-recipe-modal-header {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding-right: 42px;
}

.custom-recipe-modal-header img {
  width: 118px;
  height: 118px;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 8px;
  object-fit: cover;
}

.custom-recipe-header-image {
  align-self: start;
}

.custom-recipe-header-image button {
  position: relative;
  display: block;
  width: 172px;
  height: 172px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.custom-recipe-header-image img {
  width: 172px;
  height: 172px;
}

.custom-recipe-header-image button:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 5px rgba(15, 111, 92, 0.22);
}

.custom-recipe-image-edit-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(8, 18, 14, 0.62);
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 140ms ease;
}

.custom-recipe-header-image button:hover .custom-recipe-image-edit-label,
.custom-recipe-header-image button:focus-visible .custom-recipe-image-edit-label {
  opacity: 1;
}

.custom-recipe-modal-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(25px, 4vw, 36px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
}

.custom-recipe-modal-header p:not(.about-eyebrow) {
  margin: 8px 0 0;
  color: #56635d;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.custom-recipe-grid {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 8px;
  background: #d7ddda;
  margin-top: 12px;
  margin-bottom: 28px;
}

.custom-recipe-grid-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.custom-recipe-diet-box,
.custom-recipe-flavor-box {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
}

.custom-recipe-diet-box {
  background: #c3d7d2;
}

.custom-recipe-flavor-box {
  background: #ecc7c7;
}

.custom-recipe-diet-heading,
.custom-recipe-flavor-heading {
  margin-top: 12px;
}

.custom-recipe-flavor-select-row {
  display: grid;
  grid-template-columns: minmax(180px, 260px);
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #ecc7c7;
}

.custom-recipe-variant-box {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  background: #ffcfc2;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 28px;
}

.custom-recipe-variant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.custom-recipe-active-note-grid {
  grid-template-columns: minmax(0, 1fr);
}

.custom-recipe-variant-grid textarea {
  min-height: 68px;
  resize: vertical;
}

.custom-recipe-diet-rows,
.custom-recipe-modification-rows {
  display: grid;
  gap: 8px;
}

.custom-recipe-diet-row,
.custom-recipe-modification-row {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.custom-recipe-modal-inner .custom-recipe-diet-check,
.custom-recipe-modal-inner .custom-recipe-modification-check {
  display: inline-flex;
  align-items: center;
  align-self: center;
  justify-self: start;
  gap: 8px;
  width: 136px;
  min-height: 40px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #40514a;
  padding: 0;
}

.custom-recipe-modal-inner .custom-recipe-diet-check input,
.custom-recipe-modal-inner .custom-recipe-modification-check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--brand);
}

.custom-recipe-diet-note textarea,
.custom-recipe-modification-note textarea {
  min-height: 44px;
  resize: vertical;
}

.custom-recipe-diet-row.is-disabled .custom-recipe-diet-note,
.custom-recipe-modification-row.is-disabled .custom-recipe-modification-note {
  opacity: 0.56;
}

.custom-recipe-modal-inner label {
  display: grid;
  align-content: start;
  gap: 5px;
  color: #52615a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.custom-recipe-field-note {
  color: #6b766f;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
}

.custom-recipe-tips-box {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(15, 111, 92, 0.18);
  border-radius: 8px;
  background: #d7dce5;
  padding: 13px;
}

.custom-recipe-serve-with-box {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border: 1px solid rgba(15, 111, 92, 0.18);
  border-radius: 8px;
  background: #dce3d5;
  padding: 13px;
}

.custom-recipe-serve-with-group {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.custom-recipe-serve-with-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
}

.custom-recipe-serve-with-add {
  min-height: 38px;
  padding: 0 10px;
  white-space: nowrap;
}

.custom-recipe-serve-with-list {
  display: grid;
  gap: 6px;
}

.custom-recipe-serve-with-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 6px;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(183, 194, 181, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 4px 4px 4px 10px;
}

.custom-recipe-serve-with-item span {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.custom-recipe-serve-with-status {
  min-height: 16px;
  margin: 0;
  color: #9b2f2f;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.custom-recipe-serve-with-heading {
  margin-bottom: -4px;
}

.custom-recipe-tips-heading {
  margin-bottom: -4px;
}

.custom-recipe-ingredient-editor {
  display: grid;
  gap: 10px;
}

.custom-recipe-direction-editor {
  display: grid;
  gap: 10px;
}

.custom-recipe-direction-section-list {
  display: grid;
  gap: 10px;
}

.custom-recipe-direction-section {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(15, 111, 92, 0.18);
  border-radius: 8px;
  background: #e8d3c4;
  padding: 16px;
}

.custom-recipe-direction-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 8px;
  align-items: end;
}

.custom-recipe-direction-rows {
  display: grid;
  gap: 8px;
}

.custom-recipe-direction-section-footer,
.custom-recipe-direction-editor-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.custom-recipe-direction-row {
  display: grid;
  grid-template-columns: 26px 30px minmax(0, 1fr) 34px;
  gap: 8px;
  align-items: center;
}

.custom-recipe-direction-row.is-dragging {
  opacity: 0.58;
}

.custom-recipe-direction-row.is-drag-over-before {
  box-shadow: inset 0 3px 0 var(--brand);
}

.custom-recipe-direction-row.is-drag-over-after {
  box-shadow: inset 0 -3px 0 var(--brand);
}

.custom-recipe-direction-number {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 34px;
  border-radius: 999px;
  background: rgba(15, 111, 92, 0.2);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

.custom-recipe-add-direction-button {
  justify-self: end;
  min-height: 34px;
}

.custom-recipe-editor-label {
  display: grid;
  gap: 4px;
  color: #52615a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.custom-recipe-editor-label small {
  color: #6b766f;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
}

.custom-recipe-character-limit {
  justify-self: end;
  margin-top: -3px;
  color: #6b766f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.custom-recipe-ingredient-section-list {
  display: grid;
  gap: 10px;
}

.custom-recipe-tools-editor {
  display: grid;
  gap: 10px;
}

.custom-recipe-tool-box {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 8px;
  background: #cdcdcd;
  padding: 10px;
}

.custom-recipe-tool-rows {
  display: grid;
  gap: 8px;
}

.custom-recipe-item-image-collection {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 42px;
}

.custom-recipe-item-image-collection img {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(183, 194, 181, 0.92);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.custom-recipe-tool-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 8px;
  align-items: center;
}

.custom-recipe-tool-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.custom-recipe-ingredient-section {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 8px;
  background: #ddd9cd;
  padding: 10px;
}

.custom-recipe-ingredient-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 8px;
  align-items: end;
}

.custom-recipe-ingredient-rows {
  display: grid;
  gap: 8px;
}

.custom-recipe-ingredient-section-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.custom-recipe-ingredient-editor-footer {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.custom-recipe-ingredient-row {
  display: grid;
  grid-template-columns: 26px minmax(116px, 0.36fr) minmax(68px, 0.18fr) minmax(112px, 0.24fr) minmax(0, 1fr) 34px;
  gap: 8px;
  align-items: center;
}

.custom-recipe-ingredient-row.is-dragging {
  opacity: 0.58;
}

.custom-recipe-ingredient-row.is-drag-over-before {
  box-shadow: inset 0 3px 0 var(--brand);
}

.custom-recipe-ingredient-row.is-drag-over-after {
  box-shadow: inset 0 -3px 0 var(--brand);
}

.custom-recipe-ingredient-row-head {
  color: #6b766f;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-transform: uppercase;
}

.custom-recipe-drag-handle {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 34px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #6b766f;
  cursor: grab;
  font: inherit;
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
  padding: 0;
  touch-action: none;
}

.custom-recipe-drag-handle:active {
  cursor: grabbing;
}

.custom-recipe-drag-handle:hover,
.custom-recipe-drag-handle:focus-visible {
  background: rgba(15, 111, 92, 0.1);
  color: var(--brand-dark);
  outline: 0;
}

.custom-recipe-icon-button {
  display: inline-grid;
  place-items: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 8px;
  background: #fff;
  color: #56635d;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}

.custom-recipe-icon-button:hover,
.custom-recipe-icon-button:focus-visible {
  border-color: rgba(15, 111, 92, 0.36);
  box-shadow: 0 0 0 3px rgba(15, 111, 92, 0.1);
  color: var(--brand-dark);
  outline: 0;
}

.custom-recipe-add-line-button,
.custom-recipe-add-section-button {
  justify-self: end;
  min-height: 34px;
}

.custom-recipe-modal-inner [hidden] {
  display: none !important;
}

.custom-recipe-modal-inner input,
.custom-recipe-modal-inner select,
.custom-recipe-modal-inner textarea {
  width: 100%;
  border: 1px solid rgba(183, 194, 181, 0.96);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
  padding: 10px 11px;
}

.custom-recipe-modal-inner select {
  appearance: none;
  cursor: pointer;
  height: 36px;
  border-color: rgba(213, 222, 211, 0.96);
  border-radius: 6px;
  background:
    linear-gradient(45deg, transparent 50%, var(--brand) 50%) calc(100% - 16px) 50% / 6px 6px no-repeat,
    linear-gradient(135deg, var(--brand) 50%, transparent 50%) calc(100% - 11px) 50% / 6px 6px no-repeat,
    var(--field-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-size: 13px;
  padding: 0 30px 0 10px;
  transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.custom-recipe-select-wrap {
  position: relative;
  display: block;
  min-width: 0;
  width: 100%;
}

.custom-recipe-modal-inner .custom-recipe-native-select {
  display: block;
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.custom-recipe-select-menu {
  width: 100%;
}

.custom-recipe-select-menu.is-disabled summary {
  cursor: default;
  opacity: 0.68;
  pointer-events: none;
}

.custom-recipe-select-menu summary {
  width: 100%;
  height: 36px;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 6px;
  background: var(--field-bg);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 0 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
  text-transform: none;
}

.custom-recipe-select-menu summary span,
.custom-recipe-select-options button {
  text-transform: none;
}

.custom-recipe-select-menu summary:hover,
.custom-recipe-select-menu summary:focus-visible {
  border-color: var(--pin-border);
  background: var(--pin-bg);
  outline: 0;
}

.custom-recipe-select-options {
  z-index: 2600;
  min-width: max(100%, 220px);
  max-height: min(360px, calc(100vh - 120px));
}

.custom-recipe-autocomplete-wrap {
  position: relative;
  display: block;
  min-width: 0;
  width: 100%;
}

.custom-recipe-autocomplete-options {
  z-index: 2650;
  min-width: max(100%, 220px);
  max-height: min(320px, calc(100vh - 120px));
  text-transform: none;
}

.custom-recipe-autocomplete-options button {
  text-transform: none;
}

.custom-recipe-modal-inner textarea {
  min-height: 86px;
  resize: vertical;
}

.custom-recipe-modal-inner .custom-recipe-image-choice input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  width: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.custom-recipe-setup-fields {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.62fr);
  gap: 10px;
  padding: 16px;
  border-radius: 8px;
  background: #d7ddda;
  margin-top: 12px;
}

.custom-recipe-setup-fields.has-custom-cuisine-setup {
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.62fr) minmax(220px, 0.8fr);
}

.custom-recipe-image-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(236px, 1fr));
  gap: 12px;
  max-height: min(48vh, 430px);
  overflow: auto;
  padding: 4px 4px 8px;
}

.custom-recipe-setup-form .custom-recipe-image-picker {
  max-height: min(50vh, 620px);
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.custom-recipe-image-choice {
  position: relative;
  cursor: pointer;
  display: block;
}

.custom-recipe-image-choice::after {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 14px;
  left: 14px;
  border: 1px solid rgba(213, 222, 211, 0.72);
  border-radius: 8px;
  background: rgba(12, 30, 26, 0.92);
  box-shadow: 0 12px 28px rgba(8, 18, 14, 0.22);
  color: #fff;
  content: attr(data-tooltip);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.12;
  opacity: 0;
  padding: 9px 10px;
  pointer-events: none;
  text-align: center;
  transform: translateY(4px);
  transition: opacity 0.14s ease, transform 0.14s ease, visibility 0s linear 0.14s;
  visibility: hidden;
}

.custom-recipe-image-choice span {
  display: block;
  aspect-ratio: 1;
  border: 2px solid rgba(183, 194, 181, 0.96);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  padding: 6px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.custom-recipe-image-choice img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
}

.custom-recipe-image-choice input:checked + span {
  border-color: var(--brand);
  box-shadow: 0 0 0 6px rgba(15, 111, 92, 0.46);
}

.custom-recipe-image-choice.is-used-by-custom-recipe span {
  border-color: #c87920;
  box-shadow: 0 0 0 5px rgba(200, 121, 32, 0.34);
}

.custom-recipe-image-choice.is-used-by-custom-recipe {
  cursor: not-allowed;
}

.custom-recipe-image-choice.is-used-by-custom-recipe img {
  opacity: 0.72;
}

.custom-recipe-image-choice.is-used-by-custom-recipe input:checked + span {
  border-color: #c87920;
  box-shadow: 0 0 0 6px rgba(200, 121, 32, 0.52);
}

.custom-recipe-image-choice input:focus-visible + span {
  outline: 3px solid var(--theme-focus);
  outline-offset: 2px;
}

.custom-recipe-image-choice:hover span {
  transform: translateY(-1px);
}

.custom-recipe-image-choice:hover::after,
.custom-recipe-image-choice:focus-within::after {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
  visibility: visible;
}

.custom-recipe-image-modal-inner {
  grid-template-rows: none;
  gap: 18px;
  height: auto;
  padding: clamp(20px, 4vw, 34px);
  padding-right: 62px;
}

.custom-recipe-image-modal-inner header {
  display: grid;
  gap: 6px;
}

.custom-recipe-image-modal-inner h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 0.95;
}

.custom-recipe-image-modal-inner p {
  margin: 0;
}

.custom-recipe-image-modal-inner .custom-recipe-image-picker {
  grid-template-columns: repeat(auto-fill, minmax(236px, 1fr));
  max-height: min(58vh, 610px);
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.custom-recipe-modal-inner input:focus,
.custom-recipe-modal-inner select:focus,
.custom-recipe-modal-inner textarea:focus {
  border-color: rgba(15, 111, 92, 0.36);
  box-shadow: 0 0 0 3px rgba(15, 111, 92, 0.1);
  outline: 0;
}

.custom-recipe-modal-inner input[aria-invalid="true"] {
  border-color: #b43f3a;
  box-shadow: 0 0 0 5px rgba(180, 63, 58, 0.32);
}

.custom-recipe-status {
  flex: 1 1 auto;
  min-height: 18px;
  margin: 0;
  color: #9b2f2f;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
}

.custom-recipe-ingredient-status,
.custom-recipe-tool-status,
.custom-recipe-direction-status {
  min-height: 18px;
  margin: 0;
  color: #9b2f2f;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.custom-recipe-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(213, 222, 211, 0.92);
  padding-top: 12px;
}

[data-custom-recipe-form] > .custom-recipe-actions {
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 -14px 28px rgba(24, 32, 29, 0.08);
  padding: 12px clamp(20px, 4vw, 34px);
}

.custom-recipe-actions > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.custom-recipe-setup-actions {
  justify-content: flex-end;
}

.custom-recipe-modal-inner.is-saving-custom-recipe button[type="submit"] {
  cursor: wait;
  opacity: 0.86;
}

.custom-recipe-modal-inner.is-saving-custom-recipe button[type="submit"]::before {
  content: "";
  display: inline-block;
  width: 0.86em;
  height: 0.86em;
  margin-right: 0.5em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  vertical-align: -0.12em;
  animation: customRecipeSavingSpin 760ms linear infinite;
}

@keyframes customRecipeSavingSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 560px) {
  .account-sync-favorites-section {
    grid-template-columns: 1fr;
  }

  .custom-recipe-modal-header,
  .custom-recipe-grid,
  .custom-recipe-grid-row,
  .custom-recipe-setup-fields,
  .custom-recipe-setup-fields.has-custom-cuisine-setup,
  .custom-recipe-variant-grid,
  .custom-recipe-modification-row,
  .custom-recipe-diet-row,
  .custom-recipe-serve-with-box,
  .custom-recipe-ingredient-row {
    grid-template-columns: 1fr;
  }

  .custom-recipe-modal-inner .custom-recipe-diet-check,
  .custom-recipe-modal-inner .custom-recipe-modification-check {
    padding-top: 0;
  }

  .custom-recipe-ingredient-section-head,
  .custom-recipe-direction-section-head {
    grid-template-columns: minmax(0, 1fr) 34px;
  }

  .custom-recipe-modal-header {
    padding-right: 34px;
  }

  .custom-recipe-modal-header img {
    width: 96px;
    height: 96px;
  }

  .custom-recipe-ingredient-row-head {
    display: none;
  }

  .custom-recipe-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .custom-recipe-actions > div,
  .custom-recipe-actions button {
    width: 100%;
  }
}

.account-donate,
.about-donate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-top: 1px solid rgba(213, 222, 211, 0.92);
  padding-top: 12px;
}

.account-donate p,
.about-donate p {
  display: grid;
  gap: 3px;
  margin: 0;
  min-width: 0;
}

.account-donate p span,
.about-donate p span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.25;
}

.account-donate p small,
.about-donate p small {
  color: #56635d;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.account-donate .about-secondary-button,
.about-donate .about-secondary-button {
  border-color: color-mix(in srgb, #F59E0B 70%, #fff);
  background: #F59E0B;
  color: #fff;
  min-height: 36px;
  padding: 0 13px;
}

.account-donate .about-secondary-button:hover,
.account-donate .about-secondary-button:focus-visible,
.about-donate .about-secondary-button:hover,
.about-donate .about-secondary-button:focus-visible {
  background: #d98607;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22);
}

.account-modal-footer,
.donate-modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  border-top: 1px solid rgba(115, 129, 118, 0.2);
  padding-top: 14px;
  color: #738176;
  font-size: 12px;
  font-weight: 850;
}

.account-modal-footer {
  justify-content: space-between;
  gap: 14px 28px;
  margin-top: 10px;
  padding: 22px 0 10px;
  color: #718077;
  font-size: 12px;
  font-weight: 950;
}

.account-modal-footer a {
  color: #526159;
  font-size: 12px;
  font-weight: 950;
}

.donate-modal-footer {
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 8px;
  padding-top: 18px;
  color: #6e6f72;
  font-size: 14px;
  font-weight: 650;
}

.donate-modal-footer a {
  color: #66676a;
  font-size: 14px;
  font-weight: 650;
}

@media (max-width: 520px) {
  .donate-modal-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-modal-footer,
  .account-modal-footer {
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
  }

  .about-modal-footer > span,
  .account-modal-footer > span {
    white-space: nowrap;
  }

  .about-modal-footer nav,
  .account-modal-footer nav {
    flex: 0 0 auto;
    margin-left: auto;
  }
}

.account-modal-footer nav,
.donate-modal-footer nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.account-modal-footer a,
.donate-modal-footer a {
  color: #56635d;
  text-decoration: underline;
  text-decoration-color: rgba(86, 99, 93, 0.38);
  text-underline-offset: 3px;
}

.account-modal-footer a:hover,
.account-modal-footer a:focus-visible,
.donate-modal-footer a:hover,
.donate-modal-footer a:focus-visible {
  color: var(--brand-dark);
  text-decoration-color: currentColor;
}

.recipe-card-link {
  color: inherit;
  text-decoration: none;
}

.recipe-card-link:hover,
.recipe-card-link:focus-visible {
  color: var(--brand-dark);
}

.recipe-card-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-recipe-content {
  display: grid;
  gap: 18px;
  padding: 28px;
  color: var(--ink);
}

.seo-recipe-content header,
.seo-recipe-content section {
  display: grid;
  gap: 10px;
}

.seo-recipe-content h1,
.seo-recipe-content h2,
.seo-recipe-content h3,
.seo-recipe-content p {
  margin: 0;
}

.seo-recipe-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.seo-recipe-content li + li {
  margin-top: 8px;
}

.donate-modal-inner {
  display: grid;
  gap: 20px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: clamp(22px, 4vw, 34px);
}

.donate-modal-inner header {
  display: grid;
  gap: 8px;
}

.donate-modal-inner h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 950;
  line-height: 1.02;
}

.donate-modal-inner header p:not(.about-eyebrow) {
  margin: 0;
  color: #56635d;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.42;
  text-align: end;
}

.donate-amount-control {
  display: grid;
  gap: 12px;
}

.donate-amount-control label {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  color: #52615a;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
}

.donate-amount-control label strong {
  color: var(--ink);
  font-size: 20px;
  letter-spacing: 0;
}

.donate-amount-control input[type="range"] {
  width: 100%;
  accent-color: #F59E0B;
}

.donate-checkout-row {
  display: grid;
  grid-template-columns: auto auto;
  gap: 14px;
  align-items: center;
  justify-content: start;
}

.donate-amount-field {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 118px);
  gap: 0;
  align-items: center;
  justify-self: start;
  width: 178px;
  overflow: hidden;
  border: 1px solid rgba(70, 80, 68, 0.96);
  border-radius: 8px;
  background: #fff;
}

.donate-amount-field span {
  display: inline-grid;
  place-items: center;
  align-self: stretch;
  min-width: 38px;
  background: var(--field-bg);
  color: #56635d;
  font-size: 14px;
  font-weight: 950;
}

.donate-amount-field input {
  width: 100%;
  border: 0;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  padding: 10px 11px;
}

.donate-amount-field input:focus {
  box-shadow: inset 0 0 0 3px rgba(245, 158, 11, 0.16);
  outline: 0;
}

.donate-modal-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.donate-stripe-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid color-mix(in srgb, #F59E0B 70%, #fff);
  border-radius: 8px;
  background: #F59E0B;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
  padding: 0 16px;
  text-decoration: none;
  white-space: nowrap;
}

.donate-stripe-button:hover,
.donate-stripe-button:focus-visible {
  background: #d98607;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22);
  outline: 0;
}

.donate-modal-actions button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.donate-modal-status {
  min-height: 18px;
  margin: -8px 0 0;
  color: #56635d;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.donate-modal-status:empty {
  display: none;
}

@media (max-width: 560px) {
  .donate-modal {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }

  .donate-modal-inner {
    gap: 16px;
    padding: 20px 16px 16px;
  }

  .donate-amount-control,
  .donate-checkout-row,
  .donate-modal-actions,
  .donate-modal-footer {
    min-width: 0;
    max-width: 100%;
  }

  .donate-modal-inner header {
    padding-right: 44px;
  }

  .donate-modal-inner h2 {
    font-size: clamp(27px, 8vw, 32px);
  }

  .donate-modal-inner header p:not(.about-eyebrow) {
    text-align: left;
  }

  .donate-checkout-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .donate-amount-field {
    grid-template-columns: 38px minmax(0, 1fr);
    justify-self: stretch;
    width: 100%;
  }

  .donate-modal-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    width: 100%;
  }

  .donate-modal-actions button {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
    font-size: clamp(12px, 3.6vw, 14px);
  }

  .donate-modal-footer {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    font-size: clamp(10px, 3vw, 12px);
  }

  .donate-modal-footer > span {
    white-space: nowrap;
  }

  .donate-modal-footer nav {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .donate-modal-footer a {
    font-size: inherit;
  }
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  display: grid;
  gap: 5px;
  color: #52615a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  padding: 10px 11px;
}

.contact-form textarea {
  min-height: 112px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(15, 111, 92, 0.36);
  box-shadow: 0 0 0 3px rgba(15, 111, 92, 0.1);
  outline: 0;
}

.contact-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.contact-form-status {
  min-width: min(220px, 100%);
  color: #65746d;
  font-size: 13px;
  font-weight: 850;
}

.about-primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  gap: 0;
  background: rgba(12, 17, 15, 0.82);
  padding: clamp(14px, 3vw, 34px);
}

.photo-lightbox[hidden] {
  display: none;
}

.map-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: grid;
  place-items: center;
  background: rgba(12, 17, 15, 0.78);
  padding: clamp(14px, 3vw, 34px);
}

.map-lightbox[hidden] {
  display: none;
}

.pinned-compare-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: grid;
  place-items: center;
  background: rgba(12, 17, 15, 0.72);
  padding: clamp(12px, 2.5vw, 28px);
}

.pinned-compare-modal[hidden] {
  display: none;
}

.pinned-compare-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 12px;
  width: min(1180px, 96vw);
  height: min(820px, 90vh);
  border: 1px solid rgba(223, 229, 220, 0.84);
  border-radius: 10px;
  background: #f7f9f6;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  padding: 14px;
}

.pinned-compare-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pinned-compare-header > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.pinned-compare-header strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.pinned-compare-header span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.pinned-compare-content {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 340px);
  gap: 14px;
  min-height: 0;
  overflow: auto hidden;
  padding: 2px 2px 10px;
  scroll-snap-type: x proximity;
}

.pinned-compare-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  max-height: 100%;
  overflow-y: auto;
  scroll-snap-align: start;
  border: 1px solid rgba(213, 222, 211, 0.94);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 32, 29, 0.08);
  padding: 12px;
}

.compare-remove-pin {
  justify-self: end;
  height: 30px;
  padding: 0 10px;
}

.pinned-compare-image {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #e8ece5;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
}

.pinned-compare-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pinned-compare-main {
  display: grid;
  gap: 11px;
}

.pinned-compare-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pinned-compare-price-row strong {
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.pinned-compare-address {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.pinned-compare-address:hover span,
.pinned-compare-address:focus-visible span {
  color: var(--brand-dark);
  text-decoration: underline;
}

.pinned-compare-facts {
  gap: 6px;
}

.pinned-compare-details {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.pinned-compare-details div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
}

.pinned-compare-details dt {
  color: #65736c;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pinned-compare-details dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
}

.pinned-empty {
  display: grid;
  place-items: center;
  min-height: 240px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
}

.map-lightbox-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  width: min(1120px, 94vw);
  height: min(820px, 88vh);
  border: 1px solid rgba(223, 229, 220, 0.2);
  border-radius: 10px;
  background: #f7f9f6;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  padding: 12px;
}

.map-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.map-lightbox-header strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.maximized-listing-map {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e8ece5;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(calc(100vw - 184px), 1180px);
  height: min(calc(100vh - 198px), 820px);
  min-height: 0;
  overflow: visible;
  touch-action: pan-y;
}

.lightbox-stage .storybook-info-button {
  left: 12px;
  top: 12px;
  z-index: 1502;
}

.lightbox-stage .storybook-info-popover {
  left: 50%;
  top: 50px;
  z-index: 1502;
  width: min(460px, calc(100vw - 72px));
  max-height: min(360px, calc(100vh - 148px));
}

.lightbox-stage > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background: rgba(12, 17, 15, 0.58);
  color: #fff;
  cursor: pointer;
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transform: translateY(-50%);
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(12, 17, 15, 0.72);
  transform: translateY(-50%) scale(1.03);
}

.lightbox-nav[hidden] {
  display: none;
}

.lightbox-prev {
  left: -74px;
}

.lightbox-next {
  right: -74px;
}

.lightbox-thumbs {
  display: flex;
  gap: 6px;
  max-width: min(100%, 860px);
  overflow-x: auto;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px;
  scrollbar-width: none;
}

.lightbox-thumbs::-webkit-scrollbar {
  display: none;
}

.lightbox-thumbs .gallery-thumb {
  flex-basis: 144px;
  width: 144px;
  border-color: rgba(255, 255, 255, 0.28);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1501;
}

.drawer-title h2 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: 0;
}

.drawer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.map-section {
  gap: 8px;
}

.listing-map {
  position: relative;
  display: grid;
  place-items: center;
  height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e8ece5;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.listing-map-wrap {
  position: relative;
}

.map-maximize-button {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-dark);
  box-shadow: 0 6px 16px rgba(24, 32, 29, 0.14);
  cursor: pointer;
}

.map-maximize-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.map-maximize-button:hover,
.map-maximize-button:focus-visible {
  border-color: rgba(15, 111, 92, 0.42);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 111, 92, 0.1), 0 6px 16px rgba(24, 32, 29, 0.14);
  outline: 0;
}

.listing-map .maplibregl-control-container {
  font: initial;
}

.street-view-link {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 7px;
  border: 1px solid rgba(15, 111, 92, 0.38);
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(15, 111, 92, 0.18);
}

.street-view-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.street-view-link:hover {
  border-color: rgba(15, 111, 92, 0.5);
  background: var(--brand-dark);
}

.detail-section {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.detail-section h3 {
  font-size: 15px;
  letter-spacing: 0;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.recipe-section-toggle {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.recipe-section-toggle > span:first-child {
  color: var(--ink);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
}

.recipe-section-toggle-icon {
  display: none;
  flex: 0 0 auto;
  position: relative;
  width: 13px;
  height: 13px;
  margin-left: 9px;
  opacity: 0.72;
  transition: opacity 120ms ease;
}

.recipe-section-toggle-icon::before,
.recipe-section-toggle-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 13px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.recipe-section-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.recipe-section-toggle:hover .recipe-section-toggle-icon,
.recipe-section-toggle:focus-visible .recipe-section-toggle-icon {
  opacity: 1;
}

.recipe-section-toggle[aria-expanded="false"] .recipe-section-toggle-icon {
  display: inline-block;
}

.detail-section.collapsed {
  gap: 0;
}

.recipe-section-body[hidden] {
  display: none !important;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}
.section-actions-placeholder {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
  visibility: hidden;
  pointer-events: none;
}
.ingredient-preview-panel {
  position: absolute;
  z-index: 2600;
  display: none;
  grid-template-columns: 77px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: min(468px, calc(100vw - 36px));
  border: 1px solid rgba(16, 44, 45, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 28px rgba(24, 32, 29, 0.18);
  padding: 9px;
  pointer-events: none;
}
.ingredient-preview-panel.is-visible {
  display: grid;
}
.ingredient-preview-panel img {
  width: 77px;
  height: 77px;
  border-radius: 8px;
  background: #fffaf0;
  object-fit: contain;
  padding: 4px;
  box-sizing: border-box;
}
.ingredient-preview-panel span {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.ingredient-preview-panel strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ingredient-preview-panel small {
  display: -webkit-box;
  overflow: hidden;
  color: #52615a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.detail-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.detail-heading-row > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hospital-list {
  display: grid;
  gap: 8px;
}

.hospital-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  border-bottom: 1px solid #eef2ed;
  padding: 8px 0;
}

.hospital-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.hospital-item strong {
  overflow: hidden;
  color: #29342f;
  font-size: 14px;
  line-height: 1.22;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hospital-item span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hospital-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 8px;
}

.hospital-actions b {
  flex: 0 0 auto;
  border: 1px solid rgba(15, 111, 92, 0.18);
  border-radius: 999px;
  background: rgba(15, 111, 92, 0.07);
  color: var(--brand-dark);
  padding: 4px 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.hospital-actions button {
  flex: 0 0 auto;
  border: 1px solid rgba(15, 111, 92, 0.28);
  border-radius: 6px;
  background: #fff;
  color: var(--brand-dark);
  cursor: pointer;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.hospital-actions button:hover,
.hospital-actions button:focus-visible {
  border-color: rgba(15, 111, 92, 0.48);
  background: rgba(15, 111, 92, 0.08);
  outline: 0;
}

.hospital-actions button[aria-pressed="true"] {
  border-color: rgba(217, 107, 95, 0.42);
  background: #fff0ea;
  color: #9e3f35;
}

.description {
  color: #f4ecd8;
  line-height: 1.55;
  white-space: pre-line;
}

.storybook-riddle {
  border: 1px solid var(--storybook-card-border);
  border-radius: 8px;
  background: var(--storybook-card-bg);
  color: #32443d;
  overflow: clip;
}

.storybook-riddle.adult {
  border-color: rgba(15, 111, 92, 0.25);
  background: #f4faf5;
}

.storybook-riddle.solved {
  border-color: rgba(15, 111, 92, 0.42);
  background: #eaf7ee;
  box-shadow: inset 0 0 0 1px rgba(15, 111, 92, 0.08);
}

.storybook-riddle.solved .storybook-riddle-label,
.storybook-riddle.solved .storybook-riddle-cue,
.storybook-riddle.solved .storybook-riddle-status {
  color: #0f6f5c;
}

.storybook-riddle.solved .storybook-riddle-body {
  border-top-color: rgba(15, 111, 92, 0.18);
}

.storybook-riddle-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.storybook-riddle-toggle::-webkit-details-marker {
  display: none;
}

.storybook-riddle-label {
  color: var(--storybook-label);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storybook-riddle.adult .storybook-riddle-label {
  color: #0f6f5c;
}

.storybook-challenge-control {
  margin-top: 13px;
  width: 100%;
}

.storybook-challenge-slider {
  display: block;
  margin-top: 4px;
  width: 100%;
  accent-color: var(--brand);
  cursor: pointer;
}

.storybook-challenge-levels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  color: #6c756f;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.storybook-challenge-levels button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-transform: inherit;
  padding: 4px 6px;
}

.storybook-challenge-levels button:hover,
.storybook-challenge-levels button:focus-visible {
  background: var(--theme-soft);
  color: var(--brand);
  outline: 0;
}

.storybook-challenge-levels button.active {
  background: var(--theme-focus);
  color: var(--brand);
}

.storybook-challenge-levels button.unavailable {
  cursor: not-allowed;
  opacity: 0.38;
}

.storybook-challenge-panel {
  display: none;
}

.storybook-challenge-panel.active {
  display: block;
}

.storybook-riddle-cue {
  flex: 0 0 auto;
  border: 1px solid rgba(141, 108, 33, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #6f4f12;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 9px;
}

.storybook-riddle.adult .storybook-riddle-cue {
  border-color: rgba(15, 111, 92, 0.25);
  color: #0f6f5c;
}

.storybook-riddle[open] .storybook-riddle-cue {
  color: #59665f;
}

.storybook-riddle-cue::before {
  content: "Open";
}

.storybook-riddle[open] .storybook-riddle-cue::before {
  content: "Close";
}

.storybook-riddle-body {
  position: relative;
  border-top: 1px solid rgba(155, 138, 91, 0.18);
  padding: 0 16px 14px;
}

.storybook-riddle.adult .storybook-riddle-body {
  border-top-color: rgba(15, 111, 92, 0.14);
}

.storybook-riddle p {
  margin: 12px 0 0;
  line-height: 1.55;
}

.storybook-riddle-actions {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.storybook-riddle-reset {
  flex: 0 0 auto;
  margin-left: auto;
  border: 1px solid rgba(141, 108, 33, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  color: #7d6121;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 6px 10px;
}

.storybook-riddle-reset:hover,
.storybook-riddle-reset:focus-visible {
  border-color: rgba(141, 108, 33, 0.42);
  background: #fff;
  outline: 0;
}

.storybook-riddle-reset:disabled {
  cursor: default;
  opacity: 0.42;
}

.storybook-riddle-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-top: 12px;
}

.storybook-riddle-form label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.storybook-riddle-form span {
  color: #59665f;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.storybook-riddle-form input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(92, 109, 97, 0.28);
  border-radius: 7px;
  background: #fffef9;
  color: #24352f;
  font: inherit;
  font-size: 15px;
  font-weight: 750;
  padding: 10px 11px;
}

.storybook-riddle-form input:focus {
  border-color: rgba(15, 111, 92, 0.55);
  outline: 3px solid rgba(15, 111, 92, 0.14);
}

.storybook-riddle-form button {
  border: 1px solid rgba(15, 111, 92, 0.28);
  border-radius: 7px;
  background: #0f6f5c;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  padding: 10px 14px;
}

.storybook-riddle-form button:disabled,
.storybook-riddle-form input:disabled {
  cursor: default;
  opacity: 0.62;
}

.storybook-riddle-status {
  grid-column: 1 / -1;
  min-height: 18px;
  color: #59665f;
  font-size: 13px;
  font-weight: 750;
}

.storybook-riddle-form.has-error .storybook-riddle-status {
  color: #9e3f35;
}

.storybook-riddle.solved .storybook-riddle-status {
  color: #0f6f5c;
}

.storybook-riddle-answer {
  margin-top: 0;
}

.storybook-riddle-answer summary {
  width: max-content;
  max-width: 100%;
  color: var(--brand-dark);
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
}

.storybook-riddle-answer strong {
  display: inline-block;
  margin-top: 8px;
  color: #6f4f12;
  font-size: 15px;
  text-transform: capitalize;
}

@media (max-width: 560px) {
  .storybook-riddle-form {
    grid-template-columns: 1fr;
  }

  .storybook-riddle-form button {
    width: 100%;
  }
}

.kv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 22px;
}

.kv div {
  min-width: 0;
  border-bottom: 1px solid rgba(223, 229, 220, 0.72);
  padding: 9px 0;
}

.kv span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.kv strong {
  display: block;
  margin-top: 3px;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.25;
}

.area-insights {
  gap: 12px;
}

.area-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.area-insight-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(187, 197, 190, 0.64);
  border-radius: 8px;
  background: #f4f6f3;
  padding: 11px 12px;
}

.area-insight-card.is-loaded {
  border-color: rgba(187, 197, 190, 0.72);
  background: #f4f6f3;
}

.area-insight-card.is-pending {
  background: #fbfbf8;
}

.area-insight-card.is-crime-good,
.area-insight-card.is-crime-worse {
  border-color: var(--insight-border);
  background: var(--insight-tint);
}

.area-insight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.area-insight-head span {
  color: #52666f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.area-insight-year {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 4px;
  border: 1px solid rgba(100, 113, 106, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  padding: 2px 5px;
  color: #52666f;
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
}

.area-insight-year span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.area-insight-year button {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(100, 113, 106, 0.12);
  color: #56635d;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  padding: 0;
}

.area-insight-year button:disabled {
  opacity: 0.35;
  cursor: default;
}

.area-insight-head em {
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(15, 111, 92, 0.1);
  color: #0f6f5c;
  padding: 3px 7px;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

.area-insight-card.is-pending .area-insight-head em {
  background: #eef1ec;
  color: #6c7770;
}

.area-insight-card strong {
  display: block;
  overflow-wrap: anywhere;
  color: #16201c;
  font-size: 18px;
  line-height: 1.05;
}

.area-insight-trend {
  display: block;
  margin-top: 5px;
  color: #236f9f;
  font-size: 14px;
  font-weight: 900;
}

.area-insight-card.is-crime-good .area-insight-trend,
.area-insight-card.is-crime-worse .area-insight-trend {
  color: var(--insight-accent);
}

.area-insight-card small {
  display: block;
  margin-top: auto;
  padding-top: 8px;
  color: #56635d;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.area-insight-note {
  display: flex;
  flex-direction: column-reverse;
  margin-top: auto;
  padding-top: 8px;
}

.area-insight-note summary {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: #56635d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
  list-style: none;
}

.area-insight-note summary::-webkit-details-marker {
  display: none;
}

.area-insight-note summary::after {
  display: block;
  width: 0;
  height: 0;
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
  border-left: 5px solid currentColor;
  content: "";
  opacity: 0.85;
  transition: transform 120ms ease;
}

.area-insight-note[open] summary::after {
  transform: rotate(90deg);
}

.area-insight-note p {
  margin: 0 0 6px;
  color: #65716b;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

.area-insight-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.area-insight-metrics div {
  min-width: 0;
  border: 1px solid rgba(214, 224, 218, 0.72);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.62);
  padding: 7px 8px;
}

.area-insight-metrics div.is-trend-coded {
  border-color: var(--metric-border);
  background: var(--metric-tint);
}

.area-insight-metrics div.is-trend-coded em {
  color: var(--metric-accent);
}

.area-insight-metrics span {
  display: block;
  color: #65716b;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.area-insight-metrics strong {
  display: inline;
  margin-right: 4px;
  font-size: 13px;
  line-height: 1.1;
}

.area-insight-metrics em {
  color: #0f6f5c;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.area-attribution {
  display: grid;
  gap: 4px;
  color: #87938d;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.area-attribution div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
}

.area-attribution a {
  color: #6f7c75;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.facts-features {
  gap: 18px;
}

.facts-feature-group {
  display: grid;
  gap: 8px;
  border-left: 3px solid rgba(15, 111, 92, 0.22);
  padding: 2px 0 2px 12px;
}

.facts-feature-group h4 {
  margin: 0;
  color: #1f2925;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
}

.facts-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
}

.facts-feature-grid div {
  min-width: 0;
  border: 1px solid rgba(223, 229, 220, 0.86);
  border-radius: 6px;
  background: rgba(251, 253, 249, 0.72);
  padding: 8px 10px;
}

.facts-feature-grid span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.facts-feature-grid strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: #1f2925;
  font-size: 14px;
  line-height: 1.25;
}

.drawer-source {
  border-top: 1px solid #eef2ed;
  padding-top: 12px;
  color: #87938d;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.empty {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(420px, 100%);
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  padding: 28px;
  text-align: center;
}

@media (max-width: 1360px) {
  .topbar {
    grid-template-columns: minmax(150px, max-content) minmax(0, 1fr) max-content;
    align-items: start;
    gap: 2px 4px;
  }

  .brand-block {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .brand-icon {
    width: 42px;
    height: 42px;
  }

  .brand-block h1 {
    font-size: clamp(25px, 2.05vw, 32px);
  }

  .brand-wordmark {
    font-size: clamp(29px, 1.35vw, 40px);
  }

  .partner-line {
    max-width: min(100%, 240px);
    padding: 2px 8px;
    font-size: 11px;
    line-height: 1.15;
  }

  .filter-panel {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    width: 100%;
    grid-template-columns: minmax(240px, 1fr) minmax(144px, 211px) 37px;
    align-items: end;
  }

  .filter-panel .search-field {
    grid-column: 1;
    grid-row: 1;
  }

  .filter-panel .filter-options-toggle {
    display: grid;
    grid-column: 3;
    grid-row: 1;
    align-self: end;
    justify-self: end;
  }

  .filter-options-panel {
    position: absolute;
    z-index: 1250;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 14px 12px;
    width: min(520px, calc(100vw - 24px));
    border: 2px solid rgba(223, 229, 220, 0.92);
    border-radius: 8px;
    background: rgba(255, 255, 255);
    box-shadow: 0 18px 40px rgba(24, 32, 29, 0.16);
    padding: 14px;
  }

  .filter-options-panel.open {
    display: grid;
  }

  .filter-options-panel .price-range-field {
    grid-column: 1 / -1;
  }

  .filter-options-panel .storybook-field {
    margin-top: 4px;
  }

  .search-field > span,
  .display-panel .sort-field > span {
    display: none;
  }

  #resultSummary {
    grid-column: 2 / 4;
    grid-row: 2;
    align-self: start;
    justify-self: stretch;
    width: 100%;
    padding-top: 0;
  }

  .display-panel {
    grid-column: 3;
    grid-row: 1;
    grid-template-columns: 74px minmax(104px, 1fr) 42px 42px;
    justify-self: start;
    width: min(100%, 356px);
  }

  .fullscreen-toggle {
    display: none;
  }

}

@media (hover: none), (pointer: coarse) {
  .fullscreen-toggle {
    display: none;
  }
}

@media (max-width: 980px) {
  .about-modal,
  .account-sync-modal {
    width: calc(100vw - 18px);
    max-height: calc(100vh - 18px);
    border-radius: 10px;
  }

  .account-sync-modal {
    height: auto;
  }

  .about-modal > .close-button {
    top: 10px;
    right: 10px;
  }

  .about-modal-inner {
    gap: 18px;
    padding: 18px;
  }

  .about-modal-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-right: 0px;
    padding-bottom: 18px;
  }

  .about-modal-brand .brand-icon {
    width: 46px;
    height: 46px;
  }

  .about-modal-showcase {
    gap: 12px;
  }

  .about-phone-preview {
    width: min(72vw, 190px);
  }

  .about-modal-title h2 {
    font-size: 34px;
  }

  .about-feature-section {
    gap: 12px;
    padding-bottom: 18px;
  }

  .about-feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-left: 28px;
  }

  .about-feature-grid::before {
    left: 13px;
    transform: none;
  }

  .about-feature-card,
  .about-feature-card.feature-large,
  .about-feature-card.feature-small,
  .about-feature-card.feature-tall,
  .about-feature-card.feature-compact,
  .about-feature-card.feature-ribbon,
  .about-feature-card.feature-wide {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 9px;
    margin-top: 0;
    padding-bottom: 32px;
    border: 0;
  }

  .about-feature-card::before {
    position: absolute;
    top: 10px;
    right: auto;
    left: -27px;
    grid-column: auto;
    grid-row: auto;
    justify-self: auto;
    width: 24px;
    height: 24px;
    border-width: 5px;
  }

  .about-feature-card:nth-child(odd) .about-feature-shot,
  .about-feature-card:nth-child(even) .about-feature-shot,
  .about-feature-card:nth-child(odd) .about-feature-copy,
  .about-feature-card:nth-child(even) .about-feature-copy,
  .about-feature-card.feature-wide .about-feature-shot,
  .about-feature-card.feature-wide .about-feature-copy {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
    text-align: left;
  }

  .about-feature-copy {
    max-width: none;
  }

  .about-feature-shot {
    aspect-ratio: 1.48;
  }

  .feature-wide .about-feature-shot,
  .feature-tall .about-feature-shot,
  .about-feature-shot-measurements {
    aspect-ratio: 1.55;
  }

  .feature-ribbon .about-feature-shot {
    min-height: 120px;
    aspect-ratio: 2.7;
  }

  .about-feature-shot-controls,
  .about-feature-shot-tools,
  .about-feature-shot-timers,
  .about-feature-shot-diet {
    min-height: 0;
    aspect-ratio: 2.35;
  }

  .about-feature-card h4 {
    max-width: none;
    font-size: 28px;
  }

  .about-feature-card p {
    max-width: none;
  }

  .about-modal-grid {
    grid-template-columns: 1fr;
  }

  .about-faq-list {
    grid-template-columns: 1fr;
  }

  .about-modal-title p:not(.about-eyebrow),
  .about-modal-grid p,
  .about-feature-card p {
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  :root {
    --mobile-fixed-footer-clearance: calc(142px + env(safe-area-inset-bottom));
  }

  body {
    height: auto;
    min-height: 100vh;
    overflow: auto;
    display: block;
    scroll-padding-bottom: var(--mobile-fixed-footer-clearance);
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 1700;
    grid-template-columns: 1fr;
    transition: transform 180ms ease, box-shadow 180ms ease;
    will-change: transform;
  }

  .topbar:has(.filter-options-panel.open),
  .topbar:has(.view-options-panel:not([hidden])) {
    z-index: 2700;
  }

  body.mobile-topbar-hidden .topbar {
    transform: translateY(-100%);
    box-shadow: none;
  }

  .fullscreen-toggle {
    display: none;
  }

  .brand-block {
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: end;
    gap: 12px;
    max-height: 128px;
    min-height: 0;
    width: 100%;
    transition: max-height 180ms ease, opacity 160ms ease, margin 180ms ease;
  }

  .topbar.brand-collapsed {
    row-gap: 0;
  }

  .topbar.brand-collapsed .brand-block {
    max-height: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .brand-right {
    justify-self: end;
    align-self: start;
  }

  .brand-block h1 {
    max-width: none;
  }

  .drawer-listing-nav {
    display: none;
  }

  .lightbox-stage {
    width: calc(100vw - 28px);
    height: min(calc(100dvh - 120px), 820px);
    max-width: 100%;
  }

  .lightbox-nav {
    display: grid;
    width: 46px;
    height: 56px;
    font-size: 40px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .filter-panel {
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: minmax(240px, 1fr) 42px 42px 42px;
    align-items: end;
    justify-self: stretch;
    width: 100%;
  }

  .filter-panel .search-field {
    grid-column: 1;
    grid-row: 1;
  }

  .filter-panel .filter-options-toggle {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    justify-self: end;
  }

  .filter-panel > .view-options-toggle {
    display: grid;
    grid-column: 3;
    grid-row: 1;
    align-self: end;
    justify-self: end;
  }

  .filter-panel > .account-sync-toggle {
    display: grid;
    grid-column: 4;
    grid-row: 1;
    align-self: end;
    justify-self: end;
  }

  .filter-options-panel {
    position: absolute;
    z-index: 1800;
    top: calc(100% + 8px);
    right: auto;
    left: 50%;
    display: none;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 10px;
    width: min(520px, calc(100vw - 24px));
    border: 1px solid rgba(223, 229, 220, 0.92);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(24, 32, 29, 0.16);
    padding: 12px;
    transform: translateX(-50%);
  }

  .filter-options-panel.open {
    display: grid;
  }

  .filter-options-panel .price-range-field {
    grid-column: 1 / -1;
  }

  .filter-panel .filter-options-panel .primary-filter-field {
    grid-column: 1 / -1;
    grid-row: auto;
    align-self: stretch;
  }

  .filter-options-panel .detail-field .range-note {
    display: none;
  }

  .filter-options-panel .mobile-filter-action-row {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
    margin-top: 0;
    order: 30;
  }

  .filter-options-panel .mobile-filter-action-row .field {
    align-self: end;
    grid-template-rows: 36px;
    justify-items: center;
    width: 100%;
  }

  .filter-options-panel .mobile-filter-action-row .field > span {
    display: none;
  }

  .filter-options-panel .mobile-filter-action-row .pinned-field {
    grid-column: 1;
  }

  .filter-options-panel .mobile-filter-action-row .mobile-filter-reset-field {
    display: grid;
    grid-column: 2;
    align-content: end;
  }

  .filter-options-panel .mobile-filter-action-row .mobile-filter-reset-button {
    grid-row: 1;
  }

  .filter-options-panel .pinned-field {
    justify-self: stretch;
    width: 100%;
  }

  .filter-options-panel .sort-field {
    grid-column: 1 / -1;
    order: 20;
  }

  #resultSummary {
    grid-column: 1;
    grid-row: 3;
  }

  .main-layout {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto;
    min-height: 0;
    padding-bottom: var(--mobile-fixed-footer-clearance);
  }

  #cards > .grid-loading:only-child {
    position: fixed;
    inset: 0;
    z-index: 1600;
    place-content: center;
    pointer-events: none;
  }

  .kitchen-ingredient-tooltip {
    width: min(280px, calc(100vw - 32px));
    max-height: min(70vh, 520px);
    overflow: hidden;
  }

  .kitchen-ingredient-tooltip img {
    height: clamp(132px, 34vw, 190px);
  }

  .kitchen-ingredient-tooltip-copy span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 7;
  }

  .listing-pane {
    height: auto;
    overflow: visible;
    padding-right: 0;
  }

  .split-handle {
    display: none;
  }

  .main-map-pane {
    grid-column: 1 / -1;
    display: none;
    height: auto;
  }

  .main-listings-map {
    height: 420px;
    min-height: 360px;
  }

  .pinned-tray-shopping-button {
    display: grid;
  }

  .summary-count {
    left: 18px;
    width: max-content;
    max-width: calc(100vw - 132px);
    transform: none;
  }

  .shopping-list-modal {
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
    transform: none;
  }

  .shopping-list-modal > .close-button {
    position: sticky;
    top: max(10px, env(safe-area-inset-top));
    right: auto;
    z-index: 30;
    margin: 10px 10px -50px auto;
  }

  .shopping-list-modal:has(.shopping-specialty-modal-inner) > .close-button {
    position: fixed;
    top: max(10px, env(safe-area-inset-top));
    right: 10px;
    margin: 0;
  }

  .shopping-list-modal-inner {
    min-height: 100%;
    padding: 18px;
  }

  .shopping-list-modal .kitchen-add-search {
    font-size: 16px;
  }

  .shopping-list-modal-header {
    padding-right: 54px;
  }

  .shopping-list-modal-header h2 {
    font-size: 34px;
  }

  .shopping-list-shop-actions {
    display: grid;
  }

  .shopping-list-modal-add {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 0.55fr);
    gap: 8px;
  }

  .shopping-list-modal-add:not(:has(.shopping-list-shop-button)) {
    grid-template-columns: repeat(2, minmax(0, max-content));
  }

  .shopping-list-modal-add .kitchen-add-form {
    grid-column: 1 / -1;
    width: 100%;
    margin-right: 0;
  }

  .shopping-list-modal-add :is(.shopping-list-shop-button, .shopping-list-modal-transfer-all, .shopping-list-modal-clear) {
    min-width: 0;
    width: 100%;
    padding-inline: clamp(4px, 1.8vw, 9px);
    font-size: clamp(8px, 2.8vw, 12px);
    white-space: nowrap;
  }

  .shopping-list-modal-add .shopping-list-shop-button.is-amazon {
    gap: clamp(3px, 1vw, 7px);
  }

  .shopping-list-modal-add .shopping-list-shop-button svg {
    flex: 0 0 auto;
    width: clamp(12px, 3.5vw, 17px);
    height: clamp(12px, 3.5vw, 17px);
  }

  .shopping-list-shop-button {
    width: 100%;
  }

  .shopping-specialty-grid {
    grid-template-columns: 1fr;
  }

  .shopping-specialty-item {
    grid-template-columns: 86px minmax(0, 1fr);
    min-height: 128px;
    border-radius: 15px;
  }

  .shopping-specialty-image {
    padding: 10px;
  }

  .shopping-specialty-image img {
    width: 64px;
    height: 64px;
  }

  .shopping-specialty-copy {
    gap: 6px;
    padding: 14px;
  }

  .shopping-specialty-actions {
    margin-top: 5px;
  }

  .shopping-list-modal-header h2 > span:not(.shopping-list-modal-count-separator) {
    display: block;
  }

  .shopping-list-modal-count-separator {
    display: none;
  }

  .shopping-list-categories {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dual-range,
  .dual-range input[type="range"] {
    height: 32px;
  }

  .range-track {
    top: 12px;
    height: 8px;
  }

  .dual-range input[type="range"]::-webkit-slider-runnable-track {
    height: 8px;
  }

  .dual-range input[type="range"]::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
    margin-top: -8px;
  }

  .dual-range input[type="range"]::-moz-range-track {
    height: 8px;
  }

  .dual-range input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
  }

  .display-panel {
    grid-column: 1;
    grid-row: 4;
    grid-template-columns: minmax(0, 1fr) 42px 42px;
    justify-self: stretch;
    width: 100%;
  }

  .display-panel.view-in-filter {
    display: none;
  }

  .display-panel .sort-field {
    grid-column: 1;
    grid-row: 1;
  }

  .view-options-toggle {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    justify-self: end;
  }

  .filter-options-panel .sort-options {
    top: auto;
    bottom: calc(100% + 6px);
  }

  .view-options-panel {
    position: absolute;
    right: auto;
    left: 50%;
    top: calc(100% + 8px);
    bottom: auto;
    z-index: 1800;
    grid-template-columns: minmax(150px, 1fr) minmax(190px, 1.2fr) minmax(150px, 1fr);
    width: min(700px, calc(100vw - 24px));
    transform: translateX(-50%);
  }

  .view-options-panel > .view-action-row {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    align-items: end;
  }

  .view-options-panel > .view-action-row > .field {
    justify-items: center;
    width: 100%;
  }

  .view-options-panel > .view-action-row > .holiday-cards-field {
    grid-column: 1;
  }

  .view-options-panel > .view-action-row > .pinned-field {
    grid-column: 2;
  }

  .view-options-panel > .view-action-row > .favorite-field {
    grid-column: 3;
  }

  .view-options-panel > .view-action-row > .about-field {
    grid-column: 4;
  }

  .view-options-panel > .view-action-row > .reset-field {
    grid-column: 5;
    grid-row: 1;
  }
}

@media (min-width: 561px) and (max-width: 900px) {
  .filter-panel {
    grid-template-columns: minmax(240px, 1fr) 74px 42px 42px 42px;
  }

  .filter-panel > .art-field {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    justify-self: center;
  }

  .filter-panel .filter-options-toggle {
    grid-column: 3;
  }

  .filter-panel > .view-options-toggle {
    grid-column: 4;
  }

  .filter-panel > .account-sync-toggle {
    grid-column: 5;
  }
}

@media (max-width: 560px) {
  .main-layout {
    grid-template-rows: auto auto;
    padding-inline: 10px;
  }

  .main-listings-map {
    height: 340px;
    min-height: 300px;
  }

  .toolbar {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    grid-template-columns: minmax(0, 1fr) 42px 42px 42px;
    align-items: end;
  }

  .filter-panel .search-field {
    grid-column: 1;
    grid-row: 1;
  }

  .filter-panel .filter-options-toggle {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    justify-self: end;
  }

  .filter-panel > .view-options-toggle {
    grid-column: 3;
    grid-row: 1;
  }

  .filter-panel > .account-sync-toggle {
    grid-column: 4;
    grid-row: 1;
  }

  .about-modal {
    width: calc(100vw - 18px);
    max-height: calc(100vh - 18px);
    border-radius: 10px;
  }

  .about-modal > .close-button {
    top: 10px;
    right: 10px;
  }

  .about-modal-inner {
    gap: 18px;
    padding: 18px;
  }

  .print-modal {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border-radius: 0;
  }

  .print-modal:not([data-mode="focus"]) .print-modal-actions {
    position: sticky;
    z-index: 5;
    top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    border-bottom: 1px solid rgba(16, 44, 45, 0.1);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 5px 16px rgba(24, 32, 29, 0.06);
    padding: 8px 12px;
    backdrop-filter: blur(14px);
  }

  .print-modal:not([data-mode="focus"]) .print-modal-left-actions {
    display: contents;
  }

  .print-modal:not([data-mode="focus"]) .print-font-control {
    gap: 8px;
    height: 40px;
    min-width: 0;
    width: 100%;
    border: 1px solid rgba(16, 44, 45, 0.1);
    border-radius: 10px;
    background: #f5f7f5;
    padding: 0 10px;
  }

  .print-modal:not([data-mode="focus"]) .print-font-control input {
    width: clamp(76px, 24vw, 120px);
    min-width: 76px;
    width: 100%;
  }

  .print-modal:not([data-mode="focus"]) #printMeasurementsToggle {
    display: grid;
    place-items: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    border-color: rgba(16, 44, 45, 0.14);
    border-radius: 10px;
    background: #fff;
    color: var(--brand-dark);
    box-shadow: 0 2px 7px rgba(24, 32, 29, 0.08);
    padding: 0;
  }

  .print-modal:not([data-mode="focus"]) #printMeasurementsToggle[aria-pressed="true"] {
    border-color: rgba(15, 111, 92, 0.3);
    background: var(--theme-soft);
    color: var(--brand-dark);
  }

  .print-modal:not([data-mode="focus"]) #printMeasurementsToggle .print-control-label {
    display: none;
  }

  .print-modal:not([data-mode="focus"]) #printMeasurementsToggle .print-control-icon {
    display: grid;
    place-items: center;
  }

  .print-modal:not([data-mode="focus"]) #printMeasurementsToggle svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
  }

  .print-modal:not([data-mode="focus"]) .print-modal-action-button {
    height: 40px;
    min-height: 40px;
    border-color: #0f806f;
    border-radius: 10px;
    background: #0f806f;
    color: #fff;
    box-shadow: 0 3px 9px rgba(15, 111, 92, 0.2);
    padding: 0 11px;
  }

  .print-modal:not([data-mode="focus"]) .print-modal-action-button:hover,
  .print-modal:not([data-mode="focus"]) .print-modal-action-button:focus-visible {
    background: #0c705f;
  }

  .print-modal:not([data-mode="focus"]) .print-modal-actions > .close-button {
    position: static;
    flex: 0 0 40px;
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    border-radius: 50%;
    border-color: rgba(16, 44, 45, 0.12);
    background: #fff;
    box-shadow: 0 2px 7px rgba(24, 32, 29, 0.08);
    padding: 0;
    line-height: 1;
  }

  #printModalContent {
    overflow-x: hidden;
    padding: 12px;
  }

  .print-modal .recipe-note-card {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: calc(10pt * var(--print-font-scale, 1));
    padding: 0.16in;
  }

  .print-modal .recipe-note-card h1 {
    font-size: calc(18pt * var(--print-font-scale, 1));
  }

  .print-modal .recipe-note-card .meta {
    white-space: normal;
  }

  .print-modal .print-tool-list,
  .print-modal .print-ingredient-sections {
    grid-template-columns: 1fr;
  }

  .print-modal .print-ingredient-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .print-modal .print-ingredient-list small {
    justify-self: start;
    text-align: left;
  }

  .print-modal[data-mode="focus"] .print-ingredient-list li {
    grid-template-columns: minmax(0, 1fr) minmax(92px, 38%);
    column-gap: 10px;
    align-items: baseline;
  }

  .print-modal[data-mode="focus"] .print-ingredient-list small {
    justify-self: end;
    text-align: right;
  }

  .about-modal-hero {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 18px;
  }

  .about-modal-brand .brand-icon {
    width: 46px;
    height: 46px;
  }

  .about-modal-showcase {
    gap: 12px;
  }

  .about-phone-preview {
    width: min(72vw, 190px);
  }

  .about-modal-title h2 {
    font-size: 34px;
  }

  .about-feature-section {
    gap: 12px;
    padding-bottom: 18px;
  }

  .about-feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-left: 28px;
  }

  .about-feature-grid::before {
    left: 13px;
    transform: none;
  }

  .about-feature-card,
  .about-feature-card.feature-large,
  .about-feature-card.feature-small,
  .about-feature-card.feature-tall,
  .about-feature-card.feature-compact,
  .about-feature-card.feature-ribbon,
  .about-feature-card.feature-wide {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 9px;
    margin-top: 0;
    padding: 0;
    border: 0;
  }

  .about-feature-card::before {
    position: absolute;
    top: 10px;
    right: auto;
    left: -27px;
    grid-column: auto;
    grid-row: auto;
    justify-self: auto;
    width: 24px;
    height: 24px;
    border-width: 5px;
  }

  .about-feature-card:nth-child(odd) .about-feature-shot,
  .about-feature-card:nth-child(even) .about-feature-shot,
  .about-feature-card:nth-child(odd) .about-feature-copy,
  .about-feature-card:nth-child(even) .about-feature-copy,
  .about-feature-card.feature-wide .about-feature-shot,
  .about-feature-card.feature-wide .about-feature-copy {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
    text-align: left;
  }

  .about-feature-copy {
    max-width: none;
  }

  .about-feature-shot {
    aspect-ratio: 1.48;
  }

  .feature-wide .about-feature-shot,
  .feature-tall .about-feature-shot,
  .about-feature-shot-measurements {
    aspect-ratio: 1.55;
  }

  .feature-ribbon .about-feature-shot {
    min-height: 120px;
    aspect-ratio: 2.7;
  }

  .about-feature-shot-controls,
  .about-feature-shot-tools,
  .about-feature-shot-timers,
  .about-feature-shot-diet {
    min-height: 0;
    aspect-ratio: 2.35;
  }

  .about-feature-card h4 {
    max-width: none;
    font-size: 28px;
  }

  .about-feature-card p {
    max-width: none;
  }

  .about-modal-grid {
    grid-template-columns: 1fr;
  }

  .about-faq-list {
    grid-template-columns: 1fr;
  }

  .recipe-ingredients-section .section-heading {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .about-modal-title p:not(.about-eyebrow),
  .about-modal-grid p,
  .about-feature-card p {
    font-size: 14px;
  }

  .filter-panel .primary-filter-field {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .filter-panel .filter-options-panel {
    right: auto;
    left: 50%;
    z-index: 1800;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
    width: min(360px, calc(100vw - 20px));
    max-height: min(72vh, 560px);
    overflow-y: auto;
    transform: translateX(-50%);
  }

  .filter-panel .filter-options-panel .field,
  .filter-panel .filter-options-panel .price-range-field {
    grid-column: 1 / -1;
  }

  .filter-panel .filter-options-panel .mobile-filter-action-row {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel .filter-options-panel .pinned-field {
    grid-column: 1;
  }

  .filter-panel .filter-options-panel .pinned-field {
    width: 100%;
  }

  .filter-panel .filter-options-panel .mobile-filter-action-row .pinned-field {
    grid-column: 1;
  }

  .filter-panel .filter-options-panel .mobile-filter-action-row .mobile-filter-reset-field {
    grid-column: 3;
  }

  #resultSummary {
    gap: 7px;
    min-height: 26px;
  }

  #resultSummary.is-empty {
    display: none;
    min-height: 0;
  }

  .summary-count {
    left: 18px;
    width: max-content;
    max-width: calc(100vw - 132px);
    transform: none;
  }

  .location-pill {
    max-width: min(42vw, 220px);
  }

  .summary-filters {
    flex-wrap: wrap;
    gap: 5px;
    max-height: 26px;
  }

  #resultSummary.filters-wrapped .summary-filters {
    max-height: none;
  }

  .filter-chip {
    max-width: min(210px, calc(100vw - 40px));
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .cards > [data-ingredient-card-list],
  .cards > [data-tool-card-list] {
    grid-template-columns: 1fr;
  }

  .card:not(.ingredient-listing-card),
  .ingredient-listing-card {
    grid-column: 1 / -1;
  }

  .ingredient-modal {
    width: min(420px, calc(100vw - 20px));
    max-height: min(820px, calc(100vh - 20px));
  }

  .ingredient-modal-inner {
    padding: 18px;
  }

  .ingredient-modal-hero {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-right: 44px;
  }

  .ingredient-modal-hero > img {
    max-width: 220px;
    justify-self: center;
  }

  .ingredient-modal-title h2 {
    font-size: 34px;
  }

  .display-panel {
    grid-template-columns: minmax(0, 1fr) 42px 42px;
  }

  .view-options-panel {
    grid-template-columns: minmax(0, 1fr) 76px;
    width: min(320px, calc(100vw - 20px));
  }

  .view-options-panel > .sort-field {
    grid-column: 1;
    grid-row: 1;
  }

  .view-options-panel > .art-field {
    grid-column: 2;
    grid-row: 1;
    grid-template-rows: 13px 36px 11px;
    align-self: stretch;
  }

  .view-options-panel > .art-field .recipe-art-toggle {
    grid-row: 2;
    align-self: center;
  }

  .view-options-panel > .measurement-system-field,
  .view-options-panel > .detail-field,
  .view-options-panel > .zoom-field {
    grid-column: 1 / -1;
  }

  .view-options-panel > .view-action-row {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
  }

  .view-options-panel > .view-action-row > .holiday-cards-field {
    grid-column: 1;
  }

  .view-options-panel > .view-action-row > .pinned-field {
    grid-column: 2;
  }

  .view-options-panel > .view-action-row > .favorite-field {
    grid-column: 3;
    grid-row: 1;
  }

  .view-options-panel > .view-action-row > .about-field {
    grid-column: 4;
    grid-row: 1;
  }

  .view-options-panel > .view-action-row > .reset-field {
    grid-column: 5;
    grid-row: 1;
  }

  .search-field,
  .price-range-field,
  .detail-field,
  .zoom-field,
  .measurement-system-field {
    grid-column: auto;
  }

  .drawer-grid,
  .kv {
    grid-template-columns: 1fr 1fr;
  }

  .drawer-address-row {
    grid-template-columns: minmax(0, 1fr) max-content;
  }

  .drawer-stats {
    margin-left: auto;
  }

  .pinned-compare-panel {
    width: min(100%, calc(100vw - 16px));
    height: min(92vh, 820px);
    padding: 10px;
  }

  .pinned-compare-content {
    grid-auto-columns: minmax(238px, 84vw);
    gap: 10px;
  }

  .pinned-compare-header strong {
    font-size: 16px;
  }

  .area-insight-grid {
    grid-template-columns: 1fr;
  }
}


/* Zapappy Cooking: template-preserving domain overrides */
.kitchen-pane {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  align-content: start;
  background: #f7f8f5;
  padding: 12px;
  overflow: auto;
}
.kitchen-board {
  display: grid;
  gap: 12px;
  min-height: 100%;
}
.kitchen-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(24, 32, 29, 0.08);
  overflow: visible;
}
.kitchen-section header,
.kitchen-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
}
.kitchen-section header {
  padding: 0;
}
.kitchen-section.collapsed header {
  border-bottom: 0;
}
.kitchen-section.collapsed {
  align-self: start;
  grid-template-rows: auto;
}
.kitchen-section-toggle {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 10px 12px;
  text-align: left;
}
.kitchen-section-toggle:hover,
.kitchen-section-toggle:focus-visible {
  background: var(--theme-soft);
  outline: 0;
}
.kitchen-section-clear {
  appearance: none;
  flex: 0 0 auto;
  align-self: center;
  border: 1px solid rgba(197, 72, 59, 0.32);
  border-radius: 999px;
  background: rgba(255, 244, 237, 0.94);
  color: #9b3d30;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  margin-right: 10px;
  padding: 7px 10px;
}
.kitchen-section-clear:hover,
.kitchen-section-clear:focus-visible {
  background: rgba(255, 232, 220, 0.98);
  border-color: rgba(197, 72, 59, 0.5);
  outline: 0;
}
.kitchen-section-clear:disabled {
  cursor: default;
  opacity: 0.38;
}
.kitchen-section.collapsed .kitchen-section-clear {
  display: none;
}
.kitchen-heading-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.kitchen-heading-copy strong {
  margin: 0;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 900;
}
.kitchen-drawer-icon {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(15, 111, 92, 0.18);
  border-radius: 999px;
  background: #fff;
}
.kitchen-drawer-icon::before {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--brand-dark);
  border-bottom: 2px solid var(--brand-dark);
  content: "";
  transform: translateY(2px) rotate(225deg);
}
.kitchen-section.collapsed .kitchen-drawer-icon::before {
  transform: translateY(-2px) rotate(45deg);
}
.kitchen-section h2,
.kitchen-section h3 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 900;
}
.kitchen-section small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}
.kitchen-section.collapsed .kitchen-list,
.kitchen-section.collapsed .kitchen-add-form {
  display: none;
}
.kitchen-list {
  display: grid;
  padding: 10px;
}
.kitchen-category-group {
  display: grid;
  gap: 5px;
  padding-top: 16px;
}
.kitchen-category-group + .kitchen-category-group {
  margin-top: 6px;
}
.kitchen-category-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--brand-dark);
  cursor: pointer;
  margin: 0;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  padding: 3px 2px;
  text-transform: uppercase;
}
.kitchen-category-toggle:hover,
.kitchen-category-toggle:focus-visible {
  background: var(--theme-soft);
  outline: 0;
}
.kitchen-category-icon {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.72;
  transform: rotate(45deg) translateY(-1px);
}
.kitchen-category-group.collapsed .kitchen-category-icon {
  transform: rotate(-45deg);
}
.kitchen-category-list {
  display: grid;
}
.kitchen-category-list[hidden] {
  display: none;
}
.kitchen-add-form {
  display: grid;
  align-items: center;
  border-top: 1px solid rgba(213, 222, 211, 0.72);
  padding: 10px;
}

.kitchen-add-menu {
  width: 100%;
}

.kitchen-add-menu summary {
  height: 34px;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  padding: 0 9px;
}

.kitchen-add-menu summary:hover,
.kitchen-add-menu summary:focus-visible {
  border-color: var(--pin-border);
  background: var(--pin-bg);
  box-shadow: 0 0 0 3px var(--pin-focus);
  outline: 0;
}

.kitchen-add-menu .check-options {
  top: auto;
  right: 0;
  bottom: calc(100% + 6px);
  left: 0;
  max-height: min(440px, 62vh);
  overflow: auto;
  overscroll-behavior: contain;
}

.kitchen-add-menu .kitchen-add-search {
  position: sticky;
  z-index: 1;
  top: -8px;
  display: block;
  flex: none;
  min-width: 0;
  width: 100%;
  height: 32px;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  margin-bottom: 5px;
  padding: 0 9px;
  accent-color: auto;
}

.kitchen-add-menu .kitchen-add-search:hover,
.kitchen-add-menu .kitchen-add-search:focus {
  border-color: var(--pin-border);
  background: #fff;
  box-shadow: 0 0 0 3px var(--pin-focus);
  outline: 0;
}

.kitchen-add-form[data-add-shopping] .check-options {
  top: calc(100% + 6px);
  bottom: auto;
  max-height: min(360px, 52vh);
}

.kitchen-add-menu .check-options button {
  min-height: 32px;
}

.kitchen-add-menu .check-options button.is-filtered-out {
  display: none !important;
}

.kitchen-add-empty {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  padding: 8px 7px;
}
.kitchen-item,
.ingredient-card,
.suggestion-card,
.review-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  border-radius: 8px;
  background: #fff;
  padding: 2px;
}
.ingredient-card,
.suggestion-card,
.review-card {
  grid-template-columns: 42px minmax(0, 1fr) auto;
}
.kitchen-item {
  grid-template-columns: minmax(0, 1fr) auto;
}
.kitchen-item {
  position: relative;
}
.kitchen-item[data-kitchen-mode="shopping"] {
  grid-template-columns: 22px minmax(0, 1fr) auto;
}
.kitchen-item[data-kitchen-item] {
  cursor: pointer;
}
.kitchen-check-mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(15, 111, 92, 0.28);
  border-radius: 999px;
  color: #fff;
}
.kitchen-item.checked {
  background: #f6f8f5;
}
.kitchen-item.checked .kitchen-check-mark {
  border-color: var(--brand);
  background: var(--brand);
}
.kitchen-item.checked .kitchen-check-mark::before {
  content: "✓";
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
}
.kitchen-item.checked .kitchen-copy {
  color: #8b948e;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.ingredient-card img,
.suggestion-card img {
  width: 42px;
  height: 42px;
  border-radius: 7px;
  object-fit: contain;
  background: #f7f8f5;
  padding: 3px;
  box-sizing: border-box;
}
.kitchen-copy,
.ingredient-copy,
.suggestion-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  align-content: start;
}
.kitchen-copy strong,
.ingredient-copy strong,
.suggestion-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.suggestion-card.has-linked-recipe .suggestion-copy strong {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  max-width: 100%;
}
.suggestion-name-text {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kitchen-copy span,
.ingredient-copy span,
.suggestion-copy span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.suggestion-copy strong .suggestion-name-text {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}
.kitchen-item-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.kitchen-item button,
.recipe-control button,
.diet-toggle,
.serving-stepper button,
.spice-stepper button {
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #526159;
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
  min-height: 30px;
  padding: 0 10px;
}
.kitchen-item .kitchen-move-button,
.kitchen-item .kitchen-remove-button {
  display: grid;
  place-items: center;
  width: 30px;
  min-width: 30px;
  padding: 0;
  font-size: 15px;
  line-height: 1;
}
.kitchen-item .kitchen-move-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
.kitchen-item .kitchen-move-button {
  border-color: rgba(15, 111, 92, 0.24);
  color: var(--brand-dark);
}
.kitchen-item .kitchen-remove-button {
  border-color: rgba(154, 60, 52, 0.24);
  color: #9a3c34;
}
.kitchen-item button:hover,
.kitchen-item button:focus-visible,
.recipe-control button:hover,
.recipe-control button:focus-visible,
.diet-toggle:hover,
.diet-toggle:focus-visible {
  border-color: var(--pin-border);
  background: var(--pin-bg);
  color: var(--brand-dark);
  outline: 0;
}
.kitchen-item .kitchen-remove-button:hover,
.kitchen-item .kitchen-remove-button:focus-visible {
  border-color: rgba(154, 60, 52, 0.44);
  background: rgba(255, 247, 244, 0.96);
  color: #7d2f29;
}
.kitchen-ingredient-tooltip {
  position: fixed;
  z-index: 1800;
  left: 0;
  top: 0;
  display: block;
  width: 198px;
  border: 1px solid rgba(16, 44, 45, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(24, 32, 29, 0.22);
  opacity: 0;
  padding: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.12s ease, transform 0.12s ease;
}
.kitchen-ingredient-tooltip img {
  display: block;
  width: 100%;
  height: 152px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
  padding: 0;
  box-sizing: border-box;
}
.kitchen-ingredient-tooltip-copy {
  display: grid;
  gap: 5px;
  padding: 9px 10px 11px;
}
.kitchen-ingredient-tooltip-copy strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.1;
}
.kitchen-ingredient-tooltip-copy span {
  color: #51615a;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.28;
}
.kitchen-ingredient-tooltip.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.recipe-hero-gallery {
  display: grid;
  gap: 8px;
}
.recipe-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.recipe-photo-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}
.recipe-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.recipe-control {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}
.recipe-control span {
  justify-self: stretch;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}
.serving-stepper,
.spice-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.diet-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.diet-toggle[aria-pressed="true"] {
  border-color: var(--pin-border);
  background: var(--pin-bg);
  color: var(--pin-color);
}
.ingredient-grid,
.suggestion-grid,
.review-grid {
  display: grid;
  gap: 8px;
}
.ingredient-section-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  padding-top: 4px;
}
.ingredient-section-list > .ingredient-section-column:only-child {
  grid-column: 1 / -1;
}
.ingredient-section-column {
  display: grid;
  align-content: start;
  gap: 24px;
  min-width: 0;
}
.ingredient-section-column.has-montage:not(.single-section) {
  align-content: stretch;
  grid-template-rows: auto minmax(180px, 1fr);
}
.ingredient-section-montage-row {
  grid-column: 1 / -1;
  justify-self: stretch;
  min-width: 0;
  width: 100%;
}
.ingredient-section-stack {
  display: grid;
  align-content: start;
  gap: 24px;
  min-width: 0;
}
.recipe-ingredients-section .ingredient-section-column:not(.has-montage):not(.single-section) {
  align-content: stretch;
}
.recipe-ingredients-section .ingredient-section-column:not(.has-montage):not(.single-section) .ingredient-source-section {
  align-items: stretch;
  grid-template-rows: auto 1fr;
}
.ingredient-section-column.single-section {
  grid-template-columns: minmax(0, 1fr) minmax(200px, 0.2fr);
  align-items: stretch;
  max-width: 100%;
}
.pinned-drawer .ingredient-section-column.single-section {
  grid-template-columns: 1fr;
}
.pinned-drawer .ingredient-section-column.single-section.has-montage {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.85fr);
}
.ingredient-section-column.single-section .ingredient-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.direction-section-list {
  display: grid;
  gap: 24px;
  padding-top: 4px;
}
.direction-source-section {
  display: grid;
  gap: 8px;
}
.ingredient-source-section {
  display: grid;
  align-items: start;
  gap: 8px;
}
.ingredient-source-box,
.direction-source-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}
.direction-source-box {
  background: #eff4ee;
}
.ingredient-source-box {
  background: #f5f2f2;
}
.ingredient-source-title,
.direction-source-title {
  margin: 0;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.ingredient-source-title,
.direction-source-title {
  justify-self: start;
}
.ingredient-source-box .ingredient-grid {
  gap: 8px 18px;
}
.ingredient-source-box .ingredient-group-column {
  gap: 12px;
}
.ingredient-montage-tile {
  align-self: start;
  display: grid;
  min-height: 0;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}
.ingredient-montage-tile::after {
  content: none;
}
.ingredient-montage {
  align-self: start;
  display: grid;
  grid-template-columns: repeat(var(--montage-columns, 8), minmax(0, 1fr));
  grid-template-rows: repeat(var(--montage-rows, 2), minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 6px;
  aspect-ratio: var(--montage-columns, 8) / var(--montage-rows, 2);
  justify-self: stretch;
  min-height: 0;
  max-height: 220px;
  width: 100%;
  pointer-events: none;
}
.ingredient-montage.is-side-montage {
  max-width: 100%;
}
@media (min-width: 901px) {
  .ingredient-section-column.single-section.has-montage > .ingredient-montage-tile {
    align-self: stretch;
    min-height: 0;
    position: relative;
  }
  .ingredient-section-column.single-section.has-montage > .ingredient-montage-tile .ingredient-montage.is-side-montage {
    position: absolute;
    inset: 10px 10px 0;
    width: auto;
    height: calc(100% - 10px);
    max-height: calc(100% - 10px);
    aspect-ratio: auto;
    overflow: hidden;
  }
}
.ingredient-montage-tile.is-section-slot {
  align-self: stretch;
  min-height: 0;
  position: relative;
}
.ingredient-montage.is-section-slot-montage {
  position: absolute;
  inset: 10px;
  width: auto;
  height: auto;
  aspect-ratio: auto;
  max-height: 100%;
}
.pinned-drawer .ingredient-montage {
  min-height: 0;
}
.ingredient-montage-card {
  grid-column: span 1;
  grid-row: span 1;
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 44, 45, 0.1);
  border-radius: 5px;
  background: rgba(255, 253, 248, 0.96);
}
.ingredient-montage-card.is-featured {
  grid-column: span 2;
  grid-row: span 2;
}
.ingredient-montage-card.is-wide {
  grid-column: span 2;
  grid-row: span 1;
}
.ingredient-montage-card img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  filter: saturate(0.88);
  object-fit: cover;
  object-position: var(--montage-x, 50%) var(--montage-y, 50%);
  transform: scale(var(--montage-zoom, 1));
  transform-origin: center;
}
.direction-source-box .direction-list {
  gap: 0;
}
.direction-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: directions;
}
.direction-list li {
  color: #35403a;
  font-size: 14px;
  line-height: 1.55;
}
.direction-list li::before {
  content: none;
}
.direction-number {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--theme-soft);
  color: var(--brand-dark);
  font-weight: 900;
}
.review-card {
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 10px;
}
.review-card img,
.review-avatar-fallback,
.recipe-review-profile img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(15, 111, 92, 0.2);
  border-radius: 50%;
  background: #f7f8f5;
  object-fit: cover;
}
.review-avatar-fallback {
  display: block;
}
.review-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}
.review-card-head strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.review-card.is-mine {
  border-color: rgba(17, 128, 111, 0.28);
  background: #f6fbf8;
}
.recipe-review-form {
  display: grid;
  grid-template-columns: minmax(180px, 0.36fr) minmax(220px, 0.64fr);
  align-items: end;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ecede9;
  padding: 10px;
}
.recipe-review-profile {
  display: flex;
  align-items: center;
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  justify-self: start;
  gap: 9px;
  min-width: 0;
}
.recipe-review-profile strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recipe-review-form label {
  display: grid;
  gap: 5px;
  color: #52615a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.recipe-review-form input,
.recipe-review-form textarea {
  width: 100%;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 9px 10px;
  text-transform: none;
}
.recipe-review-form input[type="range"] {
  min-height: 22px;
  border: 0;
  background: transparent;
  accent-color: var(--brand);
  padding: 0;
}
.recipe-review-rating {
  align-self: start;
}
.recipe-review-stars {
  display: flex;
  gap: 2px;
  color: rgba(82, 97, 89, 0.34);
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1;
}
.recipe-review-stars span {
  position: relative;
}
.recipe-review-stars .active {
  color: #d7a63a;
}
.recipe-review-stars .half {
  color: rgba(82, 97, 89, 0.34);
}
.recipe-review-stars .half::before {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  color: #d7a63a;
  content: "★";
}
.recipe-review-rating small {
  color: #637069;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}
.recipe-review-form textarea {
  min-height: 74px;
  resize: vertical;
}
.recipe-review-text {
  align-self: stretch;
}
.recipe-review-actions {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.recipe-review-actions p,
.recipe-review-signin,
.recipe-review-empty {
  margin: 0;
  color: #637069;
  font-size: 13px;
  font-weight: 800;
}
.recipe-review-action-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.recipe-review-delete-button {
  min-height: 36px;
}

.recipe-review-report-button {
  justify-self: start;
  min-height: 30px;
  padding: 4px 10px;
  font-size: 12px;
}
.recipe-tips-grid {
  display: grid;
  gap: 10px;
}
.recipe-tip-group {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}
.recipe-tip-group h4 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.recipe-tip-group ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}
.recipe-tip-group li {
  color: #35403a;
  font-size: 13px;
  line-height: 1.45;
}
.recipe-reviews-section {
  display: grid;
}
.recipe-reviews-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}
.recipe-reviews-section summary::-webkit-details-marker {
  display: none;
}
.recipe-reviews-section summary::after {
  content: "⌄";
  color: var(--muted);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  transition: transform 140ms ease;
}
.recipe-reviews-section[open] summary::after {
  transform: rotate(180deg);
}
.recipe-reviews-section.is-closing summary::after {
  transform: none;
}
.recipe-reviews-section summary h3 {
  margin: 0;
}
.recipe-reviews-section .reviews-summary-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.recipe-reviews-section .reviews-summary-label > span {
  border: 1px solid rgba(16, 44, 45, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  padding: 5px 8px;
}
.recipe-review-panel {
  transition: height 220ms ease, opacity 160ms ease;
}
.recipe-reviews-section[open]:not(.is-closing) .recipe-review-panel {
  animation: reviewPanelOpen 220ms ease both;
  overflow: hidden;
}
.recipe-reviews-section[open] .review-grid {
  margin-top: 12px;
}
@keyframes reviewPanelOpen {
  from {
    max-height: 0;
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    max-height: 1200px;
    opacity: 1;
    transform: translateY(0);
  }
}
.review-card p {
  grid-column: 1 / -1;
  margin: 0;
  color: #46534d;
  font-size: 13px;
  line-height: 1.45;
}
.card .gallery img {
  background: #f7f8f5;
}
@media (max-width: 762px) {
  .recipe-review-form {
    grid-template-columns: 1fr;
  }
  .recipe-review-profile,
  .recipe-review-actions {
    grid-column: 1;
    grid-row: auto;
  }

  .recipe-controls,
  .recipe-photo-strip {
    grid-template-columns: 1fr;
  }
}

/* Cooking ingredient readability */
.recipe-ingredients-section .ingredient-card {
  overflow: visible;
  position: relative;
}
.recipe-ingredients-section .ingredient-copy {
  align-items: center;
  column-gap: 6px;
}
.recipe-ingredients-section .ingredient-copy strong {
  min-width: 0;
}
.ingredient-note {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  min-height: 18px;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  cursor: help;
  font-size: 11px;
  font-weight: 900;
  padding: 0;
}
.ingredient-note::after {
  position: absolute;
  z-index: 80;
  left: 50%;
  bottom: calc(100% + 8px);
  width: max-content;
  max-width: min(260px, 72vw);
  border: 1px solid rgba(16, 44, 45, 0.14);
  border-radius: 6px;
  background: rgba(16, 44, 45, 0.94);
  color: #fff;
  box-shadow: 0 8px 18px rgba(24, 32, 29, 0.18);
  content: attr(data-tooltip);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  opacity: 0;
  padding: 7px 8px;
  pointer-events: none;
  text-align: left;
  transform: translate(-50%, 3px);
  transition: opacity 0.12s ease, transform 0.12s ease;
  white-space: normal;
}
.ingredient-note:hover::after,
.ingredient-note:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 762px) {
  .recipe-ingredients-section .ingredient-card {
    grid-template-columns: 34px minmax(0, 1fr);
  }
}


/* Cooking kitchen pane split scrolling */
.main-map-pane {
  min-height: 0;
}
.kitchen-pane {
  grid-template-rows: minmax(0, 1fr);
  align-content: stretch;
  container-type: inline-size;
  min-height: 0;
  overflow: hidden;
}
.kitchen-board {
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 0;
  height: 100%;
}
.kitchen-board.shopping-collapsed {
  grid-template-rows: minmax(0, 1fr);
  grid-template-columns: auto minmax(0, 1fr);
}
.kitchen-board.pantry-collapsed {
  grid-template-rows: minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr) auto;
}
.kitchen-board.shopping-collapsed.pantry-collapsed {
  grid-template-rows: auto;
  grid-template-columns: auto auto;
  align-content: start;
  justify-content: stretch;
}
.kitchen-board.shopping-collapsed .kitchen-section[data-kitchen-section="shopping"],
.kitchen-board.pantry-collapsed .kitchen-section[data-kitchen-section="pantry"] {
  align-self: stretch;
  width: 46px;
}
.kitchen-board.shopping-collapsed .kitchen-section[data-kitchen-section="shopping"] header,
.kitchen-board.pantry-collapsed .kitchen-section[data-kitchen-section="pantry"] header {
  height: 100%;
}
.kitchen-board.shopping-collapsed .kitchen-section[data-kitchen-section="shopping"] .kitchen-section-toggle,
.kitchen-board.pantry-collapsed .kitchen-section[data-kitchen-section="pantry"] .kitchen-section-toggle {
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  height: 100%;
  min-height: 180px;
  padding: 12px 8px;
  text-align: center;
}
.kitchen-board.shopping-collapsed .kitchen-section[data-kitchen-section="shopping"] .kitchen-heading-copy,
.kitchen-board.pantry-collapsed .kitchen-section[data-kitchen-section="pantry"] .kitchen-heading-copy {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  justify-items: center;
}
.kitchen-board.pantry-collapsed .kitchen-section[data-kitchen-section="pantry"] .kitchen-heading-copy {
  transform: none;
}
.kitchen-board.shopping-collapsed .kitchen-section[data-kitchen-section="shopping"] .kitchen-section-toggle small,
.kitchen-board.pantry-collapsed .kitchen-section[data-kitchen-section="pantry"] .kitchen-section-toggle small {
  display: block;
  overflow: visible;
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
  text-align: center;
  text-overflow: clip;
  white-space: nowrap;
}
.kitchen-section {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 0;
}
.kitchen-section header {
  min-width: 0;
}
.kitchen-section header small {
  overflow: hidden;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kitchen-list {
  align-content: start;
  min-height: 0;
  overflow-y: scroll;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-color: rgba(82, 97, 89, 0.42) rgba(213, 222, 211, 0.32);
  scrollbar-width: thin;
}
.kitchen-list::-webkit-scrollbar {
  width: 10px;
}
.kitchen-list::-webkit-scrollbar-track {
  background: rgba(213, 222, 211, 0.32);
}
.kitchen-list::-webkit-scrollbar-thumb {
  border: 3px solid #fff;
  border-radius: 999px;
  background: rgba(82, 97, 89, 0.35);
}
@container (min-width: 620px) {
  .kitchen-board {
    grid-template-rows: minmax(0, 1fr);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .kitchen-board.shopping-collapsed {
    grid-template-rows: minmax(0, 1fr);
    grid-template-columns: auto minmax(0, 1fr);
  }
  .kitchen-board.pantry-collapsed {
    grid-template-rows: minmax(0, 1fr);
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .kitchen-board.shopping-collapsed.pantry-collapsed {
    grid-template-rows: auto;
    grid-template-columns: auto auto;
    align-content: start;
    justify-content: stretch;
  }
  .kitchen-board.shopping-collapsed .kitchen-section[data-kitchen-section="shopping"],
  .kitchen-board.pantry-collapsed .kitchen-section[data-kitchen-section="pantry"] {
    align-self: stretch;
    width: 46px;
  }
  .kitchen-board.shopping-collapsed .kitchen-section[data-kitchen-section="shopping"] header,
  .kitchen-board.pantry-collapsed .kitchen-section[data-kitchen-section="pantry"] header {
    height: 100%;
  }
  .kitchen-board.shopping-collapsed .kitchen-section[data-kitchen-section="shopping"] .kitchen-section-toggle,
  .kitchen-board.pantry-collapsed .kitchen-section[data-kitchen-section="pantry"] .kitchen-section-toggle {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    height: 100%;
    min-height: 180px;
    padding: 12px 8px;
    text-align: center;
  }
  .kitchen-board.shopping-collapsed .kitchen-section[data-kitchen-section="shopping"] .kitchen-heading-copy,
  .kitchen-board.pantry-collapsed .kitchen-section[data-kitchen-section="pantry"] .kitchen-heading-copy {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    justify-items: center;
  }
  .kitchen-board.pantry-collapsed .kitchen-section[data-kitchen-section="pantry"] .kitchen-heading-copy {
    transform: none;
  }
  .kitchen-board.shopping-collapsed .kitchen-section[data-kitchen-section="shopping"] .kitchen-section-toggle small,
  .kitchen-board.pantry-collapsed .kitchen-section[data-kitchen-section="pantry"] .kitchen-section-toggle small {
    display: block;
    overflow: visible;
    color: var(--muted);
    font-size: 10px;
    line-height: 1;
    text-align: center;
    text-overflow: clip;
    white-space: nowrap;
  }
}
@media (max-width: 762px) {
  .main-map-pane,
  .main-listings-map {
    height: auto;
    min-height: 0;
    overflow: visible;
  }
  .kitchen-pane {
    min-height: 0;
    height: auto;
    overflow: visible;
  }
  .kitchen-board {
    grid-template-rows: none;
    min-height: 0;
    height: auto;
  }
  .kitchen-board,
  .kitchen-board.shopping-collapsed,
  .kitchen-board.pantry-collapsed,
  .kitchen-board.shopping-collapsed.pantry-collapsed {
    grid-template-rows: none;
    align-content: start;
  }
  .kitchen-section {
    grid-template-rows: auto auto auto;
    min-height: 0;
  }
  .kitchen-list {
    max-height: none;
    overflow: visible;
    overscroll-behavior: auto;
    scrollbar-gutter: auto;
  }
}


/* Cooking kitchen pane full-width refinement */
.kitchen-pane {
  place-items: stretch;
}
.kitchen-board {
  width: 100%;
}
.kitchen-section {
  width: 100%;
}

.pinned-drawer .recipe-drawer-inner {
  min-width: 0;
}
@media (max-width: 779px) {
  .pinned-drawer-deck {
    --pinned-drawer-width: calc(100vw - 28px);
    --pinned-drawer-fit-width: var(--pinned-drawer-width);
  }
  .pinned-drawer-deck.two-up {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    padding-inline: 18px;
  }
  .pinned-drawer-deck.two-up .pinned-drawer {
    flex: 0 0 min(calc(100vw - 36px), var(--pinned-drawer-width));
    width: min(calc(100vw - 36px), var(--pinned-drawer-width));
    height: var(--pinned-drawer-height);
    max-height: var(--pinned-drawer-height);
  }
  .pinned-drawer .recipe-drawer-hero {
    grid-template-columns: 1fr;
  }
  .pinned-drawer .recipe-drawer-title {
    padding-right: 0px;
  }
  .pinned-drawer .recipe-drawer-title .drawer-price-row h2 {
    max-width: none;
    font-size: 38px;
  }
}


/* Cooking ingredient list simplification */
.recipe-ingredients-section .ingredient-grid {
  gap: 2px 18px;
}
.recipe-ingredients-section .ingredient-card {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 38px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 1px 0;
}
.recipe-ingredients-section .ingredient-card.has-linked-recipe {
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: start;
  gap: 6px;
}
.recipe-ingredients-section .ingredient-main {
  align-items: start;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: inherit;
  cursor: pointer;
  display: inline-grid;
  gap: 12px;
  grid-template-columns: 18px 30px minmax(0, max-content);
  justify-self: stretch;
  font: inherit;
  min-width: 0;
  width: 100%;
  outline: 0;
  padding: 0;
  position: relative;
  text-align: left;
  text-decoration: none;
}
.recipe-ingredients-section .ingredient-main[data-tooltip]:hover,
.recipe-ingredients-section .ingredient-main[data-tooltip]:focus-visible {
  background: rgba(247, 248, 245, 0.72);
}

.ingredient-shopping-context-menu {
  position: fixed;
  z-index: 3200;
  max-width: min(300px, calc(100vw - 24px));
  border: 1px solid rgba(16, 44, 45, 0.2);
  border-radius: 10px;
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 12px 30px rgba(8, 18, 14, 0.28);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translateY(3px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.ingredient-shopping-context-menu[hidden] {
  display: none;
}

.ingredient-shopping-context-menu.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ingredient-shopping-context-menu button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  padding: 9px 12px;
  text-align: left;
  white-space: normal;
  width: 100%;
}

.ingredient-shopping-context-menu button:first-child {
  border-radius: 10px 10px 0 0;
}

.ingredient-shopping-context-menu button:last-child {
  border-radius: 0 0 10px 10px;
}

.ingredient-shopping-context-menu button:only-child {
  border-radius: inherit;
}

.ingredient-shopping-context-menu button + button {
  border-top: 1px solid rgba(16, 44, 45, 0.12);
}

.ingredient-shopping-context-menu button:hover,
.ingredient-shopping-context-menu button:focus-visible {
  background: #eef7ef;
  outline: 0;
}

.ingredient-shopping-context-menu svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.ingredient-shopping-context-menu.is-confirmation {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(16, 44, 45, 0.96);
  color: #fff;
  padding: 9px 11px;
  pointer-events: none;
}
.recipe-ingredients-section .check-mark {
  align-self: start;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(16, 44, 45, 0.22);
  border-radius: 50%;
  background: #fff;
  margin-top: 1px;
}
.recipe-ingredients-section .check-mark::before {
  width: 8px;
  height: 5px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  content: "";
  transform: rotate(-45deg) translate(1px, -1px);
}
.recipe-ingredients-section .ingredient-card.checked .check-mark {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
}
.recipe-ingredients-section .ingredient-card.checked .ingredient-copy {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.recipe-ingredients-section .ingredient-card.is-alternative-ingredient:not(.checked) .ingredient-copy,
.recipe-ingredients-section .ingredient-card.is-alternative-ingredient:not(.checked) .ingredient-copy strong,
.recipe-ingredients-section .ingredient-card.is-alternative-ingredient:not(.checked) .ingredient-measurement,
.recipe-ingredients-section .ingredient-card.is-alternative-ingredient:not(.checked) .ingredient-prep-note {
  color: #cd5f16;
}
.recipe-ingredients-section .ingredient-card.is-removed-alternative-ingredient,
.recipe-ingredients-section .ingredient-card.is-removed-alternative-ingredient .ingredient-main,
.recipe-ingredients-section .ingredient-card.is-removed-alternative-ingredient .ingredient-copy,
.recipe-ingredients-section .ingredient-card.is-removed-alternative-ingredient .ingredient-copy strong,
.recipe-ingredients-section .ingredient-card.is-removed-alternative-ingredient .ingredient-measurement,
.recipe-ingredients-section .ingredient-card.is-removed-alternative-ingredient .ingredient-prep-note {
  color: #8b948e;
  font-style: italic;
}
.recipe-ingredients-section .ingredient-card.is-removed-alternative-ingredient .ingredient-main {
  cursor: help;
  opacity: 1;
}
.recipe-ingredients-section .ingredient-card.is-removed-alternative-ingredient .check-mark {
  border-color: #aab1ad;
  background: #eef0ee;
}
.recipe-ingredients-section .ingredient-card.is-removed-alternative-ingredient .check-mark::before {
  display: none;
}
.recipe-ingredients-section .ingredient-card.is-removed-alternative-ingredient .optional-ingredient-icon {
  background: #e3e6e4;
  color: #8b948e;
}
.print-check-row.is-removed-alternative-ingredient {
  color: #777;
  font-style: italic;
}
.ingredient-recipe-link,
.suggestion-recipe-link {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(15, 111, 92, 0.22);
  border-radius: 999px;
  background: rgba(234, 245, 240, 0.88);
  color: var(--brand-dark);
  margin-left: 6px;
  vertical-align: -4px;
}
.ingredient-mobile-menu-button {
  display: none;
}
.ingredient-recipe-link {
  appearance: none;
  cursor: pointer;
  flex: 0 0 auto;
  margin-left: 0;
  padding: 0;
}
.ingredient-recipe-link svg,
.suggestion-recipe-link svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}
.ingredient-recipe-link:hover,
.ingredient-recipe-link:focus-visible,
.suggestion-card.has-linked-recipe:hover .suggestion-recipe-link,
.suggestion-card.has-linked-recipe:focus-visible .suggestion-recipe-link {
  border-color: rgba(15, 111, 92, 0.42);
  background: var(--brand);
  color: #fff;
  outline: 0;
}
.recipe-ingredients-section .ingredient-card img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  object-fit: contain;
  padding: 2px;
  box-sizing: border-box;
}
.recipe-ingredients-section .ingredient-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: baseline;
  min-width: 0;
  width: 100%;
}
.recipe-ingredients-section .ingredient-primary-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: baseline;
  gap: 0 5px;
  min-width: 0;
}
.recipe-ingredients-section .ingredient-primary-line.has-measurement {
  grid-template-columns: max-content minmax(0, 1fr);
}
.recipe-ingredients-section .ingredient-name {
  min-width: 0;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}
.recipe-ingredients-section .ingredient-alternative-marker {
  margin-left: 2px;
}
.recipe-ingredients-section .ingredient-prep-note {
  color: #66756e;
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
  justify-self: end;
  line-height: 1.12;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}
.optional-ingredient-icon {
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  align-self: center;
  margin-left: 6px;
  border-radius: 50%;
  background: #ff953a;
  color: #e74536;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
}
.recipe-ingredients-section .ingredient-tooltip {
  display: none;
  position: absolute;
  z-index: 80;
  left: 0;
  top: calc(100% + 8px);
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: min(280px, 34vw);
  border: 1px solid rgba(16, 44, 45, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(24, 32, 29, 0.18);
  opacity: 0;
  padding: 8px;
  pointer-events: none;
  text-align: left;
  transform: translateY(-4px);
  transition: opacity 0.12s ease, transform 0.12s ease;
}
.recipe-ingredients-section .ingredient-tooltip img {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  object-fit: contain;
  background: #f7f8f5;
  padding: 4px;
  box-sizing: border-box;
}
.recipe-ingredients-section .ingredient-tooltip span {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.recipe-ingredients-section .ingredient-tooltip strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.1;
}
.recipe-ingredients-section .ingredient-tooltip small {
  display: -webkit-box;
  overflow: hidden;
  color: #51615a;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.recipe-ingredients-section .ingredient-main:hover .ingredient-tooltip,
.recipe-ingredients-section .ingredient-main:focus-visible .ingredient-tooltip {
  opacity: 0;
  transform: translateY(0);
}
.recipe-ingredients-section .ingredient-main.tooltip-above .ingredient-tooltip {
  top: auto;
  bottom: calc(100% + 8px);
  transform: translateY(4px);
}
.recipe-ingredients-section .ingredient-main.tooltip-above:hover .ingredient-tooltip,
.recipe-ingredients-section .ingredient-main.tooltip-above:focus-visible .ingredient-tooltip {
  transform: translateY(0);
}
.recipe-ingredients-section .ingredient-note {
  display: none;
}

.recipe-cook-section .direction-list li {
  align-items: center;
}
.recipe-cook-section .direction-number {
  transition: background 0.14s ease, color 0.14s ease;
}
.recipe-cook-section .direction-row {
  appearance: none;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  padding: 2px 4px;
  text-align: left;
}
.recipe-cook-section .direction-check-button {
  appearance: none;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0;
}
.recipe-cook-section .direction-row:hover,
.recipe-cook-section .direction-row:focus-within {
  background: rgba(247, 248, 245, 0.8);
  outline: 0;
}
.recipe-cook-section .direction-list li.checked .direction-number {
  background: var(--brand-dark);
  color: #fff;
  font-size: 0;
}
.recipe-cook-section .direction-list li.checked .direction-number::before {
  content: "\2713";
  font-size: 14px;
  padding-top: 3px;
}
.recipe-cook-section .direction-list li.checked .direction-text {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.recipe-cook-section .direction-list li.checked .direction-time {
  border-color: rgba(82, 97, 89, 0.24);
  background: rgba(82, 97, 89, 0.08);
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.direction-fraction {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.direction-fraction-whole {
  margin-right: 1px;
}
.direction-fraction-glyph {
  font-size: 0.96em;
  font-weight: 850;
  line-height: 1;
}
.direction-fraction-part {
  display: inline-flex;
  align-items: baseline;
  color: inherit;
  font-size: 0.9em;
  font-weight: 850;
  line-height: 1;
  transform: translateY(0.02em);
}
.direction-fraction-part sup,
.direction-fraction-part sub {
  font-size: 0.68em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
.direction-fraction-part sup {
  top: -0.42em;
}
.direction-fraction-part sub {
  bottom: -0.12em;
}
.direction-fraction-slash {
  margin: 0 -1px;
  opacity: 0.82;
}
.direction-time {
  display: inline-flex;
  align-items: baseline;
  border: 1px solid rgba(15, 111, 92, 0.2);
  border-radius: 999px;
  background: rgba(15, 111, 92, 0.08);
  color: var(--brand-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  line-height: 1;
  padding: 1px 6px 2px;
  vertical-align: baseline;
}
.direction-time-cluster {
  white-space: nowrap;
}
.direction-time:hover,
.direction-time:focus-visible {
  border-color: rgba(15, 111, 92, 0.36);
  background: rgba(15, 111, 92, 0.14);
  outline: 0;
}


/* Cooking canonical overrides: keep this last so parallel edits do not fight. */
#detailDrawer {
  width: min(100vw, clamp(900px, 60.48vw, 1000px));
  background: linear-gradient(180deg, #ffffff 0, #ffffff 360px, #fbfcfa 100%);
  border-radius: 8px;
}
#detailDrawer.is-loading-recipe {
  top: 50%;
  bottom: auto;
  width: min(760px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  overflow: visible;
  background: #fff;
  transform: translateX(-50%) translateY(-50%) scale(0.985);
}
#detailDrawer.is-loading-recipe.open {
  transform: translateX(-50%) translateY(-50%) scale(1);
}
#detailDrawer > .close-button {
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-color: rgba(16, 44, 45, 0.12);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(24, 32, 29, 0.08);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}
#detailDrawer > .close-button:hover,
#detailDrawer > .close-button:focus-visible {
  border-color: rgba(16, 44, 45, 0.22);
  background: #fff;
  box-shadow: 0 0 0 3px var(--theme-soft), 0 8px 22px rgba(24, 32, 29, 0.1);
}
.recipe-drawer-inner {
  gap: 20px;
  padding-top: var(--drawer-content-inset);
}
.recipe-loading-drawer {
  min-height: 0;
  padding: 22px;
  place-items: center;
}
.recipe-loading-card {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  width: min(720px, 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(24, 32, 29, 0.12);
  padding: 18px;
}
.recipe-loading-image {
  overflow: hidden;
  border: 1px solid rgba(16, 44, 45, 0.12);
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  background: #f7f8f5;
}
.recipe-loading-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recipe-loading-copy {
  display: grid;
  gap: 10px;
}
.recipe-loading-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.recipe-loading-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 0.95;
}
.recipe-loading-copy .grid-loading {
  justify-self: start;
  gap: 8px;
}
.recipe-loading-copy .grid-loading-brand {
  display: none;
}
.recipe-drawer-hero {
  grid-template-columns: minmax(300px, 378px) minmax(0, 1fr);
  align-items: start;
  column-gap: 26px;
}
.recipe-hero-gallery {
  gap: 8px;
}
.pinned-image-actions {
  display: none;
}
.pinned-drawer .pinned-image-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: stretch;
  gap: 8px;
  border-bottom: 1px solid rgba(16, 44, 45, 0.12);
  padding-bottom: 20px;
}
.pinned-drawer .pinned-image-actions .spice-control,
.pinned-drawer .pinned-image-actions .sweetness-control,
.pinned-drawer .pinned-image-actions .flavor-modification-control,
.pinned-drawer .pinned-image-actions .diet-control {
  display: grid;
  align-content: start;
  justify-items: center;
  height: auto;
  min-height: 0;
  padding: 7px 9px;
  text-align: center;
}
.pinned-drawer .pinned-image-actions > .recipe-control:only-child {
  grid-column: 1 / -1;
}
.pinned-drawer .pinned-image-actions .recipe-control > span {
  font-size: 10px;
  line-height: 1;
}
.pinned-drawer .pinned-image-actions .serving-stepper {
  justify-self: stretch;
  gap: 5px;
  margin-top: 8px;
}
.pinned-drawer .pinned-image-actions .serving-stepper strong {
  min-width: 18px;
  font-size: 21px;
}
.pinned-drawer .pinned-image-actions .serving-stepper button {
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 0;
}
.pinned-drawer .pinned-image-actions .spice-slider {
  grid-template-columns: minmax(0, 1fr) auto;
  justify-self: stretch;
  justify-items: stretch;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}
.pinned-drawer .pinned-image-actions .spice-slider input[type="range"] {
  height: 10px;
}
.pinned-drawer .pinned-image-actions .spice-slider-labels small {
  font-size: 9px;
  line-height: 1;
}
.pinned-drawer .pinned-image-actions .spice-slider .spice-flame {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  width: 15px;
  height: 15px;
}
.pinned-drawer .pinned-image-actions .diet-toggles {
  justify-content: center;
  gap: 5px;
  margin-top: 6px;
}
.pinned-drawer .pinned-image-actions .diet-toggle {
  min-height: 24px;
  padding: 0 8px;
  font-size: 12px;
}
.recipe-drawer-hero .gallery-wrap,
.recipe-drawer-hero .gallery {
  aspect-ratio: 4 / 3;
  min-height: 0;
}
.pinned-drawer .recipe-drawer-inner:not(.is-custom-recipe) .recipe-drawer-hero .gallery-wrap,
.pinned-drawer .recipe-drawer-inner:not(.is-custom-recipe) .recipe-drawer-hero .gallery {
  aspect-ratio: 1 / 1;
}
.recipe-drawer-inner.is-custom-recipe .recipe-drawer-hero .gallery-wrap,
.recipe-drawer-inner.is-custom-recipe .recipe-drawer-hero .gallery {
  aspect-ratio: 1 / 1;
}
.recipe-drawer-hero .gallery {
  overflow: hidden;
  border-radius: 8px;
  background: #f7f8f5;
  box-shadow: 0 10px 26px rgba(24, 32, 29, 0.08);
}
.recipe-drawer-hero .gallery img {
  height: 100%;
  object-fit: cover;
}
.holiday-drawer-inner {
  gap: 18px;
}
.holiday-drawer-hero {
  display: grid;
  grid-template-columns: minmax(220px, 0.74fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 32px);
}
.holiday-drawer-image {
  overflow: hidden;
  border: 1px solid rgba(16, 44, 45, 0.12);
  border-radius: 8px;
  background: #fff8ea;
  box-shadow: 0 12px 28px rgba(24, 32, 29, 0.1);
}
.holiday-drawer-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.holiday-drawer-title {
  align-content: center;
  min-width: 0;
}
.holiday-drawer-title .drawer-price-row h2 {
  max-width: none;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 0.98;
}
.holiday-drawer-title .holiday-meta-row {
  display: block;
  margin-top: 12px;
}
.holiday-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  min-width: 0;
}
.holiday-date-text,
.holiday-meta-line .holiday-country {
  color: #20302a;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.25;
}
.holiday-meta-line .holiday-country {
  max-width: 100%;
}
.holiday-type-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid rgba(15, 111, 92, 0.18);
  border-radius: 999px;
  background: #eaf5f0;
  color: var(--brand-dark);
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
}
.holiday-drawer-about {
  max-width: 64ch;
  color: #34413b;
  font-size: clamp(15px, 1.7vw, 18px);
  font-weight: 620;
  line-height: 1.48;
}
.holiday-detail-section {
  display: grid;
  gap: 8px;
}
.holiday-detail-section p {
  margin: 0;
  color: #34413b;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.58;
}
.holiday-dish-list {
  display: grid;
  gap: 12px;
}

.holiday-linked-dish-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.holiday-dish-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.holiday-dish-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(231, 69, 54, 0.20);
  border-radius: 999px;
  background: rgba(255, 244, 232, 0.88);
  color: #793229;
  font-size: 12px;
  font-weight: 850;
  padding: 6px 10px;
}

.holiday-dish-recipe-card,
.holiday-card-dishes button {
  appearance: none;
  cursor: pointer;
  font: inherit;
}

.holiday-dish-recipe-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: stretch;
  min-height: 116px;
  border: 1px solid rgba(231, 69, 54, 0.20);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.94);
  color: #34413b;
  overflow: hidden;
  padding: 0;
  text-align: left;
}

.holiday-dish-recipe-card img {
  width: 112px;
  height: 100%;
  object-fit: cover;
}

.holiday-dish-recipe-copy {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
  padding: 12px 14px;
}

.holiday-dish-recipe-copy strong {
  color: #793229;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

.holiday-dish-recipe-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: #5e665f;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.holiday-dish-recipe-card:hover,
.holiday-dish-recipe-card:focus-visible,
.holiday-card-dishes button:hover,
.holiday-card-dishes button:focus-visible {
  border-color: rgba(231, 69, 54, 0.48);
  background: rgba(255, 232, 221, 0.96);
  color: #e74536;
  outline: none;
}
.holiday-card-dishes button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.holiday-dish-separator {
  margin: 0 4px;
}
.recipe-drawer-title {
  align-self: start;
  display: grid;
  align-content: start;
  min-height: 0;
  gap: 0;
  padding: 2px 0 0 0;
}
.recipe-drawer-title .drawer-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: start;
  gap: 12px;
  padding-right: 54px;
}
.recipe-drawer-title .drawer-price-row h2 {
  font-size: 36px;
  line-height: 0.98;
  letter-spacing: 0;
}
.recipe-drawer-title .drawer-title-actions .status,
.recipe-drawer-title .status {
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1;
}
.recipe-drawer-title .drawer-address-row {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 0;
}
.recipe-drawer-title .drawer-activity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  min-width: 0;
  width: 100%;
  margin-top: 0;
}
.recipe-drawer-title .drawer-activity > :first-child {
  grid-column: 1;
  justify-self: start;
}
.recipe-drawer-title .drawer-activity > .drawer-save-actions {
  grid-column: 2;
}
.recipe-drawer-title .drawer-address {
  gap: 8px;
  padding-top: 12px;
}
.recipe-drawer-title .drawer-address span {
  color: #2f3b36;
  font-size: 16px;
  line-height: 1.25;
}
.recipe-drawer-title .drawer-address .cuisine-label {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.recipe-drawer-title .drawer-address .cuisine-label span {
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}
.recipe-drawer-title .drawer-address .recipe-byline {
  align-items: center;
  line-height: 1;
  white-space: nowrap;
}
.recipe-drawer-title .drawer-address .recipe-byline span {
  white-space: nowrap;
}
.recipe-drawer-title .drawer-address .drawer-recipe-stats {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 5px;
  color: #27332e;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}
.recipe-drawer-title .drawer-address .drawer-social-stats {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  color: #27332e;
  line-height: 1.15;
  max-width: 100%;
  overflow: visible;
  white-space: nowrap;
}
.recipe-drawer-title .drawer-address .drawer-recipe-stats .rating-inline,
.recipe-drawer-title .drawer-address .drawer-social-stats .rating-inline,
.recipe-drawer-title .drawer-address .drawer-recipe-stats .favorite-count,
.recipe-drawer-title .drawer-address .drawer-social-stats .favorite-count {
  flex: 0 0 max-content;
}
.favorite-count {
  display: inline-flex;
  align-items: center;
  flex: 0 0 max-content;
  flex-direction: row;
  gap: 7px;
  width: max-content;
  min-width: max-content;
  margin: -4px -6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  line-height: 1;
  padding: 4px 6px;
  white-space: nowrap;
  vertical-align: middle;
}
.favorite-count:hover {
  background: rgba(207, 52, 59, 0.08);
}
.favorite-count:focus-visible {
  background: rgba(207, 52, 59, 0.1);
  box-shadow: 0 0 0 3px rgba(207, 52, 59, 0.16);
  outline: 0;
}
.favorite-count:active {
  transform: translateY(1px);
}
.favorite-count-icon {
  flex: 0 0 auto;
  order: 0;
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--favorite-color);
  font-size: 18px;
  line-height: 1;
  transform: none;
}
.favorite-count-text {
  display: inline-block;
  flex: 0 0 auto;
  order: 1;
  white-space: nowrap;
}
.recipe-drawer-title .drawer-address .drawer-recipe-stats .favorite-count,
.recipe-drawer-title .drawer-address .drawer-social-stats .favorite-count {
  display: inline-flex;
  align-items: center;
  flex-flow: row nowrap;
  overflow: visible;
  white-space: nowrap;
  text-overflow: clip;
}
.recipe-drawer-title .drawer-address .drawer-recipe-stats .favorite-count-icon,
.recipe-drawer-title .drawer-address .drawer-social-stats .favorite-count-icon {
  display: inline-grid;
  place-items: center;
  overflow: visible;
  width: 20px;
  height: 20px;
  color: var(--favorite-color);
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
  text-overflow: clip;
}
.recipe-drawer-title .drawer-address .drawer-recipe-stats .favorite-count-text,
.recipe-drawer-title .drawer-address .drawer-social-stats .favorite-count-text {
  display: inline-block;
  overflow: visible;
  color: #27332e;
  font-size: inherit;
  line-height: 1;
  white-space: nowrap;
  text-overflow: clip;
}
.pinned-drawer .pinned-stats-actions .drawer-recipe-stats .favorite-count,
.pinned-drawer .pinned-stats-actions .drawer-social-stats .favorite-count {
  display: inline-flex;
  align-items: center;
  flex-flow: row nowrap;
}
.pinned-drawer .pinned-stats-actions .drawer-recipe-stats .favorite-count-icon,
.pinned-drawer .pinned-stats-actions .drawer-social-stats .favorite-count-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--favorite-color);
  font-size: 18px;
  line-height: 1;
}
.pinned-drawer .pinned-stats-actions .drawer-recipe-stats .favorite-count-text,
.pinned-drawer .pinned-stats-actions .drawer-social-stats .favorite-count-text {
  display: inline-block;
  color: #27332e;
  font-size: inherit;
  line-height: 1;
  white-space: nowrap;
}
.pinned-drawer .recipe-drawer-title {
  gap: 8px;
}
.pinned-drawer .recipe-drawer-hero {
  grid-template-columns: minmax(238px, 284px) minmax(0, 1fr);
  column-gap: 16px;
}
.recipe-drawer-hero .drawer-image-social-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 6px;
  color: #27332e;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.recipe-drawer-hero .drawer-image-social-stats .favorite-count {
  display: inline-flex;
  align-items: center;
}
.recipe-drawer-hero .drawer-image-social-stats .rating-chip.rating-count {
  gap: 7px;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
}
.recipe-drawer-hero .drawer-image-social-stats .rating-chip.rating-count .rating-chip-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #b66438;
  font-size: 18px;
  line-height: 1;
}
.recipe-drawer-hero .drawer-image-social-stats .rating-chip.rating-count strong,
.recipe-drawer-hero .drawer-image-social-stats .rating-chip.rating-count .rating-chip-count {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}
.pinned-drawer .recipe-drawer-title .drawer-price-row {
  grid-template-columns: 1fr;
  padding-right: 54px;
}
.pinned-drawer .recipe-drawer-title .drawer-address-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
.pinned-drawer .pinned-origin-line {
  display: flex;
  align-items: center;
  min-width: 0;
}
.pinned-drawer .pinned-origin-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
}
.pinned-drawer .pinned-byline-tail {
  color: #2f3b36;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.pinned-drawer .pinned-stats-actions {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.pinned-drawer .pinned-recipe-top-widgets {
  gap: 8px;
  margin-top: 0;
  padding: 8px;
}
.pinned-drawer .pinned-stats-actions .drawer-recipe-stats {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  color: #27332e;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.pinned-drawer .pinned-stats-actions .drawer-social-stats {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  color: #27332e;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.pinned-drawer .pinned-stats-actions .drawer-save-actions {
  display: grid;
  grid-template-columns: repeat(5, max-content);
  align-items: center;
  justify-content: end;
  gap: 8px;
}
.pinned-drawer .pinned-save-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  width: 100%;
}
.pinned-drawer .pinned-save-row > .status {
  flex: 0 0 auto;
}
.pinned-drawer .pinned-stats-actions .drawer-save-actions .drawer-share-wrap {
  grid-column: 1;
  grid-row: 1;
}
.pinned-drawer .pinned-stats-actions .drawer-save-actions .drawer-print-button {
  grid-column: 2;
  grid-row: 1;
}
.pinned-drawer .pinned-stats-actions .drawer-save-actions .drawer-favorite-button {
  grid-column: 3;
  grid-row: 1;
}
.pinned-drawer .pinned-stats-actions .drawer-save-actions .drawer-pin-button {
  grid-column: 4;
  grid-row: 1;
}
.pinned-drawer .pinned-stats-actions .drawer-save-actions .drawer-duplicate-pin-button {
  grid-column: 5;
  grid-row: 1;
  border-color: rgba(15, 111, 92, 0.34);
  background: #809995;
  color: #123;
}
.pinned-drawer .pinned-stats-actions .servings-control {
  display: grid;
  align-content: start;
  justify-items: center;
  min-height: 0;
  border-color: rgba(16, 44, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  padding: 7px 9px;
  text-align: center;
}
.pinned-drawer .pinned-serving-edit-row {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 8px;
}
.pinned-drawer .pinned-serving-edit-row .recipe-control {
  flex: 1 1 148px;
  display: grid;
  align-content: start;
  justify-items: center;
  min-height: 0;
  border-color: rgba(16, 44, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  padding: 7px 9px;
  text-align: center;
}
.pinned-drawer .pinned-serving-edit-row .servings-control {
  flex: 0 0 142px;
}
.pinned-drawer .pinned-serving-edit-row .spice-control {
  flex: 1.3 1 186px;
}
.pinned-drawer .pinned-serving-edit-row .sweetness-control {
  flex: 1 1 156px;
}
.pinned-drawer .pinned-serving-edit-row .diet-control {
  flex: 1 0 100%;
}
.pinned-drawer .pinned-serving-edit-row .diet-modification-control {
  flex: 1 0 100%;
}
.pinned-drawer .pinned-serving-edit-row .flavor-modification-control {
  flex: 1.3 1 186px;
}
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .pinned-serving-edit-row {
  display: grid;
  grid-template-columns: minmax(112px, 0.85fr) minmax(122px, 1fr);
  align-items: stretch;
  justify-items: stretch;
  gap: 10px;
}
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .pinned-serving-edit-row .diet-control {
  grid-column: 1 / -1;
}
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .pinned-serving-edit-row .diet-modification-control {
  grid-column: 1 / -1;
}
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .pinned-serving-edit-row > .custom-recipe-drawer-edit-action {
  grid-column: 1 / -1;
  justify-self: stretch;
  margin-top: 0;
  max-width: none;
  order: 50;
  width: 100%;
}
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .pinned-serving-edit-row .servings-control + .spice-control,
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .pinned-serving-edit-row .servings-control + .sweetness-control,
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .pinned-serving-edit-row .servings-control + .flavor-modification-control {
  grid-column: 2 / -1;
}
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .pinned-serving-edit-row .servings-control {
  flex-basis: auto;
  width: 100%;
  max-width: none;
}
.pinned-header-meta .pinned-stats-actions > .custom-recipe-drawer-edit-action {
  display: grid;
  grid-template-columns: minmax(180px, 420px) 58px;
  align-items: center;
  justify-content: start;
  justify-self: start;
  gap: 12px;
  border-top: 0;
  margin-top: 8px;
  max-width: min(520px, 100%);
  padding-top: 0;
  width: 100%;
}
.pinned-header-meta .pinned-stats-actions > .custom-recipe-drawer-edit-action.is-single-action {
  grid-template-columns: minmax(180px, 420px) 58px;
  justify-content: start;
}
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .custom-recipe-drawer-edit-action {
  display: grid;
  grid-template-columns: minmax(180px, 420px) 58px;
  align-items: center;
  justify-content: start;
  gap: 12px;
  border-top: 0;
  margin-top: 8px;
  max-width: min(520px, 100%);
  padding-top: 0;
  width: 100%;
}
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .custom-recipe-drawer-edit-action.is-single-action {
  grid-template-columns: minmax(180px, 420px) 58px;
  justify-content: start;
}
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .custom-recipe-drawer-edit-action.has-published-owner,
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .custom-recipe-drawer-edit-action.has-published-owner.is-single-action {
  grid-template-columns: minmax(160px, max-content) minmax(0, 1fr);
  justify-content: stretch;
}
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .custom-recipe-drawer-edit-action.has-published-owner.is-owner-only {
  grid-template-columns: 1fr;
}
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .custom-recipe-drawer-edit-button {
  flex: 1 1 auto;
  min-height: 34px;
  padding: 6px 12px;
}
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .custom-recipe-drawer-action-stack {
  min-width: 0;
}
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .custom-recipe-drawer-owner {
  gap: 3px;
  font-size: 9px;
}
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .custom-recipe-drawer-owner img {
  width: 58px;
  height: 58px;
}
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .custom-recipe-drawer-owner.is-published {
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 7px;
  max-width: 100%;
}
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .custom-recipe-drawer-owner.is-published .custom-recipe-drawer-owner-copy,
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .custom-recipe-drawer-owner.is-published small,
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .custom-recipe-drawer-owner.is-published .custom-recipe-drawer-owner-copy > span {
  max-width: 100%;
}
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .custom-recipe-drawer-owner small {
  max-width: 58px;
}
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .custom-recipe-drawer-owner.is-published small {
  max-width: 100%;
  font-size: 11px;
  line-height: 1.12;
}
.pinned-drawer .recipe-drawer-inner.is-custom-recipe .custom-recipe-drawer-owner:not(.is-published) > span {
  display: none;
}
.pinned-drawer .pinned-stats-actions .servings-control > span {
  font-size: 10px;
  line-height: 1;
}
.pinned-drawer .pinned-stats-actions .serving-stepper {
  justify-self: stretch;
  gap: 5px;
  margin-top: 8px;
}
.pinned-drawer .pinned-stats-actions .serving-stepper strong {
  min-width: 18px;
  font-size: 21px;
}
.pinned-drawer .pinned-stats-actions .serving-stepper button {
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 0;
}
.pinned-drawer .recipe-drawer-title .recipe-adjust-bar {
  margin-top: 2px;
}
.pinned-drawer .recipe-drawer-title .recipe-controls {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 8px;
}
.pinned-drawer .recipe-drawer-title .diet-control {
  grid-column: 1 / -1;
}
.pinned-drawer .recipe-drawer-title .servings-control,
.pinned-drawer .recipe-drawer-title .spice-control {
  height: auto;
  min-height: 58px;
  max-width: 400px;
}
@media (max-width: 779px) {
  .pinned-drawer .recipe-drawer-hero {
    grid-template-columns: 1fr;
  }
  .pinned-drawer .recipe-drawer-title {
    padding-right: 0px;
  }
  .pinned-drawer .recipe-drawer-title .drawer-price-row h2 {
    max-width: none;
    font-size: 38px;
  }
}
.recipe-drawer-title .drawer-recipe-stats .rating-inline {
  align-items: center;
}
.recipe-drawer-title .drawer-social-stats .rating-inline {
  align-items: center;
}
.recipe-drawer-title .drawer-save-actions {
  justify-content: end;
  gap: 6px;
}
.recipe-drawer-title .drawer-save-actions button,
.recipe-drawer-title .drawer-pin-button,
.recipe-drawer-title .drawer-print-button,
.recipe-drawer-title .drawer-favorite-button {
  height: 32px;
  width: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 999px;
  padding: 0;
  font-size: 12px;
  line-height: 1;
}
.recipe-drawer-title .drawer-save-actions button span {
  display: none;
}
.recipe-drawer-title .drawer-save-actions .share-menu button {
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 34px;
  border-radius: 6px;
  padding: 0 10px;
  text-align: left;
}
.recipe-drawer-title .drawer-save-actions svg,
.recipe-drawer-title .drawer-pin-button svg,
.recipe-drawer-title .drawer-print-button svg,
.recipe-drawer-title .drawer-favorite-button svg {
  width: 17px;
  height: 17px;
}
.recipe-edit-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.recipe-version-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid rgba(16, 44, 45, 0.14);
  border-radius: 8px;
  background: #fff;
}
.recipe-version-toggle button,
.recipe-edit-button,
.recipe-edit-reset-button,
.recipe-edit-save-button,
.recipe-edit-cancel-button {
  appearance: none;
  min-height: 0px;
  border: 1px solid rgba(16, 44, 45, 0.14);
  border-radius: 7px;
  background: #fff;
  color: var(--brand-dark);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 6px 12px;
}
.recipe-version-toggle button {
  min-width: 74px;
  border: 0;
  border-radius: 0;
}
.recipe-version-toggle button + button {
  border-left: 1px solid rgba(16, 44, 45, 0.1);
}
.recipe-version-toggle button[aria-pressed="true"],
.recipe-edit-button[aria-pressed="true"] {
  background: var(--pin-bg);
  color: var(--pin-color);
  box-shadow: inset 0 0 0 1px var(--pin-border);
}
.recipe-edit-button:hover,
.recipe-edit-button:focus-visible,
.recipe-edit-reset-button:hover,
.recipe-edit-reset-button:focus-visible,
.recipe-edit-save-button:hover,
.recipe-edit-save-button:focus-visible,
.recipe-edit-cancel-button:hover,
.recipe-edit-cancel-button:focus-visible,
.recipe-version-toggle button:hover,
.recipe-version-toggle button:focus-visible {
  background: var(--theme-soft);
  outline: 0;
}
.recipe-edit-reset-button {
  color: #8b4b42;
}
.recipe-edit-save-button {
  border-color: rgba(11, 93, 77, 0.5);
  background: #0f6f5c;
  color: #fff;
}
.recipe-edit-save-button:hover,
.recipe-edit-save-button:focus-visible {
  border-color: rgba(8, 74, 61, 0.58);
  background: #0b5d4d;
  color: #fff;
}
.recipe-edit-cancel-button {
  border-color: rgba(176, 43, 34, 0.36);
  background: rgba(255, 235, 231, 0.92);
  color: #98261f;
}
.recipe-edit-cancel-button:hover,
.recipe-edit-cancel-button:focus-visible {
  border-color: rgba(176, 43, 34, 0.5);
  background: rgba(255, 221, 215, 0.98);
  color: #741b16;
}
.recipe-inline-add-button {
  appearance: none;
  min-height: 30px;
  border: 1px solid rgba(15, 111, 92, 0.28);
  border-radius: 7px;
  background: #fff;
  color: var(--brand-dark);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  padding: 0 10px;
}
.recipe-inline-add-button:hover,
.recipe-inline-add-button:focus-visible {
  background: #c2e0cb;
  outline: 0;
}
.recipe-inline-add-icon-button {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  min-width: 0;
  width: 18px;
  height: 18px;
  min-height: 0;
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
  padding: 0 0 1px;
  background: #9bc7a8;
}
.recipe-inline-edit-list {
  display: grid;
  gap: 8px;
}
.recipe-inline-edit-row {
  position: relative;
}
.recipe-inline-ingredient-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 14px;
  align-items: start;
  width: 100%;
}
.recipe-inline-ingredient-section {
  margin: 0;
}
.recipe-inline-ingredient-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.recipe-inline-ingredient-section-head .ingredient-source-title {
  margin: 0;
}
.recipe-inline-category-group {
  display: grid;
  gap: 3px;
}
.recipe-inline-category-head {
  position: relative;
  display: inline-block;
  min-width: 0;
  width: max-content;
}
.recipe-inline-category-head h4 {
  margin: 0;
}
.recipe-inline-category-head .recipe-inline-add-icon-button {
  position: absolute;
  top: 50%;
  left: calc(100% + 6px);
  transform: translateY(-50%);
}
.recipe-inline-direction-section-head {
  display: inline-flex;
  align-items: center;
  justify-content: start;
  gap: 6px;
  min-width: 0;
}
.recipe-inline-direction-section-head .direction-source-title {
  margin: 0;
}
.recipe-inline-direction-add-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}
.recipe-section-action-row,
.recipe-direction-modification-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: start;
  gap: 8px;
  margin-top: 10px;
}
.recipe-crossed-reset-button {
  appearance: none;
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(176, 43, 34, 0.36);
  border-radius: 7px;
  background: rgba(255, 235, 231, 0.92);
  color: #98261f;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  padding: 6px 9px;
  white-space: nowrap;
}
.recipe-crossed-reset-button:hover,
.recipe-crossed-reset-button:focus-visible {
  border-color: rgba(176, 43, 34, 0.5);
  background: rgba(255, 221, 215, 0.98);
  color: #741b16;
  outline: 0;
}
.recipe-modification-toggle-button {
  border-color: rgba(193, 102, 35, 0.38);
  background: rgba(255, 239, 221, 0.94);
  color: #9a4f17;
}
.recipe-modification-toggle-button:hover,
.recipe-modification-toggle-button:focus-visible {
  border-color: rgba(193, 102, 35, 0.54);
  background: rgba(255, 226, 194, 0.98);
  color: #773b0f;
}
.recipe-modification-toggle-button[aria-pressed="true"] {
  border-color: rgba(177, 85, 20, 0.62);
  background: #cf6f1f;
  color: #fff;
}
.recipe-inline-ingredient-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.ingredient-category-list.recipe-inline-ingredient-list {
  gap: 0;
  grid-template-columns: none;
}
.recipe-inline-ingredient-row {
  align-items: center;
  gap: 0;
  grid-template-columns: minmax(0, 1fr);
  min-height: 35px;
  padding: 0;
}
.recipe-inline-direction-row {
  position: relative;
}
.recipe-inline-edit-row textarea {
  display: block;
  width: 100%;
  min-width: 0;
  resize: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.15;
  field-sizing: content;
  overflow: hidden;
  padding: 0;
}
.recipe-inline-ingredient-row textarea {
  min-height: calc(15px * 1.15);
}
.recipe-inline-direction-row textarea {
  min-height: calc(15px * 1.5);
}
.recipe-inline-edit-row textarea:focus {
  outline: 0;
}
.recipe-inline-edit-row:focus-within {
  box-shadow: none;
}
.recipe-inline-ingredient-main {
  cursor: text;
}
.recipe-ingredients-section .recipe-inline-ingredient-main {
  width: max-content;
  max-width: 100%;
}
.recipe-inline-ingredient-edit-wrap {
  display: block;
  font-size: 15px;
  line-height: 1.15;
  min-width: 0;
}
.recipe-inline-ingredient-row textarea:focus {
  box-shadow: inset 0 -2px 0 rgba(15, 111, 92, 0.35);
}
.recipe-inline-ingredient-row .ingredient-primary-line {
  display: inline-grid;
  grid-template-columns: minmax(0, max-content) 18px;
  align-items: center;
  width: max-content;
  max-width: 100%;
}
.recipe-inline-ingredient-row textarea {
  font-weight: 900;
}
.recipe-inline-ingredient-row .recipe-inline-remove-button {
  position: static;
  margin-left: 6px;
}
.recipe-inline-direction-main {
  grid-template-columns: 32px minmax(0, 1fr) 18px;
}
.recipe-inline-direction-edit-wrap {
  display: block;
  min-width: 0;
}
.recipe-inline-direction-row textarea {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}
.recipe-inline-direction-row textarea:focus {
  box-shadow: inset 0 -2px 0 rgba(15, 111, 92, 0.28);
}
.recipe-inline-remove-button {
  display: grid;
  place-items: center;
  align-self: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(139, 75, 66, 0.2);
  border-radius: 50%;
  background: #ec9393;
  color: #8b4b42;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  padding: 0;
  opacity: 0;
  transition: opacity 0.12s ease;
}
.recipe-inline-ingredient-row:hover .recipe-inline-remove-button,
.recipe-inline-ingredient-row:focus-within .recipe-inline-remove-button,
.recipe-inline-direction-row:hover .recipe-inline-remove-button,
.recipe-inline-direction-row:focus-within .recipe-inline-remove-button,
.recipe-inline-remove-button:focus-visible {
  opacity: 1;
}
.recipe-inline-remove-button:hover,
.recipe-inline-remove-button:focus-visible {
  border-color: rgba(139, 75, 66, 0.38);
  background: #fff4f1;
  outline: 0;
}
.custom-ingredient-card .ingredient-main {
  grid-template-columns: 22px minmax(0, 1fr);
}
.recipe-adjust-bar {
  border: 0;
  padding: 0;
}
.recipe-top-widgets {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  border-radius: 8px;
  background: #e1e6e6;
  padding: 12px;
}
.recipe-top-widgets .custom-recipe-drawer-edit-action {
  grid-column: 1 / -1;
  padding-top: 0;
}
.recipe-drawer-title .recipe-adjust-bar {
  margin-top: 0;
}
.recipe-adjust-bar .recipe-controls {
  display: grid;
  grid-template-columns: 132px minmax(190px, 1fr) 152px;
  align-items: start;
  gap: 10px;
}
.recipe-drawer-title .recipe-controls {
  grid-template-columns: minmax(0, 38.2fr) minmax(0, 61.8fr);
  gap: 8px;
}
.recipe-drawer-title .diet-control,
.recipe-drawer-title .diet-modification-control {
  grid-column: 1 / -1;
}
.recipe-adjust-bar .recipe-control {
  align-self: start;
  min-height: 96px;
  border-color: rgba(16, 44, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  padding: 12px;
}
.recipe-drawer-title .recipe-control {
  min-height: 0;
  padding: 8px 10px;
}
.recipe-drawer-title .servings-control,
.recipe-drawer-title .spice-control,
.recipe-drawer-title .sweetness-control,
.recipe-drawer-title .flavor-modification-control {
  height: 66px;
}
.recipe-drawer-title .servings-control {
  grid-template-rows: max-content minmax(0, 1fr);
}
.recipe-adjust-bar .recipe-control span {
  color: #5c6962;
  font-size: 11px;
  letter-spacing: 0;
}
.serving-stepper,
.spice-stepper {
  gap: 10px;
  margin-top: 16px;
}
.recipe-drawer-title .serving-stepper {
  align-self: center;
  gap: 6px;
  margin-top: 0;
}
.serving-stepper {
  justify-content: space-between;
}
.serving-stepper strong,
.spice-stepper strong {
  min-width: 28px;
  text-align: center;
  font-size: 27px;
  line-height: 1;
}
.recipe-drawer-title .serving-stepper strong {
  min-width: 22px;
  font-size: 24px;
}
.serving-stepper button,
.spice-stepper button {
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  border-radius: 999px;
}
.recipe-drawer-title .serving-stepper button {
  display: grid;
  place-items: center;
  width: 26px;
  min-width: 26px;
  height: 26px;
  min-height: 26px;
  line-height: 1;
  padding: 0;
}
.diet-toggles {
  gap: 7px;
  justify-content: center;
  margin-top: 8px;
}
.diet-toggle {
  min-height: 32px;
  border-radius: 999px;
  padding: 0 12px;
  font-size: 12px;
}
.spice-control {
  min-height: 134px;
}
.recipe-drawer-title .spice-control {
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 0;
}
.no-modification-control {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  color: #6a766f;
  text-align: center;
}
.no-modification-control p {
  margin: 0;
  color: #6a766f;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.15;
}
.recipe-drawer-title .no-modification-control,
.pinned-drawer .pinned-image-actions .no-modification-control {
  align-content: center;
  min-height: 64px;
}
.recipe-drawer-title .no-modification-control p,
.pinned-drawer .pinned-image-actions .no-modification-control p {
  font-size: 11px;
}
.spice-slider {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}
.recipe-drawer-title .spice-slider {
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
}
.spice-slider-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.spice-live-preview {
  min-height: 38px;
}
.spice-flame {
  width: 26px;
  height: 26px;
}
.recipe-drawer-title .spice-slider .spice-flame {
  justify-self: center;
  width: 16px;
  height: 16px;
}
.recipe-drawer-title .sweetness-slider .sweetness-cube {
  justify-self: center;
  width: 22px;
  height: 22px;
  margin-top: -5px;
}
.spice-slider input[type="range"] {
  height: 16px;
}
.recipe-drawer-title .spice-slider input[type="range"] {
  height: 12px;
}
.spice-slider-labels {
  gap: 6px;
}
.spice-slider-labels small {
  color: #5c6962;
  font-size: 9px;
}
.recipe-drawer-title .spice-slider-labels small {
  font-size: 8px;
  line-height: 1;
}
.pinned-drawer .pinned-image-actions .spice-slider {
  grid-template-columns: minmax(0, 1fr) auto;
  justify-self: stretch;
  justify-items: stretch;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.pinned-drawer .pinned-image-actions .spice-slider-main {
  width: 100%;
}
.pinned-drawer .pinned-image-actions .spice-slider input[type="range"] {
  height: 10px;
}
.pinned-drawer .pinned-image-actions .spice-slider-labels small {
  font-size: 9px;
  line-height: 1;
}
.pinned-drawer .pinned-image-actions .spice-slider .spice-flame {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  margin-top: 0;
  width: 15px;
  height: 15px;
}
.measure-control {
  align-content: start;
}
.measure-toggle {
  justify-self: start;
  appearance: none;
  min-height: 0;
  margin-top: 0;
  border: 1px solid rgba(42, 103, 191, 0.34);
  border-radius: 7px;
  background: rgba(232, 241, 255, 0.94);
  color: #194f9f;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  padding: 6px 9px;
  white-space: nowrap;
}
.measure-toggle:hover,
.measure-toggle:focus-visible {
  border-color: rgba(42, 103, 191, 0.52);
  background: rgba(216, 232, 255, 0.98);
  color: #123f82;
  outline: 0;
}
.measure-toggle[aria-pressed="true"] {
  border-color: rgba(25, 79, 159, 0.68);
  background: #2365bb;
  color: #fff;
}
.ingredient-unit-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid rgba(16, 44, 45, 0.14);
  border-radius: 7px;
  background: #fff;
}
.ingredient-unit-toggle button {
  min-width: 58px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-dark);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  padding: 6px 9px;
}
.ingredient-unit-toggle button + button {
  border-left: 1px solid rgba(16, 44, 45, 0.1);
}
.ingredient-unit-toggle button:hover,
.ingredient-unit-toggle button:focus-visible {
  background: var(--theme-soft);
  outline: 0;
}
.ingredient-unit-toggle button[aria-pressed="true"] {
  background: var(--pin-bg);
  color: var(--pin-color);
  box-shadow: inset 0 0 0 1px var(--pin-border);
}
.recipe-cook-section .section-heading {
  justify-content: space-between;
}
.recipe-ingredients-section .section-heading {
  justify-content: space-between;
}
.recipe-ingredients-section.collapsed .ingredient-preview-panel {
  display: none;
}
.recipe-cook-section .measure-toggle {
  justify-self: end;
}
.recipe-ingredients-section,
.recipe-description-section,
.recipe-cook-section,
.recipe-drawer-inner > .detail-section {
  gap: 12px;
  border-top: 1px solid rgba(16, 44, 45, 0.12);
  padding-top: 20px;
}
.recipe-ingredients-section {
  gap: 6px;
}
.recipe-drawer-inner > .recipe-description-section {
  border-top: 0;
  padding-top: 0;
}
.recipe-drawer-inner .detail-section h3 {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.12;
}
.recipe-description-copy {
  display: grid;
  gap: 8px;
}
.recipe-description-copy p {
  margin: 0;
  color: #34413b;
  line-height: 1.55;
  white-space: pre-line;
}
.recipe-trivia-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(126, 91, 28, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  padding: clamp(16px, 3vw, 22px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}
.recipe-drawer-inner > .recipe-trivia-section {
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(168, 119, 36, 0.24);
  border-radius: 10px;
  background: linear-gradient(135deg, #f7edd7 0%, #f2e4c5 100%);
  padding-top: 0;
  box-shadow: 0 8px 22px rgba(91, 65, 20, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.68);
}
.recipe-trivia-section .section-heading {
  padding: 18px 20px;
}
.recipe-trivia-section .recipe-section-body {
  border-top: 1px solid rgba(168, 119, 36, 0.17);
  padding: 12px;
}
.recipe-trivia-section .section-heading {
  display: block;
}
.recipe-trivia-section .recipe-section-toggle {
  width: 100%;
  justify-content: space-between;
  gap: 20px;
  padding: 2px 0;
}
.recipe-trivia-section .recipe-section-toggle-icon,
.recipe-trivia-section .recipe-section-toggle[aria-expanded="false"] .recipe-section-toggle-icon {
  display: block;
  width: 9px;
  height: 9px;
  margin: 0 4px 0 auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: 0.44;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: opacity 140ms ease, transform 180ms ease;
}
.recipe-trivia-section .recipe-section-toggle-icon::before,
.recipe-trivia-section .recipe-section-toggle-icon::after {
  display: none;
}
.recipe-trivia-section .recipe-section-toggle[aria-expanded="true"] .recipe-section-toggle-icon {
  transform: rotate(225deg) translate(-1px, -1px);
}
.recipe-trivia-section .recipe-section-toggle:hover .recipe-section-toggle-icon,
.recipe-trivia-section .recipe-section-toggle:focus-visible .recipe-section-toggle-icon {
  opacity: 0.78;
}
.recipe-trivia-progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #68736d;
  font-size: 12px;
  font-weight: 800;
}
.recipe-trivia-progress-copy strong {
  color: var(--brand-dark);
}
.recipe-trivia-progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16, 44, 45, 0.1);
}
.recipe-trivia-progress > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #d5a857);
  transition: width 280ms ease;
}
.recipe-trivia-question {
  display: grid;
  gap: 6px;
}
.recipe-trivia-question h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(16px, 2.4vw, 16px);
  line-height: 1.3;
}
.recipe-trivia-answer-form {
  display: grid;
  gap: 7px;
}
.recipe-trivia-answer-form > label {
  color: #59665f;
  font-size: 12px;
  font-weight: 900;
}
.recipe-trivia-answer-entry {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  align-items: center;
  gap: 8px;
}
.recipe-trivia-answer-entry input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 1px solid rgba(16, 44, 45, 0.2);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 8px 11px;
  font: inherit;
}
.recipe-trivia-answer-entry input:focus {
  border-color: var(--brand);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(15, 111, 92, 0.12);
}
.recipe-trivia-feedback {
  min-height: 18px;
  margin: 0;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
}
.recipe-trivia-feedback.is-incorrect {
  color: #9b3c32;
}
.recipe-trivia-hint,
.recipe-trivia-answer,
.recipe-trivia-completion {
  display: grid;
  gap: 5px;
  border-radius: 7px;
  padding: 12px 14px;
}
.recipe-trivia-hint {
  border-left: 3px solid #d5a857;
  background: rgba(255, 246, 220, 0.78);
}
.recipe-trivia-answer {
  border-left: 3px solid var(--brand);
  background: rgba(226, 243, 235, 0.78);
}
.recipe-trivia-completion {
  border: 1px solid rgba(213, 168, 87, 0.34);
  background: rgba(255, 244, 210, 0.72);
  color: var(--brand-dark);
}
.recipe-trivia-hint p,
.recipe-trivia-answer p {
  margin: 0;
  color: #34413b;
  line-height: 1.5;
}
.recipe-trivia-answer p:first-of-type {
  color: var(--ink);
  font-weight: 900;
}
.recipe-trivia-actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px;
}
@media (max-width: 620px) {
  .recipe-trivia-answer-entry {
    grid-template-columns: 1fr;
  }
  .recipe-trivia-answer-entry .recipe-trivia-actions {
    justify-content: stretch;
  }
  .recipe-trivia-answer-entry .recipe-trivia-button {
    flex: 1 1 auto;
  }
}
.recipe-trivia-button {
  min-height: 38px;
  border: 1px solid var(--brand);
  border-radius: 7px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}
.recipe-trivia-button.is-secondary {
  background: #fff;
  color: var(--brand-dark);
}
.recipe-trivia-button:hover,
.recipe-trivia-button:focus-visible {
  background: var(--brand-dark);
  color: #fff;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(15, 111, 92, 0.12);
}
.recipe-drawer-inner .recipe-hero-gallery > .gallery-wrap .gallery > img {
  transition: opacity 700ms ease, filter 700ms ease;
}
.recipe-drawer-inner.is-trivia-complete .recipe-hero-gallery > .gallery-wrap .gallery > img,
.card.is-trivia-complete .gallery > img,
.pinned-tray-item.is-trivia-complete .pinned-tray-thumb img,
.shopping-list-pinned-recipe.is-trivia-complete img {
  filter: saturate(1.2);
}
@keyframes recipeTriviaAnsweredSpotlight {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.68);
  }
  42% {
    opacity: 0.72;
    transform: scale(1.18);
  }
  68% {
    opacity: 0.12;
    transform: scale(1.42);
  }
}
.recipe-drawer-inner.is-trivia-complete .recipe-hero-gallery > .gallery-wrap .gallery::before,
.card.is-trivia-complete .gallery::before,
.pinned-tray-item.is-trivia-complete .pinned-tray-thumb::before,
.shopping-list-pinned-recipe.is-trivia-complete .shopping-list-pinned-recipe-image::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle at 50% 50%, rgb(242 195 74 / 18%) 10%, rgba(213, 168, 87, 0.32) 60%, rgba(192, 132, 31, 0) 70%);
  animation: recipeTriviaAnsweredSpotlight 3s ease-in-out infinite;
  transform-origin: center;
}
.recipe-drawer-inner.is-trivia-complete .recipe-trivia-section {
  border-color: rgba(40, 122, 83, 0.34);
  background: linear-gradient(135deg, #e1f2e8 0%, #cde7d8 100%);
  box-shadow: 0 8px 22px rgba(28, 91, 61, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}
.recipe-drawer-inner.is-trivia-complete .recipe-trivia-section .recipe-section-body {
  border-top-color: rgba(40, 122, 83, 0.18);
}
.recipe-drawer-inner.is-trivia-complete .recipe-trivia-card {
  border-color: rgba(40, 122, 83, 0.14);
  background: rgba(250, 255, 252, 0.78);
}
@keyframes recipeTriviaCardComplete {
  0% {
    box-shadow: 0 8px 22px rgba(91, 65, 20, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.68);
    transform: translateY(0) scale(1);
  }
  42% {
    border-color: rgba(192, 132, 31, 0.58);
    box-shadow: 0 0 0 5px rgba(213, 168, 87, 0.18), 0 16px 32px rgba(91, 65, 20, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.82);
    transform: translateY(-2px) scale(1.004);
  }
  100% {
    box-shadow: 0 8px 22px rgba(91, 65, 20, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.68);
    transform: translateY(0) scale(1);
  }
}
@keyframes recipeTriviaProgressComplete {
  0%, 100% {
    filter: brightness(1);
  }
  45% {
    filter: brightness(1.3) saturate(1.2);
    box-shadow: 0 0 12px rgba(213, 168, 87, 0.65);
  }
}
@keyframes recipeTriviaMessageComplete {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.recipe-drawer-inner.is-trivia-just-completed .recipe-trivia-section {
  animation: recipeTriviaCardComplete 1100ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.recipe-drawer-inner.is-trivia-just-completed .recipe-trivia-progress > span {
  animation: recipeTriviaProgressComplete 900ms ease-out;
}
.recipe-drawer-inner.is-trivia-just-completed .recipe-trivia-completion {
  animation: recipeTriviaMessageComplete 420ms ease-out both;
}
@media (prefers-reduced-motion: reduce) {
  .recipe-trivia-progress > span,
  .recipe-drawer-inner .recipe-hero-gallery > .gallery-wrap .gallery > img {
    transition: none;
  }
  .recipe-drawer-inner.is-trivia-just-completed .recipe-trivia-section,
  .recipe-drawer-inner.is-trivia-just-completed .recipe-trivia-progress > span,
  .recipe-drawer-inner.is-trivia-just-completed .recipe-trivia-completion {
    animation: none;
  }
  .recipe-drawer-inner.is-trivia-complete .recipe-hero-gallery > .gallery-wrap .gallery::before,
  .card.is-trivia-complete .gallery::before,
  .pinned-tray-item.is-trivia-complete .pinned-tray-thumb::before,
  .shopping-list-pinned-recipe.is-trivia-complete .shopping-list-pinned-recipe-image::before {
    opacity: 0.12;
    animation: none;
    transform: scale(1);
  }
}
.recipe-ingredients-section .ingredient-grid,
.suggestion-grid {
  gap: 4px 22px;
}
.recipe-drawer-inner .suggestion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 10px 14px;
}
.recipe-drawer-inner .suggestion-card {
  grid-template-columns: 64px minmax(0, 1fr) auto;
  min-width: 0;
}
.recipe-drawer-inner .suggestion-card img {
  width: 64px;
  height: 64px;
}
.recipe-drawer-inner button.suggestion-card {
  width: 100%;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.recipe-drawer-inner .suggestion-card.has-linked-recipe {
  grid-template-columns: 64px minmax(0, 1fr);
}
.recipe-drawer-inner .suggestion-card.has-linked-recipe:hover,
.recipe-drawer-inner .suggestion-card.has-linked-recipe:focus-visible {
  background: rgba(234, 245, 240, 0.72);
  outline: 0;
}
.tool-role-list {
  display: grid;
  gap: 16px;
}
.tool-role-group {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.tool-role-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #41534d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.tool-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 8px;
  background: #f7faf5;
  padding: 8px;
}
.tool-card[data-tool-role="specialty"] {
  border-color: rgba(190, 161, 104, 0.78);
  background: #fbf8ef;
}
.tool-card[data-tool-alternative="true"] {
  border-color: rgba(72, 129, 204, 0.72);
  background: #eef5ff;
}
.tool-card[data-tool-disabled="true"] {
  border-color: rgba(139, 151, 145, 0.5);
  background: #eef1ef;
  filter: grayscale(0.8);
  opacity: 0.46;
}
.tool-card[data-tool-disabled="true"] .tool-copy strong,
.tool-card[data-tool-disabled="true"] .tool-copy span {
  color: #58635f;
}
.tool-card[data-tool-either-or="true"] {
  grid-column: span 2;
}
.tool-card-either-or {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  padding: 8px;
}
.tool-card-option {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0;
}
.tool-card-or-divider {
  align-self: stretch;
  color: #426a9d;
  display: grid;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  place-items: center;
  position: relative;
}
.tool-card-or-divider::before,
.tool-card-or-divider::after {
  content: "";
  display: block;
  width: 1px;
  background: rgba(72, 129, 204, 0.28);
}
.tool-card-or-divider::before {
  align-self: stretch;
  margin-bottom: 5px;
}
.tool-card-or-divider::after {
  align-self: stretch;
  margin-top: 5px;
}
.tool-card[data-tool-role="consumable"] {
  background: #f9f8f3;
}
.tool-card img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: #fffaf0;
  object-fit: contain;
}
.recipe-drawer-inner .tool-card:not(:has(> img, > .tool-card-image-stack, > .tool-card-option)),
.pinned-drawer .tool-card:not(:has(> img, > .tool-card-image-stack, > .tool-card-option)) {
  grid-template-columns: minmax(0, 1fr);
}
.tool-card-image-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  width: 58px;
}
.tool-card-image-stack img {
  width: 27px;
  height: 58px;
  border-radius: 6px;
}
.tool-card-option img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: #fffaf0;
  object-fit: contain;
}
.tool-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.tool-copy strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
}
.tool-copy span {
  color: #64746e;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.25;
}
.tool-card-affiliate {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}
.tool-card-affiliate:hover,
.tool-card-affiliate:focus-visible {
  border-color: rgba(197, 108, 36, 0.56);
  background: #fffaf2;
  box-shadow: 0 4px 14px rgba(95, 55, 24, 0.09);
  outline: 0;
}
.amazon-affiliate-disclosure {
  margin: 10px 0 0;
  color: #66736e;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.4;
}
.tool-listing-affiliate-disclosure {
  grid-column: 1 / -1;
  margin: 0;
}
.gear-modal-inner {
  display: grid;
  gap: 24px;
  padding: clamp(28px, 4vw, 54px);
}
.gear-header {
  display: grid;
  gap: 8px 28px;
  padding-right: 34px;
}
.gear-header h1 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.gear-header > p:not(.about-eyebrow) {
  max-width: none;
  margin: 4px 0 0;
  color: #5f6f69;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
}
.gear-affiliate-disclosure {
  margin: 0;
  color: #55645e;
  font-size: 12px;
  font-weight: 750;
}
.gear-footer {
  border-top: 1px solid #d8e1d8;
  padding: 16px 2px 2px;
}
.gear-controls-sticky {
  position: sticky;
  z-index: 3;
  top: 0;
  display: grid;
  gap: 8px;
  margin-inline: -10px;
  border: 1px solid rgba(205, 217, 207, 0.92);
  border-radius: 20px;
  background: rgba(251, 252, 249, 0.96);
  box-shadow: 0 12px 32px rgba(31, 48, 40, 0.12);
  padding: 10px;
  backdrop-filter: blur(14px);
}
.gear-search-row {
  display: block;
}
.gear-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: min(420px, 60vw);
}
.gear-search > .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.gear-search input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ccd8ce;
  border-radius: 999px;
  background: #fff;
  padding: 0 46px 0 18px;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}
.gear-search input:focus {
  border-color: #839b8b;
  box-shadow: 0 0 0 3px rgba(102, 132, 112, 0.14);
  outline: 0;
}
.gear-search > span:last-child {
  position: absolute;
  right: 18px;
  color: #6b7c75;
  font-size: 22px;
  pointer-events: none;
}
.gear-section-nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  border-top: 1px solid rgba(205, 217, 207, 0.82);
  padding: 8px 2px 0;
}
.gear-section-nav-label {
  color: #687871;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}
.gear-section-nav-links {
  display: flex;
  min-width: 0;
  gap: 7px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.gear-section-nav-links::-webkit-scrollbar {
  display: none;
}
.gear-section-nav button {
  flex: 0 0 auto;
  min-height: 34px;
  border: 1px solid #ccd8cf;
  border-radius: 999px;
  background: #fff;
  padding: 0 14px;
  color: #52655c;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  scroll-snap-align: center;
  transition: border-color 140ms ease, background 140ms ease, color 140ms ease, box-shadow 140ms ease;
}
.gear-section-nav button:hover,
.gear-section-nav button:focus-visible {
  border-color: #8ba093;
  background: #f1f6f1;
  color: #2e463b;
  outline: 0;
}
.gear-section-nav button:focus-visible {
  box-shadow: 0 0 0 3px rgba(102, 132, 112, 0.16);
}
.gear-section-nav button[aria-current="location"] {
  border-color: #27473a;
  background: #27473a;
  color: #fff;
  box-shadow: 0 5px 12px rgba(39, 71, 58, 0.18);
}
.gear-section-nav button[hidden] {
  display: none;
}
.gear-sections {
  display: grid;
  gap: 30px;
}
.gear-section {
  display: grid;
  gap: 12px;
  scroll-margin-top: 74px;
}
.gear-section[hidden] {
  display: none;
}
.gear-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #d8e1d8;
  padding: 0 2px 9px;
}
.gear-section-heading h2 {
  margin: 0;
  color: #34483f;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.gear-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.gear-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  min-height: 190px;
  overflow: hidden;
  border: 1px solid #d8e1d8;
  border-radius: 14px;
  background: #fff;
  scroll-margin: 90px;
}
.gear-card[hidden] {
  display: none;
}
.gear-card.is-selected {
  border-color: #c97935;
  box-shadow: 0 0 0 3px rgba(201, 121, 53, 0.16), 0 14px 32px rgba(79, 48, 24, 0.12);
}
.gear-card-image {
  display: grid;
  place-items: center;
  background: #fbf6ea;
  padding: 14px;
}
.gear-card-image img,
.gear-card-image .tool-card-image-placeholder {
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.gear-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  padding: 16px;
}
.gear-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}
.gear-card-heading p {
  margin: 0;
  color: #65766f;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.gear-card-heading span {
  border-radius: 999px;
  background: #f7e7d5;
  padding: 4px 7px;
  color: #8a4d1e;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}
.gear-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.1;
}
.gear-card-copy > p {
  margin: 0 0 6px;
  color: #66756f;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}
.gear-amazon-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  border-radius: 999px;
  background: #263b33;
  padding: 9px 13px;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}
.gear-amazon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}
.gear-amazon-actions .gear-amazon-link {
  margin-top: 0;
}
.gear-amazon-search-link {
  border: 1px solid #aebdb5;
  background: #fff;
  color: #263b33;
}
.gear-amazon-link.gear-amazon-search-link:hover,
.gear-amazon-link.gear-amazon-search-link:focus-visible {
  border-color: #bf6d2d;
  background: #fff8f1;
  color: #8d4a19;
}
.gear-amazon-link small {
  font-size: 9px;
  font-weight: 700;
  opacity: 0.72;
}
.gear-amazon-link:hover,
.gear-amazon-link:focus-visible {
  background: #bf6d2d;
  outline: 0;
}
.gear-amazon-unavailable {
  margin-top: auto;
  color: #7a8782;
  font-size: 11px;
  font-weight: 750;
}
.gear-empty,
.gear-no-results {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px dashed #cbd6cd;
  border-radius: 14px;
  padding: 42px;
  color: #687770;
  font-weight: 750;
  text-align: center;
}
@media (max-width: 980px) {
  .gear-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .gear-modal { width: calc(100vw - 12px); height: calc(100dvh - 12px); max-height: calc(100dvh - 12px); }
  .gear-modal > .close-button {
    position: sticky;
    top: max(12px, env(safe-area-inset-top));
    right: 16px;
    z-index: 10;
    justify-self: end;
    margin: 10px 10px -55px 0;
  }
  .gear-modal-inner { gap: 18px; padding: 34px 14px 18px; }
  .gear-header { padding-right: 26px; }
  .gear-controls-sticky { margin-inline: -7px; padding: 8px; }
  .gear-search { min-width: 0; }
  .gear-section-nav { gap: 8px; padding: 7px 0 0; }
  .gear-section-nav-label { display: none; }
  .gear-section-nav button { min-height: 32px; padding-inline: 12px; }
  .gear-grid { grid-template-columns: 1fr; }
  .gear-card { grid-template-columns: 92px minmax(0, 1fr); min-height: 168px; }
  .gear-card-image { padding: 10px; }
  .gear-card-image img,
  .gear-card-image .tool-card-image-placeholder { width: 68px; height: 68px; }
}
@media (max-width: 760px) {
  .tool-card[data-tool-either-or="true"] {
    grid-column: span 1;
  }
  .tool-card-either-or {
    grid-template-columns: minmax(0, 1fr);
  }
  .tool-card-or-divider {
    align-self: center;
    min-height: 18px;
  }
  .tool-card-or-divider::before,
  .tool-card-or-divider::after {
    display: none;
  }
}
.recipe-ingredients-section .ingredient-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  align-items: start;
  gap: 24px;
}
.recipe-ingredients-section .ingredient-section-column.single-section .ingredient-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.recipe-ingredients-section .ingredient-source-box .ingredient-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}
.recipe-ingredients-section .ingredient-section-column.single-section .ingredient-source-box .ingredient-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 28px;
}
.recipe-ingredients-section .ingredient-source-box .ingredient-grid.is-balanced {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 28px;
}
.pinned-drawer .recipe-ingredients-section .ingredient-source-box .ingredient-grid.is-balanced,
.pinned-drawer .recipe-ingredients-section .ingredient-section-column.single-section .ingredient-source-box .ingredient-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}
.recipe-ingredients-section .ingredient-source-box .ingredient-group-column {
  gap: 24px;
}
.ingredient-group-column {
  display: grid;
  align-content: start;
  gap: 36px;
  min-width: 0;
}
.ingredient-category-group {
  display: grid;
  align-content: start;
  gap: 3px;
  min-width: 0;
  margin: 0;
}
.ingredient-category-group h4 {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}
.ingredient-category-list {
  display: grid;
  gap: 0;
  min-width: 0;
}
.recipe-ingredients-section .ingredient-card {
  min-height: 35px;
  padding: 0;
}
.pinned-drawer .recipe-ingredients-section .ingredient-category-list,
.pinned-drawer .recipe-ingredients-section .ingredient-card,
.pinned-drawer .recipe-ingredients-section .ingredient-main {
  width: 100%;
}
.recipe-ingredients-section .ingredient-main {
  gap: 9px;
  grid-template-columns: 18px minmax(0, 1fr);
  border-radius: 8px;
  padding: 0 5px 0 0;
}
.recipe-ingredients-section .ingredient-copy strong {
  white-space: normal;
}
.recipe-ingredients-section .ingredient-primary-line {
  font-size: 15px;
  line-height: 1.15;
}
.recipe-ingredients-section .ingredient-prep-note {
  font-size: 12px;
}
.recipe-ingredients-section .ingredient-main > img {
  display: none;
}
.recipe-ingredients-section .ingredient-tooltip img {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 8px;
  padding: 4px;
}
.recipe-ingredients-section .ingredient-copy strong {
  font-size: 15px;
  line-height: 1.15;
}
.recipe-ingredients-section .ingredient-alternative-note {
  display: block;
  grid-column: 1 / -1;
  color: #66756e;
  font-size: 11px;
  font-weight: 700;
  justify-self: end;
  line-height: 1.25;
  margin-top: 2px;
  text-align: right;
}
@media (max-width: 762px) {
  .recipe-ingredients-section .ingredient-tooltip {
    grid-template-columns: 1fr;
    justify-items: center;
    width: min(176px, calc(100vw - 48px));
  }

  .recipe-ingredients-section .ingredient-tooltip img {
    justify-self: center;
    width: min(160px, 100%);
    height: 128px;
  }

  .recipe-ingredients-section .ingredient-tooltip span {
    width: min(160px, 100%);
  }
}
.recipe-modifications-section .modification-list {
  display: grid;
  gap: 8px;
}
.recipe-modifications-section .modification-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  border: 1px solid rgba(218, 126, 50, 0.22);
  border-radius: 8px;
  background: rgba(255, 238, 215, 0.72);
  padding: 10px 12px;
}
.recipe-modifications-section .modification-card strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
}
.recipe-modifications-section .modification-card strong .spice-flame {
  align-self: center;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  transform-origin: center;
}
.recipe-modifications-section .modification-card > span {
  color: #35403a;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}
.recipe-cook-section .direction-list {
  gap: 0px;
}
.recipe-cook-section .direction-row {
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  border-radius: 8px;
  padding: 6px 8px;
}
.recipe-cook-section .direction-number {
  width: 32px;
  height: 32px;
  background: rgba(15, 111, 92, 0.09);
  color: var(--brand-dark);
}
.recipe-cook-section .direction-list li {
  font-size: 15px;
  line-height: 1.5;
}
.recipe-cook-section .recipe-inline-direction-main {
  grid-template-columns: 32px minmax(0, 1fr) 18px;
}
.review-card,
.suggestion-card {
  border-radius: 8px;
}
.kitchen-add-menu .check-options {
  max-height: min(440px, 62vh);
}
.kitchen-add-form[data-add-shopping] .check-options {
  top: calc(100% + 6px);
  bottom: auto;
  max-height: min(360px, 52vh);
}
.kitchen-add-menu .kitchen-add-search {
  display: block;
  width: 100%;
  height: 32px;
  border: 1px solid rgba(213, 222, 211, 0.96);
  border-radius: 6px;
  background: #fff;
  padding: 0 9px;
}
.kitchen-add-menu .check-options button.is-filtered-out {
  display: none !important;
}
@media (min-width: 763px) and (max-width: 900px) {
  .recipe-ingredients-section .ingredient-source-box .ingredient-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 28px;
  }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .recipe-drawer-title .drawer-address .drawer-recipe-stats {
    flex-wrap: wrap;
    white-space: normal;
  }
}
@media (max-width: 900px) {
  .pinned-tray {
    right: 63px;
    max-width: calc(100vw - 64px);
    gap: 4.8px;
    border-width: 0.6px;
    padding: 6.6px 4.2px;
    box-shadow: 0 8.4px 20.4px rgba(24, 32, 29, 0.18);
  }
  .pinned-tray.collapsed {
    width: 42.6px;
    padding: 4.8px;
  }
  .pinned-tray.focus-only,
  .pinned-tray.focus-only.collapsed,
  .pinned-tray.shopping-only,
  .pinned-tray.shopping-only.collapsed {
    width: 42.6px;
    max-width: 42.6px;
  }
  .pinned-tray-toggle {
    width: 33px;
    height: 33px;
  }
  .pinned-tray-toggle-icon,
  .pinned-tray-toggle-icon svg {
    width: 10.8px;
    height: 10.8px;
  }
  .pinned-tray-strip {
    gap: 4.8px;
    padding-right: 6px;
  }
  .pinned-tray-thumb {
    width: 44.4px;
    height: 33px;
    border-width: 1.2px;
    font-size: 6px;
  }
  .pinned-tray-item.active .pinned-tray-thumb::after {
    right: 3.6px;
    bottom: 3px;
    font-size: 5.4px;
    padding: 1.8px 3.6px;
  }
  .pinned-tray-remove {
    top: 0;
    right: -3px;
    width: 10.8px;
    height: 10.8px;
    border-width: 0.6px;
    font-size: 8.4px;
  }
  .pinned-tray-clear {
    min-width: 33.6px;
    height: 22.8px;
    border-width: 0.6px;
    padding-inline: 7.2px;
    margin-right: 6px;
    font-size: 6.6px;
  }

  body:has(.shopping-list-modal-inner.is-kitchen-focus-mode) .shopping-list-floating-focus-button {
    display: none;
  }
  .pinned-tray-scrollbar {
    right: 10.8px;
    bottom: 1px;
    left: 46.8px;
    height: 2.4px;
  }
  .pinned-tray.has-clear .pinned-tray-scrollbar {
    right: 50.4px;
  }
  .pinned-tray-scrollbar span {
    width: 20.4px;
  }
  .pinned-tray-shopping-button {
    width: 42.6px;
    height: 42.6px;
    padding: 4.8px;
  }
  .pinned-tray-shopping-button::before {
    inset: 4.2px;
  }
  .pinned-tray-focus-button::before {
    inset: 4.2px;
  }
  .pinned-tray-shopping-button svg {
    width: 15px;
    height: 15px;
  }
  .pinned-tray-focus-button {
    width: 42.6px;
    height: 42.6px;
  }
  .pinned-tray-focus-button svg {
    width: 15px;
    height: 15px;
  }
  body:not(:has(#printModal[data-mode="focus"]:not([hidden]))) .pinned-tray .pinned-tray-focus-button {
    position: absolute;
    right: -53px;
    bottom: 52.2px;
  }
  body:not(:has(#printModal[data-mode="focus"]:not([hidden]))) .pinned-tray.focus-only {
    right: 18px;
  }
  body:not(:has(#printModal[data-mode="focus"]:not([hidden]))) .pinned-tray.focus-only .pinned-tray-focus-button {
    position: absolute;
    right: -8px;
    bottom: 52.2px;
  }
  .pinned-tray-shopping-button:not([hidden]) {
    display: grid;
  }
  body.print-modal-open:has(#printModal[data-mode="focus"]) .pinned-tray {
    right: 18px;
    width: 42.6px;
    max-width: 42.6px;
    border: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
    backdrop-filter: none;
  }
  body.print-modal-open:has(#printModal[data-mode="focus"]) .pinned-tray > :not(.pinned-tray-focus-button) {
    display: none;
  }
  body.print-modal-open:has(#printModal[data-mode="focus"]) .pinned-tray .pinned-tray-focus-button {
    position: static;
  }
  body.print-modal-open:has(#printModal[data-mode="focus"]) .pinned-tray-shopping-button {
    display: none;
  }
  .ingredient-section-list {
    grid-template-columns: 1fr;
  }
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .recipe-drawer-hero {
    grid-template-columns: 1fr;
  }
  .holiday-drawer-hero {
    grid-template-columns: 1fr;
  }
  .holiday-drawer-title .drawer-price-row h2 {
    font-size: clamp(34px, 9vw, 46px);
  }
  .holiday-drawer-about {
    font-size: 16px;
  }
  .recipe-drawer-title {
    padding-right: 0px;
  }
  .recipe-drawer-title .drawer-price-row h2 {
    max-width: none;
    font-size: 38px;
  }
}
@media (max-width: 762px) {
  #detailDrawer:not(.is-loading-recipe) > .close-button,
  .pinned-drawer > .close-button {
    position: sticky;
    top: max(10px, env(safe-area-inset-top));
    right: auto;
    margin: 10px 10px -50px auto;
  }
  #detailDrawer.is-loading-recipe {
    width: min(360px, calc(100vw - 24px));
    max-height: calc(100dvh - 24px);
    border-radius: 12px;
  }
  #detailDrawer.is-loading-recipe > .close-button {
    top: 10px;
    right: 10px;
  }
  .recipe-loading-drawer {
    padding: 12px;
  }
  .recipe-loading-card {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    padding: 54px 16px 20px;
    text-align: center;
  }
  .recipe-loading-image {
    width: min(180px, 52vw);
  }
  .recipe-loading-copy {
    justify-items: center;
    gap: 8px;
    min-width: 0;
    width: 100%;
  }
  .recipe-loading-copy h2 {
    max-width: 100%;
    font-size: clamp(25px, 8vw, 34px);
    line-height: 1;
    overflow-wrap: anywhere;
  }
  .recipe-loading-copy .grid-loading {
    justify-self: center;
  }
  .recipe-drawer-title {
    padding-right: 0;
  }
  .recipe-drawer-title .drawer-price-row {
    grid-template-columns: 1fr;
  }
  .recipe-drawer-title .drawer-address-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .recipe-drawer-title .drawer-activity {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    align-items: center;
    width: 100%;
  }
  .recipe-drawer-title .drawer-save-actions {
    grid-column: 2;
  }
  .pinned-drawer .pinned-stats-actions .drawer-recipe-stats {
    grid-column: 1;
    grid-row: 1;
  }
  .pinned-drawer .pinned-stats-actions .pinned-save-row {
    grid-column: 1;
    grid-row: 2;
  }
  .pinned-drawer .pinned-stats-actions .pinned-recipe-top-widgets {
    grid-column: 1;
    grid-row: 3;
  }
  .recipe-drawer-title .drawer-activity .status {
    grid-column: 1;
    justify-self: start;
  }
  .recipe-drawer-title .drawer-address .drawer-recipe-stats {
    flex-wrap: wrap;
    white-space: normal;
  }
  .recipe-drawer-title .drawer-price-row h2 {
    font-size: 34px;
  }
  .recipe-adjust-bar .recipe-controls {
    grid-template-columns: 1fr;
  }
  .recipe-drawer-title .recipe-controls {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .recipe-drawer-title .recipe-controls > .servings-control {
    grid-column: 1;
    grid-row: 1;
  }
  .recipe-drawer-title .recipe-controls > :is(.spice-control, .sweetness-control, .flavor-modification-control) {
    grid-column: 2;
    grid-row: 1;
  }
  .recipe-drawer-title .sweetness-slider-labels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
  }
  .recipe-drawer-title .sweetness-slider-labels small {
    overflow: visible;
    font-size: 8px;
    text-overflow: clip;
  }
  .recipe-drawer-title .sweetness-slider-labels small:first-child {
    text-align: left;
  }
  .recipe-drawer-title .sweetness-slider-labels small:nth-child(2) {
    text-align: center;
  }
  .recipe-drawer-title .sweetness-slider-labels small:last-child {
    text-align: right;
  }
  .recipe-drawer-title .recipe-controls > :is(.diet-control, .diet-modification-control) {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-rows: max-content minmax(0, 1fr);
    align-self: stretch;
    height: auto;
    padding-block: 7px;
  }
  .recipe-drawer-title .recipe-controls > :is(.diet-control, .diet-modification-control) .diet-toggles {
    align-self: stretch;
    align-content: center;
    align-items: center;
    margin-top: 0;
  }
  .recipe-drawer-title .diet-control:has(.diet-toggle:nth-child(2)) .diet-toggles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .recipe-drawer-title .diet-control:has(.diet-toggle:nth-child(2)) .diet-toggle {
    min-width: 0;
    width: 100%;
    padding-inline: 4px;
    font-size: clamp(8px, 2.6vw, 10px);
    line-height: 1.1;
    overflow-wrap: anywhere;
    white-space: normal;
  }
  .pinned-drawer .pinned-serving-edit-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .pinned-drawer .pinned-serving-edit-row > .servings-control {
    grid-column: 1;
    grid-row: 1;
  }
  .pinned-drawer .pinned-serving-edit-row > :is(.spice-control, .sweetness-control, .flavor-modification-control) {
    grid-column: 2;
    grid-row: 1;
  }
  .pinned-drawer .pinned-serving-edit-row > :is(.diet-control, .diet-modification-control) {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: stretch;
  }
  .pinned-drawer .pinned-serving-edit-row > .custom-recipe-drawer-edit-action {
    grid-column: 1 / -1;
    grid-row: 3;
  }
  .recipe-adjust-bar .recipe-control,
  .spice-control {
    min-height: 0;
  }
  .recipe-modifications-section .modification-card {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .tool-grid {
    grid-template-columns: 1fr;
  }
  .holiday-linked-dish-list {
    grid-template-columns: 1fr;
  }
  .recipe-ingredients-section .ingredient-grid,
  .suggestion-grid {
    grid-template-columns: 1fr;
  }
  .recipe-ingredients-section .ingredient-section-column.single-section .ingredient-grid {
    grid-template-columns: 1fr;
  }
  .recipe-ingredients-section .ingredient-section-column.single-section .ingredient-source-box .ingredient-grid,
  .recipe-ingredients-section .ingredient-source-box .ingredient-grid.is-balanced,
  .pinned-drawer .recipe-ingredients-section .ingredient-section-column.single-section .ingredient-source-box .ingredient-grid {
    grid-template-columns: 1fr;
  }
  .recipe-drawer-inner .suggestion-grid,
  .pinned-drawer .suggestion-grid {
    grid-template-columns: 1fr;
  }
  .ingredient-section-column.single-section {
    grid-template-columns: 1fr;
  }
  .ingredient-montage-tile {
    display: grid;
    min-height: 0;
    height: auto;
    padding: 7px;
  }
  .ingredient-montage,
  .ingredient-montage.is-side-montage,
  .ingredient-montage.is-section-slot-montage,
  .ingredient-montage.is-wide-montage {
    gap: 5px;
    min-height: 0;
    max-width: none;
    height: auto;
    margin-inline: auto;
  }
  .ingredient-montage-card {
    border-radius: 4px;
    padding: 3px 3px 6px;
  }
}

/* Cooking language menu */
.language-field,
.language-menu summary #languageSummary,
.language-options button {
  min-width: 0;
}
.native-language-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.language-menu summary #languageSummary,
.language-options button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.language-option-flag {
  flex: 0 0 auto;
  width: 1.35em;
  text-align: center;
  line-height: 1;
}
.language-menu summary .language-option-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-options .language-option-name {
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}
.language-options button.active {
  background: #eaf5f0;
  color: var(--brand-dark);
}

@media (max-width: 762px) {
  .ingredient-shopping-context-menu {
    width: max-content;
    max-width: 80vw;
  }

  .recipe-ingredients-section .ingredient-card,
  .recipe-ingredients-section .ingredient-card.has-linked-recipe {
    grid-template-columns: minmax(0, 1fr) 20px;
    align-items: start;
    gap: 4px;
  }

  .recipe-ingredients-section .ingredient-card.has-linked-recipe {
    grid-template-columns: minmax(0, 1fr) 20px 20px;
  }

  .ingredient-mobile-menu-button {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(15, 111, 92, 0.28);
    border-radius: 999px;
    background: #fff;
    color: var(--brand-dark);
    cursor: pointer;
    font: inherit;
    padding: 0;
    touch-action: manipulation;
  }

  .ingredient-mobile-menu-button svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
  }

  .ingredient-mobile-menu-button:hover,
  .ingredient-mobile-menu-button:focus-visible {
    border-color: rgba(15, 111, 92, 0.48);
    background: #eef7ef;
    box-shadow: 0 0 0 3px rgba(15, 111, 92, 0.12);
    outline: 0;
  }

  .recipe-ingredients-section .ingredient-main[data-check-ingredient] {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: pan-y;
  }
}

@media print {
  @page {
    margin: 0.45in;
  }

  body.print-modal-open {
    background: #fff;
  }

  body.print-modal-open > :not(#printModal) {
    display: none !important;
  }

  body.print-modal-open #printModal {
    position: static;
    display: block;
    width: auto;
    max-height: none;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    transform: none;
  }

  body.print-modal-open #printModal .close-button,
  body.print-modal-open .print-modal-actions {
    display: none !important;
  }

  body.print-modal-open #printModalContent {
    overflow: visible;
    padding: 0;
  }

  body.print-modal-open .print-modal .recipe-note-card {
    width: auto;
    margin: 0;
    border: 0;
    box-shadow: none;
  }

  body.print-modal-open .print-modal .recipe-note-card + .recipe-note-card {
    break-before: page;
    page-break-before: always;
  }
}

body:has(#printModal[data-mode="focus"]:not([hidden])) .pinned-tray-shopping-button,
body:has(.shopping-list-modal-inner.is-kitchen-focus-mode) .pinned-tray-shopping-button,
body:has(#printModal[data-mode="focus"]:not([hidden])) .split-handle {
  display: none;
}

@media (max-width: 560px) {
  :is(
    .ingredient-modal,
    .about-modal,
    .gear-modal,
    .account-sync-modal,
    .custom-recipe-modal,
    .custom-recipe-image-modal,
    .shopping-list-modal,
    .donate-modal
  ) > .close-button,
  .print-modal .print-modal-actions > .close-button {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  :is(
    .ingredient-modal,
    .about-modal,
    .gear-modal,
    .account-sync-modal,
    .custom-recipe-image-modal,
    .shopping-list-modal,
    .donate-modal
  ) > .close-button {
    position: sticky;
    top: max(10px, env(safe-area-inset-top));
    right: auto;
    z-index: 100;
    justify-self: end;
    margin: 10px 10px -50px auto;
  }
}

@media (min-width: 901px) {
  body:has(#printModal[data-mode="print"]:not([hidden])) .split-handle,
  body:has(#printModal[data-mode="print"]:not([hidden])) .pinned-tray,
  body:has(#printModal[data-mode="print"]:not([hidden])) .pinned-tray-shopping-button {
    display: none !important;
  }
}
