:root {
  --ink: #172f32;
  --muted: #617477;
  --paper: #f2f6f6;
  --line: #dce5e4;
  --green: #136a61;
  --lime: #e3ef9c;
  --white: #fff;
  --orange: #e19b61;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button,
.button {
  border: 0;
  border-radius: 9px;
  background: var(--green);
  color: white;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
button:hover,
.button:hover {
  filter: brightness(0.94);
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.secondary {
  background: #eaf0ef;
  color: var(--ink);
}
.outline {
  background: white;
  color: var(--green);
  border: 1px solid var(--line);
}
:focus-visible {
  outline: 3px solid #d58431;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -1px;
}
h1 {
  font-size: 42px;
  line-height: 1.1;
  margin-bottom: 14px;
}
h2 {
  font-size: 30px;
  margin-bottom: 10px;
}
h3 {
  font-size: 17px;
}
p {
  line-height: 1.6;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  border-radius: 30px;
  padding: 6px 10px;
  background: #e7efc9;
  color: #3b5125;
}
.pill.gray {
  background: #eff1f1;
  color: #617477;
}
.shell {
  display: grid;
  grid-template-columns: 245px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--ink);
  color: white;
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.logo {
  font-size: 22px;
  letter-spacing: -0.5px;
  font-weight: 800;
}
.logo span {
  color: var(--lime);
}
.sidebar .muted {
  color: #a9bcbc;
}
.sidebar nav {
  display: grid;
  gap: 6px;
}
.sidebar nav button {
  background: transparent;
  color: #bfcdcd;
  text-align: left;
  justify-content: flex-start;
}
.sidebar nav button.active {
  background: var(--lime);
  color: var(--ink);
}
.sidebar footer {
  margin-top: auto;
  border-top: 1px solid #405658;
  padding-top: 20px;
}
.main {
  padding: 28px 44px 60px;
  max-width: 1600px;
  width: 100%;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.topbar select {
  width: auto;
  min-width: 210px;
}
.topbar .identity {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d7e5e2;
  display: grid;
  place-items: center;
  font-weight: bold;
}
.heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px;
  align-items: center;
  background: var(--green);
  color: white;
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
}
.banner p {
  margin-bottom: 0;
  color: #d7eae5;
}
.banner .eyebrow {
  color: var(--lime);
}
.banner h2 {
  font-size: 28px;
}
.channels {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.channel {
  background: #fff2;
  border: 1px solid #ffffff40;
  border-radius: 9px;
  padding: 12px 16px;
  font-size: 13px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.stat strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 34px;
  margin-top: 10px;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 24px 0;
}
.toolbar input {
  flex: 1;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.dish-art {
  height: 170px;
  background: #e5eeeb;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.dish-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dish-art .plate {
  border: 13px solid white;
  border-radius: 50%;
  width: 110px;
  height: 110px;
  box-shadow: 0 8px 25px #1e39321a;
  display: grid;
  place-items: center;
  background: #f4f0dd;
  font-size: 43px;
}
.dish-art small {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 10px;
  color: #56716c;
}
.card-content {
  padding: 20px;
  flex: 1;
}
.card-title {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.card-title h3 {
  margin-bottom: 8px;
}
.price {
  font-weight: 800;
  white-space: nowrap;
}
.card-content p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.card footer {
  padding: 0 20px 20px;
  display: flex;
  gap: 8px;
}
.card footer button {
  font-size: 12px;
  padding: 9px 12px;
  flex: 1;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  margin-bottom: 20px;
}
.empty {
  padding: 50px 20px;
  text-align: center;
  grid-column: 1/-1;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.login-story {
  background: var(--ink);
  color: white;
  padding: 65px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-story h1 {
  font-size: 62px;
  max-width: 560px;
  margin: 60px 0 25px;
}
.login-story p {
  color: #bdcecd;
  max-width: 450px;
}
.login-story .eyebrow {
  color: var(--lime);
}
.login-form {
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-form form {
  max-width: 410px;
  width: 100%;
}
.login-form label {
  margin-top: 18px;
}
.login-form button[type="submit"] {
  width: 100%;
  margin: 24px 0;
}
.demo-note {
  background: #e8eeec;
  border-radius: 12px;
  padding: 20px;
  margin-top: 25px;
  font-size: 13px;
}
.demo-note code {
  overflow-wrap: anywhere;
}
.demo-note button {
  font-size: 12px;
  margin-top: 10px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd8d5;
  border-radius: 8px;
  background: white;
  color: var(--ink);
}
textarea {
  min-height: 85px;
  resize: vertical;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.field {
  margin-bottom: 18px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
}
.check input {
  width: auto;
}
.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}
.edit-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 25px;
}
.group {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 14px 0;
}
.group button {
  font-size: 12px;
  padding: 9px;
}
.options-row {
  display: grid;
  grid-template-columns: 1fr 110px auto;
  gap: 8px;
  margin: 10px 0;
  align-items: center;
}
details {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 20px;
}
summary {
  cursor: pointer;
  font-weight: bold;
  margin-bottom: 20px;
}
.error {
  color: #a53023;
  font-size: 14px;
  min-height: 18px;
}
#message {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 400px;
  padding: 16px 22px;
  background: var(--ink);
  color: white;
  border-radius: 10px;
  box-shadow: 0 5px 25px #0002;
  display: none;
  z-index: 20;
}
#message.visible {
  display: block;
}
.versions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.public {
  max-width: 1150px;
  margin: auto;
  padding: 30px;
}
.public-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 40px;
}
.public h1 {
  font-size: 55px;
}
.public-intro {
  max-width: 600px;
  margin-bottom: 36px;
}
.public .grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.dish-detail {
  max-width: 760px;
  margin: 30px auto;
}
.dish-detail .dish-art {
  height: 250px;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 18px;
}
legend {
  font-weight: bold;
}
.selection {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 400;
  padding: 8px 0;
}
.selection input {
  width: auto;
}
.selection span:last-child {
  margin-left: auto;
}
.receipt {
  background: #eff4dd;
  padding: 20px;
  border-radius: 12px;
  margin-top: 20px;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plan-price {
  font-size: 44px;
  font-family: Georgia, serif;
}
.plan-grid ul {
  padding-left: 20px;
  line-height: 2;
}
.highlight {
  border: 2px solid var(--green);
}
.notice {
  background: #edf2df;
  padding: 14px 18px;
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.6;
}
.link {
  color: var(--green);
  text-decoration: underline;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
@media (max-width: 1100px) {
  .main {
    padding: 25px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .banner {
    grid-template-columns: 1fr;
  }
  .edit-layout {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 40px;
  }
  .login-story h1 {
    font-size: 48px;
  }
}
@media (max-width: 760px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    padding: 18px;
    gap: 15px;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
  }
  .sidebar nav button {
    white-space: nowrap;
    padding: 10px;
  }
  .sidebar footer,
  .sidebar > div:nth-child(2) {
    display: none;
  }
  .main {
    padding: 20px;
  }
  .topbar {
    flex-wrap: wrap;
    margin-bottom: 24px;
  }
  .heading {
    align-items: flex-start;
    flex-direction: column;
  }
  h1 {
    font-size: 34px;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 14px;
  }
  .stat strong {
    font-size: 28px;
  }
  .grid,
  .public .grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 30px;
  }
  .login-story h1 {
    font-size: 38px;
    margin: 25px 0;
  }
  .login-form {
    padding: 30px;
  }
  .row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .options-row {
    grid-template-columns: 1fr 85px auto;
  }
  .public {
    padding: 20px;
  }
  .public h1 {
    font-size: 40px;
  }
  .channels {
    gap: 6px;
  }
  .channel {
    padding: 8px;
  }
  #message {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .toolbar input {
    min-width: 200px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .card {
    transition: transform 0.15s;
  }
  .card:hover {
    transform: translateY(-2px);
  }
}
.management-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.management-grid label,
.panel form label,
#settings label,
#promotion label,
.registration label {
  margin-bottom: 18px;
}
.management-grid input,
.management-grid select,
#settings input,
#settings textarea,
#promotion input,
#promotion select,
.registration input {
  margin-top: 8px;
}
.registration {
  max-width: 820px;
  margin: 50px auto;
  padding: 25px;
}
.registration > .logo {
  margin-bottom: 35px;
}
.registration .panel {
  padding: 30px;
}
.registration button {
  margin: 12px 10px 0 0;
}
.restaurant-intro {
  padding: 45px 0;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--line);
}
.restaurant-intro h1 {
  font-size: 68px;
}
.promo-image {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
}
.promotions-public {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.device-page {
  background: #102527;
  color: white;
}
.pairing {
  max-width: 800px;
  margin: 8vh auto;
  padding: 40px;
  text-align: center;
}
.pairing h1 {
  font-size: 52px;
  margin: 35px 0;
}
.pairing .eyebrow {
  color: var(--lime);
}
.pair-code {
  display: block;
  font-family: monospace;
  font-size: 68px;
  letter-spacing: 12px;
  background: #ffffff12;
  border: 1px solid #ffffff50;
  padding: 25px;
  margin: 25px 0;
  border-radius: 14px;
}
.device-status {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 11px;
  padding: 8px 14px;
  background: #102527;
  color: #b5cfca;
  z-index: 5;
}
.screen-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 100vh;
}
.screen-photo {
  background: #233f3c;
  display: grid;
  place-items: center;
}
.screen-photo img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}
.screen-photo > span {
  font-size: 200px;
}
.screen-copy {
  padding: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.screen-copy h1 {
  font-size: clamp(40px, 5vw, 85px);
  margin-top: 30px;
}
.screen-copy .eyebrow {
  color: var(--lime);
  margin-top: 35px;
}
.screen-copy p {
  color: #c5d9d5;
  font-size: 22px;
}
.screen-price {
  font-family: Georgia, serif;
  font-size: 65px;
  color: var(--lime);
  margin: 10px 0;
}
.screen-list {
  border-top: 1px solid #ffffff30;
  margin-top: 30px;
}
.screen-list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid #ffffff20;
}
.device-page:has(.public) {
  background: var(--paper);
  color: var(--ink);
}
.device-page .public {
  padding-bottom: 50px;
}
.sidebar nav {
  gap: 3px;
}
.sidebar nav button {
  font-size: 13px;
}
@media (max-width: 760px) {
  .management-grid,
  .promotions-public {
    grid-template-columns: 1fr;
  }
  .pair-code {
    font-size: 32px;
    letter-spacing: 5px;
  }
  .pairing {
    padding: 20px;
  }
  .pairing h1 {
    font-size: 34px;
  }
  .screen-layout {
    grid-template-columns: 1fr;
  }
  .screen-photo img {
    height: 40vh;
  }
  .screen-copy {
    padding: 30px;
  }
  .screen-copy h1 {
    font-size: 40px;
  }
  .screen-price {
    font-size: 40px;
  }
  .restaurant-intro h1 {
    font-size: 44px;
  }
  .registration {
    margin: 20px auto;
  }
  .sidebar nav {
    padding-bottom: 6px;
  }
}

/* Restaurant experience: blue ceramics, walnut, linen; food is the visual focus. */
body[data-ambience] {
  --ambience-bg: #e7edf1;
  --ambience-ink: #213a4b;
  --ambience-accent: #245f76;
  background: var(--ambience-bg);
}
body[data-ambience="garden"] {
  --ambience-bg: #e7efe8;
  --ambience-ink: #243d30;
  --ambience-accent: #416b45;
}
body[data-ambience="bistro"] {
  --ambience-bg: #ece8ed;
  --ambience-ink: #493249;
  --ambience-accent: #7c3857;
}
body[data-ambience="coastal"] {
  --ambience-bg: #e5f1f3;
  --ambience-ink: #173e53;
  --ambience-accent: #176d8c;
}
body[data-ambience]::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--restaurant-backdrop);
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  pointer-events: none;
  z-index: -1;
}
body[data-ambience] .public {
  color: var(--ambience-ink);
  max-width: 1400px;
}
body[data-ambience] .public button {
  background: var(--ambience-accent);
}
body[data-ambience] .public button.outline {
  background: rgba(255, 255, 255, 0.8);
  color: var(--ambience-ink);
}
.immersive-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  margin-top: 28px;
}
.immersive-detail > .panel {
  margin: 0;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 22px;
  padding: 32px;
}
.immersive-detail h1 {
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
}
#visual-stage {
  position: sticky;
  top: 24px;
  min-width: 0;
}
.plate-stage {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: #213a4b;
  color: #fff;
  box-shadow: 0 18px 45px #213a4b24;
}
.plate-image {
  aspect-ratio: 1;
  overflow: hidden;
}
.plate-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: plate-arrive 0.5s ease-out;
}
.plate-stage figcaption {
  padding: 24px 28px;
}
.plate-stage figcaption p {
  margin: 6px 0;
  font-size: 20px;
}
.plate-stage small {
  opacity: 0.8;
}
.side-tray {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0 28px 24px;
}
.side-tray div {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff19;
  border-radius: 12px;
  padding: 8px;
}
.side-tray img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}
.side-tray small {
  width: 100%;
}
.side-group {
  border: 0;
  border-top: 1px solid #d8e1e6;
  padding: 20px 0;
  margin: 16px 0;
}
.side-group legend {
  font-weight: bold;
  font-size: 20px;
  padding-right: 12px;
}
.side-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.side-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid #d1dde4;
  border-radius: 14px;
  background: #f6f9fb;
  cursor: pointer;
  min-height: 72px;
  margin: 0;
}
.side-choice:has(input:checked) {
  border-color: var(--ambience-accent);
  box-shadow: inset 0 0 0 1px var(--ambience-accent);
  background: #e6f0f4;
}
.side-choice:has(input:disabled) {
  opacity: 0.5;
  cursor: default;
}
.side-choice input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--ambience-accent);
}
.side-choice img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}
.side-choice b,
.side-choice small {
  display: block;
}
.side-choice small {
  margin-top: 4px;
}
.option-photo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.option-photo img,
.variant-row img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}
.variant-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.variant-row span {
  flex: 1;
}
body[data-ambience] .screen-layout {
  background: var(--ambience-ink);
}
.screen-photo {
  overflow: hidden;
}
.screen-photo img {
  animation: screen-reveal 12s linear both;
}
.screen-copy {
  animation: plate-arrive 0.65s ease-out;
}
@keyframes plate-arrive {
  from {
    opacity: 0.35;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes screen-reveal {
  from {
    transform: scale(1);
    opacity: 0.7;
  }
  8% {
    opacity: 1;
  }
  to {
    transform: scale(1.04);
    opacity: 1;
  }
}
body[data-motion="off"] *,
body[data-motion="off"] *::before {
  animation: none !important;
  transition: none !important;
}
@media (max-width: 850px) {
  .immersive-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  #visual-stage {
    position: static;
  }
  .plate-image {
    aspect-ratio: 1.15;
  }
  .immersive-detail > .panel {
    padding: 24px;
  }
}
@media (max-width: 480px) {
  .side-choices {
    grid-template-columns: 1fr;
  }
  .public {
    padding: 20px 16px;
  }
  .plate-stage figcaption {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .plate-image img,
  .screen-photo img,
  .screen-copy {
    animation: none !important;
    transition: none !important;
  }
}
.immersive-detail {
  max-width: none;
}
.side-choice span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.side-choice img {
  flex-shrink: 0;
}
body[data-ambience] .screen-copy {
  background: linear-gradient(#213a4bea, #213a4bea), var(--restaurant-backdrop);
  background-size: cover;
  background-position: center;
}

.dish-art {
  position: relative;
}
.photo-disclosure {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #213a4be8;
  color: #fff;
  padding: 9px 12px;
  font-size: 11px;
}

/* Daily picks: a chef's selection, with the existing blue-ceramic food palette. */
.daily-picks {
  margin: 36px 0 48px;
}
.daily-heading {
  border-top: 1px solid #bacbd4;
  padding-top: 24px;
}
.daily-heading h2 {
  font:
    36px/1.1 Palatino,
    Georgia,
    serif;
  margin: 12px 0;
}
.daily-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.daily-card {
  display: grid;
  grid-template-columns: minmax(100px, 0.8fr) minmax(0, 1fr);
  background: #fff;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 8px 24px #213a4b14;
}
.daily-card > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.daily-card > div {
  padding: 24px;
}
.daily-card h3 {
  font:
    26px/1.15 Palatino,
    Georgia,
    serif;
  margin: 14px 0;
}
.daily-card strong,
.daily-card small {
  display: block;
  margin: 10px 0;
}
.daily-card small {
  font-size: 11px;
  color: #586d7a;
}
.daily-card button {
  margin-top: 12px;
  width: 100%;
}
.program-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.program-layout .panel {
  margin: 0;
}
.program-layout form > label {
  display: block;
  margin-bottom: 18px;
}
.recommendation-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.days-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 20px 0;
}
.playlist-order > div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}
.playlist-order span {
  flex: 1;
}
#screen-config-form select[multiple] {
  min-height: 120px;
}
.preview-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fff;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.preview-toolbar b {
  flex: 1;
}
.preview-toolbar button {
  padding: 10px 16px;
}
#preview-content .screen-layout {
  min-height: calc(100vh - 76px);
}
#preview-content .screen-photo img {
  height: calc(100vh - 76px);
}
.screen-layout[data-orientation="portrait"] {
  grid-template-columns: 1fr;
  grid-template-rows: 56vh auto;
}
.screen-layout[data-orientation="portrait"] .screen-photo img {
  height: 56vh;
}
.screen-layout[data-orientation="portrait"] .screen-copy {
  padding: 30px 40px;
}
.screen-layout[data-orientation="portrait"] .screen-copy h1 {
  font-size: clamp(36px, 5vw, 68px);
  margin: 20px 0;
}
.screen-layout[data-orientation="landscape"] {
  grid-template-columns: 1.1fr 1fr;
}
.screen-layout[data-orientation="landscape"] .screen-photo img {
  height: 100vh;
}
.screen-empty {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  background: #213a4b;
  color: #fff;
}
.screen-empty h1 {
  font-size: clamp(30px, 5vw, 60px);
  max-width: 800px;
}
.screen-schedule {
  display: block;
  margin-top: 28px;
  color: #c5d9d5;
}
.screen-no-photo {
  font-size: 28px;
  color: #fff;
  padding: 30px;
}
@media (max-width: 950px) {
  .program-layout {
    grid-template-columns: 1fr;
  }
  .daily-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .daily-card {
    grid-template-columns: 1fr;
  }
  .daily-card > img {
    height: 220px;
  }
  .daily-card > div {
    padding: 20px;
  }
  .screen-layout[data-orientation="landscape"] .screen-copy {
    padding: 20px;
  }
  .screen-layout[data-orientation="landscape"] .screen-copy h1 {
    font-size: 28px;
  }
}

