:root {
  /* RvLexora theme ? matches wwwroot/templ/rvlexora_* */
  --lx-bg: #f7f9fc;
  --lx-surface: #ffffff;
  --lx-ink: #132238;
  --lx-muted: #637083;
  --lx-faint: #8a97a6;
  --lx-line: #dfe5ec;
  --lx-line-strong: #c9d5e0;
  --lx-navy: #111d2d;
  --lx-navy-2: #172a43;
  --lx-blue: #1f5eff;
  --lx-blue-hover: #1745bd;
  --lx-blue-soft: #edf2ff;
  --lx-blue-glow: rgba(31, 94, 255, 0.18);
  --lx-orange: #d04f3f;
  --lx-orange-soft: #fff0ed;
  --lx-green: #1f7a4f;
  --lx-green-soft: #eaf8f0;
  --lx-teal: #1f5eff;
  --lx-teal-soft: #edf2ff;
  --lx-amber: #a36c12;
  --lx-amber-soft: #fff4df;
  --lx-fill: #edf2f8;
  --lx-fill-hover: #e4ebf4;
  --lx-hero-grad: linear-gradient(145deg, #111d2d 0%, #172a43 58%, #1f3657 100%);
  --lx-cta-grad: linear-gradient(135deg, #17345b, #1f5eff);
  --lx-radius: 22px;
  --lx-radius-sm: 14px;
  --lx-shadow: 0 24px 70px rgba(19, 34, 56, 0.13);
  --lx-shadow-sm: 0 16px 42px rgba(19, 34, 56, 0.075);
  --lx-font: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --lx-serif: var(--lx-font);
  --bs-font-sans-serif: var(--lx-font);
  --bs-body-font-family: var(--lx-font);
  --lx-rail: 88px;
  --lx-topbar: 76px;
  /* Opaque logo ink is ~46% of PNG height (alpha-padded asset) */
  --lx-logo-ink-ratio: 0.46;
  --lx-logo-show: 40px;
  --lx-logo-show-public: 52px;
  --lx-logo-show-nav: 56px;
  --lx-logo-show-footer: 64px;
  --lx-logo-h: calc(var(--lx-logo-show) / var(--lx-logo-ink-ratio));
  --lx-logo-h-public: calc(var(--lx-logo-show-public) / var(--lx-logo-ink-ratio));
  --lx-logo-h-nav: calc(var(--lx-logo-show-nav) / var(--lx-logo-ink-ratio));
  --lx-logo-h-footer: calc(var(--lx-logo-show-footer) / var(--lx-logo-ink-ratio));
  --lx-site-max: 1180px;
  --lx-site-gutter: clamp(1rem, 3.5vw, 1.5rem);
}

* { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-family: var(--lx-font);
}

body.lx-body {
  margin: 0;
  font-family: var(--lx-font);
  color: var(--lx-ink);
  background: var(--lx-bg);
  line-height: 1.45;
  font-feature-settings: "kern" 1, "liga" 1;
}

body.lx-body button,
body.lx-body input,
body.lx-body select,
body.lx-body textarea,
body.lx-body .btn,
body.lx-body .form-control,
body.lx-body .form-select,
body.lx-body .form-label,
body.lx-body .dropdown-menu,
body.lx-body .nav-link,
body.lx-body .navbar,
body.lx-body h1,
body.lx-body h2,
body.lx-body h3,
body.lx-body h4,
body.lx-body h5,
body.lx-body h6,
body.lx-body label,
body.lx-body p,
body.lx-body small,
body.lx-body span,
body.lx-body a,
body.lx-body li,
body.lx-body td,
body.lx-body th {
  font-family: var(--lx-font);
}

a { color: var(--lx-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Brand */
.lx-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--lx-ink);
  font-weight: 700;
}
.lx-brand:hover { text-decoration: none; opacity: 0.92; }
.lx-brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--lx-ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-family: var(--lx-font);
  font-weight: 800;
  letter-spacing: -0.05em;
  box-shadow: 0 10px 22px rgba(19, 34, 56, 0.16);
}
.lx-brand:has(.lx-brand__logo) {
  height: var(--lx-logo-show);
  overflow: hidden;
  align-items: center;
}
.lx-brand__logo {
  height: var(--lx-logo-h);
  width: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  display: block;
  flex-shrink: 0;
}
.lx-public__bar .lx-brand:has(.lx-brand__logo) {
  height: var(--lx-logo-show-public);
}
.lx-public__bar .lx-brand__logo {
  height: var(--lx-logo-h-public);
}
.lx-brand__text {
  font-family: var(--lx-font);
  font-size: 1.18rem;
  font-weight: 780;
  letter-spacing: -0.02em;
  max-width: 280px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lx-brand__text--sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.lx-logo-upload {
  margin-bottom: 1rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--lx-line);
}
.lx-logo-picker {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin-top: 0.45rem;
  padding: 0.85rem;
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius);
  background: linear-gradient(180deg, #fff 0%, var(--lx-fill) 100%);
}
.lx-logo-picker__frame {
  flex: 0 0 160px;
  width: 160px;
  height: 112px;
  border-radius: var(--lx-radius-sm);
  border: 1px dashed var(--lx-line-strong);
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.lx-logo-picker__frame.has-logo {
  border-style: solid;
  border-color: var(--lx-line);
}
.lx-logo-picker__frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 6px;
}
.lx-logo-picker__placeholder {
  color: var(--lx-faint);
  display: grid;
  place-items: center;
}
.lx-logo-picker__placeholder svg {
  width: 28px;
  height: 28px;
}
.lx-logo-picker__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}
.lx-logo-picker__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}
.lx-logo-picker__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.lx-logo-picker__hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--lx-muted);
}
.lx-logo-picker__name {
  margin: 0;
  font-size: 0.8rem;
}
.lx-logo-picker__remove {
  margin: 0;
  font-size: 0.85rem;
}
@media (max-width: 560px) {
  .lx-logo-picker {
    flex-direction: column;
    align-items: stretch;
  }
  .lx-logo-picker__frame {
    width: 100%;
    flex-basis: auto;
  }
}

/* Top bar */
.lx-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--lx-topbar);
  height: auto;
  display: grid;
  grid-template-columns: minmax(180px, auto) 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 1.5rem 0.85rem 1.25rem;
  background: rgba(247, 249, 252, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 229, 236, 0.9);
  box-shadow: none;
}
.lx-topbar .lx-brand {
  min-height: var(--lx-logo-show);
  padding: 0.25rem 0;
}
.lx-body--app .lx-topbar .lx-brand:has(.lx-brand__logo),
.lx-body--setup .lx-topbar .lx-brand:has(.lx-brand__logo) {
  height: auto;
  min-height: 2.5rem;
  overflow: visible;
}
.lx-body--app .lx-topbar .lx-brand__logo,
.lx-body--setup .lx-topbar .lx-brand__logo {
  height: 40px;
  max-width: 180px;
  object-fit: contain;
  object-position: left center;
}
.lx-topbar__search {
  max-width: 560px;
  justify-self: start;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #edf2f8;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  color: var(--lx-faint);
  min-height: 52px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.lx-topbar__search:focus-within {
  border-color: #cbd8fb;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(31, 94, 255, 0.08);
}
.lx-topbar__search input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font: inherit;
  color: var(--lx-ink);
  font-size: 0.9rem;
}
.lx-topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.lx-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.lx-signout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.55rem;
  padding: 0.4rem 0.9rem 0.4rem 0.75rem;
  border: 1px solid var(--lx-line);
  border-radius: 12px;
  background: #fff;
  color: #44566b;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(19, 34, 56, 0.04);
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}
.lx-signout svg {
  flex-shrink: 0;
  color: #7a8796;
  transition: color 0.16s ease;
}
.lx-signout:hover {
  color: var(--lx-ink);
  border-color: rgba(31, 94, 255, 0.28);
  background: #f7f9fc;
  box-shadow: 0 2px 8px rgba(19, 34, 56, 0.07);
}
.lx-signout:hover svg {
  color: var(--lx-blue);
}
.lx-signout:focus-visible {
  outline: 2px solid rgba(31, 94, 255, 0.45);
  outline-offset: 2px;
}
.lx-signout:active {
  transform: translateY(1px);
}
.lx-auto-email {
  margin: 0;
  flex-shrink: 0;
}
.lx-auto-email__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.75rem 0.35rem 0.85rem;
  border: 1px solid var(--lx-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(19, 34, 56, 0.04);
  cursor: pointer;
  font: inherit;
  color: var(--lx-ink);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.lx-auto-email__btn:hover {
  border-color: rgba(31, 94, 255, 0.28);
  box-shadow: 0 2px 8px rgba(19, 34, 56, 0.07);
}
.lx-auto-email__btn:focus-visible {
  outline: 2px solid rgba(31, 94, 255, 0.45);
  outline-offset: 2px;
}
.lx-auto-email__label {
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a96a5;
  white-space: nowrap;
}
.lx-auto-email__track {
  position: relative;
  width: 2.4rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #d7dee8;
  flex-shrink: 0;
  transition: background 0.18s ease;
}
.lx-auto-email__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(19, 34, 56, 0.22);
  transition: transform 0.18s ease;
}
.lx-auto-email__btn.is-on .lx-auto-email__track {
  background: var(--lx-blue);
}
.lx-auto-email__btn.is-on .lx-auto-email__thumb {
  transform: translateX(1.05rem);
}
.lx-auto-email__state {
  font-size: 0.82rem;
  font-weight: 700;
  min-width: 1.6rem;
  color: #5d6a7b;
}
.lx-auto-email__btn.is-on .lx-auto-email__state {
  color: var(--lx-blue);
}
@media (max-width: 900px) {
  .lx-auto-email__label {
    display: none;
  }
}

/* Shell + rail ? workspace (dark icon rail, Lexora blue accents) */
.lx-shell {
  display: grid;
  grid-template-columns: var(--lx-rail) 1fr;
  min-height: calc(100vh - var(--lx-topbar));
}
.lx-shell--app {
  min-height: 100vh;
  grid-template-columns: var(--lx-rail) minmax(0, 1fr);
}
.lx-shell--setup {
  grid-template-columns: 1fr;
}
.lx-shell__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #f7f9fc;
}
.lx-body--app .lx-topbar--content,
.lx-body--setup .lx-topbar {
  min-height: var(--lx-topbar);
  padding: 0.75rem 1.5rem;
  gap: 1.15rem;
  background: rgba(247, 249, 252, 0.94);
  border-bottom: 1px solid rgba(223, 229, 236, 0.9);
}
.lx-topbar--content {
  grid-template-columns: minmax(140px, 220px) minmax(0, 1fr) auto;
  align-items: center;
}
.lx-body--app .lx-topbar__brand {
  min-width: 0;
  justify-self: start;
}
.lx-body--app .lx-topbar__brand:has(.lx-brand__logo) {
  height: auto;
  min-height: 2.5rem;
  overflow: visible;
}
.lx-body--app .lx-topbar__brand .lx-brand__logo {
  height: 40px;
  max-width: 180px;
  object-fit: contain;
  object-position: left center;
}
.lx-body--app .lx-topbar__search {
  justify-self: center;
  max-width: 560px;
  min-height: 48px;
  padding: 0.5rem 1.15rem;
  background: #edf2f8;
  border-radius: 999px;
}
.lx-body--app .lx-topbar__actions {
  gap: 0.55rem;
  justify-self: end;
}
.lx-body--app .lx-topbar__cta {
  white-space: nowrap;
  border-radius: 999px;
  min-height: 2.55rem;
  padding: 0.45rem 1rem;
  font-size: 0.86rem;
}
.lx-rail {
  background: linear-gradient(180deg, #111d2d 0%, #172a43 100%);
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  padding: 0.85rem 0.45rem 1rem;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: none;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 35;
  scrollbar-width: thin;
}
.lx-rail__brand {
  display: none;
}
.lx-rail__switcher {
  display: none;
}
.lx-rail__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  min-height: 3.55rem;
  padding: 0.5rem 0.2rem;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: background 0.18s ease, color 0.18s ease;
}
.lx-rail__item svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  opacity: 0.92;
}
.lx-rail__item span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.1;
}
.lx-rail__item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}
.lx-rail__item.is-active {
  background: rgba(31, 94, 255, 0.28);
  color: #fff;
}
.lx-rail__item.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 1.45rem;
  border-radius: 0 999px 999px 0;
  background: var(--lx-blue);
}
.lx-rail__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}
.lx-rail__item--bottom { margin-top: auto; }

.lx-body--app .lx-main,
.lx-body--setup .lx-main {
  padding: 1.5rem 1.75rem 2.75rem;
  max-width: 1320px;
  width: 100%;
}

.lx-body--app .lx-pagehead,
.lx-body--setup .lx-pagehead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.2rem;
}
.lx-body--app .lx-pagehead h1,
.lx-body--setup .lx-pagehead h1 {
  margin: 0;
  font-size: clamp(1.55rem, 2.2vw, 1.9rem);
  font-weight: 780;
  letter-spacing: -0.03em;
  color: var(--lx-ink);
  line-height: 1.15;
}
.lx-body--app .lx-pagehead p,
.lx-body--setup .lx-pagehead p {
  margin: 0.35rem 0 0;
  color: var(--lx-muted);
  font-size: 0.95rem;
  font-weight: 500;
  max-width: 42rem;
  line-height: 1.45;
}
.lx-pagehead__actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  align-items: center;
}

.lx-body--app .lx-card,
.lx-body--setup .lx-card {
  border-radius: var(--lx-radius);
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(223, 229, 236, 0.95);
  box-shadow: 0 10px 28px rgba(19, 34, 56, 0.045);
  background: #fff;
}
.lx-body--app .lx-panel,
.lx-body--setup .lx-panel {
  border-radius: var(--lx-radius);
  box-shadow: var(--lx-shadow-sm);
}
.lx-body--app .lx-btn,
.lx-body--setup .lx-btn {
  border-radius: 999px;
  min-height: 2.65rem;
  font-weight: 700;
}
.lx-body--app .lx-btn--ghost,
.lx-body--setup .lx-btn--ghost {
  border-radius: 999px;
}
.lx-flash {
  margin-bottom: 1.1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
}
.lx-flash--ok {
  background: var(--lx-green-soft);
  border-color: #b7e0c8;
  color: var(--lx-green);
}
.lx-flash--err {
  background: var(--lx-orange-soft);
  border-color: #f2c4b5;
  color: var(--lx-orange);
}

.lx-pagehead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.lx-pagehead h1 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lx-ink);
}
.lx-pagehead p {
  margin: 0.2rem 0 0;
  color: var(--lx-muted);
  font-size: 0.92rem;
}
.lx-main {
  padding: 1.35rem 1.75rem 2.5rem;
  max-width: 1280px;
}

/* KPI cards */
.lx-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}
.lx-kpi {
  background: var(--lx-surface);
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius);
  box-shadow: var(--lx-shadow-sm);
  padding: 1rem 1.05rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.lx-kpi__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}
.lx-kpi__icon--blue { background: var(--lx-blue-soft); color: var(--lx-blue); }
.lx-kpi__icon--orange { background: var(--lx-orange-soft); color: var(--lx-orange); }
.lx-kpi__icon--green { background: var(--lx-green-soft); color: var(--lx-green); }
.lx-kpi__icon--teal { background: var(--lx-teal-soft); color: var(--lx-teal); }
.lx-kpi__value {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--lx-ink);
}
.lx-kpi__label {
  margin: 0 0 0.2rem;
  color: var(--lx-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lx-kpi__hint {
  margin-top: 0.2rem;
  color: var(--lx-faint);
  font-size: 0.78rem;
  font-weight: 500;
}
.lx-kpi--alert {
  border-color: #f2c4b5;
  background: var(--lx-orange-soft);
}

/* Cards / panels */
.lx-card {
  background: var(--lx-surface);
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius);
  padding: 1.15rem 1.25rem;
  box-shadow: 0 8px 22px rgba(19, 34, 56, 0.04);
}
.lx-card--flush { padding: 0; overflow: hidden; }
.lx-panel {
  background: var(--lx-surface);
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius);
  box-shadow: var(--lx-shadow-sm);
  /* visible so field tips are not clipped by the card / rail */
  overflow: visible;
}
.lx-panel > .lx-table {
  border-radius: 0 0 var(--lx-radius) var(--lx-radius);
}
.lx-panel__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--lx-line);
  background: #fafbfc;
}
.lx-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
}

.lx-muted { color: var(--lx-muted); }
.lx-faint { color: var(--lx-faint); }

