:root {
  --rr-black: #050505;
  --rr-ink: #111111;
  --rr-text: #18181b;
  --rr-muted: #6b6b72;
  --rr-soft: #f6f6f4;
  --rr-card: #ffffff;
  --rr-line: #e8e8e4;
  --rr-line-dark: #d9d9d2;
  --rr-gold: #b99a4b;
  --rr-green: #047857;
  --rr-red: #b91c1c;
  --rr-amber: #b45309;
  --rr-shadow: 0 24px 70px rgba(0, 0, 0, .08);
  --rr-shadow-soft: 0 14px 34px rgba(0, 0, 0, .05);
  --rr-radius: 28px;
}

* { box-sizing: border-box; }

.rr-account-body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 80% -10%, rgba(0, 0, 0, .08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f6f6f4 44%, #f3f3f0 100%);
  color: var(--rr-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.rr-account-body button,
.rr-account-body input,
.rr-account-body textarea,
.rr-account-body select {
  font: inherit;
}

.rr-account-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, .84);
  border-bottom: 1px solid rgba(232, 232, 228, .86);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.rr-account-logo {
  display: inline-flex;
  align-items: center;
  min-width: 132px;
  text-decoration: none;
}

.rr-account-logo img {
  display: block;
  width: auto;
  height: 33px;
  object-fit: contain;
}

.rr-account-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.rr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.rr-btn:hover { transform: translateY(-1px); }
.rr-btn:active { transform: translateY(0); }

.rr-btn-dark {
  background: var(--rr-black);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
}

.rr-btn-dark:hover { background: #202020; }

.rr-btn-light {
  background: #ffffff;
  color: var(--rr-ink);
  border: 1px solid var(--rr-line);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .04);
}

.rr-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 14px;
  line-height: 1;
}

.rr-account-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 3.8vw, 44px);
  display: grid;
  grid-template-columns: minmax(270px, 318px) minmax(0, 1fr);
  gap: clamp(18px, 2.8vw, 34px);
}

.rr-account-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  gap: 14px;
}

.rr-profile-card,
.rr-account-nav,
.rr-panel-head,
.rr-booking-card,
.rr-info-card,
.rr-form-card,
.rr-empty,
.rr-status-tabs {
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(232, 232, 228, .92);
  box-shadow: var(--rr-shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.rr-profile-card {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 22px;
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    radial-gradient(circle at 100% 0, rgba(185,154,75,.42), transparent 34%),
    var(--rr-black);
  color: #ffffff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .20);
}

.rr-profile-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: 31px;
  border: 1px solid rgba(255, 255, 255, .08);
}

.rr-avatar {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: #ffffff;
  color: var(--rr-black);
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
}

.rr-profile-meta {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.rr-profile-meta strong {
  display: block;
  max-width: 210px;
  overflow: hidden;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rr-profile-meta span {
  display: block;
  max-width: 220px;
  margin-top: 4px;
  overflow: hidden;
  color: rgba(255, 255, 255, .64);
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rr-account-nav {
  display: grid;
  gap: 5px;
  padding: 8px;
  border-radius: 30px;
}

.rr-account-nav button {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 22px;
  padding: 0 14px;
  background: transparent;
  color: #515158;
  font-weight: 850;
  letter-spacing: -.02em;
  text-align: left;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.rr-account-nav button:hover {
  background: #f4f4f1;
  color: var(--rr-black);
}

.rr-account-nav button.active {
  background: var(--rr-black);
  color: #ffffff;
  box-shadow: 0 15px 34px rgba(0, 0, 0, .16);
}

.rr-nav-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f4f4f1;
  color: var(--rr-black);
}

.rr-nav-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.rr-account-nav button.active .rr-nav-icon {
  background: #ffffff;
  color: var(--rr-black);
}

.rr-account-content {
  position: relative;
  min-width: 0;
}

.rr-panel { display: none; }
.rr-panel.active { display: block; animation: rrFadeUp .22s ease both; }

@keyframes rrFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.rr-panel-head {
  position: relative;
  overflow: hidden;
  min-height: 164px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: clamp(24px, 3.2vw, 38px);
  border-radius: 36px;
}

.rr-panel-head::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -120px;
  width: 250px;
  height: 250px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0,0,0,.08), transparent 65%);
  pointer-events: none;
}

.rr-hero-panel {
  min-height: 194px;
  background:
    radial-gradient(circle at 90% 0%, rgba(185,154,75,.22), transparent 32%),
    rgba(255, 255, 255, .92);
}

.rr-kicker {
  margin: 0 0 8px;
  color: var(--rr-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.rr-panel h1,
.rr-modal-card h2 {
  margin: 0;
  color: var(--rr-black);
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .94;
}

.rr-panel h3,
.rr-form-card h3,
.rr-info-card h3 {
  margin: 0 0 8px;
  color: var(--rr-black);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.03em;
}

.rr-panel p,
.rr-info-card p,
.rr-modal-card p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--rr-muted);
  font-size: 15px;
  line-height: 1.55;
}

.rr-verify-banner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, .09);
  border-radius: 26px;
  background: rgba(255, 255, 255, .93);
  box-shadow: var(--rr-shadow-soft);
}

