:root {
  color-scheme: light;
  --canvas: #f8f3ee;
  --surface: #ffffff;
  --surface-soft: #fffaf6;
  --ink: #241916;
  --muted: #76645d;
  --line: #eadfd7;
  --line-strong: #dfc9bc;
  --brand: #ad4f32;
  --brand-deep: #74301f;
  --brand-soft: #fbe2d4;
  --success: #157748;
  --success-soft: #e1f5e9;
  --warning: #8a6205;
  --warning-soft: #fff3cf;
  --danger: #b7352c;
  --danger-soft: #ffe8e4;
  --shadow: 0 22px 70px rgba(77, 45, 32, .12);
  --shadow-soft: 0 10px 30px rgba(77, 45, 32, .08);
  --focus: 0 0 0 4px rgba(173, 79, 50, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 3% -8%, rgba(198, 101, 65, .19), transparent 28rem),
    radial-gradient(circle at 100% 5%, rgba(117, 48, 31, .11), transparent 24rem),
    linear-gradient(180deg, #fffaf6 0, var(--canvas) 38rem, #f7f1ec 100%);
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; border-radius: 12px; color: white; background: var(--brand-deep); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.page-shell { width: min(1180px, 100%); margin: 0 auto; padding: max(16px, env(safe-area-inset-top)) 14px max(28px, env(safe-area-inset-bottom)); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 68px; margin-bottom: 14px; }
.brand { display: flex; align-items: center; min-width: 0; gap: 11px; }
.brand-visual { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; overflow: hidden; border-radius: 17px; color: white; font-size: 24px; font-weight: 800; background: linear-gradient(145deg, var(--brand), var(--brand-deep)); box-shadow: 0 12px 28px rgba(173, 79, 50, .25); }
.brand-visual img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy { min-width: 0; }
.brand-copy strong, .brand-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-copy strong { max-width: min(56vw, 390px); font-size: 15px; font-weight: 700; }
.brand-copy small { margin-top: 2px; color: var(--muted); font-size: 12px; font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-button, .whatsapp-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .88); box-shadow: var(--shadow-soft); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.icon-button { width: 44px; padding: 0; color: var(--ink); font-size: 21px; }
.whatsapp-button { gap: 8px; padding: 0 14px; border-color: #ccebd7; color: #126b3e; font-size: 13px; font-weight: 700; }
.whatsapp-button span { color: #24b965; }
.icon-button:hover, .whatsapp-button:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.icon-button:focus-visible, .whatsapp-button:focus-visible { outline: 0; box-shadow: var(--focus); }
.plans-showcase { position: relative; overflow: hidden; margin: 0 0 18px; padding: 22px; border-radius: 28px; color: white; background: linear-gradient(145deg, #0f2034, #174a7e); box-shadow: 0 24px 70px rgba(15,32,52,.22); }
.plans-showcase::before { content: ""; position: absolute; inset: 0 0 auto; height: 7px; background: linear-gradient(90deg,#c62828 0 34%,#fff 34% 66%,#174a7e 66%); }
.plans-intro { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.plans-kicker { color: #ffb3ae; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.plans-intro h2 { margin: 6px 0 4px; font: 800 clamp(24px,4vw,38px)/1.05 "Playfair Display",serif; letter-spacing: -.035em; }
.plans-intro p { max-width: 610px; margin: 0; color: #d9e6f2; font-size: 13px; font-weight: 600; line-height: 1.5; }
.plans-ad-label { flex: 0 0 auto; padding: 7px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #dce9f6; background: rgba(255,255,255,.08); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.plans-ad-grid { position: relative; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.plan-ad { display: grid; align-content: start; min-width: 0; padding: 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 21px; color: var(--ink); background: white; box-shadow: 0 15px 35px rgba(0,0,0,.13); }
.plan-ad.featured { border: 2px solid #e7473e; transform: translateY(-3px); }
.plan-ad-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.plan-ad h3 { margin: 0; font: 800 21px/1.08 "Playfair Display",serif; }
.plan-ad-badge { flex: 0 0 auto; padding: 5px 7px; border-radius: 999px; color: #fff; background: #c62828; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.plan-ad-description { min-height: 42px; margin: 9px 0 12px; color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.45; }
.plan-ad-price { display: flex; align-items: flex-end; gap: 6px; margin-bottom: 13px; }
.plan-ad-price strong { color: #174a7e; font-size: 28px; letter-spacing: -.04em; }
.plan-ad-price span { padding-bottom: 4px; color: var(--muted); font-size: 11px; font-weight: 700; }
.plan-ad-benefits { display: grid; gap: 7px; margin: 0 0 16px; padding: 0; list-style: none; }
.plan-ad-benefits li { font-size: 12px; font-weight: 650; line-height: 1.35; }
.plan-ad-benefits li::before { content: "✓"; margin-right: 7px; color: #17804a; font-weight: 900; }
.plan-ad-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; margin-top: auto; padding: 10px 13px; border-radius: 13px; color: white; background: linear-gradient(135deg,#c62828,#9f201b); font-size: 12px; font-weight: 800; box-shadow: 0 10px 22px rgba(198,40,40,.2); }
.plan-ad-button:hover { transform: translateY(-1px); }
.plan-ad-button:focus-visible { outline: 0; box-shadow: 0 0 0 4px rgba(255,255,255,.55); }
.plan-ad-button:disabled { cursor: default; opacity: .62; transform: none; box-shadow: none; }
.plan-ad-services { display: grid; gap: 7px; margin: 0 0 13px; }
.plan-ad-service { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 9px; border-radius: 11px; color: #17334e; background: #edf5fc; font-size: 11px; font-weight: 800; }
.plan-ad-service strong { color: #c62828; }
.membership-card { border-color: #b9cee2; }
.membership-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: white; background: linear-gradient(145deg,#132e4b,#174a7e); }
.membership-heading .details-kicker { color: #ffb3ae; }
.membership-status { padding: 5px 8px; border-radius: 999px; color: #0f6c3e; background: #dff5e8; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.membership-status.pending { color: #8d5d0a; background: #fff0c9; }
.membership-status.cancelled { color: #9b2626; background: #ffe4e2; }
.membership-plan { padding: 15px 17px; border-bottom: 1px solid var(--line); }
.membership-plan strong { display: block; font: 800 18px/1.2 "Playfair Display",serif; }
.membership-plan span { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 650; }
.membership-credits { display: grid; gap: 8px; padding: 13px; }
.membership-credit { padding: 11px; border: 1px solid #d6e3ef; border-radius: 14px; background: #f5f9fd; }
.membership-credit-top { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 750; }
.membership-credit-top strong { color: #174a7e; }
.membership-credit-track { height: 6px; overflow: hidden; margin-top: 8px; border-radius: 999px; background: #dce8f3; }
.membership-credit-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg,#c62828,#174a7e); }
.membership-rules { padding: 0 17px 14px; color: var(--muted); font-size: 10px; font-weight: 600; line-height: 1.45; }
.membership-actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 13px 14px; }
.membership-actions .secondary-button, .membership-actions .primary-button { min-height: 40px; flex: 1; padding: 8px 10px; font-size: 11px; }
.included-copy { color: #137348!important; }
.included-note { display: block; margin-top: 3px; color: #137348; font-size: 10px; font-weight: 800; }
.original-price { margin-right: 7px; text-decoration: line-through; opacity: .64; }
.subscription-modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 18px; background: rgba(8,20,33,.68); backdrop-filter: blur(6px); }
.subscription-modal[hidden] { display: none; }
.subscription-dialog { position: relative; width: min(520px,100%); max-height: calc(100vh - 36px); overflow-y: auto; padding: 27px; border-radius: 26px; background: white; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.subscription-dialog > .plans-kicker { color: #c62828; }
.subscription-dialog h2 { margin: 6px 40px 13px 0; font: 800 30px/1.08 "Playfair Display",serif; }
.subscription-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: white; font-size: 22px; }
.subscription-selected { padding: 14px; border-radius: 16px; color: white; background: linear-gradient(145deg,#132e4b,#174a7e); }
.subscription-selected strong { display: block; font-size: 17px; }
.subscription-selected span { display: block; margin-top: 4px; color: #dbe8f4; font-size: 12px; }
.subscription-form { display: grid; gap: 8px; margin-top: 16px; }
.subscription-form label { color: var(--muted); font-size: 11px; font-weight: 750; }
.subscription-form label span { font-weight: 500; }
.subscription-form .primary-button { margin-top: 6px; }
.subscription-error { min-height: 17px; margin: 0; color: var(--danger); font-size: 11px; font-weight: 700; }
.subscription-legal { margin: 13px 0 0; color: var(--muted); font-size: 10px; font-weight: 600; line-height: 1.45; }
.booking-layout { display: grid; gap: 14px; }
.conversation-card, .details-card { border: 1px solid rgba(223, 201, 188, .82); background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); }
.conversation-card { overflow: clip; border-radius: 30px; }
.conversation-header { position: sticky; z-index: 4; top: 0; min-height: 72px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 14px 15px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .94); backdrop-filter: blur(18px); }
.assistant-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 15px; color: white; font: 800 21px/1 "Playfair Display", serif; background: linear-gradient(145deg, var(--brand), var(--brand-deep)); }
.conversation-header h1 { margin: 0; font-size: 15px; line-height: 1.2; }
.conversation-header p { margin: 4px 0 0; color: var(--muted); font-size: 12px; font-weight: 600; }
.online-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #22a861; }
.progress-pill { padding: 7px 9px; border-radius: 999px; color: var(--brand-deep); background: var(--brand-soft); font-size: 10px; font-weight: 700; white-space: nowrap; }
.conversation { min-height: 62vh; padding: 22px 14px 34px; background: linear-gradient(rgba(255,250,246,.76), rgba(255,250,246,.76)), radial-gradient(circle at 20% 10%, rgba(173,79,50,.08), transparent 20rem); }
.loading-state { min-height: 260px; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--muted); font-size: 14px; font-weight: 600; }
.loading-mark { width: 34px; height: 34px; border: 3px solid var(--brand-soft); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.message-row { display: flex; align-items: flex-end; gap: 8px; margin: 0 0 13px; animation: message-in .32s cubic-bezier(.2,.8,.2,1) both; }
.message-row.assistant { justify-content: flex-start; padding-right: 11%; }
.message-row.client { justify-content: flex-end; padding-left: 11%; }
.mini-avatar { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border-radius: 10px; color: white; background: linear-gradient(145deg, var(--brand), var(--brand-deep)); font: 800 13px/1 "Playfair Display", serif; }
.bubble { max-width: min(88%, 590px); padding: 12px 14px; border-radius: 18px; font-size: 15px; font-weight: 500; line-height: 1.5; word-break: break-word; box-shadow: 0 5px 15px rgba(77,45,32,.05); }
.assistant .bubble { border: 1px solid var(--line); border-bottom-left-radius: 6px; background: var(--surface); }
.client .bubble { border-bottom-right-radius: 6px; color: white; background: linear-gradient(145deg, var(--brand), var(--brand-deep)); }
.bubble strong { font-weight: 700; }
.typing-bubble { min-width: 64px; display: flex; align-items: center; gap: 5px; padding: 15px 16px; }
.typing-dot { width: 7px; height: 7px; border-radius: 50%; background: #aa9185; animation: typing-dot 1s ease-in-out infinite; }
.typing-dot:nth-child(2) { animation-delay: .14s; }
.typing-dot:nth-child(3) { animation-delay: .28s; }
@keyframes typing-dot { 0%,65%,100% { transform: translateY(0); opacity: .45; } 32% { transform: translateY(-4px); opacity: 1; } }
@keyframes message-in { from { opacity: 0; transform: translateY(9px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.choice-panel { margin: 4px 0 22px 36px; animation: options-in .35s ease both; }
.choice-panel.is-complete { opacity: .7; }
.choice-panel.is-complete button, .choice-panel.is-complete input, .choice-panel.is-complete textarea { pointer-events: none; }
@keyframes options-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.quick-form { display: grid; gap: 10px; max-width: 510px; padding: 14px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); box-shadow: var(--shadow-soft); }
.quick-form label, .form-label { color: var(--muted); font-size: 12px; font-weight: 700; }
.input, .textarea, .date-input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 14px; outline: 0; color: var(--ink); background: var(--surface); transition: border-color .18s ease, box-shadow .18s ease; }
.textarea { min-height: 84px; resize: vertical; line-height: 1.45; }
.input:focus, .textarea:focus, .date-input:focus { border-color: var(--brand); box-shadow: var(--focus); }
.field-error { display: none; margin: 0; color: var(--danger); font-size: 12px; font-weight: 700; }
.field-error.show { display: block; }
.primary-button, .secondary-button, .text-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; font-weight: 700; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease; }
.primary-button { padding: 12px 18px; border: 0; color: white; background: linear-gradient(145deg, var(--brand), var(--brand-deep)); box-shadow: 0 12px 25px rgba(173,79,50,.22); }
.secondary-button { padding: 11px 15px; border: 1px solid var(--line-strong); color: var(--ink); background: white; }
.text-button { min-height: 42px; padding: 8px 12px; border: 0; color: var(--brand-deep); background: transparent; }
.primary-button:hover, .secondary-button:hover, .text-button:hover { transform: translateY(-1px); }
.primary-button:focus-visible, .secondary-button:focus-visible, .text-button:focus-visible { outline: 0; box-shadow: var(--focus); }
.primary-button:disabled { cursor: not-allowed; opacity: .45; transform: none; box-shadow: none; }
.button-row { display: flex; flex-wrap: wrap; gap: 9px; }
.option-grid { display: grid; grid-template-columns: 1fr; gap: 9px; max-width: 700px; }
.option-card { width: 100%; min-height: 82px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 17px; text-align: left; color: var(--ink); background: white; box-shadow: 0 5px 15px rgba(77,45,32,.04); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.option-card:hover { border-color: #d8b7a5; transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.option-card:focus-visible { outline: 0; border-color: var(--brand); box-shadow: var(--focus); }
.option-card.selected { border-color: var(--brand); background: var(--surface-soft); box-shadow: 0 0 0 3px rgba(173,79,50,.10); }
.option-icon, .professional-initial { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--brand-soft); color: var(--brand-deep); font-weight: 800; }
.option-copy { min-width: 0; }
.option-copy strong, .option-copy span { display: block; }
.option-copy strong { font-size: 14px; line-height: 1.3; }
.option-copy span { margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 600; }
.option-price { color: var(--brand-deep); font-size: 14px; font-weight: 700; white-space: nowrap; }
.option-check { width: 23px; height: 23px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 8px; color: transparent; background: white; }
.selected .option-check { border-color: var(--brand); color: white; background: var(--brand); }
.options-footer { max-width: 700px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 11px; }
.selection-total { color: var(--muted); font-size: 13px; font-weight: 600; }
.selection-total strong { color: var(--ink); }
.day-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(86px,1fr); gap: 8px; max-width: 740px; overflow-x: auto; padding: 2px 2px 10px; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scrollbar-width: thin; }
.day-card { min-height: 92px; display: grid; place-items: center; gap: 2px; padding: 10px 8px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: white; scroll-snap-align: start; transition: .18s ease; }
.day-card:hover { border-color: var(--brand); transform: translateY(-1px); }
.day-card:focus-visible { outline: 0; box-shadow: var(--focus); }
.day-card span { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.day-card strong { font: 800 24px/1 "Playfair Display", serif; }
.day-card small { color: var(--muted); font-size: 11px; font-weight: 600; }
.calendar-extra { max-width: 360px; display: grid; gap: 7px; margin-top: 10px; }
.slot-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; max-width: 620px; }
.slot-button { min-height: 49px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: white; font-weight: 700; transition: .18s ease; }
.slot-button:hover { border-color: var(--brand); color: var(--brand-deep); transform: translateY(-1px); }
.slot-button:focus-visible { outline: 0; box-shadow: var(--focus); }
.empty-options { max-width: 620px; padding: 17px; border: 1px dashed var(--line-strong); border-radius: 16px; color: var(--muted); background: var(--surface-soft); font-size: 14px; font-weight: 600; line-height: 1.5; }
.summary-card { max-width: 620px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: var(--shadow-soft); }
.summary-list { margin: 0; }
.summary-line { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 14px; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.summary-line:last-child { border-bottom: 0; }
.summary-line dt { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.summary-line dd { margin: 4px 0 0; font-size: 14px; font-weight: 700; line-height: 1.35; }
.edit-button { min-height: 36px; padding: 6px 9px; border: 0; border-radius: 10px; color: var(--brand-deep); background: var(--brand-soft); font-size: 11px; font-weight: 700; }
.summary-total { padding: 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: white; background: linear-gradient(145deg, var(--brand), var(--brand-deep)); }
.summary-total span { font-size: 12px; font-weight: 600; opacity: .86; }
.summary-total strong { font: 800 24px/1 "Playfair Display", serif; }
.payment-note { max-width: 620px; display: flex; gap: 9px; margin: 10px 0; padding: 12px; border-radius: 15px; color: var(--warning); background: var(--warning-soft); font-size: 12px; font-weight: 600; line-height: 1.45; }
.confirmation-form { max-width: 620px; display: grid; gap: 10px; margin-top: 10px; }
.success-card { max-width: 620px; padding: 18px; border: 1px solid #bce3cd; border-radius: 20px; background: var(--success-soft); color: #105f39; }
.success-card strong { display: block; margin-bottom: 5px; font-size: 17px; }
.success-card p { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.5; }
.success-card .button-row { margin-top: 14px; }
.details-column { display: grid; align-content: start; gap: 14px; }
.details-card { overflow: hidden; border-radius: 22px; }
.details-heading { padding: 17px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg,#fffaf6,white); }
.details-kicker { display: block; margin-bottom: 5px; color: var(--brand); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.details-heading h2 { margin: 0; font: 800 22px/1.15 "Playfair Display",serif; letter-spacing: -.02em; }
.business-list { margin: 0; }
.business-list > div { padding: 14px 17px; border-bottom: 1px solid var(--line); }
.business-list > div:last-child { border-bottom: 0; }
.business-list dt { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.business-list dt span { color: var(--brand); }
.business-list dd { margin: 5px 0 0; font-size: 13px; font-weight: 600; line-height: 1.45; }
.requests-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.history-count { min-width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; color: var(--brand-deep); background: var(--brand-soft); font-size: 12px; font-weight: 700; }
.history { display: grid; gap: 9px; max-height: 430px; overflow-y: auto; padding: 12px; }
.history-empty { padding: 15px; border: 1px dashed var(--line-strong); border-radius: 14px; color: var(--muted); background: var(--surface-soft); font-size: 12px; font-weight: 600; line-height: 1.45; }
.history-item { padding: 13px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.history-item-top { display: flex; align-items: start; justify-content: space-between; gap: 9px; }
.history-item strong { font-size: 13px; line-height: 1.35; }
.history-item p { margin: 6px 0 0; color: var(--muted); font-size: 11px; font-weight: 600; line-height: 1.45; }
.status-badge { flex: 0 0 auto; padding: 5px 7px; border-radius: 999px; color: var(--warning); background: var(--warning-soft); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.status-badge.confirmed { color: var(--success); background: var(--success-soft); }
.status-badge.cancelled { color: var(--danger); background: var(--danger-soft); }
.history-pay { width: 100%; min-height: 40px; margin-top: 10px; padding: 8px 10px; border: 0; border-radius: 12px; color: white; background: var(--brand); font-size: 11px; font-weight: 700; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; padding: 22px 8px 0; color: var(--muted); text-align: center; font-size: 11px; font-weight: 600; }
.toast { position: fixed; z-index: 50; left: 50%; bottom: max(18px,env(safe-area-inset-bottom)); max-width: calc(100% - 28px); padding: 12px 16px; border-radius: 999px; color: white; background: #241916; box-shadow: 0 16px 38px rgba(0,0,0,.22); opacity: 0; pointer-events: none; transform: translate(-50%,18px); transition: .22s ease; text-align: center; font-size: 13px; font-weight: 700; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
.sr-only { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
noscript { display: block; padding: 20px; text-align: center; }
@media (min-width:560px) {
  .page-shell { padding-inline: 20px; }
  .option-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .slot-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .conversation { padding: 28px 22px 40px; }
  .choice-panel { margin-left: 38px; }
  .progress-pill { padding-inline: 12px; font-size: 11px; }
}
@media (min-width:940px) {
  .page-shell { padding-top: 22px; }
  .site-header { margin-bottom: 20px; }
  .booking-layout { grid-template-columns: minmax(0,1fr) 330px; gap: 18px; align-items: start; }
  .conversation-card { min-height: calc(100vh - 132px); }
  .conversation { min-height: calc(100vh - 204px); padding-inline: 28px; }
  .details-column { position: sticky; top: 18px; }
}
@media (max-width:820px) {
  .plans-ad-grid { grid-template-columns: 1fr; }
  .plan-ad.featured { transform: none; }
}
@media (max-width:430px) {
  .whatsapp-button { width: 44px; padding: 0; font-size: 0; }
  .whatsapp-button span { font-size: 16px; }
  .conversation-header { grid-template-columns: auto minmax(0,1fr); }
  .progress-pill { grid-column: 2; width: max-content; margin-top: -5px; }
  .choice-panel { margin-left: 0; }
  .message-row.assistant { padding-right: 4%; }
  .message-row.client { padding-left: 4%; }
  .mini-avatar { display: none; }
  .bubble { max-width: 94%; }
  .options-footer { align-items: stretch; flex-direction: column; }
  .options-footer .primary-button { width: 100%; }
  .slot-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .plans-showcase { padding: 20px 14px 14px; border-radius: 23px; }
  .plans-intro { display: grid; }
  .plans-ad-label { width: max-content; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms!important; animation-iteration-count: 1!important; transition-duration: .01ms!important; scroll-behavior: auto!important; }
}