code {
  font-size: 0.84em;
  background: var(--lx-fill);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

/* Buttons */
.lx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 42px;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: var(--lx-blue);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.875rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 12px 25px var(--lx-blue-glow);
}
.lx-btn:hover {
  background: var(--lx-blue-hover);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.lx-btn--ghost {
  background: var(--lx-surface);
  color: var(--lx-ink);
  border-color: var(--lx-line);
  box-shadow: none;
}
.lx-btn--ghost:hover {
  background: var(--lx-mist, var(--lx-fill));
  color: var(--lx-ink);
}
.lx-btn--sm {
  min-height: 36px;
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  box-shadow: none;
}
.lx-btn--lg {
  min-height: 50px;
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  border-radius: 999px;
}
.lx-btn--on-light {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: none;
}
.lx-btn--danger {
  background: var(--lx-orange);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 25px rgba(208, 79, 63, 0.2);
}
.lx-btn--danger:hover {
  background: #b94436;
  color: #fff;
}
.lx-btn--block { width: 100%; }
.lx-btn--compose {
  min-height: 2.65rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  background: var(--lx-cta-grad);
  border: 1px solid transparent;
  box-shadow: 0 12px 25px var(--lx-blue-glow);
  letter-spacing: 0.01em;
}
.lx-btn--compose svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}
.lx-btn--compose:hover {
  background: linear-gradient(135deg, #142d4f 0%, #1745bd 100%);
  box-shadow: 0 14px 28px rgba(31, 94, 255, 0.28);
  color: #fff;
}
.lx-btn--compose:active {
  transform: translateY(1px);
  box-shadow: 0 8px 16px rgba(31, 94, 255, 0.2);
}
.lx-btn:disabled,
.lx-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.lx-btn.is-busy,
.lx-rail__item.is-busy {
  pointer-events: none;
  opacity: 0.72;
  position: relative;
}

/* Global busy overlay + top progress */
.lx-busy-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 10000;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
}
.lx-busy-bar.is-active::after {
  content: "";
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--lx-blue), var(--lx-navy), var(--lx-blue), transparent);
  animation: lx-busy-bar-slide 1.05s ease-in-out infinite;
}
@keyframes lx-busy-bar-slide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}
.lx-busy {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(245, 247, 248, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: lx-busy-fade 0.18s ease-out;
}
.lx-busy[hidden] { display: none !important; }
@keyframes lx-busy-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lx-busy__card {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  min-width: 10.5rem;
  padding: 1.35rem 1.6rem 1.2rem;
  border-radius: 16px;
  background: var(--lx-surface, #fff);
  border: 1px solid var(--lx-line, #e5e9ec);
  box-shadow: 0 12px 40px rgba(15, 44, 63, 0.14);
}
.lx-busy__ring {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
}
.lx-busy__ring span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid transparent;
  border-top-color: var(--lx-blue);
  animation: lx-busy-spin 0.85s linear infinite;
}
.lx-busy__ring span:nth-child(2) {
  inset: 5px;
  border-top-color: color-mix(in srgb, var(--lx-blue) 55%, #fff);
  animation-duration: 1.15s;
  animation-direction: reverse;
}
.lx-busy__ring span:nth-child(3) {
  inset: 10px;
  border-top-color: var(--lx-navy);
  animation-duration: 0.7s;
}
@keyframes lx-busy-spin {
  to { transform: rotate(360deg); }
}
.lx-busy__label {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--lx-ink, #1a2332);
}
body.lx-is-busy {
  cursor: progress;
}
body.lx-is-busy .lx-shell,
body.lx-is-busy .lx-public,
body.lx-is-busy .lx-topbar {
  pointer-events: none;
  user-select: none;
}

/* Tables */
.lx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.lx-table th,
.lx-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--lx-line);
  vertical-align: middle;
}
.lx-table th {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--lx-faint);
  background: #fafbfc;
}
.lx-table tbody tr:hover { background: #f8fafc; }
.lx-table tbody tr:last-child td { border-bottom: none; }
.lx-table__actions {
  display: flex;
  gap: 0.35rem;
  justify-content: flex-end;
  align-items: center;
  white-space: nowrap;
}
.lx-table__actions-col {
  width: 1%;
  text-align: right;
}
.lx-table__primary {
  color: inherit;
  text-decoration: none;
}
.lx-table__primary:hover {
  color: var(--lx-blue);
}
.lx-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--lx-muted);
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.lx-icon-btn svg {
  width: 1.05rem;
  height: 1.05rem;
}
.lx-icon-btn:hover {
  background: var(--lx-fill);
  color: var(--lx-blue);
  border-color: var(--lx-line);
}
.lx-icon-btn--danger:hover {
  background: var(--lx-orange-soft);
  color: var(--lx-orange);
  border-color: #f2c4b5;
}
.lx-inline-form { display: inline; margin: 0; }
.lx-link-danger {
  border: none;
  background: none;
  padding: 0;
  color: var(--lx-orange);
  font: inherit;
  cursor: pointer;
  font-weight: 500;
}
.lx-link-danger:hover { text-decoration: underline; }

.lx-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--lx-fill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--lx-ink);
}
.lx-pill--draft { background: var(--lx-fill); color: var(--lx-muted); }
.lx-pill--pending { background: var(--lx-amber-soft); color: var(--lx-amber); }
.lx-pill--approved,
.lx-pill--sent { background: var(--lx-blue-soft); color: var(--lx-blue); }
.lx-pill--paid { background: var(--lx-green-soft); color: var(--lx-green); }
.lx-pill--part { background: var(--lx-teal-soft); color: var(--lx-teal); }
.lx-pill--overdue { background: var(--lx-orange-soft); color: var(--lx-orange); }

.lx-listpage {
  display: grid;
  gap: 0.85rem;
}
.lx-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.7rem 0.7rem;
  padding: 0.85rem 1rem;
  background: var(--lx-surface);
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius);
  box-shadow: var(--lx-shadow-sm);
}
.lx-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}
.lx-field--search {
  flex: 1 1 14rem;
  min-width: 12rem;
  max-width: 20rem;
}
.lx-toolbar__search {
  position: relative;
  width: 100%;
}
.lx-toolbar__search svg {
  position: absolute;
  left: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lx-faint);
  pointer-events: none;
}
.lx-toolbar__search input,
.lx-field select,
.lx-field input[type="date"] {
  width: 100%;
  min-height: 2.25rem;
  height: 2.25rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid transparent;
  border-radius: var(--lx-radius-sm);
  background: var(--lx-fill);
  font: inherit;
  font-size: 0.875rem;
  color: var(--lx-ink);
}
.lx-toolbar__search input {
  padding-left: 2.05rem;
}
.lx-toolbar__search input:focus,
.lx-field select:focus,
.lx-field input[type="date"]:focus {
  outline: none;
  border-color: var(--lx-blue);
  background: #fff;
  box-shadow: 0 0 0 3px var(--lx-blue-glow);
}
.lx-field select {
  min-width: 9rem;
}
.lx-field input[type="date"] {
  min-width: 9.5rem;
  max-width: 10.5rem;
}
.lx-toolbar__label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--lx-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}
.lx-toolbar__actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  min-height: 2.25rem;
}
.lx-dates {
  display: contents;
}
@media (max-width: 900px) {
  .lx-field--search {
    flex: 1 1 100%;
    max-width: none;
  }
  .lx-field input[type="date"] {
    max-width: none;
  }
  .lx-toolbar__actions {
    margin-left: 0;
  }
}

.lx-empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--lx-muted);
}
.lx-empty--rich {
  padding: 3rem 1.5rem;
  max-width: 28rem;
  margin: 0 auto;
}
.lx-empty__icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
}
.lx-empty__icon svg {
  width: 1.55rem;
  height: 1.55rem;
}
.lx-empty__title {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--lx-ink);
}
.lx-empty__lead {
  margin: 0 0 1.15rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--lx-muted);
}

/* Modal dialogs */
.lx-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: calc(100vw - 2rem);
}
.lx-modal::backdrop {
  background: rgba(15, 44, 63, 0.45);
  backdrop-filter: blur(2px);
}
.lx-modal__card {
  width: min(26rem, calc(100vw - 2rem));
  margin: auto;
  padding: 1.5rem 1.4rem 1.25rem;
  border-radius: calc(var(--lx-radius) + 2px);
  background: var(--lx-surface);
  border: 1px solid var(--lx-line);
  box-shadow: 0 18px 48px rgba(15, 44, 63, 0.18);
  text-align: center;
}
.lx-modal__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.85rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--lx-orange-soft);
  color: var(--lx-orange);
}
.lx-modal__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}
.lx-modal__title {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--lx-ink);
}
.lx-modal__body {
  margin: 0 0 1.25rem;
  color: var(--lx-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.lx-modal__body strong {
  color: var(--lx-ink);
  font-weight: 650;
}
.lx-modal__actions {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.lx-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--lx-line);
  background: #fafbfc;
}
.lx-pager__meta {
  color: var(--lx-muted);
  font-size: 0.86rem;
}
.lx-pager__meta strong { color: var(--lx-ink); }
.lx-pager__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.lx-pager__size {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--lx-faint);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.lx-pager__size select {
  min-height: 2.1rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid transparent;
  border-radius: var(--lx-radius-sm);
  background: var(--lx-fill);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--lx-ink);
  text-transform: none;
  letter-spacing: 0;
}
.lx-pager__nav {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.lx-pager__page {
  min-width: 6.5rem;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--lx-muted);
}
.lx-icon-btn.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}
.lx-table__num {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.lx-table td.lx-table__num,
.lx-table th.lx-table__num {
  text-align: right;
}
.lx-kpi__icon--teal {
  background: var(--lx-teal-soft, #edf2ff);
  color: var(--lx-teal, #1f5eff);
}

/* Forms */
.lx-form { display: grid; gap: 0.95rem; }
/* Include bare <input> (defaults to text) ? type="text" alone misses those. */
.lx-form input:not([type]),
.lx-form input[type="text"],
.lx-form input[type="email"],
.lx-form input[type="password"],
.lx-form input[type="date"],
.lx-form input[type="number"],
.lx-form input[type="search"],
.lx-form input[type="tel"],
.lx-form input[type="url"],
.lx-form select,
.lx-form textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  min-height: 3rem;
  border-radius: 14px;
  border: 1px solid var(--lx-line);
  background: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--lx-ink);
  box-shadow: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.lx-form textarea { resize: vertical; min-height: 4.5rem; }
.lx-form input:hover:not(:focus):not(:disabled),
.lx-form select:hover:not(:focus):not(:disabled),
.lx-form textarea:hover:not(:focus):not(:disabled) {
  border-color: var(--lx-line-strong);
  background: #fff;
}
.lx-form input:focus,
.lx-form select:focus,
.lx-form textarea:focus {
  outline: none;
  border-color: #cbd8fb;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(31, 94, 255, 0.08);
}
.lx-form label {
  display: block;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--lx-ink);
  margin-bottom: 0.3rem;
}
.lx-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
}
.lx-form-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}
.lx-form .text-danger,
.lx-form .validation-summary-errors {
  color: var(--lx-orange);
  font-size: 0.86rem;
}
.lx-check {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--lx-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.lx-check .lx-tip {
  margin-left: 0.1rem;
}
.lx-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--lx-line);
  font-size: 0.92rem;
}
.lx-meta-row:last-of-type { border-bottom: none; }
.lx-meta-row span:first-child {
  color: var(--lx-muted);
  font-weight: 500;
}

/* ?? Shared public site chrome (nav + footer) ?? */
.lx-site-announcement {
  text-align: center;
  padding: 0.55rem 1rem;
  background: #eef3ff;
  color: #31517d;
  font-size: 0.86rem;
  font-weight: 650;
  border-bottom: 1px solid #dfe7f7;
  line-height: 1.45;
}
.lx-site-nav-shell {
  position: relative;
  z-index: 50;
}
.lx-site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--lx-line);
}
.lx-rv > .lx-site-nav-shell > .lx-site-nav,
.lx-rv > header.lx-site-nav {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(255, 255, 255, 0.98);
}
.lx-site-nav__bar {
  width: min(var(--lx-site-max, 1180px), calc(100% - (var(--lx-site-gutter, 1.25rem) * 2)));
  margin-inline: auto;
}
.lx-site-nav__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.lx-site-nav__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
  min-width: 0;
  max-width: none;
  z-index: 2;
}
.lx-site-nav__brand .lx-brand {
  min-width: 0;
  max-width: none;
}
.lx-site-nav__brand .lx-brand:has(.lx-brand__logo) {
  height: var(--lx-logo-show-nav);
}
.lx-site-nav__brand .lx-brand__logo {
  height: var(--lx-logo-h-nav);
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: center center;
}
.lx-site-nav__brand .lx-brand__mark {
  width: 48px;
  height: 48px;
  font-size: 1.15rem;
}
.lx-site-nav__brand .lx-brand__text {
  font-size: 1.35rem;
}
.lx-site-nav__brand .lx-brand,
.lx-site-nav__brand .lx-brand__name {
  color: var(--lx-ink);
}

/* Desktop: inline links in the bar. Mobile: fixed right drawer outside sticky header. */
.lx-site-nav__drawer {
  display: none;
}
.lx-site-nav__drawer-top,
.lx-site-nav__drawer-cta,
.lx-site-nav__scrim {
  display: none;
}
.lx-site-nav__links--desktop {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
  margin-right: 0.35rem;
  min-width: 0;
}
.lx-site-nav__links a {
  position: relative;
  color: #44566b;
  font-size: 0.935rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  transition: color 0.18s ease, background 0.18s ease;
}
.lx-site-nav__links a:hover {
  color: var(--lx-ink);
  background: #f1f5fa;
  text-decoration: none;
}
.lx-site-nav__links a.is-active {
  color: var(--lx-blue);
  background: var(--lx-blue-soft);
  text-decoration: none;
}
.lx-site-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  z-index: 2;
}
.lx-site-nav__actions .lx-btn {
  border-radius: 999px;
  padding: 0.62rem 1.15rem;
  font-weight: 650;
}
.lx-site-nav__signin.is-active {
  color: var(--lx-blue);
  border-color: var(--lx-blue);
}
.lx-site-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 12px;
  background: #f3f6fa;
  border: 1px solid #e3e9f0;
  color: var(--lx-ink);
  cursor: pointer;
  padding: 0;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.lx-site-nav__toggle:hover {
  background: #eaf0f7;
  border-color: #d5dee8;
}
.lx-site-nav__burger {
  display: grid;
  gap: 5px;
  width: 1.1rem;
}
.lx-site-nav__burger span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.18s ease;
  transform-origin: center;
}
.lx-site-nav-shell.is-open .lx-site-nav__burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.lx-site-nav-shell.is-open .lx-site-nav__burger span:nth-child(2) {
  opacity: 0;
}
.lx-site-nav-shell.is-open .lx-site-nav__burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
body.lx-nav-drawer-open {
  overflow: hidden;
}
.lx-site-footer {
  padding: 0;
  border-top: 1px solid var(--lx-line);
  background: #fff;
}
.lx-site-footer__inner {
  width: min(var(--lx-site-max, 1180px), calc(100% - (var(--lx-site-gutter, 1.25rem) * 2)));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(8rem, 0.7fr) minmax(7rem, 0.55fr);
  gap: clamp(1.75rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding: clamp(2.5rem, 5vw, 3.25rem) 0 clamp(2rem, 4vw, 2.5rem);
}
.lx-site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 22rem;
  text-decoration: none;
  color: var(--lx-ink);
}
.lx-site-footer__brand .lx-brand:has(.lx-brand__logo) {
  height: var(--lx-logo-show-footer);
}
.lx-site-footer__brand .lx-brand__logo {
  height: var(--lx-logo-h-footer);
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: center center;
}
.lx-site-footer__brand .lx-brand__mark {
  width: 52px;
  height: 52px;
  font-size: 1.25rem;
}
.lx-site-footer__brand .lx-brand__text {
  font-size: 1.4rem;
}
.lx-site-footer__tag {
  font-size: 0.9rem;
  color: #718093;
  font-weight: 500;
  line-height: 1.55;
  max-width: 20rem;
}
.lx-site-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}
.lx-site-footer__col h3 {
  margin: 0;
  padding-bottom: 0.15rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8390a1;
  line-height: 1.2;
}
.lx-site-footer__col a {
  color: #3d4f63;
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  line-height: 1.35;
}
.lx-site-footer__col a:hover {
  color: var(--lx-blue);
}
.lx-site-footer__bar {
  border-top: 1px solid #edf0f4;
  background: #fafbfd;
}
.lx-site-footer__bar-inner {
  width: min(var(--lx-site-max, 1180px), calc(100% - (var(--lx-site-gutter, 1.25rem) * 2)));
  margin-inline: auto;
  min-height: 3.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 0;
  color: #8390a1;
  font-size: 0.84rem;
  font-weight: 550;
}
.lx-site-footer__bar-inner a {
  color: #536174;
  font-weight: 650;
  text-decoration: none;
}
.lx-site-footer__bar-inner a:hover {
  color: var(--lx-blue);
}
.lx-site-footer__links {
  display: none;
}
.lx-public--site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.lx-public--site.lx-public--legal {
  background: #fff;
}
.lx-public--site > .lx-public__main {
  flex: 1;
}
.lx-public__main--auth {
  padding: 0;
  display: block;
  align-items: stretch;
  justify-content: stretch;
}
body.lx-body--auth.lx-body--site {
  background: #fff;
}
.lx-public--site.lx-public--auth {
  display: flex;
  flex-direction: column;
  grid-template-columns: unset;
}

@media (max-width: 980px) {
  .lx-site-nav__toggle { display: inline-flex; }
  .lx-site-nav__signin--bar,
  .lx-site-nav__trial { display: none; }
  .lx-site-nav__links--desktop { display: none; }
  .lx-site-nav__actions { margin-left: auto; }
  .lx-site-nav__bar {
    min-height: 64px;
  }
  .lx-site-nav__inner {
    min-height: 64px;
  }
  .lx-site-nav__drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(20.5rem, 86vw);
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-left: 1px solid var(--lx-line);
    box-shadow: -20px 0 48px rgba(19, 34, 56, 0.18);
    transform: translate3d(100%, 0, 0);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 120;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
  }
  .lx-site-nav-shell.is-open .lx-site-nav__drawer {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }
  .lx-site-nav__drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.25rem;
    padding: calc(0.85rem + env(safe-area-inset-top, 0px)) 1.15rem 0.85rem;
    border-bottom: 1px solid #edf0f4;
    flex-shrink: 0;
    background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
  }
  .lx-site-nav__drawer-title {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8390a1;
  }
  .lx-site-nav__close {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 11px;
    border: 1px solid #e3e9f0;
    background: #f7f9fc;
    color: var(--lx-ink);
    font-size: 1.55rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
  }
  .lx-site-nav__close:hover {
    background: #eef3f9;
  }
  .lx-site-nav__links--drawer {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.75rem 0.85rem 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .lx-site-nav__links--drawer a {
    padding: 0.95rem 1rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 650;
    color: var(--lx-ink);
  }
  .lx-site-nav__links--drawer a:hover,
  .lx-site-nav__links--drawer a.is-active {
    background: var(--lx-blue-soft);
    color: var(--lx-blue);
  }
  .lx-site-nav__drawer-cta {
    display: grid;
    gap: 0.65rem;
    margin-top: auto;
    padding: 1rem 1.15rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #edf0f4;
    background: #fafbfd;
    flex-shrink: 0;
  }
  .lx-site-nav__drawer-cta .lx-btn {
    width: 100%;
    justify-content: center;
    border-radius: 999px;
    min-height: 2.85rem;
  }
  .lx-site-nav__scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(15, 26, 42, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }
  .lx-site-nav-shell.is-open .lx-site-nav__scrim {
    opacity: 1;
    pointer-events: auto;
  }
  .lx-site-nav__toggle {
    margin-left: 0.15rem;
  }
}

.lx-rv > .lx-site-nav-shell {
  width: 100%;
}
.lx-rv > .lx-site-nav-shell .lx-site-nav__bar {
  width: min(var(--lx-site-max, 1180px), calc(100% - (var(--lx-site-gutter, 1.25rem) * 2)));
}

