@import url("../shared/components/shared-components.css");
/* Luxora app-wide legacy stylesheet. New feature rules should live in features/<feature>/<feature>.css. */
/* ---------------------------------------------------------
   Luxora Seller Orders Shell / style.css
   TABLE OF CONTENTS
   01. Reset, Luxora namespace variables, iOS typography, and page lock
   02. Orders split-screen frame, drawer, restored curved edge overlay, persistent last Store/Support page, locked right-side Store/Support content width, white page backgrounds, guest-native Store headers with rotating avatar buttons, keyboard-ready search inputs, typing placeholders, and Back buttons, real-data Orders/History empty states, USD sell Exchange page, smaller Deals enterprise plan card, sticky white Store/Support headers, chat-only keyboard scroll, direct-send support thread, quick topics, calm help panel, and edge dock composer
   03. Seller menu shell and scroll area
   04. Dashboard header, Seller Menu row, muted rating, and liquid Store Overview stats
   05. Typing group labels, menu spacing, and menu item layout
   06. SVG icon sprite, uniform icon base, icon sizing, and action colors
   07. Menu copy, value text, and danger state
   08. Viewport-fixed popup editors, clean line tokens, card-only shadow, flat internal controls, trash, choice lists, and actions
   09. Input editor fields, finance amount helpers, loan verification rhythm, agreement warnings, and payout field variants
   10. Top Apply notification toast
   11. Responsive compact rules
--------------------------------------------------------- */

/* 01. Reset, Luxora namespace variables, iOS typography, and page lock */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  --lx-ios-font:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  --lx-page-popup-viewport-height: 100svh;
  --lx-page-popup-menu-top: env(safe-area-inset-top, 0px);
  --icon-box: 32px;
  --icon-radius: 11px;
  --icon-size: 18.5px;
  --icon-stroke: 1.52;
  --menu-columns: 32px minmax(0, 1fr);
  --menu-gap: 10px;
  width: 100%;
  min-height: 100%;
  background: #FFFFFF;
  color: #1d1d1f;
  font-family: var(--lx-ios-font);
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-width: none;
  touch-action: pan-y;
}

html::-webkit-scrollbar,
.lx-page-popup-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

html.is-lx-keyboard-root-locked {
  width: 100%;
  height: var(--lx-page-popup-viewport-height);
  overflow: hidden;
  overscroll-behavior: none;
}

body.lx-page-popup-page {
  width: 100%;
  min-height: var(--lx-page-popup-viewport-height);
  height: var(--lx-page-popup-viewport-height);
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: #FFFFFF;
  color: #1d1d1f;
  font-family: var(--lx-ios-font);
  -webkit-tap-highlight-color: transparent;
}

body.is-lx-keyboard-open {
  position: fixed;
  inset: 0;
  width: 100%;
  height: var(--lx-page-popup-viewport-height);
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

body.is-lx-keyboard-open .lx-page-popup-shell,
body.is-lx-keyboard-open .lx-seller-orders-stage,
body.is-lx-keyboard-open .lx-seller-orders-menu,
body.is-lx-keyboard-open .lx-seller-orders-page-frame,
body.is-lx-keyboard-open .lx-page-popup-scroll,
body.is-lx-keyboard-open .lx-support-page-scroll,
body.is-lx-keyboard-open .lx-support-chat-composer {
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

.lx-page-popup-scroll.is-lx-page-scroll-locked {
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-overflow-scrolling: auto;
  touch-action: none;
}


body.is-lx-support-keyboard-open .lx-seller-orders-menu,
body.is-lx-support-keyboard-open .lx-seller-orders-menu .lx-page-popup-scroll {
  overflow: hidden;
  overscroll-behavior: none;
  pointer-events: auto;
  touch-action: none;
}

/* 02. Orders split-screen frame, drawer, restored curved edge overlay, white Store/Support page backgrounds, guest-native Store headers with rotating avatar buttons, keyboard-ready search inputs, typing placeholders, and Back buttons, smaller Deals enterprise plan card, sticky white Store/Support headers, restored Orders page, chat-only keyboard scroll, direct-send support thread, quick topics, calm help panel, and edge dock composer */
body.lx-seller-orders-page {
  --lx-orders-menu-width: min(210px, 72vw);
  --lx-orders-page-radius: 42px;
  --lx-orders-page-curve-shadow: rgba(224, 226, 232, 0.92);
  --lx-orders-page-edge-shadow: -1px 0 0 var(--lx-orders-page-curve-shadow);
  --lx-orders-progress: 0;
  --lx-orders-transition: 330ms cubic-bezier(0.22, 1, 0.36, 1);
  background: #FFFFFF;
}

body.lx-seller-orders-page.is-orders-menu-open {
  --lx-orders-progress: 1;
}

body.lx-seller-orders-page.is-orders-swiping {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.lx-page-popup-shell,
.lx-page-popup-shell * {
  font-family: var(--lx-ios-font);
}
button,
input,
textarea,
select {
  font-family: var(--lx-ios-font);
}

.lx-no-autolink {
  color: inherit;
  cursor: default;
  pointer-events: none;
  text-decoration: none;
  -webkit-touch-callout: none;
}

button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

button:focus {
  outline: none;
}
button:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.48);
  outline-offset: 3px;
}

/* 03. Seller menu shell and scroll area */
.lx-page-popup-shell {
  isolation: isolate;
  width: 100%;
  max-width: 430px;
  min-height: var(--lx-page-popup-viewport-height);
  height: var(--lx-page-popup-viewport-height);
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: #FFFFFF;
  border-left: 0;
  border-right: 0;
}

.lx-seller-orders-stage {
  position: relative;
  isolation: isolate;
  width: min(100vw, 430px);
  max-width: 430px;
  height: var(--lx-page-popup-viewport-height);
  min-height: var(--lx-page-popup-viewport-height);
  margin: 0 auto;
  overflow: hidden;
  background: #FFFFFF;
}

.lx-seller-orders-stage::after {
  content: "";
  position: absolute;
  z-index: 9;
  top: 0;
  bottom: 0;
  left: calc(var(--lx-orders-progress, 0) * var(--lx-orders-menu-width));
  width: calc(100% - (var(--lx-orders-progress, 0) * var(--lx-orders-menu-width)));
  border-top-left-radius: var(--lx-orders-page-radius);
  border-bottom-left-radius: var(--lx-orders-page-radius);
  box-shadow: var(--lx-orders-page-edge-shadow);
  opacity: var(--lx-orders-progress, 0);
  pointer-events: none;
  transition:
    left var(--lx-orders-transition),
    width var(--lx-orders-transition),
    border-radius var(--lx-orders-transition),
    opacity 150ms ease;
}

.is-orders-swiping .lx-seller-orders-stage::after {
  transition: none;
}

@media (min-width: 431px) {
  .lx-seller-orders-stage {
    border-right: 1px solid #d8d8de;
    border-left: 1px solid #d8d8de;
  }
}

.lx-seller-orders-menu {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: var(--lx-orders-menu-width);
  height: var(--lx-page-popup-viewport-height);
  overflow: hidden;
  background: #FFFFFF;
  transform: translate3d(
    calc((var(--lx-orders-progress, 0) - 1) * var(--lx-orders-menu-width)),
    0,
    0
  );
  transition: transform var(--lx-orders-transition);
  will-change: transform;
}

.is-orders-swiping .lx-seller-orders-menu {
  transition: none;
}

.is-orders-menu-open .lx-seller-orders-menu,
.is-orders-swiping .lx-seller-orders-menu {
  z-index: 8;
  pointer-events: auto;
}

.lx-seller-orders-menu .lx-page-popup-shell {
  width: var(--lx-orders-menu-width);
  max-width: var(--lx-orders-menu-width);
  margin: 0;
  border: 0;
}

.lx-seller-orders-menu .lx-page-popup-scroll {
  width: var(--lx-orders-menu-width);
  padding-top: calc(var(--lx-page-popup-menu-top, 0px) + 8px);
  padding-right: 10px;
  padding-left: 10px;
  pointer-events: auto;
  transform: translate3d(
    calc((1 - var(--lx-orders-progress, 0)) * var(--lx-orders-menu-width)),
    0,
    0
  );
  transition: transform var(--lx-orders-transition);
  will-change: transform;
}

.is-orders-swiping .lx-seller-orders-menu .lx-page-popup-scroll {
  transition: none;
}

.lx-seller-orders-backdrop {
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  bottom: 0;
  left: var(--lx-orders-menu-width);
  display: block;
  margin: 0;
  padding: 0;
  background: transparent;
  pointer-events: none;
}

.is-orders-menu-open .lx-seller-orders-backdrop {
  z-index: 5;
  pointer-events: auto;
}


.lx-seller-orders-page-frame {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: none;
  height: var(--lx-page-popup-viewport-height);
  min-height: var(--lx-page-popup-viewport-height);
  max-height: var(--lx-page-popup-viewport-height);
  margin: 0;
  overflow: hidden;
  background: #FFFFFF;
  color: #161619;
  border: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  box-shadow: none;
  transform: translate3d(
    calc(var(--lx-orders-progress, 0) * var(--lx-orders-menu-width)),
    0,
    0
  );
  transition:
    transform var(--lx-orders-transition),
    border-radius var(--lx-orders-transition),
    box-shadow var(--lx-orders-transition);
  will-change: transform, border-radius;
}

.is-orders-menu-open .lx-seller-orders-page-frame,
.is-orders-swiping .lx-seller-orders-page-frame {
  border-top-left-radius: var(--lx-orders-page-radius);
  border-bottom-left-radius: var(--lx-orders-page-radius);
  box-shadow: var(--lx-orders-page-edge-shadow);
}

.is-orders-swiping .lx-seller-orders-page-frame {
  transition: none;
}

.lx-seller-orders-title {
  margin: 0;
  color: #151518;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 150ms ease,
    transform var(--lx-orders-transition);
}

.is-orders-menu-open .lx-seller-orders-title {
  transform: translate3d(calc(var(--lx-orders-menu-width) / -2), 0, 0);
}

.lx-seller-orders-page-frame.is-support-page .lx-seller-orders-title {
  opacity: 0;
  pointer-events: none;
}

.lx-seller-orders-page-frame.is-store-content-page .lx-seller-orders-title {
  opacity: 0;
  pointer-events: none;
}


/* Store page CSS moved to features/store/store-pages.css in v200. */

.lx-page-popup-item.lx-page-popup-active {
  background: rgba(29, 29, 31, 0.07);
  --lx-icon-bg: #151518;
}

.lx-page-popup-item.lx-page-popup-active::before {
  opacity: 1;
  background: rgba(21, 21, 24, 0.42);
}

.lx-page-popup-scroll {
  display: block;
  width: 100%;
  min-height: 0;
  height: var(--lx-page-popup-viewport-height);
  padding: var(--lx-page-popup-menu-top, 0px) 10px max(38px, calc(env(safe-area-inset-bottom, 0px) + 38px));
  pointer-events: auto;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-y;
}

@media (min-width: 431px) {
  .lx-page-popup-shell {
    border-left: 1px solid #f0f0f2;
    border-right: 1px solid #f0f0f2;
  }
}

/* 04. Dashboard header, Seller Menu row, muted rating, and liquid Store Overview stats */
.lx-page-popup-header {
  padding: 0 7px 13px;
  margin: 0 0 10px;
}

.lx-page-popup-kicker-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  width: 100%;
  min-width: 0;
  min-height: 18px;
  margin: 0 0 5px;
}

