@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/public/fonts/inter/inter-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/public/fonts/inter/inter-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/public/fonts/geist-mono/geist-mono-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/public/fonts/geist-mono/geist-mono-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --lx-bg: #0A0A0F;
  --lx-night: #0E0A1C;
  --lx-cobalt: #7C4DFF;
  --lx-bg-raised: #100E18;
  --lx-bg-solid: rgba(17, 14, 27, 0.94);
  --lx-surface: rgba(255, 255, 255, 0.06);
  --lx-surface-hover: rgba(255, 255, 255, 0.09);
  --lx-surface-active: rgba(255, 255, 255, 0.12);
  --lx-surface-sunken: rgba(255, 255, 255, 0.035);
  --lx-border: rgba(255, 255, 255, 0.10);
  --lx-border-strong: rgba(255, 255, 255, 0.16);
  --lx-divider: rgba(255, 255, 255, 0.07);

  --lx-text: #F1EEF8;
  --lx-text-2: #B3ADC4;
  --lx-text-3: #A9A2BC;
  --lx-text-on-accent: #FFFFFF;

  --lx-accent: #A98BFF;
  --lx-accent-hover: #BCA5FF;
  --lx-accent-soft: rgba(75, 33, 181, 0.32);
  --lx-accent-strong: #4B21B5;
  --lx-blue: #7C4DFF;
  --lx-blue-text: #9F86FF;
  --lx-blue-soft: rgba(75, 33, 181, 0.28);

  --lx-paid: #B9A6FF;
  --lx-paid-bg: rgba(124, 77, 255, 0.14);
  --lx-pending: #F5B94A;
  --lx-pending-bg: rgba(245, 185, 74, 0.14);
  --lx-refused: #F2728C;
  --lx-refused-bg: rgba(242, 114, 140, 0.14);
  --lx-neutral: #B3ADC4;
  --lx-neutral-bg: rgba(179, 173, 196, 0.14);

  --lx-gold: #D6B25E;
  --lx-silver: #B8C2CF;
  --lx-bronze: #C0895A;

  --glass-1: #121019;
  --glass-1-hover: #17141F;
  --glass-2: #0D0C12;
  --glass-3: #17141F;
  --glass-3-nested: #1B1824;
  --glass-inner: rgba(255, 255, 255, 0.03);
  --glass-blur: none;
  --glass-blur-3: none;
  --glass-edge: rgba(255, 255, 255, 0.08);
  --glass-edge-2: rgba(255, 255, 255, 0.07);
  --glass-edge-3: rgba(255, 255, 255, 0.11);
  --glass-highlight: none;
  --glass-inset: 0 0 0 transparent;
  --glass-shadow: 0 0 0 transparent;
  --plate-fill: linear-gradient(rgba(75, 33, 181, 0.16), rgba(75, 33, 181, 0.16));
  --plate-edge: linear-gradient(rgba(169, 139, 255, 0.30), rgba(169, 139, 255, 0.30));
  --plate-inner: 0 0 0 transparent;
  --plate-bloom: 0 0 0 transparent;
  --lx-edge-light: #C9B8FF;

  --lx-focus-ring: 0 0 0 2px var(--lx-bg), 0 0 0 4px rgba(169, 139, 255, 0.85);

  --lx-font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --lx-font-display: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --lx-font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --lx-text-xs: 0.75rem;
  --lx-text-sm: 0.8125rem;
  --lx-text-md: 0.875rem;
  --lx-text-base: 0.9375rem;
  --lx-text-lg: 1.125rem;
  --lx-text-xl: 1.375rem;
  --lx-text-2xl: 1.75rem;
  --lx-text-3xl: 2.125rem;
  --lx-fs-hero: 2.5rem;       --lx-lh-hero: 3.125rem;
  --lx-fs-page: 1.75rem;      --lx-lh-page: 2.125rem;
  --lx-fs-section: 1.125rem;  --lx-lh-section: 1.5rem;
  --lx-fs-figure: 2.75rem;    --lx-lh-figure: 3.125rem;
  --lx-kpi-size: 1.875rem;    --lx-kpi-line: 2.25rem;
  --lx-kpi-size-1: 2.125rem;  --lx-kpi-line-1: 2.5rem;

  --lx-space-1: 4px;
  --lx-space-2: 8px;
  --lx-space-3: 12px;
  --lx-space-4: 16px;
  --lx-space-5: 20px;
  --lx-space-6: 24px;
  --lx-space-8: 32px;
  --lx-space-10: 40px;
  --lx-space-12: 48px;
  --lx-space-16: 64px;
  --lx-gutter: 32px;
  --lx-card-pad: 24px;
  --lx-gap: 20px;

  --lx-radius-xs: 6px;
  --lx-radius-sm: 6px;
  --lx-radius-md: 8px;
  --lx-radius-lg: 10px;
  --lx-radius-xl: 10px;
  --lx-radius-2xl: 12px;
  --lx-radius-card: 10px;
  --lx-radius-shell: 12px;
  --lx-radius-pill: 999px;

  --lx-shadow-glass: var(--glass-shadow);
  --lx-shadow-pop: 0 28px 70px -20px rgba(0, 0, 0, 0.75), 0 2px 8px rgba(0, 0, 0, 0.4);
  --lx-blur: var(--glass-blur);

  --lx-z-base: 1;
  --lx-z-sticky: 20;
  --lx-z-topbar: 40;
  --lx-z-tabbar: 45;
  --lx-z-sidebar: 50;
  --lx-z-backdrop: 60;
  --lx-z-offcanvas: 70;
  --lx-z-dropdown: 75;
  --lx-z-tooltip: 110;

  --lx-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --lx-dur-fast: 150ms;
  --lx-dur: 200ms;
  --lx-dur-slow: 250ms;

  --lx-sidebar-w: 264px;
  --lx-rail-w: 76px;
  --lx-shell-inset: 0px;
  --lx-topbar-h: 64px;
  --lx-topbar-h-mobile: 56px;
  --lx-tabbar-h: 64px;
  --lx-page-max: 1440px;

  color-scheme: dark;
}

@media (max-width: 767px) {
  :root {
    --lx-fs-hero: 1.875rem;     --lx-lh-hero: 2.375rem;
    --lx-fs-page: 1.5rem;       --lx-lh-page: 1.875rem;
    --lx-fs-section: 1.0625rem; --lx-lh-section: 1.375rem;
    --lx-fs-figure: 2.125rem;   --lx-lh-figure: 2.5rem;
    --lx-kpi-size-1: 1.5rem;    --lx-kpi-line-1: 1.875rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    --lx-dur-fast: 0.01ms;
    --lx-dur: 0.01ms;
    --lx-dur-slow: 0.01ms;
  }
  .lx-body *,
  .lx-body *::before,
  .lx-body *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.lx-body, .lx-body *, .lx-body *::before, .lx-body *::after { box-sizing: border-box; }

html {
  background-color: var(--lx-bg);
  color-scheme: dark;
}
html body.lx-body,
html body.dark {
  background: transparent !important;
  color: var(--lx-text);
  font-family: var(--lx-font-sans);
  font-size: var(--lx-text-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  overflow-x: hidden;
  transition: none;
}
body.lx-body::before,
body.dark::before,
body.lx-body::after,
body.dark::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
body.lx-body::before,
body.dark::before { background: var(--lx-bg); }
body.lx-body::after,
body.dark::after { content: none; }

.lx-body h1, .lx-body h2, .lx-body h3,
.lx-h1, .lx-h2, .lx-h3, .lx-display {
  font-family: var(--lx-font-display);
  letter-spacing: 0;
  color: var(--lx-text);
}
.lx-h1 { font-size: var(--lx-fs-page); line-height: var(--lx-lh-page); font-weight: 600; text-wrap: balance; }
.lx-h2 { font-size: var(--lx-fs-section); line-height: var(--lx-lh-section); font-weight: 600; text-wrap: balance; }
.lx-hero-title {
  margin: 0;
  font-family: var(--lx-font-display);
  font-size: var(--lx-fs-hero);
  line-height: var(--lx-lh-hero);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--lx-text);
  text-wrap: balance;
}
.lx-key { color: var(--lx-accent); }
.lx-figure {
  font-family: var(--lx-font-display);
  font-size: var(--lx-fs-figure);
  line-height: var(--lx-lh-figure);
  font-weight: 600;
  letter-spacing: -0.015em;
  font-variant-numeric: proportional-nums;
  color: var(--lx-text);
  white-space: nowrap;
}
.lx-body-text { font-size: var(--lx-text-base); line-height: 1.375rem; max-width: 64ch; }
.lx-secondary { font-size: var(--lx-text-md); line-height: 1.25rem; color: var(--lx-text-2); }
.lx-label-text { font-size: var(--lx-text-sm); line-height: 1.125rem; font-weight: 500; color: var(--lx-text-2); }
.lx-prose { max-width: 64ch; color: var(--lx-text-2); font-size: var(--lx-text-base); line-height: 1.375rem; }
.lx-prose > h2 { margin: 0 0 var(--lx-space-3); font-family: var(--lx-font-display); font-size: var(--lx-fs-section); line-height: var(--lx-lh-section); font-weight: 600; color: var(--lx-text); }
.lx-prose > p { margin: 0 0 var(--lx-space-2); }
.lx-link { color: var(--lx-text); text-decoration: underline; text-decoration-color: rgba(241, 238, 248, 0.35); text-underline-offset: 3px; border-radius: 4px; transition: text-decoration-color var(--lx-dur-fast) var(--lx-ease); }
.lx-link:hover { text-decoration-color: currentColor; }
.lx-h3 { font-size: var(--lx-text-base); line-height: 1.35; font-weight: 600; }
.lx-text-2 { color: var(--lx-text-2); }
.lx-text-3 { color: var(--lx-text-3); }
.lx-text-accent { color: var(--lx-accent); }
.lx-mono {
  font-family: var(--lx-font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}
.lx-num {
  font-family: var(--lx-font-sans);
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}
.lx-num-display {
  font-family: var(--lx-font-display);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
}
.lx-self-start { align-self: start; }
.lx-nowrap { white-space: nowrap; }
.lx-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lx-body :focus-visible,
[class*="lx-"]:focus-visible {
  outline: none;
  box-shadow: var(--lx-focus-ring);
}

.lx-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-width: 1.5;
}
.lx-icon--sm { width: 14px; height: 14px; }
.lx-icon--lg { width: 22px; height: 22px; }
.lx-icon--xl { width: 32px; height: 32px; }

.lx-glass, .lx-card, .lx-plate, .lx-error, .lx-empty--card, .lx-topbar, .lx-sidebar__inner,
.lx-tabbar, .lx-modal, .lx-filterbar--glass,
.lx-menu, .lx-popover, .lx-tooltip, .sidebar-tooltip, .lx-chart-tooltip, .lx-sheet, .lx-toast {
  --lx-g-fill: var(--glass-1);
  --lx-g-blur: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
}
.lx-glass, .lx-card, .lx-plate, .lx-error, .lx-empty--card, .lx-topbar, .lx-sidebar__inner,
.lx-tabbar, .lx-modal, .lx-filterbar--glass {
  isolation: isolate;
  background: transparent;
}
.lx-glass:not(.lx-modal):not(.lx-topbar):not(.lx-tabbar), .lx-card, .lx-plate, .lx-error, .lx-empty--card,
.lx-sidebar__inner, .lx-filterbar--glass { position: relative; }
.lx-glass::after, .lx-card::after, .lx-plate::after, .lx-error::after, .lx-empty--card::after, .lx-topbar::after,
.lx-sidebar__inner::after, .lx-tabbar::after, .lx-modal::after, .lx-filterbar--glass::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--lx-g-fill);
  -webkit-backdrop-filter: var(--lx-g-blur);
  backdrop-filter: var(--lx-g-blur);
  box-shadow: var(--glass-inset);
  pointer-events: none;
  transition: background-color var(--lx-dur) var(--lx-ease);
}
.lx-menu, .lx-popover, .lx-tooltip, .sidebar-tooltip, .lx-chart-tooltip, .lx-sheet, .lx-toast {
  --lx-g-fill: var(--glass-3);
  --lx-g-blur: var(--glass-blur-3);
  background-color: var(--lx-g-fill);
  -webkit-backdrop-filter: var(--lx-g-blur);
  backdrop-filter: var(--lx-g-blur);
  box-shadow: var(--glass-inset), var(--lx-shadow-pop);
}
.lx-glass::before, .lx-card::before, .lx-plate::before, .lx-error::before, .lx-empty--card::before, .lx-topbar::before,
.lx-sidebar__inner::before, .lx-tabbar::before, .lx-modal::before, .lx-filterbar--glass::before,
.lx-menu::before, .lx-popover::before, .lx-sheet::before, .lx-toast::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background: var(--glass-highlight);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.lx-glass--2, .lx-topbar, .lx-sidebar__inner, .lx-tabbar { --lx-g-fill: var(--glass-2); border-color: var(--glass-edge-2); }
.lx-glass--3, .lx-modal { --lx-g-fill: var(--glass-3); --lx-g-blur: var(--glass-blur-3); border-color: var(--glass-edge-3); }
.lx-menu, .lx-popover, .lx-tooltip, .sidebar-tooltip, .lx-chart-tooltip, .lx-sheet, .lx-toast { border-color: var(--glass-edge-3); }
.lx-topbar .lx-menu, .lx-sidebar .lx-menu, .lx-tabbar .lx-menu, .lx-modal .lx-menu,
.lx-sheet .lx-menu, .lx-modal .lx-popover, .lx-sheet .lx-popover { --lx-g-fill: var(--glass-3-nested); }
:is(.lx-card, .lx-plate, .lx-glass, .lx-modal, .lx-sheet, .lx-error, .lx-empty--card) :is(.lx-card, .lx-glass, .lx-error, .lx-empty--card) { --lx-g-fill: var(--glass-inner); box-shadow: none; }
:is(.lx-card, .lx-plate, .lx-glass, .lx-modal, .lx-sheet, .lx-error, .lx-empty--card) :is(.lx-card, .lx-glass, .lx-error, .lx-empty--card)::after {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.lx-plate {
  border-radius: var(--lx-radius-card);
  border: 0;
  box-shadow: var(--glass-shadow), var(--plate-bloom);
  color: var(--lx-text);
}
.lx-card.lx-plate { border-radius: var(--lx-radius-card); }
.lx-plate::after {
  background: var(--plate-fill), linear-gradient(rgba(10, 10, 15, 0.18), rgba(10, 10, 15, 0.18)), var(--glass-1);
  box-shadow: var(--plate-inner);
}
.lx-plate::before { background: var(--plate-edge); }
:is(.lx-card, .lx-glass, .lx-modal, .lx-sheet) .lx-plate { box-shadow: none; }
:is(.lx-card, .lx-glass, .lx-modal, .lx-sheet) .lx-plate::after { -webkit-backdrop-filter: none; backdrop-filter: none; }

.lx-card {
  border-radius: var(--lx-radius-card);
  padding: var(--lx-card-pad);
  color: var(--lx-text);
  min-width: 0;
}
.lx-card--lg { border-radius: var(--lx-radius-shell); padding: var(--lx-card-pad); }
.lx-card--flush { padding: 0; }
.lx-card--interactive { cursor: pointer; }
.lx-card--interactive:hover,
.lx-card--interactive:active { --lx-g-fill: var(--glass-1-hover); }
.lx-section--lg { margin-top: var(--lx-space-10); }
@media (max-width: 767px) { .lx-section--lg { margin-top: 28px; } }
@media (max-width: 767px) {
  :root { --lx-gutter: 16px; --lx-card-pad: 16px; --lx-gap: 12px; }
}
.lx-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--lx-space-3);
  margin-bottom: var(--lx-space-4);
  flex-wrap: wrap;
}
.lx-card--flush .lx-card__header { padding: var(--lx-card-pad) var(--lx-card-pad) 0; }
.lx-card__title {
  font-family: var(--lx-font-display);
  font-size: var(--lx-fs-section);
  line-height: var(--lx-lh-section);
  font-weight: 600;
  color: var(--lx-text);
  margin: 0;
}
.lx-card__subtitle { font-size: var(--lx-text-sm); color: var(--lx-text-2); margin: 4px 0 0; }
.lx-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--lx-space-3);
  margin-top: var(--lx-space-4);
  padding-top: var(--lx-space-4);
  border-top: 1px solid var(--lx-divider);
  flex-wrap: wrap;
}
.lx-divider { height: 1px; background: var(--lx-divider); border: 0; margin: var(--lx-space-4) 0; }

.lx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--lx-space-2);
  min-height: 44px;
  padding: 0 var(--lx-space-4);
  border-radius: var(--lx-radius-md);
  border: 1px solid transparent;
  font-family: var(--lx-font-sans);
  font-size: var(--lx-text-md);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--lx-dur-fast) var(--lx-ease), color var(--lx-dur-fast) var(--lx-ease), transform var(--lx-dur-fast) var(--lx-ease);
}
.lx-btn:active { transform: translateY(1px); }
.lx-btn:disabled,
.lx-btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
.lx-btn--current:disabled,
.lx-btn--current[aria-disabled="true"] { opacity: 1; cursor: default; background: var(--lx-surface); color: var(--lx-text); }
.lx-btn .lx-icon { width: 18px; height: 18px; }

