:root {
  --bg: #f7f7f5;
  --panel: #ffffff;
  --ink: #1f1f1f;
  --muted: #6b6b6b;
  --line: #ebebeb;
  --brand: #c5a059;
  --brand-dark: #a68545;
  --accent: #fdfaf2;
  --danger: #b3261e;
  --success: #2e7d32;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  /* Sprint polish: unified Manrope stack.
     Keep the --font-serif alias for legacy references; it still points to
     Manrope so old display-weight h1/h2 don't render a different family. */
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
}

h1, h2, h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
}
h1 { font-size: 1.9rem; line-height: 1.15; }
h2 { font-size: 1.3rem; line-height: 1.25; }
h3 { font-size: 1.05rem; line-height: 1.3; }

/* Layout */
.app-wrapper { display: flex; flex-direction: column; min-height: 100vh; }

.app-header {
  height: 64px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-brand .brand {
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-sans);
}

.header-nav { margin-left: 48px; display: flex; gap: 24px; }
.nav-item { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 13px; }
.nav-item:hover { color: var(--ink); }
.header-auth { margin-left: auto; }
.user-meta { display: flex; align-items: center; gap: 16px; }

/* Main */
.app-main { flex: 1; padding: 40px 0; }
.main-container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

/* Components */
.content-section {
  background: var(--panel);
  border: 1px solid var(--line);
  margin-bottom: 32px;
  box-shadow: var(--shadow);
}

.section-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: #fafafa;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-header h2 { font-size: 22px; }
.section-body { padding: 24px; }

/* Data Display */
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  background: var(--line);
  gap: 1px;
}

.data-cell {
  padding: 20px;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.data-label { font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--muted); letter-spacing: 0.5px; }
.data-value { font-size: 15px; font-weight: 500; }

/* Stats */
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 40px; }
.stat-card { background: var(--panel); padding: 24px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.stat-card strong { display: block; font-size: 10px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.stat-card span { font-family: var(--font-serif); font-size: 36px; line-height: 1; display: block; }

/* Tables & Lists */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; padding: 12px 24px; font-size: 11px; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); background: #fafafa; }
.admin-table td { padding: 16px 24px; border-bottom: 1px solid var(--line); }
.admin-table tr:hover td { background: #fcfcfc; }

.admin-list { list-style: none; padding: 0; margin: 0; }
.admin-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-list li:last-child { border-bottom: none; }

/* Forms */
.admin-form { display: grid; gap: 24px; max-width: 640px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field-group label { font-size: 12px; font-weight: 600; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; display: block; }
.admin-form input, .admin-form textarea, .admin-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fafafa;
  font-family: var(--font-sans);
  font-size: 14px;
  border-radius: 4px;
}
.admin-form input:focus { outline: none; border-color: var(--brand); background: #fff; }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 24px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border-radius: 4px;
}
.button:hover { background: #333; transform: translateY(-1px); }
.button-secondary { background: transparent; color: var(--ink); }
.button-small { height: 32px; padding: 0 12px; font-size: 10px; }
.button-ghost { background: transparent; border-color: var(--line); color: var(--muted); }

/* Flash Messages */
.flash-messages { position: fixed; top: 80px; right: 32px; z-index: 1100; display: flex; flex-direction: column; gap: 12px; }
.flash-item { padding: 12px 24px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); border-left: 4px solid var(--brand); animation: slideIn 0.3s ease-out; }

/* Public Page Style */
.guide-page, .menu-page { background: #fff; min-height: 100vh; }
.guide-hero, .menu-hero { padding: 100px 32px; text-align: center; background: var(--accent); border-bottom: 1px solid var(--line); margin-bottom: 64px; }
.guide-hero h1, .menu-hero h1 { font-size: 64px; margin-bottom: 16px; overflow-wrap: anywhere; }
.guide-subtitle, .menu-subtitle { font-size: 22px; color: var(--muted); font-style: italic; font-family: var(--font-serif); }
.menu-hero__meta {
  margin: 14px auto 0;
  max-width: 520px;
  color: var(--muted);
  font: 700 12px/1.4 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0;
}

.guide-card, .menu-catalog { max-width: 800px; margin: 48px auto; padding: 64px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.guide-section-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.guide-section-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--accent);
}

.guide-knowledge {
  max-width: 960px;
  margin: 48px auto;
}
.guide-knowledge__block + .guide-knowledge__block { margin-top: 40px; }
.guide-knowledge h2 {
  margin: 0 0 20px;
  color: var(--ink);
  font: 600 30px/1.15 var(--font-serif);
}
.guide-knowledge-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.guide-knowledge-group {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(40, 32, 20, 0.05);
}
.guide-knowledge-group h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font: 700 13px/1.3 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0;
}
.guide-amenity-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.guide-amenity-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.guide-amenity-list li:last-child {
  border-bottom: 0;
}
.guide-amenity-list__content {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.guide-amenity-list__image {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--paper);
}
.guide-amenity-info-button {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: 700 13px/1 var(--font-sans);
}
.guide-amenity-info-button:hover {
  border-color: var(--brand-dark);
  color: var(--brand-dark);
}
.guide-amenity-modal {
  width: min(92vw, 560px);
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
}
.guide-amenity-modal::backdrop {
  background: rgba(25, 22, 18, 0.48);
}
.guide-amenity-modal__panel {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(25, 22, 18, 0.24);
}
.guide-amenity-modal__panel h3 {
  margin: 0 44px 16px 0;
  color: var(--ink);
  font: 700 22px/1.2 var(--font-sans);
}
.guide-amenity-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}
.guide-amenity-modal__body {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.guide-amenity-modal__body p {
  margin: 6px 0 0;
}
.guide-amenity-modal__body strong {
  color: var(--ink);
}
.guide-amenity-modal__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 0 0 16px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--paper);
}
.guide-instruction-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.guide-instruction-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.guide-instruction-item h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font: 700 18px/1.3 var(--font-sans);
}
.guide-instruction-item__image {
  display: block;
  width: min(100%, 720px);
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 12px 0;
  border-radius: 8px;
  object-fit: cover;
  background: var(--paper);
}
.guide-instruction-item p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.guide-instruction-item strong { color: var(--ink); }

@media (max-width: 640px) {
  .guide-knowledge { margin: 32px auto; }
  .guide-knowledge h2 { font-size: 24px; }
  .guide-knowledge-groups { grid-template-columns: 1fr; gap: 18px; }
  .guide-amenity-list li { font-size: 13px; }
}

/* Menu Items with Proper Thumbnails */
.menu-items { display: grid; gap: 40px; }
.menu-item { display: flex; gap: 24px; align-items: flex-start; padding-bottom: 32px; border-bottom: 1px solid #f8f8f8; }
.menu-item:last-child { border-bottom: none; }

.menu-item-media {
  flex: 0 0 100px;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: zoom-in;
  transition: transform 0.2s;
}
.menu-item-media:hover { transform: scale(1.05); }
.menu-item-media img { width: 100%; height: 100%; object-fit: cover; }

.menu-item-copy { flex: 1; min-width: 0; }
.menu-item-title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 8px; min-width: 0; }
.menu-item-title-row h3 { font-size: 20px; font-family: var(--font-sans); font-weight: 600; color: var(--ink); }
.menu-item-price { flex: 0 0 auto; font-family: var(--font-serif); font-size: 19px; font-weight: 500; color: var(--brand-dark); }
.menu-item-copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.menu-list-add {
  margin-top: 14px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font: 700 13px/1 var(--font-sans);
  cursor: pointer;
}
.menu-list-add[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Image Modal / Lightbox */
.image-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  cursor: zoom-out;
}
.image-modal.is-active { display: flex; }
.image-modal img { max-width: 90%; max-height: 90%; border: 4px solid #fff; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }

@media (max-width: 768px) {
  .menu-hero h1 { font-size: 42px; }
  .menu-item { gap: 16px; }
  .menu-item-media { flex: 0 0 80px; width: 80px; height: 80px; }
  .menu-item-title-row { align-items: flex-start; flex-wrap: wrap; gap: 6px 12px; }
  .menu-item-title-row h3 { font-size: 18px; }
  .guide-card, .menu-catalog { padding: 32px 20px; }
}

/* ==========================================================================
   GUIDE-021: Display Template Variants
   -------------------------------------------------------------------------- */

/* Shared: language switcher at top of every variant */
.guide-locale-switcher {
  background: var(--accent);
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  font-size: 13px;
}
.guide-locale-switcher ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.guide-locale-switcher a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.guide-locale-switcher a.is-active {
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
}
.locale-flag {
  font-size: 16px;
  line-height: 1;
}
.guide-public-footer {
  margin: 56px 0 24px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}
.guide-public-footer h2 {
  margin: 0 0 16px;
  font-size: 22px;
}
.guide-public-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.guide-public-footer__item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafafa;
}
.guide-public-footer__label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.guide-public-footer__value {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .guide-public-footer__grid { grid-template-columns: 1fr; }
}

/* Airbnb-inspired variant — photo-first hero, rounded cards, bolder sans. */
.guide-page--airbnb {
  background:
    linear-gradient(180deg, #ffffff 0%, #faf8f3 46%, #ffffff 100%);
}

.guide-page--airbnb .guide-hero-airbnb {
  position: relative;
  min-height: 440px;
  background: linear-gradient(180deg, #f7f5ef 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.guide-page--airbnb .guide-hero-airbnb::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.58));
  pointer-events: none;
}
.guide-page--airbnb .guide-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.76) saturate(1.05);
}
.guide-page--airbnb .guide-hero-copy {
  position: relative;
  z-index: 1;
  padding: 120px 0 64px;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.guide-page--airbnb .guide-hero-airbnb:not(:has(.guide-hero-media)) .guide-hero-copy {
  color: var(--ink);
  text-shadow: none;
}
.guide-page--airbnb .guide-hero-copy h1 {
  font-family: var(--font-sans);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 8px;
  max-width: 820px;
  overflow-wrap: anywhere;
}
.guide-page--airbnb .guide-hero-subtitle {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  opacity: 0.92;
  max-width: 680px;
}
.guide-page--airbnb .guide-hero-kicker,
.guide-page--airbnb .guide-section-kicker {
  margin: 0 0 10px;
  font: 800 12px/1.2 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0;
}
.guide-page--airbnb .guide-section-kicker { color: #9b6b33; }
.guide-page--airbnb .guide-hero-kicker {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.guide-page--airbnb .guide-quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
  gap: 12px;
  margin: 48px 0 32px;
}
.guide-page--airbnb .quick-action-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 3px 12px;
  min-height: 104px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 8px 24px rgba(28, 22, 15, 0.06);
}
.guide-page--airbnb .quick-action-card__icon {
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f7f1e8;
  color: #7a4b16;
}
.guide-page--airbnb .quick-action-card__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.guide-page--airbnb .quick-action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.guide-page--airbnb .quick-action-card strong { font-size: 16px; font-weight: 600; }
.guide-page--airbnb .quick-action-card span {
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
}
.guide-page--airbnb .quick-action-card__icon { color: #7a4b16; }

.guide-page--airbnb .guide-welcome-airbnb {
  padding: 36px;
  border: 1px solid #eee3d6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(60, 45, 27, 0.07);
  margin: 32px 0 48px;
}
.guide-page--airbnb .guide-welcome-airbnb h2 {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.guide-page--airbnb .guide-amenities { margin: 28px 0; }
.guide-page--airbnb .guide-amenities h2 {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 24px;
}
.guide-page--airbnb .airbnb-stay-rail-wrapper + .guide-amenities {
  margin-top: 20px;
}
.guide-page--airbnb .guide-knowledge {
  margin: 28px auto 12px;
}
.guide-page--airbnb .guide-knowledge__block--instructions {
  display: none;
}
.guide-page--airbnb .guide-knowledge h2 {
  font-family: var(--font-sans);
  font-size: 26px;
}
.guide-page--airbnb .guide-knowledge-groups {
  gap: 16px;
}
.guide-page--airbnb .amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.guide-page--airbnb .amenity-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(28, 22, 15, 0.05);
}
.guide-page--airbnb .amenity-head { margin-bottom: 12px; }
.guide-page--airbnb .amenity-kind {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--brand-dark);
  margin-bottom: 6px;
}
.guide-page--airbnb .amenity-card h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
}