.lx-page-popup-header-kicker {
  flex: 0 0 auto;
  margin: 0;
  color: rgba(29, 29, 31, 0.42);
  font-size: 9.8px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lx-page-popup-header-title {
  min-width: 0;
  max-width: 100%;
  margin: 0 0 8px;
  overflow: visible;
  color: #151518;
  font-size: clamp(19px, 5vw, 23px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.036em;
  overflow-wrap: anywhere;
  text-wrap: balance;
  white-space: normal;
}

.lx-page-popup-rating-row {
  display: flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin: 9px 0 0;
}

.lx-page-popup-rating {
  display: flex;
  align-items: center;
  gap: 2.5px;
  width: fit-content;
  margin: 0;
  color: #b89a45;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: none;
}

.lx-page-popup-header-tier,
.lx-page-popup-header-status {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.012em;
}

.lx-page-popup-header-tier {
  justify-content: flex-start;
  width: fit-content;
  min-width: 0;
  max-width: min(118px, 54%);
  min-height: 15px;
  padding: 2px 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  color: #111114;
  text-align: left;
  text-overflow: clip;
  white-space: nowrap;
  align-self: center;
  flex: 0 1 auto;
  transform: none;
}

.lx-page-popup-typewriter {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lx-page-popup-header-tier.lx-page-popup-typewriter {
  width: fit-content;
  max-width: min(118px, 54%);
  text-align: left;
  text-overflow: clip;
}

.lx-page-popup-typewriter::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.95em;
  margin-left: 2px;
  background: currentColor;
  vertical-align: -0.12em;
  opacity: 0.66;
  animation: lx-page-popup-typewriter-caret 900ms steps(2, start) infinite;
}

@keyframes lx-page-popup-typewriter-caret {
  0%,
  45% {
    opacity: 0.66;
  }

  46%,
  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lx-page-popup-typewriter::after {
    animation: none;
    opacity: 0;
  }

  .lx-store-page-header-avatar-image {
    animation: none;
  }
}

.lx-page-popup-header-status {
  gap: 4px;
  color: #3a8f65;
}

.lx-page-popup-header-status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.82;
}

.lx-page-popup-overview {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: 12px 0 0;
  padding: 10px 11px;
  overflow: hidden;
  border: 1px solid rgba(224, 226, 232, 0.48);
  border-radius: 18px;
  background:
    linear-gradient(
      145deg,
      rgba(252, 252, 253, 0.96),
      rgba(243, 245, 248, 0.78)
    ),
    radial-gradient(
      circle at 16% 0%,
      rgba(255, 255, 255, 0.95),
      transparent 52%
    );
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  box-shadow: none;
}

.lx-page-popup-overview::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.52),
    rgba(255, 255, 255, 0.08) 42%,
    rgba(255, 255, 255, 0.28)
  );
  opacity: 0.46;
}

.lx-page-popup-overview > * {
  position: relative;
  z-index: 1;
}

.lx-page-popup-overview-title {
  margin: 0 0 7px;
  color: rgba(29, 29, 31, 0.44);
  font-size: 9.6px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.lx-page-popup-stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin: 0;
}

