.public-booking-filters { display: grid; gap: 1rem; margin-top: 1.25rem; }
.booking-professional-summary { margin-bottom: .5rem; }

.assistant-booking-page { background: linear-gradient(180deg, #f7f2ee 0, #fff 35%); min-height: calc(100vh - 72px); padding: clamp(2rem, 6vw, 4.5rem) 0; }
.assistant-booking-container { max-width: 790px; }
.assistant-booking-intro { align-items: flex-start; display: flex; gap: 1rem; margin-bottom: 2rem; }
.assistant-booking-intro h1 { color: #30262a; font-size: clamp(2rem, 6vw, 3.35rem); letter-spacing: -.045em; line-height: 1.02; margin: .15rem 0 .8rem; }
.assistant-booking-intro > div > p:last-child { color: #725f66; font-size: 1.05rem; margin: 0; max-width: 610px; }
.assistant-status-dot { background: #4d9c6c; border: 5px solid #dff0e5; border-radius: 50%; flex: 0 0 auto; height: 18px; margin-top: .65rem; width: 18px; }
.assistant-conversation { background: rgba(255,255,255,.94); border: 1px solid #eadfe2; border-radius: 28px; box-shadow: 0 24px 70px rgba(71,47,55,.1); overflow: hidden; padding: clamp(1rem, 4vw, 2rem); }
.assistant-step { border-bottom: 1px solid #f0e7e9; padding: .25rem 0 1.6rem; transition: opacity .25s, transform .25s; }
.assistant-step + .assistant-step { padding-top: 1.6rem; }
.assistant-step-hidden { display: none; opacity: 0; transform: translateY(8px); }
.assistant-message { align-items: flex-start; display: flex; gap: .8rem; margin-bottom: 1rem; }
.assistant-message > div { background: #f4edef; border-radius: 6px 18px 18px 18px; color: #382b30; display: grid; gap: .25rem; max-width: 590px; padding: .85rem 1rem; }
.assistant-message strong { font-size: 1rem; }
.assistant-message small { color: #7c6870; line-height: 1.45; }
.assistant-avatar { align-items: center; background: #d56a7c; border-radius: 50%; color: #fff; display: flex; flex: 0 0 auto; font-size: .75rem; font-weight: 800; height: 38px; justify-content: center; overflow: hidden; width: 38px; }
.assistant-avatar img { height: 100%; object-fit: cover; width: 100%; }
.assistant-service-list { display: grid; gap: .65rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-left: 46px; }
.assistant-service-option { align-items: center; background: #fff; border: 1px solid #e4d7db; border-radius: 16px; color: #3b2d32; display: flex; gap: .7rem; justify-content: space-between; min-height: 74px; padding: .8rem .9rem; text-align: left; transition: border-color .16s, box-shadow .16s, transform .16s; }
.assistant-service-option:hover { border-color: #d56a7c; box-shadow: 0 8px 20px rgba(95,54,67,.08); transform: translateY(-1px); }
.assistant-service-option.selected { background: #fff7f8; border-color: #d56a7c; box-shadow: inset 0 0 0 1px #d56a7c; }
.assistant-service-option span { display: grid; gap: .2rem; }
.assistant-service-option strong { line-height: 1.2; }
.assistant-service-option small { color: #826d74; font-size: .76rem; }
.assistant-service-option b { color: #a4485b; font-size: .78rem; white-space: nowrap; }
.assistant-user-answer { background: #d56a7c; border-radius: 18px 6px 18px 18px; color: #fff; display: grid; gap: .12rem; margin: 0 0 1rem auto; max-width: 70%; padding: .72rem .95rem; width: max-content; }
.assistant-user-answer small { color: rgba(255,255,255,.78); }
.assistant-moment-options { display: grid; gap: .65rem; grid-template-columns: repeat(3, 1fr); margin-left: 46px; }
.assistant-moment-options button { background: #fff; border: 1px solid #e4d7db; border-radius: 16px; color: #49373e; display: grid; font-weight: 700; gap: .35rem; min-height: 92px; place-items: center; }
.assistant-moment-options button span { font-size: 1.35rem; }
.assistant-moment-options button:hover, .assistant-moment-options button.selected { background: #fff7f8; border-color: #d56a7c; }
.assistant-loading { align-items: center; color: #806d73; display: flex; font-size: .85rem; gap: .3rem; margin: .8rem 0 0 46px; }
.assistant-loading[hidden] { display: none; }
.assistant-loading span { animation: assistantPulse 1.1s infinite alternate; background: #d56a7c; border-radius: 50%; height: 6px; width: 6px; }
.assistant-loading span:nth-child(2) { animation-delay: .2s; }
.assistant-loading span:nth-child(3) { animation-delay: .4s; margin-right: .3rem; }
@keyframes assistantPulse { to { opacity: .25; transform: translateY(-3px); } }
.assistant-results { display: grid; gap: .65rem; margin-left: 46px; }
.assistant-result-card { align-items: center; background: #fff; border: 1px solid #e4d7db; border-radius: 16px; color: #3d2f34; display: flex; gap: 1rem; justify-content: space-between; padding: .85rem 1rem; text-decoration: none; transition: border-color .16s, box-shadow .16s, transform .16s; }
.assistant-result-card:hover { border-color: #d56a7c; box-shadow: 0 9px 24px rgba(95,54,67,.09); color: #3d2f34; transform: translateY(-1px); }
.assistant-result-date, .assistant-result-time { display: grid; gap: .18rem; }
.assistant-result-date strong { text-transform: capitalize; }
.assistant-result-card small { color: #88727a; font-size: .74rem; }
.assistant-result-time { text-align: right; }
.assistant-result-time strong { color: #a4485b; font-size: 1.02rem; white-space: nowrap; }
.assistant-no-results { background: #faf6f7; border: 1px dashed #ddcdd2; border-radius: 14px; color: #755f67; padding: 1rem; }
.assistant-secondary-action { background: transparent; border: 0; color: #a4485b; display: block; font-weight: 750; margin: 1rem 0 0 auto; padding: .5rem; }
.assistant-help { align-items: center; color: #826f76; display: flex; font-size: .86rem; gap: .5rem; justify-content: center; padding-top: 1.35rem; text-align: center; }
.assistant-help a { color: #3d7652; font-weight: 750; }
.assistant-empty { color: #826f76; }

.professional-agenda-body { background: #f4f5f8; color: #1e2028; min-height: 100vh; }
.professional-agenda-shell { background: #f8f8fa; min-height: 100vh; margin: 0 auto; max-width: 920px; padding-bottom: 92px; }
.professional-agenda-header { background: #20202a; color: #fff; overflow: hidden; padding: 1rem 1rem 1.2rem; position: relative; }
.professional-agenda-header::after { background: radial-gradient(circle, rgba(133,91,255,.3), transparent 68%); content: ""; height: 260px; pointer-events: none; position: absolute; right: -110px; top: -120px; width: 260px; }
.professional-agenda-header.compact { background: linear-gradient(135deg, #24232e, #352a50); padding-bottom: 1.4rem; }
.professional-agenda-header h1 { font-size: clamp(1.65rem, 7vw, 2.55rem); font-weight: 730; letter-spacing: -.035em; line-height: 1.08; margin: .25rem 0 .7rem; }
.professional-agenda-header p { color: #c6c4cf; margin: 0; }
.professional-topbar { align-items: center; display: flex; justify-content: space-between; position: relative; z-index: 1; }
.professional-agenda-brand { align-items: center; display: flex; gap: .7rem; }
.professional-agenda-brand img { background: #fff; border-radius: 13px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.professional-agenda-brand > span { display: grid; line-height: 1.1; }
.professional-agenda-brand strong { font-size: .95rem; }
.professional-agenda-brand small { color: #aeadba; font-size: .72rem; margin-top: .22rem; }
.professional-header-actions { align-items: center; display: flex; gap: .45rem; }
.professional-demo-badge { background: rgba(181,160,255,.16); border: 1px solid rgba(181,160,255,.35); border-radius: 999px; color: #e2d9ff; font-size: .68rem; font-weight: 750; padding: .42rem .65rem; white-space: nowrap; }
.professional-header-actions form { margin: 0; }
.professional-icon-button { align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); border-radius: 12px; color: #fff; display: inline-flex; height: 40px; justify-content: center; padding: 0; width: 40px; }
.professional-icon-button:hover { background: rgba(255,255,255,.16); color: #fff; }
.professional-icon-button svg, .professional-bottom-nav svg, .professional-customer-phone svg { fill: none; height: 19px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; width: 19px; }
.professional-day-hero { align-items: end; display: flex; gap: 1rem; justify-content: space-between; margin-top: 2rem; position: relative; z-index: 1; }
.professional-agenda-kicker { color: #b5a0ff !important; font-size: .72rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.professional-day-summary { align-items: center; display: flex; flex-wrap: wrap; gap: .4rem .7rem; }
.professional-day-summary strong { color: #fff; font-size: .9rem; }
.professional-day-summary span { color: #aeadba; font-size: .82rem; }
.professional-today-button { background: #fff; border-radius: 10px; color: #292431; flex: 0 0 auto; font-size: .8rem; font-weight: 750; padding: .58rem .8rem; text-decoration: none; }
.professional-date-strip { display: grid; gap: .32rem; grid-template-columns: repeat(7, 1fr); margin-top: 1.45rem; position: relative; z-index: 1; }
.professional-date-strip a { align-items: center; border: 1px solid transparent; border-radius: 13px; color: #aeadba; display: flex; flex-direction: column; min-width: 0; padding: .55rem .1rem .42rem; text-decoration: none; transition: background .15s, transform .15s; }
.professional-date-strip a:hover { background: rgba(255,255,255,.08); transform: translateY(-1px); }
.professional-date-strip a.active { background: #7c52f4; box-shadow: 0 8px 20px rgba(72,39,165,.42); color: #fff; }
.professional-date-strip a.today:not(.active) { border-color: rgba(181,160,255,.55); color: #fff; }
.professional-date-strip small { font-size: .65rem; }
.professional-date-strip strong { font-size: 1rem; line-height: 1.25; }
.professional-date-count { font-size: .62rem; height: .78rem; }
.professional-agenda-content { padding: 1rem; }
.professional-demo-notice { align-items: flex-start; background: #eee9ff; border: 1px solid #dcd1ff; border-radius: 15px; color: #403464; display: flex; flex-direction: column; font-size: .8rem; gap: .18rem; margin-bottom: 1rem; padding: .85rem 1rem; }
.professional-demo-notice strong { color: #2c2350; }
.professional-demo-notice.success { background: #e8f8ee; border-color: #c8ebd5; color: #29633d; }
.professional-quick-create, .professional-settings-card { background: #fff; border: 1px solid #e6e7eb; border-radius: 18px; box-shadow: 0 8px 30px rgba(34,31,47,.055); margin-bottom: 1rem; padding: 1rem; }
.professional-quick-create[open] { border-color: #d8cff8; box-shadow: 0 12px 34px rgba(74,48,145,.1); }
.professional-quick-create > summary { align-items: center; color: #292431; cursor: pointer; display: flex; gap: .75rem; list-style: none; }
.professional-quick-create > summary::-webkit-details-marker { display: none; }
.professional-quick-create > summary > span:nth-child(2) { display: grid; flex: 1; }
.professional-quick-create > summary strong { font-size: .95rem; }
.professional-quick-create > summary small { color: #777783; font-size: .75rem; font-weight: 400; margin-top: .1rem; }
.professional-create-icon { align-items: center; background: #7c52f4; border-radius: 12px; color: #fff; display: inline-flex; font-size: 1.35rem; font-weight: 400; height: 42px; justify-content: center; width: 42px; }
.professional-summary-chevron { color: #777783; font-size: 1.2rem; transition: transform .2s; }
.professional-quick-create[open] .professional-summary-chevron { transform: rotate(180deg); }
.professional-quick-create form { border-top: 1px solid #eff0f3; margin-top: 1rem !important; padding-top: .15rem; }
.professional-primary-button { background: #6f45e8; border-color: #6f45e8; border-radius: 12px; font-weight: 700; min-height: 46px; }
.professional-primary-button:hover { background: #5f38d5; border-color: #5f38d5; }
.professional-section-heading { align-items: end; display: flex; justify-content: space-between; margin: 1.5rem 0 .8rem; }
.professional-section-heading p { color: #8a8b94; font-size: .7rem; font-weight: 750; letter-spacing: .08em; margin: 0 0 .15rem; text-transform: uppercase; }
.professional-section-heading h2, .professional-settings-card h2 { font-size: 1.12rem; font-weight: 750; margin: 0; }
.professional-section-heading a { color: #6841dc; font-size: .8rem; font-weight: 650; text-decoration: none; }
.professional-section-heading > span { color: #8a8b94; font-size: .75rem; }
.professional-appointment-list { display: grid; gap: .7rem; }
.professional-appointment-card { align-items: start; background: #fff; border: 1px solid #e5e6ea; border-radius: 17px; box-shadow: 0 5px 18px rgba(34,31,47,.04); display: grid; gap: .75rem; grid-template-columns: 96px 1fr auto; overflow: hidden; padding: .9rem; position: relative; }
.professional-appointment-card::before { background: #7c52f4; border-radius: 0 5px 5px 0; bottom: 14px; content: ""; left: 0; position: absolute; top: 14px; width: 3px; }
.professional-appointment-time { display: grid; padding-top: .05rem; }
.professional-appointment-time strong { font-size: .94rem; white-space: nowrap; }
.professional-appointment-time span { color: #9696a0; font-size: .67rem; }
.professional-appointment-main h3 { font-size: 1rem; font-weight: 750; margin: 0 0 .12rem; }
.professional-service-name { color: #6d6d78; font-size: .82rem; margin: 0 0 .35rem; }
.professional-customer-phone { align-items: center; color: #6841dc; display: inline-flex; font-size: .77rem; gap: .3rem; text-decoration: none; }
.professional-customer-phone svg { height: 14px; width: 14px; }
.professional-status { border-radius: 999px; font-size: .67rem; font-weight: 700; padding: .32rem .5rem; white-space: nowrap; }
.professional-status.confirmed, .professional-status.reserved { background: #e5f7eb; color: #216b3b; }
.professional-status.pending, .professional-status.deposit_sent { background: #fff0d2; color: #875914; }
.professional-appointment-actions { border-top: 1px solid #eff0f3; grid-column: 1 / -1; padding-top: .65rem; }
.professional-appointment-actions > summary { align-items: center; color: #585864; cursor: pointer; display: flex; font-size: .77rem; font-weight: 650; justify-content: space-between; list-style: none; }
.professional-appointment-actions > summary::-webkit-details-marker { display: none; }
.professional-empty-state { align-items: center; background: #fff; border: 1px dashed #d7d8df; border-radius: 18px; color: #777783; display: flex; flex-direction: column; padding: 2.1rem 1rem; text-align: center; }
.professional-empty-state > span { align-items: center; background: #eee9ff; border-radius: 50%; color: #6841dc; display: flex; font-size: 1.2rem; height: 48px; justify-content: center; margin-bottom: .8rem; width: 48px; }
.professional-empty-state strong { color: #2c2c35; }
.professional-empty-state p { font-size: .85rem; margin: .3rem 0 .8rem; }
.professional-empty-state button { background: none; border: 0; color: #6841dc; font-size: .82rem; font-weight: 700; }
.professional-bottom-nav { background: rgba(255,255,255,.96); border-top: 1px solid #e1e2e7; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); left: 0; margin: 0 auto; max-width: 920px; padding: .5rem max(.65rem, env(safe-area-inset-right)) calc(.5rem + env(safe-area-inset-bottom)); position: fixed; right: 0; z-index: 10; }
.professional-bottom-nav a { align-items: center; color: #7a7a85; display: flex; flex-direction: column; font-size: .68rem; gap: .2rem; padding: .3rem .2rem; text-align: center; text-decoration: none; }
.professional-bottom-nav a.active { color: #6a43df; font-weight: 750; }
.professional-bottom-nav svg { height: 20px; width: 20px; }
.professional-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem; }
.professional-weekdays label { cursor: pointer; }
.professional-weekdays input { position: absolute; opacity: 0; }
.professional-weekdays span { border: 1px solid #dfccd2; border-radius: 12px; display: block; padding: .55rem .15rem; text-align: center; }
.professional-weekdays input:checked + span { background: #d56a7c; border-color: #d56a7c; color: white; }
.professional-exception-list { list-style: none; margin: 1rem 0 0; padding: 0; }
.professional-exception-list li { border-top: 1px solid #eee1e5; display: grid; grid-template-columns: 1fr auto; padding: .7rem 0; }
.professional-exception-list small { color: #755d66; grid-column: 1 / -1; }

@media (min-width: 760px) {
  .public-booking-filters { grid-template-columns: 1fr 1fr; }
  .professional-agenda-body { padding: 1.5rem; }
  .professional-agenda-shell { border: 1px solid #e0e1e6; border-radius: 26px; box-shadow: 0 24px 60px rgba(34,31,47,.13); min-height: calc(100vh - 3rem); overflow: hidden; }
  .professional-agenda-header { padding: 1.25rem 2rem 1.5rem; }
  .professional-agenda-content { padding: 1.4rem 2rem 2rem; }
  .professional-date-strip { gap: .6rem; }
  .professional-date-strip a { padding: .65rem .2rem .5rem; }
}

@media (max-width: 520px) {
  .assistant-booking-page { padding: 1.25rem 0; }
  .assistant-booking-intro { gap: .65rem; margin-bottom: 1.25rem; }
  .assistant-booking-intro h1 { font-size: 2.05rem; }
  .assistant-booking-intro > div > p:last-child { font-size: .92rem; }
  .assistant-conversation { border-radius: 22px; }
  .assistant-service-list, .assistant-moment-options, .assistant-results, .assistant-loading { margin-left: 0; }
  .assistant-service-list { grid-template-columns: 1fr; }
  .assistant-moment-options { grid-template-columns: 1fr; }
  .assistant-moment-options button { align-items: center; display: flex; justify-content: flex-start; min-height: 58px; padding: .65rem 1rem; }
  .assistant-result-card { align-items: flex-start; }
  .assistant-result-date strong { font-size: .9rem; }
  .assistant-result-time strong { font-size: .9rem; }
  .assistant-help { align-items: stretch; flex-direction: column; }
  .professional-appointment-card { grid-template-columns: 92px 1fr; }
  .professional-status { grid-column: 2; justify-self: start; }
  .professional-day-hero { align-items: start; }
  .professional-today-button { margin-top: .2rem; }
}