.lx-btn--primary {
  background: #7C4DFF;
  color: var(--lx-text-on-accent);
  font-size: var(--lx-text-base);
  font-weight: 600;
}
.lx-btn--primary:hover { background: #7045E6; }
.lx-btn--primary:active { background: #633ECC; }
.lx-btn--primary:focus-visible { box-shadow: var(--lx-focus-ring); }
.lx-btn__arrow { margin-left: 0; margin-right: -2px; transition: transform var(--lx-dur-fast) var(--lx-ease); }
.lx-btn:hover .lx-btn__arrow { transform: translateX(2px); }
.lx-btn.is-loading, .lx-btn[aria-busy="true"] { pointer-events: none; }
.lx-btn.is-loading:disabled,
.lx-btn[aria-busy="true"]:disabled,
.lx-btn:disabled:has(.lx-btn__spinner:not(.hidden, [hidden], .hidden *, [hidden] *)) { opacity: 1; cursor: progress; }
.lx-btn .lx-btn__spinner { animation: lx-spin 0.9s linear infinite; }
.lx-btn--secondary { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); color: var(--lx-text); box-shadow: var(--glass-inset); }
.lx-btn--secondary:hover { background: rgba(255, 255, 255, 0.10); }
.lx-btn--secondary:active { background: var(--lx-surface-active); }
.lx-btn { touch-action: manipulation; }
.lx-btn--ghost { background: transparent; color: var(--lx-text-2); }
.lx-btn--ghost:hover { background: rgba(255, 255, 255, 0.06); color: var(--lx-text); }
.lx-btn--danger { background: var(--lx-refused-bg); color: var(--lx-refused); }
.lx-btn--danger:hover { background: rgba(242, 114, 140, 0.18); }

.lx-btn--sm { min-height: 36px; padding: 0 var(--lx-space-3); font-size: var(--lx-text-sm); border-radius: var(--lx-radius-sm); }
.lx-btn--lg { min-height: 48px; padding: 0 var(--lx-space-6); font-size: var(--lx-text-base); }
.lx-btn--block { width: 100%; }
.lx-btn--icon { width: 44px; min-width: 44px; padding: 0; }
.lx-btn--icon.lx-btn--sm { width: 36px; min-width: 36px; }
@media (pointer: coarse), (max-width: 1023px) {
  .lx-btn--sm { min-height: 44px; }
  .lx-btn--icon.lx-btn--sm { width: 44px; min-width: 44px; }
}

.lx-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px 0 8px;
  border-radius: var(--lx-radius-pill);
  font-size: var(--lx-text-xs);
  font-weight: 500;
  line-height: 1rem;
  white-space: nowrap;
  background: var(--lx-neutral-bg);
  color: var(--lx-neutral);
}
.lx-badge .lx-icon { width: 14px; height: 14px; stroke-width: 1.75; }
.lx-badge--paid { background: var(--lx-paid-bg); color: var(--lx-paid); }
.lx-badge--pending { background: var(--lx-pending-bg); color: var(--lx-pending); }
.lx-badge--refused { background: rgba(242, 114, 140, 0.12); color: #F79AAD; }
.lx-badge--neutral { background: var(--lx-neutral-bg); color: var(--lx-neutral); }
.lx-badge--gold { background: rgba(214, 178, 94, 0.12); color: var(--lx-gold); }
.lx-badge--silver { background: rgba(184, 194, 207, 0.12); color: var(--lx-silver); }
.lx-badge--bronze { background: rgba(192, 137, 90, 0.12); color: var(--lx-bronze); }

.lx-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lx-label { font-size: var(--lx-text-sm); font-weight: 500; color: var(--lx-text-2); }
.lx-help { font-size: var(--lx-text-xs); color: var(--lx-text-3); }
.lx-field--invalid .lx-help { color: var(--lx-refused); }

.lx-input,
.lx-select,
.lx-textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 var(--lx-space-3);
  border-radius: var(--lx-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background-color: rgba(4, 3, 10, 0.55);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
  color: var(--lx-text);
  font-family: var(--lx-font-sans);
  font-size: var(--lx-text-md);
  transition: background-color var(--lx-dur-fast) var(--lx-ease), border-color var(--lx-dur-fast) var(--lx-ease);
}
@media (max-width: 767px), (pointer: coarse) {
  .lx-input, .lx-select, .lx-textarea { font-size: 16px; }
}
.lx-textarea { padding: var(--lx-space-3); min-height: 96px; resize: vertical; }
.lx-input::placeholder,
.lx-textarea::placeholder { color: #857E96; opacity: 1; }
.lx-input:hover,
.lx-select:hover,
.lx-textarea:hover { background-color: rgba(4, 3, 10, 0.45); }
.lx-input:focus,
.lx-select:focus,
.lx-textarea:focus { outline: none; box-shadow: var(--lx-focus-ring); }
.lx-field--invalid .lx-input,
.lx-input[aria-invalid="true"],
.lx-field--invalid .lx-textarea,
.lx-textarea[aria-invalid="true"],
.lx-field--invalid .lx-select,
.lx-select[aria-invalid="true"] { border-color: rgba(242, 114, 140, 0.5); }
.lx-input--lg-h { min-height: 48px; }
.lx-input--mono { font-family: var(--lx-font-mono); font-variant-numeric: tabular-nums; }
.lx-input:disabled, .lx-select:disabled { opacity: 0.55; cursor: not-allowed; }

.lx-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239AA8BC' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.lx-select option { background-color: #120F1F; color: var(--lx-text); }

.lx-search { position: relative; display: flex; align-items: center; min-width: 0; }
.lx-search > .lx-icon {
  position: absolute;
  left: 14px;
  color: var(--lx-text-3);
  pointer-events: none;
}
.lx-search .lx-input { padding-left: 44px; }
.lx-search:focus-within > .lx-icon { color: var(--lx-accent); }
.lx-search .lx-input::-webkit-search-cancel-button { filter: invert(0.7); }

.lx-filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--lx-space-3);
  min-width: 0;
}
.lx-filterbar > * { flex: 0 1 180px; min-width: 0; }
.lx-filterbar > .lx-search,
.lx-filterbar > .lx-filterbar__grow { flex: 1 1 240px; }
.lx-filterbar > .lx-field--wide { flex-basis: 232px; }
@media (max-width: 479px) {
  .lx-filterbar > .lx-field:has(> .lx-select) { flex-basis: 100%; }
}
.lx-filterbar__actions { display: flex; gap: var(--lx-space-2); flex: 0 0 auto; margin-left: auto; }
.lx-filterbar--glass { padding: var(--lx-card-pad); border-radius: var(--lx-radius-card); }
@media (max-width: 639px) {
  .lx-filterbar > * { flex: 1 1 calc(50% - var(--lx-space-3)); }
  .lx-filterbar > .lx-search,
  .lx-filterbar > .lx-filterbar__grow { flex-basis: 100%; }
  .lx-filterbar__actions { flex-basis: 100%; margin-left: 0; }
  .lx-filterbar__actions > .lx-btn { flex: 1; }
}

.lx-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--lx-radius-pill);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
  width: max-content;
}
.lx-tabs::-webkit-scrollbar { display: none; }
.lx-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 var(--lx-space-4);
  border: 0;
  border-radius: var(--lx-radius-pill);
  background: transparent;
  color: var(--lx-text-2);
  font-family: var(--lx-font-sans);
  font-size: var(--lx-text-md);
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--lx-dur-fast) var(--lx-ease), color var(--lx-dur-fast) var(--lx-ease);
}
.lx-tab:hover { background: rgba(255, 255, 255, 0.05); color: var(--lx-text); }
.lx-tab[aria-selected="true"],
.lx-tab.is-active,
.lx-tab[aria-current="page"] { background: rgba(75, 33, 181, 0.45); color: var(--lx-text); box-shadow: var(--glass-inset); }
@media (pointer: coarse), (max-width: 1023px) { .lx-tab { min-height: 44px; } }

.lx-kpi { display: flex; flex-direction: column; gap: var(--lx-space-3); min-width: 0; }
.lx-kpi__head { display: flex; align-items: center; justify-content: space-between; gap: var(--lx-space-2); }
.lx-kpi__label { font-size: var(--lx-text-sm); font-weight: 500; color: var(--lx-text-2); }
.lx-kpi__icon { display: none !important; }
.lx-kpi__value {
  font-family: var(--lx-font-display);
  font-size: var(--lx-kpi-size);
  font-weight: 600;
  line-height: var(--lx-kpi-line);
  letter-spacing: -0.01em;
  font-variant-numeric: proportional-nums;
  color: var(--lx-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
@media (max-width: 767px) {
  :root { --lx-kpi-size: 1.5rem; --lx-kpi-line: 1.875rem; }
}
.lx-grid--kpi {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 !important;
  border: 1px solid var(--glass-edge);
  border-radius: var(--lx-radius-card);
  background: var(--glass-1);
  overflow: hidden;
}
.lx-grid--kpi > .lx-card {
  border: 0;
  border-radius: 0;
  box-shadow: -1px 0 0 var(--lx-divider), 0 -1px 0 var(--lx-divider);
}
.lx-grid--kpi > .lx-card::before { content: none; }
:is(.lx-card, .lx-plate) .lx-grid--kpi { gap: var(--lx-gap) !important; border: 0; border-radius: 0; background: none; overflow: visible; }
@media (max-width: 1279px) {
  .lx-grid--kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .lx-grid--kpi .lx-kpi { gap: var(--lx-space-2); }
  .lx-grid--kpi .lx-kpi__icon { display: none; }
  .lx-grid--kpi .lx-kpi__meta { font-size: var(--lx-text-xs); }
}
@media (max-width: 767px) {
  .lx-kpi-row {
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: minmax(168px, 46%);
    grid-template-columns: none !important;
    gap: var(--lx-gap);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--lx-gutter);
    margin-inline: calc(-1 * var(--lx-gutter));
    padding: 2px var(--lx-gutter) 12px;
    scrollbar-width: none;
  }
  .lx-kpi-row::-webkit-scrollbar { display: none; }
  .lx-kpi-row > * { scroll-snap-align: start; }
}
.lx-kpi__meta { display: flex; align-items: center; gap: var(--lx-space-2); flex-wrap: wrap; font-size: var(--lx-text-sm); color: var(--lx-text-3); }
.lx-kpi__delta { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; font-variant-numeric: tabular-nums; font-size: var(--lx-text-sm); }
.lx-kpi__delta .lx-icon { width: 14px; height: 14px; }
.lx-kpi__delta--up { color: var(--lx-accent); }
.lx-kpi__delta--down { color: var(--lx-refused); }
.lx-kpi__delta--flat { color: var(--lx-text-2); }

.lx-table-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  max-height: var(--lx-table-max-h, none);
}
.lx-card--flush > .lx-table-wrap:first-child { border-top-left-radius: calc(var(--lx-radius-card) - 1px); border-top-right-radius: calc(var(--lx-radius-card) - 1px); }
.lx-card--flush > .lx-table-wrap:last-child { border-bottom-left-radius: calc(var(--lx-radius-card) - 1px); border-bottom-right-radius: calc(var(--lx-radius-card) - 1px); }
.lx-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--lx-text-md);
  color: var(--lx-text);
}
.lx-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 44px;
  padding: 0 14px;
  text-align: left;
  font-size: var(--lx-text-xs);
  line-height: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--lx-text-3);
  white-space: nowrap;
  background: transparent;
  border-bottom: 1px solid var(--lx-divider);
}
.lx-table-wrap[style*="--lx-table-max-h"] .lx-table th,
.lx-table-wrap--scroll .lx-table th { background: rgba(14, 12, 26, 0.94); }
.lx-table td {
  height: 56px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--lx-divider);
  vertical-align: middle;
  white-space: nowrap;
}
.lx-table tbody tr { transition: background-color var(--lx-dur-fast) var(--lx-ease); }
.lx-table tbody tr:hover,
.lx-table tbody tr:focus-within { background: rgba(255, 255, 255, 0.03); }
.lx-cell-2l { display: flex; flex-direction: column; gap: 2px; white-space: nowrap; line-height: 1.25; }
.lx-cell-2l > :last-child { font-size: var(--lx-text-xs); color: var(--lx-text-3); }
.lx-method { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--lx-text-2); }
.lx-method .lx-icon { width: 16px; height: 16px; color: var(--lx-text-3); }
.lx-table tbody tr:last-child td { border-bottom: 0; }
.lx-table .lx-num,
.lx-table .lx-mono,
.lx-table td.lx-td-num { font-family: var(--lx-font-sans); font-variant-numeric: tabular-nums; }
.lx-table .lx-td-right,
.lx-table th.lx-td-right { text-align: right; }
.lx-table .lx-td-muted { color: var(--lx-text-2); }
.lx-table tr.lx-row-link { cursor: pointer; }
.lx-table th:first-child, .lx-table td:first-child { padding-left: var(--lx-card-pad); }
.lx-table th:last-child, .lx-table td:last-child { padding-right: var(--lx-card-pad); }
.lx-table .lx-td-wrap,
.lx-table .lx-td-wrap .lx-inline-icon { white-space: normal; }
.lx-cell-clip {
  display: block;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lx-cell-clip--sm { max-width: 96px; }
@media (min-width: 1440px) { .lx-cell-clip--sm.lx-cell-clip--grow { max-width: 160px; } }
.lx-btn > .lx-cell-clip { min-width: 0; }
@media (min-width: 768px) and (max-width: 1279px) {
  .lx-table .lx-col--lg { display: none; }
}
@media (min-width: 768px) and (max-width: 1439px) {
  .lx-table .lx-col--xl { display: none; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .lx-table .lx-col--md { display: none; }
}
@media (min-width: 768px) and (max-width: 1439px) {
  .lx-table--compact th, .lx-table--compact td { padding-left: 10px; padding-right: 10px; }
  .lx-table--compact th:first-child, .lx-table--compact td:first-child { padding-left: var(--lx-card-pad); }
  .lx-table--compact th:last-child, .lx-table--compact td:last-child { padding-right: var(--lx-card-pad); }
}
.lx-table .lx-col--sticky {
  position: sticky;
  right: 0;
  z-index: auto;
  background: transparent;
}
.lx-table-wrap.is-scrollable:not(.is-scrolled-end) .lx-table td.lx-col--sticky {
  background: linear-gradient(90deg, rgba(15, 13, 28, 0), rgba(15, 13, 28, 0.86) 14px);
}
.lx-table th.lx-col--sticky { z-index: 2; background: transparent; }
.lx-table-wrap[style*="--lx-table-max-h"] .lx-table th.lx-col--sticky,
.lx-table-wrap--scroll .lx-table th.lx-col--sticky { background: rgba(14, 12, 26, 0.94); }
.lx-table .lx-menu { z-index: var(--lx-z-dropdown); }
.lx-stack-show { display: none; }

@media (max-width: 767px) {
  .lx-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .lx-table--stack,
  .lx-table--stack tbody,
  .lx-table--stack tr,
  .lx-table--stack td { display: block; width: 100%; }
  .lx-table--stack tr {
    padding: var(--lx-space-3) var(--lx-space-4);
    border-bottom: 1px solid var(--lx-divider);
  }
  .lx-table--stack tbody tr:last-child { border-bottom: 0; }
  .lx-table--stack td {
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--lx-space-3);
    padding: 6px 0;
    border: 0;
    white-space: normal;
    text-align: right;
  }
  .lx-table--stack td::before {
    content: attr(data-label);
    color: var(--lx-text-2);
    font-family: var(--lx-font-sans);
    font-size: var(--lx-text-xs);
    text-align: left;
    flex-shrink: 0;
  }
  .lx-table--stack td[data-label=""]::before { content: none; }
  .lx-table--stack .lx-col--sticky { position: static; background: none; }
  .lx-table--stack .lx-cell-clip { max-width: 100%; }
  .lx-table--stack td > * { max-width: 100%; }
  .lx-table--stack td > .lx-btn,
  .lx-table--stack td > .lx-cell-clip { min-width: 0; }
  .lx-table--stack .lx-stack-show { display: inline; }
  .lx-table--stack .lx-btn--icon:has(.lx-stack-show) { width: auto; padding: 0 var(--lx-space-3); }
  .lx-table--stack td:first-child,
  .lx-table--stack td:last-child { padding-left: 0; padding-right: 0; }
  .lx-table--stack-grid tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px var(--lx-space-4);
    padding: var(--lx-space-3) var(--lx-space-4);
  }
  .lx-table--stack-grid .lx-col--xl { display: none; }
  .lx-table--stack-grid td {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2px;
    padding: 0;
    min-width: 0;
    text-align: left;
  }
  .lx-table--stack-grid td::before { line-height: 1.3; }
  .lx-table--stack-grid td > * { max-width: 100%; }
  .lx-table--stack-grid td > .lx-btn--ghost,
  .lx-table--stack-grid td > span > .lx-btn--ghost { margin-left: calc(-1 * var(--lx-space-3)); }
  .lx-table--stack-grid .lx-cell-inline > div { display: flex; flex-wrap: wrap; column-gap: 6px; }
}