/* ?? Sign-in split (templ) ?? */
.lx-signin {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: calc(100vh - 120px);
}
.lx-signin__left {
  background:
    radial-gradient(circle at 20% 20%, rgba(31, 94, 255, 0.35), transparent 42%),
    radial-gradient(circle at 80% 80%, rgba(31, 94, 255, 0.18), transparent 40%),
    linear-gradient(160deg, #0f1a2a 0%, #132238 55%, #17345b 100%);
  color: #fff;
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}
.lx-signin__eyebrow {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #9dbcff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lx-signin__left h1 {
  margin: 1rem 0 0;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}
.lx-signin__left h1 span { color: #8fb0ff; }
.lx-signin__lead {
  margin: 1rem 0 0;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.65;
}
.lx-signin__features {
  display: grid;
  gap: 1.1rem;
  margin-top: 2rem;
}
.lx-signin__feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}
.lx-signin__feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: #9dbcff;
  font-weight: 800;
}
.lx-signin__feature strong {
  display: block;
  font-size: 1rem;
}
.lx-signin__feature p {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  line-height: 1.5;
}
.lx-signin__left-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.lx-signin__left-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.lx-signin__left-links a:hover { color: #fff; }
.lx-signin__right {
  background:
    radial-gradient(circle at 82% 16%, rgba(31, 94, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #fff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.lx-signin__wrap { width: min(440px, 100%); }
.lx-auth--signin { max-width: none; margin: 0; }
.lx-auth--signin .lx-auth__card {
  border: 1px solid var(--lx-line);
  border-top: 0;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(19, 34, 56, 0.1);
  padding: 1.75rem 1.6rem 1.5rem;
}
.lx-auth--signin .lx-auth__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}
.lx-auth--signin .lx-auth__title {
  font-family: var(--lx-font);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.lx-signin__secure {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}
.lx-label-row--spread {
  justify-content: space-between;
  width: 100%;
}
.lx-signin__forgot {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--lx-blue);
  text-decoration: none;
}
.lx-signin__remember {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0.35rem 0 0.85rem;
}
.lx-signin__step-note {
  font-size: 0.78rem;
  font-weight: 700;
  color: #7b8797;
}
.lx-signin__trustline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  justify-content: center;
  margin-top: 1.15rem;
  color: #7b8797;
  font-size: 0.8rem;
  font-weight: 650;
}
.lx-auth__notice {
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
}
.lx-auth__notice--ok {
  background: #eaf8f0;
  border: 1px solid #bde7cd;
  color: #0c5a2f;
}
.lx-auth__notice--err {
  background: #fff4df;
  border: 1px solid #f0d4a0;
  color: #7a5310;
}
@media (max-width: 900px) {
  .lx-signin { grid-template-columns: 1fr; min-height: 0; }
  .lx-signin__left { padding: 1.75rem 1.35rem; }
  .lx-signin__features { display: none; }
  .lx-signin__left-links { display: none; }
  .lx-auth--signin .lx-auth__header { display: block; }
  .lx-signin__secure { margin-top: 0.85rem; display: inline-flex; }
}

/* ?? Register page (templ: rvlexora_register_matching_homepage) ?? */
.lx-register-page {
  width: 100%;
  background:
    radial-gradient(circle at 84% 8%, rgba(31, 94, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, #fff 46%, #f8fafc 100%);
}
.lx-reg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--lx-blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.lx-reg-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--lx-blue);
}
.lx-reg-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 6vw, 4.6rem) 0 2.75rem;
}
.lx-reg-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 94, 255, 0.13), rgba(31, 94, 255, 0) 68%);
  pointer-events: none;
}
.lx-reg-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.lx-reg-hero h1 {
  margin: 1.1rem 0 0;
  max-width: 45rem;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--lx-ink);
}
.lx-reg-hero h1 span { color: var(--lx-blue); }
.lx-reg-hero__copy {
  margin: 1.35rem 0 0;
  max-width: 44rem;
  color: var(--lx-muted);
  font-size: 1.1rem;
  line-height: 1.75;
}
.lx-reg-steps { display: grid; gap: 0.75rem; margin-top: 1.75rem; }
.lx-reg-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--lx-line);
  border-radius: 16px;
}
.lx-reg-step__num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
  font-weight: 850;
}
.lx-reg-step strong { display: block; color: var(--lx-ink); }
.lx-reg-step p {
  margin: 0.25rem 0 0;
  color: var(--lx-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.lx-reg-summary {
  position: sticky;
  top: 6.5rem;
  border: 1px solid var(--lx-line);
  border-radius: 28px;
  background: #fff;
  padding: 1.75rem;
  box-shadow: var(--lx-shadow);
}
.lx-reg-summary__title { font-size: 1.25rem; font-weight: 780; color: var(--lx-ink); }
.lx-reg-summary__copy { margin: 0.5rem 0 0; color: var(--lx-muted); line-height: 1.55; }
.lx-reg-summary__items { display: grid; gap: 0; margin-top: 1.35rem; }
.lx-reg-summary__item {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid #edf0f4;
  color: #586679;
  font-size: 0.9rem;
}
.lx-reg-summary__item:last-child { border-bottom: 0; }
.lx-reg-summary__item strong { color: var(--lx-ink); text-align: right; }
.lx-reg-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
  color: #768395;
  font-size: 0.78rem;
  font-weight: 650;
}
.lx-reg-trust span::before { content: "\2713"; color: var(--lx-green); margin-right: 0.35rem; }
.lx-reg-body { padding: 2rem 0 clamp(4rem, 8vw, 6.25rem); }
.lx-reg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 1.75rem;
  align-items: start;
}
.lx-reg-card {
  border: 1px solid var(--lx-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(19, 34, 56, 0.08);
  overflow: hidden;
}
.lx-reg-card__header {
  padding: 1.65rem 1.75rem;
  border-bottom: 1px solid var(--lx-line);
  background: linear-gradient(180deg, #fff, #fbfcfe);
}
.lx-reg-card__header h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 740;
  letter-spacing: -0.02em;
  color: var(--lx-ink);
}
.lx-reg-card__header p { margin: 0.65rem 0 0; color: var(--lx-muted); line-height: 1.55; }
.lx-reg-form { padding: 1.75rem; display: grid; gap: 0; }
.lx-reg-alert {
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: #fff4df;
  border: 1px solid #f0d4a0;
}
.lx-reg-section {
  padding: 0 0 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--lx-line);
}
.lx-reg-section:last-of-type { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.lx-reg-section__title {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}
.lx-reg-section__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
  display: grid;
  place-items: center;
  font-weight: 850;
  flex: 0 0 auto;
}
.lx-reg-section__title h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  color: var(--lx-ink);
}
.lx-reg-section__title p {
  margin: 0.3rem 0 0;
  color: var(--lx-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.lx-reg-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.lx-reg-fields--one { grid-template-columns: 1fr; }
.lx-reg-field { display: grid; gap: 0.5rem; }
.lx-reg-field--full { grid-column: 1 / -1; }
.lx-reg-field label { color: var(--lx-ink); font-size: 0.88rem; font-weight: 750; }
.lx-reg-help {
  display: block;
  margin-top: 0.25rem;
  color: #7a8798;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.5;
}
.lx-reg-optional { font-weight: 500; color: #7a8798; }
.lx-reg-field input,
.lx-reg-field select {
  width: 100%;
  min-height: 3.35rem;
  border: 1px solid var(--lx-line);
  border-radius: 14px;
  background: #f7f9fc;
  color: var(--lx-ink);
  padding: 0 0.95rem;
  outline: none;
  transition: 0.2s ease;
  font: inherit;
}
.lx-reg-field input:focus,
.lx-reg-field select:focus {
  background: #fff;
  border-color: var(--lx-blue);
  box-shadow: 0 0 0 4px rgba(31, 94, 255, 0.1);
}
.lx-reg-field input[readonly],
.lx-reg-field .lx-input-readonly { background: #eef2f7; color: #647286; }
.lx-reg-password { position: relative; }
.lx-reg-password input { padding-right: 3.1rem; width: 100%; }
.lx-reg-password__toggle {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #6f7e91;
  cursor: pointer;
}
.lx-reg-password__toggle:hover { background: #e8edf4; }
.lx-reg-firms { display: grid; gap: 0.75rem; }
.lx-reg-firm-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  align-items: end;
}
.lx-reg-remove {
  min-height: 3.1rem;
  padding: 0 1rem;
  border: 1px solid #efcfd2;
  border-radius: 14px;
  background: #fff7f7;
  color: #b6434b;
  font-weight: 750;
  cursor: pointer;
}
.lx-reg-remove:hover { background: #fff0f1; }
.lx-reg-add-firm {
  margin-top: 0.85rem;
  border: 1px dashed #bfc9d6 !important;
  background: #fbfcfe !important;
  color: var(--lx-blue) !important;
  box-shadow: none !important;
  border-radius: 999px;
}
.lx-reg-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lx-reg-plan {
  position: relative;
  display: block;
  border: 1px solid var(--lx-line);
  border-radius: 20px;
  padding: 1.35rem;
  background: #fff;
  cursor: pointer;
  transition: 0.2s ease;
  margin: 0;
}
.lx-reg-plan:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(19, 34, 56, 0.08);
}
.lx-reg-plan.is-selected {
  border-color: var(--lx-blue);
  box-shadow: 0 0 0 3px rgba(31, 94, 255, 0.08);
}
.lx-reg-plan__radio {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--lx-blue);
}
.lx-reg-plan__badge {
  display: inline-flex;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.lx-reg-plan__badge--spacer { visibility: hidden; }
.lx-reg-plan h4 {
  margin: 0.85rem 0 0;
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--lx-ink);
}
.lx-reg-plan > p {
  margin: 0.45rem 0 0;
  color: var(--lx-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.lx-reg-plan__price { margin-top: 0.75rem; font-weight: 750; color: var(--lx-ink); }
.lx-reg-plan__details {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.1rem;
  color: #586679;
  font-size: 0.84rem;
}
.lx-reg-plan__details span::before {
  content: "\2713";
  color: var(--lx-green);
  margin-right: 0.4rem;
}
.lx-reg-plan__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.1rem;
  width: 100%;
  min-height: 2.6rem;
  border-radius: 999px;
  border: 1px solid var(--lx-line);
  background: #fff;
  color: var(--lx-ink);
  font-weight: 750;
  font-size: 0.92rem;
}
.lx-reg-plan.is-selected .lx-reg-plan__cta {
  background: var(--lx-blue);
  border-color: var(--lx-blue);
  color: #fff;
}
.lx-reg-plan__more {
  display: block;
  width: 100%;
  margin-top: 0.65rem;
  border: 0;
  background: none;
  color: var(--lx-blue);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  text-align: center;
  padding: 0.25rem;
}
.lx-reg-commercial {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: #f7f9fc;
  color: #617084;
  font-size: 0.87rem;
  line-height: 1.6;
}
.lx-reg-commercial a { color: var(--lx-blue); font-weight: 700; text-decoration: none; }
.lx-reg-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--lx-line);
  flex-wrap: wrap;
}
.lx-reg-submit p {
  margin: 0;
  max-width: 28rem;
  color: var(--lx-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.lx-reg-submit a { color: var(--lx-blue); font-weight: 700; text-decoration: none; }
.lx-reg-submit .lx-btn { border-radius: 999px; white-space: nowrap; }
.lx-reg-side {
  position: sticky;
  top: 6.5rem;
  border-radius: 28px;
  padding: 1.75rem;
  background: linear-gradient(160deg, #111d2d 0%, #17345b 55%, #1f5eff 140%);
  color: #fff;
  box-shadow: var(--lx-shadow);
}
.lx-reg-side__eyebrow {
  display: inline-flex;
  color: #8fb0ff;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.lx-reg-side h3 {
  margin: 1rem 0 0;
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.lx-reg-side > p {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}
.lx-reg-side ul {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.lx-reg-side li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.45;
}
.lx-reg-side li::before { content: "\2713"; color: #8fb0ff; margin-right: 0.45rem; }
.lx-reg-side__signin {
  margin-top: 1.5rem !important;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.9rem;
}
.lx-reg-side__signin a { color: #8fb0ff; font-weight: 700; text-decoration: none; }
@media (max-width: 980px) {
  .lx-reg-hero__grid,
  .lx-reg-layout,
  .lx-reg-plans,
  .lx-reg-fields { grid-template-columns: 1fr; }
  .lx-reg-summary,
  .lx-reg-side { position: static; }
  .lx-reg-field--full { grid-column: auto; }
  .lx-reg-plan__badge--spacer { display: none; }
}
@media (max-width: 700px) {
  .lx-reg-hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .lx-reg-form,
  .lx-reg-card__header { padding: 1.25rem; }
  .lx-reg-firm-row { grid-template-columns: 1fr; }
  .lx-reg-remove { width: 100%; }
  .lx-reg-submit { flex-direction: column; align-items: stretch; }
  .lx-reg-submit .lx-btn { width: 100%; justify-content: center; }
}

/* ?? Legal pages (templ light hero) ?? */
.lx-legal--templ .lx-legal__hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(31, 94, 255, 0.1), transparent 42%),
    linear-gradient(180deg, #fbfdff 0%, #fff 100%);
  color: var(--lx-ink);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem);
}
.lx-legal--templ .lx-legal__eyebrow {
  display: inline-flex;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
  letter-spacing: 0.12em;
}
.lx-legal--templ .lx-legal__hero h1 {
  font-family: var(--lx-font);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--lx-ink);
}
.lx-legal--templ .lx-legal__hero h1 span { color: var(--lx-blue); }
.lx-legal--templ .lx-legal__lede {
  color: var(--lx-muted);
  max-width: 46rem;
  font-size: 1.1rem;
}
.lx-legal--templ .lx-legal__meta { color: #8390a1; }
.lx-legal--templ .lx-legal__layout {
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.lx-legal--templ .lx-legal__toc {
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(19, 34, 56, 0.06);
  background: #fff;
  border: 1px solid var(--lx-line);
  padding: 1.25rem;
  top: 5.75rem;
}
.lx-legal--templ .lx-legal__body {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.lx-legal--templ .lx-legal__body section {
  background: #fff;
  border: 1px solid var(--lx-line);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(19, 34, 56, 0.06);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.lx-legal--templ .lx-legal__body section + section {
  border-top: 1px solid var(--lx-line);
  padding-top: 1.75rem;
  margin-top: 0;
}
.lx-legal--templ .lx-legal__body h2 {
  font-family: var(--lx-font);
  font-weight: 750;
  letter-spacing: -0.02em;
}
.lx-legal--templ .lx-legal__foot {
  background: #fff;
  border: 1px solid var(--lx-line);
  border-radius: 22px;
  padding: 1.15rem 1.35rem;
  margin-top: 0.5rem;
}

/* ?? Contact / sales (align with public templ) ?? */
.lx-sales__hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(31, 94, 255, 0.1), transparent 42%),
    linear-gradient(180deg, #fbfdff 0%, #fff 100%);
  color: var(--lx-ink);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(1.75rem, 3vw, 2.5rem);
}
.lx-sales__eyebrow {
  display: inline-flex;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
  letter-spacing: 0.12em;
}
.lx-sales__hero h1 {
  font-family: var(--lx-font);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lx-ink);
}
.lx-sales__lede {
  color: var(--lx-muted);
}
.lx-sales__layout {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.lx-sales__panel {
  border-radius: 24px;
}

/* ?? Public page alignment + responsive polish ?? */
html,
body.lx-body--public {
  overflow-x: hidden;
}
.lx-public--site,
.lx-public--landing {
  overflow-x: clip;
}
.lx-public__main--auth:not(:has(.lx-signin)):not(:has(.lx-register-page)) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.75rem, 5vw, 3.5rem) var(--lx-site-gutter, 1.25rem);
  min-height: calc(100vh - 11rem);
}
.lx-public__main--auth:not(:has(.lx-signin)):not(:has(.lx-register-page)) .lx-auth {
  width: min(440px, 100%);
  margin: 0;
}
.lx-public__main--auth:not(:has(.lx-signin)):not(:has(.lx-register-page)) .lx-auth__card {
  border-radius: 24px;
  border-top: 0;
  box-shadow: 0 24px 70px rgba(19, 34, 56, 0.1);
}
.lx-auth--signin .lx-form .lx-field input,
.lx-register__form .lx-field input,
.lx-register__form .lx-field select,
.lx-sales__form input,
.lx-sales__form select,
.lx-sales__form textarea {
  min-height: 2.85rem;
  border-radius: 12px;
}
.lx-btn {
  min-height: 2.75rem;
}
.lx-site-nav__actions .lx-btn {
  min-height: 2.55rem;
}
.lx-signin__right,
.lx-reg-hero,
.lx-reg-body,
.lx-pricing,
.lx-legal,
.lx-sales {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 1100px) {
  .lx-site-nav__links a {
    padding: 0.5rem 0.7rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 980px) {
  .lx-site-nav__brand .lx-brand:has(.lx-brand__logo) {
    height: 44px;
  }
  .lx-site-nav__brand .lx-brand__logo {
    height: calc(44px / var(--lx-logo-ink-ratio));
    max-width: none;
  }
  .lx-site-footer__brand .lx-brand:has(.lx-brand__logo) {
    height: 52px;
  }
  .lx-site-footer__brand .lx-brand__logo {
    height: calc(52px / var(--lx-logo-ink-ratio));
    max-width: none;
  }
  .lx-site-nav__actions .lx-btn {
    padding: 0.55rem 0.95rem;
    font-size: 0.9rem;
  }
  .lx-site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2rem;
  }
  .lx-site-footer__brand {
    grid-column: 1 / -1;
    max-width: 28rem;
  }
  .lx-site-footer__col {
    gap: 0.65rem;
  }
  .lx-pricing__hero-actions,
  .lx-pricing__cta-actions {
    width: 100%;
  }
  .lx-pricing__hero-actions .lx-btn,
  .lx-pricing__cta-actions .lx-btn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .lx-reg-submit {
    flex-direction: column;
    align-items: stretch;
  }
  .lx-reg-submit .lx-btn {
    width: 100%;
    justify-content: center;
  }
  .lx-legal--templ .lx-legal__toc {
    position: static;
  }
  .lx-legal--templ .lx-legal__toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
  }
}

@media (max-width: 700px) {
  .lx-site-announcement {
    font-size: 0.76rem;
    padding: 0.5rem 0.85rem;
    line-height: 1.4;
  }
  .lx-site-nav__inner {
    min-height: 64px;
  }
  .lx-site-nav__bar {
    min-height: 64px;
  }
  .lx-reg-hero h1,
  .lx-legal--templ .lx-legal__hero h1,
  .lx-pricing__hero h1,
  .lx-sales__hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
  }
  .lx-pricing-card,
  .lx-reg-card,
  .lx-sales__panel,
  .lx-legal--templ .lx-legal__body section {
    padding: 1.25rem;
    border-radius: 20px;
  }
  .lx-auth--signin .lx-auth__card {
    padding: 1.25rem 1.1rem 1.15rem;
  }
  .lx-signin__remember {
    flex-direction: column;
    align-items: flex-start;
  }
  .lx-form-grid {
    grid-template-columns: 1fr !important;
  }
  .lx-plan-cards {
    grid-template-columns: 1fr !important;
  }
}

/* Public / marketing */
.lx-public {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--lx-bg);
}
.lx-public--auth {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.15fr);
  min-height: 100vh;
}
.lx-public__hero {
  position: relative;
  overflow: hidden;
  background: var(--lx-hero-grad);
  color: #fff;
  padding: clamp(1.75rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}
.lx-public__hero::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  right: -250px;
  top: -180px;
  background: radial-gradient(circle, rgba(31, 94, 255, 0.24), rgba(31, 94, 255, 0) 70%);
  pointer-events: none;
}
.lx-public__hero > * {
  position: relative;
  z-index: 1;
}
.lx-public__hero .lx-brand {
  color: #fff;
  align-self: flex-start;
}
.lx-public__hero .lx-brand__text { color: #fff; }
.lx-public__hero-title {
  margin: 0;
  font-family: var(--lx-font);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.lx-public__hero-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 34ch;
}
.lx-public__hero-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.lx-public__hero-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.4;
}
.lx-public__hero-list svg {
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
  opacity: 0.9;
  flex-shrink: 0;
}
.lx-public__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.75rem;
}
.lx-btn--on-hero {
  background: #fff;
  color: var(--lx-navy);
  border-color: #fff;
}
.lx-btn--on-hero:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--lx-navy);
}
.lx-btn--on-hero-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.lx-btn--on-hero-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.lx-btn--on-hero.is-active,
.lx-btn--on-hero-outline.is-active {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.lx-public__panel {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 82% 16%, rgba(31, 94, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #fff 100%);
  min-height: 100vh;
}
.lx-public__bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  padding: 0.85rem clamp(1.25rem, 4vw, 2.5rem);
  gap: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 229, 236, 0.9);
}
.lx-public__legal-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}
.lx-public__legal-links a {
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--lx-muted);
  line-height: 1.2;
}
.lx-public__legal-links a:hover {
  color: var(--lx-blue);
}
.lx-public__legal-links--on-hero {
  margin-top: 0.45rem;
  justify-content: flex-start;
}
.lx-public__legal-links--on-hero a {
  color: rgba(255, 255, 255, 0.86);
}
.lx-public__legal-links--on-hero a:hover {
  color: #fff;
}
.lx-public__bar-actions {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}
.lx-public__main {
  flex: 1;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lx-public--auth .lx-public__main {
  align-items: center;
  padding-top: clamp(1.5rem, 4vw, 2.75rem);
  padding-bottom: clamp(1.5rem, 4vw, 2.75rem);
  min-height: 0;
}

@media (max-width: 900px) {
  .lx-public--auth {
    grid-template-columns: 1fr;
  }
  .lx-public__hero {
    padding: 1.5rem 1.25rem;
    min-height: auto;
  }
  .lx-public__hero-title { max-width: none; }
  .lx-public__hero-list { display: none; }
  .lx-public__panel { min-height: auto; }
  .lx-public__bar {
    flex-wrap: wrap;
    justify-content: center;
  }
  .lx-public__legal-links {
    width: 100%;
    order: 3;
  }
}

/* ?? Home landing (pro marketing shell) ?? */
body.lx-body--landing {
  background: #f4f7fa;
}
.lx-public--landing {
  position: relative;
  min-height: 100vh;
  background: #f4f7fa;
  isolation: isolate;
}
.lx-public--landing::before {
  display: none;
}
.lx-public--landing > * {
  position: relative;
  z-index: 1;
}
.lx-public__bar--pro {
  gap: 1rem;
}
.lx-public__nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
  margin-right: 0.5rem;
}
.lx-public__nav a {
  color: #48596d;
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}
.lx-public__nav a:hover {
  color: var(--lx-blue);
  text-decoration: none;
}
.lx-public__nav a.is-active {
  color: var(--lx-blue);
}

