:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f8f6f7;
  --surface-accent: #f1e9ee;
  --text: #000000;
  --text-sec: #707070;
  --text-muted: #9b9b9b;
  --border: rgba(0, 0, 0, 0.08);
  --accent: #e6d9e1;
  --accent-strong: #c9b7c1;
  --success: #147a3f;
  --danger: #b42318;
  --warning: #a15c00;
  --shadow: 0 14px 42px rgba(0, 0, 0, 0.07);
  --r: 18px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --dock: 68px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

#app {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(230, 217, 225, 0.18), rgba(255, 255, 255, 0) 260px),
    var(--bg);
}

#pages {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.page {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 0 calc(var(--dock) + var(--safe-bottom) + 24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.page.active {
  opacity: 1;
  pointer-events: auto;
}

.page::-webkit-scrollbar,
.assistant-shell::-webkit-scrollbar,
#chat-messages::-webkit-scrollbar,
.booking-shell::-webkit-scrollbar,
.history-tabs::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.page-head {
  padding: 22px 20px 14px;
}

.page-head h2,
.catalog-head,
.service-group h2,
.step-title {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

.page-head h2 {
  font-size: 30px;
  line-height: 1;
}

.catalog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 10px;
  font-size: 24px;
  line-height: 1;
}

.loading {
  display: flex;
  justify-content: center;
  padding: 36px 0;
}

.spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.empty-state,
.state-card {
  margin: 0 20px 12px;
  padding: 22px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  text-align: center;
  color: var(--text-sec);
}

.empty-state.compact {
  padding: 16px;
}

.empty-state p,
.state-card p {
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 12px;
}

.empty-state p:last-child,
.state-card p:last-child {
  margin-bottom: 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(58vh, 520px);
  padding: 26px 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 18%, rgba(230, 217, 225, 0.28), transparent 30%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.8));
  pointer-events: none;
}

#hero-wave {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-mark,
.hero-copy,
.hero-btn {
  position: relative;
  z-index: 1;
}

.hero-mark {
  display: flex;
}

.hero-logo {
  width: min(188px, 54vw);
  height: auto;
  display: block;
}

.hero-copy {
  max-width: 310px;
}

.hero-copy h1 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 44px;
  line-height: 0.9;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-copy p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.35;
}

.hero-btn {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font-weight: 800;
  cursor: pointer;
}

.hero-btn svg {
  width: 17px;
  height: 17px;
}

/* Catalog */
.services-grid {
  display: grid;
  gap: 22px;
  padding: 0 16px 18px;
}

.service-group {
  display: grid;
  gap: 10px;
}

.service-group h2 {
  padding: 0 4px;
  font-size: 18px;
  line-height: 1.1;
}

.service-list {
  display: grid;
  gap: 10px;
}

.service-card {
  width: 100%;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  min-height: 132px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.service-card:active {
  transform: scale(0.99);
}

.service-card-media {
  min-width: 0;
  background: var(--surface-accent);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  min-height: 132px;
  display: block;
  object-fit: cover;
}

.service-card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 13px 13px 12px;
}

.service-card-title {
  display: block;
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 18px;
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: 0;
}

.service-card-desc {
  display: block;
  margin-top: 7px;
  color: var(--text-sec);
  font-size: 13px;
  line-height: 1.28;
}

.service-card-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.2;
}

