:root {
  --bg: #f6efe4;
  --surface: rgba(255, 251, 245, 0.78);
  --surface-strong: #fff8ee;
  --ink: #102432;
  --muted: #55616b;
  --line: rgba(16, 36, 50, 0.12);
  --teal: #0f8b8d;
  --teal-dark: #0b6265;
  --navy: #16324f;
  --sand: #f2c078;
  --rose: #d97962;
  --shadow: 0 24px 60px rgba(17, 35, 50, 0.14);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(15, 139, 141, 0.22), transparent 30%),
    radial-gradient(circle at right 20%, rgba(242, 192, 120, 0.32), transparent 24%),
    linear-gradient(180deg, #fcf7ef 0%, #f2eadc 56%, #efe4d2 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(18px);
  opacity: 0.45;
}

body::before {
  width: 320px;
  height: 320px;
  top: -110px;
  right: -80px;
  background: rgba(15, 139, 141, 0.16);
}

body::after {
  width: 280px;
  height: 280px;
  left: -120px;
  bottom: 8%;
  background: rgba(217, 121, 98, 0.12);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding: 16px 20px;
  border-radius: 24px;
  backdrop-filter: blur(18px);
  background: rgba(255, 249, 241, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 40px rgba(17, 35, 50, 0.08);
}

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

.partner-brand {
  align-items: start;
  gap: 12px;
  flex: 0 1 auto;
  max-width: fit-content;
  position: relative;
  z-index: 1;
  padding: 10px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(16, 36, 50, 0.08);
  box-shadow: 0 14px 34px rgba(17, 35, 50, 0.08);
}

.brand-user-logo-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(22, 50, 79, 0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.partner-brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
}

.brand-user-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.partner-brand-copy {
  display: grid;
  grid-template-columns: max-content max-content max-content;
  column-gap: 6px;
  row-gap: 2px;
  min-width: 0;
  align-items: center;
  width: fit-content;
}

.partner-brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  line-height: 1.2;
  grid-column: 1;
}

.partner-brand-role,
.partner-brand-code {
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.partner-brand-role {
  grid-column: 2;
}

.partner-brand-code {
  grid-column: 3;
}

.partner-brand-detail {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  word-break: break-word;
  grid-column: 1 / -1;
}

#brand-user-address,
#brand-user-email,
#brand-user-mobile {
  grid-column: 1 / -1;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 360px;
  flex-wrap: wrap;
  gap: 12px;
  row-gap: 10px;
  position: relative;
  z-index: 2;
}

.site-nav a,
.site-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav button:hover,
.site-nav button:focus-visible {
  background: rgba(22, 50, 79, 0.08);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(17, 35, 50, 0.08);
  transform: translateY(-1px);
}

.site-nav a.is-active {
  background: linear-gradient(135deg, rgba(22, 50, 79, 0.16), rgba(15, 124, 130, 0.16));
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(17, 35, 50, 0.1);
}

.nav-cta {
  padding: 0 18px;
  min-height: 42px;
  border-radius: 999px;
  background: rgba(22, 50, 79, 0.08);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-top: 28px;
}

.side-menu-card,
.profile-card,
.trade-card,
.hero-metrics li {
  backdrop-filter: blur(14px);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
}

.side-menu-card {
  position: sticky;
  top: 104px;
  padding: 18px;
  border-radius: 22px;
}

.side-menu-card h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
}

.side-menu-list {
  display: grid;
  gap: 11px;
  margin-top: 0;
}

.side-menu-group {
  display: grid;
  gap: 8px;
}

.side-menu-group-details {
  gap: 10px;
}

.side-menu-group-details summary {
  list-style: none;
  cursor: pointer;
}

.side-menu-group-details summary::-webkit-details-marker {
  display: none;
}

.side-menu-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  padding: 15px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(16, 36, 50, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.side-menu-item:hover,
.side-menu-item:focus-visible,
.side-menu-item.active {
  transform: translateY(-1px);
  border-color: rgba(15, 139, 141, 0.18);
  box-shadow: 0 10px 20px rgba(17, 35, 50, 0.08);
}

.side-menu-toggle {
  width: 100%;
  text-align: left;
  grid-template-columns: 44px 1fr 24px;
}

.side-menu-toggle-copy {
  min-width: 0;
}

.side-menu-toggle-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(22, 50, 79, 0.08);
  color: var(--navy);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease;
}

.side-menu-toggle.active .side-menu-toggle-arrow {
  transform: rotate(45deg);
  background: rgba(15, 139, 141, 0.14);
}