@media (max-width: 767px) {
  .lx-table--cards thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .lx-table--cards, .lx-table--cards tbody { display: block; width: 100%; }
  .lx-table--cards tr {
    position: relative;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    grid-template-areas: "name name name amount" "status method date date" "meta meta meta meta";
    align-items: center;
    column-gap: 10px;
    row-gap: 6px;
    min-height: 72px;
    padding: 12px var(--lx-space-4);
    border-bottom: 1px solid var(--lx-divider);
  }
  .lx-table--cards tbody tr:last-child { border-bottom: 0; }
  .lx-table--cards td {
    display: block;
    height: auto;
    padding: 0 !important;
    border: 0;
    min-width: 0;
    text-align: left;
  }
  .lx-table--cards td:not([class*="lx-cell--"]) { display: none; }
  .lx-table--cards .lx-cell--name {
    grid-area: name;
    font-weight: 500;
    color: var(--lx-text);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .lx-table--cards .lx-cell--amount {
    grid-area: amount;
    justify-self: end;
    font-family: var(--lx-font-display);
    font-size: 1rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--lx-text);
    white-space: nowrap;
  }
  .lx-table--cards .lx-cell--status { grid-area: status; }
  .lx-table--cards .lx-cell--method { grid-area: method; }
  .lx-table--cards .lx-cell--method .lx-method > span { display: none; }
  .lx-table--cards .lx-cell--id {
    grid-area: name;
    font-family: var(--lx-font-mono);
    font-size: var(--lx-text-sm);
    color: var(--lx-text-2);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .lx-table--cards tr:has(.lx-cell--name) .lx-cell--id { display: none; }
  .lx-table--cards .lx-cell--id .lx-cell-clip { max-width: 100%; }
  .lx-table--cards .lx-cell--name .lx-cell-clip { max-width: 100%; }
  .lx-table--cards .lx-cell--date { grid-area: date; font-size: var(--lx-text-xs); color: var(--lx-text-3); white-space: normal; text-align: right; }
  .lx-table--cards .lx-cell--date .lx-cell-2l { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; gap: 0 4px; }
  .lx-table--cards tr:has(.lx-cell--action) { padding-right: 56px; }
  .lx-table--cards tr.lx-row-link:not(:has(.lx-cell--action)) { padding-right: 40px; }
  .lx-table--cards .lx-cell--action { position: absolute; top: 0; bottom: 0; right: 6px; display: flex; align-items: center; background: none !important; }
  .lx-table--cards .lx-cell--meta .lx-copy-field { width: 100%; }
  .lx-table--cards .lx-cell--action .lx-btn { min-width: 44px; min-height: 44px; }
  .lx-table--cards .lx-cell--meta { grid-area: meta; font-size: var(--lx-text-sm); color: var(--lx-text-2); white-space: normal; }
  .lx-table--cards tr.lx-row-link:not(:has(.lx-cell--action))::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 14px;
    margin-top: -8px;
    width: 16px; height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239DABBF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / 16px no-repeat;
  }
  .lx-table--cards tr.lx-row-link:active { background: rgba(255, 255, 255, 0.04); }
}

.lx-rowcards { list-style: none; margin: 0; padding: 0; }
.lx-rowcards > li + li { border-top: 1px solid var(--lx-divider); }
.lx-rowcard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  row-gap: 6px;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding: 12px var(--lx-space-4);
  border: 0;
  background: transparent;
  color: var(--lx-text);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--lx-dur-fast) var(--lx-ease);
}
.lx-rowcard:hover, .lx-rowcard:active { background: rgba(255, 255, 255, 0.04); }
.lx-rowcard__name { min-width: 0; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-rowcard__amount { justify-self: end; padding-left: 12px; font-family: var(--lx-font-display); font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lx-rowcard__meta { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; min-width: 0; font-size: var(--lx-text-xs); color: var(--lx-text-3); }
.lx-rowcard__meta > .lx-icon { width: 16px; height: 16px; flex-shrink: 0; }
.lx-rowcard__date { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-rowcard__chev { color: var(--lx-text-3); }
@media (max-width: 767px) { .lx-desktop-only { display: none !important; } }
@media (min-width: 768px) { .lx-mobile-only { display: none !important; } }

.lx-skeleton {
  display: block;
  height: 12px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.11) 50%, rgba(255, 255, 255, 0.06) 100%);
  background-size: 200% 100%;
  animation: lx-shimmer 1.4s ease-in-out infinite;
}
.lx-skeleton--text { height: 12px; }
.lx-skeleton--title { height: 20px; width: 40%; }
.lx-skeleton--value { height: var(--lx-kpi-line); width: 60%; border-radius: var(--lx-radius-sm); }
.lx-skeleton--circle { border-radius: 50%; width: 32px; height: 32px; }
.lx-skeleton-rows { display: flex; flex-direction: column; }
.lx-skeleton-row {
  display: grid;
  grid-template-columns: var(--lx-skeleton-cols, repeat(4, minmax(0, 1fr)));
  align-items: center;
  gap: var(--lx-space-4);
  min-height: 56px;
  padding: 0 var(--lx-card-pad);
  border-bottom: 1px solid var(--lx-divider);
}
.lx-skeleton-row:last-child { border-bottom: 0; }
@keyframes lx-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lx-skeleton { animation: none; background: rgba(255, 255, 255, 0.06); }
}
.lx-skeleton-card { display: grid; grid-template-columns: minmax(0, 1fr) 88px; gap: 10px 16px; align-items: center; min-height: 72px; padding: 12px var(--lx-space-4); border-bottom: 1px solid var(--lx-divider); }
.lx-skeleton-card > :nth-child(3) { grid-column: 1 / -1; width: 60%; }

.lx-empty,
.lx-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--lx-space-2);
  padding: var(--lx-space-10) var(--lx-space-6);
}
.lx-error,
.lx-empty--card { border-radius: var(--lx-radius-card); }
.lx-empty__icon,
.lx-error__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--lx-space-2);
  color: var(--lx-text-3);
}
.lx-empty__icon .lx-icon, .lx-error__icon .lx-icon { width: 32px; height: 32px; }
.lx-error__icon { color: var(--lx-refused); }
.lx-empty__title,
.lx-error__title {
  font-family: var(--lx-font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--lx-text);
  margin: 0;
  text-wrap: balance;
}
.lx-empty__text,
.lx-error__text { max-width: 42ch; margin: 0; font-size: var(--lx-text-md); color: var(--lx-text-2); }
.lx-empty__action,
.lx-error__action { margin-top: var(--lx-space-3); }

.lx-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--lx-space-3);
  flex-wrap: wrap;
  padding: var(--lx-space-3) var(--lx-card-pad);
  border-top: 1px solid var(--lx-divider);
}
.lx-pagination__info { font-size: var(--lx-text-sm); color: var(--lx-text-2); font-variant-numeric: tabular-nums; }
.lx-pagination__pages { display: flex; align-items: center; gap: 4px; }
.lx-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--lx-radius-sm);
  background: transparent;
  color: var(--lx-text-2);
  font-family: var(--lx-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--lx-text-sm);
  text-decoration: none;
  cursor: pointer;
}
.lx-page-btn:hover { background: var(--lx-surface-hover); color: var(--lx-text); }
.lx-page-btn[aria-current="page"] { background: var(--lx-surface-active); color: var(--lx-accent); box-shadow: var(--glass-inset); }
.lx-page-btn { transition: background-color var(--lx-dur-fast) var(--lx-ease), color var(--lx-dur-fast) var(--lx-ease); }
.lx-page-btn:disabled,
.lx-page-btn[aria-disabled="true"] { opacity: 0.4; pointer-events: none; }
@media (pointer: coarse), (max-width: 1023px) { .lx-page-btn { min-width: 44px; height: 44px; } }
@media (max-width: 479px) {
  .lx-pagination__pages { flex-wrap: wrap; min-width: 0; max-width: 100%; }
  .lx-pagination__pages > .lx-page-btn:not(:first-child):not(:last-child):not([aria-current="page"]) { display: none; }
}

.lx-page {
  width: 100%;
  max-width: var(--lx-page-max);
  margin: 0 auto;
  padding: var(--lx-space-8) var(--lx-gutter) var(--lx-space-16);
  min-width: 0;
}
.lx-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--lx-space-4);
  flex-wrap: wrap;
  margin-bottom: var(--lx-space-8);
}
.lx-page-header__text { min-width: 0; flex: 1 1 280px; }
.lx-page-header__title {
  margin: 0;
  font-family: var(--lx-font-display);
  font-size: var(--lx-fs-page);
  font-weight: 600;
  line-height: var(--lx-lh-page);
  letter-spacing: 0;
  color: var(--lx-text);
  text-wrap: balance;
}
.lx-page-header__subtitle { margin: 8px 0 0; max-width: 64ch; font-size: var(--lx-text-base); color: var(--lx-text-2); text-wrap: pretty; }
.lx-page-header__actions { display: flex; align-items: center; gap: var(--lx-space-2); flex-wrap: wrap; }
@media (max-width: 767px) {
  .lx-page-header { margin-bottom: var(--lx-space-6); }
  .lx-page-header__title { font-size: var(--lx-fs-page); line-height: var(--lx-lh-page); }
  .lx-page-header__actions { width: 100%; }
}
.lx-section { margin-top: var(--lx-space-8); }
@media (max-width: 767px) { .lx-section { margin-top: var(--lx-space-6); } }

.lx-stack { display: flex; flex-direction: column; gap: var(--lx-gap); min-width: 0; }
.lx-row { display: flex; align-items: center; gap: var(--lx-space-3); flex-wrap: wrap; min-width: 0; }
.lx-grid { display: grid; gap: var(--lx-gap); min-width: 0; }
.lx-grid > * { min-width: 0; }
.lx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 768px) and (max-width: 1023px) {
  .lx-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.lx-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lx-grid--auto { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.lx-grid--main-aside { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.lx-col-span-2 { grid-column: span 2; }
.lx-col-span-full { grid-column: 1 / -1; }
@media (max-width: 1279px) {
  .lx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-grid--main-aside { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .lx-grid--2, .lx-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .lx-col-span-2 { grid-column: auto; }
}
@media (max-width: 479px) {
  .lx-grid--4 { grid-template-columns: minmax(0, 1fr); }
}

.lx-copy-field {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 48px;
  padding: 2px 2px 2px var(--lx-space-3);
  border-radius: var(--lx-radius-md);
  border: 1px solid var(--lx-border);
  background: var(--lx-surface-sunken);
  min-width: 0;
}
.lx-copy-field__value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--lx-font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--lx-text-md);
  color: var(--lx-text);
  background: transparent;
  border: 0;
  padding: 0;
}
.lx-copy-field__value:focus { outline: none; }
.lx-copy-field[data-revealed="false"] .lx-copy-field__value { letter-spacing: 0.08em; color: var(--lx-text-2); text-overflow: clip; }
.lx-copy-field .lx-btn--icon { color: var(--lx-text-2); }
.lx-copy-field .lx-btn--icon:hover { color: var(--lx-text); }
.lx-copy-field [data-lx-copied="true"] { color: var(--lx-accent); }

.lx-menu {
  position: absolute;
  z-index: var(--lx-z-dropdown);
  min-width: 220px;
  padding: 6px;
  border-radius: var(--lx-radius-lg);
}
.lx-menu:not([hidden]):not(.hidden) { animation: lx-menu-in var(--lx-dur-fast) var(--lx-ease); }
@keyframes lx-menu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.lx-menu[hidden] { display: none; }
.lx-menu__header { padding: 8px 10px 10px; border-bottom: 1px solid var(--lx-divider); margin-bottom: 6px; min-width: 0; }
.lx-menu__name { display: block; font-size: var(--lx-text-md); font-weight: 500; color: var(--lx-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-menu__email { display: block; font-size: var(--lx-text-xs); color: var(--lx-text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-menu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--lx-radius-sm);
  background: transparent;
  color: var(--lx-text-2);
  font-family: var(--lx-font-sans);
  font-size: var(--lx-text-md);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.lx-menu__item { transition: background-color var(--lx-dur-fast) var(--lx-ease), color var(--lx-dur-fast) var(--lx-ease); }
.lx-menu__item:hover,
.lx-menu__item:focus-visible { background: var(--lx-surface-hover); color: var(--lx-text); }
.lx-menu__item--danger { color: var(--lx-refused); }
.lx-menu__item--danger:hover { color: var(--lx-refused); background: var(--lx-refused-bg); }
.lx-menu__sep { height: 1px; margin: 6px 4px; background: var(--lx-divider); }

.lx-app { display: flex; min-height: 100vh; min-height: 100dvh; width: 100%; }
.lx-app__main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; padding-right: var(--lx-shell-inset); }
.lx-app__main > .lx-page { padding: var(--lx-space-8) var(--lx-space-4) var(--lx-space-16); margin: 0; max-width: none; }
@media (max-width: 767px) {
  .lx-app__main { padding-right: 0; }
  .lx-app__main:has(> .lx-topbar) { padding-top: calc(var(--lx-topbar-h-mobile) + env(safe-area-inset-top, 0px)); }
  .lx-app__main > .lx-page { padding: var(--lx-space-5) var(--lx-gutter) var(--lx-space-8); }
}

.lx-topbar {
  position: sticky;
  top: var(--lx-shell-inset);
  z-index: var(--lx-z-topbar);
  display: flex;
  align-items: center;
  gap: var(--lx-space-2);
  min-height: var(--lx-topbar-h);
  margin: var(--lx-shell-inset) 0 0;
  padding: 0 var(--lx-space-3) 0 var(--lx-space-2);
  border-width: 0 0 1px;
  border-radius: 0;
}
@media (max-width: 767px) {
  .lx-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: 0;
    height: calc(var(--lx-topbar-h-mobile) + env(safe-area-inset-top, 0px));
    margin: 0;
    padding: env(safe-area-inset-top, 0px) max(var(--lx-space-2), env(safe-area-inset-right, 0px)) 0 max(var(--lx-space-2), env(safe-area-inset-left, 0px));
    gap: 4px;
    border-width: 0 0 1px;
    border-radius: 0;
  }
  .lx-topbar::before { display: none; }
  .lx-topbar .lx-topbar__user-btn > .lx-icon { display: none; }
  .lx-topbar__user-btn { width: 44px; min-width: 44px; padding: 0; justify-content: center; }
}
.lx-topbar__title {
  flex: 1;
  min-width: 0;
  margin: 0 0 0 var(--lx-space-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--lx-font-display);
  font-size: var(--lx-text-base);
  font-weight: 600;
  color: var(--lx-text);
}
@media (min-width: 768px) { .lx-topbar__title { font-size: var(--lx-text-lg); } }
.lx-topbar__actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.lx-topbar__bell { position: relative; }
.lx-topbar__dot {
  position: absolute;
  top: 11px;
  right: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lx-refused);
  box-shadow: 0 0 0 2px #0E0B1C;
}
.lx-topbar__user { position: relative; }
.lx-topbar__user-btn { gap: 10px; padding: 0 8px 0 6px; }
.lx-topbar__user-name {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--lx-text-md);
  color: var(--lx-text);
}
@media (max-width: 1023px) { .lx-topbar__user-name { display: none; } }
.lx-topbar .lx-menu { right: 0; top: calc(100% + 10px); min-width: 248px; }

.lx-avatar {
  position: relative;
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--lx-surface-active);
  box-shadow: 0 0 0 1px var(--lx-border);
}
.lx-avatar img { width: 100%; height: 100%; object-fit: cover; }

.lx-tabbar { display: none; }
@media (max-width: 767px) {
  .lx-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--lx-z-tabbar);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    height: calc(var(--lx-tabbar-h) + env(safe-area-inset-bottom, 0px));
    padding: 0 max(4px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(4px, env(safe-area-inset-left, 0px));
    border-width: 1px 0 0;
    border-radius: 0;
  }
  .lx-tabbar::before { display: none; }
  body.lx-body:has(> .lx-app .lx-tabbar),
  body.dark:has(.lx-tabbar) { padding-bottom: calc(var(--lx-tabbar-h) + env(safe-area-inset-bottom, 0px)); }
}
.lx-tabbar__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 48px;
  margin: 8px 2px;
  padding: 0 2px;
  border: 0;
  border-radius: var(--lx-radius-md);
  background: transparent;
  color: var(--lx-text-2);
  font-family: var(--lx-font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--lx-dur-fast) var(--lx-ease), color var(--lx-dur-fast) var(--lx-ease);
}
.lx-tabbar__item .lx-icon { width: 22px; height: 22px; }
.lx-tabbar__item > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-tabbar__item:hover,
.lx-tabbar__item:active { color: var(--lx-text); }
.lx-tabbar__item::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  width: 52px;
  height: 28px;
  margin-left: -26px;
  border-radius: var(--lx-radius-pill);
  background: transparent;
  transition: background-color var(--lx-dur-fast) var(--lx-ease);
  z-index: -1;
}
.lx-tabbar__item { isolation: isolate; justify-content: flex-start; padding-top: 7px; font-size: 0.6875rem; line-height: 0.875rem; }
.lx-tabbar__item:active::before { background: rgba(255, 255, 255, 0.06); }
.lx-tabbar__item[aria-current="page"] { color: var(--lx-accent); }
.lx-tabbar__item[aria-current="page"]::before { background: rgba(75, 33, 181, 0.40); }
.lx-tabbar__item[aria-expanded="true"]::before { background: rgba(255, 255, 255, 0.08); }
.lx-tabbar__item[aria-expanded="true"] { color: var(--lx-text); }
.lx-tabbar__item.is-current { color: var(--lx-accent); }