.service-card-foot span:first-child {
  color: #000;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

/* Buttons and Fields */
.btn-primary,
.btn-secondary,
.btn-danger {
  min-height: 46px;
  border-radius: 999px;
  padding: 0 18px;
  border: 0;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.btn-primary {
  width: 100%;
  background: var(--accent);
  color: #000;
}

.btn-primary:disabled,
.btn-secondary:disabled,
.btn-danger:disabled {
  opacity: 0.35;
  cursor: default;
}

.btn-secondary {
  background: var(--surface-accent);
  color: #000;
}

.btn-secondary.compact,
.btn-danger.inline {
  width: auto;
  min-height: 38px;
  padding: 0 14px;
  font-size: 13px;
}

.btn-danger {
  background: rgba(180, 35, 24, 0.1);
  color: var(--danger);
}

.btn-danger.filled {
  background: var(--danger);
  color: #fff;
}

.btn-danger.inline {
  margin-top: 12px;
}

.text-btn {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  cursor: pointer;
}

.icon-btn.ghost {
  background: var(--surface-soft);
  color: #000;
  font-size: 24px;
  line-height: 1;
}

.form-stack {
  display: grid;
  gap: 12px;
}

.field-block {
  display: grid;
  gap: 7px;
}

.field-label {
  color: var(--text-sec);
  font-size: 12px;
  font-weight: 800;
}

.form-input {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font-size: 16px;
  outline: none;
  resize: none;
}

.form-input:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 4px rgba(230, 217, 225, 0.52);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* Assistant */
.assistant-page {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  --assistant-composer-height: 72px;
}

.assistant-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.assistant-shell {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 0 16px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
}

#chat-messages {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  padding: 14px 14px calc(var(--assistant-composer-height) + 14px);
}

.chat-bubble {
  max-width: 84%;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.42;
  word-break: break-word;
}

.chat-bubble.model {
  align-self: flex-start;
  background: var(--surface-soft);
  border-bottom-left-radius: 4px;
}

.chat-bubble.user {
  align-self: flex-end;
  background: var(--accent);
  color: #000;
  border-bottom-right-radius: 4px;
}

.chat-message-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.chat-typing {
  padding: 6px 4px;
  color: var(--text-muted);
  font-size: 13px;
}

.chat-service-card {
  width: min(292px, calc(100vw - 76px));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.chat-service-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.chat-service-body {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.chat-service-name {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 850;
}

.chat-service-price {
  color: var(--text-sec);
  font-size: 13px;
  font-weight: 700;
}

.assistant-composer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px calc(10px + var(--safe-bottom));
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.assistant-composer input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--text);
  font-size: 16px;
  outline: none;
}

.chat-send {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

body.assistant-input-mode #dock {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
}

/* History */
.history-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 20px 12px;
}

.chip {
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-sec);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.chip.active {
  background: var(--surface-accent);
  border-color: var(--accent-strong);
  color: #000;
}

.history-list {
  display: grid;
  gap: 10px;
  padding: 0 16px;
}

.booking-card,
.profile-card,
.contacts-card,
.summary-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
}

.booking-card {
  padding: 12px;
  cursor: pointer;
}

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

.booking-card-main img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--surface-accent);
}

.booking-service {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.1;
}

.booking-meta {
  margin-top: 5px;
  color: var(--text-sec);
  font-size: 12px;
  line-height: 1.3;
}

.booking-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.booking-status.pending { background: rgba(161, 92, 0, 0.1); color: var(--warning); }
.booking-status.confirmed { background: rgba(20, 122, 63, 0.1); color: var(--success); }
.booking-status.in_progress { background: var(--surface-accent); color: #000; }
.booking-status.completed { background: rgba(0, 0, 0, 0.05); color: var(--text-sec); }
.booking-status.cancelled { background: rgba(180, 35, 24, 0.1); color: var(--danger); }

.booking-detail {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 0;
  color: var(--text-sec);
  font-size: 13px;
}

.detail-row strong {
  color: var(--text);
  text-align: right;
}

.detail-row.stack {
  display: grid;
}

.detail-row.stack strong {
  text-align: left;
}

/* Profile and Contacts */
.profile-card,
.contacts-card {
  margin: 0 16px 12px;
  padding: 16px;
}

.profile-top {
  margin-bottom: 18px;
}

.profile-title,
.contact-card-title {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 900;
}

.profile-subtitle {
  margin-top: 5px;
  color: var(--text-sec);
  font-size: 13px;
}

.contacts-card.primary {
  display: grid;
  gap: 9px;
}

.contacts-card p {
  color: var(--text-sec);
  font-size: 14px;
  line-height: 1.45;
}

.contacts-actions {
  display: grid;
  gap: 10px;
  padding: 0 16px;
}

.contact-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 70px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
}

.contact-action strong,
.contact-action small {
  display: block;
}

.contact-action strong {
  font-size: 15px;
  font-weight: 850;
}