.guide-page--airbnb .guide-recommendations-airbnb { margin: 32px 0 64px; }
.guide-page--airbnb .guide-recommendations-airbnb h2 {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 24px;
}
.guide-recommendation-groups {
  display: grid;
  gap: 28px;
}
.guide-recommendation-group {
  display: grid;
  gap: 14px;
}
.guide-recommendation-group__title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.guide-recommendation-group__title::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin-top: 8px;
  background: var(--brand);
}
.guide-page--airbnb .recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.guide-page--airbnb .recommendation-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(28, 22, 15, 0.05);
}
.guide-page--airbnb .recommendation-card h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}
.guide-page--airbnb .rec-category {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.guide-page--airbnb .rec-description {
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.5;
}
.guide-page--airbnb .rec-actions { margin-top: 12px; }

@media (max-width: 768px) {
  .guide-page--airbnb .guide-hero-airbnb { min-height: 320px; }
  .guide-page--airbnb .guide-hero-copy { padding: 80px 0 40px; }
  .guide-page--airbnb .guide-hero-copy h1 { font-size: 34px; }
  .guide-page--airbnb .guide-hero-subtitle { font-size: 16px; }
  .guide-page--airbnb .guide-welcome-airbnb { padding: 24px; border-radius: 14px; }
}

/* Compact variant — dense single column, no hero image. */
.guide-page--compact { background: #fbfbf8; }

.guide-page--compact .guide-header-compact {
  padding: 32px 0 18px;
  border-bottom: 1px solid #dedbd2;
  background: #fff;
}
.guide-page--compact .guide-compact-kicker {
  margin: 0 0 8px;
  color: #7a603d;
  font: 800 11px/1.2 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0;
}
.guide-page--compact .guide-header-compact h1 {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
  overflow-wrap: anywhere;
}
.guide-page--compact .guide-subtitle-compact {
  font-size: 14px;
  color: var(--muted);
}

.guide-page--compact .guide-compact-body { padding: 24px 0 48px; }

.guide-page--compact .guide-quick-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.guide-page--compact .guide-quick-list a {
  display: inline-block;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}
.guide-page--compact .guide-quick-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: baseline;
}
.guide-page--compact .guide-quick-list span {
  color: var(--muted);
  font-size: 13px;
}

.guide-page--compact .guide-welcome-compact {
  padding: 16px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.guide-page--compact .guide-welcome-compact h2 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.guide-page--compact .section-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.guide-page--compact .section-row:last-child { border-bottom: none; }
.guide-page--compact .section-row h3 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.guide-page--compact .guide-recommendations-compact {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.guide-page--compact .guide-recommendations-compact h2 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}
.guide-page--compact .guide-recommendation-groups {
  gap: 18px;
}
.guide-page--compact .guide-recommendation-group {
  gap: 6px;
}
.guide-page--compact .guide-recommendation-group__title {
  font-size: 15px;
}
.guide-page--compact .recommendation-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.guide-page--compact .recommendation-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.guide-page--compact .recommendation-list li:last-child { border-bottom: none; }
.guide-page--compact .rec-category-inline {
  color: var(--muted);
  font-size: 13px;
}
.guide-page--compact .recommendation-list li p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--ink);
}

/* GUIDE-019: service_links section */
.guide-services {
  margin: 48px 0;
}
.guide-services__heading {
  font-size: 28px;
  color: var(--ink);
  margin-bottom: 20px;
}
.guide-services__list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.guide-services__card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.guide-services__card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.guide-services__title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
.guide-services__desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.guide-services__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--accent);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.guide-services__cta:hover {
  opacity: 0.88;
}
@media (max-width: 540px) {
  .guide-services__list {
    grid-template-columns: 1fr;
  }
  .guide-services__cta {
    align-self: stretch;
  }
}

/* GUIDE-020: recommendation card */
.guide-recommendation-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}
.guide-recommendation-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.guide-recommendation-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--accent);
  overflow: hidden;
}
.guide-recommendation-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.guide-recommendation-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
  flex: 1;
}
.guide-recommendation-card__category {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--brand-dark);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.guide-recommendation-card__title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}
.guide-recommendation-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.guide-recommendation-card__contact {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--ink);
}
.guide-recommendation-card__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
  word-break: break-word;
}
.guide-recommendation-card__contact-item a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.15s ease;
}
.guide-recommendation-card__contact-item a:hover {
  border-bottom-color: var(--brand);
}
.guide-recommendation-card__contact-bullet {
  color: var(--brand);
  font-weight: 700;
  line-height: 1.4;
}
.guide-recommendation-card__actions {
  margin-top: auto;
  padding-top: 12px;
}
.guide-recommendation-card__map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.guide-recommendation-card__map-btn:hover {
  background: var(--ink);
  color: var(--accent);
}
@media (max-width: 540px) {
  .guide-recommendation-card__map-btn {
    width: 100%;
  }
}

/* UI-005: preview button + draft ribbon */
.preview-as-guest {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.preview-as-guest:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-1px);
}
.preview-as-guest:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}
.preview-as-guest__icon {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
}

.preview-draft-ribbon {
  position: sticky;
  top: 0;
  z-index: 50;
  background: repeating-linear-gradient(
    135deg,
    #b3261e,
    #b3261e 12px,
    #8a1c18 12px,
    #8a1c18 24px
  );
  color: #fff;
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  font-size: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}


/* UI-001: admin shell + sidebar */

/* Shell container: mobile-first single column; sidebar slides in as drawer. */
.admin-shell {
  display: block;
  min-height: 100vh;
  background: var(--bg);
}

/* Hamburger: visible only at mobile widths. */
.admin-shell__hamburger {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1100;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.admin-shell__hamburger:hover { background: var(--accent); }

/* Drawer backdrop: appears when sidebar is open on mobile. */
.admin-shell__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 28, 30, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1090;
}
.admin-shell.has-drawer-open .admin-shell__backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* Sidebar itself: mobile = offcanvas drawer. */
.admin-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  max-width: 85vw;
  background: var(--panel);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  z-index: 1095;
}
.admin-sidebar.is-open { transform: translateX(0); }

.admin-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--line);
}
.admin-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex: 1;
  min-width: 0;
}
.admin-sidebar__brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.admin-sidebar__brand-text { display: flex; flex-direction: column; min-width: 0; }
.admin-sidebar__brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-sidebar__brand-label {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.admin-sidebar__close {
  background: transparent;
  border: 0;
  color: var(--muted);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.admin-sidebar__close:hover { background: var(--accent); color: var(--ink); }

.admin-sidebar__nav {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-sidebar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease;
}
.admin-sidebar__item:hover { background: var(--accent); }
.admin-sidebar__item.is-active {
  background: var(--ink);
  color: var(--accent);
}
.admin-sidebar__item.is-active .admin-sidebar__icon { color: var(--accent); }
.admin-sidebar__item[aria-disabled="true"] {
  color: var(--muted);
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.7;
}
.admin-sidebar__icon { flex-shrink: 0; color: var(--muted); }
.admin-sidebar__item:hover .admin-sidebar__icon { color: var(--ink); }
.admin-sidebar__label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.admin-sidebar__footer {
  border-top: 1px solid var(--line);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.admin-sidebar__user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px;
}
.admin-sidebar__user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}
.admin-sidebar__user-meta { display: flex; flex-direction: column; min-width: 0; }
.admin-sidebar__user-name {
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-sidebar__user-email { font-size: 11px; }
.admin-sidebar__logout { margin: 0; }
.admin-sidebar__logout-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.admin-sidebar__logout-btn:hover {
  background: var(--ink);
  color: var(--accent);
  border-color: var(--ink);
}

/* Main content area: full width under mobile drawer. */
.admin-main {
  padding: 72px 20px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.admin-page-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 24px;
}
.admin-page-header__text { min-width: 0; flex: 1; }
.admin-page-header__text h1 { margin: 4px 0 4px; font-size: 28px; }
.admin-page-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Body lock for open drawer (prevents background scroll). */
body.admin-drawer-locked { overflow: hidden; }

/* Tablet: persistent icon-rail (60px) with labels hidden. */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .admin-shell__hamburger { display: none; }
  .admin-shell__backdrop { display: none; }
  .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 60px;
    transform: translateX(0);
    transition: width 0.2s ease;
  }
  .admin-sidebar:not(.is-open) .admin-sidebar__label,
  .admin-sidebar:not(.is-open) .admin-sidebar__brand-text,
  .admin-sidebar:not(.is-open) .admin-sidebar__user-meta,
  .admin-sidebar:not(.is-open) .admin-sidebar__close,
  .admin-sidebar:not(.is-open) .admin-sidebar__user-email {
    display: none;
  }
  .admin-sidebar:not(.is-open) .admin-sidebar__header,
  .admin-sidebar:not(.is-open) .admin-sidebar__footer {
    padding-left: 10px;
    padding-right: 10px;
  }
  .admin-sidebar:not(.is-open) .admin-sidebar__nav { padding: 16px 8px; }
  .admin-sidebar:not(.is-open) .admin-sidebar__item {
    justify-content: center;
    padding: 10px 8px;
  }
  .admin-sidebar:not(.is-open) .admin-sidebar__logout-btn {
    justify-content: center;
    padding: 10px 8px;
  }
  .admin-main {
    padding: 32px 24px;
    margin-left: 60px;
    max-width: none;
  }
}

/* Desktop: persistent 240px sidebar alongside main via CSS grid-like layout. */
@media (min-width: 1024px) {
  .admin-shell {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
  }
  .admin-shell__hamburger { display: none; }
  .admin-shell__backdrop { display: none; }
  .admin-sidebar {
    position: sticky;
    top: 0;
    left: auto;
    bottom: auto;
    width: 240px;
    max-width: 240px;
    height: 100vh;
    transform: translateX(0);
  }
  .admin-sidebar__close { display: none; }
  .admin-main {
    padding: 32px 40px;
    margin: 0;
    max-width: 1200px;
  }
}

/* UI-007: menu hero + labels */
.menu-hero {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 14px;
  margin: 0 0 24px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.menu-hero:not(.menu-hero--image) {
  height: auto;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.public-brand-logo {
  display: inline-block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 12px;
  margin: 0 auto 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}
.public-brand-logo--on-image {
  margin: 0 0 14px;
  border-color: rgba(255, 255, 255, 0.6);
}
.guide-hero .public-brand-logo,
.guide-header-compact .public-brand-logo {
  margin-bottom: 16px;
}
.menu-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.menu-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.56) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.46), transparent 64%);
  pointer-events: none;
}
.menu-hero__content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  color: #fff;
  text-align: left;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}
.menu-hero__content h1 {
  margin: 0 0 8px;
  max-width: 760px;
  color: #fff;
  font-size: 34px;
  line-height: 1.04;
  overflow-wrap: anywhere;
}
.menu-hero__content .eyebrow,
.menu-hero__content .menu-subtitle,
.menu-hero__content .menu-hero__meta {
  color: #fff;
}
.menu-hero__content .menu-subtitle,
.menu-hero__content .menu-hero__meta {
  max-width: 620px;
  margin-left: 0;
  margin-right: 0;
}
.menu-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.15) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}
.menu-hero__title {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
@media (min-width: 768px) {
  .menu-hero {
    height: 320px;
    margin-bottom: 32px;
  }
  .menu-hero__title {
    left: 32px;
    right: 32px;
    bottom: 24px;
    font-size: 34px;
  }
  .menu-hero__content {
    left: 36px;
    right: 36px;
    bottom: 32px;
  }
  .menu-hero__content h1 { font-size: 46px; }
}

.menu-labels {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-left: 8px;
  vertical-align: middle;
}
.menu-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 20px;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.menu-label__icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  display: inline-block;
  fill: currentColor;
}

/* Dietary: green accent */
.menu-label--vegan,
.menu-label--vegetarian {
  background: #e8f5ec;
  color: #1f6b3a;
  border-color: #c5e5cf;
}
/* Spicy: red accent */
.menu-label--spicy {
  background: #fdecec;
  color: #a3281d;
  border-color: #f3c8c3;
}
/* Allergen-free: muted neutral */
.menu-label--gluten_free,
.menu-label--lactose_free,
.menu-label--nut_free {
  background: var(--panel);
  color: var(--muted);
  border-color: var(--line);
}
/* Highlights: brand accent */
.menu-label--popular,
.menu-label--new {
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: var(--brand);
  border-color: color-mix(in srgb, var(--brand) 35%, transparent);
}
/* Chef's special: gold/premium */
.menu-label--chef_special {
  background: #fdf4d8;
  color: #8a6b10;
  border-color: #ead89a;
}

/* UI-003: airbnb rich variant
   Styles the meet-your-host card, sticky right-rail stay summary, sticky
   mobile "Call host" bottom CTA, and line-icon amenity glyphs. Scoped under
   .guide-page--airbnb so we do not leak into editorial/compact variants.
   The wrapping elements `.airbnb-host-card`, `.airbnb-stay-rail-wrapper`,
   and `.airbnb-bottom-cta` live in _airbnb.html and host these blocks. */