.lx-sidebar { position: relative; flex-shrink: 0; color: var(--lx-text-2); }
.lx-sidebar__gap {
  width: calc(var(--lx-sidebar-w) + 2 * var(--lx-shell-inset));
  height: 1px;
  transition: width var(--lx-dur-slow) var(--lx-ease);
}
.lx-sidebar[data-collapsible="icon"] .lx-sidebar__gap { width: calc(var(--lx-rail-w) + 2 * var(--lx-shell-inset)); }
@media (min-width: 768px) and (max-width: 1279px) {
  .lx-sidebar .lx-sidebar__gap { width: calc(var(--lx-rail-w) + 2 * var(--lx-shell-inset)); }
}
@media (max-width: 767px) {
  .lx-sidebar .lx-sidebar__gap { width: 0; }
}

.lx-sidebar__panel {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: var(--lx-z-sidebar);
  width: calc(var(--lx-sidebar-w) + var(--lx-shell-inset));
  padding: var(--lx-shell-inset) 0 var(--lx-shell-inset) var(--lx-shell-inset);
  transition: width var(--lx-dur-slow) var(--lx-ease), transform var(--lx-dur-slow) var(--lx-ease);
}
.lx-sidebar[data-collapsible="icon"] .lx-sidebar__panel { width: calc(var(--lx-rail-w) + var(--lx-shell-inset)); }
.lx-sidebar.sidebar-initializing .lx-sidebar__panel,
.lx-sidebar.sidebar-initializing .lx-sidebar__gap { transition: none; }

.lx-sidebar__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  border-width: 0 1px 0 0;
  border-radius: 0;
  overflow: hidden;
}

.lx-sidebar__backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--lx-z-backdrop);
  background: rgba(4, 3, 8, 0.6);
  animation: lx-fade-in var(--lx-dur) var(--lx-ease);
}
.lx-sidebar__backdrop.hidden,
.lx-sidebar__backdrop[hidden] { display: none; }

@media (min-width: 768px) and (max-width: 1279px) {
  .lx-sidebar:not([data-collapsible]) .lx-sidebar__panel { z-index: var(--lx-z-offcanvas); }
  .lx-sidebar:not(#admin-sidebar):not([data-collapsible]) .lx-sidebar__inner { --lx-g-fill: var(--glass-3); --lx-g-blur: var(--glass-blur-3); }
}
@media (max-width: 767px) {
  .lx-sidebar__panel {
    z-index: var(--lx-z-offcanvas);
    width: min(320px, 88vw);
    padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
    transform: translateX(0);
  }
  .lx-sidebar[data-collapsible="offcanvas"] .lx-sidebar__panel {
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform var(--lx-dur-slow) var(--lx-ease), visibility 0s linear var(--lx-dur-slow);
  }
  .lx-sidebar .lx-sidebar__inner { --lx-g-fill: var(--glass-3); --lx-g-blur: var(--glass-blur-3); border-radius: 0; }
  .lx-sidebar__content { overscroll-behavior: contain; }
}

.lx-sidebar__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 16px 12px;
}
.lx-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 4px;
  border-radius: var(--lx-radius-md);
  color: var(--lx-text);
  text-decoration: none;
}
.lx-sidebar__logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  /* O SVG do ícone já traz os cantos arredondados do Figma; recortar por CSS muda o desenho. */
  border-radius: 0;
  object-fit: contain;
}
/* Menu lateral: o logotipo oficial inteiro (logo.svg) quando aberto; recolhido, so o icone. */
.lx-sidebar__logo-full { display: block; height: 36px; width: auto; flex-shrink: 0; align-self: flex-start; }
/* Subtitulo (admin) alinhado ao inicio das letras do logotipo: 904/624 do alto do icone = 52px a 36px. */
.lx-sidebar__logo-full + .lx-sidebar__brand-sub { margin: -2px 0 0 52px; }
.lx-sidebar__logo--rail { display: none; }
.lx-sidebar[data-collapsible="icon"] .lx-sidebar__logo--rail { display: block; }
.lx-sidebar__brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.lx-sidebar__brand-name { font-family: var(--lx-font-display); font-size: var(--lx-text-lg); font-weight: 600; color: var(--lx-text); }
.lx-sidebar__brand-accent { color: var(--lx-accent); }
.lx-sidebar__brand-sub { font-size: var(--lx-text-xs); color: var(--lx-text-3); }
.lx-sidebar__close { display: none; }
@media (max-width: 767px) { .lx-sidebar__close { display: inline-flex; } }

.lx-sidebar__content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 12px 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}
.lx-sidebar__group + .lx-sidebar__group { margin-top: 16px; }
.lx-sidebar__group-label {
  margin: 0;
  padding: 6px 12px 6px;
  font-size: var(--lx-text-xs);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--lx-text-3);
  white-space: nowrap;
}
.lx-sidebar__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.lx-sidebar__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--lx-radius-md);
  background: transparent;
  color: var(--lx-text-2);
  font-family: var(--lx-font-sans);
  font-size: var(--lx-text-base);
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  touch-action: manipulation;
  transition: background-color var(--lx-dur-fast) var(--lx-ease), color var(--lx-dur-fast) var(--lx-ease);
}
.lx-sidebar__item .lx-icon { width: 20px; height: 20px; }
.lx-sidebar__item .sidebar-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lx-sidebar__item .lx-sidebar__ext { width: 14px; height: 14px; color: var(--lx-text-3); }
.lx-sidebar__item:hover { background: var(--lx-surface-hover); color: var(--lx-text); }
.lx-sidebar .lx-sidebar__item[data-active="true"],
.lx-sidebar .lx-sidebar__item[data-active="true"]:hover {
  background: rgba(75, 33, 181, 0.36);
  box-shadow: none;
  color: var(--lx-accent-hover);
}
.lx-sidebar__item--danger:hover { color: var(--lx-refused); }

