:root {
  color-scheme: dark;
  --site-accent: #22b8c7;
  --site-accent-strong: #16798b;
  --site-canvas: #1e2d40;
  --site-surface: #222;
  --site-surface-raised: #303030;
  --site-border: #3b3b3b;
  --site-text: #e4e4e7;
  --site-muted: #bcbcc0;
}

body:not(.public-home-marketplace) {
  min-height: 100vh;
  color: var(--site-text);
  background:
    radial-gradient(ellipse at 18% 0%, #374052 0, transparent 34rem),
    linear-gradient(120deg, #253449 0%, var(--site-canvas) 55%, #263746 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body:not(.public-home-marketplace) .site-header {
  min-height: 72px;
  gap: 12px;
  padding: 10px clamp(12px, 2vw, 28px);
  border: 0;
  color: var(--site-text);
  background: var(--site-surface);
  box-shadow: 0 8px 24px #10151d55;
}

body:not(.public-home-marketplace) .site-header .logo-area {
  min-height: 46px;
  color: #f4f4f5;
  background: transparent;
  font-size: 20px;
}

body:not(.public-home-marketplace) .site-header .logo-area span,
body:not(.public-home-marketplace) .site-header .logo-area svg {
  color: var(--site-accent);
  stroke: var(--site-accent) !important;
}

body:not(.public-home-marketplace) .site-header .site-navigation {
  gap: 2px;
  padding: 4px;
  border-radius: 18px;
  background: #191919;
}

body:not(.public-home-marketplace) .site-header .site-navigation a {
  padding: 9px 11px;
  border-radius: 14px;
  color: #d4d4d8;
  font-size: 12px;
  font-weight: 550;
}

body:not(.public-home-marketplace) .site-header .site-navigation a:hover,
body:not(.public-home-marketplace) .site-header .site-navigation a[aria-current="page"] {
  color: #fff;
  background: var(--site-accent-strong);
}

body:not(.public-home-marketplace) .site-header .nav-actions {
  gap: 8px;
}

body:not(.public-home-marketplace) .site-header .currency-select-label { color: #cbd5e1; }

body:not(.public-home-marketplace) .site-header .currency-select,
body:not(.public-home-marketplace) .site-header .referral-link-box,
body:not(.public-home-marketplace) .site-header .referral-link-box input,
body:not(.public-home-marketplace) .site-header .referral-link-box button {
  border-color: #454545;
  color: var(--site-text);
  background: var(--site-surface-raised);
}

body:not(.public-home-marketplace) .site-header .balance-box {
  border-color: var(--site-border);
  color: #f4f4f5;
  background: var(--site-surface-raised);
}

body:not(.public-home-marketplace) .btn-primary,
body:not(.public-home-marketplace) .site-header .nav-actions > .btn-primary {
  border-color: var(--site-accent-strong);
  color: #fff;
  background: var(--site-accent-strong);
}

body:not(.public-home-marketplace) .btn-primary:hover,
body:not(.public-home-marketplace) .site-header .nav-actions > .btn-primary:hover {
  border-color: #1992a6;
  background: #1992a6;
}

body:not(.public-home-marketplace) .btn-default,
body:not(.public-home-marketplace) .site-header .nav-actions > .btn-default {
  border-color: #454545;
  color: var(--site-text);
  background: var(--site-surface-raised);
}

body:not(.public-home-marketplace) main,
body:not(.public-home-marketplace) .page-content {
  width: min(1440px, calc(100% - 32px));
  margin: clamp(20px, 3vw, 38px) auto;
}

body:not(.public-home-marketplace) .account-card,
body:not(.public-home-marketplace) .page-notice {
  border: 1px solid var(--site-border);
  border-radius: 18px;
  color: var(--site-text);
  background: var(--site-surface);
  box-shadow: 0 8px 24px #11182726;
}

body:not(.public-home-marketplace) .account-card h1,
body:not(.public-home-marketplace) .account-card h2,
body:not(.public-home-marketplace) .account-card h3,
body:not(.public-home-marketplace) .page-notice h1,
body:not(.public-home-marketplace) .page-notice h2,
body:not(.public-home-marketplace) .topup-step-title {
  color: #f4f4f5;
}

body:not(.public-home-marketplace) .page-description,
body:not(.public-home-marketplace) .topup-muted,
body:not(.public-home-marketplace) .topup-rate,
body:not(.public-home-marketplace) .topup-step-intro {
  color: var(--site-muted);
}

body:not(.public-home-marketplace) .account-card input,
body:not(.public-home-marketplace) .account-card select,
body:not(.public-home-marketplace) .account-card textarea,
body:not(.public-home-marketplace) .password-change-form input,
body:not(.public-home-marketplace) main > input,
body:not(.public-home-marketplace) main > select,
body:not(.public-home-marketplace) main > textarea {
  border-color: #454545;
  color: var(--site-text);
  background: #191919;
}

body:not(.public-home-marketplace) .account-card input::placeholder,
body:not(.public-home-marketplace) .account-card textarea::placeholder,
body:not(.public-home-marketplace) .password-change-form input::placeholder {
  color: #9a9a9a;
}

body:not(.public-home-marketplace) .password-change-form label { color: #d4d4d8; }
body:not(.public-home-marketplace) .password-change-form [role="status"] { color: #7ee0aa; }
body:not(.public-home-marketplace) .password-change-form [role="status"].is-error { color: #ffb4b4; }

body:not(.public-home-marketplace) .account-table-wrap th {
  border-color: #3b3b3b;
  color: #cbd5e1;
  background: #292929;
}

body:not(.public-home-marketplace) .account-table-wrap td {
  border-color: #3b3b3b;
  color: #e4e4e7;
}

body:not(.public-home-marketplace) .page-footer {
  color: #cbd5e1;
  background: #1b2737;
}

body:not(.public-home-marketplace) .page-footer a { color: #a8e8ed; }

body:not(.public-home-marketplace) .proxy-eyebrow { color: var(--site-accent); }

body:not(.public-home-marketplace) .proxy-service-notice {
  border-color: #66572c;
  color: #f5df9a;
  background: #342d1e;
}

body:not(.public-home-marketplace) .proxy-service-notice p { color: #e5d7b2; }

body:not(.public-home-marketplace) .topup-dashboard .account-card {
  border-color: var(--site-border);
  color: var(--site-text);
  background: var(--site-surface);
}

body:not(.public-home-marketplace) .topup-method-card {
  border-color: #454545;
  color: var(--site-text);
  background: #191919;
}

body:not(.public-home-marketplace) .topup-method-card[aria-pressed="true"] {
  border-color: var(--site-accent);
  background: #12363b;
}

body:not(.public-home-marketplace) .topup-stepper button,
body:not(.public-home-marketplace) .topup-step-actions button {
  border-color: #454545;
  color: var(--site-text);
  background: #191919;
}

body:not(.public-home-marketplace) .topup-step-actions .topup-next {
  border-color: var(--site-accent-strong);
  color: #fff;
  background: var(--site-accent-strong);
}

body:not(.public-home-marketplace) .auth-dialog,
body:not(.public-home-marketplace) .crypto-payment-dialog,
body:not(.public-home-marketplace) .footer-dialog,
body:not(.public-home-marketplace) .support-widget {
  border-color: var(--site-border);
  color: var(--site-text);
  background: var(--site-surface);
  box-shadow: 0 24px 80px #0f172a88;
}

body:not(.public-home-marketplace) .auth-dialog::backdrop,
body:not(.public-home-marketplace) .crypto-payment-dialog::backdrop,
body:not(.public-home-marketplace) .footer-dialog::backdrop {
  background: #0f172acc;
}

body:not(.public-home-marketplace) .auth-dialog-heading h2,
body:not(.public-home-marketplace) .crypto-payment-dialog h2 {
  color: #f4f4f5;
}

body:not(.public-home-marketplace) .auth-dialog form label { color: #d4d4d8; }

body:not(.public-home-marketplace) .auth-dialog-content > p,
body:not(.public-home-marketplace) .crypto-payment-dialog > p {
  color: var(--site-muted);
}

body:not(.public-home-marketplace) .auth-dialog form input {
  border-color: #454545;
  color: var(--site-text);
  background: #191919;
}

body:not(.public-home-marketplace) .auth-dialog form button[type="submit"] {
  color: #fff;
  background: var(--site-accent-strong);
}

body:not(.public-home-marketplace) .auth-dialog-content > p button { color: #6ed6df; }

body:not(.public-home-marketplace) .crypto-payment-address {
  color: #e4e4e7;
  background: #191919;
}

body:not(.public-home-marketplace) #information-content { color: var(--site-muted); }
body:not(.public-home-marketplace) #information-content a { color: #6ed6df; }

.payment-brand-list,
.topup-payment-brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.payment-brand-list .payment-logo-chip,
.topup-payment-brands .payment-logo-chip {
  display: inline-flex;
  min-width: 62px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border: 1px solid #e1e7f0;
  border-radius: 8px;
  background: #fff;
}

body.public-home-marketplace .visitor-home-content .payment-brand-list > .payment-logo-chip {
  border-color: #e1e7f0;
  background: #fff;
}

.payment-brand-list .payment-logo-chip img,
.topup-payment-brands .payment-logo-chip img {
  display: block;
  width: auto;
  max-width: 78px;
  height: 20px;
  object-fit: contain;
}

.topup-payment-brands .payment-logo-chip { min-width: 54px; min-height: 28px; padding: 4px 7px; }
.topup-payment-brands .payment-logo-chip img { max-width: 68px; height: 18px; }
.payment-brand-list .payment-logo-chip.brand-fedapay img,
.topup-payment-brands .payment-logo-chip.brand-fedapay img { width: 70px; }
.payment-brand-list .payment-logo-chip.brand-moov img,
.topup-payment-brands .payment-logo-chip.brand-moov img { width: 48px; }
.payment-brand-list .payment-logo-chip.brand-wave img,
.topup-payment-brands .payment-logo-chip.brand-wave img { width: 50px; }
.payment-brand-list .payment-logo-chip.brand-celtiis img,
.topup-payment-brands .payment-logo-chip.brand-celtiis img { width: 66px; }

.payment-brand-list .payment-logo-chip.brand-allpay,
.topup-payment-brands .payment-logo-chip.brand-allpay {
  color: #1e3558;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: -.04em;
}

.payment-brand-list .payment-logo-chip.brand-allpay span,
.topup-payment-brands .payment-logo-chip.brand-allpay span {
  color: #16798b;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: visible;
  gap: clamp(8px, 1.2vw, 18px);
  padding: 8px clamp(12px, 2vw, 28px);
  border: 0;
  color: #e4e4e7;
  background: #222;
  box-shadow: 0 8px 24px #10151d55;
}

.site-header .logo-area,
body.public-home-marketplace .site-header.home-site-header .logo-area,
body.client-dashboard .site-header.home-site-header .logo-area {
  min-width: max-content;
  min-height: 46px;
  flex: 0 0 auto;
  padding: 0 8px;
  color: #f4f4f5;
  background: transparent;
  font-size: 20px;
}

.site-header .logo-area span,
.site-header .logo-area svg {
  color: #22b8c7;
  stroke: #22b8c7 !important;
}

body.public-home-marketplace .site-header.home-site-header,
body.client-dashboard .site-header.home-site-header {
  min-height: 64px;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
  padding: 8px clamp(12px, 2vw, 28px);
  color: #e4e4e7;
  background: #222;
  box-shadow: 0 8px 24px #10151d55;
}

body.public-home-marketplace .site-header.home-site-header .site-navigation,
body.client-dashboard .site-header.home-site-header .site-navigation,
body:not(.public-home-marketplace) .site-header .site-navigation {
  min-width: 0;
  flex: 1 1 auto;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: #191919;
}

body.public-home-marketplace .site-header.home-site-header .site-navigation a,
body.client-dashboard .site-header.home-site-header .site-navigation a,
body:not(.public-home-marketplace) .site-header .site-navigation a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 10px;
  color: #d4d4d8;
  font-size: 13px;
  font-weight: 600;
}

body.public-home-marketplace .site-header.home-site-header .site-navigation a:hover,
body.public-home-marketplace .site-header.home-site-header .site-navigation a[aria-current="page"],
body.client-dashboard .site-header.home-site-header .site-navigation a:hover,
body.client-dashboard .site-header.home-site-header .site-navigation a[aria-current="page"],
body:not(.public-home-marketplace) .site-header .site-navigation a:hover,
body:not(.public-home-marketplace) .site-header .site-navigation a[aria-current="page"] {
  border-radius: 10px;
  color: #fff;
  background: #16798b;
}

.site-header .nav-actions {
  min-width: 0;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  gap: 8px;
}

.site-header .nav-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border: 1px solid #454545;
  border-radius: 10px;
  color: #e4e4e7;
  background: #303030;
  cursor: pointer;
}

.site-header .nav-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-header.is-menu-open .nav-menu-toggle span:first-child { transform: translateY(7px) rotate(45deg); }
.site-header.is-menu-open .nav-menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-menu-open .nav-menu-toggle span:last-child { transform: translateY(-7px) rotate(-45deg); }

.site-header :focus-visible {
  outline: 2px solid #38c7d4;
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .site-header,
  body.public-home-marketplace .site-header.home-site-header,
  body.client-dashboard .site-header.home-site-header {
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px clamp(10px, 2vw, 18px);
  }

  .site-header .logo-area,
  body.public-home-marketplace .site-header.home-site-header .logo-area,
  body.client-dashboard .site-header.home-site-header .logo-area {
    min-width: 0;
    min-height: 44px;
    flex: 1 1 auto;
    justify-content: flex-start;
    padding: 0 4px;
  }

  .site-header .nav-menu-toggle { display: flex; }

  body.public-home-marketplace .site-header.home-site-header .site-navigation,
  body.client-dashboard .site-header.home-site-header .site-navigation,
  body:not(.public-home-marketplace) .site-header .site-navigation {
    display: none !important;
    width: 100%;
    min-height: 0;
    flex: 1 0 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    order: 3;
    gap: 3px;
    padding: 8px;
    border: 1px solid #393939;
    border-radius: 12px;
    background: #191919;
  }

  body.public-home-marketplace .site-header.home-site-header.is-menu-open .site-navigation,
  body.client-dashboard .site-header.home-site-header.is-menu-open .site-navigation,
  body:not(.public-home-marketplace) .site-header.is-menu-open .site-navigation {
    display: flex !important;
  }

  body.public-home-marketplace .site-header.home-site-header .site-navigation a,
  body.client-dashboard .site-header.home-site-header .site-navigation a,
  body:not(.public-home-marketplace) .site-header .site-navigation a {
    min-height: 44px;
    justify-content: flex-start;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 14px;
  }

  .site-header .nav-actions {
    display: none !important;
    width: 100%;
    flex: 1 0 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    order: 4;
    padding: 8px 2px 4px;
    border-top: 1px solid #393939;
  }

  .site-header.is-menu-open .nav-actions { display: flex !important; }
  .site-header .nav-actions > .btn { min-height: 42px; }
  .site-header .currency-select { min-height: 40px; }
  .site-header .balance-box { min-height: 38px; display: inline-flex; align-items: center; }
}

@media (max-width: 600px) {
  .site-header .nav-actions { gap: 8px; }
  .site-header .nav-actions .currency-select { width: auto; min-width: 92px; }
  .site-header .nav-actions .referral-link-box { flex: 1 1 100%; }
  .site-header .nav-actions .referral-link-box input { width: min(52vw, 220px); max-width: 100%; }
  body.public-home-marketplace .site-header .balance-box,
  body.client-dashboard .site-header .balance-box { display: inline-flex; }
}

@media (max-width: 1040px) and (orientation: landscape) {
  .site-header.is-menu-open {
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .nav-menu-toggle span { transition: none; }
}

@media (max-width: 900px) {
  body:not(.public-home-marketplace) .site-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  body:not(.public-home-marketplace) .site-header .site-navigation {
    order: 3;
    width: 100%;
    justify-content: center;
    overflow-x: auto;
  }

  body:not(.public-home-marketplace) .site-header .nav-actions { justify-content: center; }
}

@media (max-width: 600px) {
  body:not(.public-home-marketplace) main,
  body:not(.public-home-marketplace) .page-content {
    width: min(100% - 20px, 720px);
    margin-top: 16px;
  }

  body:not(.public-home-marketplace) .site-header .site-navigation a {
    padding: 8px 7px;
    font-size: 11px;
  }
}

.site-header .theme-toggle {
  display: inline-flex;
  min-height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid #454545;
  border-radius: 10px;
  color: #e4e4e7;
  background: #303030;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}

.site-header .theme-toggle:hover { border-color: #22b8c7; background: #383838; }

:root[data-theme="light"] {
  color-scheme: light;
  --site-canvas: #f4f7fb;
  --site-surface: #fff;
  --site-surface-raised: #f1f5f9;
  --site-border: #dbe3ee;
  --site-text: #263248;
  --site-muted: #607087;
}

:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) {
  color: #263248;
  background: #f4f7fb;
}

:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .site-header,
:root[data-theme="light"] body.public-home-marketplace .site-header.home-site-header,
:root[data-theme="light"] body.client-dashboard .site-header.home-site-header {
  color: #263248;
  background: #fff;
  box-shadow: 0 4px 18px #17233c12;
}

:root[data-theme="light"] .site-header .logo-area,
:root[data-theme="light"] body.public-home-marketplace .site-header.home-site-header .logo-area,
:root[data-theme="light"] body.client-dashboard .site-header.home-site-header .logo-area {
  color: #17233c;
}

:root[data-theme="light"] body.public-home-marketplace .visitor-hero-copy .landing-eyebrow,
:root[data-theme="light"] body.public-home-marketplace .visitor-section-heading .landing-eyebrow {
  color: #087989;
}

:root[data-theme="light"] .site-header .site-navigation,
:root[data-theme="light"] body.public-home-marketplace .site-header.home-site-header .site-navigation,
:root[data-theme="light"] body.client-dashboard .site-header.home-site-header .site-navigation {
  background: #f1f5f9;
}

:root[data-theme="light"] .site-header .site-navigation a,
:root[data-theme="light"] body.public-home-marketplace .site-header.home-site-header .site-navigation a,
:root[data-theme="light"] body.client-dashboard .site-header.home-site-header .site-navigation a {
  color: #42516a;
}

:root[data-theme="light"] .site-header .site-navigation a[aria-current="page"],
:root[data-theme="light"] .site-header .site-navigation a:hover {
  color: #fff;
  background: #16798b;
}

:root[data-theme="light"] .site-header .nav-menu-toggle,
:root[data-theme="light"] .site-header .theme-toggle {
  border-color: #d5deea;
  color: #263248;
  background: #f5f7fb;
}

:root[data-theme="light"] .site-header .theme-toggle:hover,
:root[data-theme="light"] .site-header .nav-menu-toggle:hover {
  border-color: #22a8b7;
  background: #e9f7f8;
}

:root[data-theme="light"] .site-header .nav-actions {
  border-color: #dbe3ee;
}

:root[data-theme="light"] .site-header .nav-actions .currency-select,
:root[data-theme="light"] .site-header .nav-actions .referral-link-box,
:root[data-theme="light"] .site-header .nav-actions .referral-link-box input,
:root[data-theme="light"] .site-header .nav-actions .referral-link-box button {
  border-color: #d5deea;
  color: #263248;
  background: #f5f7fb;
}

:root[data-theme="light"] .site-header .balance-box {
  border-color: #dbe3ee;
  color: #263248;
  background: #f5f7fb;
}

:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .account-card,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .page-notice,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .topup-dashboard .account-card,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .crypto-payment-dialog,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .footer-dialog,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .support-widget {
  border-color: #dbe3ee;
  color: #263248;
  background: #fff;
  box-shadow: 0 8px 24px #17233c0c;
}

:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .account-card h1,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .account-card h2,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .account-card h3,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .page-notice h1,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .page-notice h2,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .topup-step-title {
  color: #17233c;
}

:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .page-description,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .topup-muted,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .topup-rate,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .topup-step-intro,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .password-change-form label,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) #information-content {
  color: #607087;
}

:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .account-card input,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .account-card select,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .account-card textarea,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .password-change-form input,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) main > input,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) main > select,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) main > textarea,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .auth-dialog form input,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .topup-dashboard input,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .topup-dashboard select {
  border-color: #cbd5e1;
  color: #263248;
  background: #fff;
}

:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .account-table-wrap th {
  border-color: #e2e8f0;
  color: #526179;
  background: #f1f5f9;
}

:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .account-table-wrap td {
  border-color: #e2e8f0;
  color: #263248;
}

:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .page-footer,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .site-footer {
  color: #526179;
  background: #eaf0f6;
}

:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .page-footer a,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .site-footer a,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) #information-content a {
  color: #126a78;
}

:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .topup-method-card,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .topup-stepper button,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .topup-step-actions button {
  border-color: #d5deea;
  color: #263248;
  background: #f5f7fb;
}

:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .topup-method-card[aria-pressed="true"] {
  border-color: #22a8b7;
  background: #e5f7f8;
}

:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .crypto-payment-address {
  color: #263248;
  background: #f1f5f9;
}

:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .auth-dialog-heading h2,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .crypto-payment-dialog h2,
:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) .auth-dialog form label {
  color: #263248;
}

:root[data-theme="light"] body.public-home-marketplace,
:root[data-theme="light"] body.client-dashboard {
  color: #263248;
  background: #eef2f6;
}

:root[data-theme="light"] body:not(.public-home-marketplace):not(.client-dashboard) {
  background: #eef2f6;
}

:root[data-theme="light"] body.public-home-marketplace .services-sidebar,
:root[data-theme="light"] body.public-home-marketplace .country-selector-panel,
:root[data-theme="light"] body.client-dashboard .services-sidebar,
:root[data-theme="light"] body.client-dashboard .country-selector-panel,
:root[data-theme="light"] body.client-dashboard .orders-panel,
:root[data-theme="light"] body.client-dashboard .session-history {
  border: 1px solid #dbe3ee;
  color: #263248;
  background: #fff;
  box-shadow: 0 8px 24px #17233c0c;
}

:root[data-theme="light"] body.public-home-marketplace .dashboard-tab-heading,
:root[data-theme="light"] body.client-dashboard .dashboard-tab-heading {
  color: #fff;
  background: #16798b;
}

:root[data-theme="light"] body.public-home-marketplace .dashboard-tab-heading h2,
:root[data-theme="light"] body.client-dashboard .dashboard-tab-heading h2 {
  color: #fff;
}

:root[data-theme="light"] body.public-home-marketplace .catalog-label,
:root[data-theme="light"] body.client-dashboard .catalog-label {
  color: #607087;
}

:root[data-theme="light"] body.public-home-marketplace .services-sidebar .search-box,
:root[data-theme="light"] body.public-home-marketplace .services-sidebar .all-services-select,
:root[data-theme="light"] body.public-home-marketplace .all-services-trigger,
:root[data-theme="light"] body.public-home-marketplace .country-selector-panel .search-box,
:root[data-theme="light"] body.client-dashboard .services-sidebar .search-box,
:root[data-theme="light"] body.client-dashboard .country-selector-panel .search-box,
:root[data-theme="light"] body.client-dashboard .country-filter-row .country-filter {
  border-color: #cbd5e1;
  color: #263248;
  background: #fff;
}

:root[data-theme="light"] body.public-home-marketplace .all-services-options {
  border-color: #d5deea;
  background: #fff;
  box-shadow: 0 12px 30px #17233c24;
}

:root[data-theme="light"] body.public-home-marketplace .all-services-option {
  color: #263248;
}

:root[data-theme="light"] body.public-home-marketplace .all-services-option .service-name {
  color: #263248;
}

:root[data-theme="light"] body.public-home-marketplace .all-services-option .service-price {
  color: #607087;
}

:root[data-theme="light"] body.public-home-marketplace .all-services-option:hover,
:root[data-theme="light"] body.public-home-marketplace .all-services-option:focus-visible,
:root[data-theme="light"] body.public-home-marketplace .all-services-option[aria-selected="true"] {
  color: #fff;
  background: #126778;
}

:root[data-theme="light"] body.public-home-marketplace .all-services-option:hover .service-name,
:root[data-theme="light"] body.public-home-marketplace .all-services-option:focus-visible .service-name,
:root[data-theme="light"] body.public-home-marketplace .all-services-option[aria-selected="true"] .service-name,
:root[data-theme="light"] body.public-home-marketplace .all-services-option:hover .service-price,
:root[data-theme="light"] body.public-home-marketplace .all-services-option:focus-visible .service-price,
:root[data-theme="light"] body.public-home-marketplace .all-services-option[aria-selected="true"] .service-price {
  color: #fff;
}

:root[data-theme="light"] body.public-home-marketplace .services-sidebar .search-box::placeholder,
:root[data-theme="light"] body.public-home-marketplace .country-selector-panel .search-box::placeholder,
:root[data-theme="light"] body.client-dashboard .services-sidebar .search-box::placeholder {
  color: #738198;
}

:root[data-theme="light"] body.public-home-marketplace #services-view .service-item,
:root[data-theme="light"] body.client-dashboard #services-view .service-item {
  color: #34425c;
  background: #f1f5f9;
}

:root[data-theme="light"] body.public-home-marketplace #services-view .service-item:hover,
:root[data-theme="light"] body.client-dashboard #services-view .service-item:hover {
  background: #e7edf5;
}

