.location-gateway[hidden] {
  display: none !important;
}

html.location-gateway-active #locationGateway {
  display: block !important;
}

.location-gateway {
  position: fixed;
  inset: 0;
  z-index: 10000;
  overflow: auto;
  background: #f4f9f4;
  color: #111;
  font-family: "DM Sans", Arial, sans-serif;
}

.location-gateway-header {
  position: sticky;
  z-index: 3;
  top: 0;
  display: flex;
  height: 72px;
  align-items: center;
  padding: 0 clamp(20px, 3vw, 42px);
  border-bottom: 1px solid #e6ebe4;
  background: rgba(255, 255, 255, .97);
}

.location-gateway-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #111;
  font: 800 24px/1 "Manrope", "DM Sans", Arial, sans-serif;
  text-decoration: none;
}

.location-gateway-brand-mark {
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 12px;
  background: #075f36 url("assets/time2income-brand.png?v=20261110-assets-fix2") center / 100% no-repeat;
}

.location-gateway-wordmark > span {
  color: #16a34a;
}

.location-gateway-content {
  display: grid;
  width: min(100% - 32px, 574px);
  min-height: calc(100dvh - 72px);
  align-content: center;
  justify-items: center;
  margin: 0 auto;
  padding: 24px 0 38px;
  box-sizing: border-box;
}

.location-gateway-pin {
  display: grid;
  width: 100px;
  height: 100px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(145deg, #079447, #087442);
  box-shadow: 0 13px 28px rgba(22, 163, 74, .26);
  color: #fff;
}

.location-gateway-pin svg {
  width: 54px;
  height: 54px;
  fill: currentColor;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.location-gateway-pin svg circle {
  fill: #087442;
  stroke: #087442;
}

.location-gateway h1 {
  margin: 0;
  color: #111827;
  font: 900 clamp(28px, 4vw, 38px)/1.15 "Manrope", "DM Sans", Arial, sans-serif;
  letter-spacing: -.045em;
  text-align: center;
}

.location-gateway-subtitle {
  margin: 9px 0 25px;
  color: #687783;
  font-size: 19px;
  font-weight: 600;
  text-align: center;
}

.location-gateway-card {
  position: relative;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 42px rgba(17, 42, 30, .13);
}

.location-gateway-gps,
.location-gateway-continue {
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  border: 0;
  border-radius: 15px;
  gap: 12px;
  color: #fff;
  cursor: pointer;
  font: 800 18px/1.2 "DM Sans", Arial, sans-serif;
  transition: filter .16s ease, transform .16s ease;
}

.location-gateway-gps {
  background: linear-gradient(135deg, #079447, #087442);
  box-shadow: 0 8px 18px rgba(8, 116, 66, .18);
}

.location-gateway-continue {
  background: #087442;
}

.location-gateway-gps:hover,
.location-gateway-continue:hover:not(:disabled) {
  filter: brightness(.94);
  transform: translateY(-1px);
}

.location-gateway-gps:disabled,
.location-gateway-continue:disabled {
  cursor: wait;
}

.location-gateway-gps-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.location-gateway-gps-title span {
  font-size: 25px;
  line-height: 1;
}

.location-gateway-status {
  min-height: 0;
  margin: 0;
  color: #52635d;
  font-size: 12px;
  text-align: center;
}

.location-gateway-status:not(:empty) {
  margin-top: 8px;
}

.location-gateway-status[data-state="error"] {
  color: #b42318;
}

.location-gateway-status[data-state="success"] {
  color: #08734a;
}

.location-gateway-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 17px 0;
  color: #687783;
  font-size: 14px;
  font-weight: 700;
}

.location-gateway-divider::before,
.location-gateway-divider::after {
  height: 1px;
  flex: 1;
  background: #dce4e0;
  content: "";
}

.location-gateway-search {
  position: relative;
}

.location-gateway-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
}

.location-gateway-input-wrap {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  border: 1px solid #51c99a;
  border-radius: 15px;
  background: #fff;
  color: #547b78;
}

.location-gateway-input-wrap:focus-within {
  border-color: #078052;
  box-shadow: 0 0 0 3px rgba(7, 128, 82, .12);
}

.location-gateway-input-wrap > span {
  font-size: 24px;
}

.location-gateway-input-wrap input {
  width: 100%;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #17231f;
  font: 600 16px "DM Sans", Arial, sans-serif;
}

.location-gateway-input-wrap input::placeholder {
  color: #7d8996;
}

.location-gateway-clear {
  border: 0;
  background: transparent;
  color: #52635d;
  cursor: pointer;
  font-size: 21px;
}

.location-gateway-suggestions {
  position: absolute;
  z-index: 4;
  top: calc(100% - 1px);
  right: 0;
  left: 0;
  max-height: 220px;
  overflow: auto;
  border: 1px solid #dce3e0;
  border-radius: 0 0 12px 12px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(20, 54, 42, .12);
}

.location-gateway-suggestion {
  display: block;
  width: 100%;
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid #eef1ef;
  background: #fff;
  color: #17231f;
  cursor: pointer;
  text-align: left;
}

.location-gateway-suggestion:last-child {
  border-bottom: 0;
}

.location-gateway-suggestion:hover,
.location-gateway-suggestion[aria-selected="true"] {
  background: #eff8f3;
}

.location-gateway-suggestion strong,
.location-gateway-suggestion small {
  display: block;
}

.location-gateway-suggestion strong {
  font-size: 14px;
}

.location-gateway-suggestion small {
  margin-top: 3px;
  color: #687783;
  font-size: 12px;
}

.location-gateway-selected {
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #e5f7ed;
}

.location-gateway-selected-pin {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 12px;
  background: #c5f1d8;
  color: #087442;
  font-size: 24px;
}

.location-gateway-selected-copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 2px;
}

.location-gateway-selected-copy > strong {
  color: #087442;
  font-size: 15px;
}