.lx-sidebar__footer { padding: 12px; border-top: 1px solid var(--lx-divider); position: relative; }
.lx-sidebar__user {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 6px 8px;
  border: 0;
  border-radius: var(--lx-radius-md);
  background: transparent;
  color: var(--lx-text);
  text-align: left;
  cursor: pointer;
  transition: background-color var(--lx-dur-fast) var(--lx-ease);
}
.lx-sidebar__user:hover,
.lx-sidebar__user[data-state="open"] { background: var(--lx-surface-hover); }
.lx-sidebar__user-text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.lx-sidebar__user-name { font-size: var(--lx-text-md); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-sidebar__user-email { font-size: var(--lx-text-xs); color: var(--lx-text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-sidebar__user-chevron { color: var(--lx-text-3); transition: transform var(--lx-dur) var(--lx-ease); }
.lx-sidebar__user[data-state="open"] .lx-sidebar__user-chevron { transform: rotate(180deg); }
.lx-sidebar .lx-menu.user-dropdown-menu { left: 12px; right: 12px; bottom: calc(100% - 4px); min-width: 0; }
.lx-sidebar .lx-menu.hidden { display: none; }

.lx-sidebar[data-collapsible="icon"] .lx-sidebar__header { padding: 16px 0 12px; justify-content: center; }
.lx-sidebar[data-collapsible="icon"] .lx-sidebar__brand { flex: 0 0 auto; justify-content: center; padding: 0; min-width: 44px; min-height: 44px; }
.lx-sidebar[data-collapsible="icon"] .lx-sidebar__content { padding: 4px 10px 12px; }
.lx-sidebar[data-collapsible="icon"] .lx-sidebar__item { justify-content: center; padding: 0; gap: 0; }
.lx-sidebar[data-collapsible="icon"] .lx-sidebar__user { justify-content: center; padding: 6px 0; gap: 0; }
.lx-sidebar[data-collapsible="icon"] .sidebar-label,
.lx-sidebar[data-collapsible="icon"] .sidebar-subtext,
.lx-sidebar[data-collapsible="icon"] .sidebar-chevron,
.lx-sidebar[data-collapsible="icon"] .lx-sidebar__brand-text,
.lx-sidebar[data-collapsible="icon"] .lx-sidebar__user-text,
.lx-sidebar[data-collapsible="icon"] .lx-sidebar__ext {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.lx-sidebar[data-collapsible="icon"] .lx-sidebar__group-label {
  height: 1px;
  padding: 0;
  margin: 8px 14px 10px;
  overflow: hidden;
  color: transparent;
  background: var(--lx-divider);
}
.lx-sidebar[data-collapsible="icon"] .lx-sidebar__group + .lx-sidebar__group { margin-top: 8px; }
.lx-sidebar[data-collapsible="icon"] .lx-menu.user-dropdown-menu { left: calc(100% + 8px); right: auto; bottom: 8px; width: 240px; }

.sidebar-tooltip {
  position: fixed;
  z-index: var(--lx-z-tooltip);
  padding: 6px 10px;
  border-radius: var(--lx-radius-sm);
  color: var(--lx-text);
  font-size: var(--lx-text-sm);
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%);
  transition: opacity var(--lx-dur-fast) var(--lx-ease), visibility var(--lx-dur-fast) var(--lx-ease);
}
.sidebar-tooltip.visible { opacity: 1; visibility: visible; }

#loading-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 9999; height: 2px; overflow: hidden; pointer-events: none; }
#loading-bar .loading-bar-progress { background: linear-gradient(to right, transparent 0%, var(--lx-accent) 30%, var(--lx-blue) 100%); }

:root,
.dark {
  --background: 5 8 15;
  --foreground: 232 238 247;
  --primary: 60 200 255;
  --primary-foreground: 3 16 25;
  --accent: 24 32 46;
  --accent-foreground: 232 238 247;
  --muted: 18 25 38;
  --border: 30 39 54;
  --input: 38 48 66;
  --ring: 60 200 255;
  --muted-foreground: 154 168 188;
}

.bg-\[\#0a0a0a\], .bg-\[\#0A0A0A\], .bg-\[\#0c0c0c\], .bg-\[\#0f0f0f\], .bg-\[\#0F0F0F\] { background-color: #0A0911; }
.bg-\[\#101010\], .bg-\[\#111111\], .bg-\[\#151515\], .bg-\[\#161616\] { background-color: #0E0C17; }
.bg-\[\#171717\], .bg-\[\#181818\] { background-color: #110F1B; }
.bg-\[\#1e1e1e\], .bg-\[\#1f1f1f\], .bg-\[\#202020\] { background-color: #16131F; }
.bg-\[\#262626\], .bg-\[\#2a2a2a\], .bg-\[\#313232\] { background-color: #1D1928; }
.bg-\[\#171717\]\/50 { background-color: rgba(17, 15, 27, 0.5); }
.bg-\[\#171717\]\/80 { background-color: rgba(17, 15, 27, 0.8); }
.bg-\[\#151515\]\/95 { background-color: rgba(14, 12, 23, 0.95); }
.bg-\[\#0a0a0a\]\/55 { background-color: rgba(9, 8, 16, 0.55); }
.hover\:bg-\[\#202020\]:hover { background-color: #16131F; }
.hover\:bg-\[\#262626\]:hover { background-color: #1D1928; }

.border-\[\#171717\], .border-\[\#1f1f1f\] { border-color: rgba(255, 255, 255, 0.05); }
.border-\[\#262626\], .border-\[\#2a2a2a\], .border-\[\#313232\] { border-color: rgba(255, 255, 255, 0.08); }
.border-\[\#313232\]\/50 { border-color: rgba(255, 255, 255, 0.05); }
.border-\[\#404040\] { border-color: rgba(255, 255, 255, 0.12); }

.bg-\[\#15c8e5\] { background-color: var(--lx-accent); }
.text-\[\#15c8e5\] { color: var(--lx-accent); }
.border-\[\#15c8e5\] { border-color: var(--lx-accent); }

body.dark.bg-\[\#171717\] { background-color: transparent; }

div:has(> div > #toggle-sidebar):not(.lx-topbar) {
  min-height: 56px;
  background: rgba(13, 11, 22, 0.6);
  border-bottom-color: var(--lx-border);
}
#toggle-sidebar,
#open-notifications-sheet {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lx-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--lx-space-3);
  padding: var(--lx-space-5) var(--lx-space-4) var(--lx-space-4) var(--lx-space-5);
  border-bottom: 1px solid var(--lx-divider);
  flex-shrink: 0;
}
.lx-sheet__title {
  margin: 0;
  font-family: var(--lx-font-display);
  font-size: var(--lx-text-lg);
  font-weight: 600;
  line-height: 1.3;
  color: var(--lx-text);
}
.lx-sheet__desc { margin: 4px 0 0; font-size: var(--lx-text-md); color: var(--lx-text-2); }
.lx-sheet__form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.lx-sheet__body {
  display: flex;
  flex-direction: column;
  gap: var(--lx-space-5);
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: var(--lx-space-5);
}
.lx-sheet__footer {
  display: flex;
  flex-direction: column;
  gap: var(--lx-space-2);
  padding: var(--lx-space-4) var(--lx-space-5);
  border-top: 1px solid var(--lx-divider);
  flex-shrink: 0;
}
.lx-toast-region {
  position: fixed;
  top: var(--lx-space-4);
  left: 50%;
  z-index: 230;
  display: flex;
  flex-direction: column;
  gap: var(--lx-space-2);
  width: calc(100% - 32px);
  max-width: 420px;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: translateX(-50%);
  pointer-events: none;
}
@media (max-width: 767px) {
  .lx-toast-region { top: calc(var(--lx-topbar-h-mobile) + env(safe-area-inset-top, 0px) + var(--lx-space-2)); }
}
.lx-code {
  margin: 0;
  padding: var(--lx-space-4);
  overflow: auto;
  border-radius: var(--lx-radius-md);
  border: 1px solid var(--lx-border);
  background: var(--lx-surface-sunken);
  font-family: var(--lx-font-mono);
  font-size: var(--lx-text-sm);
  font-variant-numeric: tabular-nums;
  line-height: 1.6;
  color: var(--lx-text-2);
  text-align: left;
  white-space: pre;
  tab-size: 2;
}
.lx-code--scroll { max-height: min(42vh, 380px); }
.lx-code--wrap { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 144px; }
.lx-code .json-key { color: var(--lx-text); }
.lx-code .json-string { color: var(--lx-blue-text); }
.lx-code .json-number { color: var(--lx-gold); }
.lx-code .json-boolean,
.lx-code .json-null { color: var(--lx-bronze); }
.lx-code .json-bracket,
.lx-code .json-punctuation { color: var(--lx-text-3); }
.lx-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--lx-space-4) var(--lx-space-6); margin: 0; }
.lx-dl > div { min-width: 0; }
.lx-dl dt { font-size: var(--lx-text-xs); color: var(--lx-text-3); }
.lx-dl dd { margin: 4px 0 0; font-size: var(--lx-text-md); color: var(--lx-text); overflow-wrap: anywhere; }
@media (max-width: 479px) { .lx-dl { grid-template-columns: minmax(0, 1fr); } }
.lx-tabpanel[aria-hidden="true"] { display: none; }
.lx-table .lx-copy-field { width: 168px; min-height: 40px; }
.lx-card--noblur::after { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(15, 13, 28, 0.72); }
.lx-choice {
  display: flex;
  align-items: center;
  gap: var(--lx-space-3);
  min-height: 44px;
  padding: var(--lx-space-3);
  border-radius: var(--lx-radius-md);
  border: 1px solid var(--lx-border);
  background: var(--lx-surface-sunken);
  cursor: pointer;
  transition: background-color var(--lx-dur-fast) var(--lx-ease);
}
.lx-choice:hover { background: var(--lx-surface-hover); }
.lx-choice:has(input:checked) { background: var(--lx-surface-active); }
.lx-choice input { width: 18px; height: 18px; margin: 0; flex-shrink: 0; accent-color: var(--lx-accent-strong); cursor: pointer; }
.lx-choice__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: var(--lx-text-md); color: var(--lx-text); }
.lx-choice__text small { font-size: var(--lx-text-xs); color: var(--lx-text-3); }
.lx-checkbox { width: 18px; height: 18px; margin: 0; flex-shrink: 0; accent-color: var(--lx-accent-strong); cursor: pointer; }
.lx-menu__item[data-selected="true"] { background: var(--lx-surface-active); color: var(--lx-text); }
.lx-popover {
  position: fixed;
  z-index: var(--lx-z-tooltip);
  min-width: 240px;
  max-width: min(560px, calc(100vw - 2rem));
  max-height: 12rem;
  overflow-y: auto;
  padding: var(--lx-space-3);
  border-radius: var(--lx-radius-lg);
}

.lx-btn.hidden, .lx-modal.hidden, .lx-backdrop.hidden, .lx-sheet.hidden,
.lx-callout.hidden, .lx-icon.hidden { display: none; }

.lx-spin { animation: lx-spin 0.9s linear infinite; }
@keyframes lx-spin { to { transform: rotate(360deg); } }

.lx-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(4, 3, 8, 0.6);
}
.lx-modal {
  position: fixed; top: 50%; left: 50%; z-index: 110;
  width: calc(100% - 2rem); max-width: 520px; max-height: 90vh; max-height: 90dvh;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--lx-radius-shell);
  box-shadow: var(--lx-shadow-pop); color: var(--lx-text);
}
.lx-modal--sm { max-width: 440px; }
.lx-modal__header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--lx-space-3);
  padding: var(--lx-space-5) var(--lx-space-6); border-bottom: 1px solid var(--lx-divider); flex-shrink: 0;
}
.lx-modal__title { margin: 0; font-family: var(--lx-font-display); font-size: var(--lx-text-lg); font-weight: 600; color: var(--lx-text); }
.lx-modal__subtitle { margin: 4px 0 0; font-size: var(--lx-text-sm); color: var(--lx-text-2); }
.lx-modal__body {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; scroll-padding-block: var(--lx-space-6);
  display: flex; flex-direction: column; gap: var(--lx-space-4);
  padding: var(--lx-space-5) var(--lx-space-6);
}
.lx-modal__footer {
  display: flex; justify-content: flex-end; gap: var(--lx-space-2); flex-shrink: 0;
  padding: var(--lx-space-4) var(--lx-space-6); border-top: 1px solid var(--lx-divider);
}
@media (max-width: 479px) {
  .lx-modal__header, .lx-modal__body, .lx-modal__footer { padding-left: var(--lx-space-4); padding-right: var(--lx-space-4); }
}
.lx-anim-fade { animation: lx-fade-in var(--lx-dur) var(--lx-ease) both; }
.lx-anim-pop { animation: lx-pop-in var(--lx-dur) var(--lx-ease); }
@keyframes lx-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes lx-pop-in {
  from { transform: translate(-50%, calc(-50% + 12px)) scale(0.98); }
  to { transform: translate(-50%, -50%) scale(1); }
}

.lx-sheet-overlay {
  position: fixed; inset: 0; z-index: 80; background: rgba(4, 3, 8, 0.6);
  opacity: 0; pointer-events: none; transition: opacity var(--lx-dur-slow) var(--lx-ease);
}
.lx-sheet-overlay[data-state="open"] { opacity: 1; pointer-events: auto; }
.lx-sheet {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(26rem, calc(100vw - 1rem));
  display: flex; flex-direction: column;
  border-radius: var(--lx-radius-shell) 0 0 var(--lx-radius-shell); border-right: 0;
  overscroll-behavior: contain;
  transform: translateX(100%); transition: transform var(--lx-dur-slow) var(--lx-ease);
}
.lx-sheet[data-state="open"] { transform: translateX(0); }
@media (min-width: 768px) {
  .lx-sheet { top: 8px; bottom: 8px; right: 8px; border-right: 1px solid var(--glass-edge); border-radius: var(--lx-radius-shell); transform: translateX(calc(100% + 16px)); }
  .lx-sheet[data-state="open"] { transform: translateX(0); }
}
@media (max-width: 767px) {
  .lx-sheet, .lx-modal {
    top: auto; left: 0; right: 0; bottom: 0;
    width: 100%; max-width: none;
    max-height: 85vh; max-height: 85dvh;
    border-width: 1px 0 0;
    border-radius: var(--lx-radius-shell) var(--lx-radius-shell) 0 0;
    padding-top: 20px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    overscroll-behavior: contain;
  }
  .lx-sheet { transform: translateY(100%); }
  .lx-sheet[data-state="open"] { transform: translateY(0); }
  .lx-modal { transform: none; }
  .lx-modal.lx-anim-pop { animation-name: lx-sheet-up; }
  .lx-sheet::before, .lx-modal::before {
    inset: 8px auto auto 50%;
    width: 36px; height: 4px; padding: 0;
    margin-left: -18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    -webkit-mask: none; mask: none;
  }
  .lx-sheet__header, .lx-modal__header { padding-top: var(--lx-space-3); }
  .lx-sheet__body, .lx-modal__body { overscroll-behavior: contain; }
  .lx-modal--full { top: 0; max-height: none; height: 100%; height: 100dvh; border-radius: 0; padding-top: env(safe-area-inset-top, 0px); }
  .lx-modal--full::before { display: none; }
}
@keyframes lx-sheet-up { from { transform: translateY(100%); } to { transform: none; } }

.lx-menu--fixed { position: fixed; z-index: 130; max-height: min(280px, 70vh); overflow-y: auto; }
.lx-menu__item[data-active="true"] { background: var(--lx-accent-soft); color: var(--lx-accent); }
.lx-select--button { display: flex; align-items: center; text-align: left; }

.lx-input-group { position: relative; display: flex; align-items: center; }
.lx-input-group__prefix { position: absolute; left: 14px; color: var(--lx-text-3); font-size: var(--lx-text-md); pointer-events: none; }
.lx-input-group .lx-input { padding-left: 44px; }
.lx-input--lg { min-height: 52px; font-family: var(--lx-font-display); font-size: var(--lx-text-lg); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.lx-input--lg::-webkit-inner-spin-button,
.lx-input--lg::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.lx-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--lx-space-2); }
.lx-chip {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--lx-space-2);
  border-radius: var(--lx-radius-md); border: 1px solid var(--lx-border); background: var(--lx-surface);
  color: var(--lx-text); font-family: var(--lx-font-mono); font-variant-numeric: tabular-nums; font-size: var(--lx-text-sm);
  cursor: pointer; transition: background-color var(--lx-dur-fast) var(--lx-ease);
}
.lx-chip:hover { background: var(--lx-surface-hover); }
.lx-chip.is-active { background: var(--lx-accent-soft); color: var(--lx-accent); }

.lx-otp { display: flex; justify-content: flex-start; gap: 10px; }
.lx-otp .lx-input {
  flex: 0 1 52px; min-width: 0; width: 52px; max-width: 52px; height: 56px; min-height: 56px; padding: 0;
  text-align: center; font-family: var(--lx-font-display); font-size: 1.375rem; font-weight: 600;
  font-variant-numeric: tabular-nums; caret-color: var(--lx-accent);
}
.lx-otp .lx-input:not(:placeholder-shown),
.lx-otp .lx-input.is-filled { background-color: rgba(255, 255, 255, 0.06); }
.lx-otp--center { justify-content: center; }
@media (max-width: 767px) {
  .lx-otp { gap: 8px; }
  .lx-otp .lx-input { width: 48px; max-width: 48px; height: 52px; min-height: 52px; }
}

.lx-summary {
  display: flex; flex-direction: column; gap: var(--lx-space-2); width: 100%;
  padding: var(--lx-space-4); border-radius: var(--lx-radius-md);
  border: 1px solid var(--lx-border); background: var(--lx-surface-sunken);
  font-size: var(--lx-text-md); text-align: left;
}
.lx-summary__row { display: flex; justify-content: space-between; gap: var(--lx-space-3); color: var(--lx-text-2); }
.lx-summary__row > :last-child { color: var(--lx-text); font-family: var(--lx-font-sans); font-variant-numeric: tabular-nums; }
.lx-summary__row--total { padding-top: var(--lx-space-2); border-top: 1px solid var(--lx-divider); color: var(--lx-text); font-weight: 600; }

.lx-callout {
  display: flex; align-items: flex-start; gap: var(--lx-space-3);
  padding: var(--lx-space-4); border-radius: var(--lx-radius-lg);
  border: 1px solid var(--lx-border); background: var(--lx-surface);
  color: var(--lx-text-2); font-size: var(--lx-text-md);
}
.lx-callout > .lx-icon { margin-top: 1px; color: var(--lx-text-2); }
.lx-callout--pending > .lx-icon { color: var(--lx-pending); }
.lx-callout--refused { background: var(--lx-refused-bg); }
.lx-callout--refused > .lx-icon { color: var(--lx-refused); }
.lx-callout__body { flex: 1; min-width: 0; }
.lx-callout__body p { margin: 0; }
.lx-callout__title { margin: 0 0 2px; color: var(--lx-text); font-weight: 600; }

.lx-toast {
  display: flex; align-items: flex-start; gap: var(--lx-space-3);
  position: relative;
  padding: var(--lx-space-3) var(--lx-space-3) var(--lx-space-3) var(--lx-space-4); border-radius: var(--lx-radius-lg);
  color: var(--lx-text); font-size: var(--lx-text-sm); pointer-events: auto;
  transition: transform var(--lx-dur) var(--lx-ease), opacity var(--lx-dur) var(--lx-ease);
}
.lx-toast__icon { display: inline-flex; margin-top: 1px; color: var(--lx-blue-text); }
.lx-toast--success .lx-toast__icon { color: var(--lx-accent); }
.lx-toast--error .lx-toast__icon { color: var(--lx-refused); }
.lx-toast--warning .lx-toast__icon { color: var(--lx-pending); }
.lx-toast__body { flex: 1; min-width: 0; }
.lx-toast__title { font-weight: 600; }
.lx-toast__text { margin-top: 2px; color: var(--lx-text-2); font-size: var(--lx-text-xs); }
.lx-tooltip {
  position: fixed; z-index: var(--lx-z-tooltip); padding: 6px 10px; border-radius: var(--lx-radius-sm);
  color: var(--lx-text); font-size: var(--lx-text-xs); white-space: nowrap; pointer-events: none;
}

.lx-switch { position: relative; display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; flex-shrink: 0; }
.lx-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.lx-switch__track {
  position: relative; width: 44px; height: 24px; border-radius: var(--lx-radius-pill);
  border: 1px solid var(--lx-border); background: var(--lx-surface-active);
  transition: background-color var(--lx-dur) var(--lx-ease);
}
.lx-switch__track::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--lx-text); transition: transform var(--lx-dur) var(--lx-ease);
}
.lx-switch input:checked + .lx-switch__track { background: var(--lx-accent-strong); border-color: transparent; }
.lx-switch input:checked + .lx-switch__track::after { transform: translateX(20px); background: var(--lx-text-on-accent); }
.lx-switch input:focus-visible + .lx-switch__track { box-shadow: var(--lx-focus-ring); }

.lx-dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--lx-space-2);
  min-height: 180px; padding: var(--lx-space-6); text-align: center; cursor: pointer;
  border: 1px dashed var(--lx-border-strong); border-radius: var(--lx-radius-lg);
  background: var(--lx-surface-sunken); color: var(--lx-text-2);
  transition: background-color var(--lx-dur-fast) var(--lx-ease);
}
.lx-dropzone:hover, .lx-dropzone.is-dragover { background: var(--lx-surface-hover); }
.lx-dropzone .lx-icon--xl { margin: 0 auto var(--lx-space-2); color: var(--lx-text-3); }
.lx-dropzone img { display: block; max-width: 100%; max-height: 12rem; margin: 0 auto; border-radius: var(--lx-radius-md); }
.lx-dropzone img.hidden, .lx-dropzone img[hidden] { display: none; }

.lx-progress { height: 6px; border-radius: var(--lx-radius-pill); background: var(--lx-surface-active); overflow: hidden; }
.lx-progress > span { display: block; height: 100%; width: var(--lx-progress, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--lx-accent-strong), #5C31CF 75%, #7C4DFF); }

.lx-podium {
  max-width: 920px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-areas: "p2 p1 p3";
  align-items: stretch;
  gap: var(--lx-space-5);
}
.lx-podium__slot { position: relative; display: flex; flex-direction: column; min-width: 0; }
.lx-podium__slot > .lx-podium__item { flex: 1 1 auto; }
@media (min-width: 400px) {
  .lx-podium__slot--2, .lx-podium__slot--3 { margin-top: 24px; }
}
.lx-podium__slot--1 { grid-area: p1; }
.lx-podium__slot--2 { grid-area: p2; }
.lx-podium__slot--3 { grid-area: p3; }
.lx-podium__item {
  --lx-tier: var(--lx-silver);
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: 236px;
  padding: 28px 20px 24px;
  text-align: center;
  overflow: hidden;
}
.lx-podium__item--1 { --lx-tier: var(--lx-gold); min-height: 260px; }
.lx-podium__item--2 { --lx-tier: var(--lx-silver); }
.lx-podium__item--3 { --lx-tier: var(--lx-bronze); }
.lx-podium__item.lx-card { border-radius: var(--lx-radius-card) var(--lx-radius-card) 12px 12px; }
.lx-podium__item.lx-plate { border-radius: 28px 28px 12px 12px; }
.lx-podium__numeral {
  position: absolute;
  top: 6px;
  right: 16px;
  font-family: var(--lx-font-display);
  font-size: 72px;
  line-height: 1;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
  user-select: none;
}
.lx-podium__item > .lx-avatar-i { margin-bottom: 8px; }
.lx-podium__place { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: var(--lx-text-sm); font-weight: 500; color: var(--lx-text-2); }
.lx-podium__item--1 .lx-podium__place { color: var(--lx-gold); }
.lx-podium__place .lx-icon { width: 16px; height: 16px; color: var(--lx-gold); }
.lx-podium__name { max-width: 100%; margin: 0; font-size: var(--lx-text-base); font-weight: 500; color: var(--lx-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-podium__desc { max-width: 100%; margin: 0; font-size: var(--lx-text-md); color: var(--lx-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-podium__value {
  margin: auto 0 0;
  padding-top: 8px;
  font-family: var(--lx-font-display);
  font-size: clamp(0.875rem, 11.5cqi, var(--lx-kpi-size));
  line-height: 1.2;
  font-weight: 600;
  font-variant-numeric: proportional-nums;
  letter-spacing: -0.01em;
  color: var(--lx-text);
  white-space: nowrap;
}
.lx-podium__item--1 .lx-podium__value { font-size: clamp(0.9375rem, 11.5cqi, var(--lx-kpi-size-1)); }
.lx-podium__label { margin: 0; font-size: var(--lx-text-xs); color: var(--lx-text-3); }
.lx-podium__plinth {
  position: relative;
  height: 12px;
  margin: 6px -8px 0;
  border-radius: 4px 4px 10px 10px;
  background: linear-gradient(180deg, rgba(201, 184, 255, 0.10), rgba(255, 255, 255, 0.03) 60%, rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 12px 24px -12px rgba(0, 0, 0, 0.7);
}
.lx-podium__plinth::before {
  content: '';
  position: absolute;
  top: 0; left: 6%; right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 184, 255, 0.55), transparent);
}
.lx-podium__slot--1 .lx-podium__plinth::before { left: 2%; right: 2%; background: linear-gradient(90deg, transparent, rgba(201, 184, 255, 0.75), transparent); }
.lx-podium__slot--1::after {
  content: '';
  position: absolute;
  left: 8%; right: 8%;
  bottom: -26px;
  height: 40px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(124, 77, 255, 0.12), transparent 100%);
  pointer-events: none;
  z-index: -1;
}
.lx-podium__item--1.lx-plate::before {
  background: linear-gradient(rgba(169, 139, 255, 0.55), rgba(169, 139, 255, 0.55));
}
.lx-podium__slot--1 .lx-podium__plinth {
  background: rgba(75, 33, 181, 0.30);
  box-shadow: inset 0 0 0 1px rgba(169, 139, 255, 0.28);
}
.lx-podium__slot--1 .lx-podium__plinth::before { background: rgba(169, 139, 255, 0.70); box-shadow: none; }
.lx-podium__slot--1::after { content: none; }

.lx-podium__item--empty {
  justify-content: center;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: var(--lx-radius-card) var(--lx-radius-card) 12px 12px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
  color: var(--lx-text-3);
  font-size: var(--lx-text-md);
}
@media (prefers-reduced-motion: no-preference) {
  .lx-podium__slot { animation: lx-rise 250ms var(--lx-ease) both; }
  .lx-podium__slot > .lx-podium__item > * { animation: lx-fade-in 250ms var(--lx-ease) both; animation-delay: inherit; }
  .lx-podium__slot--2 { animation-delay: 0ms; }
  .lx-podium__slot--1 { animation-delay: 60ms; }
  .lx-podium__slot--3 { animation-delay: 120ms; }
  .lx-podium__slot > .lx-podium__item { animation-delay: inherit; }
}
@keyframes lx-rise { from { transform: translateY(12px); } to { transform: none; } }
@media (max-width: 767px) {
  .lx-podium { gap: 8px; }
  .lx-podium__item { min-height: 196px; padding: 20px 10px 16px; gap: 4px; }
  .lx-podium__item--1 { min-height: 220px; }
  .lx-podium__numeral { font-size: 48px; right: 10px; }
  .lx-podium__name { font-size: var(--lx-text-md); }
  .lx-podium__desc { font-size: var(--lx-text-sm); }
}
@media (max-width: 399px) {
  .lx-podium { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "p1 p1" "p2 p3"; row-gap: 20px; }
  .lx-podium__item--1 { min-height: 0; }
}
.lx-podium > .lx-podium__item--1 { grid-area: p1; }
.lx-podium > .lx-podium__item--2 { grid-area: p2; }
.lx-podium > .lx-podium__item--3 { grid-area: p3; }
.lx-podium__banner {
  --lx-banner-h: 84px;
  position: relative;
  flex-shrink: 0;
  align-self: stretch;
  height: var(--lx-banner-h);
  margin: -28px -20px 0;
  overflow: hidden;
  pointer-events: none;
}
.lx-podium__banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 35%, transparent 100%);
}
.lx-podium__banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 18, 0.10), rgba(10, 9, 18, 0.35) 60%, rgba(10, 9, 18, 0) 100%);
}
.lx-podium__item:has(> .lx-podium__banner) > .lx-podium__numeral { display: none; }
.lx-podium__item:has(> .lx-podium__banner) > .lx-avatar-i {
  position: relative;
  z-index: 1;
  margin-top: calc(var(--lx-av, 64px) / -2);
}
@media (max-width: 767px) {
  .lx-podium__banner { --lx-banner-h: 64px; margin: -20px -10px 0; }
}
.lx-podium__body { display: flex; flex-direction: column; gap: var(--lx-space-3); padding: var(--lx-space-5); align-self: stretch; text-align: left; }
.lx-podium__top { display: flex; align-items: center; justify-content: space-between; gap: var(--lx-space-2); }
.lx-podium__who { display: flex; align-items: center; gap: var(--lx-space-3); min-width: 0; }
.lx-podium__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 2px rgba(10, 10, 15, 0.9), 0 0 0 4px var(--lx-tier); }
.lx-podium__item.lx-card--flush { padding: 0; align-items: stretch; }

@media (min-width: 768px) {
  .lx-ranking-classification { max-width: 920px; margin-inline: auto; }
}
.lx-rank-list { list-style: none; margin: 0; padding: 0; }
.lx-rank-row {
  display: flex; align-items: center; gap: var(--lx-space-3);
  min-height: 60px;
  padding: 8px var(--lx-card-pad); border-top: 1px solid var(--lx-divider);
  transition: background-color var(--lx-dur-fast) var(--lx-ease);
}
.lx-rank-row:first-child { border-top: 0; }
.lx-rank-row:hover { background: rgba(255, 255, 255, 0.03); }
.lx-rank-row.is-me { background: rgba(255, 255, 255, 0.06); }
.lx-rank-row__pos { width: 32px; flex-shrink: 0; font-family: var(--lx-font-mono); font-size: var(--lx-text-sm); font-variant-numeric: tabular-nums; color: var(--lx-text-3); }
.lx-rank-row__avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.lx-rank-row__meta { flex: 1; min-width: 0; }
.lx-rank-row__name { display: flex; align-items: center; gap: var(--lx-space-2); margin: 0; font-weight: 500; color: var(--lx-text); min-width: 0; }
.lx-rank-row__name > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-rank-row__desc { margin: 2px 0 0; font-size: var(--lx-text-sm); color: var(--lx-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lx-rank-row__value { flex-shrink: 0; text-align: right; font-family: var(--lx-font-sans); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--lx-text); }
.lx-rank-gap { display: flex; align-items: center; justify-content: center; height: 32px; border-top: 1px solid var(--lx-divider); color: var(--lx-text-3); letter-spacing: 0.2em; }
@media (max-width: 479px) { .lx-rank-row { padding: 8px var(--lx-space-4); gap: 10px; } .lx-rank-row__pos { width: 26px; } }
.lx-ranking-podium {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr) minmax(0, 1fr);
  grid-template-areas: "p2 p1 p3";
  align-items: end;
}
.lx-ranking-podium .lx-podium__slot { margin-top: 0; }
.lx-ranking-podium .lx-podium__slot--1 { --lx-metal-light: #FFD45C; --lx-metal-dark: #E0A21B; --lx-metal-rgb: 224, 162, 27; --lx-tier-glow: 0.30; --lx-metal-tint: 0.12; }
.lx-ranking-podium .lx-podium__slot--2 { --lx-metal-light: #F1F4F8; --lx-metal-dark: #A7B2C0; --lx-metal-rgb: 167, 178, 192; --lx-tier-glow: 0.19; --lx-metal-tint: 0.08; }
.lx-ranking-podium .lx-podium__slot--3 { --lx-metal-light: #F0A06A; --lx-metal-dark: #B8612C; --lx-metal-rgb: 184, 97, 44; --lx-tier-glow: 0.12; --lx-metal-tint: 0.08; }
.lx-ranking-podium .lx-podium__slot > .lx-podium__item {
  flex: 0 0 auto;
  min-height: 0;
  gap: 4px;
  padding: 20px 16px 16px;
  border: 1px solid var(--glass-edge);
  border-radius: 24px 24px 10px 10px;
  box-shadow: var(--glass-shadow);
}
.lx-ranking-podium .lx-podium__item::before {
  inset: 0 12px auto;
  height: 2px;
  padding: 0;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, var(--lx-metal-light), var(--lx-metal-dark), transparent);
  -webkit-mask: none;
  mask: none;
}
.lx-ranking-podium .lx-podium__item::after {
  background: linear-gradient(rgba(var(--lx-metal-rgb), var(--lx-metal-tint)), rgba(var(--lx-metal-rgb), var(--lx-metal-tint))), var(--glass-1);
  box-shadow: var(--glass-inset);
}
.lx-ranking-podium .lx-podium__item > .lx-podium__numeral {
  display: block;
  z-index: 2;
  font-size: 72px;
  color: var(--lx-metal-dark);
  opacity: 0.28;
  animation: none;
}
.lx-ranking-podium .lx-podium__item--empty > :not(.lx-podium__numeral) { position: relative; z-index: 3; }
@media (max-width: 1023px) {
  .lx-ranking-podium .lx-podium__item--empty > .lx-podium__numeral { font-size: 44px; }
}
@media (max-width: 1023px) {
  .lx-ranking-podium .lx-podium__item--empty > .lx-podium__numeral { font-size: 44px; }
}
.lx-ranking-podium .lx-podium__portrait { position: relative; z-index: 1; flex-shrink: 0; margin: 26px 0 6px; }
.lx-ranking-podium .lx-podium__metal-defs { position: absolute; }
.lx-ranking-podium .lx-podium__award { position: absolute; width: 28px; height: 28px; top: -32px; left: 50%; transform: translateX(-50%); }
.lx-ranking-podium .lx-podium__item--1 .lx-podium__award { width: 34px; height: 34px; top: -40px; }
.lx-ranking-podium .lx-podium__award path:not(:first-of-type) { fill: none; stroke: rgba(25, 20, 15, 0.7); }
.lx-ranking-podium .lucide-medal circle { stroke: rgba(25, 20, 15, 0.55); }
.lx-ranking-podium .lx-podium__portrait .lx-avatar-i { overflow: visible; box-shadow: 0 0 0 2px rgba(10, 10, 15, 0.9); }
.lx-ranking-podium .lx-podium__portrait .lx-avatar-i::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--lx-metal-light), var(--lx-metal-dark));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.lx-ranking-podium .lx-podium__place { color: var(--lx-metal-light); justify-content: center; flex-wrap: wrap; }
.lx-ranking-podium .lx-podium__place .lx-icon { color: var(--lx-text-2); }
.lx-ranking-podium .lx-podium__name { white-space: normal; overflow: visible; overflow-wrap: anywhere; line-height: 1.3; }
.lx-ranking-podium .lx-podium__desc { font-size: 12px; }
.lx-ranking-podium .lx-podium__leader {
  margin-top: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FFD45C, #E0A21B);
  color: #24190A;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}
.lx-ranking-podium .lx-podium__value { margin: 0; padding-top: 2px; color: #FFFFFF; font-family: var(--lx-font-sans); font-variant-numeric: tabular-nums; font-size: 24px; line-height: 1.25; letter-spacing: -0.025em; }
.lx-ranking-podium .lx-podium__value--range { font-size: clamp(0.8125rem, 7cqi, 1.125rem); line-height: 1.3; letter-spacing: 0; white-space: normal; text-align: center; text-wrap: balance; }
.lx-ranking-podium .lx-podium__item--1 .lx-podium__value { font-size: 32px; }
.lx-ranking-podium .lx-podium__banner { --lx-banner-h: 60px; position: absolute; top: 0; left: 0; right: 0; margin: 0; }
.lx-ranking-podium .lx-podium__plinth {
  margin: 6px -4px 0;
  height: 20px;
  border-radius: 4px 4px 10px 10px;
  background: rgba(var(--lx-metal-rgb), 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055);
}
.lx-ranking-podium .lx-podium__slot--1 .lx-podium__plinth { height: 72px; }
.lx-ranking-podium .lx-podium__slot--2 .lx-podium__plinth { height: 44px; }
.lx-ranking-podium .lx-podium__plinth::before { left: 4%; right: 4%; background: linear-gradient(90deg, transparent, var(--lx-metal-light), var(--lx-metal-dark), transparent); box-shadow: none; }
.lx-ranking-podium .lx-podium__slot::after { content: none; }
.lx-ranking-classification .lx-rank-row { min-height: 56px; }
.lx-ranking-classification .lx-rank-row__pos { color: var(--lx-text-3); font-family: var(--lx-font-sans); }
.lx-ranking-classification .lx-rank-row__name, .lx-ranking-classification .lx-rank-row__value { font-size: 14px; }
.lx-ranking-classification .lx-rank-row__value { font-family: var(--lx-font-sans); font-variant-numeric: tabular-nums; }
.lx-ranking-classification .lx-rank-row.is-me { background: rgba(124, 77, 255, 0.065); }
@media (max-width: 767px) {
  .lx-ranking-podium { grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr) minmax(0, 1fr); grid-template-areas: "p2 p1 p3"; gap: 8px; }
  .lx-ranking-podium .lx-podium__slot > .lx-podium__item { padding: 16px 8px 12px; border-radius: 18px 18px 8px 8px; }
  .lx-ranking-podium .lx-podium__portrait .lx-avatar-i { width: 48px; height: 48px; font-size: 20px; }
  .lx-ranking-podium .lx-podium__item--1 .lx-podium__portrait .lx-avatar-i { width: 64px; height: 64px; font-size: 26px; }
  .lx-ranking-podium .lx-podium__award { width: 22px; height: 22px; top: -28px; }
  .lx-ranking-podium .lx-podium__item--1 .lx-podium__award { width: 28px; height: 28px; top: -34px; }
  .lx-ranking-podium .lx-podium__item > .lx-podium__numeral { font-size: 42px; top: 8px; right: 6px; }
  .lx-ranking-podium .lx-podium__place { font-size: 10px; gap: 4px; }
  .lx-ranking-podium .lx-podium__place .lx-badge { height: 16px; font-size: 9px; line-height: 12px; padding: 2px 5px; }
  .lx-ranking-podium .lx-podium__place .lx-btn { position: absolute; top: 4px; left: 4px; z-index: 3; width: 44px; height: 44px; min-height: 44px; }
  .lx-ranking-podium .lx-podium__name { font-size: 11px; line-height: 1.3; }
  .lx-ranking-podium .lx-podium__desc { font-size: 10px; }
  .lx-ranking-podium .lx-podium__leader { font-size: 9px; padding: 4px 6px; }
  .lx-ranking-podium .lx-podium__value { font-size: 13px; letter-spacing: -0.04em; white-space: normal; }
  .lx-ranking-podium .lx-podium__item--1 .lx-podium__value { font-size: 16px; }
  .lx-ranking-classification .lx-rank-row__name, .lx-ranking-classification .lx-rank-row__value { font-size: 12px; }
  .lx-ranking-podium .lx-podium__banner { --lx-banner-h: 48px; }
  .lx-ranking-podium .lx-podium__slot--1 .lx-podium__plinth { height: 40px; }
  .lx-ranking-podium .lx-podium__slot--2 .lx-podium__plinth { height: 26px; }
  .lx-ranking-podium .lx-podium__slot--3 .lx-podium__plinth { height: 14px; }
}

.lx-sheet > form, .lx-modal > form { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.lx-card__header > .lx-search { flex: 0 1 280px; }
@media (max-width: 639px) { .lx-card__header > .lx-search { flex-basis: 100%; } }
.lx-card--flush > .lx-filterbar { padding: 0 var(--lx-space-5) var(--lx-space-4); }
.lx-card--flush > .lx-help { margin: 0; padding: 0 var(--lx-space-5) var(--lx-space-3); }

.lx-card--col { display: flex; flex-direction: column; gap: var(--lx-space-4); }
.lx-card--col > .lx-card__header { margin-bottom: 0; }
.lx-card__push { margin-top: auto; }
.lx-card--current { --lx-g-fill: rgba(255, 255, 255, 0.075); }
.lx-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }

.lx-tone-paid { color: var(--lx-accent); }
.lx-tone-pending { color: var(--lx-pending); }
.lx-tone-refused { color: var(--lx-refused); }
.lx-tone-neutral { color: var(--lx-text-2); }

.lx-modal--lg { max-width: 56rem; }

.lx-tooltip--wrap { max-width: 20rem; white-space: normal; overflow-wrap: anywhere; line-height: 1.4; opacity: 0; visibility: hidden; transition: opacity var(--lx-dur-fast) var(--lx-ease); }
.lx-tooltip--wrap.is-visible { opacity: 1; visibility: visible; }

.lx-otp--overlay { position: relative; cursor: text; }
.lx-otp--overlay .lx-input { display: flex; align-items: center; justify-content: center; font-weight: 600; color: var(--lx-text); }
.lx-otp--overlay .lx-input.is-active { background: var(--lx-surface-active); }
.lx-otp__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; border: 0; font-size: 16px; }

.lx-log__item + .lx-log__item { border-top: 1px solid var(--lx-divider); }
.lx-log__toggle {
  display: flex;
  align-items: center;
  gap: var(--lx-space-3);
  width: 100%;
  min-height: 52px;
  padding: 8px var(--lx-space-5);
  border: 0;
  background: transparent;
  color: var(--lx-text-2);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--lx-dur-fast) var(--lx-ease);
}
.lx-log__toggle:hover { background: var(--lx-surface-hover); }
.lx-log__toggle .debug-log-chevron { color: var(--lx-text-3); flex-shrink: 0; transition: transform var(--lx-dur) var(--lx-ease); }
.lx-log__time { flex-shrink: 0; min-width: 9.5rem; font-family: var(--lx-font-mono); font-variant-numeric: tabular-nums; font-size: var(--lx-text-xs); color: var(--lx-text-3); white-space: nowrap; }
.lx-log__path { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--lx-font-mono); font-size: var(--lx-text-sm); color: var(--lx-text); }
.lx-log__dur { flex-shrink: 0; width: 4rem; text-align: right; font-family: var(--lx-font-mono); font-variant-numeric: tabular-nums; font-size: var(--lx-text-xs); color: var(--lx-text-3); }
.lx-log .lx-badge { flex-shrink: 0; font-family: var(--lx-font-mono); font-variant-numeric: tabular-nums; }
.lx-log__panel { display: grid; grid-template-rows: 0fr; opacity: 0; pointer-events: none; transition: grid-template-rows var(--lx-dur-slow) var(--lx-ease), opacity var(--lx-dur) var(--lx-ease); }
.lx-log__panel.is-open { grid-template-rows: 1fr; opacity: 1; pointer-events: auto; }
.lx-log__panel > div { overflow: hidden; min-height: 0; }
.lx-log__detail { display: flex; flex-direction: column; gap: var(--lx-space-3); padding: var(--lx-space-3) var(--lx-space-5) var(--lx-space-5); background: var(--lx-surface-sunken); min-width: 0; }
.lx-log__meta { display: flex; align-items: center; flex-wrap: wrap; gap: var(--lx-space-2) var(--lx-space-4); font-size: var(--lx-text-xs); color: var(--lx-text-3); }
.lx-log__label { margin: 0 0 6px; font-size: var(--lx-text-xs); font-weight: 500; color: var(--lx-text-3); }
.lx-log__tabpanel { margin-top: var(--lx-space-3); display: flex; flex-direction: column; gap: var(--lx-space-3); min-width: 0; }
.lx-log__tabpanel.hidden { display: none; }
@media (max-width: 640px) {
  .lx-log__toggle { gap: var(--lx-space-2); padding-inline: var(--lx-space-4); }
  .lx-log__time, .lx-log__dur { display: none; }
  .lx-log__detail { padding-inline: var(--lx-space-4); }
}
.lx-live { display: inline-flex; align-items: center; gap: 6px; font-size: var(--lx-text-xs); font-weight: 500; color: var(--lx-text-2); }
.lx-live__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lx-accent); }
@media (prefers-reduced-motion: no-preference) { .lx-live__dot { animation: lx-live-pulse 2s ease-in-out infinite; } }
@keyframes lx-live-pulse { 50% { opacity: 0.35; } }

.lx-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.lx-timeline__item { position: relative; display: flex; gap: var(--lx-space-3); padding-bottom: var(--lx-space-4); }
.lx-timeline__item:last-child { padding-bottom: 0; }
.lx-timeline__item:not(:last-child)::before { content: ""; position: absolute; left: 4.5px; top: 16px; bottom: 0; width: 1px; background: var(--lx-border-strong); }
.lx-timeline__dot { flex-shrink: 0; width: 10px; height: 10px; margin-top: 4px; border-radius: 50%; background: var(--lx-text-3); }
.lx-timeline__dot--paid { background: var(--lx-accent); }
.lx-timeline__dot--pending { background: var(--lx-pending); }
.lx-timeline__dot--refused { background: var(--lx-refused); }
.lx-timeline__dot--neutral { background: var(--lx-neutral); }
.lx-timeline__title { margin: 0; font-size: var(--lx-text-sm); color: var(--lx-text); line-height: 1.35; }
.lx-timeline__date { margin: 2px 0 0; font-size: var(--lx-text-xs); color: var(--lx-text-3); }

.lx-chart { position: relative; height: 280px; min-width: 0; transition: opacity var(--lx-dur) var(--lx-ease); }
@media (max-width: 767px) { .lx-chart { height: 220px; } }
.lx-chart.is-loading, .lx-chart[aria-busy="true"] { opacity: 0.5; }
.lx-chart[hidden] { display: none; }
.lx-chart-tooltip {
  position: absolute; top: 0; left: 0; z-index: var(--lx-z-tooltip);
  min-width: 132px; padding: 10px 12px;
  border-radius: var(--lx-radius-md);
  white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translate(-50%, calc(-100% - 12px));
  transition: opacity var(--lx-dur-fast) var(--lx-ease);
}
.lx-chart-tooltip[data-visible="true"] { opacity: 1; }
.lx-chart-tooltip__title { font-size: var(--lx-text-xs); color: var(--lx-text-2); }
.lx-chart-tooltip__value + .lx-chart-tooltip__title { margin-top: 2px; }
.lx-chart-tooltip__row { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: var(--lx-text-xs); color: var(--lx-text-2); }
.lx-chart-tooltip__key { width: 12px; height: 2px; border-radius: 1px; background: var(--lx-accent); flex-shrink: 0; }
.lx-chart-tooltip__value { margin-top: 2px; font-family: var(--lx-font-display); font-size: var(--lx-text-lg); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--lx-text); }
.lx-chart-tooltip__meta { margin-top: 2px; font-size: var(--lx-text-xs); color: var(--lx-text-3); }
.lx-spark { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--lx-space-3); min-width: 0; }
.lx-spark__chart { position: relative; width: 132px; height: 48px; flex-shrink: 1; min-width: 0; }
.lx-dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: var(--lx-space-5) var(--lx-space-6); margin: 0; }
.lx-dl > div { min-width: 0; }
.lx-dl dt { font-size: var(--lx-text-sm); color: var(--lx-text-2); }
.lx-dl dd { margin: 4px 0 0; font-size: var(--lx-text-md); color: var(--lx-text); overflow-wrap: anywhere; }
.lx-inline-icon { display: inline-flex; align-items: center; gap: var(--lx-space-2); white-space: nowrap; }
.lx-filterbar__actions { flex-wrap: wrap; }
.lx-qr { display: block; width: min(240px, 100%); height: auto; margin: 0 auto; padding: 8px; border-radius: var(--lx-radius-md); background: #fff; }
.lx-qr[src=""] { visibility: hidden; }

.lx-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--lx-space-3); }
.lx-pair--wide-first { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.lx-pair.hidden { display: none; }
.lx-input--nospin { -moz-appearance: textfield; }
.lx-input--nospin::-webkit-inner-spin-button,
.lx-input--nospin::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.lx-filter-dropdown { position: relative; }
.lx-filter-trigger { justify-content: space-between; gap: var(--lx-space-2); cursor: pointer; }
.lx-filter-trigger:hover { background: var(--lx-surface-hover); }
.lx-filter-trigger:focus { border-color: var(--lx-border); }
.lx-filter-trigger.active { background: var(--lx-surface-active); }
.lx-filter-trigger > .lx-icon { color: var(--lx-text-3); transition: transform var(--lx-dur) var(--lx-ease); }
.lx-filter-menu { top: calc(100% + 4px); left: 0; right: 0; min-width: 0; }
.lx-filter-menu ul { list-style: none; margin: 0; padding: 0; }
.lx-toast--info .lx-toast__icon { color: var(--lx-text-2); }
.lx-notif-list { gap: var(--lx-space-1); padding: var(--lx-space-3); }
.lx-notif { display: flex; gap: var(--lx-space-3); padding: var(--lx-space-3); border-radius: var(--lx-radius-md); color: var(--lx-text); text-decoration: none; }
.lx-notif--link { transition: background-color var(--lx-dur-fast) var(--lx-ease); }
.lx-notif--link:hover { background: var(--lx-surface-hover); }
.lx-notif__icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: var(--lx-radius-sm);
  border: 1px solid var(--lx-border); background: var(--lx-surface); color: var(--lx-text-2);
}
.lx-notif__icon--paid { color: var(--lx-accent); }
.lx-notif__body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.lx-notif__body p { margin: 0; }
.lx-notif__title { font-size: var(--lx-text-md); font-weight: 600; color: var(--lx-text); }
.lx-notif__text { font-size: var(--lx-text-sm); color: var(--lx-text-2); overflow-wrap: anywhere; }
.lx-notif__cta { display: inline-flex; align-items: center; gap: 4px; font-size: var(--lx-text-sm); font-weight: 500; color: var(--lx-text); }
.lx-notif__time { font-size: var(--lx-text-xs); color: var(--lx-text-3); }
.lx-notif__amount {
  display: flex; align-items: center; gap: var(--lx-space-2); margin: 2px 0;
  padding: var(--lx-space-2) var(--lx-space-2) var(--lx-space-2) var(--lx-space-3);
  border-radius: var(--lx-radius-md); border: 1px solid var(--lx-border); background: var(--lx-surface-sunken);
}
.lx-notif__value { font-size: var(--lx-text-md); color: var(--lx-text); }
.lx-notif-list > .lx-empty, .lx-notif-list > .lx-error { margin: auto 0; }
.lx-notif__unread { flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 999px; background: var(--lx-accent); }