body.lx-body--legal {
  background: var(--lx-bg);
}
.lx-public--legal {
  min-height: 100vh;
  background: var(--lx-bg);
}
.lx-public__main--legal {
  display: block;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  width: 100%;
}

.lx-legal {
  width: 100%;
  padding-bottom: 3rem;
}
.lx-legal__hero {
  background: var(--lx-hero-grad);
  color: #fff;
  padding: clamp(2.75rem, 6vw, 4rem) 0 clamp(2.25rem, 5vw, 3.25rem);
}
.lx-legal__hero-inner {
  max-width: 48rem;
}
.lx-legal__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.lx-legal__hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--lx-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.lx-legal__lede {
  margin: 0 0 0.85rem;
  font-size: 1.1rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.9);
  max-width: 40rem;
}
.lx-legal__meta {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}
.lx-legal__layout {
  display: grid;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3rem) 0 0;
}
@media (min-width: 960px) {
  .lx-legal__layout {
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
  }
}
.lx-legal__toc {
  position: sticky;
  top: 5.25rem;
  align-self: start;
  padding: 1rem 0;
}
.lx-legal__toc-title {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lx-faint);
}
.lx-legal__toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.lx-legal__toc a {
  color: var(--lx-muted);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.35;
}
.lx-legal__toc a:hover {
  color: var(--lx-blue);
}
.lx-legal__body {
  background: #fff;
  border: 1px solid var(--lx-line);
  border-radius: 12px;
  padding: clamp(1.5rem, 3vw, 2.35rem);
  box-shadow: var(--lx-shadow-sm);
}
.lx-legal__body section + section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--lx-line);
}
.lx-legal__body h2 {
  margin: 0 0 0.75rem;
  font-family: var(--lx-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--lx-navy);
  letter-spacing: -0.015em;
}
.lx-legal__body h3 {
  margin: 1.15rem 0 0.45rem;
  font-size: 1rem;
  color: var(--lx-navy);
}
.lx-legal__body p,
.lx-legal__body li {
  color: var(--lx-muted);
  line-height: 1.65;
  font-size: 0.98rem;
}
.lx-legal__body p {
  margin: 0 0 0.85rem;
}
.lx-legal__body ul {
  margin: 0 0 0.85rem;
  padding-left: 1.2rem;
}
.lx-legal__body li + li {
  margin-top: 0.35rem;
}
.lx-legal__body a {
  color: var(--lx-blue);
}
.lx-legal__note {
  margin-top: 1rem !important;
  padding: 0.9rem 1rem;
  background: var(--lx-fill);
  border-radius: 8px;
  font-size: 0.92rem !important;
}
.lx-legal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--lx-line);
  font-size: 0.92rem;
}
@media (max-width: 959px) {
  .lx-legal__toc {
    position: static;
    padding: 0;
    border-bottom: 1px solid var(--lx-line);
    padding-bottom: 1rem;
  }
  .lx-legal__toc ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
  }
}

@media (min-width: 900px) {
  .lx-public__nav { display: flex; }
}

/* ?? Error page ?? */
.lx-error {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem) 1rem;
}
.lx-error__card {
  width: min(100%, 36rem);
  background: var(--lx-surface);
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius);
  box-shadow: var(--lx-shadow);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.lx-error__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lx-blue);
}
.lx-error__card h1 {
  margin: 0 0 0.75rem;
  font-family: var(--lx-serif);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 600;
  color: var(--lx-navy);
  letter-spacing: -0.02em;
}
.lx-error__lede {
  margin: 0;
  color: var(--lx-muted);
  line-height: 1.55;
  font-size: 1.02rem;
}
.lx-error__meta {
  margin: 1.35rem 0 0;
  padding: 0.9rem 1rem;
  background: var(--lx-fill);
  border-radius: var(--lx-radius-sm);
  display: grid;
  gap: 0.75rem;
}
.lx-error__meta dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lx-faint);
}
.lx-error__meta dd {
  margin: 0.2rem 0 0;
}
.lx-error__meta code {
  font-size: 0.82rem;
  word-break: break-all;
  color: var(--lx-ink);
}
.lx-error__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.lx-price-sep {
  opacity: 0.45;
  margin: 0 0.15rem;
  font-weight: 700;
}

.lx-plan-quote {
  margin-top: 1.15rem;
  padding: 1rem 1.15rem;
  background: var(--lx-fill);
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius);
}
.lx-plan-quote__label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lx-faint);
}
.lx-plan-quote__total {
  margin: 0.35rem 0 0.25rem;
  font-family: var(--lx-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--lx-navy);
}
.lx-plan-quote__detail {
  margin: 0;
  font-size: 0.92rem;
  color: var(--lx-muted);
}
.lx-plan-quote__note {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: var(--lx-faint);
}

/* ?? Public pricing (templ: rvlexora_pricing_matching_homepage) ?? */
.lx-public__main--legal:has(.lx-pricing) {
  align-items: stretch;
  padding: 0;
}
.lx-pricing {
  width: 100%;
  padding-bottom: 0;
  color: var(--lx-ink);
  background: #fff;
}
.lx-pricing__hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(31, 94, 255, 0.12), transparent 42%),
    radial-gradient(circle at 85% 0%, rgba(31, 94, 255, 0.08), transparent 36%),
    linear-gradient(180deg, #f7f9fc 0%, #fff 100%);
  color: var(--lx-ink);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 4vw, 3.25rem);
  text-align: center;
}
.lx-pricing__hero-inner {
  display: grid;
  gap: 1.1rem;
  max-width: 52rem;
  margin-inline: auto;
  justify-items: center;
}
.lx-pricing__eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lx-pricing__eyebrow--on-dark {
  background: rgba(143, 176, 255, 0.16);
  color: #8fb0ff;
}
.lx-pricing__hero h1 {
  margin: 0;
  font-family: var(--lx-font);
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--lx-ink);
}
.lx-pricing__hero h1 span {
  color: var(--lx-blue);
}
.lx-pricing__lede {
  margin: 0;
  max-width: 40rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--lx-muted);
}
.lx-pricing__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.35rem;
}
.lx-pricing__trustline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.15rem;
  justify-content: center;
  margin-top: 0.65rem;
  color: #7b8797;
  font-size: 0.86rem;
  font-weight: 650;
}
.lx-pricing__trustline span {
  position: relative;
  padding-left: 0.9rem;
}
.lx-pricing__trustline span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--lx-blue);
}
.lx-pricing__plans {
  padding: 0 0 clamp(2rem, 4vw, 3rem);
}
.lx-pricing__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}
.lx-pricing-card {
  background: #fff;
  border: 1px solid var(--lx-line);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(19, 34, 56, 0.07);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100%;
}
.lx-pricing-card--featured {
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(145deg, #1f5eff, #7aa2ff) border-box;
  border: 2px solid transparent;
  box-shadow: 0 24px 60px rgba(31, 94, 255, 0.16);
}
.lx-pricing-card__badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.lx-pricing-card__kicker {
  color: var(--lx-blue);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.lx-pricing-card h2 {
  margin: 0.65rem 0 0;
  font-family: var(--lx-font);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lx-ink);
}
.lx-pricing-card__desc {
  min-height: 3.4rem;
  margin: 0.75rem 0 0;
  color: var(--lx-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}
.lx-pricing-card__price {
  margin: 1rem 0 0;
  font-size: 1.35rem;
  font-weight: 750;
  color: var(--lx-ink);
  line-height: 1.3;
}
.lx-pricing-card__price small {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--lx-faint);
  margin-top: 0.15rem;
}
.lx-pricing-card__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.4rem;
}
.lx-pricing-card__meta-item {
  border: 1px solid var(--lx-line);
  border-radius: 15px;
  background: #fafbfd;
  padding: 0.85rem;
}
.lx-pricing-card__meta-item small {
  display: block;
  color: #8390a1;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lx-pricing-card__meta-item strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.08rem;
  color: var(--lx-ink);
}
.lx-pricing-card__note {
  margin-top: 1.15rem;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  background: var(--lx-blue-soft);
  color: #31517d;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.45;
}
.lx-pricing-card__features {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.lx-pricing-card__features li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: 0.65rem;
  align-items: start;
  color: #536174;
  font-size: 0.92rem;
  line-height: 1.5;
}
.lx-pricing-card__check,
.lx-pricing-card__addon {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 900;
  margin-top: 0.1rem;
}
.lx-pricing-card__check {
  background: rgba(31, 122, 79, 0.12);
  color: var(--lx-success, #1f7a4f);
}
.lx-pricing-card__check:empty::before {
  content: "\2713";
}
.lx-pricing-card__addon {
  background: #fff4df;
  color: #946717;
}
.lx-pricing-card__footer {
  margin-top: auto;
  padding-top: 1.75rem;
}
.lx-pricing-card__commercial {
  margin: 0.8rem 0 0;
  text-align: center;
  color: #7b8797;
  font-size: 0.78rem;
}
.lx-btn--block { width: 100%; justify-content: center; text-align: center; }
.lx-btn--light {
  background: #fff;
  color: var(--lx-ink);
  border-color: #fff;
}
.lx-btn--light:hover {
  background: #f4f7fa;
  color: var(--lx-ink);
}
.lx-btn--ghost-on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.lx-btn--ghost-on-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.lx-pricing__section {
  padding: clamp(4rem, 8vw, 6.25rem) 0;
}
.lx-pricing__section--suite {
  background: var(--lx-mist, #f4f7fa);
}
.lx-pricing__section--support {
  background: #111d2d;
  color: #fff;
  overflow: hidden;
}
.lx-pricing__section-head {
  max-width: 49rem;
  margin-bottom: 2.75rem;
}
.lx-pricing__section-head--center {
  text-align: center;
  margin-inline: auto;
}
.lx-pricing__section-head--center .lx-pricing__eyebrow {
  justify-content: center;
}
.lx-pricing__section-head h2 {
  margin: 1rem 0 0;
  font-family: var(--lx-font);
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: inherit;
}
.lx-pricing__section-head p {
  margin: 1.15rem 0 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--lx-muted);
}
.lx-pricing__section--support .lx-pricing__section-head p {
  color: rgba(255, 255, 255, 0.65);
}
.lx-pricing__value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
.lx-pricing__value-card {
  min-height: 15rem;
  padding: 1.65rem;
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.lx-pricing__value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(19, 34, 56, 0.09);
}
.lx-pricing__value-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 13px;
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
  display: grid;
  place-items: center;
  font-weight: 850;
}
.lx-pricing__value-card h3 {
  margin: 2rem 0 0;
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--lx-ink);
}
.lx-pricing__value-card p {
  margin: 0.7rem 0 0;
  color: var(--lx-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.lx-pricing__suite-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
.lx-pricing__suite-card {
  background: #fff;
  border: 1px solid var(--lx-line);
  border-radius: 22px;
  padding: 1.55rem;
}
.lx-pricing__suite-card h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--lx-ink);
}
.lx-pricing__suite-card h3 span {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
  display: grid;
  place-items: center;
  font-size: 0.92rem;
  flex-shrink: 0;
}
.lx-pricing__suite-card ul {
  columns: 2;
  column-gap: 1.75rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.lx-pricing__suite-card li {
  break-inside: avoid;
  margin: 0 0 0.6rem;
  color: #5b6879;
  font-size: 0.88rem;
}
.lx-pricing__suite-card li::before {
  content: "\2713";
  color: var(--lx-success, #1f7a4f);
  margin-right: 0.4rem;
}
.lx-pricing__lifetime {
  margin-top: 1.35rem;
  padding: 1.45rem 1.55rem;
  border-radius: 22px;
  background: linear-gradient(135deg, #17345b, #1f5eff);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 18px 40px rgba(31, 94, 255, 0.22);
}
.lx-pricing__lifetime h3 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 750;
}
.lx-pricing__lifetime p {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}
.lx-pricing__lifetime .lx-btn {
  white-space: nowrap;
}
.lx-pricing__table-wrap {
  overflow: hidden;
  border: 1px solid var(--lx-line);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(19, 34, 56, 0.05);
  background: #fff;
}
.lx-pricing__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.lx-pricing__table th,
.lx-pricing__table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #edf0f4;
  text-align: left;
  vertical-align: middle;
}
.lx-pricing__table thead th {
  background: #f7f9fc;
  color: #536174;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.lx-pricing__table th:not(:first-child),
.lx-pricing__table td:not(:first-child) {
  text-align: center;
}
.lx-pricing__table tbody tr:last-child th,
.lx-pricing__table tbody tr:last-child td {
  border-bottom: 0;
}
.lx-pricing__table tbody th {
  font-weight: 700;
  color: var(--lx-ink);
}
.lx-pricing__cell--yes { color: var(--lx-success, #1f7a4f); font-weight: 850; }
.lx-pricing__cell--paid { color: #9a6a14; font-weight: 800; }
.lx-pricing__cell--included { color: var(--lx-blue); font-weight: 850; }
.lx-pricing__cell--muted { color: #96a1af; }
.lx-pricing__support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.lx-pricing__support-card {
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
}
.lx-pricing__support-card h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 750;
}
.lx-pricing__support-card p {
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
}
.lx-pricing__support-card ul {
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.lx-pricing__support-card li {
  color: rgba(255, 255, 255, 0.78);
}
.lx-pricing__support-card li::before {
  content: "\2713";
  color: #8fb0ff;
  margin-right: 0.5rem;
}
.lx-pricing__faq {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(2rem, 5vw, 3.75rem);
  align-items: start;
}
.lx-pricing__faq .lx-pricing__section-head {
  margin-bottom: 0;
}
.lx-pricing__faq-list {
  border-top: 1px solid var(--lx-line);
}
.lx-pricing__faq-item {
  border-bottom: 1px solid var(--lx-line);
}
.lx-pricing__faq-q {
  width: 100%;
  border: 0;
  background: none;
  padding: 1.3rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  color: var(--lx-ink);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.lx-pricing__faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.lx-pricing__faq-a p {
  margin: 0;
  padding-bottom: 1.3rem;
  color: var(--lx-muted);
  line-height: 1.6;
}
.lx-pricing__faq-item.is-open .lx-pricing__faq-a {
  max-height: 14rem;
}
.lx-pricing__faq-item.is-open .lx-pricing__faq-plus {
  transform: rotate(45deg);
}
.lx-pricing__faq-plus {
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.25s ease;
}
.lx-pricing__cta-wrap {
  padding: 0 0 clamp(3.5rem, 7vw, 5.5rem);
}
.lx-pricing__cta {
  border-radius: 30px;
  background: linear-gradient(135deg, #17345b, #1f5eff);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  text-align: left;
}
.lx-pricing__cta h2 {
  margin: 0;
  max-width: 42rem;
  font-family: var(--lx-font);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.lx-pricing__cta p {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  max-width: 36rem;
  line-height: 1.55;
}
.lx-pricing__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}
.lx-insights-banner {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: var(--lx-blue-soft);
  border-radius: var(--lx-radius-sm);
  color: var(--lx-navy);
  font-size: 0.92rem;
}
.lx-plan-quote--soft .lx-plan-quote__detail {
  margin-top: 0.35rem;
}
@media (max-width: 980px) {
  .lx-pricing__cards,
  .lx-pricing__support-grid,
  .lx-pricing__faq {
    grid-template-columns: 1fr;
  }
  .lx-pricing__value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lx-pricing__suite-card ul {
    columns: 1;
  }
}
@media (max-width: 700px) {
  .lx-pricing__cards,
  .lx-pricing__value-grid,
  .lx-pricing__suite-grid {
    grid-template-columns: 1fr;
  }
  .lx-pricing-card__meta {
    grid-template-columns: 1fr;
  }
  .lx-pricing__lifetime {
    grid-template-columns: 1fr;
  }
  .lx-pricing__table-wrap {
    overflow-x: auto;
  }
  .lx-pricing__table {
    min-width: 44rem;
  }
  .lx-pricing__cta {
    display: block;
    padding: 2.5rem 1.5rem;
  }
  .lx-pricing__cta-actions {
    margin-top: 1.35rem;
  }
}

/* ?? Contact sales (pro) ?? */
.lx-public__main--legal:has(.lx-sales) {
  align-items: stretch;
  padding: 0;
}
.lx-sales {
  width: 100%;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.lx-sales__hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(31, 94, 255, 0.1), transparent 42%),
    linear-gradient(180deg, #fbfdff 0%, #fff 100%);
  color: var(--lx-ink);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(1.75rem, 3vw, 2.5rem);
}
.lx-sales__hero-inner {
  max-width: 44rem;
  display: grid;
  gap: 0.85rem;
}
.lx-sales__eyebrow {
  margin: 0;
  display: inline-flex;
  width: fit-content;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lx-sales__hero h1 {
  margin: 0;
  font-family: var(--lx-font);
  font-size: clamp(2rem, 4.2vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--lx-ink);
}
.lx-sales__lede {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--lx-muted);
}
.lx-sales__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  align-items: start;
}
.lx-sales__aside h2,
.lx-sales__form-title {
  margin: 0 0 0.85rem;
  font-family: var(--lx-font);
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--lx-navy);
}
.lx-sales__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
  counter-reset: sales-step;
}
.lx-sales__steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.85rem;
  counter-increment: sales-step;
}
.lx-sales__steps li::before {
  content: counter(sales-step);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
  font-size: 0.82rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  grid-row: 1 / span 2;
  align-self: start;
}
.lx-sales__steps strong {
  color: var(--lx-ink);
  font-size: 0.98rem;
}
.lx-sales__steps span {
  color: var(--lx-muted);
  font-size: 0.92rem;
  line-height: 1.45;
  grid-column: 2;
}
.lx-sales__trust {
  margin-top: 1.75rem;
  padding: 1rem 1.1rem;
  background: var(--lx-fill);
  border-radius: var(--lx-radius);
}
.lx-sales__trust-label {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lx-faint);
}
.lx-sales__trust ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--lx-muted);
  font-size: 0.92rem;
}
.lx-sales__trust li + li { margin-top: 0.3rem; }
.lx-sales__link {
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
  color: var(--lx-muted);
}
.lx-sales__panel {
  background: #fff;
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius);
  box-shadow: var(--lx-shadow);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}