.location-gateway-selected-copy > span:not(.location-gateway-visually-hidden) {
  overflow: hidden;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-gateway-edit {
  display: inline-flex;
  min-width: 52px;
  height: 34px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid #a7ddbd;
  border-radius: 9px;
  background: #fff;
  color: #087442;
  cursor: pointer;
  font: 700 12px/1 "DM Sans", Arial, sans-serif;
}

.location-gateway-edit:hover,
.location-gateway-edit:focus-visible {
  border-color: #078052;
  background: #f0faf4;
}

.location-gateway-edit:focus-visible {
  outline: 2px solid #078052;
  outline-offset: 2px;
}

.location-gateway-privacy {
  margin: 9px 2px;
  color: #687783;
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}

.location-gateway-continue {
  min-height: 60px;
  gap: 16px;
}

.location-gateway-continue span {
  font-size: 28px;
  font-weight: 400;
}

.location-gateway-continue:disabled {
  border: 1px solid #cbd5d0;
  background: #e8eeea;
  color: #52635d;
  cursor: not-allowed;
  opacity: 1;
}

.location-context-link {
  display: grid;
  max-width: 165px;
  padding: 7px 11px;
  border: 2px solid #86efac;
  border-radius: 10px;
  background: #dcfce7;
  box-shadow: 0 0 0 3px rgba(134, 239, 172, .2);
  color: #064e3b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.location-context-link:hover,
.location-context-link:focus-visible {
  background: #bbf7d0;
  box-shadow: 0 0 0 4px rgba(134, 239, 172, .32);
  transform: translateY(-1px);
}

.location-context-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.location-context-link small {
  overflow: hidden;
  color: #166534;
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar .tablet-preferences .location-picker {
  position: relative;
  display: flex;
  flex: 0 1 164px;
  min-width: 112px;
}

.topbar .tablet-preferences .location-picker .location-context-link {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
}

.topbar .mobile-wallet-open-button {
  display: none;
}

.header-location-editor[hidden],
.header-location-editor-suggestions[hidden] {
  display: none !important;
}

.header-location-editor {
  position: fixed;
  z-index: 11000;
  width: min(340px, calc(100vw - 24px));
  box-sizing: border-box;
  padding: 14px;
  border: 1px solid #dceade;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(17, 42, 30, .2);
  color: #111;
}

.header-location-editor-label {
  display: block;
  margin-bottom: 8px;
  color: #315246;
  font-size: 12px;
  font-weight: 700;
}

.header-location-editor-field {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  border: 1px solid #a7ddbd;
  border-radius: 9px;
  background: #fff;
}

.header-location-editor-field:focus-within {
  border-color: #078052;
  box-shadow: 0 0 0 3px rgba(7, 128, 82, .12);
}

.header-location-editor-field svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: #087442;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.header-location-editor-field input {
  width: 100%;
  min-width: 0;
  padding: 9px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #17231f;
  font: 600 14px/1.3 "DM Sans", Arial, sans-serif;
}

.header-location-editor-field input::placeholder {
  color: #7d8996;
  font-weight: 400;
}

.header-location-editor-status {
  min-height: 0;
  margin: 0;
  color: #52635d;
  font-size: 11px;
  line-height: 1.4;
}

.header-location-editor-status:not(:empty) {
  margin-top: 8px;
}

.header-location-editor-status[data-state="error"] {
  color: #b42318;
}

.header-location-editor-status[data-state="success"] {
  color: #08734a;
}

.header-location-editor-suggestions {
  max-height: min(260px, 42vh);
  overflow: auto;
  margin-top: 8px;
  padding: 4px;
  border: 1px solid #e1e9e2;
  border-radius: 10px;
  background: #fff;
}

.header-location-editor-option {
  display: block;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #17231f;
  cursor: pointer;
  text-align: left;
}

.header-location-editor-option:hover,
.header-location-editor-option[aria-selected="true"],
.header-location-editor-option:focus-visible {
  outline: 0;
  background: #eff8f3;
}

.header-location-editor-option strong,
.header-location-editor-option small {
  display: block;
}

.header-location-editor-option strong {
  font-size: 13px;
}

.header-location-editor-option small {
  margin-top: 2px;
  color: #687783;
  font-size: 11px;
}

@media (max-width: 760px) {
  .topbar .tablet-preferences {
    display: contents;
  }

  .topbar .tablet-preferences .location-picker {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    max-width: none;
    flex: 1 1 100%;
    min-width: 0;
  }

  .topbar #walletOpenBtn {
    display: none !important;
  }

  .topbar .mobile-location-wallet-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    flex: 1 1 100%;
    gap: 8px;
    min-width: 0;
  }

  .topbar .mobile-location-wallet-row > .location-context-link,
  .topbar .mobile-location-wallet-row > .mobile-wallet-open-button {
    box-sizing: border-box;
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 52px;
    justify-content: center;
    padding: 7px 8px;
    border-radius: 11px;
    font-size: 12px;
  }

  .topbar .mobile-location-wallet-row > .location-context-link {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .topbar .mobile-location-wallet-row .location-context-link span {
    display: none;
  }

  .topbar .mobile-location-wallet-row .location-context-link small {
    display: block;
    min-width: 0;
    font-size: 11px;
  }

  .topbar .mobile-location-wallet-row > .mobile-wallet-open-button {
    display: inline-flex;
    gap: 6px;
    box-shadow: none;
    white-space: nowrap;
  }

  .topbar .mobile-location-wallet-row > .mobile-wallet-open-button[hidden] {
    display: none !important;
  }

  .topbar .mobile-location-wallet-row > .location-context-link[hidden] + .mobile-wallet-open-button,
  .topbar .mobile-location-wallet-row > .location-context-link:not([hidden]) + .mobile-wallet-open-button[hidden] {
    grid-column: 1 / -1;
  }

  .topbar .mobile-location-wallet-row > .mobile-wallet-open-button svg,
  .topbar .mobile-location-wallet-row .location-context-icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
  }

  .topbar .mobile-location-wallet-row > .mobile-wallet-open-button span {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 600px) {
  .location-gateway-header {
    height: 64px;
    padding-inline: 16px;
  }

  .location-gateway-brand {
    gap: 9px;
    font-size: 19px;
  }

  .location-gateway-brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 10px;
  }

  .location-gateway-content {
    width: min(100% - 28px, 430px);
    min-height: calc(100dvh - 64px);
    padding: 20px 0 28px;
  }

  .location-gateway-pin {
    width: 72px;
    height: 72px;
    margin-bottom: 12px;
    border-radius: 21px;
  }

  .location-gateway-pin svg {
    width: 40px;
    height: 40px;
  }

  .location-gateway h1 {
    font-size: clamp(24px, 7vw, 30px);
    letter-spacing: -.035em;
  }

  .location-gateway-subtitle {
    margin: 7px 0 18px;
    font-size: 14px;
  }

  .location-gateway-card {
    padding: 16px;
    border-radius: 17px;
  }

  .location-gateway-gps {
    min-height: 54px;
    border-radius: 12px;
    font-size: 14px;
  }

  .location-gateway-gps-title {
    gap: 7px;
  }

  .location-gateway-gps-title span {
    font-size: 20px;
  }

  .location-gateway-divider {
    gap: 10px;
    margin: 12px 0;
    font-size: 12px;
  }

  .location-gateway-input-wrap {
    min-height: 46px;
    gap: 8px;
    padding-inline: 11px;
    border-radius: 11px;
  }

  .location-gateway-input-wrap > span {
    font-size: 20px;
  }

  .location-gateway-input-wrap input {
    font-size: 13px;
  }

  .location-gateway-selected {
    min-height: 62px;
    gap: 10px;
    margin-top: 12px;
    padding: 9px 11px;
    border-radius: 12px;
  }

  .location-gateway-selected-pin {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 10px;
    font-size: 20px;
  }

  .location-gateway-selected-copy > strong {
    font-size: 12px;
  }

  .location-gateway-selected-copy > span:not(.location-gateway-visually-hidden) {
    font-size: 13px;
  }

  .location-gateway-edit {
    min-width: 46px;
    height: 30px;
    padding-inline: 8px;
    border-radius: 8px;
    font-size: 11px;
  }

  .location-gateway-privacy {
    font-size: 9px;
  }

  .location-gateway-continue {
    min-height: 50px;
    border-radius: 11px;
    font-size: 14px;
  }

  .location-gateway-continue span {
    font-size: 23px;
  }

  .location-context-link {
    max-width: 130px;
    padding: 5px 7px;
    border-radius: 8px;
    font-size: 10px;
  }

  .location-context-link small {
    font-size: 9px;
  }
}