.lx-input-wrap { position: relative; display: flex; align-items: center; min-width: 0; }
.lx-input-wrap > .lx-input { padding-left: 44px; }
.lx-input-wrap__icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--lx-text-3);
  pointer-events: none;
  transition: color var(--lx-dur-fast) var(--lx-ease);
}
.lx-input-wrap:focus-within > .lx-input-wrap__icon { color: var(--lx-accent); }
.lx-input-wrap:has(> .lx-input-wrap__action) > .lx-input { padding-right: 50px; }
.lx-input-wrap__action {
  position: absolute;
  right: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--lx-text-3);
  cursor: pointer;
  touch-action: manipulation;
  transition: color var(--lx-dur-fast) var(--lx-ease), background-color var(--lx-dur-fast) var(--lx-ease);
}
.lx-input-wrap__action:hover { color: var(--lx-text); background: rgba(255, 255, 255, 0.06); }
.lx-input-wrap__action .lx-icon { width: 18px; height: 18px; }
.lx-input-wrap__action .hidden { display: none; }
.lx-field__error { display: flex; align-items: flex-start; gap: 6px; margin: 2px 0 0; font-size: var(--lx-text-sm); color: var(--lx-refused); }
.lx-field__error .lx-icon { width: 14px; height: 14px; margin-top: 2px; flex-shrink: 0; }
.lx-field__error:empty, .lx-field__error.hidden { display: none; }

