:root {
  --bg: #000000;
  --panel: #101010;
  --panel-2: #171717;
  --text: #ffffff;
  --text-sec: rgba(255, 255, 255, 0.68);
  --text-muted: rgba(255, 255, 255, 0.42);
  --border: rgba(255, 255, 255, 0.1);
  --accent: #8e44ab;
  --accent-soft: rgba(142, 68, 171, 0.18);
  --success: #4cd27d;
  --danger: #ff5d5d;
  --warning: #ffc857;
  --radius: 8px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --dock: 64px;
}

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

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

body {
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at 50% -10%, rgba(142, 68, 171, 0.22), transparent 34rem),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

#app {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.96);
}

#pages {
  position: relative;
  height: 100%;
  overflow: hidden;
}

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

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

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

.page-title {
  font-family: 'Russo One', Inter, sans-serif;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
  padding: 24px 18px 14px;
  color: var(--text);
}

.section-label {
  font-family: 'Russo One', Inter, sans-serif;
  font-size: 13px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 2px 10px;
}

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

.spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}

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

.empty-state,
.state-card {
  margin: 0 16px;
  padding: 28px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  text-align: center;
  color: var(--text-sec);
}

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

/* Hero */
.hero {
  position: relative;
  min-height: 292px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), #000 94%),
    #000;
  border-bottom: 1px solid var(--border);
}

.hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 292px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding: 24px 18px 22px;
}

.hero-logo {
  display: block;
  width: min(100%, 390px);
  height: auto;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(142, 68, 171, 0.35);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(142, 68, 171, 0.12);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-btn {
  width: fit-content;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: 'Russo One', Inter, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
}

.catalog-anchor {
  height: 18px;
}

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

.service-section {
  display: grid;
  gap: 0;
}

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

.service-card {
  width: 100%;
  min-height: 112px;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  cursor: pointer;
  color: inherit;
}

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

.service-card-img {
  width: 110px;
  height: 100%;
  min-height: 112px;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.04);
}

.service-card.image-missing {
  grid-template-columns: 1fr;
}

.service-card-body {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: space-between;
  gap: 12px;
  padding: 12px;
}

.service-card h3 {
  font-family: 'Russo One', Inter, sans-serif;
  font-size: 15px;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--text);
}