.lx-sales__form-lead {
  margin: -0.35rem 0 1.15rem;
  color: var(--lx-muted);
  font-size: 0.92rem;
}
.lx-sales__form {
  display: grid;
  gap: 0.95rem;
}
.lx-sales__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}
.lx-sales__form .lx-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--lx-ink);
}
.lx-optional {
  font-weight: 500;
  color: var(--lx-faint);
}
.lx-sales__form input,
.lx-sales__form select,
.lx-sales__form textarea {
  width: 100%;
  border: 1px solid var(--lx-line-strong);
  border-radius: var(--lx-radius-sm);
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #fff;
}
.lx-sales__form textarea { resize: vertical; min-height: 7rem; }
.lx-sales__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}
.lx-sales__fine {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--lx-faint);
  line-height: 1.45;
}
.lx-sales__alert {
  border-radius: var(--lx-radius-sm);
  padding: 0.75rem 0.9rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.lx-sales__alert.is-success {
  color: #0c5a2f;
  background: #eaf8f0;
  border: 1px solid #bde7cd;
}
.lx-sales__alert.is-error {
  color: #7c2533;
  background: #fdecef;
  border: 1px solid #f4c6cf;
}
@media (max-width: 900px) {
  .lx-sales__layout { grid-template-columns: 1fr; }
  .lx-sales__grid { grid-template-columns: 1fr; }
}

.lx-pro-wrap {
  width: min(var(--lx-site-max, 1180px), calc(100% - (var(--lx-site-gutter, 1.25rem) * 2)));
  margin-inline: auto;
}
.lx-pro-hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}
.lx-pro-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  animation: lx-pro-ken 18s ease-in-out infinite alternate;
}
.lx-pro-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 44, 63, 0.78) 0%, rgba(15, 44, 63, 0.45) 48%, rgba(15, 44, 63, 0.25) 100%),
    linear-gradient(180deg, rgba(15, 44, 63, 0.15) 0%, rgba(15, 44, 63, 0.55) 100%);
}
.lx-pro-hero__inner {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto 0 clamp(1.25rem, 6vw, 5rem);
  padding: clamp(5.5rem, 12vh, 7.5rem) 0 clamp(3.5rem, 8vh, 5.5rem);
  display: grid;
  gap: 1rem;
}
.lx-pro-hero__logo {
  height: clamp(4.5rem, 10vw, 6.75rem);
  width: auto;
  max-width: min(100%, 28rem);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.25));
  animation: lx-landing-rise 0.7s ease-out both;
}
.lx-pro-hero__brand {
  margin: 0;
  font-family: var(--lx-serif);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  line-height: 1;
  animation: lx-landing-rise 0.7s ease-out both;
}
.lx-pro-hero__title {
  margin: 0;
  font-family: var(--lx-serif);
  font-size: clamp(2.35rem, 5.4vw, 3.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 16ch;
  animation: lx-landing-rise 0.75s ease-out 0.06s both;
}
.lx-pro-hero__lead {
  margin: 0;
  max-width: 38rem;
  font-family: var(--lx-font);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  animation: lx-landing-rise 0.75s ease-out 0.14s both;
}
.lx-pro-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
  animation: lx-landing-rise 0.75s ease-out 0.22s both;
}
.lx-pro-hero__actions .lx-btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.08);
}
.lx-pro-hero__actions .lx-btn--ghost:hover {
  background: rgba(255,255,255,0.16);
}
.lx-pro-hero__slides {
  position: absolute;
  z-index: 3;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  gap: 0.4rem;
}
.lx-pro-hero__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
}
.lx-pro-hero__dot.is-active {
  background: #fff;
  width: 1.15rem;
}

.lx-pro-trust {
  background: #fff;
  border-bottom: 1px solid var(--lx-line);
}
.lx-pro-trust__list {
  list-style: none;
  margin: 0;
  padding: 1.35rem 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .lx-pro-trust__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}
.lx-pro-trust__list li {
  display: grid;
  gap: 0.2rem;
}
.lx-pro-trust__list strong {
  color: var(--lx-navy);
  font-size: 0.95rem;
}
.lx-pro-trust__list span {
  color: var(--lx-muted);
  font-size: 0.88rem;
}

.lx-pro-section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background: #f4f7fa;
}
.lx-pro-section--soft {
  background: #fff;
}
.lx-pro-section__head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}
.lx-pro-section__head h2 {
  margin: 0 0 0.65rem;
  font-family: var(--lx-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lx-navy);
}
.lx-pro-section__head p {
  margin: 0;
  color: var(--lx-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}
.lx-pro-features {
  display: grid;
  gap: 1.75rem 2rem;
}
@media (min-width: 800px) {
  .lx-pro-features { grid-template-columns: 1fr 1fr; }
}
.lx-pro-feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: var(--lx-navy);
}
.lx-pro-feature p {
  margin: 0;
  color: var(--lx-muted);
  line-height: 1.55;
  max-width: 36rem;
}
.lx-pro-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 900px) {
  .lx-pro-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.lx-pro-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}
.lx-pro-steps__num {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--lx-blue-soft);
  color: var(--lx-navy);
  font-weight: 700;
  font-size: 0.9rem;
}
.lx-pro-steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  color: var(--lx-navy);
}
.lx-pro-steps p {
  margin: 0;
  color: var(--lx-muted);
  line-height: 1.5;
}
.lx-pro-markets {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .lx-pro-markets { grid-template-columns: 1fr 1fr; }
}
.lx-pro-markets h3 {
  margin: 0 0 0.45rem;
  font-family: var(--lx-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--lx-navy);
}
.lx-pro-markets p {
  margin: 0;
  color: var(--lx-muted);
  line-height: 1.55;
  max-width: 34rem;
}

.lx-pro-cta {
  background: var(--lx-navy);
  color: #fff;
  padding: clamp(3.25rem, 7vw, 4.75rem) 0;
}
.lx-pro-cta__inner {
  display: grid;
  gap: 0.85rem;
  max-width: 40rem;
}
.lx-pro-cta h2 {
  margin: 0;
  font-family: var(--lx-serif);
  font-size: clamp(1.9rem, 3.4vw, 2.55rem);
  font-weight: 700;
}
.lx-pro-cta p {
  margin: 0;
  color: rgba(255,255,255,0.82);
  line-height: 1.55;
}
.lx-pro-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.lx-btn--on-dark {
  color: #fff !important;
  border-color: rgba(255,255,255,0.45) !important;
  background: transparent !important;
}
.lx-btn--on-dark:hover {
  background: rgba(255,255,255,0.1) !important;
}

.lx-pro-footer {
  background: var(--lx-navy);
  color: rgba(255,255,255,0.78);
  padding: 2.75rem 0 1.5rem;
}
.lx-pro-footer__grid {
  display: grid;
  gap: 1.75rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 800px) {
  .lx-pro-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.lx-pro-footer__brand {
  display: block;
  color: #fff;
  font-family: var(--lx-serif);
  font-size: 1.45rem;
  margin-bottom: 0.45rem;
}
.lx-pro-footer p {
  margin: 0;
  max-width: 22rem;
  line-height: 1.5;
  font-size: 0.95rem;
}
.lx-pro-footer__label {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.lx-pro-footer nav {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}
.lx-pro-footer a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 0.92rem;
}
.lx-pro-footer a:hover { color: #fff; }
.lx-pro-footer__base {
  padding-top: 1.15rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

@keyframes lx-pro-ken {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .lx-pro-hero__media { animation: none; }
}

/* ?? Home landing (full-bleed lexorabg) ?? LEGACY slider kept for non-pro pages ?? */
.lx-public__bar--glass {
  background: rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid rgba(219, 228, 236, 0.65);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  position: sticky;
  top: 0;
  z-index: 20;
}
.lx-public__main--landing {
  display: block;
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
}
.lx-hero-slider {
  position: relative;
  min-height: calc(100vh - 4.25rem);
  overflow: hidden;
}
.lx-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.lx-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.lx-hero-slide__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, rgba(250, 252, 255, 0.88) 0%, rgba(250, 252, 255, 0.7) 36%, rgba(250, 252, 255, 0.2) 64%, rgba(250, 252, 255, 0.06) 100%),
    linear-gradient(180deg, rgba(250, 252, 255, 0.14) 0%, rgba(250, 252, 255, 0.42) 100%);
}
.lx-hero-slide .lx-landing {
  position: relative;
  z-index: 1;
}
.lx-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  color: #fff;
  background: rgba(12, 36, 56, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 1.15rem;
  line-height: 1;
}
.lx-hero-nav--prev {
  left: clamp(0.55rem, 1.2vw, 1rem);
}
.lx-hero-nav--next {
  right: clamp(0.55rem, 1.2vw, 1rem);
}
.lx-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.05rem;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.45rem;
}
.lx-hero-dot {
  width: 0.65rem;
  height: 0.65rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}
.lx-hero-dot.is-active {
  background: rgba(255, 255, 255, 0.95);
}
.lx-landing {
  min-height: calc(100vh - 4.25rem);
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 8vh, 5rem) clamp(1.35rem, 5vw, 4.5rem) clamp(3rem, 8vh, 5.5rem);
}
.lx-landing__hero {
  max-width: 38rem;
  display: grid;
  gap: 1rem;
}
.lx-landing__brand {
  margin: 0;
  font-family: var(--lx-serif);
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--lx-navy);
  animation: lx-landing-rise 0.7s ease-out both;
}
.lx-landing__logo {
  display: block;
  height: clamp(4.75rem, 11vw, 7rem);
  width: auto;
  max-width: min(100%, 30rem);
  object-fit: contain;
  object-position: left center;
  animation: lx-landing-rise 0.7s ease-out both;
}
.lx-landing__markets {
  margin: -0.15rem 0 0;
  font-family: var(--lx-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lx-blue);
  animation: lx-landing-rise 0.7s ease-out 0.04s both;
}
.lx-landing__title {
  margin: 0;
  font-family: var(--lx-font);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--lx-ink);
  max-width: 20ch;
  animation: lx-landing-rise 0.75s ease-out 0.08s both;
}
.lx-landing__lead {
  margin: 0;
  max-width: 34ch;
  font-family: var(--lx-font);
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--lx-muted);
  animation: lx-landing-rise 0.75s ease-out 0.16s both;
}
.lx-landing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.65rem;
  animation: lx-landing-rise 0.75s ease-out 0.24s both;
}
.lx-landing__actions .lx-btn--lg {
  min-width: 10.5rem;
  box-shadow: 0 8px 22px rgba(22, 64, 83, 0.16);
}
.lx-landing__actions .lx-btn--ghost {
  box-shadow: 0 4px 14px rgba(15, 44, 63, 0.06);
}

.lx-landing-band {
  background: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(219, 228, 236, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--lx-font);
}
.lx-landing-band__inner {
  width: min(68rem, 100%);
  margin: 0 auto;
  padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.35rem, 5vw, 4.5rem) clamp(2.75rem, 6vw, 4rem);
}
.lx-landing-band__title {
  margin: 0 0 0.4rem;
  font-family: var(--lx-font);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--lx-navy);
}
.lx-landing-band__lead {
  margin: 0 0 1.75rem;
  max-width: 40ch;
  color: var(--lx-muted);
  font-size: 0.98rem;
}
.lx-landing-band__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.25rem);
}
.lx-landing-band__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}
.lx-landing-band__mark {
  font-family: var(--lx-serif);
  font-size: 1.15rem;
  color: var(--lx-blue);
  line-height: 1.2;
  padding-top: 0.1rem;
}
.lx-landing-band__list strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--lx-ink);
  margin-bottom: 0.2rem;
}
.lx-landing-band__list span:not(.lx-landing-band__mark) {
  display: block;
  font-size: 0.9rem;
  color: var(--lx-muted);
  line-height: 1.45;
}
.lx-landing-markets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(219, 228, 236, 0.95);
}
.lx-landing-markets__item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--lx-font);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--lx-navy);
}
.lx-landing-markets__item p {
  margin: 0;
  max-width: 36ch;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--lx-muted);
}
.lx-landing-legal {
  margin-top: clamp(1.65rem, 3.6vw, 2.2rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(219, 228, 236, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}
.lx-landing-legal__label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lx-muted);
}
.lx-landing-legal__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}
.lx-landing-legal__links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lx-navy);
}
.lx-landing-legal__links a:hover {
  color: var(--lx-blue);
}

.lx-contact {
  background: linear-gradient(180deg, rgba(247, 250, 253, 0.95) 0%, rgba(255, 255, 255, 0.96) 100%);
  border-top: 1px solid rgba(219, 228, 236, 0.85);
}
.lx-contact__inner {
  width: min(68rem, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.35rem, 5vw, 4.5rem) clamp(2.25rem, 5vw, 3.25rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.35rem, 3vw, 2rem);
}
.lx-contact__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lx-blue);
}
.lx-contact__intro h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--lx-navy);
}
.lx-contact__intro p {
  margin: 0.7rem 0 0;
  color: var(--lx-muted);
}
.lx-contact__points {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--lx-ink);
}
.lx-contact__points li {
  margin-bottom: 0.4rem;
}
.lx-contact__card {
  background: #fff;
  border: 1px solid var(--lx-line);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(14, 40, 59, 0.08);
  padding: 1rem;
}
.lx-contact__alert {
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
}
.lx-contact__alert.is-success {
  color: #0c5a2f;
  background: #eaf8f0;
  border: 1px solid #bde7cd;
}
.lx-contact__alert.is-error {
  color: #7c2533;
  background: #fdecef;
  border: 1px solid #f4c6cf;
}
.lx-contact__form {
  display: grid;
  gap: 0.8rem;
}
.lx-contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}
.lx-contact__form label {
  display: grid;
  gap: 0.3rem;
}
.lx-contact__form span {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--lx-muted);
}
.lx-contact__form input,
.lx-contact__form textarea {
  width: 100%;
  border: 1px solid var(--lx-line);
  border-radius: 10px;
  padding: 0.62rem 0.72rem;
  font-size: 0.95rem;
}