:root[data-theme="light"] body.public-home-marketplace #services-view .service-item.active,
:root[data-theme="light"] body.client-dashboard #services-view .service-item.active {
  border-color: #83cbd2;
  color: #075c68 !important;
  background: #e4f6f7 !important;
}

:root[data-theme="light"] body.public-home-marketplace .service-name,
:root[data-theme="light"] body.client-dashboard .service-name,
:root[data-theme="light"] body.public-home-marketplace .country-info h4,
:root[data-theme="light"] body.client-dashboard .country-info h4,
:root[data-theme="light"] body.client-dashboard .country-price {
  color: #263248;
}

:root[data-theme="light"] body.public-home-marketplace .service-price,
:root[data-theme="light"] body.client-dashboard .service-price,
:root[data-theme="light"] body.client-dashboard .country-price span {
  color: #607087;
}

:root[data-theme="light"] body.public-home-marketplace .country-selector-panel .country-card,
:root[data-theme="light"] body.client-dashboard .country-card {
  border: 1px solid #e2e8f0;
  color: #263248;
  background: #f7f9fc;
}

:root[data-theme="light"] body.public-home-marketplace .operator-offers-panel,
:root[data-theme="light"] body.client-dashboard .operator-offers-panel {
  border: 1px solid #dbe3ee;
  color: #263248;
  background: #f1f5f9;
}