.service-card p {
  margin-top: 5px;
  color: var(--text-sec);
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card-side {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.service-price {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.service-type {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

/* Buttons and fields */
.btn-primary,
.btn-secondary,
.btn-danger {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  border: 0;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  font-family: 'Russo One', Inter, sans-serif;
  text-transform: uppercase;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-danger {
  background: rgba(255, 93, 93, 0.12);
  color: var(--danger);
}

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

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

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

.form-label {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-input:focus {
  border-color: rgba(142, 68, 171, 0.72);
  box-shadow: 0 0 0 3px rgba(142, 68, 171, 0.14);
}

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

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

.assistant-page .page-title {
  padding: 0;
}

.assistant-dismiss-btn {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-weight: 900;
  cursor: pointer;
}

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

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

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

.chat-bubble.model {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.07);
  border-bottom-left-radius: 4px;
}

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

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

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

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

.assistant-composer input {
  flex: 1;
  min-width: 0;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  outline: 0;
  font-size: 16px;
}

.chat-send {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

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

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

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

.chat-service-body strong {
  font-family: 'Russo One', Inter, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
}

.chat-service-body span {
  color: var(--text-sec);
  font-size: 12px;
  font-weight: 800;
}

.chat-service-btn {
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
}

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

body.assistant-input-mode .assistant-page {
  padding-bottom: 0;
}

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

.history-chip {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text-sec);
  font-weight: 900;
  font-size: 12px;
  white-space: nowrap;
}

.history-chip.active {
  border-color: rgba(142, 68, 171, 0.5);
  background: var(--accent-soft);
  color: var(--text);
}

.booking-card,
.profile-card,
.contacts-panel,
.contact-actions {
  margin: 0 14px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
}

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

.booking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 900;
}

.booking-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 9px;
  text-transform: uppercase;
}

.booking-status.pending { background: rgba(255, 200, 87, 0.12); color: var(--warning); }
.booking-status.confirmed { background: rgba(76, 210, 125, 0.12); color: var(--success); }
.booking-status.in_progress { background: var(--accent-soft); color: #d9a7ef; }
.booking-status.completed { background: rgba(255, 255, 255, 0.07); color: var(--text-sec); }
.booking-status.cancelled { background: rgba(255, 93, 93, 0.12); color: var(--danger); }

.booking-service {
  font-family: 'Russo One', Inter, sans-serif;
  font-size: 15px;
  text-transform: uppercase;
}

.booking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  color: var(--text-sec);
  font-size: 12px;
}

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

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

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

.detail-row.stack,
.summary-row.stack {
  flex-direction: column;
  gap: 4px;
}

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

.booking-comment {
  margin-top: 8px;
  color: var(--text-sec);
  font-size: 12px;
  line-height: 1.45;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* Profile and Contacts */
.profile-card {
  padding: 16px;
}

.profile-head {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
}

.profile-head span,
.contact-primary span,
.contact-facts span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.profile-head strong {
  font-size: 17px;
}

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

.contacts-panel {
  padding: 16px;
}

.contact-primary {
  display: grid;
  gap: 8px;
}

.contact-primary button {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.35;
  cursor: pointer;
}

.contact-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.contact-facts div {
  display: grid;
  gap: 5px;
  padding: 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.contact-facts strong {
  font-size: 12px;
  line-height: 1.35;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--border);
}

.contact-action {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 12px;
  border: 0;
  background: var(--panel);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.contact-action span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-action strong {
  min-width: 0;
  font-size: 13px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

/* Dock */
#dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 100;
  width: min(100%, 480px);
  height: calc(var(--dock) + var(--safe-bottom) + 12px);
  transform: translateX(-50%);
  pointer-events: none;
}

.dock-inner {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: calc(8px + var(--safe-bottom));
  height: var(--dock);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  padding: 7px 6px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(16, 16, 16, 0.92);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: auto;
}

.dock-item {
  min-width: 0;
  height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.1;
}

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

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

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

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

.booking-shell {
  width: min(100%, 480px);
  height: var(--booking-viewport-height);
  min-height: var(--booking-viewport-height);
  margin: 0 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #000;
}

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

.booking-topbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  justify-content: flex-start;
  padding: 12px 16px 8px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(14px);
}

.booking-topbar-btn {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}

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

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

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

.step-title {
  font-family: 'Russo One', Inter, sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  margin: 8px 0 8px;
}

.step-subtitle {
  color: var(--text-sec);
  font-size: 13px;
  margin-bottom: 12px;
}

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

.booking-info-card {
  overflow: hidden;
  margin-bottom: 12px;
}

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

.booking-info-body {
  padding: 14px;
}

.booking-info-top {
  display: grid;
  gap: 7px;
}

.booking-info-top h2 {
  font-family: 'Russo One', Inter, sans-serif;
  font-size: 21px;
  line-height: 1.12;
  text-transform: uppercase;
}

.booking-info-top strong {
  color: var(--accent);
  font-size: 15px;
}

.booking-info-body p {
  margin-top: 10px;
  color: var(--text-sec);
  font-size: 13px;
  line-height: 1.5;
}

.info-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.info-list span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-sec);
  font-size: 11px;
  font-weight: 800;
}

.info-link {
  margin-top: 12px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(142, 68, 171, 0.5);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-weight: 900;
}

.calendar {
  padding: 14px;
}

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

.cal-header span {
  font-weight: 900;
  text-transform: capitalize;
}

.cal-nav {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
}

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

.cal-weekdays {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 900;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.cal-days {
  gap: 2px;
}

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

.cal-day.today {
  outline: 1px solid rgba(142, 68, 171, 0.7);
}

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

.cal-day.disabled {
  color: rgba(255, 255, 255, 0.22);
  cursor: default;
}

.fixed-slots-list,
.extras-list {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.fixed-slot-btn,
.extra-row,
.slot {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
}

.fixed-slot-btn,
.extra-row {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  text-align: left;
}

.fixed-slot-btn span,
.extra-row span {
  font-weight: 900;
}

.fixed-slot-btn strong,
.extra-row strong {
  color: var(--text-sec);
  white-space: nowrap;
}

.fixed-slot-btn.selected,
.extra-row.active,
.slot.start,
.slot.end {
  border-color: rgba(142, 68, 171, 0.8);
  background: var(--accent);
  color: #fff;
}

.fixed-slot-btn:disabled,
.slot:disabled,
.slot.taken,
.slot.past {
  opacity: 0.32;
  cursor: default;
}

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

.slot {
  min-height: 42px;
  font-size: 12px;
  font-weight: 900;
}

.slot.in-range {
  border-color: rgba(142, 68, 171, 0.4);
  background: var(--accent-soft);
}

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

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

.time-info strong {
  color: var(--text);
  white-space: nowrap;
}

.summary-card {
  padding: 14px;
  margin-bottom: 12px;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 17px;
  font-weight: 900;
}

.button-row {
  display: flex;
  gap: 8px;
}

.button-row > * {
  flex: 1;
}

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

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

.request-card {
  padding: 0;
  overflow: hidden;
}

.booking-request-input {
  min-height: 168px;
  border: 0;
  background: transparent;
  margin: 0;
}

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

.confirm-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 30px;
  font-weight: 900;
}

.booking-success h2 {
  font-family: 'Russo One', Inter, sans-serif;
  font-size: 23px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.booking-success p {
  color: var(--text-sec);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 18px;
}

/* 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.62);
  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: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  text-align: center;
}

.confirm-card h2 {
  font-family: 'Russo One', Inter, sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.confirm-card p {
  color: var(--text-sec);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 14px;
}

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

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

#toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--dock) + var(--safe-bottom) + 18px);
  z-index: 400;
  max-width: min(420px, calc(100% - 32px));
  transform: translateX(-50%) translateY(16px);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transition: all 0.18s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

@media (min-width: 720px) {
  body {
    background:
      radial-gradient(circle at 50% 0, rgba(142, 68, 171, 0.2), transparent 38rem),
      #050505;
  }

  #app {
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
  }
}
