:root {
  color-scheme: light;
  --ink: #101827;
  --muted: #51696d;
  --pink: #f7dfdf;
  --cream: #fff8dc;
  --teal: #3f7d80;
  --brick: #bb6a52;
  --line: rgba(16, 24, 39, 0.14);
  --shadow: 0 18px 40px rgba(107, 63, 54, 0.14);
  --font-body: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Segoe UI Variable Display", "Aptos Display", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  --type-title: clamp(2.15rem, 5vw, 4.6rem);
  --type-subtitle: clamp(1.38rem, 2.4vw, 2rem);
  --type-text: 1rem;
  --page-bg: #123b32;
  --page-bg-deep: #061d19;
  --page-bg-soft: #1b4d3d;
  font-family: var(--font-body);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: #123b32;
  max-width: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--pink);
  color: var(--ink);
}

@supports not (overflow-x: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

body.bubble-night { min-height: 100vh; isolation: isolate; }
body.bubble-night > :not(.bubble-sky):not(.page-loader) { position: relative; z-index: 1; }
body.bubble-night > .page-loader { position: fixed; z-index: 9999; }

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 38%, rgba(214, 236, 207, 0.92), rgba(255, 248, 236, 0.96) 44%, rgba(18, 59, 50, 0.94));
  color: #123b32;
  opacity: 1;
  visibility: visible;
  transition: opacity 280ms ease, visibility 280ms ease;
}

.page-is-loaded .page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__inner {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.page-loader__glass {
  position: relative;
  width: 74px;
  height: 104px;
  overflow: hidden;
  border: 3px solid rgba(18, 59, 50, 0.62);
  border-top: 0;
  border-radius: 12px 12px 26px 26px;
  background-image:
    linear-gradient(0deg, rgba(95, 143, 73, 0.34), rgba(198, 83, 102, 0.2) 48%, rgba(255, 248, 220, 0.16)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.44), transparent 26% 72%, rgba(255, 255, 255, 0.28)),
    linear-gradient(180deg, rgba(255, 250, 232, 0.75), rgba(210, 230, 201, 0.72));
  background-position: bottom, center, center;
  background-repeat: no-repeat;
  background-size: 100% 0%, auto, auto;
  box-shadow: 0 16px 42px rgba(18, 59, 50, 0.22);
  animation: loaderGlassFill 1600ms cubic-bezier(0.2, 0.78, 0.24, 1) forwards;
}

.page-loader__glass::before {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 10px;
  height: 2px;
  border-radius: 999px;
  background: rgba(18, 59, 50, 0.22);
}

.page-loader__glass::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 16px;
  width: 10px;
  height: 62px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}

.page-loader__pearl {
  position: absolute;
  left: var(--x);
  bottom: -24px;
  width: var(--s, 14px);
  height: var(--s, 14px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.86), transparent 0 24%, rgba(255, 255, 255, 0) 25%),
    radial-gradient(circle at 45% 42%, var(--c), color-mix(in srgb, var(--c) 68%, #24150f));
  box-shadow: 0 2px 5px rgba(38, 24, 15, 0.2);
  animation: loaderPearlFill 1180ms cubic-bezier(0.2, 0.78, 0.24, 1) infinite;
  animation-delay: var(--d, 0ms);
  will-change: transform, opacity;
}

.page-loader strong {
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: 0;
}

.page-loader small {
  color: rgba(18, 59, 50, 0.72);
  font-weight: 700;
}

@keyframes loaderPearlFill {
  0% {
    transform: translateY(0) scale(0.84);
    opacity: 0;
  }
  16% {
    opacity: 1;
  }
  72%,
  100% {
    transform: translateY(var(--y)) scale(1);
    opacity: 1;
  }
}

@keyframes loaderGlassFill {
  0% {
    background-size: 100% 0%, auto, auto;
  }
  72% {
    background-size: 100% 58%, auto, auto;
  }
  100% {
    background-size: 100% 68%, auto, auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader__pearl {
    animation-duration: 1ms;
    animation-iteration-count: 1;
    transform: translateY(var(--y));
    opacity: 1;
  }

  .page-loader__glass {
    animation-duration: 1ms;
  }
}

body:not(.admin-page) main > .section:not(#menu) {
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

body.menu-page {
  --menu-page-accent: #5f8f49;
  --menu-page-deep: #183f31;
  --menu-page-soft: #b9d8c8;
  --menu-page-warm: #e8eadb;
  background-color: var(--menu-page-deep) !important;
  background-image:
    radial-gradient(circle at 24% 14%, color-mix(in srgb, var(--menu-page-accent) 18%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--menu-page-deep) 94%, var(--menu-page-accent)), var(--menu-page-deep) 62%, color-mix(in srgb, var(--menu-page-deep) 88%, #000 12%)) !important;
  transition: background-color 640ms ease, background-image 640ms ease;
}

body.menu-page.menu-tone-matcha {
  --menu-page-accent: #5f8f49;
  --menu-page-deep: #183f31;
  --menu-page-soft: #b9d8c8;
  --menu-page-warm: #e8eadb;
}

body.menu-page.menu-tone-milk {
  --menu-page-accent: #9a6a45;
  --menu-page-deep: #3f2b20;
  --menu-page-soft: #d6c1aa;
  --menu-page-warm: #efe5d3;
}

body.menu-page.menu-tone-fruit {
  --menu-page-accent: #c65366;
  --menu-page-deep: #4e1f2b;
  --menu-page-soft: #dec4cd;
  --menu-page-warm: #f1e3de;
}

body.menu-page.menu-tone-originals {
  --menu-page-accent: #2f6671;
  --menu-page-deep: #143f49;
  --menu-page-soft: #b8d2d2;
  --menu-page-warm: #e1e8db;
}
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
button, input { font: inherit; }
textarea, select { font: inherit; }

body:not(.admin-page) .nav-dropdown,
body:not(.admin-page) .main-nav a[href="idees"],
body:not(.admin-page) .main-nav a[href*="jeux"],
body:not(.admin-page) .footer-links a[href*="jeux"] {
  display: none !important;
}

html,
body,
* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.bubble-sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100svh;
  opacity: 0.07;
  filter: saturate(0.7) blur(0.8px);
  pointer-events: none;
}

body.menu-page .bubble-sky {
  opacity: 0.72;
  filter: saturate(0.95) blur(0.2px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 248, 220, 0.9);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--cream);
  font-weight: 900;
}

.brand strong,
.brand small { display: block; }
.brand small,
.main-nav a,
.section-heading p,
.hero-content p:not(.eyebrow) { color: var(--muted); }
.brand small { font-size: 0.78rem; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  border-radius: 999px;
  font-size: 0.94rem;
  padding: 10px 14px;
}
.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(63, 125, 128, 0.12);
  color: var(--ink);
}

.nav-login-button {
  display: inline-flex;
  flex: 0 0 auto;
  margin-left: auto;
  width: auto;
  min-height: 42px;
  min-width: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(18, 51, 44, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
}

.nav-login-button.is-connected {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(63, 125, 128, 0.16);
  color: var(--teal);
}

.nav-login-button.is-connected img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nav-login-button:hover,
.nav-login-button:focus-visible {
  background: rgba(63, 125, 128, 0.14);
  color: var(--ink);
}

.site-header .brand {
  order: 1;
}

.site-header .main-nav {
  order: 2;
  margin-left: auto;
}

.site-header .language-switcher {
  order: 3;
  margin-left: 0;
}

.site-header .nav-login-button {
  order: 4;
  margin-left: 0;
}

.nav-login-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: clamp(12px, 4vw, 56px);
  z-index: 3200;
  display: grid;
  min-width: 150px;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(10, 39, 32, 0.96);
  box-shadow: 0 18px 38px rgba(5, 22, 18, 0.24);
  padding: 8px;
}

.nav-login-menu a,
.nav-login-menu button {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: flex-start;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  padding: 0 10px;
  text-align: left;
}

.nav-login-menu a:hover,
.nav-login-menu a:focus-visible,
.nav-login-menu button:hover,
.nav-login-menu button:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.site-footer--minimal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1120px, calc(100% - 28px));
  margin: 8px auto 18px;
  padding: 10px 0 14px;
  border: 0;
  background: transparent;
}

.site-footer--minimal a {
  display: grid;
  min-width: 0;
  gap: 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  padding: 4px 0;
  text-decoration: none;
}

.site-footer--minimal span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.site-footer--minimal strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 0.84rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-signal-board {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 12px;
  width: min(1120px, calc(100% - 28px));
  margin: -6px auto 8px;
}

.home-shop-announcement,
.home-daily-quote {
  display: grid;
  min-width: 0;
  gap: 8px;
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.94);
  color: var(--ink);
  padding: clamp(14px, 2vw, 20px);
}

.home-shop-announcement[hidden] {
  display: none;
}

.home-shop-announcement span,
.home-daily-quote span {
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.home-shop-announcement strong {
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  line-height: 1.05;
}

.home-shop-announcement p,
.home-daily-quote p {
  margin: 0;
  color: var(--ink);
  line-height: 1.35;
}

.home-shop-announcement small {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.08);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  overflow: hidden;
  padding: 7px 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-daily-quote {
  opacity: 0.82;
}

.home-daily-quote blockquote {
  margin: 0;
}

.home-daily-quote blockquote p::before {
  content: "\201C";
}

.home-daily-quote blockquote p::after {
  content: "\201D";
}

.home-daily-quote strong {
  color: var(--muted);
  font-size: 0.86rem;
}

.nav-account {
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
}

.nav-account__button,
.nav-account__admin,
.nav-account__signout,
.nav-account__messages {
  border: 1px solid rgba(18, 51, 44, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-weight: 900;
}

.nav-account__button {
  display: inline-flex;
  min-height: 40px;
  max-width: min(240px, 28vw);
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 5px;
  cursor: pointer;
}

.nav-account__avatar {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(18, 51, 44, 0.1);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
}

.nav-account.is-connected .nav-account__avatar {
  background: var(--teal);
  color: var(--cream);
}

.nav-account__label {
  overflow: hidden;
  max-width: 150px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-account__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: min(280px, calc(100vw - 28px));
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(18, 51, 44, 0.14);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.98);
  box-shadow: 0 18px 42px rgba(5, 22, 18, 0.18);
}

.nav-account__panel strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.nav-account__status {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.nav-account__admin,
.nav-account__messages,
.nav-account__signout {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  text-align: center;
}

.nav-account__admin {
  border-color: rgba(18, 51, 44, 0.2);
  background: rgba(31, 91, 69, 0.12);
  color: var(--ink);
}

.nav-account__signout {
  border-color: var(--page-bg);
  background: var(--page-bg);
  color: var(--cream);
}

.language-switcher {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
}

.language-switcher__button,
.language-switcher__local,
.language-switcher__other,
.language-switcher__panel a {
  border: 1px solid rgba(18, 51, 44, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  font-weight: 800;
}

.language-switcher__button {
  display: inline-flex;
  min-height: 40px;
  min-width: 64px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  cursor: pointer;
}

.language-switcher__button::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  border-top: 5px solid currentColor;
  border-inline: 4px solid transparent;
  vertical-align: middle;
}

.language-switcher__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: min(300px, calc(100vw - 28px));
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(18, 51, 44, 0.14);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.98);
  box-shadow: 0 18px 42px rgba(5, 22, 18, 0.18);
}

.language-switcher__panel > strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
}

.language-switcher__panel > strong span {
  border: 1px solid rgba(31, 91, 69, 0.2);
  border-radius: 999px;
  padding: 3px 8px;
  color: var(--teal);
  font-size: 0.72rem;
}

.language-switcher__panel > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.language-switcher__local,
.language-switcher__other,
.language-switcher__panel a {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) minmax(58px, auto);
  min-height: 48px;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  text-align: left;
}

.language-switcher__local,
.language-switcher__other {
  cursor: pointer;
}

.language-switcher__local small,
.language-switcher__other small,
.language-switcher__panel a small {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-switcher__local > strong,
.language-switcher__other > strong,
.language-switcher__panel a > strong {
  display: inline-flex;
  min-width: 48px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(18, 51, 44, 0.1);
  border-radius: 999px;
  background: rgba(18, 51, 44, 0.06);
  color: var(--teal);
  font-size: 0.76rem;
}

.language-switcher__local > span,
.language-switcher__other > span,
.language-switcher__panel a > span {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-provider-badge {
  display: inline-grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 50%;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
}

.language-switcher__local.is-active,
.language-switcher__other.is-active,
.language-switcher__panel a.is-active {
  border-color: rgba(31, 91, 69, 0.36);
  background: rgba(31, 91, 69, 0.13);
}

.language-switcher__local.is-active > strong,
.language-switcher__other.is-active > strong,
.language-switcher__panel a.is-active > strong {
  background: var(--teal);
  color: var(--cream);
}

.language-switcher__list {
  display: grid;
  gap: 6px;
  max-height: min(420px, 54vh);
  overflow-y: auto;
  padding-right: 2px;
}

.language-other-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
  padding: 10px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 12px;
  background: rgba(31, 91, 69, 0.06);
}

.language-other-panel label {
  display: grid;
  gap: 5px;
}

.language-other-panel label span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.language-other-panel select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  padding: 0 8px;
}

.language-switcher__local,
.language-switcher__other,
.language-switcher__panel a {
  grid-template-columns: 52px minmax(0, 1fr) !important;
}

.language-switcher__text {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
}

.language-switcher__text > span {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 950;
  line-height: 1.1;
  text-overflow: ellipsis;
}

.language-switcher__text > small {
  flex: 1 1 auto;
  justify-content: flex-start;
  min-width: 0;
  font-size: 0.72rem;
  line-height: 1.1;
  text-overflow: ellipsis;
}

.brand-logo {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(18, 51, 44, 0.12);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.78), transparent 44%),
    color-mix(in srgb, var(--matcha) 12%, #ffffff);
  color: var(--teal);
  box-shadow: inset 0 -10px 18px rgba(18, 51, 44, 0.04);
}

.brand-logo svg {
  width: 25px;
  height: 25px;
  overflow: visible;
}

.brand-logo :is(path, rect, circle) {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-logo--uber-eats {
  color: #185f42;
}

.brand-logo--instagram {
  color: #8a4f72;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.78), transparent 42%),
    linear-gradient(145deg, rgba(112, 152, 120, 0.2), rgba(194, 105, 128, 0.16));
}

.brand-logo--petit-fute {
  color: #6e4f32;
}

.brand-logo--maps,
.brand-logo--google-review {
  color: #2f6671;
}

.brand-logo--tripadvisor {
  color: #255b4b;
}

.brand-logo--phone {
  color: #7a5b2f;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 248, 220, 0.8);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero,
.section { padding-inline: clamp(18px, 6vw, 88px); }

.hero {
  min-height: min(560px, calc(100vh - 108px));
  padding-block: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(circle at 78% 18%, rgba(63, 125, 128, 0.12), transparent 24%),
    radial-gradient(circle at 18% 16%, rgba(187, 106, 82, 0.12), transparent 24%);
}

.hero-shell {
  display: grid;
  min-height: 450px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
}

.eyebrow,
.panel-kicker {
  margin: 0 0 12px;
  color: var(--brick);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, p {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}
h1, h2, h3 { margin: 0; }
h1 {
  max-width: 760px;
  font-size: clamp(2.18rem, 5vw, 4.5rem);
  line-height: 0.96;
  text-transform: uppercase;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  text-transform: uppercase;
}
h3 { font-size: 1.16rem; }
.hero-content p:not(.eyebrow),
.section-heading p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-actions .button {
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.hero-actions .button:hover {
  transform: translateY(-1px);
}
.hero-actions:has(.button:hover) .button:focus-visible:not(:hover) {
  outline: 0;
  box-shadow: none;
}
.hero-actions:has(.button:hover) .button.primary:not(:hover) {
  border-color: rgba(31, 91, 69, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-primary-dark, var(--ink));
}
.button, .chip, .icon-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}
.button { padding: 12px 18px; }
.primary { background: var(--teal); color: var(--cream); }
.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 248, 220, 0.72);
  color: var(--ink);
}

.showcase-card,
.menu-sidebar,
.product-detail,
.menu-category,
.feature-card,
.chat-shell,
.game-preview,
.page-note,
.idea-panel,
.legal-panel,
.admin-panel,
.admin-table-wrap,
.metric-card,
.visitor-panel,
.lock-card,
.admin-command {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.showcase-card,
.product-detail,
.admin-panel {
  position: relative;
  overflow: hidden;
}

.showcase-card::before,
.product-detail::before,
.admin-panel::before {
  position: absolute;
  right: -28px;
  bottom: -40px;
  width: 150px;
  height: 150px;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 248, 220, 0.9), transparent 13%),
    radial-gradient(circle, rgba(63, 125, 128, 0.28), rgba(187, 106, 82, 0.08) 56%, transparent 70%);
  pointer-events: none;
}

.showcase-card { display: grid; gap: 14px; padding: clamp(20px, 3vw, 28px); }
.showcase-label {
  width: max-content;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 900;
  padding: 7px 10px;
  text-transform: uppercase;
}
.showcase-card h2 { color: var(--ink); font-size: clamp(1.85rem, 3.4vw, 2.8rem); }
.showcase-card p,
.showcase-meta span,
.menu-category p,
.feature-card p,
.game-preview p,
.chat-messages p,
.admin-panel p { color: var(--muted); line-height: 1.58; }

.showcase-meta { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.showcase-meta strong,
.price,
.detail-price,
.score-row strong { color: var(--teal); font-weight: 900; }
.showcase-meta strong { font-size: 2rem; }

.cup-visual {
  position: relative;
  width: 144px;
  height: 182px;
  border: 3px solid rgba(255, 248, 220, 0.95);
  border-radius: 24px 24px 46px 46px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 28%),
    linear-gradient(180deg, rgba(255, 248, 220, 0.85), rgba(63, 125, 128, 0.34));
  overflow: hidden;
}
.cup-visual::before {
  position: absolute;
  top: -20px;
  right: 28px;
  width: 14px;
  height: 190px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(180deg, #e9897b, var(--brick));
  transform: rotate(14deg);
}
.cup-visual span {
  position: absolute;
  bottom: 26px;
  left: 42px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(26, 18, 25, 0.75);
  box-shadow:
    34px -8px 0 rgba(26, 18, 25, 0.66),
    66px 4px 0 rgba(26, 18, 25, 0.58),
    22px 28px 0 rgba(26, 18, 25, 0.68),
    62px 36px 0 rgba(26, 18, 25, 0.62);
}

.section {
  padding-block: clamp(58px, 8vw, 104px);
  background: rgba(247, 223, 223, 0.86);
}
.section:nth-of-type(even) { background: rgba(255, 248, 220, 0.72); }
.section--page { min-height: 52vh; }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading--wide { max-width: 980px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.7fr);
  align-items: start;
  gap: clamp(28px, 5vw, 76px);
}

.menu-studio {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) minmax(280px, 340px);
  gap: 16px;
  align-items: start;
}
.menu-sidebar,
.product-detail { position: sticky; top: 94px; padding: 16px; }
.panel-kicker { color: var(--muted); }
.toolbar { display: grid; gap: 10px; }
.chip {
  border: 1px solid var(--line);
  background: rgba(255, 248, 220, 0.52);
  color: var(--muted);
  padding: 10px 14px;
}
.chip.active {
  border-color: rgba(63, 125, 128, 0.38);
  background: rgba(63, 125, 128, 0.13);
  color: var(--ink);
}
.source-note {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.source-note span { color: var(--muted); font-size: 0.9rem; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.menu-category {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 310px;
  align-content: start;
  padding: 22px;
  overflow: hidden;
}
.menu-category::before {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 72px;
  height: 72px;
  content: "";
  border: 1px solid color-mix(in srgb, var(--card-accent, var(--teal)), transparent 40%);
  border-radius: 50%;
  opacity: 0.28;
  transform: rotate(-18deg);
}
.menu-category::after {
  position: absolute;
  right: 68px;
  top: 42px;
  width: 56px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--card-accent, var(--teal)), transparent 35%), transparent);
  opacity: 0.38;
  transform: rotate(27deg);
}
.menu-category header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 14px;
  align-items: start;
}
.menu-category h3 {
  max-width: 12rem;
  font-size: clamp(1.55rem, 2.7vw, 2.05rem);
  line-height: 0.95;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
}
.menu-category header p {
  max-width: 18rem;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-sky,
.menu-icon {
  position: relative;
  z-index: 1;
  display: block;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border: 2px solid color-mix(in srgb, var(--card-accent, var(--teal)), transparent 18%);
  border-radius: 50%;
  background: rgba(255, 248, 220, 0.72);
}

.menu-icon {
  background:
    radial-gradient(circle at 35% 32%, rgba(255, 248, 220, 0.85), transparent 10%),
    radial-gradient(circle at 72% 70%, color-mix(in srgb, var(--card-accent, var(--teal)), transparent 18%) 0 6px, transparent 7px),
    radial-gradient(circle at 38% 62%, color-mix(in srgb, var(--card-accent, var(--teal)), transparent 8%) 0 5px, transparent 6px),
    radial-gradient(circle at 62% 34%, color-mix(in srgb, var(--card-accent, var(--teal)), transparent 28%) 0 4px, transparent 5px);
  animation: menuConstellation 7s ease-in-out infinite;
}

.menu-icon::before,
.menu-icon::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.menu-icon::before {
  inset: 15px 12px auto;
  height: 1px;
  background: color-mix(in srgb, var(--card-accent, var(--teal)), transparent 46%);
  box-shadow:
    7px 13px 0 color-mix(in srgb, var(--card-accent, var(--teal)), transparent 56%),
    15px 25px 0 color-mix(in srgb, var(--card-accent, var(--teal)), transparent 62%);
  transform: rotate(31deg);
}

.menu-icon::after {
  left: 12px;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--card-accent, var(--teal));
  box-shadow:
    21px -5px 0 -1px color-mix(in srgb, var(--card-accent, var(--teal)), transparent 18%),
    30px 17px 0 1px color-mix(in srgb, var(--card-accent, var(--teal)), transparent 8%),
    10px 28px 0 -1px color-mix(in srgb, var(--card-accent, var(--teal)), transparent 28%);
  animation: menuTwinkle 2.8s ease-in-out infinite;
}
.menu-list { display: grid; gap: 5px; }
.menu-item {
  display: grid;
  gap: 2px;
  width: 100%;
  border: 0;
  border-left: 4px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 2px 0 2px 8px;
  text-align: left;
  cursor: pointer;
}
.menu-item span { color: var(--muted); font-size: 1rem; line-height: 1.1; }
.menu-item small { color: rgba(81, 105, 109, 0.72); font-size: 0.72rem; }
.menu-item:hover,
.menu-item.is-selected { border-left-color: var(--card-accent, var(--teal)); }
.menu-item:hover span,
.menu-item.is-selected span { color: var(--ink); font-weight: 900; }
.price-dots { display: flex; flex-wrap: wrap; gap: 18px; margin-top: auto; }
.price-dots span {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 900;
}
.price-dots i {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal);
}

@keyframes menuConstellation {
  0%, 100% {
    transform: rotate(-4deg) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: rotate(4deg) scale(1.04);
    opacity: 1;
  }
}

@keyframes menuTwinkle {
  0%, 100% {
    filter: brightness(0.92);
    opacity: 0.78;
  }
  50% {
    filter: brightness(1.18);
    opacity: 1;
  }
}

.tag-list,
.detail-options div { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  border-radius: 999px;
  background: rgba(63, 125, 128, 0.11);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 9px;
}
.product-detail { display: grid; gap: 16px; }
.product-detail h3 { font-size: 1.55rem; }
.detail-price { font-size: 2.25rem; }
.price-range { margin: -12px 0 0; color: var(--brick); font-weight: 900; }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.detail-stat { border-radius: 8px; background: rgba(63, 125, 128, 0.06); padding: 12px; }
.detail-stat span,
.detail-options span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}
.detail-stat strong { display: block; margin-top: 6px; }
.detail-options { display: grid; gap: 10px; }

.community-grid,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.metric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card,
.game-preview,
.metric-card,
.idea-panel,
.legal-panel,
.page-note,
.admin-panel { padding: 22px; }
.feature-card--link {
  display: grid;
  min-height: 190px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.feature-card--link:hover,
.feature-card--link:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(107, 63, 54, 0.18);
}
.card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(63, 125, 128, 0.12);
  color: var(--teal);
  font-weight: 900;
  margin-bottom: 16px;
}
.idea-card {
  display: grid;
  gap: 8px;
}
.idea-card strong {
  color: var(--teal);
  font-size: 1.2rem;
}
.idea-list {
  grid-template-columns: minmax(0, 1fr);
  max-width: 920px;
  margin-inline: auto;
}
.idea-card--ranked {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 104px;
}
.idea-card--ranked .card-icon {
  margin: 0;
}
.idea-card--featured {
  border-color: rgba(31, 91, 69, 0.24);
  background:
    radial-gradient(circle at 96% 12%, rgba(120, 161, 92, 0.18), transparent 28%),
    rgba(255, 255, 249, 0.96);
}
.idea-card__body {
  min-width: 0;
}
.idea-status-badge {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-bottom: 4px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.08);
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  padding: 5px 8px;
  text-transform: uppercase;
}
.idea-card--featured .idea-status-badge {
  background: rgba(31, 91, 69, 0.16);
  color: var(--ink);
}
.idea-card__body h3 {
  font-size: 1.08rem;
}
.idea-card__body p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.4;
}
.idea-vote {
  display: grid;
  min-width: 74px;
  min-height: 64px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--matcha) 28%, #ffffff);
  border-radius: 16px;
  background: color-mix(in srgb, var(--matcha) 12%, #ffffff);
  color: #23362d;
  cursor: pointer;
  font-weight: 950;
}
.idea-vote span,
.idea-vote strong {
  display: block;
}
.idea-vote span {
  color: var(--matcha);
  font-size: 0.78rem;
}
.idea-vote strong {
  color: var(--ink);
  font-size: 1.3rem;
}
.idea-vote:disabled {
  cursor: default;
  opacity: 0.56;
}
.idea-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 20px;
  margin-top: 16px;
}
.idea-form,
.idea-form label {
  display: grid;
  gap: 12px;
}
.idea-form span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}
.idea-form input {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  padding: 0 14px;
}

.idea-brief {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.idea-brief div {
  min-width: 0;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
  padding: 10px;
}

.idea-brief span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.idea-brief strong {
  display: block;
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.25;
}

.idea-submit-status {
  margin: 0;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 10px;
  background: rgba(239, 248, 238, 0.78);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.3;
  padding: 9px 10px;
}

.idea-submit-status[data-state="manual"] {
  border-color: rgba(167, 117, 47, 0.22);
  background: rgba(255, 250, 236, 0.86);
  color: #80582e;
}

.idea-decision {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(239, 248, 238, 0.92), rgba(255, 253, 247, 0.88));
  padding: clamp(14px, 2vw, 20px);
}

.idea-decision h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.06;
}

.idea-decision p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 780;
  line-height: 1.38;
}

.idea-decision__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.idea-decision__actions a {
  display: grid;
  min-width: 0;
  gap: 6px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  padding: 12px;
  text-decoration: none;
}

.idea-decision__actions a:hover,
.idea-decision__actions a:focus-visible {
  border-color: rgba(31, 91, 69, 0.34);
  box-shadow: 0 12px 24px rgba(14, 45, 37, 0.1);
  transform: translateY(-1px);
}

.idea-decision__actions span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  font-weight: 950;
}

.idea-decision__actions strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.1;
}

.idea-decision__actions small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 780;
  line-height: 1.24;
}

.idea-starter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1.2fr);
  gap: 18px;
  margin-top: 18px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.95), rgba(238, 248, 249, 0.86));
  padding: clamp(16px, 2vw, 22px);
}

.idea-starter-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.05;
}

.idea-starter-panel p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 760;
  line-height: 1.42;
}

.idea-starter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-content: center;
}

.idea-starter-grid button,
.idea-starter-grid a {
  display: inline-flex;
  min-width: 0;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 950;
  padding: 9px 12px;
  text-align: center;
  text-decoration: none;
}

.idea-starter-grid a {
  grid-column: span 2;
  background: rgba(31, 91, 69, 0.1);
}

.idea-starter-grid button:hover,
.idea-starter-grid button:focus-visible,
.idea-starter-grid a:hover,
.idea-starter-grid a:focus-visible {
  background: var(--teal);
  color: var(--cream);
  transform: translateY(-1px);
}

.review-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: 22px;
  max-width: 920px;
  margin: 0 auto 18px;
  padding: 24px;
}

.review-panel__summary {
  display: grid;
  gap: 12px;
  align-content: center;
}

.review-panel__button {
  justify-self: start;
}

.review-panel__summary p:not(.eyebrow) {
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.55;
}

.review-link-grid {
  display: grid;
  gap: 10px;
}

.review-link-card {
  display: grid;
  gap: 5px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--matcha) 22%, #ffffff);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.review-link-card:hover,
.review-link-card:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--matcha) 45%, #ffffff);
  background: rgba(255, 255, 255, 0.92);
}

.review-link-card__topline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.review-link-card__topline .brand-logo {
  width: 34px;
  height: 34px;
}

.review-link-card__topline .brand-logo svg {
  width: 20px;
  height: 20px;
}

.review-link-card__topline > span:last-child {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.review-link-card strong {
  color: var(--teal);
  font-size: 1.04rem;
}

.review-link-card small {
  color: var(--muted);
  line-height: 1.35;
}

.review-link-card small::after {
  content: " ↗";
  color: var(--matcha);
  font-weight: 900;
}

.review-link-card--primary {
  border-color: color-mix(in srgb, var(--matcha) 38%, #ffffff);
  background: color-mix(in srgb, var(--matcha) 12%, #ffffff);
}

.review-copy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.review-copy-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.review-dialog {
  width: min(92vw, 620px);
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
}

.review-dialog::backdrop {
  background: rgba(10, 31, 28, 0.42);
  backdrop-filter: blur(7px);
}

.review-dialog__surface {
  position: relative;
  display: grid;
  gap: 14px;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid color-mix(in srgb, var(--matcha) 18%, #ffffff);
  border-radius: 14px;
  background: rgba(255, 255, 249, 0.96);
  box-shadow: 0 22px 70px rgba(14, 45, 37, 0.24);
}

.review-dialog__surface h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.review-dialog__surface p:not(.eyebrow) {
  max-width: 52ch;
  color: var(--muted);
  line-height: 1.55;
}

.review-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: clamp(22px, 5vw, 70px);
  padding: clamp(54px, 8vw, 108px) clamp(18px, 6vw, 88px);
  background:
    linear-gradient(180deg, rgba(255, 248, 220, 0.78), rgba(247, 223, 223, 0.8)),
    radial-gradient(circle at 84% 18%, rgba(63, 125, 128, 0.14), transparent 24%),
    radial-gradient(circle at 20% 20%, rgba(187, 106, 82, 0.12), transparent 24%);
}
.page-hero h1 {
  max-width: 880px;
  font-size: clamp(2.4rem, 7vw, 6.3rem);
}
.page-hero p:not(.eyebrow),
.page-note span,
.legal-panel p { color: var(--muted); line-height: 1.65; }
.page-note {
  display: grid;
  gap: 8px;
  align-self: stretch;
  align-content: end;
}
.page-note strong {
  color: var(--teal);
  font-size: 1.35rem;
}
.page-note--accent strong { color: var(--brick); }
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.legal-panel {
  max-width: 880px;
}
.hours-list {
  display: grid;
  gap: 8px;
  margin: 0;
}
.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.hours-list dt {
  color: var(--muted);
  font-weight: 900;
}
.hours-list dd {
  margin: 0;
  text-align: right;
}

.hours-list__closure dt,
.hours-list__closure dd {
  color: #8b4f32;
}

.message-nav-badge,
.admin-message-badge {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  margin-left: 6px;
  border-radius: 999px;
  background: #b23a2f;
  color: #fffdf4;
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1;
  padding: 0 6px;
}

.message-nav-badge[hidden] {
  display: none;
}

.chat-loading-panel,
.chat-auth-panel,
.chat-layout,
.chat-shell {
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 249, 0.84);
  box-shadow: 0 18px 44px rgba(14, 45, 37, 0.1);
}

.chat-loading-panel,
.chat-auth-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  max-width: 920px;
  padding: 22px;
}

.chat-loading-panel h3,
.chat-auth-panel h3,
.chat-room-panel h3,
.chat-thread-head h3 {
  margin: 0;
  color: var(--ink);
}

.chat-loading-panel p:not(.eyebrow),
.chat-auth-panel p:not(.eyebrow),
.chat-thread-head p:not(.eyebrow),
.chat-room-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.chat-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
}

.chat-room-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  border-right: 1px solid var(--line);
  padding: 16px;
}

.chat-room-panel__head {
  display: flex;
  gap: 10px;
  align-items: start;
  justify-content: space-between;
}

.chat-room-list {
  display: grid;
  gap: 8px;
}

.chat-room-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.chat-room-filters[hidden] {
  display: none;
}

.chat-room-filters button {
  min-height: 36px;
  border: 1px solid rgba(31, 91, 69, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
}

.chat-room-filters button:hover,
.chat-room-filters button:focus-visible,
.chat-room-filters button.is-active {
  background: var(--teal);
  color: var(--cream);
}

.chat-room-empty {
  margin: 0;
  border: 1px dashed rgba(31, 91, 69, 0.22);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
  padding: 12px;
}

.chat-room-button {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 68px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 11px 12px;
  text-align: left;
}

.chat-room-button span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.chat-room-button small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.chat-room-button .chat-room-state {
  width: fit-content;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  font-size: 0.68rem;
  padding: 3px 7px;
  text-transform: uppercase;
}

.chat-room-button em {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: #b23a2f;
  color: #fffdf4;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 950;
  padding: 0 7px;
}

.chat-room-button:hover,
.chat-room-button:focus-visible,
.chat-room-button.is-active {
  border-color: rgba(31, 91, 69, 0.34);
  background: rgba(31, 91, 69, 0.1);
}

.chat-shell {
  display: grid;
  grid-template-rows: auto minmax(260px, 1fr) auto auto;
  min-height: 620px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.chat-thread-head {
  border-bottom: 1px solid var(--line);
  padding: 18px;
}

.chat-messages {
  display: grid;
  align-content: end;
  gap: 12px;
  max-height: 520px;
  overflow: auto;
  padding: 18px;
}
.chat-messages article {
  max-width: 88%;
  border-radius: 8px;
  background: rgba(255, 248, 220, 0.75);
  padding: 12px 14px;
}
.chat-messages .visitor { justify-self: end; background: rgba(187, 106, 82, 0.14); }
.chat-messages p { margin: 5px 0 0; }
.chat-message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.chat-message-actions button {
  min-height: 28px;
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  padding: 4px 9px;
}
.chat-message-actions button:hover,
.chat-message-actions button:focus-visible {
  border-color: rgba(31, 91, 69, 0.34);
  background: rgba(239, 248, 238, 0.9);
}
.chat-room-note {
  min-height: 24px;
  padding: 0 18px 10px;
  font-weight: 850;
}
.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 12px;
}
.chat-form input,
.chat-form textarea,
.chat-form select,
.admin-command input,
.lock-card input {
  min-width: 0;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  padding: 0 14px;
}

.chat-form textarea {
  max-height: 180px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.35;
}

.chat-form select {
  appearance: none;
}
.icon-button { background: var(--teal); color: var(--cream); font-size: 1.35rem; }

@media (max-width: 720px) {
  .chat-layout {
    grid-template-columns: 1fr;
  }

  .chat-room-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .chat-form {
    grid-template-columns: minmax(0, 1fr) 48px;
  }

  .chat-form select,
  .chat-form textarea,
  .chat-form input:not(#chat-input) {
    grid-column: 1 / -1;
  }

  .chat-form .icon-button {
    grid-column: 1 / -1;
    min-height: 44px;
  }
}

.score-row { display: flex; align-items: center; justify-content: space-between; color: var(--muted); }
.score-row strong { font-size: 2rem; }
.bubble-button {
  display: grid;
  width: 100%;
  min-height: 220px;
  place-items: center;
  border: 1px solid rgba(63, 125, 128, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.62), transparent 22%),
    linear-gradient(140deg, rgba(63, 125, 128, 0.26), rgba(187, 106, 82, 0.28), rgba(255, 248, 220, 0.72));
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}
.bubble-button span {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.9), transparent 18%),
    #e9897b;
  box-shadow: 0 18px 35px rgba(187, 106, 82, 0.22);
}

.reaction-game {
  display: grid;
  gap: 16px;
}

.game-auth-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(23, 33, 28, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.player-chip {
  display: flex;
  min-width: 0;
  gap: 10px;
  align-items: center;
}

.player-chip strong,
.player-chip small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-chip small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.player-avatar,
.score-avatar {
  display: inline-grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 25%, rgba(255, 255, 255, 0.82), transparent 28%),
    var(--matcha);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 950;
}

.player-avatar img,
.score-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bubble-drop-scene {
  position: relative;
  min-height: 310px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(120px, 0.48fr);
  gap: 18px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(23, 33, 28, 0.1);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.86), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(244, 190, 112, 0.24), transparent 24%),
    linear-gradient(145deg, rgba(252, 244, 234, 0.96), rgba(255, 253, 247, 0.9));
  padding: clamp(18px, 4vw, 30px);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.bubble-drop-scene::before,
.bubble-drop-scene::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.bubble-drop-scene::before {
  width: 88px;
  height: 88px;
  right: 18%;
  bottom: 22px;
  background: rgba(127, 159, 84, 0.08);
}

.bubble-drop-scene::after {
  width: 42px;
  height: 42px;
  left: 24px;
  top: 28px;
  background: rgba(217, 142, 130, 0.14);
}

.bubble-tea-illustration {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: end center;
  z-index: 1;
}

.straw {
  position: absolute;
  z-index: 1;
  width: 18px;
  height: 230px;
  left: calc(50% + 42px);
  bottom: 54px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(135deg, #ffffff 0 15px, #d98e82 15px 28px);
  box-shadow: 0 8px 22px rgba(64, 48, 39, 0.14);
  transform: rotate(12deg);
}

.cup {
  position: relative;
  width: min(54vw, 230px);
  height: 230px;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.9);
  border-bottom-width: 9px;
  border-radius: 34px 34px 58px 58px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 26px 54px rgba(64, 48, 39, 0.18);
}

.tea-fill {
  position: absolute;
  inset: 68px 14px 14px;
  border-radius: 28px 28px 48px 48px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.42), transparent 20%),
    linear-gradient(180deg, #cde3a1 0%, #91b768 42%, #6f8f4e 100%);
}

.cup-shine {
  position: absolute;
  width: 34px;
  height: 128px;
  left: 30px;
  top: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  transform: rotate(8deg);
}

.cup-label {
  position: absolute;
  left: 50%;
  top: 112px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.88);
  color: var(--teal);
  font-weight: 950;
  transform: translateX(-50%) rotate(-4deg);
}

.cup-pearls,
.falling-pearls,
.tea-splash {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cup-pearls span,
.falling-pearls span,
.tea-splash span {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.56), transparent 20%),
    #2a211f;
}

.cup-pearls span:nth-child(1) { left: 42px; bottom: 28px; }
.cup-pearls span:nth-child(2) { left: 78px; bottom: 45px; }
.cup-pearls span:nth-child(3) { left: 116px; bottom: 28px; }
.cup-pearls span:nth-child(4) { right: 48px; bottom: 54px; }
.cup-pearls span:nth-child(5) { right: 36px; bottom: 25px; }

.falling-pearls {
  opacity: 0;
  transform: translateY(-58px);
}

.falling-pearls span:nth-child(1) { left: 38%; top: 0; }
.falling-pearls span:nth-child(2) { left: 47%; top: 22px; }
.falling-pearls span:nth-child(3) { left: 56%; top: 4px; }
.falling-pearls span:nth-child(4) { left: 43%; top: 52px; }
.falling-pearls span:nth-child(5) { left: 60%; top: 46px; }

.tea-splash {
  opacity: 0;
}

.tea-splash span {
  width: 14px;
  height: 14px;
  background: #f4be70;
}

.tea-splash span:nth-child(1) { left: 42%; top: 92px; }
.tea-splash span:nth-child(2) { left: 52%; top: 78px; }
.tea-splash span:nth-child(3) { left: 60%; top: 104px; }

.bubble-drop-scene.is-waiting .tea-fill {
  animation: teaPulse 900ms ease-in-out infinite alternate;
}

.bubble-drop-scene.is-ready {
  background:
    radial-gradient(circle at 20% 14%, rgba(255, 255, 255, 0.88), transparent 24%),
    linear-gradient(145deg, rgba(127, 159, 84, 0.24), rgba(255, 253, 247, 0.94));
  box-shadow: 0 24px 58px rgba(127, 159, 84, 0.22);
  transform: translateY(-2px);
}

.bubble-drop-scene.is-ready .falling-pearls {
  opacity: 1;
  animation: pearlDrop 720ms ease-in forwards;
}

.bubble-drop-scene.is-ready .tea-splash {
  opacity: 1;
  animation: splashPop 680ms ease-out infinite;
}

.bubble-drop-scene.is-fault {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.78), transparent 22%),
    linear-gradient(145deg, rgba(217, 142, 130, 0.28), rgba(255, 253, 247, 0.94));
}

.bubble-drop-status {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 2px;
}

.bubble-drop-status span {
  color: var(--teal);
  font-family: var(--display);
  font-size: clamp(2.1rem, 6vw, 3.8rem);
  line-height: 0.9;
}

.bubble-drop-status strong {
  color: var(--ink);
  font-size: clamp(2.4rem, 8vw, 5rem);
  line-height: 1;
}

.bubble-drop-status small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

@keyframes teaPulse {
  from { filter: saturate(0.95); transform: translateY(0); }
  to { filter: saturate(1.15); transform: translateY(-3px); }
}

@keyframes pearlDrop {
  from { transform: translateY(-70px); }
  to { transform: translateY(122px); }
}

@keyframes splashPop {
  0% { transform: translateY(0) scale(0.7); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translateY(-28px) scale(1.2); opacity: 0; }
}

.reaction-light {
  min-height: 250px;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 1px solid rgba(23, 33, 28, 0.1);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.68), transparent 22%),
    linear-gradient(145deg, rgba(248, 241, 233, 0.96), rgba(255, 253, 247, 0.9));
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.reaction-light span {
  width: min(38vw, 154px);
  height: min(38vw, 154px);
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.92), transparent 22%),
    #f1d38a;
  box-shadow: 0 22px 48px rgba(64, 48, 39, 0.16);
}

.reaction-light strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 3.7rem);
  line-height: 0.9;
}

.reaction-light.is-waiting span {
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.9), transparent 22%),
    #d98e82;
}

.reaction-light.is-ready {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.78), transparent 22%),
    linear-gradient(145deg, rgba(127, 159, 84, 0.3), rgba(255, 253, 247, 0.94));
  box-shadow: 0 24px 58px rgba(127, 159, 84, 0.2);
  transform: translateY(-2px);
}

.reaction-light.is-ready span {
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.94), transparent 22%),
    #7f9f54;
}

.reaction-light.is-fault span {
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.88), transparent 22%),
    #b86c55;
}

.reaction-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: end;
}

.reaction-controls label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reaction-controls input {
  min-width: 0;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  padding: 0 13px;
  font: inherit;
  font-weight: 800;
}

.reaction-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.reaction-stats article {
  padding: 13px;
  border: 1px solid rgba(23, 33, 28, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.reaction-stats span,
.reaction-stats strong {
  display: block;
}

.reaction-stats span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.reaction-stats strong {
  margin-top: 5px;
  color: var(--teal);
  font-size: 1.25rem;
}

.leaderboard-section {
  padding-top: 8px;
}

.games-section {
  padding-top: clamp(24px, 4vw, 44px);
}

.games-section > .section-heading {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.games-layout {
  width: min(1360px, calc(100vw - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(300px, 380px);
  justify-content: center;
  align-items: start;
  gap: clamp(16px, 3vw, 30px);
}

.game-stage {
  min-width: 0;
  display: grid;
  justify-items: center;
}

.game-stage .game-preview {
  width: 100%;
  max-width: 760px;
}

.leaderboard-card {
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(23, 33, 28, 0.1);
  border-radius: 26px;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: var(--shadow-soft);
}

.game-leaderboard-panel {
  position: sticky;
  top: 96px;
  width: 100%;
  max-width: none;
  max-height: calc(100vh - 116px);
  margin: 0;
  overflow: auto;
  scrollbar-width: thin;
}

.leaderboard-head {
  display: grid;
  gap: 4px;
  padding: 18px 18px 2px;
}

.leaderboard-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1;
}

.leaderboard-head .eyebrow {
  margin: 0;
}

.leaderboard-tabs {
  display: flex;
  gap: 8px;
  padding: 14px 16px 0;
}

.weekly-reward-card {
  display: grid;
  gap: 12px;
  margin: 14px 16px 0;
  padding: 14px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 10%, rgba(120, 161, 92, 0.2), transparent 30%),
    rgba(255, 255, 255, 0.72);
}

.weekly-reward-card[data-tone="gold"] {
  border-color: rgba(183, 137, 85, 0.34);
  background:
    radial-gradient(circle at 92% 10%, rgba(214, 176, 103, 0.28), transparent 30%),
    rgba(255, 252, 236, 0.86);
}

.weekly-reward-card[data-tone="muted"] {
  opacity: 0.82;
}

.weekly-reward-card span,
.weekly-reward-card dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.weekly-reward-card strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.1;
}

.weekly-reward-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.weekly-reward-card div,
.weekly-reward-card dd {
  min-width: 0;
}

.weekly-reward-card dd {
  margin: 2px 0 0;
  color: var(--teal);
  font-weight: 950;
}

.leaderboard-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 16px 4px;
}

.leaderboard-summary article {
  padding: 13px;
  border: 1px solid rgba(23, 33, 28, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.leaderboard-summary strong,
.leaderboard-summary span {
  display: block;
}

.leaderboard-summary strong {
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.1;
}

.leaderboard-summary span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.leaderboard-list {
  display: grid;
  gap: 8px;
  padding: 14px 16px 4px;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 34px 44px minmax(120px, 1fr) repeat(4, minmax(84px, auto)) minmax(90px, auto);
  gap: 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(23, 33, 28, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.leaderboard-row.is-local {
  border-color: color-mix(in srgb, var(--matcha) 36%, #ffffff);
  background: color-mix(in srgb, var(--matcha) 12%, #ffffff);
}

.rank {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(23, 33, 28, 0.08);
  color: var(--ink);
  font-weight: 950;
}

.player-name {
  overflow: hidden;
  color: var(--ink);
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.score-pill {
  display: grid;
  justify-items: start;
  gap: 2px;
  min-width: 76px;
}

.score-pill strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.score-pill small,
.score-date {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.performance-badge {
  justify-self: end;
  padding: 7px 9px;
  border-radius: 999px;
  color: #23362d;
  background: color-mix(in srgb, var(--matcha) 18%, #ffffff);
  font-size: 0.74rem;
  font-weight: 950;
  white-space: nowrap;
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--ink);
}

.leaderboard-table th,
.leaderboard-table td {
  padding: 15px 18px;
  border-bottom: 1px solid rgba(23, 33, 28, 0.08);
  text-align: left;
}

.leaderboard-table th {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.leaderboard-table td {
  font-weight: 850;
}

.leaderboard-table td:nth-child(1),
.leaderboard-table td:nth-child(3),
.leaderboard-table td:nth-child(4) {
  white-space: nowrap;
}

.leaderboard-table .is-local {
  background: color-mix(in srgb, var(--matcha) 14%, transparent);
}

.leaderboard-card > .button {
  margin: 14px 18px 18px;
}

.game-leaderboard-panel .leaderboard-summary {
  grid-template-columns: 1fr;
}

.game-leaderboard-panel .leaderboard-list {
  max-height: 52vh;
  overflow: auto;
  padding-bottom: 8px;
}

.game-leaderboard-panel .leaderboard-row {
  grid-template-columns: 30px 42px minmax(0, 1fr);
  gap: 8px 10px;
  align-items: center;
}

.game-leaderboard-panel .score-pill,
.game-leaderboard-panel .score-date,
.game-leaderboard-panel .performance-badge {
  grid-column: 3;
  justify-self: start;
}

.game-leaderboard-panel .score-pill {
  min-width: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.08);
}

.game-leaderboard-panel .performance-badge {
  margin-top: 2px;
}

.game-leaderboard-panel .score-date,
.game-leaderboard-panel .score-pill:nth-of-type(n+6) {
  display: none;
}

.admin-dashboard {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.admin-dashboard > .admin-workbench,
.admin-dashboard > .admin-editor-grid,
.admin-dashboard > [data-admin-view="products"],
.admin-dashboard > [data-admin-view="settings"],
.admin-dashboard > [data-admin-view="languages"] {
  grid-column: 1 / -1;
  min-width: 0;
}
.admin-staff-guide {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.admin-staff-guide article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 4px 10px;
  align-items: start;
  min-height: 126px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 249, 0.78);
  box-shadow: 0 16px 36px rgba(14, 45, 37, 0.08);
  padding: 14px;
}
.admin-staff-guide span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  font-weight: 950;
}
.admin-staff-guide strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.15;
}
.admin-staff-guide p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 760;
  line-height: 1.38;
}
.admin-staff-routine {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 249, 0.86);
  box-shadow: 0 18px 44px rgba(14, 45, 37, 0.09);
  padding: clamp(14px, 2vw, 20px);
}
.admin-staff-routine__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}
.admin-staff-routine__head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.04;
}
.admin-staff-routine__head p:not(.eyebrow) {
  max-width: 68ch;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 760;
  line-height: 1.36;
}
.admin-staff-routine__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}
.admin-staff-routine__actions .button {
  min-height: 38px;
  padding: 8px 12px;
}
.admin-staff-routine__more {
  position: relative;
}
.admin-staff-routine__more summary {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--teal);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  list-style: none;
  padding: 8px 12px;
}
.admin-staff-routine__more summary::-webkit-details-marker {
  display: none;
}
.admin-staff-routine__more summary::after {
  content: "+";
  margin-left: 8px;
  font-weight: 950;
}
.admin-staff-routine__more[open] summary::after {
  content: "-";
}
.admin-staff-routine__more > div {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 24;
  display: grid;
  width: min(360px, calc(100vw - 36px));
  gap: 7px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.98);
  box-shadow: 0 18px 42px rgba(14, 45, 37, 0.16);
  padding: 10px;
}
.admin-staff-routine__more .button {
  justify-content: center;
  width: 100%;
}
.admin-staff-routine__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 8px;
}
.admin-staff-service {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(238, 248, 249, 0.9), rgba(255, 253, 247, 0.88));
  padding: 12px;
}
.admin-staff-service[data-phase="service"] {
  border-color: rgba(31, 91, 69, 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(138, 181, 121, 0.18), transparent 30%),
    rgba(239, 248, 238, 0.9);
}
.admin-staff-service[data-phase="closing"] {
  border-color: rgba(167, 117, 47, 0.24);
  background:
    radial-gradient(circle at 100% 0%, rgba(206, 156, 63, 0.18), transparent 30%),
    rgba(255, 250, 236, 0.9);
}
.admin-staff-service__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  gap: 12px;
  align-items: center;
}
.admin-staff-service__main > div:first-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}
.admin-staff-service__main span,
.admin-staff-service__note span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-staff-service__main strong {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.08;
}
.admin-staff-service__main p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.32;
}
.admin-staff-service__main dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(58px, 1fr));
  gap: 6px;
  margin: 0;
}
.admin-staff-service__main dl div {
  display: grid;
  gap: 2px;
  min-width: 0;
  border: 1px solid rgba(31, 91, 69, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
  padding: 7px;
}
.admin-staff-service__main dt {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-staff-service__main dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 950;
  line-height: 1;
}
.admin-staff-service__phases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.admin-staff-service__phases button {
  min-height: 36px;
  border: 1px solid rgba(31, 91, 69, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 8px 10px;
}
.admin-staff-service__phases button.is-active,
.admin-staff-service__phases button:hover,
.admin-staff-service__phases button:focus-visible {
  border-color: rgba(31, 91, 69, 0.34);
  background: var(--teal);
  color: #fffdf7;
}
.admin-staff-service__actions {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, auto) minmax(180px, 1fr);
  gap: 8px;
  align-items: center;
}
.admin-staff-service__actions .button {
  min-height: 38px;
  padding: 8px 12px;
}
.admin-staff-service__actions small {
  min-width: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.admin-staff-service__owners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}
.admin-staff-service__owners article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  padding: 10px;
}
.admin-staff-service__owners article.is-active {
  border-color: rgba(167, 117, 47, 0.22);
  background: rgba(255, 250, 236, 0.72);
}
.admin-staff-service__owners article.is-current {
  border-color: rgba(31, 91, 69, 0.3);
  background: rgba(239, 248, 238, 0.9);
  box-shadow: 0 12px 24px rgba(14, 45, 37, 0.09);
}
.admin-staff-service__owners article.is-done {
  background: rgba(235, 247, 239, 0.72);
}
.admin-staff-service__owners div {
  display: grid;
  min-width: 0;
  gap: 2px;
}
.admin-staff-service__owners span {
  color: var(--teal);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-staff-service__owners strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.08;
}
.admin-staff-service__owners small {
  min-width: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 780;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.admin-staff-service__owners .button {
  min-height: 34px;
  padding: 7px 10px;
}
.admin-staff-service__note {
  display: grid;
  gap: 5px;
}
.admin-staff-service__note input {
  min-height: 38px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 249, 0.88);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 780;
  padding: 8px 10px;
}
.admin-staff-routine-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  padding: 12px;
}
.admin-staff-routine-card.is-done {
  background: rgba(235, 247, 239, 0.86);
}
.admin-staff-routine-card.is-active {
  border-color: rgba(31, 91, 69, 0.3);
  background: rgba(239, 248, 238, 0.9);
  box-shadow: 0 12px 24px rgba(14, 45, 37, 0.08);
}
.admin-staff-routine-card__check {
  min-width: 74px;
  min-height: 34px;
  border: 1px solid rgba(31, 91, 69, 0.18);
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.08);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}
.admin-staff-routine-card.is-done .admin-staff-routine-card__check {
  border-color: rgba(31, 91, 69, 0.28);
  background: var(--teal);
  color: #fff;
}
.admin-staff-routine-card.is-active .admin-staff-routine-card__check {
  border-color: rgba(31, 91, 69, 0.26);
  background: rgba(31, 91, 69, 0.16);
  color: var(--teal);
}
.admin-staff-routine-card__body {
  display: grid;
  min-width: 0;
  gap: 3px;
}
.admin-staff-routine-card__body span,
.admin-staff-routine-card__owner span {
  color: var(--teal);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-staff-routine-card__body strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.12;
}
.admin-staff-routine-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 740;
  line-height: 1.34;
}
.admin-staff-routine-card__owner {
  display: grid;
  grid-column: 1 / -1;
  gap: 5px;
}
.admin-staff-routine-card__owner input {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 249, 0.88);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 780;
  padding: 8px 10px;
}
.admin-staff-routine-card__presets {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 6px;
}
.admin-staff-routine-card__presets button {
  min-height: 30px;
  border: 1px solid rgba(31, 91, 69, 0.13);
  border-radius: 999px;
  background: rgba(238, 248, 249, 0.68);
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  padding: 7px 10px;
}
.admin-staff-routine-card__presets button:hover,
.admin-staff-routine-card__presets button:focus-visible,
.admin-staff-routine-card__presets button.is-active {
  border-color: rgba(31, 91, 69, 0.34);
  background: var(--teal);
  color: #fffdf7;
}
.admin-staff-routine-card > .button {
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
}
.admin-staff-handoff-log {
  display: grid;
  gap: 8px;
}
.admin-staff-handoff-log__latest,
.admin-staff-handoff-log__empty {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(238, 248, 249, 0.72);
  padding: 10px 12px;
}
.admin-staff-handoff-log__empty {
  grid-template-columns: 1fr;
  background: rgba(255, 255, 255, 0.56);
}
.admin-staff-handoff-log span {
  color: var(--teal);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-staff-handoff-log strong {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.12;
}
.admin-staff-handoff-log p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 760;
  line-height: 1.3;
}
.admin-priority-board {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(235, 247, 239, 0.88));
  box-shadow: 0 18px 44px rgba(14, 45, 37, 0.1);
  padding: clamp(16px, 2vw, 22px);
}
.admin-priority-board__head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 1fr);
  gap: 16px;
  align-items: end;
}
.admin-priority-board__head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1;
}
.admin-priority-board__head p:not(.eyebrow) {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  font-weight: 760;
  line-height: 1.38;
}
.admin-priority-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}
.admin-priority-command {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 14px;
  background:
    radial-gradient(circle at 98% 0%, rgba(138, 181, 121, 0.2), transparent 28%),
    rgba(255, 255, 249, 0.9);
  padding: 14px;
}
.admin-priority-command > div:first-child {
  display: grid;
  min-width: 0;
  gap: 4px;
}
.admin-priority-command span {
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-priority-command strong {
  color: var(--ink);
  font-size: clamp(1.08rem, 1.6vw, 1.45rem);
  line-height: 1.06;
}
.admin-priority-command p {
  max-width: 70ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 780;
  line-height: 1.35;
}
.admin-priority-command dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(58px, 1fr));
  gap: 6px;
  margin: 0;
}
.admin-priority-command dl div {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px solid rgba(31, 91, 69, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
  padding: 8px;
}
.admin-priority-command dt {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-priority-command dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 950;
  line-height: 1;
}
.admin-priority-command__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}
.admin-priority-command__actions .button {
  min-height: 38px;
  padding: 8px 12px;
  text-decoration: none;
}
.admin-priority-command--urgent {
  border-color: rgba(125, 45, 58, 0.24);
  background:
    radial-gradient(circle at 98% 0%, rgba(204, 96, 67, 0.15), transparent 28%),
    rgba(255, 248, 244, 0.92);
}
.admin-priority-command--manual {
  border-color: rgba(167, 117, 47, 0.24);
  background:
    radial-gradient(circle at 98% 0%, rgba(206, 156, 63, 0.16), transparent 28%),
    rgba(255, 250, 236, 0.92);
}
.admin-priority-command--ok {
  border-color: rgba(31, 91, 69, 0.2);
  background:
    radial-gradient(circle at 98% 0%, rgba(138, 181, 121, 0.18), transparent 28%),
    rgba(239, 248, 238, 0.92);
}
.admin-priority-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 154px;
  align-content: start;
  gap: 8px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 249, 0.86);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 14px;
  text-align: left;
}
.admin-priority-card:hover,
.admin-priority-card:focus-visible {
  border-color: rgba(31, 91, 69, 0.34);
  box-shadow: 0 16px 30px rgba(14, 45, 37, 0.12);
  transform: translateY(-1px);
}
.admin-priority-card span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-priority-card strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.12;
}
.admin-priority-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 760;
  line-height: 1.32;
}
.admin-priority-card em {
  position: absolute;
  right: 12px;
  bottom: 10px;
  display: grid;
  min-width: 34px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  font-style: normal;
  font-weight: 950;
}
.admin-priority-card--urgent {
  border-color: rgba(125, 45, 58, 0.28);
  background: rgba(255, 246, 244, 0.92);
}
.admin-priority-card--urgent em {
  background: rgba(125, 45, 58, 0.12);
  color: #7d2d3a;
}
.admin-priority-card--warning {
  border-color: rgba(167, 117, 47, 0.26);
  background: rgba(255, 250, 236, 0.94);
}
.admin-priority-card--manual {
  border-color: rgba(31, 91, 69, 0.18);
  background: rgba(238, 248, 249, 0.86);
}
.admin-priority-card--ok {
  background: rgba(247, 252, 245, 0.88);
}
.admin-handoff-links {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.admin-handoff-links article,
.admin-handoff-links a {
  display: grid;
  gap: 6px;
  min-height: 104px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 249, 0.78);
  box-shadow: 0 16px 36px rgba(14, 45, 37, 0.08);
  padding: 14px;
  text-decoration: none;
}
.admin-handoff-links article {
  background: rgba(238, 248, 249, 0.78);
}
.admin-handoff-links span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.35;
}
.admin-handoff-links article > span {
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 950;
}
.admin-handoff-links strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.15;
}
.admin-handoff-links a:hover,
.admin-handoff-links a:focus-visible {
  border-color: rgba(31, 91, 69, 0.32);
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}
.admin-section-nav {
  position: sticky;
  top: clamp(116px, 12vw, 154px);
  z-index: 18;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 18px;
  padding: 8px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 14px;
  background: rgba(248, 250, 244, 0.92);
  box-shadow: 0 18px 48px rgba(14, 45, 37, 0.14);
  backdrop-filter: blur(16px);
}
[data-admin-view] {
  scroll-margin-top: clamp(190px, 18vw, 250px);
}
.admin-section-nav a {
  position: relative;
  display: grid;
  gap: 3px;
  min-width: 0;
  min-height: 58px;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
}
.admin-section-nav strong,
.admin-section-nav span {
  overflow-wrap: anywhere;
}
.admin-section-nav strong {
  font-size: 0.9rem;
  line-height: 1.1;
}
.admin-section-nav span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 820;
  line-height: 1.2;
}
.admin-section-nav a:hover,
.admin-section-nav a:focus-visible,
.admin-section-nav a[aria-current="page"] {
  border-color: rgba(31, 91, 69, 0.24);
  background: rgba(31, 91, 69, 0.1);
}
.admin-section-nav a[data-badge]::after {
  content: attr(data-badge);
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid rgba(125, 45, 58, 0.18);
  border-radius: 999px;
  background: rgba(125, 45, 58, 0.95);
  color: #fffdf7;
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  padding: 0 5px;
}
.admin-section-nav a[aria-current="page"][data-badge]::after,
.admin-section-nav a:hover[data-badge]::after,
.admin-section-nav a:focus-visible[data-badge]::after {
  border-color: rgba(255, 253, 247, 0.44);
  background: var(--teal);
}
.admin-service-dock {
  position: sticky;
  top: 10px;
  z-index: 12;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 18px 38px rgba(14, 45, 37, 0.12);
  padding: 12px;
  backdrop-filter: blur(12px);
}
.admin-service-dock[data-state="alert"] {
  border-color: rgba(125, 45, 58, 0.28);
  background: rgba(255, 248, 244, 0.94);
}
.admin-service-dock[data-state="manual"] {
  border-color: rgba(167, 117, 47, 0.26);
  background: rgba(255, 250, 236, 0.94);
}
.admin-service-dock[data-state="ok"] {
  border-color: rgba(31, 91, 69, 0.22);
  background: rgba(239, 248, 238, 0.94);
}
.admin-service-dock > div:first-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}
.admin-service-dock > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.admin-service-dock span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-service-dock strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.1;
}
.admin-service-dock small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 820;
  line-height: 1.25;
}
.admin-service-dock .button {
  min-height: 38px;
  padding: 8px 12px;
  text-decoration: none;
}
.is-admin-view-hidden {
  display: none !important;
}
@media (max-width: 860px) {
  .admin-staff-routine__head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .admin-staff-routine__actions {
    justify-content: stretch;
  }

  .admin-staff-routine__actions .button {
    flex: 1 1 auto;
  }

  .admin-staff-routine__actions > .button {
    flex-basis: 100%;
  }

  .admin-staff-routine__more {
    width: 100%;
  }

  .admin-staff-routine__more summary {
    justify-content: center;
    width: 100%;
  }

  .admin-staff-routine__more > div {
    position: static;
    width: auto;
    margin-top: 8px;
  }

  .admin-staff-routine__grid {
    grid-template-columns: 1fr;
  }

  .admin-staff-service__main,
  .admin-staff-service__phases,
  .admin-staff-service__actions,
  .admin-staff-service__owners,
  .admin-staff-service__owners article {
    grid-template-columns: 1fr;
  }

  .admin-staff-service__actions .button,
  .admin-staff-service__owners .button {
    width: 100%;
  }

  .admin-staff-service__main dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-staff-routine-card {
    grid-template-columns: 1fr;
  }

  .admin-staff-routine-card__check {
    width: 100%;
  }

  .admin-staff-handoff-log__latest {
    grid-template-columns: 1fr;
  }

  .admin-staff-handoff-log__latest .button {
    width: 100%;
  }

  .admin-priority-board__head {
    grid-template-columns: 1fr;
  }

  .admin-priority-list {
    grid-template-columns: 1fr;
  }

  .admin-priority-command {
    grid-template-columns: 1fr;
  }

  .admin-priority-command dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-priority-command__actions {
    justify-content: stretch;
  }

  .admin-priority-command__actions .button {
    flex: 1 1 100%;
  }

  .admin-priority-card {
    min-height: 112px;
    padding-right: 58px;
  }

  .admin-contact-readiness {
    grid-template-columns: 1fr;
  }

  .admin-contact-readiness dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-contact-readiness > div:last-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-client-queue__head,
  .admin-client-queue__command,
  .admin-client-queue__active article,
  .admin-client-queue__item {
    grid-template-columns: 1fr;
  }

  .admin-client-queue__head .button,
  .admin-client-queue__command .button,
  .admin-client-queue__active .button {
    width: 100%;
  }

  .admin-client-queue__command > div:last-child,
  .admin-client-queue__active article > div:last-child {
    justify-content: stretch;
  }

  .admin-client-history summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .admin-client-history summary span,
  .admin-client-history summary strong {
    grid-column: 1;
  }

  .admin-client-history summary strong {
    white-space: normal;
  }

  .admin-client-queue__summary,
  .admin-client-queue__item > div:last-child {
    grid-template-columns: 1fr;
  }

  .admin-section-nav {
    position: relative;
    top: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 42vh;
    overflow-y: auto;
  }
  [data-admin-view] {
    scroll-margin-top: 28px;
  }
  .admin-section-nav a {
    min-height: 52px;
  }
  .admin-service-dock {
    position: relative;
    top: auto;
    grid-template-columns: 1fr;
  }
  .admin-service-dock > div:last-child {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }
  .admin-service-dock .button {
    width: 100%;
    justify-content: center;
  }
}
@media (min-width: 861px) and (max-width: 1180px) {
  .admin-section-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.admin-client-queue {
  display: grid;
  gap: 12px;
}
.admin-client-queue__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: end;
}
.admin-client-queue__head h3 {
  margin: 0;
}
.admin-client-queue__head p:not(.eyebrow) {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
  line-height: 1.35;
}
.admin-client-queue__list {
  display: grid;
  gap: 8px;
}
.admin-client-queue__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.admin-client-queue__command,
.admin-client-queue__active article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(239, 248, 238, 0.9), rgba(255, 253, 247, 0.86));
  padding: 12px;
}
.admin-client-queue__active {
  display: grid;
  gap: 8px;
}
.admin-client-queue__active article {
  border-color: rgba(31, 91, 69, 0.22);
  background: rgba(239, 248, 238, 0.92);
  box-shadow: 0 12px 24px rgba(14, 45, 37, 0.08);
}
.admin-client-queue__command > div:first-child,
.admin-client-queue__active article > div:first-child {
  display: grid;
  min-width: 0;
  gap: 4px;
}
.admin-client-queue__command > div:last-child,
.admin-client-queue__active article > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.admin-client-queue__command span,
.admin-client-queue__active span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-client-queue__command strong,
.admin-client-queue__active strong {
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.08;
}
.admin-client-queue__command p,
.admin-client-queue__command small,
.admin-client-queue__active small {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 790;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.admin-client-queue__summary div,
.admin-client-queue__empty {
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(239, 248, 238, 0.72);
  padding: 10px;
}
.admin-client-queue__summary span,
.admin-client-queue__item span {
  color: var(--teal);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-client-queue__summary strong {
  display: block;
  margin-top: 3px;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
}
.admin-client-queue__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px;
}
.admin-client-queue__item.is-message {
  border-color: rgba(125, 45, 58, 0.18);
  background: rgba(255, 248, 244, 0.78);
}
.admin-client-queue__item > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}
.admin-client-queue__item > div:last-child {
  grid-template-columns: repeat(auto-fit, minmax(92px, auto));
  justify-content: end;
}
.admin-client-queue__item strong,
.admin-client-queue__empty strong {
  color: var(--ink);
  line-height: 1.1;
}
.admin-client-queue__item p,
.admin-client-queue__item small,
.admin-client-queue__item em,
.admin-client-queue__empty p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.admin-client-queue__item em {
  width: fit-content;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.09);
  color: var(--teal);
  font-style: normal;
  font-weight: 900;
  padding: 5px 8px;
}
.admin-client-queue__item .button {
  min-height: 34px;
  padding: 7px 10px;
}
.admin-contact-value {
  display: block;
  color: var(--ink);
  font-weight: 820;
  overflow-wrap: anywhere;
}
.admin-contact-action {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  margin-top: 7px;
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 999px;
  background: rgba(238, 248, 249, 0.82);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  padding: 7px 10px;
  text-decoration: none;
}
.admin-contact-action:hover,
.admin-contact-action:focus-visible {
  border-color: rgba(31, 91, 69, 0.32);
  background: rgba(255, 255, 255, 0.94);
}
.admin-message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.admin-message-actions .admin-status-action {
  min-height: 30px;
  padding: 7px 9px;
}
.admin-message-actions [data-set-message-status="hidden"] {
  color: #9b3144;
}
.roadmap-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: clamp(18px, 3vw, 30px);
}
.roadmap-lane {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 100%;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-top: 5px solid rgba(31, 91, 69, 0.48);
  border-radius: 14px;
  background: rgba(255, 255, 249, 0.9);
  box-shadow: 0 16px 38px rgba(14, 45, 37, 0.09);
  padding: clamp(16px, 2vw, 22px);
}
.roadmap-lane--ready {
  border-top-color: #2c7659;
}
.roadmap-lane--manual {
  border-top-color: #bc7b37;
}
.roadmap-lane--later {
  border-top-color: #58696c;
}
.roadmap-lane > span {
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.roadmap-lane h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.3vw, 1.75rem);
  line-height: 1.08;
}
.roadmap-lane p,
.roadmap-lane ul {
  margin: 0;
  color: var(--muted);
  font-weight: 760;
  line-height: 1.45;
}
.roadmap-lane ul {
  display: grid;
  gap: 8px;
  padding-left: 1.05rem;
}
.roadmap-lane code {
  border-radius: 6px;
  background: rgba(31, 91, 69, 0.08);
  color: var(--ink);
  padding: 1px 5px;
}
.handoff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.handoff-card {
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 249, 0.86);
  box-shadow: 0 18px 44px rgba(14, 45, 37, 0.1);
  padding: clamp(18px, 2.4vw, 26px);
}
.handoff-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.08;
}
.handoff-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-weight: 760;
  line-height: 1.48;
}
.handoff-card code {
  border-radius: 6px;
  background: rgba(31, 91, 69, 0.08);
  color: var(--ink);
  padding: 1px 5px;
}
.delivery-proof-status {
  display: grid;
  gap: 9px;
}
.delivery-proof-status p {
  margin: 0;
  color: var(--muted);
  font-weight: 780;
  line-height: 1.4;
}
.delivery-proof-card {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(31, 91, 69, 0.13);
  border-left: 4px solid #bc7b37;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
  padding: 10px 11px;
}
.delivery-proof-card[data-proof-state="ok"] {
  border-left-color: #2c7659;
}
.delivery-proof-card span {
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.delivery-proof-card strong {
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.2;
}
.delivery-proof-card small {
  color: var(--muted);
  font-weight: 760;
  line-height: 1.35;
}
.admin-editor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.admin-panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}
.admin-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.admin-form-field {
  display: grid;
  gap: 7px;
}
.admin-form-field span,
.admin-form-group-title {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}
.admin-field-hint {
  display: block;
  margin-top: -2px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.35;
}
.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-table input,
.admin-table select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  padding: 8px 10px;
}
.admin-super-panel { max-width: 100%; }
.admin-super-panel small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 800;
}
.admin-super-panel code {
  font-size: 0.76rem;
  white-space: nowrap;
}
.admin-form textarea {
  min-height: 86px;
  resize: vertical;
}
.admin-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.admin-form-row--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-practical-hours {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(239, 248, 238, 0.82), rgba(255, 253, 247, 0.82));
  padding: 12px;
}

.admin-practical-hours__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
}

.admin-practical-hours__head > div:first-child,
.admin-closures-editor > div:first-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-practical-hours__head span,
.admin-closures-editor strong {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-practical-hours__head strong {
  color: var(--ink);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
  line-height: 1.05;
}

.admin-practical-hours__head small,
.admin-closures-editor small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
}

.admin-practical-hours__quick {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
}

.admin-practical-hours__quick .button,
.admin-practical-hour-row .button,
.admin-closure-row .button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.admin-practical-hours__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px;
}

.admin-practical-hour-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  padding: 8px;
}

.admin-practical-hour-row strong {
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.1;
}

.admin-closures-editor,
.admin-closure-list {
  display: grid;
  gap: 8px;
}

.admin-closure-row {
  display: grid;
  grid-template-columns: minmax(128px, 0.9fr) minmax(128px, 0.9fr) minmax(220px, 1.7fr) auto;
  gap: 8px;
  align-items: end;
  border-top: 1px solid rgba(31, 91, 69, 0.1);
  padding-top: 8px;
}

.admin-closure-row label {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-closure-row label span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .admin-practical-hours__head,
  .admin-closure-row {
    grid-template-columns: 1fr;
  }

  .admin-practical-hours__quick {
    justify-content: stretch;
  }

  .admin-practical-hours__quick .button {
    flex: 1 1 140px;
  }

  .admin-practical-hour-row {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .admin-practical-hour-row .button {
    grid-column: 2;
    justify-self: start;
  }
}
.admin-daily-message-box {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
}
.admin-daily-date {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
}
.admin-daily-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.admin-language-panel {
  grid-column: 1 / -1;
}
.admin-language-editor {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.42);
}
.admin-language-editor[hidden],
.admin-language-custom-panel[hidden] {
  display: none !important;
}
.admin-language-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 8px;
}
.admin-language-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 8px;
  align-items: center;
  min-height: 54px;
  padding: 8px 10px;
  border: 1px solid rgba(18, 51, 44, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.78);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.admin-language-choice span {
  display: inline-grid;
  min-width: 38px;
  min-height: 28px;
  place-items: center;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
}
.admin-language-choice strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-language-choice small {
  grid-column: 1 / -1;
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-language-choice.is-active {
  border-color: rgba(31, 91, 69, 0.3);
  background: rgba(31, 91, 69, 0.12);
  box-shadow: inset 0 0 0 1px rgba(31, 91, 69, 0.18);
}
.admin-language-choice[data-language-kind="custom"].is-active span {
  background: var(--teal);
  color: var(--cream);
}
.admin-language-rows,
.admin-local-copy-rows {
  display: grid;
  gap: 8px;
}
.admin-language-row {
  display: grid;
  grid-template-columns: minmax(64px, 0.45fr) minmax(130px, 1fr) minmax(120px, 1fr) minmax(80px, 0.55fr) auto;
  gap: 8px;
  align-items: center;
}
.admin-local-copy-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-local-copy-filters button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(18, 51, 44, 0.14);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.82);
  color: var(--teal);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
}
.admin-local-copy-filters button.is-active {
  background: var(--teal);
  color: var(--cream);
}
.admin-local-copy-filters strong {
  display: inline-grid;
  min-width: 24px;
  min-height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.12);
  font-size: 0.76rem;
}
.admin-local-copy-filters button.is-active strong {
  background: rgba(255, 253, 247, 0.2);
}
.admin-local-copy-row {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(280px, 1fr) auto;
  gap: 8px;
  align-items: start;
  padding: 8px;
  border: 1px solid rgba(18, 51, 44, 0.1);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.72);
}
.admin-local-copy-source,
.admin-local-copy-row label {
  display: grid;
  min-width: 0;
  gap: 6px;
}
.admin-local-copy-source__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}
.admin-local-copy-source__head > span {
  display: inline-grid;
  min-height: 32px;
  place-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.12);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-local-copy-row label > span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-local-copy-original {
  display: grid;
  gap: 3px;
  padding: 6px 8px;
  border: 1px dashed rgba(18, 51, 44, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}
.admin-local-copy-original span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}
.admin-local-copy-original p {
  margin: 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 780;
  line-height: 1.22;
}
.admin-local-copy-row textarea {
  min-height: 62px;
}
.admin-local-copy-row .button.danger {
  align-self: center;
}
.admin-save-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 5000;
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 14px;
  border: 1px solid rgba(31, 91, 69, 0.24);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 16px 42px rgba(18, 51, 44, 0.18);
  color: var(--ink);
  font-weight: 950;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.admin-save-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.admin-save-toast[data-state="ok"] {
  border-color: rgba(49, 104, 56, 0.28);
}
.admin-save-toast[data-state="warn"] {
  border-color: rgba(160, 100, 52, 0.28);
}
.admin-save-toast[data-state="manual"] {
  border-color: rgba(160, 100, 52, 0.3);
  background: rgba(255, 248, 235, 0.97);
}
.admin-save-toast[data-state="error"] {
  border-color: rgba(155, 57, 45, 0.36);
  background: rgba(255, 242, 239, 0.98);
  color: #7f2f25;
}
.site-action-toast {
  position: fixed;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 5200;
  width: max-content;
  max-width: min(420px, calc(100vw - 28px));
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: color-mix(in srgb, var(--deep-green, #103a2f) 86%, #ffffff 14%);
  box-shadow: 0 18px 52px rgba(6, 28, 24, 0.24);
  color: #ffffff;
  font-size: clamp(0.88rem, 2.6vw, 0.98rem);
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.site-action-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.site-action-toast[data-state="warn"] {
  background: #8d623e;
}
.site-action-toast[data-state="error"] {
  background: #8f352b;
}
.admin-save-note {
  min-height: 22px;
  color: var(--teal);
  font-weight: 900;
}
.admin-validation-note {
  margin: 12px 0 0;
}
.admin-validation-note[data-state="error"] {
  color: #9b392d;
}
.admin-validation-note[data-state="ok"] {
  color: #316838;
}
.admin-import {
  position: relative;
  overflow: hidden;
}
.admin-import input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.metric-card span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}
.metric-card strong { display: block; margin-top: 8px; font-size: clamp(1.6rem, 3vw, 2.6rem); }
.metric-card {
  border: 1px solid transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.metric-card:hover,
.metric-card:focus-visible {
  border-color: rgba(31, 91, 69, 0.28);
  transform: translateY(-1px);
}
.metric-card--attention {
  border-color: rgba(31, 91, 69, 0.26);
  background: rgba(238, 249, 236, 0.92);
}
.metric-card--attention span,
.metric-card--attention strong {
  color: var(--teal);
}
.metric-card--warning {
  border-color: rgba(183, 137, 85, 0.32);
  background: rgba(255, 248, 232, 0.92);
}
.metric-card--warning span,
.metric-card--warning strong {
  color: #80582e;
}
.admin-workbench {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.admin-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.admin-product-mode-switch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.76);
  padding: 12px;
}
.admin-product-mode-switch > div:first-child {
  display: grid;
  min-width: 0;
  gap: 2px;
}
.admin-product-mode-switch strong {
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.1;
}
.admin-product-mode-switch span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 820;
  line-height: 1.28;
}
.admin-product-mode-switch [role="group"] {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 210px;
  gap: 4px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  padding: 4px;
}
.admin-product-mode-switch button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 950;
  padding: 7px 12px;
}
.admin-product-mode-switch button.is-active,
.admin-product-mode-switch button:hover,
.admin-product-mode-switch button:focus-visible {
  background: var(--teal);
  color: var(--cream);
}
.admin-product-active-task {
  display: grid;
  gap: 8px;
}
.admin-product-active-task__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.2);
  border-radius: 14px;
  background: rgba(239, 248, 238, 0.92);
  box-shadow: 0 12px 24px rgba(14, 45, 37, 0.08);
  padding: 12px;
}
.admin-product-active-task__item.has-sync-warning {
  border-color: rgba(167, 117, 47, 0.3);
  background: rgba(255, 250, 236, 0.94);
}
.admin-product-active-task__item > div:first-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}
.admin-product-active-task__item > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.admin-product-active-task__item span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-product-active-task__item strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.1;
}
.admin-product-active-task__item small {
  min-width: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.28;
  overflow-wrap: anywhere;
}
.admin-live-challenge-active {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}
.admin-live-challenge-active[hidden] {
  display: none;
}
.admin-live-challenge-active__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.2);
  border-radius: 14px;
  background: rgba(239, 248, 238, 0.92);
  box-shadow: 0 12px 24px rgba(14, 45, 37, 0.08);
  padding: 12px;
}
.admin-live-challenge-active__item.is-paused {
  border-color: rgba(167, 117, 47, 0.3);
  background: rgba(255, 250, 236, 0.94);
}
.admin-live-challenge-active__item > div:first-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}
.admin-live-challenge-active__item > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.admin-live-challenge-active__item span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-live-challenge-active__item strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.1;
}
.admin-live-challenge-active__item small {
  min-width: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.28;
  overflow-wrap: anywhere;
}
.admin-workbench[data-product-mode="service"] #add-product,
.admin-workbench[data-product-mode="service"] .admin-product-quick-create,
.admin-workbench[data-product-mode="service"] .admin-technical-details,
.admin-workbench[data-product-mode="service"] .admin-product-menu-diagnostics {
  display: none;
}

.admin-workbench[data-product-mode="service"] .admin-product-preview-panel,
.admin-workbench[data-product-mode="service"] .admin-product-simple-editor,
.admin-workbench[data-product-mode="service"] .admin-product-view-plan,
.admin-workbench[data-product-mode="service"] .admin-product-status-pills,
.admin-workbench[data-product-mode="service"] .admin-product-category-pills {
  display: none;
}
.admin-product-save-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  max-width: 100%;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.15;
  padding: 8px 12px;
  overflow-wrap: anywhere;
}
.admin-product-save-state > span {
  min-width: 0;
}
.admin-product-save-undo {
  min-height: 26px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 950;
  padding: 4px 9px;
}
.admin-product-save-undo:hover,
.admin-product-save-undo:focus-visible {
  background: rgba(255, 255, 255, 0.96);
}
.admin-product-save-state[data-state="ok"] {
  border-color: rgba(31, 91, 69, 0.28);
  background: rgba(239, 248, 238, 0.92);
  color: var(--teal);
}
.admin-product-save-state[data-state="manual"] {
  border-color: rgba(125, 45, 58, 0.22);
  background: rgba(255, 248, 244, 0.9);
  color: #7d2d3a;
}

.admin-product-sync-note {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  max-width: min(430px, 100%);
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.15;
  padding: 8px 12px;
  overflow-wrap: anywhere;
}

.admin-product-sync-note[data-state="ok"] {
  border-color: rgba(31, 91, 69, 0.28);
  background: rgba(239, 248, 238, 0.92);
  color: var(--teal);
}

.admin-product-sync-note[data-state="warn"] {
  border-color: rgba(167, 117, 47, 0.28);
  background: rgba(255, 250, 236, 0.94);
  color: #80582e;
}

.admin-product-sync-note[data-state="error"] {
  border-color: rgba(125, 45, 58, 0.24);
  background: rgba(255, 248, 244, 0.92);
  color: #7d2d3a;
}
.admin-technical-panel {
  grid-column: 1 / -1;
  max-width: 100%;
}
.admin-technical-details {
  margin-top: 14px;
}
.admin-technical-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 14px;
}
.admin-technical-panel .admin-technical-actions {
  padding: 0;
}
.admin-technical-panel p {
  max-width: 76ch;
}
.admin-product-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(150px, 0.8fr)) auto;
  gap: 10px;
  align-items: end;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.admin-product-tool-head {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid rgba(31, 91, 69, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
}
.admin-product-tool-head > div {
  display: grid;
  gap: 2px;
  min-width: min(260px, 100%);
}
.admin-product-tool-head strong {
  color: var(--teal);
  font-size: 0.96rem;
}
.admin-product-tool-head span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}
.admin-product-tool-head .button {
  min-height: 38px;
  padding: 8px 12px;
}
.admin-product-tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.admin-product-tools output {
  min-width: 0;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 950;
  padding: 10px 12px;
  text-align: center;
}

.admin-hero--compact {
  padding-block: 16px;
}

.admin-hero--compact h1 {
  margin-bottom: 0;
}

.admin-page .admin-workbench > .admin-panel {
  padding: 16px;
}

.admin-page .admin-workbench > .admin-panel > p {
  margin-bottom: 10px;
}

.admin-product-data-panel {
  display: grid;
  gap: 12px;
  margin: 12px 0;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 249, 0.78);
  padding: 12px;
}

.admin-product-data-panel__head,
.admin-product-data-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.admin-product-data-panel__head strong,
.admin-product-data-note strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
}

.admin-product-data-panel__head span,
.admin-product-data-note p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 780;
  line-height: 1.35;
}

.admin-product-data-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.admin-product-data-toolbar {
  grid-template-columns: minmax(150px, 0.35fr) minmax(180px, 1fr);
}

.admin-product-data-board {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.admin-product-data-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.admin-product-data-card {
  display: grid;
  gap: 2px;
  min-height: 58px;
  border: 1px solid rgba(31, 91, 69, 0.15);
  border-radius: 8px;
  background: rgba(239, 248, 238, 0.72);
  color: var(--teal);
  padding: 8px;
  text-align: left;
}

.admin-product-data-card.is-active {
  border-color: rgba(31, 91, 69, 0.42);
  background: var(--teal);
  color: var(--cream);
}

.admin-product-data-card span {
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-data-card strong {
  font-size: 1.2rem;
  line-height: 1;
}

.admin-product-data-note {
  border: 1px dashed rgba(31, 91, 69, 0.18);
  border-radius: 8px;
  padding: 10px;
}

.admin-product-data-table-wrap {
  max-height: min(420px, 58svh);
}

.admin-product-data-table {
  min-width: 1120px;
}

.admin-product-data-table input,
.admin-product-data-table select {
  min-height: 36px;
}

.admin-product-data-table td[data-label="Ingredients"],
.admin-product-data-table td[data-label="Ingrédients"] {
  min-width: 340px;
}

.admin-product-data-table td[data-label^="Prix"] {
  min-width: 110px;
}

.admin-product-data-ingredients {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.admin-product-data-ingredients > div:first-child {
  display: flex;
  gap: 6px;
  align-items: baseline;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
}

.admin-product-data-ingredients > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 142px;
  overflow: auto;
}

.admin-product-data-ingredients label {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--teal);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 6px 9px;
}

.admin-product-data-ingredients label.is-selected {
  border-color: rgba(31, 91, 69, 0.42);
  background: var(--teal);
  color: var(--cream);
}

.admin-product-data-ingredients label.is-unavailable:not(.is-selected) {
  color: rgba(18, 51, 44, 0.5);
}

.admin-product-data-ingredients label.is-disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.admin-product-data-ingredients input {
  width: 14px;
  height: 14px;
  min-height: 0 !important;
  accent-color: var(--teal);
}

.admin-product-price-grid--readonly,
.admin-simple-price-grid--readonly {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-product-price-grid--readonly div,
.admin-simple-price-grid--readonly div {
  display: grid;
  gap: 2px;
  min-height: 44px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  padding: 8px;
}

.admin-product-price-grid--readonly strong,
.admin-simple-price-grid--readonly strong {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1;
}

.admin-product-price-grid--readonly small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 820;
  line-height: 1.25;
}

.admin-page .admin-editor-panel {
  display: grid;
  gap: 10px;
  order: -1;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 249, 0.86);
  box-shadow: 0 16px 36px rgba(14, 45, 37, 0.08);
  padding: 12px;
}

.admin-table-panel__head {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
  justify-content: space-between;
}

.admin-table-panel__head strong {
  color: var(--ink);
  font-size: 1rem;
}

.admin-table-panel__head span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.admin-page .admin-table-wrap--products {
  max-height: calc(100svh - 270px);
}

.admin-page .admin-table-wrap--products .admin-table {
  min-width: 1120px;
}

.admin-page .admin-table-wrap--products :is(th, td) {
  padding: 8px;
  vertical-align: top;
}

.admin-page .admin-table-wrap--products textarea {
  min-height: 44px;
  max-height: 74px;
}

.admin-product-cell--viability {
  min-width: 120px;
}

.admin-product-viability {
  display: grid;
  gap: 4px;
  min-width: 106px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 8px;
  background: rgba(239, 248, 238, 0.8);
  padding: 8px;
}

.admin-product-viability strong {
  color: var(--teal);
  font-size: 0.82rem;
  line-height: 1;
}

.admin-product-viability small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 820;
  line-height: 1.2;
}

.admin-product-viability[data-state="warn"] {
  border-color: rgba(154, 106, 69, 0.28);
  background: rgba(255, 248, 235, 0.82);
}

.admin-product-viability[data-state="warn"] strong {
  color: #80582e;
}

.admin-product-viability[data-state="error"] {
  border-color: rgba(125, 45, 58, 0.24);
  background: rgba(255, 248, 244, 0.88);
}

.admin-product-viability[data-state="error"] strong {
  color: #8d3140;
}
.admin-product-workbench-presets {
  display: grid;
  gap: 10px;
  margin: 12px 0;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.72);
  padding: 12px;
}
.admin-product-workbench-presets__head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.admin-product-workbench-presets__head > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}
.admin-product-workbench-presets__head strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.1;
}
.admin-product-workbench-presets__head span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.25;
}
.admin-product-workbench-presets__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
}
.admin-product-workbench-preset {
  display: grid;
  min-width: 0;
  min-height: 96px;
  align-content: start;
  gap: 5px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 10px;
  text-align: left;
}
.admin-product-workbench-preset span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-product-workbench-preset strong {
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
}
.admin-product-workbench-preset small {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 780;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-product-workbench-preset:hover,
.admin-product-workbench-preset:focus-visible {
  border-color: rgba(31, 91, 69, 0.34);
  box-shadow: 0 14px 26px rgba(14, 45, 37, 0.1);
  transform: translateY(-1px);
}
.admin-product-workbench-preset.is-alert {
  border-color: rgba(125, 45, 58, 0.25);
  background: rgba(255, 246, 244, 0.9);
}
.admin-product-workbench-preset.is-work,
.admin-product-workbench-preset.is-manual {
  border-color: rgba(167, 117, 47, 0.24);
  background: rgba(255, 250, 236, 0.9);
}
.admin-product-workbench-preset.is-visual {
  border-color: rgba(63, 125, 128, 0.26);
  background: rgba(238, 248, 249, 0.9);
}
.admin-product-workbench-preset.is-ready,
.admin-product-workbench-preset.is-ok {
  border-color: rgba(31, 91, 69, 0.16);
  background: rgba(247, 252, 245, 0.86);
}
.admin-product-view-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.admin-product-view-summary output {
  flex: 1 1 210px;
}
.admin-product-view-summary .button {
  min-height: 38px;
  padding: 8px 12px;
}

.admin-product-view-plan {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.74);
  padding: 12px;
}

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

.admin-product-view-plan__head > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.admin-product-view-plan__head strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.1;
}

.admin-product-view-plan__head span,
.admin-product-view-plan p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.28;
}

.admin-product-view-plan__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.admin-product-view-plan__grid button {
  display: grid;
  min-width: 0;
  gap: 4px;
  border: 1px solid rgba(31, 91, 69, 0.11);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 10px;
  text-align: left;
}

.admin-product-view-plan__grid span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-view-plan__grid strong {
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
}

.admin-product-view-plan__grid button.is-alert {
  border-color: rgba(125, 45, 58, 0.24);
  background: rgba(255, 246, 244, 0.9);
}

.admin-product-view-plan__grid button.is-work,
.admin-product-view-plan__grid button.is-manual {
  border-color: rgba(167, 117, 47, 0.24);
  background: rgba(255, 250, 236, 0.9);
}

.admin-product-view-plan__grid button.is-visual {
  border-color: rgba(87, 104, 164, 0.24);
  background: rgba(246, 248, 255, 0.9);
}

.admin-product-health-card.is-visual {
  border-color: rgba(87, 104, 164, 0.24);
  background: rgba(246, 248, 255, 0.9);
}

.admin-product-view-plan__grid button.is-ready,
.admin-product-view-plan__grid button.is-ok {
  border-color: rgba(31, 91, 69, 0.16);
  background: rgba(247, 252, 245, 0.86);
}

.admin-product-view-plan__grid button:hover,
.admin-product-view-plan__grid button:focus-visible {
  border-color: rgba(31, 91, 69, 0.34);
  box-shadow: 0 12px 24px rgba(14, 45, 37, 0.1);
  transform: translateY(-1px);
}

.admin-product-view-plan__inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-product-view-plan__inline-actions .button {
  min-height: 34px;
}

.admin-product-view-plan__queue {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.admin-product-view-plan__queue button {
  display: grid;
  min-width: 0;
  min-height: 86px;
  align-content: start;
  gap: 4px;
  border: 1px solid rgba(31, 91, 69, 0.11);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 10px;
  text-align: left;
}

.admin-product-view-plan__queue span {
  color: var(--teal);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-view-plan__queue strong,
.admin-product-view-plan__queue small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-product-view-plan__queue strong {
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.1;
  white-space: nowrap;
}

.admin-product-view-plan__queue small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 780;
  line-height: 1.2;
}

.admin-product-view-plan__queue button.is-alert {
  border-color: rgba(125, 45, 58, 0.24);
  background: rgba(255, 246, 244, 0.9);
}

.admin-product-view-plan__queue button.is-work,
.admin-product-view-plan__queue button.is-manual {
  border-color: rgba(167, 117, 47, 0.24);
  background: rgba(255, 250, 236, 0.9);
}

.admin-product-view-plan__queue button.is-ready {
  border-color: rgba(31, 91, 69, 0.16);
  background: rgba(247, 252, 245, 0.86);
}

.admin-product-view-plan__queue button:hover,
.admin-product-view-plan__queue button:focus-visible {
  border-color: rgba(31, 91, 69, 0.34);
  box-shadow: 0 12px 24px rgba(14, 45, 37, 0.1);
  transform: translateY(-1px);
}

.admin-product-view-plan__done {
  border: 1px solid rgba(31, 91, 69, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
  padding: 10px;
}

.admin-product-status-pills,
.admin-product-category-pills {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.admin-product-category-pills {
  padding-top: 2px;
}
.admin-product-status-pills button,
.admin-product-category-pills button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 8px 12px;
}
.admin-product-status-pills button:hover,
.admin-product-status-pills button:focus-visible,
.admin-product-status-pills button.is-active,
.admin-product-category-pills button:hover,
.admin-product-category-pills button:focus-visible,
.admin-product-category-pills button.is-active {
  border-color: rgba(31, 91, 69, 0.36);
  background: rgba(31, 91, 69, 0.1);
  box-shadow: 0 10px 22px rgba(18, 59, 50, 0.09);
}
.admin-product-category-pills button.is-active {
  background: rgba(31, 91, 69, 0.92);
  color: #fffdf7;
}
.admin-product-status-pills strong,
.admin-product-category-pills strong {
  min-width: 24px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.76rem;
  padding: 3px 7px;
  text-align: center;
}
.admin-collapsible {
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 249, 0.66);
}
.admin-collapsible + .admin-collapsible,
.admin-panel + .admin-collapsible {
  margin-top: 14px;
}
.admin-collapsible summary {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  color: var(--teal);
  cursor: pointer;
  font-weight: 950;
  list-style: none;
  padding: 13px 16px;
}
.admin-collapsible summary::-webkit-details-marker {
  display: none;
}
.admin-collapsible summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  font-size: 1rem;
}
.admin-collapsible[open] summary::after {
  content: "-";
}
.admin-collapsible summary small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}
.admin-product-preview-panel {
  margin-top: 14px;
}
.admin-product-preview-panel .admin-product-preview,
.admin-product-preview-panel .admin-client-preview {
  margin-inline: 14px;
}
.admin-product-preview-panel .admin-client-preview {
  margin-bottom: 14px;
}
.admin-product-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.admin-product-card {
  display: grid;
  gap: 6px;
  min-height: 132px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
  cursor: pointer;
  padding: 12px;
  text-align: left;
}
.admin-product-card:hover,
.admin-product-card:focus-visible {
  border-color: rgba(31, 91, 69, 0.34);
  box-shadow: 0 14px 26px rgba(18, 59, 50, 0.12);
  transform: translateY(-1px);
}
.admin-product-card.is-selected {
  border-color: rgba(31, 91, 69, 0.42);
  background: rgba(239, 248, 238, 0.9);
  box-shadow: inset 0 0 0 1px rgba(31, 91, 69, 0.12);
}
.admin-product-card.has-availability-warning {
  border-color: rgba(155, 57, 45, 0.26);
  background: rgba(255, 246, 238, 0.82);
}
.admin-product-card.has-publication-issues:not(.has-availability-warning) {
  border-color: rgba(187, 134, 37, 0.24);
  background: rgba(255, 250, 235, 0.78);
}
.admin-product-card.is-ready:not(.has-availability-warning) {
  border-color: rgba(31, 91, 69, 0.18);
}
.admin-product-card strong {
  font-size: 1rem;
  line-height: 1.08;
}
.admin-product-card small,
.admin-product-card em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
}
.admin-product-card__price,
.admin-product-card__readiness {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 950;
  line-height: 1.12;
  overflow-wrap: anywhere;
  padding: 5px 8px;
}
.admin-product-card__pin {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.92);
  color: #fffdf7;
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1.1;
  padding: 5px 8px;
}
.admin-product-card__price {
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
}
.admin-product-card__readiness.is-ready {
  background: rgba(69, 133, 72, 0.14);
  color: #316838;
}
.admin-product-card__readiness.has-issues {
  background: rgba(125, 45, 58, 0.12);
  color: #7d2d3a;
}
.admin-product-card__next {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px solid rgba(31, 91, 69, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
  padding: 8px;
}
.admin-product-card__next b {
  color: var(--teal);
  font-size: 0.66rem;
  line-height: 1.1;
  text-transform: uppercase;
}
.admin-product-card__next small {
  display: -webkit-box;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 780;
  line-height: 1.22;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.admin-product-card__next.is-alert {
  border-color: rgba(125, 45, 58, 0.18);
  background: rgba(255, 248, 244, 0.82);
}
.admin-product-card__next.is-work {
  border-color: rgba(187, 134, 37, 0.2);
  background: rgba(255, 250, 235, 0.82);
}
.admin-product-card__next.is-ready,
.admin-product-card__next.is-ok {
  border-color: rgba(31, 91, 69, 0.16);
  background: rgba(239, 248, 238, 0.78);
}
.admin-product-card__next.is-visual {
  border-color: rgba(87, 104, 164, 0.2);
  background: rgba(246, 248, 255, 0.82);
}
.admin-availability-note {
  display: block;
  margin-top: 6px;
  color: #9b392d;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.25;
}
.admin-status-badge {
  width: max-content;
  border-radius: 999px;
  background: rgba(63, 125, 128, 0.1);
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  padding: 5px 8px;
  text-transform: uppercase;
}
.admin-status-badge--published {
  background: rgba(69, 133, 72, 0.14);
  color: #316838;
}
.admin-status-badge--draft {
  background: rgba(183, 137, 85, 0.16);
  color: #80582e;
}
.admin-status-badge--unavailable,
.admin-status-badge--hidden {
  background: rgba(112, 116, 108, 0.14);
  color: #646960;
}
.admin-empty-state {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.admin-empty-state--actionable {
  display: grid;
  gap: 8px;
  justify-items: start;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.76);
  padding: 14px;
}

.admin-empty-state--actionable strong {
  color: var(--ink);
}

.admin-empty-state--actionable p {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 780;
  line-height: 1.35;
}

.admin-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-empty-actions .button {
  min-height: 36px;
  padding: 8px 11px;
}

.admin-client-preview {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-top: 14px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 249, 0.76);
  padding: 14px;
}
.admin-client-preview__media {
  display: grid;
  place-items: center;
  min-height: 170px;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(circle at 20% 20%, rgba(138, 181, 121, 0.28), transparent 32%),
    linear-gradient(145deg, rgba(31, 91, 69, 0.18), rgba(255, 255, 255, 0.52));
}
.admin-client-preview__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-client-preview__media span {
  color: var(--teal);
  font-size: 2.2rem;
  font-weight: 950;
}
.admin-client-preview__body {
  display: grid;
  gap: 10px;
  align-content: start;
}
.admin-client-preview__topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}
.admin-client-preview__topline strong {
  color: var(--teal);
  font-size: 0.9rem;
}
.admin-client-preview h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}
.admin-client-preview p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.admin-client-preview__subtitle {
  color: var(--ink) !important;
  font-weight: 850;
}
.admin-client-preview__warning {
  color: #9b392d !important;
  font-weight: 850;
}
.admin-client-preview__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.admin-client-preview__tags span {
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.08);
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
  padding: 6px 8px;
}
.admin-client-preview__facts {
  display: grid;
  gap: 8px;
  margin: 0;
}
.admin-client-preview__facts div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(31, 91, 69, 0.1);
}
.admin-client-preview__facts dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-client-preview__facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 780;
  line-height: 1.35;
}

.admin-product-simple-editor {
  display: grid;
  gap: 16px;
  margin-top: 14px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.82);
  padding: 16px;
}

.admin-product-quick-create {
  display: grid;
  grid-template-columns: minmax(210px, 0.9fr) minmax(220px, 0.8fr) minmax(280px, 1.2fr) minmax(180px, 0.7fr);
  gap: 12px;
  align-items: end;
  margin: 14px 0;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.78);
  padding: 14px;
}

.admin-product-quick-create strong {
  color: var(--ink);
  font-size: 1rem;
}

.admin-product-quick-create p {
  max-width: 48ch;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.34;
}

.admin-product-template-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.admin-product-template-list .button {
  min-height: 38px;
  padding: 8px 10px;
}

.admin-product-template-list .button.is-active,
.admin-product-template-list .button:hover,
.admin-product-template-list .button:focus-visible {
  border-color: rgba(31, 91, 69, 0.34);
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
}

.admin-product-template-preview {
  display: grid;
  grid-column: 1 / -1;
  gap: 5px;
  min-width: 0;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
  padding: 11px 12px;
}

.admin-product-template-preview span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-template-preview strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.1;
}

.admin-product-template-preview small,
.admin-product-template-preview em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.admin-product-create-actions {
  display: grid;
  gap: 7px;
  align-self: stretch;
  align-content: center;
  min-width: 0;
}

.admin-product-create-actions .button {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
}

.admin-product-create-actions small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.25;
}

.admin-product-menu-health {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 14px;
  background: rgba(247, 252, 245, 0.84);
  padding: 14px;
}

.admin-product-menu-health__head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.admin-product-menu-health__head > div {
  display: grid;
  gap: 2px;
}

.admin-product-menu-health__head strong {
  color: var(--ink);
  font-size: 1rem;
}

.admin-product-menu-health__head span,
.admin-product-menu-health__note {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 820;
  line-height: 1.3;
}

.admin-product-menu-health__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}

.admin-product-menu-health__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-product-menu-health__recommendation {
  flex: 1 1 220px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.admin-product-menu-health__actions .button {
  min-height: 38px;
  padding: 8px 12px;
}

.admin-product-menu-health__actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.54;
}

.admin-product-service-express {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.86);
  padding: 12px;
}

.admin-product-service-express.is-alert {
  border-color: rgba(125, 45, 58, 0.24);
  background: rgba(255, 248, 244, 0.9);
}

.admin-product-service-express.is-ok {
  background: rgba(239, 248, 238, 0.9);
}

.admin-product-service-express__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.admin-product-service-express__main > div:first-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.admin-product-service-express__main span,
.admin-product-service-express__metric span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-service-express__main strong {
  color: var(--ink);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.05;
}

.admin-product-service-express__main small,
.admin-product-service-express__metric small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.admin-product-service-express__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-product-service-express__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.admin-product-service-express__metric {
  display: grid;
  min-width: 0;
  gap: 4px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font: inherit;
  padding: 10px;
  text-align: left;
}

.admin-product-service-express__metric strong {
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
}

.admin-product-service-express__metric.is-alert {
  border-color: rgba(125, 45, 58, 0.22);
  background: rgba(255, 248, 244, 0.88);
}

.admin-product-service-express__metric.is-ready,
.admin-product-service-express__metric.is-ok {
  border-color: rgba(31, 91, 69, 0.18);
  background: rgba(239, 248, 238, 0.82);
}

.admin-product-service-express__metric.is-manual {
  border-color: rgba(167, 117, 47, 0.24);
  background: rgba(255, 250, 236, 0.88);
}

.admin-product-service-express__safe {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

.admin-product-service-safe-fix {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 10px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 9px 10px;
  text-align: left;
}

.admin-product-service-safe-fix:disabled {
  cursor: default;
  opacity: 0.64;
}

.admin-product-service-safe-fix span {
  grid-column: 2;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.admin-product-service-safe-fix strong {
  grid-row: 1 / span 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  font-size: 1rem;
  line-height: 1;
}

.admin-product-service-safe-fix small {
  grid-column: 2;
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-product-service-safe-fix.is-ready {
  border-color: rgba(31, 91, 69, 0.22);
  background: rgba(239, 248, 238, 0.9);
}

.admin-product-service-safe-fix.is-ready:hover,
.admin-product-service-safe-fix.is-ready:focus-visible {
  border-color: rgba(31, 91, 69, 0.34);
  box-shadow: 0 10px 20px rgba(14, 45, 37, 0.09);
  transform: translateY(-1px);
}

.admin-service-checklist {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.78);
  padding: 12px;
}

.admin-service-checklist__head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.admin-service-checklist__head > div {
  display: grid;
  gap: 2px;
}

.admin-service-checklist__head span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-service-checklist__head strong {
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.05;
}

.admin-service-checklist__head small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-service-checklist__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.admin-service-checkitem {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
  padding: 10px;
}

.admin-service-checkitem > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.admin-service-checkitem strong,
.admin-service-checkitem small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-service-checkitem strong {
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.12;
}

.admin-service-checkitem small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 780;
  line-height: 1.28;
}

.admin-service-checkitem .button {
  grid-column: 1 / -1;
  min-height: 34px;
  padding: 7px 10px;
}

.admin-service-checkitem__toggle {
  display: grid;
  width: 58px;
  min-height: 34px;
  place-items: center;
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1;
}

.admin-service-checkitem.is-done .admin-service-checkitem__toggle {
  border-color: rgba(31, 91, 69, 0.28);
  background: var(--teal);
  color: var(--cream);
}

.admin-service-checkitem.is-alert {
  border-color: rgba(125, 45, 58, 0.24);
  background: rgba(255, 248, 244, 0.9);
}

.admin-service-checkitem.is-work,
.admin-service-checkitem.is-manual {
  border-color: rgba(167, 117, 47, 0.24);
  background: rgba(255, 250, 236, 0.9);
}

.admin-service-checkitem.is-ready,
.admin-service-checkitem.is-ok {
  border-color: rgba(31, 91, 69, 0.18);
  background: rgba(247, 252, 245, 0.92);
}

.admin-product-service-mission {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(238, 248, 249, 0.84));
  box-shadow: 0 16px 34px rgba(14, 45, 37, 0.09);
  padding: 14px;
}

.admin-product-service-mission.is-alert {
  border-color: rgba(125, 45, 58, 0.26);
  background:
    linear-gradient(135deg, rgba(255, 248, 244, 0.96), rgba(255, 253, 247, 0.9));
}

.admin-product-service-mission.is-ok {
  border-color: rgba(31, 91, 69, 0.2);
  background:
    linear-gradient(135deg, rgba(247, 252, 245, 0.98), rgba(255, 253, 247, 0.88));
}

.admin-product-service-mission__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.admin-product-service-mission__head > div:first-child,
.admin-product-service-mission__step {
  min-width: 0;
}

.admin-product-service-mission__head > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}

.admin-product-service-mission__head span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-service-mission__head strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.04;
}

.admin-product-service-mission__head small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
}

.admin-product-service-mission__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.admin-product-service-mission__step {
  position: relative;
  display: grid;
  min-height: 178px;
  align-content: start;
  gap: 6px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 12px 12px 42px;
  text-align: left;
}

.admin-product-service-mission__step:hover,
.admin-product-service-mission__step:focus-visible {
  border-color: rgba(31, 91, 69, 0.34);
  box-shadow: 0 12px 24px rgba(14, 45, 37, 0.11);
  transform: translateY(-1px);
}

.admin-product-service-mission__step em {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  font-style: normal;
  font-weight: 950;
}

.admin-product-service-mission__step span {
  color: var(--teal);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-service-mission__step strong,
.admin-product-service-mission__step small,
.admin-product-service-mission__step b {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-product-service-mission__step strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.12;
}

.admin-product-service-mission__step small,
.admin-product-service-mission__step b {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 780;
  line-height: 1.26;
}

.admin-product-service-mission__step b {
  color: #365f53;
}

.admin-product-service-mission__step i {
  position: absolute;
  right: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  overflow: hidden;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  padding: 7px 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-product-service-mission__step.is-alert {
  border-color: rgba(125, 45, 58, 0.26);
  background: rgba(255, 248, 244, 0.9);
}

.admin-product-service-mission__step.is-ready {
  border-color: rgba(31, 91, 69, 0.22);
  background: rgba(239, 248, 238, 0.9);
}

.admin-product-service-mission__step.is-work,
.admin-product-service-mission__step.is-manual {
  border-color: rgba(167, 117, 47, 0.24);
  background: rgba(255, 250, 236, 0.9);
}

.admin-product-service-mission__step.is-ok {
  border-color: rgba(31, 91, 69, 0.18);
  background: rgba(247, 252, 245, 0.92);
}

.admin-product-service-queue {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.82);
  padding: 12px;
}

.admin-product-service-queue__head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.admin-product-service-queue__head > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.admin-product-service-queue__head > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-product-service-queue__head span,
.admin-product-service-queue__item span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-service-queue__head strong {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.08;
}

.admin-product-service-queue__list {
  display: grid;
  gap: 8px;
}

.admin-product-service-queue__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
  padding: 10px;
}

.admin-product-service-queue__item > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.admin-product-service-queue__item > div:last-child {
  grid-template-columns: repeat(3, minmax(74px, auto));
  align-items: center;
}

.admin-product-service-queue__item strong,
.admin-product-service-queue__item small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-product-service-queue__item strong {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.08;
}

.admin-product-service-queue__item small,
.admin-product-service-queue__empty {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 790;
  line-height: 1.28;
}

.admin-product-service-queue__item .button {
  min-height: 34px;
  padding: 7px 10px;
}

.admin-product-service-queue__item.is-alert {
  border-color: rgba(125, 45, 58, 0.24);
  background: rgba(255, 248, 244, 0.9);
}

.admin-product-service-queue__item.is-work,
.admin-product-service-queue__item.is-manual {
  border-color: rgba(167, 117, 47, 0.24);
  background: rgba(255, 250, 236, 0.9);
}

.admin-product-service-queue__item.is-ready {
  border-color: rgba(31, 91, 69, 0.22);
  background: rgba(239, 248, 238, 0.9);
}

.admin-product-service-queue__empty {
  margin: 0;
}

.admin-product-daily-menu {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(239, 248, 238, 0.92), rgba(255, 253, 247, 0.86));
  padding: 12px;
}

.admin-product-daily-menu__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.admin-product-daily-menu__head > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.admin-product-daily-menu__head > div:last-child {
  grid-template-columns: repeat(auto-fit, minmax(112px, auto));
  justify-content: end;
  align-items: center;
}

.admin-product-daily-menu__main-action {
  min-width: 164px;
}

.admin-product-daily-menu__head span,
.admin-product-daily-menu__selection span,
.admin-product-daily-menu__publish span,
.admin-product-daily-menu__category span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-daily-menu__head strong,
.admin-product-daily-menu__selection strong,
.admin-product-daily-menu__publish strong {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.08;
}

.admin-product-daily-menu__head small,
.admin-product-daily-menu__selection small,
.admin-product-daily-menu__publish small,
.admin-product-daily-menu__category small,
.admin-product-daily-menu__empty {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 790;
  line-height: 1.28;
}

.admin-product-daily-menu__selection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  padding: 10px;
}

.admin-product-daily-menu__publish {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
  padding: 10px;
}

.admin-product-daily-menu__publish-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.admin-product-daily-menu__publish-head > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.admin-product-daily-menu__publish-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.admin-product-daily-menu__publish-step {
  display: grid;
  min-width: 0;
  min-height: 100%;
  gap: 4px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 10px;
  background: rgba(255, 253, 247, 0.78);
  cursor: pointer;
  font: inherit;
  padding: 9px;
  text-align: left;
}

.admin-product-daily-menu__publish-step.is-done {
  border-color: rgba(31, 91, 69, 0.34);
  background: rgba(223, 242, 227, 0.92);
}

.admin-product-daily-menu__publish-step.is-done span {
  color: var(--teal-dark);
}

.admin-product-daily-menu__selection > div:first-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.admin-product-daily-menu__selection-actions,
.admin-product-daily-menu__products {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-product-daily-menu__selection-actions {
  justify-content: flex-end;
}

.admin-product-daily-menu__chip {
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
  max-width: 100%;
  min-height: 30px;
  overflow-wrap: anywhere;
  padding: 6px 9px;
}

.admin-product-daily-menu__chip.is-selected {
  border-color: rgba(31, 91, 69, 0.34);
  background: rgba(223, 242, 227, 0.92);
  color: var(--teal);
}

.admin-product-daily-menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px;
}

.admin-product-daily-menu__category {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 4px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
  padding: 10px;
}

.admin-product-daily-menu__category strong {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
}

.admin-product-daily-menu__category small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-product-daily-menu__products {
  margin-top: 4px;
}

.admin-product-daily-menu__empty {
  margin: 0;
}

.admin-product-menu-intents {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.78);
  padding: 12px;
}

.admin-product-menu-intents__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
}

.admin-product-menu-intents__head span {
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-menu-intents__head strong {
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1;
}

.admin-product-menu-intents__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.admin-product-menu-intent {
  display: grid;
  min-width: 0;
  min-height: 138px;
  align-content: start;
  gap: 7px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 12px;
  text-align: left;
}

.admin-product-menu-intent span {
  color: var(--teal);
  font-size: 0.64rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-menu-intent strong,
.admin-product-menu-intent small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-product-menu-intent strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.12;
}

.admin-product-menu-intent small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 780;
  line-height: 1.3;
}

.admin-product-menu-intent em {
  width: fit-content;
  max-width: 100%;
  margin-top: auto;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 950;
  padding: 6px 9px;
}

.admin-product-menu-intent.is-alert {
  border-color: rgba(125, 45, 58, 0.22);
  background: rgba(255, 248, 244, 0.82);
}

.admin-product-menu-intent.is-ready {
  border-color: rgba(31, 91, 69, 0.24);
  background: rgba(239, 248, 238, 0.86);
}

.admin-product-menu-intent.is-work,
.admin-product-menu-intent.is-manual {
  border-color: rgba(167, 117, 47, 0.2);
  background: rgba(255, 250, 236, 0.86);
}

.admin-product-menu-intent:hover,
.admin-product-menu-intent:focus-visible {
  border-color: rgba(31, 91, 69, 0.36);
  box-shadow: 0 14px 28px rgba(18, 59, 50, 0.1);
  transform: translateY(-1px);
}

.admin-product-service-snapshot {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.9);
  padding: 12px;
}

.admin-product-service-snapshot.is-alert {
  border-color: rgba(125, 45, 58, 0.28);
  background: rgba(255, 248, 244, 0.92);
}

.admin-product-service-snapshot.is-manual {
  border-color: rgba(167, 117, 47, 0.24);
  background: rgba(255, 250, 236, 0.92);
}

.admin-product-service-snapshot__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.admin-product-service-snapshot__head > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.admin-product-service-snapshot__head span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-service-snapshot__head strong {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.1;
}

.admin-product-service-snapshot__head small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.28;
}

.admin-product-service-snapshot__head em {
  display: inline-grid;
  min-width: 52px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--teal);
  color: var(--cream);
  font-style: normal;
  font-weight: 950;
}

.admin-product-service-snapshot__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 7px;
}

.admin-product-service-card {
  display: grid;
  min-width: 0;
  min-height: 94px;
  align-content: start;
  gap: 5px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 10px;
  text-align: left;
  text-decoration: none;
}

.admin-product-service-card span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-service-card strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-product-service-card small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 780;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.admin-product-service-card.is-alert {
  border-color: rgba(125, 45, 58, 0.25);
  background: rgba(255, 246, 244, 0.92);
}

.admin-product-service-card.is-manual {
  border-color: rgba(167, 117, 47, 0.24);
  background: rgba(255, 250, 236, 0.92);
}

.admin-product-service-card.is-visual {
  border-color: rgba(87, 104, 164, 0.24);
  background: rgba(246, 248, 255, 0.92);
}

.admin-product-service-card.is-ok {
  border-color: rgba(31, 91, 69, 0.16);
  background: rgba(247, 252, 245, 0.88);
}

.admin-product-service-card:hover,
.admin-product-service-card:focus-visible {
  border-color: rgba(31, 91, 69, 0.36);
  box-shadow: 0 12px 24px rgba(14, 45, 37, 0.1);
  transform: translateY(-1px);
}

.admin-product-service-console {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 249, 0.72);
  padding: 12px;
}

.admin-product-service-console__head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.admin-product-service-console__head > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.admin-product-service-console__head span {
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-service-console__head strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.1;
}

.admin-product-service-console__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-product-service-console__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
}

.admin-product-service-console__card {
  display: grid;
  min-width: 0;
  min-height: 118px;
  align-content: start;
  gap: 6px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 12px;
  text-align: left;
}

.admin-product-service-console__card span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-service-console__card strong,
.admin-product-service-console__card small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-product-service-console__card strong {
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.12;
}

.admin-product-service-console__card small {
  display: -webkit-box;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 780;
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.admin-product-service-console__card.is-manual {
  border-color: rgba(167, 117, 47, 0.24);
  background: rgba(255, 250, 236, 0.9);
}

.admin-product-service-console__card.is-ready,
.admin-product-service-console__card.is-ok {
  border-color: rgba(31, 91, 69, 0.16);
  background: rgba(247, 252, 245, 0.86);
}

.admin-product-service-console__card.is-visual {
  border-color: rgba(63, 125, 128, 0.24);
  background: rgba(238, 248, 249, 0.9);
}

.admin-product-service-console__card:hover,
.admin-product-service-console__card:focus-visible {
  border-color: rgba(31, 91, 69, 0.34);
  box-shadow: 0 14px 26px rgba(14, 45, 37, 0.1);
  transform: translateY(-1px);
}

.admin-product-availability-board {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.7);
  padding: 12px;
}

.admin-product-availability-board__head,
.admin-product-availability-board__column-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.admin-product-availability-board__head > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.admin-product-availability-board__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.admin-product-availability-board__actions .button {
  min-height: 34px;
  padding: 7px 10px;
}

.admin-product-availability-board__head span,
.admin-product-availability-board__column-head span {
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-availability-board__head strong,
.admin-product-availability-board__column-head strong {
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.1;
}

.admin-product-availability-board__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-product-availability-board__columns > section {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 8px;
}

.admin-product-availability-list {
  display: grid;
  gap: 7px;
}

.admin-product-availability-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px;
}

.admin-product-availability-card > div:first-child {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.admin-product-availability-card span {
  color: var(--teal);
  font-size: 0.66rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-availability-card strong,
.admin-product-availability-card small,
.admin-product-availability-card em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-product-availability-card strong {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.08;
}

.admin-product-availability-card small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 780;
}

.admin-product-availability-card em {
  color: #80582e;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 860;
}

.admin-product-availability-card.is-live em {
  color: var(--muted);
}

.admin-product-availability-card.is-offline {
  border-color: rgba(167, 117, 47, 0.2);
  background: rgba(255, 250, 236, 0.86);
}

.admin-product-availability-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.admin-product-availability-card__actions .button {
  min-height: 32px;
  padding: 6px 9px;
}

.admin-product-availability-empty {
  margin: 0;
  border: 1px dashed rgba(31, 91, 69, 0.18);
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.3;
  padding: 12px;
}

.admin-product-availability-impact {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.86);
  padding: 12px;
}

.admin-product-availability-impact__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
}

.admin-product-availability-impact__head > div,
.admin-product-availability-impact__item > div:first-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.admin-product-availability-impact__head span,
.admin-product-availability-impact__item span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-availability-impact__head em {
  width: fit-content;
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 999px;
  background: rgba(239, 248, 238, 0.78);
  color: var(--teal);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.1;
  padding: 5px 8px;
}

.admin-product-availability-impact__head em[data-state="warn"] {
  border-color: rgba(167, 117, 47, 0.24);
  background: rgba(255, 250, 236, 0.9);
  color: #80582e;
}

.admin-product-availability-impact__head strong,
.admin-product-availability-impact__item strong,
.admin-product-availability-impact__empty strong {
  color: var(--ink);
  line-height: 1.1;
}

.admin-product-availability-impact__head small,
.admin-product-availability-impact__item p,
.admin-product-availability-impact__item small,
.admin-product-availability-impact__empty p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.admin-product-availability-impact__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 8px;
}

.admin-product-availability-impact__item,
.admin-product-availability-impact__empty {
  display: grid;
  min-width: 0;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
  padding: 10px;
}

.admin-product-availability-impact__item.is-blocked {
  border-color: rgba(125, 45, 58, 0.22);
  background: rgba(255, 248, 244, 0.88);
}

.admin-product-availability-impact__item.is-warning {
  border-color: rgba(167, 117, 47, 0.24);
  background: rgba(255, 250, 236, 0.88);
}

.admin-product-availability-impact__item > div:last-child {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
  gap: 6px;
}

.admin-product-availability-impact__item .button {
  min-height: 34px;
  padding: 7px 10px;
}

.admin-product-visual-board {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(63, 125, 128, 0.16);
  border-radius: 14px;
  background: rgba(238, 248, 249, 0.78);
  padding: 12px;
}

.admin-product-visual-board__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.admin-product-visual-board__head > div:first-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.admin-product-visual-board__head > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.admin-product-visual-board__head span,
.admin-product-visual-card span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-visual-board__head strong,
.admin-product-visual-card strong,
.admin-product-visual-empty strong {
  color: var(--ink);
  line-height: 1.1;
}

.admin-product-visual-board__head small,
.admin-product-visual-card small,
.admin-product-visual-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.admin-product-visual-board__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 8px;
}

.admin-product-visual-card,
.admin-product-visual-empty {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  padding: 10px;
}

.admin-product-visual-card.is-shop {
  border-color: rgba(31, 91, 69, 0.24);
  background: rgba(239, 248, 238, 0.82);
}

.admin-product-visual-card.is-family {
  background: rgba(255, 253, 247, 0.82);
}

.admin-product-visual-empty {
  grid-template-columns: 1fr;
}

.admin-product-visual-card__media {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  font-size: 1.2rem;
  font-weight: 950;
}

.admin-product-visual-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-product-visual-card > div:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.admin-product-visual-card > div:last-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.admin-product-menu-routine {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(238, 248, 249, 0.9));
  padding: 14px;
}

.admin-product-menu-routine__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.admin-product-menu-routine__head > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-product-menu-routine__head > div:first-child {
  display: grid;
  gap: 3px;
}

.admin-product-menu-routine__head span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-product-menu-routine__head strong {
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.1;
}

.admin-product-menu-routine__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.admin-product-menu-routine__step {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 4px 9px;
  min-width: 0;
  min-height: 128px;
  align-content: start;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 11px;
  text-align: left;
}

.admin-product-menu-routine__step > span {
  display: inline-grid;
  grid-row: span 3;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  font-weight: 950;
}

.admin-product-menu-routine__step strong,
.admin-product-menu-routine__step small,
.admin-product-menu-routine__step em {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-product-menu-routine__step strong {
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.12;
}

.admin-product-menu-routine__step small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.28;
}

.admin-product-menu-routine__step em {
  align-self: end;
  width: fit-content;
  margin-top: 3px;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
  padding: 5px 8px;
}

.admin-product-menu-routine__step.is-alert {
  border-color: rgba(125, 45, 58, 0.28);
  background: rgba(255, 246, 244, 0.92);
}

.admin-product-menu-routine__step.is-work,
.admin-product-menu-routine__step.is-manual {
  border-color: rgba(167, 117, 47, 0.24);
  background: rgba(255, 250, 236, 0.92);
}

.admin-product-menu-routine__step.is-ready,
.admin-product-menu-routine__step.is-ok {
  border-color: rgba(31, 91, 69, 0.16);
  background: rgba(247, 252, 245, 0.88);
}

.admin-product-menu-routine__step:hover,
.admin-product-menu-routine__step:focus-visible {
  border-color: rgba(31, 91, 69, 0.36);
  box-shadow: 0 14px 28px rgba(14, 45, 37, 0.11);
  transform: translateY(-1px);
}

.admin-product-secondary-tools {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.58);
  padding: 10px;
}

.admin-product-secondary-tools summary {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.admin-product-secondary-tools summary::-webkit-details-marker {
  display: none;
}

.admin-product-secondary-tools summary::after {
  content: "+";
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.09);
  color: var(--teal);
  font-weight: 950;
}

.admin-product-secondary-tools[open] summary::after {
  content: "−";
}

.admin-product-secondary-tools summary span {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 950;
}

.admin-product-secondary-tools summary strong {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-product-secondary-tools__body {
  display: grid;
  gap: 12px;
  padding-top: 10px;
}

.admin-product-secondary-tools[open] {
  background: rgba(255, 253, 247, 0.86);
}

.admin-product-menu-diagnostics {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.62);
  padding: 10px;
}

.admin-product-menu-diagnostics summary {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.admin-product-menu-diagnostics summary::-webkit-details-marker {
  display: none;
}

.admin-product-menu-diagnostics summary::after {
  content: "+";
  justify-self: end;
  color: var(--teal);
  font-weight: 950;
}

.admin-product-menu-diagnostics[open] summary::after {
  content: "−";
}

.admin-product-menu-diagnostics summary span {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 950;
}

.admin-product-menu-diagnostics summary strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.25;
}

.admin-product-menu-diagnostics[open] {
  background: rgba(255, 253, 247, 0.88);
}

.admin-product-menu-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.admin-product-menu-guide__step {
  display: grid;
  min-width: 0;
  gap: 6px;
  border: 1px solid rgba(31, 91, 69, 0.13);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.78);
  padding: 12px;
}

.admin-product-menu-guide__step span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-menu-guide__step strong {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.12;
}

.admin-product-menu-guide__step p {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.28;
}

.admin-product-menu-guide__step .button {
  justify-self: start;
  min-height: 34px;
  padding: 7px 10px;
}

.admin-product-menu-guide__step.is-alert {
  border-color: rgba(177, 76, 45, 0.32);
  background: rgba(255, 246, 239, 0.92);
}

.admin-product-menu-guide__step.is-work,
.admin-product-menu-guide__step.is-manual {
  border-color: rgba(187, 134, 37, 0.3);
  background: rgba(255, 250, 235, 0.92);
}

.admin-product-menu-guide__step.is-ready,
.admin-product-menu-guide__step.is-ok {
  border-color: rgba(31, 91, 69, 0.18);
  background: rgba(247, 252, 245, 0.92);
}

.admin-product-category-coverage {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.7);
  padding: 12px;
}

.admin-product-category-coverage__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  justify-content: space-between;
}

.admin-product-category-coverage__head strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.admin-product-category-coverage__head span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 820;
}

.admin-product-category-coverage__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 7px;
}

.admin-product-category-coverage__item {
  display: grid;
  min-width: 0;
  gap: 4px;
  border: 1px solid rgba(31, 91, 69, 0.11);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 10px;
  text-align: left;
}

.admin-product-category-coverage__item span {
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-category-coverage__item strong {
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
}

.admin-product-category-coverage__item small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 780;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.admin-product-category-coverage__item.is-ok {
  border-color: rgba(31, 91, 69, 0.18);
  background: rgba(239, 248, 238, 0.78);
}

.admin-product-category-coverage__item.is-ready {
  border-color: rgba(167, 117, 47, 0.24);
  background: rgba(255, 250, 236, 0.84);
}

.admin-product-category-coverage__item.is-work,
.admin-product-category-coverage__item.is-empty {
  border-color: rgba(125, 45, 58, 0.2);
  background: rgba(255, 248, 244, 0.82);
}

.admin-product-category-coverage__item:hover,
.admin-product-category-coverage__item:focus-visible {
  border-color: rgba(31, 91, 69, 0.34);
  box-shadow: 0 10px 20px rgba(18, 59, 50, 0.1);
  transform: translateY(-1px);
}

.admin-product-action-queue {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.7);
  padding: 12px;
}

.admin-product-action-queue__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  justify-content: space-between;
}

.admin-product-action-queue__head strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.admin-product-action-queue__head span,
.admin-product-action-queue p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 820;
}

.admin-product-action-queue__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 7px;
}

.admin-product-action-row {
  display: grid;
  min-width: 0;
  gap: 4px;
  border: 1px solid rgba(31, 91, 69, 0.11);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 10px;
  text-align: left;
}

.admin-product-action-row span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-action-row strong {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.12;
}

.admin-product-action-row small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 780;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.admin-product-action-row.is-alert {
  border-color: rgba(125, 45, 58, 0.2);
  background: rgba(255, 248, 244, 0.82);
}

.admin-product-action-row.is-work,
.admin-product-action-row.is-manual {
  border-color: rgba(187, 134, 37, 0.24);
  background: rgba(255, 250, 236, 0.84);
}

.admin-product-action-row.is-ready {
  border-color: rgba(31, 91, 69, 0.18);
  background: rgba(239, 248, 238, 0.78);
}

.admin-product-action-row:hover,
.admin-product-action-row:focus-visible {
  border-color: rgba(31, 91, 69, 0.34);
  box-shadow: 0 10px 20px rgba(18, 59, 50, 0.1);
  transform: translateY(-1px);
}

.admin-product-menu-summary {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
  padding: 12px;
}

.admin-product-menu-summary strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.admin-product-menu-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.35;
}

.admin-product-health-card {
  display: grid;
  min-width: 0;
  min-height: 122px;
  align-content: start;
  gap: 6px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 12px;
  text-align: left;
}

.admin-product-health-card:hover,
.admin-product-health-card:focus-visible {
  border-color: rgba(31, 91, 69, 0.34);
  box-shadow: 0 12px 24px rgba(14, 45, 37, 0.11);
  transform: translateY(-1px);
}

.admin-product-health-card span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-health-card strong {
  color: var(--ink);
  font-size: 1.65rem;
  line-height: 1;
}

.admin-product-health-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 780;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.admin-product-health-card.is-alert {
  border-color: rgba(125, 45, 58, 0.24);
  background: rgba(255, 248, 244, 0.9);
}

.admin-product-health-card.is-ready {
  border-color: rgba(167, 117, 47, 0.26);
  background: rgba(255, 250, 236, 0.92);
}

.admin-product-health-card.is-work {
  border-color: rgba(63, 125, 128, 0.22);
  background: rgba(238, 248, 249, 0.9);
}

.admin-product-health-card.is-ok {
  border-color: rgba(31, 91, 69, 0.2);
  background: rgba(239, 248, 238, 0.9);
}

.admin-simple-editor-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 18px;
  align-items: start;
}

.admin-simple-editor-head h4 {
  margin: 4px 0 6px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.05;
}

.admin-simple-editor-head p {
  max-width: 72ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.admin-simple-head-actions {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.admin-simple-editor-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 4px;
}

.admin-simple-editor-mode button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 950;
  padding: 7px 10px;
}

.admin-simple-editor-mode button.is-active,
.admin-simple-editor-mode button:hover,
.admin-simple-editor-mode button:focus-visible {
  background: var(--teal);
  color: var(--cream);
}

.admin-product-simple-editor[data-simple-editor-mode="essential"] [data-simple-advanced="true"],
.admin-product-simple-editor[data-simple-editor-mode="essential"] .admin-simple-extra {
  display: none;
}

.admin-product-editor-nav {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
  padding: 10px;
}

.admin-product-editor-nav > div {
  display: grid;
  min-width: 0;
  gap: 2px;
  text-align: center;
}

.admin-product-editor-nav span {
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-editor-nav strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-product-editor-nav .button {
  min-height: 36px;
  padding: 7px 11px;
}

.admin-product-editor-nav .button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.admin-product-service-review {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(167, 117, 47, 0.2);
  border-radius: 12px;
  background: rgba(255, 250, 236, 0.84);
  padding: 10px;
}

.admin-product-service-review.is-done {
  border-color: rgba(31, 91, 69, 0.18);
  background: rgba(239, 248, 238, 0.86);
}

.admin-product-service-review > div:first-child {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.admin-product-service-review > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.admin-product-service-review span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-service-review strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.1;
}

.admin-product-service-review small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.admin-product-service-review .button {
  min-height: 34px;
  padding: 7px 10px;
}

.admin-product-service-sheet {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.78);
  padding: 12px;
}

.admin-product-service-sheet.has-warning {
  border-color: rgba(167, 117, 47, 0.24);
  background: rgba(255, 250, 236, 0.82);
}

.admin-product-service-sheet__media {
  display: grid;
  min-height: 180px;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background:
    radial-gradient(circle at 20% 20%, rgba(138, 181, 121, 0.24), transparent 34%),
    linear-gradient(145deg, rgba(31, 91, 69, 0.12), rgba(255, 255, 255, 0.58));
}

.admin-product-service-sheet__media img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.admin-product-service-sheet__media.is-empty span {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.12);
  color: var(--teal);
  font-weight: 950;
}

.admin-product-service-sheet__body {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 10px;
}

.admin-product-service-sheet__top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.admin-product-service-sheet__top strong {
  color: var(--ink);
  font-size: 0.9rem;
}

.admin-product-service-sheet__copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-product-service-sheet__copy article {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 5px;
  border: 1px solid rgba(31, 91, 69, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.66);
  padding: 10px;
}

.admin-product-service-sheet__copy span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-service-sheet__copy p,
.admin-product-service-sheet__warning {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
}

.admin-product-service-sheet__warning {
  border: 1px solid rgba(167, 117, 47, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.56);
  color: #80582e;
  padding: 9px 10px;
}

.admin-product-service-sheet__facts,
.admin-product-service-sheet__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.admin-product-service-sheet__facts span {
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  padding: 6px 9px;
}

.admin-product-service-sheet__actions .button {
  min-height: 34px;
  padding: 7px 10px;
}

.admin-product-next-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.78);
  padding: 12px;
}

.admin-product-next-action > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-product-next-action span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-next-action strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.1;
}

.admin-product-next-action p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 780;
  line-height: 1.3;
}

.admin-product-next-action .button {
  min-height: 38px;
  padding: 8px 12px;
  text-decoration: none;
}

.admin-product-next-action.is-alert {
  border-color: rgba(125, 45, 58, 0.24);
  background: rgba(255, 248, 244, 0.88);
}

.admin-product-next-action.is-work {
  border-color: rgba(187, 134, 37, 0.26);
  background: rgba(255, 250, 235, 0.88);
}

.admin-product-next-action.is-ready,
.admin-product-next-action.is-ok {
  border-color: rgba(31, 91, 69, 0.18);
  background: rgba(239, 248, 238, 0.84);
}

.admin-product-correction-plan {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.13);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.82);
  padding: 12px;
}

.admin-product-correction-plan.is-work {
  border-color: rgba(167, 117, 47, 0.22);
  background: rgba(255, 250, 236, 0.86);
}

.admin-product-correction-plan.is-ready {
  border-color: rgba(31, 91, 69, 0.18);
  background: rgba(239, 248, 238, 0.84);
}

.admin-product-correction-plan__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.admin-product-correction-plan__head > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.admin-product-correction-plan__head span,
.admin-product-correction-step span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-correction-plan__head strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.1;
}

.admin-product-correction-plan__head p,
.admin-product-correction-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.3;
}

.admin-product-correction-plan__head em {
  display: grid;
  min-width: 36px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  font-style: normal;
  font-weight: 950;
}

.admin-product-correction-plan__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.admin-product-correction-step {
  display: grid;
  min-width: 0;
  min-height: 144px;
  align-content: start;
  gap: 7px;
  border: 1px solid rgba(31, 91, 69, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
  padding: 11px;
}

.admin-product-correction-step strong {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.12;
}

.admin-product-correction-step .button {
  align-self: end;
  justify-self: start;
  min-height: 34px;
  margin-top: auto;
  padding: 7px 10px;
}

.admin-product-correction-step.is-alert {
  border-color: rgba(125, 45, 58, 0.24);
  background: rgba(255, 248, 244, 0.9);
}

.admin-product-correction-step.is-manual,
.admin-product-correction-step.is-work {
  border-color: rgba(167, 117, 47, 0.24);
  background: rgba(255, 250, 236, 0.9);
}

.admin-product-correction-step.is-visual {
  border-color: rgba(63, 125, 128, 0.22);
  background: rgba(238, 248, 249, 0.9);
}

.admin-product-correction-step.is-ready,
.admin-product-correction-step.is-ok {
  border-color: rgba(31, 91, 69, 0.18);
  background: rgba(247, 252, 245, 0.92);
}

.admin-product-decision-panel {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.13);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.82);
  padding: 12px;
}

.admin-product-decision-panel__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.admin-product-decision-panel__head > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.admin-product-decision-panel__head span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-decision-panel__head strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.1;
}

.admin-product-decision-panel__head em {
  display: inline-grid;
  min-width: 44px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  font-style: normal;
  font-weight: 950;
}

.admin-product-decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.admin-product-decision-card {
  display: grid;
  min-width: 0;
  min-height: 150px;
  align-content: start;
  gap: 7px;
  border: 1px solid rgba(31, 91, 69, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
  padding: 11px;
}

.admin-product-decision-card > span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-decision-card > strong {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.1;
}

.admin-product-decision-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 780;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.admin-product-decision-card > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.admin-product-decision-card small {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  padding: 5px 8px;
}

.admin-product-decision-card .button {
  min-height: 32px;
  padding: 6px 10px;
  text-decoration: none;
}

.admin-product-decision-card.is-alert {
  border-color: rgba(125, 45, 58, 0.24);
  background: rgba(255, 248, 244, 0.88);
}

.admin-product-decision-card.is-work {
  border-color: rgba(187, 134, 37, 0.25);
  background: rgba(255, 250, 235, 0.88);
}

.admin-product-decision-card.is-ready,
.admin-product-decision-card.is-ok {
  border-color: rgba(31, 91, 69, 0.18);
  background: rgba(239, 248, 238, 0.82);
}

.admin-simple-status-actions .admin-status-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-status-control {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(31, 91, 69, 0.13);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.78);
  padding: 12px;
}

.admin-status-control__head {
  display: grid;
  gap: 7px;
}

.admin-status-control__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.32;
}

.admin-status-control .admin-status-action {
  display: grid;
  gap: 3px;
  align-content: center;
  min-height: 52px;
  padding: 8px 9px;
  text-align: left;
}

.admin-status-control .admin-status-action strong {
  color: inherit;
  font-size: 0.78rem;
  line-height: 1.08;
}

.admin-status-control .admin-status-action span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 780;
  line-height: 1.18;
}

.admin-status-control .admin-status-action[data-set-product-status="published"]:not(.is-blocked) {
  border-color: rgba(31, 91, 69, 0.28);
  background: rgba(31, 91, 69, 0.12);
  color: var(--ink);
}

.admin-status-control .admin-status-action.is-blocked {
  border-color: rgba(125, 45, 58, 0.24);
  background: rgba(255, 248, 244, 0.9);
  color: #7d2d3a;
}

.admin-status-control__assist {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(125, 45, 58, 0.16);
  border-radius: 10px;
  background: rgba(255, 248, 244, 0.72);
  padding: 9px;
}

.admin-status-control__assist.is-ready {
  border-color: rgba(31, 91, 69, 0.14);
  background: rgba(239, 248, 238, 0.74);
}

.admin-status-control__assist span {
  color: var(--teal);
  font-size: 0.64rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-status-control__assist strong,
.admin-status-control__assist small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-status-control__assist strong {
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.1;
}

.admin-status-control__assist small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 790;
  line-height: 1.25;
}

.admin-status-control__assist .button {
  width: fit-content;
  min-height: 32px;
  padding: 6px 10px;
}

.admin-status-control__maintenance {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  border-top: 1px solid rgba(31, 91, 69, 0.12);
  padding-top: 10px;
}

.admin-product-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.56);
  padding: 10px;
}

.admin-product-quick-actions .button {
  min-height: 38px;
  padding: 8px 12px;
}

.admin-product-quick-actions .button.primary {
  box-shadow: 0 10px 22px rgba(18, 59, 50, 0.12);
}

.admin-product-more-actions {
  min-width: min(220px, 100%);
}

.admin-product-more-actions summary {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 950;
  list-style: none;
  padding: 8px 12px;
}

.admin-product-more-actions summary::-webkit-details-marker {
  display: none;
}

.admin-product-more-actions summary::after {
  content: "+";
  margin-left: 8px;
}

.admin-product-more-actions[open] summary::after {
  content: "-";
}

.admin-product-more-actions > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  border-top: 1px solid rgba(31, 91, 69, 0.1);
  padding-top: 8px;
}

.admin-product-quick-actions__note {
  flex: 1 1 220px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.3;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.admin-product-quick-actions__note[data-state="ok"] {
  color: var(--teal);
}

.admin-product-quick-actions__note[data-state="manual"] {
  color: #7d2d3a;
}

.admin-publication-checklist {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.76);
  padding: 14px;
}

.admin-publication-checklist.has-issues {
  border-color: rgba(125, 45, 58, 0.22);
  background: rgba(255, 248, 244, 0.84);
}

.admin-publication-checklist.is-ready {
  border-color: rgba(31, 91, 69, 0.22);
  background: rgba(240, 250, 242, 0.84);
}

.admin-publication-checklist__head {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
  justify-content: space-between;
}

.admin-publication-checklist__head strong {
  color: var(--ink);
  font-size: 1rem;
}

.admin-publication-checklist__head span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
}

.admin-publication-checklist__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.admin-publication-checklist__items div {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid rgba(31, 91, 69, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
  padding: 10px;
}

.admin-publication-checklist__items div.is-missing {
  border-color: rgba(125, 45, 58, 0.16);
  background: rgba(255, 255, 255, 0.72);
}

.admin-publication-checklist__items div.is-suggestion {
  border-color: rgba(196, 148, 54, 0.24);
  background: rgba(255, 250, 237, 0.8);
}

.admin-publication-checklist__items span {
  color: var(--teal);
  font-size: 0.64rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-publication-checklist__items div.is-missing span {
  color: #7d2d3a;
}

.admin-publication-checklist__items div.is-suggestion span {
  color: #9a6a21;
}

.admin-publication-checklist__items strong {
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.1;
}

.admin-publication-checklist__items p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 760;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.admin-publication-checklist__items .button {
  justify-self: start;
  min-height: 32px;
  padding: 6px 9px;
  font-size: 0.72rem;
}

.admin-simple-editor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-simple-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.admin-simple-field.is-attention,
.admin-simple-ingredients.is-attention,
.admin-simple-extra.is-attention {
  border-color: rgba(31, 91, 69, 0.34);
  box-shadow: 0 0 0 3px rgba(121, 168, 97, 0.18);
}

.admin-simple-field--wide {
  grid-column: span 2;
}

.admin-simple-field > span,
.admin-simple-section-title strong,
.admin-simple-ingredient-picker section > strong {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-simple-field input,
.admin-simple-field select,
.admin-simple-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(18, 51, 44, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font: inherit;
  font-weight: 820;
  padding: 10px 11px;
}

.admin-simple-field textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.4;
}

.admin-simple-toggle {
  align-content: start;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
  padding: 11px;
}

.admin-simple-toggle input {
  width: 48px;
  height: 28px;
  min-width: 48px !important;
  appearance: none;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.14);
  cursor: pointer;
  padding: 3px;
}

.admin-simple-toggle input::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fffdf7;
  box-shadow: 0 2px 6px rgba(18, 51, 44, 0.18);
  transition: transform 160ms ease;
}

.admin-simple-toggle input:checked {
  background: var(--teal);
}

.admin-simple-toggle input:checked::before {
  transform: translateX(20px);
}

.admin-simple-image-field {
  align-content: start;
}

.admin-product-image-helper {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 10px;
  background: rgba(255, 253, 247, 0.86);
}

.admin-product-image-helper__preview {
  display: grid;
  place-items: center;
  min-width: 0;
  aspect-ratio: 1 / 0.78;
  border-radius: 8px;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  overflow: hidden;
}

.admin-product-image-helper__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-product-image-helper__preview.is-empty {
  border: 1px dashed rgba(31, 91, 69, 0.3);
}

.admin-product-image-helper > div:last-child {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 0;
}

.admin-product-image-helper strong,
.admin-product-image-helper span {
  min-width: 0;
}

.admin-product-image-helper span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.admin-product-image-helper__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-product-image-helper [data-product-image-note] {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.admin-product-image-helper [data-product-image-note][data-state="ok"] {
  color: #2f7650;
}

.admin-product-image-upload {
  display: grid;
  gap: 6px;
  border: 1px dashed rgba(31, 91, 69, 0.28);
  border-radius: 10px;
  background: rgba(255, 253, 247, 0.72);
  padding: 10px;
}

.admin-product-image-upload span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-image-upload input {
  width: 100%;
}

@media (max-width: 560px) {
  .admin-product-image-helper {
    grid-template-columns: 1fr;
  }

  .admin-product-image-helper__preview {
    max-width: 180px;
  }
}

.admin-image-choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 8px;
  min-width: 0;
}

.admin-image-choice-grid__label {
  grid-column: 1 / -1;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-image-choice-grid button {
  display: grid;
  gap: 5px;
  min-width: 0;
  min-height: 78px;
  align-content: start;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.1;
  overflow: hidden;
  padding: 6px;
}

.admin-image-choice-grid button:hover,
.admin-image-choice-grid button:focus-visible,
.admin-image-choice-grid button.is-selected {
  border-color: rgba(31, 91, 69, 0.42);
  background: rgba(31, 91, 69, 0.1);
}

.admin-image-choice-grid img {
  width: 100%;
  aspect-ratio: 1 / 0.72;
  border-radius: 7px;
  object-fit: cover;
}

.admin-image-choice-grid button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-simple-field small,
.admin-simple-section-title span {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.admin-simple-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.admin-simple-price-grid label {
  display: grid;
  gap: 5px;
}

.admin-simple-price-grid span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-simple-price-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 10px;
  align-items: baseline;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
  padding: 8px 10px;
}

.admin-simple-price-summary strong {
  color: var(--ink);
  font-size: 0.78rem;
}

.admin-simple-price-summary span {
  min-width: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 820;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.admin-simple-price-summary small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 780;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.admin-simple-price-summary .button {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 32px;
  padding: 6px 10px;
}

.admin-simple-price-summary.is-missing {
  border-color: rgba(125, 45, 58, 0.2);
  background: rgba(255, 248, 244, 0.78);
}

.admin-simple-price-summary.is-missing strong {
  color: #7d2d3a;
}

.admin-simple-ingredients {
  display: grid;
  gap: 12px;
}

.admin-simple-ingredient-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
  padding: 9px 10px;
}

.admin-simple-ingredient-summary > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-simple-ingredient-summary strong {
  color: var(--ink);
  font-size: 0.78rem;
}

.admin-simple-ingredient-summary span {
  min-width: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 820;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.admin-simple-ingredient-summary.is-blocked,
.admin-simple-ingredient-summary.is-empty {
  border-color: rgba(125, 45, 58, 0.2);
  background: rgba(255, 248, 244, 0.78);
}

.admin-simple-ingredient-summary.is-warning {
  border-color: rgba(187, 134, 37, 0.26);
  background: rgba(255, 250, 235, 0.84);
}

.admin-simple-ingredient-summary.is-ready {
  border-color: rgba(31, 91, 69, 0.16);
  background: rgba(239, 248, 238, 0.78);
}

.admin-simple-ingredient-summary.is-blocked strong,
.admin-simple-ingredient-summary.is-empty strong {
  color: #7d2d3a;
}

.admin-simple-ingredient-summary .button {
  min-height: 34px;
  padding: 7px 10px;
}

.admin-simple-ingredient-impact {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(167, 117, 47, 0.2);
  border-radius: 10px;
  background: rgba(255, 250, 236, 0.74);
  padding: 9px 10px;
}

.admin-simple-ingredient-impact strong {
  color: var(--ink);
  font-size: 0.78rem;
}

.admin-simple-ingredient-impact span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 820;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.admin-simple-extra {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.46);
  padding: 12px;
}

.admin-simple-section-title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  justify-content: space-between;
}

.admin-simple-ingredient-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-simple-ingredient-picker section {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid rgba(31, 91, 69, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
  padding: 12px;
}

.admin-simple-ingredient-picker section > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-simple-ingredient-picker button {
  min-height: 34px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 7px 10px;
}

.admin-simple-ingredient-picker button.is-selected {
  border-color: rgba(31, 91, 69, 0.42);
  background: rgba(31, 91, 69, 0.92);
  color: #fffdf7;
}

.admin-simple-ingredient-picker button.is-unavailable:not(.is-selected) {
  color: rgba(18, 51, 44, 0.48);
  background: rgba(240, 238, 231, 0.78);
}

@media (max-width: 980px) {
  .home-intent-section,
  .home-intent-grid,
  .home-recommendation-section,
  .home-recommendation-grid,
  .home-next-step-section,
  .home-next-step-grid,
  .contact-visit-panel,
  .contact-visit-decision,
  .admin-product-mode-switch,
  .admin-product-active-task__item,
  .admin-live-challenge-active__item,
  .admin-product-quick-create,
  .admin-product-workbench-presets__grid,
  .admin-service-checklist__grid,
  .admin-product-view-plan__head,
  .admin-product-view-plan__grid,
  .admin-product-view-plan__queue,
  .admin-product-service-express__main,
  .admin-product-service-express__grid,
  .admin-product-service-express__safe,
  .admin-product-menu-intents__grid,
  .admin-product-menu-health__grid,
  .admin-product-availability-board__columns,
  .admin-product-menu-routine__head,
  .admin-product-menu-routine__steps,
  .admin-product-service-queue__head,
  .admin-product-service-queue__item,
  .admin-product-daily-menu__head,
  .admin-product-daily-menu__selection,
  .admin-product-daily-menu__publish-head,
  .admin-product-daily-menu__publish-list,
  .admin-product-availability-impact__head,
  .admin-product-availability-impact__list,
  .admin-product-visual-board__head,
  .admin-product-visual-board__grid,
  .admin-product-service-mission__head,
  .admin-product-service-mission__steps,
  .admin-product-menu-guide,
  .admin-simple-editor-head,
  .admin-product-correction-plan__steps,
  .admin-product-editor-nav,
  .admin-product-service-review,
  .admin-product-service-sheet,
  .admin-product-service-sheet__copy,
  .admin-product-next-action,
  .admin-product-decision-grid,
  .admin-publication-checklist__items,
  .admin-simple-ingredient-picker {
    grid-template-columns: 1fr;
  }

  .admin-simple-ingredient-summary {
    grid-template-columns: 1fr;
  }

  .admin-product-secondary-tools summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .admin-product-secondary-tools summary span,
  .admin-product-secondary-tools summary strong {
    grid-column: 1;
  }

  .admin-product-secondary-tools summary strong {
    white-space: normal;
  }

  .admin-product-service-mission__head > div:last-child {
    justify-content: stretch;
  }

  .admin-product-active-task__item > div:last-child,
  .admin-live-challenge-active__item > div:last-child {
    justify-content: stretch;
  }

  .admin-product-active-task__item .button,
  .admin-live-challenge-active__item .button {
    flex: 1 1 120px;
  }

  .admin-product-service-review > div:last-child {
    justify-content: stretch;
  }

  .admin-product-service-review .button {
    flex: 1 1 140px;
  }

  .admin-product-service-mission__head .button {
    width: 100%;
  }

  .admin-product-service-express__actions {
    justify-content: stretch;
  }

  .admin-product-service-express__actions .button {
    flex: 1 1 180px;
  }

  .admin-product-service-queue__item > div:last-child {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-product-service-queue__head > div:last-child {
    justify-content: stretch;
  }

  .admin-product-service-queue__head .button {
    flex: 1 1 150px;
  }

  .admin-product-daily-menu__head > div:last-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-product-daily-menu__selection-actions {
    justify-content: flex-start;
  }

  .admin-product-daily-menu__publish-head .button {
    width: 100%;
  }

  .admin-product-availability-card {
    grid-template-columns: 1fr;
  }

  .admin-product-availability-impact__item > div:last-child {
    grid-template-columns: 1fr;
  }

  .admin-product-availability-card__actions {
    justify-content: flex-start;
  }

  .admin-product-service-sheet__media,
  .admin-product-service-sheet__media img {
    min-height: 210px;
  }

  .admin-simple-editor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .home-intent-grid a {
    min-height: 126px;
  }

  .admin-simple-editor-grid,
  .admin-simple-price-grid {
    grid-template-columns: 1fr;
  }

  .admin-simple-field--wide {
    grid-column: 1;
  }
}

.admin-table-wrap {
  overflow: auto;
}
.admin-table-wrap--products {
  max-height: min(72vh, 760px);
  border-top: 1px solid rgba(31, 91, 69, 0.1);
}
.admin-table { width: 100%; min-width: 1180px; border-collapse: collapse; color: var(--ink); }
.admin-table th,
.admin-table td { border-bottom: 1px solid var(--line); padding: 13px 14px; text-align: left; vertical-align: top; }
.admin-table th { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; }
.admin-table-wrap--products .admin-table th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(255, 253, 247, 0.96);
}
.admin-table input,
.admin-table select,
.admin-table textarea {
  width: 100%;
  min-width: 118px;
  border: 1px solid rgba(18, 51, 44, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  padding: 9px 10px;
}
.admin-table textarea {
  min-height: 68px;
  resize: vertical;
  line-height: 1.35;
}

.admin-table-wrap--products {
  max-height: none;
  overflow: visible;
  border-top: 0;
}

.admin-table-wrap--products .admin-table {
  min-width: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.admin-table-wrap--products thead {
  display: none;
}

.admin-table-wrap--products tbody {
  display: grid;
  gap: 14px;
}

.admin-table-wrap--products tr {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 249, 0.78);
  box-shadow: 0 16px 36px rgba(14, 45, 37, 0.08);
}

.admin-table-wrap--products td {
  display: grid;
  gap: 7px;
  min-width: 0;
  border-bottom: 0;
  padding: 0;
}

.admin-table-wrap--products td::before {
  content: attr(data-label);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.admin-table-wrap--products .admin-product-cell--main {
  grid-column: span 3;
}

.admin-table-wrap--products .admin-product-cell--short {
  grid-column: span 2;
}

.admin-table-wrap--products .admin-product-cell--prices,
.admin-table-wrap--products .admin-product-cell--list,
.admin-table-wrap--products .admin-product-cell--status {
  grid-column: span 3;
}

.admin-table-wrap--products .admin-product-cell--wide {
  grid-column: span 4;
}

.admin-table-wrap--products .admin-product-cell--actions {
  grid-column: span 2;
  align-content: start;
}

.admin-table-wrap--products input,
.admin-table-wrap--products select,
.admin-table-wrap--products textarea {
  min-width: 0;
}

@media (max-width: 980px) {
  .admin-table-wrap--products .admin-product-cell--main,
  .admin-table-wrap--products .admin-product-cell--prices,
  .admin-table-wrap--products .admin-product-cell--list,
  .admin-table-wrap--products .admin-product-cell--wide,
  .admin-table-wrap--products .admin-product-cell--status {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  .admin-table-wrap--products tr {
    grid-template-columns: 1fr;
  }

  .admin-table-wrap--products .admin-product-cell--main,
  .admin-table-wrap--products .admin-product-cell--short,
  .admin-table-wrap--products .admin-product-cell--prices,
  .admin-table-wrap--products .admin-product-cell--list,
  .admin-table-wrap--products .admin-product-cell--wide,
  .admin-table-wrap--products .admin-product-cell--status,
  .admin-table-wrap--products .admin-product-cell--actions {
    grid-column: 1;
  }
}

.admin-price-display-control {
  margin: 12px 0 16px;
}

.admin-product-price-grid {
  display: grid;
  gap: 6px;
  min-width: 180px;
}

.admin-product-price-grid label {
  display: grid;
  grid-template-columns: 32px minmax(104px, 1fr);
  gap: 6px;
  align-items: center;
}

.admin-product-price-grid span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-price-grid input {
  min-width: 104px !important;
  text-align: right;
}

.admin-table td:nth-child(4),
.admin-table td:nth-child(5),
.admin-table td:nth-child(6),
.admin-table td:nth-child(7) {
  width: 86px;
}

.admin-table td:nth-child(4) input,
.admin-table td:nth-child(5) input,
.admin-table td:nth-child(6) input,
.admin-table td:nth-child(7) input {
  min-width: 74px;
  text-align: center;
  font-weight: 950;
}
.admin-table .product-delete-button {
  white-space: nowrap;
}
.admin-table .product-duplicate-button {
  margin-bottom: 8px;
  white-space: nowrap;
}
.admin-status-select {
  margin-bottom: 8px;
}
.admin-status-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(72px, 1fr));
  gap: 6px;
}
.admin-status-action {
  min-height: 30px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 920;
  padding: 6px 8px;
}
.admin-status-action:hover,
.admin-status-action:focus-visible,
.admin-status-action.is-active {
  border-color: rgba(31, 91, 69, 0.32);
  background: rgba(31, 91, 69, 0.1);
  color: var(--ink);
}
.admin-status-action[data-set-product-status="hidden"],
.admin-status-action[data-set-product-status="unavailable"] {
  color: #6a6257;
}
.admin-table tr[data-product-invalid="true"] {
  outline: 2px solid rgba(155, 57, 45, 0.38);
  outline-offset: -2px;
}
.admin-table tr[data-product-invalid="true"] td:first-child {
  background: rgba(155, 57, 45, 0.08);
}
.admin-table tr.is-focused-row td {
  animation: admin-row-focus 1.8s ease;
}
@keyframes admin-row-focus {
  0%,
  100% {
    background: inherit;
  }
  20%,
  70% {
    background: rgba(31, 91, 69, 0.14);
  }
}
.button.danger {
  border-color: rgba(163, 63, 49, 0.28);
  background: rgba(163, 63, 49, 0.09);
  color: #8f3327;
}
.admin-table-wrap--compact {
  margin-top: 12px;
}
.admin-table--compact {
  min-width: 0;
}
.admin-table--compact th,
.admin-table--compact td {
  padding: 10px 8px;
  font-size: 0.84rem;
}
.admin-panel .secondary {
  width: max-content;
  border-color: var(--line);
  color: var(--ink);
  background: rgba(63, 125, 128, 0.05);
}

.google-debug-panel {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 80;
  width: min(360px, calc(100vw - 32px));
  max-height: min(460px, calc(100vh - 32px));
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 18px 46px rgba(7, 28, 22, 0.18);
  backdrop-filter: blur(18px);
}

.google-debug-panel[data-state="ok"] {
  border-color: rgba(31, 91, 69, 0.36);
}

.google-debug-panel[data-state="warn"] {
  border-color: rgba(198, 83, 102, 0.3);
}

.google-debug-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.google-debug-head img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.google-debug-panel dl {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}

.google-debug-panel div:not(.google-debug-head) {
  display: grid;
  gap: 2px;
}

.google-debug-panel dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-structured-select {
  min-width: 170px;
  border-color: rgba(31, 91, 69, 0.22) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 251, 246, 0.86)) !important;
  color: var(--ink);
  font-weight: 850;
}

.admin-table [data-product-control="recipe-select"] {
  box-shadow: inset 0 0 0 1px rgba(31, 91, 69, 0.05);
}

.admin-table [data-idea-row] td:first-child,
.admin-table [data-idea-row] td:nth-child(5) {
  min-width: 180px;
}

.admin-ideas-panel,
.admin-messages-panel {
  grid-column: 1 / -1;
}

.admin-client-history {
  display: grid;
  gap: 10px;
}

.admin-client-history summary {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.admin-client-history summary::-webkit-details-marker {
  display: none;
}

.admin-client-history summary::after {
  content: "+";
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.09);
  color: var(--teal);
  font-weight: 950;
}

.admin-client-history[open] summary::after {
  content: "−";
}

.admin-client-history summary span {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 950;
}

.admin-client-history summary strong {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 820;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-client-history .admin-table-wrap {
  margin-top: 10px;
  max-height: 420px;
}

.admin-table [data-idea-row] strong,
.admin-table [data-idea-row] small,
.admin-table [data-idea-row] span {
  display: block;
}

.admin-table [data-idea-row] small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
}

.admin-table [data-idea-status] {
  min-width: 130px;
  border-color: rgba(31, 91, 69, 0.2) !important;
  font-weight: 850;
}

.admin-idea-draft-button {
  min-height: 36px;
  padding: 8px 10px;
  white-space: nowrap;
}

.google-debug-panel dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.84rem;
  font-weight: 850;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr);
  align-items: start;
  gap: clamp(20px, 4vw, 54px);
  padding: 30px clamp(18px, 6vw, 88px);
  border-top: 1px solid var(--line);
  background: rgba(255, 248, 220, 0.9);
  color: var(--muted);
}
.footer-main {
  display: grid;
  gap: 12px;
}
.footer-main p { margin: 0; line-height: 1.55; }
.footer-brand .brand-mark {
  width: 38px;
  height: 38px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}
.site-footer a { color: var(--brick); font-weight: 900; }
.footer-links a[aria-current="page"] { color: var(--teal); }

.footer-info {
  display: grid;
  gap: 8px;
  margin: 2px 0 0;
}

.footer-info div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.footer-info dt {
  color: rgba(255, 250, 241, 0.48);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-info dd {
  margin: 0;
  color: rgba(255, 250, 241, 0.82);
  font-size: 0.92rem;
  line-height: 1.35;
}

.footer-info dd a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(223, 244, 232, 0.46);
  text-underline-offset: 3px;
}

.footer-brand small a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(223, 244, 232, 0.46);
  text-underline-offset: 3px;
}

.footer-info dd a:hover,
.footer-info dd a:focus-visible,
.footer-brand small a:hover,
.footer-brand small a:focus-visible {
  color: #ffffff;
  text-decoration-color: currentColor;
}

.admin-command {
  width: min(460px, calc(100vw - 32px));
}
.admin-command::backdrop { background: rgba(16, 24, 39, 0.44); backdrop-filter: blur(8px); }
.admin-command__card,
.lock-card { display: grid; gap: 16px; padding: 22px; }
.admin-command label,
.lock-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}
.admin-command__actions { display: flex; justify-content: flex-end; gap: 10px; }
.lock-error { min-height: 20px; margin: 0; color: #a33f31; font-weight: 900; }
.lock-help { margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.admin-page .bubble-sky { opacity: 0.06; }
.admin-app { min-height: 100vh; }
.admin-lock {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(18px, 5vw, 56px);
}
.lock-card { width: min(520px, 100%); padding: clamp(22px, 4vw, 34px); }
.lock-card h1 { color: var(--ink); font-size: clamp(2rem, 4vw, 3.4rem); }
.admin-console { display: grid; gap: clamp(24px, 4vw, 46px); padding: clamp(18px, 4vw, 52px); }
.admin-topbar {
  position: sticky;
  top: 12px;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 248, 220, 0.88);
  padding: 14px 16px;
  backdrop-filter: blur(14px);
}
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-auth-status {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(23, 33, 28, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}
.admin-auth-status[data-connected="true"] {
  color: #23362d;
  background: color-mix(in srgb, var(--matcha) 15%, #ffffff);
  border-color: color-mix(in srgb, var(--matcha) 24%, #ffffff);
}
.admin-hero {
  max-width: min(1120px, 100%);
}
.admin-hero h1 { max-width: 820px; font-size: clamp(2.25rem, 5vw, 4.8rem); }
.admin-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.visitor-panel { width: 100%; padding: 20px; }
.visitor-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.visitor-panel__head strong {
  color: var(--teal);
  font-size: clamp(1.5rem, 3vw, 2.6rem);
}
.visitor-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 760;
}
.visitor-presence-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.visitor-presence-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.2fr) minmax(120px, 1fr) minmax(90px, 0.7fr) minmax(150px, 1fr) minmax(150px, 1fr) minmax(140px, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.visitor-presence-row strong,
.visitor-presence-row span,
.visitor-presence-row small {
  min-width: 0;
  overflow-wrap: anywhere;
}
.visitor-presence-row span,
.visitor-presence-row small {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 760;
}
.visitor-presence-row.is-current strong::after {
  content: " - vous";
  color: var(--teal);
  font-size: 0.8rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 73px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--cream);
    padding: 8px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .hero-shell,
  .split,
  .menu-studio,
  .admin-workbench,
  .admin-hero,
  .page-hero,
  .review-panel,
  .idea-decision,
  .idea-panel,
  .idea-starter-panel,
  .site-footer { min-height: auto; grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .menu-grid,
  .community-grid,
  .legal-grid,
  .admin-editor-grid,
  .admin-staff-guide,
  .admin-handoff-links,
  .admin-readiness-grid,
  .roadmap-board,
  .handoff-grid,
  .admin-product-tools,
  .admin-product-preview,
  .admin-client-preview,
  .admin-client-preview__facts div,
  .metric-grid { grid-template-columns: 1fr; }
  .admin-form-row,
  .admin-form-row--three { grid-template-columns: 1fr; }
  .admin-language-row,
  .admin-local-copy-row {
    grid-template-columns: 1fr;
  }
  .admin-product-data-panel__head,
  .admin-product-data-toolbar,
  .admin-product-data-summary {
    grid-template-columns: 1fr;
  }
  .admin-product-data-actions {
    justify-content: stretch;
  }
  .admin-product-data-actions .button,
  .admin-product-data-actions .admin-import {
    width: 100%;
  }
  .visitor-presence-row {
    grid-template-columns: 1fr;
  }
  .idea-decision__actions {
    grid-template-columns: 1fr;
  }
  .menu-sidebar,
  .product-detail { position: static; }
  .site-footer,
  .admin-topbar { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (min-width: 861px) and (max-width: 1180px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-studio { grid-template-columns: 210px minmax(0, 1fr); }
  .product-detail { position: static; grid-column: 1 / -1; }
}

/* Visual refresh: keep the POC structure, but make the public site feel closer to a cafe storefront. */
:root {
  --ink: #17211c;
  --muted: #66736c;
  --pink: #f6dedb;
  --cream: #fffaf1;
  --paper: #fffdf7;
  --teal: #3d756a;
  --brick: #b86c55;
  --matcha: #7f9f54;
  --line: rgba(23, 33, 28, 0.1);
  --shadow: 0 18px 44px rgba(61, 47, 34, 0.1);
  --shadow-soft: 0 8px 24px rgba(61, 47, 34, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background:
    linear-gradient(180deg, #fffaf1 0, #f6dedb 44%, #fffaf1 100%);
}

.bubble-sky {
  opacity: 0.035;
  filter: saturate(0.62) blur(1px);
}

.site-header {
  margin: 0;
  padding-inline: max(18px, calc((100vw - 1220px) / 2));
  border: 0;
  border-bottom: 1px solid rgba(23, 33, 28, 0.08);
  border-radius: 0;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 0 8px 24px rgba(61, 47, 34, 0.06);
}

.brand-mark {
  background: linear-gradient(145deg, var(--teal), var(--matcha));
  box-shadow: inset 0 -8px 18px rgba(23, 33, 28, 0.12);
}

.main-nav a {
  color: #53635b;
  font-weight: 800;
}

.main-nav a[aria-current="page"],
.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(61, 117, 106, 0.11);
  color: var(--ink);
}

.hero {
  min-height: min(720px, calc(100vh - 86px));
  padding-top: clamp(34px, 5vw, 70px);
  padding-bottom: clamp(30px, 5vw, 60px);
  background:
    linear-gradient(115deg, rgba(255, 250, 241, 0.96) 0 48%, rgba(246, 222, 219, 0.72) 48% 100%),
    radial-gradient(circle at 83% 16%, rgba(127, 159, 84, 0.18), transparent 28%),
    radial-gradient(circle at 8% 88%, rgba(184, 108, 85, 0.12), transparent 28%);
}

.hero-shell {
  min-height: 520px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.78fr);
}

.eyebrow,
.panel-kicker {
  color: var(--teal);
  font-size: 0.74rem;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.65rem, 6vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  letter-spacing: 0;
}

.hero-content p:not(.eyebrow) {
  max-width: 650px;
  color: #56645d;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
}

.button,
.chip,
.icon-button {
  border-radius: 8px;
}

.button {
  min-height: 48px;
  padding-inline: 20px;
}

.primary {
  background: var(--ink);
  color: #fffaf1;
  box-shadow: 0 12px 26px rgba(23, 33, 28, 0.16);
}

.secondary {
  border-color: rgba(23, 33, 28, 0.12);
  background: rgba(255, 253, 247, 0.76);
}

.hero-gallery {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-self: stretch;
  align-content: center;
}

.menu-photo {
  position: relative;
  height: clamp(420px, 54vw, 580px);
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 33, 28, 0.1);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(61, 47, 34, 0.16);
}

.menu-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.02);
}

.hero-product {
  gap: 12px;
}

.product-photo {
  width: 100%;
  height: 170px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

.menu-photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.9);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 8px 10px;
  text-transform: uppercase;
}

.hero-product {
  position: absolute;
  right: -18px;
  bottom: 24px;
  width: min(330px, 82%);
}

.photo-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr 1.1fr;
  gap: 10px;
  padding: 0 clamp(18px, 6vw, 88px) clamp(38px, 5vw, 70px);
  background: rgba(255, 253, 247, 0.86);
}

.photo-strip figure {
  height: clamp(180px, 22vw, 310px);
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.photo-strip figure:nth-child(2),
.photo-strip figure:nth-child(3) {
  transform: translateY(28px);
}

.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease;
}

.photo-strip figure:hover img {
  transform: scale(1.035);
}

.ingredient-band {
  width: min(1180px, calc(100% - 28px));
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
  margin: 20px auto 8px;
  padding: 18px;
  border: 1px solid rgba(23, 33, 28, 0.08);
  border-radius: 24px;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 12px 34px rgba(26, 31, 28, 0.08);
}

.ingredient-band figure {
  overflow: hidden;
  margin: 0;
  border-radius: 18px;
  background: #f7efe5;
}

.ingredient-band img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ingredient-band h2 {
  max-width: 680px;
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: none;
}

.ingredient-band p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.product-source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.product-source-grid article {
  min-height: 118px;
  padding: 15px;
  border: 1px solid rgba(23, 33, 28, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(26, 31, 28, 0.06);
}

.product-source-grid strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.9rem;
}

.product-source-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.ingredient-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.ingredient-tags span {
  padding: 8px 11px;
  border-radius: 999px;
  color: #23362d;
  background: color-mix(in srgb, var(--matcha) 16%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--matcha) 20%, #ffffff);
  font-size: 0.78rem;
  font-weight: 900;
}

.ingredient-tags--story {
  margin-top: 18px;
}

.product-carousel {
  width: min(1220px, calc(100% - 28px));
  margin-inline: auto;
  padding-top: clamp(34px, 6vw, 70px);
}

.product-carousel__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.product-carousel__header h2 {
  max-width: 720px;
  font-family: var(--sans);
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: none;
}

.product-carousel__controls {
  display: flex;
  gap: 8px;
}

.product-carousel__controls .icon-button {
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(23, 33, 28, 0.1);
  font-size: 1.55rem;
}

.product-carousel__viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.product-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.product-carousel__track {
  display: grid;
  grid-auto-columns: minmax(260px, 380px);
  grid-auto-flow: column;
  gap: 14px;
}

.product-slide {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 24px;
  background: #f7efe5;
  box-shadow: 0 16px 42px rgba(26, 31, 28, 0.1);
  scroll-snap-align: start;
}

.product-slide img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
  object-fit: cover;
  transition: transform 280ms ease;
}

.product-slide::after {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(19, 23, 20, 0.78));
}

.product-slide div {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 8px;
  color: #ffffff;
}

.product-slide span {
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  color: #26352c;
  background: rgba(255, 253, 247, 0.9);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.product-slide h3 {
  max-width: 300px;
  color: #ffffff;
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  line-height: 1.05;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}

.product-slide:hover img {
  transform: scale(1.035);
}

.story-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.44fr) minmax(0, 0.56fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: center;
  padding: clamp(52px, 7vw, 92px) clamp(18px, 6vw, 88px);
  background:
    linear-gradient(90deg, rgba(61, 117, 106, 0.12), rgba(255, 253, 247, 0.9)),
    var(--paper);
}

.story-band figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(61, 47, 34, 0.14);
}

.story-band img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.story-band h2 {
  max-width: 720px;
  font-size: clamp(2rem, 4.8vw, 4.7rem);
}

.story-band p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.showcase-card,
.menu-sidebar,
.product-detail,
.menu-category,
.feature-card,
.chat-shell,
.game-preview,
.page-note,
.idea-panel,
.legal-panel,
.admin-panel,
.admin-table-wrap,
.metric-card,
.visitor-panel,
.lock-card,
.admin-command {
  border-color: rgba(23, 33, 28, 0.1);
  background: rgba(255, 253, 247, 0.92);
  box-shadow: var(--shadow-soft);
}

.showcase-card::before,
.product-detail::before,
.admin-panel::before {
  opacity: 0.42;
}

.showcase-label {
  background: var(--teal);
}

.cup-visual {
  width: 118px;
  height: 154px;
  border-color: rgba(255, 253, 247, 0.95);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52), transparent 30%),
    linear-gradient(180deg, #f8f1d8, rgba(127, 159, 84, 0.58));
  box-shadow: inset 0 -26px 36px rgba(61, 117, 106, 0.16);
}

.section {
  background: rgba(255, 253, 247, 0.86);
}

.section:nth-of-type(even) {
  background:
    linear-gradient(180deg, rgba(246, 222, 219, 0.62), rgba(255, 253, 247, 0.88));
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading--wide {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(280px, 0.48fr);
  align-items: end;
  gap: 24px;
}

.section-heading--wide .eyebrow,
.section-heading--wide h2 {
  grid-column: 1;
}

.section-heading--wide p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
}

.menu-studio {
  grid-template-columns: minmax(170px, 0.18fr) minmax(0, 1fr) minmax(300px, 0.31fr);
  gap: 18px;
}

.menu-sidebar,
.product-detail {
  top: 104px;
}

.menu-sidebar {
  background: rgba(255, 253, 247, 0.76);
  box-shadow: none;
}

.toolbar {
  gap: 8px;
}

.chip {
  justify-content: flex-start;
  min-height: 40px;
  background: transparent;
}

.chip.active {
  background: var(--ink);
  color: #fffaf1;
}

.menu-grid {
  gap: 16px;
}

.menu-category {
  min-height: 338px;
  padding: 20px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--card-accent, var(--teal)), transparent 90%), rgba(255, 253, 247, 0.96) 42%),
    var(--paper);
  box-shadow: 0 14px 36px rgba(61, 47, 34, 0.08);
}

.menu-category::before,
.menu-category::after {
  opacity: 0;
}

.menu-category header {
  min-height: 88px;
}

.menu-category h3 {
  max-width: 15rem;
  font-size: clamp(1.35rem, 2.3vw, 1.82rem);
  line-height: 1;
}

.menu-category header p {
  max-width: 20rem;
  color: #6d786f;
  font-size: 0.76rem;
}

.mini-sky {
  width: 68px;
  height: 68px;
  border-color: color-mix(in srgb, var(--card-accent, var(--teal)), transparent 32%);
  box-shadow: 0 10px 22px rgba(61, 47, 34, 0.08);
}

.menu-list {
  gap: 6px;
}

.menu-item {
  border-left: 0;
  border-radius: 8px;
  padding: 8px 10px;
}

.menu-item:hover,
.menu-item.is-selected {
  background: rgba(23, 33, 28, 0.045);
  border-left-color: transparent;
}

.menu-item span {
  color: #435148;
  font-weight: 750;
}

.menu-item:hover span,
.menu-item.is-selected span {
  color: var(--ink);
}

.price-dots {
  gap: 8px;
  margin-top: 10px;
  border-top: 1px solid rgba(23, 33, 28, 0.08);
  padding-top: 14px;
}

.price-dots span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card-accent, var(--teal)), transparent 88%);
  color: color-mix(in srgb, var(--card-accent, var(--teal)), #17211c 22%);
  padding: 6px 10px;
}

.price-dots i {
  display: none;
}

.product-detail {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(127, 159, 84, 0.12), rgba(255, 253, 247, 0.96) 38%),
    var(--paper);
}

.product-detail h3 {
  font-size: 1.8rem;
}

.detail-price {
  color: var(--ink);
  font-size: 2.45rem;
}

.price-range {
  color: var(--teal);
}

.detail-stat {
  background: rgba(61, 117, 106, 0.07);
}

.tag {
  background: rgba(184, 108, 85, 0.1);
  color: #945743;
}

.feature-card {
  background: rgba(255, 253, 247, 0.88);
}

.feature-card--link {
  min-height: 220px;
  align-content: space-between;
}

.card-icon {
  background: rgba(61, 117, 106, 0.1);
}

.site-footer {
  background: #17211c;
  color: rgba(255, 250, 241, 0.72);
}

.site-footer .brand small,
.site-footer .footer-main p {
  color: rgba(255, 250, 241, 0.64);
}

.site-footer a {
  color: #f7d8c9;
}

.footer-brand .brand-mark {
  background: #fffaf1;
  color: var(--ink);
}

.quick-actions {
  position: sticky;
  bottom: 10px;
  z-index: 12;
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0 8px;
  border: 1px solid rgba(23, 33, 28, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.92);
  box-shadow: 0 16px 38px rgba(61, 47, 34, 0.18);
  padding: 6px;
  backdrop-filter: blur(14px);
}

.quick-actions a {
  display: grid;
  min-height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
}

.quick-actions a:first-child {
  background: var(--ink);
  color: #fffaf1;
}

.hero-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 30px 0 0;
}

.hero-info div {
  border: 1px solid rgba(23, 33, 28, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.74);
  padding: 12px;
}

.hero-info dt {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-info dd {
  margin: 6px 0 0;
  color: #435148;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}

@media (max-width: 860px) {
  body {
    padding-bottom: 68px;
  }

  .quick-actions {
    display: grid;
  }

  .site-header {
    margin: 0;
    padding: 10px 12px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .main-nav {
    top: 62px;
  }

  .hero {
    min-height: auto;
    padding: 18px 14px 20px;
  }

  .hero-shell,
  .section-heading--wide {
    grid-template-columns: 1fr;
  }

  .section-heading--wide .eyebrow,
  .section-heading--wide h2,
  .section-heading--wide p:not(.eyebrow) {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-shell {
    gap: 18px;
    min-height: auto;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.9rem);
    line-height: 0.96;
  }

  .hero-content p:not(.eyebrow) {
    display: none;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 18px;
  }

  .button {
    min-height: 46px;
    padding-inline: 14px;
  }

  .hero-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
  }

  .hero-info div {
    min-width: 0;
    padding: 10px 12px;
  }

  .hero-info div:first-child {
    grid-column: 1 / -1;
  }

  .menu-photo,
  .menu-photo img {
    height: 260px;
    min-height: 260px;
  }

  .menu-photo img {
    object-position: center 42%;
  }

  .hero-product {
    display: none;
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
  }

  .photo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px 14px 22px;
  }

  .photo-strip figure,
  .photo-strip figure:nth-child(2),
  .photo-strip figure:nth-child(3) {
    height: 142px;
    transform: none;
  }

  .photo-strip,
  .menu-grid,
  .menu-category,
  .toolbar,
  .hero-gallery,
  .menu-photo,
  .story-band,
  .story-band figure {
    min-width: 0;
    max-width: 100%;
  }

  .section {
    padding: 34px 14px;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .section-heading p {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .menu-sidebar {
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .panel-kicker,
  .source-note {
    display: none;
  }

  .toolbar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 8px;
    scrollbar-width: none;
  }

  .toolbar::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 9px 13px;
    white-space: nowrap;
  }

  .menu-grid {
    gap: 12px;
  }

  .menu-category {
    min-height: auto;
    padding: 14px;
  }

  .menu-category header {
    grid-template-columns: minmax(0, 1fr) 58px;
    min-height: auto;
  }

  .menu-category h3 {
    font-size: 1.45rem;
  }

  .menu-category header p {
    margin-top: 6px;
  }

  .mini-sky {
    width: 58px;
    height: 58px;
  }

  .menu-item {
    padding: 9px;
  }

  .menu-item span {
    font-size: 0.9rem;
  }

  .price-dots {
    padding-top: 10px;
  }

  .product-detail {
    display: none;
  }

  .story-band {
    grid-template-columns: 1fr;
    padding: 36px 14px;
  }

  .story-band h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .story-band p:not(.eyebrow) {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .menu-studio {
    grid-template-columns: 1fr;
    gap: 12px;
    overflow: hidden;
  }

  .menu-sidebar,
  .menu-grid,
  .menu-category {
    width: 100%;
  }

  .toolbar {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .reaction-light {
    min-height: 190px;
    border-radius: 22px;
  }

  .game-auth-card {
    grid-template-columns: 1fr;
  }

  .game-auth-card .button {
    width: 100%;
  }

  .bubble-drop-scene {
    min-height: 420px;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 14px;
  }

  .bubble-tea-illustration {
    min-height: 258px;
  }

  .cup {
    width: min(78vw, 230px);
  }

  .bubble-drop-status {
    justify-items: center;
    text-align: center;
  }

  .reaction-controls {
    grid-template-columns: 1fr 1fr;
  }

  .reaction-controls label {
    grid-column: 1 / -1;
  }

  .reaction-controls .button {
    width: 100%;
  }

  .reaction-stats {
    grid-template-columns: 1fr;
  }

  .games-layout {
    width: calc(100vw - 28px);
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .game-stage .game-preview {
    max-width: none;
  }

  .game-leaderboard-panel {
    position: static;
    max-height: none;
    overflow: hidden;
  }

  .leaderboard-card {
    overflow: hidden;
    border-radius: 22px;
  }

  .leaderboard-summary {
    grid-template-columns: 1fr;
  }

  .leaderboard-list {
    padding-inline: 10px;
  }

  .leaderboard-row {
    grid-template-columns: 30px 40px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .leaderboard-row .score-pill,
  .leaderboard-row .score-date {
    grid-column: 3 / -1;
  }

  .leaderboard-row .performance-badge {
    grid-column: 4;
    grid-row: 1;
  }

  .game-leaderboard-panel .score-pill,
  .game-leaderboard-panel .score-date,
  .game-leaderboard-panel .performance-badge {
    grid-column: 3;
    grid-row: auto;
  }

  .page-hero {
    padding: 70px 14px 34px;
  }

  .page-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.45rem);
  }

  .community-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }
}

/* Playful menu refresh */
.menu-category--playful {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--card-accent) 28%, #ffffff 72%);
  background:
    radial-gradient(circle at 10% 12%, color-mix(in srgb, var(--card-accent) 18%, transparent), transparent 34%),
    linear-gradient(145deg, #fffdf8 0%, #f8f1e9 100%);
  box-shadow: 0 22px 54px rgba(52, 38, 31, 0.11);
}

.menu-category--playful::before,
.menu-category--playful::after {
  opacity: 0.28;
}

.menu-category__visual {
  position: sticky;
  top: 92px;
  min-height: 180px;
  overflow: hidden;
  border-radius: 22px;
  background: color-mix(in srgb, var(--card-accent) 18%, #ffffff);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.66);
}

.menu-category__visual img {
  width: 100%;
  height: 180px;
  display: block;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
}

.menu-category--playful > .mini-sky {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card-accent) 28%, #fff8ef 72%);
  box-shadow: 0 12px 28px rgba(33, 50, 42, 0.18);
}

.menu-category--playful .menu-category__header {
  display: block;
  min-height: 0;
  padding-right: 130px;
}

.menu-category__base {
  position: absolute;
  top: 20px;
  right: 96px;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  margin-bottom: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fffdf8;
  background: var(--card-accent);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-category--playful h3 {
  font-family: var(--display);
  color: #23362d;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.88;
  overflow-wrap: anywhere;
}

.menu-category--playful .menu-category__header p {
  max-width: 46ch;
  color: #5c655d;
  font-weight: 750;
}

.size-bubbles {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.size-bubbles button {
  position: relative;
  isolation: isolate;
  min-height: 92px;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 14px 8px;
  border-radius: 999px;
  color: #24332c;
  background: var(--card-accent);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 28px rgba(64, 48, 39, 0.12);
  cursor: pointer;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.size-bubbles button:nth-child(2) {
  transform: translateY(-8px);
}

.size-bubbles button:hover,
.size-bubbles button:focus-visible,
.size-bubbles button.is-selected {
  filter: saturate(1.12) brightness(1.04);
  box-shadow: 0 16px 32px rgba(64, 48, 39, 0.18), inset 0 0 0 3px rgba(255, 255, 255, 0.42);
}

.size-bubbles button.is-selected::after {
  position: absolute;
  top: 9px;
  right: 12px;
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fffdf8;
}

.size-bubbles strong {
  font-size: 1.65rem;
  line-height: 1;
  color: #fffdf8;
}

.size-bubbles small {
  color: rgba(255, 253, 248, 0.92);
  font-size: 0.78rem;
  font-weight: 950;
  white-space: nowrap;
}

.menu-category__mood {
  grid-column: 2;
  width: fit-content;
  margin: -2px 0 0;
  padding: 8px 12px;
  border-radius: 999px;
  color: #31483d;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 850;
}

.menu-category--playful .menu-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.menu-category--playful .menu-item {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
}

.menu-category--playful .menu-item:hover,
.menu-category--playful .menu-item.is-selected {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--card-accent) 48%, #ffffff);
  background: #fffef9;
}

.menu-extras {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.menu-extras article {
  padding: 12px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--card-accent) 9%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--card-accent) 16%, #ffffff);
}

.menu-extras strong,
.menu-extras span {
  display: block;
}

.menu-extras strong {
  color: var(--card-accent);
  font-size: 0.9rem;
}

.menu-extras span {
  margin-top: 4px;
  color: #5f675f;
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.35;
}

.menu-plus {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.menu-category--loading {
  min-height: 220px;
  border: 1px dashed rgba(31, 91, 69, 0.18);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.36)),
    rgba(255, 253, 247, 0.72);
  background-size: 220% 100%;
  animation: menuLoadingSweep 1400ms ease-in-out infinite;
}

@keyframes menuLoadingSweep {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

.menu-plus span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #fffdf8;
  background: var(--card-accent);
  font-size: 0.74rem;
  font-weight: 900;
}

.menu-category--matcha {
  --card-accent: #7f9f54;
}

.menu-category--milk {
  --card-accent: #b86c55;
}

.menu-category--originals {
  --card-accent: #3d756a;
}

.menu-category--fruit {
  --card-accent: #d98e82;
}

.story-band--contact {
  padding-top: 22px;
}

@media (max-width: 860px) {
  .menu-category--playful {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
    border-radius: 26px;
  }

  .menu-category__visual {
    position: relative;
    top: auto;
    min-height: 112px;
    border-radius: 20px;
  }

  .menu-category__visual img {
    height: 112px;
  }

  .menu-category--playful > .mini-sky {
    width: 64px;
    height: 64px;
  }

  .menu-category--playful .menu-category__header,
  .size-bubbles,
  .menu-category__mood,
  .menu-category--playful .menu-list,
  .menu-extras,
  .menu-plus {
    grid-column: auto;
  }

  .menu-category--playful h3 {
    font-size: clamp(1.95rem, 10vw, 2.75rem);
  }

  .size-bubbles {
    gap: 7px;
  }

  .size-bubbles button {
    min-height: 68px;
    padding: 8px 4px;
  }

  .size-bubbles button:nth-child(2) {
    transform: translateY(-5px);
  }

  .size-bubbles strong {
    font-size: 1.3rem;
  }

  .size-bubbles small {
    font-size: 0.69rem;
  }

  .menu-category--playful .menu-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .menu-extras {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .menu-extras article {
    padding: 10px;
  }

  .menu-category__mood {
    font-size: 0.82rem;
  }

  .menu-plus {
    gap: 5px;
  }

  .menu-plus span {
    padding: 6px 8px;
    font-size: 0.68rem;
  }
}

/* Delivery-app polish */
.bubble-sky {
  opacity: 0.1;
  filter: saturate(0.8);
}

.site-header,
.quick-actions,
.showcase-card,
.menu-sidebar,
.product-detail,
.feature-card,
.chat-shell,
.game-preview,
.page-note,
.idea-panel,
.leaderboard-card,
.legal-panel {
  box-shadow: 0 10px 26px rgba(26, 31, 28, 0.08);
}

.quick-actions a,
.chip,
.button,
.feature-card,
.menu-item,
.leaderboard-card,
.reaction-light,
.idea-panel {
  border-radius: 14px;
}

.menu-studio {
  align-items: start;
}

.menu-sidebar {
  position: sticky;
  top: 96px;
}

.menu-category--playful {
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  border-radius: 20px;
  background: #fffdf8;
  box-shadow: 0 12px 34px rgba(26, 31, 28, 0.08);
}

.menu-category--playful::before,
.menu-category--playful::after {
  display: none;
}

.menu-category__visual {
  position: relative;
  top: auto;
  min-height: 112px;
  border-radius: 16px;
  box-shadow: none;
}

.menu-category__visual img {
  height: 112px;
}

.menu-category--playful > .mini-sky {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 52px;
  height: 52px;
  opacity: 0.72;
  box-shadow: 0 8px 18px rgba(26, 31, 28, 0.1);
}

.menu-category--playful h3 {
  font-family: var(--sans);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: none;
}

.menu-category__base {
  top: 14px;
  right: 70px;
  padding: 6px 9px;
  font-size: 0.64rem;
  letter-spacing: 0.06em;
}

.size-bubbles {
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 420px;
}

.size-bubbles button {
  min-height: 62px;
  border-radius: 14px;
  background: var(--card-accent);
  box-shadow: none;
}

.size-bubbles button:nth-child(2) {
  transform: none;
}

.size-bubbles strong {
  font-size: 1.15rem;
}

.menu-category__mood {
  grid-column: 1 / -1;
  border-radius: 12px;
  box-shadow: none;
}

.menu-category--playful .menu-list {
  grid-column: 1 / -1;
  gap: 8px;
}

.menu-category--playful .menu-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 12px 13px;
  border: 1px solid rgba(23, 33, 28, 0.08);
  background: #ffffff;
  box-shadow: none;
  text-align: left;
}

.menu-item__icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--card-accent) 12%, #ffffff);
  font-size: 1.25rem;
}

.menu-category--playful .menu-item:hover,
.menu-category--playful .menu-item.is-selected {
  transform: none;
  border-color: color-mix(in srgb, var(--card-accent) 42%, #ffffff);
  background: color-mix(in srgb, var(--card-accent) 7%, #ffffff);
}

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

.menu-item__body strong {
  overflow: hidden;
  color: #17211c;
  font-size: 0.96rem;
  line-height: 1.15;
  text-overflow: ellipsis;
}

.menu-item__body small {
  overflow: hidden;
  color: #66736b;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-extras,
.menu-plus {
  display: none;
}

.idea-card--live .card-icon {
  background: var(--matcha);
}

@media (max-width: 860px) {
  .bubble-sky {
    opacity: 0.05;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .hero {
    padding-top: 14px;
  }

  .photo-strip {
    display: none;
  }

  .ingredient-band {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 12px;
    padding: 14px;
    border-radius: 20px;
  }

  .ingredient-band img {
    aspect-ratio: 16 / 10;
  }

  .ingredient-band h2 {
    font-size: clamp(1.65rem, 8.5vw, 2.35rem);
  }

  .ingredient-band p:not(.eyebrow) {
    font-size: 0.94rem;
  }

  .product-source-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-source-grid article {
    min-height: auto;
    padding: 13px;
  }

  .product-carousel {
    width: calc(100% - 20px);
    padding-top: 34px;
  }

  .product-carousel__header {
    align-items: start;
  }

  .product-carousel__controls {
    display: none;
  }

  .product-carousel__track {
    grid-auto-columns: minmax(76vw, 1fr);
    gap: 10px;
  }

  .product-slide,
  .product-slide img {
    min-height: 360px;
  }

  .product-slide {
    border-radius: 20px;
  }

  .product-slide div {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .menu-sidebar {
    position: sticky;
    top: 76px;
    z-index: 3;
    padding: 8px 0 0;
    background: linear-gradient(180deg, rgba(255, 248, 241, 0.97), rgba(255, 248, 241, 0.76));
    backdrop-filter: blur(12px);
  }

  .menu-category--playful {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
    border-radius: 18px;
  }

  .menu-category__visual {
    min-height: 86px;
    border-radius: 14px;
  }

  .menu-category__visual img {
    height: 86px;
  }

  .menu-category--playful > .mini-sky {
    top: 9px;
    right: 9px;
    width: 44px;
    height: 44px;
  }

  .menu-category__header {
    align-self: center;
    padding-right: 50px;
  }

  .menu-category--playful h3 {
    font-size: 1.45rem;
  }

  .menu-category--playful .menu-category__header p {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .size-bubbles {
    max-width: none;
  }

  .size-bubbles button {
    min-height: 58px;
    background: var(--card-accent);
  }

  .menu-category__mood {
    display: none;
  }

  .menu-category--playful .menu-list {
    grid-template-columns: 1fr;
  }

  .menu-category--playful .menu-item {
    min-height: 64px;
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .menu-item__icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 1.12rem;
  }
}

@media (max-width: 860px) {
  body {
    padding-bottom: 78px;
  }

  .site-header {
    top: 0;
    padding: 10px 12px;
    gap: 10px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: none;
  }

  .main-nav,
  .main-nav.open {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    top: auto;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    align-items: center;
    border: 1px solid rgba(23, 33, 28, 0.1);
    border-radius: 22px;
    background: rgba(255, 253, 247, 0.94);
    box-shadow: 0 12px 34px rgba(26, 31, 28, 0.16);
    padding: 6px;
    backdrop-filter: blur(18px);
  }

  .main-nav a {
    min-height: 50px;
    display: grid;
    place-items: center;
    padding: 5px 3px;
    border-radius: 16px;
    font-size: 0.7rem;
    line-height: 1;
    text-align: center;
  }

  .main-nav a::before {
    display: block;
    margin-bottom: 4px;
    font-size: 1.05rem;
    line-height: 1;
  }

  .main-nav a[href*="#menu"]::before,
  .main-nav a[href="./#menu"]::before {
    content: "☰";
  }

.main-nav a[href="contact"]::before {
    content: "@";
  }

  .main-nav a[href="idees"]::before {
    content: "+";
  }

  .main-nav a[href="jeux"]::before {
    content: "★";
  }

  .quick-actions {
    bottom: 82px;
  }

  .language-switcher {
    margin-left: auto;
  }

  .language-switcher__button {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 0.84rem;
  }

  .language-switcher__panel {
    position: fixed;
    top: calc(var(--sticky-header-height, 65px) + 8px);
    right: 10px;
  }

  .nav-account__button {
    max-width: 44px;
    min-height: 38px;
    padding: 4px;
  }

  .nav-account__label {
    display: none;
  }

  .nav-account__panel {
    position: fixed;
    top: calc(var(--sticky-header-height, 65px) + 8px);
    right: 10px;
  }

  .idea-list {
    gap: 10px;
  }

  .idea-card--ranked {
    grid-template-columns: 38px minmax(0, 1fr) 62px;
    gap: 10px;
    min-height: 92px;
    padding: 13px;
  }

  .idea-card--ranked .card-icon {
    width: 36px;
    height: 36px;
  }

  .idea-card__body h3 {
    font-size: 1rem;
  }

  .idea-card__body p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 0.84rem;
  }

  .idea-vote {
    min-width: 58px;
    min-height: 56px;
    border-radius: 14px;
  }

  .idea-brief {
    grid-template-columns: 1fr;
  }

  .idea-brief div {
    padding: 9px;
  }
}

.menu-sidebar {
  grid-row: 1 / span 2;
}

.menu-size-panel {
  position: static;
  z-index: 4;
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(150px, 0.42fr);
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(23, 33, 28, 0.08);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 0 12px 30px rgba(26, 31, 28, 0.08);
  padding: 12px 14px;
  backdrop-filter: blur(16px);
}

.menu-size-panel .panel-kicker {
  margin: 0 0 3px;
}

.menu-size-panel strong {
  color: var(--ink);
}

.menu-size-panel > span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.3;
}

.size-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(54px, 1fr));
  gap: 7px;
  padding: 5px;
  border: 1px solid rgba(18, 51, 44, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
}

.size-selector button {
  min-height: 46px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.size-selector button:hover,
.size-selector button:focus-visible {
  background: rgba(31, 91, 69, 0.08);
  transform: translateY(-1px);
}

.size-selector button.is-selected {
  background: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(18, 59, 50, 0.18);
}

.size-selector strong {
  font-family: "Trebuchet MS", var(--sans);
  font-size: 1.1rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.08em;
}

.product-detail .size-selector button {
  color: var(--facade-deep);
}

.product-detail .size-selector button.is-selected {
  background: var(--facade-deep);
  color: #f8ffff;
}

.product-detail .size-selector button.is-selected strong {
  color: #f8ffff;
}

@media (max-width: 1180px) {
  .menu-sidebar {
    grid-row: auto;
  }

  .menu-size-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .menu-size-panel {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  .size-selector {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Mat'cha storefront palette: blue-green facade, white logo typography, softer highlights. */
:root {
  --facade: #5c8f9d;
  --facade-deep: #2f6671;
  --facade-dark: #174852;
  --facade-soft: #d9eef1;
  --teal: var(--facade);
  --ink: #14343a;
  --muted: #6d8588;
  --matcha: #79a66e;
  --cream: #f7fbf8;
  --paper: #ffffff;
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.22), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(217, 238, 241, 0.28), transparent 30%),
    linear-gradient(180deg, #6da3ad 0%, var(--facade) 42%, var(--facade-deep) 100%);
  color: #f8ffff;
}

.site-header,
.quick-actions,
.site-footer {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(47, 102, 113, 0.82);
  color: #f8ffff;
  backdrop-filter: blur(18px);
}

.brand,
.main-nav a,
.quick-actions a,
.site-footer a,
.footer-main p {
  color: #f8ffff;
}

.brand-mark {
  background: #f8ffff;
  color: var(--facade-deep);
  box-shadow: 0 10px 24px rgba(20, 52, 58, 0.18);
}

.main-nav a:hover,
.main-nav a[aria-current="page"],
.quick-actions a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.hero {
  background:
    linear-gradient(180deg, rgba(47, 102, 113, 0.08), rgba(23, 72, 82, 0.2)),
    transparent;
}

.hero h1,
.hero-content p:not(.eyebrow),
.hero-info dt,
.hero-info dd,
.section-heading h2,
.section-heading p,
.eyebrow {
  color: #f8ffff;
}

.hero-info div,
.menu-sidebar,
.product-detail,
.menu-size-panel,
.showcase-card,
.feature-card,
.page-note,
.idea-panel,
.legal-panel,
.leaderboard-card,
.game-preview {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.menu-sidebar {
  background: rgba(47, 102, 113, 0.72);
}

.menu-sidebar .panel-kicker,
.menu-sidebar .source-note,
.menu-sidebar .source-note span {
  color: rgba(248, 255, 255, 0.82);
}

.chip {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #f8ffff;
}

.chip.active,
.chip:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: #f8ffff;
  color: var(--facade-deep);
}

.button.primary,
.primary {
  background: #f8ffff;
  color: var(--facade-deep);
}

.button.secondary,
.secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: #f8ffff;
  background: rgba(255, 255, 255, 0.1);
}

.showcase-card .secondary,
.product-detail .secondary,
.feature-card .secondary {
  color: var(--facade-deep);
  border-color: rgba(92, 143, 157, 0.3);
}

.menu-size-panel {
  background: rgba(47, 102, 113, 0.86);
  color: #f8ffff;
}

.menu-size-panel .panel-kicker,
.menu-size-panel strong,
.menu-size-panel > span {
  color: #f8ffff;
}

.size-selector button {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.16);
  color: #f8ffff;
}

.size-selector button:hover,
.size-selector button:focus-visible {
  border-color: rgba(255, 255, 255, 0.86);
}

.size-selector button.is-selected {
  border-color: #f8ffff;
  background: #f8ffff;
  color: var(--facade-deep);
}

.size-selector button.is-selected strong {
  color: var(--facade-deep);
}

.menu-category--playful {
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--card-accent) 82%, #ffffff 18%), var(--facade-deep));
  color: #f8ffff;
}

.menu-category--playful > .mini-sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
  opacity: 0.72;
  pointer-events: none;
}

.menu-category--playful > :not(.mini-sky) {
  position: relative;
  z-index: 1;
}

.menu-category__visual {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.16);
}

.menu-category__visual img {
  opacity: 0.88;
}

.menu-category--playful h3,
.menu-category--playful .menu-category__header p,
.menu-category__mood,
.menu-item__body strong,
.menu-item__body small {
  color: #f8ffff;
}

.menu-category__base {
  background: rgba(255, 255, 255, 0.92);
  color: var(--facade-deep);
}

.menu-category__mood {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.menu-category--playful .menu-item {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.17);
  backdrop-filter: blur(10px);
}

.menu-category--playful .menu-item:hover,
.menu-category--playful .menu-item.is-selected {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.28);
}

.menu-item__icon {
  background: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.detail-price,
.price-range,
.tag,
.footer-links a[aria-current="page"] {
  color: var(--facade-deep);
}

@media (max-width: 860px) {
  .main-nav,
  .main-nav.open {
    background: rgba(47, 102, 113, 0.94);
  }
}

/* Contrast pass: darker greens for commerce cues, dark text on every light surface. */
:root {
  --commerce-green: #3f7f5a;
  --commerce-deep: #1f5b45;
  --commerce-dark: #123b32;
  --facade: #5c8f9d;
  --facade-deep: #2f6671;
  --facade-dark: #174852;
  --facade-soft: #d8eee4;
  --teal: var(--commerce-green);
  --matcha: #6f9f57;
  --ink: #12332c;
  --muted: #557069;
  --cream: #f4fbf6;
  --paper: #ffffff;
  --line: rgba(18, 51, 44, 0.12);
}

body {
  background:
    radial-gradient(circle at 8% 12%, rgba(216, 238, 228, 0.4), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(92, 143, 157, 0.32), transparent 28%),
    linear-gradient(180deg, #3f7f5a 0%, #2f785b 42%, #1f5b45 100%);
}

.site-header,
.quick-actions,
.site-footer,
.menu-size-panel {
  background: rgba(31, 91, 69, 0.9);
}

.main-nav a:hover,
.main-nav a[aria-current="page"],
.quick-actions a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-info div,
.showcase-card,
.product-detail,
.feature-card,
.page-note,
.idea-panel,
.legal-panel,
.leaderboard-card,
.game-preview {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.hero-info div dt,
.hero-info div dd,
.hero-info div a,
.showcase-card h2,
.showcase-card h3,
.showcase-card p,
.product-detail h3,
.product-detail p,
.feature-card h3,
.feature-card p,
.page-note p,
.idea-panel p,
.legal-panel p,
.leaderboard-card p,
.game-preview p {
  color: var(--ink);
}

.showcase-card .eyebrow,
.product-detail .showcase-label,
.feature-card .eyebrow,
.page-note .eyebrow,
.idea-panel .eyebrow,
.legal-panel .eyebrow,
.leaderboard-card .eyebrow {
  color: var(--commerce-green);
}

.button.primary,
.primary {
  background: var(--commerce-green);
  color: #ffffff;
}

.hero .button.primary,
.menu-size-panel .button.primary,
.site-header .button.primary {
  background: #ffffff;
  color: var(--commerce-deep);
}

.chip.active,
.chip:hover,
.size-selector button.is-selected {
  background: #ffffff;
  color: var(--commerce-deep);
}

.size-selector button.is-selected strong {
  color: var(--commerce-deep);
}

.menu-sidebar {
  background: rgba(31, 91, 69, 0.86);
}

.menu-category--playful {
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--card-accent) 86%, #123b32 14%), var(--commerce-dark));
}

.menu-category__base {
  color: var(--commerce-deep);
}

.menu-category--playful .menu-item {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.78);
}

.menu-category--playful .menu-item:hover,
.menu-category--playful .menu-item.is-selected {
  border-color: #ffffff;
  background: #ffffff;
}

.menu-item__body strong {
  color: var(--ink);
}

.menu-item__body small {
  color: var(--muted);
}

.menu-category--playful .menu-category__header p,
.menu-category__mood {
  color: #f8ffff;
}

.menu-item__icon {
  background: color-mix(in srgb, var(--card-accent) 16%, #ffffff);
}

.product-detail .size-selector button {
  border-color: rgba(63, 127, 90, 0.22);
  background: rgba(63, 127, 90, 0.08);
  color: var(--commerce-deep);
}

.product-detail .size-selector button.is-selected {
  border-color: var(--commerce-green);
  background: var(--commerce-green);
  color: #ffffff;
}

.product-detail .size-selector button.is-selected strong {
  color: #ffffff;
}

.detail-price,
.price-range,
.tag,
.score-row strong,
.footer-links a[aria-current="page"] {
  color: var(--commerce-green);
}

.tag {
  background: rgba(63, 127, 90, 0.1);
}

@media (max-width: 860px) {
  .main-nav,
  .main-nav.open {
    background: rgba(31, 91, 69, 0.96);
  }
}

/* Stable category cards: no floating badge, no sticky image, no overlap. */
.menu-category--playful {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
  align-content: start;
  min-height: 0;
  padding: 14px;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 10%, color-mix(in srgb, var(--card-accent) 78%, #ffffff 22%), transparent 34%),
    linear-gradient(155deg, color-mix(in srgb, var(--card-accent) 82%, var(--card-deep, #123b32) 18%), var(--card-deep, var(--commerce-dark)));
}

.menu-category--playful > .mini-sky {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  opacity: 0.78;
  filter: saturate(1.18) contrast(1.04);
}

.menu-category__visual {
  position: relative;
  top: auto;
  width: 100%;
  min-height: 118px;
  max-height: 132px;
  border-radius: 16px;
  overflow: hidden;
}

.menu-category__visual img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  opacity: 0.78;
}

.menu-category--playful .menu-category__header {
  display: grid;
  gap: 7px;
  min-height: 0;
  padding-right: 0;
}

.menu-category__base {
  position: static;
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--card-deep, var(--commerce-deep));
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.menu-category--playful h3 {
  max-width: none;
  color: #ffffff;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.menu-category--playful .menu-category__header p {
  max-width: none;
  margin: 0;
  color: rgba(248, 255, 255, 0.9);
  font-size: 0.88rem;
  line-height: 1.35;
  text-transform: none;
}

.menu-category__mood {
  width: 100%;
  margin: 0;
  border-radius: 12px;
  color: rgba(248, 255, 255, 0.92);
  font-weight: 750;
}

.menu-category--playful .menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.menu-category--playful .menu-item {
  min-height: 62px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 22px rgba(12, 28, 24, 0.1);
}

.menu-category--playful .menu-item:hover,
.menu-category--playful .menu-item.is-selected {
  background: #ffffff;
}

@media (max-width: 860px) {
  .menu-category--playful {
    gap: 10px;
    padding: 12px;
  }

  .menu-category__visual {
    min-height: 94px;
    max-height: 104px;
  }

  .menu-category__visual img {
    height: 104px;
  }

  .menu-category--playful .menu-list {
    grid-template-columns: 1fr;
  }
}

.source-note--allergens {
  border-color: rgba(198, 83, 102, 0.18);
  background: rgba(198, 83, 102, 0.08);
}

.source-note--allergens strong {
  color: #9b3144;
}

.source-note--composition {
  border-color: rgba(31, 91, 69, 0.2);
  background: rgba(31, 91, 69, 0.07);
}

.source-note--composition strong {
  color: var(--brand-primary-dark);
}

.admin-category-config {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
}

.admin-category-config > strong {
  color: var(--commerce-deep);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
}

.admin-firebase-panel {
  grid-column: span 6;
}

.admin-readiness-panel {
  grid-column: span 6;
}

.admin-readiness-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.admin-readiness-card {
  display: grid;
  gap: 4px;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  padding: 10px;
}

.admin-readiness-card span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-readiness-card strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.2;
}

.admin-readiness-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.38;
}

.admin-readiness-card a {
  width: fit-content;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admin-readiness-card[data-readiness-state="ok"] {
  border-color: rgba(31, 91, 69, 0.22);
  background: rgba(238, 249, 240, 0.76);
}

.admin-readiness-card[data-readiness-state="warn"] {
  border-color: rgba(154, 106, 69, 0.28);
  background: rgba(255, 248, 235, 0.78);
}

.admin-readiness-card[data-readiness-state="manual"] {
  border-color: rgba(47, 102, 113, 0.24);
  background: rgba(238, 248, 249, 0.76);
}

.firebase-diagnostics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.firebase-diagnostics div {
  display: grid;
  gap: 5px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  padding: 10px;
}

.firebase-diagnostics dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.firebase-diagnostics dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.firebase-diagnostics dd[data-state="ok"],
.admin-save-note[data-state="ok"] {
  color: var(--brand-primary, #1f5b45);
}

.firebase-diagnostics dd[data-state="warn"],
.admin-save-note[data-state="warn"] {
  color: #9a6a45;
}

.firebase-diagnostics dd[data-state="error"],
.admin-save-note[data-state="error"] {
  color: #9b3144;
}

/* Layout stability pass: final overrides after older menu experiments. */
.menu-studio {
  grid-template-columns: minmax(150px, 180px) minmax(0, 1fr) minmax(270px, 330px);
  gap: clamp(12px, 2vw, 18px);
}

.menu-grid,
.product-detail,
.menu-sidebar,
.menu-category--playful,
.menu-category--playful * {
  min-width: 0;
}

.menu-category--playful {
  grid-template-columns: 1fr !important;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 42px rgba(9, 28, 23, 0.16);
}

.menu-category--playful::before,
.menu-category--playful::after {
  display: none !important;
}

.menu-category--playful > .mini-sky {
  inset: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit;
}

.menu-category--playful > :not(.mini-sky) {
  position: relative;
  z-index: 1;
}

.menu-category--playful .menu-category__header,
.menu-category__header {
  grid-template-columns: 1fr !important;
  gap: 7px;
  padding-right: 0 !important;
}

.menu-category__base {
  width: fit-content;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

.menu-category--playful h3 {
  max-width: 100%;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.menu-category__mood {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.16);
  line-height: 1.35;
}

.category-size-prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.category-size-prices button {
  display: grid;
  gap: 3px;
  min-height: 60px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: #ffffff;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.category-size-prices--no-prices button,
.product-detail .size-selector--no-prices button {
  min-height: 48px !important;
  place-items: center;
}

.category-size-prices--no-prices strong,
.product-detail .size-selector--no-prices strong {
  align-self: center !important;
}

.category-size-prices button:hover,
.category-size-prices button:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.category-size-prices button.is-selected {
  background: #ffffff;
  color: var(--card-deep, var(--commerce-deep));
  box-shadow: 0 12px 24px rgba(9, 28, 23, 0.14);
}

.category-size-prices strong {
  font-family: "Trebuchet MS", var(--sans);
  font-size: 1.14rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.08em;
}

.category-size-prices span {
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.menu-category--playful .menu-list {
  grid-template-columns: 1fr !important;
  gap: 8px;
}

.menu-category--playful .menu-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-left: 0;
  text-align: left;
}

.menu-category--playful .menu-item:hover,
.menu-category--playful .menu-item.is-selected {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(9, 28, 23, 0.16);
}

.menu-item__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  font-size: 1.15rem;
}

.menu-item__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.menu-item__body strong {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.14;
  overflow-wrap: normal;
  word-break: normal;
}

.menu-item__body small {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.2;
}

.product-detail {
  align-content: start;
}

.product-detail h3 {
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
}

.detail-options {
  display: grid;
  gap: 8px;
}

.source-note {
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.66);
}

.admin-table {
  min-width: 1120px;
}

@media (min-width: 861px) and (max-width: 1180px) {
  .menu-studio {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .product-detail {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .menu-studio {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .menu-sidebar {
    position: sticky;
    top: 58px;
    z-index: 6;
    margin-inline: calc(var(--page-pad, 18px) * -0.35);
    padding: 8px;
    border-radius: 18px;
    background: rgba(31, 91, 69, 0.94);
  }

  .menu-sidebar .panel-kicker {
    display: none;
  }

  .toolbar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .toolbar::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: 0 0 auto;
    min-height: 42px;
    white-space: nowrap;
  }

  .menu-category__visual,
  .menu-category__visual img {
    min-height: 104px;
    height: 104px;
  }

  .menu-category--playful .menu-item {
    min-height: 56px;
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .menu-item__icon {
    width: 38px;
    height: 38px;
  }

  .category-size-prices {
    gap: 7px;
  }

  .category-size-prices button {
    min-height: 76px;
  }

  .product-detail {
    position: static;
  }
}

/* Brand color pass: two main colors, plus glass cards. Category cards keep their own accents. */
:root {
  --brand-primary: #1f5b45;
  --brand-secondary: #5c8f9d;
  --brand-primary-dark: #123b32;
  --brand-secondary-dark: #174852;
  --brand-mist: rgba(216, 238, 228, 0.72);
  --glass-light: rgba(255, 255, 255, 0.76);
  --glass-strong: rgba(255, 255, 255, 0.88);
  --glass-dark: rgba(18, 59, 50, 0.78);
  --glass-line: rgba(255, 255, 255, 0.34);
  --teal: var(--brand-primary);
  --facade: var(--brand-secondary);
  --facade-deep: #2f6671;
  --commerce-green: var(--brand-primary);
  --commerce-deep: #194d3a;
  --ink: #12332c;
  --muted: #58736b;
  --cream: #f5fbf7;
  --paper: rgba(255, 255, 255, 0.9);
  --line: rgba(18, 51, 44, 0.13);
}

body {
  background:
    radial-gradient(circle at 8% 4%, rgba(216, 238, 228, 0.74), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(92, 143, 157, 0.46), transparent 26%),
    linear-gradient(180deg, #2f785b 0%, var(--brand-primary) 42%, var(--brand-primary-dark) 100%);
}

.bubble-sky {
  opacity: 0.055;
  filter: saturate(0.78) blur(0.8px);
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(18, 59, 50, 0.78);
  box-shadow: 0 12px 34px rgba(7, 28, 22, 0.18);
  backdrop-filter: blur(18px);
}

.brand strong,
.site-header .brand small,
.main-nav a {
  color: #f8ffff;
}

.brand-mark {
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-primary-dark);
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.quick-actions,
.menu-sidebar,
.menu-size-panel {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--glass-dark);
  box-shadow: 0 16px 36px rgba(7, 28, 22, 0.16);
  backdrop-filter: blur(18px);
}

.quick-actions a,
.menu-sidebar .panel-kicker,
.source-note span {
  color: rgba(248, 255, 255, 0.78);
}

.chip {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(248, 255, 255, 0.86);
}

.chip:hover,
.chip.active {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-primary-dark);
}

.hero-info div,
.showcase-card,
.product-detail,
.feature-card,
.page-note,
.idea-panel,
.legal-panel,
.leaderboard-card,
.game-preview,
.admin-panel,
.admin-table-wrap,
.metric-card,
.visitor-panel,
.lock-card,
.admin-command__card {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: var(--glass-light);
  box-shadow: 0 18px 46px rgba(7, 28, 22, 0.13);
  backdrop-filter: blur(18px);
}

.product-detail,
.feature-card,
.leaderboard-card,
.game-preview {
  background: var(--glass-strong);
}

.showcase-card h2,
.showcase-card h3,
.showcase-card p,
.product-detail h3,
.product-detail p,
.feature-card h3,
.feature-card p,
.page-note,
.idea-panel,
.legal-panel,
.leaderboard-card,
.game-preview {
  color: var(--ink);
}

.eyebrow,
.showcase-label,
.product-detail .showcase-label,
.feature-card .eyebrow,
.page-note .eyebrow,
.idea-panel .eyebrow,
.legal-panel .eyebrow,
.leaderboard-card .eyebrow {
  color: var(--brand-primary);
}

.button.primary,
.primary {
  background: var(--brand-primary);
  color: #ffffff;
}

.button.secondary,
.secondary {
  border-color: rgba(31, 91, 69, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-primary-dark);
}

.button.secondary:hover,
.secondary:hover {
  border-color: rgba(31, 91, 69, 0.38);
  background: rgba(255, 255, 255, 0.94);
}

.photo-strip figure,
.product-slide,
.menu-photo {
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 18px 46px rgba(7, 28, 22, 0.16);
}

.menu-category--playful {
  box-shadow: 0 20px 48px rgba(7, 28, 22, 0.22);
}

.menu-category--playful .menu-item,
.category-size-prices button,
.menu-category__mood {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
}

.menu-category__mood {
  color: var(--card-deep, var(--brand-primary-dark));
}

.category-size-prices button {
  color: var(--card-deep, var(--brand-primary-dark));
}

.category-size-prices button.is-selected {
  background: #ffffff;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 12% 0%, rgba(92, 143, 157, 0.24), transparent 30%),
    linear-gradient(135deg, var(--brand-primary-dark), #071f1a);
}

.footer-info dd,
.site-footer .brand strong {
  color: #f8ffff;
}

@media (max-width: 860px) {
  .main-nav,
  .main-nav.open {
    background: rgba(18, 59, 50, 0.94);
  }

  .quick-actions {
    background: rgba(18, 59, 50, 0.9);
  }
}

.product-slide {
  color: inherit;
  text-decoration: none;
}

.product-slide:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.88);
  outline-offset: 4px;
}

.product-slide:hover img {
  transform: scale(1.035);
}

.product-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.admin-password-fallback {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
}

.admin-password-fallback label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-password-fallback div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.admin-password-fallback input,
.admin-command__password input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  padding: 12px;
}

.admin-command__password {
  display: grid;
  gap: 8px;
}

.admin-command__password span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .product-story-grid {
    grid-template-columns: 1fr;
  }

  .firebase-diagnostics {
    grid-template-columns: 1fr;
  }

  .admin-readiness-grid {
    grid-template-columns: 1fr;
  }

  .admin-password-fallback div {
    grid-template-columns: 1fr;
  }
}

/* Unified commerce layout pass: one background, consistent spacing, boba-pearl cards. */
:root {
  --page-bg: #123b32;
  --page-bg-deep: #08251f;
  --page-bg-soft: #1f5b45;
  --panel-gap: clamp(18px, 3vw, 28px);
  --section-y: clamp(42px, 7vw, 86px);
  --panel-pad: clamp(18px, 2.6vw, 28px);
  --glass-light: rgba(255, 253, 247, 0.9);
  --glass-mid: rgba(255, 253, 247, 0.78);
  --glass-dark: rgba(11, 43, 35, 0.78);
  --pearl-shadow: 0 20px 52px rgba(4, 23, 18, 0.28);
}

body,
body.bubble-night {
  background:
    radial-gradient(circle at 16% 6%, rgba(78, 151, 100, 0.34), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(56, 122, 132, 0.26), transparent 28%),
    linear-gradient(180deg, var(--page-bg) 0%, var(--page-bg-deep) 100%);
  color: #f8ffff;
}

body.shop-is-open,
body.bubble-night.shop-is-open {
  --page-bg: #dff4e8;
  --page-bg-deep: #a8d7c0;
  --page-bg-soft: #f8fff9;
  --glass-light: rgba(255, 255, 255, 0.86);
  --glass-mid: rgba(255, 255, 255, 0.74);
  --glass-dark: rgba(255, 255, 255, 0.72);
  --ink: #12332c;
  --muted: #4f6a62;
  background:
    radial-gradient(circle at 14% 5%, rgba(186, 255, 138, 0.34), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(92, 143, 157, 0.22), transparent 28%),
    linear-gradient(180deg, #f8fff9 0%, #dff4e8 52%, #b8ddc9 100%);
  color: var(--ink);
}

body.shop-is-closed,
body.bubble-night.shop-is-closed {
  --page-bg: #123b32;
  --page-bg-deep: #061d19;
  --page-bg-soft: #1b4d3d;
  --glass-light: rgba(255, 253, 247, 0.9);
  --glass-mid: rgba(255, 253, 247, 0.78);
  --glass-dark: rgba(11, 43, 35, 0.78);
  background:
    radial-gradient(circle at 16% 6%, rgba(78, 151, 100, 0.24), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(56, 122, 132, 0.2), transparent 28%),
    linear-gradient(180deg, #123b32 0%, #061d19 100%);
  color: #f8ffff;
}

body.shop-is-open .bubble-sky {
  opacity: 0.1;
}

body.shop-is-closed .bubble-sky {
  opacity: 0.24;
}

body.shop-is-open .site-header,
body.shop-is-open .quick-actions {
  border-color: rgba(18, 51, 44, 0.1);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
}

body.shop-is-open .brand strong,
body.shop-is-open .site-header .brand small,
body.shop-is-open .main-nav a {
  color: var(--ink);
}

body.shop-is-open .brand-mark {
  background: var(--brand-primary);
  color: #ffffff;
}

body.shop-is-open .main-nav a[aria-current="page"],
body.shop-is-open .main-nav a:hover,
body.shop-is-open .main-nav a:focus-visible,
body.shop-is-open .quick-actions a {
  background: rgba(31, 91, 69, 0.1);
  color: var(--brand-primary-dark);
}

body.shop-is-open .hero-content p:not(.eyebrow),
body.shop-is-open .section-heading p,
body.shop-is-open .page-hero p:not(.eyebrow),
body.shop-is-open .story-band p:not(.eyebrow) {
  color: rgba(18, 51, 44, 0.74);
}

body.shop-is-open .eyebrow,
body.shop-is-open .panel-kicker {
  color: var(--brand-primary);
}

body.shop-is-open h1,
body.shop-is-open h2,
body.shop-is-open .section-heading h2 {
  color: var(--ink);
}

body.shop-is-open .menu-sidebar {
  background: rgba(255, 255, 255, 0.86);
}

.bubble-sky {
  opacity: 0.2;
  filter: saturate(0.95) blur(0.2px);
}

.site-header,
.quick-actions {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(10, 39, 32, 0.82);
  color: #f8ffff;
  box-shadow: 0 12px 34px rgba(5, 22, 18, 0.18);
  backdrop-filter: blur(8px);
}

body.bubble-night * {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.bubble-night .site-header,
body.bubble-night .quick-actions {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.brand small,
.main-nav a {
  color: rgba(248, 255, 255, 0.74);
}

.main-nav a[aria-current="page"],
.main-nav a:hover,
.main-nav a:focus-visible,
.quick-actions a,
.quick-action-button {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.quick-action-button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 9px 13px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  cursor: pointer;
}

.quick-action-button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.86);
  color: #123b32;
}

.hero,
.section,
.section:nth-of-type(even),
.photo-strip {
  background: transparent;
}

.hero,
.section {
  padding-block: var(--section-y);
}

.hero {
  min-height: min(760px, calc(100vh - 84px));
  padding-top: clamp(34px, 6vw, 84px);
}

.hero-shell,
.menu-studio,
.photo-strip,
.community-grid,
.product-story-grid,
.admin-editor-grid,
.admin-workbench {
  gap: var(--panel-gap);
}

.hero-content,
.section-heading,
.page-hero > div,
.story-band > div {
  display: grid;
  gap: 16px;
  align-content: start;
}

.hero-content p:not(.eyebrow),
.section-heading p,
.page-hero p:not(.eyebrow),
.story-band p:not(.eyebrow) {
  margin: 0;
  color: rgba(248, 255, 255, 0.78);
}

.eyebrow,
.panel-kicker {
  margin: 0;
  color: #cfe8b8;
}

.hero-info,
.hero-actions {
  margin-top: 10px;
}

.hero-info div,
.menu-sidebar,
.product-detail,
.feature-card,
.showcase-card,
.page-note,
.chat-shell,
.game-preview,
.idea-panel,
.legal-panel,
.admin-panel,
.admin-table-wrap,
.metric-card,
.visitor-panel,
.lock-card,
.admin-command,
.story-band,
.product-slide {
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--glass-light);
  box-shadow: var(--pearl-shadow);
}

.hero-info div,
.menu-sidebar,
.product-detail,
.feature-card,
.showcase-card,
.page-note,
.chat-shell,
.game-preview,
.idea-panel,
.legal-panel,
.admin-panel,
.metric-card,
.visitor-panel,
.lock-card {
  padding: var(--panel-pad);
}

.menu-photo,
.photo-strip figure,
.story-band figure {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 253, 247, 0.12);
  box-shadow: var(--pearl-shadow);
}

.photo-strip {
  padding-top: clamp(18px, 4vw, 42px);
  padding-bottom: clamp(32px, 5vw, 68px);
}

.photo-strip figure,
.photo-strip figure:nth-child(2),
.photo-strip figure:nth-child(3) {
  transform: none;
}

.section-heading--wide {
  margin-bottom: var(--panel-gap);
}

.menu-studio {
  align-items: start;
}

.menu-sidebar,
.product-detail {
  top: 98px;
}

.menu-sidebar {
  background: rgba(255, 253, 247, 0.88);
}

.menu-grid {
  gap: var(--panel-gap);
}

.menu-category--playful {
  gap: 16px;
  padding: var(--panel-pad);
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--card-deep, #183f31) 78%, transparent), rgba(8, 37, 31, 0.86)),
    radial-gradient(circle at 16% 10%, color-mix(in srgb, var(--card-accent, #5f8f49) 48%, transparent), transparent 34%);
  box-shadow: var(--pearl-shadow);
}

.menu-category--playful > .mini-sky {
  opacity: 0.88;
  mix-blend-mode: screen;
}

.menu-category__base {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.9);
  color: var(--card-deep, #183f31);
}

.menu-category--playful h3,
.menu-category--playful .menu-category__header p,
.menu-category__mood {
  color: #f8ffff;
}

.menu-category--playful h3 {
  margin-top: 2px;
}

.menu-category__mood,
.category-size-prices,
.menu-category--playful .menu-item {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 253, 247, 0.14);
  backdrop-filter: none;
}

.category-size-prices {
  margin-top: 2px;
  padding: 6px;
}

.category-size-prices button {
  min-height: 62px;
  color: #f8ffff;
}

.category-size-prices button.is-selected {
  background: rgba(255, 253, 247, 0.94);
  color: var(--card-deep, #183f31);
}

.category-size-prices span {
  color: inherit;
}

.menu-category--playful .menu-list {
  gap: 10px;
}

.menu-category--playful .menu-item {
  min-height: 62px;
  padding: 10px;
}

.menu-category--playful .menu-item:hover,
.menu-category--playful .menu-item.is-selected {
  background: rgba(255, 253, 247, 0.24);
}

.menu-item__icon {
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 234, 194, 0.7), transparent 18%),
    radial-gradient(circle at 50% 52%, rgba(58, 35, 24, 0.82), rgba(22, 14, 12, 0.86));
  box-shadow: inset 0 -8px 12px rgba(0, 0, 0, 0.18);
}

.menu-item__body strong {
  color: #ffffff;
}

.menu-item__body small {
  color: rgba(248, 255, 255, 0.72);
}

.product-detail {
  background: rgba(255, 253, 247, 0.92);
  overflow: hidden;
}

.product-detail h3,
.product-detail p,
.product-detail .source-note,
.product-detail .detail-options {
  margin-top: 0;
}

.detail-options,
.source-note {
  margin-top: 0;
}

.source-note {
  background: rgba(255, 255, 255, 0.7);
}

.page-links {
  padding-top: clamp(30px, 5vw, 64px);
}

.section,
.photo-strip,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

#accueil,
#menu {
  content-visibility: visible;
}

.site-footer {
  margin-top: 0;
}

@media (max-width: 860px) {
  .hero,
  .section {
    padding-block: clamp(30px, 9vw, 54px);
  }

  .photo-strip {
    padding-top: 18px;
  }

  .menu-studio {
    gap: 18px;
  }

  .menu-sidebar,
  .product-detail,
  .menu-category--playful {
    padding: 18px;
  }

  .site-header,
  .quick-actions,
  .menu-category__mood,
  .category-size-prices,
  .menu-category--playful .menu-item,
  .product-detail,
  .feature-card,
  .showcase-card {
    backdrop-filter: none !important;
  }
}

/* Stabilisation POC: menu lisible, panneau ouvert/ferme, jeu plus simple. */
.shop-status-card {
  display: inline-flex;
  width: min(100%, 380px);
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid rgba(207, 232, 184, 0.34);
  border-radius: 18px;
  background: rgba(7, 31, 26, 0.62);
  color: #f8ffff;
  padding: 12px 14px;
  box-shadow: 0 0 28px rgba(207, 232, 184, 0.12);
}

.shop-status-card strong,
.shop-status-card small {
  display: block;
}

.shop-status-card strong {
  font-size: 0.95rem;
  font-weight: 950;
  text-transform: uppercase;
}

.shop-status-card small {
  color: rgba(248, 255, 255, 0.74);
  font-size: 0.84rem;
  line-height: 1.35;
}

.shop-status-light {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f08f68;
  box-shadow: 0 0 0 5px rgba(240, 143, 104, 0.12), 0 0 22px rgba(240, 143, 104, 0.78);
}

.shop-status-card[data-shop-status="open"] {
  border-color: rgba(190, 255, 177, 0.58);
  box-shadow: 0 0 30px rgba(190, 255, 177, 0.16);
}

.shop-status-card[data-shop-status="open"] .shop-status-light {
  background: #baff8a;
  box-shadow: 0 0 0 5px rgba(186, 255, 138, 0.14), 0 0 26px rgba(186, 255, 138, 0.9);
}

.menu-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.menu-category--playful {
  min-height: auto;
  padding: clamp(16px, 2.4vw, 22px);
  border-radius: 22px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--card-deep, #183f31) 82%, #ffffff 0%), rgba(8, 37, 31, 0.92));
}

.menu-category--playful > .mini-sky {
  opacity: 0.34;
  mix-blend-mode: normal;
  pointer-events: none;
}

.menu-category__visual {
  display: none;
}

.menu-category--playful .menu-category__header {
  gap: 8px;
}

.menu-category--playful h3 {
  color: #ffffff;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
  line-height: 1.02;
  text-transform: none;
}

.menu-category__base {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.9);
  color: var(--card-deep, #183f31);
}

.category-size-prices,
.menu-category__mood,
.menu-category--playful .menu-item {
  background: rgba(255, 253, 247, 0.9);
  color: var(--card-deep, #183f31);
}

.menu-category__mood {
  margin: 0;
}

.category-size-prices button {
  color: var(--card-deep, #183f31);
}

.category-size-prices button.is-selected {
  background: var(--card-accent, #5f8f49);
  color: #ffffff;
}

.category-size-prices {
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 0;
}

.category-size-prices button {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 86px;
  place-items: center;
  gap: 0;
  border: 0;
  background: transparent;
  color: var(--card-deep, #183f31);
  overflow: visible;
}

.category-size-prices button::before {
  position: absolute;
  inset: 8px 4px;
  z-index: -1;
  content: "";
  border-radius: 58% 42% 54% 46% / 44% 58% 42% 56%;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.52), transparent 18%),
    color-mix(in srgb, var(--card-accent, #5f8f49) 42%, #fffdf7);
  box-shadow:
    inset 0 -12px 18px rgba(18, 51, 44, 0.12),
    0 12px 24px rgba(8, 37, 31, 0.12);
  transform: rotate(-8deg);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.category-size-prices button:nth-child(2)::before {
  inset: 4px 2px;
  border-radius: 48% 52% 42% 58% / 55% 43% 57% 45%;
  background:
    radial-gradient(circle at 31% 24%, rgba(255, 255, 255, 0.5), transparent 18%),
    color-mix(in srgb, var(--card-accent, #5f8f49) 55%, #fff8dc);
  transform: rotate(5deg) scale(1.04);
}

.category-size-prices button:nth-child(3)::before {
  inset: 1px -2px;
  border-radius: 54% 46% 58% 42% / 49% 56% 44% 51%;
  background:
    radial-gradient(circle at 32% 25%, rgba(255, 255, 255, 0.48), transparent 18%),
    color-mix(in srgb, var(--card-accent, #5f8f49) 68%, #fff8dc);
  transform: rotate(-3deg) scale(1.09);
}

.category-size-prices button:hover::before,
.category-size-prices button:focus-visible::before,
.category-size-prices button.is-selected::before {
  filter: saturate(1.12) brightness(1.04);
  box-shadow:
    inset 0 -14px 20px rgba(18, 51, 44, 0.13),
    0 16px 30px rgba(8, 37, 31, 0.18);
  transform: rotate(0deg) scale(1.12);
}

.category-size-prices button.is-selected {
  background: transparent;
  color: #ffffff;
}

.category-size-prices strong {
  align-self: end;
  color: inherit;
  font-size: 1.38rem;
  line-height: 1;
  text-shadow: 0 1px 12px rgba(8, 37, 31, 0.18);
}

.category-size-prices span {
  align-self: start;
  color: inherit;
  font-size: 0.72rem;
  opacity: 0.92;
}

.menu-category--playful .menu-list {
  gap: 8px;
}

.menu-category--playful .menu-item {
  min-height: 54px;
  border-color: rgba(18, 51, 44, 0.12);
}

.menu-category--playful .menu-item:hover,
.menu-category--playful .menu-item.is-selected {
  background: #ffffff;
}

.menu-item__body strong {
  color: var(--card-deep, #183f31);
}

.menu-item__body small {
  color: rgba(18, 51, 44, 0.62);
}

.bubble-drop-scene {
  min-height: 340px;
  grid-template-columns: 1fr;
  place-items: center;
  padding: clamp(18px, 5vw, 34px);
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 253, 247, 0.92), transparent 24%),
    linear-gradient(160deg, rgba(14, 69, 54, 0.96), rgba(8, 37, 31, 0.98));
}

.bubble-tea-illustration {
  display: none;
}

.pearl-target {
  display: grid;
  width: clamp(138px, 34vw, 210px);
  aspect-ratio: 1;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.72);
  transition: opacity 160ms ease, transform 180ms ease;
}

.pearl-target span {
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 221, 165, 0.95), transparent 14%),
    radial-gradient(circle at 55% 58%, #2b1712, #0e0908 72%);
  box-shadow: inset -12px -18px 26px rgba(0, 0, 0, 0.32), 0 18px 34px rgba(0, 0, 0, 0.28);
}

.bubble-drop-scene.is-ready .pearl-target {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.bubble-drop-scene.is-waiting .pearl-target {
  opacity: 0.18;
  transform: scale(0.42);
}

.bubble-drop-status {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-width: 126px;
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.92);
  padding: 12px;
  text-align: right;
}

.bubble-drop-status strong {
  color: var(--brand-primary);
}

.reaction-controls {
  grid-template-columns: minmax(0, 1fr) auto;
}

.admin-dashboard {
  gap: 22px;
}

.admin-editor-grid {
  align-items: start;
}

.admin-panel h3 {
  margin-bottom: 6px;
}

.admin-form-group-title {
  margin: 18px 0 8px;
  color: var(--brand-primary-dark);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-section-title {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.admin-section-title .admin-form-group-title {
  margin-bottom: 0;
}

.admin-public-links-panel {
  display: grid;
  gap: 12px;
  margin: 12px 0 16px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.78);
  padding: 14px;
}

.admin-public-links-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  justify-content: space-between;
}

.admin-public-links-head strong {
  color: var(--ink);
  font-size: 1rem;
}

.admin-public-links-head p {
  max-width: 64ch;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.34;
}

.admin-public-links-head > span {
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
  padding: 7px 10px;
}

.admin-public-links-head > span.is-ok {
  background: rgba(31, 91, 69, 0.12);
  color: var(--teal);
}

.admin-public-links-head > span.has-warning {
  background: rgba(125, 45, 58, 0.1);
  color: #7d2d3a;
}

.admin-contact-readiness {
  display: grid;
  grid-template-columns: minmax(190px, 0.75fr) minmax(260px, 1.25fr) auto;
  gap: 10px;
  align-items: stretch;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(238, 248, 249, 0.62);
  padding: 12px;
}

.admin-contact-readiness > div:first-child {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 4px;
}

.admin-contact-readiness span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-contact-readiness strong {
  color: var(--ink);
  line-height: 1.1;
}

.admin-contact-readiness p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.3;
}

.admin-contact-readiness dl {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}

.admin-contact-readiness dl div {
  min-width: 0;
  border: 1px solid rgba(31, 91, 69, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.68);
  padding: 8px;
}

.admin-contact-readiness dl div[data-state="warn"] {
  border-color: rgba(125, 45, 58, 0.18);
  background: rgba(255, 248, 244, 0.78);
}

.admin-contact-readiness dt {
  color: var(--teal);
  font-size: 0.62rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-contact-readiness dd {
  margin: 3px 0 0;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 860;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.admin-contact-readiness > div:last-child {
  display: grid;
  align-content: center;
  gap: 6px;
}

.admin-contact-readiness .button {
  min-height: 34px;
  padding: 7px 10px;
}

.admin-public-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

.admin-public-links-grid article {
  display: grid;
  gap: 7px;
  min-width: 0;
  border: 1px solid rgba(31, 91, 69, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  padding: 12px;
}

.admin-public-links-grid article.has-warning {
  border-color: rgba(125, 45, 58, 0.16);
  background: rgba(255, 248, 244, 0.76);
}

.admin-public-links-grid article > span {
  color: var(--teal);
  font-size: 0.64rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-public-links-grid article.has-warning > span {
  color: #7d2d3a;
}

.admin-public-links-grid strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.admin-public-links-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.3;
}

.admin-public-links-grid article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.admin-public-links-grid .button {
  min-height: 34px;
  padding: 7px 10px;
}

.admin-public-links-grid em {
  color: #7d2d3a;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 900;
}

.admin-category-config {
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.88);
}

.admin-config-table-wrap {
  margin-top: 8px;
  box-shadow: none;
}

.admin-config-table {
  min-width: 760px;
}

.admin-config-table--categories {
  min-width: 1180px;
}

.admin-config-table th {
  white-space: nowrap;
}

.admin-config-table input[type="color"] {
  min-width: 54px;
  padding: 4px;
}

.admin-config-table :is(th, td)[data-label] {
  min-width: 0;
}

.admin-config-table--categories,
.admin-config-table--ingredients {
  border-collapse: separate;
  border-spacing: 0;
}

.admin-config-table--categories thead,
.admin-config-table--ingredients thead {
  display: none;
}

.admin-config-table--categories tbody,
.admin-config-table--ingredients tbody {
  display: grid;
  gap: 12px;
}

.admin-config-table--categories tr,
.admin-config-table--ingredients tr {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.78);
  padding: 12px;
}

.admin-config-table--categories tr {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.admin-config-table--ingredients tr {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.admin-config-table--categories :is(th, td),
.admin-config-table--ingredients :is(th, td) {
  display: grid;
  gap: 6px;
  border-bottom: 0;
  padding: 0;
}

.admin-config-table--categories :is(th, td)[data-label]::before,
.admin-config-table--ingredients :is(th, td)[data-label]::before {
  content: attr(data-label);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.admin-config-table--categories td[data-label="Image"],
.admin-config-table--categories td[data-label="Badges"],
.admin-config-table--ingredients td[data-label="Description"],
.admin-config-table--ingredients td[data-label="Tags"],
.admin-config-table--ingredients td[data-label="Actions"] {
  grid-column: span 2;
}

.admin-category-mode {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(34, 92, 72, 0.14);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.82);
}

.admin-category-mode > div {
  display: grid;
  gap: 3px;
}

.admin-category-mode .admin-form-group-title {
  margin: 0;
}

.admin-category-mode span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

[data-catalog-section="categories"][data-category-advanced="false"] [data-category-advanced-field] {
  display: none;
}

[data-catalog-section="categories"][data-category-advanced="false"] .admin-config-table--categories tr {
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
}

.admin-price-helper {
  display: grid;
  grid-template-columns: minmax(170px, 0.9fr) minmax(220px, 1.2fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(34, 92, 72, 0.14);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.86);
}

.admin-price-helper > div:first-child {
  display: grid;
  gap: 4px;
}

.admin-price-helper span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-price-helper strong {
  font-size: 1rem;
  font-weight: 950;
}

.admin-price-helper small,
.admin-price-helper p,
.admin-price-helper li {
  color: #52665c;
  font-size: 0.83rem;
  line-height: 1.35;
}

.admin-price-helper ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-price-helper li {
  padding: 5px 7px;
  border-radius: 999px;
  background: #fff4df;
  color: #7a5625;
  font-weight: 850;
}

.admin-price-helper__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-price-helper [data-price-helper-note] {
  grid-column: 1 / -1;
  margin: 0;
}

.admin-config-table td[data-price-focus="true"] input {
  border-color: rgba(198, 83, 63, 0.74);
  box-shadow: 0 0 0 4px rgba(198, 83, 63, 0.14);
}

.admin-table-switcher {
  max-width: 360px;
}

.admin-catalog-overview-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(34, 92, 72, 0.14);
  border-radius: 8px;
  background: #f7fbf2;
}

.admin-catalog-overview-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-catalog-overview-panel__head > div {
  display: grid;
  gap: 3px;
}

.admin-catalog-overview-panel__head strong {
  font-size: 0.96rem;
  font-weight: 950;
}

.admin-catalog-overview-panel__head span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.admin-catalog-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 4px;
}

.admin-catalog-overview__card {
  display: grid;
  gap: 5px;
  min-height: 116px;
  padding: 12px;
  border: 1px solid rgba(34, 92, 72, 0.16);
  border-radius: 8px;
  background: #fffdf7;
  color: #233a32;
  text-align: left;
  cursor: pointer;
}

.admin-catalog-overview__card:hover,
.admin-catalog-overview__card:focus-visible,
.admin-catalog-overview__card.is-active {
  border-color: rgba(34, 92, 72, 0.42);
  box-shadow: 0 14px 30px rgba(28, 56, 44, 0.12);
  transform: translateY(-1px);
}

.admin-catalog-overview__card span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-catalog-overview__card strong {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 0.9;
}

.admin-catalog-overview__card small {
  color: #52665c;
  font-size: 0.8rem;
  line-height: 1.35;
}

.admin-catalog-overview__card.is-ok {
  border-left: 4px solid #4f8a62;
}

.admin-catalog-overview__card.is-warn,
.admin-catalog-overview__card.is-manual {
  border-left: 4px solid #c49436;
}

.admin-catalog-overview__card.is-alert {
  border-left: 4px solid #c6533f;
}

.admin-ingredient-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(180px, 0.8fr) auto auto;
  align-items: end;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(34, 92, 72, 0.14);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.82);
}

.admin-ingredient-filters [data-ingredient-filter-count] {
  align-self: center;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.25;
}

.admin-ingredient-filters [data-ingredient-filter-count][data-state="empty"] {
  color: #b4513f;
}

.admin-config-table--ingredients tr[hidden] {
  display: none;
}

@media (max-width: 680px) {
  .admin-catalog-overview-panel__head {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-catalog-overview-panel__head .button {
    width: 100%;
  }

  .admin-ingredient-filters {
    grid-template-columns: 1fr;
  }

  .admin-category-mode {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-category-mode .button {
    width: 100%;
  }

  .admin-price-helper {
    grid-template-columns: 1fr;
  }

  .admin-price-helper__actions {
    justify-content: stretch;
  }

  .admin-price-helper__actions .button {
    width: 100%;
  }
}

.admin-catalog-section {
  display: none;
}

.admin-catalog-section.is-active {
  display: grid;
  gap: 8px;
}

.admin-config-table tr[data-catalog-focus="true"] {
  outline: 3px solid rgba(198, 83, 63, 0.34);
  outline-offset: -3px;
}

.admin-config-table tr[data-catalog-focus="true"] :is(input, select, textarea) {
  border-color: rgba(198, 83, 63, 0.65);
  box-shadow: 0 0 0 3px rgba(198, 83, 63, 0.12);
}

/* Typo simplification: one readable body face, one handwritten accent face. */
body,
button,
input,
textarea,
select {
  font-family: var(--font-body);
  font-size: var(--type-text);
}

h1,
h2,
.hero-product h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--type-title);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: none;
}

h3,
.menu-category--playful h3,
.product-detail h3,
.feature-card h3,
.leaderboard-head h2,
.section-heading h2 {
  font-family: var(--font-display);
  font-size: var(--type-subtitle);
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: none;
}

p,
small,
.menu-item__body strong,
.menu-item__body small,
.hero-content p:not(.eyebrow),
.section-heading p,
.feature-card p,
.product-detail p {
  font-family: var(--font-body);
}

.menu-category__mood {
  display: none !important;
}

.category-size-prices button {
  min-height: 104px;
}

.category-size-prices strong {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 7vw, 3.45rem);
  font-weight: 900;
  line-height: 0.82;
}

.category-size-prices span {
  margin-top: 2px;
  font-size: clamp(0.94rem, 2.4vw, 1.15rem);
  font-weight: 900;
}

@media (max-width: 860px) {
  :root {
    --type-title: clamp(2rem, 11vw, 3.2rem);
    --type-subtitle: clamp(1.45rem, 7vw, 2.1rem);
  }

  .category-size-prices button {
    min-height: 94px;
  }

  .category-size-prices strong {
    font-size: clamp(2rem, 11vw, 3rem);
  }
}

@media (max-width: 860px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .shop-status-card {
    width: 100%;
  }

  .reaction-controls {
    grid-template-columns: 1fr;
  }

  .bubble-drop-status {
    right: 12px;
    bottom: 12px;
  }
}

/* Site-wide harmony pass: final typography, spacing and component rhythm. */
:root {
  --font-body: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Segoe UI Variable Display", "Aptos Display", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  --text-normal: clamp(0.96rem, 0.25vw + 0.9rem, 1.05rem);
  --text-small: 0.84rem;
  --text-title: clamp(2.15rem, 5.4vw, 4.6rem);
  --text-subtitle: clamp(1.55rem, 2.8vw, 2.25rem);
  --radius-panel: 22px;
  --radius-control: 14px;
  --space-card: clamp(16px, 2.6vw, 26px);
  --space-section: clamp(42px, 7vw, 84px);
}

html,
body {
  font-family: var(--font-body);
  font-size: var(--text-normal);
  letter-spacing: 0;
}

body,
button,
input,
textarea,
select,
a,
p,
li,
dt,
dd,
small {
  font-family: var(--font-body);
}

h1,
h2,
.hero h1,
.page-hero h1,
.section-heading h2,
.showcase-card h2,
.story-band h2 {
  font-family: var(--font-display);
  font-size: var(--text-title);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: none;
}

h3,
.menu-category--playful h3,
.product-detail h3,
.feature-card h3,
.page-note strong,
.leaderboard-head h2,
.admin-panel h3 {
  font-family: var(--font-display);
  font-size: var(--text-subtitle);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: none;
}

.admin-page h1,
.admin-page h2,
.admin-page h3,
.admin-table th,
.admin-form-group-title {
  font-family: var(--font-body);
}

.hero-content p:not(.eyebrow),
.section-heading p,
.page-hero p:not(.eyebrow),
.feature-card p,
.product-detail p,
.game-preview p,
.admin-panel p,
.site-footer p {
  font-size: var(--text-normal);
  line-height: 1.56;
}

.brand small,
.eyebrow,
.panel-kicker,
.showcase-label,
.menu-item__body small,
.source-note span,
.tag,
.chip,
.button,
.admin-table th,
.admin-form-field span,
.score-pill small,
.score-date {
  font-size: var(--text-small);
}

.eyebrow,
.panel-kicker,
.admin-form-group-title,
.admin-table th {
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero,
.section,
.page-hero {
  padding-block: var(--space-section);
}

.showcase-card,
.menu-sidebar,
.product-detail,
.menu-category,
.feature-card,
.chat-shell,
.game-preview,
.leaderboard-card,
.page-note,
.idea-panel,
.legal-panel,
.admin-panel,
.admin-table-wrap,
.metric-card,
.visitor-panel,
.lock-card,
.admin-command,
.shop-status-card {
  border-radius: var(--radius-panel);
}

.button,
.chip,
.icon-button,
input,
textarea,
select,
.source-note,
.tag,
.score-pill,
.performance-badge {
  border-radius: var(--radius-control);
}

.button,
.chip {
  min-height: 44px;
  padding: 10px 15px;
  line-height: 1;
}

.menu-category--playful {
  gap: 14px;
  padding: var(--space-card);
}

.menu-category--playful h3 {
  color: #ffffff;
}

.menu-category__mood {
  display: none !important;
}

.category-size-prices {
  gap: 12px;
  margin-block: 2px 4px;
}

.category-size-prices button {
  min-height: 112px;
}

.category-size-prices strong {
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 8vw, 3.85rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: 0;
}

.category-size-prices span {
  font-size: clamp(1rem, 2.4vw, 1.22rem);
  font-weight: 900;
  line-height: 1;
}

.menu-item__body strong {
  font-size: 1rem;
  line-height: 1.18;
}

.product-detail .detail-price,
.score-row strong,
.bubble-drop-status strong,
.leaderboard-summary strong {
  font-family: var(--font-display);
}

.site-footer,
.admin-page {
  font-family: var(--font-body);
}

body.admin-page {
  overflow-x: hidden;
}

@media (max-width: 860px) {
  :root {
    --text-title: clamp(2.05rem, 11vw, 3.35rem);
    --text-subtitle: clamp(1.5rem, 7.5vw, 2.2rem);
    --space-section: clamp(30px, 9vw, 56px);
  }

  .category-size-prices {
    gap: 8px;
  }

  .category-size-prices button {
    min-height: 96px;
  }

  .category-size-prices strong {
    font-size: clamp(2.2rem, 12vw, 3.1rem);
  }
}

/* Home simplification: one product suggestion, no redundant image wall. */
.hero-gallery {
  align-content: center;
  justify-items: center;
}

.hero-gallery .hero-product {
  position: relative;
  right: auto;
  bottom: auto;
  width: min(420px, 100%);
}

.hero-product .product-photo {
  height: clamp(230px, 38vw, 340px);
}

.hero-product h2 {
  font-size: clamp(2rem, 7vw, 3.15rem);
}

.hero-product p,
.feature-card p {
  max-width: 30ch;
}

.hero-info {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero {
  min-height: auto;
  padding-bottom: clamp(20px, 3.5vw, 36px);
}

.hero-shell {
  min-height: auto;
}

#menu.section {
  padding-top: clamp(24px, 4vw, 44px);
}

.hero + #menu.section {
  margin-top: 0;
}

/* Bubble Drop: explicit launch button, then a single pearl drop target. */
.bubble-drop-scene {
  position: relative;
  overflow: hidden;
  cursor: default;
}

.game-start-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  min-width: 156px;
  min-height: 156px;
  place-items: center;
  border: 1px solid rgba(255, 253, 247, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.9), transparent 18%),
    radial-gradient(circle at 55% 62%, rgba(91, 177, 144, 0.98), rgba(20, 101, 80, 0.98) 72%);
  color: #ffffff;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 900;
  line-height: 1;
  box-shadow:
    inset -18px -22px 34px rgba(8, 37, 31, 0.2),
    0 22px 54px rgba(8, 37, 31, 0.26);
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, transform 220ms ease, filter 180ms ease;
}

.game-start-button:hover,
.game-start-button:focus-visible {
  filter: saturate(1.08) brightness(1.05);
  transform: translate(-50%, -50%) scale(1.035);
}

.bubble-drop-scene.is-waiting .game-start-button,
.bubble-drop-scene.is-ready .game-start-button {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
}

.pearl-target {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%) scale(0.7);
}

.bubble-drop-scene.is-ready .pearl-target {
  animation: pearl-drop-in 430ms cubic-bezier(0.17, 0.86, 0.32, 1.18) both;
  transform: translate(-50%, -50%) scale(1);
}

.bubble-drop-scene.is-waiting .pearl-target {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.45);
}

@keyframes pearl-drop-in {
  0% {
    opacity: 0;
    transform: translate(-50%, -185%) scale(0.72);
  }
  72% {
    opacity: 1;
    transform: translate(-50%, -44%) scale(1.08);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.reaction-controls {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 860px) {
  .hero-info {
    grid-template-columns: 1fr;
  }

  .game-start-button {
    min-width: 136px;
    min-height: 136px;
  }
}

/* Product detail: readable server note, with stable contrast. */
.product-detail {
  gap: 14px;
  border: 1px solid rgba(28, 78, 61, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(248, 242, 226, 0.96));
  color: #16372b;
  box-shadow: 0 18px 44px rgba(8, 37, 31, 0.14);
}

.server-note-head,
.server-note-title,
.server-note-line,
.server-note-footer {
  position: relative;
  z-index: 1;
}

.server-note-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(28, 78, 61, 0.28);
}

.server-note-category {
  color: #2a6755;
  font-size: var(--text-small);
  font-weight: 900;
  text-transform: uppercase;
}

.server-note-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.product-detail h3 {
  color: #12372b;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
}

.product-detail p,
.server-note-line p {
  color: #28473d;
}

.detail-price {
  min-width: 88px;
  color: #0f5b45;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 0.9;
  text-align: right;
}

.product-choice-brief {
  display: grid;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.product-choice-intro > span {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.1);
  color: #1f5b45;
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  padding: 6px 8px;
  text-transform: uppercase;
}

.product-choice-intro p {
  margin: 7px 0 0;
  color: #28473d;
  font-size: 0.84rem;
  font-weight: 760;
  line-height: 1.35;
}

.product-option-steps {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.product-option-step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 6px 0;
  border-top: 1px solid color-mix(in srgb, var(--card-accent, #5f8f49) 18%, transparent);
}

.product-option-step__label {
  color: color-mix(in srgb, var(--card-deep, #12332c) 72%, #ffffff 28%);
  font-size: 0.61rem;
  font-weight: 950;
  line-height: 1.05;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-option-step__choices {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 0;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.product-option-step__choices::-webkit-scrollbar {
  display: none;
}

.product-option-choice {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  border: 1px solid color-mix(in srgb, var(--card-accent, #5f8f49) 22%, rgba(31, 91, 69, 0.14));
  border-radius: 999px;
  background: color-mix(in srgb, var(--product-page-warm, #fffdf7) 78%, rgba(255, 255, 255, 0.58) 22%);
  color: color-mix(in srgb, var(--card-deep, #12332c) 82%, #ffffff 18%);
  cursor: pointer;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  padding: 7px 11px;
  scroll-snap-align: start;
  white-space: nowrap;
}

.product-option-choice span,
.product-option-choice small {
  color: inherit;
  line-height: 1;
}

.product-option-choice small {
  opacity: 0.76;
  font-size: 0.7rem;
  font-weight: 900;
}

.product-option-choice:hover,
.product-option-choice:focus-visible {
  border-color: color-mix(in srgb, var(--card-accent, #5f8f49) 52%, rgba(31, 91, 69, 0.2));
  outline: none;
}

.product-option-choice.is-selected {
  border-color: color-mix(in srgb, var(--card-deep, #12332c) 64%, transparent);
  background: color-mix(in srgb, var(--card-deep, #12332c) 88%, #ffffff 12%);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 253, 247, 0.12);
}

.product-detail .size-selector button {
  min-height: 62px;
  border-color: rgba(28, 78, 61, 0.16);
  background: rgba(255, 255, 255, 0.64);
  color: #174336;
}

.product-detail .size-selector button strong,
.product-detail .size-selector button span {
  color: inherit;
}

.product-detail .size-selector button span {
  display: block;
  margin-top: 3px;
  font-size: 0.78rem;
  font-weight: 900;
}

.product-detail .size-selector button.is-selected {
  border-color: rgba(15, 91, 69, 0.38);
  background: #0f5b45;
  color: #ffffff;
}

.server-note-line,
.server-note-footer {
  display: grid;
  gap: 7px;
  padding: 12px 0;
  border-top: 1px dashed rgba(28, 78, 61, 0.2);
}

.server-note-line > span,
.server-note-footer > span {
  color: #2a6755;
  font-size: var(--text-small);
  font-weight: 950;
  text-transform: uppercase;
}

.server-note-line p {
  margin: 0;
  line-height: 1.45;
}

.server-note-line--allergens p {
  color: #8b3140;
  font-weight: 800;
}

.server-note-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.server-note-footer .tag {
  background: rgba(15, 91, 69, 0.1);
  color: #174336;
}

.product-detail .source-note,
.product-detail .source-note span,
.product-detail .detail-options,
.product-detail .detail-options span {
  color: #28473d;
}

body.shop-is-open .product-detail {
  border-color: rgba(28, 78, 61, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 251, 244, 0.95));
  color: #12332c;
}

body.shop-is-closed .product-detail {
  border-color: rgba(229, 246, 221, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.97), rgba(232, 243, 228, 0.93));
  color: #12332c;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.26);
}

body.shop-is-open .product-detail h3,
body.shop-is-closed .product-detail h3 {
  color: #12372b;
}

body.shop-is-open .product-detail p,
body.shop-is-open .server-note-line p,
body.shop-is-closed .product-detail p,
body.shop-is-closed .server-note-line p {
  color: #28473d;
}

body.shop-is-open .server-note-category,
body.shop-is-open .server-note-line > span,
body.shop-is-open .server-note-footer > span,
body.shop-is-open .product-detail .showcase-label,
body.shop-is-closed .server-note-category,
body.shop-is-closed .server-note-line > span,
body.shop-is-closed .server-note-footer > span,
body.shop-is-closed .product-detail .showcase-label {
  color: #2a6755;
}

body.shop-is-open .detail-price,
body.shop-is-closed .detail-price {
  color: #0f5b45;
}

body.shop-is-open .product-detail .size-selector button,
body.shop-is-closed .product-detail .size-selector button {
  background: rgba(255, 255, 255, 0.66);
  color: #174336;
}

body.shop-is-open .product-detail .size-selector button.is-selected,
body.shop-is-closed .product-detail .size-selector button.is-selected {
  background: #0f5b45;
  color: #ffffff;
}

body.shop-is-open .server-note-line--allergens p,
body.shop-is-closed .server-note-line--allergens p {
  color: #8b3140;
}

@media (max-width: 860px) {
  .server-note-title {
    grid-template-columns: 1fr;
  }

  .detail-price {
    text-align: left;
  }
}

/* Final readability pass: paper note, no noisy text backgrounds. */
.showcase-label,
.hero-product .showcase-label,
.product-detail .showcase-label {
  display: inline;
  width: fit-content;
  background: transparent;
  color: #1f5b45;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-product {
  color: #12332c;
}

.hero-product h2,
.hero-product p,
.hero-product .showcase-meta,
.hero-product .showcase-meta strong,
.hero-product .showcase-meta span {
  color: #12332c;
}

.product-detail {
  --product-panel-surface:
    radial-gradient(circle at 86% 10%, color-mix(in srgb, var(--card-accent, #5f8f49) 18%, transparent), transparent 36%),
    linear-gradient(145deg,
      color-mix(in srgb, var(--card-deep, #183f31) 12%, var(--product-page-warm, var(--menu-page-warm, #e8eadb))),
      color-mix(in srgb, var(--card-accent, #5f8f49) 24%, var(--product-page-warm, var(--menu-page-warm, #e8eadb))) 74%,
      color-mix(in srgb, var(--card-deep, #183f31) 8%, var(--product-page-soft, var(--menu-page-soft, #b9d8c8))));
  --product-photo-surface:
    radial-gradient(circle at 34% 18%, color-mix(in srgb, var(--card-accent, #5f8f49) 20%, transparent), transparent 46%),
    linear-gradient(135deg,
      color-mix(in srgb, var(--card-deep, #183f31) 18%, var(--product-page-warm, var(--menu-page-warm, #e8eadb))),
      color-mix(in srgb, var(--card-accent, #5f8f49) 34%, var(--product-page-soft, var(--menu-page-soft, #b9d8c8))));
  gap: 12px;
  padding: clamp(16px, 2.4vw, 22px);
  border: 1px solid rgba(38, 66, 48, 0.18);
  background: var(--product-panel-surface);
  color: #1b2d25;
}

.product-detail::before {
  display: none;
}

.server-note-head {
  align-items: baseline;
  padding-bottom: 8px;
}

.server-note-category {
  color: #49665d;
  white-space: nowrap;
}

.server-note-title {
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 12px;
}

.server-note-title > div {
  min-width: 0;
}

.product-detail h3 {
  max-width: 18ch;
  color: #152c24;
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 0.98;
}

.product-detail p {
  margin: 2px 0 0;
  color: #49665d;
  line-height: 1.34;
}

.detail-price {
  min-width: auto;
  border: 0;
  background: transparent;
  color: #1f5b45;
  cursor: default;
  font-family: var(--font-body);
  font-size: clamp(1.65rem, 3.6vw, 2.25rem);
  font-weight: 950;
  line-height: 1;
  padding: 0;
  white-space: nowrap;
}

.detail-price:hover,
.detail-price:focus-visible {
  color: #1f5b45;
  outline: none;
}

.product-cup-stage {
  display: grid;
  min-height: 218px;
  place-items: end center;
  padding: 14px 0 8px;
  overflow: hidden;
}

.product-cup {
  --cup-scale: 1;
  --cup-accent: #5f8f49;
  --cup-deep: #183f31;
  --cup-light: color-mix(in srgb, var(--cup-accent) 46%, #ffffff 54%);
  --cup-mid: color-mix(in srgb, var(--cup-accent) 78%, #ffffff 22%);
  --cup-overshoot: 1.1;
  --cup-squash: 0.9;
  --cup-shrink: 0.72;
  --cup-drift: 0px;
  --cup-smoke-size: 1;
  --cup-fill-top: 34%;
  position: relative;
  width: 112px;
  height: 142px;
  transform: scale(var(--cup-scale));
  transform-origin: 50% 100%;
  filter: drop-shadow(0 18px 18px rgba(31, 61, 48, 0.2));
}

.cup-top,
.cup-bottom,
.cup-body {
  position: absolute;
  left: 50%;
  translate: -50% 0;
}

.cup-top {
  top: 0;
  width: 94px;
  height: 22px;
  border: 2px solid rgba(35, 66, 50, 0.24);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(231, 245, 230, 0.9));
  z-index: 4;
}

.cup-body {
  top: 11px;
  width: 84px;
  height: 112px;
  overflow: hidden;
  border: 2px solid rgba(35, 66, 50, 0.22);
  border-radius: 13px 13px 26px 26px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.26), transparent 24% 76%, rgba(255, 255, 255, 0.22)),
    rgba(255, 255, 255, 0.48);
  clip-path: polygon(6% 0, 94% 0, 82% 100%, 18% 100%);
  z-index: 2;
}

.cup-fill {
  position: absolute;
  top: var(--cup-fill-top);
  right: 7px;
  bottom: 6px;
  left: 7px;
  border-radius: 10px 10px 22px 22px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.34), transparent 18%),
    linear-gradient(180deg, var(--cup-light), var(--cup-mid) 50%, color-mix(in srgb, var(--cup-accent) 78%, var(--cup-deep) 22%));
  transition: top 360ms cubic-bezier(0.2, 0.9, 0.24, 1);
}

.product-cup--matcha .cup-fill {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.38), transparent 18%),
    linear-gradient(180deg, var(--cup-light), var(--cup-mid) 48%, color-mix(in srgb, var(--cup-accent) 76%, #3f6f32 24%));
}

.product-cup--milk .cup-fill {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.34), transparent 18%),
    linear-gradient(180deg, color-mix(in srgb, var(--cup-accent) 40%, #f4dbc1 60%), var(--cup-mid), color-mix(in srgb, var(--cup-accent) 78%, #6e4930 22%));
}

.product-cup--fruit .cup-fill {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.32), transparent 18%),
    linear-gradient(180deg, color-mix(in srgb, var(--cup-accent) 38%, #ffd7d7 62%), var(--cup-mid), color-mix(in srgb, var(--cup-accent) 82%, #842a3a 18%));
}

.product-cup--originals .cup-fill {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.3), transparent 18%),
    linear-gradient(180deg, color-mix(in srgb, var(--cup-accent) 36%, #d5f3f7 64%), var(--cup-mid), color-mix(in srgb, var(--cup-accent) 80%, #143f49 20%));
}

.cup-shine {
  position: absolute;
  top: 22px;
  left: 17px;
  width: 10px;
  height: 62px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  z-index: 3;
}

.cup-size-badge {
  position: absolute;
  left: 50%;
  top: 45px;
  display: grid;
  min-width: 36px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.86);
  color: var(--cup-deep);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: 0;
  translate: -50% 0;
  z-index: 5;
}

.cup-bottom {
  bottom: 7px;
  width: 58px;
  height: 14px;
  border-radius: 50%;
  background: rgba(38, 66, 48, 0.2);
  z-index: 1;
}

.cup-pearl {
  position: absolute;
  bottom: 12px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 225, 178, 0.9), transparent 18%),
    #251511;
  z-index: 4;
}

.cup-pearl--one { left: 24px; }
.cup-pearl--two { left: 39px; bottom: 9px; }
.cup-pearl--three { right: 24px; }

.cup-smoke {
  position: absolute;
  left: 50%;
  top: -8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.72), transparent 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 6;
}

.cup-smoke--one { margin-left: -30px; }
.cup-smoke--two { margin-left: 8px; }

.cup-air {
  position: absolute;
  top: 64px;
  width: 42px;
  height: 16px;
  border-radius: 999px;
  border-top: 2px solid rgba(31, 91, 69, 0.22);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.cup-air--one {
  left: -28px;
}

.cup-air--two {
  right: -28px;
  scale: -1 1;
}

.product-cup {
  animation-duration: 560ms;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.2, 0.9, 0.24, 1);
}

.product-cup .cup-fill {
  animation: cup-liquid-follow 620ms cubic-bezier(0.2, 0.9, 0.24, 1) both;
}

.product-cup .cup-pearl {
  animation: cup-pearl-follow 640ms cubic-bezier(0.2, 0.9, 0.24, 1) both;
}

.product-cup--puff {
  animation-name: cup-puff-better;
}

.product-cup--cloud {
  animation-name: cup-cloud-better;
}

.product-cup--cloud .cup-smoke--one {
  animation: cup-smoke-better 720ms ease-out both;
}

.product-cup--cloud .cup-smoke--two {
  animation: cup-smoke-better 720ms 90ms ease-out both;
}

.product-cup--assemble {
  animation-name: cup-assemble-base;
}

.product-cup--assemble .cup-top {
  animation: cup-top-assemble-better 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.product-cup--assemble .cup-body,
.product-cup--assemble .cup-bottom {
  animation: cup-body-assemble-better 560ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.product-cup--breath {
  animation-name: cup-breath-better;
  animation-duration: 760ms;
}

.product-cup--breath .cup-air {
  animation: cup-air-better 660ms ease-out both;
}

.product-cup--balloon {
  animation-name: cup-balloon-better;
  animation-duration: 820ms;
}

.product-cup--balloon .cup-smoke--one,
.product-cup--balloon .cup-smoke--two {
  animation: cup-smoke-better 760ms ease-out both;
}

@keyframes cup-puff-better {
  0% { transform: scale(var(--cup-scale)); }
  16% { transform: translateY(5px) scale(calc(var(--cup-scale) * 1.03), calc(var(--cup-scale) * 0.92)); }
  46% { transform: translateY(-6px) scale(calc(var(--cup-scale) * var(--cup-overshoot)), calc(var(--cup-scale) * 0.94)); }
  72% { transform: translateY(2px) scale(calc(var(--cup-scale) * 0.98), calc(var(--cup-scale) * 1.02)); }
  100% { transform: translateY(0) scale(var(--cup-scale)); }
}

@keyframes cup-cloud-better {
  0% { transform: translateY(6px) scale(calc(var(--cup-scale) * 0.94)); opacity: 0.84; }
  38% { transform: translateY(-4px) scale(calc(var(--cup-scale) * 1.035)); opacity: 1; }
  100% { transform: translateY(0) scale(var(--cup-scale)); opacity: 1; }
}

@keyframes cup-assemble-base {
  0% { transform: translateY(4px) scale(calc(var(--cup-scale) * 0.96)); }
  100% { transform: translateY(0) scale(var(--cup-scale)); }
}

@keyframes cup-smoke-better {
  0% { opacity: 0; transform: translate(-50%, 12px) scale(calc(0.35 * var(--cup-smoke-size))); }
  30% { opacity: 0.58; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--cup-drift)), -26px) scale(calc(1.05 * var(--cup-smoke-size))); }
}

@keyframes cup-top-assemble-better {
  0% { transform: translateY(-22px) scaleX(0.9); opacity: 0; }
  62% { transform: translateY(3px) scaleX(1.04); opacity: 1; }
  100% { transform: translateY(0) scaleX(1); opacity: 1; }
}

@keyframes cup-body-assemble-better {
  0% { transform: translateY(24px) scaleY(0.9); opacity: 0; }
  62% { transform: translateY(-3px) scaleY(1.025); opacity: 1; }
  100% { transform: translateY(0) scaleY(1); opacity: 1; }
}

@keyframes cup-breath-better {
  0% { transform: scale(var(--cup-scale)); }
  18% { transform: translateY(4px) scale(calc(var(--cup-scale) * 1.025), calc(var(--cup-scale) * 0.94)); }
  42% { transform: translateY(-7px) scale(calc(var(--cup-scale) * var(--cup-overshoot)), calc(var(--cup-scale) * 0.9)); }
  64% { transform: translateY(3px) scale(calc(var(--cup-scale) * 0.96), calc(var(--cup-scale) * 1.055)); }
  84% { transform: translateY(-1px) scale(calc(var(--cup-scale) * 1.015)); }
  100% { transform: translateY(0) scale(var(--cup-scale)); }
}

@keyframes cup-balloon-better {
  0% { transform: translateY(44px) scale(calc(var(--cup-scale) * 0.48)); opacity: 0; }
  26% { transform: translateY(10px) scale(calc(var(--cup-scale) * 0.82), calc(var(--cup-scale) * 1.08)); opacity: 1; }
  54% { transform: translateY(-12px) scale(calc(var(--cup-scale) * var(--cup-overshoot)), calc(var(--cup-scale) * 0.94)); }
  78% { transform: translateY(3px) scale(calc(var(--cup-scale) * 0.98), calc(var(--cup-scale) * 1.02)); }
  100% { transform: translateY(0) scale(var(--cup-scale)); }
}

@keyframes cup-air-better {
  0% { opacity: 0; transform: translateX(0) scaleX(0.4); }
  34% { opacity: 0.46; }
  100% { opacity: 0; transform: translateX(var(--cup-drift)) scaleX(1.08); }
}

@keyframes cup-liquid-follow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  34% { transform: translateY(2px) rotate(-1.6deg); }
  64% { transform: translateY(-1px) rotate(1.1deg); }
}

@keyframes cup-pearl-follow {
  0%, 100% { transform: translateY(0); }
  38% { transform: translateY(3px); }
  72% { transform: translateY(-1px); }
}

@media (prefers-reduced-motion: reduce) {
  .product-cup,
  .product-cup *,
  .cup-smoke,
  .cup-air {
    animation: none !important;
  }
}

body.motion-calm *,
body.motion-calm *::before,
body.motion-calm *::after {
  animation: none !important;
  scroll-behavior: auto !important;
  transition-duration: 0.01ms !important;
}

body.motion-calm .bubble-sky {
  opacity: 0.1;
}

.product-detail .size-selector button {
  min-height: 54px;
  padding: 8px 6px;
  border: 1px solid rgba(31, 91, 69, 0.2);
  background: transparent;
  color: #1f5b45;
  box-shadow: none;
}

.product-detail .size-selector button strong {
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 950;
}

.product-detail .size-selector button span {
  font-size: 0.78rem;
}

.product-detail .size-selector button.is-selected {
  border-color: #1f5b45;
  background: #1f5b45;
  color: #ffffff;
}

.category-size-prices button.is-size-disabled {
  cursor: default;
  opacity: 0.62;
}

.category-size-prices button.is-size-disabled::before {
  filter: saturate(0.72) brightness(0.94);
  transform: rotate(-5deg) scale(0.96);
}

.server-note-line,
.server-note-footer {
  gap: 4px;
  padding: 10px 0 0;
  border-top: 1px dashed rgba(38, 66, 48, 0.24);
}

.server-note-line > span,
.server-note-footer > span {
  color: #1f5b45;
  font-size: 0.72rem;
}

.server-note-line p,
.server-note-footer p,
.ingredient-note {
  color: #263d34;
  font-size: 0.98rem;
  line-height: 1.34;
}

.server-note-line--composition {
  gap: 8px;
}

.ingredient-chip-groups {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.ingredient-chip-group {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  min-width: 0;
}

.ingredient-chip-group > strong {
  color: #1f5b45;
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.ingredient-chip-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.ingredient-chip {
  display: inline-flex;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.08);
  color: #193c31;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.1;
  overflow-wrap: anywhere;
  padding: 6px 8px;
}

.ingredient-chip small {
  color: #7d2d3a;
  font-size: 0.64rem;
  font-weight: 950;
}

.ingredient-chip.has-allergen {
  border-color: rgba(125, 45, 58, 0.28);
  background: rgba(125, 45, 58, 0.08);
}

.ingredient-chip.is-unavailable {
  color: rgba(25, 60, 49, 0.58);
  background: rgba(38, 61, 52, 0.06);
}

.server-note-line--advice p {
  font-weight: 780;
}

.server-note-line--order {
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  padding: 12px;
}

.server-note-line--order p {
  color: #12372b;
  font-weight: 820;
}

.server-note-line--order small {
  color: var(--teal);
  font-size: var(--type-caption);
  font-weight: 850;
}

.product-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.product-order-actions .button {
  min-height: 38px;
  border-radius: 999px;
  padding: 8px 12px;
}

.detail-order-link {
  background: #0f5b45;
  color: #fffdf7;
}

.product-action-path {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.72);
  padding: 12px;
}

.product-action-path__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  justify-content: space-between;
}

.product-action-path__head span {
  color: var(--teal);
  font-size: var(--type-caption);
  font-weight: 950;
  text-transform: uppercase;
}

.product-action-path__head strong {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.1;
}

.product-action-path__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.product-action-path article {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 6px;
  border: 1px solid rgba(31, 91, 69, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
  padding: 10px;
}

.product-action-path article > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 950;
}

.product-action-path article strong {
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.1;
}

.product-action-path article p {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 780;
  line-height: 1.24;
}

.product-action-path article > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-action-path .button {
  min-height: 34px;
  padding: 7px 10px;
}

.detail-copy-order,
.detail-customize-button {
  width: max-content;
}

.server-note-line--rules p {
  color: #7d2d3a;
  font-weight: 850;
}

.server-note-line--compare {
  align-items: start;
}

.product-alternative-list {
  display: grid;
  gap: 7px;
}

.product-alternative-list button {
  display: grid;
  min-width: 0;
  gap: 3px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 9px 10px;
  text-align: left;
}

.product-alternative-list button:hover,
.product-alternative-list button:focus-visible {
  border-color: rgba(31, 91, 69, 0.34);
  background: rgba(31, 91, 69, 0.1);
  transform: translateY(-1px);
}

.product-alternative-list strong,
.product-alternative-list small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-alternative-list strong {
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.1;
}

.product-alternative-list small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 780;
  line-height: 1.22;
}

.detail-customize-button {
  justify-self: start;
  margin-top: 6px;
  min-height: 40px;
  border-radius: 999px;
  padding-inline: 14px;
}

.ingredient-note strong {
  color: #162e25;
  font-weight: 950;
}

.ingredient-note span {
  color: inherit;
}

.server-note-line--allergens p {
  color: #7d2d3a;
  font-weight: 850;
}

.server-note-footer p {
  color: #49665d;
}

body.shop-is-open .product-detail,
body.shop-is-closed .product-detail {
  background:
    linear-gradient(90deg, rgba(36, 91, 69, 0.045) 1px, transparent 1px) 0 0 / 100% 30px,
    linear-gradient(180deg, #fffdf4, #f7f0df);
  color: #1b2d25;
}

body.shop-is-open .product-detail h3,
body.shop-is-open .product-detail p,
body.shop-is-open .server-note-line p,
body.shop-is-open .server-note-footer p,
body.shop-is-closed .product-detail h3,
body.shop-is-closed .product-detail p,
body.shop-is-closed .server-note-line p,
body.shop-is-closed .server-note-footer p {
  color: inherit;
}

body.shop-is-open .hero-product .showcase-label,
body.shop-is-closed .hero-product .showcase-label,
body.shop-is-open .product-detail .showcase-label,
body.shop-is-closed .product-detail .showcase-label,
body.shop-is-open .server-note-category,
body.shop-is-closed .server-note-category,
body.shop-is-open .server-note-line > span,
body.shop-is-closed .server-note-line > span,
body.shop-is-open .server-note-footer > span,
body.shop-is-closed .server-note-footer > span {
  color: #1f5b45;
}

body.shop-is-open .server-note-line--allergens p,
body.shop-is-closed .server-note-line--allergens p {
  color: #7d2d3a;
}

/* Mobile nav contract: one top drawer for pages, one bottom bar for quick actions. */
@media (max-width: 860px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    padding: 10px 12px;
  }

  .brand {
    max-width: calc(100vw - 76px);
  }

  .brand > span:last-child {
    min-width: 0;
  }

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

  .nav-toggle {
    display: grid !important;
    flex: 0 0 42px;
    place-items: center;
    padding: 0;
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.12);
    color: inherit;
  }

  .nav-toggle span {
    width: 19px;
    height: 2px;
    margin: 0;
    background: currentColor;
  }

  .main-nav,
  .main-nav.open {
    position: fixed;
    top: calc(62px + env(safe-area-inset-top));
    right: 12px;
    bottom: auto;
    left: 12px;
    z-index: 49;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    background: rgba(10, 39, 32, 0.96);
    box-shadow: 0 18px 44px rgba(5, 22, 18, 0.28);
  }

  .main-nav {
    display: none !important;
  }

  .main-nav.open {
    display: grid !important;
  }

  .main-nav a {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: flex-start;
    padding: 0 14px;
    border-radius: 12px;
    color: #f8ffff;
    font-size: 0.96rem;
    line-height: 1;
    text-align: left;
  }

  .main-nav a::before {
    display: inline-grid;
    width: 22px;
    margin: 0 10px 0 0;
    place-items: center;
    font-size: 1rem;
  }

  body.shop-is-open .main-nav,
  body.shop-is-open .main-nav.open {
    border-color: rgba(18, 51, 44, 0.14);
    background: rgba(255, 255, 255, 0.96);
  }

  body.shop-is-open .main-nav a {
    color: #12332c;
  }
}

@media (max-width: 860px) {
  .server-note-title {
    grid-template-columns: minmax(0, 1fr) max-content;
  }

  .product-detail h3 {
    max-width: 16ch;
  }

  .detail-price {
    text-align: right;
  }
}

/* Contrast contract
   Rule: light surface -> dark text, dark surface -> light text.
   Tokens are chosen to stay above ~4.5:1 contrast for body text. */
:root {
  --contrast-light-bg: rgba(255, 253, 244, 0.94);
  --contrast-light-text: #12332c;
  --contrast-light-muted: #49665d;
  --contrast-dark-bg: rgba(10, 49, 39, 0.9);
  --contrast-dark-text: #f8ffff;
  --contrast-dark-muted: rgba(248, 255, 255, 0.76);
  --contrast-accent: #1f5b45;
}

.hero-info div,
.showcase-card,
.product-detail,
.feature-card,
.page-note,
.chat-shell,
.game-preview,
.idea-panel,
.legal-panel,
.leaderboard-card,
.admin-panel,
.metric-card,
.visitor-panel,
.lock-card,
.story-band,
.product-slide {
  background: var(--contrast-light-bg);
  color: var(--contrast-light-text);
}

.hero-info div :is(dt, dd, a),
.showcase-card :is(h2, h3, p, strong, span),
.product-detail :is(h3, p),
.feature-card :is(h3, p, strong, span),
.page-note :is(p, strong, span),
.chat-shell :is(p, strong, span),
.game-preview :is(p, strong, span),
.idea-panel :is(p, strong, span),
.legal-panel :is(p, strong, span),
.leaderboard-card :is(p, strong, span),
.admin-panel :is(p, h3, strong, span),
.metric-card :is(span, strong),
.story-band :is(h2, p, strong, span),
.product-slide :is(h3, p, strong, span) {
  color: inherit;
}

.showcase-label,
.showcase-card .showcase-label,
.eyebrow,
.panel-kicker,
.product-detail .showcase-label {
  color: var(--contrast-accent);
}

.menu-sidebar {
  background: var(--contrast-dark-bg);
  color: var(--contrast-dark-text);
}

.menu-sidebar .panel-kicker {
  color: #cfe8b8;
}

.menu-sidebar .chip {
  border-color: rgba(248, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: var(--contrast-dark-text);
}

.menu-sidebar .chip:hover,
.menu-sidebar .chip.active {
  border-color: rgba(248, 255, 255, 0.82);
  background: var(--contrast-dark-text);
  color: #12332c;
}

.menu-advice-panel {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(248, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
}

.menu-advice-panel .panel-kicker {
  margin: 0;
}

.menu-intent-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.menu-intent {
  min-height: 34px;
  border: 1px solid rgba(248, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--contrast-dark-text);
  cursor: pointer;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 950;
  line-height: 1;
  padding: 8px 10px;
}

.menu-intent:hover,
.menu-intent:focus-visible,
.menu-intent.active {
  border-color: rgba(248, 255, 255, 0.82);
  background: var(--contrast-dark-text);
  color: #12332c;
}

.menu-advice-copy {
  margin: 0;
  color: rgba(248, 255, 255, 0.76);
  font-size: 0.8rem;
  font-weight: 760;
  line-height: 1.32;
}

.menu-express-panel {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(248, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px;
}

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

.menu-express-panel__head {
  display: flex;
  gap: 8px;
  align-items: baseline;
  justify-content: space-between;
}

.menu-express-panel__head .panel-kicker {
  margin: 0;
}

.menu-express-panel__head span {
  color: rgba(248, 255, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.menu-express-panel__head button {
  min-height: 30px;
  border: 1px solid rgba(207, 232, 184, 0.32);
  border-radius: 999px;
  background: rgba(207, 232, 184, 0.12);
  color: #cfe8b8;
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  padding: 7px 10px;
  text-transform: uppercase;
}

.menu-express-panel__head button:hover,
.menu-express-panel__head button:focus-visible {
  border-color: rgba(248, 255, 255, 0.72);
  background: rgba(248, 255, 255, 0.18);
  color: var(--contrast-dark-text);
}

.menu-express-list {
  display: grid;
  gap: 7px;
}

.menu-express-card {
  display: grid;
  min-width: 0;
  gap: 4px;
  border: 1px solid rgba(248, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--contrast-dark-text);
  cursor: pointer;
  font: inherit;
  padding: 10px;
  text-align: left;
}

.menu-express-card span {
  color: #cfe8b8;
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.menu-express-card strong,
.menu-express-card small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-express-card strong {
  color: var(--contrast-dark-text);
  font-size: 0.9rem;
  line-height: 1.1;
  white-space: nowrap;
}

.menu-express-card small {
  display: -webkit-box;
  color: rgba(248, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 760;
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.menu-express-card:hover,
.menu-express-card:focus-visible,
.menu-express-card.is-selected {
  border-color: rgba(248, 255, 255, 0.72);
  background: rgba(248, 255, 255, 0.18);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
  transform: translateY(-1px);
}

.menu-guide-summary {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(248, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px;
}

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

.menu-guide-summary__head {
  display: flex;
  gap: 8px;
  align-items: baseline;
  justify-content: space-between;
}

.menu-guide-summary__head span {
  color: #cfe8b8;
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.menu-guide-summary__head strong {
  color: var(--contrast-dark-text);
  font-size: 0.92rem;
  line-height: 1.1;
}

.menu-guide-summary__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.menu-guide-summary__facts div {
  display: grid;
  min-width: 0;
  gap: 3px;
  border: 1px solid rgba(248, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px;
}

.menu-guide-summary__facts span {
  color: rgba(248, 255, 255, 0.68);
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.menu-guide-summary__facts strong {
  min-width: 0;
  overflow: hidden;
  color: var(--contrast-dark-text);
  font-size: 0.82rem;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-guide-summary p {
  margin: 0;
  color: rgba(248, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.32;
}

.menu-guide-summary__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.menu-guide-summary__actions .button {
  min-height: 34px;
  padding: 7px 10px;
}

.menu-decision-panel {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(248, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
  padding: 12px;
}

.menu-decision-panel[data-state="selection"] {
  border-color: rgba(207, 232, 184, 0.42);
  background: rgba(207, 232, 184, 0.13);
}

.menu-decision-panel__head {
  display: grid;
  gap: 4px;
}

.menu-decision-panel__head span {
  width: fit-content;
  border: 1px solid rgba(207, 232, 184, 0.32);
  border-radius: 999px;
  color: #cfe8b8;
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1;
  padding: 5px 8px;
  text-transform: uppercase;
}

.menu-decision-panel__head strong {
  color: var(--contrast-dark-text);
  font-size: 1rem;
  line-height: 1.08;
}

.menu-decision-panel__head p,
.menu-decision-panel__status {
  margin: 0;
  color: rgba(248, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.32;
}

.menu-decision-panel__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.menu-decision-panel__actions .button {
  min-height: 36px;
  padding: 8px 9px;
}

.menu-decision-panel__actions .button:nth-child(3):last-child {
  grid-column: 1 / -1;
}

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

.menu-active-filters {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(248, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 11px;
}

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

.menu-active-filters > div:first-child {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.menu-active-filters strong {
  color: var(--contrast-dark-text);
  font-size: 0.86rem;
}

.menu-active-filters button {
  border: 1px solid rgba(248, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--contrast-dark-text);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 6px 9px;
}

.menu-active-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.menu-active-filter-list button {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
}

.menu-active-filters button:hover,
.menu-active-filters button:focus-visible {
  border-color: rgba(248, 255, 255, 0.82);
  background: var(--contrast-dark-text);
  color: #12332c;
}

body.shop-is-open .menu-sidebar {
  border-color: rgba(18, 51, 44, 0.12);
  background: var(--contrast-light-bg);
  color: var(--contrast-light-text);
}

body.shop-is-open .menu-sidebar .panel-kicker {
  color: var(--contrast-accent);
}

body.shop-is-open .menu-sidebar .chip {
  border-color: rgba(18, 51, 44, 0.16);
  background: transparent;
  color: var(--contrast-light-text);
}

body.shop-is-open .menu-sidebar .chip:hover,
body.shop-is-open .menu-sidebar .chip.active {
  border-color: var(--contrast-accent);
  background: var(--contrast-accent);
  color: #ffffff;
}

body.shop-is-open .menu-advice-panel {
  border-color: rgba(18, 51, 44, 0.12);
  background: rgba(255, 253, 247, 0.72);
}

body.shop-is-open .menu-intent {
  border-color: rgba(31, 91, 69, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal);
}

body.shop-is-open .menu-intent:hover,
body.shop-is-open .menu-intent:focus-visible,
body.shop-is-open .menu-intent.active {
  border-color: rgba(31, 91, 69, 0.38);
  background: var(--teal);
  color: var(--cream);
}

body.shop-is-open .menu-advice-copy {
  color: var(--muted);
}

body.shop-is-open .menu-guide-summary {
  border-color: rgba(18, 51, 44, 0.12);
  background: rgba(255, 253, 247, 0.72);
}

body.shop-is-open .menu-decision-panel {
  border-color: rgba(18, 51, 44, 0.12);
  background: rgba(255, 253, 247, 0.72);
}

body.shop-is-open .menu-guide-summary__head span {
  color: var(--contrast-accent);
}

body.shop-is-open .menu-decision-panel__head span {
  border-color: rgba(31, 91, 69, 0.18);
  color: var(--contrast-accent);
}

body.shop-is-open .menu-guide-summary__head strong,
body.shop-is-open .menu-guide-summary__facts strong,
body.shop-is-open .menu-decision-panel__head strong {
  color: var(--ink);
}

body.shop-is-open .menu-guide-summary__facts div {
  border-color: rgba(31, 91, 69, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

body.shop-is-open .menu-guide-summary__facts span,
body.shop-is-open .menu-guide-summary p,
body.shop-is-open .menu-decision-panel__head p,
body.shop-is-open .menu-decision-panel__status {
  color: var(--muted);
}

body.shop-is-open .menu-active-filters {
  border-color: rgba(18, 51, 44, 0.12);
  background: rgba(255, 253, 247, 0.72);
}

body.shop-is-open .menu-active-filters strong {
  color: var(--ink);
}

body.shop-is-open .menu-active-filters button {
  border-color: rgba(31, 91, 69, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal);
}

body.shop-is-open .menu-active-filters button:hover,
body.shop-is-open .menu-active-filters button:focus-visible {
  border-color: rgba(31, 91, 69, 0.38);
  background: var(--teal);
  color: var(--cream);
}

/* 2026 mobile polish: calmer type, one navigation model, tighter product reading. */
:root {
  --font-body: "Segoe UI Variable Text", "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Segoe UI Variable Display", "Aptos Display", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
  --sans: var(--font-body);
  --display: var(--font-display);
}

body,
button,
input,
textarea,
select {
  font-family: var(--font-body);
}

h1,
h2,
.page-hero h1,
.menu-category--playful h3,
.product-detail h3,
.shop-status-card strong {
  font-family: var(--font-display);
  letter-spacing: 0;
  text-transform: none;
}

h1,
.page-hero h1 {
  font-weight: 850;
  line-height: 1.02;
}

h2,
.menu-category--playful h3,
.product-detail h3 {
  font-weight: 900;
  line-height: 1.05;
}

.hero-content p:not(.eyebrow),
.section-heading p,
.page-hero p:not(.eyebrow),
.product-detail p,
.menu-category--playful .menu-category__header p {
  line-height: 1.48;
}

.menu-category--playful .menu-item strong,
.product-detail h3,
.server-note-line p,
.server-note-footer p {
  overflow-wrap: normal;
  word-break: normal;
}

@media (max-width: 860px) {
  :root {
    --type-title: clamp(2.05rem, 10.5vw, 3.18rem);
    --type-subtitle: clamp(1.48rem, 7vw, 2.08rem);
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .site-header {
    min-height: 58px;
    gap: 10px;
    padding: 8px 12px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .brand strong {
    max-width: 54vw;
    font-size: 0.98rem;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .main-nav,
  .main-nav.open {
    top: calc(60px + env(safe-area-inset-top));
    right: 10px;
    left: 10px;
    border-radius: 16px;
  }

  .main-nav a {
    min-height: 44px;
    font-size: 0.95rem;
  }

  .quick-actions {
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    z-index: 44;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    min-height: 56px;
    padding: 6px;
    border-radius: 18px;
  }

  .quick-actions a {
    min-width: 0;
    min-height: 44px;
    padding: 5px 4px;
    border-radius: 13px;
    font-size: 0.7rem;
    line-height: 1;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero,
  .section,
  .page-hero {
    padding-inline: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
    padding-bottom: 24px;
  }

  .hero-shell,
  .page-hero,
  .split {
    grid-template-columns: 1fr !important;
    gap: 18px;
    min-height: auto;
  }

  .hero-content p:not(.eyebrow),
  .section-heading p,
  .page-hero p:not(.eyebrow) {
    max-width: 34ch;
    font-size: 0.98rem;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 18px;
  }

  .hero-actions .button {
    min-height: 42px;
    padding: 10px 13px;
  }

  .section {
    padding-block: 34px;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .menu-studio {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .menu-sidebar,
  .product-detail {
    position: static !important;
    top: auto !important;
  }

  .menu-sidebar {
    padding: 10px;
    border-radius: 16px;
  }

  .menu-sidebar .panel-kicker {
    margin-bottom: 8px;
  }

  .toolbar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .toolbar::-webkit-scrollbar {
    display: none;
  }

  .toolbar .chip {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 12px;
    white-space: nowrap;
  }

  .menu-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .menu-category--playful {
    min-height: auto;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
  }

  .menu-category--playful .menu-category__header {
    grid-template-columns: minmax(0, 1fr) 62px;
    gap: 10px;
    align-items: start;
  }

  .menu-category--playful h3 {
    max-width: none;
    font-size: clamp(1.38rem, 7vw, 1.82rem);
  }

  .menu-category--playful .menu-category__header p {
    max-width: 28ch;
    margin-top: 5px;
    font-size: 0.78rem;
  }

  .menu-category--playful > .mini-sky {
    width: 62px;
    height: 62px;
    min-height: 62px;
  }

  .category-size-prices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .category-size-prices button {
    min-height: 64px;
    padding: 8px 5px;
    border-radius: 15px;
  }

  .category-size-prices button strong {
    font-size: 1.1rem;
  }

  .menu-category--playful .menu-list {
    gap: 7px;
  }

  .menu-category--playful .menu-item {
    min-height: 50px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px;
    padding: 9px 10px;
    border-radius: 13px;
  }

  .menu-item__body {
    min-width: 0;
  }

  .menu-category--playful .menu-item strong {
    font-size: 0.96rem;
    line-height: 1.14;
  }

  .menu-category--playful .menu-item small {
    display: block;
    margin-top: 2px;
    font-size: 0.74rem;
    line-height: 1.18;
  }

  .product-detail {
    gap: 10px;
    padding: 15px;
    border-radius: 18px;
  }

  .server-note-head,
  .server-note-title {
    gap: 7px;
  }

  .server-note-title {
    grid-template-columns: 1fr !important;
  }

  .product-detail h3 {
    max-width: none;
    font-size: clamp(1.4rem, 7vw, 1.82rem);
  }

  .detail-price {
    justify-self: start;
    text-align: left !important;
  }

  .product-cup-stage {
    min-height: 130px;
    place-items: center;
    padding: 0;
  }

  .product-cup {
    width: 96px;
    height: 122px;
  }

  .product-detail .size-selector button {
    min-height: 50px;
    border-radius: 13px;
  }

  .server-note-line,
  .server-note-footer {
    padding-top: 9px;
  }
}

/* Final nav/filter fixes. */
body.bubble-night > .site-header {
  z-index: 1200;
}

body.bubble-night > main {
  z-index: 1;
}

.site-header {
  z-index: 1200;
}

.main-nav,
.main-nav.open {
  z-index: 1201;
}

.menu-sidebar {
  display: grid;
  gap: 12px;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.toolbar .chip {
  width: 100%;
  min-width: 0;
  justify-content: flex-start;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-allergen-filter {
  border-top: 1px solid rgba(248, 255, 255, 0.18);
  padding-top: 10px;
}

.menu-allergen-filter summary {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 12px;
  color: inherit;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
  list-style: none;
  text-transform: uppercase;
}

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

.menu-allergen-filter summary::after {
  content: "+";
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.menu-allergen-filter[open] summary::after {
  content: "-";
}

.allergen-options {
  display: grid;
  gap: 8px;
  padding-top: 8px;
}

.allergen-option {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(248, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  padding: 7px 9px;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
}

.allergen-option input {
  width: 17px;
  height: 17px;
  accent-color: var(--contrast-accent);
}

.allergen-clear {
  min-height: 36px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  cursor: pointer;
  font-weight: 900;
}

.menu-options-note {
  margin: 0;
  color: rgba(248, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.35;
}

body.shop-is-open .menu-allergen-filter {
  border-top-color: rgba(18, 51, 44, 0.12);
}

body.shop-is-open .menu-allergen-filter summary::after,
body.shop-is-open .allergen-clear {
  background: rgba(31, 91, 69, 0.1);
  color: #12332c;
}

body.shop-is-open .allergen-option {
  border-color: rgba(18, 51, 44, 0.12);
  background: rgba(18, 51, 44, 0.04);
  color: #12332c;
}

body.shop-is-open .menu-options-note {
  color: rgba(18, 51, 44, 0.68);
}

@media (max-width: 860px) {
  body.bubble-night > .site-header,
  .site-header {
    z-index: 1600;
  }

  .main-nav,
  .main-nav.open {
    z-index: 1700;
  }

  .quick-actions {
    z-index: 1300;
  }

  .menu-sidebar {
    gap: 8px;
  }

  .toolbar {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .toolbar::-webkit-scrollbar {
    display: none;
  }

  .toolbar .chip {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 12px;
    justify-content: center;
    font-size: 0.76rem;
    text-align: center;
    white-space: nowrap;
  }

  .menu-allergen-filter {
    padding-top: 8px;
  }

  .menu-allergen-filter summary {
    min-height: 34px;
    font-size: 0.74rem;
  }

  .allergen-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 128px;
    overflow-y: auto;
    padding-right: 2px;
  }

  .allergen-option {
    min-width: 0;
    font-size: 0.78rem;
  }

  .allergen-clear {
    grid-column: 1 / -1;
  }

  .menu-options-note {
    display: none;
  }
}

/* Mobile app navigation: primary pages stay reachable at the thumb zone. */
@media (max-width: 860px) {
  body {
    padding-bottom: calc(236px + env(safe-area-inset-bottom));
  }

  .nav-toggle {
    display: none !important;
  }

  .main-nav,
  .main-nav.open {
    position: fixed !important;
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 4px !important;
    padding: 7px 10px calc(7px + env(safe-area-inset-bottom)) !important;
    border: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 0 !important;
    background: rgba(10, 39, 32, 0.92) !important;
    box-shadow: 0 -12px 32px rgba(5, 22, 18, 0.26) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .main-nav a {
    display: grid !important;
    min-width: 0;
    min-height: 46px;
    place-items: center;
    padding: 5px 3px !important;
    border-radius: 13px !important;
    color: #f8ffff !important;
    font-size: 0.68rem !important;
    font-weight: 900;
    line-height: 1 !important;
    overflow: hidden;
    text-align: center !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .main-nav a::before {
    display: block !important;
    width: auto;
    margin: 0 0 4px !important;
    font-size: 1rem;
    line-height: 1;
  }

  .main-nav a[href*="#menu"]::before,
  .main-nav a[href="./#menu"]::before {
    content: "☰";
  }

.main-nav a[href="contact"]::before {
    content: "@";
  }

  .main-nav a[href="idees"]::before {
    content: "+";
  }

  .main-nav a[href="jeux"]::before {
    content: "★";
  }

  .main-nav a[aria-current="page"],
  .main-nav a:hover,
  .main-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
  }

  body.shop-is-open .main-nav,
  body.shop-is-open .main-nav.open {
    border-color: rgba(18, 51, 44, 0.12) !important;
    background: rgba(255, 255, 255, 0.94) !important;
  }

  body.shop-is-open .main-nav a {
    color: #12332c !important;
  }

  body.shop-is-open .main-nav a[aria-current="page"],
  body.shop-is-open .main-nav a:hover,
  body.shop-is-open .main-nav a:focus-visible {
    background: rgba(31, 91, 69, 0.1) !important;
    color: #0f5b45 !important;
  }

  .quick-actions {
    bottom: calc(170px + env(safe-area-inset-bottom)) !important;
  }
}

/* Mobile selected product ticket: the desktop right panel becomes a compact bottom sheet. */
@media (max-width: 860px) {
  .product-detail {
    position: fixed !important;
    right: 8px !important;
    bottom: calc(62px + env(safe-area-inset-bottom)) !important;
    left: 8px !important;
    z-index: 1500;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px !important;
    max-height: min(274px, calc(100svh - 184px));
    overflow: hidden;
    padding: 10px 12px !important;
    border: 1px solid rgba(18, 51, 44, 0.12);
    border-radius: 16px !important;
    background:
      linear-gradient(90deg, rgba(36, 91, 69, 0.045) 1px, transparent 1px) 0 0 / 100% 28px,
      linear-gradient(180deg, rgba(255, 253, 244, 0.98), rgba(247, 240, 223, 0.96)) !important;
    box-shadow: 0 -14px 36px rgba(5, 22, 18, 0.22);
    color: #1b2d25;
    overscroll-behavior: contain;
  }

  .product-detail:empty,
  .product-detail .product-cup-stage,
  .product-detail .product-action-path,
  .product-detail .server-note-footer,
  .product-detail .server-note-line--allergens,
  .product-detail .showcase-label,
  .product-detail .server-note-category {
    display: none !important;
  }

  .product-detail .server-note-head {
    display: none;
  }

  .product-detail .server-note-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content !important;
    gap: 10px;
    align-items: start;
    padding: 0;
  }

  .product-detail h3 {
    max-width: none;
    margin: 0;
    color: #12332c;
    font-size: 1rem !important;
    line-height: 1.08;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-detail .server-note-title p {
    display: none;
  }

  .product-detail .detail-price {
    align-self: start;
    color: #0f5b45;
    font-size: 1.08rem !important;
    line-height: 1;
    text-align: right !important;
    white-space: nowrap;
  }

  .product-detail .product-detail-photo {
    display: none !important;
  }

  .product-detail .product-choice-brief {
    gap: 5px !important;
  }

  .product-detail .product-choice-intro p {
    display: none !important;
  }

  .product-detail .product-option-steps {
    gap: 1px !important;
  }

  .product-detail .product-option-step {
    grid-template-columns: 52px minmax(0, 1fr) !important;
    gap: 6px !important;
    padding: 3px 0 !important;
  }

  .product-detail .product-option-step__label {
    font-size: 0.56rem !important;
  }

  .product-detail .product-option-choice {
    min-height: 26px !important;
    padding: 5px 8px !important;
    font-size: 0.68rem !important;
  }

  .product-detail .product-technical-card {
    display: none;
  }

  .product-detail .size-selector button {
    min-height: 42px !important;
    padding: 6px 5px !important;
    border-radius: 10px !important;
  }

  .product-detail .size-selector button strong {
    font-size: 0.84rem !important;
  }

  .product-detail .size-selector button span {
    display: none;
  }

  .product-detail .server-note-line {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 6px;
    align-items: baseline;
    padding: 0 !important;
    border: 0 !important;
  }

  .product-detail .server-note-line > span {
    color: #1f5b45;
    font-size: 0.66rem;
    line-height: 1;
  }

  .product-detail .server-note-line p,
  .product-detail .ingredient-note {
    margin: 0;
    color: #263d34;
    font-size: 0.76rem !important;
    line-height: 1.15 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu-options-note {
    font-size: 0.74rem;
  }
}

/* Mobile bottom stack order: quick actions > product ticket > primary nav. */
@media (max-width: 860px) {
  :root {
    --mobile-nav-stack: 66px;
    --mobile-product-stack: 276px;
    --mobile-stack-gap: 8px;
  }

  .main-nav,
  .main-nav.open {
    z-index: 1800 !important;
    min-height: calc(58px + env(safe-area-inset-bottom));
  }

  .product-detail {
    z-index: 1700 !important;
    bottom: calc(var(--mobile-nav-stack) + env(safe-area-inset-bottom)) !important;
  }

  body.product-detail-undocked .product-detail {
    display: none !important;
    pointer-events: none !important;
  }

  .quick-actions {
    z-index: 1600 !important;
    bottom: calc(var(--mobile-nav-stack) + var(--mobile-product-stack) + var(--mobile-stack-gap) + env(safe-area-inset-bottom)) !important;
  }

  #menu .menu-studio {
    padding-bottom: calc(var(--mobile-nav-stack) + var(--mobile-product-stack) + 28px);
  }

  .site-footer {
    padding-bottom: calc(var(--mobile-nav-stack) + var(--mobile-product-stack) + var(--mobile-stack-gap) + 28px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 860px) {
  .product-detail {
    max-height: min(274px, calc(100svh - 184px));
  }

  .product-detail .server-note-line:not(.server-note-line--order) {
    display: none !important;
  }

  .product-detail .server-note-line--order {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent;
  }

  .product-detail .server-note-line--order > span,
  .product-detail .server-note-line--order p,
  .product-detail .server-note-line--order small {
    display: none !important;
  }

  .product-detail .product-order-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
    gap: 6px;
  }

  .product-detail .product-order-actions .button {
    width: 100%;
    min-height: 34px;
    justify-content: center;
    padding: 6px 8px;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .product-detail .detail-copy-order {
    width: auto;
  }
}

/* Tablet transition: avoid the awkward half-mobile state with a narrow left filter. */
@media (min-width: 861px) and (max-width: 1100px) {
  .menu-studio {
    grid-template-columns: 1fr !important;
  }

  .menu-sidebar,
  .product-detail {
    position: static !important;
    top: auto !important;
    grid-column: auto !important;
  }

  .menu-sidebar {
    gap: 10px;
  }

  .menu-sidebar .toolbar {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .menu-sidebar .toolbar::-webkit-scrollbar {
    display: none;
  }

  .menu-sidebar .toolbar .chip {
    flex: 0 0 auto;
    width: auto;
    justify-content: center;
    padding-inline: 14px;
    text-align: center;
  }

  .menu-sidebar .allergen-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Category size picker: prices are summarized once, size buttons stay simple. */
.menu-category--playful .category-price-summary {
  max-width: none;
  margin: 0;
  color: rgba(248, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.28;
}

.menu-category--playful .menu-category__header {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px 14px !important;
  align-items: baseline !important;
  justify-content: space-between;
  padding-right: 0 !important;
}

.menu-category--playful .menu-category__header h3 {
  flex: 0 0 auto;
  min-width: 0;
}

.menu-category--playful .category-price-summary {
  flex: 0 1 auto;
  justify-self: end;
  text-align: right;
  white-space: nowrap;
}

.category-size-prices {
  display: grid !important;
  grid-template-columns: repeat(var(--size-count, 3), minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin-block: 2px 4px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.category-size-prices button {
  min-width: 0;
  min-height: 70px !important;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  border-radius: 18px !important;
  background: rgba(255, 253, 247, 0.18) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.category-size-prices button::before {
  display: none !important;
}

.category-size-prices button:hover,
.category-size-prices button:focus-visible {
  border-color: rgba(255, 255, 255, 0.72) !important;
  background: rgba(255, 253, 247, 0.28) !important;
  transform: translateY(-1px);
}

.category-size-prices button.is-selected {
  border-color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 253, 247, 0.94) !important;
  color: var(--card-deep, #183f31) !important;
}

.category-size-prices strong {
  align-self: center !important;
  color: inherit !important;
  font-family: var(--font-display) !important;
  font-size: clamp(2rem, 5vw, 3.15rem) !important;
  font-weight: 950 !important;
  line-height: 0.85 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

.category-size-prices span {
  display: none !important;
}

@media (max-width: 860px) {
  .menu-category--playful .menu-category__header {
    display: flex !important;
    flex-wrap: wrap;
    gap: 4px 10px !important;
    align-items: baseline !important;
    justify-content: space-between;
  }

  .menu-category--playful .category-price-summary {
    flex: 0 1 auto;
    justify-self: end;
    color: rgba(248, 255, 255, 0.78);
    font-size: clamp(0.56rem, 2.1vw, 0.64rem) !important;
    font-weight: 750 !important;
    line-height: 1.1;
    text-align: right;
    white-space: nowrap;
  }

  .category-size-prices {
    gap: 6px !important;
  }

  .category-size-prices button {
    min-height: 58px !important;
    border-radius: 15px !important;
  }

  .category-size-prices strong {
    font-size: clamp(1.7rem, 12vw, 2.6rem) !important;
  }
}

.site-footer {
  background: var(--contrast-dark-bg);
  color: var(--contrast-dark-text);
}

.site-footer :is(p, small, dt, dd, a, strong, span) {
  color: inherit;
}

.site-footer .footer-links a,
.site-footer a {
  color: #dff4e8;
}

/* Type scale pass: keep the visible UI to four readable sizes. */
:root {
  --type-caption: 0.72rem;
  --type-body: 0.95rem;
  --type-title: clamp(1.45rem, 2.7vw, 2rem);
  --type-display: clamp(2.05rem, 5vw, 3.8rem);
}

body,
button,
input,
textarea,
select,
.hero-content p:not(.eyebrow),
.section-heading p,
.page-hero p:not(.eyebrow),
.showcase-card p,
.feature-card p,
.page-note p,
.legal-panel p,
.chat-shell p,
.idea-panel p,
.product-detail p,
.menu-category--playful .menu-item strong,
.menu-category--playful .menu-item small,
.server-note-line p,
.server-note-footer p {
  font-size: var(--type-body) !important;
}

.brand small,
.eyebrow,
.panel-kicker,
.showcase-label,
.source-note span,
.menu-sidebar .chip,
.menu-options-note,
.menu-allergen-filter summary,
.allergen-option,
.main-nav a,
.quick-actions a,
.server-note-line > span,
.server-note-footer > span,
.product-detail .size-selector button span,
.category-price-summary,
.footer-info dt,
.footer-info dd,
.site-footer p,
.site-footer a,
.site-footer small {
  font-size: var(--type-caption) !important;
}

h2,
.showcase-card h2,
.feature-card h3,
.page-note strong,
.product-detail h3,
.menu-category--playful h3,
.shop-status-card strong {
  font-size: var(--type-title) !important;
}

h1,
.page-hero h1,
.hero-content h1,
.category-size-prices strong,
.detail-price,
.score-row strong {
  font-size: var(--type-display) !important;
}

.menu-category--playful .menu-category__header {
  gap: 6px 12px !important;
}

.category-price-summary {
  color: rgba(248, 255, 255, 0.74) !important;
  font-weight: 750 !important;
  line-height: 1.12 !important;
}

.menu-category--playful .category-price-summary {
  font-size: var(--type-body) !important;
  font-weight: 850 !important;
  line-height: 1.18 !important;
}

.category-size-prices strong,
.detail-price {
  line-height: 0.9 !important;
}

.product-detail .size-selector button strong {
  font-size: var(--type-body) !important;
}

@media (max-width: 860px) {
  :root {
    --type-caption: 0.68rem;
    --type-body: 0.92rem;
    --type-title: clamp(1.4rem, 7.4vw, 1.82rem);
    --type-display: clamp(1.9rem, 11vw, 2.7rem);
  }

  .main-nav a,
  .quick-actions a {
    font-size: var(--type-caption) !important;
  }

  .menu-category--playful .category-price-summary {
    font-size: var(--type-body) !important;
  }

  .product-detail h3,
  .product-detail .detail-price {
    font-size: var(--type-body) !important;
  }

  .product-detail .size-selector button strong,
  .product-detail .server-note-line p,
  .product-detail .ingredient-note {
    font-size: var(--type-caption) !important;
  }
}

/* Mobile stack order: product ticket must stay above the footer, below the nav. */
@media (max-width: 860px) {
  body.bubble-night > main:not(.bubble-sky) {
    z-index: 5;
  }

  body.bubble-night > .site-footer {
    z-index: 1;
  }

  .product-detail {
    z-index: 1700 !important;
    opacity: 1 !important;
    isolation: isolate;
    background:
      linear-gradient(90deg, rgba(36, 91, 69, 0.045) 1px, transparent 1px) 0 0 / 100% 28px,
      linear-gradient(180deg, rgba(255, 253, 244, 0.99), rgba(247, 240, 223, 0.98)) !important;
    box-shadow:
      0 -18px 36px rgba(5, 22, 18, 0.28),
      0 0 0 1px rgba(255, 255, 255, 0.64) inset;
  }
}

/* Menu heading and product note cleanup. */
#menu > .section-heading--wide {
  display: grid;
  grid-template-columns: max-content minmax(0, 520px);
  justify-content: start;
  align-items: baseline;
  column-gap: clamp(18px, 4vw, 48px);
  max-width: none;
}

#menu > .section-heading--wide h2 {
  white-space: nowrap;
}

#menu > .section-heading--wide p:not(.eyebrow) {
  grid-column: 2;
  grid-row: auto;
  max-width: none;
  margin: 0;
  color: #315d50;
  line-height: 1.28;
}

@media (min-width: 861px) {
  .product-detail .server-note-title {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }

  .product-detail .server-note-title > div {
    min-width: 0;
  }

  .product-detail h3 {
    max-width: none;
    font-size: clamp(1.65rem, 2.1vw, 2.15rem) !important;
    line-height: 1.02;
    text-wrap: balance;
  }

  .product-detail .server-note-title p {
    max-width: 30ch;
  }

  .product-detail .detail-price {
    justify-self: start;
    font-size: clamp(2.1rem, 3.4vw, 3rem) !important;
    text-align: left;
  }
}

.product-detail-photo {
  position: relative;
  isolation: isolate;
  min-height: 152px;
  margin: 0;
  border: 0;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--card-accent, #5f8f49) 20%, transparent), transparent 54%),
    var(--detail-photo-bg, none) center / cover no-repeat,
    var(--product-panel-surface, var(--product-photo-surface, linear-gradient(135deg, #fffdf7, #e8eadb)));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 14px 34px rgba(18, 46, 38, 0.12);
  overflow: hidden;
}

.product-detail-photo::before {
  position: absolute;
  inset: -22%;
  z-index: 0;
  background-image: var(--detail-photo-bg, none);
  background-position: center;
  background-size: cover;
  content: "";
  filter: blur(22px) saturate(1.18) brightness(0.82);
  opacity: 0.88;
  transform: scale(1.12);
}

.product-detail-photo::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--product-page-warm, var(--menu-page-warm, #e8eadb)) 48%, transparent),
      transparent 22%,
      transparent 78%,
      color-mix(in srgb, var(--product-page-warm, var(--menu-page-warm, #e8eadb)) 48%, transparent)),
    radial-gradient(circle at 50% 48%, rgba(255, 253, 247, 0), color-mix(in srgb, var(--card-deep, #183f31) 12%, transparent) 86%);
  content: "";
}

.product-detail-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(152px, 24vw, 220px);
  border-radius: 19px;
  clip-path: inset(0 round 19px);
  background: transparent;
  object-fit: contain;
  object-position: center;
  display: block;
  margin-inline: auto;
  animation: product-detail-photo-in 220ms ease-out both;
  filter: drop-shadow(0 12px 18px rgba(18, 46, 38, 0.12));
}

@keyframes product-detail-photo-in {
  from {
    opacity: 0.84;
    transform: translateY(4px) scale(0.992);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.category-size-prices.category-size-prices--no-prices button,
.product-detail .size-selector--no-prices button {
  min-height: 48px !important;
  place-items: center !important;
}

.category-size-prices.category-size-prices--no-prices strong,
.product-detail .size-selector--no-prices strong {
  align-self: center !important;
  font-size: clamp(1.15rem, 3vw, 1.8rem) !important;
  line-height: 1 !important;
}

@media (max-width: 860px) {
  #menu > .section-heading--wide {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  #menu > .section-heading--wide h2,
  #menu > .section-heading--wide p:not(.eyebrow) {
    grid-column: auto;
  }

  #menu > .section-heading--wide p:not(.eyebrow) {
    max-width: 34ch;
  }
}

/* Story pivot: homepage becomes narrative, menu moves to its own page. */
.story-home .hero {
  min-height: min(680px, calc(100vh - 96px));
}

.story-hero__shell {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 420px);
}

.story-hero__content h1 {
  max-width: 820px;
}

.story-beats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 4px;
}

.story-beats a {
  display: grid;
  gap: 6px;
  min-width: 0;
  min-height: 108px;
  padding: 14px;
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 249, 0.78);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(14, 45, 37, 0.08);
}

.story-beats a:hover,
.story-beats a:focus-visible {
  border-color: rgba(31, 91, 69, 0.32);
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

.story-beats span,
.story-feature-card span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
}

.story-beats strong {
  font-size: 1rem;
  line-height: 1.15;
}

.story-beats small {
  color: var(--muted);
  font-weight: 760;
  line-height: 1.35;
}

.story-portrait {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 39, 0.14);
  border-radius: 8px;
  background: #fff8dc;
  box-shadow: var(--shadow);
}

.story-portrait .product-photo {
  width: 100%;
  height: clamp(300px, 52vw, 520px);
  object-fit: cover;
}

.story-portrait__caption {
  display: grid;
  gap: 10px;
  padding: 18px;
  color: var(--ink);
}

.story-portrait__caption .showcase-label {
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
}

.story-portrait__caption h2 {
  color: var(--ink);
}

.story-portrait__caption p {
  color: #315d50;
  font-weight: 760;
}

.local-story-section {
  padding-top: clamp(28px, 5vw, 68px);
}

.local-story-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 44px);
  align-items: stretch;
  max-width: 1120px;
  margin-inline: auto;
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 249, 0.9);
  box-shadow: 0 20px 48px rgba(14, 45, 37, 0.12);
  overflow: hidden;
}

.local-story-card figure {
  min-height: 100%;
  background: rgba(31, 91, 69, 0.08);
}

.local-story-card img {
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 44vw, 520px);
  object-fit: cover;
}

.local-story-card__body {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(22px, 4vw, 44px);
}

.local-story-card__body h2 {
  color: var(--ink);
  font-size: clamp(1.65rem, 2.6vw, 2.65rem);
  line-height: 1.08;
  max-width: min(100%, 28ch);
  text-wrap: balance;
}

.local-story-card__body p:not(.eyebrow) {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  font-weight: 720;
  line-height: 1.65;
}

.local-story-card__note {
  padding-top: 8px;
  border-top: 1px solid rgba(31, 91, 69, 0.14);
  font-size: 0.92rem !important;
}

.local-story-card .ingredient-tags--story {
  justify-content: flex-start;
}

.story-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.story-link-card .card-icon {
  width: 46px;
  height: 46px;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.story-link-card .card-icon svg {
  width: 27px;
  height: 27px;
}

.story-feature-section {
  padding-top: clamp(30px, 5vw, 72px);
}

.story-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.story-feature-card {
  overflow: hidden;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 249, 0.86);
  box-shadow: 0 18px 44px rgba(14, 45, 37, 0.1);
}

.story-feature-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-feature-card > div {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.story-feature-card h3 {
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.18;
}

.story-feature-card p {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.58;
}

.story-review-section {
  background:
    linear-gradient(135deg, rgba(4, 45, 38, 0.96), rgba(10, 69, 56, 0.9)),
    var(--teal);
  color: #fffdf4;
  padding-block: clamp(44px, 6vw, 76px);
}

.review-panel--home {
  max-width: 980px;
  margin-bottom: 0;
  padding: clamp(18px, 3vw, 26px) 0;
}

.review-panel--home .review-panel__summary {
  gap: 14px;
}

.review-panel--home .eyebrow {
  color: color-mix(in srgb, var(--matcha) 76%, #ffffff);
}

.review-panel--home h2 {
  color: #fffdf4;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.05;
  max-width: 12ch;
}

.review-panel--home .review-panel__summary p:not(.eyebrow) {
  color: rgba(255, 253, 244, 0.7);
  font-size: clamp(1rem, 1.6vw, 1.08rem);
}

.review-panel--home .review-copy-row {
  margin-top: 22px;
}

.review-panel--home .review-link-card {
  min-height: 96px;
  background: rgba(255, 253, 244, 0.78);
  border-color: rgba(255, 253, 244, 0.62);
}

.review-panel--home .review-link-card--primary {
  background: rgba(255, 253, 244, 0.96);
}

/* Compact home pass: the daily message reads like a quote and the review block stays light on desktop. */
.story-home main {
  --home-page-pad: clamp(18px, 4vw, 64px);
}

.story-home .local-story-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(255, 253, 244, 0.24);
  background:
    linear-gradient(135deg, rgba(2, 34, 29, 0.92), rgba(8, 67, 54, 0.82)),
    var(--teal);
  color: #fffdf4;
}

.story-home .local-story-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 74% 18%, rgba(255, 253, 244, 0.18), transparent 24%),
    linear-gradient(90deg, rgba(2, 34, 29, 0.36), rgba(2, 34, 29, 0.78));
}

.story-home .local-story-card figure {
  min-height: 0;
  background: transparent;
}

.story-home .local-story-card img {
  min-height: 0;
  filter: saturate(0.96) contrast(1.04);
}

.story-home .local-story-card__body {
  position: relative;
  gap: 12px;
}

.story-home .local-story-card__body::before {
  position: absolute;
  top: 18px;
  left: 20px;
  width: max-content;
  content: "“";
  color: rgba(255, 253, 244, 0.42);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  font-weight: 700;
  line-height: 0.55;
  pointer-events: none;
}

.story-home .local-story-card__body .eyebrow {
  margin-bottom: 0;
  color: rgba(210, 235, 198, 0.9);
}

.story-home .local-story-card__body h2 {
  color: #fffdf4;
  font-size: clamp(1.45rem, 2.35vw, 2.1rem) !important;
  letter-spacing: 0;
}

.story-home .local-story-card__body p:not(.eyebrow) {
  max-width: 54ch;
  margin: 0;
  color: rgba(255, 253, 244, 0.88);
  font-size: clamp(0.95rem, 1.18vw, 1.04rem) !important;
  font-weight: 800;
  line-height: 1.42;
}

.home-decision-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255, 253, 247, 0.18);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.95), rgba(239, 248, 238, 0.88));
  box-shadow: 0 18px 42px rgba(2, 34, 29, 0.16);
  color: #12332c;
  padding: clamp(16px, 2vw, 22px);
}

.home-decision-main {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.home-decision-main .eyebrow {
  margin: 0;
  color: var(--teal);
}

.home-decision-main h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.02;
}

.home-decision-main p {
  max-width: 78ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 820;
  line-height: 1.38;
}

.home-decision-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(108px, auto));
  gap: 8px;
  align-items: center;
}

.home-decision-actions .button {
  min-height: 40px;
  padding: 8px 12px;
}

.home-decision-status {
  grid-column: 1 / -1;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
}

.home-decision-section[data-shop-status="open"] {
  border-color: rgba(127, 159, 84, 0.32);
}

.home-intent-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: start;
}

.home-intent-heading {
  max-width: 460px;
}

.home-intent-heading h2 {
  margin: 0;
  color: #fffdf7;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 0.98;
}

.home-intent-heading p:not(.eyebrow) {
  color: rgba(223, 236, 230, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.48;
}

.home-intent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-intent-grid a {
  display: grid;
  min-width: 0;
  min-height: 170px;
  align-content: start;
  gap: 10px;
  border: 1px solid rgba(255, 253, 247, 0.16);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.9);
  color: #12332c;
  padding: 18px;
  text-decoration: none;
}

.home-intent-grid a:hover,
.home-intent-grid a:focus-visible {
  border-color: rgba(255, 253, 247, 0.42);
  box-shadow: 0 20px 40px rgba(4, 24, 19, 0.2);
  transform: translateY(-1px);
}

.home-intent-grid span {
  color: #1f5b45;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.home-intent-grid strong {
  color: #12332c;
  font-size: clamp(1.05rem, 1.7vw, 1.38rem);
  line-height: 1.12;
}

.home-intent-grid small {
  color: #577168;
  font-size: 0.92rem;
  font-weight: 760;
  line-height: 1.35;
}

.home-recommendation-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: start;
}

.home-recommendation-heading h2 {
  margin: 0;
  color: #fffdf7;
  font-size: clamp(1.8rem, 3.4vw, 3.25rem);
  line-height: 1;
}

.home-recommendation-heading p:not(.eyebrow) {
  color: rgba(223, 236, 230, 0.78);
  font-size: clamp(0.96rem, 1.3vw, 1.08rem);
  line-height: 1.45;
}

.home-recommendation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-recommendation-card {
  display: grid;
  min-width: 0;
  min-height: 260px;
  align-content: space-between;
  gap: 9px;
  border: 1px solid rgba(255, 253, 247, 0.16);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.92);
  color: #12332c;
  padding: 10px 10px 16px;
}

.home-recommendation-card__main {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 9px;
  color: inherit;
  text-decoration: none;
}

.home-recommendation-card:hover,
.home-recommendation-card:focus-within {
  border-color: rgba(255, 253, 247, 0.48);
  box-shadow: 0 20px 40px rgba(4, 24, 19, 0.22);
  transform: translateY(-1px);
}

.home-recommendation-card__media {
  display: block;
  aspect-ratio: 1.42 / 1;
  border-radius: 9px;
  background: rgba(31, 91, 69, 0.08);
  overflow: hidden;
}

.home-recommendation-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-recommendation-card__category {
  color: #1f5b45;
  font-size: 0.72rem;
  font-weight: 950;
  padding: 2px 8px 0;
  text-transform: uppercase;
}

.home-recommendation-card strong {
  color: #12332c;
  font-size: clamp(1.18rem, 1.8vw, 1.56rem);
  line-height: 1.06;
  padding: 0 8px;
}

.home-recommendation-card p {
  margin: 0;
  color: #3f5f55;
  font-weight: 780;
  line-height: 1.38;
  padding: 0 8px;
}

.home-recommendation-card small,
.home-recommendation-empty {
  color: #60786f;
  font-weight: 820;
  line-height: 1.34;
}

.home-recommendation-card small {
  padding: 0 8px;
}

.home-recommendation-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 0 8px;
}

.home-recommendation-card__actions a {
  display: inline-grid;
  min-width: 0;
  min-height: 36px;
  place-items: center;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.08);
  color: #1f5b45;
  font-size: 0.76rem;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
}

.home-recommendation-card__actions a:last-child {
  background: var(--teal);
  color: var(--cream);
}

.home-recommendation-card__actions a:hover,
.home-recommendation-card__actions a:focus-visible {
  border-color: rgba(31, 91, 69, 0.34);
  box-shadow: 0 10px 20px rgba(18, 59, 50, 0.14);
}

.home-next-step-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: start;
}

.home-next-step-head h2 {
  margin: 0;
  color: #fffdf7;
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  line-height: 1;
}

.home-next-step-head p:not(.eyebrow) {
  color: rgba(223, 236, 230, 0.78);
  font-size: clamp(0.96rem, 1.3vw, 1.08rem);
  line-height: 1.45;
}

.home-next-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-next-step-card {
  display: grid;
  min-width: 0;
  min-height: 236px;
  align-content: start;
  gap: 10px;
  border: 1px solid rgba(255, 253, 247, 0.16);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.92);
  color: #12332c;
  padding: 18px;
}

.home-next-step-card.is-primary {
  background:
    radial-gradient(circle at 88% 12%, rgba(138, 181, 121, 0.24), transparent 28%),
    rgba(255, 253, 247, 0.96);
}

.home-next-step-card span {
  color: #1f5b45;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.home-next-step-card strong {
  color: #12332c;
  font-size: clamp(1.1rem, 1.6vw, 1.42rem);
  line-height: 1.1;
}

.home-next-step-card p {
  margin: 0;
  color: #3f5f55;
  font-weight: 780;
  line-height: 1.38;
}

.home-next-step-card div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.home-next-step-card .button {
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px;
}

@media (min-width: 980px) {
  .story-home main {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
    gap: 16px;
    padding-inline: var(--home-page-pad);
  }

  .story-home .hero,
  .story-home .section {
    padding-inline: 0;
  }

  .story-home .hero {
    grid-column: 1 / -1;
    min-height: min(390px, calc(100vh - 190px));
    padding-block: clamp(14px, 2.4vw, 26px);
  }

  .story-home .hero-shell {
    min-height: 305px;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
    gap: clamp(16px, 2.6vw, 34px);
  }

  .story-home .story-hero__content h1 {
    max-width: 760px;
    font-size: clamp(2rem, 3.35vw, 3.25rem) !important;
  }

  .story-home .hero-content p:not(.eyebrow) {
    max-width: 760px;
    font-size: clamp(0.98rem, 1.16vw, 1.08rem) !important;
    line-height: 1.48;
  }

  .story-home .hero-actions {
    margin-top: 14px;
  }

  .story-home .hero-actions .button {
    min-height: 40px;
    padding: 10px 15px;
  }

  .story-home .shop-status-card {
    width: max-content;
    max-width: 100%;
    min-height: 52px;
    gap: 9px;
    margin-top: 10px;
    border-radius: 12px;
    padding: 8px 12px;
  }

  .story-home .shop-status-card strong {
    font-size: 0.82rem !important;
  }

  .story-home .shop-status-card small {
    font-size: 0.76rem !important;
    line-height: 1.2;
  }

  .story-home .story-portrait .product-photo {
    height: 184px;
  }

  .story-home .story-portrait__caption {
    gap: 6px;
    padding: 14px;
  }

  .story-home .story-portrait__caption h2 {
    font-size: clamp(1.12rem, 1.45vw, 1.35rem) !important;
    line-height: 1.08;
  }

  .story-home .story-portrait__caption p {
    margin: 0;
    font-size: 0.9rem !important;
    line-height: 1.34;
  }

  .story-home .local-story-section {
    grid-column: 1;
    grid-row: 3;
    padding-block: 0 26px;
  }

  .story-home .home-decision-section {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-block: 18px;
  }

  .story-home .story-review-section {
    grid-column: 2;
    grid-row: 3;
    position: relative;
    top: 8px;
    padding-block: 8px 26px;
    background: transparent;
  }

  .story-home .home-intent-section {
    grid-column: 1 / -1;
    padding-block: 0 10px;
  }

  .story-home .home-recommendation-section {
    grid-column: 1 / -1;
    padding-block: 0 10px;
  }

  .story-home .home-next-step-section {
    grid-column: 1 / -1;
    padding-block: 0 18px;
  }

  .story-home .local-story-card {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 226px;
    max-width: none;
    margin: 0;
  }

  .story-home .local-story-card figure {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.34;
  }

  .story-home .local-story-card figure::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
      linear-gradient(90deg, rgba(2, 34, 29, 0.92) 0%, rgba(2, 34, 29, 0.74) 52%, rgba(2, 34, 29, 0.3) 100%),
      radial-gradient(circle at 82% 20%, rgba(255, 253, 244, 0.3), transparent 30%);
  }

  .story-home .local-story-card img {
    width: 100%;
    height: 100%;
  }

  .story-home .local-story-card__body {
    min-height: 226px;
    align-content: center;
    padding: 22px 24px 20px;
  }

  .story-home .review-panel--home {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    max-width: none;
    margin: 0;
    padding: 14px;
    border: 1px solid rgba(255, 253, 244, 0.2);
    border-radius: 8px;
    background: rgba(255, 253, 244, 0.9);
    box-shadow: 0 18px 46px rgba(2, 34, 29, 0.16);
  }

  .story-home .review-panel--home .review-panel__summary {
    align-content: start;
    gap: 8px;
  }

  .story-home .review-panel--home .eyebrow {
    color: var(--teal);
  }

  .story-home .review-panel--home h2 {
    max-width: none;
    color: var(--ink);
    font-size: clamp(1.28rem, 1.55vw, 1.55rem) !important;
    line-height: 1.04;
  }

  .story-home .review-panel--home .review-panel__summary p:not(.eyebrow) {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem !important;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .story-home .review-panel--home .review-copy-row {
    margin-top: 6px;
  }

  .story-home .review-panel--home .review-copy-row .button {
    min-height: 36px;
    padding: 8px 12px;
  }

  .story-home .review-panel--home .review-link-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .story-home .review-panel--home .review-link-card {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.68);
  }

  .story-home .review-panel--home .review-link-card__topline {
    min-width: 112px;
    gap: 8px;
  }

  .story-home .review-panel--home .review-link-card__topline .brand-logo {
    width: 32px;
    height: 32px;
  }

  .story-home .review-panel--home .review-link-card strong {
    font-size: 0.9rem;
    line-height: 1.12;
    text-align: right;
  }

  .story-home .review-panel--home .review-link-card small {
    display: none;
    font-size: 0.8rem;
    line-height: 1.34;
  }
}

@media (max-width: 979px) {
  .story-home .home-decision-section,
  .story-home .home-intent-section,
  .story-home .home-recommendation-section,
  .story-home .home-next-step-section {
    grid-template-columns: 1fr;
  }

  .home-decision-actions {
    grid-template-columns: 1fr;
  }

  .home-decision-actions .button {
    width: 100%;
  }

  .story-home .home-intent-grid,
  .story-home .home-recommendation-grid,
  .story-home .home-next-step-grid {
    grid-template-columns: 1fr;
  }

  .home-next-step-card {
    min-height: 0;
  }

  .home-recommendation-card {
    min-height: 0;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: start;
    padding: 10px;
  }

  .home-recommendation-card__main {
    display: contents;
  }

  .home-recommendation-card__media {
    grid-row: span 4;
    aspect-ratio: 1 / 1;
  }

  .home-recommendation-card__actions {
    grid-column: 1 / -1;
    padding: 0;
  }

  .story-home .local-story-card {
    grid-template-columns: 1fr;
  }

  .story-home .local-story-card figure {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.32;
  }

  .story-home .local-story-card img {
    width: 100%;
    height: 100%;
  }

  .story-home .local-story-card__body {
    min-height: 300px;
    padding: clamp(22px, 7vw, 36px);
  }
}

@media (min-width: 980px) and (max-height: 820px) {
  .story-home .hero {
    min-height: auto;
    padding-block: 18px;
  }

  .story-home .hero-shell {
    min-height: auto;
    grid-template-columns: 1fr;
    max-width: 960px;
  }

  .story-home .story-portrait {
    display: none;
  }

  .story-home .story-hero__content h1 {
    max-width: 900px;
    font-size: clamp(2rem, 3.05vw, 2.9rem) !important;
  }

  .story-home .hero-content p:not(.eyebrow) {
    max-width: 880px;
    line-height: 1.38;
  }

  .story-home .hero-actions {
    margin-top: 12px;
  }

  .story-home .shop-status-card {
    min-height: 44px;
    margin-top: 8px;
    padding: 7px 10px;
  }
}

.story-chapter {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 72px);
  padding-block: clamp(18px, 4vw, 44px);
  border-block: 1px solid var(--line);
}

.story-chapter__text {
  display: grid;
  gap: 14px;
  color: var(--muted);
  line-height: 1.72;
}

.story-wide-card {
  max-width: 720px;
}

.carte-hero {
  align-items: end;
}

.drink-creator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(18px, 4vw, 42px);
  align-items: stretch;
}

.drink-creator-form,
.drink-creator-result {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.drink-creator-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(16px, 3vw, 24px);
}

.drink-creator-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.drink-creator-form label span {
  color: var(--muted);
  font-size: var(--type-caption);
  font-weight: 850;
  text-transform: uppercase;
}

.drink-creator-form :is(select, input) {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  padding: 10px 12px;
}

.drink-creator-form .button {
  grid-column: 1 / -1;
}

.drink-creator-result {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(18px, 3vw, 26px);
}

.drink-creator-result h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.recipe-match-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.recipe-match-list div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding-block: 8px;
  border-top: 1px solid var(--line);
}

.recipe-match-list dt {
  color: var(--muted);
  font-size: var(--type-caption);
  font-weight: 900;
  text-transform: uppercase;
}

.recipe-match-list dd {
  margin: 0;
  line-height: 1.45;
}

.recipe-match-tags {
  color: var(--muted);
}

.creator-match-results {
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.creator-match-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  padding: 10px 12px;
  text-align: left;
}

.creator-match-row:hover,
.creator-match-row:focus-visible,
.creator-match-row.is-selected {
  border-color: color-mix(in srgb, var(--teal) 52%, transparent);
  box-shadow: 0 0 0 3px rgba(63, 125, 128, 0.12);
}

.creator-match-row span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.creator-match-row strong,
.creator-match-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-match-row small {
  color: var(--muted);
  font-size: var(--type-caption);
}

.creator-match-row em {
  color: var(--teal);
  font-style: normal;
  font-weight: 900;
}

.creator-match-row.is-unavailable {
  opacity: 0.58;
  background: rgba(240, 242, 236, 0.6);
}

.creator-ingredient-picker {
  display: grid;
  grid-column: 1 / -1;
  gap: 8px;
}

.creator-ingredient-picker > span {
  color: var(--muted);
  font-size: var(--type-caption);
  font-weight: 850;
  text-transform: uppercase;
}

.creator-special-mode {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--muted);
  font-size: var(--type-caption);
  font-weight: 850;
  line-height: 1.25;
  padding: 8px 10px;
}

.creator-special-mode input {
  accent-color: var(--teal);
}

.creator-ingredient-options {
  display: grid;
  gap: 12px;
  max-height: 360px;
  overflow: auto;
  padding: 2px;
}

.creator-ingredient-family {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(31, 91, 69, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.44);
}

.creator-ingredient-family header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.creator-ingredient-family strong {
  color: var(--ink);
  font-size: var(--type-body);
}

.creator-ingredient-family small,
.creator-ingredient-family p {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-caption);
  line-height: 1.28;
}

.creator-ingredient-family > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.creator-ingredient-chip {
  --chip-tone: var(--teal);
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
  font-size: var(--type-caption);
  font-weight: 850;
  padding: 7px 10px;
}

.creator-ingredient-chip.is-selected {
  border-color: color-mix(in srgb, var(--chip-tone) 64%, transparent);
  background: var(--chip-tone);
  color: var(--cream);
  animation: creatorChipPop 180ms ease-out both;
}

.creator-ingredient-chip.is-unavailable:not(.is-selected) {
  opacity: 0.58;
}

.creator-ingredient-chip.is-family-muted:not(.is-selected) {
  opacity: 0.46;
}

.creator-rule-note {
  margin: 0;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 8px;
  background: rgba(31, 91, 69, 0.07);
  color: #173c34;
  font-size: var(--type-caption);
  font-weight: 760;
  line-height: 1.35;
  padding: 9px 10px;
}

.creator-ingredient-chip.is-incompatible:not(.is-selected) {
  opacity: 0.42;
  cursor: not-allowed;
  filter: grayscale(0.35);
}

.creator-ingredient-chip.is-incompatible:not(.is-selected)::after {
  content: " bloqué";
  opacity: 0.82;
  font-weight: 900;
}

.creator-ingredient-chip[data-creator-ingredient-family="lait"] { --chip-tone: #d7c19a; color: #173c34; }
.creator-ingredient-chip[data-creator-ingredient-family="fruit"] { --chip-tone: #e86f86; }
.creator-ingredient-chip[data-creator-ingredient-family="saveur"] { --chip-tone: #a76e45; }
.creator-ingredient-chip[data-creator-ingredient-family="perles"],
.creator-ingredient-chip[data-creator-ingredient-family="topping"] { --chip-tone: #2d1f1d; }
.creator-ingredient-chip[data-creator-ingredient-family="creme"] { --chip-tone: #fff0d0; color: #173c34; }
.creator-ingredient-chip[data-creator-ingredient-family="sucre"] { --chip-tone: #b36a37; }
.creator-ingredient-chip[data-creator-ingredient-family="epice"] { --chip-tone: #9a5b31; }
.creator-ingredient-chip[data-creator-ingredient-family="floral"] { --chip-tone: #b78bd1; }

.creator-idea-box {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.56);
}

.creator-idea-box p,
.creator-idea-box small {
  margin: 0;
  color: var(--muted);
}

.creator-idea-box input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
}

/* Visual drink creator: a small preparation scene instead of a text form. */
.drink-creator-game {
  --creator-liquid: #87ad5b;
  --creator-cup-scale: 1;
  --creator-liquid-top: 42%;
  --creator-sugar-amount: 0.86;
  --creator-sugar-width: 13px;
  --creator-sugar-duration: 680ms;
  --creator-milk-color: #fff0d0;
  grid-template-columns: 1fr;
  padding: 0;
  overflow: hidden;
}

.creator-native-fields {
  display: none;
}

.creator-game-shell {
  display: grid;
  min-height: 620px;
  grid-template-columns: 148px minmax(260px, 0.95fr) minmax(280px, 0.72fr);
  gap: 0;
}

.creator-steps {
  display: grid;
  align-content: start;
  gap: 8px;
  margin: 0;
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  list-style: none;
  background: rgba(255, 255, 255, 0.32);
}

.creator-steps button {
  display: grid;
  width: 100%;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 8px;
  text-align: left;
}

.creator-steps span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(63, 125, 128, 0.1);
  color: var(--teal);
  font-weight: 950;
}

.creator-steps strong {
  overflow: hidden;
  font-size: var(--type-caption);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.creator-steps .is-active button,
.creator-steps .is-done button {
  border-color: rgba(63, 125, 128, 0.18);
  background: rgba(63, 125, 128, 0.1);
  color: var(--ink);
}

.creator-playfield {
  display: grid;
  min-width: 0;
  align-content: space-between;
  gap: 16px;
  padding: clamp(18px, 3vw, 26px);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.82), transparent 22%),
    radial-gradient(circle at 18% 78%, color-mix(in srgb, var(--creator-liquid) 18%, transparent), transparent 26%),
    linear-gradient(180deg, rgba(255, 253, 247, 0.76), rgba(240, 247, 234, 0.72));
}

.creator-counter {
  display: grid;
  gap: 8px;
}

.creator-counter strong {
  font-size: clamp(1.55rem, 3.6vw, 2.6rem);
  line-height: 0.98;
}

.creator-counter small {
  max-width: 42ch;
  color: var(--muted);
  line-height: 1.4;
}

.creator-cup-scene {
  position: relative;
  display: grid;
  min-height: 330px;
  place-items: end center;
  overflow: hidden;
}

.creator-cup {
  position: relative;
  width: min(58vw, 230px);
  height: 290px;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.92);
  border-bottom-width: 10px;
  border-radius: 30px 30px 60px 60px;
  background: rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 0 0 1px rgba(28, 57, 48, 0.08),
    0 28px 46px rgba(28, 57, 48, 0.18);
  scale: var(--creator-cup-scale);
  transform-origin: 50% 84%;
  transition: scale 360ms cubic-bezier(0.18, 0.86, 0.24, 1);
}

.creator-liquid {
  position: absolute;
  inset: var(--creator-liquid-top, 42%) 0 0;
  background:
    radial-gradient(circle at 32% 18%, rgba(255, 255, 255, 0.45), transparent 18%),
    linear-gradient(180deg, color-mix(in srgb, var(--creator-liquid) 52%, #ffffff), var(--creator-liquid));
  transform-origin: 50% 100%;
  transition: inset 420ms ease, background 260ms ease;
}

.creator-texture {
  position: absolute;
  inset: 38% 0 auto;
  height: 44px;
  opacity: 0;
  background:
    radial-gradient(circle at 20% 56%, rgba(255, 255, 255, 0.75) 0 11px, transparent 12px),
    radial-gradient(circle at 48% 42%, rgba(255, 255, 255, 0.7) 0 16px, transparent 17px),
    radial-gradient(circle at 74% 58%, rgba(255, 255, 255, 0.62) 0 12px, transparent 13px);
  transform: translateY(14px);
}

.creator-shine {
  position: absolute;
  top: 42px;
  left: 34px;
  width: 34px;
  height: 150px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  transform: rotate(8deg);
}

.creator-label {
  position: absolute;
  left: 50%;
  top: 132px;
  z-index: 3;
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.9);
  color: var(--teal);
  font-weight: 950;
  padding: 8px 14px;
  transform: translateX(-50%);
}

.creator-pour,
.creator-whisk,
.creator-blender,
.creator-steam,
.creator-ice,
.creator-ingredients,
.creator-toppings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

@media (max-width: 860px) {
  .creator-pour,
  .creator-whisk,
  .creator-blender,
  .creator-steam,
  .creator-ice,
  .creator-ingredients,
  .creator-toppings {
    inset-inline: 8px;
  }
}

.creator-pour::before {
  position: absolute;
  left: 50%;
  top: 22px;
  width: 18px;
  height: 134px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), var(--creator-liquid));
  opacity: 0;
  transform: translateX(-50%) scaleY(0.2);
  transform-origin: top;
}

.creator-pour::after {
  position: absolute;
  left: calc(50% - 96px);
  top: 36px;
  width: 192px;
  height: 150px;
  content: "";
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.88) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.7) 0 2px, transparent 3px),
    radial-gradient(circle at 42% 58%, rgba(255, 255, 255, 0.64) 0 1px, transparent 2px),
    repeating-linear-gradient(112deg, transparent 0 16px, color-mix(in srgb, var(--creator-liquid) 34%, transparent) 17px 19px, transparent 20px 32px);
  opacity: 0;
  transform: translateY(-10px);
}

.creator-whisk::before,
.creator-blender::before {
  position: absolute;
  left: calc(50% + 68px);
  top: 66px;
  width: 12px;
  height: 150px;
  content: "";
  border-radius: 999px;
  background: #7f5f45;
  opacity: 0;
  transform: rotate(18deg);
}

.creator-whisk::after,
.creator-blender::after {
  position: absolute;
  left: calc(50% + 48px);
  top: 194px;
  width: 54px;
  height: 22px;
  content: "";
  border: 3px solid rgba(127, 95, 69, 0.72);
  border-radius: 50%;
  opacity: 0;
  transform: rotate(18deg);
}

.creator-steam span,
.creator-ice span,
.creator-ingredients span,
.creator-toppings span {
  position: absolute;
  display: block;
}

.creator-steam span {
  bottom: 250px;
  left: calc(50% - 44px + var(--steam-x, 0px));
  width: 28px;
  height: 70px;
  border-left: 3px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  opacity: 0;
}

.creator-steam span:nth-child(2) { --steam-x: 42px; animation-delay: 120ms; }
.creator-steam span:nth-child(3) { --steam-x: 84px; animation-delay: 240ms; }

.creator-ice span {
  top: 80px;
  left: calc(50% - 68px + var(--ice-x, 0px));
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  background: rgba(198, 232, 242, 0.48);
  opacity: 0;
  transform: rotate(12deg);
}

.creator-ice span:nth-child(2) { --ice-x: 58px; transform: rotate(-10deg); }
.creator-ice span:nth-child(3) { --ice-x: 112px; transform: rotate(18deg); }

.creator-ingredients span,
.creator-toppings span {
  left: calc(50% - 78px + var(--dot-x, 0px));
  bottom: 34px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.52), transparent 20%),
    #2d1f1d;
  opacity: 0;
}

.creator-ingredients span:nth-child(1) { --dot-x: 0px; bottom: 78px; background-color: #f2a34f; }
.creator-ingredients span:nth-child(2) { --dot-x: 44px; bottom: 96px; background-color: #e66f84; }
.creator-ingredients span:nth-child(3) { --dot-x: 88px; bottom: 74px; background-color: #f0d46a; }
.creator-ingredients span:nth-child(4) { --dot-x: 132px; bottom: 98px; background-color: #b78bd1; }
.creator-toppings span:nth-child(1) { --dot-x: 6px; }
.creator-toppings span:nth-child(2) { --dot-x: 42px; bottom: 54px; }
.creator-toppings span:nth-child(3) { --dot-x: 78px; }
.creator-toppings span:nth-child(4) { --dot-x: 112px; bottom: 58px; }
.creator-toppings span:nth-child(5) { --dot-x: 146px; }

.creator-ingredients::before,
.creator-ingredients::after {
  position: absolute;
  left: calc(50% - 74px);
  top: 38px;
  width: 148px;
  height: 156px;
  content: "";
  opacity: 0;
  pointer-events: none;
}

.creator-shadow {
  width: 210px;
  height: 24px;
  margin-top: 12px;
  border-radius: 50%;
  background: rgba(18, 59, 50, 0.16);
  filter: blur(2px);
}

.creator-recipe-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.creator-recipe-strip span {
  border: 1px solid rgba(63, 125, 128, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #1f5b45;
  font-size: var(--type-caption);
  font-weight: 900;
  padding: 7px 10px;
}

.creator-step-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(16px, 3vw, 22px);
  border-left: 1px solid var(--line);
}

.creator-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.creator-game-option {
  display: grid;
  gap: 5px;
  min-height: 72px;
  place-items: center;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
  cursor: pointer;
  font-weight: 950;
  padding: 12px;
  text-align: center;
}

.creator-game-option small {
  display: block;
  color: rgba(18, 51, 44, 0.68) !important;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.08;
}

.drink-creator-game :is(.creator-counter strong, .creator-counter small, .creator-steps strong, .creator-game-option span, .creator-recipe-strip span, .creator-step-card, .creator-order-note strong, .creator-order-note span) {
  color: #12332c !important;
}

.drink-creator-game .showcase-label {
  color: #1f5b45 !important;
}

.creator-step-card {
  background: rgba(255, 253, 247, 0.9);
}

.creator-game-option:hover,
.creator-game-option:focus-visible,
.creator-game-option.is-selected {
  border-color: color-mix(in srgb, var(--creator-liquid) 68%, #12332c 32%);
  background: color-mix(in srgb, var(--creator-liquid) 16%, #ffffff 84%);
  box-shadow: 0 12px 24px rgba(31, 91, 69, 0.12);
  transform: translateY(-1px);
}

.creator-game-option--matcha { --choice-tone: #87ad5b; }
.creator-game-option--the { --choice-tone: #9b6a43; }
.creator-game-option--the-noir { --choice-tone: #9b6a43; }
.creator-game-option--the-vert { --choice-tone: #81a85b; }
.creator-game-option--hojicha { --choice-tone: #b88957; }
.creator-game-option--oolong { --choice-tone: #b5794d; }
.creator-game-option--chai { --choice-tone: #c58149; }
.creator-game-option--cafe { --choice-tone: #8a6048; }
.creator-game-option--taro-ube { --choice-tone: #9b78bf; }
.creator-game-option--s,
.creator-game-option--m,
.creator-game-option--l { --choice-tone: #3f7d80; }
.creator-game-option--chaud { --choice-tone: #d68c54; }
.creator-game-option--froid { --choice-tone: #69a9c6; }
.creator-game-option--frappe { --choice-tone: #91b9d8; }
.creator-game-option--normal,
.creator-game-option--moins,
.creator-game-option--sans { --choice-tone: #b8834f; }
.creator-game-option--lait-entier,
.creator-game-option--lait-avoine,
.creator-game-option--lait-soja,
.creator-game-option--lait-coco,
.creator-game-option--sans-lait { --choice-tone: #e6d9bc; }
.creator-game-option--fouette { --choice-tone: #8aae64; }
.creator-game-option--shaker { --choice-tone: #54a185; }
.creator-game-option--infuse { --choice-tone: #b78955; }
.creator-game-option--blende { --choice-tone: #8b75ba; }
.creator-game-option--lactee { --choice-tone: #e6d9bc; }
.creator-game-option--fruit { --choice-tone: #e86f86; }
.creator-game-option--cremeuse { --choice-tone: #f0dfbd; }
.creator-game-option--gourmande { --choice-tone: #ba7b48; }
.creator-game-option--boba-tapioca { --choice-tone: #2d1f1d; }
.creator-game-option--perles-fruit { --choice-tone: #e86f86; }
.creator-game-option--creme { --choice-tone: #fff0d0; }
.creator-game-option--brown-sugar { --choice-tone: #a85f36; }

.creator-game-option.is-selected {
  border-color: color-mix(in srgb, var(--choice-tone, var(--creator-liquid)) 70%, #12332c 30%);
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.72), transparent 20%),
    color-mix(in srgb, var(--choice-tone, var(--creator-liquid)) 24%, #ffffff 76%);
}

.creator-step-card .creator-ingredient-picker {
  grid-column: auto;
}

.creator-free-field {
  display: grid;
  gap: 6px;
  width: 100%;
}

.creator-free-field span {
  color: var(--muted);
  font-size: var(--type-caption);
  font-weight: 900;
  text-transform: uppercase;
}

.creator-free-field input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  padding: 9px 11px;
}

.creator-game-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.creator-game-actions .button {
  width: 100%;
  padding-inline: 10px;
}

.creator-game-actions .button:disabled {
  cursor: default;
  filter: grayscale(0.18);
  opacity: 0.52;
}

.creator-game-actions .button.is-ready {
  box-shadow:
    0 14px 28px rgba(31, 91, 69, 0.18),
    0 0 0 3px color-mix(in srgb, var(--creator-liquid) 22%, transparent);
  transform: translateY(-1px);
}

.drink-creator-game.is-creator-animating[data-creator-action="pour"] .creator-liquid {
  animation: creatorFill 620ms cubic-bezier(0.18, 0.86, 0.24, 1) both;
}

.drink-creator-game.is-creator-animating[data-creator-action="pour"] .creator-pour::before {
  animation: creatorPour 760ms ease-in-out both;
}

.drink-creator-game.is-creator-animating[data-creator-action="pour"] .creator-pour::after {
  animation: creatorPourStars 820ms ease-out both;
}

.drink-creator-game.is-creator-animating[data-creator-action="pour"][data-creator-phase="out"] .creator-liquid {
  animation: creatorDrain 230ms ease-in both;
}

.drink-creator-game.is-creator-animating[data-creator-action="pour"][data-creator-phase="out"] .creator-pour::before,
.drink-creator-game.is-creator-animating[data-creator-action="pour"][data-creator-phase="out"] .creator-pour::after {
  animation-direction: reverse;
  animation-duration: 230ms;
}

.drink-creator-game[data-creator-temperature="chaud"] .creator-steam span {
  animation: creatorSteam 1700ms ease-in-out infinite;
}

.drink-creator-game[data-creator-temperature="froid"] .creator-ice span,
.drink-creator-game[data-creator-temperature="frappe"] .creator-ice span {
  opacity: 1;
  animation: creatorIceDrop 720ms cubic-bezier(0.18, 0.86, 0.24, 1) both;
}

.drink-creator-game[data-creator-temperature="frappe"] .creator-ice span {
  border-radius: 50%;
  animation-name: creatorFrappeHail;
}

.drink-creator-game.is-creator-animating[data-creator-action="temperature"][data-creator-phase="out"] .creator-steam span,
.drink-creator-game.is-creator-animating[data-creator-action="temperature"][data-creator-phase="out"] .creator-ice span {
  animation: creatorVanishUp 240ms ease-in both;
}

.drink-creator-game[data-creator-method="fouette"] .creator-whisk::before,
.drink-creator-game[data-creator-method="fouette"] .creator-whisk::after,
.drink-creator-game[data-creator-method="blende"] .creator-blender::before,
.drink-creator-game[data-creator-method="blende"] .creator-blender::after,
.drink-creator-game[data-creator-method="infuse"] .creator-pour::before {
  opacity: 1;
}

.drink-creator-game[data-creator-method="fouette"].is-creator-animating[data-creator-phase="in"] .creator-whisk::before,
.drink-creator-game[data-creator-method="fouette"].is-creator-animating[data-creator-phase="in"] .creator-whisk::after,
.drink-creator-game[data-creator-method="blende"].is-creator-animating[data-creator-phase="in"] .creator-blender::before,
.drink-creator-game[data-creator-method="blende"].is-creator-animating[data-creator-phase="in"] .creator-blender::after {
  animation: creatorToolDrop 520ms cubic-bezier(0.18, 0.86, 0.24, 1) both;
}

.drink-creator-game[data-creator-method="fouette"].is-creator-animating .creator-whisk {
  animation: creatorWhisk 760ms ease-in-out both;
}

.drink-creator-game[data-creator-method="shaker"].is-creator-animating .creator-cup {
  animation: creatorShake 620ms ease-in-out both;
}

.drink-creator-game[data-creator-method="blende"].is-creator-animating .creator-cup {
  animation: creatorBlend 720ms ease-in-out both;
}

.drink-creator-game[data-creator-method="infuse"].is-creator-animating .creator-pour::before {
  animation: creatorPour 760ms ease-in-out both;
}

.drink-creator-game.is-creator-animating[data-creator-action="method"][data-creator-phase="out"] .creator-whisk,
.drink-creator-game.is-creator-animating[data-creator-action="method"][data-creator-phase="out"] .creator-blender,
.drink-creator-game.is-creator-animating[data-creator-action="method"][data-creator-phase="out"] .creator-cup {
  animation: creatorSettle 240ms ease-out both;
}

.drink-creator-game[data-creator-texture="lactee"] .creator-texture,
.drink-creator-game[data-creator-texture="cremeuse"] .creator-texture,
.drink-creator-game[data-creator-texture="gourmande"] .creator-texture {
  opacity: 1;
  animation: creatorFoam 720ms ease-out both;
}

.drink-creator-game[data-creator-texture="fruit"] .creator-liquid {
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.42), transparent 18%),
    linear-gradient(180deg, color-mix(in srgb, var(--creator-liquid) 44%, #ffd6d6), color-mix(in srgb, var(--creator-liquid) 70%, #e56f84));
}

.drink-creator-game[data-creator-texture="cremeuse"] .creator-texture {
  height: 58px;
  background:
    radial-gradient(circle at 20% 56%, #fff3d2 0 13px, transparent 14px),
    radial-gradient(circle at 48% 40%, #fff0ca 0 19px, transparent 20px),
    radial-gradient(circle at 74% 58%, #f8dfaa 0 14px, transparent 15px);
}

.drink-creator-game[data-creator-texture="gourmande"] .creator-texture {
  height: 54px;
  background:
    radial-gradient(circle at 18% 60%, #fff1c7 0 13px, transparent 14px),
    radial-gradient(circle at 46% 44%, #e9b96e 0 17px, transparent 18px),
    radial-gradient(circle at 76% 58%, #a85f36 0 12px, transparent 13px);
}

.drink-creator-game.is-creator-animating[data-creator-action="texture"][data-creator-phase="out"] .creator-texture {
  animation: creatorFoamOut 240ms ease-in both;
}

.drink-creator-game[data-creator-ingredients="1"] .creator-ingredients span:nth-child(-n + 1),
.drink-creator-game[data-creator-ingredients="2"] .creator-ingredients span:nth-child(-n + 2),
.drink-creator-game[data-creator-ingredients="3"] .creator-ingredients span:nth-child(-n + 3),
.drink-creator-game[data-creator-ingredients="4"] .creator-ingredients span:nth-child(-n + 4) {
  opacity: 1;
  animation: creatorIngredientPop 520ms ease-out both;
}

.drink-creator-game:not([data-creator-topping="none"]) .creator-toppings span {
  opacity: 1;
  animation: creatorToppingDrop 760ms cubic-bezier(0.18, 0.86, 0.24, 1) both;
}

.drink-creator-game[data-creator-topping="creme"] .creator-toppings span {
  width: 34px;
  height: 16px;
  border-radius: 999px;
  background: #fff4dc;
}

.creator-toppings::before,
.creator-toppings::after {
  position: absolute;
  left: calc(50% - 70px);
  top: 34px;
  width: 140px;
  height: 150px;
  content: "";
  opacity: 0;
  pointer-events: none;
}

.drink-creator-game[data-creator-topping="creme"] .creator-toppings::before {
  border-radius: 999px 999px 50% 50%;
  background:
    radial-gradient(circle at 25% 12%, rgba(255, 255, 255, 0.8), transparent 16%),
    linear-gradient(180deg, #fff7df, #f0dba8);
  clip-path: polygon(34% 0, 62% 0, 72% 72%, 52% 100%, 32% 72%);
  animation: creatorCreamRibbon 820ms cubic-bezier(0.18, 0.86, 0.24, 1) both;
}

.drink-creator-game[data-creator-topping="brown-sugar"] .creator-toppings::before,
.drink-creator-game[data-creator-topping="brown-sugar"] .creator-toppings::after {
  width: 24px;
  height: 160px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d58c4b, #7c3e24);
  animation: creatorSyrupDrop 840ms ease-in-out both;
}

.drink-creator-game[data-creator-topping="brown-sugar"] .creator-toppings::after {
  left: calc(50% + 28px);
  animation-delay: 110ms;
}

.drink-creator-game[data-creator-topping="perles-fruit"] .creator-toppings span {
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.56), transparent 20%),
    #e86f86;
}

.drink-creator-game.is-creator-animating[data-creator-action="topping"][data-creator-phase="out"] .creator-toppings span,
.drink-creator-game.is-creator-animating[data-creator-action="ingredients"][data-creator-phase="out"] .creator-ingredients span {
  animation: creatorBubbleOut 240ms ease-in both;
}

.drink-creator-game.is-creator-animating[data-creator-action="ingredients"][data-creator-phase="in"] .creator-ingredients::before,
.drink-creator-game.is-creator-animating[data-creator-action="ingredients"][data-creator-phase="in"] .creator-ingredients::after {
  animation: creatorIngredientStream 760ms cubic-bezier(0.18, 0.86, 0.24, 1) both;
}

.drink-creator-game[data-creator-ingredient-family="milk"] .creator-ingredients::before {
  width: 28px;
  left: calc(50% - 14px);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff8e6, #e9d8b8);
}

.drink-creator-game[data-creator-ingredient-family="fruit"] .creator-ingredients::before {
  background:
    radial-gradient(circle at 18% 14%, #ff8a9c 0 8px, transparent 9px),
    radial-gradient(circle at 48% 26%, #ffd35e 0 7px, transparent 8px),
    radial-gradient(circle at 72% 18%, #f56f83 0 8px, transparent 9px),
    radial-gradient(circle at 34% 52%, #ffb35d 0 7px, transparent 8px);
}

.drink-creator-game[data-creator-ingredient-family="flavor"] .creator-ingredients::before {
  width: 30px;
  left: calc(50% - 15px);
  border-radius: 999px;
  background: linear-gradient(180deg, #f3c27d, #8a5b3b);
}

.drink-creator-game[data-creator-ingredient-family="pearls"] .creator-ingredients::before {
  background:
    radial-gradient(circle at 20% 10%, #2d1f1d 0 10px, transparent 11px),
    radial-gradient(circle at 54% 24%, #2d1f1d 0 10px, transparent 11px),
    radial-gradient(circle at 74% 4%, #2d1f1d 0 8px, transparent 9px),
    radial-gradient(circle at 36% 48%, #2d1f1d 0 9px, transparent 10px);
}

.drink-creator-game[data-creator-ingredient-family="cream"] .creator-ingredients::before {
  width: 132px;
  left: calc(50% - 66px);
  border-radius: 999px 999px 50% 50%;
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.82), transparent 17%),
    linear-gradient(180deg, #fff7df, #f0dba8);
  clip-path: polygon(28% 0, 72% 0, 82% 70%, 54% 100%, 24% 70%);
}

.drink-creator-game[data-creator-ingredient-family="syrup"] .creator-ingredients::before {
  width: 24px;
  left: calc(50% - 12px);
  border-radius: 999px;
  background: linear-gradient(180deg, #d58c4b, #7c3e24);
}

.drink-creator-game[data-creator-ingredient-family="spice"] .creator-ingredients::before {
  background:
    repeating-linear-gradient(100deg, transparent 0 11px, rgba(154, 91, 49, 0.78) 12px 14px, transparent 15px 24px),
    radial-gradient(circle at 28% 34%, #b96731 0 4px, transparent 5px),
    radial-gradient(circle at 64% 44%, #7f4b2e 0 4px, transparent 5px);
}

.drink-creator-game[data-creator-ingredient-family="flower"] .creator-ingredients::before {
  background:
    radial-gradient(circle at 20% 20%, #d7a0dc 0 7px, transparent 8px),
    radial-gradient(circle at 34% 34%, #f2c8e7 0 6px, transparent 7px),
    radial-gradient(circle at 70% 24%, #b78bd1 0 7px, transparent 8px);
}

.drink-creator-game[data-creator-ingredient-family="generic"] .creator-ingredients::before {
  background:
    radial-gradient(circle at 22% 14%, color-mix(in srgb, var(--creator-liquid) 72%, #ffffff) 0 7px, transparent 8px),
    radial-gradient(circle at 52% 30%, #fff3d2 0 6px, transparent 7px),
    radial-gradient(circle at 72% 14%, #f0d46a 0 6px, transparent 7px),
    repeating-linear-gradient(112deg, transparent 0 14px, color-mix(in srgb, var(--creator-liquid) 42%, transparent) 15px 17px, transparent 18px 30px);
}

.drink-creator-game.is-creator-animating[data-creator-action="ingredients"][data-creator-phase="out"] .creator-ingredients::before,
.drink-creator-game.is-creator-animating[data-creator-action="ingredients"][data-creator-phase="out"] .creator-ingredients::after {
  animation: creatorIngredientStreamOut 240ms ease-in both;
}

.drink-creator-game.is-creator-animating[data-creator-action="topping"][data-creator-phase="out"] .creator-toppings::before,
.drink-creator-game.is-creator-animating[data-creator-action="topping"][data-creator-phase="out"] .creator-toppings::after {
  animation: creatorVanishUp 240ms ease-in both;
}

.drink-creator-game.is-creator-animating[data-creator-action="size"] .creator-cup {
  animation: creatorCupResize 540ms cubic-bezier(0.18, 0.86, 0.24, 1) both;
}

.drink-creator-game[data-creator-temperature="chaud"] .creator-playfield {
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 239, 202, 0.86), transparent 24%),
    radial-gradient(circle at 18% 78%, color-mix(in srgb, var(--creator-liquid) 18%, transparent), transparent 26%),
    linear-gradient(180deg, rgba(255, 252, 244, 0.82), rgba(246, 231, 204, 0.72));
}

.drink-creator-game[data-creator-temperature="froid"] .creator-playfield {
  background:
    radial-gradient(circle at 50% 16%, rgba(215, 244, 250, 0.84), transparent 24%),
    radial-gradient(circle at 18% 78%, color-mix(in srgb, var(--creator-liquid) 16%, transparent), transparent 26%),
    linear-gradient(180deg, rgba(248, 255, 255, 0.78), rgba(225, 244, 241, 0.72));
}

.drink-creator-game.is-creator-animating[data-creator-action="sugar"][data-creator-phase="in"] .creator-ingredients::before {
  left: calc(50% - (var(--creator-sugar-width) / 2));
  top: 24px;
  width: var(--creator-sugar-width);
  height: calc(120px * var(--creator-sugar-amount));
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.88) 0 3px, transparent 4px),
    repeating-linear-gradient(180deg, #f6df9b 0 6px, #d79b52 7px 10px, #f8e8b5 11px 16px);
  animation: creatorSugarPour var(--creator-sugar-duration) ease-in-out both;
}

.drink-creator-game.is-creator-animating[data-creator-action="sugar"][data-creator-phase="in"] .creator-ingredients::after {
  left: calc(50% - 86px);
  top: 46px;
  width: 172px;
  height: 140px;
  background:
    radial-gradient(circle at 22% 10%, #f6df9b 0 4px, transparent 5px),
    radial-gradient(circle at 42% 22%, #e2b063 0 5px, transparent 6px),
    radial-gradient(circle at 66% 12%, #f4ce79 0 4px, transparent 5px),
    radial-gradient(circle at 78% 38%, #d79b52 0 4px, transparent 5px);
  animation: creatorSugarSparkle var(--creator-sugar-duration) ease-out both;
}

.drink-creator-game[data-creator-sugar="sans"].is-creator-animating[data-creator-action="sugar"] .creator-ingredients::before {
  width: 112px;
  left: calc(50% - 56px);
  height: 76px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.82) 0 5px, transparent 6px),
    radial-gradient(circle at 62% 42%, rgba(255, 255, 255, 0.68) 0 4px, transparent 5px);
  animation: creatorSugarSkip 520ms ease-out both;
}

.drink-creator-game.is-creator-animating[data-creator-action="milk"][data-creator-phase="in"] .creator-ingredients::before {
  left: calc(50% - 17px);
  top: 22px;
  width: 34px;
  height: 152px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), var(--creator-milk-color)),
    var(--creator-milk-color);
  animation: creatorMilkPour 820ms cubic-bezier(0.18, 0.86, 0.24, 1) both;
}

.drink-creator-game[data-creator-milk="sans-lait"].is-creator-animating[data-creator-action="milk"] .creator-ingredients::before {
  left: calc(50% - 70px);
  top: 62px;
  width: 140px;
  height: 90px;
  background:
    radial-gradient(circle at 30% 34%, rgba(255, 255, 255, 0.72) 0 8px, transparent 9px),
    radial-gradient(circle at 62% 52%, rgba(255, 255, 255, 0.54) 0 7px, transparent 8px);
  animation: creatorNoMilkBreeze 620ms ease-out both;
}

.drink-creator-game[data-creator-milk="lait-avoine"].is-creator-animating[data-creator-action="milk"] .creator-ingredients::after,
.drink-creator-game[data-creator-milk="lait-soja"].is-creator-animating[data-creator-action="milk"] .creator-ingredients::after,
.drink-creator-game[data-creator-milk="lait-coco"].is-creator-animating[data-creator-action="milk"] .creator-ingredients::after {
  left: calc(50% - 84px);
  top: 36px;
  width: 168px;
  height: 160px;
  animation: creatorMilkBits 920ms ease-out both;
}

.drink-creator-game[data-creator-milk="lait-avoine"].is-creator-animating[data-creator-action="milk"] .creator-ingredients::after {
  background:
    radial-gradient(ellipse at 18% 12%, #c8a46c 0 6px, transparent 7px),
    radial-gradient(ellipse at 44% 24%, #e0c28b 0 5px, transparent 6px),
    radial-gradient(ellipse at 72% 18%, #b9905e 0 6px, transparent 7px),
    radial-gradient(ellipse at 58% 54%, #d8b879 0 5px, transparent 6px);
}

.drink-creator-game[data-creator-milk="lait-soja"].is-creator-animating[data-creator-action="milk"] .creator-ingredients::after {
  background:
    radial-gradient(circle at 20% 12%, #f0deaa 0 5px, transparent 6px),
    radial-gradient(circle at 48% 26%, #ead59a 0 5px, transparent 6px),
    radial-gradient(circle at 76% 14%, #fff1c7 0 4px, transparent 5px);
}

.drink-creator-game[data-creator-milk="lait-coco"].is-creator-animating[data-creator-action="milk"] .creator-ingredients::after {
  background:
    radial-gradient(ellipse at 22% 12%, #fff9ea 0 7px, transparent 8px),
    radial-gradient(ellipse at 48% 24%, #f3e7cf 0 6px, transparent 7px),
    radial-gradient(ellipse at 72% 18%, #ffffff 0 6px, transparent 7px),
    radial-gradient(ellipse at 62% 56%, #e9dcc3 0 5px, transparent 6px);
}

.drink-creator-game[data-creator-topping="perles-fruit"] .creator-toppings span:nth-child(1) { background-color: #e86f86; }
.drink-creator-game[data-creator-topping="perles-fruit"] .creator-toppings span:nth-child(2) { background-color: #f0d46a; }
.drink-creator-game[data-creator-topping="perles-fruit"] .creator-toppings span:nth-child(3) { background-color: #7fb86b; }
.drink-creator-game[data-creator-topping="perles-fruit"] .creator-toppings span:nth-child(4) { background-color: #f2a34f; }
.drink-creator-game[data-creator-topping="perles-fruit"] .creator-toppings span:nth-child(5) { background-color: #b78bd1; }

.drink-creator-game.is-creator-animating[data-creator-action="summary"] .creator-cup {
  animation: creatorSummaryToast 760ms cubic-bezier(0.18, 0.86, 0.24, 1) both;
}

.drink-creator-game.is-creator-animating[data-creator-action="summary"] .creator-shadow {
  animation: creatorSummaryShadow 760ms cubic-bezier(0.18, 0.86, 0.24, 1) both;
}

.drink-creator-game.is-creator-animating[data-creator-action="summary"] .creator-toppings::before {
  left: calc(50% - 94px);
  top: 20px;
  width: 188px;
  height: 168px;
  background:
    radial-gradient(circle at 18% 24%, #e86f86 0 5px, transparent 6px),
    radial-gradient(circle at 34% 8%, #f0d46a 0 4px, transparent 5px),
    radial-gradient(circle at 62% 14%, #7fb86b 0 5px, transparent 6px),
    radial-gradient(circle at 80% 30%, #f2a34f 0 4px, transparent 5px),
    radial-gradient(circle at 50% 4%, rgba(255, 255, 255, 0.9) 0 3px, transparent 4px);
  animation: creatorSummarySparkles 840ms ease-out both;
}

@keyframes creatorFill {
  from { top: 100%; }
  to { top: var(--creator-liquid-top, 42%); }
}

@keyframes creatorDrain {
  from { top: var(--creator-liquid-top, 42%); opacity: 1; }
  to { top: 100%; opacity: 0.62; }
}

@keyframes creatorCupResize {
  0% { scale: calc(var(--creator-cup-scale) * 0.92); }
  64% { scale: calc(var(--creator-cup-scale) * 1.04); }
  100% { scale: var(--creator-cup-scale); }
}

@keyframes creatorSugarPour {
  0% { opacity: 0; transform: translateY(-106px) scaleY(0.24); }
  20%, 78% { opacity: 0.92; }
  100% { opacity: 0; transform: translateY(58px) scaleY(0.74); }
}

@keyframes creatorSugarSparkle {
  0% { opacity: 0; transform: translateY(-82px) scale(0.82); }
  42% { opacity: 0.82; }
  100% { opacity: 0; transform: translateY(46px) scale(1.04); }
}

@keyframes creatorSugarSkip {
  0% { opacity: 0; transform: translateY(-18px) scale(0.82); }
  42% { opacity: 0.72; }
  100% { opacity: 0; transform: translateY(20px) scale(1.02); }
}

@keyframes creatorMilkPour {
  0% { opacity: 0; transform: translateY(-126px) scaleY(0.24); }
  22%, 76% { opacity: 0.95; transform: translateY(8px) scaleY(1); }
  100% { opacity: 0; transform: translateY(68px) scaleY(0.7); }
}

@keyframes creatorMilkBits {
  0% { opacity: 0; transform: translateY(-98px) scale(0.72); }
  46% { opacity: 0.86; }
  100% { opacity: 0; transform: translateY(60px) scale(1.02); }
}

@keyframes creatorNoMilkBreeze {
  0% { opacity: 0; transform: translateY(12px) scale(0.82); }
  44% { opacity: 0.62; }
  100% { opacity: 0; transform: translateY(-22px) scale(1.08); }
}

@keyframes creatorSummaryToast {
  0% { scale: calc(var(--creator-cup-scale) * 0.96); transform: translateY(8px); filter: saturate(0.94); }
  52% { scale: calc(var(--creator-cup-scale) * 1.05); transform: translateY(-8px); filter: saturate(1.12); }
  100% { scale: var(--creator-cup-scale); transform: translateY(0); filter: saturate(1); }
}

@keyframes creatorSummaryShadow {
  0% { opacity: 0.38; transform: scaleX(0.86); }
  52% { opacity: 0.18; transform: scaleX(0.74); }
  100% { opacity: 1; transform: scaleX(1); }
}

@keyframes creatorSummarySparkles {
  0% { opacity: 0; transform: translateY(24px) scale(0.78); }
  32% { opacity: 0.92; }
  100% { opacity: 0; transform: translateY(-52px) scale(1.08); }
}

@keyframes creatorPour {
  0% { opacity: 0; transform: translateX(-50%) scaleY(0.15); }
  20%, 80% { opacity: 1; transform: translateX(-50%) scaleY(1); }
  100% { opacity: 0; transform: translateX(-50%) scaleY(0.25); }
}

@keyframes creatorPourStars {
  0% { opacity: 0; transform: translateY(-18px) scale(0.92); }
  26% { opacity: 0.82; }
  100% { opacity: 0; transform: translateY(34px) scale(1.04); }
}

@keyframes creatorSteam {
  0% { opacity: 0; transform: translateY(18px) scale(0.8); }
  35% { opacity: 0.72; }
  100% { opacity: 0; transform: translateY(-36px) scale(1.05); }
}

@keyframes creatorIceDrop {
  from { opacity: 0; transform: translateY(-54px) rotate(18deg); }
  to { opacity: 1; transform: translateY(0) rotate(-8deg); }
}

@keyframes creatorFrappeHail {
  0% { opacity: 0; transform: translateY(-70px) scale(0.72); }
  62% { opacity: 1; transform: translateY(8px) scale(1.08); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes creatorWhisk {
  0%, 100% { transform: rotate(0); }
  18% { transform: rotate(-10deg) translateX(-18px); }
  38% { transform: rotate(12deg) translateX(16px); }
  58% { transform: rotate(-8deg) translateX(-12px); }
  78% { transform: rotate(8deg) translateX(10px); }
}

@keyframes creatorToolDrop {
  from { opacity: 0; translate: 0 -70px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes creatorShake {
  0%, 100% { transform: translateX(0) rotate(0); }
  16% { transform: translateX(-13px) rotate(-5deg); }
  34% { transform: translateX(14px) rotate(5deg); }
  52% { transform: translateX(-10px) rotate(-4deg); }
  70% { transform: translateX(8px) rotate(3deg); }
}

@keyframes creatorBlend {
  0%, 100% { transform: translateY(0) scale(1); filter: saturate(1); }
  24% { transform: translateY(5px) scale(1.02, 0.96); }
  48% { transform: translateY(-7px) scale(0.98, 1.04); filter: saturate(1.18); }
  72% { transform: translateY(3px) scale(1.01, 0.98); }
}

@keyframes creatorSettle {
  from { opacity: 1; transform: translateY(0) rotate(0); }
  to { opacity: 0.72; transform: translateY(8px) rotate(0); }
}

@keyframes creatorFoam {
  from { opacity: 0; transform: translateY(18px) scaleX(0.86); }
  to { opacity: 1; transform: translateY(0) scaleX(1); }
}

@keyframes creatorFoamOut {
  from { opacity: 1; transform: translateY(0) scaleX(1); }
  to { opacity: 0; transform: translateY(-18px) scaleX(0.86); }
}

@keyframes creatorIngredientPop {
  from { opacity: 0; transform: translateY(-38px) scale(0.7); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes creatorChipPop {
  from { transform: scale(0.92); }
  70% { transform: scale(1.04); }
  to { transform: scale(1); }
}

@keyframes creatorIngredientStream {
  0% { opacity: 0; transform: translateY(-116px) scaleY(0.4); }
  24% { opacity: 0.9; }
  72% { opacity: 0.9; transform: translateY(34px) scaleY(1); }
  100% { opacity: 0; transform: translateY(58px) scaleY(0.72); }
}

@keyframes creatorIngredientStreamOut {
  from { opacity: 0.72; transform: translateY(18px) scale(1); }
  to { opacity: 0; transform: translateY(-24px) scale(0.72); }
}

@keyframes creatorToppingDrop {
  from { opacity: 0; transform: translateY(-110px) scale(0.7); }
  68% { opacity: 1; transform: translateY(10px) scale(1.08); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes creatorCreamRibbon {
  0% { opacity: 0; transform: translateY(-120px) scaleY(0.45); }
  28% { opacity: 1; }
  74% { opacity: 1; transform: translateY(42px) scaleY(1); }
  100% { opacity: 0; transform: translateY(66px) scaleY(0.72); }
}

@keyframes creatorSyrupDrop {
  0% { opacity: 0; transform: translateY(-120px) scaleY(0.32); }
  22% { opacity: 0.88; }
  76% { opacity: 0.88; transform: translateY(48px) scaleY(1); }
  100% { opacity: 0; transform: translateY(70px) scaleY(0.66); }
}

@keyframes creatorBubbleOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-34px) scale(0.72); }
}

@keyframes creatorVanishUp {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-28px) scale(0.82); }
}

@media (max-width: 980px) {
  .creator-game-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .creator-steps {
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px;
    scrollbar-width: none;
  }

  .creator-steps::-webkit-scrollbar {
    display: none;
  }

  .creator-steps li {
    flex: 0 0 auto;
  }

  .creator-steps button {
    width: auto;
    min-width: 120px;
  }

  .creator-step-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .creator-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .creator-option-grid,
  .creator-game-actions {
    grid-template-columns: 1fr;
  }

  .creator-cup-scene {
    min-height: 280px;
  }

  .creator-cup {
    width: min(72vw, 210px);
    height: 258px;
  }
}

.games-layout--sticky-board {
  align-items: start;
}

.games-layout--sticky-board .game-leaderboard-panel {
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 112px);
  overflow: auto;
}

.game-stage--recipe {
  display: grid;
  gap: 16px;
}

.game-route-panel {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(238, 247, 233, 0.72)),
    rgba(255, 253, 247, 0.72);
  box-shadow: 0 16px 34px rgba(18, 59, 50, 0.1);
  padding: clamp(14px, 2.4vw, 20px);
}

.game-route-panel__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  justify-content: space-between;
}

.game-route-panel__head h3,
.game-route-panel__head p {
  margin: 0;
}

.game-route-panel__head h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.05;
}

.game-route-panel__head p {
  max-width: 42ch;
  color: var(--muted);
  font-weight: 760;
  line-height: 1.35;
}

.game-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.game-route-card {
  display: grid;
  min-height: 126px;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 10px;
  align-content: start;
  border: 1px solid rgba(31, 91, 69, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  cursor: pointer;
  padding: 13px;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.game-route-card span {
  display: grid;
  width: 34px;
  height: 34px;
  grid-row: span 2;
  place-items: center;
  border-radius: 999px;
  background: rgba(63, 125, 128, 0.1);
  color: var(--teal);
  font-weight: 950;
}

.game-route-card strong {
  font-size: var(--type-body);
  line-height: 1.12;
}

.game-route-card small {
  grid-column: 2;
  color: var(--muted);
  font-size: var(--type-caption);
  font-weight: 760;
  line-height: 1.34;
}

.game-route-card:hover,
.game-route-card:focus-visible,
.game-route-card.is-active {
  border-color: rgba(63, 125, 128, 0.42);
  box-shadow: 0 14px 28px rgba(18, 59, 50, 0.13);
  transform: translateY(-2px);
}

.game-route-card.is-active span {
  background: var(--teal);
  color: var(--cream);
}

.recipe-game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.recipe-game-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.daily-challenge-card,
.live-challenge-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.78), transparent 24%),
    linear-gradient(135deg, rgba(255, 248, 220, 0.92), rgba(222, 244, 232, 0.86));
  box-shadow: 0 18px 38px rgba(18, 59, 50, 0.12);
  color: var(--ink);
  padding: clamp(16px, 3vw, 22px);
}

.live-challenge-card {
  border-color: rgba(187, 106, 82, 0.26);
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.78), transparent 24%),
    linear-gradient(135deg, rgba(255, 238, 220, 0.94), rgba(222, 244, 232, 0.86));
}

.daily-challenge-card h3,
.daily-challenge-card p,
.daily-challenge-card dl,
.live-challenge-card h3,
.live-challenge-card p,
.live-challenge-card dl {
  margin: 0;
}

.daily-challenge-card h3,
.live-challenge-card h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1;
}

.daily-challenge-card p,
.live-challenge-card p {
  margin-top: 8px;
  color: var(--muted);
}

.daily-challenge-card dl,
.live-challenge-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(76px, 1fr));
  gap: 8px;
}

.daily-challenge-card dt,
.live-challenge-card dt {
  color: var(--muted);
  font-size: var(--type-caption);
  font-weight: 900;
  text-transform: uppercase;
}

.daily-challenge-card dd,
.live-challenge-card dd {
  margin: 3px 0 0;
  color: var(--teal);
  font-weight: 950;
  white-space: nowrap;
}

.daily-challenge-card.is-complete {
  border-color: rgba(102, 147, 72, 0.42);
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.82), transparent 24%),
    linear-gradient(135deg, rgba(235, 249, 223, 0.96), rgba(255, 248, 220, 0.88));
}

.game-preview.is-daily-challenge {
  outline: 3px solid rgba(127, 159, 84, 0.34);
  outline-offset: 4px;
  box-shadow: 0 22px 46px rgba(18, 59, 50, 0.18);
}

.game-preview.is-live-challenge {
  outline: 3px solid rgba(187, 106, 82, 0.38);
  outline-offset: 4px;
  box-shadow: 0 22px 46px rgba(107, 63, 54, 0.2);
}

.game-preview.is-daily-pulse {
  animation: dailyPulse 900ms ease-out both;
}

.arcade-game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.arcade-game-card {
  min-height: 440px;
}

.recipe-game-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.recipe-game-head .button {
  min-height: 36px;
  padding: 8px 12px;
}

.recipe-game-prompt {
  min-height: 54px;
  margin: 0;
}

.recipe-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.recipe-option-grid--recipes {
  grid-template-columns: 1fr;
}

.recipe-option {
  display: grid;
  min-height: 46px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
  padding: 10px 12px;
  text-align: left;
}

.recipe-option small {
  color: var(--muted);
  font-size: var(--type-caption);
  font-weight: 700;
}

.recipe-option:hover,
.recipe-option:focus-visible,
.recipe-option.is-selected {
  border-color: color-mix(in srgb, var(--teal) 58%, transparent);
  background: color-mix(in srgb, var(--teal) 12%, #ffffff 88%);
  box-shadow: 0 0 0 3px rgba(63, 125, 128, 0.12);
}

.recipe-game-feedback {
  min-height: 44px;
  margin: 0;
  color: var(--muted);
}

.pattern-game-pads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pattern-pad {
  --pad-tone: #3f7d80;
  display: grid;
  min-height: 68px;
  align-content: center;
  gap: 4px;
  border: 1px solid color-mix(in srgb, var(--pad-tone) 24%, transparent);
  border-radius: 14px;
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.78), transparent 22%),
    rgba(255, 255, 255, 0.68);
  color: var(--ink);
  cursor: pointer;
  font-weight: 950;
  padding: 10px;
  text-align: center;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.pattern-pad small {
  color: var(--muted);
  font-size: var(--type-caption);
  font-weight: 800;
}

.pattern-pad:nth-child(2n) { --pad-tone: #a76e45; }
.pattern-pad:nth-child(3n) { --pad-tone: #e86f86; }
.pattern-pad:nth-child(4n) { --pad-tone: #87ad5b; }

.pattern-pad.is-ready:hover,
.pattern-pad.is-ready:focus-visible,
.pattern-pad.is-lit {
  border-color: color-mix(in srgb, var(--pad-tone) 78%, #12332c 22%);
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.82), transparent 22%),
    color-mix(in srgb, var(--pad-tone) 34%, #ffffff 66%);
  box-shadow: 0 16px 26px color-mix(in srgb, var(--pad-tone) 22%, transparent);
  transform: translateY(-2px) scale(1.02);
}

.pattern-pad:disabled {
  cursor: default;
}

.arcade-game-meter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  padding: 10px 12px;
}

.arcade-game-meter span {
  color: var(--muted);
  font-size: var(--type-caption);
  font-weight: 900;
  text-transform: uppercase;
}

.arcade-game-meter strong {
  color: var(--teal);
  font-size: 1.3rem;
  line-height: 1;
}

.slice-game-stage {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.82), transparent 24%),
    linear-gradient(180deg, rgba(234, 247, 231, 0.78), rgba(223, 239, 233, 0.72));
}

.slice-game-stage::before {
  position: absolute;
  inset: auto 18px 20px;
  height: 42px;
  content: "";
  border-radius: 50%;
  background: rgba(18, 59, 50, 0.08);
  filter: blur(10px);
}

.slice-target {
  position: absolute;
  top: -42px;
  min-width: 74px;
  max-width: 132px;
  min-height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.82), transparent 20%),
    #e86f86;
  color: #12332c;
  cursor: pointer;
  font-size: var(--type-caption);
  font-weight: 950;
  padding: 8px 12px;
  text-align: center;
  animation: sliceFall 1900ms linear both;
  box-shadow: 0 12px 22px rgba(18, 59, 50, 0.12);
}

.slice-target.is-bad {
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.72), transparent 20%),
    #d7d6c9;
  color: #5f6058;
}

.slice-target:hover,
.slice-target:focus-visible {
  transform: scale(1.08);
}

@keyframes sliceFall {
  0% { opacity: 0; transform: translate(0, 0) rotate(-9deg); }
  10% { opacity: 1; }
  100% { opacity: 1; transform: translate(var(--slice-drift, 0), 310px) rotate(18deg); }
}

@keyframes dailyPulse {
  0% { transform: scale(1); }
  42% { transform: scale(1.015); }
  100% { transform: scale(1); }
}

.bubble-drop-details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 248, 220, 0.82);
  box-shadow: var(--shadow);
}

.bubble-drop-details summary {
  cursor: pointer;
  font-weight: 900;
  padding: 14px 16px;
}

.bubble-drop-details .game-preview {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  box-shadow: none;
}

@media (max-width: 980px) {
  .story-beats,
  .story-feature-grid {
    grid-template-columns: 1fr;
  }

  .story-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .story-hero__shell,
  .local-story-card,
  .story-chapter,
  .drink-creator-layout,
  .arcade-game-grid,
  .game-route-grid,
  .recipe-game-grid {
    grid-template-columns: 1fr;
  }

  .games-layout--sticky-board .game-leaderboard-panel {
    position: static;
    max-height: none;
  }

  .story-link-grid,
  .drink-creator-form,
  .daily-challenge-card,
  .live-challenge-card {
    grid-template-columns: 1fr;
  }

  .story-beats a {
    min-height: 88px;
  }

  .story-portrait .product-photo {
    height: 320px;
  }

  .local-story-card img {
    min-height: 300px;
  }

  .product-detail .server-note-line--recipe {
    display: none !important;
  }
}

/* Persistent navigation: keep the primary nav visible on long pages. */
:root {
  --sticky-header-height: 73px;
  --sticky-quick-height: 48px;
}

body.bubble-night > .site-header,
.site-header {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 3000 !important;
  isolation: isolate;
}

body:has(> .site-header) {
  padding-top: var(--sticky-header-height);
}

.quick-actions {
  display: none !important;
  position: sticky !important;
  top: var(--sticky-header-height) !important;
  z-index: 2990 !important;
}

.product-detail,
.games-layout--sticky-board .game-leaderboard-panel {
  top: calc(var(--sticky-header-height) + 18px) !important;
}

body:has(.quick-actions) .product-detail,
body:has(.quick-actions) .games-layout--sticky-board .game-leaderboard-panel {
  top: calc(var(--sticky-header-height) + var(--sticky-quick-height) + 18px) !important;
}

@media (max-width: 860px) {
  :root {
    --sticky-header-height: 65px;
    --sticky-quick-height: 45px;
  }

  .quick-actions {
    top: var(--sticky-header-height) !important;
  }
}

/* Unified header nav with a menu dropdown for page sections. */
.main-nav .nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.main-nav .nav-link {
  display: inline-flex;
  align-items: center;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: grid;
  min-width: 210px;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(18, 59, 50, 0.96);
  box-shadow: 0 18px 38px rgba(5, 22, 18, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  visibility: hidden;
}

.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.main-nav .nav-dropdown a {
  display: flex;
  min-height: 40px;
  align-items: center;
  border-radius: 8px;
  color: #f8ffff !important;
  padding: 0 12px;
  white-space: nowrap;
}

.main-nav .nav-dropdown a:hover,
.main-nav .nav-dropdown a:focus-visible {
  background: rgba(255, 255, 255, 0.14) !important;
}

body.shop-is-open .nav-dropdown {
  border-color: rgba(18, 51, 44, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

body.shop-is-open .main-nav .nav-dropdown a {
  color: #12332c !important;
}

body.shop-is-open .main-nav .nav-dropdown a:hover,
body.shop-is-open .main-nav .nav-dropdown a:focus-visible {
  background: rgba(31, 91, 69, 0.1) !important;
}

@media (max-width: 860px) {
  .main-nav .nav-item {
    display: grid;
  }

  .main-nav a[href="carte"]::before {
    content: "M";
  }

  .main-nav .nav-dropdown {
    position: static;
    min-width: 0;
    margin: -2px 0 4px 34px;
    padding: 6px;
    border-radius: 10px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .main-nav .nav-dropdown a {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.84rem !important;
  }

  .main-nav .nav-dropdown a::before {
    display: none !important;
    content: "";
  }
}

/* Dropdown refinement: "Carte" stays a chip, its sections open as a compact vertical list. */
@media (min-width: 861px) {
  .main-nav .nav-item--dropdown {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .main-nav .nav-item--dropdown > .nav-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px;
  }

  .main-nav .nav-item--dropdown > .nav-link::after {
    content: "";
    width: 0;
    height: 0;
    border-top: 5px solid currentColor;
    border-inline: 4px solid transparent;
    opacity: 0.8;
  }

  .main-nav .nav-item--dropdown > .nav-dropdown {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    z-index: 3100 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: max-content !important;
    min-width: 176px !important;
    max-width: 240px !important;
    gap: 6px !important;
    padding: 8px !important;
    border-radius: 14px !important;
  }

  .main-nav .nav-item--dropdown > .nav-dropdown a {
    display: flex !important;
    width: 100% !important;
    min-height: 38px !important;
    justify-content: flex-start !important;
    border-radius: 10px !important;
    padding: 0 12px !important;
    text-align: left !important;
    white-space: nowrap !important;
  }
}

/* Anchor and mobile nav cleanup after the fixed-header pass. */
[id] {
  scroll-margin-top: calc(var(--sticky-header-height) + 18px);
}

body:has(.quick-actions) [id] {
  scroll-margin-top: calc(var(--sticky-header-height) + var(--sticky-quick-height) + 24px);
}

@media (max-width: 860px) {
  .main-nav,
  .main-nav.open {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  .main-nav .nav-item {
    display: grid !important;
    min-width: 0;
    place-items: stretch;
  }

  .main-nav .nav-item--dropdown > .nav-link {
    width: 100%;
    justify-content: center;
  }

  .main-nav .nav-item--dropdown > .nav-dropdown {
    position: fixed !important;
    right: auto !important;
    bottom: calc(var(--mobile-nav-stack, 66px) + 12px + env(safe-area-inset-bottom)) !important;
    left: 50% !important;
    display: grid !important;
    width: min(184px, calc(100vw - 32px)) !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 8px !important;
    border: 1px solid rgba(18, 51, 44, 0.12) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 -16px 34px rgba(5, 22, 18, 0.18) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translate(-50%, 6px) !important;
    visibility: hidden !important;
  }

  .main-nav .nav-item--dropdown:focus-within > .nav-dropdown {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translate(-50%, 0) !important;
    visibility: visible !important;
  }

  .main-nav .nav-item--dropdown > .nav-dropdown a {
    display: flex !important;
    min-height: 40px !important;
    justify-content: center !important;
    color: #12332c !important;
    font-size: 0.82rem !important;
    line-height: 1.1 !important;
  }

  body:has(.quick-actions) .product-detail {
    top: auto !important;
  }
}

/* Horizontal overflow is banned across the admin: tables wrap instead of pushing the page. */
main,
.site-header,
.admin-console,
.admin-dashboard,
.admin-editor-grid,
.admin-workbench,
.admin-panel,
.admin-table-wrap,
.admin-config-table-wrap,
.admin-handoff-links,
.admin-readiness-grid,
.metric-grid {
  min-width: 0;
  max-width: 100%;
}

.admin-handoff-links {
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)) !important;
}

.admin-handoff-links article {
  grid-column: span 2;
}

.admin-handoff-links > * {
  min-width: 0;
}

.admin-table-wrap,
.admin-config-table-wrap {
  overflow-x: clip !important;
}

.admin-table,
.admin-config-table,
.admin-config-table--categories {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed;
}

.admin-table th,
.admin-table td,
.admin-config-table th,
.admin-config-table td {
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.admin-table input,
.admin-table select,
.admin-table textarea,
.admin-config-table input,
.admin-config-table select,
.admin-config-table textarea {
  min-width: 0 !important;
  max-width: 100%;
}

.admin-product-price-grid {
  min-width: 0 !important;
}

.admin-product-price-grid label {
  grid-template-columns: 28px minmax(0, 1fr);
}

@supports not (overflow-x: clip) {
  .admin-table-wrap,
  .admin-config-table-wrap {
    overflow-x: hidden !important;
  }
}

@media (max-width: 860px) {
  .admin-handoff-links article {
    grid-column: auto;
  }
}

/* No horizontal scrollbars by default: filters and dense controls wrap. */
.toolbar,
.menu-sidebar .toolbar,
.creator-steps {
  flex-wrap: wrap !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
}

.toolbar .chip,
.menu-sidebar .toolbar .chip,
.creator-steps li,
.creator-steps button {
  flex: 1 1 min(142px, 100%) !important;
  min-width: 0 !important;
  white-space: normal !important;
}

.games-layout,
.games-layout--sticky-board {
  width: min(1180px, calc(100vw - 40px)) !important;
  max-width: 100%;
  grid-template-columns: minmax(0, 760px) minmax(260px, 340px) !important;
}

.game-stage,
.game-leaderboard-panel {
  min-width: 0;
}

.admin-table .product-delete-button,
.admin-table .product-duplicate-button,
.admin-status-action {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.admin-status-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-table textarea,
.admin-config-table textarea {
  overflow-x: hidden;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

@media (max-width: 860px) {
  .games-layout,
  .games-layout--sticky-board {
    width: min(100%, calc(100vw - 28px)) !important;
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 700px) {
  .admin-table,
  .admin-config-table,
  .admin-table tbody,
  .admin-config-table tbody,
  .admin-table tr,
  .admin-config-table tr,
  .admin-config-table th,
  .admin-table td,
  .admin-config-table td {
    display: block;
    width: 100% !important;
    max-width: 100%;
  }

  .admin-table thead,
  .admin-config-table thead {
    display: none;
  }

  .admin-table tr,
  .admin-config-table tr {
    margin: 0 0 12px;
    border: 1px solid rgba(18, 51, 44, 0.12);
    border-radius: 14px;
    background: rgba(255, 253, 247, 0.74);
    padding: 10px;
  }

  .admin-config-table :is(th, td)[data-label]::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 950;
    line-height: 1.2;
    margin-bottom: 5px;
    text-transform: uppercase;
  }

  .admin-table td,
  .admin-config-table th,
  .admin-config-table td {
    border-bottom: 0;
    padding: 6px 0;
  }
}

/* Messages admin: use the full screen row and expose the pending count in the top bar. */
.admin-message-link {
  position: relative;
  gap: 8px;
  scroll-margin-top: calc(var(--sticky-header-height, 73px) + 20px);
}

.admin-message-badge {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(155, 49, 68, 0.14);
  color: #9b3144;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  padding: 0 7px;
}

.admin-message-link[data-pending="true"] {
  border-color: rgba(155, 49, 68, 0.22);
  background: rgba(255, 255, 255, 0.84);
  color: #12332c;
}

.admin-message-link[data-pending="true"] .admin-message-badge {
  background: #9b3144;
  color: #fffdf7;
}

.admin-message-link[data-pending="false"] .admin-message-badge {
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
}

.admin-messages-panel {
  grid-column: 1 / -1;
}

.admin-messages-panel .admin-table-wrap {
  max-height: min(78vh, 820px);
  overflow-y: auto;
}

.admin-messages-panel .admin-table {
  table-layout: fixed;
}

.admin-messages-panel th:nth-child(1),
.admin-messages-panel td:nth-child(1) {
  width: 38%;
}

.admin-messages-panel th:nth-child(2),
.admin-messages-panel td:nth-child(2) {
  width: 14%;
}

.admin-messages-panel th:nth-child(3),
.admin-messages-panel td:nth-child(3) {
  width: 20%;
}

.admin-messages-panel th:nth-child(4),
.admin-messages-panel td:nth-child(4) {
  width: 13%;
}

.admin-messages-panel th:nth-child(5),
.admin-messages-panel td:nth-child(5) {
  width: 15%;
}

.admin-messages-panel td:first-child strong,
.admin-messages-panel td:first-child small {
  display: block;
}

.admin-messages-panel td:first-child small {
  margin-top: 6px;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.55;
}

#admins-table tr[data-current-admin="true"] {
  background: rgba(31, 91, 69, 0.08);
}

#admins-table tr[data-current-admin="true"] td:first-child strong::after {
  content: " vous";
  display: inline-flex;
  margin-left: 8px;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.12);
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  padding: 3px 7px;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .admin-message-link {
    justify-content: center;
  }

  .admin-messages-panel th,
  .admin-messages-panel td {
    width: 100% !important;
  }
}

/* Phone go-live checklist must be safe on the exact devices it validates. */
.phone-test-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)) !important;
}

.phone-test-grid > *,
.phone-test-list,
.phone-test-command {
  min-width: 0;
  max-width: 100%;
}

.phone-test-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.15rem;
}

.phone-test-list a {
  color: var(--teal);
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.phone-test-command {
  overflow-x: clip;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 10px;
  background: rgba(18, 51, 44, 0.06);
  padding: 12px;
  white-space: pre-wrap;
}

.phone-test-command code {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

@media (max-width: 700px) {
  .phone-test-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Brand links: compact logos where the context is obvious, logo + text elsewhere. */
.quick-actions a.link-with-brand-logo,
.footer-links a.link-with-brand-logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-width: 0;
}

.quick-actions a.link-with-brand-logo .brand-logo {
  width: 30px;
  height: 30px;
}

.quick-actions a.link-with-brand-logo .brand-logo svg {
  width: 18px;
  height: 18px;
}

.footer-links a.link-with-brand-logo .brand-logo {
  width: 26px;
  height: 26px;
  border-color: rgba(255, 250, 241, 0.16);
  background: rgba(255, 250, 241, 0.08);
  color: #f7d8c9;
}

.footer-links a.link-with-brand-logo .brand-logo svg {
  width: 16px;
  height: 16px;
}

.footer-links a.link-with-brand-logo span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-empty-state {
  justify-items: start;
  gap: 10px;
}

.menu-empty-state .button {
  min-height: 38px;
  padding: 8px 12px;
}

@media (max-width: 860px) {
  .quick-actions a.link-with-brand-logo {
    display: grid !important;
    gap: 3px !important;
    line-height: 1.05 !important;
  }

  .quick-actions a.link-with-brand-logo .brand-logo {
    width: 28px;
    height: 28px;
    margin-inline: auto;
  }

  .quick-actions a.link-with-brand-logo span:last-child {
    max-width: 100%;
    overflow: hidden;
    font-size: 0.68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Drink creator result must stay readable on every shop state/background. */
.drink-creator-result,
body.shop-is-open .drink-creator-result,
body.shop-is-closed .drink-creator-result,
body.bubble-night .drink-creator-result {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.97), rgba(247, 249, 241, 0.94)) !important;
  color: #12332c !important;
}

.drink-creator-result :is(h3, p, dt, dd, strong, span, small, em),
body.shop-is-open .drink-creator-result :is(h3, p, dt, dd, strong, span, small, em),
body.shop-is-closed .drink-creator-result :is(h3, p, dt, dd, strong, span, small, em),
body.bubble-night .drink-creator-result :is(h3, p, dt, dd, strong, span, small, em) {
  color: #12332c !important;
}

.drink-creator-result .showcase-label,
body.shop-is-open .drink-creator-result .showcase-label,
body.shop-is-closed .drink-creator-result .showcase-label,
body.bubble-night .drink-creator-result .showcase-label {
  color: #1f5b45 !important;
}

.drink-creator-result .recipe-match-list dt,
.drink-creator-result .recipe-match-tags,
.drink-creator-result .creator-match-row small,
.drink-creator-result .creator-idea-box p,
.drink-creator-result .creator-idea-box small {
  color: #536b61 !important;
}

.menu-item-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
  min-width: 0;
}

.menu-item-wrap.is-selected .menu-item {
  border-color: color-mix(in srgb, var(--card-accent, var(--teal)) 62%, transparent);
}

.menu-category--playful .menu-item {
  grid-template-columns: auto minmax(0, 1fr);
}

.menu-item__visual {
  display: block;
  width: 54px;
  min-width: 54px;
  height: 54px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.84);
  box-shadow: 0 8px 16px rgba(18, 51, 44, 0.09);
  overflow: hidden;
}

.menu-item__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-category--playful .menu-item:hover .menu-item__visual,
.menu-category--playful .menu-item.is-selected .menu-item__visual {
  border-color: color-mix(in srgb, var(--card-accent, var(--teal)) 48%, transparent);
  box-shadow: 0 10px 20px rgba(18, 51, 44, 0.14);
}

.menu-item__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.menu-item__badges em {
  max-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(31, 91, 69, 0.1);
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.06);
  color: var(--teal);
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.08;
  padding: 4px 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-item__cue {
  display: grid;
  gap: 2px;
  min-width: 0;
  border-left: 3px solid color-mix(in srgb, var(--card-accent, var(--teal)) 46%, transparent);
  color: #536b61;
  font-size: 0.7rem;
  font-weight: 760;
  line-height: 1.2;
  padding-left: 8px;
}

.menu-item__cue em {
  color: var(--teal);
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.menu-item-customize {
  min-width: 104px;
  border: 1px solid rgba(31, 91, 69, 0.18);
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  cursor: pointer;
  font-size: var(--type-caption);
  font-weight: 950;
  padding: 0 12px;
}

.menu-item-customize:hover,
.menu-item-customize:focus-visible,
.menu-item-save:hover,
.menu-item-save:focus-visible,
.menu-item-save.is-saved {
  background: var(--teal);
  color: var(--cream);
}

.menu-item-actions {
  display: grid;
  gap: 6px;
  align-content: stretch;
}

.menu-item-save {
  min-width: 104px;
  border: 1px solid rgba(31, 91, 69, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.9);
  color: var(--teal);
  cursor: pointer;
  font-size: var(--type-caption);
  font-weight: 950;
  padding: 0 12px;
}

.menu-choice-panel {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.82);
  padding: 12px;
}

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

.menu-choice-panel__head {
  display: flex;
  gap: 8px;
  align-items: baseline;
  justify-content: space-between;
}

.menu-choice-panel__head span {
  color: var(--muted);
  font-size: var(--type-caption);
  font-weight: 850;
}

.menu-choice-list {
  display: grid;
  gap: 8px;
}

.menu-choice-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  padding: 10px;
}

.menu-choice-card.is-selected {
  border-color: rgba(31, 91, 69, 0.34);
  background: rgba(239, 248, 238, 0.9);
}

.menu-choice-card .menu-item__visual,
.menu-choice-card .menu-item__icon {
  width: 58px;
  min-width: 58px;
  height: 58px;
  border-radius: 14px;
}

.menu-choice-card__body {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.menu-choice-card strong,
.menu-choice-card span,
.menu-choice-card p {
  min-width: 0;
  overflow-wrap: anywhere;
}

.menu-choice-card strong {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.1;
}

.menu-choice-card span {
  color: var(--teal);
  font-size: var(--type-caption);
  font-weight: 950;
}

.menu-choice-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-caption);
  font-weight: 760;
  line-height: 1.28;
}

.menu-choice-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.menu-choice-meta span {
  border: 1px solid rgba(31, 91, 69, 0.1);
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.06);
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.1;
  padding: 4px 7px;
}

.menu-choice-actions {
  display: grid;
  gap: 6px;
}

.menu-choice-card button,
.menu-choice-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid rgba(31, 91, 69, 0.18);
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  font-size: var(--type-caption);
  font-weight: 950;
  padding: 6px 10px;
  text-align: center;
  text-decoration: none;
}

.menu-choice-card button:hover,
.menu-choice-card button:focus-visible,
.menu-choice-card a:hover,
.menu-choice-card a:focus-visible {
  background: var(--teal);
  color: var(--cream);
}

@media (max-width: 620px) {
  .menu-choice-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .menu-choice-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .menu-choice-card button,
  .menu-choice-card a {
    min-width: 0;
    padding-inline: 6px;
  }
}

.menu-shortlist {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(239, 248, 238, 0.88));
  padding: 12px;
}

.menu-shortlist__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.menu-shortlist__head strong {
  display: block;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.15;
}

.menu-shortlist__total {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-top: 5px;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  line-height: 1.12;
  padding: 5px 8px;
}

.menu-shortlist p {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-caption);
  font-weight: 760;
  line-height: 1.35;
}

.menu-shortlist__arrival {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 12px;
  background: rgba(31, 91, 69, 0.08);
  padding: 10px;
}

.menu-shortlist__arrival strong {
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.12;
}

.menu-shortlist__progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.menu-shortlist__progress div {
  display: grid;
  min-width: 0;
  gap: 3px;
  border: 1px solid rgba(31, 91, 69, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.58);
  padding: 8px;
}

.menu-shortlist__progress span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.08);
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
}

.menu-shortlist__progress strong,
.menu-shortlist__progress small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.menu-shortlist__progress strong {
  color: var(--ink);
  font-size: 0.74rem;
  line-height: 1.08;
}

.menu-shortlist__progress small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 760;
  line-height: 1.18;
}

.menu-shortlist__progress div.is-done {
  border-color: rgba(31, 91, 69, 0.2);
  background: rgba(239, 248, 238, 0.84);
}

.menu-shortlist__progress div.is-done span {
  background: var(--teal);
  color: var(--cream);
}

.menu-shortlist__starters {
  display: grid;
  gap: 7px;
}

.menu-shortlist__starters button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 8px;
  text-align: left;
}

.menu-shortlist__starters button:hover,
.menu-shortlist__starters button:focus-visible {
  border-color: rgba(31, 91, 69, 0.3);
  background: rgba(255, 253, 247, 0.92);
}

.menu-shortlist__starters .menu-item__visual,
.menu-shortlist__starters .menu-item__icon {
  width: 42px;
  min-width: 42px;
  height: 42px;
  border-radius: 10px;
}

.menu-shortlist__starters span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.menu-shortlist__starters strong,
.menu-shortlist__starters small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-shortlist__starters strong {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.08;
  white-space: nowrap;
}

.menu-shortlist__starters small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 820;
  line-height: 1.12;
  white-space: nowrap;
}

.menu-shortlist__list {
  display: grid;
  gap: 7px;
}

.menu-shortlist__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 6px;
  align-items: stretch;
}

.menu-shortlist__item button {
  min-width: 0;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}

.menu-shortlist__item button:first-child {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 3px 8px;
  align-items: center;
  padding: 9px;
  text-align: left;
}

.menu-shortlist__sizes {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.menu-shortlist__sizes button {
  display: grid;
  min-width: 0;
  min-height: 34px;
  place-items: center;
  gap: 1px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  padding: 4px 6px;
}

.menu-shortlist__sizes button strong,
.menu-shortlist__sizes button span {
  min-width: 0;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-shortlist__sizes button strong {
  color: inherit;
  font-size: 0.76rem;
  font-weight: 950;
}

.menu-shortlist__sizes button span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 820;
}

.menu-shortlist__sizes button:hover,
.menu-shortlist__sizes button:focus-visible,
.menu-shortlist__sizes button.is-selected {
  border-color: rgba(31, 91, 69, 0.34);
  background: var(--teal);
  color: var(--cream);
}

.menu-shortlist__sizes button:hover span,
.menu-shortlist__sizes button:focus-visible span,
.menu-shortlist__sizes button.is-selected span {
  color: rgba(255, 253, 247, 0.82);
}

.menu-shortlist__item .menu-item__visual,
.menu-shortlist__item .menu-item__icon {
  grid-row: span 2;
  width: 42px;
  min-width: 42px;
  height: 42px;
  border-radius: 10px;
}

.menu-shortlist__item strong,
.menu-shortlist__item small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-shortlist__item strong {
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.08;
}

.menu-shortlist__item small,
.menu-shortlist__status {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
}

.menu-shortlist__item button:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8d3b3b;
  font-size: 1rem;
  font-weight: 950;
}

.menu-shortlist__item button:hover,
.menu-shortlist__item button:focus-visible {
  border-color: rgba(31, 91, 69, 0.34);
  background: rgba(31, 91, 69, 0.1);
}

.menu-shortlist__mode {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
  padding: 10px;
}

.menu-shortlist__mode > span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.menu-shortlist__mode > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.menu-shortlist__mode button {
  display: grid;
  min-width: 0;
  min-height: 50px;
  gap: 2px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.76);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 8px;
  text-align: left;
}

.menu-shortlist__mode button:hover,
.menu-shortlist__mode button:focus-visible,
.menu-shortlist__mode button.is-selected {
  border-color: rgba(31, 91, 69, 0.34);
  background: var(--teal);
  color: var(--cream);
}

.menu-shortlist__mode strong,
.menu-shortlist__mode small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-shortlist__mode strong {
  color: inherit;
  font-size: 0.76rem;
  line-height: 1.08;
}

.menu-shortlist__mode small {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 820;
  line-height: 1.1;
}

.menu-shortlist__mode button:hover small,
.menu-shortlist__mode button:focus-visible small,
.menu-shortlist__mode button.is-selected small {
  color: rgba(255, 253, 247, 0.82);
}

.menu-shortlist__mode > small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 820;
  line-height: 1.25;
}

.menu-shortlist__brief {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
  padding: 10px;
}

.menu-shortlist__brief > strong {
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.1;
}

.menu-shortlist__brief dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.menu-shortlist__brief dl div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

.menu-shortlist__brief dt {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.menu-shortlist__brief dd {
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 820;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

.menu-shortlist__next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.18);
  border-radius: 12px;
  background: rgba(239, 248, 238, 0.86);
  padding: 10px;
}

.menu-shortlist__next > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.menu-shortlist__next span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.menu-shortlist__next strong {
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.1;
}

.menu-shortlist__next small {
  min-width: 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

.menu-shortlist__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 8px;
}

.menu-shortlist__actions .button {
  min-width: 0;
  white-space: nowrap;
}

.menu-shortlist-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 3100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  width: min(420px, calc(100vw - 36px));
  border: 1px solid rgba(31, 91, 69, 0.18);
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 18px 44px rgba(9, 46, 38, 0.22);
  padding: 8px;
  backdrop-filter: blur(16px);
}

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

.menu-shortlist-dock button {
  min-width: 0;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
}

.menu-shortlist-dock [data-dock-open-shortlist] {
  display: grid;
  grid-template-columns: 34px auto minmax(0, 1fr);
  gap: 2px 9px;
  align-items: center;
  background: rgba(31, 91, 69, 0.08);
  color: var(--ink);
  padding: 8px 10px;
  text-align: left;
}

.menu-shortlist-dock__count {
  display: inline-grid;
  grid-row: span 2;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--teal);
  color: var(--cream);
  font-weight: 950;
}

.menu-shortlist-dock__preview {
  display: flex;
  grid-row: span 2;
  align-items: center;
  min-width: 0;
}

.menu-shortlist-dock__preview img,
.menu-shortlist-dock__preview i,
.menu-shortlist-dock__preview em {
  display: grid;
  width: 30px;
  min-width: 30px;
  height: 30px;
  place-items: center;
  border: 2px solid rgba(255, 253, 247, 0.94);
  border-radius: 999px;
  background: #fffdf7;
  color: var(--teal);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
  object-fit: cover;
}

.menu-shortlist-dock__preview :not(:first-child) {
  margin-left: -9px;
}

.menu-shortlist-dock strong,
.menu-shortlist-dock small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-shortlist-dock strong {
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.1;
}

.menu-shortlist-dock small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 820;
}

.menu-shortlist-dock [data-dock-copy-shortlist],
.menu-shortlist-dock [data-dock-primary-shortlist] {
  background: var(--teal);
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 950;
  padding: 8px 12px;
}

.menu-shortlist-dock button:hover,
.menu-shortlist-dock button:focus-visible {
  transform: translateY(-1px);
}

.creator-order-note {
  display: grid;
  gap: 8px;
  width: 100%;
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(251, 246, 228, 0.9));
  padding: 14px;
}

.creator-order-note div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  border-bottom: 1px solid rgba(31, 91, 69, 0.1);
  padding-bottom: 7px;
}

.creator-order-note div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.creator-order-note span {
  color: var(--muted);
  font-size: var(--type-caption);
  font-weight: 950;
  text-transform: uppercase;
}

.creator-order-note strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.creator-shortlist-note {
  display: block;
  margin-top: -4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 820;
  line-height: 1.3;
}

.creator-game-option.is-incompatible {
  cursor: not-allowed;
  filter: grayscale(0.28);
  opacity: 0.48;
}

.contact-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.contact-action-card {
  display: grid;
  min-width: 0;
  min-height: 160px;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(18, 51, 44, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.92);
  color: var(--ink);
  padding: 18px;
  text-decoration: none;
}

.contact-action-card strong {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.05;
}

.contact-action-card small {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.contact-action-card:hover,
.contact-action-card:focus-visible {
  border-color: rgba(31, 91, 69, 0.28);
  box-shadow: 0 18px 34px rgba(18, 59, 50, 0.13);
  transform: translateY(-1px);
}

.contact-page .quick-actions,
.contact-page .contact-shortcuts {
  display: none;
}

.contact-page main {
  min-height: calc(100svh - 86px);
  display: grid;
  align-content: center;
  gap: clamp(12px, 2vw, 18px);
  padding-block: clamp(8px, 2vw, 20px);
}

.contact-page .page-hero {
  min-height: 0;
  padding-block: clamp(18px, 4vw, 38px) !important;
}

.contact-page .page-hero h1 {
  max-width: 760px;
}

.contact-essential-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 16px);
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
}

.contact-essential-action {
  display: grid;
  min-height: clamp(168px, 22vw, 260px);
  min-width: 0;
  align-content: space-between;
  gap: 12px;
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.96), rgba(239, 248, 238, 0.9));
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: clamp(18px, 3vw, 28px);
  text-align: left;
  text-decoration: none;
  overflow: hidden;
}

.contact-essential-action span {
  width: fit-content;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  padding: 7px 10px;
}

.contact-essential-action strong {
  color: var(--ink);
  font-size: clamp(1.28rem, 2.2vw, 2.05rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.contact-essential-action small {
  color: var(--muted);
  font-size: clamp(0.88rem, 1.5vw, 1.05rem);
  font-weight: 820;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.contact-essential-action:hover,
.contact-essential-action:focus-visible {
  border-color: rgba(31, 91, 69, 0.34);
  background:
    linear-gradient(145deg, rgba(239, 248, 238, 0.98), rgba(255, 253, 247, 0.94));
  box-shadow: 0 18px 34px rgba(18, 59, 50, 0.14);
  transform: translateY(-2px);
}

.contact-chat-view {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  border: 1px solid rgba(31, 91, 69, 0.18);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.96);
  box-shadow: 0 18px 34px rgba(18, 59, 50, 0.12);
  padding: clamp(14px, 2vw, 20px);
}

.contact-chat-view[hidden] {
  display: none;
}

.contact-chat-view > div:first-child {
  display: grid;
  gap: 3px;
}

.contact-chat-view > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.contact-chat-view span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-chat-view strong {
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.05;
}

.contact-chat-view small {
  color: var(--muted);
  font-weight: 820;
}

.menu-page .menu-studio {
  display: block;
  width: min(1180px, calc(100% - 24px));
  margin-inline: auto;
}

.menu-page .menu-sidebar,
.menu-page .product-detail,
.menu-page .menu-decision-panel,
.menu-page .menu-shortlist-dock {
  display: none !important;
}

@media (max-width: 1079px) {
  body.menu-page:not(.product-detail-undocked) .product-detail:not([hidden]) {
    display: grid !important;
  }
}

.menu-page .menu-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(min(86vw, 380px), 420px);
  gap: clamp(12px, 2vw, 18px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 14px;
}

.menu-page .menu-category {
  min-width: 0;
  min-height: min(620px, calc(100svh - 220px));
  scroll-snap-align: center;
}

.menu-page .menu-category__header {
  position: sticky;
  top: 0;
  z-index: 2;
}

.menu-page .menu-list {
  display: grid;
  gap: 10px;
}

.menu-page .menu-item-wrap {
  grid-template-columns: 1fr;
}

.menu-page .menu-item-customize,
.menu-page .menu-item-actions,
.menu-page .menu-item-save {
  display: none !important;
}

@media (min-width: 900px) {
  .menu-page .menu-grid {
    grid-auto-columns: minmax(360px, 480px);
  }
}

@media (max-width: 720px) {
  .contact-page .site-header {
    position: fixed !important;
  }

  .contact-page main {
    min-height: calc(100svh - 74px);
    padding-block: 10px;
  }

  .contact-page .page-hero {
    width: min(100% - 20px, 1120px);
    gap: 10px;
    padding: 14px !important;
  }

  .contact-page .page-hero h1 {
    font-size: clamp(2rem, 12vw, 3.2rem) !important;
  }

  .contact-page .page-hero p:not(.eyebrow) {
    font-size: 0.94rem !important;
  }

  .contact-essential-panel {
    grid-template-columns: 1fr;
    width: calc(100% - 20px);
    gap: 8px;
  }

  .contact-essential-action {
    min-height: 120px;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: center;
    align-items: center;
    padding: 16px;
  }

  .contact-essential-action small {
    grid-column: 2;
  }

  .contact-chat-view {
    grid-template-columns: 1fr;
    width: calc(100% - 20px);
  }

  .contact-chat-view > div:last-child {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-header {
    gap: 10px;
  }

  .site-header .brand {
    flex: 1 1 auto;
    max-width: calc(100vw - 138px);
  }

  .nav-login-button {
    width: auto;
    min-height: 38px;
    min-width: 38px;
    padding: 0 13px;
    font-size: 0.82rem;
  }

  .nav-login-button.is-connected {
    width: 38px;
    height: 38px;
    padding: 0;
  }
}

.contact-visit-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 14px;
  margin-top: 16px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(238, 248, 249, 0.86));
  box-shadow: 0 18px 34px rgba(18, 59, 50, 0.1);
  padding: clamp(14px, 2vw, 20px);
}

.contact-visit-panel__main,
.contact-visit-hours {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.contact-visit-status {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  padding: 12px;
}

.contact-visit-status > span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #b77b3f;
  box-shadow: 0 0 0 5px rgba(183, 123, 63, 0.12);
}

.contact-visit-status[data-shop-status="open"] > span {
  background: var(--matcha);
  box-shadow: 0 0 0 5px rgba(127, 159, 84, 0.16);
}

.contact-visit-status strong,
.contact-visit-address strong,
.contact-visit-hours strong {
  color: var(--ink);
  line-height: 1.1;
}

.contact-visit-status small,
.contact-visit-address small {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 820;
}

.contact-visit-address {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
  padding: 12px;
}

.contact-visit-address > span,
.contact-visit-hours > div > span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-visit-address .button {
  width: fit-content;
  min-height: 36px;
  padding: 8px 12px;
}

.contact-visit-hours {
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
  padding: 12px;
}

.contact-visit-hours .hours-list {
  margin: 0;
}

.contact-visit-decision {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.contact-visit-decision article {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.66);
  padding: 12px;
}

.contact-visit-decision[data-shop-status="open"] [data-contact-decision-card="visit"],
.contact-visit-decision[data-shop-status="closed"] [data-contact-decision-card="order"] {
  border-color: rgba(31, 91, 69, 0.28);
  background: rgba(255, 253, 247, 0.95);
  box-shadow: 0 12px 24px rgba(18, 59, 50, 0.1);
}

.contact-visit-decision span {
  color: var(--teal);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-visit-decision strong {
  min-width: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.08;
}

.contact-visit-decision small {
  min-width: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 820;
  line-height: 1.32;
}

.contact-visit-decision div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
}

.contact-visit-decision .button {
  flex: 1 1 104px;
  min-height: 34px;
  padding: 8px 11px;
  font-size: 0.78rem;
  text-align: center;
}

.contact-message-guide {
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(238, 248, 249, 0.84));
  padding: clamp(16px, 2vw, 22px);
}

.contact-message-guide h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  line-height: 1.05;
}

.contact-message-guide p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 760;
  line-height: 1.42;
}

.contact-message-guide__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.contact-prefill-card {
  display: grid;
  grid-column: 2;
  gap: 10px;
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  padding: 12px;
}

.contact-prefill-card span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-prefill-card strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.12;
}

.contact-prefill-card p {
  max-height: 260px;
  margin: 0;
  overflow: auto;
  border: 1px solid rgba(31, 91, 69, 0.1);
  border-radius: 10px;
  background: rgba(255, 253, 247, 0.8);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 760;
  line-height: 1.38;
  padding: 10px;
  white-space: pre-wrap;
}

.contact-prefill-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-prefill-card div .button {
  flex: 1 1 138px;
  justify-content: center;
}

.contact-prefill-card small {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 850;
  line-height: 1.3;
}

.contact-message-guide__grid button {
  display: grid;
  min-width: 0;
  min-height: 154px;
  align-content: start;
  gap: 7px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 12px;
  text-align: left;
}

.contact-message-guide__grid button:hover,
.contact-message-guide__grid button:focus-visible {
  border-color: rgba(31, 91, 69, 0.32);
  box-shadow: 0 14px 28px rgba(18, 59, 50, 0.1);
  transform: translateY(-1px);
}

.contact-message-guide__grid span {
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-message-guide__grid strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.12;
}

.contact-message-guide__grid small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
  line-height: 1.3;
}

.contact-message-guide__status {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 10px;
  background: rgba(239, 248, 238, 0.76);
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.3;
  padding: 9px 10px;
}

.language-switcher__local,
.language-switcher__other,
.language-switcher__panel a {
  grid-template-columns: 52px minmax(0, 1fr) !important;
  min-height: 52px !important;
}

.language-switcher__local > strong,
.language-switcher__other > strong,
.language-switcher__panel a > strong {
  min-width: 44px !important;
}

.language-switcher__panel a > span,
.language-switcher__local > span,
.language-switcher__other > span {
  font-size: 0.94rem !important;
}

@media (max-width: 860px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .site-header .main-nav,
  .site-header .nav-toggle,
  .quick-actions {
    display: none !important;
  }

  .menu-shortlist-dock {
    right: 10px;
    bottom: calc(74px + env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
  }

  .menu-shortlist-dock [data-dock-open-shortlist] {
    grid-template-columns: 32px auto minmax(0, 1fr);
    padding: 7px 8px;
  }

  .menu-shortlist-dock__preview img,
  .menu-shortlist-dock__preview i,
  .menu-shortlist-dock__preview em {
    width: 27px;
    min-width: 27px;
    height: 27px;
  }

  .menu-shortlist__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-shortlist__progress {
    grid-template-columns: 1fr;
  }

  .menu-shortlist__next {
    grid-template-columns: 1fr;
  }

  .menu-shortlist__next .button {
    justify-content: center;
    width: 100%;
  }

  .menu-shortlist__mode > div {
    grid-template-columns: 1fr;
  }

  .menu-shortlist__actions [data-copy-and-order-shortlist] {
    grid-column: 1 / -1;
  }

  .menu-shortlist__actions .button {
    justify-content: center;
    white-space: normal;
  }

  .menu-page .page-hero {
    padding-block: 28px !important;
  }

  .menu-page .page-hero h1 {
    font-size: clamp(2rem, 12vw, 3.4rem) !important;
  }

  .menu-studio {
    gap: 12px;
  }

  .menu-sidebar,
  .product-detail {
    position: static !important;
  }

  .menu-category--playful {
    padding: 10px !important;
  }

  .menu-category--playful .mini-sky,
  .menu-category--playful .menu-category__visual,
  .menu-category--playful .menu-plus,
  .menu-category--playful .category-price-summary {
    display: none !important;
  }

  .menu-category__header {
    margin-bottom: 8px !important;
  }

  .menu-category__header h3 {
    font-size: 1.16rem !important;
  }

  .menu-list {
    gap: 8px !important;
  }

  .menu-item-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    border: 1px solid rgba(18, 51, 44, 0.08);
    border-radius: 14px;
    background: rgba(255, 253, 247, 0.52);
    padding: 6px;
  }

  .menu-item__visual {
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: 10px;
  }

  .menu-item__badges {
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .menu-item__badges em {
    flex: 0 1 auto;
    min-width: 0;
    font-size: 0.6rem;
    padding: 3px 6px;
  }

  .menu-item__cue {
    font-size: 0.66rem;
    line-height: 1.16;
  }

  .menu-item-customize {
    min-height: 40px;
    width: 100%;
  }

  .contact-action-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-action-card {
    min-height: 96px;
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: start;
    padding: 14px;
  }

  .contact-action-card small {
    grid-column: auto;
    font-size: 0.86rem;
  }

  .contact-visit-decision div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contact-visit-decision .button {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .contact-message-guide,
  .contact-message-guide__grid {
    grid-template-columns: 1fr;
  }

  .contact-prefill-card {
    grid-column: 1;
  }

  .contact-message-guide__grid button {
    min-height: 0;
  }

  .menu-choice-panel,
  .menu-decision-panel,
  .menu-shortlist,
  .contact-visit-panel,
  .contact-message-guide,
  .admin-product-menu-health,
  .admin-product-service-express,
  .admin-product-service-console,
  .admin-product-daily-menu,
  .admin-product-menu-routine,
  .admin-product-availability-impact {
    gap: 12px;
  }

  .menu-choice-card,
  .menu-decision-panel,
  .menu-shortlist__item,
  .menu-shortlist__brief,
  .contact-prefill-card,
  .contact-message-guide__grid button,
  .admin-product-service-express__metric,
  .admin-product-service-safe-fix,
  .admin-product-menu-routine__step,
  .admin-product-daily-menu__publish,
  .admin-product-daily-menu__publish-step,
  .admin-product-daily-menu__category,
  .admin-product-availability-impact__item {
    padding: 12px;
  }

  .menu-choice-actions,
  .menu-decision-panel__actions,
  .menu-shortlist__actions,
  .contact-prefill-card div,
  .admin-product-service-express__grid,
  .admin-product-daily-menu__publish-list,
  .admin-product-daily-menu__selection-actions {
    gap: 8px;
  }

  .menu-decision-panel__actions {
    grid-template-columns: 1fr;
  }

  .menu-shortlist__item strong,
  .menu-choice-card strong,
  .contact-prefill-card strong,
  .admin-product-service-express__metric strong,
  .admin-product-menu-routine__step strong,
  .admin-product-daily-menu__publish-step strong,
  .admin-product-daily-menu__category strong,
  .admin-product-availability-impact__item strong {
    line-height: 1.18;
  }

  .language-switcher__panel {
    width: min(430px, calc(100vw - 20px)) !important;
    max-height: calc(100vh - var(--sticky-header-height, 65px) - 24px);
    overflow: hidden;
  }

  .language-switcher__panel > p {
    display: none;
  }

  .language-switcher__list {
    max-height: min(48vh, 430px) !important;
  }

  .language-switcher__local,
  .language-switcher__other,
  .language-switcher__panel a {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    min-height: 52px !important;
    padding: 6px 10px !important;
  }

  .language-switcher__text {
    gap: 7px;
  }

  .language-switcher__text > span {
    font-size: 0.92rem;
  }

  .language-switcher__text > small {
    font-size: 0.68rem;
  }

  .contact-visit-panel,
  .contact-message-guide,
  .menu-shortlist,
  .admin-product-menu-health,
  .admin-product-service-express,
  .admin-product-service-mission,
  .admin-product-service-queue,
  .admin-product-service-console,
  .admin-product-daily-menu,
  .admin-product-availability-board,
  .admin-product-availability-impact,
  .admin-product-visual-board {
    border-radius: 12px;
    padding: 10px;
  }

  .contact-message-guide__grid {
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  }

  .contact-message-guide__grid button {
    min-height: 118px;
    gap: 5px;
  }

  .contact-message-guide__grid small,
  .contact-visit-decision small,
  .menu-shortlist__arrival strong,
  .admin-product-service-express__main small,
  .admin-product-service-mission__step small,
  .admin-product-service-mission__step b,
  .admin-product-service-queue__item small,
  .admin-product-service-console__card small,
  .admin-product-daily-menu__category small,
  .admin-product-availability-card em {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .menu-shortlist__progress,
  .menu-shortlist__mode > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .menu-shortlist__progress div,
  .menu-shortlist__mode button,
  .admin-product-service-express__metric,
  .admin-product-service-mission__step,
  .admin-product-service-console__card,
  .admin-product-daily-menu__publish-step,
  .admin-product-daily-menu__category {
    padding: 9px;
  }

  .menu-shortlist__progress small,
  .menu-shortlist__mode small {
    display: none;
  }

  .menu-shortlist__brief dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-shortlist__brief dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .admin-product-service-express__actions,
  .admin-product-service-console__actions,
  .admin-product-daily-menu__head > div:last-child,
  .admin-product-availability-board__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .admin-product-service-express__actions .button,
  .admin-product-service-console__actions .button,
  .admin-product-daily-menu__head .button,
  .admin-product-availability-board__actions .button {
    width: 100%;
    min-width: 0;
    justify-content: center;
    white-space: normal;
  }
}

@media (max-width: 520px) {
  .contact-message-guide__grid {
    grid-template-columns: 1fr;
  }

  .menu-shortlist__mode strong,
  .menu-shortlist__progress strong {
    font-size: 0.68rem;
  }

  .menu-shortlist__brief dl,
  .admin-product-service-express__actions,
  .admin-product-service-console__actions,
  .admin-product-daily-menu__head > div:last-child,
  .admin-product-availability-board__actions {
    grid-template-columns: 1fr;
  }

  .admin-product-daily-menu__publish-list,
  .admin-product-service-mission__steps,
  .admin-product-service-console__grid {
    gap: 6px;
  }
}

/* Public desktop compactness: keep pages dense enough to avoid needless vertical scrolling. */
@media (min-width: 980px) {
  body.bubble-night:not(.admin-page):not(.story-home) .page-hero {
    gap: clamp(18px, 3vw, 42px);
    padding-block: clamp(30px, 4.2vw, 56px) !important;
  }

  body.bubble-night:not(.admin-page):not(.story-home) .page-hero h1 {
    max-width: 780px;
    font-size: clamp(2.05rem, 4.6vw, 4.5rem) !important;
  }

  body.bubble-night:not(.admin-page):not(.story-home) .page-hero p:not(.eyebrow) {
    max-width: 760px;
    font-size: clamp(0.96rem, 1.15vw, 1.04rem) !important;
    line-height: 1.48 !important;
  }

  body.bubble-night:not(.admin-page):not(.story-home) .section {
    padding-block: clamp(34px, 4.8vw, 62px) !important;
  }

  body.bubble-night:not(.admin-page):not(.story-home) .section--page {
    min-height: auto !important;
  }

  body.bubble-night:not(.admin-page):not(.story-home) .section-heading {
    margin-bottom: 20px;
  }

  body.bubble-night:not(.admin-page):not(.story-home) .section-heading h2 {
    font-size: clamp(1.8rem, 3.6vw, 3.35rem) !important;
  }

  body.bubble-night:not(.admin-page):not(.story-home) .section-heading p {
    font-size: clamp(0.95rem, 1.12vw, 1.02rem) !important;
    line-height: 1.45 !important;
  }

  body.bubble-night:not(.admin-page):not(.story-home) .story-band {
    gap: clamp(18px, 3.4vw, 44px);
    padding-block: clamp(34px, 4.4vw, 58px) !important;
  }

  body.bubble-night:not(.admin-page):not(.story-home) .story-band h2 {
    font-size: clamp(1.8rem, 3.6vw, 3.45rem) !important;
  }

  body.bubble-night:not(.admin-page):not(.story-home) .story-band p:not(.eyebrow) {
    font-size: clamp(0.95rem, 1.15vw, 1.02rem) !important;
    line-height: 1.48 !important;
  }

  body.bubble-night:not(.admin-page):not(.story-home) .product-carousel {
    padding-top: clamp(22px, 3.5vw, 42px);
  }

  body.bubble-night:not(.admin-page):not(.story-home) .product-carousel__header {
    margin-bottom: 12px;
  }

  body.bubble-night:not(.admin-page):not(.story-home) .product-carousel__header h2 {
    font-size: clamp(1.7rem, 3.2vw, 3rem) !important;
  }

  body.bubble-night:not(.admin-page):not(.story-home) .product-carousel__track {
    grid-auto-columns: minmax(230px, 330px);
  }

  body.bubble-night:not(.admin-page):not(.story-home) .product-slide {
    min-height: 330px;
  }

  body.bubble-night:not(.admin-page):not(.story-home) .product-slide img {
    min-height: 330px;
  }
}

body:not(.admin-page) .quick-actions,
body:not(.admin-page) .nav-account,
body:not(.admin-page) .nav-dropdown,
body:not(.admin-page) .main-nav a[href="./"],
body:not(.admin-page) .main-nav a[href="histoire"],
body:not(.admin-page) .main-nav a[href="idees"],
body:not(.admin-page) .main-nav a[href*="jeux"],
body:not(.admin-page) .footer-links a[href*="jeux"] {
  display: none !important;
}

.menu-page .carte-hero,
.menu-page #menu > .section-heading {
  display: none !important;
}

.menu-page main {
  padding-top: clamp(10px, 2vw, 18px);
}

.menu-page #menu {
  min-height: calc(100svh - 92px);
  padding-top: 0 !important;
}

.menu-page .menu-studio {
  width: min(1220px, calc(100% - 18px)) !important;
}

.menu-page .menu-grid {
  display: flex !important;
  align-items: stretch;
  gap: 14px !important;
  min-height: min(720px, calc(100svh - 118px));
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 2px 2px 12px !important;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.menu-page .menu-category {
  display: grid;
  flex: 0 0 calc(100vw - 30px);
  grid-template-columns: 1fr !important;
  align-content: start;
  width: calc(100vw - 30px);
  max-height: none;
  min-height: min(700px, calc(100svh - 124px)) !important;
  border-radius: 14px !important;
  opacity: 1 !important;
  transform: none !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--card-deep, #0f3a31) 84%, transparent), color-mix(in srgb, var(--card-deep, #0f3a31) 92%, transparent)) !important;
  overflow: hidden;
  scroll-snap-align: center;
  transition: opacity 240ms ease, transform 420ms cubic-bezier(0.22, 0.72, 0.18, 1);
  will-change: transform, opacity;
}

.menu-page .menu-grid.is-menu-transitioning {
  pointer-events: none;
}

.menu-page .menu-category.is-menu-leaving-left {
  opacity: 0.52 !important;
  transform: translateX(-54px) scale(0.985) !important;
}

.menu-page .menu-category.is-menu-leaving-right {
  opacity: 0.52 !important;
  transform: translateX(54px) scale(0.985) !important;
}

.menu-page .menu-category.is-menu-entering-right {
  opacity: 0.68 !important;
  transform: translateX(64px) scale(0.99) !important;
}

.menu-page .menu-category.is-menu-entering-left {
  opacity: 0.68 !important;
  transform: translateX(-64px) scale(0.99) !important;
}

.menu-page .menu-category.is-menu-entering-active {
  opacity: 1 !important;
  transform: translateX(0) scale(1) !important;
}

.menu-page .menu-category .mini-sky,
.menu-page .menu-category__visual {
  display: none !important;
}

.menu-page .menu-category__header {
  display: grid !important;
  justify-items: center;
  text-align: center;
  padding: 18px 18px 8px !important;
}

.menu-category__type-nav {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.menu-category__type-nav button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fffdf7;
  cursor: pointer;
  font: inherit;
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1;
}

.menu-category__type-nav button:hover,
.menu-category__type-nav button:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.menu-page .menu-category__header h3 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 7vw, 3.2rem) !important;
  line-height: 0.95 !important;
  color: #fffdf7 !important;
  margin: 0;
  text-align: center;
}

.menu-page .category-size-prices,
.menu-page .category-price-summary,
.menu-page .menu-plus {
  display: none !important;
}

.menu-page .menu-list {
  grid-column: 1 / -1 !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  max-height: calc(100svh - 245px);
  overflow-y: auto;
  padding: 0 10px 12px !important;
}

.menu-page .menu-item {
  min-height: 76px;
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr) !important;
  border-radius: 12px !important;
  background: rgba(255, 253, 247, 0.92) !important;
}

.menu-page .menu-item__body {
  min-width: 0;
}

.menu-page .menu-item__body strong {
  color: var(--ink) !important;
  font-size: clamp(1.05rem, 3vw, 1.4rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.menu-page .menu-item__body small {
  display: block !important;
  margin-top: 5px;
  color: rgba(16, 24, 39, 0.66) !important;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-page .menu-item__badges,
.menu-page .menu-item__cue {
  display: none !important;
}

.menu-create-slide {
  justify-content: center;
  padding: clamp(18px, 5vw, 48px) !important;
}

.menu-create-slide .menu-category__header {
  padding: 0 !important;
}

.menu-create-slide .menu-category__header p {
  max-width: 42ch;
  color: rgba(255, 253, 247, 0.82) !important;
  font-weight: 850;
  line-height: 1.35;
}

.menu-create-slide__action {
  display: grid;
  gap: 8px;
  width: min(100%, 560px);
  min-height: 180px;
  align-content: center;
  border: 1px solid rgba(255, 253, 247, 0.28);
  border-radius: 18px;
  background: rgba(255, 253, 247, 0.92);
  color: var(--ink);
  padding: clamp(18px, 4vw, 34px);
}

.menu-create-slide__action strong {
  color: var(--ink);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1;
}

.menu-create-slide__action span {
  color: var(--muted);
  font-weight: 850;
  line-height: 1.35;
}

.story-home main > section:not(.story-hero),
.story-home .story-portrait,
.story-home .shop-status-card,
.story-home .hero-content > p:not(.eyebrow) {
  display: none !important;
}

.story-home .story-hero {
  min-height: calc(100svh - 66px);
  padding: clamp(10px, 3vw, 32px) 14px !important;
}

.story-home .story-hero__shell {
  display: grid !important;
  min-height: calc(100svh - 96px);
  align-content: center;
}

.story-home .story-hero__content {
  width: min(100%, calc(100vw - 28px));
  max-width: 760px;
}

.story-home .story-hero h1 {
  max-width: min(100%, 12ch);
  font-size: clamp(2.35rem, 8svh, 5rem) !important;
  line-height: 0.95 !important;
  overflow-wrap: anywhere;
}

.story-home .hero-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  width: min(100%, calc(100vw - 28px));
  max-width: 520px;
}

.story-home .hero-actions .button {
  width: 100%;
  min-height: clamp(60px, 8svh, 72px);
  justify-content: flex-start;
  border-radius: 14px;
  font-size: clamp(1rem, 3vw, 1.25rem);
  padding-inline: 20px;
}

.menu-page .drink-creator-section {
  min-height: calc(100svh - 92px);
  padding-top: clamp(12px, 2vw, 20px) !important;
}

.menu-page .drink-creator-section .section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 10px;
}

.menu-page .drink-creator-section .section-heading p:not(.eyebrow) {
  display: none !important;
}

.creator-menu-link {
  min-height: 52px;
  align-self: center;
  justify-content: center;
  border-radius: 14px !important;
  padding-inline: 18px !important;
}

.drink-creator-layout {
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

.drink-creator-form {
  padding: 0 !important;
}

.creator-game-shell {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.82fr) !important;
  min-height: min(650px, calc(100svh - 190px)) !important;
}

.creator-steps,
.creator-game-actions,
.creator-ingredient-picker,
.creator-special-mode,
.creator-free-field {
  display: none !important;
}

.creator-step-card {
  border-left: 1px solid var(--line);
  padding: clamp(12px, 2vw, 18px) !important;
}

.creator-option-grid {
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

.creator-game-option {
  min-height: clamp(52px, 7svh, 68px) !important;
  border-radius: 14px !important;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
}

.drink-creator-result {
  display: grid;
  width: min(100%, 880px);
  margin-inline: auto;
  padding: clamp(14px, 2vw, 20px) !important;
}

.drink-creator-result:not(:has(.hero-actions)) {
  display: none !important;
}

.drink-creator-result .hero-actions {
  display: grid;
  grid-template-columns: 1fr;
}

.drink-creator-result .hero-actions .button {
  width: 100%;
}

.menu-page.creator-scene-is-open {
  height: 100svh;
  overflow: hidden !important;
}

.menu-page.creator-scene-is-open #menu,
.menu-page.creator-scene-is-open .site-footer {
  display: none !important;
}

.menu-page.creator-scene-is-open main {
  display: grid;
  min-height: calc(100svh - 72px);
  padding: 8px 10px 10px !important;
}

.menu-page.creator-scene-is-open .drink-creator-section {
  display: grid;
  min-height: calc(100svh - 90px);
  align-content: start;
  padding: 0 !important;
}

.menu-page.creator-scene-is-open .drink-creator-section .section-heading {
  width: min(1180px, 100%);
  margin: 0 auto 8px;
}

.menu-page.creator-scene-is-open .drink-creator-section .section-heading h2 {
  font-size: clamp(1.7rem, 6vw, 3rem);
  line-height: 0.95;
}

.menu-page.creator-scene-is-open .drink-creator-layout {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.menu-page.creator-scene-is-open .creator-game-shell {
  min-height: min(610px, calc(100svh - 188px)) !important;
  max-height: calc(100svh - 188px);
}

.menu-page.creator-scene-is-open .creator-playfield {
  min-height: 0;
  padding: clamp(10px, 2vw, 18px) !important;
}

.menu-page.creator-scene-is-open .creator-cup-scene {
  min-height: min(280px, 32svh) !important;
}

.menu-page.creator-scene-is-open .creator-recipe-strip {
  display: none !important;
}

.menu-page.creator-scene-is-open .drink-creator-result {
  display: none;
}

.menu-page.creator-scene-is-open .drink-creator-result:has(.hero-actions) {
  display: grid;
  position: fixed;
  inset: auto 10px 10px;
  z-index: 40;
  width: auto;
  max-height: 38svh;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(14, 45, 37, 0.22);
}

.menu-page.creator-scene-is-open .drink-creator-result .recipe-match-list,
.menu-page.creator-scene-is-open .drink-creator-result .recipe-match-tags {
  display: none !important;
}

.menu-page:has(#drink-creator:target) {
  height: 100svh;
  overflow: hidden !important;
}

.menu-page:has(#drink-creator:target) #menu,
.menu-page:has(#drink-creator:target) .site-footer {
  display: none !important;
}

.menu-page:has(#drink-creator:target) main {
  display: grid;
  min-height: calc(100svh - 72px);
  padding: 8px 10px 10px !important;
}

.menu-page:has(#drink-creator:target) .drink-creator-section {
  display: grid;
  min-height: calc(100svh - 90px);
  align-content: start;
  padding: 0 !important;
}

.menu-page:has(#drink-creator:target) .drink-creator-section .section-heading {
  width: min(1180px, 100%);
  margin: 0 auto 8px;
}

.menu-page:has(#drink-creator:target) .creator-game-shell {
  min-height: min(610px, calc(100svh - 188px)) !important;
  max-height: calc(100svh - 188px);
}

.menu-page:has(#drink-creator:target) .creator-playfield {
  min-height: 0;
  padding: clamp(10px, 2vw, 18px) !important;
}

.menu-page:has(#drink-creator:target) .creator-cup-scene {
  min-height: min(280px, 32svh) !important;
}

.menu-page:has(#drink-creator:target) .creator-recipe-strip {
  display: none !important;
}

.menu-page:has(#drink-creator:target) .drink-creator-result {
  display: none;
}

.menu-page:has(#drink-creator:target) .drink-creator-result:has(.hero-actions) {
  display: grid;
  position: fixed;
  inset: auto 10px 10px;
  z-index: 40;
  width: auto;
  max-height: 38svh;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(14, 45, 37, 0.22);
}

.menu-page:has(#drink-creator:target) .drink-creator-result .recipe-match-list,
.menu-page:has(#drink-creator:target) .drink-creator-result .recipe-match-tags {
  display: none !important;
}

.contact-chat-view {
  grid-template-columns: minmax(0, 1fr) !important;
}

.contact-page .page-note {
  display: none !important;
}

.contact-page.contact-chat-is-open .contact-hero,
.contact-page.contact-chat-is-open .contact-essential-panel {
  display: none !important;
}

.contact-page.contact-chat-is-open main {
  min-height: calc(100svh - 66px);
  justify-content: center;
}

.contact-page.contact-chat-is-open .contact-chat-view {
  position: fixed;
  inset: 76px 10px 72px !important;
  z-index: 30;
  width: auto !important;
  margin: 0 !important;
  min-height: 0;
  align-content: center;
  padding: clamp(14px, 4vw, 22px) !important;
  overflow: hidden;
}

.contact-page.contact-chat-is-open .contact-chat-view * {
  min-width: 0;
  max-width: 100%;
}

.contact-chat-view__choices,
.contact-chat-view__actions {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  grid-column: 1 / -1;
  gap: 8px;
}

.contact-chat-view__choices button {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  padding: 8px 10px;
}

.contact-chat-view__choices button.is-active,
.contact-chat-view__choices button[aria-pressed="true"] {
  border-color: rgba(31, 91, 69, 0.36);
  background: #1f5b45;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(18, 51, 44, 0.16);
}

.contact-chat-view__context {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  min-height: 22px;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.08);
  color: #1f5b45 !important;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
  padding: 6px 10px;
}

.contact-chat-view__context[hidden] {
  display: none !important;
}

.contact-chat-view__message {
  display: grid;
  grid-column: 1 / -1;
  gap: 6px;
}

.contact-chat-view__message textarea {
  width: 100%;
  max-width: 100%;
  min-height: 106px;
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font: inherit;
  font-weight: 760;
  line-height: 1.35;
  overflow: hidden;
  overflow-wrap: anywhere;
  padding: 12px;
  resize: none;
}

.contact-chat-view__actions {
  grid-column: 1 / -1;
}

.contact-chat-view__status {
  grid-column: 1 / -1;
}

.contact-chat-view .chat-auth-panel,
.contact-chat-view .chat-layout {
  grid-column: 1 / -1;
}

.contact-chat-view .chat-auth-panel {
  margin: 0;
}

.contact-chat-view .chat-layout {
  max-height: calc(100svh - 190px);
  overflow: hidden;
}

.contact-chat-view .chat-layout[data-chat-mode="client"] {
  grid-template-columns: minmax(0, 1fr) !important;
}

.contact-chat-view .chat-layout[data-chat-mode="client"] .chat-room-panel {
  display: none !important;
}

.contact-chat-view .chat-shell,
.contact-chat-view .chat-room-panel {
  max-height: calc(100svh - 210px);
  overflow: hidden;
}

.contact-chat-view .chat-messages {
  max-height: 22svh;
}

.chat-home-feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 74px;
  grid-column: 1 / -1;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 12px;
  background: rgba(239, 248, 238, 0.78);
  padding: 8px 10px;
}

.chat-home-feature[hidden] {
  display: none;
}

.chat-home-feature span {
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 860;
  text-transform: none;
}

.chat-home-feature input[type="number"] {
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(31, 91, 69, 0.16);
  border-radius: 10px;
  padding: 8px;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 64px;
  }

  .menu-page .menu-grid {
    gap: 10px !important;
  }

  .menu-page .menu-category {
    flex-basis: calc(100vw - 20px);
    width: calc(100vw - 24px);
  }

  .menu-page .menu-list {
    max-height: calc(100svh - 250px);
  }

  .creator-game-shell {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }

  .creator-playfield {
    gap: 10px !important;
    padding: 14px !important;
  }

  .creator-cup-scene {
    min-height: 240px !important;
  }

  .creator-step-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .menu-page.creator-scene-is-open .drink-creator-section .section-heading {
    grid-template-columns: 1fr;
  }

  .menu-page.creator-scene-is-open .drink-creator-section .section-heading h2,
  .menu-page:has(#drink-creator:target) .drink-creator-section .section-heading h2 {
    display: none !important;
  }

  .menu-page.creator-scene-is-open .creator-menu-link,
  .menu-page:has(#drink-creator:target) .creator-menu-link {
    width: 100%;
  }

  .menu-page.creator-scene-is-open .creator-game-shell,
  .menu-page:has(#drink-creator:target) .creator-game-shell {
    max-height: calc(100svh - 136px);
  }

  .menu-page.creator-scene-is-open .creator-playfield,
  .menu-page:has(#drink-creator:target) .creator-playfield {
    display: grid !important;
    min-height: min(270px, 33svh) !important;
    gap: 8px !important;
    padding: 8px 10px !important;
  }

  .menu-page.creator-scene-is-open .creator-counter,
  .menu-page:has(#drink-creator:target) .creator-counter {
    gap: 4px !important;
  }

  .menu-page.creator-scene-is-open .creator-counter small,
  .menu-page.creator-scene-is-open .creator-recipe-strip,
  .menu-page:has(#drink-creator:target) .creator-counter small,
  .menu-page:has(#drink-creator:target) .creator-recipe-strip {
    display: none !important;
  }

  .menu-page.creator-scene-is-open .creator-counter strong,
  .menu-page:has(#drink-creator:target) .creator-counter strong {
    font-size: clamp(1.1rem, 5vw, 1.55rem) !important;
    line-height: 1 !important;
  }

  .menu-page.creator-scene-is-open .creator-cup-scene,
  .menu-page:has(#drink-creator:target) .creator-cup-scene {
    min-height: min(190px, 23svh) !important;
  }

  .menu-page.creator-scene-is-open .creator-cup,
  .menu-page:has(#drink-creator:target) .creator-cup {
    width: min(42vw, 150px) !important;
    height: min(190px, 22svh) !important;
    border-width: 4px 4px 8px !important;
    border-radius: 22px 22px 46px 46px !important;
  }

  .menu-page.creator-scene-is-open .creator-label,
  .menu-page:has(#drink-creator:target) .creator-label {
    top: 48%;
    padding: 5px 9px !important;
    font-size: 0.72rem !important;
  }

  .menu-page.creator-scene-is-open .creator-step-card,
  .menu-page:has(#drink-creator:target) .creator-step-card {
    border-top: 0;
  }

  .menu-page.creator-scene-is-open .drink-creator-layout:has(.drink-creator-result .hero-actions) .creator-step-card,
  .menu-page:has(#drink-creator:target) .drink-creator-layout:has(.drink-creator-result .hero-actions) .creator-step-card {
    display: none !important;
  }

  .menu-page.creator-scene-is-open .drink-creator-result:has(.hero-actions),
  .menu-page:has(#drink-creator:target) .drink-creator-result:has(.hero-actions) {
    max-height: 31svh !important;
    padding: 14px !important;
  }

  .menu-page.creator-scene-is-open .drink-creator-layout:has(.drink-creator-result .hero-actions) .creator-playfield,
  .menu-page:has(#drink-creator:target) .drink-creator-layout:has(.drink-creator-result .hero-actions) .creator-playfield {
    min-height: min(390px, calc(100svh - 360px)) !important;
    align-content: start !important;
  }

  .menu-page.creator-scene-is-open .drink-creator-layout:has(.drink-creator-result .hero-actions) .creator-cup-scene,
  .menu-page:has(#drink-creator:target) .drink-creator-layout:has(.drink-creator-result .hero-actions) .creator-cup-scene {
    min-height: min(218px, 27svh) !important;
    place-items: center !important;
    transform: translateY(-6px);
  }

  .menu-page.creator-scene-is-open .drink-creator-layout:has(.drink-creator-result .hero-actions) .creator-cup,
  .menu-page:has(#drink-creator:target) .drink-creator-layout:has(.drink-creator-result .hero-actions) .creator-cup {
    width: min(38vw, 138px) !important;
    height: min(176px, 21svh) !important;
  }

  .menu-page.creator-scene-is-open .drink-creator-result:has(.hero-actions) h3,
  .menu-page:has(#drink-creator:target) .drink-creator-result:has(.hero-actions) h3 {
    font-size: clamp(1.25rem, 6vw, 1.65rem) !important;
    line-height: 1.02 !important;
  }

  .menu-page.creator-scene-is-open .drink-creator-result:has(.hero-actions) p,
  .menu-page:has(#drink-creator:target) .drink-creator-result:has(.hero-actions) p {
    -webkit-line-clamp: 2;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
  }

  .menu-page.creator-scene-is-open .creator-game-option,
  .menu-page:has(#drink-creator:target) .creator-game-option {
    min-height: clamp(64px, 10svh, 86px) !important;
  }

  .menu-page.creator-scene-is-open .creator-option-grid,
  .menu-page:has(#drink-creator:target) .creator-option-grid {
    gap: 8px !important;
  }

  .contact-chat-view {
    grid-template-columns: 1fr !important;
  }

  .contact-chat-view__choices,
  .contact-chat-view__actions {
    grid-template-columns: 1fr;
  }
}

.menu-page .menu-grid {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.menu-page .menu-studio {
  width: calc(100vw - 48px) !important;
  max-width: 720px !important;
  overflow: hidden !important;
}

.menu-page .menu-category {
  flex: 0 0 100% !important;
  flex-basis: 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.menu-page .menu-list,
.menu-page .menu-item-wrap,
.menu-page .menu-item {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.menu-page .menu-list {
  padding-right: 34px !important;
}

.menu-page .menu-item {
  width: calc(100% - 24px) !important;
}

html,
body,
* {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* Public no-scroll pass: single-screen pages, compact footer, homepage quote in the free right column. */
body:not(.admin-page) {
  height: 100svh;
  max-height: 100svh;
  overflow: hidden !important;
}

body:not(.admin-page) main {
  max-height: calc(100svh - var(--sticky-header-height, 73px) - 44px);
  overflow: hidden !important;
}

body:not(.admin-page) .site-footer--minimal {
  position: fixed !important;
  right: 14px !important;
  bottom: calc(8px + env(safe-area-inset-bottom)) !important;
  left: 14px !important;
  z-index: 35 !important;
  display: grid !important;
  grid-template-columns: auto auto minmax(0, 1fr) !important;
  gap: clamp(10px, 2.4vw, 24px) !important;
  align-items: center !important;
  width: auto !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #ffffff !important;
  content-visibility: visible !important;
  contain-intrinsic-size: auto !important;
}

body:not(.admin-page) .site-footer--minimal a {
  display: inline-flex !important;
  min-width: 0 !important;
  min-height: 28px !important;
  align-items: baseline !important;
  gap: 6px !important;
  padding: 0 !important;
  color: #ffffff !important;
  overflow: hidden !important;
}

body:not(.admin-page) .site-footer--minimal span {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.7) !important;
  font-family: inherit !important;
  font-size: 0.6rem !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

body:not(.admin-page) .site-footer--minimal strong {
  min-width: 0 !important;
  color: #ffffff !important;
  font-size: clamp(0.66rem, 1.7vw, 0.82rem) !important;
  line-height: 1 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.contact-page.contact-chat-is-open .site-footer--minimal,
.menu-page.creator-scene-is-open .site-footer--minimal,
.menu-page:has(#drink-creator:target) .site-footer--minimal {
  display: none !important;
}

.story-home main {
  height: calc(100svh - var(--sticky-header-height, 73px) - 44px);
}

.story-home .story-hero {
  height: 100% !important;
  min-height: 0 !important;
  padding: clamp(10px, 2.3vw, 24px) 14px !important;
}

.story-home .story-hero__shell {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr) !important;
  gap: clamp(16px, 4vw, 72px) !important;
  width: min(1220px, calc(100vw - 28px)) !important;
  max-width: none !important;
  min-height: 100% !important;
  align-items: center !important;
  margin-inline: auto !important;
}

.story-home .story-hero__content {
  width: 100% !important;
  max-width: none !important;
}

.story-home .story-hero h1 {
  max-width: none !important;
  font-size: clamp(2.35rem, 5.2vw, 4.55rem) !important;
  line-height: 0.92 !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
}

.story-home .hero-content > p.story-hero__lead {
  display: block !important;
  max-width: 44ch !important;
  margin: 0 !important;
  color: rgba(248, 255, 255, 0.78) !important;
  font-size: clamp(0.94rem, 1.5vw, 1.08rem) !important;
  line-height: 1.35 !important;
}

.home-open-sign {
  position: relative;
  display: grid;
  width: min(330px, 100%);
  min-width: 0;
  gap: 5px;
  margin-top: clamp(12px, 2vw, 18px);
  padding: 13px 16px 14px;
  border: 2px solid rgba(79, 52, 31, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.11), transparent 18%, rgba(54, 31, 16, 0.12) 42%, transparent 70%),
    linear-gradient(135deg, #9f7042, #d3b47a 48%, #8b5e38);
  box-shadow: 0 18px 30px rgba(11, 28, 23, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  color: #fffaf0;
  transform: rotate(-0.6deg);
}

.home-open-sign::before,
.home-open-sign::after {
  position: absolute;
  top: -13px;
  width: 38px;
  height: 18px;
  border-top: 2px solid rgba(79, 52, 31, 0.58);
  content: "";
}

.home-open-sign::before {
  left: 32px;
  transform: rotate(-18deg);
}

.home-open-sign::after {
  right: 32px;
  transform: rotate(18deg);
}

.home-open-sign__label {
  color: rgba(255, 250, 240, 0.78);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.home-open-sign strong {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: #fffaf0;
  font-size: clamp(1.12rem, 2.2vw, 1.5rem);
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.home-open-sign strong::before {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255, 250, 240, 0.72);
  border-radius: 999px;
  background: #d77860;
  box-shadow: 0 0 0 4px rgba(255, 250, 240, 0.12);
  content: "";
}

body.shop-is-open .home-open-sign strong::before {
  background: #6fac68;
}

.home-open-sign small {
  min-width: 0;
  color: rgba(255, 250, 240, 0.88);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.22;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-home .home-signal-board {
  display: grid !important;
  grid-template-columns: 1fr !important;
  align-self: center !important;
  width: 100% !important;
  max-width: 420px !important;
  margin: 0 !important;
}

.story-home .home-shop-announcement[hidden] {
  display: none !important;
}

.story-home .home-daily-quote {
  min-height: 0 !important;
  gap: 10px !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 253, 247, 0.9) !important;
  box-shadow: 0 18px 38px rgba(5, 22, 18, 0.18);
}

.story-home .home-daily-quote p {
  font-size: clamp(1.05rem, 2.3vw, 1.55rem) !important;
  font-weight: 850;
  line-height: 1.22 !important;
}

.story-home .home-daily-quote strong {
  font-size: 0.78rem !important;
}

@media (max-width: 860px) {
  body:not(.admin-page) main {
    max-height: calc(100svh - var(--sticky-header-height, 65px) - 38px);
  }

  body:not(.admin-page) .site-footer--minimal {
    right: 10px !important;
    bottom: calc(6px + env(safe-area-inset-bottom)) !important;
    left: 10px !important;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.8fr) minmax(0, 1.4fr) !important;
    gap: 8px !important;
  }

  body:not(.admin-page) .site-footer--minimal span {
    display: none !important;
  }

  body:not(.admin-page) .site-footer--minimal a {
    min-height: 24px !important;
  }

  .story-home main {
    height: calc(100svh - var(--sticky-header-height, 65px) - 38px);
  }

  .story-home .story-hero__shell {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    align-content: center !important;
  }

  .story-home .story-hero h1 {
    font-size: clamp(2rem, 10vw, 2.72rem) !important;
  }

  .story-home .hero-content > p.story-hero__lead {
    max-width: 34ch !important;
    font-size: 0.9rem !important;
  }

  .story-home .hero-actions {
    gap: 8px !important;
  }

  .story-home .hero-actions .button {
    min-height: clamp(48px, 6.4svh, 56px) !important;
  }

  .story-home .home-signal-board {
    max-width: none !important;
  }

  .story-home .home-daily-quote {
    padding: 12px !important;
  }

  .story-home .home-daily-quote p {
    font-size: 0.94rem !important;
    line-height: 1.2 !important;
  }
}

/* Bugfix pass: prevent mobile header/contact overlap and avoid showing a login prompt while auth is still resolving. */
.contact-chat-view:not(.is-chat-auth-ready) .chat-auth-panel {
  display: none !important;
}

.contact-chat-view.is-chat-auth-ready .chat-loading-panel {
  display: none !important;
}

.contact-chat-view,
.contact-chat-view > *,
.chat-loading-panel,
.chat-auth-panel,
.chat-layout,
.chat-room-panel,
.chat-shell {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.contact-chat-view :is(strong, small, p, h3, textarea) {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

@media (max-width: 860px) {
  body:not(.admin-page) .site-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    min-height: var(--sticky-header-height, 65px) !important;
    width: 100vw !important;
    max-width: 100vw !important;
    justify-content: stretch !important;
    justify-items: stretch !important;
    overflow: hidden !important;
    padding: 10px 12px !important;
  }

  body:not(.admin-page) .site-header .main-nav,
  body:not(.admin-page) .site-header .nav-toggle {
    display: none !important;
  }

  body:not(.admin-page) .site-header .brand {
    max-width: 100% !important;
  }

  body:not(.admin-page) .site-header .brand small {
    display: none !important;
  }

  body:not(.admin-page) .nav-login-button {
    grid-column: 2 !important;
    justify-self: end !important;
    margin-left: 0 !important;
    max-width: 116px !important;
    min-width: 38px !important;
    overflow: hidden !important;
    padding-inline: 12px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body:not(.admin-page) .nav-login-button.is-connected {
    max-width: 38px !important;
    padding: 0 !important;
  }

  .contact-page.contact-chat-is-open .contact-chat-view {
    inset: calc(var(--sticky-header-height, 65px) + 10px) 10px 10px 10px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-content: start !important;
    width: auto !important;
    max-width: none !important;
    padding: 14px !important;
    overflow: hidden !important;
  }

  .contact-chat-view strong {
    font-size: clamp(1.05rem, 5.8vw, 1.35rem) !important;
  }

  .contact-chat-view small,
  .contact-chat-view p {
    font-size: 0.86rem !important;
    line-height: 1.35 !important;
  }

  .contact-chat-view__choices {
    grid-template-columns: 1fr !important;
  }

  .contact-chat-view__choices button {
    min-height: 44px !important;
  }

  .contact-chat-view .chat-loading-panel,
  .contact-chat-view .chat-auth-panel {
    display: grid;
    gap: 12px !important;
    padding: 16px !important;
  }

  .contact-chat-view .chat-auth-panel .button {
    width: 100% !important;
  }

  .contact-chat-view .chat-loading-panel .chat-contact-footer,
  .contact-chat-view .chat-auth-panel .chat-contact-footer {
    grid-template-columns: 1fr !important;
    padding-top: 10px !important;
  }

  .contact-chat-view .chat-auth-panel[hidden] {
    display: none !important;
  }

  .contact-chat-view .chat-loading-panel h3,
  .contact-chat-view .chat-auth-panel h3 {
    font-size: clamp(1.25rem, 8vw, 2rem) !important;
    line-height: 1.05 !important;
  }

  .contact-chat-view .chat-layout {
    grid-template-columns: 1fr !important;
    max-height: calc(100svh - var(--sticky-header-height, 65px) - 34px) !important;
  }

  .contact-chat-view .chat-shell,
  .contact-chat-view .chat-room-panel {
    max-height: none !important;
  }

  .contact-chat-view .chat-messages {
    max-height: 24svh !important;
  }
}

@media (max-width: 720px) {
  .admin-console {
    padding: 12px !important;
  }

  .admin-topbar {
    position: static !important;
    width: 100% !important;
    box-sizing: border-box !important;
    gap: 12px !important;
  }

  .admin-actions {
    display: grid !important;
    width: 100% !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .admin-auth-status,
  .admin-message-link {
    grid-column: 1 / -1;
  }

  .admin-actions .button,
  .admin-message-link,
  .admin-auth-status {
    min-width: 0 !important;
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .admin-hero__actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  .admin-hero__actions .button {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* Final public viewport guard. Keep the site visually fixed without clipping useful text. */
html:has(body:not(.admin-page)),
html:has(body:not(.admin-page)) body {
  height: 100svh !important;
  max-height: 100svh !important;
  overflow: hidden !important;
}

body:not(.admin-page) .site-header {
  overflow: visible !important;
  padding-right: clamp(214px, 18vw, 270px) !important;
}

body:not(.admin-page) .nav-login-button {
  position: fixed !important;
  top: 15px !important;
  right: clamp(16px, 2vw, 28px) !important;
  left: auto !important;
  z-index: 3201 !important;
  margin-left: 0 !important;
}

body:not(.admin-page) .public-admin-nav[hidden] {
  display: none !important;
}

body:not(.admin-page).has-public-admin-nav {
  --sticky-header-height: 73px;
}

body:not(.admin-page).has-public-admin-nav .site-header .main-nav {
  display: none !important;
}

body:not(.admin-page) .public-admin-nav {
  display: flex;
  min-width: 0;
  max-width: min(54vw, 620px);
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-inline: auto;
}

body:not(.admin-page) .public-admin-nav a {
  display: inline-flex;
  min-width: 0;
  min-height: 2.1rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(18, 51, 44, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  padding: 0.35rem 0.58rem;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

body:not(.admin-page) .public-admin-nav a:hover,
body:not(.admin-page) .public-admin-nav a:focus-visible,
body:not(.admin-page) .public-admin-nav a[aria-current="page"] {
  border-color: rgba(31, 91, 69, 0.24);
  background: rgba(31, 91, 69, 0.12);
  color: var(--teal);
}

body:not(.admin-page).has-public-admin-nav .public-admin-nav a[aria-current="page"] {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 -2px 0 rgba(31, 91, 69, 0.42);
  color: var(--teal);
}

body:not(.admin-page) .home-daily-quote,
body:not(.admin-page) .home-daily-quote *:not(span) {
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  text-wrap: pretty !important;
}

body:not(.admin-page) .site-footer--minimal {
  display: grid !important;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 0.86fr) minmax(0, 1.36fr) !important;
  grid-auto-flow: column !important;
  grid-auto-rows: minmax(0, auto) !important;
  align-items: center !important;
  justify-items: center !important;
  gap: clamp(8px, 2vw, 22px) !important;
  width: auto !important;
  max-width: none !important;
  white-space: nowrap !important;
}

body:not(.admin-page) .site-footer--minimal a {
  display: inline-flex !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  overflow: hidden !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

body:not(.admin-page) .site-footer--minimal span,
body:not(.admin-page) .site-footer--minimal strong {
  color: #ffffff !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body:not(.admin-page) h1,
body:not(.admin-page) .page-hero h1,
body:not(.admin-page) .hero-content h1 {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

body:not(.admin-page):not(.story-home) .page-hero > div {
  min-width: 0 !important;
}

body:not(.admin-page):not(.story-home) .page-hero h1 {
  max-width: min(100%, 780px) !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  text-wrap: balance;
}

@media (min-width: 861px) {
  body.bubble-night:not(.admin-page):not(.story-home) .page-hero h1,
  body:not(.admin-page):not(.story-home) .page-hero h1 {
    max-width: min(100%, 1120px) !important;
    font-size: clamp(2.4rem, 4vw, 3.9rem) !important;
    line-height: 1.06 !important;
  }
}

@media (max-width: 860px) {
  body:not(.admin-page).has-public-admin-nav {
    --sticky-header-height: 94px;
  }

  body:not(.admin-page) .site-header {
    position: sticky !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    overflow: visible !important;
  }

  body:not(.admin-page).has-public-admin-nav .site-header {
    position: fixed !important;
    top: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    min-height: var(--sticky-header-height, 94px) !important;
    gap: 7px 8px !important;
    align-content: center !important;
    padding: 8px 10px !important;
  }

  body:not(.admin-page).has-public-admin-nav .public-admin-nav {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    max-width: none;
    gap: 0.25rem;
    margin: 0;
  }

  body:not(.admin-page).has-public-admin-nav .public-admin-nav a {
    min-height: 1.85rem;
    padding: 0.25rem 0.18rem;
    font-size: 0.7rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body:not(.admin-page) .nav-login-button {
    position: fixed !important;
    top: 14px !important;
    right: 12px !important;
    left: auto !important;
    z-index: 20 !important;
    max-width: 104px !important;
    transform: none !important;
  }

  body:not(.admin-page).has-public-admin-nav .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding-right: 0 !important;
  }

  body:not(.admin-page).has-public-admin-nav .nav-login-button {
    position: static !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
    justify-self: end !important;
    z-index: auto !important;
    max-width: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    margin-left: 0 !important;
    padding: 0 !important;
  }

  body:not(.admin-page) .brand {
    padding-right: 112px !important;
  }

  .contact-page .page-hero h1 {
    font-size: clamp(1.08rem, 4.95vw, 1.36rem) !important;
    line-height: 1 !important;
  }

  .story-home .story-hero h1 {
    font-size: clamp(1.7rem, 8.6vw, 2.25rem) !important;
  }

  .story-home .home-open-sign {
    width: min(270px, 100%) !important;
    gap: 4px !important;
    margin-top: 9px !important;
    padding: 10px 12px 11px !important;
  }

  .story-home .home-open-sign strong {
    font-size: clamp(1rem, 4.2vw, 1.18rem) !important;
  }

  .story-home .home-open-sign small {
    font-size: 0.68rem !important;
  }

  .story-home .home-signal-board {
    align-self: start !important;
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
  }

  body:not(.admin-page) .site-footer--minimal {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 0.9fr) minmax(0, 1.32fr) !important;
    bottom: calc(7px + env(safe-area-inset-bottom)) !important;
  }

  body:not(.admin-page) .site-footer--minimal span {
    display: none !important;
  }

  body:not(.admin-page) .site-footer--minimal strong {
    font-size: clamp(0.56rem, 2.35vw, 0.72rem) !important;
  }
}

@media (max-width: 520px) {
  body:not(.admin-page) .nav-login-button {
    right: 10px !important;
    top: 14px !important;
    max-width: 92px !important;
    min-height: 36px !important;
    padding-inline: 10px !important;
    font-size: 0.76rem !important;
  }

  body:not(.admin-page) .brand {
    padding-right: 94px !important;
  }

  .contact-page .page-hero h1 {
    font-size: clamp(0.82rem, 3.7vw, 0.96rem) !important;
  }
}

/* Dense viewport corrections: keep public pages inside one screen without the fixed footer covering content. */
body:not(.admin-page) main {
  padding-bottom: 42px !important;
}

.menu-page main {
  height: calc(100svh - var(--sticky-header-height, 73px) - 42px) !important;
  max-height: calc(100svh - var(--sticky-header-height, 73px) - 42px) !important;
}

.menu-page #menu,
.menu-page .menu-studio,
.menu-page .menu-grid {
  min-height: 0 !important;
  height: 100% !important;
}

.menu-page .menu-grid {
  align-items: stretch !important;
  padding-bottom: 0 !important;
}

.menu-page .menu-category {
  min-height: 0 !important;
  height: 100% !important;
}

.menu-page .menu-grid {
  position: relative !important;
  border-radius: 18px !important;
  background:
    linear-gradient(90deg, rgba(18, 51, 44, 0.22), transparent 9%, transparent 91%, rgba(18, 51, 44, 0.22)),
    color-mix(in srgb, var(--teal) 8%, transparent) !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%);
}

.menu-page .menu-category {
  position: relative !important;
  border: 1px solid color-mix(in srgb, var(--card-accent, #5f8f49) 38%, rgba(255, 255, 255, 0.16)) !important;
  background:
    radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--card-accent, #5f8f49) 28%, transparent), transparent 32%),
    linear-gradient(90deg, color-mix(in srgb, var(--card-deep, #0f3a31) 98%, transparent), color-mix(in srgb, var(--card-deep, #0f3a31) 78%, transparent) 72%, transparent 118%) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 18px 44px rgba(5, 22, 18, 0.16) !important;
}

.menu-page .menu-category::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  width: min(140px, 28%);
  background: linear-gradient(90deg, color-mix(in srgb, var(--card-accent, #5f8f49) 18%, transparent), transparent);
  content: "";
  pointer-events: none;
}

.menu-page .menu-category::after {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: min(180px, 34%);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--card-deep, #0f3a31) 68%, transparent));
  content: "";
  pointer-events: none;
}

.menu-page .menu-category > * {
  position: relative;
  z-index: 1;
}

.menu-page .menu-list {
  max-height: calc(100svh - var(--sticky-header-height, 73px) - 178px) !important;
  min-height: 0 !important;
  padding-bottom: 6px !important;
}

.menu-page .menu-item {
  min-height: 68px !important;
  border: 1px solid rgba(255, 253, 247, 0.58) !important;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.96), rgba(255, 253, 247, 0.86) 70%, color-mix(in srgb, var(--card-accent, #5f8f49) 16%, rgba(255, 253, 247, 0.8))) !important;
  box-shadow: 0 10px 22px rgba(5, 22, 18, 0.12) !important;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.menu-page .menu-item:hover,
.menu-page .menu-item:focus-visible,
.menu-page .menu-item.is-selected {
  border-color: color-mix(in srgb, var(--card-accent, #5f8f49) 58%, #fffdf7) !important;
  box-shadow: 0 16px 30px rgba(5, 22, 18, 0.18) !important;
  transform: translateX(2px);
}

.menu-page .menu-item-wrap.is-selected .menu-item {
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.98), rgba(255, 253, 247, 0.9) 64%, color-mix(in srgb, var(--card-accent, #5f8f49) 24%, rgba(255, 253, 247, 0.78))) !important;
}

.menu-page .menu-item__visual,
.menu-page .menu-item__icon {
  box-shadow: 0 8px 16px rgba(5, 22, 18, 0.15);
}

.product-technical-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.7);
  padding: 10px;
}

.product-technical-card div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.product-technical-card span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.product-technical-card strong {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.05;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-technical-card small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 780;
  line-height: 1.25;
}

@media (min-width: 980px) {
  .product-detail .product-detail-photo {
    min-height: 180px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(5, 22, 18, 0.16);
  }

  .product-detail .product-detail-photo img {
    width: 100%;
    height: clamp(180px, 22svh, 260px);
    object-fit: contain;
    object-position: center;
  }
}

.admin-page .admin-dashboard {
  min-width: 0;
}

.admin-page .admin-workbench[data-admin-view="products"] {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
}

.admin-page .admin-product-data-panel,
.admin-page .admin-product-tools,
.admin-page .admin-product-preview-panel,
.admin-page .admin-product-simple-editor {
  width: 100%;
  min-width: 0;
}

.admin-page .admin-product-data-panel {
  overflow: hidden;
}

@media (max-width: 720px) {
  .admin-page .admin-product-data-panel__head,
  .admin-page .admin-product-data-toolbar,
  .admin-page .admin-product-data-summary {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .admin-page .admin-product-data-summary {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow: visible !important;
    padding-bottom: 2px !important;
  }

  .admin-page .admin-product-data-card {
    min-width: 0;
    width: 100%;
  }

  .admin-page .admin-product-data-table-wrap {
    max-width: 100%;
    overflow: auto !important;
  }
}

@media (max-width: 380px) and (max-height: 700px) {
  body:not(.admin-page) main {
    padding-bottom: 34px !important;
  }

  body:not(.admin-page) .site-footer--minimal {
    bottom: calc(4px + env(safe-area-inset-bottom)) !important;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 0.8fr) minmax(0, 1.15fr) !important;
    gap: 6px !important;
  }

  body:not(.admin-page) .site-footer--minimal a {
    min-height: 18px !important;
  }

  body:not(.admin-page) .site-footer--minimal strong {
    font-size: 0.56rem !important;
    line-height: 1 !important;
  }

  .story-home main {
    height: calc(100svh - var(--sticky-header-height, 65px) - 34px) !important;
  }

  .story-home .story-hero {
    padding-block: 6px !important;
  }

  .story-home .story-hero__shell {
    gap: 8px !important;
  }

  .story-home .story-hero h1 {
    font-size: clamp(1.62rem, 8vw, 2rem) !important;
  }

  .story-home .hero-content > p.story-hero__lead {
    font-size: 0.78rem !important;
    line-height: 1.24 !important;
  }

  .story-home .hero-actions {
    gap: 6px !important;
  }

  .story-home .hero-actions .button {
    min-height: 42px !important;
    border-radius: 12px !important;
    padding-inline: 14px !important;
  }

  .story-home .home-daily-quote {
    gap: 6px !important;
    padding: 9px 10px !important;
  }

  .story-home .home-daily-quote p {
    display: -webkit-box;
    margin: 0 !important;
    font-size: 0.8rem !important;
    line-height: 1.14 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }

  .story-home .home-daily-quote strong {
    font-size: 0.64rem !important;
  }

  .menu-page main {
    height: calc(100svh - var(--sticky-header-height, 65px) - 34px) !important;
    max-height: calc(100svh - var(--sticky-header-height, 65px) - 34px) !important;
  }

  .menu-page .menu-studio {
    width: calc(100vw - 20px) !important;
  }

  .menu-page .menu-category__header {
    padding: 10px 12px 6px !important;
  }

  .menu-page .menu-category__header h3 {
    font-size: 1.72rem !important;
  }

  .menu-category__type-nav {
    grid-template-columns: 34px minmax(0, 1fr) 34px !important;
  }

  .menu-category__type-nav button {
    width: 34px !important;
    height: 34px !important;
    font-size: 1.25rem !important;
  }

  .menu-page .menu-list {
    gap: 6px !important;
    max-height: calc(100svh - var(--sticky-header-height, 65px) - 148px) !important;
    padding-inline: 6px 22px !important;
  }

  .menu-page .menu-item {
    min-height: 62px !important;
    width: calc(100% - 14px) !important;
  }

  .menu-page .menu-item__visual,
  .menu-page .menu-item__icon {
    width: 44px !important;
    height: 44px !important;
  }

  .menu-page .menu-item__body strong {
    font-size: 0.94rem !important;
  }

  .menu-page .menu-item__body small {
    font-size: 0.68rem !important;
  }

  .contact-page main {
    height: calc(100svh - var(--sticky-header-height, 65px) - 34px) !important;
    min-height: 0 !important;
    align-content: start !important;
    gap: 7px !important;
    padding-block: 6px !important;
  }

  .contact-page .page-hero {
    gap: 4px !important;
    padding: 9px 10px !important;
  }

  .contact-page .page-hero .eyebrow,
  .contact-page .page-hero p:not(.eyebrow) {
    display: none !important;
  }

  .contact-essential-panel {
    gap: 6px !important;
  }

  .contact-essential-action {
    min-height: 82px !important;
    gap: 6px !important;
    padding: 10px !important;
  }

  .contact-essential-action span {
    padding: 5px 8px !important;
  }

  .contact-essential-action strong {
    font-size: 1rem !important;
    line-height: 1 !important;
  }

  .contact-essential-action small {
    font-size: 0.74rem !important;
    line-height: 1.18 !important;
  }

  .menu-page.creator-scene-is-open main,
  .menu-page:has(#drink-creator:target) main {
    min-height: calc(100svh - var(--sticky-header-height, 65px)) !important;
    max-height: calc(100svh - var(--sticky-header-height, 65px)) !important;
    padding: 6px 10px 8px !important;
  }

  .menu-page.creator-scene-is-open .drink-creator-section,
  .menu-page:has(#drink-creator:target) .drink-creator-section {
    min-height: 0 !important;
  }

  .menu-page.creator-scene-is-open .creator-game-shell,
  .menu-page:has(#drink-creator:target) .creator-game-shell {
    max-height: calc(100svh - var(--sticky-header-height, 65px) - 58px) !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .menu-page.creator-scene-is-open .creator-step-card,
  .menu-page:has(#drink-creator:target) .creator-step-card {
    padding: 8px !important;
    overflow: hidden !important;
  }

  .menu-page.creator-scene-is-open .creator-option-grid,
  .menu-page:has(#drink-creator:target) .creator-option-grid {
    gap: 6px !important;
  }

  .menu-page.creator-scene-is-open .creator-game-option,
  .menu-page:has(#drink-creator:target) .creator-game-option {
    min-height: 44px !important;
  }
}

/* Admin products data page refresh. */
.admin-page .admin-console {
  gap: 0;
  padding: 0 0 clamp(18px, 3vw, 36px);
  background: rgba(247, 250, 247, 0.96);
}

.admin-page .admin-topbar {
  position: sticky;
  top: 0;
  z-index: 120;
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.5rem, 1vw, 0.9rem);
  border-width: 0 0 1px;
  border-radius: 0;
  background: rgba(247, 250, 247, 0.9);
  box-shadow: 0 8px 24px rgba(23, 32, 42, 0.06);
  padding: 0.42rem clamp(0.75rem, 2vw, 1.4rem);
}

.admin-page .admin-console > .admin-section-nav,
.admin-page .admin-actions .admin-message-link {
  display: none !important;
}

.admin-page .admin-topbar .brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
}

.admin-page .admin-topbar .brand strong {
  color: var(--ink);
}

.admin-page .admin-topbar .brand small {
  color: var(--muted);
}

.admin-page .admin-actions {
  align-items: center;
  gap: 0.25rem;
}

.admin-page .admin-topbar .admin-auth-status {
  display: none;
}

.admin-page .admin-actions .button,
.admin-page .admin-auth-status,
.admin-page .admin-message-link {
  min-height: 2.4rem;
  border-radius: 8px;
  padding: 0.45rem 0.65rem;
}

.admin-page .admin-section-nav {
  position: static;
  top: auto;
  z-index: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  margin: 0 auto;
  width: auto;
  max-width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  backdrop-filter: none;
}

.admin-page .admin-topbar .admin-section-nav {
  min-width: 0;
}

.admin-page .admin-section-nav a {
  display: inline-flex;
  min-height: 2.1rem;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-radius: 8px;
  padding: 0.35rem 0.58rem;
  background: rgba(255, 255, 255, 0.62);
}

.admin-page .admin-section-nav .admin-message-badge {
  min-width: 1.35rem;
  height: 1.35rem;
  margin-left: 0.32rem;
  font-size: 0.68rem;
}

.admin-page .admin-section-nav a span {
  display: none;
}

.admin-page .admin-section-nav a[data-badge] {
  padding-right: 0.65rem;
}

.admin-page .admin-section-nav a[data-badge]::after {
  position: static;
  display: inline-grid;
  margin-left: 0.35rem;
  transform: none;
}

.admin-page .admin-section-nav strong {
  font-size: 0.82rem;
  line-height: 1;
  white-space: nowrap;
}

.admin-page .admin-console[data-admin-current-view="products"] .admin-hero {
  display: none;
}

.admin-page .admin-console[data-admin-current-view="settings"] .admin-hero,
.admin-page .admin-console[data-admin-current-view="languages"] .admin-hero,
.admin-page .admin-console[data-admin-current-view="technical"] .admin-hero {
  display: none !important;
}

.admin-page .admin-dashboard {
  width: 100%;
  max-width: none;
  padding: clamp(8px, 1.25vw, 14px);
}

.admin-page,
.admin-page body,
body.admin-page {
  height: auto !important;
  max-height: none !important;
  overflow-y: auto !important;
}

.admin-page .admin-console[data-admin-current-view="settings"] .admin-dashboard {
  display: block;
  padding: clamp(8px, 1.2vw, 14px);
}

.admin-page .admin-console[data-admin-current-view="settings"] .admin-editor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(36rem, 100%), 1fr));
  align-items: start;
  gap: clamp(0.65rem, 1.2vw, 1rem);
  width: 100%;
}

.admin-page .admin-console[data-admin-current-view="settings"] .admin-panel {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  min-width: 0;
  border-radius: 8px;
  padding: clamp(0.85rem, 1.6vw, 1.35rem);
  overflow: visible;
}

.admin-page .admin-console[data-admin-current-view="settings"] .admin-panel-heading {
  position: sticky;
  top: 3.65rem;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.75rem;
  margin: calc(clamp(0.85rem, 1.6vw, 1.35rem) * -1) calc(clamp(0.85rem, 1.6vw, 1.35rem) * -1) 0;
  border-bottom: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 8px 8px 0 0;
  background: rgba(255, 253, 247, 0.94);
  padding: clamp(0.7rem, 1.15vw, 1rem) clamp(0.85rem, 1.6vw, 1.35rem);
  backdrop-filter: blur(12px);
}

.admin-page .admin-console[data-admin-current-view="settings"] .admin-panel-heading h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2.55rem);
  line-height: 0.98;
}

.admin-page .admin-console[data-admin-current-view="settings"] .admin-panel-heading p {
  margin: 0.45rem 0 0;
  max-width: 52ch;
}

.admin-page .admin-console[data-admin-current-view="settings"] .admin-panel-heading .button {
  position: sticky;
  top: 4.1rem;
  min-height: 2.55rem;
  align-self: start;
  white-space: nowrap;
}

.admin-page .admin-console[data-admin-current-view="settings"] .admin-form {
  gap: 0.75rem;
  margin-top: 0;
}

.admin-page .admin-console[data-admin-current-view="settings"] .admin-form-row {
  grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
}

.admin-page .admin-console[data-admin-current-view="settings"] .admin-form :is(input, select, textarea) {
  min-height: 2.45rem;
  border-radius: 8px;
}

.admin-page .admin-console[data-admin-current-view="settings"] .admin-form textarea {
  min-height: 4.8rem;
  max-height: 9rem;
}

.admin-page .admin-console[data-admin-current-view="settings"] .admin-form-field span,
.admin-page .admin-console[data-admin-current-view="settings"] .admin-form-group-title {
  color: var(--ink);
  font-size: 0.76rem;
}

.admin-page .admin-data-workbench {
  width: min(1480px, 100%);
  margin: 0 auto;
  gap: 0.45rem;
  padding-top: 0.4rem;
}

.admin-page .admin-data-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.38rem 0.65rem;
  align-items: center;
  min-width: 0;
}

.admin-page .admin-data-shell > h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.05;
}

.admin-page .admin-data-shell > p {
  display: none;
}

.admin-page .admin-data-workbench .admin-panel-actions {
  grid-column: 2;
  grid-row: 1;
  justify-content: flex-end;
  gap: 0.38rem;
}

.admin-page .admin-data-workbench .admin-panel-actions .admin-product-save-state,
.admin-page .admin-data-workbench .admin-panel-actions .admin-product-sync-note {
  display: none;
}

.admin-page .admin-data-workbench .admin-panel-actions .button {
  min-height: 2.25rem;
  padding: 0.38rem 0.7rem;
}

.admin-page .admin-data-workbench .admin-product-tools,
.admin-page .admin-data-workbench .admin-product-preview-panel,
.admin-page .admin-data-workbench .admin-product-simple-editor,
.admin-page .admin-data-workbench .admin-product-workbench-presets,
.admin-page .admin-data-workbench .admin-product-active-task,
.admin-page .admin-data-workbench .admin-product-menu-health,
.admin-page .admin-data-workbench .admin-technical-details,
.admin-page .admin-data-workbench .admin-table-panel {
  display: none !important;
}

.admin-page .admin-product-data-panel {
  grid-column: 1 / -1;
  gap: 0.45rem;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  overflow: visible;
}

.admin-page .admin-product-data-panel__head,
.admin-page .admin-product-data-toolbar {
  grid-template-columns: minmax(18rem, 1fr) auto;
  gap: 0.65rem;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
  padding: 0.35rem 0.5rem;
}

.admin-page .admin-product-data-panel__head {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}

.admin-page .admin-product-data-panel__head > div:first-child {
  display: none;
}

.admin-page .admin-product-data-panel__head .admin-product-data-actions {
  justify-content: flex-end;
}

.admin-page .admin-product-data-toolbar {
  grid-template-columns: minmax(9rem, 13rem) minmax(14rem, 1fr) minmax(10rem, 0.72fr) minmax(12rem, 0.88fr) auto;
}

.admin-page .admin-product-data-toolbar .admin-form-field {
  gap: 0;
}

.admin-page .admin-product-data-toolbar .admin-form-field > span {
  display: none;
}

.admin-page .admin-product-data-toolbar :is(input, select),
.admin-page .admin-product-data-panel__head .button {
  min-height: 2.1rem;
  padding-block: 0.28rem;
}

.admin-page .admin-product-data-clear {
  align-self: end;
  min-height: 2.1rem;
  white-space: nowrap;
}

.admin-page .admin-product-data-actions {
  gap: 0.5rem;
}

.admin-page .admin-product-data-board {
  gap: 0.45rem;
  overflow: visible;
}

.admin-page .admin-product-data-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.admin-page .admin-product-data-card {
  min-height: 2.2rem;
  min-width: 7.4rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
}

.admin-page .admin-product-data-card strong {
  font-size: 1rem;
}

.admin-page .admin-product-data-note {
  display: none;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.admin-page .admin-product-data-note p {
  margin: 0;
}

.admin-page .admin-product-data-table-wrap {
  max-height: min(72svh, 760px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  scrollbar-gutter: stable;
}

.admin-page .admin-product-data-table {
  width: 100%;
  min-width: 0 !important;
  border-collapse: collapse;
  table-layout: fixed;
}

.admin-page .admin-product-data-table th,
.admin-page .admin-product-data-table td {
  padding: 0.42rem;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.admin-page .admin-product-data-table th {
  position: relative;
  top: auto;
  z-index: 3;
  background: #f4f1ea;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.1;
  overflow: visible;
}

.admin-page .admin-product-data-table thead {
  position: sticky;
  top: 0;
  z-index: 12;
  background: #f4f1ea;
}

.admin-page .admin-product-data-th-label {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-page .admin-product-data-table th[data-product-data-help] {
  cursor: help;
}

.admin-page .admin-product-data-table th[data-product-data-help]::after {
  content: attr(data-product-data-help);
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 60;
  width: min(280px, 44vw);
  border: 1px solid rgba(31, 91, 69, 0.24);
  border-radius: 8px;
  background: #12332c;
  box-shadow: 0 14px 32px rgba(5, 22, 18, 0.22);
  color: #fffdf7;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.3;
  padding: 0.45rem 0.55rem;
  pointer-events: none;
  white-space: normal;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.12s ease, transform 0.12s ease;
  visibility: hidden;
}

.admin-page .admin-product-data-table th[data-product-data-help]:hover::after,
.admin-page .admin-product-data-table th[data-product-data-help]:focus-within::after {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.admin-page .admin-product-data-table th[data-product-data-help]:nth-last-child(-n+3)::after {
  right: 0;
  left: auto;
}

.admin-page .admin-product-data-table input,
.admin-page .admin-product-data-table select,
.admin-page .admin-product-data-table textarea {
  width: 100%;
  min-height: 2rem;
  border-radius: 8px;
  padding: 0.36rem 0.45rem;
  font-size: 0.76rem;
}

.admin-page .admin-product-data-table textarea {
  min-height: 3.8rem;
  max-height: 6.8rem;
  line-height: 1.25;
  resize: vertical;
}

.admin-page .admin-product-data-table input.admin-product-data-family-price:disabled {
  border-color: rgba(18, 51, 44, 0.1);
  background: rgba(18, 51, 44, 0.045);
  color: rgba(18, 51, 44, 0.58);
  cursor: not-allowed;
  font-weight: 850;
  opacity: 1;
  -webkit-text-fill-color: rgba(18, 51, 44, 0.58);
}

.admin-product-data-zoom {
  position: fixed;
  inset: 0;
  z-index: 6200;
  display: grid;
  place-items: start end;
  padding: clamp(12px, 3vw, 28px);
  pointer-events: none;
}

.admin-product-data-zoom[hidden] {
  display: none !important;
}

.admin-product-data-zoom__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 29, 25, 0.12);
  backdrop-filter: blur(1.5px);
  pointer-events: auto;
}

.admin-product-data-zoom__panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(580px, 100%);
  max-height: min(82svh, 680px);
  gap: 0.82rem;
  overflow: auto;
  border: 1px solid rgba(31, 91, 69, 0.18);
  border-radius: 14px;
  background: #fffdf7;
  box-shadow: 0 22px 58px rgba(5, 22, 18, 0.22);
  padding: clamp(0.9rem, 2vw, 1.25rem);
  pointer-events: auto;
}

.admin-product-data-zoom--field {
  display: block;
  padding: 0;
}

.admin-product-data-zoom--field .admin-product-data-zoom__backdrop {
  background: transparent;
  backdrop-filter: none;
}

.admin-product-data-zoom--field .admin-product-data-zoom__panel {
  position: fixed;
  top: var(--product-data-zoom-top, 12px);
  left: var(--product-data-zoom-left, 12px);
  width: min(var(--product-data-zoom-width, 430px), calc(100vw - 24px));
  max-height: min(66svh, 430px);
  gap: 0.58rem;
  border-radius: 12px;
  box-shadow: 0 16px 42px rgba(5, 22, 18, 0.2);
  padding: 0.8rem;
}

.admin-product-data-zoom--field .admin-product-data-zoom__panel header {
  gap: 0.12rem;
}

.admin-product-data-zoom--field .admin-product-data-zoom__panel header span {
  font-size: 0.66rem;
}

.admin-product-data-zoom--field .admin-product-data-zoom__panel header strong {
  font-size: clamp(1.02rem, 2.7vw, 1.28rem);
}

.admin-product-data-zoom--field .admin-product-data-zoom__help {
  font-size: 0.78rem;
  padding: 0.5rem 0.6rem;
}

.admin-product-data-zoom--field .admin-product-data-zoom__panel :is(input, textarea) {
  min-height: 2.85rem;
  font-size: 1rem;
  padding: 0.65rem 0.72rem;
}

.admin-product-data-zoom--field .admin-product-data-zoom__panel textarea {
  min-height: min(30svh, 190px);
}

.admin-product-data-zoom--field .admin-product-data-zoom__actions .button {
  min-height: 2.45rem;
}

.admin-product-data-zoom__panel--ingredients {
  width: min(780px, 100%);
}

.admin-product-data-zoom__panel--gallery {
  width: min(920px, 100%);
}

.admin-product-data-gallery-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  justify-content: space-between;
}

.admin-product-data-gallery-tools small {
  min-width: min(100%, 260px);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.admin-product-data-zoom__panel header {
  display: grid;
  gap: 0.25rem;
}

.admin-product-data-zoom__panel header span,
.admin-product-data-zoom__panel label > span {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-data-zoom__panel header strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.8vw, 2rem);
  line-height: 1.05;
}

.admin-product-data-zoom__panel header small {
  color: var(--muted);
  font-weight: 850;
}

.admin-product-data-zoom__help {
  margin: 0;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 10px;
  background: rgba(239, 248, 238, 0.72);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 780;
  line-height: 1.35;
  padding: 0.65rem 0.75rem;
}

.admin-product-data-zoom__panel label {
  display: grid;
  gap: 0.45rem;
}

.admin-product-data-zoom__panel :is(input, select, textarea) {
  width: 100%;
  min-height: 3.4rem;
  border: 1px solid rgba(18, 51, 44, 0.16);
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: clamp(1rem, 3.6vw, 1.2rem);
  font-weight: 800;
  line-height: 1.25;
  padding: 0.8rem 0.9rem;
}

.admin-product-data-zoom__panel textarea {
  min-height: min(38svh, 260px);
  resize: vertical;
}

.admin-product-data-zoom__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.admin-product-data-zoom__actions .button {
  min-height: 2.8rem;
}

.admin-product-data-ingredients-search {
  display: grid;
  gap: 0.42rem;
}

.admin-product-data-zoom-ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  max-height: min(44svh, 330px);
  overflow: auto;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.65rem;
}

.admin-product-data-zoom-ingredients label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.12rem 0.4rem;
  align-items: center;
  min-height: 2.25rem;
  max-width: 100%;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--teal);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 0.42rem 0.62rem;
}

.admin-product-data-zoom-ingredients label.is-selected {
  border-color: rgba(31, 91, 69, 0.46);
  background: rgba(31, 91, 69, 0.92);
  color: #fffdf7;
}

.admin-product-data-zoom-ingredients label.is-unavailable:not(.is-selected) {
  color: rgba(18, 51, 44, 0.58);
  background: rgba(240, 238, 231, 0.72);
}

.admin-product-data-zoom-ingredients label[hidden] {
  display: none !important;
}

.admin-product-data-zoom-ingredients input {
  width: auto !important;
  min-height: 0 !important;
}

.admin-product-data-zoom-ingredients span,
.admin-product-data-zoom-ingredients small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-product-data-zoom-ingredients small {
  grid-column: 2;
  opacity: 0.72;
  font-size: 0.68rem;
  font-weight: 850;
}

.admin-product-data-zoom-gallery {
  display: grid;
  gap: 0.75rem;
  max-height: min(52svh, 430px);
  overflow: auto;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.65rem;
}

.admin-product-data-gallery-section {
  display: grid;
  gap: 0.48rem;
  min-width: 0;
}

.admin-product-data-gallery-section header,
.admin-product-data-gallery-section summary {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  color: var(--teal);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-product-data-gallery-section header span,
.admin-product-data-gallery-section summary span {
  display: inline-grid;
  place-items: center;
  min-width: 1.7rem;
  min-height: 1.45rem;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.1);
  font-size: 0.68rem;
}

.admin-product-data-gallery-section > small {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 820;
}

.admin-product-data-gallery-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 0.6rem;
}

.admin-product-data-gallery-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.admin-product-data-zoom-gallery label {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 0.36rem;
  min-width: 0;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  cursor: pointer;
  padding: 0.5rem;
}

.admin-product-data-zoom-gallery label.is-selected {
  border-color: rgba(31, 91, 69, 0.54);
  background: rgba(232, 246, 236, 0.95);
  box-shadow: inset 0 0 0 2px rgba(31, 91, 69, 0.12);
}

.admin-product-data-zoom-gallery label.is-reserve {
  border-style: dashed;
  background: rgba(244, 238, 226, 0.82);
}

.admin-product-data-zoom-gallery label[hidden] {
  display: none !important;
}

.admin-product-data-zoom-gallery input {
  position: absolute;
  width: 1px !important;
  min-height: 0 !important;
  opacity: 0;
  pointer-events: none;
}

.admin-product-data-zoom-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 9px;
  background: #f4f1ea;
  object-fit: contain;
}

.admin-product-data-zoom-gallery span,
.admin-product-data-zoom-gallery small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-product-data-zoom-gallery span {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 950;
}

.admin-product-data-zoom-gallery span em {
  display: inline-flex;
  margin-left: 0.32rem;
  border-radius: 999px;
  background: rgba(142, 94, 54, 0.12);
  color: #7b5638;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.02em;
  padding: 0.12rem 0.36rem;
  text-transform: uppercase;
  vertical-align: middle;
}

.admin-product-data-zoom-gallery small {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
}

.admin-page .admin-product-data-table .button {
  min-height: 2rem;
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  font-size: 0.72rem;
}

.admin-page .admin-product-data-table td[data-label="ID"] {
  width: 8%;
}

.admin-page .admin-product-data-table td[data-label="Nom"],
.admin-page .admin-product-data-table td[data-label="Libelle"] {
  width: 14%;
}

.admin-page .admin-product-data-table td[data-label="Ingredients"],
.admin-page .admin-product-data-table td[data-label="Ingrédients"] {
  min-width: 0;
  width: 18%;
}

.admin-page .admin-product-data-table td[data-label^="Prix"] {
  min-width: 0;
  width: 7%;
}

.admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(1) {
  width: 10%;
}

.admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(2),
.admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(3),
.admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(5),
.admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(9) {
  width: 9%;
}

.admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(4) {
  width: 15%;
}

.admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(6),
.admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(7),
.admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(8) {
  width: 7%;
}

.admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(10) {
  width: 11%;
}

.admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(11) {
  width: 8%;
}

.admin-page .admin-product-data-table {
  --product-data-columns: repeat(6, minmax(0, 1fr));
}

.admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table {
  width: max(100%, 1940px);
  --product-data-columns:
    minmax(170px, 1.25fr)
    minmax(118px, 0.85fr)
    minmax(118px, 0.85fr)
    minmax(170px, 1.2fr)
    minmax(118px, 0.82fr)
    minmax(128px, 0.82fr)
    minmax(92px, 0.68fr)
    minmax(92px, 0.68fr)
    minmax(140px, 1fr)
    minmax(120px, 0.95fr)
    minmax(220px, 1.55fr)
    minmax(88px, 0.65fr)
    minmax(88px, 0.65fr)
    minmax(88px, 0.65fr)
    minmax(102px, 0.75fr)
    minmax(126px, 0.92fr)
    minmax(86px, 0.58fr)
    minmax(96px, 0.68fr);
}

.admin-page #admin-product-data-board .admin-product-data-table-wrap {
  position: relative;
  scrollbar-gutter: stable both-edges;
  box-shadow:
    inset -22px 0 18px -20px rgba(18, 51, 44, 0.52),
    0 12px 30px rgba(18, 51, 44, 0.06);
}


.admin-page #admin-product-data-board[data-product-data-active-table="categories"] .admin-product-data-table {
  --product-data-columns:
    minmax(0, 0.8fr)
    minmax(0, 1.1fr)
    minmax(0, 0.7fr)
    minmax(0, 0.85fr)
    minmax(0, 0.72fr)
    minmax(0, 0.72fr)
    minmax(0, 0.72fr)
    minmax(0, 0.62fr)
    minmax(160px, 2.8fr)
    minmax(0, 0.62fr);
}

.admin-page #admin-product-data-board[data-product-data-active-table="sizes"] .admin-product-data-table {
  --product-data-columns:
    minmax(0, 1fr)
    minmax(0, 1.25fr)
    minmax(0, 0.9fr)
    minmax(0, 1fr)
    minmax(0, 0.8fr)
    minmax(0, 0.7fr);
}

.admin-page #admin-product-data-board[data-product-data-active-table="ingredients"] .admin-product-data-table {
  --product-data-columns:
    minmax(0, 1.45fr)
    minmax(0, 1fr)
    minmax(0, 0.8fr)
    minmax(0, 0.8fr)
    minmax(0, 1.4fr)
    minmax(0, 0.7fr);
}

@media (min-width: 861px) {
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table {
    width: max(100%, 2200px) !important;
    min-width: max(100%, 2200px) !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table thead,
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table tbody,
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table tr {
    width: max(100%, 2200px) !important;
    min-width: max(100%, 2200px) !important;
  }

  .admin-page .admin-product-data-table,
  .admin-page .admin-product-data-table thead,
  .admin-page .admin-product-data-table tbody {
    display: block;
  }

  .admin-page .admin-product-data-table thead tr,
  .admin-page .admin-product-data-table tbody tr {
    display: grid;
    grid-template-columns: var(--product-data-columns);
    align-items: center;
  }

  .admin-page .admin-product-data-table thead tr {
    min-height: 34px;
    border-bottom: 1px solid rgba(18, 51, 44, 0.14);
    background: #f4f1ea;
  }

  .admin-page .admin-product-data-table tbody tr {
    border-bottom: 1px solid rgba(18, 51, 44, 0.09);
  }

  .admin-page .admin-product-data-table th,
  .admin-page .admin-product-data-table td {
    display: block;
    width: auto !important;
    min-width: 0;
    height: auto !important;
    border-bottom: 0;
  }

  .admin-page .admin-product-data-table th {
    padding-block: 0.45rem;
    white-space: nowrap;
    overflow: visible;
    text-overflow: ellipsis;
  }
}

.admin-page .admin-product-data-table .button.danger {
  white-space: nowrap;
}

.admin-page .admin-product-data-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.38rem;
  align-items: center;
  min-width: 0;
}

.admin-page .admin-product-data-gallery__summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem;
  align-items: center;
  min-width: 0;
}

.admin-page .admin-product-data-gallery__summary strong {
  display: grid;
  place-items: center;
  min-width: 1.8rem;
  min-height: 1.8rem;
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.1);
  color: var(--teal);
  font-size: 0.74rem;
}

.admin-page .admin-product-data-gallery__thumbs {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.22rem;
  overflow: hidden;
}

.admin-page .admin-product-data-gallery__thumbs img,
.admin-page .admin-product-data-gallery__thumbs span {
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 8px;
  background: rgba(244, 241, 234, 0.82);
}

.admin-page .admin-product-data-gallery__thumbs img {
  object-fit: cover;
}

.admin-page .admin-product-data-gallery__thumbs span {
  display: grid;
  place-items: center;
  width: auto;
  min-width: 1.8rem;
  padding: 0 0.35rem;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 900;
}

.admin-page .admin-product-data-ingredients {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem;
  align-items: center;
  min-width: 0;
}

.admin-page .admin-product-data-ingredients > .button {
  min-width: 4.8rem;
  white-space: nowrap;
}

.admin-page .admin-product-data-ingredients__summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem;
  align-items: center;
  min-width: 0;
}

.admin-page .admin-product-data-ingredients__summary strong {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 950;
  white-space: nowrap;
}

.admin-page .admin-product-data-ingredients__summary div {
  display: flex;
  min-width: 0;
  gap: 0.25rem;
  overflow: hidden;
}

.admin-page .admin-product-data-ingredients__summary span {
  min-width: 0;
  max-width: 7.5rem;
  overflow: hidden;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 999px;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 900;
  padding: 0.2rem 0.42rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-page .admin-product-data-ingredients details {
  position: relative;
}

.admin-page .admin-product-data-ingredients summary {
  min-height: 2rem;
  border: 1px solid rgba(31, 91, 69, 0.14);
  border-radius: 8px;
  background: rgba(239, 248, 238, 0.82);
  color: var(--teal);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 950;
  list-style: none;
  padding: 0.42rem 0.55rem;
}

.admin-page .admin-product-data-ingredients summary::-webkit-details-marker {
  display: none;
}

.admin-page .admin-product-data-ingredients__choices {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  width: min(26rem, 72vw);
  max-height: 16rem;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(14, 45, 37, 0.16);
  padding: 0.6rem;
  scrollbar-width: none;
}

.admin-page .admin-product-data-ingredients__choices::-webkit-scrollbar {
  display: none;
}

.admin-page .admin-product-data-ingredients label {
  min-height: 1.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 0.32rem 0.5rem;
}

.admin-page .google-debug-panel {
  position: static;
  width: min(960px, calc(100% - 24px));
  margin: 0 auto 1rem;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 32, 42, 0.08);
}

.admin-page .google-debug-panel.is-admin-view-hidden {
  display: none !important;
}

@media (max-width: 860px) {
  .admin-page .admin-topbar {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.35rem 0.5rem;
    padding: 0.35rem 0.55rem;
  }

  .admin-page .admin-topbar .brand small {
    display: none;
  }

  .admin-page .admin-topbar .brand {
    min-width: 0;
  }

  .admin-page .admin-actions,
  .admin-page .admin-section-nav {
    justify-content: flex-start;
  }

  .admin-page .admin-actions {
    grid-column: 2;
    grid-row: 1;
    justify-content: flex-end;
    min-width: 0;
  }

  .admin-page .admin-actions :is(#admin-google-signin, #admin-google-signout) {
    display: none !important;
  }

  .admin-page .admin-actions .button {
    width: auto !important;
    min-height: 2rem;
    padding: 0.28rem 0.52rem;
  }

  .admin-page .admin-section-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.25rem;
    width: calc(100vw - 1rem);
    max-width: calc(100vw - 1rem);
    margin-inline: calc((100% - (100vw - 1rem)) / 2);
    overflow: visible;
  }

  .admin-page .admin-section-nav a {
    min-height: 1.85rem;
    padding: 0.25rem 0.28rem;
  }

  .admin-page .admin-section-nav strong {
    font-size: 0.72rem;
  }

  .admin-page .admin-dashboard {
    padding: 0.75rem;
  }

  .admin-page .admin-product-data-panel__head,
  .admin-page .admin-product-data-toolbar {
    grid-template-columns: minmax(0, 1fr) !important;
    padding: 0.75rem;
  }

  .admin-page .admin-product-data-actions,
  .admin-page .admin-data-workbench .admin-panel-actions {
    justify-content: stretch;
  }

  .admin-page .admin-product-data-actions .button,
  .admin-page .admin-product-data-actions .admin-import,
  .admin-page .admin-product-data-clear,
  .admin-page .admin-data-workbench .admin-panel-actions .button {
    width: 100%;
  }

  .admin-page .admin-product-data-note {
    display: none !important;
  }

  .admin-page .admin-product-data-table th,
  .admin-page .admin-product-data-table td {
    padding: 0.35rem;
  }

  .admin-page .admin-product-data-table th {
    height: auto;
    min-height: 0;
    padding-block: 0.45rem;
    vertical-align: bottom;
    white-space: nowrap;
    overflow: visible;
    text-overflow: ellipsis;
  }

  .admin-page .admin-product-data-table {
    display: table !important;
    width: 100% !important;
  }

  .admin-page .admin-product-data-table thead {
    display: table-header-group !important;
  }

  .admin-page .admin-product-data-table tbody {
    display: table-row-group !important;
  }

  .admin-page .admin-product-data-table tr {
    display: table-row !important;
  }

  .admin-page .admin-product-data-table th,
  .admin-page .admin-product-data-table td {
    display: table-cell !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(4),
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(7),
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(8),
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(9),
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(10),
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(11),
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(12),
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(13),
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(14),
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(15),
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(16) {
    display: none !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(1) {
    width: 27%;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(2) {
    width: 18%;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(3) {
    width: 17%;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(6) {
    width: 25%;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):last-child {
    width: 13%;
  }

  .admin-page .admin-product-data-table input,
  .admin-page .admin-product-data-table select,
  .admin-page .admin-product-data-table textarea {
    font-size: 0.72rem;
  }

  .admin-page .admin-product-data-ingredients {
    grid-template-columns: auto auto;
    justify-content: start;
  }

  .admin-page .admin-product-data-ingredients__summary {
    display: flex;
  }

  .admin-page .admin-product-data-ingredients__summary div {
    display: none;
  }

  .admin-page .admin-product-data-ingredients__choices {
    left: 0;
    right: auto;
    width: min(21rem, calc(100vw - 2.2rem));
  }
}

@media (max-width: 520px) {
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table,
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table tbody {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 0.55rem !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table thead {
    display: none !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table tr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.45rem;
    border: 1px solid rgba(31, 91, 69, 0.14);
    border-radius: 8px;
    background: rgba(255, 253, 247, 0.86);
    padding: 0.5rem;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table td {
    display: grid !important;
    width: auto !important;
    min-width: 0 !important;
    justify-self: stretch !important;
    align-self: stretch !important;
    gap: 0.22rem;
    border: 0;
    padding: 0 !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(td):nth-child(1),
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(td):nth-child(6),
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(td):last-child {
    grid-column: 1 / -1;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(input, select, textarea, .button) {
    width: 100%;
    min-width: 0;
    min-height: 2.35rem;
    font-size: 0.88rem;
    justify-self: stretch;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-ingredients {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-ingredients__summary div {
    display: flex;
  }
}

/* Text safety pass: never split short action labels inside words. */
body :is(h1, h2, h3, h4, h5, h6, p, small, strong, label, li, th, td) {
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: none !important;
}

body :is(button, .button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"], .main-nav a, .nav-login-button, .site-footer a, .contact-essential-action, .contact-chat-view__choices button, .chat-room-filters button, .chat-message-actions button) {
  max-width: 100%;
  overflow: hidden;
  overflow-wrap: normal !important;
  text-overflow: ellipsis;
  white-space: nowrap !important;
  word-break: normal !important;
  hyphens: none !important;
}

.menu-page:not(.creator-scene-is-open) .drink-creator-section {
  display: none !important;
}

.menu-page main {
  position: relative !important;
  isolation: isolate;
}

.menu-page main::before {
  display: none !important;
  content: none !important;
}

.menu-page .menu-studio,
.menu-page .menu-grid,
.menu-page .product-detail {
  position: relative !important;
  z-index: 1;
}

.menu-page .menu-grid {
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%),
    linear-gradient(180deg, transparent 0, #000 6px, #000 calc(100% - 6px), transparent 100%) !important;
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0, #000 22px, #000 calc(100% - 22px), transparent 100%),
    linear-gradient(180deg, transparent 0, #000 6px, #000 calc(100% - 6px), transparent 100%) !important;
  mask-composite: intersect;
}

/* Menu desktop: selected product panel with a compact product photo and technical values. */
@media (min-width: 1080px) {
  .menu-page .menu-studio {
    display: grid !important;
    grid-template-columns: minmax(620px, 1fr) minmax(330px, 360px) !important;
    gap: 18px !important;
    align-items: stretch !important;
    width: min(1180px, calc(100vw - 48px)) !important;
    max-width: min(1180px, calc(100vw - 48px)) !important;
    overflow: visible !important;
    margin-inline: auto !important;
  }

  .menu-page .menu-grid {
    min-width: 0 !important;
    width: 100% !important;
  }

  .menu-page .product-detail[hidden] {
    display: none !important;
  }

  .menu-page .product-detail {
    position: relative !important;
    top: auto !important;
    display: grid !important;
    align-content: start !important;
    align-self: stretch !important;
    gap: 10px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
    border: 1px solid color-mix(in srgb, var(--card-accent, #5f8f49) 26%, rgba(255, 255, 255, 0.22)) !important;
    border-radius: 20px !important;
    background: var(--product-panel-surface) !important;
    box-shadow: 0 20px 44px rgba(5, 22, 18, 0.16) !important;
    padding: 14px !important;
  }

  .menu-page .product-detail::before {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 100% 4%, color-mix(in srgb, var(--card-accent, #5f8f49) 16%, transparent), transparent 34%),
      linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.34) 46%, transparent 100%);
    content: "";
    pointer-events: none;
  }

  .menu-page .product-detail > * {
    position: relative;
    z-index: 1;
  }

  .menu-page .product-detail .server-note-head {
    display: flex !important;
    gap: 8px;
    justify-content: space-between;
    padding: 0 !important;
  }

  .menu-page .product-detail .showcase-label,
  .menu-page .product-detail .server-note-category {
    font-size: 0.64rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .menu-page .product-detail .server-note-title {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px !important;
    align-items: start !important;
    padding: 0 !important;
  }

  .menu-page .product-detail h3 {
    font-size: clamp(1.18rem, 1.35vw, 1.42rem) !important;
    line-height: 1.05 !important;
  }

  .menu-page .product-detail .server-note-title p {
    display: -webkit-box !important;
    margin-top: 3px !important;
    color: var(--muted) !important;
    font-size: 0.78rem !important;
    line-height: 1.16 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden !important;
  }

  .menu-page .product-detail .detail-price {
    font-size: 1.05rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .menu-page .product-detail .product-detail-photo {
    height: clamp(112px, 16svh, 158px) !important;
    min-height: 0 !important;
    margin: 0 !important;
    border-radius: 18px !important;
    border: 0 !important;
    background:
      linear-gradient(135deg, rgba(255, 253, 247, 0.22), rgba(255, 253, 247, 0.04)),
      var(--detail-photo-bg, none) center / cover no-repeat,
      var(--product-photo-surface, linear-gradient(135deg, #fffdf7, #e8eadb)) !important;
    overflow: hidden !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
  }

  .menu-page .product-detail .product-detail-photo::before {
    opacity: 0.78 !important;
  }

  .menu-page .product-detail .product-detail-photo::after {
    background:
      radial-gradient(circle at 50% 40%, rgba(255, 253, 247, 0.03), rgba(255, 253, 247, 0.3) 72%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(18, 46, 38, 0.05)) !important;
  }

  .menu-page .product-detail .product-detail-photo img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 17px !important;
    clip-path: inset(0 round 17px);
    object-fit: contain !important;
    object-position: center !important;
  }

  .menu-page .product-detail .product-cup-stage,
  .menu-page .product-detail .product-action-path,
  .menu-page .product-detail .server-note-line--order,
  .menu-page .product-detail .server-note-line--method,
  .menu-page .product-detail .server-note-line--recipe,
  .menu-page .product-detail .server-note-line--rules,
  .menu-page .product-detail .server-note-footer {
    display: none !important;
  }

  .menu-page .product-detail .product-choice-brief {
    padding: 0 !important;
  }

  .menu-page .product-detail .product-choice-intro p {
    font-size: 0.74rem !important;
    line-height: 1.15 !important;
  }

  .menu-page .product-detail .size-selector button {
    min-height: 42px !important;
    padding: 6px !important;
    border-radius: 11px !important;
  }

  .menu-page .product-detail .size-selector button strong,
  .menu-page .product-detail .size-selector button span {
    font-size: 0.74rem !important;
    line-height: 1 !important;
  }

  .menu-page .product-detail .server-note-line {
    display: grid !important;
    gap: 4px !important;
    padding: 8px 0 0 !important;
    border-top: 1px solid rgba(31, 91, 69, 0.1) !important;
  }

  .menu-page .product-detail .server-note-line > span {
    color: var(--teal) !important;
    font-size: 0.62rem !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
  }

  .menu-page .product-detail .server-note-line p,
  .menu-page .product-detail .ingredient-note {
    display: -webkit-box !important;
    margin: 0 !important;
    color: var(--ink) !important;
    font-size: 0.75rem !important;
    font-weight: 760 !important;
    line-height: 1.16 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden !important;
  }

  .menu-page .product-detail .server-note-line--composition,
  .menu-page .product-detail .server-note-line--advice,
  .menu-page .product-detail .server-note-line--allergens,
  .menu-page .product-detail .server-note-line--compare {
    display: none !important;
  }

  .menu-page .product-detail .product-cup-stage,
  .menu-page .product-detail .product-action-path,
  .menu-page .product-detail .server-note-line--order,
  .menu-page .product-detail .server-note-line--method,
  .menu-page .product-detail .server-note-line--recipe,
  .menu-page .product-detail .server-note-line--rules,
  .menu-page .product-detail .server-note-footer {
    display: none !important;
  }
}

.menu-page .product-detail {
  background: var(--product-panel-surface) !important;
  border-color: color-mix(in srgb, var(--card-accent, #5f8f49) 24%, transparent) !important;
  transition:
    background 420ms ease,
    border-color 420ms ease,
    box-shadow 420ms ease;
}

.menu-page .product-detail .product-detail-photo {
  border-color: transparent !important;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--card-accent, #5f8f49) 18%, transparent), rgba(255, 253, 247, 0.03)),
    var(--detail-photo-bg, none) center / cover no-repeat,
    var(--product-photo-surface, linear-gradient(135deg, #fffdf7, #e8eadb)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 12px 30px rgba(18, 46, 38, 0.1) !important;
}

.menu-page .product-detail .product-detail-photo img {
  width: auto !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  border-radius: inherit;
  clip-path: inset(0 round 17px);
}

.menu-page .product-detail .product-choice-brief {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.menu-page .product-detail .product-choice-brief > div {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.menu-page .product-detail .product-option-steps {
  gap: 2px !important;
  padding-top: 2px !important;
}

.menu-page .product-detail .product-option-step {
  grid-template-columns: 64px minmax(0, 1fr) !important;
  gap: 8px !important;
  padding: 4px 0 !important;
}

.menu-page .product-detail .product-option-step__label {
  font-size: 0.6rem !important;
}

.menu-page .product-detail .product-option-choice {
  min-height: 28px !important;
  padding: 5px 9px !important;
  font-size: 0.72rem !important;
}

.menu-page .product-detail .product-option-choice small {
  font-size: 0.66rem !important;
}

body.menu-page .bubble-sky {
  opacity: 0.72 !important;
  filter: saturate(0.78) blur(0.05px) !important;
}

/* Menu natural integration: keep the card readable while its color bleeds into the page background. */
.menu-page .menu-studio::before {
  position: absolute;
  inset: -42px max(-9vw, -120px) -54px;
  z-index: -1;
  border-radius: 42px;
  background:
    radial-gradient(ellipse at 22% 18%, color-mix(in srgb, var(--menu-page-accent) 26%, transparent), transparent 42%),
    radial-gradient(ellipse at 72% 76%, color-mix(in srgb, var(--menu-page-deep) 18%, transparent), transparent 48%),
    linear-gradient(90deg, transparent, color-mix(in srgb, var(--menu-page-soft) 54%, transparent) 30%, color-mix(in srgb, var(--menu-page-soft) 62%, transparent) 70%, transparent);
  content: "";
  filter: blur(24px);
  opacity: 0.9;
  pointer-events: none;
  transform: translateZ(0);
}

.menu-page .menu-grid {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.menu-page .menu-grid.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
}

.menu-page .menu-grid.is-dragging :is(.menu-item, .menu-category__type-nav button, .menu-create-slide__action) {
  pointer-events: none;
}

.menu-page .menu-category {
  border: 0 !important;
  border-color: transparent !important;
  background:
    radial-gradient(ellipse at 20% 10%, color-mix(in srgb, var(--card-accent, #5f8f49) 28%, transparent), transparent 42%),
    linear-gradient(100deg, color-mix(in srgb, var(--card-deep, #0f3a31) 94%, transparent), color-mix(in srgb, var(--card-deep, #0f3a31) 62%, var(--menu-page-soft, #b9d8c8)) 82%, color-mix(in srgb, var(--menu-page-soft, #b9d8c8) 70%, transparent) 128%) !important;
  box-shadow:
    inset 28px 0 54px color-mix(in srgb, var(--card-deep, #0f3a31) 46%, transparent),
    0 22px 52px color-mix(in srgb, var(--card-deep, #0f3a31) 18%, transparent) !important;
  backdrop-filter: blur(10px) saturate(1.02);
  -webkit-backdrop-filter: blur(10px) saturate(1.02);
}

.menu-page .menu-category::before {
  inset: -28px auto -28px -34px !important;
  width: min(210px, 42%) !important;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--card-accent, #5f8f49) 34%, transparent), transparent 72%) !important;
  filter: blur(16px);
  opacity: 0.72;
}

.menu-page .menu-category::after {
  inset: -34px -42px -34px auto !important;
  width: min(260px, 48%) !important;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--menu-page-soft, #b9d8c8) 58%, transparent), transparent 70%) !important;
  filter: blur(18px);
  opacity: 0.78;
}

.menu-category__type-nav button {
  position: relative !important;
  display: grid !important;
  width: 48px !important;
  height: 48px !important;
  place-items: center !important;
  border: 1px solid rgba(255, 248, 220, 0.26) !important;
  border-radius: 999px !important;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 245, 211, 0.44) 0 8%, transparent 9%),
    radial-gradient(circle at 54% 58%, rgba(35, 22, 17, 0.82) 0 42%, rgba(79, 48, 31, 0.74) 63%, rgba(255, 248, 220, 0.16) 100%) !important;
  box-shadow:
    inset -7px -9px 14px rgba(18, 10, 8, 0.28),
    inset 7px 7px 12px rgba(255, 239, 196, 0.18),
    0 10px 22px rgba(5, 22, 18, 0.18) !important;
  color: #fff8dc !important;
  font-size: 1.28rem !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-shadow: 0 1px 2px rgba(12, 8, 5, 0.42);
}

.menu-category__type-nav button::before,
.menu-category__type-nav button::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.menu-category__type-nav button::before {
  inset: 7px;
  border: 1px solid rgba(255, 248, 220, 0.12);
}

.menu-category__type-nav button::after {
  top: 12px;
  left: 14px;
  width: 8px;
  height: 8px;
  background: rgba(255, 248, 220, 0.42);
  filter: blur(0.2px);
}

.menu-category__type-nav button:hover,
.menu-category__type-nav button:focus-visible {
  border-color: rgba(255, 248, 220, 0.46) !important;
  box-shadow:
    inset -7px -9px 14px rgba(18, 10, 8, 0.24),
    inset 7px 7px 12px rgba(255, 239, 196, 0.22),
    0 14px 28px color-mix(in srgb, var(--card-accent, #5f8f49) 32%, rgba(5, 22, 18, 0.18)) !important;
  transform: translateY(-1px) scale(1.04);
}

@media (max-width: 720px) {
  .menu-page .menu-studio::before {
    inset: -18px -24px 18svh;
    border-radius: 32px;
    filter: blur(18px);
    opacity: 0.58;
    background:
      radial-gradient(ellipse at 48% 16%, color-mix(in srgb, var(--menu-page-accent) 30%, transparent), transparent 52%),
      linear-gradient(180deg, color-mix(in srgb, var(--menu-page-soft) 48%, transparent), transparent 100%);
  }

  .menu-page .menu-category {
    border: 0 !important;
    background:
      radial-gradient(ellipse at 18% 8%, color-mix(in srgb, var(--card-accent, #5f8f49) 26%, transparent), transparent 42%),
      linear-gradient(180deg, color-mix(in srgb, var(--card-deep, #0f3a31) 94%, transparent) 0, color-mix(in srgb, var(--card-deep, #0f3a31) 82%, var(--menu-page-soft, #b9d8c8)) 62%, color-mix(in srgb, var(--menu-page-soft, #b9d8c8) 26%, transparent) 100%) !important;
    border-color: transparent !important;
    box-shadow:
      0 16px 38px color-mix(in srgb, var(--card-deep, #0f3a31) 12%, transparent) !important;
  }

  .menu-category__type-nav button {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.08rem !important;
  }
}

/* Admin final layout guard: keep useful scroll and responsive settings panels. */
html:has(body.admin-page),
body.admin-page {
  height: auto !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-width: auto !important;
  -ms-overflow-style: auto !important;
}

body.admin-page *,
body.admin-page {
  scrollbar-width: auto !important;
  -ms-overflow-style: auto !important;
}

body.admin-page::-webkit-scrollbar,
body.admin-page *::-webkit-scrollbar {
  display: block !important;
  width: 10px !important;
  height: 10px !important;
}

body.admin-page::-webkit-scrollbar-thumb,
body.admin-page *::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(31, 91, 69, 0.34);
}

body.admin-page::-webkit-scrollbar-track,
body.admin-page *::-webkit-scrollbar-track {
  background: rgba(247, 250, 247, 0.72);
}

.admin-page .admin-console[data-admin-current-view="settings"] .admin-dashboard {
  max-width: none !important;
  padding: clamp(8px, 1.2vw, 14px) !important;
}

.admin-page .admin-console[data-admin-current-view="settings"] .admin-editor-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(36rem, 100%), 1fr)) !important;
  gap: clamp(0.65rem, 1.2vw, 1rem) !important;
  width: 100% !important;
}

.admin-page .admin-console[data-admin-current-view="settings"] .admin-panel {
  width: 100% !important;
  max-width: none !important;
  padding: clamp(0.85rem, 1.6vw, 1.35rem) !important;
  overflow: visible !important;
}

.admin-page .admin-console[data-admin-current-view="settings"] .admin-panel-heading {
  position: sticky !important;
  top: 3.55rem !important;
  z-index: 80 !important;
}

.admin-page .admin-console[data-admin-current-view="settings"] .admin-form-row {
  grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)) !important;
}

.admin-page .admin-console[data-admin-current-view="settings"] .admin-table-wrap,
.admin-page .admin-console[data-admin-current-view="settings"] .admin-config-table-wrap,
.admin-page .admin-product-data-table-wrap {
  overflow-x: auto !important;
  overflow-y: visible !important;
}

@media (max-width: 520px) {
  .admin-page .admin-panel-heading {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.6rem !important;
    min-width: 0 !important;
  }

  .admin-page .admin-panel-heading > * {
    min-width: 0 !important;
  }

  .admin-page .admin-panel-heading .button {
    position: sticky !important;
    top: 4.15rem !important;
    z-index: 90 !important;
    width: 100% !important;
    justify-content: center !important;
    white-space: normal !important;
  }

  .admin-page .admin-console[data-admin-current-view="settings"] .admin-dashboard,
  .admin-page .admin-console[data-admin-current-view="settings"] .admin-editor-grid,
  .admin-page .admin-console[data-admin-current-view="settings"] .admin-panel {
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .admin-page .admin-console[data-admin-current-view="settings"] .admin-panel-heading {
    grid-template-columns: 1fr !important;
    gap: 0.6rem !important;
  }

  .admin-page .admin-console[data-admin-current-view="settings"] .admin-panel-heading h3 {
    font-size: clamp(2rem, 10vw, 2.35rem) !important;
    line-height: 0.98 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .admin-page .admin-console[data-admin-current-view="settings"] .admin-panel-heading p {
    max-width: 26rem !important;
    font-size: 0.98rem !important;
    line-height: 1.25 !important;
  }

  .admin-page .admin-console[data-admin-current-view="settings"] .admin-panel-heading .button {
    position: sticky !important;
    top: 4.15rem !important;
    z-index: 90 !important;
    width: 100% !important;
    justify-content: center !important;
    white-space: normal !important;
  }

  .admin-page .admin-console[data-admin-current-view="settings"] #admin-settings {
    padding-bottom: 5rem !important;
  }

  .admin-page .admin-console[data-admin-current-view="settings"] #save-site-config {
    display: none !important;
  }

  .admin-page .admin-mobile-save:not([hidden]) {
    position: fixed !important;
    right: max(14px, env(safe-area-inset-right)) !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    left: auto !important;
    z-index: 520 !important;
    display: inline-flex !important;
    width: min(224px, calc(100vw - 28px)) !important;
    min-height: 2.62rem !important;
    justify-content: center !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 34px rgba(8, 37, 29, 0.28) !important;
    font-size: 0.82rem !important;
    white-space: nowrap !important;
  }

  .admin-page.admin-field-focus .admin-mobile-save {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(8px) !important;
  }
}

/* Mobile contact and contrast pass: light background uses dark text, dark background uses white text. */
body.shop-is-open.story-home .hero-content > p.story-hero__lead,
body.shop-is-open .story-hero__lead,
body.shop-is-open .home-open-sign + .hero-actions .button.secondary {
  color: rgba(18, 51, 44, 0.76) !important;
}

body.shop-is-open:not(.admin-page) .site-footer--minimal a,
body.shop-is-open:not(.admin-page) .site-footer--minimal strong {
  color: #12332c !important;
}

body.shop-is-open:not(.admin-page) .site-footer--minimal span {
  color: rgba(18, 51, 44, 0.62) !important;
}

body.shop-is-open:not(.admin-page).menu-page .site-footer--minimal a,
body.shop-is-open:not(.admin-page).menu-page .site-footer--minimal strong,
body:not(.admin-page).menu-page .site-footer--minimal a,
body:not(.admin-page).menu-page .site-footer--minimal strong {
  color: #ffffff !important;
  text-shadow: 0 1px 14px rgba(5, 22, 18, 0.28);
}

body.shop-is-open:not(.admin-page).menu-page .site-footer--minimal span,
body:not(.admin-page).menu-page .site-footer--minimal span {
  color: rgba(255, 255, 255, 0.74) !important;
  text-shadow: 0 1px 14px rgba(5, 22, 18, 0.24);
}

body.shop-is-closed:not(.admin-page) .site-footer--minimal a,
body.shop-is-closed:not(.admin-page) .site-footer--minimal strong,
body:not(.shop-is-open):not(.admin-page) .site-footer--minimal a,
body:not(.shop-is-open):not(.admin-page) .site-footer--minimal strong {
  color: #ffffff !important;
}

body.shop-is-closed:not(.admin-page) .site-footer--minimal span,
body:not(.shop-is-open):not(.admin-page) .site-footer--minimal span {
  color: rgba(255, 255, 255, 0.72) !important;
}

.site-header .brand strong {
  color: #ffffff !important;
  font-weight: 950 !important;
}

.site-header .brand small {
  color: rgba(248, 255, 255, 0.9) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-shadow: 0 1px 10px rgba(5, 22, 18, 0.2);
}

body.shop-is-open .site-header .brand strong,
body.shop-is-open .site-header .brand small {
  color: #12332c !important;
  text-shadow: none !important;
}

body.shop-is-closed .site-header .brand strong,
body.shop-is-closed .site-header .brand small,
body:not(.shop-is-open) .site-header .brand strong,
body:not(.shop-is-open) .site-header .brand small {
  color: #ffffff !important;
}

.story-home .story-hero__lead {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 760 !important;
  text-shadow: 0 2px 18px rgba(4, 24, 19, 0.38);
}

body.shop-is-open.story-home .story-hero__lead {
  color: #17362f !important;
  text-shadow: none !important;
}

.story-hero__address {
  display: inline-flex;
  width: fit-content;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 4px;
}

.story-hero__address:hover,
.story-hero__address:focus-visible {
  color: #ffffff !important;
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

body.shop-is-open .story-hero__address:hover,
body.shop-is-open .story-hero__address:focus-visible {
  color: #12332c !important;
}

[data-inline-address-link],
[data-footer-link="maps-address"] {
  color: inherit;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

[data-inline-address-link]:hover,
[data-inline-address-link]:focus-visible,
[data-footer-link="maps-address"]:hover,
[data-footer-link="maps-address"]:focus-visible {
  color: var(--brand-primary, #1f5b45);
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.footer-brand[data-footer-link="maps-address"] small {
  color: inherit !important;
  font-weight: 850 !important;
  text-decoration: underline;
  text-decoration-thickness: 1.4px;
  text-underline-offset: 3px;
}

.home-open-sign {
  cursor: pointer;
  text-decoration: none !important;
}

.home-open-sign:hover,
.home-open-sign:focus-visible {
  box-shadow:
    0 20px 36px rgba(11, 28, 23, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
  outline: 3px solid rgba(255, 250, 240, 0.52);
  outline-offset: 3px;
  transform: rotate(-0.6deg) translateY(-1px);
}

.contact-chat-view,
.contact-chat-view .chat-loading-panel,
.contact-chat-view .chat-auth-panel,
.contact-chat-view .chat-layout,
.contact-chat-view .chat-shell,
.contact-chat-view .chat-room-panel {
  background: rgba(255, 253, 247, 0.96) !important;
  color: #12332c !important;
}

.contact-chat-view :is(h3, p, strong, span, small, label),
.contact-chat-view .chat-thread-head :is(h3, p),
.contact-chat-view .chat-room-note,
.contact-chat-view .chat-messages article :is(strong, p, small) {
  color: inherit !important;
}

.contact-chat-view .eyebrow,
.contact-chat-view__choices button,
.chat-contact-footer span {
  color: #1f5b45 !important;
}

.contact-page.contact-chat-is-open .contact-chat-view {
  inset: 76px 10px 10px !important;
  grid-template-rows: minmax(0, 1fr) auto !important;
  align-items: start !important;
  align-content: stretch !important;
}

.contact-page.contact-chat-is-open .contact-chat-view:has(.chat-auth-panel:not([hidden])) {
  align-content: start !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

.contact-page.contact-chat-is-open .contact-chat-view:not(.is-chat-auth-ready) {
  grid-template-rows: auto !important;
  align-content: start !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
}

.contact-chat-view .chat-layout {
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
}

.contact-chat-view .chat-shell {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
}

.contact-chat-view .chat-messages {
  min-height: 0 !important;
  max-height: none !important;
  overflow-y: auto !important;
}

.chat-contact-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border-top: 1px solid rgba(31, 91, 69, 0.12);
  padding: 10px 12px 12px;
}

.chat-contact-footer a {
  display: grid;
  min-width: 0;
  gap: 3px;
  border: 1px solid rgba(31, 91, 69, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: #12332c;
  padding: 9px 10px;
  text-decoration: none;
}

.chat-contact-footer span {
  font-size: 0.66rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.chat-contact-footer strong {
  min-width: 0;
  overflow: hidden;
  color: #12332c !important;
  font-size: 0.84rem;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-loading-panel .chat-contact-footer,
.chat-auth-panel .chat-contact-footer {
  flex: 1 0 100%;
  width: 100%;
  margin-top: 2px;
  padding: 12px 0 0;
}

.chat-loading-panel .chat-contact-footer a,
.chat-auth-panel .chat-contact-footer a {
  background: color-mix(in srgb, #ffffff 82%, #dfece4 18%);
}

@media (max-width: 860px) {
  .contact-page.contact-chat-is-open {
    --sticky-header-height: 64px;
  }

  .contact-page.contact-chat-is-open .site-header {
    display: none !important;
  }

  .contact-page.contact-chat-is-open main {
    max-height: none !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .contact-page.contact-chat-is-open .contact-chat-view {
    position: fixed !important;
    inset: calc(var(--sticky-header-height, 65px) + 8px) 8px calc(8px + env(safe-area-inset-bottom)) 8px !important;
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    align-content: stretch !important;
    gap: 8px !important;
    padding: 10px !important;
    overflow: hidden !important;
  }

  .contact-chat-view .chat-loading-panel,
  .contact-chat-view .chat-auth-panel {
    align-self: start !important;
    max-height: 100% !important;
    overflow: hidden !important;
  }

  .contact-chat-view .chat-layout {
    height: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .contact-chat-view .chat-layout[data-chat-mode="client"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .contact-chat-view .chat-layout[data-chat-mode="client"] .chat-room-panel {
    display: none !important;
  }

  .contact-chat-view .chat-shell {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto auto auto !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
  }

  .contact-chat-view .chat-thread-head {
    padding: 10px 10px 8px !important;
  }

  .contact-chat-view .chat-thread-head h3 {
    font-size: clamp(1rem, 5.6vw, 1.24rem) !important;
    line-height: 1.08 !important;
  }

  .contact-chat-view .chat-thread-head p {
    display: none !important;
  }

  .contact-chat-view .chat-messages {
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    padding: 10px !important;
  }

  .contact-chat-view .chat-messages article {
    max-width: 96% !important;
    padding: 9px 10px !important;
  }

  .contact-chat-view .chat-room-note {
    min-height: 0 !important;
    padding: 0 10px 4px !important;
    font-size: 0.78rem !important;
  }

  .contact-chat-view .chat-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
    padding: 9px 10px !important;
  }

  .contact-chat-view__choices {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  .contact-chat-view__choices button {
    min-height: 36px !important;
    padding: 7px 6px !important;
    font-size: 0.78rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .contact-chat-view__context {
    min-height: 20px !important;
    font-size: 0.72rem !important;
    padding: 5px 8px !important;
  }

  .contact-chat-view #chat-input {
    min-height: 84px !important;
    max-height: 112px !important;
    resize: none !important;
  }

  .contact-chat-view [data-chat-submit] {
    width: 100% !important;
    min-height: 42px !important;
  }

  .chat-contact-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    padding: 8px 10px 10px !important;
  }

  .chat-contact-footer a {
    padding: 8px !important;
  }

  .chat-contact-footer span {
    display: none !important;
  }

  .chat-contact-footer strong {
    font-size: 0.76rem !important;
  }
}

/* Final readability guard: subtitle text must stay contrasted after all responsive overrides. */
body:not(.shop-is-open).story-home .story-hero__lead,
body:not(.shop-is-open).story-home .hero-content > p.story-hero__lead,
body.shop-is-closed.story-home .story-hero__lead,
body.shop-is-closed.story-home .hero-content > p.story-hero__lead {
  color: rgba(255, 255, 255, 0.94) !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 18px rgba(4, 24, 19, 0.42) !important;
}

body.shop-is-open.story-home .story-hero__lead,
body.shop-is-open.story-home .hero-content > p.story-hero__lead {
  color: #17362f !important;
  font-weight: 800 !important;
  text-shadow: none !important;
}

body:not(.shop-is-open) .site-header .brand small,
body.shop-is-closed .site-header .brand small {
  color: rgba(255, 255, 255, 0.94) !important;
  font-weight: 850 !important;
}

body.shop-is-open .site-header .brand small {
  color: #12332c !important;
  font-weight: 850 !important;
}

/* Final title safety: local language text must never push the hero outside the viewport. */
body:not(.admin-page).story-home .story-hero h1,
body:not(.admin-page).story-home .hero-content h1 {
  max-width: min(100%, 13.5ch) !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

@media (min-width: 900px) {
  body:not(.admin-page).story-home .story-hero h1,
  body:not(.admin-page).story-home .hero-content h1 {
    max-width: min(100%, 14.5ch) !important;
  }
}

/* Final footer social pass: keep Avis Google, Instagram and Uber Eats visible without reintroducing footer blocks. */
body:not(.admin-page) .site-footer--minimal {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 0.78fr) minmax(0, 1.2fr) auto auto auto !important;
  grid-auto-flow: column !important;
}

body:not(.admin-page) .site-footer--minimal .footer-social-link {
  width: auto !important;
  min-width: 0 !important;
  justify-content: center !important;
  gap: 6px !important;
  overflow: visible !important;
}

body:not(.admin-page) .site-footer--minimal .footer-social-link .brand-logo {
  display: inline-grid !important;
  width: 24px !important;
  height: 24px !important;
  flex: 0 0 24px !important;
  place-items: center !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.16) !important;
  box-shadow: none !important;
  color: currentColor !important;
}

body:not(.admin-page) .site-footer--minimal .footer-social-link .brand-logo svg {
  width: 14px !important;
  height: 14px !important;
  overflow: visible !important;
}

.brand-logo--instagram :is(path, rect, circle),
.brand-logo--uber-eats :is(path, rect, circle) {
  fill: currentColor !important;
  stroke: none !important;
}

@media (max-width: 860px) {
  body:not(.admin-page) .site-footer--minimal {
    grid-template-columns: minmax(0, 0.76fr) minmax(0, 0.82fr) minmax(0, 1.12fr) 26px 26px 26px !important;
    gap: 6px !important;
  }

  body:not(.admin-page) .site-footer--minimal .footer-social-link {
    width: 26px !important;
    min-width: 26px !important;
    justify-self: center !important;
  }

  body:not(.admin-page) .site-footer--minimal .footer-social-link strong {
    display: none !important;
  }

  body:not(.admin-page) .site-footer--minimal .footer-social-link .brand-logo {
    width: 24px !important;
    height: 24px !important;
    flex-basis: 24px !important;
  }
}

@media (max-width: 380px) and (max-height: 700px) {
  body:not(.admin-page) .site-footer--minimal {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 0.78fr) minmax(0, 1fr) 24px 24px 24px !important;
  }

  body:not(.admin-page) .site-footer--minimal .footer-social-link,
  body:not(.admin-page) .site-footer--minimal .footer-social-link .brand-logo {
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    flex-basis: 22px !important;
  }

  body:not(.admin-page) .site-footer--minimal .footer-social-link .brand-logo svg {
    width: 13px !important;
    height: 13px !important;
  }
}

/* Mobile footer polish: keep the single-line footer readable instead of showing cut values. */
@media (max-width: 860px) {
  body:not(.admin-page) .site-footer--minimal {
    grid-template-columns: auto auto auto 28px 28px 28px !important;
    justify-content: space-between !important;
    gap: clamp(4px, 1.8vw, 8px) !important;
  }

  body:not(.admin-page) .site-footer--minimal a {
    align-items: center !important;
    gap: 0 !important;
    min-height: 30px !important;
    overflow: visible !important;
  }

  body:not(.admin-page) .site-footer--minimal a > span:not([data-brand-icon]) {
    display: none !important;
  }

  body:not(.admin-page) .site-footer--minimal strong {
    max-width: none !important;
    font-size: clamp(0.68rem, 2.55vw, 0.76rem) !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  body:not(.admin-page) .site-footer--minimal [data-footer-link="email"] strong,
  body:not(.admin-page) .site-footer--minimal [data-footer-link="maps"] strong {
    width: auto !important;
    font-size: 0 !important;
  }

  body:not(.admin-page) .site-footer--minimal [data-footer-link="email"] strong::after,
  body:not(.admin-page) .site-footer--minimal [data-footer-link="maps"] strong::after {
    color: #ffffff !important;
    font-size: clamp(0.68rem, 2.55vw, 0.76rem) !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body:not(.admin-page) .site-footer--minimal [data-footer-link="email"] strong::after {
    content: "Email";
  }

  body:not(.admin-page) .site-footer--minimal [data-footer-link="maps"] strong::after {
    content: "Y aller";
  }
}

@media (max-width: 380px) and (max-height: 700px) {
  body:not(.admin-page) .site-footer--minimal {
    grid-template-columns: auto auto auto 24px 24px 24px !important;
  }

  body:not(.admin-page) .site-footer--minimal .footer-social-link,
  body:not(.admin-page) .site-footer--minimal .footer-social-link .brand-logo {
    width: 24px !important;
    min-width: 24px !important;
    height: 24px !important;
    flex-basis: 24px !important;
  }
}

/* Product photo polish: make contained photos feel integrated, not pasted onto a blank box. */
.menu-page .product-detail .product-detail-photo {
  display: grid !important;
  place-items: center !important;
  isolation: isolate !important;
  min-height: clamp(204px, 30vh, 300px) !important;
  background:
    radial-gradient(circle at 50% 48%, color-mix(in srgb, var(--card-accent, #5f8f49) 18%, transparent), transparent 48%),
    var(--detail-photo-bg, none) center / cover no-repeat,
    var(--product-panel-surface, var(--product-photo-surface, linear-gradient(135deg, #fffdf7, #e8eadb))) !important;
}

.menu-page .product-detail .product-detail-photo::before {
  inset: -24% !important;
  filter: blur(24px) saturate(1.24) brightness(0.92) !important;
  opacity: 0.82 !important;
  transform: scale(1.14) !important;
}

.menu-page .product-detail .product-detail-photo::after {
  background:
    linear-gradient(90deg,
      color-mix(in srgb, var(--product-page-warm, var(--menu-page-warm, #e8eadb)) 24%, transparent),
      transparent 32%,
      transparent 68%,
      color-mix(in srgb, var(--product-page-warm, var(--menu-page-warm, #e8eadb)) 24%, transparent)),
    radial-gradient(circle at 50% 48%, rgba(255, 253, 247, 0), color-mix(in srgb, var(--card-deep, #183f31) 8%, transparent) 88%) !important;
}

.menu-page .product-detail .product-detail-photo img {
  height: auto !important;
  width: auto !important;
  max-width: 100% !important;
  max-height: clamp(204px, 30vh, 300px) !important;
  border-radius: 18px !important;
  clip-path: inset(0 round 18px) !important;
  box-shadow: none !important;
  filter: drop-shadow(0 12px 18px rgba(18, 46, 38, 0.13)) !important;
}

@media (max-width: 860px) {
  .menu-page .product-detail .product-detail-photo {
    min-height: clamp(172px, 28svh, 248px) !important;
    height: auto !important;
  }

  .menu-page .product-detail .product-detail-photo img {
    max-height: clamp(172px, 28svh, 248px) !important;
  }
}

/* Contact/admin mobile polish: keep core actions readable in the narrowest useful layout. */
@media (max-width: 860px) {
  .contact-page .page-hero.contact-hero {
    width: calc(100% - 20px) !important;
    border: 1px solid rgba(255, 253, 247, 0.2) !important;
    border-radius: 18px !important;
    background:
      linear-gradient(145deg, rgba(255, 253, 247, 0.24), rgba(255, 253, 247, 0.08)),
      color-mix(in srgb, var(--deep) 76%, transparent) !important;
    box-shadow: 0 18px 38px rgba(5, 22, 18, 0.18) !important;
  }

  .contact-page .page-hero.contact-hero h1,
  .contact-page .page-hero.contact-hero p:not(.eyebrow) {
    color: #fffdf7 !important;
  }

  .contact-essential-action small {
    max-width: 100% !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(5) {
    display: none !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(17) {
    display: none !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(1) {
    width: 27% !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(2) {
    width: 18% !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(3) {
    width: 15% !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(6) {
    width: 22% !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):last-child {
    width: 18% !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-ingredients {
    display: block;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-ingredients__summary {
    display: none !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-ingredients > .button,
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table .button.danger {
    width: 100%;
    min-width: 0;
    padding-inline: 0.22rem;
    font-size: 0.68rem;
    text-overflow: clip;
  }
}

@media (max-width: 520px) {
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(td):nth-child(6),
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(td):last-child {
    grid-column: auto !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border-collapse: initial !important;
    border-spacing: 0 !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table thead {
    display: none !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table tbody {
    display: grid !important;
    gap: 0.42rem !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table tr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(96px, 0.62fr);
    gap: 0.34rem !important;
    border: 1px solid rgba(18, 51, 44, 0.1) !important;
    border-radius: 14px !important;
    background: rgba(255, 253, 247, 0.84) !important;
    padding: 0.42rem !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table th,
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table td,
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(td):nth-child(1),
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(td):nth-child(2),
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(td):nth-child(3),
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(td):nth-child(6),
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(td):last-child {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    justify-self: stretch !important;
    border-bottom: 0 !important;
    padding: 0 !important;
    vertical-align: initial !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table td::before {
    content: attr(data-label);
    display: none !important;
    color: rgba(18, 51, 44, 0.62);
    font-size: 0.58rem;
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(td):nth-child(1) {
    grid-column: 1 / -1 !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(input, select, textarea, .button) {
    max-width: none !important;
    min-height: 2.12rem !important;
    font-size: 0.74rem !important;
    line-height: 1.1 !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-ingredients {
    max-width: 100% !important;
    min-height: 2.12rem !important;
    font-size: 0.74rem !important;
    line-height: 1.1 !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-ingredients {
    display: block !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-ingredients__summary {
    display: none !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(1) {
    width: auto !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(2) {
    width: auto !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(3) {
    width: auto !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):nth-child(6) {
    width: auto !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(th, td):last-child {
    width: auto !important;
  }

  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(td):nth-child(6),
  .admin-page #admin-product-data-board[data-product-data-active-table="products"] .admin-product-data-table :is(td):last-child {
    grid-column: auto !important;
  }
}

/* Mobile menu density: keep the synced product photo, but stop the detail ticket from eating the list. */
@media (max-width: 860px) {
  :root {
    --mobile-product-stack: 276px;
  }

  .menu-page .menu-category__header {
    padding: 18px 14px 6px !important;
  }

  .menu-page .menu-category__header h3 {
    font-size: clamp(1.55rem, 6.2vw, 2.75rem) !important;
    color: #fffdf7 !important;
    text-shadow: 0 2px 14px rgba(5, 22, 18, 0.34);
  }

  .menu-page .menu-category__type-nav {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
  }

  .menu-page .menu-category__type-nav button {
    width: 36px;
    height: 36px;
    font-size: 1.35rem;
  }

  .menu-page .menu-list {
    gap: 7px !important;
    max-height: calc(100svh - var(--sticky-header-height, 73px) - 152px) !important;
    padding: 0 8px 8px !important;
  }

  .menu-page .menu-item {
    min-height: 60px !important;
    border-radius: 11px !important;
  }

  .menu-page .menu-item__visual,
  .menu-page .menu-item__icon {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    border-radius: 10px !important;
  }

  .menu-page .menu-item__body strong {
    font-size: clamp(0.94rem, 3vw, 1.08rem) !important;
  }

  .menu-page .menu-item__body small {
    margin-top: 3px !important;
    font-size: 0.72rem !important;
  }

  .menu-page .product-detail {
    gap: 7px !important;
    max-height: min(276px, calc(100svh - 176px)) !important;
    padding: 9px 10px !important;
    border-radius: 17px !important;
    overflow-y: auto !important;
    scrollbar-width: none !important;
  }

  .menu-page .product-detail::-webkit-scrollbar {
    display: none !important;
  }

  .menu-page .product-detail .server-note-title {
    gap: 6px !important;
  }

  .menu-page .product-detail h3 {
    font-size: 0.98rem !important;
  }

  .menu-page .product-detail .detail-price {
    font-size: 0.98rem !important;
  }

  .menu-page .product-detail .product-detail-photo {
    min-height: 96px !important;
    height: clamp(96px, 14svh, 112px) !important;
    max-height: 112px !important;
    border-radius: 16px !important;
  }

  .menu-page .product-detail .product-detail-photo img {
    max-height: clamp(96px, 14svh, 112px) !important;
    border-radius: 14px !important;
    clip-path: inset(0 round 14px) !important;
  }

  .menu-page .product-detail .product-choice-intro {
    display: none !important;
  }

  .menu-page .product-detail .product-option-steps {
    max-height: none;
    overflow: visible;
  }

  .menu-page .product-detail .server-note-line--order,
  .menu-page .product-detail .product-order-actions {
    display: none !important;
  }

  .menu-page .product-detail .product-option-step {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    gap: 4px !important;
    padding: 1px 0 !important;
  }

  .menu-page .product-detail .product-option-step__label {
    font-size: 0.51rem !important;
  }

  .menu-page .product-detail .product-option-choice {
    min-height: 22px !important;
    padding: 3px 6px !important;
    font-size: 0.62rem !important;
  }
}

/* Public admin menu guard: the admin shortcut nav must not cover the menu. */
body:not(.admin-page).has-public-admin-nav .language-switcher {
  position: absolute !important;
  top: 8px !important;
  right: 58px !important;
  z-index: 3202 !important;
}

body:not(.admin-page):not(.has-public-admin-nav) .language-switcher {
  position: fixed !important;
  top: 15px !important;
  right: clamp(136px, 15vw, 190px) !important;
  z-index: 3202 !important;
}

body:not(.admin-page):not(.has-public-admin-nav) .language-switcher__button {
  min-height: 40px !important;
}

@media (min-width: 861px) {
  body:not(.admin-page):not(.has-public-admin-nav) .language-switcher {
    right: clamp(130px, 12vw, 150px) !important;
  }
}

body:not(.admin-page).has-public-admin-nav .language-switcher__button {
  min-height: 38px !important;
}

body:not(.admin-page).has-public-admin-nav.menu-page main {
  margin-top: 0 !important;
  padding-top: clamp(8px, 1.6vw, 14px) !important;
}

body:not(.admin-page).has-public-admin-nav.menu-page #menu {
  padding-top: 24px !important;
}

body:not(.admin-page).has-public-admin-nav.menu-page .menu-category__header h3 {
  max-width: 100% !important;
  font-size: clamp(1.55rem, 6.2vw, 2.7rem) !important;
  white-space: normal !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

body:not(.admin-page).has-public-admin-nav.menu-page .menu-list {
  max-height: calc(100svh - var(--sticky-header-height, 94px) - 130px) !important;
}

@media (max-width: 860px) {
  body:not(.admin-page).has-public-admin-nav {
    --sticky-header-height: 94px;
  }

  body:not(.admin-page).has-public-admin-nav .site-header {
    align-content: start !important;
    min-height: var(--sticky-header-height, 94px) !important;
  }

  body:not(.admin-page).has-public-admin-nav .public-admin-nav {
    align-self: end !important;
  }

  body:not(.admin-page).has-public-admin-nav .language-switcher {
    right: 56px !important;
  }

  body:not(.admin-page).has-public-admin-nav .language-switcher__button {
    max-width: 88px !important;
    min-width: 0 !important;
    padding-inline: 12px !important;
  }

  body:not(.admin-page).has-public-admin-nav.menu-page main {
    height: calc(100svh - var(--sticky-header-height, 94px) - 34px) !important;
    max-height: calc(100svh - var(--sticky-header-height, 94px) - 34px) !important;
  }

  body:not(.admin-page).has-public-admin-nav.menu-page .menu-grid {
    height: 100% !important;
    min-height: 0 !important;
  }

body:not(.admin-page).has-public-admin-nav.menu-page .menu-category {
    height: 100% !important;
    min-height: 0 !important;
  }
}

@media (min-width: 521px) and (max-width: 860px) {
  body:not(.admin-page).has-public-admin-nav.menu-page #menu {
    padding-top: 30px !important;
  }
}

/* Final background pass: subtle tapioca dust, no green halo or broken star field. */
body:not(.admin-page) .bubble-sky {
  z-index: 0 !important;
  opacity: 0.12 !important;
  filter: saturate(0.68) blur(0.08px) !important;
  mix-blend-mode: normal !important;
  pointer-events: none !important;
}

body.shop-is-open:not(.admin-page) .bubble-sky {
  opacity: 0.075 !important;
}

body.shop-is-closed:not(.admin-page) .bubble-sky,
body:not(.shop-is-open):not(.admin-page) .bubble-sky {
  opacity: 0.13 !important;
}

body.menu-page .bubble-sky {
  opacity: 0.14 !important;
  filter: saturate(0.56) blur(0.1px) !important;
}

body.motion-calm .bubble-sky,
body.motion-calm.menu-page .bubble-sky {
  opacity: 0.045 !important;
}

.mini-sky {
  opacity: 0.22 !important;
  filter: none !important;
  box-shadow: none !important;
  mix-blend-mode: normal !important;
}

body.menu-page .menu-category .mini-sky {
  display: none !important;
}

@media (max-width: 520px) {
  body:not(.admin-page).has-public-admin-nav {
    --sticky-header-height: 92px;
  }

  body:not(.admin-page).has-public-admin-nav .site-header {
    gap: 5px 7px !important;
    padding: 7px 8px !important;
  }

  body:not(.admin-page).has-public-admin-nav .public-admin-nav a {
    min-height: 1.72rem !important;
    font-size: 0.63rem !important;
  }

  body:not(.admin-page).has-public-admin-nav .language-switcher {
    right: 52px !important;
    top: 7px !important;
  }

  body:not(.admin-page).has-public-admin-nav .language-switcher__button {
    max-width: 76px !important;
    min-height: 36px !important;
    padding-inline: 9px !important;
    font-size: 0.76rem !important;
  }

  body:not(.admin-page).has-public-admin-nav.menu-page #menu {
    padding-top: 18px !important;
  }

  body:not(.admin-page):not(.has-public-admin-nav).menu-page #menu {
    padding-top: 18px !important;
  }
}

/* Menu footer contrast guard: the menu background is dark even when shop-is-open makes other pages light. */
body:not(.admin-page).menu-page .site-footer--minimal,
body:not(.admin-page).menu-page .site-footer--minimal a,
body:not(.admin-page).menu-page .site-footer--minimal strong {
  color: #ffffff !important;
}

body:not(.admin-page).menu-page .site-footer--minimal span {
  color: rgba(255, 255, 255, 0.76) !important;
}

/* Public footer contrast guard: the fixed footer sits on the dark green wash. */
body:not(.admin-page) .site-footer--minimal,
body:not(.admin-page) .site-footer--minimal a,
body:not(.admin-page) .site-footer--minimal strong,
body.shop-is-open:not(.admin-page) .site-footer--minimal,
body.shop-is-open:not(.admin-page) .site-footer--minimal a,
body.shop-is-open:not(.admin-page) .site-footer--minimal strong,
body:not(.admin-page) .site-footer--minimal [data-footer-link="email"] strong::after,
body:not(.admin-page) .site-footer--minimal [data-footer-link="maps"] strong::after,
body.shop-is-open:not(.admin-page) .site-footer--minimal [data-footer-link="email"] strong::after,
body.shop-is-open:not(.admin-page) .site-footer--minimal [data-footer-link="maps"] strong::after {
  color: #ffffff !important;
}

body:not(.admin-page) .site-footer--minimal span,
body.shop-is-open:not(.admin-page) .site-footer--minimal span {
  color: rgba(255, 255, 255, 0.76) !important;
}

/* Admin tablet polish: secondary table actions should not push the product grid down. */
@media (min-width: 521px) and (max-width: 860px) {
  .admin-page .admin-product-data-actions {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .admin-page .admin-product-data-actions .button,
  .admin-page .admin-product-data-actions .admin-import {
    width: 100% !important;
    min-height: 34px !important;
    padding: 0.48rem 0.6rem !important;
    white-space: nowrap !important;
  }
}

/* Title rhythm guard: avoid clipped accents/descenders on large public headings. */
body:not(.admin-page) h1 {
  line-height: 1.14;
}

body:not(.admin-page).menu-page .menu-category__header h3 {
  line-height: 1.14 !important;
}

/* Menu ingredients pass: show ingredients directly, bold only allergen ingredients. */
.menu-page .menu-item__body small {
  display: block !important;
  max-width: 100% !important;
  overflow: visible !important;
  color: #5e6970 !important;
  font-size: clamp(0.68rem, 1.35vw, 0.82rem) !important;
  font-weight: 850 !important;
  line-height: 1.24 !important;
  text-overflow: clip !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.menu-page .menu-item__body small span,
.menu-page .menu-item__body small strong {
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.menu-page .menu-item__body small strong {
  color: #17372b !important;
  font-weight: 980 !important;
}

/* Product detail option guard: choices wrap inside the panel instead of bleeding out. */
.menu-page .product-detail .product-option-step {
  align-items: start !important;
}

.menu-page .product-detail .product-option-step__choices {
  display: flex !important;
  flex-wrap: wrap !important;
  max-width: 100% !important;
  max-height: min(22svh, 132px) !important;
  min-width: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-snap-type: none !important;
  scrollbar-width: none !important;
}

.menu-page .product-detail .product-option-step__choices::-webkit-scrollbar {
  display: none !important;
}

.menu-page .product-detail .product-option-choice {
  flex: 1 1 max(72px, calc(33.333% - 6px)) !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.menu-page .product-detail .product-option-choice span,
.menu-page .product-detail .product-option-choice small {
  min-width: 0 !important;
  max-width: 100% !important;
  line-height: 1.08 !important;
  overflow-wrap: anywhere !important;
}

/* Product detail final fit: keep all option steps reachable instead of letting the photo push them out. */
@media (min-width: 1080px) {
  .menu-page .menu-studio {
    align-items: start !important;
  }

  .menu-page .product-detail {
    align-self: start !important;
    gap: 7px !important;
    height: auto !important;
    max-height: calc(100svh - var(--sticky-header-height, 72px) - 56px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 12px !important;
    scrollbar-width: none !important;
  }

  .menu-page .product-detail::-webkit-scrollbar {
    display: none !important;
  }

  .menu-page .product-detail .product-detail-photo {
    height: clamp(88px, 13svh, 116px) !important;
    min-height: 0 !important;
    max-height: 116px !important;
    border-radius: 16px !important;
  }

  .menu-page .product-detail .product-detail-photo img {
    width: auto !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 116px !important;
    border-radius: 15px !important;
    clip-path: inset(0 round 15px) !important;
    object-fit: contain !important;
  }

  .menu-page .product-detail .product-choice-intro p {
    display: none !important;
  }

  .menu-page .product-detail .product-option-steps {
    gap: 1px !important;
  }

  .menu-page .product-detail .product-option-step {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    gap: 6px !important;
    padding: 2px 0 !important;
  }

  .menu-page .product-detail .product-option-step__choices {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 4px !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .menu-page .product-detail [data-product-option-step="temperature"] .product-option-step__choices {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .menu-page .product-detail .product-option-choice {
    min-height: 24px !important;
    padding: 4px 5px !important;
    font-size: 0.64rem !important;
  }

  .menu-page .product-detail .product-option-choice small {
    font-size: 0.6rem !important;
  }

  .menu-page .product-detail .product-technical-card {
    gap: 5px !important;
    padding: 7px !important;
  }

  .menu-page .product-detail .product-technical-card span {
    font-size: 0.54rem !important;
  }

  .menu-page .product-detail .product-technical-card strong {
    font-size: 0.74rem !important;
  }

  .menu-page .product-detail .product-technical-card small {
    display: none !important;
  }
}

@media (max-width: 860px) {
  .menu-page .menu-studio {
    overflow: visible !important;
  }

  .menu-page .product-detail {
    max-height: min(340px, calc(100svh - 144px)) !important;
  }

  .menu-page .product-detail .product-detail-photo {
    height: clamp(76px, 11svh, 92px) !important;
    min-height: 0 !important;
    max-height: 92px !important;
  }

  .menu-page .product-detail .product-detail-photo img {
    height: 100% !important;
    max-height: 92px !important;
    object-fit: contain !important;
  }

  .menu-page .product-detail .product-option-step__choices {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4px !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .menu-page .product-detail [data-product-option-step="size"] .product-option-step__choices,
  .menu-page .product-detail [data-product-option-step="sugar"] .product-option-step__choices,
  .menu-page .product-detail [data-product-option-step="topping"] .product-option-step__choices {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .menu-page .product-detail [data-product-option-step="temperature"] .product-option-step__choices {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 860px) and (max-height: 740px) {
  .menu-page .product-detail {
    max-height: min(312px, calc(100svh - 132px)) !important;
  }
}

/* Contact fallback: if Google auth is slow, the customer still gets direct useful actions. */
.contact-chat-view .chat-loading-panel,
.contact-chat-view .chat-auth-panel {
  border-radius: 16px !important;
  box-shadow: 0 20px 54px rgba(5, 22, 18, 0.16) !important;
}

.chat-fallback-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.chat-fallback-actions .button {
  min-height: 44px;
  justify-content: center;
  padding-inline: 12px;
  text-align: center;
}

.contact-page.contact-chat-is-open .contact-chat-view:not(.is-chat-auth-ready) {
  align-content: start !important;
}

.contact-page.contact-chat-is-open .chat-loading-panel {
  width: min(720px, 100%) !important;
  justify-self: center !important;
}

@media (max-width: 860px) {
  .contact-page.contact-chat-is-open .contact-chat-view:not(.is-chat-auth-ready) {
    align-content: start !important;
  }

  .contact-chat-view .chat-loading-panel,
  .contact-chat-view .chat-auth-panel {
    border-radius: 14px !important;
  }

  .chat-fallback-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .chat-fallback-actions .button {
    min-height: 40px !important;
    padding-inline: 8px !important;
    font-size: 0.78rem !important;
  }
}

/* Narrow mobile polish: keep the first screen useful instead of letting dense panels run under the footer. */
@media (max-width: 340px) {
  .story-home .story-hero {
    padding-inline: 12px !important;
  }

  .story-home .story-hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.42rem) !important;
    line-height: 0.94 !important;
  }

  .story-home .hero-content > p.story-hero__lead {
    font-size: 0.84rem !important;
    line-height: 1.25 !important;
  }

  .home-open-sign {
    margin-top: 8px !important;
    padding: 10px 12px !important;
  }

  .home-open-sign strong {
    font-size: 1.05rem !important;
  }

  .home-open-sign small {
    font-size: 0.68rem !important;
  }

  .story-home .hero-actions {
    gap: 7px !important;
  }

  .story-home .hero-actions .button {
    min-height: 44px !important;
    padding-inline: 14px !important;
    font-size: 0.94rem !important;
  }

  .story-home .home-daily-quote {
    gap: 5px !important;
    max-height: 118px !important;
    overflow: hidden !important;
    padding: 10px !important;
  }

  .story-home .home-daily-quote span {
    font-size: 0.58rem !important;
  }

  .story-home .home-daily-quote p {
    display: -webkit-box !important;
    overflow: hidden !important;
    font-size: 0.78rem !important;
    line-height: 1.18 !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .story-home .home-daily-quote strong {
    display: none !important;
  }

  .menu-page .product-detail {
    max-height: min(284px, calc(100svh - 128px)) !important;
    padding: 8px 9px !important;
  }

  .menu-page .product-detail .product-detail-photo {
    height: 58px !important;
    max-height: 58px !important;
  }

  .menu-page .product-detail .product-detail-photo img {
    max-height: 58px !important;
  }

  .menu-page .product-detail .product-option-step {
    grid-template-columns: 34px minmax(0, 1fr) !important;
  }

  .menu-page .product-detail .product-option-step__label {
    font-size: 0.48rem !important;
  }

  .menu-page .product-detail .product-option-choice {
    min-height: 20px !important;
    padding: 2px 5px !important;
    font-size: 0.56rem !important;
  }
}

@media (max-width: 420px) {
  .admin-page .admin-topbar {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    width: 100%;
    box-sizing: border-box;
  }

  .admin-page .admin-section-nav {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    margin-inline: calc((100% - (100vw - 16px)) / 2) !important;
  }

  .admin-page .admin-section-nav a {
    min-width: 0;
    gap: 0.18rem !important;
    padding-inline: 0.42rem !important;
  }

  .admin-page .admin-section-nav strong {
    font-size: clamp(0.62rem, 2.55vw, 0.72rem);
    min-width: 0;
    white-space: nowrap;
  }

  .admin-page .admin-section-nav a[data-badge]::after {
    display: none !important;
  }

  .admin-page .admin-data-shell {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .admin-page .admin-data-shell > h3 {
    white-space: nowrap !important;
  }

  .admin-page .admin-data-workbench .admin-panel-actions {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100%;
    justify-content: stretch !important;
  }

  .admin-page .admin-data-workbench .admin-panel-actions .button {
    width: 100% !important;
  }
}

/* Final visual audit fixes: keep the public header and first screens clean. */
body:not(.admin-page).story-home .story-hero h1,
body:not(.admin-page).story-home .hero-content h1 {
  max-width: 100% !important;
  white-space: nowrap !important;
  font-size: clamp(2.05rem, 5vw, 4rem) !important;
  line-height: 1.04 !important;
}

@media (max-width: 860px) {
  body:not(.admin-page) .site-header .brand strong,
  body:not(.admin-page) .site-header .brand small {
    display: none !important;
  }

  body:not(.admin-page) .site-header .brand {
    max-width: 48px !important;
    padding-right: 0 !important;
  }

  body:not(.admin-page).story-home .story-hero h1,
  body:not(.admin-page).story-home .hero-content h1 {
    width: 100% !important;
    font-size: clamp(1.9rem, 8.8vw, 2.15rem) !important;
    letter-spacing: 0 !important;
  }

  .contact-page main {
    align-content: start !important;
    padding-top: 12px !important;
  }

  .contact-page .page-hero.contact-hero {
    margin-top: 0 !important;
  }
}

@media (max-width: 430px) and (min-height: 701px) {
  .story-home .story-hero {
    padding-top: 7px !important;
    padding-bottom: 44px !important;
  }

  .story-home .story-hero__shell {
    align-content: start !important;
    gap: 8px !important;
  }

  .story-home .hero-content > p.story-hero__lead {
    font-size: 0.84rem !important;
    line-height: 1.22 !important;
  }

  .story-home .home-open-sign {
    margin-top: 8px !important;
    padding: 10px 12px !important;
  }

  .story-home .hero-actions {
    gap: 7px !important;
  }

  .story-home .hero-actions .button {
    min-height: 45px !important;
    padding-inline: 14px !important;
  }

  .story-home .home-daily-quote {
    gap: 5px !important;
    padding: 10px 12px !important;
  }

  .story-home .home-daily-quote p {
    margin: 0 !important;
    font-size: 0.82rem !important;
    line-height: 1.16 !important;
  }

  .story-home .home-daily-quote strong {
    font-size: 0.62rem !important;
    line-height: 1.1 !important;
  }
}

@media (max-width: 360px) {
  body:not(.admin-page).story-home .story-hero h1,
  body:not(.admin-page).story-home .hero-content h1 {
    font-size: clamp(1.72rem, 8.6vw, 1.9rem) !important;
  }
}

@media (min-width: 861px) {
  .contact-page .page-hero.contact-hero .eyebrow,
  .contact-page .page-hero.contact-hero h1,
  .contact-page .page-hero.contact-hero p:not(.eyebrow) {
    color: #12332c !important;
    text-shadow: none !important;
  }
}

.contact-essential-action {
  white-space: normal !important;
}

.contact-essential-action strong,
.contact-essential-action small {
  white-space: normal !important;
  text-overflow: clip !important;
}

/* Product detail finish: show the full drink while making the photo feel native to the panel. */
.menu-page .product-detail .product-detail-photo {
  min-height: clamp(112px, 16svh, 128px) !important;
  height: clamp(112px, 16svh, 128px) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(90deg,
      rgba(204, 215, 194, 0.38),
      transparent 24%,
      transparent 76%,
      rgba(204, 215, 194, 0.38)),
    linear-gradient(180deg, rgba(255, 253, 247, 0.08), rgba(5, 22, 18, 0.06)),
    var(--detail-photo-bg, none) center / cover no-repeat,
    var(--product-panel-surface, #e8eadb) !important;
}

.menu-page .product-detail .product-detail-photo::before {
  inset: -10% !important;
  opacity: 0.46 !important;
  filter: blur(12px) saturate(1.18) brightness(0.9) !important;
}

.menu-page .product-detail .product-detail-photo::after {
  background:
    radial-gradient(circle at 50% 48%, transparent 34%, rgba(18, 51, 44, 0.08) 100%),
    linear-gradient(90deg, rgba(232, 234, 219, 0.3), transparent 24%, transparent 76%, rgba(232, 234, 219, 0.3)) !important;
}

.menu-page .product-detail .product-detail-photo img {
  width: auto !important;
  height: clamp(104px, 15svh, 124px) !important;
  max-width: calc(100% - 10px) !important;
  max-height: clamp(104px, 15svh, 124px) !important;
  border-radius: 16px !important;
  clip-path: inset(0 round 16px) !important;
  filter: drop-shadow(0 10px 16px rgba(5, 22, 18, 0.16)) !important;
  object-fit: contain !important;
}

@media (max-width: 860px) {
  .menu-page .product-detail .product-detail-photo {
    min-height: clamp(84px, 11svh, 104px) !important;
    height: clamp(84px, 11svh, 104px) !important;
    max-height: 104px !important;
  }

  .menu-page .product-detail .product-detail-photo img {
    height: clamp(78px, 10svh, 96px) !important;
    max-width: calc(100% - 10px) !important;
    max-height: clamp(78px, 10svh, 96px) !important;
  }

  .menu-page .product-detail .product-option-step {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 0 !important;
  }

  .menu-page .product-detail .product-option-step__choices {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 3px !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
  }

  .menu-page .product-detail .product-option-step__choices::-webkit-scrollbar {
    display: none !important;
  }

  .menu-page .product-detail .product-option-choice {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    min-height: 22px !important;
    padding: 3px 7px !important;
    font-size: 0.58rem !important;
    white-space: nowrap !important;
  }

  .menu-page .product-detail .product-option-choice span,
  .menu-page .product-detail .product-option-choice small {
    white-space: nowrap !important;
    overflow-wrap: normal !important;
  }
}

@media (max-width: 340px) {
  .menu-page .product-detail .product-detail-photo {
    min-height: 64px !important;
    height: 64px !important;
    max-height: 64px !important;
  }

  .menu-page .product-detail .product-detail-photo img {
    max-height: 58px !important;
  }
}

/* Product option dropdowns: one compact row per step, full choice list on click. */
.menu-page .product-detail .product-option-step {
  overflow: visible !important;
}

.menu-page .product-detail .product-option-step.is-open {
  position: relative;
  z-index: 50;
}

.menu-page .product-detail .product-option-step__choices {
  position: relative !important;
  display: block !important;
  min-width: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

.menu-page .product-detail [data-product-option-step] .product-option-step__choices {
  display: block !important;
  grid-template-columns: none !important;
  overflow: visible !important;
}

.menu-page .product-detail .product-option-choice--trigger {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 30px !important;
  justify-content: space-between !important;
  padding-inline: 10px !important;
}

.menu-page .product-detail .product-option-choice__chevron {
  display: inline-block;
  width: 0.48em;
  height: 0.48em;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.8;
}

.menu-page .product-detail .product-option-step.is-open .product-option-choice__chevron {
  transform: rotate(225deg) translate(-1px, -1px);
}

.menu-page .product-detail .product-option-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  left: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 5px;
  max-height: min(240px, 42svh);
  overflow-y: auto;
  border: 1px solid color-mix(in srgb, var(--card-deep, #12332c) 22%, rgba(255, 255, 255, 0.5));
  border-radius: 14px;
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--product-page-warm, #fffdf7) 96%, #ffffff 4%),
      color-mix(in srgb, var(--product-page-soft, #dce8cf) 72%, #ffffff 28%));
  box-shadow: 0 18px 40px rgba(5, 22, 18, 0.34);
  padding: 7px;
  scrollbar-width: none;
}

.menu-page .product-detail .product-option-dropdown[hidden] {
  display: none !important;
}

.menu-page .product-detail .product-option-dropdown::-webkit-scrollbar {
  display: none !important;
}

.menu-page .product-detail .product-option-dropdown__item {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 30px !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  padding: 7px 8px !important;
  white-space: normal !important;
}

.menu-page .product-detail .product-option-dropdown__item:not(.is-selected) {
  background: color-mix(in srgb, var(--product-page-warm, #fffdf7) 74%, rgba(255, 255, 255, 0.34));
  color: color-mix(in srgb, var(--card-deep, #12332c) 82%, #ffffff 18%);
  opacity: 0.94;
}

.menu-page .product-detail .product-option-dropdown__item:not(.is-selected):hover,
.menu-page .product-detail .product-option-dropdown__item:not(.is-selected):focus-visible {
  opacity: 1;
  color: color-mix(in srgb, var(--card-deep, #12332c) 82%, #ffffff 18%);
}

.menu-page .product-detail [data-product-option-step="milk"] .product-option-dropdown,
.menu-page .product-detail [data-product-option-step="sugar"] .product-option-dropdown,
.menu-page .product-detail [data-product-option-step="topping"] .product-option-dropdown {
  top: auto !important;
  bottom: calc(100% + 5px) !important;
}

.menu-page .product-detail .product-option-step.is-open {
  align-items: start !important;
}

@media (max-width: 760px) {
  .menu-page .product-detail .product-option-step__choices {
    display: block !important;
    overflow: visible !important;
  }

  .menu-page .product-detail .product-option-choice--trigger {
    min-width: 0 !important;
    white-space: nowrap !important;
  }

  .menu-page .product-detail .product-option-dropdown {
    display: none !important;
  }

  .menu-page .product-detail .product-option-choice__chevron {
    transform: rotate(-45deg);
  }
}

/* Menu tablet/mobile layout: products stay selectable; detail becomes a compact bottom dock. */
@media (max-width: 1079px) {
  body.menu-page {
    --menu-detail-dock-height: clamp(134px, 23svh, 168px);
    --menu-footer-height: 38px;
  }

  body:not(.admin-page).menu-page main {
    max-height: calc(100svh - var(--sticky-header-height, 73px) - var(--menu-footer-height)) !important;
    padding-bottom: calc(var(--menu-detail-dock-height) + var(--menu-footer-height) + 12px) !important;
  }

  body:not(.admin-page).has-public-admin-nav.menu-page main {
    max-height: calc(100svh - var(--sticky-header-height, 94px) - var(--menu-footer-height)) !important;
  }

  .menu-page #menu {
    min-height: calc(100svh - var(--sticky-header-height, 73px) - var(--menu-footer-height)) !important;
    padding-top: 8px !important;
    padding-bottom: calc(var(--menu-detail-dock-height) + 8px) !important;
  }

  body:not(.admin-page).has-public-admin-nav.menu-page #menu {
    min-height: calc(100svh - var(--sticky-header-height, 94px) - var(--menu-footer-height)) !important;
    padding-top: 8px !important;
  }

  .menu-page .menu-studio {
    width: min(100% - 20px, 940px) !important;
    max-width: min(100% - 20px, 940px) !important;
    margin-inline: auto !important;
    overflow: visible !important;
  }

  .menu-page .menu-studio::before {
    inset: -18px -14px calc(var(--menu-detail-dock-height) * -0.22) !important;
    filter: blur(18px) !important;
    opacity: 0.72 !important;
  }

  .menu-page .menu-grid {
    height: calc(100svh - var(--sticky-header-height, 73px) - var(--menu-detail-dock-height) - var(--menu-footer-height) - 24px) !important;
    min-height: 250px !important;
    max-height: calc(100svh - var(--sticky-header-height, 73px) - var(--menu-detail-dock-height) - var(--menu-footer-height) - 24px) !important;
    padding: 0 2px 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    touch-action: pan-x pan-y !important;
  }

  body:not(.admin-page).has-public-admin-nav.menu-page .menu-grid {
    height: calc(100svh - var(--sticky-header-height, 94px) - var(--menu-detail-dock-height) - var(--menu-footer-height) - 20px) !important;
    max-height: calc(100svh - var(--sticky-header-height, 94px) - var(--menu-detail-dock-height) - var(--menu-footer-height) - 20px) !important;
  }

  .menu-page .menu-grid.is-menu-transitioning {
    pointer-events: auto !important;
  }

  .menu-page .menu-grid.is-dragging :is(.menu-item, .menu-category__type-nav button, .menu-create-slide__action) {
    pointer-events: auto !important;
  }

  .menu-page .menu-category {
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
  }

  .menu-page .menu-category__header {
    padding: 14px 14px 7px !important;
  }

  .menu-page .menu-list {
    min-height: 0 !important;
    height: 100% !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: contain !important;
    padding: 0 8px 16px !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch;
  }

  .menu-page .menu-list::-webkit-scrollbar {
    display: none !important;
  }

  body.menu-page:not(.product-detail-undocked) .product-detail:not([hidden]) {
    position: fixed !important;
    top: auto !important;
    right: max(10px, env(safe-area-inset-right)) !important;
    bottom: calc(var(--menu-footer-height) + 8px + env(safe-area-inset-bottom)) !important;
    left: max(10px, env(safe-area-inset-left)) !important;
    z-index: 3300 !important;
    display: grid !important;
    align-content: start !important;
    width: auto !important;
    max-width: min(760px, calc(100vw - 20px)) !important;
    height: var(--menu-detail-dock-height) !important;
    max-height: var(--menu-detail-dock-height) !important;
    margin-inline: auto !important;
    gap: 6px !important;
    border-radius: 16px !important;
    padding: 10px 12px !important;
    overflow: hidden !important;
    box-shadow: 0 18px 44px rgba(5, 22, 18, 0.34) !important;
  }

  body.product-detail-undocked.menu-page .product-detail {
    display: none !important;
  }

  .menu-page .product-detail .server-note-head,
  .menu-page .product-detail .server-note-title p,
  .menu-page .product-detail .product-detail-photo,
  .menu-page .product-detail .product-cup-stage,
  .menu-page .product-detail .product-choice-intro,
  .menu-page .product-detail .product-technical-card,
  .menu-page .product-detail .product-action-path,
  .menu-page .product-detail .server-note-line,
  .menu-page .product-detail .server-note-footer {
    display: none !important;
  }

  .menu-page .product-detail .server-note-title {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    align-items: center !important;
    min-height: 22px !important;
    padding: 0 !important;
  }

  .menu-page .product-detail h3 {
    font-size: clamp(0.95rem, 2.9vw, 1.12rem) !important;
    line-height: 1.04 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .menu-page .product-detail .detail-price {
    min-width: auto !important;
    color: color-mix(in srgb, var(--card-deep, #12332c) 86%, #ffffff 14%) !important;
    font-size: clamp(0.92rem, 2.4vw, 1.05rem) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .menu-page .product-detail .product-choice-brief {
    gap: 0 !important;
  }

  .menu-page .product-detail .product-option-steps {
    display: grid !important;
    gap: 2px !important;
    overflow: visible !important;
  }

  .menu-page .product-detail .product-option-step {
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) !important;
    gap: 5px !important;
    align-items: center !important;
    min-height: 20px !important;
    padding: 0 !important;
    border-top-color: color-mix(in srgb, var(--card-deep, #12332c) 12%, transparent) !important;
  }

  .menu-page .product-detail .product-option-step__label {
    color: color-mix(in srgb, var(--card-deep, #12332c) 70%, #ffffff 30%) !important;
    font-size: 0.5rem !important;
    line-height: 1 !important;
  }

  .menu-page .product-detail .product-option-choice--trigger {
    min-height: 20px !important;
    border-color: color-mix(in srgb, var(--card-deep, #12332c) 22%, transparent) !important;
    background: color-mix(in srgb, var(--card-deep, #12332c) 76%, #ffffff 24%) !important;
    color: #fffdf7 !important;
    font-size: 0.58rem !important;
    line-height: 1 !important;
    padding: 3px 8px !important;
  }

  .menu-page .product-detail .product-option-choice--trigger span:not(.product-option-choice__chevron) {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
}

.menu-page .menu-item__title-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.menu-page .menu-item__title-line strong {
  min-width: 0;
}

.menu-page .menu-item__price {
  flex: 0 0 auto;
  margin-left: auto;
  color: color-mix(in srgb, var(--card-deep, #12332c) 78%, #ffffff 22%);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.menu-page .menu-item__options {
  display: none;
}

/* Compact menu mode: on cramped screens, keep only product choice. */
@media (max-width: 760px), (max-width: 1079px) and (max-height: 720px) {
  body.menu-page {
    padding-bottom: 0 !important;
  }

  body.menu-page {
    --menu-detail-dock-height: 0px;
    --menu-footer-height: 38px;
  }

  body:not(.admin-page).menu-page main,
  body:not(.admin-page).has-public-admin-nav.menu-page main {
    max-height: calc(100svh - var(--sticky-header-height, 73px) - var(--menu-footer-height)) !important;
    padding-bottom: 0 !important;
  }

  body:not(.admin-page).has-public-admin-nav.menu-page main {
    max-height: calc(100svh - var(--sticky-header-height, 94px) - var(--menu-footer-height)) !important;
  }

  .menu-page #menu,
  body:not(.admin-page).has-public-admin-nav.menu-page #menu {
    min-height: calc(100svh - var(--sticky-header-height, 73px) - var(--menu-footer-height)) !important;
    padding-top: 8px !important;
    padding-bottom: 6px !important;
  }

  body:not(.admin-page).has-public-admin-nav.menu-page #menu {
    min-height: calc(100svh - var(--sticky-header-height, 94px) - var(--menu-footer-height)) !important;
  }

  .menu-page .menu-studio {
    width: min(100% - 16px, 760px) !important;
    max-width: min(100% - 16px, 760px) !important;
  }

  .menu-page .menu-studio::before {
    inset: -16px -10px -10px !important;
    opacity: 0.58 !important;
  }

  .menu-page .menu-grid,
  body:not(.admin-page).has-public-admin-nav.menu-page .menu-grid {
    height: calc(100svh - var(--sticky-header-height, 73px) - var(--menu-footer-height) - 18px) !important;
    max-height: calc(100svh - var(--sticky-header-height, 73px) - var(--menu-footer-height) - 18px) !important;
    min-height: 300px !important;
    padding-bottom: 8px !important;
  }

  body:not(.admin-page).has-public-admin-nav.menu-page .menu-grid {
    height: calc(100svh - var(--sticky-header-height, 94px) - var(--menu-footer-height) - 18px) !important;
    max-height: calc(100svh - var(--sticky-header-height, 94px) - var(--menu-footer-height) - 18px) !important;
  }

  .menu-page .menu-category__header {
    padding: 18px 12px 8px !important;
  }

  .menu-page .menu-list {
    padding: 0 8px 14px !important;
  }

  .menu-page .menu-item {
    border-color: color-mix(in srgb, var(--card-deep, #12332c) 20%, transparent) !important;
    background:
      linear-gradient(90deg,
        rgba(255, 253, 247, 0.68),
        rgba(255, 253, 247, 0.48) 64%,
        color-mix(in srgb, var(--card-accent, #5f8f49) 16%, rgba(255, 253, 247, 0.34))) !important;
    box-shadow: inset 0 1px 0 rgba(255, 253, 247, 0.2) !important;
  }

  .menu-page .menu-item:hover,
  .menu-page .menu-item:focus-visible,
  .menu-page .menu-item.is-selected,
  .menu-page .menu-item-wrap.is-selected .menu-item {
    background:
      linear-gradient(90deg,
        rgba(255, 253, 247, 0.78),
        rgba(255, 253, 247, 0.56) 62%,
        color-mix(in srgb, var(--card-accent, #5f8f49) 22%, rgba(255, 253, 247, 0.38))) !important;
    border-color: color-mix(in srgb, var(--card-deep, #12332c) 52%, transparent) !important;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--card-deep, #12332c) 28%, transparent) !important;
    transform: none !important;
  }

  .menu-page .menu-item__body strong,
  .menu-page .menu-item__price {
    color: color-mix(in srgb, var(--card-deep, #12332c) 92%, #000 8%) !important;
    text-shadow: none !important;
  }

  .menu-page .menu-item__body small {
    display: -webkit-box;
    color: color-mix(in srgb, var(--card-deep, #12332c) 70%, #fffdf7 30%) !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    white-space: normal !important;
  }

  .menu-page .menu-item__options {
    display: block;
    margin-top: 5px;
    min-width: 0;
    color: color-mix(in srgb, var(--card-deep, #12332c) 78%, #fffdf7 22%);
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.2;
    white-space: normal;
  }

  .menu-page .menu-item__options::before {
    content: "Options : ";
    color: color-mix(in srgb, var(--card-deep, #12332c) 76%, #fffdf7 24%);
  }

  .menu-page .menu-item__options span {
    display: inline;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    padding: 0;
    white-space: normal;
  }

  .menu-page .menu-item__options i {
    color: color-mix(in srgb, var(--card-deep, #12332c) 58%, #fffdf7 42%);
    font-style: normal;
    padding: 0 0.32em;
  }

  .menu-page .menu-item__options span + span::before {
    content: " · ";
    color: color-mix(in srgb, var(--card-deep, #12332c) 44%, #fffdf7 56%);
  }

  body.menu-page:not(.product-detail-undocked) .product-detail:not([hidden]),
  body.product-detail-undocked.menu-page .product-detail {
    display: none !important;
    pointer-events: none !important;
  }

  .menu-page .menu-item__title-line {
    gap: 6px;
  }

  .menu-page .menu-item__price {
    font-size: 0.72rem;
  }

  .menu-page .menu-item__options {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    max-height: 38px;
    overflow: hidden;
    font-size: 0.61rem;
    line-height: 1.15;
  }

  .menu-page .menu-item__options::before,
  .menu-page .menu-item__options i,
  .menu-page .menu-item__options span + span::before {
    content: none !important;
    display: none !important;
  }

  .menu-page .menu-item__options span {
    display: inline-flex;
    min-height: 17px;
    align-items: center;
    border: 1px solid color-mix(in srgb, var(--card-deep, #12332c) 15%, transparent);
    border-radius: 999px;
    background: rgba(255, 253, 247, 0.38);
    padding: 2px 6px;
    white-space: nowrap;
  }
}

/* Desktop menu fit: keep the product card in its own column on short/medium screens. */
@media (min-width: 1080px) {
  body.menu-page {
    --menu-footer-height: 38px;
    --detail-photo-height: clamp(118px, 16svh, 130px);
  }

  .menu-page .menu-studio {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 360px) !important;
    gap: clamp(14px, 1.5vw, 18px) !important;
    align-items: start !important;
    width: min(1180px, 100%) !important;
    max-width: 100% !important;
    margin-inline: auto !important;
  }

  .menu-page .menu-grid {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .menu-page .product-detail:not([hidden]) {
    grid-column: auto !important;
    grid-row: auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 360px !important;
    height: auto !important;
    max-height: calc(100svh - var(--sticky-header-height, 72px) - var(--menu-footer-height, 38px) - 18px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-width: none !important;
  }

  .menu-page .product-detail:not([hidden])::-webkit-scrollbar {
    display: none !important;
  }

  .menu-page .product-detail .product-detail-photo {
    width: 100% !important;
    height: var(--detail-photo-height) !important;
    max-height: var(--detail-photo-height) !important;
    min-height: 0 !important;
    background:
      linear-gradient(135deg,
        color-mix(in srgb, var(--product-page-warm, #fffdf7) 68%, transparent),
        color-mix(in srgb, var(--product-page-soft, #dce8cf) 54%, transparent)),
      var(--product-panel-surface, #e8eadb) !important;
  }

  .menu-page .product-detail .product-detail-photo::before {
    opacity: 0.24 !important;
    filter: blur(18px) saturate(1.12) brightness(0.9) !important;
  }

  .menu-page .product-detail .product-detail-photo img {
    width: auto !important;
    height: var(--detail-photo-height) !important;
    max-width: 100% !important;
    max-height: var(--detail-photo-height) !important;
    object-fit: contain !important;
    object-position: center !important;
  }
}

@media (min-width: 1080px) and (max-height: 700px) {
  body.menu-page {
    --detail-photo-height: clamp(78px, 13svh, 92px);
  }

  body:not(.admin-page).menu-page main {
    max-height: calc(100svh - var(--sticky-header-height, 72px) - var(--menu-footer-height, 38px)) !important;
    overflow: hidden !important;
  }

  .menu-page .product-detail:not([hidden]) {
    gap: 6px !important;
    max-height: calc(100svh - var(--sticky-header-height, 72px) - var(--menu-footer-height, 38px) - 28px) !important;
    padding: 10px !important;
  }

  .menu-page .product-detail .server-note-head,
  .menu-page .product-detail .server-note-title {
    gap: 6px !important;
  }

  .menu-page .product-detail h3 {
    font-size: clamp(1.05rem, 1.25vw, 1.24rem) !important;
    line-height: 1.05 !important;
  }

  .menu-page .product-detail .server-note-title p {
    -webkit-line-clamp: 1 !important;
    font-size: 0.72rem !important;
    line-height: 1.12 !important;
  }

  .menu-page .product-detail .detail-price {
    font-size: 0.96rem !important;
  }

  .menu-page .product-detail .product-detail-photo {
    height: var(--detail-photo-height) !important;
    max-height: var(--detail-photo-height) !important;
    border-radius: 14px !important;
  }

  .menu-page .product-detail .product-detail-photo img {
    height: var(--detail-photo-height) !important;
    max-height: var(--detail-photo-height) !important;
    border-radius: 13px !important;
    clip-path: inset(0 round 13px) !important;
  }

  .menu-page .product-detail .product-choice-intro {
    display: none !important;
  }

  .menu-page .product-detail .product-option-steps {
    gap: 1px !important;
  }

  .menu-page .product-detail .product-option-step {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 5px !important;
    min-height: 30px !important;
    padding: 1px 0 !important;
  }

  .menu-page .product-detail .product-option-choice--trigger {
    min-height: 24px !important;
    padding: 4px 8px !important;
    font-size: 0.6rem !important;
  }

  .menu-page .product-detail .product-technical-card {
    padding: 6px !important;
  }

  .menu-page .product-detail .server-note-line {
    padding-top: 5px !important;
  }
}

/* Mobile polish: one coherent header bar and no card-inside-card menu rows. */
@media (max-width: 860px) {
  body:not(.admin-page):not(.has-public-admin-nav) {
    --sticky-header-height: 64px;
    padding-bottom: 0 !important;
  }

  body:not(.admin-page):not(.has-public-admin-nav) .site-header {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    display: flex !important;
    width: 100% !important;
    height: var(--sticky-header-height) !important;
    min-height: var(--sticky-header-height) !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    border-bottom: 1px solid rgba(255, 253, 247, 0.1) !important;
    background:
      linear-gradient(180deg, rgba(10, 49, 39, 0.96), rgba(10, 49, 39, 0.88)) !important;
    box-shadow: 0 12px 30px rgba(5, 22, 18, 0.18) !important;
    padding: 10px 10px !important;
    backdrop-filter: blur(14px) !important;
  }

  body:not(.admin-page):not(.has-public-admin-nav) .site-header .brand {
    width: 44px !important;
    max-width: 44px !important;
    flex: 0 0 44px !important;
    padding-right: 0 !important;
  }

  body:not(.admin-page):not(.has-public-admin-nav) .site-header .brand > span:last-child {
    display: none !important;
  }

  body:not(.admin-page):not(.has-public-admin-nav) .site-header .brand-mark {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
    background: rgba(255, 253, 247, 0.94) !important;
    color: #12332c !important;
    box-shadow: 0 8px 18px rgba(5, 22, 18, 0.2) !important;
  }

  body:not(.admin-page):not(.has-public-admin-nav) .language-switcher {
    top: 12px !important;
    right: 114px !important;
  }

  body:not(.admin-page):not(.has-public-admin-nav) .language-switcher__button,
  body:not(.admin-page):not(.has-public-admin-nav) .nav-login-button {
    min-height: 38px !important;
    border-color: rgba(255, 253, 247, 0.14) !important;
    background: rgba(255, 253, 247, 0.9) !important;
    color: #12332c !important;
    box-shadow: 0 8px 18px rgba(5, 22, 18, 0.16) !important;
  }

  body:not(.admin-page):not(.has-public-admin-nav) .nav-login-button {
    top: 12px !important;
    right: 10px !important;
  }
}

@media (max-width: 760px), (max-width: 1079px) and (max-height: 720px) {
  .menu-page .menu-list {
    padding-inline: 6px !important;
  }

  .menu-page .menu-item-wrap {
    border-color: transparent !important;
    background: transparent !important;
    padding: 0 !important;
  }

  .menu-page .menu-item {
    width: 100% !important;
    min-height: 86px !important;
    border-radius: 18px !important;
    padding: 10px 12px !important;
    background:
      linear-gradient(90deg,
        rgba(255, 253, 247, 0.78),
        rgba(255, 253, 247, 0.55) 64%,
        color-mix(in srgb, var(--card-accent, #5f8f49) 22%, rgba(255, 253, 247, 0.42))) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 253, 247, 0.2),
      0 10px 24px rgba(5, 22, 18, 0.1) !important;
  }

  .menu-page .menu-item:hover,
  .menu-page .menu-item:focus-visible,
  .menu-page .menu-item.is-selected,
  .menu-page .menu-item-wrap.is-selected .menu-item {
    transform: none !important;
    border-color: color-mix(in srgb, var(--card-deep, #12332c) 48%, transparent) !important;
    box-shadow:
      inset 0 0 0 1px color-mix(in srgb, var(--card-deep, #12332c) 24%, transparent),
      0 12px 28px rgba(5, 22, 18, 0.13) !important;
  }
}

/* Mobile menu density: keep a whole family readable above the fixed footer. */
@media (max-width: 760px), (max-width: 1079px) and (max-height: 720px) {
  .menu-page .menu-list {
    padding-bottom: calc(var(--menu-footer-height, 38px) + 12px) !important;
  }

  .menu-page .menu-item {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 9px !important;
    min-height: 78px !important;
    padding: 8px 10px !important;
  }

  .menu-page .menu-item__visual {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
  }

  .menu-page .menu-item__body {
    gap: 3px !important;
  }

  .menu-page .menu-item__title-line {
    gap: 6px !important;
  }

  .menu-page .menu-item__body small {
    -webkit-line-clamp: 1 !important;
    line-clamp: 1 !important;
  }

  .menu-page .menu-item__options {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 3px !important;
    max-height: 18px !important;
    margin-top: 2px !important;
    overflow: hidden !important;
    font-size: 0.58rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .menu-page .menu-item__options span {
    flex: 0 0 auto !important;
    min-height: 16px !important;
    padding: 1px 5px !important;
  }
}

.story-home .story-hero__address {
  color: rgba(255, 253, 247, 0.82) !important;
  text-shadow: 0 1px 12px rgba(2, 24, 19, 0.28);
}

body.shop-is-open.story-home .story-hero__address {
  color: rgba(18, 51, 44, 0.76) !important;
  text-shadow: none;
}
/* Final safety guard: on compact menu layouts the product detail dock is removed.
   Product customization belongs to the larger desktop layout; mobile/tablet keeps
   the category list selectable without overlapping controls. */
@media (max-width: 1079px) {
  html:has(#menu) #product-detail,
  html:has(#menu) #product-detail:not([hidden]),
  body.menu-page .product-detail,
  body.menu-page .product-detail:not([hidden]),
  body.menu-page.product-detail-undocked .product-detail {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }

  body.menu-page {
    --menu-detail-dock-height: 0px !important;
  }

  body:not(.admin-page).menu-page main,
  .menu-page #menu {
    padding-bottom: calc(var(--menu-footer-height, 38px) + 10px) !important;
  }

  .menu-page .menu-grid {
    height: calc(100svh - var(--sticky-header-height, 72px) - var(--menu-footer-height, 38px) - 18px) !important;
    max-height: calc(100svh - var(--sticky-header-height, 72px) - var(--menu-footer-height, 38px) - 18px) !important;
  }
}

/* Admin mobile save guard: long settings panels keep their save action visible. */
@media (max-width: 520px) {
  body.admin-page .admin-console[data-admin-current-view="settings"] [data-save-config-scope],
  body.admin-page .admin-console[data-admin-current-view="settings"] #save-site-config {
    position: sticky !important;
    top: 4.15rem !important;
    z-index: 120 !important;
    display: inline-flex !important;
    width: 100% !important;
    min-height: 2.55rem !important;
    justify-content: center !important;
    white-space: normal !important;
  }
}