.lx-sales-chat__fab {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 0;
  border-radius: 999px;
  padding: 0.4rem 1rem 0.4rem 0.4rem;
  background: #fff;
  color: var(--lx-ink);
  font-family: var(--lx-font);
  box-shadow: 0 14px 36px rgba(19, 34, 56, 0.22);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lx-sales-chat__fab[hidden],
.lx-sales-chat[hidden] {
  display: none !important;
}
.lx-sales-chat__fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(19, 34, 56, 0.26);
  text-decoration: none;
}
.lx-sales-chat__fab-avatar,
.lx-sales-chat__header-avatar {
  position: relative;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  overflow: visible;
}
.lx-sales-chat__fab-avatar img,
.lx-sales-chat__header-avatar img,
.lx-sales-chat__bubble-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(31, 94, 255, 0.18);
}
.lx-sales-chat__fab-avatar img,
.lx-sales-chat__header-avatar img {
  width: 2.75rem;
  height: 2.75rem;
}
.lx-sales-chat__online {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35);
}
.lx-sales-chat__fab-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  padding-right: 0.35rem;
  text-align: left;
}
.lx-sales-chat__fab-copy strong {
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.15;
  color: var(--lx-ink);
}
.lx-sales-chat__fab-copy small {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6b7b8d;
  line-height: 1.2;
}
.lx-sales-chat {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 60;
  width: min(23.5rem, calc(100vw - 1.5rem));
  margin: 0;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(19, 34, 56, 0.1);
  background: #fff;
  box-shadow: 0 24px 55px rgba(19, 34, 56, 0.24);
  font-family: var(--lx-font);
  display: flex;
  flex-direction: column;
}
.lx-sales-chat__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  background: linear-gradient(135deg, #132238 0%, #1a3a6b 55%, #1f5eff 140%);
  color: #fff;
  padding: 0.85rem 0.9rem;
  flex-shrink: 0;
}
.lx-sales-chat__identity {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.lx-sales-chat__header-avatar {
  width: 2.55rem;
  height: 2.55rem;
}
.lx-sales-chat__header-avatar img {
  width: 2.55rem;
  height: 2.55rem;
  border-color: rgba(255, 255, 255, 0.85);
}
.lx-sales-chat__header-avatar .lx-sales-chat__online {
  border-color: #16345a;
}
.lx-sales-chat__identity strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.15;
}
.lx-sales-chat__identity small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 0.12rem;
}
.lx-sales-chat__close {
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.lx-sales-chat__close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lx-sales-chat__messages {
  height: 18.5rem;
  overflow-y: auto;
  padding: 0.9rem;
  background: #f5f8fc;
  display: grid;
  gap: 0.7rem;
  align-content: start;
}
.lx-sales-chat__messages article {
  max-width: 92%;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.45;
}
.lx-sales-chat__messages .is-assistant {
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.55rem;
  align-items: start;
  background: #fff;
  border: 1px solid #e4ebf3;
  color: var(--lx-ink);
  border-radius: 14px 14px 14px 6px;
}
.lx-sales-chat__messages .is-assistant p {
  margin: 0;
}
.lx-sales-chat__bubble-avatar {
  width: 1.75rem !important;
  height: 1.75rem !important;
  border-width: 0;
  box-shadow: none;
}
.lx-sales-chat__messages .is-user {
  margin-left: auto;
  background: var(--lx-blue);
  color: #fff;
  border-radius: 14px 14px 6px 14px;
}
.lx-sales-chat__messages .is-loading {
  opacity: 0.8;
  font-style: italic;
}
.lx-sales-chat__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
  width: 100%;
}
.lx-sales-chat__chip {
  border: 1px solid rgba(31, 94, 255, 0.22);
  background: #f4f7ff;
  color: var(--lx-blue);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
}
.lx-sales-chat__chip:hover {
  background: #e8efff;
  border-color: rgba(31, 94, 255, 0.4);
}
.lx-sales-chat__form {
  border-top: 1px solid #e8eef5;
  padding: 0.7rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  background: #fff;
}
.lx-sales-chat__form input {
  border: 1px solid var(--lx-line);
  border-radius: 999px;
  padding: 0.62rem 0.95rem;
  font-family: inherit;
  font-size: 0.9rem;
  min-width: 0;
}
.lx-sales-chat__form input:focus {
  outline: none;
  border-color: rgba(31, 94, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(31, 94, 255, 0.12);
}
.lx-sales-chat__form button {
  border: 0;
  border-radius: 999px;
  padding: 0.62rem 1rem;
  background: var(--lx-blue);
  color: #fff;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.lx-sales-chat__form button:hover {
  background: var(--lx-blue-hover);
}
@media (max-width: 560px) {
  .lx-sales-chat__fab {
    right: 0.85rem;
    bottom: 0.85rem;
    padding-right: 0.85rem;
  }
  .lx-sales-chat {
    right: 0.65rem;
    bottom: 0.65rem;
    width: calc(100vw - 1.3rem);
  }
}

@keyframes lx-landing-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .lx-hero-slider {
    min-height: calc(100vh - 4rem);
  }
  .lx-hero-nav {
    display: none;
  }
  .lx-hero-dots {
    bottom: 0.7rem;
  }
  .lx-landing-band__list {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  .lx-landing-markets {
    grid-template-columns: 1fr;
  }
  .lx-contact__inner {
    grid-template-columns: 1fr;
  }
  .lx-contact__grid {
    grid-template-columns: 1fr;
  }
  .lx-landing-legal {
    flex-direction: column;
    align-items: flex-start;
  }
  .lx-landing {
    min-height: calc(100vh - 4rem);
    align-items: flex-end;
    padding-bottom: 2.5rem;
  }
  .lx-landing__brand {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lx-landing__brand,
  .lx-landing__title,
  .lx-landing__lead,
  .lx-landing__actions {
    animation: none;
  }
}

.validation-summary-valid { display: none !important; }
.lx-form-alert:empty { display: none; }

/* Register ? two-column professional layout */
.lx-register {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.25fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
  width: 100%;
}
.lx-register__aside {
  padding-top: 0.35rem;
  position: sticky;
  top: 1.25rem;
}
.lx-register__title {
  font-family: var(--lx-font);
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.75rem;
  text-align: left;
}
.lx-register__lead {
  margin: 0 0 1.75rem;
  color: var(--lx-muted);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 34rem;
  text-align: left;
}
.lx-register__steps {
  display: grid;
  gap: 1rem;
}
.lx-register__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}
.lx-register__step-num {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
  font-size: 0.85rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.lx-register__step strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.lx-register__step p {
  margin: 0;
  color: var(--lx-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}
.lx-register__panel {
  background: var(--lx-surface);
  border: 1px solid var(--lx-line);
  border-top: 3px solid var(--lx-blue);
  border-radius: 14px;
  box-shadow: var(--lx-shadow);
  padding: clamp(1.35rem, 2.5vw, 1.85rem);
  min-width: 0;
}
.lx-public--auth .lx-register {
  grid-template-columns: 1fr;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}
.lx-public--auth .lx-register__aside {
  display: none;
}
.lx-register__form {
  gap: 0;
}
.lx-register__form .lx-form-section {
  gap: 1rem;
  padding-bottom: 1.35rem;
  margin-bottom: 1.35rem;
}
.lx-plan-cycle {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.25rem;
  margin: 0 0 1rem;
  border: 1px solid var(--lx-line);
  border-radius: 10px;
  background: var(--lx-bg, #f4f7f8);
}
.lx-plan-cycle__opt {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--lx-muted);
}
.lx-plan-cycle__opt:has(input:checked) {
  background: var(--lx-surface);
  color: var(--lx-ink);
  box-shadow: 0 1px 2px rgba(15, 40, 50, 0.08);
}
.lx-plan-cycle__opt input { accent-color: var(--lx-blue); }
.lx-plan-cycle__opt em {
  font-style: normal;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--lx-teal, var(--lx-blue));
  margin-left: 0.15rem;
}
.lx-plan-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
.lx-plan-card {
  position: relative;
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 1rem 1.05rem 1.1rem;
  border: 1.5px solid var(--lx-line);
  border-radius: 12px;
  background: var(--lx-surface);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.lx-plan-card--compact {
  gap: 0.2rem;
  padding: 0.85rem 0.95rem 0.75rem;
  align-content: start;
}
.lx-plan-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.lx-plan-card:hover { border-color: color-mix(in srgb, var(--lx-blue) 45%, var(--lx-line)); }
.lx-plan-card.is-selected,
.lx-plan-card:has(input:checked) {
  border-color: var(--lx-blue);
  box-shadow: 0 0 0 3px var(--lx-blue-soft);
}
.lx-plan-card--popular { border-color: color-mix(in srgb, var(--lx-teal, var(--lx-blue)) 55%, var(--lx-line)); }
.lx-plan-card__badge {
  position: absolute;
  top: -0.55rem;
  right: 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--lx-blue);
  color: #fff;
}
.lx-plan-card__name {
  font-family: var(--lx-serif);
  font-size: 1.2rem;
  font-weight: 600;
}
.lx-plan-card--compact .lx-plan-card__name {
  font-size: 1.05rem;
  line-height: 1.2;
}
.lx-plan-card__price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--lx-ink);
  letter-spacing: -0.02em;
}
.lx-plan-card--compact .lx-plan-card__price {
  font-size: 1.15rem;
}
.lx-plan-card__price small {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--lx-muted);
  margin-left: 0.15rem;
}
.lx-plan-card__meta {
  font-size: 0.78rem;
  color: var(--lx-muted);
  margin-top: 0.1rem;
}
.lx-plan-card__details {
  justify-self: start;
  margin-top: 0.35rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--lx-blue);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.lx-plan-card__details:hover { color: var(--lx-ink); }
.lx-plan-card__tagline {
  font-size: 0.84rem;
  color: var(--lx-muted);
  line-height: 1.4;
}
.lx-plan-card__features {
  margin: 0.35rem 0 0;
  padding: 0 0 0 1.05rem;
  font-size: 0.82rem;
  color: var(--lx-ink);
  line-height: 1.45;
}
.lx-plan-card__features li { margin: 0.2rem 0; }
.lx-plan-details-modal__card {
  text-align: left;
  width: min(22rem, calc(100vw - 2rem));
}
.lx-plan-details-modal__tagline {
  margin-bottom: 0.5rem;
}
.lx-plan-details-modal__price {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--lx-ink);
  letter-spacing: -0.02em;
}
.lx-plan-details-modal__price small {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--lx-muted);
  margin-left: 0.15rem;
}
.lx-plan-details-modal__features {
  margin: 0 0 1.25rem;
  padding: 0 0 0 1.1rem;
  font-size: 0.9rem;
  color: var(--lx-ink);
  line-height: 1.5;
}
.lx-plan-details-modal__features li { margin: 0.25rem 0; }
.lx-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
@media (max-width: 640px) {
  .lx-plan-cards { grid-template-columns: 1fr; }
}

.lx-register__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 0.25rem;
}
.lx-register__actions .lx-btn {
  min-width: 220px;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}
.lx-register__signin {
  margin: 0;
  color: var(--lx-muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .lx-register {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .lx-register__aside {
    position: static;
  }
  .lx-register__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .lx-register__actions .lx-btn {
    width: 100%;
  }
}
.lx-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}
.lx-hero__copy h1 {
  font-family: var(--lx-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
}
.lx-hero__kicker {
  margin: 0 0 0.65rem;
  color: var(--lx-blue);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lx-hero__copy p {
  margin: 0;
  color: var(--lx-muted);
  font-size: 1.08rem;
  max-width: 36ch;
}
.lx-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.lx-hero__panel {
  background: var(--lx-surface);
  border: 1px solid var(--lx-line);
  border-radius: 14px;
  box-shadow: var(--lx-shadow);
  padding: 1.25rem;
}
.lx-hero__panel .lx-kpi { box-shadow: none; }
.lx-auth {
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}
.lx-auth--wide {
  max-width: 560px;
}
.lx-auth__card {
  background: var(--lx-surface);
  border: 1px solid var(--lx-line);
  border-top: 3px solid var(--lx-blue);
  border-radius: 12px;
  box-shadow: var(--lx-shadow);
  padding: 1.5rem 1.5rem 1.35rem;
}
.lx-auth__header {
  text-align: left;
  margin-bottom: 1.25rem;
}
.lx-auth__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lx-blue);
}
.lx-auth__title {
  font-family: var(--lx-serif);
  font-size: 1.65rem;
  font-weight: 700;
  text-align: left;
  margin: 0 0 0.4rem;
  color: var(--lx-ink);
}
.lx-auth__lead {
  text-align: left;
  color: var(--lx-muted);
  margin: 0;
  max-width: none;
  line-height: 1.5;
  font-size: 0.95rem;
}
.lx-auth__footer {
  text-align: center;
  color: var(--lx-muted);
  margin: 1.15rem 0 0;
  font-size: 0.92rem;
}
.lx-auth__footer a {
  color: var(--lx-blue);
  font-weight: 600;
}
.lx-auth-callout {
  background: var(--lx-fill);
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius);
  padding: 0.95rem 1.1rem;
  margin-bottom: 1rem;
  color: var(--lx-ink);
}
.lx-auth-callout strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}
.lx-auth-callout ol {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--lx-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.lx-auth-form {
  padding: 1.35rem 1.4rem 1.25rem;
}
.lx-form-section {
  display: grid;
  gap: 0.9rem;
  padding-bottom: 1.15rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--lx-line);
}
.lx-form-section:last-of-type {
  border-bottom: 0;
  margin-bottom: 0.35rem;
  padding-bottom: 0.35rem;
}
.lx-form-section__title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lx-faint);
}
.lx-field {
  display: grid;
  gap: 0.35rem;
}
.lx-label-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.lx-label-row label {
  margin: 0;
}
.lx-field-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--lx-faint);
  line-height: 1.4;
}
.lx-field-hint--center {
  text-align: center;
}
.lx-input-readonly {
  background: var(--lx-fill) !important;
  color: var(--lx-ink);
  cursor: default;
}
.lx-form-alert {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: var(--lx-radius-sm);
  background: var(--lx-orange-soft);
  border: 1px solid #f2c4b5;
}
.lx-auth-form__footer {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

/* Info tooltips ? open upward/right so they stay above the rail */
.lx-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  cursor: help;
  outline: none;
  z-index: 1;
}
.lx-tip:hover,
.lx-tip:focus,
.lx-tip:focus-within {
  z-index: 60;
}
.lx-tip__icon {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  border: 1px solid #9aa8ba;
  color: #5b6b7c;
  background: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  font-style: italic;
  font-family: var(--lx-font);
  display: grid;
  place-items: center;
  line-height: 1;
}
.lx-tip:hover .lx-tip__icon,
.lx-tip:focus .lx-tip__icon {
  border-color: var(--lx-blue);
  color: var(--lx-blue);
  background: var(--lx-blue-soft);
}
.lx-tip__bubble {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  transform: none;
  width: min(280px, calc(100vw - var(--lx-rail) - 2.5rem));
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: var(--lx-ink);
  color: #f5f7fa;
  font-size: 0.78rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.4;
  box-shadow: 0 8px 24px rgba(15, 44, 63, 0.22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.12s ease, visibility 0.12s ease;
  z-index: 60;
  text-align: left;
}
.lx-tip__bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 10px;
  transform: none;
  border: 6px solid transparent;
  border-top-color: var(--lx-ink);
}
.lx-tip:hover .lx-tip__bubble,
.lx-tip:focus .lx-tip__bubble,
.lx-tip:focus-within .lx-tip__bubble {
  opacity: 1;
  visibility: visible;
}
/* Near the right edge of a form, flip the bubble leftward */
.lx-form-grid > .lx-field:last-child .lx-tip__bubble,
.lx-label-row .lx-tip.lx-tip--end .lx-tip__bubble {
  left: auto;
  right: 0;
}
.lx-form-grid > .lx-field:last-child .lx-tip__bubble::after,
.lx-label-row .lx-tip.lx-tip--end .lx-tip__bubble::after {
  left: auto;
  right: 10px;
}