/* --- Meet your host ------------------------------------------------------ */
.guide-page--airbnb .airbnb-host-card,
.guide-page--airbnb .guide-host-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin: 32px 0;
}
.guide-page--airbnb .guide-host-card__heading {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.guide-page--airbnb .guide-host-card__body {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.guide-page--airbnb .airbnb-host-card__portrait,
.guide-page--airbnb .guide-host-card__portrait {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-page--airbnb .guide-host-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.guide-page--airbnb .guide-host-card__portrait--placeholder {
  color: var(--muted);
  border: 1px dashed var(--line);
}
.guide-page--airbnb .guide-host-card__text {
  flex: 1 1 auto;
  min-width: 0;
}
.guide-page--airbnb .airbnb-host-card__name,
.guide-page--airbnb .guide-host-card__name {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--ink);
}
.guide-page--airbnb .guide-host-card__name--muted { color: var(--muted); }
.guide-page--airbnb .airbnb-host-card__bio,
.guide-page--airbnb .guide-host-card__bio {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}

/* --- Right-rail "Your stay" --------------------------------------------- */
.guide-page--airbnb .airbnb-stay-rail-wrapper { display: none; }
.guide-page--airbnb .airbnb-stay-rail,
.guide-page--airbnb .guide-stay-rail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
}
.guide-page--airbnb .guide-stay-rail__inner { display: block; }
.guide-page--airbnb .guide-stay-rail__heading {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}
.guide-page--airbnb .guide-stay-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.guide-page--airbnb .airbnb-stay-rail__item,
.guide-page--airbnb .guide-stay-rail__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.guide-page--airbnb .guide-stay-rail__icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.guide-page--airbnb .guide-stay-rail__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}
.guide-page--airbnb .guide-stay-rail__text { min-width: 0; }
.guide-page--airbnb .guide-stay-rail__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin: 0 0 2px;
}
.guide-page--airbnb .guide-stay-rail__value {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
  overflow-wrap: anywhere;
}

@media (min-width: 1024px) {
  .guide-page--airbnb .main-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
    align-items: start;
  }
  /* Full-width blocks that should still span both columns. */
  .guide-page--airbnb .guide-quick-actions,
  .guide-page--airbnb .guide-recommendations-airbnb {
    grid-column: 1 / -1;
  }
  .guide-page--airbnb .guide-welcome-airbnb {
    grid-column: 1;
    grid-row: 2;
    margin-bottom: 0;
  }
  .guide-page--airbnb .guide-host-card,
  .guide-page--airbnb .airbnb-host-card-wrapper,
  .guide-page--airbnb .airbnb-host-card {
    grid-column: 1;
  }
  .guide-page--airbnb .guide-amenities { grid-column: 1; margin-top: 0; }
  .guide-page--airbnb .guide-knowledge {
    grid-column: 1;
    margin: 28px 0 12px;
  }
  .guide-page--airbnb .guide-knowledge__block--instructions {
    display: none;
  }
  .guide-page--airbnb .airbnb-stay-rail-wrapper {
    display: block;
    grid-column: 2;
    grid-row: 2 / span 4;
    position: sticky;
    top: 24px;
    align-self: start;
  }
}

/* --- Mobile sticky "Call host" CTA -------------------------------------- */
.guide-page--airbnb .airbnb-bottom-cta,
.guide-page--airbnb .guide-bottom-cta { display: none; }

@media (max-width: 767.98px) {
  .guide-page--airbnb .airbnb-bottom-cta,
  .guide-page--airbnb .guide-bottom-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(1.2) blur(8px);
    border-top: 1px solid var(--line);
  }
  .guide-page--airbnb .airbnb-bottom-cta__button,
  .guide-page--airbnb .guide-bottom-cta__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: var(--brand, #ff385c);
    color: #fff;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  }
  .guide-page--airbnb .guide-bottom-cta__button svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
  }
  .guide-page--airbnb .guide-bottom-cta__phone {
    font-weight: 500;
    opacity: 0.9;
  }
  /* Give the page enough padding so the sticky bar doesn't cover content. */
  .guide-page--airbnb { padding-bottom: 88px; }
}

/* --- Amenity line-icon -------------------------------------------------- */
.guide-page--airbnb .amenity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--ink);
  margin-right: 8px;
  vertical-align: middle;
}
.guide-page--airbnb .amenity-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}
.guide-page--airbnb .amenity-card .amenity-kind { display: inline-flex; align-items: center; }

/* --------------------------------------------------------------------- */
/* UI-006: admin breadcrumbs                                              */
/* --------------------------------------------------------------------- */
/*
  Breadcrumb trail rendered by `admin/_macros.html::breadcrumbs(items)`
  inside the `{% block breadcrumbs %}` slot of `admin/_layout.html`.
  Sits directly above `.admin-page-header` inside `.admin-main`.

  Desktop: renders the full path with subtle separators, last segment
  bold and non-link.
  Mobile (<= 600px): collapses to `… > Current` and exposes the full
  path via a tappable `<details>` … actually we use a pure CSS approach
  that hides intermediate items on small viewports but keeps the first
  as an ellipsis affordance so the guest still sees there is depth.
*/
.admin-breadcrumbs {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted, #767676);
}
.admin-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.admin-breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.admin-breadcrumbs__link,
.admin-breadcrumbs__label {
  display: inline-block;
  max-width: 22ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}
.admin-breadcrumbs__link {
  color: var(--muted, #767676);
  text-decoration: none;
  border-radius: 4px;
}
.admin-breadcrumbs__link:hover,
.admin-breadcrumbs__link:focus-visible {
  color: var(--ink, #222);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.admin-breadcrumbs__separator {
  color: var(--muted, #767676);
  opacity: 0.7;
  font-size: 14px;
  line-height: 1;
  user-select: none;
}
.admin-breadcrumbs__item--current {
  color: var(--ink, #222);
}
.admin-breadcrumbs__item--current strong {
  font-weight: 600;
  display: inline-block;
  max-width: 32ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

/* Mobile collapse: hide every non-current crumb except the first, then
   rewrite that first crumb to "…" so the user still perceives depth.
   Tapping the "…" navigates to the first ancestor (usually Dashboard),
   giving a zero-JS one-tap escape hatch on narrow screens. */
@media (max-width: 600px) {
  .admin-breadcrumbs__item:not(.admin-breadcrumbs__item--current) {
    display: none;
  }
  .admin-breadcrumbs__item:first-child {
    display: inline-flex;
  }
  .admin-breadcrumbs__item:first-child .admin-breadcrumbs__link,
  .admin-breadcrumbs__item:first-child .admin-breadcrumbs__label {
    max-width: none;
    font-size: 0;
    line-height: 0;
  }
  .admin-breadcrumbs__item:first-child .admin-breadcrumbs__link::before,
  .admin-breadcrumbs__item:first-child .admin-breadcrumbs__label::before {
    content: "…";
    font-size: 13px;
    line-height: 1;
  }
  .admin-breadcrumbs__item--current strong {
    max-width: 24ch;
  }
}

/* ====================================================================== */
/* UI-004: mobile nav + bottom CTA polish                                 */
/* ====================================================================== */
/* Admin sidebar mobile drawer behavior is handled in UI-001's CSS block  */
/* (see `.admin-sidebar.is-open`, `.admin-drawer-locked`, backdrop, etc). */
/* This section only adds the public menu bottom CTA + shared polish.    */

/* Public menu bottom CTA: hidden by default (desktop + tablet), shown   */
/* only at narrow viewports. Mirrors the `.airbnb-bottom-cta` pattern    */
/* from UI-003 so both public surfaces feel consistent on mobile.        */
.menu-bottom-cta { display: none; }

@media (max-width: 767.98px) {
  .menu-bottom-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(1.2) blur(8px);
    border-top: 1px solid var(--line);
    transition: transform 0.18s ease-out, opacity 0.18s ease-out;
  }
  .menu-bottom-cta__row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    max-width: 560px;
    margin: 0 auto;
  }
  .menu-bottom-cta__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
  }
  .menu-bottom-cta__button--primary {
    flex: 0 0 60%;
    background: var(--brand, #ff385c);
    color: #fff;
  }
  .menu-bottom-cta__button--secondary {
    flex: 1 1 40%;
    background: var(--panel, #fff);
    color: var(--ink);
    border: 1px solid var(--line);
  }
  /* When only one button is present it should fill the row. */
  .menu-bottom-cta__row > .menu-bottom-cta__button:only-child {
    flex: 1 1 100%;
  }
  .menu-bottom-cta__icon { flex-shrink: 0; stroke: currentColor; fill: none; }
  .menu-bottom-cta__phone {
    font-weight: 500;
    opacity: 0.9;
    font-size: 13px;
  }
  /* Give the menu page bottom breathing room so the sticky bar does not
     cover the final card/category. */
  .menu-page { padding-bottom: 96px; }
}

/* Shared hidden state used by bottom-cta.js across all bottom-CTA
   variants (menu, guide, airbnb). The JS toggles this class when the
   user scrolls near the page end or focuses an input/textarea so the
   bar does not overlap the iOS on-screen keyboard. */
.menu-bottom-cta.bottom-cta--hidden,
.guide-bottom-cta.bottom-cta--hidden,
.airbnb-bottom-cta.bottom-cta--hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

/* LIST-001: public menu add-to-list, stored only in the guest browser. */
.menu-list-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 700 14px/1 var(--font-sans);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}
.menu-list-fab[hidden] { display: none; }
.menu-list-fab strong {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
}
.menu-list-panel {
  position: fixed;
  right: 24px;
  bottom: 88px;
  z-index: 46;
  width: min(360px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 128px));
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}
.menu-list-panel[hidden] { display: none; }
.menu-list-panel__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.menu-list-panel__eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.menu-list-panel h2 {
  margin: 0;
  font: 800 22px/1.2 var(--font-sans);
  color: var(--ink);
}
.menu-list-panel__close {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.menu-list-panel__hint,
.menu-list-panel__empty {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.menu-list-panel__items {
  display: grid;
  gap: 12px;
}
.menu-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.menu-list-row__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.menu-list-row__copy strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
}
.menu-list-row__copy span {
  color: var(--muted);
  font-size: 12px;
}
.menu-list-row__controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.menu-list-row__controls button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.menu-list-panel__clear {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: 700 13px/1 var(--font-sans);
  cursor: pointer;
}

@media (max-width: 767.98px) {
  .menu-list-fab {
    right: 16px;
    bottom: 104px;
  }
  .menu-list-panel {
    left: 16px;
    right: 16px;
    bottom: 160px;
    width: auto;
    max-height: calc(100vh - 210px);
    padding: 16px;
  }
}

/* UI-002: "Today" actionable admin dashboard
   Inline-priority, Airbnb-host-console styling for the new
   `_dashboard_today.html` partial. Four bands stack vertically:
   attention cards grid -> quick-start CTA row -> recent activity
   feed -> stats strip. All tokens pull from existing CSS variables
   defined at the top of this file. */

.today-dashboard {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.today-dashboard__band {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.today-dashboard__band-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}
.today-dashboard__band-head p {
  margin: 4px 0 0;
}

/* Attention cards */
.today-attention__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.today-attention-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-soft, 0 1px 2px rgba(0, 0, 0, 0.04));
}
.today-attention-card__count {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}
.today-attention-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}
.today-attention-card__subtitle {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.today-attention-card__link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
}
.today-attention-card--warning {
  border-color: #f5c563;
  background: #fff7e6;
}
.today-attention-card--info {
  border-color: #9fc9ff;
  background: #eef5ff;
}
.today-attention-card--success {
  border-color: #9fd8b0;
  background: #edf9f0;
}
.today-attention-card--danger {
  border-color: #e6a0a0;
  background: #fff0ef;
}
.today-attention--empty .today-dashboard__band-head h2 {
  color: var(--muted);
}

/* Quick start CTA row */
.today-quickstart__row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.today-quickstart__cta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  background: var(--panel);
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.today-quickstart__cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow, 0 4px 12px rgba(0, 0, 0, 0.08));
}
.today-quickstart__cta-label {
  font-weight: 600;
  font-size: 15px;
}
.today-quickstart__cta-desc {
  font-size: 13px;
}
.today-quickstart__cta--primary {
  background: var(--ink);
  color: var(--panel);
  border-color: var(--ink);
}
.today-quickstart__cta--primary .muted {
  color: rgba(255, 255, 255, 0.75);
}

