.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-copy span {
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.2;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.conn-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-muted);
  padding: 5px 10px;
  border-radius: var(--radius-full);
  background: var(--surface-subtle);
}

.conn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-muted);
}

.conn-dot.online {
  background: var(--ok);
}

.conn-dot.warn {
  background: var(--warn);
}

.page-head {
  padding-top: 26px;
  padding-bottom: 18px;
}

.page-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.page-title {
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.page-subtitle {
  margin-top: 4px;
  color: var(--ink-secondary);
  font-size: 14px;
}

.stepper {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  padding: 5px 11px;
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  background: var(--surface);
}

.step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface-subtle);
  color: var(--ink-secondary);
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step.active {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.step.active .step-num {
  background: var(--accent);
  color: var(--accent-ink);
}

.step.done {
  color: var(--ok);
  border-color: var(--line);
}

.step.done .step-num {
  background: var(--ok);
  color: #ffffff;
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 20px;
  align-items: start;
  padding-bottom: 56px;
  flex: 1;
}

.booking-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.summary-card {
  position: sticky;
  top: 82px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  color: var(--ink-muted);
  font-size: 12.5px;
  text-align: center;
}

@media (max-width: 880px) {
  .booking-grid {
    grid-template-columns: 1fr;
    padding-bottom: 92px;
  }

  .summary-card {
    position: static;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 14px;
  }

  .conn-label {
    display: none;
  }

  .stepper {
    width: 100%;
    justify-content: space-between;
  }

  .step {
    flex: 1;
    justify-content: center;
    padding: 5px 6px;
    font-size: 12px;
  }
}