.lx-page-popup-stat {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px;
  min-width: 0;
  margin: 0;
}

.lx-page-popup-stat dt,
.lx-page-popup-stat dd {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lx-page-popup-stat dd {
  color: #1d1d1f;
  font-size: 10.9px;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.lx-page-popup-stat dt {
  color: rgba(29, 29, 31, 0.48);
  font-size: 9.1px;
  font-weight: 500;
  line-height: 1.05;
}

/* 05. Typing group labels, menu spacing, and menu item layout */
.lx-page-popup-section {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
.lx-page-popup-header + .lx-page-popup-section {
  margin-top: 0;
}
.lx-page-popup-section + .lx-page-popup-section {
  margin-top: 19px;
}
.lx-page-popup-section-last {
  padding-bottom: 18px;
}

.lx-page-popup-group-title {
  display: block;
  margin: 0 0 9px 7px;
  padding: 0;
  color: rgba(29, 29, 31, 0.4);
  font-size: 9.2px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.065em;
}

.lx-page-popup-item {
  position: relative;
  display: grid;
  grid-template-columns: var(--menu-columns);
  align-items: center;
  gap: var(--menu-gap);
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 6px 9px 6px 6px;
  border-radius: 15px;
  background: transparent;
  color: #1d1d1f;
  text-align: left;
  box-shadow: none;
  transform: none;
  transition:
    background-color 150ms ease,
    color 150ms ease;
  pointer-events: auto;
}

.lx-page-popup-item + .lx-page-popup-item {
  margin-top: 5px;
}
.lx-page-popup-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 2.5px;
  height: 17px;
  border-radius: 999px;
  background: #000;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 120ms ease;
}

.lx-page-popup-item:focus,
.lx-page-popup-item:active {
  background: transparent;
  color: #1d1d1f;
  box-shadow: none;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .lx-page-popup-item:hover {
    background: rgba(29, 29, 31, 0.03);
  }
}

/* 06. SVG icon sprite, uniform icon base, icon sizing, and action colors */
.lx-page-popup-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.lx-page-popup-icon {
  display: grid;
  place-items: center;
  width: var(--icon-box);
  height: var(--icon-box);
  border-radius: var(--icon-radius);
  background: var(--lx-icon-bg, #4c8fd8);
  color: rgba(255, 255, 255, 0.96);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.055),
    0 4px 10px rgba(29, 29, 31, 0.055);
}

.lx-page-popup-icon svg,
.lx-page-popup-icon svg * {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: var(--icon-stroke, 1.5);
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.lx-page-popup-icon svg {
  width: var(--icon-size);
  height: var(--icon-size);
  overflow: visible;
}

[data-lx-page-popup-action="home"] {
  --lx-icon-bg: #2aa79b;
}
[data-lx-page-popup-action="orders"] {
  --lx-icon-bg: #6670d8;
}
[data-lx-page-popup-action="history"] {
  --lx-icon-bg: #4397b4;
  --icon-size: 20px;
}
[data-lx-page-popup-action="deals"] {
  --lx-icon-bg: #d88435;
}
[data-lx-page-popup-action="customerService"] {
  --lx-icon-bg: #4f8fd2;
}
[data-lx-page-popup-action="exchange"] {
  --lx-icon-bg: #2f8fbe;
}
[data-lx-page-popup-action="balanceTransfer"] {
  --lx-icon-bg: #7468d7;
}
[data-lx-page-popup-action="orderLoan"] {
  --lx-icon-bg: #c99a32;
}
[data-lx-page-popup-action="payoutMethod"] {
  --lx-icon-bg: #508dd2;
}
[data-lx-page-popup-action="payoutHolderName"] {
  --lx-icon-bg: #5f7fce;
  --icon-size: 18.5px;
  --icon-stroke: 1.18;
}
[data-lx-page-popup-action="payoutNetwork"] {
  --lx-icon-bg: #7b68cc;
  --icon-size: 18.5px;
  --icon-stroke: 1.44;
}
[data-lx-page-popup-action="payoutAccount"] {
  --lx-icon-bg: #38a58d;
}
[data-lx-page-popup-action="email"] {
  --lx-icon-bg: #3f98d4;
}
[data-lx-page-popup-action="phoneNumber"] {
  --lx-icon-bg: #31a4ad;
}
[data-lx-page-popup-action="password"] {
  --lx-icon-bg: #7366d6;
}
[data-lx-page-popup-action="dateOfBirth"] {
  --lx-icon-bg: #d65d8b;
  --icon-size: 18.5px;
  --icon-stroke: 1.08;
}
[data-lx-page-popup-action="language"] {
  --lx-icon-bg: #4e8fd8;
}
[data-lx-page-popup-action="currency"] {
  --lx-icon-bg: #3aaa5f;
}
[data-lx-page-popup-action="displayMode"] {
  --lx-icon-bg: #d29a2f;
}
[data-lx-page-popup-action="displayMode"][data-lx-display-icon="dark"] {
  --lx-icon-bg: #5b6678;
  --icon-size: 18px;
}
[data-lx-page-popup-action="displayMode"][data-lx-display-icon="dark"]
  .lx-page-popup-icon
  svg
  * {
  fill: currentColor;
  stroke: none;
  stroke-width: 0;
}
[data-lx-page-popup-action="logout"] {
  --lx-icon-bg: #dc506b;
}

/* 07. Menu copy, value text, and danger state */
.lx-page-popup-copy {
  display: grid;
  min-width: 0;
}

.lx-page-popup-label,
.lx-page-popup-value {
  display: block;
  min-width: 0;
  overflow: hidden;
  line-height: 1.18;
  letter-spacing: -0.006em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lx-page-popup-label {
  color: #1d1d1f;
  font-size: 13.85px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.012em;
}
.lx-page-popup-value {
  margin-top: 3px;
  color: rgba(29, 29, 31, 0.5);
  font-size: 11.1px;
  font-weight: 400;
}
.lx-page-popup-logout .lx-page-popup-icon {
  color: #fff;
}
.lx-page-popup-logout .lx-page-popup-label {
  color: #000;
}

/* 08. Viewport-fixed popup editors, clean line tokens, card-only shadow, flat internal controls, trash, choice lists, and actions */
.lx-page-popup-shell {
  position: relative;
}

.lx-popup-editor {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  padding: max(14px, env(safe-area-inset-top, 0px)) 14px
    max(14px, env(safe-area-inset-bottom, 0px));
  background: transparent;
  visibility: hidden;
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
}

.lx-popup-editor.is-visible {
  visibility: visible;
  pointer-events: auto;
}

.lx-popup-editor[hidden] {
  display: none;
}

.lx-popup-editor-card {
  position: relative;
  display: grid;
  width: min(calc(100vw - 78px), 276px);
  max-width: 276px;
  max-height: min(calc(var(--lx-page-popup-viewport-height) - 34px), 438px);
  padding: 15px 14px 13px;
  --lx-editor-heading-gap: 4px;
  --lx-editor-trash-title-sub-gap: 2px;
  --lx-editor-sub-gap: 7px;
  --lx-editor-field-gap: 7px;
  --lx-editor-actions-gap: 10px;
  --lx-editor-frame-line: rgba(214, 217, 223, 0.34);
  --lx-editor-item-line: rgba(0, 0, 0, 0.07);
  --lx-editor-item-line-soft: rgba(0, 0, 0, 0.05);
  --lx-editor-control-line: rgba(214, 217, 223, 0.44);
  --lx-editor-dark-control-line: rgba(255, 255, 255, 0.16);
  --lx-editor-control-bg: rgba(245, 247, 250, 0.86);
  --lx-editor-control-bg-active: rgba(235, 239, 245, 0.92);
  overflow: hidden;
  border: 1px solid var(--lx-editor-frame-line);
  border-radius: 24px;
  background:
    linear-gradient(
      145deg,
      rgba(252, 252, 253, 0.86),
      rgba(243, 245, 248, 0.62)
    ),
    radial-gradient(
      circle at 16% 0%,
      rgba(255, 255, 255, 0.82),
      transparent 48%
    ),
    linear-gradient(0deg, rgba(255, 255, 255, 0.34), transparent 38%);
  color: #111114;
  text-align: left;
  -webkit-backdrop-filter: blur(38px) saturate(180%);
  backdrop-filter: blur(38px) saturate(180%);
  box-shadow:
    0 12px 24px rgba(24, 23, 19, 0.06),
    0 3px 8px rgba(24, 23, 19, 0.028),
    0 0 0 1px rgba(255, 255, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(88, 79, 54, 0.014);
  opacity: 0;
  transform: scale(0.985);
  transition:
    opacity 180ms ease,
    transform 220ms ease;
  will-change: transform, opacity;
}

.lx-popup-editor.is-visible .lx-popup-editor-card {
  opacity: 1;
  transform: scale(1);
}

body.is-lx-keyboard-open .lx-popup-editor {
  overflow: visible;
  contain: layout;
}

body.is-lx-keyboard-open .lx-popup-editor-card {
  max-height: min(calc(var(--lx-page-popup-viewport-height) - 34px), 438px);
  transition: none;
}

body.is-lx-keyboard-open .lx-popup-editor-card,
body.is-lx-keyboard-open .lx-popup-editor-list,
body.is-lx-keyboard-open .lx-popup-editor-control-wrap {
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-overflow-scrolling: auto;
  touch-action: none;
}

.lx-popup-editor-card-compact {
  max-height: none;
}

.lx-popup-editor-card-with-delete {
  --lx-popup-editor-delete-size: 30px;
  --lx-popup-editor-delete-gap: 10px;
  --lx-popup-editor-delete-space: calc(
    var(--lx-popup-editor-delete-size) + var(--lx-popup-editor-delete-gap)
  );
  --lx-popup-editor-delete-top: 12px;
  --lx-popup-editor-delete-right: 12px;
  --lx-popup-editor-text-safe-end: 40px;
  --lx-editor-trash-title-sub-gap: 2px;
  padding: 15px 14px 13px;
}

.lx-popup-editor-liquid .lx-popup-editor-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.44), transparent 40%),
    linear-gradient(315deg, rgba(238, 240, 245, 0.12), transparent 46%),
    radial-gradient(
      ellipse at 50% 112%,
      rgba(255, 255, 255, 0.86),
      rgba(232, 236, 244, 0.28) 38%,
      transparent 70%
    );
  opacity: 0.74;
}

.lx-popup-editor-liquid .lx-popup-editor-card > * {
  position: relative;
  z-index: 1;
}

.lx-popup-editor-heading-plain {
  padding-right: 0;
}

.lx-popup-editor-confirm-card .lx-popup-editor-heading {
  display: block;
  min-height: 0;
  margin: 0 0 var(--lx-editor-heading-gap, 4px);
  padding: 0;
}

.lx-popup-editor-confirm-card .lx-popup-editor-title {
  text-align: center;
}

.lx-popup-editor-confirm-card .lx-popup-editor-message {
  max-width: 220px;
  margin: 4px auto 13px;
  text-align: center;
}

/* Shared editor header: trash icon and subtitle spacing are separated.
   The trash icon is anchored to the editor card, not to the heading/subtitle flow. */
.lx-popup-editor-heading {
  display: block;
  min-height: auto;
  margin: 0 0 var(--lx-editor-heading-gap, 4px);
  padding: 0;
}

.lx-popup-editor-card-with-delete > .lx-popup-editor-heading {
  position: static;
  display: block;
  min-height: 0;
  margin: 0 0 var(--lx-editor-trash-title-sub-gap, 2px);
  padding: 0 var(--lx-popup-editor-text-safe-end, 40px) 0 0;
}

.lx-popup-editor-heading .lx-popup-editor-title {
  min-width: 0;
  margin: 0;
  padding: 0;
  color: #111114;
  font-size: 16.5px;
  font-weight: 560;
  line-height: 1.14;
  letter-spacing: -0.02em;
  text-align: left;
  overflow-wrap: anywhere;
}

.lx-popup-editor-card-with-delete > .lx-popup-editor-message {
  width: 100%;
  max-width: 100%;
  margin: 0 0 var(--lx-editor-sub-gap, 8px);
  padding: 0 var(--lx-popup-editor-text-safe-end, 40px) 0 0;
  box-sizing: border-box;
  color: rgba(46, 43, 35, 0.48);
  font-size: 11.15px;
  font-weight: 470;
  line-height: 1.27;
  letter-spacing: -0.01em;
  text-align: left;
  overflow-wrap: anywhere;
}

.lx-popup-editor-confirm-card .lx-popup-editor-heading {
  display: block;
  width: 100%;
  padding: 0;
  text-align: center;
}

.lx-popup-editor-confirm-card .lx-popup-editor-heading .lx-popup-editor-title {
  margin: 0;
  padding: 0;
  text-align: center;
}

.lx-popup-editor-confirm-card .lx-popup-editor-message {
  max-width: 222px;
  margin: 0 auto 13px;
  text-align: center;
}

.lx-popup-editor-delete-icon {
  position: absolute;
  top: var(--lx-popup-editor-delete-top, 12px);
  right: var(--lx-popup-editor-delete-right, 12px);
  z-index: 3;
  display: grid;
  place-items: center;
  width: var(--lx-popup-editor-delete-size, 30px);
  height: var(--lx-popup-editor-delete-size, 30px);
  margin: 0;
  padding: 0;
  border: 1px solid var(--lx-editor-control-line);
  border-radius: 999px;
  background: var(--lx-editor-control-bg);
  color: #000;
  box-shadow: none;
  -webkit-backdrop-filter: blur(10px) saturate(145%);
  backdrop-filter: blur(10px) saturate(145%);
  -webkit-tap-highlight-color: transparent;
}


.lx-popup-editor-delete-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.lx-popup-editor-delete-icon:active {
  background: var(--lx-editor-control-bg-active);
  color: #000;
  transform: scale(0.96);
}

.lx-popup-editor-title {
  margin: 0;
  padding: 0;
  color: #050505;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.022em;
  text-align: center;
}

.lx-popup-editor-message {
  margin: 0 0 var(--lx-editor-sub-gap, 8px);
  color: rgba(46, 43, 35, 0.5);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.012em;
  text-align: center;
}

.lx-popup-editor-field {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 var(--lx-editor-field-gap, 7px);
  padding: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.lx-popup-editor-field-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.lx-popup-editor-control {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--lx-editor-frame-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: #111114;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: none;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.lx-popup-editor-control {
  padding: 0 13px;
  outline: none;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.014em;
  text-align: left;
  caret-color: currentColor;
}

.lx-popup-editor-control-wrap {
  display: block;
  min-height: 40px;
  height: 40px;
  padding: 10px 14px;
  overflow: hidden;
  overscroll-behavior: none;
  resize: none;
  border-radius: 14px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 20px;
  text-align: left;
  scrollbar-width: none;
  -webkit-overflow-scrolling: auto;
  transition: height 120ms ease;
}

.lx-popup-editor-control-wrap::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.lx-popup-editor-control::placeholder {
  color: rgba(46, 43, 35, 0.36);
  font-weight: 500;
  text-align: left;
}

.lx-popup-editor-control-wrap::placeholder {
  text-align: left;
}

[data-popup-editor="payoutAccount"] .lx-popup-editor-control-wrap {
  text-align: left;
}

[data-popup-editor="payoutAccount"] .lx-popup-editor-control-wrap::placeholder {
  text-align: left;
}

.lx-popup-editor-control:focus {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.lx-popup-editor-error {
  min-height: 16px;
  margin: 0 0 2px;
  color: #ff2d55;
  font-size: 11.1px;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.012em;
  text-align: left;
}

.lx-popup-editor-error:empty {
  min-height: 4px;
}

.lx-popup-editor-choice-field {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  text-align: left;
}

.lx-popup-editor-choice-field .lx-popup-editor-field-label {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 5px;
  padding: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border: 0;
  color: rgba(46, 43, 35, 0.68);
  font-size: 11.6px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.014em;
}

.lx-popup-editor-choice-field .lx-popup-editor-list {
  margin: 0;
}

.lx-popup-editor-list {
  display: grid;
  gap: 5px;
  max-height: min(244px, calc(var(--lx-page-popup-viewport-height) - 196px));
  margin: 0 0 8px;
  padding: 6px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--lx-editor-frame-line);
  border-radius: 18px;
  background: rgba(246, 247, 249, 0.68);
  box-shadow: none;
  -webkit-backdrop-filter: blur(20px) saturate(175%);
  backdrop-filter: blur(20px) saturate(175%);
  overscroll-behavior: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.lx-popup-editor-list-compact {
  max-height: none;
}

.lx-popup-editor-list::-webkit-scrollbar {
  display: none;
}

.lx-popup-editor-option-group {
  display: block;
  padding: 7px 10px 2px;
  color: rgba(83, 74, 52, 0.42);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.lx-popup-editor-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  gap: 8px;
  align-items: center;
  min-height: 40px;
  padding: 7px 10px 7px 12px;
  border: 1px solid var(--lx-editor-item-line-soft);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  color: #111114;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.lx-popup-editor-option.is-selected {
  background: rgba(0, 0, 0, 0.052);
  border-color: var(--lx-editor-item-line);
}

.lx-popup-editor-option-title,
.lx-popup-editor-option-subtitle {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lx-popup-editor-option-title {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.14;
}

.lx-popup-editor-option-subtitle {
  margin-top: 3px;
  color: rgba(46, 43, 35, 0.5);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.16;
}

.lx-popup-editor-option-mark {
  position: relative;
  width: 16px;
  height: 16px;
  border: 1px solid var(--lx-editor-item-line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

.lx-popup-editor-option-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  background: transparent;
}

.lx-popup-editor-option.is-selected .lx-popup-editor-option-mark {
  border-color: var(--lx-editor-item-line);
}

.lx-popup-editor-option.is-selected .lx-popup-editor-option-mark::after {
  background: #000;
}

.lx-popup-editor-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: var(--lx-editor-actions-gap, 10px);
  text-align: center;
}

.lx-popup-editor-cancel,
.lx-popup-editor-save,
.lx-popup-editor-danger {
  min-height: 37px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.022em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.lx-popup-editor-cancel {
  border: 1px solid var(--lx-editor-control-line);
  background: var(--lx-editor-control-bg);
  color: #ff2d55;
  box-shadow: none;
}

.lx-popup-editor-cancel:active {
  background: var(--lx-editor-control-bg-active);
  transform: scale(0.98);
}

.lx-popup-editor-save {
  border: 1px solid var(--lx-editor-dark-control-line);
  background: linear-gradient(
    180deg,
    rgba(32, 32, 36, 0.98),
    rgba(0, 0, 0, 0.96)
  );
  color: #fff;
  box-shadow: none;
}

.lx-popup-editor-save:disabled {
  opacity: 0.52;
  cursor: default;
  filter: saturate(0.82);
}

.lx-popup-editor-danger {
  border: 1px solid var(--lx-editor-dark-control-line);
  background: linear-gradient(
    180deg,
    rgba(32, 32, 36, 0.98),
    rgba(0, 0, 0, 0.96)
  );
  color: #fff;
  box-shadow: none;
}

/* 09. Input editor fields, finance amount helpers, loan verification rhythm, agreement warnings, and payout field variants */
.lx-popup-editor-input .lx-popup-editor-card {
  width: min(calc(100vw - 78px), 276px);
  max-width: 276px;
  max-height: none;
  padding: 15px 14px 13px;
  overflow: hidden;
}

.lx-popup-editor-input .lx-popup-editor-field {
  --lx-editor-field-icon: none;
  --lx-editor-muted: rgba(46, 43, 35, 0.56);
  --lx-editor-active: rgba(46, 43, 35, 0.56);
  --lx-editor-field-icon-size: 17.2px;
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.lx-popup-editor-input .lx-popup-editor-field::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 26.5px;
  z-index: 1;
  width: 20px;
  height: 20px;
  pointer-events: none;
  background: var(--lx-editor-muted);
  opacity: 1;
  -webkit-mask-image: var(--lx-editor-field-icon);
  mask-image: var(--lx-editor-field-icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: var(--lx-editor-field-icon-size)
    var(--lx-editor-field-icon-size);
  mask-size: var(--lx-editor-field-icon-size) var(--lx-editor-field-icon-size);
}

.lx-popup-editor-input .lx-popup-editor-field-label {
  position: static;
  display: block;
  width: auto;
  height: auto;
  margin: 0 0 4px;
  padding: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border: 0;
  color: rgba(46, 43, 35, 0.68);
  font-size: 11.6px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.014em;
}

.lx-popup-editor-input .lx-popup-editor-control,
.lx-popup-editor-input .lx-popup-editor-control-wrap {
  position: relative;
  z-index: 0;
  width: 100%;
  min-height: 37px;
  height: 37px;
  padding: 7px 12px 8px 41px;
  border: 1px solid rgba(219, 223, 229, 0.88);
  border-radius: 12px;
  background-color: rgba(238, 241, 245, 0.82);
  background-image: none;
  color: var(--lx-editor-muted);
  box-shadow: none;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  font-size: 16px;
  font-weight: 430;
  line-height: 20px;
  letter-spacing: -0.012em;
  text-align: left;
  caret-color: var(--lx-editor-active);
}

.lx-popup-editor-input input,
.lx-popup-editor-input textarea,
.lx-popup-editor-input select {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.lx-popup-editor-input .lx-popup-editor-control-wrap {
  display: block;
  overflow: hidden;
  resize: none;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  scrollbar-width: none;
  -webkit-overflow-scrolling: auto;
  transition: height 120ms ease;
}

.lx-popup-editor-input .lx-popup-editor-control-wrap::-webkit-scrollbar {
  display: none;
}

.lx-popup-editor-input .lx-popup-editor-control::placeholder,
.lx-popup-editor-input .lx-popup-editor-control-wrap::placeholder {
  color: var(--lx-editor-muted);
  font-weight: 400;
  line-height: 20px;
  text-align: left;
}

.lx-popup-editor-input .lx-popup-editor-control:focus,
.lx-popup-editor-input .lx-popup-editor-control-wrap:focus {
  background-color: rgba(238, 241, 245, 0.82);
  border-color: rgba(219, 223, 229, 0.88);
  box-shadow: none;
  outline: none;
}

.lx-popup-editor-input .lx-popup-editor-error,
.lx-popup-editor-input .lx-popup-editor-field-error {
  min-height: 0;
  margin: -1px 0 7px;
  padding: 0 2px;
  color: #ff2d55;
  font-size: 10.9px;
  font-weight: 560;
  line-height: 1.26;
  letter-spacing: -0.01em;
  text-align: left;
  overflow-wrap: anywhere;
}

.lx-popup-editor-input .lx-popup-editor-error:empty,
.lx-popup-editor-input .lx-popup-editor-field-error:empty {
  display: none;
}

.lx-popup-editor-input .lx-popup-editor-general-error {
  margin-top: 0;
}

.lx-popup-editor-agreement {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 3px;
  align-items: center;
  width: 100%;
  margin: 2px 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1d1d1f;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.lx-popup-editor-agreement-box {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(219, 223, 229, 0.88);
  border-radius: 4px;
  background: rgba(238, 241, 245, 0.82);
  color: #1d1d1f;
  box-shadow: none;
}

.lx-popup-editor-agreement-box svg {
  width: 9px;
  height: 7.5px;
  opacity: 0;
  transform: scale(0.72);
  transition:
    opacity 110ms ease,
    transform 110ms ease;
}

.lx-popup-editor-agreement-box svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lx-popup-editor-agreement.is-checked .lx-popup-editor-agreement-box {
  border-color: rgba(219, 223, 229, 0.95);
  background: rgba(238, 241, 245, 0.96);
}

.lx-popup-editor-agreement.is-checked .lx-popup-editor-agreement-box svg {
  opacity: 1;
  transform: scale(1);
}

.lx-popup-editor-agreement-label {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: rgba(46, 43, 35, 0.62);
  font-size: 11.3px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: -0.012em;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: color 120ms ease;
}

.lx-popup-editor-agreement.is-required .lx-popup-editor-agreement-box {
  border-color: rgba(255, 45, 85, 0.52);
  background: rgba(255, 45, 85, 0.075);
}

.lx-popup-editor-agreement-error {
  grid-column: 2;
  grid-row: 2;
  min-height: 0;
  margin: 0;
  color: #ff2d55;
  font-size: 10.8px;
  font-weight: 560;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: left;
  overflow-wrap: anywhere;
}

.lx-popup-editor-agreement-error:empty {
  display: none;
}

[data-popup-editor="email"] .lx-popup-editor-field {
  --lx-editor-field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18' fill='none' stroke='%23050505' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.8581.75H4.64189C2.49246.75.75 2.43552.75 4.51471v8.47059c0 2.07919 1.74246 3.7647 3.89189 3.7647H14.8581c2.1494 0 3.8919-1.6855 3.8919-3.7647V4.51471C18.75 2.43552 17.0075.75 14.8581.75Z'/%3E%3Cpath d='M.794922 4.59863 7.80519 8.48569c.58746.32975 1.25459.50342 1.93379.50342s1.34631-.17367 1.93381-.50342l7.02971-3.88706'/%3E%3C/svg%3E");
}

[data-popup-editor="balanceTransfer"]
  .lx-popup-editor-field[data-editor-field="transferEmail"] {
  --lx-editor-field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18' fill='none' stroke='%23050505' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.8581.75H4.64189C2.49246.75.75 2.43552.75 4.51471v8.47059c0 2.07919 1.74246 3.7647 3.89189 3.7647H14.8581c2.1494 0 3.8919-1.6855 3.8919-3.7647V4.51471C18.75 2.43552 17.0075.75 14.8581.75Z'/%3E%3Cpath d='M.794922 4.59863 7.80519 8.48569c.58746.32975 1.25459.50342 1.93379.50342s1.34631-.17367 1.93381-.50342l7.02971-3.88706'/%3E%3C/svg%3E");
}

[data-popup-editor="phoneNumber"] .lx-popup-editor-field {
  --lx-editor-field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23050505' stroke-width='1.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.14245 12.3576C3.28252 10.494 1.85215 8.24664.951403 5.77261.455845 4.41999.90989 2.93418 1.92868 1.91539l.63047-.62961c.1695-.16984.37083-.304584.59247-.396521A1.921 1.921 0 0 1 3.8508.75c.23995 0 .47754.047323.69918.139259.22164.091937.42297.226681.59247.396521l1.47629 1.4763c.16984.1695.30459.37083.39653.59247.09193.22163.13926.45923.13926.69918s-.04733.47754-.13926.69918c-.09194.22164-.22669.42297-.39653.59247l-.36323.36323a2.88 2.88 0 0 0-.33942.50789 1.985 1.985 0 0 0 0 1.19824c.07869.18994.19402.36252.33942.50788l3.32101 3.32188c.14536.1454.31794.2607.50788.3394.18994.0787.39353.1192.59912.1192s.4092-.0405.5991-.1192c.19-.0787.3626-.194.508-.3394l.3641-.3632c.1695-.1699.3709-.3046.5925-.3966.2216-.0919.4592-.1392.6992-.1392.24 0 .4776.0473.6992.1392.2217.092.423.2267.5925.3966l1.4763 1.4763c.1699.1695.3046.3708.3965.5924.092.2217.1393.4593.1393.6992 0 .24-.0473.4776-.1393.6992-.0919.2216-.2266.423-.3965.5925l-.6296.6296c-1.0188 1.0196-2.5046 1.4737-3.8572.9781-2.47403-.9007-4.72141-2.3311-6.58495-4.1946Z'/%3E%3C/svg%3E");
}

[data-popup-editor="password"] .lx-popup-editor-field {
  --lx-editor-field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23050505' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M.75 13.3502C.75 10.805.75 9.5315 1.5411 8.7413 2.3313 7.9502 3.6048 7.9502 6.15 7.9502h7.2c2.5452 0 3.8187 0 4.6089.7911.7911.7902.7911 2.0637.7911 4.6089 0 2.5452 0 3.8187-.7911 4.6089-.7902.7911-2.0637.7911-4.6089.7911h-7.2c-2.5452 0-3.8187 0-4.6089-.7911C.75 17.1689.75 15.8954.75 13.3502Z'/%3E%3Cpath d='M4.34961 7.95V6.15c0-1.43217.56893-2.80568 1.58162-3.81838C6.94393 1.31893 8.31744.75 9.74961.75c1.43219 0 2.80569.56893 3.81839 1.58162 1.0127 1.0127 1.5816 2.38621 1.5816 3.81838V7.95'/%3E%3Cpath d='M6.15039 13.3496h.0081M9.74229 13.3496h.0081M13.3423 13.3496h.0081'/%3E%3C/svg%3E");
}

[data-popup-editor="dateOfBirth"] .lx-popup-editor-field {
  --lx-editor-field-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2014%2014%27%20fill%3D%27none%27%20stroke%3D%27%23050505%27%20stroke-width%3D%271.12%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M3.92188%206.50232h6.15622%27%2F%3E%3Cpath%20d%3D%27M3.92188%209.47107h2.95138%27%2F%3E%3Cpath%20d%3D%27M1.09183%2010.5249c0.16134%201.4393%201.33128%202.5822%202.778%202.6519%200.99995%200.0481%202.02144%200.0731%203.13008%200.0731%201.10864%200%202.13012%20-0.025%203.13009%20-0.0731%201.4467%20-0.0697%202.6166%20-1.2126%202.778%20-2.6519%200.1086%20-0.96936%200.1978%20-1.96314%200.1978%20-2.97549%200%20-1.01234%20-0.0892%20-2.00612%20-0.1978%20-2.97544%20-0.1614%20-1.43938%20-1.3313%20-2.58223%20-2.778%20-2.6519%20-0.99997%20-0.04816%20-2.02145%20-0.07319%20-3.13009%20-0.07319%20-1.10864%200%20-2.13013%200.02503%20-3.13008%200.07319%20-1.44672%200.06967%20-2.61666%201.21252%20-2.778%202.6519%20-0.108648%200.96932%20-0.197787%201.9631%20-0.197787%202.97544%200%201.01235%200.089139%202.00613%200.197787%202.97549Z%27%2F%3E%3Cpath%20d%3D%27m4%200.75%200%202.53918%27%2F%3E%3Cpath%20d%3D%27m10%200.75%200%202.53918%27%2F%3E%3Cpath%20d%3D%27m7%200.75%200%202.53918%27%2F%3E%3C%2Fsvg%3E");
}


[data-popup-editor="balanceTransfer"] .lx-popup-editor-field {
  margin-bottom: 7px;
}

[data-popup-editor="orderLoan"] .lx-popup-editor-field {
  --lx-editor-field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%23050505' stroke-width='1.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9.75 8.25H11.25C11.6478 8.25 12.0294 8.40804 12.3107 8.68934C12.592 8.97064 12.75 9.35218 12.75 9.75M9.75 8.25H8.25C7.85218 8.25 7.47064 8.40804 7.18934 8.68934C6.90804 8.97064 6.75 9.35218 6.75 9.75V10.25C6.75 10.6478 6.90804 11.0294 7.18934 11.3107C7.47064 11.592 7.85218 11.75 8.25 11.75H11.25C11.6478 11.75 12.0294 11.908 12.3107 12.1893C12.592 12.4706 12.75 12.8522 12.75 13.25V13.75C12.75 14.1478 12.592 14.5294 12.3107 14.8107C12.0294 15.092 11.6478 15.25 11.25 15.25H9.75M9.75 8.25V6.75M9.75 15.25H8.25C7.85218 15.25 7.47064 15.092 7.18934 14.8107C6.90804 14.5294 6.75 14.1478 6.75 13.75M9.75 15.25V16.75'/%3E%3Cpath d='M10.7494 2.805C8.89548 2.59787 7.02305 2.9719 5.39103 3.87538C3.75902 4.77885 2.44806 6.16712 1.63947 7.84817C0.830882 9.52922 0.564624 11.42 0.87752 13.259C1.19042 15.0979 2.067 16.7943 3.38605 18.1133C4.70509 19.4323 6.40141 20.3089 8.24038 20.6218C10.0794 20.9347 11.9701 20.6685 13.6512 19.8599C15.3322 19.0513 16.7205 17.7403 17.624 16.1083C18.5274 14.4763 18.9015 12.6039 18.6944 10.75M17.2494 0.75V7.75M20.7494 4.25H13.7494'/%3E%3C/svg%3E");
}

[data-popup-editor="balanceTransfer"] .lx-popup-editor-control,
[data-popup-editor="orderLoan"] .lx-popup-editor-control {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
}

[data-popup-editor="balanceTransfer"]
  .lx-popup-editor-field[data-editor-field="transferAmount"]::before,
[data-popup-editor="orderLoan"]
  .lx-popup-editor-field[data-editor-field="loanAmount"]::before {
  content: "USD";
  display: grid;
  place-items: center;
  left: 10px;
  top: 27px;
  width: 32px;
  height: 18px;
  border-radius: 8px;
  background: rgba(46, 43, 35, 0.085);
  color: rgba(46, 43, 35, 0.58);
  font-size: 9.6px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.015em;
  -webkit-mask-image: none;
  mask-image: none;
}

[data-popup-editor="balanceTransfer"]
  .lx-popup-editor-field[data-editor-field="transferAmount"]
  .lx-popup-editor-control,
[data-popup-editor="orderLoan"]
  .lx-popup-editor-field[data-editor-field="loanAmount"]
  .lx-popup-editor-control {
  padding-left: 52px;
}

.lx-popup-editor-amount-helper {
  min-height: 0;
  margin: -1px 0 7px;
  padding: 0 2px;
  color: rgba(46, 43, 35, 0.48);
  font-size: 10.6px;
  font-weight: 520;
  line-height: 1.24;
  letter-spacing: -0.01em;
  text-align: left;
  overflow-wrap: anywhere;
}

.lx-popup-editor-amount-helper [data-editor-amount-preview] {
  display: inline-block;
  margin-left: 5px;
  color: rgba(46, 43, 35, 0.58);
  font-weight: 600;
}

.lx-popup-editor-amount-helper [data-editor-amount-preview]:empty {
  display: none;
}

[data-popup-editor="balanceTransfer"] .lx-popup-editor-card {
  padding-top: 15px;
  padding-bottom: 13px;
  --lx-editor-heading-gap: 4px;
  --lx-editor-sub-gap: 8px;
  --lx-editor-field-gap: 7px;
  --lx-editor-actions-gap: 9px;
}

[data-popup-editor="balanceTransfer"] .lx-popup-editor-field {
  margin-bottom: 6px;
}

[data-popup-editor="balanceTransfer"] .lx-popup-editor-amount-helper {
  margin: -1px 0 7px;
  line-height: 1.24;
}

[data-popup-editor="balanceTransfer"] .lx-popup-editor-general-error {
  margin: 0 0 7px;
}

[data-popup-editor="balanceTransfer"] .lx-popup-editor-agreement {
  margin: 2px 0 8px;
  row-gap: 3px;
}

[data-popup-editor="balanceTransfer"] .lx-popup-editor-actions {
  margin-top: 9px;
}

/* Loan editor follows the same editor rhythm; only amount/status details stay scoped. */
[data-popup-editor="orderLoan"] .lx-popup-editor-card {
  display: flex;
  flex-direction: column;
  padding-top: 15px;
  padding-bottom: 13px;
  --lx-editor-heading-gap: 4px;
  --lx-editor-sub-gap: 8px;
  --lx-editor-field-gap: 7px;
  --lx-editor-actions-gap: 9px;
}

[data-popup-editor="orderLoan"] .lx-popup-editor-heading {
  min-height: 0;
  margin: 0 0 var(--lx-editor-trash-title-sub-gap, 2px);
}

[data-popup-editor="orderLoan"] .lx-popup-editor-message {
  width: 100%;
  max-width: 100%;
  margin: 0 0 var(--lx-editor-sub-gap, 7px);
  padding: 0 var(--lx-popup-editor-text-safe-end, 40px) 0 0;
  color: rgba(46, 43, 35, 0.56);
  font-size: 10.75px;
  font-weight: 520;
  line-height: 1.27;
  letter-spacing: -0.012em;
  text-align: left;
  overflow-wrap: anywhere;
}

[data-popup-editor="orderLoan"] .lx-popup-editor-verification-status[hidden] {
  display: none;
  margin: 0;
  padding: 0;
}

.lx-popup-editor-verification-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 7px;
  padding: 2.5px 7px;
  border-radius: 10px;
  font-size: 10.05px;
  font-weight: 620;
  line-height: 1.16;
  letter-spacing: -0.01em;
  text-align: left;
  overflow-wrap: anywhere;
}

.lx-popup-editor-verification-status.is-verified {
  background: rgba(52, 199, 89, 0.09);
  color: rgba(21, 128, 61, 0.92);
}

.lx-popup-editor-verification-status.is-unverified {
  background: rgba(255, 45, 85, 0.075);
  color: rgba(255, 45, 85, 0.92);
}

[data-popup-editor="orderLoan"] .lx-popup-editor-verification-status:not([hidden]) {
  margin: 0 0 7px;
}

[data-popup-editor="orderLoan"] .lx-popup-editor-field[data-editor-field="loanAmount"] {
  margin: 0 0 7px;
}

[data-popup-editor="orderLoan"] .lx-popup-editor-field-label {
  margin-bottom: 4px;
}

[data-popup-editor="orderLoan"] .lx-popup-editor-amount-helper {
  margin: -1px 0 7px;
  line-height: 1.24;
}

[data-popup-editor="orderLoan"] .lx-popup-editor-general-error {
  margin: 0 0 7px;
  color: rgba(219, 34, 66, 0.84);
  font-size: 10.45px;
  line-height: 1.24;
}

[data-popup-editor="orderLoan"] .lx-popup-editor-general-error:empty {
  display: none;
  margin: 0;
}

[data-popup-editor="orderLoan"] .lx-popup-editor-agreement {
  margin: 2px 0 8px;
  row-gap: 3px;
}

[data-popup-editor="orderLoan"] .lx-popup-editor-agreement-label {
  font-size: 11.05px;
  line-height: 14.4px;
}

[data-popup-editor="orderLoan"] .lx-popup-editor-actions {
  margin-top: 9px;
}


[data-popup-editor="payoutHolderName"] .lx-popup-editor-field {
  --lx-editor-field-icon-size: 17.5px;
  --lx-editor-field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23050505' stroke-width='1.16' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.7045 12.0345c-.2065-.7775-.653-1.4723-1.27879-1.9838-.68453-.55951-1.54144-.86515-2.42553-.86515-.88409 0-1.74099.30564-2.42552.86515-.62578.5115-1.07231 1.2063-1.27876 1.9838'/%3E%3Cpath d='M7 13.5c4.16 0 6.5-2.34 6.5-6.5S11.16.5 7 .5.5 2.84.5 7s2.34 6.5 6.5 6.5Z'/%3E%3Cpath d='M6.99902 7.58008c1.4 0 2.1875-.7875 2.1875-2.1875s-.7875-2.1875-2.1875-2.1875-2.1875.7875-2.1875 2.1875.7875 2.1875 2.1875 2.1875Z'/%3E%3C/svg%3E");
}

[data-popup-editor="payoutNetwork"] .lx-popup-editor-field {
  --lx-editor-field-icon-size: 17.5px;
  --lx-editor-field-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23050505%27%20stroke-width%3D%271.48%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M19.5%207V1%27%2F%3E%3Cpath%20d%3D%27M17%209.5a2.5%202.5%200%201%200%205%200%202.5%202.5%200%201%200%20-5%200%27%2F%3E%3Cpath%20d%3D%27M11.5%2019.5a2.5%202.5%200%201%200%205%200%202.5%202.5%200%201%200%20-5%200%27%2F%3E%3Cpath%20d%3D%27M2%2016a2.5%202.5%200%201%200%205%200%202.5%202.5%200%201%200%20-5%200%27%2F%3E%3Cpath%20d%3D%27M5.5%206.5a2.5%202.5%200%201%200%205%200%202.5%202.5%200%201%200%20-5%200%27%2F%3E%3Cpath%20d%3D%27m6.846%2016.864%204.807%201.771%27%2F%3E%3Cpath%20d%3D%27m15.205%2017.309%203.09%20-5.618%27%2F%3E%3Cpath%20d%3D%27m7.136%208.846%20-1.772%204.807%27%2F%3E%3Cpath%20d%3D%27m17.08%208.868%20-6.66%20-1.737%27%2F%3E%3C%2Fsvg%3E");
}

[data-popup-editor="payoutAccount"] .lx-popup-editor-field {
  --lx-editor-field-icon-size: 17.5px;
  --lx-editor-field-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 18' fill='none' stroke='%23050505' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.35 4.75h3.7M18.55 5.75h-2.33c-1.6 0-2.9 1.34-2.9 3s1.3 3 2.9 3h2.33c.55 0 1-.45 1-1v-4c0-.55-.45-1-1-1Z'/%3E%3Cpath d='M18.52 5.75c-.08-1.82-.35-2.93-1.13-3.71C16.27.92 14.47.92 10.85.92h-2.7c-3.62 0-5.42 0-6.54 1.12C.5 3.16.5 4.96.5 8.58s0 5.42 1.12 6.54c1.12 1.12 2.92 1.12 6.54 1.12h2.7c3.62 0 5.42 0 6.54-1.12.78-.78 1.05-1.89 1.13-3.71'/%3E%3Cpath d='M16.2 8.75h.01'/%3E%3C/svg%3E");
}

/* 10. Top Apply notification toast */
.lx-popup-apply-notice {
  position: fixed;
  left: 50%;
  top: calc(18px + env(safe-area-inset-top, 0px));
  z-index: 2400;
  max-width: min(280px, calc(100vw - 40px));
  padding: 10px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.88);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  letter-spacing: -0.01em;
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -10px, 0) scale(0.98);
  transition:
    opacity 160ms ease,
    transform 180ms ease;
}

.lx-popup-apply-notice.is-visible {
  opacity: 1;
  transform: translate3d(-50%, 0, 0) scale(1);
}

/* Exchange-specific CSS moved to features/exchange/exchange.css in v179. */

/* v108 auth click fix: ensure auth controls stay above any stale shell layer */
body.auth-page-ready,
body.auth-page-ready * {
  -webkit-tap-highlight-color: transparent;
}

body.auth-page-ready button,
body.auth-page-ready a,
body.auth-page-ready input,
body.auth-page-ready [role="button"] {
  pointer-events: auto !important;
  position: relative;
  z-index: 50;
}

body.auth-page-ready .auth-card,
body.auth-page-ready .auth-panel,
body.auth-page-ready main,
body.auth-page-ready form {
  position: relative;
  z-index: 20;
}

body.auth-page-ready .app-overlay,
body.auth-page-ready .drawer-overlay,
body.auth-page-ready .exchange-overlay,
body.auth-page-ready .modal-backdrop,
body.auth-page-ready .popup-menu-backdrop,
body.auth-page-ready .loading-overlay {
  pointer-events: none !important;
}


/* Support image viewer CSS moved to features/support/support.css in v179. */


/* Store home route CSS moved to features/store/store-pages.css in v200. */

/* Support-specific CSS moved to features/support/support.css in v179. */