.tour-package-action-panel {
  display: grid;
  gap: 10px;
  padding: 8px 0 0 22px;
}

.side-menu-group-details[open] .side-menu-toggle {
  transform: translateY(-1px);
  border-color: rgba(15, 139, 141, 0.18);
  box-shadow: 0 10px 20px rgba(17, 35, 50, 0.08);
}

.side-menu-group-details[open] .side-menu-toggle-arrow {
  transform: rotate(45deg);
  background: rgba(15, 139, 141, 0.14);
}

.tour-package-action-button {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: 48px;
  padding: 15px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(16, 36, 50, 0.08);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
  text-align: left;
  box-shadow: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tour-package-action-button:hover,
.tour-package-action-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(15, 139, 141, 0.18);
  box-shadow: 0 10px 20px rgba(17, 35, 50, 0.08);
}

.side-menu-subitem {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  width: 100%;
  min-height: 44px;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(236, 244, 247, 0.82));
  border: 1px solid rgba(16, 36, 50, 0.08);
  box-shadow: 0 8px 18px rgba(17, 35, 50, 0.05);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.side-menu-subitem:hover,
.side-menu-subitem:focus-visible,
.side-menu-subitem.is-active {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(235, 248, 247, 0.98), rgba(219, 241, 243, 0.9));
  border-color: rgba(15, 139, 141, 0.18);
  box-shadow: 0 12px 22px rgba(17, 35, 50, 0.08);
  color: var(--ink);
}

.side-menu-subindex {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(22, 50, 79, 0.96), rgba(15, 124, 130, 0.88));
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.side-menu-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  min-width: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
}

.side-menu-item strong {
  display: block;
  margin-bottom: 0;
  font-size: 1.02rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.side-menu-item span:last-child span {
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.15;
}

.dashboard-main {
  display: grid;
  gap: 24px;
}

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

.info-card {
  padding: 24px;
  border-radius: 24px;
  backdrop-filter: blur(14px);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
}

.info-card h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
}

.info-card p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.info-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.info-list-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(16, 36, 50, 0.08);
  color: var(--muted);
  line-height: 1.6;
}

.info-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 18px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(22, 50, 79, 0.08);
  border: 1px solid rgba(16, 36, 50, 0.08);
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 68px 0 36px;
}

.compact-hero {
  padding: 0;
}

.eyebrow,
.mini-label {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.cta-banner h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  max-width: 11ch;
}

.hero-text {
  max-width: 58ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-pills span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 36, 50, 0.08);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: #fff;
  box-shadow: 0 12px 30px rgba(22, 50, 79, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  border: 1px solid rgba(16, 36, 50, 0.08);
}

.button-block {
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}

.hero-metrics li {
  padding: 20px;
  border-radius: var(--radius-lg);
}

.hero-metrics strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 18px;
}

.trade-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 24px;
}

.search-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 249, 242, 0.8)),
    var(--surface);
}

.featured-deals {
  display: grid;
  gap: 14px;
}

.deal-card {
  position: relative;
  padding: 18px;
  border-radius: 20px;
  overflow: hidden;
}

.deal-card.warm {
  background: linear-gradient(135deg, rgba(242, 192, 120, 0.34), rgba(255, 255, 255, 0.88));
}

.deal-card.cool {
  background: linear-gradient(135deg, rgba(15, 139, 141, 0.18), rgba(255, 255, 255, 0.9));
}

.deal-route {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deal-card strong {
  display: block;
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.deal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.deal-price {
  display: inline-block;
  margin-top: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.map-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(15, 139, 141, 0.14);
  pointer-events: none;
}

.map-orbit-one {
  width: 220px;
  height: 220px;
  top: -84px;
  right: -66px;
}

.map-orbit-two {
  width: 130px;
  height: 130px;
  right: 42px;
  bottom: -52px;
}

.card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.card-head h2 {
  margin: 0;
  font-size: 1.2rem;
}

.status-badge {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(15, 139, 141, 0.12);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

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

.search-form label,
.cta-form label {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

.search-form input,
.search-form select,
.cta-form input {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(16, 36, 50, 0.1);
  background: rgba(255, 255, 255, 0.9);
  padding: 0 14px;
  color: var(--ink);
}

.search-form button {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.rate-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 36, 50, 0.08);
}

.rate-ribbon div {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.64);
}

.ribbon-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rate-ribbon strong {
  font-size: 0.98rem;
}

.activity-card {
  display: grid;
  gap: 14px;
  background:
    linear-gradient(135deg, rgba(22, 50, 79, 0.96), rgba(10, 93, 95, 0.94)),
    var(--surface);
  color: rgba(255, 255, 255, 0.86);
}

.activity-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.72);
}