.rr-verify-banner[hidden],
.rr-toast[hidden],
.rr-modal[hidden] {
  display: none !important;
}

.rr-verify-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--rr-black);
  color: #ffffff;
  font-weight: 900;
}

.rr-verify-copy strong {
  display: block;
  color: var(--rr-black);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.rr-verify-copy p { margin: 3px 0 0; font-size: 13px; }

.rr-toast {
  position: fixed;
  top: 92px;
  right: clamp(16px, 4vw, 42px);
  z-index: 1200;
  max-width: min(390px, calc(100vw - 32px));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  color: var(--rr-black);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .14);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  font-size: 14px;
  font-weight: 800;
  animation: rrToastIn .22s ease both;
}

.rr-toast::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--rr-black);
}

.rr-toast.success::before { background: var(--rr-green); }
.rr-toast.error::before { background: var(--rr-red); }

@keyframes rrToastIn {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.rr-status-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px;
  border-radius: 999px;
}

.rr-status-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 15px;
  background: transparent;
  color: #57575e;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}

.rr-status-tabs button.active {
  background: var(--rr-black);
  color: #ffffff;
}

.rr-list { display: grid; gap: 14px; }

.rr-booking-card,
.rr-info-card,
.rr-form-card,
.rr-empty {
  border-radius: 30px;
  padding: clamp(18px, 2.4vw, 24px);
}

.rr-booking-card,
.rr-info-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.rr-booking-card:hover,
.rr-info-card:hover {
  transform: translateY(-2px);
  border-color: var(--rr-line-dark);
  box-shadow: var(--rr-shadow);
}

.rr-booking-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.rr-booking-ref {
  color: var(--rr-black);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.03em;
}

.rr-route {
  display: grid;
  gap: 9px;
  margin: 18px 0;
}

.rr-route div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.rr-route strong {
  color: #232326;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;
}

.rr-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-top: 5px;
  border: 2px solid var(--rr-black);
  border-radius: 999px;
  background: #ffffff;
}

.rr-dot.gold {
  border-color: var(--rr-gold);
  background: var(--rr-gold);
}