.lx-dash {
  display: grid;
  gap: 1.2rem;
}
.lx-dash__hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.35rem 1.4rem;
  border-radius: 20px;
  border: 1px solid #d7e3ff;
  background:
    radial-gradient(circle at 100% 0%, rgba(31, 94, 255, 0.12), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(31, 122, 79, 0.1), transparent 40%),
    linear-gradient(135deg, #f7faff 0%, #ffffff 55%, #f3fbf6 100%);
  box-shadow: 0 12px 32px rgba(19, 34, 56, 0.05);
}
.lx-dash__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lx-blue);
}
.lx-dash__greeting {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--lx-ink);
  line-height: 1.15;
}
.lx-dash__lede {
  margin: 0.4rem 0 0;
  max-width: 36rem;
  color: var(--lx-muted);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.45;
}
.lx-dash__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.95rem;
}
.lx-dash__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lx-muted);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(19, 34, 56, 0.04);
}
.lx-dash__chip strong {
  font-weight: 800;
  color: var(--lx-ink);
}
.lx-dash__chip--matters { color: #5b4fd8; }
.lx-dash__chip--matters strong { color: #5b4fd8; }
.lx-dash__chip--clients { color: var(--lx-blue); }
.lx-dash__chip--clients strong { color: var(--lx-blue); }
.lx-dash__chip--role { color: var(--lx-green); }
.lx-dash__chip--role strong { color: var(--lx-green); }
.lx-dash__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}
.lx-dash__hero-actions .lx-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.lx-dash__kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.lx-dash__kpi {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1rem 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--lx-line);
  background: #fff;
  box-shadow: 0 8px 22px rgba(19, 34, 56, 0.04);
}
.lx-dash__kpi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}
.lx-dash__kpi--overdue {
  background: linear-gradient(135deg, #fff5f2 0%, #ffffff 60%);
  border-color: #f3d2c9;
}
.lx-dash__kpi--overdue::before { background: var(--lx-orange); }
.lx-dash__kpi--overdue.is-alert {
  box-shadow: 0 10px 26px rgba(208, 79, 63, 0.12);
}
.lx-dash__kpi--ar {
  background: linear-gradient(135deg, #edf2ff 0%, #ffffff 60%);
  border-color: #d7e3ff;
}
.lx-dash__kpi--ar::before { background: var(--lx-blue); }
.lx-dash__kpi--wip {
  background: linear-gradient(135deg, #eefaf3 0%, #ffffff 60%);
  border-color: #cfe9da;
}
.lx-dash__kpi--wip::before { background: var(--lx-green); }
.lx-dash__kpi--trust {
  background: linear-gradient(135deg, #f7f4ff 0%, #ffffff 60%);
  border-color: #ddd0ff;
}
.lx-dash__kpi--trust::before { background: #6b4fd8; }
.lx-dash__kpi-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(19, 34, 56, 0.06);
}
.lx-dash__kpi--overdue .lx-dash__kpi-icon { color: var(--lx-orange); }
.lx-dash__kpi--ar .lx-dash__kpi-icon { color: var(--lx-blue); }
.lx-dash__kpi--wip .lx-dash__kpi-icon { color: var(--lx-green); }
.lx-dash__kpi--trust .lx-dash__kpi-icon { color: #6b4fd8; }
.lx-dash__kpi-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lx-muted);
  margin-bottom: 0.2rem;
}
.lx-dash__kpi-value {
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--lx-ink);
  line-height: 1.2;
}
.lx-dash__kpi-value span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--lx-faint);
}
.lx-dash__kpi-hint {
  margin-top: 0.2rem;
  font-size: 0.76rem;
  color: var(--lx-faint);
}
.lx-dash__card {
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 18px;
  border: 1px solid var(--lx-line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(19, 34, 56, 0.05);
}
.lx-dash__card--workspace {
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 38%);
  border-color: #d7e3ff;
}
.lx-dash__card--actions {
  background: linear-gradient(180deg, #f3fbf6 0%, #ffffff 38%);
  border-color: #cfe9da;
}
.lx-dash__card--agenda {
  background: linear-gradient(180deg, #edf2ff 0%, #ffffff 40%);
  border-color: #d7e3ff;
}
.lx-dash__card--attention {
  background: linear-gradient(180deg, #fff5f2 0%, #ffffff 40%);
  border-color: #f3d2c9;
}
.lx-dash__card--activity {
  background: linear-gradient(180deg, #f7f4ff 0%, #ffffff 40%);
  border-color: #ddd0ff;
}
.lx-dash__card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.95rem;
}
.lx-dash__card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--lx-ink);
}
.lx-dash__card-sub {
  margin: 0.2rem 0 0;
  font-size: 0.84rem;
  color: var(--lx-muted);
}
.lx-dash__link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--lx-blue);
  text-decoration: none;
  white-space: nowrap;
}
.lx-dash__link:hover { text-decoration: underline; }
.lx-dash__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55rem;
  height: 1.55rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: var(--lx-orange-soft);
  color: var(--lx-orange);
  font-size: 0.74rem;
  font-weight: 750;
}
.lx-dash__quickgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}
.lx-dash__quick {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  text-decoration: none;
  color: var(--lx-ink);
  border: 1px solid transparent;
  background: #fff;
  box-shadow: 0 4px 14px rgba(19, 34, 56, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  min-height: 4.5rem;
}
.lx-dash__quick:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(19, 34, 56, 0.08);
}
.lx-dash__quick--clients { background: linear-gradient(135deg, #edf2ff, #fff); border-color: #d7e3ff; }
.lx-dash__quick--matters { background: linear-gradient(135deg, #f7f4ff, #fff); border-color: #ddd0ff; }
.lx-dash__quick--invoices { background: linear-gradient(135deg, #eefaf3, #fff); border-color: #cfe9da; }
.lx-dash__quick--payments { background: linear-gradient(135deg, #fff4df, #fff); border-color: #f0dfb8; }
.lx-dash__quick--retainers { background: linear-gradient(135deg, #f3efff, #fff); border-color: #ddd0ff; }
.lx-dash__quick--reports { background: linear-gradient(135deg, #fff5f2, #fff); border-color: #f3d2c9; }
.lx-dash__quick-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(19, 34, 56, 0.05);
}
.lx-dash__quick-icon svg { width: 1.15rem; height: 1.15rem; }
.lx-dash__quick--clients .lx-dash__quick-icon { color: var(--lx-blue); }
.lx-dash__quick--matters .lx-dash__quick-icon { color: #6b4fd8; }
.lx-dash__quick--invoices .lx-dash__quick-icon { color: var(--lx-green); }
.lx-dash__quick--payments .lx-dash__quick-icon { color: var(--lx-amber); }
.lx-dash__quick--retainers .lx-dash__quick-icon { color: #7a5cff; }
.lx-dash__quick--reports .lx-dash__quick-icon { color: var(--lx-orange); }
.lx-dash__quick-body {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}
.lx-dash__quick-body strong {
  font-size: 0.95rem;
  font-weight: 750;
}
.lx-dash__quick-body span {
  font-size: 0.8rem;
  color: var(--lx-muted);
  line-height: 1.35;
}
.lx-dash__quick-chev {
  color: var(--lx-faint);
  transition: transform 0.15s ease, color 0.15s ease;
}
.lx-dash__quick:hover .lx-dash__quick-chev {
  color: var(--lx-blue);
  transform: translateX(2px);
}
.lx-dash__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}
.lx-dash__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--lx-ink);
  background: #fff;
  min-height: 7rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 14px rgba(19, 34, 56, 0.04);
}
.lx-dash__action:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(19, 34, 56, 0.08);
}
.lx-dash__action--invoice { background: linear-gradient(135deg, #eefaf3, #fff); border-color: #cfe9da; }
.lx-dash__action--matter { background: linear-gradient(135deg, #f7f4ff, #fff); border-color: #ddd0ff; }
.lx-dash__action--time { background: linear-gradient(135deg, #edf2ff, #fff); border-color: #d7e3ff; }
.lx-dash__action--pay { background: linear-gradient(135deg, #fff4df, #fff); border-color: #f0dfb8; }
.lx-dash__action--trust { background: linear-gradient(135deg, #f3efff, #fff); border-color: #ddd0ff; }
.lx-dash__action--note { background: linear-gradient(135deg, #fff5f2, #fff); border-color: #f3d2c9; }
.lx-dash__action-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.2rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(19, 34, 56, 0.05);
}
.lx-dash__action-icon svg { width: 1.05rem; height: 1.05rem; }
.lx-dash__action--invoice .lx-dash__action-icon { color: var(--lx-green); }
.lx-dash__action--matter .lx-dash__action-icon { color: #6b4fd8; }
.lx-dash__action--time .lx-dash__action-icon { color: var(--lx-blue); }
.lx-dash__action--pay .lx-dash__action-icon { color: var(--lx-amber); }
.lx-dash__action--trust .lx-dash__action-icon { color: #7a5cff; }
.lx-dash__action--note .lx-dash__action-icon { color: var(--lx-orange); }
.lx-dash__action strong {
  font-size: 0.95rem;
  font-weight: 750;
}
.lx-dash__action > span:last-child {
  font-size: 0.82rem;
  color: var(--lx-muted);
  line-height: 1.35;
}
.lx-dash__split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
.lx-dash__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.lx-dash__row {
  display: grid;
  gap: 0.75rem;
  align-items: center;
  padding: 0.8rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(19, 34, 56, 0.04);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.lx-dash__row:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(19, 34, 56, 0.07);
}
a.lx-dash__row:hover strong { color: var(--lx-blue); }
.lx-dash__row--agenda {
  grid-template-columns: minmax(5.5rem, 7.5rem) minmax(0, 1fr) auto;
}
.lx-dash__row--attention {
  grid-template-columns: auto minmax(0, 1fr);
}
.lx-dash__row--activity {
  grid-template-columns: auto minmax(0, 1fr) auto;
}
.lx-dash__time {
  font-size: 0.78rem;
  font-weight: 750;
  color: var(--lx-blue);
  line-height: 1.3;
}
.lx-dash__row-body {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}
.lx-dash__row-body strong {
  font-size: 0.92rem;
  font-weight: 720;
  color: var(--lx-ink);
}
.lx-dash__row-body span {
  font-size: 0.8rem;
  color: var(--lx-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lx-dash__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
  font-size: 0.7rem;
  font-weight: 750;
  white-space: nowrap;
}
.lx-dash__attn-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 800;
  background: #fff0e8;
  color: #b45309;
  flex-shrink: 0;
}
.lx-dash__attn-icon--info {
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
}
.lx-dash__attn-icon--warn {
  background: var(--lx-orange-soft);
  color: var(--lx-orange);
}
.lx-dash__act-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lx-green-soft);
  color: var(--lx-green);
  flex-shrink: 0;
}
.lx-dash__when {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--lx-faint);
  white-space: nowrap;
}
.lx-dash__empty {
  padding: 1.1rem 1rem;
  border-radius: 14px;
  border: 1px dashed #c9d5e0;
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
}
.lx-dash__empty-title {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--lx-ink);
}

/* Legacy home aliases kept for any residual markup */
.lx-home { display: grid; gap: 1.2rem; }
.lx-home__hero { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.lx-home__greeting { margin: 0; font-size: 1.8rem; font-weight: 800; }
.lx-home__lede { margin: 0.4rem 0 0; color: var(--lx-muted); }
.lx-quickgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.lx-quick {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  background: var(--lx-surface);
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius);
  padding: 0.9rem 1rem;
  text-decoration: none;
  color: var(--lx-ink);
}
.lx-quick:hover { text-decoration: none; border-color: var(--lx-blue); }

@media (max-width: 1100px) {
  .lx-kpis { grid-template-columns: repeat(2, 1fr); }
  .lx-dash__kpis { grid-template-columns: repeat(2, 1fr); }
  .lx-dash__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-dash__quickgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-body--app .lx-topbar__cta span,
  .lx-body--app .lx-topbar__cta { font-size: 0.8rem; padding-inline: 0.85rem; }
}
@media (max-width: 1100px) {
  .lx-body--app .lx-topbar--content {
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr) auto;
  }
}
@media (max-width: 980px) {
  .lx-topbar--content { grid-template-columns: auto 1fr auto; }
  .lx-body--app .lx-topbar__cta { display: none; }
}
@media (max-width: 900px) {
  .lx-shell { grid-template-columns: 1fr; }
  .lx-rail {
    position: relative;
    top: 0;
    height: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0.45rem 0.5rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #111d2d;
  }
  .lx-rail__item {
    min-width: 4.5rem;
    flex-direction: column;
    gap: 0.22rem;
    padding: 0.45rem 0.3rem;
    font-size: 0.65rem;
  }
  .lx-rail__item span { display: block; }
  .lx-rail__item.is-active::before { display: none; }
  .lx-rail__foot {
    margin-top: 0;
    flex-direction: row;
    flex: 0 0 auto;
  }
  .lx-rail__item--bottom { margin-top: 0; }
  .lx-topbar--content {
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
  }
  .lx-body--app .lx-topbar__search { display: none; }
  .lx-hero { grid-template-columns: 1fr; }
  .lx-quickgrid { grid-template-columns: 1fr; }
  .lx-dash__quickgrid { grid-template-columns: 1fr; }
  .lx-dash__actions { grid-template-columns: 1fr; }
  .lx-dash__split { grid-template-columns: 1fr; }
  .lx-dash__row--agenda {
    grid-template-columns: 4.5rem minmax(0, 1fr);
  }
  .lx-dash__badge { display: none; }
  .lx-home__actions { grid-template-columns: 1fr; }
  .lx-home__split { grid-template-columns: 1fr; }
  .lx-home__agenda-row {
    grid-template-columns: 4rem minmax(0, 1fr);
  }
  .lx-home__badge { display: none; }
  .lx-form-grid { grid-template-columns: 1fr; }
  .lx-main { padding: 1rem; }
}
@media (max-width: 640px) {
  .lx-kpis { grid-template-columns: 1fr; }
  .lx-dash__kpis { grid-template-columns: 1fr; }
  .lx-pagehead { flex-direction: column; }
  .lx-signout span { display: none; }
  .lx-signout { padding-inline: 0.65rem; }
}

/* Settings ? setup-style section tabs */
.lx-settings {
  max-width: 860px;
}
.lx-settings-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
  padding: 0.35rem;
  border-radius: calc(var(--lx-radius) + 2px);
  background: var(--lx-fill);
  border: 1px solid var(--lx-line);
}
.lx-settings-tabs__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: transparent;
  color: var(--lx-muted);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.lx-settings-tabs__item:hover {
  color: var(--lx-ink);
  background: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.lx-settings-tabs__item.is-active {
  background: #fff;
  color: var(--lx-navy);
  border-color: var(--lx-line);
  box-shadow: var(--lx-shadow-sm);
}
.lx-settings-tabs__num,
.lx-settings-tabs__icon {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lx-faint);
  flex: 0 0 auto;
}
.lx-settings-tabs__icon svg {
  width: 0.85rem;
  height: 0.85rem;
}
.lx-settings-tabs__item.is-active .lx-settings-tabs__num,
.lx-settings-tabs__item.is-active .lx-settings-tabs__icon {
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
}
.lx-settings-section {
  display: grid;
  gap: 1rem;
}
.lx-settings-lead {
  margin: 0;
  color: var(--lx-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 40rem;
}
.lx-kpis--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}
.lx-settings-compose {
  margin: 0;
  padding: 1.25rem 1.2rem 1.15rem;
  border-top: 1px solid var(--lx-line);
  background: linear-gradient(180deg, #fff 0%, #f3f7fa 100%);
}
.lx-settings-compose__head {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 0.15rem;
}
.lx-settings-compose__hint {
  margin: 0;
  font-size: 0.84rem;
  color: var(--lx-muted);
}
.lx-settings-compose__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-top: 0.35rem;
  padding-top: 0.95rem;
  border-top: 1px dashed var(--lx-line);
}
@media (max-width: 700px) {
  .lx-kpis--compact { grid-template-columns: 1fr; }
}

/* Firm setup wizard */
.lx-body--setup .lx-shell--setup {
  grid-template-columns: 1fr;
}
.lx-setup {
  max-width: 760px;
  margin: 0 auto;
}
.lx-setup-lead {
  color: var(--lx-muted);
  margin: 0 0 1.25rem;
}
.lx-setup-steps {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.lx-setup-steps__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--lx-fill);
  color: var(--lx-faint);
  font-size: 0.85rem;
  font-weight: 600;
}
.lx-setup-steps__item.is-active {
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
}
.lx-setup-steps__item.is-done {
  color: var(--lx-green);
}
.lx-setup-steps__num {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.7);
  font-size: 0.75rem;
}
.lx-setup-sub {
  font-size: 0.95rem;
  margin: 1.25rem 0 0.75rem;
}
.lx-setup-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.lx-setup-preview {
  margin-top: 1rem;
  border: 1px dashed var(--lx-line-strong);
  border-radius: var(--lx-radius-sm);
  background: var(--lx-fill);
  padding: 0.85rem 1rem;
}
.lx-setup-preview__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--lx-faint);
  margin-bottom: 0.35rem;
}
.lx-panel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.lx-form textarea {
  width: 100%;
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius-sm);
  padding: 0.55rem 0.7rem;
  resize: vertical;
}

/* Notes Reminder */
.lx-notes {
  display: grid;
  gap: 1.35rem;
}
@media (min-width: 960px) {
  .lx-notes {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
    align-items: start;
  }
}
.lx-notes__cal,
.lx-notes__list {
  min-height: 100%;
}
.lx-notes__calhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}
.lx-notes__month {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.lx-notes__dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--lx-faint);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lx-notes__cal {
  overflow: visible;
}
.lx-notes__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.4rem;
  overflow: visible;
}
.lx-notes__cell {
  min-height: 3.5rem;
  border: 1px solid var(--lx-line);
  border-radius: 14px;
  padding: 0.4rem;
  background: #fff;
  position: relative;
  cursor: default;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}
.lx-notes__cell--empty {
  border-color: transparent;
  background: transparent;
  pointer-events: none;
}
.lx-notes__cell.is-free {
  background: #eaf8f0;
  border-color: #c6e6d4;
}
.lx-notes__cell.has-notes {
  background: var(--lx-blue-soft);
  border-color: #c5d4ff;
  cursor: pointer;
}
.lx-notes__cell.is-past {
  opacity: 0.42;
  filter: grayscale(0.15);
}
.lx-notes__cell.is-past:hover,
.lx-notes__cell.is-past:focus-within {
  opacity: 0.88;
  filter: none;
  z-index: 6;
}
.lx-notes__cell.is-today {
  border-color: rgba(31, 94, 255, 0.65);
  box-shadow: inset 0 0 0 1px rgba(31, 94, 255, 0.28);
  opacity: 1;
  filter: none;
}
.lx-notes__cell.is-today.is-free {
  background: #eefaf3;
}
.lx-notes__cell.has-notes:hover,
.lx-notes__cell.has-notes:focus-within {
  z-index: 8;
  box-shadow: 0 10px 28px rgba(19, 34, 56, 0.12);
}
.lx-notes__daynum {
  font-size: 0.88rem;
  font-weight: 600;
}
.lx-notes__badge {
  position: absolute;
  right: 0.35rem;
  bottom: 0.35rem;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--lx-blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lx-notes__cell.is-free .lx-notes__daynum {
  color: var(--lx-green);
}
.lx-notes__cell.has-notes .lx-notes__daynum {
  color: var(--lx-blue);
}
.lx-notes__tip {
  display: none;
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.45rem);
  transform: translateX(-50%);
  width: min(280px, 70vw);
  max-height: 16rem;
  overflow: auto;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--lx-line);
  box-shadow: 0 16px 40px rgba(19, 34, 56, 0.16);
  z-index: 20;
  text-align: left;
  color: var(--lx-ink);
}
.lx-notes__tip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: #fff;
  filter: drop-shadow(0 1px 0 var(--lx-line));
}
.lx-notes__cell.has-notes:hover .lx-notes__tip,
.lx-notes__cell.has-notes:focus-within .lx-notes__tip {
  display: block;
}
.lx-notes__tip-title {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--lx-muted);
}
.lx-notes__tip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.lx-notes__tip-list > li {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid #eef1f5;
}
.lx-notes__tip-list > li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.lx-notes__tip-time {
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--lx-blue);
}
.lx-notes__tip-name {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
}
.lx-notes__tip-meta {
  font-size: 0.75rem;
  color: var(--lx-muted);
  word-break: break-word;
}
.lx-notes__tip-body {
  font-size: 0.78rem;
  color: #5d6a7b;
  white-space: pre-wrap;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Prefer tip below when near top of calendar */
.lx-notes__grid > .lx-notes__cell:nth-child(-n+14).has-notes .lx-notes__tip {
  bottom: auto;
  top: calc(100% + 0.45rem);
}
.lx-notes__grid > .lx-notes__cell:nth-child(-n+14).has-notes .lx-notes__tip::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: #fff;
}
.lx-notes__listtitle {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--lx-ink);
}
.lx-notes__listhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.lx-notes__listhead--section {
  margin-top: 1.65rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--lx-line);
}
.lx-notes__listhead-text {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.lx-notes__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.lx-notes__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.lx-notes__item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.95rem 1rem 0.95rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.lx-notes__accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--lx-blue);
}
.lx-notes__item--scheduled {
  background: linear-gradient(135deg, #f3f7ff 0%, #ffffff 55%);
  border-color: #d7e3ff;
}
.lx-notes__item--scheduled .lx-notes__accent { background: var(--lx-blue); }
.lx-notes__item--sent {
  background: linear-gradient(135deg, #eefaf3 0%, #ffffff 55%);
  border-color: #cfe9da;
}
.lx-notes__item--sent .lx-notes__accent { background: var(--lx-green); }
.lx-notes__item--failed {
  background: linear-gradient(135deg, #fff5f2 0%, #ffffff 55%);
  border-color: #f3d2c9;
}
.lx-notes__item--failed .lx-notes__accent { background: var(--lx-orange); }
.lx-notes__item--cancelled {
  background: linear-gradient(135deg, #f4f6f9 0%, #ffffff 55%);
  border-color: var(--lx-line);
}
.lx-notes__item--cancelled .lx-notes__accent { background: var(--lx-faint); }
.lx-notes__item:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(19, 34, 56, 0.08);
}
.lx-notes__item:focus-visible {
  outline: 2px solid rgba(31, 94, 255, 0.45);
  outline-offset: 2px;
}
.lx-notes__itemmain {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
  flex: 1;
}
.lx-notes__itemtop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
}
.lx-notes__itemtitle {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--lx-ink);
  line-height: 1.3;
}
.lx-notes__itemmeta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
}
.lx-notes__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--lx-muted);
  min-width: 0;
  word-break: break-word;
}
.lx-notes__meta svg {
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
}
.lx-notes__meta--when svg { color: var(--lx-blue); }
.lx-notes__meta--email svg { color: #7a5cff; }
.lx-notes__body {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #5d6a7b;
  white-space: pre-wrap;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lx-notes__status {
  display: inline-flex;
  align-items: center;
  height: 1.35rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--lx-fill);
  color: var(--lx-muted);
}
.lx-notes__status--scheduled {
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
}
.lx-notes__status--sent {
  background: var(--lx-green-soft);
  color: var(--lx-green);
}
.lx-notes__status--failed {
  background: var(--lx-orange-soft);
  color: var(--lx-orange);
}
.lx-notes__status--cancelled {
  background: var(--lx-fill);
  color: var(--lx-faint);
}
.lx-notes__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.2rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(19, 34, 56, 0.06);
  flex-shrink: 0;
}
.lx-notes__actions .lx-icon-btn {
  width: 2rem;
  height: 2rem;
  color: var(--lx-muted);
}
.lx-notes__actions .lx-icon-btn:hover {
  background: #fff;
  color: var(--lx-blue);
  border-color: transparent;
}
.lx-notes__actions .lx-icon-btn--danger:hover {
  background: var(--lx-orange-soft);
  color: var(--lx-orange);
}
.lx-notes__empty {
  padding: 1.15rem 1rem;
  border: 1px dashed #c9d5e0;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
  text-align: center;
}
.lx-notes__empty-title {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--lx-ink);
}
.lx-notes__detail {
  width: min(34rem, calc(100vw - 2rem));
}
.lx-notes__detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}
.lx-notes__detail .lx-modal__title {
  margin-bottom: 0.85rem;
  font-size: 1.25rem;
  line-height: 1.3;
}
.lx-notes__detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin: 0 0 1rem;
}
.lx-notes__detail-grid > div {
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: var(--lx-blue-soft);
}
.lx-notes__detail-grid > div:nth-child(2) {
  background: #f3efff;
}
.lx-notes__detail-grid dt {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lx-muted);
}
.lx-notes__detail-grid dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--lx-ink);
  word-break: break-word;
}
.lx-notes__detail-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lx-muted);
}
.lx-notes__detail-body-wrap {
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  background: #f7f9fc;
  border: 1px solid var(--lx-line);
  margin-bottom: 0.35rem;
}
.lx-notes__detail-body {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--lx-ink);
  white-space: pre-wrap;
  word-break: break-word;
}
.lx-notes__detail-actions {
  justify-content: flex-end;
  margin-top: 1rem;
  gap: 0.45rem;
}
.lx-notes__calhead-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.lx-notes__add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.lx-notes__add-btn svg {
  width: 1.05rem;
  height: 1.05rem;
}
.lx-notes__fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--lx-blue);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(31, 94, 255, 0.35);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.lx-notes__fab svg {
  width: 1.15rem;
  height: 1.15rem;
}
.lx-notes__fab:hover {
  background: #0058c8;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(31, 94, 255, 0.4);
}
.lx-notes__fab:active {
  transform: translateY(0);
}
.lx-notes__fab--sm {
  width: 2rem;
  height: 2rem;
  box-shadow: 0 2px 10px rgba(31, 94, 255, 0.28);
}
.lx-notes__fab--sm svg {
  width: 1rem;
  height: 1rem;
}
.lx-notes__cell-add {
  position: absolute;
  left: 0.3rem;
  bottom: 0.3rem;
  width: 1.35rem;
  height: 1.35rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(31, 94, 255, 0.12);
  color: var(--lx-blue);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  transform: scale(0.92);
  transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease;
  z-index: 2;
}
.lx-notes__cell-add svg {
  width: 0.85rem;
  height: 0.85rem;
}
.lx-notes__cell:hover .lx-notes__cell-add,
.lx-notes__cell:focus-within .lx-notes__cell-add,
.lx-notes__cell-add:focus {
  opacity: 1;
  transform: scale(1);
}
@media (hover: none) {
  .lx-notes__cell-add {
    opacity: 0.9;
    transform: scale(1);
  }
}
.lx-notes__cell-add:hover {
  background: var(--lx-blue);
  color: #fff;
}
.lx-notes__cell.has-notes .lx-notes__cell-add {
  left: 0.3rem;
  bottom: 0.3rem;
}
.lx-modal__card--form {
  width: min(32rem, calc(100vw - 2rem));
  text-align: left;
  padding: 1.35rem 1.35rem 1.2rem;
}
.lx-modal__card--form .lx-modal__title {
  text-align: left;
  margin-bottom: 0.25rem;
}
.lx-modal__lede {
  margin: 0 0 1rem;
  color: var(--lx-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}
.lx-modal__card--form .lx-field {
  margin-bottom: 0.85rem;
  min-width: 0;
}
.lx-modal__card--form .lx-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 0.25rem;
}
.lx-modal__card--form .lx-modal__actions {
  justify-content: flex-end;
  margin-top: 0.5rem;
}
.lx-modal__card--form label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--lx-ink);
}
.lx-modal__card--form input,
.lx-modal__card--form textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius-sm);
  padding: 0.55rem 0.7rem;
  font: inherit;
  background: #fff;
}
.lx-modal__card--form textarea {
  resize: vertical;
  min-height: 4.5rem;
}