.activity-line:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.activity-line strong {
  color: #fff;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.mini-stats div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.mini-stats strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
}

.mini-stats span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.profile-showcase {
  padding-top: 0;
}

.profile-card {
  padding: 28px;
  border-radius: 28px;
  backdrop-filter: blur(14px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(246, 238, 226, 0.8)),
    var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
}

.profile-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.profile-head h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.profile-id-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.profile-brand-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(16, 36, 50, 0.08);
}

.profile-logo-wrap {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(22, 50, 79, 0.08);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.profile-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.profile-brand-copy {
  display: grid;
  gap: 6px;
}

.profile-brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.profile-brand-copy span {
  color: var(--muted);
  line-height: 1.6;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.profile-detail {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(16, 36, 50, 0.08);
}

.profile-detail span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.profile-detail strong {
  display: block;
  line-height: 1.55;
}

.profile-permissions {
  margin-top: 24px;
}

.profile-permission-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-permission-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 139, 141, 0.1);
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

.side-menu-item small,
.account-summary-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.account-page {
  padding: 28px 0 44px;
}

.account-layout {
  display: grid;
  gap: 22px;
}

.account-hero-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  padding: 28px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(242, 192, 120, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(15, 124, 130, 0.95), rgba(22, 50, 79, 0.98));
  box-shadow: 0 24px 52px rgba(17, 35, 50, 0.16);
  color: rgba(255, 255, 255, 0.9);
}

.account-hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -60px -90px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.account-hero-copy h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.02;
}

.account-hero-copy p:last-child {
  max-width: 60ch;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.account-hero-panel .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.account-hero-metrics {
  display: grid;
  gap: 12px;
  align-content: center;
}

.account-hero-stat {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.account-hero-stat span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-hero-stat strong {
  display: block;
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
}

.account-ledger-card {
  display: grid;
  gap: 22px;
}

.account-ledger-card-full {
  width: 100%;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 243, 236, 0.98));
  border: 1px solid rgba(16, 36, 50, 0.08);
  box-shadow: 0 24px 48px rgba(17, 35, 50, 0.08);
}

.account-ledger-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.account-ledger-head h1,
.voucher-head h1 {
  margin: 8px 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
}

.account-ledger-head p:last-child {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.account-service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  align-self: start;
  padding: 12px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 250, 245, 0.98), rgba(242, 249, 249, 0.96));
  border: 1px solid rgba(16, 36, 50, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76), 0 14px 26px rgba(17, 35, 50, 0.06);
}

.account-service-pill {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(16, 36, 50, 0.12);
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.account-service-pill.is-active {
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 24px rgba(22, 50, 79, 0.2);
}

.account-service-pill:hover,
.account-service-pill:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(17, 35, 50, 0.12);
}

.account-summary-grid,
.voucher-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.account-summary-card,
.voucher-detail-card,
.voucher-notes-card {
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 249, 255, 0.92));
  border: 1px solid rgba(71, 138, 176, 0.14);
  box-shadow: 0 12px 24px rgba(17, 35, 50, 0.05);
}

.account-summary-card span,
.voucher-detail-card span,
.voucher-notes-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-summary-card strong,
.voucher-detail-card strong,
.voucher-notes-card strong {
  display: block;
  margin-top: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.14rem;
  line-height: 1.5;
}

.ledger-list-wrap {
  display: grid;
  gap: 20px;
}

.ledger-list-wrap-thin {
  gap: 12px;
}

.ledger-list-wrap-thin .ledger-card {
  padding: 14px 16px;
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(17, 35, 50, 0.06);
}

.ledger-list-wrap-thin .ledger-card::before {
  width: 4px;
}

.ledger-list-wrap-thin .ledger-card-head {
  gap: 12px;
  margin-bottom: 12px;
}

.ledger-list-wrap-thin .ledger-card-kicker {
  margin-bottom: 4px;
  font-size: 0.7rem;
}

.ledger-list-wrap-thin .ledger-card-head h3 {
  font-size: 1.02rem;
  line-height: 1.3;
}

.ledger-list-wrap-thin .ledger-field-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.ledger-list-wrap-thin .ledger-field {
  padding: 10px 12px;
  border-radius: 12px;
}