.rr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rr-info-card {
  min-height: 178px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rr-info-card .rr-meta { margin-top: auto; padding-top: 12px; }

.rr-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 0 10px;
  background: #f2f2ef;
  color: #3f3f46;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.rr-badge.green { background: #ecfdf5; color: var(--rr-green); }
.rr-badge.amber { background: #fffbeb; color: var(--rr-amber); }
.rr-badge.red { background: #fef2f2; color: var(--rr-red); }

.rr-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #5f5f66;
  font-size: 13px;
  font-weight: 650;
}

.rr-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  background: #f5f5f2;
}

.rr-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.rr-mini {
  min-height: 38px;
  border: 1px solid var(--rr-line);
  border-radius: 999px;
  padding: 0 12px;
  background: #ffffff;
  color: var(--rr-black);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.rr-mini:hover {
  background: var(--rr-black);
  border-color: var(--rr-black);
  color: #ffffff;
}

.rr-mini.rr-danger {
  border-color: #f3c8c8;
  color: var(--rr-red);
}

.rr-mini.rr-danger:hover {
  background: var(--rr-red);
  border-color: var(--rr-red);
  color: #ffffff;
}

.rr-form-card {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.rr-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rr-form-card label,
.rr-modal-card label {
  display: grid;
  gap: 8px;
  color: #66666d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.rr-form-card input,
.rr-modal-card input,
.rr-modal-card textarea,
.rr-modal-card select,
.rr-stripe-box {
  width: 100%;
  border: 1px solid var(--rr-line);
  border-radius: 18px;
  background: #fbfbf9;
  color: var(--rr-black);
  outline: none;
  padding: 15px 16px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.rr-form-card input:focus,
.rr-modal-card input:focus,
.rr-modal-card textarea:focus,
.rr-modal-card select:focus,
.rr-stripe-box:focus-within {
  border-color: var(--rr-black);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, .06);
}

.rr-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, .52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.rr-modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 34px;
  background: #ffffff;
  padding: clamp(24px, 4vw, 34px);
  box-shadow: 0 34px 100px rgba(0, 0, 0, .36);
}

.rr-modal-card form {
  display: grid;
  gap: 15px;
}

.rr-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #f3f3f0;
  color: var(--rr-black);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.rr-check {
  display: flex !important;
  align-items: center;
  grid-template-columns: auto 1fr;
  gap: 10px !important;
  color: #333 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.rr-check input {
  width: 18px;
  height: 18px;
  padding: 0;
  accent-color: var(--rr-black);
}

.rr-muted { color: var(--rr-muted); }

.rr-error {
  min-height: 18px;
  color: var(--rr-red);
  font-size: 13px;
  font-weight: 800;
}

.rr-empty {
  min-height: 130px;
  display: grid;
  place-items: center;
  border-style: dashed;
  color: var(--rr-muted);
  font-weight: 750;
  text-align: center;
}

@media (max-width: 1050px) {
  .rr-account-shell {
    grid-template-columns: 1fr;
  }

  .rr-account-sidebar {
    position: static;
    gap: 12px;
  }

  .rr-profile-card {
    min-height: 118px;
  }

  .rr-account-nav {
    display: flex;
    overflow-x: auto;
    border-radius: 26px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .rr-account-nav::-webkit-scrollbar { display: none; }

  .rr-account-nav button {
    width: auto;
    flex: 0 0 auto;
    min-width: max-content;
    padding-right: 16px;
  }
}

@media (max-width: 760px) {
  .rr-account-body {
    background: #f6f6f4;
  }

  .rr-account-topbar {
    height: 68px;
    justify-content: center;
    padding: 0 14px;
  }

  .rr-account-logo {
    position: absolute;
    left: 50%;
    justify-content: center;
    min-width: 0;
    transform: translateX(-50%);
  }

  .rr-account-logo img { height: 29px; }

  .rr-account-top-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .rr-book-cta { display: none; }

  .rr-account-top-actions .rr-btn-dark {
    min-width: 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 0;
  }

  .rr-account-top-actions .rr-btn-dark .rr-btn-icon {
    margin: 0;
    font-size: 18px;
  }

  .rr-account-shell {
    padding: 14px;
    gap: 14px;
  }

  .rr-profile-card {
    min-height: 108px;
    border-radius: 28px;
    padding: 18px;
  }

  .rr-avatar {
    width: 52px;
    height: 52px;
    border-radius: 20px;
  }

  .rr-account-nav {
    margin-left: -2px;
    margin-right: -2px;
    padding: 6px;
  }

  .rr-account-nav button {
    min-height: 48px;
    border-radius: 18px;
    font-size: 13px;
  }

  .rr-nav-icon {
    width: 31px;
    height: 31px;
    border-radius: 13px;
  }

  .rr-panel-head {
    min-height: 0;
    flex-direction: column;
    border-radius: 30px;
    padding: 24px;
  }

  .rr-panel h1,
  .rr-modal-card h2 {
    font-size: 36px;
  }

  .rr-panel p,
  .rr-info-card p,
  .rr-modal-card p {
    font-size: 14px;
  }

  .rr-verify-banner {
    grid-template-columns: auto minmax(0, 1fr);
    border-radius: 24px;
  }

  .rr-verify-banner .rr-btn {
    grid-column: 1 / -1;
    width: 100%;
  }

  .rr-status-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    border-radius: 24px;
    scrollbar-width: none;
  }

  .rr-status-tabs::-webkit-scrollbar { display: none; }

  .rr-status-tabs button {
    flex: 0 0 auto;
  }

  .rr-grid,
  .rr-two {
    grid-template-columns: 1fr;
  }

  .rr-booking-top {
    align-items: flex-start;
  }

  .rr-booking-card,
  .rr-info-card,
  .rr-form-card,
  .rr-empty {
    border-radius: 26px;
  }

  .rr-toast {
    top: 78px;
    right: 12px;
    left: 12px;
    max-width: none;
    border-radius: 20px;
  }

  .rr-modal {
    align-items: end;
    padding: 10px;
  }

  .rr-modal-card {
    width: 100%;
    max-height: 88vh;
    border-radius: 30px;
  }
}

@media (max-width: 430px) {
  .rr-profile-meta strong { max-width: 230px; }
  .rr-profile-meta span { max-width: 240px; }
  .rr-panel-head { padding: 22px; }
  .rr-card-actions { width: 100%; }
  .rr-mini { flex: 1 1 auto; }
}

/* Mobile off-canvas account menu */
.rr-menu-toggle,
.rr-menu-close,
.rr-mobile-menu-head,
.rr-sidebar-backdrop {
  display: none;
}

.rr-menu-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0,0,0,.06);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.rr-menu-toggle span {
  width: 17px;
  height: 2px;
  border-radius: 99px;
  background: var(--rr-black);
}

.rr-menu-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #f3f3f0;
  color: var(--rr-black);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.rr-booking-modal-card {
  width: min(860px, 100%);
}

.rr-booking-detail-root {
  display: grid;
  gap: 18px;
}

.rr-booking-detail-head h2 {
  margin: 0;
  color: var(--rr-black);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  letter-spacing: -.055em;
}

.rr-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rr-detail-grid.mini {
  margin-top: 12px;
}

.rr-detail-item {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 15px;
  border: 1px solid var(--rr-line);
  border-radius: 20px;
  background: #fbfbf9;
}

.rr-detail-item span {
  color: var(--rr-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.rr-detail-item strong {
  min-width: 0;
  color: var(--rr-black);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.rr-detail-card {
  padding: 18px;
  border: 1px solid var(--rr-line);
  border-radius: 26px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--rr-shadow-soft);
}

.rr-detail-card h3 {
  margin: 0;
  color: var(--rr-black);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.03em;
}

.rr-message-thread {
  max-height: 310px;
  overflow: auto;
  display: grid;
  gap: 10px;
  margin: 16px 0;
  padding: 12px;
  border-radius: 22px;
  background: #f6f6f4;
}

.rr-message {
  max-width: 82%;
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid var(--rr-line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0,0,0,.04);
}

.rr-message.customer {
  justify-self: end;
  background: var(--rr-black);
  color: #ffffff;
  border-color: var(--rr-black);
}

.rr-message.admin {
  justify-self: start;
}

.rr-message div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
}

.rr-message strong {
  font-size: 13px;
  font-weight: 900;
}

.rr-message span {
  color: var(--rr-muted);
  font-size: 11px;
  font-weight: 800;
}

.rr-message.customer span {
  color: rgba(255,255,255,.62);
}

.rr-message p {
  margin: 0;
  color: inherit;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.rr-message-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.rr-message-form textarea {
  width: 100%;
  min-height: 86px;
  border: 1px solid var(--rr-line);
  border-radius: 20px;
  background: #fbfbf9;
  padding: 14px 15px;
  resize: vertical;
  outline: none;
  font-weight: 650;
}

.rr-message-form textarea:focus {
  border-color: var(--rr-black);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0,0,0,.06);
}

.rr-empty.small {
  min-height: 70px;
  border-radius: 18px;
}

.rr-primary-mini {
  background: var(--rr-black);
  color: #fff;
  border-color: var(--rr-black);
}

.rr-payment-card p + p {
  margin-top: 7px;
}

@media (max-width: 1050px) {
  .rr-account-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .rr-menu-toggle {
    display: inline-flex;
    position: absolute;
    left: 14px;
    z-index: 2;
  }

  .rr-mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 4px 10px;
  }

  .rr-mobile-menu-head strong {
    color: var(--rr-black);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -.04em;
  }

  .rr-menu-close { display: inline-grid; place-items: center; }

  .rr-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 89;
    background: rgba(0,0,0,.34);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .rr-sidebar-backdrop:not([hidden]) { display: block; }

  .rr-account-sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 90;
    width: min(86vw, 360px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: max(18px, env(safe-area-inset-top)) 16px 18px;
    background: rgba(255,255,255,.96);
    border-right: 1px solid rgba(232,232,228,.92);
    box-shadow: 34px 0 80px rgba(0,0,0,.18);
    transform: translateX(-104%);
    transition: transform .28s cubic-bezier(.2,.8,.2,1);
    overflow-y: auto;
  }

  .rr-menu-open .rr-account-sidebar {
    transform: translateX(0);
  }

  .rr-account-nav {
    display: grid !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 8px !important;
    border-radius: 26px;
  }

  .rr-account-nav button {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: flex-start;
    padding: 0 14px !important;
    font-size: 14px;
  }

  .rr-detail-grid,
  .rr-message-form {
    grid-template-columns: 1fr;
  }

  .rr-message {
    max-width: 94%;
  }
}

/* Premium booking detail page + simplified conversation UI */
.rr-booking-page-panel.active {
  display: block;
}

.rr-booking-page-root {
  display: grid;
  gap: 20px;
}

.rr-booking-page-hero,
.rr-booking-page-loader,
.rr-detail-page-error {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(232, 232, 228, .92);
  border-radius: 38px;
  background:
    radial-gradient(circle at 100% 0%, rgba(185, 154, 75, .22), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(247,247,244,.92));
  box-shadow: var(--rr-shadow-soft);
  padding: clamp(20px, 3.4vw, 36px);
}

.rr-booking-page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -140px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0,0,0,.08), transparent 67%);
  pointer-events: none;
}