/* Reports — colorful insights */
.lx-reports {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.lx-reports__banner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid transparent;
}
.lx-reports__banner--pro {
  background: linear-gradient(135deg, #edf2ff 0%, #f7faff 55%, #eefaf3 100%);
  border-color: #d7e3ff;
}
.lx-reports__banner--starter {
  background: linear-gradient(135deg, #fff4df 0%, #fffaf3 100%);
  border-color: #f0dfb8;
}
.lx-reports__banner-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 2px 8px rgba(19, 34, 56, 0.06);
  color: var(--lx-blue);
}
.lx-reports__banner--starter .lx-reports__banner-icon {
  color: var(--lx-amber);
}
.lx-reports__banner-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}
.lx-reports__banner strong {
  display: block;
  font-size: 0.95rem;
  color: var(--lx-ink);
}
.lx-reports__banner p {
  margin: 0.15rem 0 0;
  font-size: 0.86rem;
  color: var(--lx-muted);
  line-height: 1.4;
}
.lx-reports__kpis {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 0.75rem;
}
.lx-reports__kpi {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1rem 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--lx-line);
  background: #fff;
  box-shadow: 0 8px 22px rgba(19, 34, 56, 0.04);
}
.lx-reports__kpi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}
.lx-reports__kpi--ar {
  background: linear-gradient(135deg, #fff5f2 0%, #ffffff 60%);
  border-color: #f3d2c9;
}
.lx-reports__kpi--ar::before { background: var(--lx-orange); }
.lx-reports__kpi--wip {
  background: linear-gradient(135deg, #eefaf3 0%, #ffffff 60%);
  border-color: #cfe9da;
}
.lx-reports__kpi--wip::before { background: var(--lx-green); }
.lx-reports__kpi--current {
  background: linear-gradient(135deg, #eefaf3 0%, #ffffff 60%);
  border-color: #cfe9da;
}
.lx-reports__kpi--current::before { background: var(--lx-green); }
.lx-reports__kpi--d30 {
  background: linear-gradient(135deg, #edf2ff 0%, #ffffff 60%);
  border-color: #d7e3ff;
}
.lx-reports__kpi--d30::before { background: var(--lx-blue); }
.lx-reports__kpi--d60 {
  background: linear-gradient(135deg, #fff4df 0%, #ffffff 60%);
  border-color: #f0dfb8;
}
.lx-reports__kpi--d60::before { background: var(--lx-amber); }
.lx-reports__kpi--d90 {
  background: linear-gradient(135deg, #fff0e8 0%, #ffffff 60%);
  border-color: #f0c9b5;
}
.lx-reports__kpi--d90::before { background: #d97706; }
.lx-reports__kpi--d90p {
  background: linear-gradient(135deg, #fff5f2 0%, #ffffff 60%);
  border-color: #f3d2c9;
}
.lx-reports__kpi--d90p::before { background: var(--lx-orange); }
.lx-reports__kpi--undated {
  background: linear-gradient(135deg, #f4f6f9 0%, #ffffff 60%);
  border-color: var(--lx-line);
}
.lx-reports__kpi--undated::before { background: var(--lx-faint); }
.lx-reports__kpi-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.9);
  color: var(--lx-ink);
  box-shadow: 0 2px 8px rgba(19, 34, 56, 0.06);
}
.lx-reports__kpi--ar .lx-reports__kpi-icon { color: var(--lx-orange); }
.lx-reports__kpi--wip .lx-reports__kpi-icon,
.lx-reports__kpi--current .lx-reports__kpi-icon { color: var(--lx-green); }
.lx-reports__kpi--d30 .lx-reports__kpi-icon { color: var(--lx-blue); }
.lx-reports__kpi--d60 .lx-reports__kpi-icon { color: var(--lx-amber); }
.lx-reports__kpi--d90 .lx-reports__kpi-icon { color: #d97706; }
.lx-reports__kpi--d90p .lx-reports__kpi-icon { color: var(--lx-orange); }
.lx-reports__kpi-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lx-muted);
  margin-bottom: 0.2rem;
}
.lx-reports__kpi-value {
  font-size: 1.2rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--lx-ink);
  line-height: 1.2;
}
.lx-reports__kpi-value span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--lx-faint);
  letter-spacing: 0.04em;
}
.lx-reports__kpi-hint {
  margin-top: 0.2rem;
  font-size: 0.76rem;
  color: var(--lx-faint);
}
.lx-reports__card {
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 18px;
  border: 1px solid var(--lx-line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(19, 34, 56, 0.05);
}
.lx-reports__card--aging {
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 42%);
  border-color: #d7e3ff;
}
.lx-reports__card--wip {
  background: linear-gradient(180deg, #f3fbf6 0%, #ffffff 42%);
  border-color: #cfe9da;
}
.lx-reports__card--clients {
  background: linear-gradient(180deg, #f7f4ff 0%, #ffffff 42%);
  border-color: #ddd0ff;
}
.lx-reports__card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}
.lx-reports__card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--lx-ink);
}
.lx-reports__card-sub {
  margin: 0.2rem 0 0;
  font-size: 0.84rem;
  color: var(--lx-muted);
}
.lx-reports__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55rem;
  height: 1.55rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
  font-size: 0.74rem;
  font-weight: 750;
}
.lx-reports__count--green {
  background: var(--lx-green-soft);
  color: var(--lx-green);
}
.lx-reports__count--violet {
  background: #f3efff;
  color: #6b4fd8;
}
.lx-reports__stack {
  display: flex;
  height: 0.7rem;
  border-radius: 999px;
  overflow: hidden;
  background: var(--lx-fill);
  margin-bottom: 0.65rem;
}
.lx-reports__stack-seg { height: 100%; min-width: 0.25rem; }
.lx-reports__stack-seg--current { background: var(--lx-green); }
.lx-reports__stack-seg--d30 { background: var(--lx-blue); }
.lx-reports__stack-seg--d60 { background: var(--lx-amber); }
.lx-reports__stack-seg--d90 { background: #d97706; }
.lx-reports__stack-seg--d90p { background: var(--lx-orange); }
.lx-reports__stack-seg--undated { background: var(--lx-faint); }
.lx-reports__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  margin-bottom: 1rem;
}
.lx-reports__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--lx-muted);
  font-weight: 600;
}
.lx-reports__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  display: inline-block;
}
.lx-reports__dot--current { background: var(--lx-green); }
.lx-reports__dot--d30 { background: var(--lx-blue); }
.lx-reports__dot--d60 { background: var(--lx-amber); }
.lx-reports__dot--d90 { background: #d97706; }
.lx-reports__dot--d90p { background: var(--lx-orange); }
.lx-reports__dot--undated { background: var(--lx-faint); }
.lx-reports__bucket {
  display: inline-flex;
  align-items: center;
  height: 1.35rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}
.lx-reports__bucket--current { background: var(--lx-green-soft); color: var(--lx-green); }
.lx-reports__bucket--d30 { background: var(--lx-blue-soft); color: var(--lx-blue); }
.lx-reports__bucket--d60 { background: var(--lx-amber-soft); color: var(--lx-amber); }
.lx-reports__bucket--d90 { background: #fff0e8; color: #d97706; }
.lx-reports__bucket--d90p { background: var(--lx-orange-soft); color: var(--lx-orange); }
.lx-reports__bucket--undated { background: var(--lx-fill); color: var(--lx-faint); }
.lx-reports__table-wrap {
  overflow: auto;
  border-radius: 14px;
  border: 1px solid var(--lx-line);
  background: #fff;
}
.lx-reports__table {
  margin: 0;
}
.lx-reports__table thead th {
  background: #f8fafc;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lx-reports__table thead th:last-child,
.lx-reports__table tbody td:last-child {
  text-align: right;
}
.lx-reports__link {
  font-weight: 700;
  color: var(--lx-blue);
  text-decoration: none;
}
.lx-reports__link:hover { text-decoration: underline; }
.lx-reports__money {
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
}
.lx-reports__money span {
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--lx-faint);
}
.lx-reports__grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 980px) {
  .lx-reports__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}
.lx-reports__bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.lx-reports__bar-row {
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(19, 34, 56, 0.04);
}
.lx-reports__bar-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.45rem;
}
.lx-reports__bar-label {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.lx-reports__bar-label strong {
  font-size: 0.9rem;
  color: var(--lx-ink);
  line-height: 1.3;
}
.lx-reports__bar-label span {
  font-size: 0.78rem;
  color: var(--lx-muted);
}
.lx-reports__bar-amt {
  font-size: 0.92rem;
  font-weight: 750;
  color: var(--lx-ink);
  white-space: nowrap;
}
.lx-reports__bar-amt span {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--lx-faint);
}
.lx-reports__bar-track {
  height: 0.45rem;
  border-radius: 999px;
  background: var(--lx-fill);
  overflow: hidden;
}
.lx-reports__bar-fill {
  height: 100%;
  border-radius: 999px;
  min-width: 0.3rem;
}
.lx-reports__bar-fill--wip {
  background: linear-gradient(90deg, #2f9e66, #1f7a4f);
}
.lx-reports__bar-fill--client {
  background: linear-gradient(90deg, #8b74f0, #6b4fd8);
}
.lx-reports__bar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--lx-muted);
  font-weight: 600;
}
.lx-reports__empty {
  padding: 1.2rem 1rem;
  border-radius: 14px;
  border: 1px dashed #c9d5e0;
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
}
.lx-reports__empty-title {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--lx-ink);
}

/* Multi-firm account switcher (top bar) + register firm units */
.lx-firm-switch {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.lx-firm-switch--topbar {
  position: relative;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.12rem;
  max-width: min(22rem, 42vw);
  min-height: 2.75rem;
  padding: 0.4rem 0.7rem 0.4rem 0.85rem;
  border: 1px solid var(--lx-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(19, 34, 56, 0.04);
  z-index: 45;
}
.lx-firm-switch--topbar.is-switchable:hover,
.lx-firm-switch--topbar.is-open {
  border-color: rgba(31, 94, 255, 0.35);
  box-shadow: 0 2px 10px rgba(19, 34, 56, 0.08);
}
.lx-firm-switch__label {
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a96a5;
  line-height: 1.1;
}
.lx-firm-switch__name {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--lx-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 18rem;
  line-height: 1.25;
  text-align: left;
}
.lx-firm-switch__form {
  position: relative;
  min-width: 0;
  width: 100%;
}
.lx-firm-switch__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  width: 100%;
  min-width: 12rem;
  max-width: 18rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.lx-firm-switch__trigger:focus-visible {
  outline: 2px solid rgba(31, 94, 255, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}
.lx-firm-switch__chevron {
  color: #7a8796;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
.lx-firm-switch.is-open .lx-firm-switch__chevron {
  transform: rotate(180deg);
}
.lx-firm-switch__menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  left: auto;
  min-width: 100%;
  width: max-content;
  max-width: min(22rem, 80vw);
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border: 1px solid var(--lx-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(19, 34, 56, 0.14);
  z-index: 60;
}
.lx-firm-switch__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  color: var(--lx-ink);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.lx-firm-switch__option span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.lx-firm-switch__option svg {
  color: var(--lx-blue);
  flex-shrink: 0;
}
.lx-firm-switch__option:hover,
.lx-firm-switch__option:focus-visible {
  background: #f1f5fa;
  outline: none;
}
.lx-firm-switch__option.is-selected {
  background: var(--lx-blue-soft);
  color: var(--lx-blue);
  font-weight: 700;
}
.lx-firm-unit-row__controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.lx-firm-unit-row__controls input {
  flex: 1;
}
@media (max-width: 900px) {
  .lx-firm-switch--topbar {
    max-width: min(14rem, 48vw);
    padding-left: 0.6rem;
  }
  .lx-firm-switch__trigger,
  .lx-firm-switch__name {
    min-width: 8rem;
    max-width: 12rem;
    font-size: 0.82rem;
  }
}