/* Messages shortcut next to the location control */
.topbar .messages-header-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  white-space: nowrap;
  text-decoration: none;
  padding: 9px 14px;
  border: 1px solid #bfe7dc;
  border-radius: 10px;
  background: #eafaf3;
  color: #126b5f;
  font-weight: 800;
  box-shadow: 0 7px 20px rgba(26, 154, 136, .12);
}
.topbar .messages-header-btn[hidden] { display: none !important; }
.topbar .messages-header-btn svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.topbar .messages-header-btn .nav-unread-badge { top: -6px; right: -6px; box-shadow: 0 0 0 2px #064e3b; }

@media (max-width: 767px) {
  .topbar .mobile-location-wallet-row {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
  }
  .topbar .mobile-location-wallet-row > .location-context-link[hidden] + .mobile-wallet-open-button,
  .topbar .mobile-location-wallet-row > .location-context-link:not([hidden]) + .mobile-wallet-open-button[hidden] {
    grid-column: auto;
  }
  .topbar .mobile-location-wallet-row > .messages-header-btn {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 7px 8px;
    border-radius: 11px;
    font-size: 12px;
  }
}
@media (min-width: 768px) {
  .topbar .mobile-location-wallet-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    width: max-content;
  }
  .topbar .mobile-location-wallet-row > .location-context-link { flex: 0 1 auto; width: auto; margin-left: 0; }
  .topbar .mobile-location-wallet-row > .messages-header-btn { flex: 0 0 auto; width: auto; height: 44px; padding: 0 14px; font-size: 13px; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  body .topbar > .top-actions .tablet-preferences > .location-picker:has(.messages-header-btn:not([hidden])) {
    width: max-content;
    max-width: min(340px, 60%);
  }
}
@media (min-width: 1200px) {
  .topbar .location-picker:has(.messages-header-btn:not([hidden])),
  .topbar .tablet-preferences:has(.messages-header-btn:not([hidden])) { flex: 0 0 auto; width: auto; max-width: none; }
}
@media (min-width: 1200px) and (max-width: 1439px) {
  .topbar > .desktop-nav a { gap: 0; padding-inline: 8px; font-size: 13px; }
  .topbar > .desktop-nav a svg { display: none; }
  .topbar .mobile-location-wallet-row > .location-context-link { max-width: 132px; }
  .topbar .location-context-link .location-context-caret,
  .topbar .location-context-link svg:last-child { display: none; }
}
@media (min-width: 1200px) and (max-width: 1299px) {
  .topbar #signInBtn, .topbar #signUpBtn, .topbar #myProfileBtn, .topbar #walletOpenBtn {
    max-width: 76px; padding-inline: 6px; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .topbar > .desktop-nav a { padding-inline: 6px; font-size: 12.5px; }
}
@media (min-width: 1200px) and (max-width: 1239px) {
  .topbar .mobile-location-wallet-row > .location-context-link { max-width: 112px; }
  .topbar > .desktop-nav a { padding-inline: 4px; font-size: 12px; }
}@media (min-width: 1200px) and (max-width: 1239px) {
  .topbar .brand .brand-name { display: none; }
}@media (min-width: 1200px) and (max-width: 1239px) {
  body .topbar > .brand .brand-name { display: none !important; }
}@media (min-width: 1200px) and (max-width: 1239px) {
  body .topbar > .brand { flex: 0 0 auto; width: auto; min-width: 0; }
}

/* Uniform header controls: equal sizes and even spacing on every breakpoint */
.topbar .location-context-link span,
.topbar .location-context-link small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 767px) {
  html:not(.app-preview) .topbar {
    grid-template-columns: 44px repeat(3, minmax(0, 1fr));
    grid-template-rows: 44px auto 44px 44px 44px;
    gap: 6px 8px;
  }

  html:not(.app-preview) .topbar:has(#myProfileBtn:not([hidden])) {
    grid-template-rows: 44px auto 44px 44px;
  }

  html:not(.app-preview) .topbar > .brand {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  html:not(.app-preview) .topbar #myProfileBtn {
    grid-column: 3 / 5;
    grid-row: 1;
    justify-self: start;
    width: calc(100% - 52px);
    max-width: none !important;
    padding: 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  html:not(.app-preview) .topbar #myProfileBtn {
    display: block;
    line-height: 42px;
  }

  html:not(.app-preview) .topbar #myProfileBtn[hidden] {
    display: none;
  }

  html:not(.app-preview) .topbar .mobile-location-wallet-row {
    grid-column: 1 / -1;
    grid-row: 3;
    gap: 8px;
  }

  html:not(.app-preview) .topbar .mobile-location-wallet-row > .location-context-link,
  html:not(.app-preview) .topbar .mobile-location-wallet-row > .messages-header-btn,
  html:not(.app-preview) .topbar .mobile-location-wallet-row > .mobile-wallet-open-button {
    height: 44px;
    min-height: 44px;
    padding: 0 8px;
    border-radius: 10px;
  }

  html:not(.app-preview) .topbar .language-label,
  html:not(.app-preview) .topbar .locale-controls > .searchable-dropdown,
  html:not(.app-preview) .topbar .locale-controls .header-currency-control,
  html:not(.app-preview) .topbar #signInBtn,
  html:not(.app-preview) .topbar #signUpBtn {
    box-sizing: border-box;
    height: 44px;
    min-height: 44px;
  }

  html:not(.app-preview) .topbar #signInBtn {
    grid-column: 4;
    grid-row: 4;
  }

  html:not(.app-preview) .topbar #signUpBtn {
    grid-column: 1 / -1;
    grid-row: 5;
  }

  html:not(.app-preview) .topbar .locale-controls > .searchable-dropdown > input {
    height: 44px !important;
    min-height: 44px !important;
  }

  html:not(.app-preview) .topbar .header-currency-control .searchable-dropdown,
  html:not(.app-preview) .topbar .header-currency-control .searchable-dropdown > input {
    height: 42px !important;
    min-height: 42px !important;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  body .topbar .mobile-location-wallet-row > .location-context-link,
  body .topbar .mobile-location-wallet-row > .messages-header-btn {
    flex: 0 0 150px;
    width: 150px;
    max-width: none;
    height: 44px;
    min-height: 44px;
    padding: 0 10px;
    font-size: 13px;
  }

  body .topbar > .top-actions .tablet-preferences > .location-picker:has(.messages-header-btn:not([hidden])) {
    max-width: none;
  }

  body .topbar .tablet-preferences .locale-controls > .searchable-dropdown,
  body .topbar .tablet-preferences .locale-controls .header-currency-control,
  body .topbar #signInBtn,
  body .topbar #signUpBtn,
  body .topbar #myProfileBtn,
  body .topbar #walletOpenBtn {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: none !important;
    height: 44px;
    min-height: 44px;
  }

  body .topbar #myProfileBtn {
    grid-column: 4;
    grid-row: 3;
  }
}

@media (min-width: 1200px) {
  body .topbar .mobile-location-wallet-row > .messages-header-btn,
  body .topbar .mobile-location-wallet-row > .location-context-link {
    height: 42px;
    min-height: 42px;
  }
}

@media (max-width: 360px) {
  html:not(.app-preview) .topbar #myProfileBtn {
    justify-self: end;
    width: 96px;
    margin-right: 52px;
    padding: 0 8px;
    font-size: 12px;
  }
}

.topbar .header-notifications-button {
  position: relative;
  display: inline-flex;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #bfe7dc;
  border-radius: 12px;
  background: #eafaf3;
  color: #087343;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(8, 115, 67, .12);
}

.topbar .header-notifications-button:hover,
.topbar .header-notifications-button[aria-expanded="true"] {
  border-color: #087343;
  background: #d7f5e2;
}

.topbar .header-notifications-button:focus-visible {
  outline: 3px solid #86efac;
  outline-offset: 2px;
}

.topbar .header-notifications-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-notifications-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 2px solid #052619;
  border-radius: 999px;
  background: #e34848;
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  line-height: 14px;
  text-align: center;
}

.header-notifications-badge[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .topbar .mobile-location-wallet-row > .header-notifications-button {
    box-sizing: border-box;
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
    height: 44px;
    min-height: 44px;
    border-radius: 10px;
  }

  .header-notifications-badge {
    top: 1px;
    right: 1px;
    border-color: #eafaf3;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  body .topbar > .top-actions .tablet-preferences > .location-picker:has(.header-notifications-button) {
    max-width: min(390px, 68%);
  }

  body .topbar > .top-actions #messagesHeaderBtn {
    right: 296px;
  }

  body .topbar > .top-actions #appNotificationBell {
    position: absolute;
    top: 6px;
    right: 244px;
    z-index: 4;
  }

  body .topbar .mobile-location-wallet-row > .header-notifications-button {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }
}

.notification-center[hidden] {
  display: none !important;
}

.notification-center {
  position: fixed;
  z-index: 21000;
  right: clamp(12px, 3vw, 36px);
  box-sizing: border-box;
  display: flex;
  width: min(390px, calc(100vw - 24px));
  max-height: min(72vh, 560px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d5e9db;
  border-radius: 16px;
  background: #fff;
  color: #183247;
  box-shadow: 0 20px 60px rgba(5, 38, 25, .24);
}

.notification-center-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #e4eee7;
  background: #f7fbf8;
}

.notification-center-header h2 {
  margin: 0;
  color: #153a2a;
  font: 800 17px/1.3 'Manrope', sans-serif;
}

.notification-clear-button {
  padding: 6px 9px;
  border: 1px solid #d5e9db;
  border-radius: 8px;
  background: #fff;
  color: #087343;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.notification-clear-button:hover {
  background: #eafaf3;
}

.notification-center-list {
  display: grid;
  gap: 0;
  overflow: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.notification-center-list[hidden] {
  display: none !important;
}

.notification-center-item {
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr);
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid #edf2ee;
}

.notification-center-item.is-unread {
  background: #f0fbf3;
}

.notification-center-dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: transparent;
}

.notification-center-item.is-unread .notification-center-dot {
  background: #149346;
}

.notification-center-item p {
  margin: 0;
  color: #183247;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.notification-center-item time {
  display: block;
  margin-top: 5px;
  color: #687d8e;
  font-size: 11px;
}

.notification-center-empty {
  margin: 0;
  padding: 32px 18px;
  color: #687d8e;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 600px) {
  .notification-center {
    right: 12px;
    width: min(390px, calc(100vw - 48px));
    max-height: min(68vh, 520px);
    border-radius: 14px;
  }
}

html:not(.app-preview) .topbar > .brand {
  font-size: 11px;
}