.ledger-list-wrap-thin .ledger-field span {
  margin-bottom: 4px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.ledger-list-wrap-thin .ledger-field strong {
  font-size: 0.88rem;
  line-height: 1.35;
}

.ledger-list-wrap-thin .ledger-actions {
  gap: 8px;
  padding-top: 12px;
}

.ledger-list-wrap-thin .ledger-footer-row {
  gap: 10px;
}

.ledger-list-wrap-thin .ledger-field-amount {
  min-width: 150px;
}

.ledger-list-wrap-thin .ledger-action-link,
.ledger-list-wrap-thin .ledger-cancel-button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.82rem;
}

.ledger-list-wrap-thin .ledger-status-chip {
  min-height: 26px;
  padding: 0 10px;
  font-size: 0.72rem;
}

.ledger-list-wrap-thin .ledger-empty-state {
  gap: 6px;
  padding: 24px 18px;
  border-radius: 18px;
}

.ledger-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(15, 124, 130, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 252, 0.97));
  border: 1px solid rgba(16, 36, 50, 0.08);
  box-shadow: 0 18px 36px rgba(17, 35, 50, 0.09);
}

.ledger-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--navy), var(--teal));
}

.ledger-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 20px;
}

.ledger-card-kicker {
  margin: 0 0 8px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ledger-card-head h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.34rem;
}

.ledger-field-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.ledger-field {
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(248, 251, 252, 0.98), rgba(244, 248, 250, 0.96));
  border: 1px solid rgba(16, 36, 50, 0.06);
  min-height: 100%;
}

.ledger-field span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ledger-field strong {
  display: block;
  line-height: 1.5;
  word-break: break-word;
}

.ledger-footer-row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
}

.ledger-field-amount {
  min-width: 180px;
  max-width: 220px;
}

.ledger-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 10px;
  padding-top: 0;
  border-top: 0;
}

.ledger-action-link {
  min-height: 42px;
  padding: 0 16px;
  white-space: nowrap;
}

.ledger-action-link.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.ledger-cancel-button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.ledger-status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.ledger-status-chip.booked {
  background: rgba(15, 124, 130, 0.14);
  color: var(--teal);
}

.ledger-status-chip.confirm {
  background: rgba(29, 132, 72, 0.14);
  color: #1d8448;
}

.ledger-status-chip.booking-requested {
  background: rgba(242, 192, 120, 0.2);
  color: #9b6408;
}

.ledger-status-chip.cancellation-requested {
  background: rgba(217, 121, 98, 0.18);
  color: #a24e39;
}

.ledger-status-chip.cancelled {
  background: rgba(181, 68, 49, 0.12);
  color: #b54431;
}

.ledger-empty-state {
  display: grid;
  gap: 8px;
  padding: 34px 24px;
  text-align: center;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(248, 250, 251, 0.98), rgba(243, 247, 249, 0.96));
  border: 1px solid rgba(16, 36, 50, 0.08);
}

.voucher-shell {
  padding: 28px 0 44px;
  position: relative;
}

.voucher-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at top left, rgba(44, 166, 255, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 199, 93, 0.2), transparent 24%),
    radial-gradient(circle at bottom left, rgba(67, 233, 123, 0.16), transparent 26%),
    linear-gradient(180deg, #f4fbff 0%, #eef7ff 48%, #f9fffb 100%);
}

.voucher-card {
  display: grid;
  gap: 22px;
  padding: 24px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.76));
  border: 1px solid rgba(93, 153, 191, 0.16);
  box-shadow: 0 28px 70px rgba(13, 57, 84, 0.12);
}

.voucher-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.voucher-head-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.voucher-section {
  display: block;
}

.voucher-standard-card {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  padding: 22px;
  padding-top: 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(79, 172, 254, 0.18), transparent 26%),
    radial-gradient(circle at bottom left, rgba(67, 233, 123, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 249, 255, 0.98));
  border: 1px solid rgba(84, 154, 196, 0.22);
  box-shadow: 0 24px 60px rgba(16, 36, 50, 0.08);
}

.voucher-standard-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(54, 122, 160, 0.28);
}

.voucher-brand-block {
  display: flex;
  align-items: start;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(11, 85, 121, 0.96), rgba(26, 146, 157, 0.92));
  box-shadow: 0 18px 38px rgba(12, 66, 93, 0.18);
}

.voucher-partner-logo {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.96);
  border: 3px solid rgba(255, 255, 255, 0.22);
}

.voucher-partner-logo-fallback {
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: #16324f;
}

.voucher-brand-copy {
  display: grid;
  gap: 6px;
}

.voucher-brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  color: #ffffff;
}

.voucher-brand-copy span,
.voucher-doc-meta span {
  color: #d8f4ff;
  font-size: 0.9rem;
}

.voucher-doc-meta {
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
}

.voucher-doc-meta strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  color: #0f4f6b;
}