:root[data-theme="light"] body.public-home-marketplace .operator-offers-panel h5,
:root[data-theme="light"] body.public-home-marketplace .operator-offer-row strong {
  color: #34425c;
}

:root[data-theme="light"] body.public-home-marketplace .operator-offer-row {
  border-color: #dbe3ee;
}

:root[data-theme="light"] body.public-home-marketplace #live-monitor,
:root[data-theme="light"] body.client-dashboard #live-monitor {
  border: 1px solid #dbe3ee;
  color: #263248;
  background: #fff;
}

:root[data-theme="light"] body.public-home-marketplace #live-monitor .monitor-box,
:root[data-theme="light"] body.client-dashboard #live-monitor .monitor-box {
  border-color: #dbe3ee;
  color: #263248 !important;
  background: #f1f5f9;
}

:root[data-theme="light"] body.public-home-marketplace .session-history,
:root[data-theme="light"] body.public-home-marketplace .home-faq,
:root[data-theme="light"] body.public-home-marketplace .visitor-proof-card,
:root[data-theme="light"] body.public-home-marketplace .visitor-how,
:root[data-theme="light"] body.public-home-marketplace .visitor-home-content .landing-payments,
:root[data-theme="light"] body.public-home-marketplace .visitor-home-content .landing-rental-link,
:root[data-theme="light"] body.client-dashboard .account-card {
  border: 1px solid #dbe3ee;
  color: #263248;
  background: #fff;
  box-shadow: 0 6px 20px #17233c0c;
}