/* Motto section */
.motto-section { text-align: center; padding: 44px 16px 36px; }
.motto-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #15803d; }
.motto-section h2 { margin: 0 auto 10px; max-width: 760px; font-size: clamp(26px, 4.4vw, 42px); line-height: 1.15; }
.motto-sub { margin: 0 auto 22px; max-width: 640px; font-size: 16px; line-height: 1.55; color: #475569; }
.motto-steps { list-style: none; margin: 0 auto 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 980px; text-align: left; }
.motto-steps li { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; }
.motto-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #15803d; color: #fff; font-weight: 800; }
.motto-steps small { font-size: 14px; line-height: 1.5; color: #64748b; }
.motto-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.motto-actions .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.motto-actions [data-i18n="mottoFindWork"],
.motto-actions [data-i18n="mottoDemo"] {
  border-color: #087343;
  background: linear-gradient(135deg, #149447 0%, #087343 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(8, 115, 67, .2);
}
.motto-actions [data-i18n="mottoFindWork"]:hover,
.motto-actions [data-i18n="mottoDemo"]:hover {
  background: linear-gradient(135deg, #087343 0%, #065f36 100%);
}
@media (max-width: 767px) { .motto-steps { grid-template-columns: 1fr; } .motto-actions .btn { flex: 1 1 100%; } }

/* Explore & Experience: welcome, tour, help button */
.explore-layer { position: fixed; inset: 0; z-index: 9000; }
.explore-welcome { display: grid; place-items: center; padding: 16px; background: rgba(2, 20, 12, .62); }
.explore-card { width: min(460px, 100%); max-height: 92vh; overflow: auto; padding: 26px 22px; border-radius: 20px; background: #fff; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.explore-card h2 { margin: 0 0 10px; font-size: clamp(24px, 6vw, 30px); line-height: 1.2; }
.explore-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #15803d; }
.explore-body { margin: 0 0 16px; font-size: 15px; line-height: 1.55; color: #475569; }
.explore-note { margin: 10px 0 8px; font-size: 12.5px; color: #64748b; }
.explore-btn { min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1px solid #cbd5e1; background: #fff; color: #0f172a; font: inherit; font-weight: 700; cursor: pointer; }
.explore-btn:disabled { opacity: .45; cursor: not-allowed; }
.explore-primary { background: #15803d; border-color: #15803d; color: #fff; }
.explore-ghost { border-color: transparent; background: transparent; color: #475569; }
.explore-card .explore-primary { width: 100%; }
.explore-choices { display: grid; gap: 10px; margin: 14px 0; }
.explore-choice { display: flex; flex-direction: column; gap: 4px; min-height: 64px; padding: 14px 16px; border: 2px solid #bbf7d0; border-radius: 14px; background: #f0fdf4; text-align: left; font: inherit; cursor: pointer; }
.explore-choice strong { font-size: 17px; color: #14532d; }
.explore-choice small { font-size: 13.5px; color: #475569; }
.explore-choice:hover, .explore-choice:focus-visible { border-color: #15803d; }
.explore-tour { pointer-events: auto; }
.explore-spot { position: fixed; display: none; border-radius: 14px; box-shadow: 0 0 0 9999px rgba(2, 20, 12, .62); outline: 3px solid #4ade80; pointer-events: none; transition: top .25s, left .25s, width .25s, height .25s; }
.explore-pop { position: fixed; width: min(340px, calc(100vw - 24px)); padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 18px 44px rgba(0,0,0,.35); }
.explore-pop.is-centered { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.explore-tour:has(.explore-pop.is-centered) { background: rgba(2, 20, 12, .62); }
.explore-pop h3 { margin: 0 0 6px; font-size: 18px; }
.explore-pop .explore-body { margin-bottom: 12px; }
.explore-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.explore-actions-right { display: flex; gap: 8px; }
.explore-btn:focus-visible, .explore-choice:focus-visible, .explore-fab:focus-visible, .explore-help-menu :is(a, button):focus-visible { outline: 3px solid #166534; outline-offset: 2px; }
.explore-fab { position: fixed; z-index: 8000; left: 14px; bottom: 14px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: #15803d; color: #fff; font: inherit; font-weight: 800; box-shadow: 0 8px 22px rgba(0,0,0,.3); cursor: pointer; }
.explore-help-menu { position: fixed; z-index: 8000; left: 14px; bottom: 66px; display: grid; min-width: 190px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.3); }
.explore-help-menu[hidden] { display: none; }
.explore-help-menu :is(a, button) { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border: 0; border-radius: 10px; background: transparent; color: #0f172a; font: inherit; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; }
.explore-help-menu :is(a, button):hover { background: #f0fdf4; }

.task-board-head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.task-board-head-actions .btn { min-height: 44px; }

/* Hero mode switch: larger, easier to see */
.hero .mode-switch, .mode-switch { display: flex; width: 100%; max-width: 560px; gap: 6px; padding: 6px; border-radius: 16px; }
.hero .mode-switch .mode-btn, .mode-switch .mode-btn { flex: 1 1 0; min-height: 56px; padding: 12px 14px; border-radius: 12px; font-size: 1.05rem; font-weight: 800; line-height: 1.2; }
@media (max-width: 480px) { .hero .mode-switch .mode-btn, .mode-switch .mode-btn { min-height: 54px; font-size: 1rem; padding: 10px 8px; } }

/* Tour dots, step action, last-used role */
.explore-dots { display: flex; gap: 6px; margin: 0 0 8px; }
.explore-dot { flex: 1 1 0; height: 6px; border-radius: 999px; background: #d1d5db; }
.explore-dot.is-on { background: #15803d; }
.explore-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin: 4px 0 10px; padding: 0 16px; border: 2px solid #15803d; border-radius: 12px; background: #f0fdf4; color: #166534; font-weight: 800; text-decoration: none; }
.explore-action[hidden] { display: none; }
.explore-choice.is-last { border-color: #15803d; }
.explore-last { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 999px; background: #dcfce7; color: #166534; font-size: .74rem; font-weight: 800; }

/* Demo role choice and final links */
.demo-choices { display: grid; gap: 10px; }
.demo-choice { display: grid; gap: 4px; min-height: 64px; padding: 14px 16px; border: 2px solid #cbd5e1; border-radius: 14px; background: #fff; color: #0f172a; font: inherit; text-align: left; cursor: pointer; }
.demo-choice:hover, .demo-choice:focus-visible { border-color: #15803d; background: #f0fdf4; }
.demo-choice small { color: #475569; }
.demo-final-links { display: flex; flex-wrap: wrap; gap: 10px; }
.demo-final-links > * { flex: 1 1 140px; }

/* Wallet token preview */
.wallet-token-balance {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #d8eee7;
  border-radius: 13px;
  background: linear-gradient(135deg, #f0faf6, #f5f9ff);
}
.wallet-token-details {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 12px;
}
.wallet-token-label { color: #486276; font-size: 13px; }
.wallet-token-amount { color: #102a43; font-size: 20px; overflow-wrap: anywhere; }
.wallet-token-details p { grid-column: 1 / -1; color: #657987; font-size: 12px; line-height: 1.55; }
@media (max-width: 480px) {
  .wallet-token-details { grid-template-columns: 1fr; }
  .wallet-token-details p { grid-column: 1; }
  .wallet-token-amount { font-size: 17px; }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .topbar #walletOpenBtn { pointer-events: auto; }
}

@media (min-width: 768px) and (max-width: 1199px) {
  body .topbar > .desktop-nav a,
  body .topbar .mobile-location-wallet-row > .location-context-link,
  body .topbar .mobile-location-wallet-row > .messages-header-btn,
  body .topbar .mobile-location-wallet-row > .header-notifications-button,
  body .topbar .tablet-preferences .locale-controls > .searchable-dropdown,
  body .topbar .tablet-preferences .locale-controls .header-currency-control,
  body .topbar #signInBtn,
  body .topbar #signUpBtn,
  body .topbar #myProfileBtn,
  body .topbar #walletOpenBtn {
    box-sizing: border-box;
    height: 40px !important;
    min-height: 40px !important;
  }

  body .topbar > .desktop-nav a {
    padding-inline: 8px;
  }

  body .topbar > .desktop-nav {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-right: 0;
  }

  body .topbar > .desktop-nav a {
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
  }

  body .topbar > .top-actions {
    display: grid !important;
    grid-row: 1 / 4;
    grid-template-columns: minmax(100px, 160px) minmax(90px, 140px) max-content max-content max-content 160px;
    grid-template-rows: 52px 50px 50px;
    justify-content: center;
    gap: 10px;
  }

  body .topbar > .top-actions > .tablet-preferences {
    display: contents;
  }

  body .topbar > .top-actions .tablet-preferences > .location-picker:has(.mobile-location-wallet-row) {
    position: static;
    display: contents;
    width: auto;
    max-width: none;
    min-width: 0;
    flex: initial;
  }

  body .topbar .mobile-location-wallet-row {
    display: contents;
    width: auto;
    min-width: 0;
  }

  body .topbar .mobile-location-wallet-row > .location-context-link {
    position: static !important;
    grid-column: 6;
    grid-row: 1;
    justify-self: end;
    flex: 0 0 160px;
    width: 160px;
    min-width: 160px;
    padding-inline: 8px;
  }

  body .topbar > .top-actions #locationContextLink {
    flex: 0 0 160px;
    width: 160px;
    min-width: 160px;
  }

  body .topbar > .top-actions > .tablet-preferences #locationContextLink {
    flex: 0 0 160px;
    width: 160px;
    min-width: 160px;
  }

  body .topbar .mobile-location-wallet-row > .messages-header-btn {
    position: static !important;
    grid-column: 6;
    grid-row: 3;
    justify-self: start;
    flex: 0 0 128px;
    width: 128px;
    min-width: 128px;
    padding-inline: 10px;
  }

  body .topbar > .top-actions #appNotificationBell {
    position: absolute !important;
    top: 70px;
    right: auto;
    left: calc(50% + 282px);
    z-index: 5;
    pointer-events: auto;
    flex: 0 0 40px;
    width: 40px;
    padding: 0;
  }

  body .topbar .tablet-preferences .locale-controls > .searchable-dropdown {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    width: 160px;
    min-width: 160px;
    max-width: 160px;
  }

  body .topbar .tablet-preferences .locale-controls .header-currency-control {
    grid-column: 2;
    grid-row: 3;
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    padding-inline: 8px;
  }

  body .topbar .tablet-preferences .locale-controls .searchable-dropdown > input,
  body .topbar .tablet-preferences .locale-controls .header-currency-control > .searchable-dropdown > input {
    height: 40px !important;
    min-height: 40px !important;
  }

  body .topbar #language,
  body .topbar #currencySelector {
    height: 40px !important;
    min-height: 40px !important;
  }

  body .topbar > .top-actions #language,
  body .topbar > .top-actions #currencySelector {
    height: 40px !important;
    min-height: 40px !important;
  }

  body .topbar .tablet-preferences .locale-controls .searchable-dropdown-toggle {
    height: 32px;
  }

  body .topbar #signInBtn,
  body .topbar #signUpBtn,
  body .topbar #myProfileBtn,
  body .topbar #walletOpenBtn {
    width: max-content;
    min-width: 0;
    max-width: none !important;
    padding-inline: 12px;
    white-space: nowrap;
  }

  body .topbar #signInBtn { grid-column: 3; grid-row: 3; }
  body .topbar #signUpBtn,
  body .topbar #myProfileBtn { grid-column: 4; grid-row: 3; }
  body .topbar #walletOpenBtn { grid-column: 5; grid-row: 3; }
}

@media (min-width: 1025px) and (max-width: 1199px) {
  body .topbar > .top-actions #appNotificationBell {
    left: calc(50% + 269px);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  body .topbar > .mobile-nav-toggle {
    display: grid;
    grid-column: 4;
    grid-row: 1;
    z-index: 3;
    width: 44px;
    height: 44px;
    justify-self: end;
    align-self: center;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(240, 253, 244, .45);
    border-radius: 10px;
    background: transparent;
    color: #f0fdf4;
    cursor: pointer;
  }

  body .topbar > .mobile-nav-toggle .close-icon,
  body .topbar > .mobile-nav-toggle[aria-expanded="true"] .menu-icon {
    display: none;
  }

  body .topbar > .mobile-nav-toggle[aria-expanded="true"] .close-icon {
    display: block;
  }

  body .topbar > .mobile-nav-toggle svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
  }

  body .topbar > .top-actions {
    position: static;
    display: none !important;
  }

  body .topbar.utility-menu-open > .top-actions {
    position: fixed;
    top: 180px;
    right: auto;
    left: max(0px, calc(100vw - 755px));
    z-index: 12000;
    box-sizing: border-box;
    display: grid !important;
    width: min(700px, calc(100vw - 32px));
    grid-template-columns: 160px 140px 82px minmax(124px, 1fr) 109px;
    grid-template-rows: 40px 40px;
    align-items: center;
    justify-content: stretch;
    gap: 10px;
    padding: 16px;
    border: 1px solid #d5e5dc;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(5, 38, 25, .22);
    pointer-events: auto;
  }

  body .topbar.utility-menu-open > .top-actions > .tablet-preferences,
  body .topbar.utility-menu-open > .top-actions > .tablet-preferences > .location-picker,
  body .topbar.utility-menu-open .mobile-location-wallet-row,
  body .topbar.utility-menu-open .locale-controls {
    position: static;
    display: contents;
    width: auto;
    max-width: none;
    min-width: 0;
    flex: initial;
  }

  body .topbar.utility-menu-open > .top-actions #locationContextLink {
    position: static !important;
    grid-column: 1;
    grid-row: 1;
    width: 160px;
    min-width: 160px;
    height: 40px;
  }

  body .topbar.utility-menu-open > .top-actions #messagesHeaderBtn {
    position: static !important;
    grid-column: 2;
    grid-row: 1;
    width: 140px;
    min-width: 140px;
    height: 40px;
  }

  body .topbar.utility-menu-open > .top-actions #appNotificationBell {
    position: static !important;
    grid-column: 3;
    grid-row: 1;
    width: 40px;
    height: 40px;
  }

  body .topbar.utility-menu-open > .top-actions .locale-controls > .searchable-dropdown {
    grid-column: 1;
    grid-row: 2;
    width: 160px;
    min-width: 160px;
    max-width: 160px;
    height: 40px;
  }

  body .topbar.utility-menu-open > .top-actions .header-currency-control {
    grid-column: 2;
    grid-row: 2;
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    height: 40px;
  }

  body .topbar.utility-menu-open > .top-actions #signInBtn,
  body .topbar.utility-menu-open > .top-actions #signUpBtn {
    grid-column: 3;
    grid-row: 2;
    width: max-content;
    min-width: 82px;
    height: 40px;
    padding-inline: 10px;
  }

  body .topbar.utility-menu-open > .top-actions #myProfileBtn {
    grid-column: 4;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    height: 40px;
  }

  body .topbar.utility-menu-open > .top-actions #walletOpenBtn {
    grid-column: 5;
    grid-row: 2;
    width: 109px;
    min-width: 109px;
    height: 40px;
  }
}

/* Explore demo */
.demo-layer { position: fixed; inset: 0; z-index: 9100; display: grid; place-items: center; padding: 16px; background: rgba(2,20,12,.7); overflow-y: auto; }
.demo-panel { width: min(100%, 460px); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 18px; border-radius: 20px; background: #fff; color: #0f172a; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.demo-badge { padding: 5px 10px; border-radius: 999px; background: #fef3c7; color: #92400e; font-size: .72rem; font-weight: 800; }
.demo-close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f1f5f9; color: #0f172a; font-size: 1.4rem; cursor: pointer; }
.demo-progress { margin: 10px 0 0; color: #15803d; font-size: .78rem; font-weight: 800; }
.demo-body h2 { margin: 6px 0; font-size: 1.3rem; line-height: 1.25; }
.demo-sub { margin: 0 0 12px; color: #475569; }
.demo-note { padding: 10px 12px; border-radius: 12px; background: #f0fdf4; color: #14532d; }
.demo-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.demo-chip { min-height: 44px; padding: 0 16px; border: 1px solid #cbd5e1; border-radius: 999px; background: #fff; color: #0f172a; font: inherit; font-weight: 700; cursor: pointer; }
.demo-chip.is-active { border-color: #15803d; background: #15803d; color: #fff; }
.demo-list { display: grid; gap: 10px; }
.demo-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px; border: 1px solid #e2e8f0; border-radius: 14px; }
.demo-info { display: grid; min-width: 0; font-size: .86rem; color: #475569; }
.demo-info strong { color: #0f172a; font-size: .95rem; }
.demo-rating { color: #b45309; font-weight: 700; }
.demo-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #dcfce7; color: #166534; font-weight: 800; }
.demo-avatar.is-large { width: 56px; height: 56px; font-size: 1.4rem; }
.demo-profile { display: grid; justify-items: start; gap: 4px; margin-bottom: 8px; }
.demo-facts { display: grid; gap: 2px; margin: 0 0 8px; }
.demo-facts dt { margin-top: 8px; color: #64748b; font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.demo-facts dd { margin: 0; }
.demo-chat { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: #f1f5f9; }
.demo-chat-note { margin: 0; color: #64748b; font-size: .76rem; font-weight: 700; }
.demo-bubble { max-width: 82%; margin: 0; padding: 9px 12px; border-radius: 14px 14px 14px 4px; background: #fff; }
.demo-bubble.is-me { justify-self: end; border-radius: 14px 14px 4px 14px; background: #15803d; color: #fff; }
.demo-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 16px; }
.demo-nav > * { flex: 1 1 140px; }
.demo-primary, .demo-secondary, .demo-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 12px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.demo-primary { border: 0; background: #15803d; color: #fff; }
.demo-secondary { border: 1px solid #15803d; background: #fff; color: #15803d; }
.demo-ghost { border: 1px solid #cbd5e1; background: #fff; color: #334155; }
.demo-panel :is(button, a):focus-visible { outline: 3px solid #166534; outline-offset: 2px; }
@media (prefers-reduced-motion: no-preference) { .demo-panel { animation: demo-in .2s ease-out; } @keyframes demo-in { from { opacity: 0; transform: translateY(10px); } } }
@media (prefers-reduced-motion: reduce) { .explore-spot { transition: none; } }

/* Single-level TIME2INCOME navigation for every viewport. */
body .topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex !important;
  width: 100%;
  height: 72px;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 clamp(12px, 3vw, 40px);
}

body .topbar > .brand {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

body .topbar > .brand .brand-mark {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
}

body .topbar > .brand .brand-name {
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

body .topbar > .mobile-nav-toggle {
  position: relative;
  z-index: 3;
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(240, 253, 244, .58);
  border-radius: 10px;
  background: transparent;
  color: #f0fdf4;
  cursor: pointer;
}

body .topbar > .mobile-nav-toggle svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

body .topbar > .mobile-nav-toggle .close-icon,
body .topbar > .mobile-nav-toggle[aria-expanded="true"] .menu-icon {
  display: none;
}

body .topbar > .mobile-nav-toggle[aria-expanded="true"] .close-icon {
  display: block;
}

body .topbar > .header-menu-panel {
  display: contents;
}

body .topbar > .header-menu-panel > .header-menu-sections {
  display: none;
}

body .topbar > .header-menu-panel > .top-actions {
  display: none !important;
}

body .topbar > .header-menu-panel > .desktop-nav {
  display: flex;
  flex: 0 0 auto;
  min-width: 0;
  width: auto;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0 12px 0 auto !important;
  padding: 0;
  overflow: visible;
}

body .topbar > .header-menu-panel > .desktop-nav a {
  display: inline-flex;
  flex: 0 0 auto;
  width: auto;
  min-width: max-content;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 8px;
  border-radius: 9px;
  color: #f0fdf4;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

body .topbar > .header-menu-panel > .desktop-nav .tablet-nav-icon {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

body .topbar:not(.header-menu-open) > .header-menu-panel > .desktop-nav a:nth-child(n + 6) {
  display: none !important;
}

body .topbar:not(.header-menu-open) > .header-menu-panel > .desktop-nav .header-post-task-link {
  border: 1px solid #4ade80;
  background: #4ade80;
  color: #052619;
}

body .topbar:not(.header-menu-open) > .header-menu-panel > .desktop-nav .header-post-task-link:hover,
body .topbar:not(.header-menu-open) > .header-menu-panel > .desktop-nav .header-post-task-link[aria-current="page"] {
  background: #86efac;
  color: #052619;
}

@media (min-width: 761px) and (max-width: 899px) {
  body .topbar:not(.header-menu-open) > .header-menu-panel > .desktop-nav .header-post-task-link {
    display: flex !important;
  }
}

body .topbar > #appNotificationBell {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
}

body .topbar > #appNotificationBell .notification-menu-label {
  display: none;
}

body .topbar.header-menu-open > .header-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 16px;
  z-index: 22000;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 32px));
  max-height: calc(100dvh - 96px);
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 16px;
  border: 1px solid #d5e5dc;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(5, 38, 25, .22);
}

body .topbar.header-menu-open .header-menu-panel > .desktop-nav {
  display: none !important;
}

body .topbar.header-menu-open .header-menu-panel > .header-menu-sections {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  min-width: 0;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-location-row,
body .topbar.header-menu-open .header-menu-panel .header-menu-messages-row,
body .topbar.header-menu-open .header-menu-panel .header-menu-locale-row,
body .topbar.header-menu-open .header-menu-panel .header-menu-profile-row,
body .topbar.header-menu-open .header-menu-panel .header-menu-wallet-row,
body .topbar.header-menu-open .header-menu-panel .header-menu-signout-row {
  display: contents;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-row {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 52px;
  padding: 0 10px;
  border: 0;
  border-bottom: 1px solid #e5ece7;
  border-radius: 10px;
  background: transparent;
  color: #173c2c;
  font: 700 17px/1.2 'DM Sans', sans-serif;
  text-align: left;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-row[hidden],
body .topbar.header-menu-open .header-menu-panel .messages-header-btn[hidden],
body .topbar.header-menu-open .header-menu-panel #myProfileBtn[hidden],
body .topbar.header-menu-open .header-menu-panel #walletOpenBtn[hidden],
body .topbar.header-menu-open .header-menu-panel #signUpBtn[hidden] {
  display: none !important;
}

body .topbar.header-menu-open .header-menu-panel .menu-item-icon {
  display: block;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-row::after {
  margin-left: auto;
  color: #173c2c;
  content: "\203A";
  font-size: 22px;
  line-height: 1;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-row:hover {
  background: #f0fdf4;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-row[aria-current="page"] {
  background: #e8f7ed;
  color: #064e3b;
}

body .topbar.header-menu-open .header-menu-panel .messages-header-btn {
  border: 0;
  border-bottom: 1px solid #e5ece7;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #173c2c;
  font: 700 17px/1.2 'DM Sans', sans-serif;
}

body .topbar.header-menu-open .header-menu-panel .messages-header-btn:hover {
  background: #f0fdf4;
}

body .topbar.header-menu-open .header-menu-panel .messages-header-btn .nav-unread-badge {
  position: static;
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 0 5px;
  border-radius: 999px;
  background: #e34848;
  box-shadow: none;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-location-row .location-context-link {
  display: flex;
  min-height: 60px;
  align-items: center;
  gap: 12px;
  padding: 5px 10px;
  border: 0;
  border-bottom: 1px solid #e5ece7;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #173c2c;
  font: 700 15px/1.2 'DM Sans', sans-serif;
  text-decoration: none;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-location-row .location-context-link > span {
  display: inline;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-location-row .location-context-link > small {
  margin-left: auto;
  color: #52635d;
  font-size: 12px;
  font-weight: 600;
}

body .topbar.header-menu-open .header-menu-panel > .top-actions {
  position: static;
  display: flex !important;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  max-width: none;
  align-items: stretch;
  justify-content: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  pointer-events: auto;
}

body .topbar.header-menu-open .header-menu-panel > .top-actions > .tablet-preferences,
body .topbar.header-menu-open .header-menu-panel .location-picker,
body .topbar.header-menu-open .header-menu-panel .mobile-location-wallet-row {
  position: static;
  display: contents;
  width: auto;
  max-width: none;
  min-width: 0;
  flex: initial;
}

body .topbar.header-menu-open .header-menu-panel .location-context-link,
body .topbar.header-menu-open .header-menu-panel .messages-header-btn,
body .topbar.header-menu-open .header-menu-panel .header-notifications-button,
body .topbar.header-menu-open .header-menu-panel #signInBtn,
body .topbar.header-menu-open .header-menu-panel #signUpBtn,
body .topbar.header-menu-open .header-menu-panel #myProfileBtn,
body .topbar.header-menu-open .header-menu-panel #walletOpenBtn {
  position: static;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: none;
  min-height: 48px;
  height: 48px;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 8px;
  border: 0;
  border-bottom: 1px solid #e5ece7;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #173c2c;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  text-overflow: clip;
  white-space: normal;
  flex: 0 0 auto !important;
  grid-column: auto !important;
  grid-row: auto !important;
  order: 0 !important;
}

body .topbar.header-menu-open .header-menu-panel .location-context-link {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 2px;
}

body .topbar.header-menu-open .header-menu-panel .location-context-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 20px;
  height: 20px;
}

body .topbar.header-menu-open .header-menu-panel .location-context-link > span,
body .topbar.header-menu-open .header-menu-panel .location-context-link > small {
  grid-column: 2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .topbar.header-menu-open .header-menu-panel .location-context-link > span {
  grid-row: 1;
}

body .topbar.header-menu-open .header-menu-panel .location-context-link > small {
  grid-row: 2;
  font-size: 11px;
}

body .topbar.header-menu-open .header-menu-panel .messages-header-btn > svg,
body .topbar.header-menu-open .header-menu-panel #walletOpenBtn > svg,
body .topbar.header-menu-open .header-menu-panel .header-notifications-button > svg {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

body .topbar.header-menu-open .header-menu-panel .header-notifications-button {
  position: relative;
}

body .topbar.header-menu-open .header-menu-panel .notification-menu-label {
  display: inline;
}

body .topbar.header-menu-open .header-menu-panel .header-notifications-badge,
body .topbar.header-menu-open .header-menu-panel .nav-unread-badge {
  position: static;
  flex: 0 0 auto;
  margin-left: auto;
}

body .topbar.header-menu-open .header-menu-panel .locale-controls {
  display: flex !important;
}

body .topbar.header-menu-open .header-menu-panel .language-menu-row {
  display: grid;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 48px;
  grid-template-columns: 100px minmax(0, 1fr);
  grid-template-rows: 48px;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  border-bottom: 1px solid #e5ece7;
  color: #173c2c;
  font-size: 13px;
  font-weight: 700;
}

body .topbar.header-menu-open .header-menu-panel .header-currency-control .menu-setting-label {
  flex: 0 0 92px;
}

body .topbar.header-menu-open .header-menu-panel .language-menu-row .language-label svg {
  width: 18px;
  height: 18px;
}

body .topbar.header-menu-open .header-menu-panel .language-menu-row > .searchable-dropdown {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 40px;
  min-height: 40px;
  grid-column: 2;
  grid-row: 1;
  border: 1px solid #d5e5dc;
  border-radius: 8px;
  background: #fff;
}

body .topbar.header-menu-open .header-menu-panel .locale-picker,
body .topbar.header-menu-open .header-menu-panel .currency-picker {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 40px !important;
  min-height: 40px !important;
  padding-inline: 10px 28px !important;
  border: 0;
  background: transparent;
  color: #173c2c;
  font-size: 13px;
  font-weight: 650;
}

body .topbar.header-menu-open .header-menu-panel #language,
body .topbar.header-menu-open .header-menu-panel #currencySelector {
  height: 40px !important;
  min-height: 40px !important;
}

body .topbar.header-menu-open .header-menu-panel .header-currency-control {
  display: flex !important;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 48px;
  flex: 0 0 48px;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  border-bottom: 1px solid #e5ece7;
  background: transparent;
}

body .topbar.header-menu-open .header-menu-panel .header-currency-control > .searchable-dropdown {
  display: flex;
  box-sizing: border-box;
  width: auto;
  min-width: 0;
  height: 40px;
  flex: 1 1 auto;
  border: 1px solid #d5e5dc;
  border-radius: 8px;
  background: #fff;
}

body .topbar.header-menu-open .header-menu-panel .header-currency-control .currency-symbol {
  flex: 0 0 20px;
  text-align: center;
}

body .topbar.header-menu-open .header-menu-panel .searchable-dropdown-toggle {
  height: 32px;
  flex: 0 0 92px;
}
}

body .topbar.header-menu-open .header-menu-panel .tablet-preferences .location-picker > .header-location-editor {
  position: fixed;
}

body .topbar.header-menu-open .header-menu-panel #signInBtn,
body .topbar.header-menu-open .header-menu-panel #signUpBtn,
body .topbar.header-menu-open .header-menu-panel #myProfileBtn,
body .topbar.header-menu-open .header-menu-panel #walletOpenBtn {
  max-width: none !important;
  padding-inline: 8px;
}

body .topbar.header-menu-open .header-menu-panel #myProfileBtn {
  overflow: visible;
  text-overflow: clip;
}

body .topbar.header-menu-open .header-menu-panel #walletOpenBtn > span {
  max-width: none;
  overflow: visible;
  white-space: normal;
}

@media (min-width: 761px) {
  body .topbar.header-menu-open .header-menu-panel > .desktop-nav a:nth-child(-n + 3) {
    display: none;
  }
}

@media (max-width: 760px) {
  body:has(.topbar.header-menu-open) {
    overflow: hidden;
  }

  body .topbar {
    height: 64px;
    min-height: 64px;
    padding-inline: 12px;
  }

  body .topbar > .brand {
    gap: 8px;
  }

  body .topbar > .brand .brand-mark {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  body .topbar > .brand .brand-name {
    font-size: 16px;
  }

  body .topbar > .header-menu-panel {
    display: none;
  }

  body .topbar.header-menu-open > .header-menu-panel {
    display: flex;
    flex-direction: column;
  }
}

body .topbar.header-menu-open .header-menu-panel :is(
  .desktop-nav a,
  .header-menu-row,
  .location-context-link,
  .messages-header-btn,
  .header-notifications-button,
  #signInBtn,
  #signUpBtn,
  #myProfileBtn,
  #walletOpenBtn
):focus-visible {
  outline: 3px solid rgba(20, 147, 70, .3);
  outline-offset: -2px;
}

@media (max-width: 760px) {
  body .topbar.header-menu-open .header-menu-panel #walletOpenBtn:not([hidden]) {
    display: flex !important;
  }
}

body:has(.topbar.header-menu-open) .explore-fab,
body:has(.topbar.header-menu-open) .explore-help-menu {
  display: none !important;
}

@media (max-width: 480px) {
  body .topbar {
    padding-inline: 12px;
  }

  body .topbar > .brand {
    gap: 8px;
  }

  body .topbar > .brand .brand-mark {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  body .topbar > .brand .brand-name {
    font-size: 16px;
  }

  body .topbar.header-menu-open > .header-menu-panel {
    right: 12px;
    width: calc(100vw - 36px);
    max-height: calc(100dvh - 88px);
    padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  body .topbar.header-menu-open > .header-menu-panel {
    animation: t2i-menu-enter .16s ease-out;
  }

  @keyframes t2i-menu-enter {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 760px) {
  html body .topbar.header-menu-open > .header-menu-panel > #topActionsPanel > .tablet-preferences > .locale-controls {
    display: contents !important;
  }

  html body .topbar.header-menu-open > .header-menu-panel .language-menu-row {
    display: grid !important;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 48px;
    flex: 0 0 48px;
    grid-template-columns: 100px minmax(0, 1fr);
    grid-template-rows: 48px;
    align-items: center;
  }

  html body .topbar.header-menu-open > .header-menu-panel .language-menu-row .language-label {
    display: flex !important;
    grid-column: 1;
    grid-row: 1;
    height: 40px;
    align-items: center;
  }

  html body .topbar.header-menu-open > .header-menu-panel .language-menu-row > .searchable-dropdown {
    display: flex !important;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 40px;
  }

  html body .topbar.header-menu-open > .header-menu-panel .header-currency-control {
    display: flex !important;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
  }
}

body .topbar.header-menu-open .header-menu-panel .header-menu-locale-row > .locale-controls {
  display: flex !important;
  width: 100%;
  min-width: 0;
  grid-column: auto !important;
  grid-row: auto !important;
  flex-direction: column;
  align-items: stretch;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-locale-row .language-menu-row,
body .topbar.header-menu-open .header-menu-panel .header-menu-locale-row .header-currency-control {
  width: 100%;
  min-width: 0;
  flex: 0 0 48px;
  grid-column: auto !important;
  grid-row: auto !important;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-locale-row .language-menu-row {
  grid-template-columns: minmax(100px, 1fr) minmax(0, 1.5fr);
}

body .topbar.header-menu-open .header-menu-panel .header-menu-locale-row .language-label {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 40px;
  min-height: 40px;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #173c2c;
  font-size: 12px;
  white-space: nowrap;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-locale-row .menu-setting-label {
  color: #173c2c;
  opacity: 1;
  text-transform: uppercase;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-locale-row .language-menu-row > .searchable-dropdown,
body .topbar.header-menu-open .header-menu-panel .header-menu-locale-row .header-currency-control > .searchable-dropdown {
  width: 100%;
  min-width: 0;
  max-width: none;
}

body .topbar.header-menu-open .header-menu-panel #mobileWalletOpenBtn {
  display: none !important;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-location-row .location-context-link {
  display: grid !important;
  box-sizing: border-box;
  width: 100%;
  min-height: 60px;
  grid-template-columns: 21px minmax(0, 1fr) 12px;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  column-gap: 10px;
  row-gap: 0;
  padding: 5px 10px;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-location-row .location-context-link > .location-context-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-location-row .location-context-link > span {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  align-self: start;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-location-row .location-context-link > small {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  align-self: end;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-location-row .location-context-link::after {
  grid-column: 3;
  grid-row: 1 / span 2;
  justify-self: end;
  align-self: center;
  margin: 0;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-locale-row .language-menu-row {
  display: grid !important;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  grid-template-columns: 104px minmax(0, 1fr);
  grid-template-rows: 48px;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-locale-row .language-menu-row > .language-label {
  display: flex !important;
  box-sizing: border-box;
  width: 104px;
  min-width: 0;
  height: 40px;
  grid-column: 1;
  grid-row: 1;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 0;
  white-space: nowrap;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-locale-row .language-label > svg {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-locale-row .language-menu-row > .searchable-dropdown {
  display: flex !important;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: none;
  grid-column: 2;
  grid-row: 1;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-locale-row .header-currency-control {
  display: grid !important;
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0;
  max-width: none !important;
  min-height: 48px;
  grid-template-columns: 76px 20px minmax(0, 1fr);
  grid-template-rows: 48px;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-locale-row .header-currency-control > .menu-setting-label {
  display: block;
  width: 76px;
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
  font-size: 12px;
  line-height: 1.25;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-locale-row .header-currency-control > .currency-symbol {
  display: block;
  width: 20px;
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  text-align: center;
}

body .topbar.header-menu-open .header-menu-panel .header-menu-locale-row .header-currency-control > .searchable-dropdown {
  display: flex !important;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: none;
  grid-column: 3;
  grid-row: 1;
}

body .topbar.header-menu-open .header-menu-panel #signInBtn,
body .topbar.header-menu-open .header-menu-panel #signUpBtn {
  display: flex !important;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 48px !important;
  min-height: 48px !important;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

body .topbar.header-menu-open .header-menu-panel #signInBtn > .menu-item-icon,
body .topbar.header-menu-open .header-menu-panel #signUpBtn > .menu-item-icon {
  display: block;
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  margin: 0;
}

body .topbar.header-menu-open .header-menu-panel #signInBtn > span,
body .topbar.header-menu-open .header-menu-panel #signUpBtn > span {
  display: block;
  min-width: 0;
  margin: 0;
  line-height: 1.25;
  text-align: left;
}

body .topbar > .header-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: 0;
}

body .topbar > .header-controls > .header-messages-shortcut {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 12px;
}

body .topbar > .header-controls > .header-messages-shortcut > svg {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

body .topbar > .header-controls > .header-messages-shortcut > .nav-unread-badge {
  top: -6px;
  right: -6px;
  box-shadow: 0 0 0 2px #064e3b;
}

body .topbar > .header-controls > #appNotificationBell {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
}

body .topbar > .header-controls > #mobileNavToggle {
  position: relative;
  z-index: 3;
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(240, 253, 244, .58);
  border-radius: 10px;
  background: transparent;
  color: #f0fdf4;
  cursor: pointer;
}

body .topbar > .header-controls > #mobileNavToggle svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

body .topbar > .header-controls > #mobileNavToggle .close-icon,
body .topbar > .header-controls > #mobileNavToggle[aria-expanded="true"] .menu-icon {
  display: none;
}

body .topbar > .header-controls > #mobileNavToggle[aria-expanded="true"] .close-icon {
  display: block;
}

body .topbar > .header-menu-panel > .desktop-nav a[aria-current="page"] {
  background-color: #a9e5ad;
  color: #052619;
}

body .topbar.header-menu-open .header-menu-panel #headerMenuSections > .header-menu-row,
body .topbar.header-menu-open .header-menu-panel #headerMenuSections .header-menu-messages-row > .header-menu-row,
body .topbar.header-menu-open .header-menu-panel #headerMenuSections .header-menu-profile-row > .header-menu-row,
body .topbar.header-menu-open .header-menu-panel #headerMenuSections .header-menu-wallet-row > .header-menu-row,
body .topbar.header-menu-open .header-menu-panel #headerMenuSections .header-menu-signout-row > .header-menu-row {
  box-sizing: border-box;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.25;
}

body .topbar.header-menu-open .header-menu-panel #headerMenuSections .menu-item-icon,
body .topbar.header-menu-open .header-menu-panel #headerMenuSections .language-label > svg {
  box-sizing: border-box;
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px !important;
}

body .topbar.header-menu-open .header-menu-panel #headerMenuSections .header-menu-location-row .location-context-link {
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  grid-template-columns: 20px max-content minmax(0, 1fr) 12px;
  grid-template-rows: 1fr;
  column-gap: 6px;
  font-size: 14px !important;
  line-height: 1.2;
}

body .topbar.header-menu-open .header-menu-panel #headerMenuSections .header-menu-location-row .location-context-link > span,
body .topbar.header-menu-open .header-menu-panel #headerMenuSections .header-menu-location-row .location-context-link > small {
  grid-row: 1;
  align-self: center;
}

body .topbar.header-menu-open .header-menu-panel #headerMenuSections .header-menu-location-row .location-context-link > span {
  grid-column: 2;
}

body .topbar.header-menu-open .header-menu-panel #headerMenuSections .header-menu-location-row .location-context-link > small {
  grid-column: 3;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: inherit;
  font-size: 14px;
  font-weight: inherit;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

body .topbar.header-menu-open .header-menu-panel #headerMenuSections .header-menu-location-row .location-context-link > small::before {
  content: " - ";
}

body .topbar.header-menu-open .header-menu-panel #headerMenuSections .header-menu-location-row .location-context-link::after {
  grid-column: 4;
  justify-self: end;
  align-self: center;
  width: auto;
  height: auto;
  margin: 0;
  border: 0;
  content: "\203A";
  font: 700 22px/1 "DM Sans", Arial, sans-serif;
  transform: none;
}

body .topbar.header-menu-open .header-menu-panel #headerMenuSections {
  row-gap: 3px;
}

body .topbar.header-menu-open .header-menu-panel #headerMenuSections #myProfileBtn {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  justify-self: stretch !important;
  align-self: stretch;
  place-self: stretch !important;
  grid-column: auto !important;
  grid-row: auto !important;
  flex: 0 0 48px !important;
}

body .topbar.header-menu-open .header-menu-panel #headerMenuSections .header-menu-locale-row .language-menu-row,
body .topbar.header-menu-open .header-menu-panel #headerMenuSections .header-menu-locale-row .header-currency-control {
  box-sizing: border-box;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  flex: 0 0 48px !important;
  font-size: 14px !important;
}

body .topbar.header-menu-open .header-menu-panel #headerMenuSections .header-currency-control {
  border: 0 !important;
  border-bottom: 1px solid #e5ece7 !important;
  border-radius: 0;
  background: transparent;
}

body .topbar.header-menu-open .header-menu-panel #headerMenuSections .language-menu-row > .language-label,
body .topbar.header-menu-open .header-menu-panel #headerMenuSections .header-currency-control > .menu-setting-label {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.25;
}

body .topbar.header-menu-open .header-menu-panel #headerMenuSections .header-currency-control {
  grid-template-columns: 20px 76px minmax(0, 1fr);
}

body .topbar.header-menu-open .header-menu-panel #headerMenuSections .header-currency-control > .menu-setting-label {
  grid-column: 2;
  grid-row: 1;
  width: 76px;
}

body .topbar.header-menu-open .header-menu-panel #headerMenuSections .header-currency-control > .currency-symbol {
  grid-column: 1;
  grid-row: 1;
  width: 20px;
  font-size: 14px;
}

body .topbar.header-menu-open .header-menu-panel #headerMenuSections .header-currency-control > .currency-picker {
  grid-column: 3;
  grid-row: 1;
  width: 100%;
  min-width: 0;
}

@media (max-width: 360px) {
  body .topbar > .header-controls {
    gap: 6px;
  }

  body .topbar > .header-controls > .header-messages-shortcut,
  body .topbar > .header-controls > #appNotificationBell,
  body .topbar > .header-controls > #mobileNavToggle {
    box-sizing: border-box;
    flex-basis: 38px;
    width: 38px;
    height: 40px;
    min-height: 40px;
  }
}

body .topbar.header-menu-open .header-menu-panel #headerMenuSections .locale-picker,
body .topbar.header-menu-open .header-menu-panel #headerMenuSections .currency-picker {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.25;
}

@media (min-width: 768px) and (max-width: 1199px) {
  body .topbar.header-menu-open .header-menu-panel #headerMenuSections .header-menu-wallet-row > #walletOpenBtn {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }

  body .topbar.header-menu-open .header-menu-panel #headerMenuSections .header-menu-wallet-row > #walletOpenBtn > svg {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
  }

  body .topbar.header-menu-open .header-menu-panel #headerMenuSections .header-menu-wallet-row > #walletOpenBtn > span {
    font-size: 14px !important;
    line-height: 1.25;
    text-transform: none;
  }
}