.rr-back-link {
  position: relative;
  z-index: 1;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--rr-line);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: var(--rr-black);
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
  padding: 0 15px;
  font-weight: 900;
  font-size: 13px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.rr-back-link:hover {
  transform: translateY(-1px);
  background: #ffffff;
  border-color: var(--rr-line-dark);
}

.rr-booking-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(18px, 3vw, 34px);
  align-items: end;
  margin-top: 22px;
}

.rr-booking-hero-copy h1 {
  margin: 0;
  color: var(--rr-black);
  font-size: clamp(38px, 7vw, 76px);
  font-weight: 950;
  letter-spacing: -.075em;
  line-height: .88;
}

.rr-booking-hero-copy p:not(.rr-kicker) {
  max-width: 580px;
  margin: 14px 0 0;
  color: #626269;
  font-size: clamp(15px, 1.7vw, 17px);
  font-weight: 650;
  line-height: 1.55;
}

.rr-booking-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.rr-booking-hero-badges .rr-badge {
  margin-bottom: 0;
  background: #fff;
}

.rr-booking-hero-route {
  position: relative;
  display: grid;
  gap: 8px;
  border: 1px solid rgba(232,232,228,.92);
  border-radius: 30px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 20px 42px rgba(0,0,0,.06);
  padding: 18px;
}