/* Recent activity feed */
.today-activity__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.today-activity__link {
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: var(--panel);
}
.today-activity__link:hover {
  border-color: var(--ink);
}
.today-activity__kind {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.today-activity__title {
  font-weight: 600;
}
.today-activity__business {
  font-size: 13px;
}
.today-activity__time {
  font-size: 12px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .today-activity__link {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "kind status"
      "title title"
      "business time";
  }
  .today-activity__kind { grid-area: kind; }
  .today-activity__status { grid-area: status; }
  .today-activity__title { grid-area: title; }
  .today-activity__business { grid-area: business; }
  .today-activity__time { grid-area: time; text-align: right; }
}

/* Stats strip (bottom) */
.today-stats {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.today-stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
  margin: 0;
}
.today-stats__cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.today-stats__cell dt {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.today-stats__cell dd {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

/* =========================================================================
   MENU-014: admin action rows, utility classes, recommendation & cover media

   Replaces the 30 inline `style="..."` occurrences previously scattered
   across admin + public templates. Utility classes stay intentionally small
   and scoped (`u-` prefix) so they do not compete with component CSS.
   ========================================================================= */

/* Spacing utilities */
.u-mt-0 { margin-top: 0 !important; }
.u-mt-1 { margin-top: 10px !important; }
.u-mt-2 { margin-top: 12px !important; }
.u-mt-3 { margin-top: 16px !important; }
.u-mt-4 { margin-top: 20px !important; }
.u-mt-section { margin-top: 1.5rem !important; }
.u-mt-lg { margin-top: 64px !important; }
.u-mb-0 { margin-bottom: 0 !important; }
.u-mb-1 { margin-bottom: 1rem !important; }
.u-p-0 { padding: 0 !important; }
.u-p-section { padding: 20px !important; }
.u-p-list { padding: 24px !important; }

/* Text utilities */
.u-text-xs { font-size: 12px !important; }
.u-text-sm { font-size: 13px !important; }
.u-text-left { text-align: left !important; }

/* Flex utilities */
.u-flex-row { display: flex; align-items: center; gap: 16px; }
.u-flex-1 { flex: 1; min-width: 0; }

/* Border utilities */
.u-border-top-line { border-top: 1px solid var(--line) !important; border-bottom: none !important; }

/* Status label reused for guide PUBLISHED/DRAFT stamp */
.u-status-label {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  margin-top: 12px;
  letter-spacing: 0.08em;
}

/* Image preview container reused by guide cover + recommendation image */
.u-image-preview {
  max-width: 320px;
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  object-fit: cover;
}
.u-image-preview--narrow { max-width: 280px; }

/* Admin action rows — unified flex row with gap + consistent baseline.
   Form submit buttons, anchor buttons (`a.button`), plain anchor
   navigation, and bare `button` children all align on the same baseline
   so the row reads as one coherent action cluster. */
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 0;
}
.admin-actions--spaced { margin-bottom: 1rem; }
.admin-actions > form {
  margin: 0;
  display: inline-flex;
}
.admin-actions > form > button { margin: 0; }
.admin-actions > a:not(.button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  color: var(--ink);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.admin-actions > a:not(.button):hover {
  background: var(--panel);
  border-color: var(--ink);
  text-decoration: none;
}
.admin-actions > a:not(.button):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Draggable list handles — accessible default style for icon-only handles. */
.ordering-handle[aria-label] { cursor: grab; }
.ordering-handle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.ordering-item.is-dragging { opacity: 0.4; }
.ordering-item.is-drop-target { border-bottom: 2px solid var(--brand); }

/* Preformatted preview block for AI source/rewrite review screens. */
.preview-pre {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 14px;
  margin: 0;
}

/* Generic wrap utility for free-form text blocks (AI draft bodies etc.). */
.u-pre-wrap { white-space: pre-wrap !important; }

/* Full-bleed cover background for the airbnb guide hero. Templates set
   `--cover-url` on the element; see `_airbnb.html`. */
.guide-hero--cover {
  background-image: var(--cover-url);
  background-size: cover;
  background-position: center;
}

/* Assist-action hero cards (editorial guide variant). Consolidated from
   the inline <style> block previously in public/guide.html. */
.guide-hero-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px 32px;
  text-decoration: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
  box-shadow: var(--shadow);
}
.hero-card:hover { transform: translateY(-4px); }
.hero-card-icon { font-size: 24px; color: var(--brand); margin-bottom: 12px; }
.hero-card strong { color: var(--ink); font-size: 16px; }
.hero-card span { color: var(--muted); font-size: 12px; margin-top: 4px; }

.guide-page--editorial {
  background: linear-gradient(180deg, #f8f5ef 0%, #ffffff 36%, #ffffff 100%);
}
.guide-page--editorial .guide-hero {
  background:
    linear-gradient(135deg, rgba(197, 160, 89, 0.2), transparent 58%),
    #f6f1e8;
  margin-bottom: 48px;
}
.guide-page--editorial .guide-kind {
  display: inline-flex;
  margin-bottom: 12px;
  color: #8a6830;
  font: 800 12px/1.2 var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0;
}
.guide-page--editorial .guide-card,
.guide-page--editorial .action-card {
  border-color: #e7ded0;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(60, 45, 27, 0.07);
}

/* =========================================================================
   MENU-015: public menu sticky category chip nav

   Applied to both the `.menu-pills` (default display style) and
   `.menu-nav--tabs` flavours when the menu has 2+ visible categories.
   Falls back cleanly when JS is disabled — anchors still scroll to each
   category's `id`, only the active-chip highlight and the smooth scroll
   require JS.
   ========================================================================= */
.menu-sticky-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 10px 16px;
  margin: 0 0 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.menu-sticky-nav::-webkit-scrollbar { display: none; }
.menu-sticky-nav__chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.menu-sticky-nav__chip:hover {
  background: var(--panel);
  border-color: var(--ink);
}
.menu-sticky-nav__chip.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.menu-sticky-nav__chip:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
/* Tabs variant already uses a <ul>; strip list marker and reset spacing. */
.menu-sticky-nav.menu-nav--tabs ul {
  display: inline-flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* Horizontal scroll-snap so chips land nicely on touch swipe. */
.menu-sticky-nav { scroll-snap-type: x proximity; }
.menu-sticky-nav__chip { scroll-snap-align: start; }
/* Bottom CTA (UI-004) sits on top of the sticky nav, so add safe padding. */
.menu-page:has([data-menu-nav]) .menu-category { scroll-margin-top: 64px; }

/* -----------------------------------------------------------------------
   GUIDE-011: Client intake form (public, no auth)
   ----------------------------------------------------------------------- */
.intake-page {
  min-height: 100vh;
  background: #fafafa;
  padding-bottom: 80px;
}
.intake-hero {
  background: #fff;
  border-bottom: 1px solid var(--line, #ebebeb);
  padding: 48px 24px 32px;
}
.intake-hero--thanks { padding: 72px 24px; text-align: center; }
.intake-container { max-width: 720px; margin: 0 auto; }
.intake-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: #6b6b6b;
  margin: 0 0 8px;
}
.intake-title {
  font-family: var(--font-serif, "Cormorant Garamond", serif);
  font-size: 2.4rem;
  line-height: 1.1;
  margin: 0 0 10px;
  color: #111;
}
.intake-subtitle { margin: 0; color: #444; font-size: 1.05rem; }
.intake-body { padding: 32px 24px 24px; }
.intake-form { background: transparent; box-shadow: none; padding: 0; }
.intake-fieldset {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 14px;
  padding: 20px 22px;
  margin: 0 0 16px;
}
.intake-fieldset h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 600;
}
.intake-optional {
  font-size: 0.85rem;
  color: #8a8a8a;
  font-weight: 400;
}
.intake-actions {
  display: flex;
  justify-content: flex-end;
  padding: 8px 0 0;
}
.intake-actions .button { min-width: 180px; }
.form-label {
  display: block;
  color: #111;
  font-size: 0.9rem;
  font-weight: 500;
}
.star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}
.star-rating input {
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  position: absolute;
}
.star-rating label {
  color: #d5d5d5;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: color 120ms ease, transform 120ms ease;
}
.star-rating--small label { font-size: 1.45rem; }
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: #f5a623;
}
.star-rating input:focus-visible + label {
  outline: 2px solid #111;
  outline-offset: 3px;
  border-radius: 4px;
}
.star-rating label:hover { transform: translateY(-1px); }

/* -----------------------------------------------------------------------
   Unified admin page header + form-card primitives
   Every create/edit surface uses these, so the whole admin feels the same.
   ----------------------------------------------------------------------- */
.page-content {
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  padding: 8px 0 4px;
}
.admin-page-head--menu-form {
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.admin-page-head h1 {
  font-size: 2rem;
  line-height: 1.1;
  margin: 6px 0 4px;
  letter-spacing: -0.02em;
}
.admin-page-head p { margin: 0; color: #555; max-width: 60ch; }
.admin-page-head .eyebrow,
.page-content > .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: #6b6b6b;
  margin: 0;
  font-weight: 600;
}

/* Admin-form card style ---------------------------------------------------- */
.admin-form {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 16px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Field groups (fieldsets or divs inside admin-form) ---------------------- */
.admin-form fieldset,
.admin-form .form-field-group,
.admin-form .form-fieldset {
  border: 0;
  padding: 14px 16px;
  margin: 0;
  background: #fafafa;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.admin-form fieldset legend,
.admin-form .form-field-group legend,
.admin-form .form-fieldset legend {
  padding: 0;
  margin: 0 0 2px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b6b6b;
  font-weight: 600;
}
.admin-form .form-field-group > .form-hint,
.admin-form fieldset > .form-hint { margin: -4px 0 4px; }

/* Individual fields — both <label><span>…<input> and .form-field <label>… */
.admin-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #111;
  font-size: 0.95rem;
}
.admin-form label > span,
.admin-form .form-field > label { font-weight: 500; font-size: 0.9rem; }
.admin-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-form .form-field > label { color: #111; }
.admin-form small,
.admin-form .form-hint {
  color: #6b6b6b;
  font-size: 0.82rem;
  line-height: 1.45;
}
.admin-form .form-error {
  color: #b02929;
  font-size: 0.82rem;
  margin: 2px 0 0;
}

/* Inputs ------------------------------------------------------------------- */
.admin-form input[type="text"],
.admin-form input[type="email"],
.admin-form input[type="password"],
.admin-form input[type="url"],
.admin-form input[type="tel"],
.admin-form input[type="number"],
.admin-form input[type="date"],
.admin-form input[type="search"],
.admin-form input:not([type]),
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.admin-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #6b6b6b 50%), linear-gradient(135deg, #6b6b6b 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.admin-form textarea { resize: vertical; min-height: 88px; font-family: inherit; }
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: var(--brand-color, #ff385c);
  box-shadow: 0 0 0 3px rgba(255, 56, 92, 0.12);
}
.admin-form input[type="file"] {
  padding: 8px;
  background: #fff;
  border: 1px dashed #d9d9d9;
  border-radius: 10px;
  font-size: 0.9rem;
}
.admin-form input.is-invalid,
.admin-form textarea.is-invalid,
.admin-form select.is-invalid { border-color: #b02929; box-shadow: 0 0 0 3px rgba(176, 41, 41, 0.1); }

/* Checkbox fields ---------------------------------------------------------- */
.admin-form .checkbox-field,
.admin-form label.checkbox-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 120ms ease;
}
.admin-form .checkbox-field:hover { border-color: #bdbdbd; }
.admin-form .checkbox-field input[type="checkbox"],
.admin-form .checkbox-field input[type="radio"] { width: 16px; height: 16px; margin: 0; }
.admin-form .checkbox-field > span { font-size: 0.92rem; font-weight: 500; }
.admin-form .checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}
.knowledge-checklist {
  display: grid;
  gap: 12px;
}
.knowledge-checklist-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 12px;
}
.knowledge-checklist-item .checkbox-field {
  padding: 0;
  border: 0;
}

/* Form grid (paired fields) ----------------------------------------------- */
.admin-form .form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

/* Error summary above fields ---------------------------------------------- */
.admin-form .form-summary,
.admin-form .form-error-summary {
  padding: 14px 16px;
  background: #fde9e9;
  border: 1px solid #f2baba;
  border-radius: 10px;
  color: #8d2020;
}
.admin-form .form-summary strong,
.admin-form .form-error-summary strong { display: block; margin-bottom: 4px; color: #8d2020; }
.admin-form .form-summary ul { margin: 0; padding-left: 20px; }

/* Primary/secondary action row -------------------------------------------- */
.admin-form .form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.admin-form .form-actions a:not(.button) { color: #111; text-decoration: none; font-size: 0.92rem; }
.admin-form .form-actions a:not(.button):hover { text-decoration: underline; }
.admin-form .form-route-note {
  margin: 0;
  color: #6b6b6b;
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Primary button treatment (rounded, Airbnb-ish) -------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 18px;
  background: #111;
  color: #fff;
  border: 1px solid #111;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 120ms ease, transform 120ms ease, box-shadow 120ms ease;
  letter-spacing: -0.005em;
}
.button:hover { background: #2a2a2a; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12); }
.button:active { transform: translateY(0); }
.button:disabled, .button[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.button-secondary { background: #fff; color: #111; border-color: #d9d9d9; }
.button-secondary:hover { background: #fafafa; }
.button-small { padding: 8px 14px; font-size: 0.85rem; border-radius: 8px; }
.button-compact { padding: 8px 14px; font-size: 0.85rem; }
.button-danger { background: #fff; color: #c0392b; border-color: #f0c5bf; }
.button-danger:hover { background: #fff5f3; border-color: #e6a69c; color: #a42e22; box-shadow: none; }
.button-danger:focus-visible { outline: 2px solid #c0392b; outline-offset: 2px; }

/* Inline form that sits next to other actions (no extra spacing) --------- */
.inline-form { display: inline-flex; margin: 0; }

/* Cover preview inside guide form ---------------------------------------- */
.cover-preview {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  flex-wrap: wrap;
}
.cover-preview__img {
  max-width: 240px;
  max-height: 140px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ebebeb;
}

/* -----------------------------------------------------------------------
   Business detail page — hero, facts strip, cards, analytics tiles
   ----------------------------------------------------------------------- */
.biz-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 1100px;
}

/* Hero --------------------------------------------------------------------- */
.biz-hero {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 16px;
}
.biz-hero__avatar {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--brand-color, #ff385c) 0%, #c2255c 100%);
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.biz-hero__avatar img { width: 100%; height: 100%; object-fit: cover; }
.biz-hero__body { min-width: 0; }
.biz-hero__body .eyebrow { margin: 0 0 4px; color: #6b6b6b; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.biz-hero__title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 8px;
}
.biz-hero__desc { color: #555; margin: 0 0 10px; line-height: 1.5; max-width: 60ch; }
.biz-hero__pills { display: flex; flex-wrap: wrap; gap: 6px; }
.biz-hero__actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.biz-hero--menu {
  grid-template-columns: minmax(0, 1fr) minmax(320px, auto);
  align-items: start;
}
.biz-hero--menu .biz-hero__actions {
  flex-direction: row;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 640px;
}
.biz-hero--menu .biz-hero__actions > form {
  margin: 0;
  display: inline-flex;
}
.biz-hero--menu .biz-hero__actions .button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.biz-hero--menu .biz-hero__actions .button-secondary,
.biz-hero--menu .biz-hero__actions .preview-as-guest {
  padding-inline: 12px;
}
.biz-hero--menu .biz-hero__actions a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #111;
  font-size: 0.9rem;
  text-decoration: none;
}
.biz-hero--menu .biz-hero__actions a:not(.button):hover { text-decoration: underline; }
@media (max-width: 720px) {
  .biz-hero { grid-template-columns: 64px 1fr; }
  .biz-hero__avatar { width: 64px; height: 64px; font-size: 1.8rem; border-radius: 14px; }
  .biz-hero__actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; }
  .biz-hero--menu { grid-template-columns: 1fr; }
  .biz-hero--menu .biz-hero__actions { grid-column: auto; justify-content: flex-start; max-width: none; }
}

/* Pills -------------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  white-space: nowrap;
}
.pill--success { background: #e8f5ec; color: #156e3b; border-color: #bfe3cc; }
.pill--warning { background: #fff6e0; color: #92610a; border-color: #f0d999; }
.pill--danger  { background: #fde9e9; color: #b02929; border-color: #f2baba; }
.pill--muted   { background: #f1f1f1; color: #555; border-color: #e3e3e3; }
.pill--type { text-transform: uppercase; }
.pill--type--restaurant { background: #fff0ea; color: #b45309; border-color: #f3c8a4; }
.pill--type--rental     { background: #eef6ff; color: #1e63d0; border-color: #c2ddfb; }

/* Quick-facts strip -------------------------------------------------------- */
.biz-facts {
  list-style: none;
  margin: 0;
  padding: 14px 22px;
  background: #fafafa;
  border: 1px solid #ebebeb;
  border-radius: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 24px;
}
.biz-facts li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.biz-facts__label { font-size: 0.72rem; color: #6b6b6b; text-transform: uppercase; letter-spacing: 0.06em; }
.biz-facts__value { font-size: 0.95rem; color: #111; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.biz-facts__value code { background: #fff; padding: 1px 6px; border-radius: 4px; border: 1px solid #ebebeb; font-size: 0.85rem; }

/* Generic card ------------------------------------------------------------- */
.biz-card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 16px;
  padding: 22px 26px;
}
.biz-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.biz-card__head h2 {
  margin: 0 0 2px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.018em;
}
.biz-card__head .muted { margin: 0; font-size: 0.9rem; }
.biz-card__head-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.biz-card__head-actions a:not(.button) { color: #111; text-decoration: none; font-size: 0.9rem; }
.biz-card__head-actions a:not(.button):hover { text-decoration: underline; }

/* Empty state -------------------------------------------------------------- */
.biz-empty {
  padding: 28px 20px;
  background: #fafafa;
  border: 1px dashed #d9d9d9;
  border-radius: 12px;
  text-align: center;
}
.biz-empty h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 700;
}
.biz-empty p { margin: 0 auto 14px; max-width: 48ch; color: #555; }

/* Analytics stats ---------------------------------------------------------- */
.biz-analytics__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.biz-stat {
  background: #fafafa;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.biz-stat__label { font-size: 0.8rem; color: #6b6b6b; }
.biz-stat__value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.biz-analytics__charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.biz-chart {
  padding: 14px 16px;
  background: #fafafa;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  color: var(--brand-color, #ff385c);
}
.biz-chart__label {
  display: block;
  font-size: 0.78rem;
  color: #6b6b6b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.biz-chart__body { line-height: 0; }
.biz-chart__body svg { width: 100%; height: auto; }

/* Top-targets list --------------------------------------------------------- */
.biz-analytics__targets-heading {
  margin: 4px 0 10px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b6b6b;
}
.biz-target-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.biz-target-list__item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  background: #fafafa;
  border: 1px solid #ebebeb;
  border-radius: 10px;
}
.biz-target-list__title { color: #111; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.biz-target-list__title:hover { text-decoration: underline; }
.biz-target-list__kind { font-size: 0.7rem; text-align: center; }

/* -----------------------------------------------------------------------
   Resource list (guides + menus on business detail)
   ----------------------------------------------------------------------- */
.resource-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.resource-list__item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  flex-wrap: wrap;
}
.resource-list__body { flex: 1 1 auto; min-width: 180px; }
.resource-list__title { display: block; font-size: 1rem; margin-bottom: 4px; }
.resource-list__meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 0.85rem; }
.resource-list__actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.resource-list__actions a { color: #111; text-decoration: none; font-size: 0.9rem; }
.resource-list__actions a:not(.button):hover { text-decoration: underline; }
.resource-list__actions .button-small { padding: 6px 12px; font-size: 0.85rem; }
.category-item-price {
  font-weight: 700;
  color: #111;
  white-space: nowrap;
}

/* -----------------------------------------------------------------------
   Guide detail secondary toolbar (content tools)
   ----------------------------------------------------------------------- */
.guide-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin: 0 0 16px;
  background: #fafafa;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  font-size: 0.92rem;
}
.guide-toolbar__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 4px;
}
.guide-toolbar__button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #111;
  text-decoration: none;
  padding: 8px 11px;
  min-height: 36px;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #fff;
  font-weight: 600;
  line-height: 1;
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}
.guide-toolbar__button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.guide-toolbar__button:hover {
  border-color: #c7c7c7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

/* -----------------------------------------------------------------------
   Sprint 2: public landing + auth card + error page + flash polish
   ----------------------------------------------------------------------- */
.button-compact { padding: 8px 14px; font-size: 0.85rem; }

.landing-container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.landing-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 78px;
  background: #f7f5ef;
  border-bottom: 1px solid #d8e0db;
}
.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #f7f5ef;
  opacity: 0.92;
}
.landing-hero__grid {
  position: relative;
  min-height: 430px;
  display: block;
}
.landing-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
  padding-top: 20px;
}
.landing-hero h1 {
  font-size: 3.6rem;
  line-height: 1.03;
  margin: 8px 0 16px;
  letter-spacing: 0;
  font-weight: 800;
  max-width: 18ch;
}
.landing-subtitle {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #484848;
  margin: 0 0 24px;
  max-width: 60ch;
}
.landing-proof { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.landing-proof span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #d8e0db;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #123235;
  font-size: 0.85rem;
  font-weight: 700;
}
.landing-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.landing-cta a + a { color: #484848; }
.landing-cta--center { justify-content: center; }

.landing-product-shot {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -10px;
  width: 420px;
  height: 420px;
  pointer-events: none;
}
.product-phone {
  position: absolute;
  right: 82px;
  bottom: 6px;
  width: 230px;
  min-height: 360px;
  border: 1px solid rgba(11, 79, 85, 0.18);
  border-radius: 28px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(18, 50, 53, 0.16);
}
.product-phone__top {
  width: 58px;
  height: 5px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: #d8e0db;
}
.product-phone__hero {
  min-height: 92px;
  padding: 16px;
  border-radius: 18px;
  background: #0b4f55;
  color: #fff;
}
.product-phone__hero span { display: block; color: rgba(255,255,255,0.72); font-size: 0.72rem; }
.product-phone__hero strong { display: block; margin-top: 8px; font-size: 1.4rem; line-height: 1.05; }
.product-line { height: 10px; width: 66%; margin: 14px 0; border-radius: 999px; background: #e7ece8; }
.product-line--wide { width: 94%; margin-top: 18px; }
.product-menu-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid #edf1ee;
  color: #123235;
  font-size: 0.82rem;
}
.product-menu-row strong { white-space: nowrap; }
.product-qr {
  width: 74px;
  height: 74px;
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  padding: 8px;
  border-radius: 12px;
  background: #f7f5ef;
}
.product-qr span { border-radius: 4px; background: #0b4f55; }
.product-card {
  position: absolute;
  left: 14px;
  width: 208px;
  padding: 14px 16px;
  border: 1px solid rgba(11, 79, 85, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(18, 50, 53, 0.12);
}
.product-card--one { top: 88px; }
.product-card--two { bottom: 78px; left: 0; }
.product-card strong { display: block; color: #123235; }
.product-card span { display: block; color: #536467; font-size: 0.84rem; }

.landing-band { padding: 56px 0; background: #fff; }
.landing-band--alt { background: #f7f5ef; border-top: 1px solid #d8e0db; border-bottom: 1px solid #d8e0db; }
.landing-band--proof { padding: 22px 0; background: #0b4f55; color: #fff; }
.landing-band__title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 24px;
}
.landing-section-head { max-width: 780px; margin-bottom: 24px; }
.landing-section-head p:not(.eyebrow) { color: #536467; margin: -10px 0 0; line-height: 1.6; }
.landing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.landing-card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  padding: 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.landing-card h3 { margin: 0; font-size: 1.1rem; font-weight: 600; }
.landing-card p { margin: 0; color: #555; line-height: 1.55; }
.landing-card__icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #e7f0ed;
  color: #0b4f55;
}
.landing-band--alt .landing-card { background: #fff; }
.landing-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.landing-proof-grid article { display: flex; flex-direction: column; gap: 2px; }
.landing-proof-grid strong { color: #f4c76b; font-size: 1.05rem; }
.landing-proof-grid span { color: rgba(255,255,255,0.78); font-size: 0.92rem; }
.landing-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.landing-steps li {
  counter-increment: step;
  min-height: 180px;
  padding: 22px;
  border: 1px solid #d8e0db;
  border-radius: 8px;
  background: #fff;
}
.landing-steps li::before {
  content: counter(step);
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #0b4f55;
  color: #f4c76b;
  font-weight: 800;
}
.landing-steps strong { display: block; margin-bottom: 8px; color: #123235; font-size: 1.05rem; }
.landing-steps span { color: #536467; line-height: 1.55; }
.landing-copy-block {
  max-width: 820px;
}
.landing-copy-block h2 { font-size: 1.9rem; line-height: 1.18; margin-bottom: 16px; letter-spacing: 0; }
.landing-copy-block p { color: #536467; font-size: 1rem; line-height: 1.7; }
.landing-faq { display: grid; gap: 10px; max-width: 860px; }
.landing-faq details {
  border: 1px solid #d8e0db;
  border-radius: 8px;
  background: #fff;
  padding: 16px 18px;
}
.landing-faq summary { cursor: pointer; font-weight: 800; color: #123235; }
.landing-faq p { margin: 12px 0 0; color: #536467; line-height: 1.6; }

.landing-footer-cta {
  padding: 64px 0 80px;
  background: #123235;
  color: #fff;
  text-align: center;
}
.landing-footer-cta h2 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.landing-footer-cta p { color: rgba(255, 255, 255, 0.78); margin: 0 0 20px; }
.landing-footer-cta .button { background: #fff; color: #111; border-color: #fff; }
.landing-footer-cta .button:hover { background: #f5f5f5; }

.marketing-hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.marketing-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.marketing-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 38, 41, 0.86), rgba(6, 38, 41, 0.58) 46%, rgba(6, 38, 41, 0.18));
}
.marketing-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 88px;
}
.marketing-hero h1 {
  max-width: 760px;
  margin: 10px 0 18px;
  font-size: clamp(2.6rem, 7vw, 5.9rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: 0;
}
.marketing-hero .landing-subtitle {
  max-width: 680px;
  color: rgba(255,255,255,0.84);
  font-size: 1.16rem;
}
.marketing-hero .eyebrow { color: #f4c76b; }
.marketing-hero .landing-proof span {
  border-color: rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.marketing-hero .button-secondary {
  color: #fff;
  border-color: rgba(255,255,255,0.42);
  background: rgba(255,255,255,0.08);
}
.marketing-split-grid {
  grid-template-columns: 0.9fr 1.15fr 0.95fr;
}
.landing-card--bad { background: #fbf5f2; border-color: #efd8d0; }
.landing-card--good { background: #edf5f1; border-color: #c9ded4; }
.marketing-showcase .landing-section-head { margin-bottom: 30px; }
.marketing-feature-rows {
  display: grid;
  gap: 18px;
}
.marketing-feature-rows article {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 18px;
  border: 1px solid #d8e0db;
  border-radius: 10px;
  background: #fff;
}
.marketing-feature-rows img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}
.marketing-feature-rows h3 { margin: 0 0 8px; color: #123235; font-size: 1.35rem; }
.marketing-feature-rows p { margin: 0 0 12px; color: #536467; line-height: 1.65; }
.marketing-feature-rows a { color: #0b4f55; font-weight: 800; text-decoration: none; }
.marketing-pricing-preview {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.marketing-pricing-preview p { color: #536467; line-height: 1.6; }

.marketing-page-hero {
  padding: 90px 0 56px;
  background: #f7f5ef;
  border-bottom: 1px solid #d8e0db;
}
.marketing-page-hero--center { text-align: center; }
.marketing-page-hero h1 {
  max-width: 920px;
  margin: 8px 0 16px;
  color: #123235;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 800;
}
.marketing-page-hero--center h1,
.marketing-page-hero--center p { margin-left: auto; margin-right: auto; }
.marketing-page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #536467;
  font-size: 1.08rem;
  line-height: 1.65;
}
.marketing-feature-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.marketing-feature-matrix article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid #d8e0db;
  border-radius: 10px;
  background: #fff;
}
.marketing-feature-matrix span {
  display: inline-flex;
  margin-bottom: 34px;
  color: #0b4f55;
  font-weight: 800;
}
.marketing-feature-matrix h2 { margin: 0 0 10px; color: #123235; font-size: 1.28rem; }
.marketing-feature-matrix p { margin: 0; color: #536467; line-height: 1.6; }
.marketing-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 40px;
  align-items: start;
}
.marketing-two-column p { color: #536467; line-height: 1.7; }
.marketing-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.marketing-check-list li {
  padding: 14px 16px;
  border: 1px solid #d8e0db;
  border-radius: 8px;
  background: #fff;
  color: #123235;
  font-weight: 700;
}
.marketing-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.marketing-price-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border: 1px solid #d8e0db;
  border-radius: 12px;
  background: #fff;
}
.marketing-price-card--featured {
  border-color: #0b4f55;
  box-shadow: 0 20px 52px rgba(18, 50, 53, 0.13);
}
.marketing-price-card h2 {
  margin: 0;
  color: #123235;
  font-size: 3rem;
  line-height: 1;
}
.marketing-price-card h2 span { color: #536467; font-size: 1rem; font-weight: 700; }
.marketing-price-card p:not(.eyebrow) { margin: 0; color: #536467; line-height: 1.55; }
.marketing-price-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 6px 0 8px;
  padding: 0;
}
.marketing-price-card li {
  padding-left: 22px;
  color: #123235;
  line-height: 1.45;
  position: relative;
}
.marketing-price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0b4f55;
}
.marketing-price-card .button { margin-top: auto; justify-content: center; }
.marketing-volume-table {
  display: grid;
  border: 1px solid #d8e0db;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.marketing-volume-table > div {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #edf1ee;
}
.marketing-volume-table > div:first-child {
  background: #0b4f55;
  color: #fff;
}
.marketing-volume-table > div:last-child { border-bottom: 0; }
.marketing-volume-table span,
.marketing-volume-table strong {
  min-width: 0;
  overflow-wrap: anywhere;
}
.marketing-volume-table span {
  color: #123235;
  font-weight: 700;
}
.marketing-contact-note,
.marketing-contact-side {
  padding: 24px;
  border: 1px solid #d8e0db;
  border-radius: 12px;
  background: #fff;
}
.marketing-contact-note strong,
.marketing-contact-note span { display: block; }
.marketing-contact-note strong { margin-bottom: 10px; color: #123235; font-size: 1.15rem; }
.marketing-contact-note span { color: #536467; line-height: 1.6; }
.marketing-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}
.marketing-contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid #d8e0db;
  border-radius: 12px;
  background: #fff;
}
.marketing-contact-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.marketing-contact-form label {
  display: grid;
  gap: 8px;
  color: #123235;
  font-weight: 800;
}
.marketing-contact-form input,
.marketing-contact-form select,
.marketing-contact-form textarea {
  width: 100%;
  border: 1px solid #d8e0db;
  border-radius: 8px;
  padding: 12px 13px;
  background: #fff;
  color: #123235;
  font: inherit;
}
.marketing-contact-form textarea { resize: vertical; }
.marketing-contact-form input:focus,
.marketing-contact-form select:focus,
.marketing-contact-form textarea:focus {
  outline: none;
  border-color: #0b4f55;
  box-shadow: 0 0 0 3px rgba(11,79,85,0.12);
}
.marketing-contact-form .form-error { color: #b02929; font-weight: 700; }
.marketing-contact-side h2 { margin: 0 0 16px; color: #123235; }
.marketing-contact-side ol {
  margin: 0 0 18px;
  padding-left: 20px;
  color: #123235;
  line-height: 1.6;
  font-weight: 700;
}
.marketing-contact-side p { margin: 0; color: #536467; line-height: 1.6; }

@media (max-width: 900px) {
  .landing-hero { padding: 72px 0 48px; }
  .landing-hero__grid { min-height: auto; }
  .landing-hero h1 { font-size: 2.65rem; }
  .landing-product-shot {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 420px);
    height: 360px;
    margin-top: 28px;
  }
  .product-phone { right: 60px; }
  .landing-proof-grid,
  .landing-steps,
  .marketing-split-grid,
  .marketing-feature-matrix,
  .marketing-pricing-grid,
  .marketing-two-column,
  .marketing-contact-layout { grid-template-columns: 1fr; }
  .marketing-feature-rows article { grid-template-columns: 1fr; }
  .marketing-pricing-preview { align-items: flex-start; flex-direction: column; }
  .marketing-volume-table > div { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .landing-container { padding: 0 18px; }
  .marketing-hero { min-height: 620px; }
  .marketing-hero__content { padding-top: 96px; padding-bottom: 54px; }
  .landing-hero h1 { font-size: 2.25rem; }
  .landing-product-shot { display: none; }
  .landing-cta .button,
  .landing-cta .button-secondary { width: 100%; }
  .marketing-contact-form .form-grid { grid-template-columns: 1fr; }
}

/* Auth card (login + register) */
.auth-shell {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}
.auth-card--wide { max-width: 640px; }
.auth-card__head { margin: 0 0 20px; }
.auth-card__head h1 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 4px 0 6px;
}
.auth-card__head .muted { margin: 0; color: #6b6b6b; }
.auth-form .form-field + .form-field,
.auth-form .form-grid { margin-top: 12px; }
.auth-form__actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}
.auth-form__actions .button { min-width: 140px; }
.auth-card__foot {
  margin: 20px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid #ebebeb;
  color: #6b6b6b;
  text-align: center;
}

/* Error page */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.error-page__inner { max-width: 480px; text-align: center; }
.error-page__inner h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 8px 0 12px;
}
.error-page__inner p { color: #555; margin: 0 0 20px; }
.error-page__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

/* Flash polish (admin + public) */
.flash-messages {
  position: fixed;
  top: 20px;
  right: 20px;
  left: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1000;
  pointer-events: none;
}
.flash-messages .flash-item {
  background: #fff;
  border: 1px solid #ebebeb;
  border-left: 3px solid var(--brand-color, #ff385c);
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  color: #222;
  font-size: 0.92rem;
  pointer-events: auto;
  animation: flash-in 200ms ease-out;
}
@keyframes flash-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .flash-messages { left: 16px; right: 16px; }
}

/* -----------------------------------------------------------------------
   Businesses index list
   ----------------------------------------------------------------------- */
.business-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}
.business-index-card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.business-index-card__head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.business-index-card__head h2 { font-size: 1.1rem; margin: 0; }
.business-index-card__head a { color: inherit; text-decoration: none; }
.business-index-card__head a:hover { text-decoration: underline; }
.business-index-card__type {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.business-index-card__type--restaurant { background: #fff0ea; color: #b45309; }
.business-index-card__type--rental { background: #eef6ff; color: #1e63d0; }
.business-index-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
}
.business-index-card__meta > div { display: flex; gap: 6px; }
.business-index-card__meta dt { font-weight: 500; color: #6b6b6b; }
.business-index-card__meta dd { margin: 0; }

/* -----------------------------------------------------------------------
   Business type picker (create form)
   ----------------------------------------------------------------------- */
.business-type-picker {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
}
.business-type-picker legend {
  padding: 0;
  margin: 0 0 10px;
  font-weight: 600;
}
.business-type-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.business-type-choice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease;
}
.business-type-choice:hover { border-color: #bdbdbd; }
.business-type-choice.is-selected {
  border-color: var(--brand-color, #ff385c);
  background: #fff6f8;
}
.business-type-choice input[type="radio"] { margin-top: 4px; }
.business-type-choice__label { display: flex; flex-direction: column; gap: 4px; }
.business-type-choice__label strong { font-size: 1rem; }
.business-type-choice__label .muted { font-size: 0.85rem; }

/* -----------------------------------------------------------------------
   COMM-003: Reseller white-label branding
   ----------------------------------------------------------------------- */
/* --brand-color is injected by admin/_layout.html from the reseller record.
   It accents the sidebar brand mark + the active nav item so white-label
   installs feel like the reseller's own tool. */
.admin-shell .admin-sidebar__brand-mark { background: var(--brand-color, #c5a059); color: #fff; }
.admin-shell .admin-sidebar__item.is-active { color: var(--brand-color, #fdfaf2); }
.admin-shell .admin-sidebar__item.is-active .admin-sidebar__icon { color: var(--brand-color, #fdfaf2); }
.admin-sidebar__brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--line, #ebebeb);
}
.brand-settings-form__logo-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
}
.brand-settings-form__logo-preview img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--line, #ebebeb);
}

/* -----------------------------------------------------------------------
   COMM-002: Analytics dashboard + per-business card
   ----------------------------------------------------------------------- */
.today-analytics__headline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
}
.today-analytics__tile {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  padding: 14px 16px;
}
.today-analytics__tile dt {
  font-size: 0.85rem;
  color: #6b6b6b;
  margin: 0 0 4px;
}
.today-analytics__tile dd {
  margin: 0;
}
.today-analytics__tile dd strong {
  font-size: 1.6rem;
  font-weight: 600;
}
.today-analytics__businesses {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.today-analytics__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 10px;
}
.today-analytics__row-title a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}
.today-analytics__row-title a:hover { text-decoration: underline; }
.today-analytics__row-spark { color: #ff385c; line-height: 0; }
.today-analytics__row-counts { font-size: 0.85rem; }
.today-analytics__row-counts span + span { margin-left: 6px; }

.business-analytics-card .business-analytics__totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0;
  padding: 0;
}
.business-analytics__totals > div {
  background: #f7f7f7;
  border-radius: 10px;
  padding: 10px 12px;
}
.business-analytics__totals dt {
  margin: 0 0 4px;
  font-size: 0.85rem;
  color: #6b6b6b;
}
.business-analytics__totals dd { margin: 0; }
.business-analytics__totals dd strong { font-size: 1.4rem; font-weight: 600; }

.business-analytics__section { margin-top: 12px; color: #ff385c; }
.business-analytics__section-head {
  margin: 0 0 6px;
  font-size: 0.85rem;
  color: #6b6b6b;
}
.business-analytics__targets {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #111;
}
.business-analytics__targets li {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  align-items: baseline;
}
.business-analytics__targets li:last-child { border-bottom: 0; }
.business-analytics__target-kind { font-size: 0.8rem; }
.business-analytics__target-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.business-analytics__target-title a { color: inherit; }
.business-analytics__target-counts { font-size: 0.85rem; }

.sparkline, .bar-strip { display: inline-block; vertical-align: middle; }
.sparkline--empty, .bar-strip--empty { opacity: 0.6; }

/* -----------------------------------------------------------------------
   FIND-009/010: dark-panel button contrast
   -----------------------------------------------------------------------
   Root cause: `.resource-list__actions a { color: #111 }` (earlier in this
   file, ~line 2584) was declared without a `:not(.button)` guard. Its
   specificity (0,1,1) beats the `.button` rule's `color: #fff` (0,1,0), so
   any `<a class="button …">` inside a `.resource-list__item` (Open / CSV
   import / OCR import on admin menu detail's "Build this menu faster" and
   "Categories" panels, plus the Menus / Guides lists on the business
   detail page) rendered #111 text on a #111 background — the reported
   "black-on-black" unreadable buttons.

   Fix: pin the button text / fill / border on the only context where the
   cascade was losing. We do NOT redeclare the base button shape — only
   the three properties that were being swallowed — so every other surface
   that uses `.button` / `.button-small` (admin dashboard, business form,
   category form, guide forms, auth pages, etc.) is untouched.

   The `:not(.button-secondary):not(.button-danger)` guard keeps the
   variant classes wired up to their own rules (white-on-white or red-ink
   treatments) — only the default primary `.button` is re-pinned. */
.resource-list__actions a.button:not(.button-secondary):not(.button-danger) {
  background: #111;
  color: #fff;
  border-color: #111;
}
.resource-list__actions a.button:not(.button-secondary):not(.button-danger):hover {
  background: #2a2a2a;
  color: #fff;
  border-color: #2a2a2a;
}
.resource-list__actions a.button-secondary { color: #111; }
.resource-list__actions a.button-danger { color: #c0392b; }

/* -----------------------------------------------------------------------
   FIND-001/004: public header cleanup
   -----------------------------------------------------------------------
   Two shipping fixes coupled here:

   - FIND-001: the default `base.html` header (`.site-header` / `.site-nav`)
     had no dedicated CSS, so the landing page rendered a run-on row of
     logo + Log in + Get started with no padding, alignment, or visual
     separation. Auth templates (login/register) also inherit this header
     and had the same drift. We style `.site-header` as a minimal fallback
     so `base.html` stays tidy on any surface that still uses it.

   - FIND-004: guest-facing pages (landing + published menu) got a
     dedicated `public-header` shell via `public_base.html`, which is the
     canonical chrome for public surfaces — brand + at most "Log in" +
     "Get started" when logged-out, or just "Dashboard" when an admin is
     signed in. The published menu template overrides `site_header` to
     empty so guests never see any auth chrome.

   All selectors live in the `.public-header` and `.site-header` /
   `.site-nav*` namespaces to avoid collisions with admin chrome
   (`.admin-shell`, `.admin-main`, etc.). ------------------------------- */

/* Canonical guest-facing header --------------------------------------- */
.public-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line, #ebebeb);
}
.public-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.public-header__brand {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink, #1f1f1f);
  text-decoration: none;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.public-header__brand:hover { color: var(--ink, #1f1f1f); }
.public-header__brand-mark {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #0a6f78;
  background: #f7efe5;
  box-shadow: inset 0 0 0 1px rgba(10, 111, 120, 0.16);
}
.public-header__brand-mark img { width: 30px; height: 30px; display: block; }
.public-header__brand-word { line-height: 1; }
.public-header__nav {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}
.public-header__link {
  color: #484848;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 2px;
}
.public-header__link:hover { color: #111; }
.public-header__cta { white-space: nowrap; }

@media (max-width: 480px) {
  .public-header__inner { padding: 10px 16px; gap: 10px; align-items: flex-start; }
  .public-header__nav { gap: 8px 10px; }
  .public-header__link { font-size: 0.82rem; padding: 4px 0; }
  .public-header__cta { padding: 7px 10px; font-size: 0.78rem; }
  .public-header__brand-mark { width: 28px; height: 28px; border-radius: 7px; }
}

/* Fallback styling for surfaces still using the default base.html header
   (auth templates — owned by Wave B). Keeps the logo / Log in / Get
   started row visually tidy until those templates are refreshed. ------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line, #ebebeb);
}
.site-header .brand {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink, #1f1f1f);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-header .brand:hover { color: var(--ink, #1f1f1f); }
.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.site-nav-auth a {
  color: #484848;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.site-nav-auth a:hover { color: #111; }
.site-nav-auth form { margin: 0; }
.site-nav-auth .link-button {
  background: none;
  border: 0;
  padding: 0;
  color: #484848;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
}
.site-nav-auth .link-button:hover { color: #111; }

@media (max-width: 480px) {
  .site-header { padding: 10px 16px; gap: 10px; }
  .site-nav { gap: 10px; }
  .site-nav-auth a, .site-nav-auth .link-button { font-size: 0.88rem; }
}

/* -----------------------------------------------------------------------
   FIND-005/006/007: OCR wizard
   -----------------------------------------------------------------------
   Styles for the Upload → Parse → Check → Import wizard surface that
   replaces the old raw-JSON "Job Details" page. Everything is scoped
   under `.ocr-wizard` so no other admin surface is affected. The step
   indicator (`.ocr-wizard-steps`) is deliberately self-contained so the
   guest-guide onboarding wizard (GUIDE-015) can reuse the same primitive
   later by dropping in the `_wizard_steps.html` macro.
   ----------------------------------------------------------------------- */

.ocr-wizard { display: flex; flex-direction: column; gap: 20px; }
.ocr-wizard__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

/* Step indicator ---------------------------------------------------------- */
.ocr-wizard-steps {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 14px;
  padding: 16px 20px;
}
.ocr-wizard-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: stretch;
  position: relative;
}
.ocr-wizard-steps__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 4px 10px 4px 0;
  position: relative;
  color: #6b6b6b;
}
.ocr-wizard-steps__item + .ocr-wizard-steps__item::before {
  content: "";
  position: absolute;
  left: -10px;
  right: auto;
  top: 16px;
  width: 10px;
  height: 2px;
  background: #ececec;
}
.ocr-wizard-steps__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f1f1f1;
  color: #6b6b6b;
  font-size: 0.85rem;
  font-weight: 600;
  flex: 0 0 auto;
  border: 1px solid #e3e3e3;
}
.ocr-wizard-steps__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ocr-wizard-steps__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #111;
  text-transform: none;
  letter-spacing: 0;
}
.ocr-wizard-steps__description {
  font-size: 0.78rem;
  color: #6b6b6b;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ocr-wizard-steps__item.is-current .ocr-wizard-steps__marker {
  background: var(--brand-color, #ff385c);
  color: #fff;
  border-color: var(--brand-color, #ff385c);
}
.ocr-wizard-steps__item.is-current .ocr-wizard-steps__label { color: #111; }
.ocr-wizard-steps__item.is-complete .ocr-wizard-steps__marker {
  background: #156e3b;
  color: #fff;
  border-color: #156e3b;
}
.ocr-wizard-steps__item.is-complete .ocr-wizard-steps__label { color: #156e3b; }
.ocr-wizard-steps__item.is-upcoming .ocr-wizard-steps__label { color: #6b6b6b; }
.ocr-wizard-steps__item.is-upcoming .ocr-wizard-steps__description { color: #9a9a9a; }

@media (max-width: 720px) {
  .ocr-wizard-steps__list { grid-template-columns: 1fr; gap: 6px; }
  .ocr-wizard-steps__item + .ocr-wizard-steps__item::before { display: none; }
  .ocr-wizard-steps__description { display: none; }
}

/* Wizard card containers -------------------------------------------------- */
.ocr-wizard__card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ocr-wizard__card-head { display: flex; flex-direction: column; gap: 4px; }
.ocr-wizard__card-head h2 { margin: 0; font-size: 1.1rem; }
.ocr-wizard__card-head p { margin: 0; }

/* Parse step details ------------------------------------------------------ */
.ocr-wizard__meta {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px 20px;
}
.ocr-wizard__meta > div { display: flex; flex-direction: column; gap: 2px; }
.ocr-wizard__meta dt {
  font-size: 0.72rem;
  color: #6b6b6b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}
.ocr-wizard__meta dd { margin: 0; font-size: 0.95rem; color: #111; word-break: break-word; }

.ocr-wizard__error {
  background: #fde9e9;
  border: 1px solid #f2baba;
  color: #7b1818;
  border-radius: 10px;
  padding: 12px 14px;
}
.ocr-wizard__error p { margin: 4px 0 0; }

.ocr-wizard__progress { display: flex; flex-direction: column; gap: 8px; }
.ocr-wizard__progress-bar {
  height: 6px;
  background: #f1f1f1;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.ocr-wizard__progress-bar span {
  position: absolute;
  left: -30%;
  top: 0;
  bottom: 0;
  width: 30%;
  background: var(--brand-color, #ff385c);
  border-radius: 999px;
  animation: ocr-wizard-progress 1.4s ease-in-out infinite;
}
@keyframes ocr-wizard-progress {
  0%   { left: -30%; }
  100% { left: 100%; }
}

.ocr-wizard__checklist {
  list-style: decimal;
  padding-left: 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #333;
}
.ocr-wizard__checklist li strong { color: #111; }

/* Check step -------------------------------------------------------------- */
.ocr-wizard__summary { border-color: #e2efe8; background: #f7fbf8; }
.ocr-wizard__warnings {
  background: #fff6e0;
  border: 1px solid #f0d999;
  color: #6a450a;
  border-radius: 10px;
  padding: 10px 14px;
}
.ocr-wizard__warnings ul { margin: 6px 0 0; padding-left: 20px; }

.ocr-wizard__category { gap: 16px; }
.ocr-wizard__category-heading { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ocr-wizard__category-heading h2 { margin: 0; }
.ocr-wizard__items-heading { margin: 4px 0 0; font-size: 0.95rem; color: #6b6b6b; text-transform: uppercase; letter-spacing: 0.06em; }
.ocr-wizard__items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ocr-wizard__item {
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ocr-wizard__form { display: flex; flex-direction: column; gap: 16px; }
.ocr-wizard__actions { margin-top: 8px; }
.ocr-wizard__apply {
  margin-top: 4px;
  background: #111;
  color: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ocr-wizard__apply p { margin: 0; color: #e6e6e6; }
.ocr-wizard__apply .button {
  background: var(--brand-color, #ff385c);
  color: #fff;
  border-color: var(--brand-color, #ff385c);
  align-self: flex-start;
}
.ocr-wizard__apply .button[disabled] { opacity: 0.65; cursor: not-allowed; }

/* Done step --------------------------------------------------------------- */
.ocr-wizard__done { border-color: #bfe3cc; background: #f1f9f4; }
.ocr-wizard__done-actions {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.ocr-wizard__done-actions a { color: #156e3b; font-weight: 500; }

.ocr-wizard__preview { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ocr-wizard__preview-category h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #111;
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 4px;
}
.ocr-wizard__preview-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ocr-wizard__preview-items li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #333;
  font-size: 0.95rem;
}
.ocr-wizard__preview-title { overflow: hidden; text-overflow: ellipsis; }
.ocr-wizard__preview-price { color: #6b6b6b; white-space: nowrap; }

/* Upload step history list ------------------------------------------------ */
.ocr-wizard__history { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ocr-wizard__history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 10px 14px;
}
.ocr-wizard__history-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ocr-wizard__history-main strong { font-size: 0.95rem; color: #111; overflow: hidden; text-overflow: ellipsis; }
.ocr-wizard__history-meta { display: flex; flex-wrap: wrap; gap: 6px; }


/* FIND-011/012: master products flow ======================================== */
/*  Third option on the "Build this menu faster" panel reuses the existing
    resource-list / admin-table / detail-grid primitives. This namespace only
    adds picker-specific layout helpers that do not belong anywhere else.
*/

.mp-build-picker {
  margin-bottom: 1.25rem;
}
.mp-build-picker label {
  max-width: 360px;
}
.mp-build-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
  padding: 10px 0;
  border-bottom: 1px solid #ececec;
}
.mp-build-count {
  font-variant-numeric: tabular-nums;
}
.mp-build-group {
  border-top: 1px solid #ececec;
  padding-top: 1rem;
}
.mp-build-group-actions {
  margin-top: 0.5rem;
}
.mp-build-table td span.muted {
  display: block;
  font-size: 0.85rem;
  color: #6b6b6b;
  margin-top: 2px;
}

/* FIND-008/013: category polish
   -------------------------------------------------------------------------
   FIND-008: public menu category headings must be visually dominant over the
   items that follow — currently an <h2> category renders at the same size as
   an <h3> item title (~20px), so a guest sees a flat list instead of a
   sectioned document. Treat the category head as a proper section header:
   eyebrow label, heavier/larger type, generous breathing room, subtle
   divider. The treatment scales down on mobile so it stays legible without
   dominating the viewport.
   FIND-013: admin Edit Category was already moved onto the .admin-form
   shell in the template. No category-specific admin CSS is needed — the
   shared .admin-form / fieldset / form-actions rules at line ~2133 handle
   the visual language. This block is namespaced solely to keep any future
   category-only admin tweaks co-located with the public-side polish.
*/

/* Section wrapper — give each category breathing room between its siblings. */
.menu-page .menu-category + .menu-category { margin-top: 72px; }

.menu-page .menu-category-head {
  margin: 0 0 32px;
  padding: 0 0 20px;
  border-bottom: 1px solid #ececec;
}

.menu-page .menu-category-eyebrow {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-dark, #c23b3b);
}

.menu-page .menu-category-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink, #111);
}

.menu-page .menu-category-description {
  margin: 10px 0 0;
  color: var(--muted, #6b6b6b);
  font-size: 15px;
  line-height: 1.55;
  max-width: 60ch;
}

/* Cards variant: slightly tighter heading to sit above image-forward grid. */
.menu-page.menu-display-cards .menu-category-title { font-size: 30px; }

/* Mobile: still clearly dominant over the 18px item titles, but not
   overwhelming on narrow screens. */
@media (max-width: 768px) {
  .menu-page .menu-category + .menu-category { margin-top: 48px; }
  .menu-page .menu-category-head { margin-bottom: 24px; padding-bottom: 16px; }
  .menu-page .menu-category-title { font-size: 26px; }
  .menu-page.menu-display-cards .menu-category-title { font-size: 24px; }
  .menu-page .menu-category-description { font-size: 14px; }
}


/* FIND-002/003: auth form polish ==========================================
   Rebuilds /auth/login and /auth/register on top of the public_base shell
   (inheriting the FIND-001/004 public header) and reuses the exact
   .admin-form / .form-summary / .form-actions primitives defined above.
   This namespace only adds the page-level chrome — centered card on a soft
   gradient backdrop, eyebrow + heading spacing tuned for auth, footer link
   under a divider. No form-control restyling lives here: inputs, focus
   rings, legends, error summary and action-row all inherit from the shared
   .admin-form rules so auth forms stay visually identical to interior admin
   forms forever. Scoped selectors: .auth-page-shell, .auth-page-card,
   .auth-page-head, .auth-page-form, .auth-page-foot.
*/

.auth-page-shell {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 20px 64px;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.auth-page-card.page-content {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 18px;
  padding: 32px 32px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  gap: 16px;
}

/* Register form carries paired grids — give it a wider card so the form
   breathes at ~640px the same way the business_form page does. */
.auth-page-shell--wide .auth-page-card.page-content {
  max-width: 640px;
}

/* Trim the admin-page-head chrome for auth — no right-hand action slot,
   tighter vertical spacing, smaller hero headline. */
.auth-page-card .auth-page-head {
  padding: 0;
  margin: 0 0 4px;
}
.auth-page-card .auth-page-head h1 {
  font-size: 1.75rem;
  margin: 4px 0 6px;
}
.auth-page-card .auth-page-head p {
  color: #6b6b6b;
  font-size: 0.95rem;
}

/* Collapse the admin-form card-within-card: the page is already a card, so
   the form just needs the internal fieldset rhythm. Fieldset/label/input
   styles from the shared .admin-form block are inherited untouched. */
.auth-page-form.admin-form {
  background: transparent;
  border: 0;
  padding: 0;
  gap: 14px;
}

/* Footer link sits below a divider so it reads as a secondary action zone. */
.auth-page-foot {
  margin: 4px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid #ebebeb;
  color: #6b6b6b;
  text-align: center;
  font-size: 0.92rem;
}
.auth-page-foot a { color: #111; font-weight: 500; }
.auth-page-foot a:hover { text-decoration: underline; }

/* Mobile: card goes edge-to-edge with tighter padding so phones don't see
   a tiny floating card surrounded by grey. */
@media (max-width: 480px) {
  .auth-page-shell {
    padding: 24px 12px 40px;
  }
  .auth-page-card.page-content {
    padding: 24px 20px 22px;
    border-radius: 14px;
  }
  .auth-page-card .auth-page-head h1 {
    font-size: 1.5rem;
  }
}



/* FIND-014/016: guide AI inputs =========================================== */
/*  URL ingest fieldset + in-browser audio recorder controls on the AI draft
    form. Reuses existing .form-grid / .button / .muted primitives; only adds
    the recorder-specific layout + the pulsing dot that signals an active
    MediaRecorder session. */

.guide-ai-urls {
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 1rem;
  background: #fafafa;
}
.guide-ai-urls legend {
  font-weight: 600;
  padding: 0 8px;
}
.guide-ai-urls .form-route-note {
  margin: 0 0 12px;
}
.guide-ai-urls input[type="url"] {
  width: 100%;
}

.guide-ai-audio {
  display: block;
}
.guide-audio-recorder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 10px 0 6px;
  padding: 10px 12px;
  background: #fff;
  border: 1px dashed #d4d4d4;
  border-radius: 10px;
}
.guide-audio-recorder[hidden] { display: none; }
.guide-audio-recorder__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c43a3a;
  margin-right: 6px;
  vertical-align: middle;
  opacity: 0.85;
}
.guide-audio-recorder.is-recording .guide-audio-recorder__dot,
[data-recorder-toggle].is-recording .guide-audio-recorder__dot {
  animation: guide-audio-recorder-pulse 1s ease-in-out infinite;
}
@keyframes guide-audio-recorder-pulse {
  0%   { opacity: 0.3; transform: scale(0.85); }
  50%  { opacity: 1;   transform: scale(1.15); }
  100% { opacity: 0.3; transform: scale(0.85); }
}
.guide-audio-recorder__timer {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  min-width: 56px;
}
.guide-audio-recorder__status {
  flex: 1 1 220px;
  min-width: 0;
}
.guide-audio-recorder__reset {
  background: none;
  border: none;
  color: #6b6b6b;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px 6px;
}
.guide-audio-recorder__reset:hover { color: #111; }

/* HOSTORA-TEMPLATES-001: first public menu template set. These variants
   reuse the same structured menu markup and only change visual treatment. */
.menu-display-cafe,
.menu-display-bar,
.menu-display-beach,
.menu-display-taverna {
  --template-ink: #171717;
  --template-muted: #5f6670;
  --template-line: #e4e7eb;
  --template-panel: #fff;
  background: var(--template-bg, #fff);
}
.menu-display-cafe {
  --template-bg: #f8f5ef;
  --template-accent: #2f6f5e;
  --template-soft: #e7f0eb;
  --template-line: #ded8cf;
}
.menu-display-bar {
  --template-bg: #101114;
  --template-ink: #f8f5ed;
  --template-muted: #c8c1b4;
  --template-line: rgba(255, 255, 255, 0.16);
  --template-panel: #191b20;
  --template-accent: #d7b56d;
  --template-soft: rgba(215, 181, 109, 0.12);
}
.menu-display-beach {
  --template-bg: #edf7f8;
  --template-accent: #007c89;
  --template-soft: #d9f0ef;
}
.menu-display-taverna {
  --template-bg: #fbfbf7;
  --template-accent: #23623f;
  --template-soft: #edf4e8;
  --template-line: #dde5d7;
}
.menu-display-cafe .menu-hero,
.menu-display-bar .menu-hero,
.menu-display-beach .menu-hero,
.menu-display-taverna .menu-hero {
  color: var(--template-ink);
  background:
    linear-gradient(135deg, var(--template-soft, #f4f4f4), transparent 58%),
    var(--template-bg);
  border-color: var(--template-line);
  margin-bottom: 28px;
}
.menu-display-cafe .menu-hero {
  border-bottom: 1px solid var(--template-line);
}
.menu-display-bar .menu-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(215, 181, 109, 0.18), transparent 28%),
    linear-gradient(145deg, #191b20 0%, #101114 68%);
}
.menu-display-taverna .menu-hero {
  background:
    linear-gradient(90deg, rgba(35, 98, 63, 0.1), transparent 42%),
    linear-gradient(180deg, #fffdf6 0%, var(--template-bg) 100%);
  border-bottom: 4px solid var(--template-accent);
}
.menu-display-bar .menu-hero { color: var(--template-ink); }
.menu-display-cafe .menu-hero h1,
.menu-display-bar .menu-hero h1,
.menu-display-beach .menu-hero h1,
.menu-display-taverna .menu-hero h1 {
  color: var(--template-ink);
}
.menu-display-cafe .menu-subtitle,
.menu-display-bar .menu-subtitle,
.menu-display-beach .menu-subtitle,
.menu-display-taverna .menu-subtitle,
.menu-display-cafe .menu-intro,
.menu-display-bar .menu-intro,
.menu-display-beach .menu-intro,
.menu-display-taverna .menu-intro,
.menu-display-cafe .menu-style-note,
.menu-display-bar .menu-style-note,
.menu-display-beach .menu-style-note,
.menu-display-taverna .menu-style-note {
  color: var(--template-muted);
}
.menu-display-cafe .menu-catalog,
.menu-display-bar .menu-catalog,
.menu-display-beach .menu-catalog,
.menu-display-taverna .menu-catalog {
  background: var(--template-panel);
  border-color: var(--template-line);
  border-radius: 8px;
}
.menu-display-cafe .menu-category-head,
.menu-display-bar .menu-category-head,
.menu-display-beach .menu-category-head,
.menu-display-taverna .menu-category-head {
  border-bottom-color: var(--template-line);
}
.menu-display-cafe .menu-category-eyebrow,
.menu-display-bar .menu-category-eyebrow,
.menu-display-beach .menu-category-eyebrow,
.menu-display-taverna .menu-category-eyebrow {
  color: var(--template-accent);
}
.menu-display-cafe .menu-category-title,
.menu-display-bar .menu-category-title,
.menu-display-beach .menu-category-title,
.menu-display-taverna .menu-category-title,
.menu-display-cafe .menu-item-title-row h3,
.menu-display-bar .menu-item-title-row h3,
.menu-display-beach .menu-item-title-row h3,
.menu-display-taverna .menu-item-title-row h3 {
  color: var(--template-ink);
}
.menu-display-cafe .menu-category-description,
.menu-display-bar .menu-category-description,
.menu-display-beach .menu-category-description,
.menu-display-taverna .menu-category-description,
.menu-display-cafe .menu-item-copy p,
.menu-display-bar .menu-item-copy p,
.menu-display-beach .menu-item-copy p,
.menu-display-taverna .menu-item-copy p {
  color: var(--template-muted);
}
.menu-display-cafe .menu-item,
.menu-display-bar .menu-item,
.menu-display-beach .menu-item,
.menu-display-taverna .menu-item {
  border-bottom-color: var(--template-line);
}
.menu-display-cafe .menu-item-price,
.menu-display-bar .menu-item-price,
.menu-display-beach .menu-item-price,
.menu-display-taverna .menu-item-price {
  color: var(--template-accent);
}
.menu-display-cafe .menu-list-add,
.menu-display-bar .menu-list-add,
.menu-display-beach .menu-list-add,
.menu-display-taverna .menu-list-add {
  border-color: var(--template-line);
}
.menu-display-cafe .menu-list-add[aria-pressed="true"],
.menu-display-bar .menu-list-add[aria-pressed="true"],
.menu-display-beach .menu-list-add[aria-pressed="true"],
.menu-display-taverna .menu-list-add[aria-pressed="true"] {
  background: var(--template-accent);
  border-color: var(--template-accent);
}
.menu-display-cafe .menu-item {
  align-items: center;
  padding: 18px;
  border: 1px solid var(--template-line);
  border-radius: 8px;
  background: #fff;
}
.menu-display-cafe .menu-item-media {
  border-radius: 50%;
}
.menu-display-cafe .menu-items { gap: 16px; }
.menu-display-bar .menu-catalog {
  box-shadow: none;
  background: #15171b;
}
.menu-display-bar .menu-item {
  padding: 20px 0;
  border-bottom-style: dashed;
}
.menu-display-bar .menu-label {
  background: rgba(255, 255, 255, 0.08);
  color: var(--template-ink);
  border-color: var(--template-line);
}
.menu-display-bar .menu-list-add {
  background: transparent;
  color: var(--template-ink);
}
.menu-display-beach .menu-hero {
  border-bottom: 4px solid var(--template-accent);
}
.menu-display-beach .menu-item-media {
  border-radius: 6px;
}
.menu-display-taverna .menu-category-title {
  font-size: 32px;
}
.menu-display-taverna .menu-category-head {
  padding-left: 18px;
  border-left: 4px solid var(--template-accent);
}
.menu-display-taverna .menu-category-eyebrow {
  color: #8a6830;
}
.menu-display-taverna .menu-item-title-row {
  align-items: flex-start;
}

@media (max-width: 768px) {
  .menu-display-cafe .menu-catalog,
  .menu-display-bar .menu-catalog,
  .menu-display-beach .menu-catalog,
  .menu-display-taverna .menu-catalog {
    margin-top: 28px;
  }
  .menu-display-taverna .menu-category-title { font-size: 25px; }
}