.lx-check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: var(--lx-text-md); color: var(--lx-text-2); cursor: pointer; user-select: none; }
.lx-check__box {
  -webkit-appearance: none;
  appearance: none;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(4, 3, 10, 0.55);
  cursor: pointer;
  transition: background-color var(--lx-dur-fast) var(--lx-ease);
}
.lx-check__box:checked {
  border-color: transparent;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat, linear-gradient(180deg, #5C31CF, #4B21B5 50%, #361596);
}
.lx-check__box:focus-visible { outline: none; box-shadow: var(--lx-focus-ring); }

.lx-or { display: flex; align-items: center; gap: 12px; font-size: var(--lx-text-sm); color: var(--lx-text-3); }
.lx-or::before, .lx-or::after { content: ''; flex: 1; height: 1px; background: var(--lx-divider); }

.lx-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 14px 0 12px;
  border-radius: var(--lx-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--glass-inset);
  font-size: var(--lx-text-sm);
  color: var(--lx-text-2);
  white-space: nowrap;
}
.lx-pill .lx-icon { width: 16px; height: 16px; color: var(--lx-text-3); }
.lx-pill strong, .lx-pill b { font-weight: 500; color: var(--lx-text); font-variant-numeric: tabular-nums; }
.lx-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.lx-avatar-i {
  --lx-av: 40px;
  --lx-ring: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: var(--lx-av);
  height: var(--lx-av);
  border-radius: 50%;
  background: rgba(75, 33, 181, 0.16);
  color: var(--lx-text);
  font-family: var(--lx-font-display);
  font-size: calc(var(--lx-av) * 0.4);
  font-weight: 600;
  line-height: 1;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.lx-avatar-i > img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.lx-avatar-i--gold { --lx-ring: var(--lx-gold); }
.lx-avatar-i--silver { --lx-ring: var(--lx-silver); }
.lx-avatar-i--bronze { --lx-ring: var(--lx-bronze); }
.lx-avatar-i--gold, .lx-avatar-i--silver, .lx-avatar-i--bronze { overflow: visible; box-shadow: 0 0 0 2px rgba(10, 10, 15, 0.9), 0 0 0 4px var(--lx-ring); }

.lx-feature-list {
  list-style: none;
  margin: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: var(--lx-radius-card);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.lx-feature-list > li { display: flex; align-items: flex-start; gap: 12px; font-size: var(--lx-text-md); line-height: 1.25rem; color: var(--lx-text-2); }
.lx-feature-list > li > .lx-icon { width: 18px; height: 18px; margin-top: 1px; color: var(--lx-text-2); flex-shrink: 0; }
.lx-feature-list strong { font-weight: 500; color: var(--lx-text); }
.lx-feature-list { hyphens: manual; }
.lx-keep-word { white-space: nowrap; }

.lx-logo-art {
  --lx-art: clamp(200px, 24vw, 320px);
  position: relative;
  width: var(--lx-art);
  height: calc(var(--lx-art) * 0.92);
  perspective: 900px;
  pointer-events: none;
}
.lx-logo-art::before {
  content: '';
  position: absolute;
  left: -90%;
  right: -30%;
  top: -150%;
  bottom: 20%;
  background:
    linear-gradient(152deg, transparent 38%, rgba(201, 184, 255, 0.22) 38%, rgba(201, 184, 255, 0.22) calc(38% + 1px), transparent calc(38% + 1px)),
    linear-gradient(152deg, transparent 52%, rgba(201, 184, 255, 0.12) 52%, rgba(201, 184, 255, 0.12) calc(52% + 1px), transparent calc(52% + 1px)),
    linear-gradient(152deg, transparent 63%, rgba(201, 184, 255, 0.30) 63%, rgba(201, 184, 255, 0.30) calc(63% + 1px), transparent calc(63% + 1px)),
    radial-gradient(45% 40% at 72% 70%, rgba(124, 77, 255, 0.12), transparent 100%);
  -webkit-mask-image: radial-gradient(60% 55% at 70% 72%, #000 20%, transparent 80%);
  mask-image: radial-gradient(60% 55% at 70% 72%, #000 20%, transparent 80%);
}
.lx-logo-art__tile {
  position: absolute;
  inset: 0 6% 10% 6%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28%;
  background: #7C4DFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 40px rgba(124, 77, 255, 0.10), 0 40px 60px -30px rgba(0, 0, 0, 0.8);
  transform: rotateY(-16deg) rotateX(8deg);
  transform-style: preserve-3d;
}
.lx-logo-art__tile::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(201, 184, 255, 0.55), rgba(201, 184, 255, 0.08) 40%, rgba(255, 255, 255, 0.04) 70%, rgba(124, 77, 255, 0.30));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.lx-logo-art__mark {
  width: 64%;
  aspect-ratio: 407 / 352;
  background: url('/public/img/lovepay/logo-mark.svg?v=20261011') center / contain no-repeat;
  filter: drop-shadow(0 10px 28px rgba(124, 77, 255, 0.25));
  transform: translateZ(30px);
}
.lx-logo-art__floor {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 2%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 184, 255, 0.55) 50%, transparent);
}
.lx-logo-art__floor::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  top: -18px;
  height: 36px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(124, 77, 255, 0.16), transparent 100%);
}

.lx-auth {
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  min-height: 100vh;
  min-height: 100dvh;
}
.lx-auth__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 40px clamp(32px, 5vw, 80px) 32px;
  padding-left: max(clamp(32px, 5vw, 80px), env(safe-area-inset-left, 0px));
}
.lx-auth__logo { display: inline-flex; align-self: flex-start; border-radius: 8px; }
.lx-auth__logo img { display: block; height: 60px; width: auto; margin-left: -6px; }
.lx-auth__form { width: 100%; max-width: 400px; margin: auto 0; padding: 40px 0; display: flex; flex-direction: column; gap: 24px; }
.lx-auth__head { display: flex; flex-direction: column; gap: 8px; }
.lx-auth__title { margin: 0; font-family: var(--lx-font-display); font-size: var(--lx-fs-page); line-height: var(--lx-lh-page); font-weight: 600; letter-spacing: -0.01em; color: var(--lx-text); text-wrap: balance; }
.lx-auth__subtitle { margin: 0; font-size: var(--lx-text-base); line-height: 1.375rem; color: var(--lx-text-2); text-wrap: pretty; }
.lx-auth__fields { display: flex; flex-direction: column; gap: 18px; }
.lx-auth .lx-input, .lx-auth .lx-btn--primary { min-height: 48px; }
.lx-auth__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: -6px 0; }
.lx-auth__row .lx-link { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--lx-text-md); }
.lx-auth__alt { margin: 0; font-size: var(--lx-text-md); color: var(--lx-text-2); }
.lx-auth__foot { margin: 0; font-size: var(--lx-text-xs); color: var(--lx-text-3); }
.lx-auth__panel {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: calc(100vh - 48px);
  height: calc(100dvh - 48px);
  min-height: 560px;
  margin: 24px;
  margin-right: max(24px, env(safe-area-inset-right, 0px));
  padding: clamp(32px, 4vw, 56px);
  overflow: hidden;
}
.lx-auth__panel-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; max-width: 30rem; }
.lx-auth__panel-body > p { margin: 0; max-width: 42ch; font-size: var(--lx-text-base); line-height: 1.5rem; color: var(--lx-text-2); }
@media (min-width: 1024px) {
  .lx-auth__panel {
    container-type: inline-size;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas: "body body" ". art" "list art";
    column-gap: 24px;
  }
  .lx-auth__panel-body { grid-area: body; }
  .lx-auth__panel .lx-logo-art { --lx-art: clamp(160px, 40cqi, 340px); grid-area: art; align-self: end; justify-self: end; margin-bottom: 8px; }
  .lx-auth__panel .lx-feature-list { grid-area: list; align-self: end; max-width: 360px; }
}
.lx-auth__panel .lx-feature-list { position: relative; z-index: 1; }
.lx-auth__compact { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .lx-auth__panel > * { animation: lx-fade-in 250ms var(--lx-ease) both; }
}
@media (min-width: 1024px) and (max-height: 720px) {
  .lx-auth__panel .lx-logo-art { --lx-art: clamp(160px, 30cqi, 240px); }
}
@media (max-width: 1023px) {
  .lx-auth { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .lx-auth__panel {
    order: -1;
    position: relative;
    top: auto;
    height: 140px;
    min-height: 0;
    margin: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
    padding: 20px 24px;
    justify-content: center;
    border-radius: var(--lx-radius-shell);
  }
  .lx-auth__panel-body, .lx-auth__panel .lx-logo-art, .lx-auth__panel .lx-feature-list { display: none; }
  .lx-auth__compact { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
  .lx-auth__compact img { display: block; height: 52px; width: auto; margin-left: -6px; }
  .lx-auth__compact p { margin: 0; font-size: var(--lx-text-md); line-height: 1.25rem; color: var(--lx-text-2); }
  .lx-auth__main { padding: 8px max(16px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); align-items: center; }
  .lx-auth__main > .lx-auth__logo { display: none; }
  .lx-auth__form { margin: 0; padding: 28px 0 24px; }
  .lx-auth__foot { width: 100%; max-width: 400px; }
}
@media (max-width: 1023px) and (max-height: 480px) {
  .lx-auth__panel { height: 96px; padding: 12px 20px; }
  .lx-auth__compact p { display: none; }
}

@media (max-width: 1279px) {
  .lx-grid > .lx-order-first-stacked { order: -1; }
}

.lx-kpi-stack { display: flex; flex-direction: column; min-width: 0; }
.lx-kpi-stack > .lx-kpi + .lx-kpi { margin-top: var(--lx-space-4); padding-top: var(--lx-space-4); border-top: 1px solid var(--lx-divider); }
@media (max-width: 767px) {
  .lx-kpi-stack > .lx-kpi + .lx-kpi { margin-top: var(--lx-space-3); padding-top: var(--lx-space-3); }
}

@media (min-width: 1024px) and (max-width: 1366px) {
  .lx-filterbar { gap: 10px; }
  .lx-filterbar > * { flex: 1 1 136px; min-width: 120px; }
  .lx-filterbar > .lx-search,
  .lx-filterbar > .lx-filterbar__grow { flex: 1.6 1 176px; min-width: 160px; }
  .lx-filterbar > .lx-filterbar__actions,
  .lx-filterbar > [hidden], .lx-filterbar > .hidden { flex: 0 0 auto; min-width: 0; }
  .lx-filterbar .lx-select { padding-right: 32px; background-position: right 10px center; }
  .lx-filterbar__actions { flex-wrap: nowrap; gap: 6px; }
  .lx-filterbar__actions > .lx-btn { padding: 0 var(--lx-space-3); }
}

.lx-page--narrow {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  min-width: 0;
}
.lx-center-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding:
    max(var(--lx-space-8), env(safe-area-inset-top, 0px))
    max(var(--lx-gutter), env(safe-area-inset-right, 0px))
    max(var(--lx-space-8), env(safe-area-inset-bottom, 0px))
    max(var(--lx-gutter), env(safe-area-inset-left, 0px));
}
.lx-center-shell > * { width: 100%; max-width: 720px; min-width: 0; }
.lx-center-shell--middle { justify-content: center; }
@media (max-width: 767px) {
  .lx-center-shell {
    padding-top: max(var(--lx-space-5), env(safe-area-inset-top, 0px));
    padding-bottom: max(var(--lx-space-6), env(safe-area-inset-bottom, 0px));
  }
}

.lx-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0; padding: 0; list-style: none; font-size: var(--lx-text-sm); color: var(--lx-text-2); }
.lx-legend__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.lx-legend__item strong { font-weight: 500; color: var(--lx-text); font-variant-numeric: tabular-nums; }
.lx-legend__key { --lx-key-c: var(--lx-accent); display: inline-block; flex-shrink: 0; width: 14px; height: 2px; border-radius: 1px; background: var(--lx-key-c); }
.lx-legend__key--bar { width: 10px; height: 10px; border-radius: 3px; }
.lx-legend__key--dot { width: 8px; height: 8px; border-radius: 50%; }
.lx-legend__key--accent { --lx-key-c: var(--lx-accent); }
.lx-legend__key--cobalt { --lx-key-c: var(--lx-blue-text); }
.lx-legend__key--ink { --lx-key-c: var(--lx-text-3); }
.lx-legend__key--pending { --lx-key-c: var(--lx-pending); }
.lx-legend__key--refused { --lx-key-c: var(--lx-refused); }
.lx-legend__key--neutral { --lx-key-c: rgba(179, 173, 196, 0.45); }

