:root {
  --cream: #fff7e9;
  --cream-deep: #f4e8d5;
  --teal: #077e78;
  --deep-teal: #123e39;
  --pink: #e11c79;
  --pink-soft: #fde7f1;
  --gold: #f6b819;
  --white: #fffdf7;
  --muted: #5f706c;
  --line: #dce9e3;
  --line-strong: #b8d4cb;
  --danger: #b42318;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --gutter: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--cream);
  background-image:
    radial-gradient(70% 46% at 10% 0%, rgba(246, 184, 25, 0.1), transparent 72%),
    radial-gradient(58% 42% at 100% 2%, rgba(7, 126, 120, 0.08), transparent 74%);
  background-repeat: no-repeat;
  color: var(--deep-teal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
  min-width: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--deep-teal);
  letter-spacing: 0.01em;
}

p {
  line-height: 1.55;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--gold);
  color: var(--deep-teal);
}

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: relative;
  z-index: 2;
  background: rgba(255, 247, 233, 0.94);
  border-bottom: 1px solid rgba(7, 126, 120, 0.14);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  color: var(--deep-teal);
  text-decoration: none;
}

.brand img {
  width: 90px;
  height: auto;
  max-width: none;
  flex: 0 0 auto;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(7, 126, 120, 0.08);
  color: var(--deep-teal);
}

.site-nav a:last-child {
  color: var(--deep-teal);
}

.demo-strip {
  background: var(--deep-teal);
  color: var(--cream);
  padding: 6px 16px;
  text-align: center;
}

.demo-strip small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--cream);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.045em;
}

.demo-strip small::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
}

/* Layout and type */
.app-shell {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 16px;
  min-width: 0;
}

.page-heading {
  margin-bottom: 18px;
}

.page-heading h1 {
  margin: 4px 0 8px;
  color: var(--deep-teal);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.005em;
}

.page-heading p {
  max-width: 52ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: var(--gold);
}

.stack {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  min-width: 0;
}

.hint {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.error {
  color: var(--danger);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
}

.success {
  color: var(--teal);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
}

.label {
  display: block;
  color: var(--deep-teal);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

/* Steps */
.steps {
  display: flex;
  gap: 8px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

.steps > * {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 15px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.steps > *::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 99px;
  background: var(--line);
}

.steps > * > span:first-child,
.steps .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--cream-deep);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

.steps .current {
  color: var(--deep-teal);
  font-weight: 700;
}

.steps .current::before {
  background: var(--pink);
}

.steps .current > span:first-child,
.steps .current .step-number {
  background: var(--pink);
  color: #ffffff;
}

/* Cards and menu */
.card {
  min-width: 0;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(18, 62, 57, 0.04);
  overflow-wrap: break-word;
}

.card > :last-child {
  margin-bottom: 0;
}

.card p {
  line-height: 1.55;
}

.card p + p {
  margin-top: 8px;
}

h2 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.1;
}

h3 {
  margin: 0 0 6px;
  font-size: 21px;
  line-height: 1.15;
}

.menu-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.menu-card h2 {
  margin: 0 0 4px;
  font-size: 27px;
  line-height: 1.08;
}

.menu-card p {
  margin: 0;
}

.menu-card .price {
  margin-top: 5px;
  color: var(--teal);
  font-size: 15px;
  font-weight: 700;
}

.menu-card .hint {
  margin-top: 5px;
}

.price {
  color: var(--teal);
  font-weight: 700;
}

.qty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  flex: 0 0 auto;
  padding: 2px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.qty button,
.qty .qty-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--teal);
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
}

.qty button:hover {
  background: var(--white);
  color: var(--deep-teal);
}

.qty button:disabled {
  background: transparent;
  color: #6f7a76;
  cursor: not-allowed;
}

.qty-count {
  min-width: 32px;
  padding: 0 2px;
  color: var(--deep-teal);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid var(--pink);
  border-radius: 14px;
  background: var(--pink);
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.button:hover {
  background: #c8156b;
  border-color: #c8156b;
}

.button:active {
  transform: translateY(1px);
}

.button.primary {
  background: var(--pink);
  border-color: var(--pink);
  color: #ffffff;
}

.button.secondary {
  background: var(--cream);
  border-color: var(--teal);
  color: var(--teal);
}

.button.secondary:hover {
  background: #eaf7f2;
  border-color: var(--deep-teal);
  color: var(--deep-teal);
}

.button.quiet {
  min-height: 44px;
  padding: 8px 10px;
  border-color: transparent;
  background: transparent;
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.button.quiet:hover {
  background: rgba(7, 126, 120, 0.08);
  color: var(--deep-teal);
}

.button.wide {
  width: 100%;
}

.button:disabled,
.button[aria-disabled="true"] {
  background: #eceae3;
  border-color: #d9d6ce;
  color: #5f6866;
  cursor: not-allowed;
  transform: none;
  text-decoration: none;
}

/* Slots */
.slot-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.slot-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-width: 0;
  min-height: 90px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--deep-teal);
  text-align: left;
  font: inherit;
}