.contact-action small {
  margin-top: 4px;
  color: var(--text-sec);
  font-size: 13px;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.contact-action svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

/* Dock */
#dock {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(8px + var(--safe-bottom));
  z-index: 100;
  height: var(--dock);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.dock-inner {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  padding: 6px;
}

.dock-item {
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.dock-item svg {
  width: 20px;
  height: 20px;
}

.dock-item.active {
  background: var(--surface-accent);
  color: #000;
}

/* Booking */
#booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  --booking-viewport-height: 100dvh;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

#booking-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.booking-shell {
  height: var(--booking-viewport-height);
  min-height: var(--booking-viewport-height);
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    linear-gradient(180deg, rgba(230, 217, 225, 0.22), rgba(255, 255, 255, 0) 220px),
    var(--bg);
}

.booking-step-shell {
  min-height: var(--booking-viewport-height);
  display: flex;
  flex-direction: column;
}

.booking-topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 10px 20px 8px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.booking-topbar-btn {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.booking-step {
  flex: 1;
  padding: 0 20px calc(24px + var(--safe-bottom));
}

.booking-step-animated {
  animation: stepIn 0.16s ease;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}

.step-title {
  margin: 18px 0 8px;
  font-size: 30px;
  line-height: 1;
}

.step-subtitle {
  margin: 0 0 16px;
  color: var(--text-sec);
  font-size: 14px;
  line-height: 1.35;
}

.booking-info {
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.booking-image-frame {
  background: var(--surface-accent);
}

.booking-hero-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.booking-info-body {
  display: grid;
  gap: 10px;
  padding: 17px;
}

.booking-type {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface-accent);
  font-size: 11px;
  font-weight: 850;
  color: #000;
}

.booking-info h2 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 28px;
  line-height: 0.98;
  font-weight: 900;
}

.booking-info p {
  color: var(--text-sec);
  font-size: 14px;
  line-height: 1.45;
}

.booking-price {
  font-size: 18px;
  font-weight: 900;
}

.calendar,
.summary-card,
.terms-box,
.time-info {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
}

.calendar {
  padding: 14px;
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cal-header strong {
  text-transform: capitalize;
  font-size: 15px;
}

.cal-weekdays,
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  text-align: center;
}

.cal-weekdays {
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 850;
}

.cal-days {
  gap: 3px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cal-day.today {
  box-shadow: inset 0 0 0 1px var(--accent-strong);
}

.cal-day.selected {
  background: var(--accent);
  color: #000;
}

.cal-day.disabled {
  color: var(--text-muted);
  opacity: 0.35;
  cursor: default;
}

.cal-day.empty {
  pointer-events: none;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.slot {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.slot.start,
.slot.end {
  background: var(--accent);
  border-color: var(--accent-strong);
  color: #000;
}

.slot.in-range {
  background: var(--surface-accent);
  border-color: var(--accent-strong);
}

.slot.taken,
.slot.past,
.slot.range-blocked,
.slot:disabled {
  opacity: 0.34;
  cursor: default;
}

.time-info {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px 14px;
  font-size: 14px;
}

.time-info strong {
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.time-info.muted {
  color: var(--text-sec);
}

.summary-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.summary-row,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.summary-row {
  color: var(--text-sec);
  font-size: 14px;
}

.summary-row strong {
  color: var(--text);
  text-align: right;
}

.summary-total {
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 18px;
  font-weight: 900;
}

.terms-box {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  padding: 14px;
  color: var(--text-sec);
  font-size: 13px;
  line-height: 1.45;
}

.terms-box input {
  margin-top: 2px;
  accent-color: var(--accent-strong);
}

.request-card {
  margin-top: 8px;
}

.request-input {
  min-height: 172px;
}

.booking-success {
  min-height: calc(var(--booking-viewport-height) - 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px 0 calc(34px + var(--safe-bottom));
}

.success-mark {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-accent);
  color: #000;
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 14px;
}

.booking-success h2 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 32px;
  line-height: 1;
  font-weight: 900;
}

.booking-success p {
  max-width: 300px;
  margin: 10px auto 18px;
  color: var(--text-sec);
  font-size: 14px;
  line-height: 1.45;
}

/* Dialog and Toast */
#dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.46);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

#dialog-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.confirm-card {
  width: min(340px, 100%);
  padding: 22px 18px 18px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.confirm-card h2 {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 900;
}

.confirm-card p {
  margin-top: 10px;
  color: var(--text-sec);
  font-size: 14px;
  line-height: 1.45;
}

.dialog-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.dialog-actions > * {
  flex: 1;
}

#toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--dock) + var(--safe-bottom) + 22px);
  z-index: 400;
  max-width: calc(100vw - 32px);
  transform: translateX(-50%) translateY(16px);
  padding: 10px 16px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

#toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

body.booking-open #toast {
  bottom: calc(var(--safe-bottom) + 22px);
}

@media (min-width: 760px) {
  #app {
    width: min(520px, 100vw);
  }

  #app {
    margin: 0 auto;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
  }

  #booking-overlay {
    left: 50%;
    right: auto;
    width: min(520px, 100vw);
    transform: translateX(-50%) translateY(100%);
  }

  #booking-overlay.active {
    transform: translateX(-50%) translateY(0);
  }

  #dock {
    left: 50%;
    right: auto;
    width: min(500px, calc(100vw - 20px));
    transform: translateX(-50%);
  }

  body.assistant-input-mode #dock {
    transform: translateX(-50%) translateY(100%);
  }

  .hero {
    min-height: 470px;
  }
}