.rr-booking-hero-route div:not(.rr-route-divider) {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.rr-booking-hero-route strong {
  min-width: 0;
  color: var(--rr-black);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.rr-route-pin {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--rr-black);
  box-shadow: inset 0 0 0 5px #fff;
}

.rr-route-pin.end {
  border-color: var(--rr-gold);
  background: var(--rr-gold);
}

.rr-route-divider {
  width: 2px;
  height: 24px;
  margin-left: 10px;
  background: linear-gradient(180deg, var(--rr-line-dark), rgba(217,217,210,0));
}

.rr-booking-stat-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.rr-booking-stat-row div {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 7px;
  border: 1px solid rgba(232,232,228,.92);
  border-radius: 24px;
  background: rgba(255,255,255,.76);
  padding: 15px;
}

.rr-booking-stat-row span,
.rr-card-heading .rr-kicker,
.rr-chat-head .rr-kicker {
  margin: 0;
  color: var(--rr-muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rr-booking-stat-row strong {
  color: var(--rr-black);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.rr-booking-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
  gap: 20px;
  align-items: start;
}

.rr-trip-detail-card,
.rr-chat-panel {
  border-radius: 34px;
  background: rgba(255,255,255,.94);
  padding: clamp(18px, 2.5vw, 26px);
}

.rr-card-heading,
.rr-chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.rr-card-heading h2,
.rr-chat-head h2 {
  margin: 2px 0 0;
  color: var(--rr-black);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 950;
  letter-spacing: -.055em;
}

.rr-chat-head p {
  margin: 7px 0 0;
  color: var(--rr-muted);
  font-weight: 650;
}

.rr-chat-status {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f4f4f1;
  color: var(--rr-black);
  padding: 0 11px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.rr-detail-grid-clean .rr-detail-item {
  min-height: 82px;
  border-radius: 22px;
  background: #fbfbf9;
}

.rr-return-panel {
  margin-top: 14px;
  border-top: 1px solid var(--rr-line);
  padding-top: 18px;
}

.rr-return-panel h3 {
  margin-bottom: 12px;
}

.rr-premium-thread {
  min-height: 388px;
  max-height: 52vh;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(232,232,228,.92);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(250,250,248,.96), rgba(244,244,241,.96));
  padding: 16px;
}

.rr-message {
  max-width: min(86%, 520px);
  border-radius: 22px;
  padding: 13px 15px;
  box-shadow: 0 12px 24px rgba(0,0,0,.045);
}

.rr-message.customer {
  align-self: flex-end;
  justify-self: auto;
  border-bottom-right-radius: 8px;
}

.rr-message.admin {
  align-self: flex-start;
  justify-self: auto;
  border-bottom-left-radius: 8px;
}

.rr-premium-message-form {
  position: sticky;
  bottom: 0;
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  border: 1px solid rgba(232,232,228,.92);
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  padding: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,.05);
}

.rr-premium-message-form textarea {
  min-height: 58px;
  max-height: 160px;
  border: 0;
  border-radius: 20px;
  background: #f6f6f4;
  padding: 15px;
}

.rr-premium-message-form textarea:focus {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--rr-black), 0 0 0 4px rgba(0,0,0,.05);
}

.rr-premium-message-form .rr-btn {
  min-height: 58px;
  padding-inline: 22px;
}

.rr-booking-page-loader {
  display: grid;
  gap: 14px;
}

.rr-skeleton-line,
.rr-skeleton-card {
  overflow: hidden;
  position: relative;
  border-radius: 999px;
  background: #eee;
}

.rr-skeleton-line {
  width: 42%;
  height: 22px;
}

.rr-skeleton-line.wide {
  width: min(560px, 88%);
  height: 46px;
}

.rr-skeleton-card {
  height: 260px;
  border-radius: 30px;
}

.rr-skeleton-line::after,
.rr-skeleton-card::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
  animation: rrSkeleton 1.1s infinite;
}