.slot-option:hover {
  border-color: var(--line-strong);
  background: #fffefb;
}

.slot-option[aria-pressed="true"] {
  border-color: var(--pink);
  background: var(--pink-soft);
  box-shadow: inset 0 0 0 1px var(--pink);
}

.slot-option[aria-pressed="true"] .slot-time {
  color: #9d0f54;
}

.slot-option:disabled {
  border-color: #dcd8cf;
  background: #f0eee8;
  color: #666f6c;
  box-shadow: none;
  cursor: not-allowed;
}

.slot-option:disabled .slot-time {
  color: #59625f;
}

.slot-option:disabled .slot-info {
  color: #5f6866;
}

.slot-time {
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.005em;
  font-variant-numeric: tabular-nums;
}

.slot-info {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.hour-label {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hour-label:first-child {
  margin-top: 0;
}

/* Sticky checkout bar */
.sticky-action {
  position: sticky;
  bottom: 0;
  z-index: 20;
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 247, 233, 0.97);
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -8px 24px rgba(18, 62, 57, 0.06);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.order-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.35;
}

.order-total .amount,
.order-total strong,
.order-total b {
  color: var(--deep-teal);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

/* Forms */
.form-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 16px 0;
}

.form-field:first-child {
  margin-top: 0;
}

.form-field:last-child {
  margin-bottom: 0;
}

.form-field label,
.form-field .label,
.label {
  color: var(--deep-teal);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.form-field input:not([type="radio"]):not([type="checkbox"]),
.form-field select,
.form-field textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--white);
  color: var(--deep-teal);
  font-size: 16px;
  line-height: 1.3;
}

.form-field textarea {
  min-height: 96px;
  resize: vertical;
}

.form-field select {
  padding-right: 38px;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--teal) 50%),
    linear-gradient(135deg, var(--teal) 50%, transparent 50%);
  background-position:
    calc(100% - 19px) 50%,
    calc(100% - 14px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: #95bdb2;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--teal);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8b9793;
  opacity: 1;
}

input:disabled,
select:disabled,
textarea:disabled {
  border-color: #d8d4ca;
  background: #efede7;
  color: #5f6866;
  cursor: not-allowed;
}

.form-field .error {
  margin-top: -2px;
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  line-height: 1.3;
  cursor: pointer;
}

.choice:hover {
  border-color: #95bdb2;
}

.choice input[type="radio"],
.choice input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--pink);
}

.choice span {
  min-width: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.choice:has(input:checked) {
  border-color: var(--pink);
  background: var(--pink-soft);
  box-shadow: inset 0 0 0 1px var(--pink);
}

.choice:has(input:checked) span {
  color: var(--deep-teal);
  font-weight: 700;
}

.choice:has(input:focus-visible) {
  outline: 3px solid var(--pink);
  outline-offset: 2px;
}

/* Ticket, status and details */
.ticket {
  position: relative;
  border-top: 4px solid var(--gold);
}

.ticket-number,
.ticket .ticket-number {
  margin: 4px 0 10px;
  color: var(--deep-teal);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e1f2ec;
  color: #0a615b;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.85;
}

.status.pending,
.status.gold {
  background: #fff1c4;
  color: #6b4d00;
}

.status.cancelled,
.status.muted {
  background: #eceae3;
  color: #5f6866;
}

.status.pink {
  background: var(--pink-soft);
  color: #a01056;
}

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

.info-grid dl {
  display: grid;
  grid-template-columns: minmax(72px, auto) minmax(0, 1fr);
  gap: 8px 16px;
  min-width: 0;
  margin: 0;
}

dl.info-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 16px;
  margin: 0;
}

.info-grid dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.info-grid dd {
  min-width: 0;
  margin: 0;
  color: var(--deep-teal);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.notice {
  padding: 14px;
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: #fff4d3;
  color: #5d4a15;
  font-size: 13.5px;
  line-height: 1.5;
}

/* Management */
.tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  min-width: 0;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f3e8d6;
}

.tabs button,
.tabs .tab {
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--deep-teal);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.tabs [aria-selected="true"] {
  background: var(--white);
  color: var(--deep-teal);
  box-shadow: 0 1px 3px rgba(18, 62, 57, 0.1);
}