:root[data-theme="light"] body.public-home-marketplace .visitor-hero {
  border-color: #dbe3ee;
  background: linear-gradient(125deg, #fff, #edf5fa);
}

:root[data-theme="light"] body.public-home-marketplace .visitor-hero-copy h1,
:root[data-theme="light"] body.public-home-marketplace .visitor-hero-copy h2,
:root[data-theme="light"] body.public-home-marketplace .visitor-proof-card h2,
:root[data-theme="light"] body.public-home-marketplace .visitor-section-heading h2,
:root[data-theme="light"] body.public-home-marketplace .visitor-steps h3,
:root[data-theme="light"] body.public-home-marketplace .home-faq .section-heading-row h2,
:root[data-theme="light"] body.public-home-marketplace .home-faq summary,
:root[data-theme="light"] body.client-dashboard .account-card h1,
:root[data-theme="light"] body.client-dashboard .account-card h2,
:root[data-theme="light"] body.client-dashboard .account-card h3 {
  color: #17233c;
}

:root[data-theme="light"] body.public-home-marketplace .visitor-hero-copy > p:not(.landing-eyebrow),
:root[data-theme="light"] body.public-home-marketplace .visitor-proof-card p,
:root[data-theme="light"] body.public-home-marketplace .visitor-section-heading > p:last-child,
:root[data-theme="light"] body.public-home-marketplace .visitor-steps p,
:root[data-theme="light"] body.public-home-marketplace .home-faq details p {
  color: #607087;
}

:root[data-theme="light"] body.public-home-marketplace .visitor-steps article {
  border: 1px solid #e2e8f0;
  background: #f7f9fc;
}

:root[data-theme="light"] body.public-home-marketplace .visitor-social-proof {
  border-color: #b7dfe3;
  color: #24505a;
  background: #eaf8f9;
}

:root[data-theme="light"] body.public-home-marketplace .visitor-social-proof strong {
  color: #087989;
}

:root[data-theme="light"] body.public-home-marketplace .visitor-home-content .landing-rental-link {
  border-color: #dbe3ee;
  color: #126a78;
}

:root[data-theme="light"] body.public-home-marketplace .visitor-home-content .landing-rental-link small,
:root[data-theme="light"] body.public-home-marketplace .visitor-home-content .landing-payments-label {
  color: #607087;
}

:root[data-theme="light"] body.public-home-marketplace .visitor-home-content .payment-brand-list > span {
  border-color: #dbe3ee;
  color: #34425c;
  background: #fff;
}

:root[data-theme="light"] body.public-home-marketplace .home-faq details {
  border-color: #e2e8f0;
}

:root[data-theme="light"] body.public-home-marketplace .site-footer,
:root[data-theme="light"] body.client-dashboard .site-footer {
  border-color: #dbe3ee;
  color: #526179;
  background: #eaf0f6;
}

:root[data-theme="light"] body.public-home-marketplace .site-footer a,
:root[data-theme="light"] body.client-dashboard .site-footer a {
  color: #126a78;
}

:root[data-theme="light"] body.client-dashboard .session-history th {
  color: #526179;
  background: #f1f5f9;
}

:root[data-theme="light"] body.client-dashboard .session-history td {
  border-color: #e2e8f0;
  color: #263248;
}

:root[data-theme="light"] body.client-dashboard .orders-empty-state {
  color: #526179;
  background: #f1f5f9;
}

@media (max-width: 1040px) {
  :root[data-theme="light"] .site-header .nav-actions {
    background: #fff;
  }
}

@media (max-width: 600px) {
  .site-header .theme-toggle {
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
  }

}

.site-header .logo-area { order: 0; }
.site-header .site-navigation { order: 1; }
.site-header .nav-actions { order: 2; }
.site-header .account-menu { order: 3; }
.site-header .theme-toggle { order: 4; }
.site-header .nav-menu-toggle { order: 5; }

.site-header .theme-toggle {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 9px;
  border: 0;
  border-radius: 50%;
  color: #e4e4e7;
  background: transparent;
}

.site-header .theme-toggle:hover { background: #383838; }
.site-header .theme-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:root:not([data-theme="light"]) .theme-icon-moon,
:root[data-theme="light"] .theme-icon-sun { display: none; }
:root[data-theme="light"] .site-header .theme-toggle { color: #263248; }
:root[data-theme="light"] .site-header .theme-toggle:hover { background: #e7eef5; }

.site-header .account-menu {
  position: relative;
  display: inline-flex;
  min-width: 0;
  align-items: center;
  flex: 0 0 auto;
}

.site-header .account-menu[hidden] { display: none !important; }

.site-header .account-menu-toggle {
  display: inline-flex;
  min-height: 40px;
  max-width: min(220px, 20vw);
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  color: #f4f4f5;
  background: #16798b;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.site-header .account-menu-toggle span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header .account-menu-toggle svg {
  width: 11px;
  height: 8px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.site-header .account-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 1100;
  display: none;
  min-width: 220px;
  padding: 6px;
  border: 1px solid #454545;
  border-radius: 0 0 10px 10px;
  background: #16798b;
  box-shadow: 0 12px 24px #10151d44;
}

.site-header .account-menu:hover .account-menu-dropdown,
.site-header .account-menu:focus-within .account-menu-dropdown,
.site-header .account-menu.is-open .account-menu-dropdown { display: grid; }

.site-header .account-menu-dropdown a,
.site-header .account-menu-dropdown button {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  padding: 9px 10px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: 14px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.site-header .account-menu-dropdown a:hover,
.site-header .account-menu-dropdown button:hover { background: #ffffff20; }

:root[data-theme="light"] .site-header .account-menu-toggle { color: #fff; background: #16798b; }
:root[data-theme="light"] .site-header .account-menu-dropdown { border-color: #b7dfe3; background: #16798b; }

@media (max-width: 1040px) {
  .site-header .logo-area { order: 0; }
  .site-header .theme-toggle { order: 1; }
  .site-header .account-menu { order: 2; }
  .site-header .nav-menu-toggle { order: 3; }
  .site-header .site-navigation { order: 4; }
  .site-header .nav-actions { order: 5; }

  .site-header .account-menu {
    width: auto;
    flex: 0 1 auto;
    flex-direction: row;
  }

  .site-header .account-menu-toggle {
    min-height: 42px;
    max-width: min(34vw, 180px);
    justify-content: center;
    border-radius: 8px;
  }

  .site-header .account-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: min(280px, calc(100vw - 20px));
    border-radius: 0 0 10px 10px;
    box-shadow: 0 12px 24px #10151d44;
  }

  .site-header .nav-actions {
    display: flex !important;
    width: 100%;
    flex: 1 0 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 6px 2px;
    border-top: 1px solid #393939;
  }

  :root[data-theme="light"] .site-header .account-menu-dropdown {
    border-color: #b7dfe3;
    background: #16798b;
  }

  :root[data-theme="light"] .site-header .account-menu-dropdown a,
  :root[data-theme="light"] .site-header .account-menu-dropdown button {
    color: #fff;
  }

  :root[data-theme="light"] .site-header .nav-actions {
    border-color: #dbe3ee;
  }
}

@media (max-width: 600px) {
  .site-header .theme-toggle { min-width: 44px; width: 44px; height: 44px; }
  .site-header .nav-menu-toggle { min-width: 44px; }
}

@media (min-width: 1041px) {
  .site-header .site-navigation {
    justify-content: flex-start;
    overflow: visible;
  }

  .site-header .account-menu { margin-left: auto; }
}

:root[data-theme="light"] body.public-home-marketplace .country-info h4,
:root[data-theme="light"] body.public-home-marketplace .country-info .country-price,
:root[data-theme="light"] body.public-home-marketplace .country-tab-heading > span,
:root[data-theme="light"] body.client-dashboard .country-tab-heading > span {
  color: #263248;
}

:root[data-theme="light"] body.public-home-marketplace .country-price span,
:root[data-theme="light"] body.public-home-marketplace .country-offer-copy p,
:root[data-theme="light"] body.client-dashboard .country-info p {
  color: #607087;
}

:root[data-theme="light"] body.public-home-marketplace .favorite-toggle,
:root[data-theme="light"] body.client-dashboard .favorite-toggle {
  color: #607087;
}

:root[data-theme="light"] body.public-home-marketplace .orders-empty-state,
:root[data-theme="light"] body.public-home-marketplace .operator-offer-price {
  color: #526179;
}

@media (max-width: 700px) {
  body.public-home-marketplace .services-list,
  body.client-dashboard .services-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  body.public-home-marketplace #services-view .service-item,
  body.client-dashboard #services-view .service-item {
    min-width: 0;
    grid-template-columns: 21px minmax(0, 1fr);
    column-gap: 4px;
    padding: 5px;
  }

  body.public-home-marketplace .service-mark,
  body.client-dashboard .service-mark {
    width: 21px;
    height: 21px;
    font-size: 8px;
  }

  body.public-home-marketplace .service-name,
  body.client-dashboard .service-name {
    font-size: 10px;
  }
}

.site-header .auth-nav-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 6px 4px;
  color: #58b8ff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.site-header .auth-nav-link:hover { color: #91d1ff; text-decoration: underline; }
:root[data-theme="light"] .site-header .auth-nav-link { color: #0756b5; }
:root[data-theme="light"] .site-header .auth-nav-link:hover { color: #063f83; }

:root[data-theme="light"] body.public-home-marketplace .visitor-hero-copy .landing-actions .landing-primary {
  border-color: #126778;
  color: #fff;
  background: #126778;
}

:root[data-theme="light"] body.public-home-marketplace .visitor-hero-copy .landing-actions .landing-primary:hover {
  border-color: #0e5664;
  background: #0e5664;
}

:root[data-theme="light"] body.public-home-marketplace .visitor-hero-copy .landing-actions .landing-secondary {
  border-color: #126778;
  color: #07536a;
  background: #fff;
}

:root[data-theme="light"] body.public-home-marketplace .visitor-hero-copy .landing-actions .landing-secondary:hover {
  border-color: #0e5664;
  color: #fff;
  background: #0e5664;
}

:root[data-theme="light"] body.public-home-marketplace .site-header .nav-actions .auth-nav-link {
  color: #064b9b;
  font-size: 14px;
  font-weight: 750;
}

:root[data-theme="light"] body.public-home-marketplace .site-header .nav-actions .auth-nav-link:hover {
  color: #06366f;
}

:root[data-theme="light"] body.public-home-marketplace .site-header.home-site-header .nav-actions {
  border: 1px solid #d5deea;
  background: #f1f5f9;
}

:root[data-theme="light"] body.public-home-marketplace .site-header .currency-select-label {
  color: #42516a;
}

@media (max-width: 700px) {
  .site-header,
  body.public-home-marketplace .site-header.home-site-header,
  body.client-dashboard .site-header.home-site-header {
    display: grid !important;
    width: 100%;
    position: static !important;
    top: auto !important;
    grid-template-columns: minmax(0, 1fr) 40px minmax(0, auto) 44px;
    grid-template-areas:
      "logo theme account menu"
      "nav nav nav nav"
      "actions actions actions actions";
    gap: 4px 6px;
    align-items: center;
    justify-content: stretch;
    padding: 6px 10px;
  }

  .site-header .logo-area,
  body.public-home-marketplace .site-header.home-site-header .logo-area,
  body.client-dashboard .site-header.home-site-header .logo-area {
    grid-area: logo;
    min-width: 0;
    width: auto;
    min-height: 44px;
    flex: none;
    padding: 0 4px;
    overflow: hidden;
    font-size: 19px;
    white-space: nowrap;
  }

  .site-header .theme-toggle {
    grid-area: theme;
    justify-self: end;
  }

  .site-header .account-menu {
    grid-area: account;
    justify-self: end;
  }

  .site-header .nav-menu-toggle {
    grid-area: menu;
    justify-self: end;
  }

  .site-header .site-navigation {
    grid-area: nav;
  }

  .site-header .nav-actions {
    grid-area: actions;
    width: auto;
    min-width: 0;
    flex: none;
    justify-self: stretch;
  }

  .site-header .theme-toggle { order: 1; }
  .site-header .account-menu { order: 2; }
  .site-header .nav-menu-toggle { order: 3; }
  .site-header .site-navigation { order: 4; }
  .site-header .nav-actions {
    width: 100%;
    flex: 1 0 100%;
    align-items: center;
    gap: 8px;
    order: 5;
    padding: 6px 2px;
  }

  body.public-home-marketplace .site-header .nav-actions,
  body.client-dashboard .site-header .nav-actions,
  body:not(.public-home-marketplace) .site-header .nav-actions {
    justify-content: flex-end !important;
  }

  .site-header .currency-select-label { display: none !important; }
  .site-header .nav-actions .currency-select {
    width: 68px !important;
    min-width: 68px !important;
    max-width: 68px !important;
    padding: 6px 14px 6px 7px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-header .nav-actions .auth-nav-link {
    min-height: 40px;
    margin-left: 4px;
    color: #58b8ff;
  }

  :root[data-theme="light"] .site-header .nav-actions .auth-nav-link { color: #0756b5; }
  body.public-home-marketplace .site-header .balance-box,
  body.client-dashboard .site-header .balance-box { display: inline-flex; }
}
