@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700&family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap");
/* Skill Booking Platform — shared chrome */
:root {
  --sbp-ink: #16211c;
  --sbp-muted: #5c675f;
  --sbp-paper: #f6f1e8;
  --sbp-paper-2: #efe8db;
  --sbp-line: #d9d0c2;
  --sbp-accent: #c46b2e;
  --sbp-accent-ink: #fffaf3;
  --sbp-ok: #1f6b45;
  --radius: 10px;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  --tap: 48px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--sbp-ink);
  background: var(--sbp-paper);
  line-height: 1.45;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.skip-link {
  position: absolute; left: 12px; top: -40px; z-index: 100;
  background: #111; color: #fff; padding: 8px 12px; border-radius: 6px;
}
.skip-link:focus { top: 12px; }
.sbp-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: #1a2a24;
  color: #f4efe6;
  position: sticky;
  top: 0;
  z-index: 40;
}
.sbp-bar { flex-wrap: wrap; row-gap: 0; }
@media (min-width: 760px) {
  .sbp-bar { flex-wrap: nowrap; }
  .sbp-brand, .sbp-back { margin-right: auto; }
}
.sbp-brand, .sbp-back {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-height: 44px;
  color: inherit;
}
.sbp-brand img, .sbp-brand .mark {
  width: 36px; height: 36px; flex: none; border-radius: 8px;
}
.sbp-back img, .sbp-back .mark {
  width: 40px; height: 40px; flex: none; border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(244, 239, 230, 0.28);
  background: #1a2a24;
}
.sbp-brand strong, .sbp-back strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.sbp-brand em, .sbp-back em, .sbp-bar nav a {
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  color: #c9c0b3;
  font-weight: 500;
}
.sbp-bar nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.sbp-bar nav a {
  color: #f4efe6;
  text-decoration: none;
  padding: 8px 10px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.88rem;
}
.sbp-bar nav a:hover, .sbp-bar nav a:focus-visible,
.sbp-brand:hover, .sbp-back:hover, .sbp-brand:focus-visible, .sbp-back:focus-visible {
  outline: 2px solid #e8c38a;
  outline-offset: 2px;
}
.demo-strip {
  margin: 0;
  padding: 8px 16px;
  background: #000;
  color: rgba(244, 239, 230, 0.86);
  font-size: 0.86rem;
  border-bottom: 1px solid rgba(198, 167, 94, 0.32);
}
.demo-strip strong { font-weight: 700; color: #C6A75E; }
/* Canonical Robot Kitchen demo bar: notice + "← Robot Kitchen" (same as robotkitchen.us demos). */
.demo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.9rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.demo-strip-back {
  color: #F4EFE6;
  font-weight: 650;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  opacity: 0.85;
}
.demo-strip-back:hover { opacity: 1; }
.demo-strip-back:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px; }
.form-demo-notice {
  margin: 0 16px 10px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px dashed #c9a46a;
  background: #fff8ea;
  color: #3c2a12;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
}
.biz-hero .form-demo-notice,
.door .form-demo-notice,
.form-demo-notice.door-demo-notice {
  margin: 10px 0 0;
}
@media (max-width: 390px) {
  .form-demo-notice { margin: 0 12px 8px; font-size: 0.78rem; padding: 7px 10px; }
}