.voucher-standard-notes {
  grid-column: 1 / -1;
}

.voucher-policy-card {
  background: linear-gradient(135deg, rgba(255, 245, 201, 0.98), rgba(255, 235, 168, 0.96));
  border: 1px solid rgba(225, 179, 44, 0.34);
}

.voucher-sample-card {
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 2px solid #f07a19;
  border-radius: 0;
  box-shadow: none;
}

.voucher-sample-top {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
}

.voucher-sample-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border: 1px solid #f07a19;
  border-right: 0;
}

.voucher-sample-logo .voucher-partner-logo,
.voucher-sample-logo .voucher-partner-logo-fallback {
  width: 64px;
  height: 64px;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.voucher-sample-brand-copy {
  display: grid;
  gap: 4px;
  padding-top: 4px;
}

.voucher-sample-brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  color: #17354c;
}

.voucher-sample-brand-copy span {
  font-size: 0.78rem;
  color: #17354c;
}

.voucher-sample-office,
.voucher-sample-table,
.voucher-sample-grid {
  width: 100%;
  border-collapse: collapse;
}

.voucher-sample-office th,
.voucher-sample-office td,
.voucher-sample-table th,
.voucher-sample-table td,
.voucher-sample-grid th,
.voucher-sample-grid td {
  border: 1px solid #f07a19;
  padding: 3px 6px;
  font-size: 0.75rem;
  line-height: 1.25;
  text-align: left;
  color: #172f45;
  vertical-align: top;
}

.voucher-sample-office th,
.voucher-sample-table th:first-child {
  width: 32%;
  font-weight: 700;
}

.voucher-sample-section th {
  background: #fff3e8;
  color: #ac4c00;
  font-weight: 700;
}

.voucher-sample-grid thead th {
  background: #fff3e8;
  color: #ac4c00;
  font-weight: 700;
}

.voucher-sample-policy {
  border: 1px solid #f07a19;
  border-top: 0;
  padding: 6px 8px;
  color: #172f45;
}

.voucher-sample-policy strong {
  display: block;
  margin-bottom: 4px;
  color: #ac4c00;
  font-size: 0.78rem;
}

.voucher-sample-policy ol {
  margin: 0;
  padding-left: 16px;
}

.voucher-sample-policy li {
  margin: 0 0 2px;
  font-size: 0.72rem;
  line-height: 1.25;
}

.voucher-sample-footer {
  border: 1px solid #f07a19;
  border-top: 0;
  padding: 5px 8px 2px;
  text-align: center;
  color: #8b4a16;
  font-size: 0.7rem;
  font-weight: 700;
}

.voucher-standard-card,
.voucher-standard-card * {
  break-inside: avoid;
}

.voucher-standard-card section {
  padding-top: 0;
}

section {
  padding-top: 84px;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3.4rem);
}

.section-heading.narrow {
  max-width: 640px;
}

.site-header,
.hero,
section {
  animation: rise 700ms ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .dashboard-layout,
  .profile-grid,
  .content-grid,
  .account-summary-grid,
  .voucher-grid,
  .voucher-section,
  .ledger-field-grid {
    grid-template-columns: 1fr;
  }

  .voucher-standard-head {
    display: grid;
  }

  .voucher-sample-top {
    grid-template-columns: 1fr;
  }

  .voucher-sample-brand {
    border-right: 1px solid #f07a19;
  }

  .voucher-doc-meta {
    justify-items: start;
    text-align: left;
  }

  .account-hero-panel {
    grid-template-columns: 1fr;
  }

  .hero,
  .dashboard-layout,
  .account-layout {
    grid-template-columns: 1fr;
  }

  .ledger-footer-row {
    flex-direction: column;
  }

  .ledger-field-amount {
    min-width: 100%;
    max-width: none;
  }

  .ledger-actions {
    justify-content: flex-start;
  }

  .profile-head {
    flex-direction: column;
    align-items: start;
  }

  .ledger-list-wrap-thin .ledger-field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 3;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 249, 241, 0.96);
    border: 1px solid rgba(16, 36, 50, 0.08);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero h1 {
    max-width: none;
  }

  .hero-metrics,
  .dashboard-layout,
  .account-ledger-head,
  .voucher-head {
    grid-template-columns: 1fr;
  }

  .trade-card,
  .side-menu-card,
  .profile-card {
    padding: 22px;
  }

  section {
    padding-top: 68px;
  }

  .site-header {
    padding: 14px 16px;
  }

  .account-ledger-head,
  .voucher-head {
    display: grid;
  }

  .account-service-pills {
    justify-content: flex-start;
  }
}