.lx-sheet[hidden], .lx-sheet-overlay[hidden] { display: none; }
.lx-filters-btn { position: relative; }
.lx-filters-btn__count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: var(--lx-radius-pill);
  background: var(--lx-accent-soft); color: var(--lx-accent);
  font-size: var(--lx-text-xs); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1;
}
.lx-filters-btn__count[hidden] { display: none; }
[data-lx-filters-slot] { display: flex; flex-direction: column; gap: var(--lx-space-4); }
[data-lx-filters-slot] > .lx-desktop-only { display: flex !important; }
[data-lx-filters-slot] > .lx-search, [data-lx-filters-slot] > .lx-field { width: 100%; }
.lx-scroll-lock, .lx-scroll-lock body { overflow: hidden; }

body:has(.lx-auth) .lx-toast-region,
.lx-toast-region.lx-toast-region--top { top: calc(env(safe-area-inset-top, 0px) + 16px); }

@media (min-width: 768px) {
  .lx-kpi-stack--row { flex-direction: row; align-items: stretch; }
  .lx-kpi-stack--row > .lx-kpi { flex: 1 1 0; min-width: 0; }
  .lx-kpi-stack--row > .lx-kpi + .lx-kpi {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    margin-left: var(--lx-space-6);
    padding-left: var(--lx-space-6);
    border-left: 1px solid var(--lx-divider);
  }
}

.lx-sheet-lift { z-index: 200 !important; }
.lx-sheet-lift--pos { position: relative; }

.lx-copy-field.lx-copy-field--wrap,
.lx-table .lx-copy-field.lx-copy-field--wrap {
  align-items: flex-start;
  width: auto;
  max-width: 100%;
  min-width: 0;
  height: auto;
}
.lx-copy-field--wrap .lx-copy-field__value,
.lx-copy-field--wrap[data-revealed="false"] .lx-copy-field__value {
  display: block;
  min-width: 12ch;
  max-height: none;
  padding: 11px 0;
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
  overflow-wrap: anywhere;
  word-break: break-all;
  line-height: 1.45;
  font-size: var(--lx-text-sm);
}
.lx-copy-field--wrap > .lx-btn { flex-shrink: 0; align-self: flex-start; }
.lx-table td:has(> .lx-copy-field--wrap) { white-space: normal; }

@media (max-width: 767px) {
  .lx-table--cards .lx-cell--meta,
  .lx-table--cards .lx-cell--meta2 {
    grid-area: auto;
    grid-column: 1 / -1;
    font-size: var(--lx-text-sm);
    color: var(--lx-text-2);
    white-space: normal;
  }
  .lx-table--cards .lx-cell--meta2 .lx-copy-field { width: 100%; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .lx-table--cards-md thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .lx-table--cards-md, .lx-table--cards-md tbody { display: block; width: 100%; }
  .lx-table--cards-md tr {
    position: relative;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    grid-template-areas: "name name name amount" "status method date date" "meta meta meta meta";
    align-items: center;
    column-gap: 10px;
    row-gap: 6px;
    min-height: 72px;
    padding: 12px var(--lx-space-4);
    border-bottom: 1px solid var(--lx-divider);
  }
  .lx-table--cards-md tbody tr:last-child { border-bottom: 0; }
  .lx-table--cards-md td {
    display: block;
    height: auto;
    padding: 0 !important;
    border: 0;
    min-width: 0;
    text-align: left;
  }
  .lx-table--cards-md td:not([class*="lx-cell--"]) { display: none; }
  .lx-table--cards-md .lx-cell--name {
    grid-area: name;
    font-weight: 500;
    color: var(--lx-text);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .lx-table--cards-md .lx-cell--amount {
    grid-area: amount;
    justify-self: end;
    font-family: var(--lx-font-display);
    font-size: 1rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--lx-text);
    white-space: nowrap;
  }
  .lx-table--cards-md .lx-cell--status { grid-area: status; }
  .lx-table--cards-md .lx-cell--method { grid-area: method; }
  .lx-table--cards-md .lx-cell--method .lx-method > span { display: none; }
  .lx-table--cards-md .lx-cell--id {
    grid-area: name;
    font-family: var(--lx-font-mono);
    font-size: var(--lx-text-sm);
    color: var(--lx-text-2);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .lx-table--cards-md tr:has(.lx-cell--name) .lx-cell--id { display: none; }
  .lx-table--cards-md .lx-cell--id .lx-cell-clip { max-width: 100%; }
  .lx-table--cards-md .lx-cell--name .lx-cell-clip { max-width: 100%; }
  .lx-table--cards-md .lx-cell--date { grid-area: date; font-size: var(--lx-text-xs); color: var(--lx-text-3); white-space: normal; text-align: right; }
  .lx-table--cards-md .lx-cell--date .lx-cell-2l { flex-direction: row; flex-wrap: wrap; justify-content: flex-end; gap: 0 4px; }
  .lx-table--cards-md tr:has(.lx-cell--action) { padding-right: 56px; }
  .lx-table--cards-md tr.lx-row-link:not(:has(.lx-cell--action)) { padding-right: 40px; }
  .lx-table--cards-md .lx-cell--action { position: absolute; top: 0; bottom: 0; right: 6px; display: flex; align-items: center; background: none !important; }
  .lx-table--cards-md .lx-cell--meta .lx-copy-field { width: 100%; }
  .lx-table--cards-md .lx-cell--action .lx-btn { min-width: 44px; min-height: 44px; }
  .lx-table--cards-md .lx-cell--meta { grid-area: meta; font-size: var(--lx-text-sm); color: var(--lx-text-2); white-space: normal; }
  .lx-table--cards-md tr.lx-row-link:not(:has(.lx-cell--action))::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 14px;
    margin-top: -8px;
    width: 16px; height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239DABBF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / 16px no-repeat;
  }
  .lx-table--cards-md tr.lx-row-link:active { background: rgba(255, 255, 255, 0.04); }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .lx-table--cards-md .lx-cell--meta,
  .lx-table--cards-md .lx-cell--meta2 {
    grid-area: auto;
    grid-column: 1 / -1;
    font-size: var(--lx-text-sm);
    color: var(--lx-text-2);
    white-space: normal;
  }
  .lx-table--cards-md .lx-cell--meta2 .lx-copy-field { width: 100%; }
}

.lx-auth__logo img { height: 44px; width: auto; margin-left: 0; }
@media (max-width: 1023px) {
  .lx-auth__compact img { height: 36px; width: auto; margin-left: 0; }
}
@media (max-width: 1023px) and (max-height: 480px) {
  .lx-auth__compact img { height: 28px; }
}
.lx-auth .lx-link { color: var(--lx-accent); text-decoration-color: rgba(169, 139, 255, 0.45); }
.lx-auth .lx-link:hover { color: var(--lx-accent-hover); text-decoration-color: currentColor; }

@media (min-width: 1024px) {
  .lx-auth__panel--quote {
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    grid-template-areas: "body body" ". art" "list art" "quote quote";
    row-gap: 16px;
  }
  .lx-auth__panel--quote .lx-logo-art { --lx-art: clamp(140px, 26cqi, 220px); }
}
@media (min-width: 1024px) and (max-height: 800px) {
  .lx-auth__panel--quote { padding: 40px; }
  .lx-auth__panel--quote .lx-logo-art { display: none; }
  .lx-auth__panel--quote .lx-feature-list { padding: 16px 20px; gap: 10px; }
}
.lx-auth__facts {
  grid-area: quote;
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 20px 24px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  border-radius: var(--lx-radius-card);
  background: rgba(10, 10, 15, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.lx-auth__facts > li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; font-size: var(--lx-text-sm); line-height: 1.25rem; color: var(--lx-text-2); }
.lx-auth__facts > li > .lx-icon { width: 20px; height: 20px; color: var(--lx-accent); flex-shrink: 0; }
.lx-auth__facts strong { display: block; font-weight: 500; color: var(--lx-text); }
@media (max-width: 1023px) {
  .lx-auth__panel .lx-auth__facts { display: none; }
}

/* Termos de uso e Política de privacidade (/termos, /privacidade) */
.lx-legal { min-height: 100vh; min-height: 100dvh; padding: 32px var(--lx-gutter, 24px) 64px; }
.lx-legal__inner { width: 100%; max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.lx-legal__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lx-legal__logo { display: inline-flex; border-radius: 8px; }
.lx-legal__logo img { display: block; height: 36px; width: auto; }
.lx-legal .lx-link { color: var(--lx-accent); text-decoration-color: rgba(169, 139, 255, 0.45); }
.lx-legal .lx-link:hover { color: var(--lx-accent-hover); text-decoration-color: currentColor; }
.lx-legal__doc { display: flex; flex-direction: column; gap: 16px; padding: 40px; border-radius: var(--lx-radius-card); }
.lx-legal__title { margin: 8px 0 0; font-family: var(--lx-font-display); font-size: var(--lx-fs-page); line-height: var(--lx-lh-page); font-weight: 600; letter-spacing: -0.01em; color: var(--lx-text); text-wrap: balance; }
.lx-legal__meta { margin: -8px 0 0; font-size: var(--lx-text-md); color: var(--lx-text-3); }
.lx-legal__toc { padding: 16px 20px; border-radius: var(--lx-radius-lg); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.06); }
.lx-legal__toc ol { margin: 0; padding-left: 28px; list-style: decimal; columns: 2; column-gap: 32px; font-size: var(--lx-text-md); line-height: 1.25rem; color: var(--lx-text-3); }
.lx-legal__toc li { padding: 4px 0; break-inside: avoid; }
.lx-legal__text section { scroll-margin-top: 24px; }
.lx-legal__text h2 { margin: 32px 0 12px; font-size: var(--lx-text-xl); line-height: 1.3; font-weight: 600; color: var(--lx-text); scroll-margin-top: 24px; }
.lx-legal__text p, .lx-legal__text li { font-size: var(--lx-text-base); line-height: 1.65; color: var(--lx-text-2); }
.lx-legal__text p { margin: 0 0 12px; max-width: 68ch; }
.lx-legal__text ul { margin: 0 0 12px; padding-left: 20px; list-style: disc; max-width: 68ch; }
.lx-legal__text li { padding: 2px 0; }
.lx-legal__text strong { font-weight: 500; color: var(--lx-text); }
.lx-legal__foot { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; font-size: var(--lx-text-sm); }
@media (max-width: 767px) {
  .lx-legal { padding: 20px 16px 48px; }
  .lx-legal__doc { padding: 24px 20px; }
  .lx-legal__toc ol { columns: 1; }
}

@media (min-width: 1024px) {
  .lx-auth--balanced { grid-template-columns: 1fr 1fr; }
  .lx-auth--balanced .lx-auth__main {
    justify-content: center;
    align-items: center;
    padding: 32px 16px;
  }
  .lx-auth--balanced .lx-auth__form {
    max-width: 440px;
    margin: 0;
    padding: 0;
    gap: 28px;
  }
  .lx-auth--balanced .lx-auth__fields { gap: 20px; }
  .lx-auth--balanced .lx-input,
  .lx-auth--balanced .lx-btn--lg { min-height: 56px; }
  .lx-auth--balanced .lx-otp { gap: 12px; }
  .lx-auth--balanced .lx-otp .lx-input {
    flex: 1;
    width: 0;
    max-width: none;
    height: 64px;
    min-height: 64px;
  }
  .lx-auth--balanced .lx-auth__panel--quote {
    margin-left: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas: "body body" "list art" "quote quote";
    column-gap: 12px;
    overflow-y: auto;
  }
  .lx-auth--balanced .lx-auth__panel-body { max-width: none; }
  .lx-auth--balanced .lx-auth__panel .lx-logo-art {
    --lx-art: clamp(208px, 14.5vw, 258px);
    display: block;
    align-self: center;
    justify-self: center;
    width: calc(var(--lx-art) * 1.18);
    height: calc(var(--lx-art) + 12px);
    margin: 0;
  }
  .lx-auth--balanced .lx-auth__panel .lx-feature-list {
    max-width: none;
    align-self: center;
  }
  .lx-auth--balanced .lx-auth__panel--benefits-bottom .lx-feature-list {
    max-width: 360px;
    align-self: end;
  }
  .lx-auth--balanced .lx-auth__panel--benefits-bottom .lx-logo-art {
    align-self: end;
    justify-self: end;
  }
  .lx-auth--balanced .lx-auth__facts {
    isolation: isolate;
    padding: var(--lx-card-pad);
    border-radius: var(--lx-radius-card);
    background: linear-gradient(rgba(75, 33, 181, 0.08), rgba(75, 33, 181, 0.08)), var(--glass-1);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-edge);
    box-shadow: var(--glass-inset), var(--glass-shadow);
  }
  .lx-auth__facts::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--glass-highlight);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    pointer-events: none;
  }
}
@media (min-width: 1024px) and (max-height: 800px) {
  .lx-auth--balanced .lx-auth__panel--quote { row-gap: 12px; }
  .lx-auth--balanced .lx-auth__panel-body { gap: 12px; }
  .lx-auth--balanced .lx-hero-title { font-size: 32px; line-height: 1.2; }
  .lx-auth--balanced .lx-auth__panel .lx-feature-list { padding: 12px 16px; gap: 8px; }
  .lx-auth--balanced .lx-auth__facts { padding: 20px; gap: 16px; }
}
@media (min-width: 1024px) and (max-width: 1199px) and (max-height: 800px) {
  .lx-auth--balanced .lx-hero-title { font-size: 28px; }
  .lx-auth--balanced .lx-auth__panel .lx-feature-list { padding: 0; border: 0; background: none; }
  .lx-auth--balanced .lx-auth__facts { padding: 16px; }
}
@media (max-width: 1023px) {
  .lx-auth--balanced .lx-auth__form > .lx-auth__logo { display: none; }
}

.lx-logo-art--stage::before {
  inset: -24px -32px 0;
  background:
    linear-gradient(145deg, transparent 34%, rgba(201, 184, 255, 0.16) 34%, rgba(201, 184, 255, 0.16) calc(34% + 1px), transparent calc(34% + 1px)),
    linear-gradient(145deg, transparent 62%, rgba(201, 184, 255, 0.09) 62%, rgba(201, 184, 255, 0.09) calc(62% + 1px), transparent calc(62% + 1px));
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 72%);
}
.lx-logo-art--stage .lx-logo-art__tile {
  inset: auto;
  top: -12px;
  left: calc(var(--lx-art) * 0.09);
  width: var(--lx-art);
  height: var(--lx-art);
  z-index: 3;
  border-radius: 22%;
  background: linear-gradient(160deg, #7C4DFF 65%, #7045E6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 8px 14px 22px -12px rgba(0, 0, 0, 0.45);
  transform: rotateY(-12deg) rotateX(6deg);
}
.lx-logo-art--stage .lx-logo-art__tile::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.02) 45%, rgba(255, 255, 255, 0.1));
}
.lx-logo-art--stage .lx-logo-art__mark {
  width: 74%;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.12));
  transform: translateZ(8px);
}
.lx-logo-art__platform {
  position: absolute;
  inset: auto 0 0;
  height: calc(var(--lx-art) * 0.24);
  z-index: 1;
  background: url('/public/img/lovepay/auth-platform.svg?v=20261011') center / 100% 100% no-repeat;
}
.lx-logo-art__reflection {
  position: absolute;
  top: calc(var(--lx-art) - 8px);
  left: calc(var(--lx-art) * 0.09);
  width: var(--lx-art);
  height: 24px;
  z-index: 2;
  opacity: 0.1;
  background: url('/public/img/lovepay/icon.svg?v=20261011') center / 100% 100% no-repeat;
  transform: scaleY(-1);
  -webkit-mask-image: linear-gradient(transparent, #000);
  mask-image: linear-gradient(transparent, #000);
}
.lx-logo-art--stage .lx-logo-art__floor {
  left: 10%;
  right: 10%;
  bottom: -3px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(201, 184, 255, 0.22), transparent);
}
.lx-logo-art--stage .lx-logo-art__floor::after {
  top: -12px;
  height: 24px;
  background: radial-gradient(ellipse, rgba(75, 33, 181, 0.18), transparent 72%);
  filter: blur(6px);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .lx-table--cards-md td[class*="lx-cell--"].lx-col--lg:not(.lx-cell--action):not(.lx-cell--id),
  .lx-table--cards-md td[class*="lx-cell--"].lx-col--xl:not(.lx-cell--action):not(.lx-cell--id) { display: block; }
  .lx-table--cards-md td.lx-cell--action.lx-col--lg,
  .lx-table--cards-md td.lx-cell--action.lx-col--xl { display: flex; }
}