.site-footer {
  margin-top: auto;
  padding: 28px 16px 36px;
  color: var(--sbp-muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  border-top: 1px solid var(--sbp-line);
}
.site-footer a { color: var(--sbp-ink); }
.page-shell { min-height: 100vh; display: flex; flex-direction: column; }

/* Forms & booking chrome used by trade apps */
.wrap { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 20px 0 48px; }
.wide { width: min(1040px, calc(100% - 32px)); }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.4em; }
.hint { color: var(--sbp-muted); margin: 0 0 1rem; }
.steps {
  display: flex; flex-wrap: wrap; gap: 6px; list-style: none;
  padding: 0; margin: 0 0 18px;
}
.steps li {
  font-size: 0.8rem; font-weight: 650; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--sbp-muted);
  padding: 4px 8px; border-radius: 999px; border: 1px solid transparent;
}
.steps li.is-on { color: var(--sbp-ink); background: #fff; border-color: var(--sbp-line); }
.steps li.is-done { color: var(--sbp-ok); }
.card, .summary-card, .confirm-card {
  background: #fff;
  border: 1px solid var(--sbp-line);
  border-radius: var(--radius);
  padding: 16px;
}
.grid-cards { display: grid; gap: 12px; }
@media (min-width: 640px) { .grid-cards.cols-2 { grid-template-columns: 1fr 1fr; } }
.person, .choice, .slot, .day {
  appearance: none; border: 1px solid var(--sbp-line); background: #fff;
  border-radius: 10px; padding: 12px; text-align: left; cursor: pointer;
  width: 100%; color: inherit; min-height: 48px;
}
.person:hover, .choice:hover, .slot:hover, .day:hover,
.person:focus-visible, .choice:focus-visible, .slot:focus-visible, .day:focus-visible { outline: 2px solid var(--sbp-accent); outline-offset: 1px; }
.person.is-on, .choice.is-on, .slot.is-on, .day.is-on {
  border-color: var(--sbp-ink); box-shadow: inset 0 0 0 1px var(--sbp-ink);
}
.day-row, .slot-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.day, .slot { width: auto; padding: 10px 12px; }
.field { margin: 0 0 14px; }
.field label { display: block; font-weight: 650; margin: 0 0 6px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--sbp-line); border-radius: 8px;
  padding: 12px; background: #fff; min-height: 48px;
}
.field textarea { min-height: 96px; resize: vertical; }
.actions {
  display: flex; gap: 10px; justify-content: space-between;
  position: sticky; bottom: 0; padding: 12px 0;
  background: linear-gradient(to top, var(--sbp-paper) 70%, transparent);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 18px; border-radius: 999px;
  border: 1px solid transparent; text-decoration: none; cursor: pointer;
  font-weight: 650;
}
.btn-primary { background: var(--sbp-ink); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--sbp-line); color: var(--sbp-ink); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn:focus-visible { outline: 2px solid var(--sbp-accent); outline-offset: 2px; }
.err { color: #9b1c1c; background: #fde8e8; padding: 10px 12px; border-radius: 8px; margin: 0 0 12px; }
.badge { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: #efe1c4; color: #3c2a12; padding: 4px 8px; border-radius: 999px; }
.photo-preview { width: 100%; max-height: 180px; object-fit: cover; border-radius: 8px; margin-top: 8px; }
[hidden] { display: none !important; }


.biz-rating {
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.2;
  opacity: 0.92;
  font-style: normal;
}
.biz-rating .count { opacity: 0.8; font-weight: 500; }
.reviews-block, .owner-block { margin: 36px 0 8px; }
.reviews-head h2, .owner-block h2 { margin-bottom: 0.3em; }
.reviews-label { margin: 0 0 8px; font-size: 0.9rem; color: var(--sbp-muted); font-weight: 650; }
.reviews-summary { margin: 0 0 14px; }
.reviews-score { font-size: 1.4rem; font-weight: 700; }
.review-grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .review-grid { grid-template-columns: 1fr 1fr; } }
.review-card { background: #fff; border: 1px solid var(--sbp-line); border-radius: 10px; padding: 14px; }
.review-meta { margin: 0 0 6px; color: var(--sbp-muted); font-size: 0.88rem; }
.reviews-attr { margin: 12px 0 0; font-size: 0.85rem; color: var(--sbp-muted); }
.owner-steps { margin: 0 0 14px; padding-left: 1.2em; color: var(--sbp-muted); }
.owner-mail { margin-top: 18px; background: #fff; border: 1px dashed var(--sbp-line); border-radius: 10px; padding: 14px; }
.mail-body { white-space: pre-wrap; font-family: var(--font-body); font-size: 0.92rem; background: #f7f4ee; padding: 12px; border-radius: 8px; overflow: auto; }
.mail-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mail-actions .btn { text-decoration: none; }

.mail-followup { margin-top: 10px; }
.mail-sent { font-weight: 650; margin: 0 0 8px; }
.mail-booked { font-weight: 650; margin: 0 0 10px; }
.mail-customer-preview .mail-body { margin: 0; }
.owner-mail textarea { min-height: 88px; width: 100%; }
.mail-actions .btn[disabled] { opacity: 0.5; cursor: not-allowed; }


/* Option cards with a small sample visual (samples.js) */
.choice.has-sample { display: flex; align-items: center; gap: 12px; text-align: left; }
.choice.has-sample .opt-body { flex: 1; min-width: 0; }
.opt-sample { flex: none; display: grid; place-items: center; }
.opt-mock { position: relative; width: 84px; }
.opt-mock svg { display: block; width: 84px; height: 56px; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.18); }
.opt-mock em { position: absolute; right: 4px; bottom: 4px; padding: 0 5px; border-radius: 4px; background: rgba(0,0,0,0.62); color: #fff; font-size: 0.6rem; font-style: normal; font-weight: 700; letter-spacing: 0.04em; line-height: 1.5; }
.opt-emoji { width: 44px; height: 44px; border-radius: 10px; background: rgba(0,0,0,0.05); font-size: 1.5rem; line-height: 1; }


/* Header tools: owner entry (One Way pattern) */
.sbp-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 759px) {
  .sbp-tools { flex: 1 1 100%; margin-left: 0; padding-top: 2px; }
}
.sbp-owner-btn:focus-visible {
  outline: 2px solid #e8c38a;
  outline-offset: 2px;
}
.sbp-owner { position: relative; }
.sbp-owner-btn {
  appearance: none;
  background: transparent;
  color: #e8c38a;
  border: 1px solid rgba(232, 195, 138, 0.55);
  border-radius: 999px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  padding: 6px 12px;
  min-height: 36px;
  cursor: pointer;
  white-space: nowrap;
}
.sbp-owner-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(380px, calc(100vw - 32px));
  background: #fff;
  color: var(--sbp-ink);
  border: 1px solid var(--sbp-line);
  border-radius: 12px;
  padding: 14px 14px 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  z-index: 80;
  text-align: left;
}
.sbp-owner-panel .owner-block { margin: 0; }
.sbp-owner-panel h2 { font-size: 1.05rem; }

/* Front-door title page (before booking) */
.biz-door {
  width: 100vw;
  margin: 0 0 28px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.biz-door-visual { display: block; }
.biz-door-visual img {
  width: 100%;
  height: auto;
  max-height: min(52vh, 520px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
}
.biz-door-brand {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 6px;
  text-align: center;
}
.biz-door-logo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto 12px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}
.biz-door-name {
  margin: 0 0 0.28em;
  font-size: clamp(1.65rem, 4.6vw, 2.35rem);
}
.biz-door-desc {
  margin: 0 0 0.55em;
  font-size: 1.12rem;
  font-weight: 650;
  line-height: 1.35;
}
.biz-door-how {
  margin: 0 auto;
  max-width: 36em;
  color: var(--sbp-muted);
  font-size: 0.98rem;
}

.biz-door-cta { margin: 16px 0 0; }
.btn-reserve {
  min-height: 56px;
  min-width: min(320px, 100%);
  font-size: 1.08rem;
  padding: 0 28px;
}
#book-start { scroll-margin-top: 86px; }

/* Don't pin Continue over the front-door title page */
body:has(.biz-door) .actions,
body:has(.lune-hero) .actions,
body:has(.platform-title) .actions {
  position: static;
  background: none;
  padding: 16px 0 8px;
}


/* iPhone Add to Home Screen tip (One Way wording) */
.a2hs-tip {
  margin: 0 auto;
  max-width: 52rem;
  padding: 8px 20px 14px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--sbp-muted, #5c675f);
}

/* Multi-select choices: checkbox affordance + checked state */
.choice.multi {
  position: relative;
  padding-right: 44px;
}
.choice.multi::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid var(--sbp-line, #cfc6b8);
  border-radius: 4px;
  background: #fff;
  box-sizing: border-box;
}
.choice.multi.is-on::after {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: var(--sbp-ink, #16211c);
  background: var(--sbp-ink, #16211c);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

/* Disney-style color-coded date calendar (Value / Regular / Peak) */
.day-row:has(.tier-cal) {
  display: block;
  margin-bottom: 16px;
}
.tier-cal { margin: 0 0 14px; }
.tier-cal-weekdays,
.tier-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.tier-cal-weekdays {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--sbp-muted, #5c675f);
  text-align: center;
}
.tier-day {
  appearance: none;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 4px 2px 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  color: #1c1a17;
  font: inherit;
  font-weight: 650;
  line-height: 1.1;
}
.tier-day.is-pad { visibility: hidden; min-height: 52px; }
.tier-day-num { font-size: 0.95rem; }
.tier-day-mark {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 2px;
  opacity: 0.9;
}
.tier-day.tier-value { background: #c9e4f5; border-color: #8ebdd8; }
.tier-day.tier-regular { background: #f3e4a6; border-color: #d4c070; }
.tier-day.tier-peak { background: #f3c2c0; border-color: #d48b88; }
.tier-day:hover:not(:disabled),
.tier-day:focus-visible { outline: 2px solid var(--sbp-accent, #c46b2e); outline-offset: 1px; }
.tier-day.is-on {
  box-shadow: inset 0 0 0 2px #1c1a17;
  border-color: #1c1a17;
}
.tier-day.is-off,
.tier-day:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  box-shadow: none;
}
.tier-picked {
  margin: 10px 0 8px;
  font-weight: 650;
}
.tier-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  list-style: none;
  margin: 8px 0 6px;
  padding: 0;
  font-size: 0.9rem;
}
.tier-legend li { display: flex; align-items: center; gap: 8px; }
.tier-swatch {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,.15);
  flex: 0 0 16px;
}
.tier-swatch.tier-value { background: #c9e4f5; }
.tier-swatch.tier-regular { background: #f3e4a6; }
.tier-swatch.tier-peak { background: #f3c2c0; }
.tier-from { color: var(--sbp-muted, #5c675f); }
.tier-cal-note { margin-top: 4px; }

/* 2026-11-11i: one-screen booking at 390×844 — compact door, chips, sticky bar, folds */
@media (max-width: 759px) {
  .sbp-bar {
    flex-wrap: wrap;
    gap: 6px 8px;
    padding: 6px 10px;
    align-items: center;
  }
  /* Home: no top-bar icon (the title below carries the mark); show the product name. */
  .sbp-brand em { display: none; }
  .sbp-brand strong { display: block; font-size: 0.96rem; white-space: nowrap; }
  /* Business pages: mark + name on the left, Owner on the right, one row. */
  .sbp-back {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    gap: 8px;
  }
  .sbp-back img, .sbp-back .mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .sbp-back em { display: none; }
  .sbp-back strong {
    display: block;
    font-size: 1rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .sbp-bar nav { display: none; }
  .sbp-brand { order: 2; }
  .sbp-tools { order: 3; flex: 0 0 auto; margin-left: auto; padding-top: 0; flex-basis: auto; }
  .demo-strip { display: block; padding: 5px 12px; font-size: 0.78rem; line-height: 1.35; }
  .demo-strip-back { margin-left: 0.4em; }
  .a2hs-tip { padding: 4px 16px 8px; font-size: 0.8rem; line-height: 1.3; }
  .biz-door { margin-bottom: 10px; }
  .biz-door-visual img {
    max-height: 124px;
    aspect-ratio: 16 / 6;
  }
  .biz-door-brand { padding: 8px 0 4px; }
  .biz-door-logo { width: 100%; max-width: 100%; margin-bottom: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.14); }
  .biz-door-name { font-size: 1.28rem; }
  .biz-door-desc { font-size: 0.92rem; margin-bottom: 0.25em; }
  .biz-door-how { display: none; }
  .biz-door-cta { margin: 8px 0 0; }
  .btn-reserve { min-height: 48px; min-width: min(280px, 100%); font-size: 1rem; }
  .lune-hero figure, .lune-scene, .lune-hero img {
    max-height: 124px !important;
    width: 100%;
    object-fit: cover;
    margin: 0 auto;
  }
  .lune-hero h1 { font-size: 1.2rem; margin: 0 0 0.3em; }
  .lune-note { font-size: 0.8rem; margin: 6px 0; }
}

body.is-booking .biz-door,
body.is-booking .lune-hero,
body.is-booking .a2hs-tip { display: none !important; }
/* Hide the booking form under the front door until Reserve is tapped.
   Scoped to skill apps that have a .biz-door so the platform home plaza stays visible. */
body:has(.biz-door):not(.is-booking) main > *:not(.biz-door):not(.lune-hero):not(.lune-door):not(.fold):not(.reviews-block):not(.sbp-my-request) {
  display: none !important;
}

body.is-booking .wrap { padding: 8px 0 96px; }
body.is-booking .demo-strip { padding: 4px 12px; font-size: 0.78rem; }

body.is-booking .actions,
body.is-booking:has(.biz-door) .actions,
body.is-booking:has(.lune-hero) .actions {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 35;
  width: min(760px, 100%);
  margin: 0;
  padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  background: var(--sbp-paper);
  border-top: 1px solid var(--sbp-line);
  box-shadow: 0 -6px 16px rgba(0,0,0,0.06);
  /* Stay above the iOS home indicator / Safari toolbar; never sit under a help FAB. */
  padding-bottom: max(16px, calc(12px + env(safe-area-inset-bottom, 0px)));
}

body.is-booking .steps { margin: 0 0 8px; }
body.is-booking .steps li { font-size: 0.68rem; padding: 2px 7px; }
body.is-booking h2 { font-size: 1.12rem; margin: 0 0 0.28em; }
body.is-booking .hint { font-size: 0.82rem; margin: 0 0 0.55rem; }
body.is-booking .grid-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
body.is-booking .choice,
body.is-booking .person {
  padding: 8px 10px;
  min-height: 44px;
  border-radius: 8px;
}
body.is-booking .choice .hint,
body.is-booking .person .hint { display: none; }
body.is-booking .choice.multi { padding-right: 30px; }
body.is-booking .choice.multi::after { width: 16px; height: 16px; right: 8px; }
body.is-booking .cat-label { margin: 8px 0 4px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sbp-muted); }
body.is-booking .field { margin: 0 0 8px; }
body.is-booking .field label { margin: 0 0 4px; font-size: 0.88rem; }
body.is-booking .field input,
body.is-booking .field select { min-height: 40px; padding: 8px 10px; }
body.is-booking .field textarea { min-height: 56px; padding: 8px 10px; }
body.is-booking .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
body.is-booking .photo-preview { max-height: 72px; }
body.is-booking .summary-card { padding: 10px 12px; font-size: 0.92rem; }
body.is-booking .summary-card p { margin: 0 0 0.35em; }
body.is-booking .slot-grid { gap: 6px; margin-bottom: 8px; }
body.is-booking .slot { padding: 8px 10px; min-height: 40px; }
body.is-booking .err { padding: 6px 10px; margin: 0 0 8px; }

/* Compact Disney calendar */
body.is-booking .tier-day { min-height: 36px; padding: 2px 1px 3px; border-radius: 6px; }
body.is-booking .tier-day-num { font-size: 0.82rem; }
body.is-booking .tier-day-mark { font-size: 0.55rem; margin-top: 0; }
body.is-booking .tier-cal-weekdays { font-size: 0.65rem; margin-bottom: 4px; }
body.is-booking .tier-legend { font-size: 0.75rem; gap: 4px 10px; margin: 4px 0; }
body.is-booking .tier-swatch { width: 12px; height: 12px; }
body.is-booking .tier-picked { margin: 6px 0 4px; font-size: 0.82rem; }
body.is-booking .tier-cal-note,
body.is-booking .tier-cal .hint:not(.tier-picked) { display: none; }
body.is-booking .day-row:has(.tier-cal) { margin-bottom: 8px; }

/* Room counters, folds, callback */
.counter-list { display: grid; gap: 6px; margin: 0 0 10px; }
.counter-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 4px 8px;
  background: #fff;
  border: 1px solid var(--sbp-line);
  border-radius: 8px;
}
.counter-row span.counter-name { font-weight: 650; font-size: 0.92rem; }
.counter-controls { display: inline-flex; align-items: center; gap: 4px; }
.counter-controls button {
  appearance: none;
  width: 36px; height: 36px;
  border: 1px solid var(--sbp-line);
  border-radius: 8px;
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}
.counter-controls output {
  min-width: 1.4em;
  text-align: center;
  font-weight: 700;
}
.fold {
  border-top: 1px solid var(--sbp-line);
  margin: 12px 0 0;
  padding: 0;
}
.fold > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  font-weight: 650;
  font-size: 0.95rem;
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: "+"; font-weight: 700; color: var(--sbp-muted); }
.fold[open] > summary::after { content: "–"; }
.fold .fold-body { padding: 0 0 12px; }
.reviews-block { margin: 16px 0 8px; }
body.is-booking .reviews-block { margin-top: 8px; }
.faq-item { margin: 0 0 10px; }
.faq-item h3 { font-size: 0.95rem; margin: 0 0 0.2em; font-family: var(--font-body); }
.faq-item p { margin: 0; font-size: 0.92rem; color: var(--sbp-muted); }
.callback-box { margin-top: 8px; padding: 8px 0 0; }
.dow-chips, .window-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.linkish {
  appearance: none;
  background: none;
  border: 0;
  padding: 8px 0;
  min-height: 44px;
  font: inherit;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  color: var(--sbp-ink);
}

.dow-chips .choice, .window-chips .choice {
  width: auto;
  flex: 0 0 auto;
  padding: 8px 12px;
  min-height: 40px;
}
body.is-booking .fold { display: none; }
body.is-booking:has([data-step="done"]:not([hidden])) .fold,
body.is-booking:has(#panel-confirm:not([hidden])) .fold {
  display: block;
}


/* Inline rating under the door name only — never a floating review badge or popup. */
.biz-door-rating {
  margin: 0 0 0.45em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.2;
}
.biz-door-rating .count { font-weight: 500; opacity: 0.8; }
@media (max-width: 759px) {
  .biz-door-rating { font-size: 0.85rem; margin: 0 0 0.28em; }
}

/* The only bottom-sticky UI is Continue/Back. Hide the RK pig/help launcher
   (and any review-badge widgets) while that bar is on screen so they cannot
   overlap the bar or the iOS Safari toolbar. */
body.is-booking:has(#book-actions:not([hidden])) .rk-help-launcher,
body.is-booking:has(#book-actions:not([hidden])) .rk-help-panel,
body.is-booking:has(#book-actions:not([hidden])) .google-review-badge,
body.is-booking:has(#book-actions:not([hidden])) [class*="grw-badge"],
body.is-booking:has(#book-actions:not([hidden])) [class*="review-badge"] {
  display: none !important;
}
.google-review-badge,
[class*="grw-badge"],
.floating-review,
[data-review-badge] {
  display: none !important;
}

/* Skill apps and the plaza home: never show a floating help FAB or review badge. */
body:has(.biz-door) .rk-help-launcher,
body:has(.biz-door) .rk-help-panel,
body:has(.platform-title) .rk-help-launcher,
body:has(.platform-title) .rk-help-panel {
  display: none !important;
}

/* 2026-11-11k: full-width door logos, trade badges, membership, policies */
.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8f6ee;
  color: #135c32;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.2;
}
.trade-electrician .avail-badge { background: #2a2610; color: #f5c518; }
.emergency-line {
  margin: 8px 0 0;
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--sbp-muted, #5c675f);
}
.emergency-line a { color: inherit; font-weight: 650; }
.area-fold {
  margin: 8px auto 0;
  max-width: 36em;
  text-align: left;
  font-size: 0.86rem;
}
.area-fold summary { cursor: pointer; font-weight: 650; }
.area-fold ul { margin: 6px 0 0; padding: 0 0 0 1.1em; columns: 2; gap: 12px; }
.area-fold li { margin: 0 0 2px; }
.choice.issue { display: flex; align-items: flex-start; gap: 8px; text-align: left; }
.choice.issue .issue-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  line-height: 1;
}
.choice .price-dur, .price-dur {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: var(--sbp-muted, #5c675f);
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: normal;
  hyphens: none;
}
.price-dur:has(.price-main) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}
.price-dur .price-main, .price-dur .price-note { white-space: nowrap; }
@media (max-width: 430px) {
  body.is-booking .choice.has-sample { gap: 8px; }
  body.is-booking .opt-emoji { width: 36px; height: 36px; font-size: 1.25rem; border-radius: 8px; }
}
.plan-card {
  display: block;
  margin: 12px 0 0;
  padding: 12px 12px 10px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 10px;
  background: #fff;
  text-align: left;
}
.plan-card input { margin: 0 8px 0 0; vertical-align: middle; }
.plan-card strong { font-size: 1rem; }
.plan-card .plan-price { display: block; margin: 2px 0 6px; font-weight: 650; }
.plan-card ul { margin: 0 0 6px; padding: 0 0 0 1.15em; }
.plan-card li { margin: 0 0 2px; font-size: 0.88rem; }
.plan-card .hint { margin: 0; }
.financing-note, .policy-box, .trust-line {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0,0,0,.04);
  font-size: 0.88rem;
  line-height: 1.4;
  text-align: left;
}
.policy-box h3 { margin: 0 0 6px; font-size: 0.92rem; }
.policy-box ul { margin: 0; padding: 0 0 0 1.15em; }
.pack-compare { width: 100%; border-collapse: collapse; font-size: 0.82rem; margin: 0 0 8px; }
.pack-compare th, .pack-compare td { padding: 4px 6px; text-align: left; border-bottom: 1px solid rgba(0,0,0,.08); }
.pack-compare th { font-weight: 650; }
@media (max-width: 759px) {
  .avail-badge { font-size: 0.75rem; padding: 3px 8px; margin-bottom: 6px; }
  .emergency-line, .area-fold { font-size: 0.78rem; }
  .area-fold ul { columns: 2; }
  .plan-card { padding: 8px 10px; }
  .plan-card ul { font-size: 0.8rem; }
}

/* Kestrel Prep: unframed bird mark, no ring or circle anywhere. */
body.kestrel .sbp-back img, body.kestrel .sbp-back .mark { border-radius: 8px; box-shadow: none; background: transparent; }

/* Customer / Owner switch (two-sided demo, One Way pattern) */
.sbp-view-switch {
  display: inline-flex; border: 1px solid rgba(232, 195, 138, 0.7); border-radius: 999px;
  padding: 2px; gap: 2px; background: rgba(0, 0, 0, 0.18);
}
.sbp-view-btn {
  appearance: none; border: 0; border-radius: 999px; background: transparent; color: #f3dfbd;
  font: inherit; font-size: 0.8rem; font-weight: 700; padding: 6px 12px; min-height: 34px; cursor: pointer; white-space: nowrap;
}
.sbp-view-btn[aria-pressed="true"] { background: #e8c38a; color: #1b1408; }
.sbp-view-btn:hover:not([aria-pressed="true"]) { background: rgba(232, 195, 138, 0.18); }
.sbp-view-btn:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
body.sbp-view-owner #main, body.sbp-view-owner .a2hs-tip { display: none !important; }
.sbp-owner-view { padding-top: 18px; padding-bottom: 40px; }
.sbp-owner-banner {
  background: #fff7e6; border: 1px solid #e8c38a; color: #3c2a12; border-radius: 10px;
  padding: 12px 14px; margin: 0 0 16px; font-size: 0.95rem;
}
.sbp-owner-head h1 { font-family: var(--font-display); font-size: 1.6rem; margin: 0; }
.sbp-owner-count { margin: 4px 0 14px; color: var(--sbp-muted); font-weight: 650; }
.sbp-req-list { display: grid; gap: 12px; }
.sbp-req {
  background: #fff; border: 1px solid var(--sbp-line); border-left: 5px solid #c9a227;
  border-radius: 10px; padding: 14px; color: #1d1d1d;
}
.sbp-req.st-accepted { border-left-color: #1f6b45; }
.sbp-req.st-declined { border-left-color: #9b1c1c; }
.sbp-req.is-mine { box-shadow: 0 0 0 2px #e8c38a; }
.sbp-req-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.sbp-req-name { font-size: 1.05rem; }
.sbp-req-meta, .sbp-req-contact { color: #5c675f; font-size: 0.88rem; margin: 2px 0 0; }
.sbp-req-job { font-weight: 650; margin: 10px 0 2px; }
.sbp-req-time { margin: 0 0 4px; }
.sbp-req-details { margin: 8px 0; }
.sbp-req-details summary { cursor: pointer; font-weight: 650; }
.sbp-req-details pre { white-space: pre-wrap; font: inherit; font-size: 0.92rem; background: #f7f4ee; padding: 10px; border-radius: 8px; margin: 8px 0 0; }
.sbp-req-note { font-weight: 650; color: #1f6b45; margin: 8px 0 0; }
.sbp-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; background: #efe1c4; color: #3c2a12; padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.sbp-pill { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; background: #fdf3d0; color: #6b5200; }
.sbp-pill.st-accepted { background: #ddf2e5; color: #155234; }
.sbp-pill.st-declined { background: #fde8e8; color: #9b1c1c; }
.sbp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sbp-req .btn-ghost, .sbp-owner-foot .btn-ghost, .sbp-cust-status .btn-ghost { background: #fff; border: 2px solid #1d2a36; color: #1d2a36; }
.sbp-req .btn-primary, .sbp-owner-foot .btn-primary, .sbp-cust-status .btn-primary { background: #1d2a36; color: #fff; border: 2px solid #1d2a36; }
.sbp-req .btn:hover, .sbp-owner-foot .btn:hover, .sbp-cust-status .btn:hover { filter: brightness(1.12); }
.sbp-reply { margin-top: 12px; }
.sbp-reply label { display: block; font-weight: 650; margin-bottom: 6px; }
.sbp-reply textarea { width: 100%; min-height: 88px; border: 1px solid var(--sbp-line); border-radius: 8px; padding: 10px; font: inherit; }
.sbp-thread { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.sbp-msg { background: #eef3f8; border-radius: 10px; padding: 8px 12px; }
.sbp-msg-who { display: block; font-size: 0.78rem; font-weight: 700; color: #5c675f; margin-bottom: 2px; }
.sbp-owner-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.sbp-cust-status { margin-top: 18px; background: #fff; border: 1px solid var(--sbp-line); border-radius: 10px; padding: 14px; color: #1d1d1d; text-align: left; }
.sbp-cust-status h3 { margin: 0; font-size: 1.1rem; }
.sbp-cust-status h4 { margin: 12px 0 0; font-size: 0.95rem; }
.sbp-cust-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sbp-cust-line { margin: 8px 0 0; font-weight: 650; }
.sbp-cust-status.st-accepted { border-color: #1f6b45; box-shadow: inset 4px 0 0 #1f6b45; }
.sbp-cust-status.st-declined { border-color: #9b1c1c; box-shadow: inset 4px 0 0 #9b1c1c; }
.sbp-try-owner { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--sbp-line); }
.sbp-try-owner p { margin: 0 0 10px; }
@media (max-width: 759px) {
  body[data-business] .sbp-bar { flex-wrap: nowrap; }
  .sbp-view-btn { padding: 5px 9px; font-size: 0.74rem; min-height: 32px; }
}
a.sbp-view-btn { display: inline-flex; align-items: center; text-decoration: none; }
.sbp-view-btn[aria-current="page"] { background: #e8c38a; color: #1b1408; }
.sbp-view-btn:hover:not([aria-current="page"]) { background: rgba(232, 195, 138, 0.18); }
.sbp-my-request { margin: 14px 0 6px; }
.sbp-my-request .sbp-cust-status { margin-top: 0; }
.sbp-cust-job { margin: 4px 0 0; color: #5c675f; }
.sbp-owner-page { min-height: 70vh; }
.sbp-cust-status a.btn, .sbp-owner-foot a.btn { text-decoration: none; }
body.is-booking .sbp-my-request { display: none !important; }
.sbp-my-request, .sbp-req { scroll-margin-top: 96px; }
/* Owner/customer request cards sit on white: keep both button styles readable on every brand theme. */
.sbp-req .btn.btn-ghost, .sbp-cust-status .btn.btn-ghost, .sbp-owner-foot .btn.btn-ghost {
  background: #fff !important; color: #1d2a36 !important; border: 2px solid #1d2a36 !important; opacity: 1 !important;
}
.sbp-req .btn.btn-primary, .sbp-cust-status .btn.btn-primary, .sbp-owner-foot .btn.btn-primary {
  background: #1d2a36 !important; color: #fff !important; border: 2px solid #1d2a36 !important; opacity: 1 !important;
}
.sbp-req, .sbp-cust-status { color: #1d1d1d !important; }
.sbp-req textarea { color: #1d1d1d; background: #fff; }