.setup-intro {
  padding: 28px 32px;
  background: #213a4b;
  color: #fff;
  border-radius: 18px;
  margin-bottom: 28px;
}
.setup-intro h2 {
  font:
    32px Palatino,
    Georgia,
    serif;
  margin: 0 0 12px;
}
.setup-intro p {
  max-width: 750px;
  line-height: 1.6;
}
.setup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.setup-step {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.setup-step button {
  margin-top: auto;
}
.setup-step h2 {
  font:
    26px Palatino,
    Georgia,
    serif;
}
.setup-step p {
  line-height: 1.6;
}
@media (max-width: 650px) {
  .setup-grid {
    grid-template-columns: 1fr;
  }
  .setup-intro {
    padding: 24px;
  }
}

.screen-config-preview {
  margin: 20px 0;
  overflow: hidden;
  border-radius: 16px;
}
.screen-config-preview .screen-layout {
  min-height: 450px;
}
.screen-config-preview .screen-photo img {
  height: 450px;
}
.screen-config-preview .screen-copy {
  padding: 24px;
}
.screen-config-preview .screen-copy h1 {
  font-size: 30px;
  margin: 14px 0;
}
.screen-config-preview .screen-copy p {
  font-size: 16px;
}
.screen-config-preview .screen-price {
  font-size: 36px;
}
.screen-config-preview .screen-layout[data-orientation="portrait"] {
  grid-template-rows: 300px auto;
}
.screen-config-preview
  .screen-layout[data-orientation="portrait"]
  .screen-photo
  img {
  height: 300px;
}
.shell > .sidebar,
.shell > .main {
  min-width: 0;
}
.sidebar nav {
  min-width: 0;
  max-width: 100%;
}

.combo-section {
  margin: 36px 0;
}
.combo-section .panel button {
  display: block;
  margin-top: 20px;
}
.combo-component {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 24px;
}
.combo-component .plate-stage {
  height: auto;
}
.nutrition-dialog {
  max-width: 650px;
  width: 90%;
  border: 0;
  border-radius: 18px;
  padding: 30px;
}
.nutrition-dialog::backdrop {
  background: #102527aa;
}
.nutrition-dialog label,
#combo-editor > label,
#suggestion-editor > label {
  display: block;
  margin-bottom: 16px;
}
.table-scroll {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 760px) {
  .combo-component {
    grid-template-columns: 1fr;
  }
}