@keyframes rrSkeleton {
  to { transform: translateX(100%); }
}

@media (max-width: 1180px) {
  .rr-booking-page-layout {
    grid-template-columns: 1fr;
  }

  .rr-chat-panel {
    position: static;
  }
}

@media (max-width: 860px) {
  .rr-booking-hero-grid,
  .rr-booking-stat-row,
  .rr-detail-grid-clean {
    grid-template-columns: 1fr;
  }

  .rr-booking-page-hero,
  .rr-trip-detail-card,
  .rr-chat-panel {
    border-radius: 28px;
  }

  .rr-booking-hero-copy h1 {
    font-size: clamp(34px, 12vw, 52px);
  }
}

@media (max-width: 560px) {
  .rr-booking-page-hero,
  .rr-trip-detail-card,
  .rr-chat-panel {
    padding: 18px;
  }

  .rr-booking-hero-route,
  .rr-booking-stat-row div,
  .rr-detail-grid-clean .rr-detail-item {
    border-radius: 20px;
  }

  .rr-premium-thread {
    min-height: 320px;
    max-height: 56vh;
    padding: 12px;
    border-radius: 22px;
  }

  .rr-premium-message-form {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .rr-premium-message-form .rr-btn {
    width: 100%;
  }

  .rr-message {
    max-width: 94%;
  }
}
