:root {
  --bg: #181A20;
  --bg-soft: #20232B;
  --bg-card: #22252D;
  --bg-card-2: #1D2027;
  --text: #FFFFFF;
  --text-sec: rgba(255,255,255,.68);
  --text-muted: rgba(255,255,255,.42);
  --border: rgba(255,255,255,.10);
  --accent: #E8662A;
  --accent-soft: rgba(232,102,42,.16);
  --success: #70D28C;
  --danger: #FF6B67;
  --warning: #FFB45E;
  --radius: 14px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --dock: 70px;
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0F1116;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

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

#ambient-waves,
#noise-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#ambient-waves {
  z-index: 0;
  opacity: .9;
}

#noise-overlay {
  z-index: 1;
  opacity: .18;
  background-repeat: repeat;
  background-size: 120px;
  mix-blend-mode: soft-light;
}

#app {
  position: relative;
  z-index: 2;
  width: min(100%, 540px);
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  background:
    radial-gradient(circle at 50% 0%, rgba(232,102,42,.12), transparent 34%),
    var(--bg);
  overflow: hidden;
}

#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 .18s ease;
  scrollbar-width: none;
}

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

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

.page-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 24px;
  line-height: 1.1;
  padding: 22px 20px 16px;
  letter-spacing: 0;
}

.section-label {
  margin: 0 20px 12px;
  font-family: 'Unbounded', sans-serif;
  font-size: 13px;
  line-height: 1.2;
  color: var(--text);
}

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

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

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

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

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

/* Hero */
.hero {
  position: relative;
  min-height: 52dvh;
  margin: 0 0 22px;
  padding: max(28px, env(safe-area-inset-top)) 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #111319;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24,26,32,.16), rgba(24,26,32,.86) 74%, #181A20),
    linear-gradient(90deg, rgba(24,26,32,.86), rgba(24,26,32,.18) 42%, rgba(24,26,32,.82));
  z-index: 1;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url('img/subbox-hero.jpeg');
  background-size: cover;
  background-position: 34% center;
  opacity: .72;
  filter: saturate(1.05) contrast(1.08);
}

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

.hero-logo,
.hero-copy,
.hero-btn-wrap {
  position: relative;
  z-index: 3;
}

.hero-logo {
  width: min(360px, 88%);
  height: auto;
  margin-bottom: 18px;
}

.hero-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255,255,255,.76);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-copy span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
}

.hero-btn-wrap {
  margin-top: 18px;
}

.hero-btn {
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(232,102,42,.68);
  border-radius: 999px;
  background: var(--accent);
  color: #FFFFFF;
  font-family: 'Unbounded', sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 28px rgba(232,102,42,.2);
}

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

/* Catalog */
.services-grid {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}