.menu-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin: 30px 0;
}
.menu-filters > label {
  flex: 1;
  min-width: 180px;
}
.menu-filters > p {
  width: 100%;
  margin: 0;
}

.language-toggle {
  position: fixed;
  right: 12px;
  bottom: 16px;
  z-index: 30;
  background: #fff;
  padding: 10px 16px;
  box-shadow: 0 4px 20px #10252733;
}
.device-page:has(.screen-layout) .language-toggle {
  display: none;
}

/* Editable restaurant menus inspired by gastronomic posters. */
body[data-menu-style="editorial"] {
  --menu-bg: #171815;
  --menu-surface: #22241f;
  --menu-ink: #fff8ea;
  --menu-muted: #c5c1b6;
  --menu-gold: #dec38a;
  --menu-line: #665d46;
  background: var(--menu-bg);
}
body[data-menu-style="cafe"] {
  --menu-bg: #f7f2e5;
  --menu-surface: #fffcf5;
  --menu-ink: #183d32;
  --menu-muted: #556052;
  --menu-gold: #79561d;
  --menu-line: #cfc4ad;
  background: var(--menu-bg);
}
body:is(
    [data-menu-style="editorial"],
    [data-menu-style="cafe"],
    [data-menu-style="cantina"]
  )
  .public {
  color: var(--menu-ink);
  --muted: var(--menu-muted);
  --line: var(--menu-line);
  --ink: var(--menu-ink);
  max-width: 1440px;
  padding: 30px 42px 60px;
}
body:is(
    [data-menu-style="editorial"],
    [data-menu-style="cafe"],
    [data-menu-style="cantina"]
  )
  .public-header {
  border-color: var(--menu-line);
  margin-bottom: 30px;
  align-items: center;
  gap: 15px;
}
body:is(
    [data-menu-style="editorial"],
    [data-menu-style="cafe"],
    [data-menu-style="cantina"]
  )
  .public-header
  b {
  font:
    26px Georgia,
    serif;
}
body:is(
    [data-menu-style="editorial"],
    [data-menu-style="cafe"],
    [data-menu-style="cantina"]
  )
  .public-intro {
  display: none;
}
.menu-cover {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  position: relative;
  gap: 24px 36px;
  margin-bottom: 50px;
  align-items: center;
}
.menu-cover-copy {
  padding: 15px 0;
}
.menu-cover .eyebrow {
  color: var(--menu-gold);
  letter-spacing: 2px;
}
.public .menu-cover h1 {
  font:
    clamp(38px, 4.2vw, 72px)/1.02 Georgia,
    serif;
  letter-spacing: -1px;
  margin: 16px 0 24px;
  overflow-wrap: anywhere;
}
.menu-cover h1 em {
  display: block;
  font-size: 0.8em;
  color: var(--menu-gold);
  margin-top: 10px;
  font-weight: 400;
}
.menu-welcome {
  color: var(--menu-muted);
  max-width: 420px;
  font-size: 16px;
}
.cover-dish {
  border-top: 1px solid var(--menu-line);
  padding-top: 28px;
  margin-top: 30px;
}
.cover-dish h2 {
  font:
    30px Georgia,
    serif;
  margin: 12px 0;
}
.cover-dish p {
  color: var(--menu-muted);
  font-size: 15px;
}
.cover-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0;
}
.cover-price strong {
  font:
    36px Georgia,
    serif;
  color: var(--menu-gold);
}
.cover-price span {
  font-size: 12px;
  color: var(--menu-muted);
}
.menu-cover-photo {
  position: relative;
  margin: 0;
  height: 570px;
  border-radius: 48% 48% 8px 8px;
  overflow: hidden;
  background: var(--menu-surface);
}
.menu-cover-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.menu-cover-photo figcaption {
  position: absolute;
  bottom: 14px;
  left: 20px;
  right: 20px;
  color: #fff;
  background: #151515e6;
  padding: 8px 12px;
  font:
    11px/1.4 Arial,
    sans-serif;
  border-radius: 6px;
}
.cover-sides {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: minmax(180px, 0.6fr) 1.4fr;
  border: 1px solid var(--menu-line);
  padding: 24px;
  gap: 24px;
  border-radius: 10px;
  background: var(--menu-surface);
}
.cover-sides h2 {
  font:
    24px Georgia,
    serif;
  color: var(--menu-gold);
}
.cover-sides p {
  font-size: 12px;
  color: var(--menu-muted);
  margin-bottom: 0;
}
.cover-side-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
body[data-menu-style] .public .cover-side {
  flex: 1;
  min-width: 105px;
  background: transparent;
  border: 1px solid var(--menu-line);
  color: var(--menu-ink);
  padding: 12px;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  min-height: 84px;
}
.cover-side img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--menu-gold);
}
.cover-side small {
  display: block;
  font-size: 11px;
  color: var(--menu-gold);
  margin-top: 6px;
}
.menu-category {
  margin: 35px 0;
}
.menu-category > header {
  border-bottom: 1px solid var(--menu-gold);
  padding-bottom: 12px;
  margin-bottom: 8px;
}
.menu-category > header .eyebrow {
  color: var(--menu-muted);
}
.menu-category > header h2 {
  font:
    32px Georgia,
    serif;
  margin: 6px 0;
  color: var(--menu-gold);
}
.menu-category-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 35px;
}
.menu-entry {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--menu-line);
  min-width: 0;
}
.menu-entry-photo {
  width: 108px;
  height: 108px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--menu-line);
}
.menu-entry-copy {
  flex: 1;
  min-width: 0;
}
.menu-entry-title {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
}
.menu-entry-title h3 {
  font:
    23px/1.2 Georgia,
    serif;
  overflow-wrap: anywhere;
  margin: 0;
}
.menu-price {
  color: var(--menu-gold);
  font:
    22px Georgia,
    serif;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.menu-entry-copy p {
  color: var(--menu-muted);
  font-size: 14px;
  margin: 12px 0;
}
.menu-entry-copy .menu-option-note {
  font-size: 11px;
  margin: 10px 0;
}
.menu-disclosure {
  display: block;
  color: var(--menu-muted);
  font:
    10px/1.4 Arial,
    sans-serif;
}
.menu-entry button {
  font-size: 12px;
  min-height: 44px;
  margin-top: 12px;
}
body:is(
    [data-menu-style="editorial"],
    [data-menu-style="cafe"],
    [data-menu-style="cantina"]
  )
  .public
  button {
  background: var(--menu-gold);
  color: var(--menu-bg);
}
body:is(
    [data-menu-style="editorial"],
    [data-menu-style="cafe"],
    [data-menu-style="cantina"]
  )
  .public
  button.outline {
  background: transparent;
  color: var(--menu-ink);
  border-color: var(--menu-line);
}
body:is(
    [data-menu-style="editorial"],
    [data-menu-style="cafe"],
    [data-menu-style="cantina"]
  )
  .public
  .panel,
body:is(
    [data-menu-style="editorial"],
    [data-menu-style="cafe"],
    [data-menu-style="cantina"]
  )
  .public
  .combo-section {
  background: var(--menu-surface);
  border-color: var(--menu-line);
  color: var(--menu-ink);
}
body:is(
    [data-menu-style="editorial"],
    [data-menu-style="cafe"],
    [data-menu-style="cantina"]
  )
  .public
  :is(input, select) {
  background: var(--menu-surface);
  color: var(--menu-ink);
  border-color: var(--menu-line);
}
body:is(
    [data-menu-style="editorial"],
    [data-menu-style="cafe"],
    [data-menu-style="cantina"]
  )
  .public
  .pill {
  background: var(--menu-surface);
  color: var(--menu-gold);
  border: 1px solid var(--menu-line);
}
body:is(
    [data-menu-style="editorial"],
    [data-menu-style="cafe"],
    [data-menu-style="cantina"]
  )
  .public
  :focus-visible {
  outline: 3px solid var(--menu-gold);
  outline-offset: 4px;
}
body:is(
    [data-menu-style="editorial"],
    [data-menu-style="cafe"],
    [data-menu-style="cantina"]
  )
  .tablet-menu-heading {
  display: none;
}
@media (max-width: 1000px) {
  .menu-cover {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .menu-cover-photo {
    height: 490px;
  }
  .menu-category-items {
    grid-template-columns: 1fr;
  }
  .cover-sides {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  body:is(
      [data-menu-style="editorial"],
      [data-menu-style="cafe"],
      [data-menu-style="cantina"]
    )
    .public {
    padding: 20px 18px 60px;
  }
  .menu-cover {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 30px;
  }
  .menu-cover-photo {
    height: 370px;
    grid-row: 2;
    border-radius: 42% 42% 8px 8px;
  }
  .menu-cover-copy {
    padding: 0;
  }
  .public .menu-cover h1 {
    font-size: 46px;
    margin-top: 12px;
  }
  .cover-dish {
    margin-top: 20px;
    padding-top: 20px;
  }
  .cover-sides {
    padding: 18px;
  }
  .menu-entry {
    gap: 14px;
  }
  .menu-entry-photo {
    width: 76px;
    height: 76px;
  }
  .menu-entry-title h3 {
    font-size: 21px;
  }
  .menu-price {
    font-size: 20px;
  }
  .menu-category > header h2 {
    font-size: 28px;
  }
  .public-header .actions {
    justify-content: flex-end;
  }
  .menu-cover button {
    min-height: 44px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  body[data-motion="subtle"] .menu-cover-photo img {
    animation: menu-reveal 0.7s ease-out both;
  }
  @keyframes menu-reveal {
    from {
      opacity: 0;
      transform: scale(1.025);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
}

body:is(
    [data-menu-style="editorial"],
    [data-menu-style="cafe"],
    [data-menu-style="cantina"]
  )
  .public
  :is(.side-choice, .daily-card, .plate-stage figcaption, .side-tray) {
  background: var(--menu-surface);
  color: var(--menu-ink);
  border-color: var(--menu-line);
}
body:is(
    [data-menu-style="editorial"],
    [data-menu-style="cafe"],
    [data-menu-style="cantina"]
  )
  .public
  .side-choice:has(input:checked) {
  border-color: var(--menu-gold);
  box-shadow: inset 0 0 0 1px var(--menu-gold);
}
body:is(
    [data-menu-style="editorial"],
    [data-menu-style="cafe"],
    [data-menu-style="cantina"]
  )
  .public
  .side-choice
  input {
  accent-color: var(--menu-gold);
}
body:is(
    [data-menu-style="editorial"],
    [data-menu-style="cafe"],
    [data-menu-style="cantina"]
  )
  .public
  .side-choice
  small {
  color: var(--menu-muted);
}
body:is(
    [data-menu-style="editorial"],
    [data-menu-style="cafe"],
    [data-menu-style="cantina"]
  )
  .public
  .plate-stage
  .eyebrow {
  color: var(--menu-gold);
}
body:is(
    [data-menu-style="editorial"],
    [data-menu-style="cafe"],
    [data-menu-style="cantina"]
  )
  .public
  .side-group {
  border-color: var(--menu-line);
}
body:is(
    [data-menu-style="editorial"],
    [data-menu-style="cafe"],
    [data-menu-style="cantina"]
  )
  .public
  .receipt {
  background: var(--menu-surface);
  color: var(--menu-ink);
  border: 1px solid var(--menu-gold);
}
body:is(
    [data-menu-style="editorial"],
    [data-menu-style="cafe"],
    [data-menu-style="cantina"]
  )
  .public
  .daily-card
  p {
  color: var(--menu-muted);
}

.account-verification {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.account-verification p {
  margin: 6px 0;
  font-size: 14px;
}
.account-verification button {
  flex-shrink: 0;
}
@media (max-width: 650px) {
  .account-verification {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* Carta Cantina: fotografía gastronómica y firma del restaurante. */
.restaurant-identity {
  display: flex;
  align-items: center;
  gap: 16px;
}
.restaurant-logo {
  width: 68px;
  height: 62px;
  object-fit: contain;
  border-radius: 3px;
}
.restaurant-contact {
  margin-top: 72px;
  padding: 46px 0 12px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 50px;
}
.restaurant-contact h2 {
  font-family: Georgia, serif;
  margin: 10px 0;
  font-size: 36px;
}
.restaurant-contact address {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-style: normal;
  line-height: 1.65;
}
.restaurant-contact a {
  color: inherit;
  text-underline-offset: 5px;
}
.restaurant-phone {
  font-size: 23px;
}
.restaurant-contact .pilot-notice,
.menuvolt-credit {
  grid-column: 1 / -1;
}
.pilot-notice {
  color: var(--muted);
  line-height: 1.6;
  font-size: 12px;
  padding: 12px 0;
}
.screen-restaurant-logo {
  width: 70px;
  height: 62px;
  object-fit: contain;
}
body[data-menu-style="cantina"] {
  --menu-bg: #120e0b;
  --menu-surface: #1e1813;
  --menu-ink: #fff3dd;
  --menu-muted: #cebea5;
  --menu-gold: #e2b96d;
  --menu-line: #61503b;
  --green: #a83125;
  --lime: #fff3dd;
  background: var(--menu-bg);
}
body[data-menu-style="cantina"] .public {
  max-width: 1480px;
  padding: 24px 44px 60px;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}
body[data-menu-style="cantina"] .public-header {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--menu-line);
  padding-bottom: 20px;
}
body[data-menu-style="cantina"] .restaurant-identity b {
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 400;
}
body[data-menu-style="cantina"] .public-header .muted {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.cantina-cover {
  position: relative;
  isolation: isolate;
  min-height: 650px;
  overflow: hidden;
  background: #18110b;
  border-bottom: 1px solid var(--menu-line);
}
.cantina-cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% center;
  z-index: -2;
}
.cantina-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(18, 14, 11, 0.98) 0%,
      rgba(18, 14, 11, 0.92) 27%,
      rgba(18, 14, 11, 0.28) 62%,
      rgba(18, 14, 11, 0.08) 100%
    ),
    linear-gradient(0deg, rgba(18, 14, 11, 0.94), transparent 30%);
}
.cantina-cover-copy {
  padding: 48px 46px 106px;
  width: 48%;
}
.cantina-cover .eyebrow {
  color: var(--menu-gold);
  font-size: 11px;
  letter-spacing: 2.2px;
}
.public .cantina-cover h1 {
  margin: 18px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(60px, 6vw, 94px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -3px;
}
.cantina-tagline {
  font-family: Georgia, serif;
  font-style: italic;
  color: var(--menu-gold);
  font-size: 27px;
  margin: 0 0 16px;
}
.cantina-welcome {
  max-width: 340px;
  color: var(--menu-muted);
  line-height: 1.7;
  font-size: 14px;
}
.cantina-featured {
  border-top: 1px solid var(--menu-line);
  margin-top: 28px;
  padding-top: 24px;
}
.cantina-featured h2 {
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1.2;
  margin: 8px 0 10px;
  font-weight: 400;
}
.cantina-featured p {
  max-width: 340px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--menu-muted);
}
.cantina-price {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 20px 0;
}
.cantina-price strong {
  color: var(--menu-gold);
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 36px;
}
.cantina-price span {
  font-size: 11px;
  color: var(--menu-muted);
}
body[data-menu-style="cantina"] .public .cantina-featured button {
  background: #a83125;
  color: #fff3dd;
  border: 1px solid #cf6856;
  border-radius: 2px;
  font-size: 13px;
  padding: 15px 20px;
}
.cantina-cover-foot {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 46px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--menu-ink);
  border-top: 1px solid rgba(226, 185, 109, 0.25);
}
.cantina-cover-foot a {
  color: var(--menu-gold);
  text-decoration: none;
  white-space: nowrap;
}
body[data-menu-style="cantina"] .menu-category {
  margin: 52px 0 0;
}
body[data-menu-style="cantina"] .menu-category > header {
  padding: 14px 0 22px;
}
body[data-menu-style="cantina"] .menu-category > header h2 {
  font-size: 40px;
  font-weight: 400;
}
body[data-menu-style="cantina"] .menu-category-items {
  gap: 28px 38px;
}
body[data-menu-style="cantina"] .menu-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 0 0 25px;
  gap: 0;
  background: transparent;
  border-bottom: 1px solid var(--menu-line);
}
body[data-menu-style="cantina"] .menu-entry-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1.6;
  object-fit: cover;
  border-radius: 2px;
  border: 0;
}
body[data-menu-style="cantina"] .menu-entry-copy {
  padding: 22px 2px 0;
}
body[data-menu-style="cantina"] .menu-entry-title h3 {
  font-family: Georgia, serif;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 400;
}
body[data-menu-style="cantina"] .menu-price {
  font-size: 27px;
  font-weight: 400;
}
body[data-menu-style="cantina"] .menu-entry-copy p {
  font-size: 14px;
  line-height: 1.65;
}
body[data-menu-style="cantina"] .menu-disclosure {
  font-size: 11px;
}
body[data-menu-style="cantina"] .menu-entry button {
  min-height: 44px;
  font-size: 13px;
  border-radius: 2px;
}
body[data-menu-style="cantina"] .restaurant-contact h2 {
  color: var(--menu-gold);
}
body[data-menu-style="cantina"] .menu-filters {
  background: var(--menu-surface);
  padding: 24px;
  border: 1px solid var(--menu-line);
  border-radius: 2px;
  margin: 32px 0 0;
}
body[data-menu-style="cantina"] .restaurant-intro {
  display: none;
}
body[data-menu-style="cantina"]
  .public
  :is(button, a, input, select):focus-visible {
  outline: 3px solid var(--menu-gold);
  outline-offset: 4px;
}
@media (max-width: 900px) {
  .cantina-cover-copy {
    width: 60%;
    padding: 32px 28px 92px;
  }
  .cantina-cover-foot {
    padding: 18px 28px;
  }
  .cantina-cover::before {
    background:
      linear-gradient(
        90deg,
        rgba(18, 14, 11, 0.96),
        rgba(18, 14, 11, 0.65) 50%,
        rgba(18, 14, 11, 0.12)
      ),
      linear-gradient(0deg, rgba(18, 14, 11, 0.96), transparent 35%);
  }
}
@media (max-width: 600px) {
  body[data-menu-style="cantina"] .public {
    padding: 16px 18px 36px;
  }
  body[data-menu-style="cantina"] .public-header .muted {
    display: none;
  }
  body[data-menu-style="cantina"] .restaurant-identity b {
    font-size: 22px;
  }
  .restaurant-logo {
    width: 50px;
    height: 48px;
  }
  .restaurant-identity {
    gap: 10px;
  }
  .cantina-cover {
    min-height: 770px;
  }
  .cantina-cover-image {
    height: 335px;
    object-position: 60% center;
  }
  .cantina-cover::before {
    background: linear-gradient(0deg, #120e0b 0%, #120e0b 58%, transparent 86%);
  }
  .cantina-cover-copy {
    width: 100%;
    padding: 275px 16px 95px;
  }
  .public .cantina-cover h1 {
    font-size: 60px;
    margin-top: 13px;
  }
  .cantina-tagline {
    font-size: 23px;
  }
  .cantina-welcome {
    display: none;
  }
  .cantina-featured {
    margin-top: 20px;
    padding-top: 18px;
  }
  .cantina-featured h2 {
    font-size: 27px;
  }
  .cantina-cover-foot {
    padding: 18px 16px;
    flex-direction: column;
    gap: 6px;
    font-size: 11px;
  }
  body[data-menu-style="cantina"] .menu-category > header h2 {
    font-size: 32px;
  }
  body[data-menu-style="cantina"] .menu-filters {
    padding: 16px;
  }
  .restaurant-contact {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 45px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  body[data-menu-style="cantina"][data-motion="subtle"] .cantina-cover-copy {
    animation: cantina-arrival 650ms ease-out both;
  }
  @keyframes cantina-arrival {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

body[data-menu-style="cantina"]
  .menu-category-items:has(> .menu-entry:only-child) {
  grid-template-columns: minmax(0, 1fr);
}
body[data-menu-style="cantina"] .menu-entry:only-child {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}
body[data-menu-style="cantina"] .menu-entry:only-child .menu-entry-copy {
  padding: 20px 24px;
}
.restaurant-venue {
  margin: 0 0 24px;
  grid-column: 1 / -1;
}
.restaurant-venue img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center 60%;
}
@media (max-width: 600px) {
  body[data-menu-style="cantina"] .menu-entry:only-child {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  body[data-menu-style="cantina"] .menu-entry:only-child .menu-entry-copy {
    padding: 22px 2px 0;
  }
  .restaurant-venue img {
    max-height: 270px;
  }
}
body.device-page[data-menu-style="cantina"]:has(.public) {
  background: var(--menu-bg);
}
body[data-menu-style="cantina"] .screen-copy {
  background: #1e1813;
  color: #fff3dd;
}
body[data-menu-style="cantina"] .screen-copy .eyebrow,
body[data-menu-style="cantina"] .screen-price {
  color: #e2b96d;
}
body[data-menu-style="cantina"] .screen-copy p {
  color: #cebea5;
}
body[data-menu-style="cantina"] .screen-photo {
  background: #120e0b;
}
body[data-menu-style="cantina"] .screen-copy .logo {
  gap: 12px;
}
/* Responsive audit: intrinsic form widths and variable-length cover copy. */
.cantina-cover-foot {
  position: relative;
}
.cantina-cover-copy {
  padding-bottom: 42px;
}
.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.row,
.management-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.main :is(.panel, form, fieldset, label, .row, .stat) {
  min-width: 0;
}
.main :is(input, select, textarea) {
  min-width: 0;
  max-width: 100%;
}
.main :is(h1, h2, h3, .stat .muted) {
  overflow-wrap: break-word;
}
@media (max-width: 950px) {
  .program-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .row,
  .management-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .cantina-cover {
    min-height: 0;
  }
  .cantina-cover-copy {
    padding-bottom: 24px;
  }
  .cantina-cover-foot {
    position: relative;
  }
  .public-header {
    flex-wrap: wrap;
    gap: 12px;
  }
  .public-header .actions {
    flex-wrap: wrap;
  }
  .restaurant-contact a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    width: fit-content;
  }
  .cantina-cover-foot a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}
@media (max-width: 360px) {
  .stats {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Screens must fit the display; handheld previews may scroll vertically. */
.device-page .screen-layout {
  height: 100svh;
  min-height: 0;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}
.device-page .screen-photo {
  min-height: 0;
  min-width: 0;
}
.device-page .screen-layout .screen-photo img {
  height: 100%;
  min-height: 0;
  width: 100%;
}
.device-page .screen-layout .screen-copy {
  min-width: 0;
  min-height: 0;
  padding: clamp(20px, 3.3vh, 55px) clamp(20px, 3vw, 55px) 36px;
}
.device-page .screen-copy h1 {
  font-size: clamp(32px, min(5vw, 6vh), 85px);
  margin: 12px 0;
  overflow-wrap: break-word;
}
.device-page .screen-copy .logo {
  white-space: normal;
  font-size: clamp(18px, 2.2vh, 28px);
}
.device-page .screen-restaurant-logo {
  width: clamp(38px, 6vh, 70px);
  height: clamp(34px, 5.6vh, 62px);
}
.device-page .screen-copy .eyebrow {
  margin: 16px 0 0;
}
.device-page .screen-copy p {
  font-size: clamp(14px, 2vh, 26px);
  line-height: 1.4;
  margin-bottom: 10px;
}
.device-page .screen-copy .screen-price {
  font-size: clamp(32px, 6vh, 65px);
  margin: 10px 0;
}
.device-page .screen-list {
  margin-top: 14px;
}
.device-page .screen-list > div {
  padding: 7px 0;
  font-size: clamp(12px, 1.6vh, 22px);
}
.device-page .screen-list > div b {
  flex-shrink: 0;
}
.device-page .screen-schedule {
  margin-top: 14px;
}
.device-page .screen-copy .pilot-notice {
  padding: 8px 0 0;
  font-size: clamp(10px, 1.25vh, 16px);
}
.device-page .screen-layout[data-orientation="portrait"] {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 45svh minmax(0, 1fr);
}
.device-page .screen-layout[data-orientation="portrait"] .screen-copy h1 {
  font-size: clamp(30px, min(5vw, 4vh), 68px);
}
@media (max-aspect-ratio: 3/4) {
  .device-page .screen-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 45svh minmax(0, 1fr);
  }
  .device-page .screen-layout .screen-copy h1 {
    font-size: clamp(30px, min(5vw, 4vh), 68px);
  }
  .device-page .screen-layout .screen-copy .logo {
    font-size: 20px;
  }
  .device-page .screen-layout .screen-restaurant-logo {
    height: 38px;
    width: 42px;
  }
  .device-page .screen-layout .screen-copy {
    padding: 18px 28px 34px;
  }
  .device-page .screen-layout .screen-copy .eyebrow {
    margin-top: 10px;
  }
  .device-page .screen-layout .screen-copy p {
    font-size: clamp(14px, 1.7vh, 24px);
  }
  .device-page .screen-layout .screen-list {
    margin-top: 10px;
  }
  .device-page .screen-layout .screen-list > div {
    padding: 5px 0;
  }
}
@media (max-width: 600px) {
  .device-page .screen-layout {
    height: auto;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 38svh auto;
  }
  .device-page .screen-layout .screen-copy {
    padding: 24px 20px 64px;
  }
  .device-page .screen-layout .screen-copy h1 {
    font-size: 32px;
  }
  .device-page .screen-list > div {
    font-size: 14px;
  }
}
.device-page .screen-copy .logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.device-page .screen-layout[data-orientation="portrait"] {
  grid-template-rows: 40svh minmax(0, 1fr);
}
@media (max-aspect-ratio: 3/4) {
  .device-page .screen-layout {
    grid-template-rows: 40svh minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .device-page .screen-layout {
    grid-template-rows: 38svh auto;
  }
}
.public .immersive-detail > *,
.public :is(fieldset, .panel, .side-group, .side-choice span) {
  min-width: 0;
}
.public :is(p, h1, h2, h3, small, legend) {
  overflow-wrap: anywhere;
}
.public legend {
  max-width: 100%;
}
.form-actions,
.variant-row {
  flex-wrap: wrap;
}
.variant-row span {
  flex: 1 1 120px;
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 850px) {
  .immersive-detail {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .public
    :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea),
  .main
    :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    font-size: 16px;
  }
}