.tabs button:disabled {
  background: #eceae3;
  color: #5f6866;
  cursor: not-allowed;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.stats .card {
  padding: 16px;
}

.stats .label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats .big-value,
.stats strong,
.stats .value {
  display: block;
  color: var(--deep-teal);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.availability-list {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.availability-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.availability-row > * {
  min-width: 0;
}

.availability-row .slot-editor {
  margin-left: auto;
}

.slot-editor {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.slot-editor input[type="number"] {
  width: 64px;
  height: 44px;
  min-height: 44px;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--white);
  color: var(--deep-teal);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}

.slot-editor input[type="number"]::-webkit-outer-spin-button,
.slot-editor input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--cream);
  color: var(--teal);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.mini-button:hover {
  border-color: var(--teal);
  background: #e9f6f1;
  color: var(--deep-teal);
}

.mini-button:disabled {
  border-color: #d8d4ca;
  background: #efede7;
  color: #5f6866;
  cursor: not-allowed;
}

.availability-row .save-button {
  flex: 1 1 80px;
  min-width: 80px;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 14px;
}

.manager-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.manager-toolbar .manager-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.manager-toolbar .button {
  min-height: 44px;
  padding: 8px 16px;
  font-size: 14px;
}

.booking-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.booking-card .row {
  align-items: flex-start;
}

.booking-title {
  margin: 0;
  color: var(--deep-teal);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.booking-meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.booking-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.booking-actions .button {
  min-height: 44px;
  padding: 8px 14px;
  font-size: 13.5px;
}

.empty-state {
  padding: 40px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.empty-state strong,
.empty-state h2 {
  display: block;
  margin-bottom: 6px;
  color: var(--deep-teal);
}

/* Disclosure and switches */
.details-block {
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.details-block details {
  min-width: 0;
}

.details-block summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  min-height: 44px;
  padding: 8px 0;
  color: var(--deep-teal);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

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

.details-block summary::after {
  content: "+";
  margin-left: auto;
  color: var(--teal);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.details-block details[open] summary::after {
  content: "−";
}

.details-block details > *:not(summary) {
  margin-bottom: 14px;
}

.toggle-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  line-height: 1.35;
  cursor: pointer;
}

.toggle-line input {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--pink);
}

.toggle-line:has(input:focus-visible) {
  border-radius: 6px;
  outline: 3px solid var(--pink);
  outline-offset: 2px;
}

/* Modal and toast */
dialog {
  width: calc(100% - 32px);
  max-width: 420px;
  max-height: calc(100% - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--cream);
  color: var(--deep-teal);
  box-shadow: 0 24px 70px rgba(18, 62, 57, 0.3);
  overflow: auto;
}

dialog::backdrop {
  background: rgba(18, 62, 57, 0.58);
}

.modal-inner {
  min-width: 0;
  padding: 24px;
}

.modal-inner h2 {
  margin: 0 0 8px;
  padding-right: 24px;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.05;
}

.modal-inner p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.modal-actions .button {
  flex: 1 1 130px;
  min-width: 0;
}

#toast {
  position: fixed;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 100;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--deep-teal);
  color: var(--cream);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 10px 30px rgba(18, 62, 57, 0.28);
  transform: translateX(-50%);
}

.error-summary {
  padding: 12px 14px;
  border: 1px solid #f0c0ba;
  border-radius: 10px;
  background: #fdecea;
  color: #8f1d12;
  font-size: 14px;
  line-height: 1.45;
}

.site-footer {
  padding: 26px 16px calc(26px + env(safe-area-inset-bottom));
  text-align: center;
}

.site-footer small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}

@media (min-width: 360px) {
  .slot-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  :root {
    --gutter: 28px;
  }

  .app-shell {
    padding: 28px;
  }

  .header-inner {
    padding: 14px 28px;
  }

  .brand img {
    width: 110px;
  }

  .brand small {
    font-size: 11px;
  }

  .site-nav {
    gap: 4px;
  }

  .site-nav a {
    padding: 8px 14px;
    font-size: 15px;
  }

  .page-heading h1 {
    font-size: 44px;
  }

  .slot-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer {
    padding: 32px 28px calc(32px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 360px) {
  .header-inner {
    padding: 10px 12px;
    gap: 8px;
  }

  .brand small {
    font-size: 9.5px;
    letter-spacing: 0.05em;
  }

  .site-nav a {
    padding: 8px;
    font-size: 13px;
  }

  .page-heading h1 {
    font-size: 32px;
  }

  .steps {
    gap: 6px;
  }

  .steps > * {
    font-size: 11px;
  }

  .menu-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .menu-card .qty {
    justify-self: start;
  }

  .slot-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .choice-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats {
    gap: 8px;
  }

  .stats .card {
    padding: 14px;
  }

  .availability-row .slot-editor {
    width: 100%;
    margin-left: 0;
  }

  .booking-actions .button {
    flex: 1 1 100%;
  }

  .modal-actions .button {
    flex: 1 1 100%;
  }
}

/* Keep the two menu choices compact and easy to scan on a phone. */
.menu-intro > .hint { margin: 10px 0 22px; }
.menu-card > .row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: center; }
.menu-card h2 { font-size: 26px; line-height: 1.1; }
.menu-card .qty { flex-shrink: 0; width: auto; }
.menu-card .qty .button { min-width: 40px; min-height: 44px; padding: 0 8px; }
.menu-card .qty-count { min-width: 22px; }
.menu-intro .stack { gap: 14px; }
@media(max-width:360px) { .menu-card h2 { font-size:24px; } .menu-card { padding:14px; } }
.save-button:enabled { background: var(--teal); color: white; border-color: var(--teal); }
.save-button:disabled { opacity: .48; cursor: default; }

/* Keep each pickup range on one readable line. */
.slot-option .slot-time { font-family: var(--font-display); font-size: 22px; white-space: nowrap; }