.service-row {
  width: 100%;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 17px 0 18px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.service-row:active {
  opacity: .72;
}

.service-row:disabled {
  opacity: .38;
  cursor: default;
}

.service-row-mark {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.service-row-mark svg {
  width: 21px;
  height: 21px;
}

.service-row-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-row-copy strong {
  font-family: 'Unbounded', sans-serif;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.service-row-copy small {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.35;
}

.service-row-price {
  max-width: 116px;
  color: rgba(255,255,255,.9);
  font-family: 'Unbounded', sans-serif;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 700;
  text-align: right;
  white-space: normal;
}

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

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

.btn-primary.compact,
.btn-secondary.compact {
  width: auto;
  min-height: 42px;
  padding: 0 16px;
}

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

.btn-danger {
  width: auto;
  min-height: 38px;
  padding: 0 14px;
  background: rgba(255,107,103,.12);
  color: var(--danger);
}

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

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

.field-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

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

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

.form-input:focus {
  border-color: rgba(232,102,42,.72);
  box-shadow: 0 0 0 3px rgba(232,102,42,.14);
}

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

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

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

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

.assistant-shell {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 0 16px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  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: 9px;
  overscroll-behavior: contain;
}

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

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

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

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

.chat-typing {
  align-self: flex-start;
  color: var(--text-muted);
  font-size: 12px;
  padding: 3px 2px;
}

.chat-service-card {
  width: min(290px, calc(100vw - 84px));
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
}

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

.chat-service-body {
  padding: 12px;
}

.chat-service-name {
  font-family: 'Unbounded', sans-serif;
  font-size: 14px;
  line-height: 1.2;
  margin-bottom: 6px;
}

.chat-service-price {
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 10px;
}

.chat-service-btn {
  min-height: 36px;
}

.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(24,26,32,.96);
}

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

.assistant-composer input:focus {
  border-color: rgba(232,102,42,.72);
}

.chat-send {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

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

/* History / Profile / Contacts */
.booking-card,
.profile-card,
.contacts-card,
.summary-card {
  margin: 0 20px 10px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
}

.booking-card {
  cursor: pointer;
}

.booking-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.booking-id {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.booking-status {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.booking-status.pending { background: rgba(255,180,94,.13); color: var(--warning); }
.booking-status.confirmed { background: rgba(112,210,140,.13); color: var(--success); }
.booking-status.in_progress { background: var(--accent-soft); color: var(--accent); }
.booking-status.completed { background: rgba(255,255,255,.08); color: var(--text-sec); }
.booking-status.cancelled { background: rgba(255,107,103,.12); color: var(--danger); }

.booking-service {
  font-family: 'Unbounded', sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.booking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 10px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
  margin-top: 7px;
}

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

.booking-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
  margin-bottom: 8px;
}

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

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

.profile-name,
.contact-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 18px;
  line-height: 1.2;
}

.profile-username,
.contacts-card p {
  color: var(--text-sec);
  font-size: 13px;
  line-height: 1.5;
  margin-top: 6px;
}

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

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

.contact-section-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 13px;
  margin-bottom: 12px;
}

.contact-action-grid,
.social-grid {
  display: grid;
  gap: 8px;
}

.contact-action {
  width: 100%;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.contact-action span {
  display: block;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact-action strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.social-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.social-link {
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

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

.dock-inner {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: calc(8px + var(--safe-bottom));
  min-height: 62px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  background: rgba(24,26,32,.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  pointer-events: auto;
}

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

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

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

/* Booking overlay */
#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 .24s ease, opacity .24s ease;
}

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

.booking-shell {
  width: min(100%, 540px);
  height: var(--booking-viewport-height);
  min-height: var(--booking-viewport-height);
  margin: 0 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(circle at 50% 0, rgba(232,102,42,.14), transparent 34%),
    var(--bg);
}

.booking-step-shell {
  min-height: var(--booking-viewport-height);
}

.booking-topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 20px 8px;
  background: rgba(24,26,32,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

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

.booking-step {
  padding: 12px 0 calc(26px + var(--safe-bottom));
}

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

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

.step-title {
  margin: 8px 20px 8px;
  font-family: 'Unbounded', sans-serif;
  font-size: 24px;
  line-height: 1.1;
}

.step-subtitle {
  margin: 0 20px 14px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
}

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

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

.booking-info-title {
  padding: 16px 16px 0;
  font-family: 'Unbounded', sans-serif;
  font-size: 20px;
  line-height: 1.12;
}

.booking-info-text {
  padding: 10px 16px 0;
  color: var(--text-sec);
  font-size: 13px;
  line-height: 1.5;
}

.booking-info-price {
  padding: 12px 16px 16px;
  color: var(--accent);
  font-family: 'Unbounded', sans-serif;
  font-size: 14px;
  line-height: 1.2;
}

.booking-step > .btn-primary,
.booking-step > .btn-secondary {
  width: calc(100% - 40px);
  margin: 2px 20px 0;
}

.calendar {
  margin: 0 20px 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
}

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

.cal-month {
  font-size: 14px;
  font-weight: 800;
  text-transform: capitalize;
}

.cal-nav {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255,255,255,.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 {
  margin-bottom: 5px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.cal-days {
  gap: 3px;
}

.cal-day {
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.cal-day.today {
  outline: 1px solid rgba(232,102,42,.58);
}

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

.cal-day.disabled {
  opacity: .26;
  cursor: default;
}

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

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

.slot {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.045);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

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

.slot.in-range {
  background: var(--accent-soft);
  border-color: rgba(232,102,42,.28);
}

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

.time-info {
  min-height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 20px 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
  font-size: 13px;
}

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

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

.contact-card,
.booking-request-card {
  display: grid;
  gap: 13px;
}

.booking-request-input {
  min-height: 144px;
}

.summary-row,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  line-height: 1.45;
}

.summary-row + .summary-row {
  margin-top: 8px;
}

.summary-row span,
.summary-total span {
  color: var(--text-muted);
}

.summary-row strong,
.summary-total strong {
  text-align: right;
}

.summary-total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-family: 'Unbounded', sans-serif;
  font-size: 16px;
}

.summary-total strong {
  color: var(--accent);
}

.terms-box {
  margin: 0 20px 12px;
  padding: 14px;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
  color: var(--text-sec);
  font-size: 12px;
  line-height: 1.5;
}

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

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

.confirm-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-success h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: 23px;
  line-height: 1.15;
  margin-bottom: 9px;
}

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

/* Dialog / 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,.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

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

.confirm-card {
  width: min(360px, 100%);
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  text-align: center;
}

.confirm-card h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 9px;
}

.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;
  transform: translateX(-50%) translateY(16px);
  max-width: calc(100% - 32px);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transition: all .18s ease;
}

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

@media (max-width: 380px) {
  .service-row {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .service-row-price {
    grid-column: 2;
    max-width: none;
    text-align: left;
    color: var(--accent);
  }

  .dock-item span {
    display: none;
  }

  .dock-inner {
    min-height: 56px;
  }
}

@media (min-width: 700px) {
  #app {
    box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 20px 80px rgba(0,0,0,.38);
  }
}
