* {
  box-sizing: border-box;
}

:root {
  --lmgx-gap: 12px;
  --lmgx-font-family: "Plus Jakarta Sans", "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --lmgx-color-bg: #111318;
  --lmgx-color-surface: #1a1d25;
  --lmgx-color-border: #2a3040;
  --lmgx-color-text: #eceff7;
  --lmgx-color-muted: #9da7b8;
  --lmgx-color-primary: #7e82ff;
  --lmgx-color-link: #a8b0ff;
  --lmgx-color-link-hover: #c4c9ff;
  --lmgx-color-on-primary: #ffffff;
  --lmgx-radius: 12px;
  --lmgx-button-radius: 10px;
  --lmgx-card-radius: 14px;
  --lmgx-card-shadow: 0 6px 18px rgba(2, 4, 10, 0.34);
  --lmgx-hero-bg: #141720;
}

body {
  margin: 0;
  font-family: var(--lmgx-font-family, "Helvetica Neue", Arial, sans-serif);
  color: var(--lmgx-color-text, #111111);
  line-height: 1.5;
  letter-spacing: -0.01em;
  background: var(--lmgx-color-bg, #111318);
}

a {
  color: var(--lmgx-color-link, var(--lmgx-color-primary, #ff2d8c));
  text-decoration: none;
}

a:hover {
  color: var(--lmgx-color-link-hover, var(--lmgx-color-link, var(--lmgx-color-primary, #ff2d8c)));
  text-decoration: underline;
}

button {
  font: inherit;
  border: 1px solid var(--lmgx-color-border, #e2e2e2);
  background: var(--lmgx-color-button-bg, #ffffff);
  color: var(--lmgx-color-button-text, #111111);
  padding: 10px 16px;
  border-radius: var(--lmgx-button-radius, var(--lmgx-radius, 10px));
  cursor: pointer;
  transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease;
}

button:hover {
  border-color: var(--lmgx-color-button-hover-border, var(--lmgx-color-primary, #ff2d8c));
  background: var(--lmgx-color-button-hover-bg, var(--lmgx-color-button-bg, #ffffff));
  color: var(--lmgx-color-button-hover-text, var(--lmgx-color-button-text, #111111));
}

button:active {
  border-color: var(--lmgx-color-button-active-border, var(--lmgx-color-primary, #ff2d8c));
  background: var(--lmgx-color-button-active-bg, var(--lmgx-color-button-bg, #ffffff));
  color: var(--lmgx-color-button-active-text, var(--lmgx-color-button-text, #111111));
}

button:disabled,
button[aria-disabled="true"] {
  cursor: not-allowed;
  border-color: var(--lmgx-color-button-disabled-border, var(--lmgx-color-border, #e2e2e2));
  background: var(--lmgx-color-button-disabled-bg, #f3f3f3);
  color: var(--lmgx-color-button-disabled-text, #8a8a8a);
}

.lmgx-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--lmgx-radius, 12px);
  border: 1px solid var(--lmgx-input-border, var(--lmgx-color-border, #e6e0e7));
  background: var(--lmgx-input-bg, #ffffff);
  color: var(--lmgx-input-text, var(--lmgx-color-text, #111111));
  caret-color: var(--lmgx-input-caret, var(--lmgx-color-text, #111111));
  min-height: 42px;
  font: inherit;
  transition: border-color 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

.lmgx-input.lmgx-size-sm {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
}

.lmgx-input.lmgx-size-lg {
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 16px;
}

.lmgx-input::placeholder {
  color: var(--lmgx-input-placeholder, var(--lmgx-color-muted, #5d5461));
}

.lmgx-input:focus {
  outline: none;
  border-color: var(--lmgx-input-focus-border, var(--lmgx-color-primary, #ff2d8c));
  box-shadow: var(--lmgx-input-focus-ring, 0 0 0 3px rgba(255, 45, 140, 0.15));
}

.lmgx-input.lmgx-tone-info:focus {
  border-color: var(--lmgx-color-primary, #ff2d8c);
  box-shadow: 0 0 0 3px rgba(255, 45, 140, 0.15);
}

.lmgx-input.lmgx-tone-success:focus {
  border-color: var(--lmgx-color-success, #2b8a3e);
  box-shadow: 0 0 0 3px rgba(43, 138, 62, 0.18);
}

.lmgx-input.lmgx-tone-warning:focus {
  border-color: var(--lmgx-color-warning, #b87900);
  box-shadow: 0 0 0 3px rgba(184, 121, 0, 0.18);
}

.lmgx-input.lmgx-tone-danger:focus {
  border-color: var(--lmgx-color-danger, #d13438);
  box-shadow: 0 0 0 3px rgba(209, 52, 56, 0.18);
}

.lmgx-input:disabled,
.lmgx-input[aria-disabled="true"] {
  cursor: not-allowed;
  background: var(--lmgx-input-disabled-bg, #f3f3f3);
  color: var(--lmgx-input-disabled-text, #8a8a8a);
}

.lmgx-row {
  display: flex;
  align-items: center;
  gap: var(--lmgx-row-gap, var(--lmgx-gap, 16px));
  background: var(--lmgx-row-bg, transparent);
}

.lmgx-column {
  display: flex;
  flex-direction: column;
  gap: var(--lmgx-column-gap, var(--lmgx-gap, 16px));
}

.lmgx-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.lmgx-grid > * {
  order: var(--lmgx-order, 0);
}

@media (max-width: 960px) {
  .lmgx-grid.lmgx-grid--stack-mobile {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .lmgx-grid.lmgx-grid--stack-mobile > * {
    order: var(--lmgx-order-mobile, var(--lmgx-order, 0));
  }
}

.lmgx-modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: color-mix(in srgb, var(--lmgx-color-bg, #ffffff) 40%, transparent);
  backdrop-filter: blur(6px);
  z-index: 1000;
}

.lmgx-modal-inline {
  position: relative;
  inset: auto;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  z-index: auto;
}

.lmgx-modal {
  width: min(560px, 100%);
  background: var(--lmgx-color-surface, #ffffff);
  border: 1px solid var(--lmgx-color-border, #e6e0e7);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 22px;
}

.lmgx-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lmgx-modal-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--lmgx-color-text, #151515);
}

.lmgx-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.lmgx-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--lmgx-color-border, #e6e0e7);
  background: var(--lmgx-color-surface, #ffffff);
  border-radius: var(--lmgx-radius, 12px);
  overflow: hidden;
}

.lmgx-table th,
.lmgx-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--lmgx-color-border, #e6e0e7);
  text-align: left;
}

.lmgx-table th {
  color: var(--lmgx-color-muted, #5d5461);
  font-weight: 600;
  background: color-mix(in srgb, var(--lmgx-color-surface, #ffffff) 90%, var(--lmgx-color-bg, #ffffff) 10%);
}

.lmgx-table tr:last-child td {
  border-bottom: 0;
}

.lmgx-toast-stack {
  position: fixed;
  top: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10000;
  pointer-events: none;
}

.lmgx-toast-stack .lmgx-toast {
  pointer-events: auto;
}


.lmgx-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--lmgx-color-surface, #ffffff) 92%, var(--lmgx-color-bg, #ffffff) 8%);
  border: 1px solid var(--lmgx-color-border, #e6e0e7);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  color: var(--lmgx-color-text, #151515);
  max-width: 420px;
  position: relative;
  animation: lmgx-toast-in 0.18s ease-out;
}

.lmgx-toast-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lmgx-toast.lmgx-toast-success,
.lmgx-toast.lmgx-tone-success {
  border-color: color-mix(in srgb, var(--lmgx-color-success, #2b8a3e) 45%, var(--lmgx-color-border, #e6e0e7));
  background: color-mix(in srgb, var(--lmgx-color-success, #2b8a3e) 12%, var(--lmgx-color-surface, #ffffff));
}

.lmgx-toast.lmgx-toast-warning,
.lmgx-toast.lmgx-tone-warning {
  border-color: color-mix(in srgb, var(--lmgx-color-warning, #b87900) 45%, var(--lmgx-color-border, #e6e0e7));
  background: color-mix(in srgb, var(--lmgx-color-warning, #b87900) 12%, var(--lmgx-color-surface, #ffffff));
}

.lmgx-toast.lmgx-toast-danger,
.lmgx-toast.lmgx-tone-danger {
  border-color: color-mix(in srgb, var(--lmgx-color-danger, #d13438) 45%, var(--lmgx-color-border, #e6e0e7));
  background: color-mix(in srgb, var(--lmgx-color-danger, #d13438) 12%, var(--lmgx-color-surface, #ffffff));
}

.lmgx-toast.lmgx-toast-info,
.lmgx-toast.lmgx-tone-info {
  border-color: color-mix(in srgb, var(--lmgx-color-primary, #ff2d8c) 45%, var(--lmgx-color-border, #e6e0e7));
  background: color-mix(in srgb, var(--lmgx-color-primary, #ff2d8c) 10%, var(--lmgx-color-surface, #ffffff));
}

.lmgx-toast-dismissible {
  padding-right: 44px;
}

.lmgx-toast-dismiss {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 12px;
  color: var(--lmgx-color-muted, #5d5461);
  cursor: pointer;
}

@keyframes lmgx-toast-in {
  from { transform: translateY(-6px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}


.lmgx-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: color-mix(in srgb, var(--lmgx-color-primary, #ff2d8c) 12%, var(--lmgx-color-surface, #ffffff));
  color: var(--lmgx-color-text, #151515);
  border: 1px solid color-mix(in srgb, var(--lmgx-color-primary, #ff2d8c) 35%, var(--lmgx-color-border, #e6e0e7));
}

.lmgx-badge.lmgx-badge-success,
.lmgx-badge.lmgx-tone-success {
  background: color-mix(in srgb, var(--lmgx-color-success, #2b8a3e) 16%, var(--lmgx-color-surface, #ffffff));
  border-color: color-mix(in srgb, var(--lmgx-color-success, #2b8a3e) 40%, var(--lmgx-color-border, #e6e0e7));
}

.lmgx-badge.lmgx-badge-warning,
.lmgx-badge.lmgx-tone-warning {
  background: color-mix(in srgb, var(--lmgx-color-warning, #b87900) 16%, var(--lmgx-color-surface, #ffffff));
  border-color: color-mix(in srgb, var(--lmgx-color-warning, #b87900) 40%, var(--lmgx-color-border, #e6e0e7));
}

.lmgx-badge.lmgx-badge-danger,
.lmgx-badge.lmgx-tone-danger {
  background: color-mix(in srgb, var(--lmgx-color-danger, #d13438) 16%, var(--lmgx-color-surface, #ffffff));
  border-color: color-mix(in srgb, var(--lmgx-color-danger, #d13438) 40%, var(--lmgx-color-border, #e6e0e7));
}

.lmgx-badge.lmgx-badge-info,
.lmgx-badge.lmgx-tone-info {
  background: color-mix(in srgb, var(--lmgx-color-primary, #ff2d8c) 12%, var(--lmgx-color-surface, #ffffff));
  border-color: color-mix(in srgb, var(--lmgx-color-primary, #ff2d8c) 35%, var(--lmgx-color-border, #e6e0e7));
}

.lmgx-badge.lmgx-size-sm {
  padding: 2px 8px;
  font-size: 11px;
}

.lmgx-badge.lmgx-size-lg {
  padding: 6px 12px;
  font-size: 13px;
}


.lmgx-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--lmgx-color-border, #e6e0e7) 70%, transparent);
  border-top-color: var(--lmgx-color-primary, #ff2d8c);
  animation: lmgx-spin 0.8s linear infinite;
}

.lmgx-loading-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: color-mix(in srgb, var(--lmgx-color-bg, #ffffff) 60%, transparent);
  backdrop-filter: blur(4px);
}

.lmgx-loading-overlay--fullscreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.lmgx-hidden {
  display: none !important;
}


.lmgx-loading-panel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--lmgx-color-surface, #ffffff);
  border: 1px solid var(--lmgx-color-border, #e6e0e7);
  color: var(--lmgx-color-text, #151515);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.lmgx-loading-text {
  font-size: 13px;
  color: var(--lmgx-color-muted, #5d5461);
}

.lmgx-alert {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--lmgx-color-border, #e6e0e7);
  background: color-mix(in srgb, var(--lmgx-color-surface, #ffffff) 92%, var(--lmgx-color-bg, #ffffff) 8%);
  color: var(--lmgx-color-text, #151515);
  font-size: 13px;
}

.lmgx-alert-dismissible {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.lmgx-alert-text {
  flex: 1;
}

.lmgx-alert-dismiss {
  border: none;
  background: transparent;
  font-size: 12px;
  color: var(--lmgx-color-muted, #5d5461);
  cursor: pointer;
}


.lmgx-alert-info,
.lmgx-alert.lmgx-tone-info {
  border-color: color-mix(in srgb, var(--lmgx-color-primary, #ff2d8c) 35%, var(--lmgx-color-border, #e6e0e7));
  background: color-mix(in srgb, var(--lmgx-color-primary, #ff2d8c) 10%, var(--lmgx-color-surface, #ffffff));
}

.lmgx-alert-success,
.lmgx-alert.lmgx-tone-success {
  border-color: color-mix(in srgb, var(--lmgx-color-success, #2b8a3e) 35%, var(--lmgx-color-border, #e6e0e7));
  background: color-mix(in srgb, var(--lmgx-color-success, #2b8a3e) 10%, var(--lmgx-color-surface, #ffffff));
}

.lmgx-alert-warning,
.lmgx-alert.lmgx-tone-warning {
  border-color: color-mix(in srgb, var(--lmgx-color-warning, #b87900) 35%, var(--lmgx-color-border, #e6e0e7));
  background: color-mix(in srgb, var(--lmgx-color-warning, #b87900) 10%, var(--lmgx-color-surface, #ffffff));
}

.lmgx-alert-danger,
.lmgx-alert.lmgx-tone-danger {
  border-color: color-mix(in srgb, var(--lmgx-color-danger, #d13438) 35%, var(--lmgx-color-border, #e6e0e7));
  background: color-mix(in srgb, var(--lmgx-color-danger, #d13438) 10%, var(--lmgx-color-surface, #ffffff));
}

.lmgx-alert.lmgx-size-sm {
  padding: 8px 10px;
  font-size: 12px;
}

.lmgx-alert.lmgx-size-lg {
  padding: 14px 16px;
  font-size: 12px;
}


@keyframes lmgx-spin {
  to { transform: rotate(360deg); }
}

.lmgx-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 14px;
  background: var(--lmgx-color-surface, #ffffff);
  border: 1px solid var(--lmgx-color-border, #e6e0e7);
  border-radius: 16px;
  min-height: 0;
  position: sticky;
  top: var(--lmgx-sidebar-sticky-top, 24px);
  height: calc(100vh - (var(--lmgx-sidebar-sticky-top, 24px) * 2));
  overflow: auto;
}

.lmgx-sidebar--dense {
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
}

.lmgx-sidebar-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--lmgx-color-border, #e6e0e7);
  background: var(--lmgx-color-surface, #ffffff);
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.lmgx-sidebar-toggle::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--lmgx-color-text, #111111);
  box-shadow: 0 6px 0 var(--lmgx-color-text, #111111),
              0 12px 0 var(--lmgx-color-text, #111111);
}

.lmgx-grid:has(> .lmgx-sidebar) {
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
}

.lmgx-sidebar h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--lmgx-color-muted, #5f5f5f);
  text-transform: uppercase;
}

.lmgx-sidebar a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--lmgx-color-text, #111111);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.18s ease, color 0.18s ease;
}

.lmgx-sidebar--dense a {
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
}

.lmgx-sidebar a:hover {
  background: color-mix(in srgb, var(--lmgx-color-primary, #ff2d8c) 12%, transparent);
  color: var(--lmgx-color-text, #111111);
}

.lmgx-link-selected,
.lmgx-sidebar a[aria-current="page"] {
  background: color-mix(in srgb, var(--lmgx-color-primary, #ff2d8c) 18%, transparent);
  color: var(--lmgx-color-primary, #ff2d8c);
  font-weight: 600;
}

.lmgx-link-nav-soft:hover,
.lmgx-sidebar--nav-soft a:hover {
  background: color-mix(in srgb, var(--lmgx-color-primary, #ff2d8c) 12%, transparent);
}

.lmgx-link-nav-plain:hover,
.lmgx-sidebar--nav-plain a:hover {
  background: transparent;
  color: var(--lmgx-color-link-hover, var(--lmgx-color-link, var(--lmgx-color-primary, #ff2d8c)));
}

.lmgx-sidebar-group {
  border-radius: 12px;
  background: var(--lmgx-color-surface, #ffffff);
  border: 1px solid var(--lmgx-color-border, #e6e0e7);
  padding: 6px;
}

.lmgx-sidebar-group-title {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--lmgx-color-text, #111111);
}

.lmgx-sidebar-group-title::-webkit-details-marker {
  display: none;
}

.lmgx-sidebar-group-title::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--lmgx-color-muted, #5f5f5f);
  border-bottom: 2px solid var(--lmgx-color-muted, #5f5f5f);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

details[open] > .lmgx-sidebar-group-title::after {
  transform: rotate(225deg);
}

.lmgx-sidebar-group-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 6px 8px 8px;
}

.lmgx-layout-container {
  width: min(var(--lmgx-layout-width, 100%), 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.lmgx-page {
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding-bottom: 96px;
}

.lmgx-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lmgx-div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lmgx-form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--lmgx-color-text, #111111);
}

.lmgx-form-required {
  margin-left: 6px;
  color: var(--lmgx-color-danger, #e03131);
  font-weight: 700;
}

.lmgx-form-help {
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--lmgx-color-border, #e6e0e7);
  font-size: 12px;
  color: var(--lmgx-color-muted, #5f5f5f);
  background: var(--lmgx-color-surface, #ffffff);
}

.lmgx-form-helper {
  font-size: 12px;
  color: var(--lmgx-color-muted, #5f5f5f);
}

.lmgx-form-error {
  font-size: 12px;
  color: var(--lmgx-color-danger, #e03131);
}

.lmgx-auth-form {
  width: min(100%, 520px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid color-mix(in srgb, var(--lmgx-color-border, #e6e0e7) 88%, transparent);
  border-radius: 22px;
  background: var(--lmgx-color-surface, #ffffff);
  box-shadow: 0 14px 28px rgba(20, 18, 23, 0.08);
}

.lmgx-login-title {
  margin: 0;
  font-size: clamp(24px, 3.1vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--lmgx-color-text, #151515);
}

.lmgx-login-helper {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: color-mix(in srgb, var(--lmgx-color-muted, #5f5f5f) 86%, #000000 14%);
}

.lmgx-auth-form .lmgx-form-field {
  gap: 8px;
}

.lmgx-auth-form .lmgx-form-label {
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--lmgx-color-muted, #5f5f5f) 88%, #111111 12%);
}

.lmgx-auth-form .lmgx-input {
  min-height: 46px;
}

.lmgx-auth-form .lmgx-alert {
  margin-bottom: 4px;
}

.lmgx-login-remember {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--lmgx-color-muted, #5f5f5f);
}

.lmgx-login-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--lmgx-color-primary, #ff2d8c);
}

.lmgx-auth-form .lmgx-button[type="submit"] {
  width: 100%;
  min-height: 46px;
  margin-top: 2px;
  font-weight: 700;
}

.lmgx-input-error {
  border-color: var(--lmgx-color-danger, #e03131);
}

.lmgx-status {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--lmgx-color-border, #e6e0e7);
  background: var(--lmgx-color-surface, #ffffff);
}

.lmgx-status-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lmgx-status-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.lmgx-status-desc {
  margin: 0;
  color: var(--lmgx-color-muted, #5f5f5f);
}

.lmgx-status-actions {
  display: flex;
  gap: 10px;
}

.lmgx-status-loading {
  border-style: dashed;
}

.lmgx-status-empty {
  border-style: dashed;
  background: color-mix(in oklab, var(--lmgx-color-surface, #ffffff) 92%, var(--lmgx-color-border, #e6e0e7) 8%);
}

.lmgx-status-actions .lmgx-status-action-retry {
  min-width: 96px;
}

.lmgx-status-actions .lmgx-status-action-cancel {
  min-width: 72px;
}

@media (max-width: 800px) {
  .lmgx-grid:has(> .lmgx-sidebar) {
    grid-template-columns: 1fr;
  }

  .lmgx-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: min(84vw, 320px);
    height: 100vh;
    border-radius: 0;
    transform: translateX(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
    z-index: 60;
  }

  .lmgx-sidebar.lmgx-sidebar-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .lmgx-sidebar-toggle {
    display: inline-flex;
  }

  .lmgx-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.45);
    backdrop-filter: blur(2px);
    z-index: 50;
  }
}

.lmgx-layout-hero {
  background: transparent;
  background-image: var(--lmgx-hero-bg-image, var(--lmgx-hero-bg-image-light, none));
  border: 0;
}

.lmgx-nav-bar {
  justify-content: flex-start;
  padding: 16px 0;
  position: relative;
  align-items: center;
}

.lmgx-nav-content-left,
.lmgx-nav-content-right {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.lmgx-nav-content-right {
  margin-left: auto;
}

.lmgx-nav-links,
.lmgx-nav-actions {
  gap: 16px;
}

.lmgx-nav-links .lmgx-link,
.lmgx-nav-actions .lmgx-link {
  font-weight: 600;
}

.lmgx-nav-dropdown {
  position: relative;
}

.lmgx-nav-dropdown > .lmgx-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lmgx-nav-dropdown > .lmgx-link::after {
  content: "▾";
  font-size: 12px;
  line-height: 1;
  opacity: 0.75;
}

.lmgx-nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 20px);
  left: -20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 220px;
  padding: 12px;
  border-radius: 12px;
  background: var(--lmgx-color-surface, #1a1d25);
  border: 1px solid var(--lmgx-color-border, #2a3040);
  box-shadow: 0 8px 24px rgba(1, 3, 8, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  z-index: 40;
}

.lmgx-nav-dropdown-panel::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: 0;
  height: 20px;
}

.lmgx-nav-dropdown-panel.lmgx-nav-dropdown-panel--mega {
  min-width: 560px;
  padding: 0;
}

.lmgx-nav-dropdown-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
}

.lmgx-nav-dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 16px;
}

.lmgx-nav-dropdown-col.lmgx-nav-dropdown-col--accent {
  background: color-mix(in srgb, var(--lmgx-color-primary, #7e82ff) 10%, var(--lmgx-color-surface, #1a1d25));
  border-left: 1px solid color-mix(in srgb, var(--lmgx-color-primary, #7e82ff) 25%, var(--lmgx-color-border, #2a3040));
}

.lmgx-nav-dropdown-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  align-items: center;
}

.lmgx-nav-dropdown-item--compact {
  align-items: center;
}

.lmgx-nav-dropdown-icon {
  width: 28px;
  height: 28px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.9;
}

.lmgx-nav-icon-forum {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e6e8ec'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H9l-5 3v-3H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm3 6a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm5 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm5 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z'/%3E%3C/svg%3E");
}

.lmgx-nav-icon-blog {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e6e8ec'%3E%3Cpath d='M5 3h10l4 4v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm9 1.5V8h3.5L14 4.5zM7 12h10v2H7v-2zm0 4h7v2H7v-2z'/%3E%3C/svg%3E");
}

.lmgx-nav-icon-webinars {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e6e8ec'%3E%3Cpath d='M4 5h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H9l-5 3v-3H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2zm6 3.5 5 3-5 3v-6z'/%3E%3C/svg%3E");
}

.lmgx-nav-icon-events {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e6e8ec'%3E%3Cpath d='M7 2h2v2h6V2h2v2h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h3V2zm13 8H4v10h16V10zm-5 2 1 2 2 .3-1.5 1.5.3 2.2-1.8-1-1.8 1 .3-2.2L11 14.3l2-.3 1-2z'/%3E%3C/svg%3E");
}

.lmgx-nav-icon-ui {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e6e8ec'%3E%3Cpath d='M4 4h7v7H4V4zm9 0h7v7h-7V4zM4 13h7v7H4v-7zm9 0h7v7h-7v-7z'/%3E%3C/svg%3E");
}

.lmgx-nav-icon-flow {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e6e8ec'%3E%3Cpath d='M7 7a3 3 0 1 1 3 3h-1v4h6a3 3 0 1 1 0 2H7a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h3a1 1 0 1 0-1-1z'/%3E%3C/svg%3E");
}

.lmgx-nav-icon-copilot {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e6e8ec'%3E%3Cpath d='M12 4a4 4 0 0 1 4 4v1h1a3 3 0 0 1 3 3v4a3 3 0 0 1-3 3h-1v1a2 2 0 0 1-2 2H10a2 2 0 0 1-2-2v-1H7a3 3 0 0 1-3-3v-4a3 3 0 0 1 3-3h1V8a4 4 0 0 1 4-4zm-2 8a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2h-4z'/%3E%3C/svg%3E");
}

.lmgx-nav-icon-acceleration {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e6e8ec'%3E%3Cpath d='M12 2l3 5-3 5-3-5 3-5zm-7 8h6l-6 6v-6zm14 0h-6l6 6v-6zm-7 6 3 6-3-3-3 3 3-6z'/%3E%3C/svg%3E");
}

.lmgx-nav-icon-addons {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e6e8ec'%3E%3Cpath d='M11 2h2v3h3a2 2 0 0 1 2 2v3h3v2h-3v3a2 2 0 0 1-2 2h-3v3h-2v-3H8a2 2 0 0 1-2-2v-3H3v-2h3V7a2 2 0 0 1 2-2h3V2z'/%3E%3C/svg%3E");
}

.lmgx-nav-icon-roadmap {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e6e8ec'%3E%3Cpath d='M4 4h6l2 4h8v12H4V4zm2 2v12h12V10h-7l-2-4H6zM8 12h4v2H8v-2zm0 4h6v2H8v-2z'/%3E%3C/svg%3E");
}

.lmgx-nav-icon-showcase {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e6e8ec'%3E%3Cpath d='M4 5h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-6l-4 3v-3H4a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2zm6 3 5 3-5 3V8z'/%3E%3C/svg%3E");
}

.lmgx-nav-icon-guides {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e6e8ec'%3E%3Cpath d='M4 4h7a3 3 0 0 1 3 3v13H7a3 3 0 0 0-3 3V4zm16 0v19a3 3 0 0 0-3-3h-7V7a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E");
}

.lmgx-nav-icon-stories {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e6e8ec'%3E%3Cpath d='M7 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm10-2a2 2 0 1 1 0-4 2 2 0 0 1 0 4zM2 20a5 5 0 0 1 10 0H2zm11 0a4 4 0 0 1 8 0h-8z'/%3E%3C/svg%3E");
}

.lmgx-nav-icon-training {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e6e8ec'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-6l-2 2-2-2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm3 4h10v2H7V8zm0 4h6v2H7v-2z'/%3E%3C/svg%3E");
}

.lmgx-nav-dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lmgx-nav-dropdown-item .lmgx-link {
  font-weight: 600;
  color: var(--lmgx-color-text, #eceff7);
}

.lmgx-nav-dropdown-desc {
  font-size: 13px;
  color: var(--lmgx-color-muted, #9da7b8);
}

.lmgx-nav-dropdown-panel .lmgx-link {
  padding: 8px 10px;
  border-radius: 10px;
}

.lmgx-nav-dropdown-panel .lmgx-link:hover {
  background: color-mix(in srgb, var(--lmgx-color-primary, #7e82ff) 12%, transparent);
}

.lmgx-nav-dropdown:hover .lmgx-nav-dropdown-panel,
.lmgx-nav-dropdown:focus-within .lmgx-nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lmgx-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: var(--lmgx-radius, 12px);
  border: 1px solid var(--lmgx-color-border, #e6e0e7);
  background: var(--lmgx-color-surface, #ffffff);
  color: var(--lmgx-color-text, #1d1b20);
  cursor: pointer;
  margin-left: auto;
}

.lmgx-nav-toggle-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.lmgx-nav-toggle-icon::before,
.lmgx-nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.lmgx-nav-toggle-icon::before {
  top: -6px;
}

.lmgx-nav-toggle-icon::after {
  top: 6px;
}


.lmgx-nav-menu {
  position: absolute;
  top: 100%;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 18px 0;
  min-width: 240px;
  background: var(--lmgx-color-surface, #1a1d25);
  border: 1px solid var(--lmgx-color-border, #e6e0e7);
  box-shadow: 0 10px 26px rgba(2, 4, 10, 0.38);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  will-change: transform, opacity;
  z-index: 30;
}

.lmgx-nav-menu-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lmgx-nav-menu-header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding-bottom: 12px;
}

.lmgx-nav-menu-header-row .lmgx-link {
  justify-self: center;
}

.lmgx-nav-menu-footer {
  margin-top: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 12px;
  position: sticky;
  bottom: 0;
  background: var(--lmgx-color-surface, #ffffff);
  box-shadow: none;
  z-index: 1;
  padding-bottom: 12px;
}

.lmgx-nav-menu .lmgx-nav-links {
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 12px;
}

.lmgx-nav-menu .lmgx-nav-actions {
  align-items: center;
  width: auto;
  gap: 8px;
  padding-top: 0;
  border-top: 0;
  margin-top: 0;
}

.lmgx-nav-menu .lmgx-nav-links .lmgx-link {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.lmgx-nav-menu .lmgx-nav-links .lmgx-link:hover {
  color: color-mix(in oklab, var(--lmgx-color-primary, #7e82ff) 84%, #ffffff);
  background: color-mix(in srgb, var(--lmgx-color-primary, #7e82ff) 10%, transparent);
}

.lmgx-nav-menu .lmgx-nav-dropdown > .lmgx-link:hover {
  color: color-mix(in oklab, var(--lmgx-color-primary, #7e82ff) 84%, #ffffff);
}

.lmgx-nav-menu .lmgx-nav-dropdown > .lmgx-link::after {
  content: "›";
  color: var(--lmgx-color-muted, #7a7680);
  font-size: 18px;
  opacity: 0.75;
}

.lmgx-nav-menu .lmgx-nav-actions .lmgx-link {
  font-size: 16px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.lmgx-nav-menu .lmgx-nav-actions .lmgx-link:hover {
  background: color-mix(in oklab, var(--lmgx-color-primary, #ff2d8c) 8%, transparent);
  color: var(--lmgx-color-text, #1d1b20);
}

.lmgx-nav-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: var(--lmgx-radius, 12px);
  border: 1px solid var(--lmgx-color-border, #e6e0e7);
  background: var(--lmgx-color-surface, #ffffff);
  color: var(--lmgx-color-text, #1d1b20);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lmgx-nav-menu .lmgx-nav-menu-close {
  align-self: center;
  margin-bottom: 0;
}

.lmgx-nav-menu-close:hover {
  border-color: color-mix(in oklab, var(--lmgx-color-primary, #7e82ff) 28%, var(--lmgx-color-border, #e6e0e7));
  background: color-mix(in oklab, var(--lmgx-color-primary, #7e82ff) 10%, var(--lmgx-color-surface, #ffffff));
}

.lmgx-nav-menu-close-icon {
  position: relative;
  width: 16px;
  height: 16px;
}

.lmgx-nav-menu-close-icon::before,
.lmgx-nav-menu-close-icon::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.lmgx-nav-menu-close-icon::before {
  transform: rotate(45deg);
}

.lmgx-nav-menu-close-icon::after {
  transform: rotate(-45deg);
}

.lmgx-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  width: 96px;
  height: 34px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--lmgx-color-border, #e6e0e7);
  background: color-mix(in srgb, #4f9cf9 18%, var(--lmgx-color-surface, #ffffff) 82%);
  border-color: color-mix(in srgb, #4f9cf9 42%, var(--lmgx-color-border, #d8deea) 58%);
  cursor: pointer;
  overflow: hidden;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--lmgx-color-fg, #121826) 8%, transparent 92%);
}

.lmgx-theme-toggle::before,
.lmgx-theme-toggle::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.lmgx-theme-toggle::before {
  content: attr(data-theme-off-label);
  left: 12px;
  color: #1f5faa;
  opacity: 1;
}

.lmgx-theme-toggle::after {
  content: attr(data-theme-on-label);
  right: 10px;
  color: color-mix(in srgb, var(--lmgx-color-fg, #121826) 38%, transparent 62%);
  opacity: 0.72;
}

.lmgx-theme-toggle-icon {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: #4f9cf9;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.lmgx-theme-toggle-text {
  display: none;
}

.lmgx-theme-toggle.lmgx-theme-toggle-on {
  background: color-mix(in srgb, #ff2d8c 18%, var(--lmgx-color-surface, #ffffff) 82%);
  border-color: color-mix(in srgb, #ff2d8c 42%, var(--lmgx-color-border, #d8deea) 58%);
}

.lmgx-theme-toggle.lmgx-theme-toggle-on .lmgx-theme-toggle-icon {
  background: #ff2d8c;
  transform: translateX(46px);
}

.lmgx-theme-toggle.lmgx-theme-toggle-on::before {
  color: color-mix(in srgb, var(--lmgx-color-fg, #121826) 38%, transparent 62%);
  opacity: 0.72;
}

.lmgx-theme-toggle.lmgx-theme-toggle-on::after {
  color: #a9195c;
  opacity: 1;
}

.lmgx-theme-toggle:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--lmgx-color-primary, #2563eb) 24%, transparent 76%),
    0 8px 18px color-mix(in srgb, var(--lmgx-color-fg, #121826) 8%, transparent 92%);
}

@media (max-width: 960px) {
  .lmgx-nav-common-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 24px 0;
  }

  .lmgx-nav-bar > .lmgx-link {
    grid-column: 2;
    justify-self: center;
  }

  .lmgx-nav-content-left {
    grid-column: 1;
    justify-self: start;
  }

  .lmgx-nav-content-right {
    grid-column: 3;
    justify-self: end;
    margin-left: 0;
  }

  .lmgx-nav-content-left .lmgx-nav-links {
    display: none;
  }

  .lmgx-nav-content-right .lmgx-nav-actions {
    display: flex;
  }

  .lmgx-nav-content-right .lmgx-nav-actions .lmgx-theme-toggle,
  .lmgx-nav-content-right .lmgx-nav-actions a[href="/signup"] {
    display: none;
  }

  .lmgx-nav-content-right .lmgx-nav-actions a[href="/login"] {
    display: inline-flex;
  }

  .lmgx-nav-menu .lmgx-nav-actions a[href="/signup"] {
    display: none;
  }

  .lmgx-nav-menu .lmgx-nav-actions a[href="/login"] {
    display: inline-flex;
  }

  .lmgx-nav-content-left .lmgx-nav-toggle {
    display: inline-flex;
    margin-left: 0;
  }

  .lmgx-nav-menu .lmgx-nav-dropdown > .lmgx-link::after {
    content: "›";
    font-size: 18px;
    transition: transform 0.18s ease;
  }

  .lmgx-nav-menu .lmgx-nav-dropdown > .lmgx-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .lmgx-nav-menu .lmgx-nav-dropdown {
    width: 100%;
  }

  .lmgx-nav-menu .lmgx-nav-dropdown-panel {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 8px;
    background: transparent;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .lmgx-nav-menu .lmgx-nav-dropdown.lmgx-nav-dropdown-open > .lmgx-link::after {
    transform: rotate(90deg);
  }

  .lmgx-nav-menu .lmgx-nav-dropdown.lmgx-nav-dropdown-open .lmgx-nav-dropdown-panel {
    display: flex;
  }

  .lmgx-nav-menu .lmgx-nav-dropdown-panel.lmgx-nav-dropdown-panel--mega {
    min-width: 0;
    padding: 0 0 0 8px;
  }

  .lmgx-nav-menu .lmgx-nav-dropdown-grid {
    grid-template-columns: 1fr;
  }

  .lmgx-nav-menu .lmgx-nav-dropdown-col {
    padding: 0;
  }

  .lmgx-nav-menu .lmgx-nav-dropdown-col.lmgx-nav-dropdown-col--accent {
    border-left: 0;
    background: transparent;
  }

  .lmgx-nav-menu .lmgx-nav-dropdown-panel .lmgx-link {
    padding: 8px 0;
    font-size: 14px;
  }

  .lmgx-nav-menu {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    align-items: stretch;
    background: #0f1115;
    border: 0;
    box-shadow: none;
    color: #f5f6f8;
  }

  .lmgx-nav-menu .lmgx-link {
    color: #f5f6f8;
  }

  .lmgx-nav-menu .lmgx-nav-links .lmgx-link::after {
    color: #7f8996;
  }

  .lmgx-nav-menu-footer {
    background: #0f1115;
    box-shadow: 0 -14px 24px rgba(0, 0, 0, 0.45);
  }
}

@media (min-width: 961px) {
  .lmgx-nav-bar .lmgx-nav-links,
  .lmgx-nav-bar .lmgx-nav-actions {
    gap: 24px;
  }

  .lmgx-nav-bar > .lmgx-link {
    order: -1;
    margin-right: 16px;
  }
}


.lmgx-logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.lmgx-hero-block {
  padding: 56px 0 72px;
  gap: 24px;
}

.lmgx-hero-title {
  font-size: clamp(37px, 5.3vw, 66px);
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0;
}

.lmgx-hero-subtitle {
  font-size: 20px;
  color: var(--lmgx-color-muted, #5f5f5f);
  margin: 0;
}

.lmgx-home-hero {
  align-items: center;
  text-align: center;
  padding: 48px 0 56px;
  gap: 14px;
}

.lmgx-home-hero-title-wrap {
  align-items: center;
  gap: 0;
}

.lmgx-home-hero-title-top,
.lmgx-home-hero-title-bottom {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.03;
  font-weight: 800;
}


.lmgx-home-hero-title-bottom {
  color: color-mix(in srgb, var(--lmgx-color-primary, #2f7df4) 86%, #8b5cf6 14%);
}

.lmgx-home-hero-description {
  max-width: 980px;
  margin: 10px auto 0;
  color: var(--lmgx-color-muted, #9da7b8);
  font-size: clamp(18px, 2.1vw, 34px);
  line-height: 1.55;
}

.lmgx-home-hero-cta {
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.lmgx-home-hero-cta-btn {
  min-width: 172px;
}

.lmgx-home-hero-meta {
  margin: 2px 0 0;
  color: color-mix(in srgb, var(--lmgx-color-text, #eceff7) 90%, var(--lmgx-color-muted, #9da7b8));
  font-size: 14px;
  font-weight: 600;
}

.lmgx-cta-row {
  gap: 16px;
}

.lmgx-section {
  padding: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lmgx-section-title {
  font-size: 28px;
  margin: 0;
}

.lmgx-section-subtitle {
  margin: 0;
  color: var(--lmgx-color-muted, #5f5f5f);
}

.lmgx-grid-feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.lmgx-card {
  padding: 20px;
  border-radius: var(--lmgx-card-radius, 14px);
  border: 1px solid var(--lmgx-card-border, var(--lmgx-color-border, #e6e0e7));
  background: var(--lmgx-color-surface, #ffffff);
  box-shadow: var(--lmgx-card-shadow, 0 6px 18px rgba(2, 4, 10, 0.34));
}

.lmgx-card--plain {
  box-shadow: none;
}

.lmgx-card--soft {
  box-shadow: none;
  background: color-mix(in srgb, var(--lmgx-color-surface, #ffffff) 92%, var(--lmgx-color-primary, #ff2d8c) 8%);
}

.lmgx-card--featured {
  border-color: color-mix(in srgb, var(--lmgx-color-primary, #ff2d8c) 30%, var(--lmgx-color-border, #e6e0e7));
  background: color-mix(in srgb, var(--lmgx-color-primary, #ff2d8c) 8%, var(--lmgx-color-surface, #ffffff));
  box-shadow: none;
}

.lmgx-newsletter {
  margin: 16px auto 22px;
  width: min(100%, 760px);
  padding: clamp(18px, 2.8vw, 30px);
  border-radius: 14px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.lmgx-newsletter-inner {
  align-items: center;
  text-align: center;
  gap: 10px;
}

.lmgx-newsletter-eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lmgx-color-primary, #7e82ff);
  font-weight: 700;
}

.lmgx-newsletter-title {
  margin: 0;
  font-size: clamp(24px, 3.3vw, 34px);
  line-height: 1.22;
  letter-spacing: -0.01em;
}

.lmgx-newsletter-description {
  margin: 0 auto;
  max-width: 620px;
  color: var(--lmgx-color-muted, #9da7b8);
  font-size: clamp(14px, 1.55vw, 17px);
  line-height: 1.55;
}

.lmgx-newsletter-form {
  width: min(100%, 560px);
  margin: 8px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
}

.lmgx-newsletter-form .lmgx-newsletter-input {
  min-height: 44px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
}

.lmgx-newsletter-form .lmgx-newsletter-submit {
  min-height: 44px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  min-width: 152px;
  padding-left: 18px;
  padding-right: 18px;
}

.lmgx-newsletter-meta {
  margin: 8px 0 0;
  color: color-mix(in srgb, var(--lmgx-color-text, #eceff7) 82%, var(--lmgx-color-muted, #9da7b8));
  font-size: 13px;
  font-weight: 500;
}

.lmgx-empty {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: 14px;
  border: 1px dashed color-mix(in srgb, var(--lmgx-color-border, #e6e0e7) 70%, transparent);
  background: color-mix(in srgb, var(--lmgx-color-surface, #ffffff) 94%, var(--lmgx-color-bg, #ffffff) 6%);
}

.lmgx-empty-title {
  margin: 0;
  font-size: 18px;
}

.lmgx-empty-desc {
  margin: 0;
  color: var(--lmgx-color-muted, #5d5461);
}

.lmgx-empty-actions {
  display: flex;
  gap: 8px;
}


.lmgx-button {
  border-radius: var(--lmgx-button-radius, 10px);
  padding: 10px 16px;
  border: 1px solid var(--lmgx-color-border, #e6e0e7);
  font-weight: 600;
  transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease, transform 0.14s ease;
}

.lmgx-button:hover {
  transform: translateY(-1px);
}

.lmgx-button:active {
  transform: translateY(0);
}

.lmgx-button.primary,
.lmgx-button.lmgx-button--primary {
  border-color: var(--lmgx-color-primary, #7e82ff);
  background: var(--lmgx-color-primary, #7e82ff);
  color: var(--lmgx-color-on-primary, #ffffff);
}

.lmgx-button.lmgx-button--ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--lmgx-color-border, #e6e0e7) 80%, transparent);
}

.lmgx-button.lmgx-button--outline {
  background: transparent;
  border-color: var(--lmgx-color-primary, #7e82ff);
  color: var(--lmgx-color-primary, #7e82ff);
}

.lmgx-button.lmgx-size-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.lmgx-button.lmgx-size-lg {
  padding: 14px 24px;
  font-size: 16px;
}

.lmgx-button.lmgx-tone-info {
  border-color: var(--lmgx-color-primary, #7e82ff);
  background: var(--lmgx-color-primary, #7e82ff);
  color: var(--lmgx-color-on-primary, #ffffff);
}

.lmgx-button.lmgx-tone-success {
  border-color: var(--lmgx-color-success, #2b8a3e);
  background: var(--lmgx-color-success, #2b8a3e);
  color: var(--lmgx-color-on-primary, #ffffff);
}

.lmgx-button.lmgx-tone-warning {
  border-color: var(--lmgx-color-warning, #b87900);
  background: var(--lmgx-color-warning, #b87900);
  color: var(--lmgx-color-on-primary, #ffffff);
}

.lmgx-button.lmgx-tone-danger {
  border-color: var(--lmgx-color-danger, #d13438);
  background: var(--lmgx-color-danger, #d13438);
  color: var(--lmgx-color-on-primary, #ffffff);
}

.lmgx-link {
  color: var(--lmgx-color-link, var(--lmgx-color-primary, #7e82ff));
}

.lmgx-reveal {
  opacity: 0;
  transform: translateY(14px);
}

.lmgx-reveal-in {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.52s cubic-bezier(0.2, 0.65, 0.2, 1),
    transform 0.52s cubic-bezier(0.2, 0.65, 0.2, 1);
  transition-delay: var(--lmgx-reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .lmgx-reveal,
  .lmgx-reveal-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.lmgx-footer {
  margin-top: 0;
  padding: 94px 0 40px;
  border-top: 1px solid var(--lmgx-color-border, #e6e0e7);
  background: color-mix(in srgb, var(--lmgx-color-surface, #1a1d25) 94%, var(--lmgx-color-bg, #111318) 6%);
}

.lmgx-footer-row {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.lmgx-footer-links {
  display: inline-flex;
  gap: 16px;
}

.lmgx-site-footer-shell {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 18px 0 0;
}

.lmgx-site-footer-top {
  gap: 32px;
}

.lmgx-site-footer-brand {
  flex: 1 1 360px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lmgx-site-footer-brand-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.lmgx-site-footer-brand-copy {
  margin: 0;
  color: var(--lmgx-color-muted, #9da7b8);
  font-size: 15px;
  line-height: 1.8;
}

.lmgx-site-footer-nav {
  flex: 1 1 560px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.lmgx-site-footer-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lmgx-site-footer-group-title {
  color: color-mix(in srgb, var(--lmgx-color-text, #eceff7) 78%, #8ea3c9 22%);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lmgx-site-footer-link {
  color: var(--lmgx-color-text, #eceff7);
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
  opacity: 0.9;
}

.lmgx-site-footer-link:hover {
  opacity: 1;
}

.lmgx-site-footer-bottom {
  padding-top: 18px;
  border-top: 1px solid color-mix(in srgb, var(--lmgx-color-border, #2a3040) 82%, transparent);
  gap: 18px;
}

.lmgx-site-footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lmgx-site-footer-meta-copy,
.lmgx-site-footer-meta-note {
  color: var(--lmgx-color-muted, #9da7b8);
  line-height: 1.6;
}

.lmgx-site-footer-legal {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 800px) {
  .lmgx-newsletter-form {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lmgx-newsletter-form .lmgx-newsletter-input,
  .lmgx-newsletter-form .lmgx-newsletter-submit {
    border-radius: var(--lmgx-button-radius, 10px);
    border-right: 1px solid var(--lmgx-input-border, var(--lmgx-color-border, #e6e0e7));
  }

  .lmgx-newsletter-form .lmgx-newsletter-submit {
    width: 100%;
  }

  .lmgx-newsletter-title {
    font-size: clamp(22px, 5.4vw, 28px);
  }

  .lmgx-newsletter-description {
    font-size: clamp(13px, 3.6vw, 15px);
  }

  .lmgx-newsletter-meta {
    font-size: 12px;
  }

  .lmgx-footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .lmgx-site-footer-nav {
    flex: none;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .lmgx-site-footer-brand {
    flex: none;
    max-width: none;
  }

  .lmgx-site-footer-top {
    gap: 20px;
  }

  .lmgx-site-footer-bottom {
    gap: 14px;
  }
}

.lmgx-app-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--lmgx-app-sidebar-width, 260px)) minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "header header"
    "sidebar content"
    "footer footer";
  min-height: 100vh;
  background: var(--lmgx-color-bg, #111318);
}

.lmgx-app-header {
  grid-area: header;
}

.lmgx-app-sidebar {
  grid-area: sidebar;
}

.lmgx-app-content {
  grid-area: content;
  padding: 0;
}

.lmgx-app-footer {
  grid-area: footer;
}

@media (max-width: 960px) {
  .lmgx-app-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "content"
      "footer";
  }

  .lmgx-app-sidebar {
    display: none;
  }
}

.lmgx-app-layout--no-sidebar {
  grid-template-columns: 1fr;
  grid-template-areas:
    "header"
    "content"
    "footer";
}

.lmgx-app-layout--no-sidebar .lmgx-app-sidebar {
  display: none;
}

.lmgx-app-layout--content-sidebar {
  grid-template-columns: minmax(0, 1fr) minmax(220px, var(--lmgx-app-sidebar-width, 320px));
  grid-template-areas:
    "header header"
    "content sidebar"
    "footer footer";
}

.lmgx-app-layout--sidebar-content {
  grid-template-columns: minmax(220px, var(--lmgx-app-sidebar-width, 260px)) minmax(0, 1fr);
  grid-template-areas:
    "header header"
    "sidebar content"
    "footer footer";
}

.lmgx-content-boxed {
  max-width: var(--lmgx-layout-width, 100%);
  margin: 0 auto;
  width: 100%;
}

.lmgx-layout-container--full {
  width: 100%;
  max-width: 100%;
}

.lmgx-directory {
  --lmgx-color-bg: #0f1115;
  --lmgx-color-surface: #151821;
  --lmgx-color-border: #263041;
  --lmgx-color-primary: #2d7bff;
  --lmgx-color-on-primary: #ffffff;
  --lmgx-color-text: #f5f6f8;
  --lmgx-color-muted: #9aa3b2;
  --lmgx-color-link: #6cb0ff;
  --lmgx-input-bg: #151821;
  --lmgx-input-border: #2c3445;
  --lmgx-input-placeholder: #7b8698;
  --lmgx-card-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  background: var(--lmgx-color-bg);
  color: var(--lmgx-color-text);
  padding-bottom: 96px;
}

.lmgx-directory .lmgx-layout-hero {
  --lmgx-hero-bg: #0b0e13;
  border-bottom: 1px solid #1d2432;
}

.lmgx-directory-hero-body {
  padding: 40px 0 48px;
  gap: 20px;
}

.lmgx-directory-hero-body .lmgx-hero-title {
  color: var(--lmgx-color-text);
}

.lmgx-directory-hero-body .lmgx-hero-subtitle {
  color: var(--lmgx-color-muted);
}

.lmgx-directory-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(160px, 0.6fr)) auto auto;
  gap: 12px;
  align-items: center;
}

.lmgx-directory-search-row .lmgx-button {
  white-space: nowrap;
}

.lmgx-directory-reset {
  justify-self: start;
  font-size: 13px;
  color: var(--lmgx-color-muted);
}

.lmgx-directory-reset:hover {
  color: var(--lmgx-color-text);
}

.lmgx-directory-upload-link {
  justify-self: start;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--lmgx-color-primary, #2d7bff);
  color: var(--lmgx-color-on-primary, #ffffff);
  text-decoration: none;
  font-weight: 600;
}

.lmgx-directory-upload-link:hover {
  text-decoration: none;
  background: #1f6bfa;
}

.lmgx-directory-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lmgx-directory-categories--compact {
  gap: 10px;
  align-items: center;
}

.lmgx-directory-category {
  border-radius: 999px;
  padding: 6px 12px;
  border: 1px solid color-mix(in srgb, var(--lmgx-color-border, #263041) 80%, transparent);
  background: color-mix(in srgb, var(--lmgx-color-surface, #151821) 70%, transparent);
  color: var(--lmgx-color-text);
  font-size: 13px;
}

.lmgx-directory-category--compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 0;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid #d9e1ee;
  background: #ffffff;
  color: #556277;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.lmgx-directory-category--compact:hover {
  border-color: #b8c8ea;
  background: #f8fbff;
  color: #1f4fbf;
  text-decoration: none;
}

.lmgx-directory-category--active {
  border-color: rgba(45, 123, 255, 0.6);
  background: rgba(45, 123, 255, 0.15);
  color: #cfe2ff;
}

.lmgx-directory-category--compact.lmgx-directory-category--active {
  border-color: #a7c5ff;
  background: #eef4ff;
  color: #2558cf;
  box-shadow: none;
}

.lmgx-directory-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #d9e1ee;
  background: #ffffff;
  color: #445168;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.lmgx-directory-filter-chip:hover {
  border-color: #b8c8ea;
  background: #f8fbff;
  color: #1f4fbf;
  text-decoration: none;
}

.lmgx-directory-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.lmgx-directory-results {
  color: var(--lmgx-color-muted);
  font-size: 13px;
}

.lmgx-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.lmgx-directory-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 16px;
  border: 1px solid var(--lmgx-color-border, #263041);
  background: var(--lmgx-color-surface, #151821);
  box-shadow: var(--lmgx-card-shadow, 0 18px 45px rgba(0, 0, 0, 0.35));
}

.lmgx-directory-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lmgx-directory-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lmgx-directory-category-text {
  font-size: 13px;
  color: var(--lmgx-color-muted);
}

.lmgx-directory-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background-color: #1f2532;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px;
  flex-shrink: 0;
}

.lmgx-directory-card h3 {
  margin: 0;
  font-size: 18px;
  color: var(--lmgx-color-text);
}

.lmgx-directory-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--lmgx-color-text);
  text-decoration: none;
}

.lmgx-directory-card-title:hover {
  color: #cfe2ff;
  text-decoration: none;
}

.lmgx-directory-card p {
  margin: 0;
  color: var(--lmgx-color-muted);
  font-size: 14px;
  line-height: 1.5;
}

.lmgx-directory-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--lmgx-color-muted);
}

.lmgx-directory-tag {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--lmgx-color-border, #263041) 70%, transparent);
  background: rgba(108, 176, 255, 0.12);
  color: #b7d6ff;
  font-size: 12px;
  font-weight: 600;
}

.lmgx-directory-detail {
  padding-top: 32px;
}

.lmgx-directory-detail-hero {
  border-bottom: 1px solid #1d2432;
  background: #0b0e13;
  padding: 32px 0 40px;
}

.lmgx-directory-detail-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lmgx-directory-back-link {
  font-size: 13px;
  color: var(--lmgx-color-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lmgx-directory-back-link::before {
  content: "<";
}

.lmgx-directory-back-link:hover {
  color: var(--lmgx-color-text);
}

.lmgx-directory-detail-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--lmgx-color-text);
}

.lmgx-directory-detail-subtitle {
  margin: 0;
  color: var(--lmgx-color-muted);
  font-size: 16px;
  line-height: 1.6;
}

.lmgx-directory-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--lmgx-color-muted);
  font-size: 13px;
}

.lmgx-directory-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lmgx-directory-detail-actions .lmgx-link {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #263041;
  background: transparent;
  color: var(--lmgx-color-text);
  text-decoration: none;
}

.lmgx-directory-detail-actions .lmgx-link:hover {
  border-color: rgba(108, 176, 255, 0.6);
  color: #cfe2ff;
}

.lmgx-directory-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.lmgx-directory-detail-main,
.lmgx-directory-detail-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lmgx-directory-detail-card {
  background: #151821;
  border: 1px solid #263041;
  box-shadow: var(--lmgx-card-shadow, 0 18px 45px rgba(0, 0, 0, 0.35));
}

.lmgx-directory-detail-section-title {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--lmgx-color-text);
}

.lmgx-directory-detail-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--lmgx-color-muted);
  font-size: 14px;
}

.lmgx-directory-detail-list-item {
  margin: 0;
}

.lmgx-directory-detail-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.lmgx-directory-detail-stat {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #263041;
  background: rgba(21, 24, 33, 0.8);
  color: var(--lmgx-color-muted);
  font-size: 13px;
}

.lmgx-directory-detail-stat strong {
  display: block;
  color: var(--lmgx-color-text);
  font-size: 12px;
  margin-bottom: 4px;
}

.lmgx-directory-upload {
  padding-top: 32px;
}

.lmgx-directory-upload-hero {
  border-bottom: 1px solid #1d2432;
  background: #0b0e13;
  padding: 32px 0 40px;
}

.lmgx-directory-upload-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lmgx-directory-upload-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--lmgx-color-text);
}

.lmgx-directory-upload-subtitle {
  margin: 0;
  color: var(--lmgx-color-muted);
  font-size: 16px;
  line-height: 1.6;
}

.lmgx-directory-upload-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.lmgx-directory-upload-main,
.lmgx-directory-upload-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lmgx-directory-upload-card {
  background: #151821;
  border: 1px solid #263041;
  box-shadow: var(--lmgx-card-shadow, 0 18px 45px rgba(0, 0, 0, 0.35));
}

.lmgx-directory-upload-section-title {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--lmgx-color-text);
}

.lmgx-directory-upload-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lmgx-directory-upload-form .lmgx-form-field {
  gap: 8px;
}

.lmgx-directory-upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lmgx-directory-upload-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lmgx-directory-upload-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #263041;
  background: rgba(21, 24, 33, 0.85);
}

.lmgx-directory-upload-step-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #cfe2ff;
  background: rgba(45, 123, 255, 0.2);
  border: 1px solid rgba(45, 123, 255, 0.5);
}

.lmgx-directory-upload-step-title {
  margin: 0;
  color: var(--lmgx-color-text);
  font-weight: 600;
  font-size: 14px;
}

.lmgx-directory-upload-step-desc {
  margin: 4px 0 0;
  color: var(--lmgx-color-muted);
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 960px) {
  .lmgx-directory-search-row {
    grid-template-columns: 1fr;
  }

  .lmgx-directory-filters {
    flex-direction: column;
    align-items: flex-start;
  }

  .lmgx-directory-detail-grid {
    grid-template-columns: 1fr;
  }

  .lmgx-directory-upload-grid {
    grid-template-columns: 1fr;
  }
}

.lmgx-app-header--boxed .lmgx-nav-bar {
  max-width: var(--lmgx-layout-width, 100%);
  margin: 0 auto;
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

/* Auth form shared primitives (v2) */
.lmgx-auth-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lmgx-auth-title {
  margin: 0;
  font-size: clamp(24px, 3.1vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--lmgx-color-text, #151515);
}

.lmgx-auth-helper {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: color-mix(in srgb, var(--lmgx-color-muted, #5f5f5f) 86%, #000000 14%);
}

.lmgx-auth-checkline {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--lmgx-color-muted, #5f5f5f);
}

.lmgx-auth-checkline input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--lmgx-color-primary, #ff2d8c);
}

.lmgx-auth-actions {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.lmgx-auth-actions .lmgx-link {
  font-size: 13px;
}

.lmgx-top-banner {
  width: 100vw;
  max-width: 100vw;
  background: var(--lmgx-top-banner-bg, #f97316);
  color: var(--lmgx-top-banner-text, #0b1220);
  border-bottom: 1px solid var(--lmgx-top-banner-border, rgba(15, 23, 42, 0.15));
  min-height: var(--lmgx-top-banner-height, auto);
  position: relative;
  left: 50%;
  margin-left: -50vw;
  padding: var(--lmgx-top-banner-padding, 14px 24px);
  box-sizing: border-box;
}

.lmgx-top-banner__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 0;
}

.lmgx-top-banner__item {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: inherit;
}

.lmgx-top-banner__item--left {
  justify-self: start;
}

.lmgx-top-banner__item--center {
  justify-self: center;
}

.lmgx-top-banner__item--right {
  justify-self: end;
}

.lmgx-top-banner__link-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-indent: -9999px;
  overflow: hidden;
}

.lmgx-home-carousel {
  width: 100%;
  padding: 56px 0 64px;
  background: linear-gradient(180deg,
      var(--lmgx-color-bg, #f6f4f8) 0%,
      color-mix(in oklab, var(--lmgx-color-bg, #f6f4f8) 75%, var(--lmgx-color-surface, #ffffff) 25%) 100%);
  border-radius: 28px;
  overflow: hidden;
  overflow-x: clip;
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  contain: layout paint;
}

.lmgx-home-carousel__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lmgx-home-carousel__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lmgx-home-carousel__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--lmgx-color-text, #111827);
}

.lmgx-home-carousel__subtitle {
  font-size: 16px;
  color: var(--lmgx-color-muted, rgba(15, 23, 42, 0.65));
  max-width: 520px;
  margin: 0;
}

.lmgx-home-carousel__marquee {
  overflow: hidden;
  background: var(--lmgx-color-surface, #ffffff);
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  min-width: 0;
  border: 1px solid var(--lmgx-color-border, rgba(148, 163, 184, 0.25));
  position: relative;
  left: 50%;
  margin-left: -50vw;
}

.lmgx-home-carousel__marquee-track {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 0;
  width: max-content;
  min-width: 100%;
  animation: lmgx-carousel-marquee 24s linear infinite;
  will-change: transform;
}

.lmgx-home-carousel__marquee-strip {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  gap: 32px;
  padding: 20px 28px;
  flex-shrink: 0;
  min-width: 100vw;
}

.lmgx-home-carousel__image {
  height: 420px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

@keyframes lmgx-carousel-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 720px) {
  .lmgx-top-banner__row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  .lmgx-top-banner__item--left,
  .lmgx-top-banner__item--center,
  .lmgx-top-banner__item--right {
    justify-self: center;
  }
}

.lmgx-components-hero-description {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--lmgx-color-muted, #5f5f5f);
}

.lmgx-components-hero-actions {
  margin-top: 4px;
}

.lmgx-components-hero-preview {
  justify-self: center;
}

.lmgx-popular-components {
  width: min(100%, 1220px);
  margin: 0 auto;
}

.lmgx-popular-components__header {
  text-align: center;
  align-items: center;
  gap: 10px;
}

.lmgx-popular-components__eyebrow {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lmgx-color-primary, #ff2d8c);
  font-size: 14px;
}

.lmgx-popular-components__title {
  margin: 0;
  font-size: 54px;
}

.lmgx-popular-components__description {
  margin: 0;
  color: var(--lmgx-color-muted, #5f5f5f);
  font-size: 24px;
}

.lmgx-popular-components__actions {
  margin-top: 6px;
}

.lmgx-popular-components__card-title {
  margin: 0;
  font-size: 27px;
  line-height: 1.08;
}

.lmgx-popular-components__card-summary {
  margin: 0;
  color: var(--lmgx-color-muted, #5f5f5f);
  font-size: 14px;
  line-height: 1.55;
}

.lmgx-popular-components__card-body {
  margin: 0;
  padding: 18px 18px 20px;
}

.lmgx-popular-components__promo-eyebrow {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 27px;
  color: var(--lmgx-color-bg, #ffffff);
}

.lmgx-popular-components__promo-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  color: var(--lmgx-color-bg, #ffffff);
}

.lmgx-showcase-grid {
  width: min(100%, 1220px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lmgx-showcase-grid__header {
  align-items: center;
  text-align: center;
}

.lmgx-showcase-grid__eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--lmgx-color-primary, #2563eb);
}

.lmgx-showcase-grid__title {
  margin: 0;
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.lmgx-showcase-grid__description {
  margin: 0;
  max-width: 860px;
  color: var(--lmgx-color-muted, #5f5f5f);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.lmgx-showcase-card {
  position: relative;
  border-radius: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lmgx-showcase-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--lmgx-color-primary, #2563eb) 28%, var(--lmgx-color-border, #e6e0e7));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.lmgx-showcase-card__layout {
  min-height: 248px;
}

.lmgx-showcase-card__copy {
  padding: 26px 28px;
  justify-content: center;
}

.lmgx-showcase-card__media {
  min-height: 248px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--lmgx-color-surface, #ffffff) 78%, var(--lmgx-color-primary, #2563eb) 22%) 0%,
    color-mix(in srgb, var(--lmgx-color-bg, #f7f8fb) 92%, var(--lmgx-color-primary, #2563eb) 8%) 100%
  );
}

.lmgx-showcase-card__image {
  max-width: 100%;
}

.lmgx-showcase-card__title {
  margin: 0;
  font-size: 18px;
  color: var(--lmgx-color-muted, #6b7280);
  font-weight: 700;
  line-height: 1.3;
}

.lmgx-showcase-card__badge {
  width: fit-content;
  margin-bottom: 6px;
}

.lmgx-showcase-card__headline {
  margin: 0;
  font-weight: 800;
  font-size: clamp(17px, 1.6vw, 24px);
  line-height: 1.08;
  color: var(--lmgx-color-text, #111111);
}

.lmgx-showcase-card__description {
  margin: 0;
  color: var(--lmgx-color-muted, #5f5f5f);
  line-height: 1.65;
  font-size: 18px;
  max-width: 44ch;
}

.lmgx-showcase-card__link {
  margin-top: 10px;
  font-weight: 700;
  color: var(--lmgx-color-primary, #2563eb);
}

.lmgx-showcase-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-indent: -9999px;
  overflow: hidden;
}

.lmgx-showcase-card__overlay:focus-visible {
  outline: 2px solid var(--lmgx-color-primary, #2563eb);
  outline-offset: 3px;
}

.lmgx-showcase-card--compact .lmgx-showcase-card__layout {
  min-height: auto;
}

.lmgx-showcase-card--compact .lmgx-showcase-card__copy {
  padding: 20px 22px 22px;
  justify-content: flex-start;
}

.lmgx-showcase-card--compact .lmgx-showcase-card__media {
  min-height: 184px;
  padding: 18px 18px 0;
}

.lmgx-showcase-card--compact .lmgx-showcase-card__title {
  font-size: 15px;
}

.lmgx-showcase-card--compact .lmgx-showcase-card__headline {
  font-size: 17px;
  line-height: 1.2;
}

.lmgx-showcase-card--compact .lmgx-showcase-card__description {
  display: none;
}

.lmgx-showcase-card--compact .lmgx-showcase-card__link {
  display: none;
}

@media (max-width: 800px) {
  .lmgx-showcase-card__layout {
    min-height: auto;
  }

  .lmgx-showcase-card__copy {
    padding: 22px;
  }

  .lmgx-showcase-card__media {
    min-height: 200px;
  }

  .lmgx-showcase-card__headline {
    font-size: 18px;
  }

  .lmgx-showcase-card__description {
    font-size: 16px;
  }
}

.lmgx-why-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lmgx-why-section__title {
  margin: 0;
  font-size: 42px;
  text-align: center;
}

.lmgx-why-section__description {
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
  color: var(--lmgx-color-muted, #5f5f5f);
}

.lmgx-why-section__item-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.lmgx-why-section__item-summary {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--lmgx-color-muted, #5f5f5f);
}

/* Auth page/card defaults for reusable app sign-in/up screens */
.lmgx-auth-page .lmgx-layout-hero {
  border-bottom: 0;
  min-height: calc(100vh - 86px);
}

.lmgx-auth-page--brand {
  --lmgx-hero-bg: #f6f8fc;
  --lmgx-color-primary: #0f6dff;
  --lmgx-color-link: #124ec8;
  --lmgx-color-button-hover-border: #124ec8;
  --lmgx-button-radius: 12px;
  --lmgx-card-radius: 24px;
  --lmgx-card-shadow: 0 28px 54px rgba(15, 22, 42, 0.12);
  --lmgx-input-focus-border: #0f6dff;
  --lmgx-input-focus-ring: 0 0 0 3px rgba(15, 109, 255, 0.18);
}

.lmgx-auth-page .lmgx-section {
  padding-bottom: 44px;
}

.lmgx-auth-card {
  width: min(100%, 620px);
  margin: 12px auto 0;
  padding: clamp(18px, 2.8vw, 28px);
  border: 1px solid color-mix(in srgb, var(--lmgx-color-border, #e6e0e7) 75%, #111827 25%);
  border-radius: var(--lmgx-card-radius, 24px);
  background: var(--lmgx-color-surface, #ffffff);
}

.lmgx-auth-card .lmgx-auth-form {
  box-shadow: none;
  border-radius: 18px;
}

.lmgx-auth-card .lmgx-auth-title {
  font-size: clamp(26px, 3.3vw, 34px);
}

.lmgx-auth-actions .lmgx-auth-action-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.lmgx-auth-actions .lmgx-auth-action-secondary {
  display: inline-flex;
  justify-content: center;
  color: var(--lmgx-color-muted, #5e6678);
}

@media (max-width: 720px) {
  .lmgx-auth-page .lmgx-layout-container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .lmgx-auth-card {
    padding: 14px;
    border-radius: 18px;
  }
}

.lmgx-input:-webkit-autofill,
.lmgx-input:-webkit-autofill:hover,
.lmgx-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--lmgx-input-text, var(--lmgx-color-text, #111111));
  -webkit-box-shadow: 0 0 0 1000px var(--lmgx-input-bg, #ffffff) inset;
}

.lmgx-component-showcase {
  margin: 18px auto 34px;
  width: min(100%, 1140px);
  padding: clamp(20px, 2.8vw, 34px) 20px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.lmgx-component-category-grid {
  width: min(100%, 1220px);
  margin: 0 auto;
  padding: 0 20px;
}

.lmgx-component-category-grid-header {
  text-align: center;
  align-items: center;
  gap: 10px;
}

.lmgx-component-category-grid-eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lmgx-color-primary, #ff2d8c);
}

.lmgx-component-category-grid-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
}

.lmgx-component-category-grid-description {
  margin: 0;
  max-width: 860px;
  color: var(--lmgx-color-muted, #9da7b8);
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.6;
}

.lmgx-component-category-grid-actions {
  margin-top: 6px;
}

.lmgx-component-category-card {
  justify-content: flex-start;
  gap: 14px;
}

.lmgx-component-category-card-title {
  margin: 0;
  font-size: 24px;
}

.lmgx-component-category-card-summary {
  margin: 0;
  color: var(--lmgx-color-muted, #5f5f5f);
  line-height: 1.65;
}

.lmgx-component-category-card-examples {
  margin-bottom: 4px;
}

.lmgx-component-showcase-intro {
  text-align: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.lmgx-component-showcase-title {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.18;
}

.lmgx-component-showcase-description {
  margin: 0 auto;
  max-width: 780px;
  color: var(--lmgx-color-muted, #9da7b8);
  font-size: clamp(14px, 1.45vw, 18px);
  line-height: 1.7;
}

.lmgx-component-showcase-cta {
  margin-top: 10px;
}

.lmgx-component-showcase-body {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  padding: 34px 38px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--lmgx-color-border, #2a3040) 76%, #38507f 24%);
  background: linear-gradient(180deg, #0f1826 0%, #111c2d 100%);
}

.lmgx-component-showcase-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}

.lmgx-component-showcase-menu-item {
  margin: 0;
  min-height: 52px;
  justify-content: flex-start;
  padding: 14px 16px;
  border-radius: 14px;
  border: 0;
  background: transparent;
  color: #eef4ff;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: none;
}

.lmgx-component-showcase-menu-item.is-active {
  background: linear-gradient(180deg, #2f86ff 0%, #2d79ea 100%);
  color: #ffffff;
}

.lmgx-component-showcase-preview {
  position: relative;
  min-height: 540px;
  overflow: hidden;
}

.lmgx-component-showcase-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-24px);
  transition: transform 220ms ease, opacity 220ms ease;
}

.lmgx-component-showcase-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.lmgx-component-showcase-image-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 390px;
  padding: 22px;
  border-radius: 0;
  background: #05080f;
  border: 1px solid rgba(79, 107, 156, 0.28);
}

.lmgx-component-showcase-image {
  width: 100%;
}

.lmgx-component-showcase-preview-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
  color: #f8fbff;
}

.lmgx-component-showcase-preview-description {
  margin: 0;
  color: rgba(232, 239, 250, 0.92);
  font-size: 15px;
  line-height: 1.75;
}

.lmgx-component-showcase-preview-caption {
  margin: 0;
  color: rgba(182, 196, 220, 0.88);
  font-size: 14px;
  line-height: 1.75;
}

.lmgx-component-showcase-visual {
  width: 100%;
  min-height: 340px;
}

.lmgx-component-showcase-window,
.lmgx-component-showcase-device,
.lmgx-component-showcase-theme-card,
.lmgx-component-showcase-grid,
.lmgx-component-showcase-code {
  width: min(100%, 620px);
  margin: 0 auto;
}

.lmgx-component-showcase-window {
  border-radius: 0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(46, 78, 148, 0.14);
  border: 1px solid rgba(112, 135, 198, 0.18);
}

.lmgx-component-showcase-window-top {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  background: #eef3ff;
}

.lmgx-component-showcase-window-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #bfd0ff;
}

.lmgx-component-showcase-window-body {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  min-height: 270px;
}

.lmgx-component-showcase-window-sidebar {
  background: linear-gradient(180deg, #1f3fff 0%, #304cff 100%);
}

.lmgx-component-showcase-window-main {
  padding: 28px;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5ff 100%);
}

.lmgx-component-showcase-window-card {
  height: 56px;
  border-radius: 18px;
  background: #dce7ff;
  margin-bottom: 20px;
}

.lmgx-component-showcase-window-chart {
  height: 156px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #e5edff 100%);
  border: 1px solid rgba(107, 132, 201, 0.18);
}

.lmgx-component-showcase-device {
  display: flex;
  justify-content: center;
}

.lmgx-component-showcase-device-screen {
  width: min(100%, 520px);
  min-height: 290px;
  padding: 28px;
  border-radius: 0;
  background: #ffffff;
  border: 1px solid rgba(110, 135, 203, 0.2);
  box-shadow: 0 24px 60px rgba(46, 78, 148, 0.12);
}

.lmgx-component-showcase-toggle-row,
.lmgx-component-showcase-field-row {
  border-radius: 16px;
  background: #e7eeff;
}

.lmgx-component-showcase-toggle-row {
  height: 64px;
  margin-bottom: 20px;
}

.lmgx-component-showcase-field-row {
  height: 84px;
  margin-bottom: 16px;
}

.lmgx-component-showcase-field-row.is-short {
  width: 72%;
  margin-bottom: 0;
}

.lmgx-component-showcase-theme-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  min-height: 300px;
  border-radius: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(110, 135, 203, 0.2);
  box-shadow: 0 24px 60px rgba(46, 78, 148, 0.12);
}

.lmgx-component-showcase-theme-sidebar {
  background: linear-gradient(180deg, #ff6ca8 0%, #ff8fc0 100%);
}

.lmgx-component-showcase-theme-content {
  padding: 30px;
  background: linear-gradient(180deg, #fff8fb 0%, #f7f9ff 100%);
}

.lmgx-component-showcase-theme-pill {
  width: 140px;
  height: 16px;
  border-radius: 999px;
  background: #ffbdd5;
  margin-bottom: 18px;
}

.lmgx-component-showcase-theme-chart {
  height: 180px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #e8eeff 100%);
  border: 1px solid rgba(110, 135, 203, 0.18);
}

.lmgx-component-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lmgx-component-showcase-grid div {
  min-height: 140px;
  border-radius: 0;
  background: linear-gradient(180deg, #ffffff 0%, #edf3ff 100%);
  border: 1px solid rgba(110, 135, 203, 0.18);
  box-shadow: 0 18px 44px rgba(46, 78, 148, 0.08);
}

.lmgx-component-showcase-code {
  padding: 28px 30px;
  border-radius: 0;
  background: #0f1726;
  color: #dbe7ff;
  box-shadow: 0 24px 60px rgba(18, 27, 47, 0.22);
  font-size: 18px;
  line-height: 1.8;
}

.lmgx-component-showcase-code .kw {
  color: #ff7ab2;
}

.lmgx-component-showcase-code .type {
  color: #78dce8;
}

.lmgx-component-showcase-code .str {
  color: #a9dc76;
}

.lmgx-component-showcase-annotated {
  width: min(100%, 640px);
  margin: 0 auto;
  min-height: 300px;
  position: relative;
}

.lmgx-component-showcase-annotated-target {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 240px;
  height: 34px;
  transform: translate(-50%, -50%);
  border-radius: 4px;
  background: rgba(79, 91, 120, 0.95);
  border: 1px solid rgba(149, 163, 189, 0.34);
}

.lmgx-component-showcase-annotated-target::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 36px;
  top: 50%;
  height: 10px;
  transform: translateY(-50%);
  border-radius: 3px;
  background: rgba(223, 230, 245, 0.55);
}

.lmgx-component-showcase-annotated-target::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(176, 192, 221, 0.5);
}

.lmgx-component-showcase-annotated-label {
  position: absolute;
  color: #4e8dff;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
}

.lmgx-component-showcase-annotated-label::after {
  content: "";
  position: absolute;
  background: #4e8dff;
}

.lmgx-component-showcase-annotated-label--top-left {
  left: 50px;
  top: 60px;
}

.lmgx-component-showcase-annotated-label--top-left::after {
  left: 100%;
  top: 9px;
  width: 124px;
  height: 1px;
}

.lmgx-component-showcase-annotated-label--top-right {
  right: 62px;
  top: 72px;
}

.lmgx-component-showcase-annotated-label--top-right::after {
  right: 100%;
  top: 9px;
  width: 78px;
  height: 1px;
}

.lmgx-component-showcase-annotated-label--left {
  left: 22px;
  top: 132px;
}

.lmgx-component-showcase-annotated-label--left::after {
  left: 100%;
  top: 9px;
  width: 116px;
  height: 1px;
}

.lmgx-component-showcase-annotated-label--bottom-left {
  left: 44px;
  bottom: 62px;
}

.lmgx-component-showcase-annotated-label--bottom-left::after {
  left: 100%;
  top: 9px;
  width: 136px;
  height: 1px;
}

.lmgx-component-showcase-annotated-label--right {
  right: 18px;
  top: 184px;
}

.lmgx-component-showcase-annotated-label--right::after {
  right: 100%;
  top: 9px;
  width: 96px;
  height: 1px;
}

@media (max-width: 900px) {
  .lmgx-component-showcase-body {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }

  .lmgx-component-showcase-menu {
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 0;
  }

  .lmgx-component-showcase-menu-item {
    width: fit-content;
  }

  .lmgx-component-showcase-preview {
    min-height: 620px;
  }
}

@media (max-width: 720px) {
  .lmgx-component-showcase {
    padding: 16px;
  }

  .lmgx-component-showcase-intro {
    margin-bottom: 20px;
  }

  .lmgx-component-showcase-image-frame {
    min-height: 300px;
    padding: 16px;
  }

  .lmgx-component-showcase-preview {
    min-height: 540px;
  }

  .lmgx-component-showcase-window-body,
  .lmgx-component-showcase-theme-card {
    grid-template-columns: 1fr;
  }

  .lmgx-component-showcase-window-sidebar,
  .lmgx-component-showcase-theme-sidebar {
    min-height: 84px;
  }

  .lmgx-component-showcase-grid {
    grid-template-columns: 1fr;
  }
}

.lmgx-component-benefits {
  width: min(100%, 1220px);
  margin: 18px auto 40px;
  padding: 0 20px;
  gap: 24px;
}

.lmgx-component-benefits-header {
  text-align: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.lmgx-component-benefits-eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--lmgx-color-primary, #ff2d8c);
}

.lmgx-component-benefits-title {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.14;
}

.lmgx-component-benefits-description {
  margin: 0;
  color: var(--lmgx-color-muted, #9da7b8);
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.7;
  max-width: 720px;
}

.lmgx-component-benefits-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.lmgx-component-benefit-card {
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--lmgx-color-border, #2a3040) 78%, white 22%);
  background: color-mix(in srgb, var(--lmgx-color-surface, #1a1d25) 96%, white 4%);
  box-shadow: none;
  padding: 28px;
  gap: 16px;
  min-height: 248px;
  justify-content: flex-start;
}

.lmgx-component-benefit-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}

.lmgx-component-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: color-mix(in srgb, #1b3cff 18%, white 82%);
  color: #2a50ff;
  flex: 0 0 auto;
}

.lmgx-component-benefit-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lmgx-component-benefit-icon--stack svg rect,
.lmgx-component-benefit-icon--grid svg rect {
  fill: currentColor;
  opacity: 0.92;
  stroke: none;
}

.lmgx-component-benefit-icon--shield svg path:first-child {
  fill: currentColor;
  opacity: 0.16;
  stroke: currentColor;
}

.lmgx-component-benefit-eyebrow {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--lmgx-color-muted, #9da7b8) 76%, #5d76ff 24%);
}

.lmgx-component-benefit-title {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.lmgx-component-benefit-desc {
  margin: 0;
  color: var(--lmgx-color-muted, #9da7b8);
  font-size: 15px;
  line-height: 1.8;
}

.lmgx-build-cta {
  width: 100%;
  margin: 18px auto 38px;
  border-radius: 0;
  border: 0;
  background: var(--lmgx-color-text, #151515);
  box-shadow: none;
  padding: 0;
}

.lmgx-adoption-steps {
  width: min(100%, 1220px);
  margin: 0 auto;
  padding: 0 20px;
}

.lmgx-adoption-steps-header {
  text-align: center;
  align-items: center;
  gap: 10px;
}

.lmgx-adoption-steps-eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--lmgx-color-primary, #ff2d8c);
}

.lmgx-adoption-steps-title {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.16;
}

.lmgx-adoption-steps-description {
  margin: 0;
  max-width: 840px;
  color: var(--lmgx-color-muted, #9da7b8);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.65;
}

.lmgx-adoption-step-card {
  gap: 14px;
}

.lmgx-adoption-step-title {
  margin: 0;
  font-size: 24px;
}

.lmgx-adoption-step-summary {
  margin: 0;
  line-height: 1.65;
  color: var(--lmgx-color-muted, #5f5f5f);
}

.lmgx-build-cta-inner {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 56px);
  border-radius: 0;
  background: transparent;
  text-align: center;
  align-items: center;
  gap: 18px;
}

.lmgx-build-cta-title {
  margin: 0;
  color: var(--lmgx-color-bg, #ffffff);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.12;
}

.lmgx-build-cta-description {
  margin: 0;
  max-width: 860px;
  color: color-mix(in srgb, var(--lmgx-color-bg, #ffffff) 90%, transparent);
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.7;
}

.lmgx-build-cta-actions {
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.lmgx-build-cta-primary,
.lmgx-build-cta-secondary {
  min-width: 196px;
  justify-content: center;
}

.lmgx-build-cta-primary {
  background: var(--lmgx-color-bg, #ffffff);
  color: var(--lmgx-color-text, #151515);
  border-color: var(--lmgx-color-bg, #ffffff);
}

.lmgx-build-cta-primary:hover {
  background: var(--lmgx-color-button-hover-bg, color-mix(in srgb, var(--lmgx-color-bg, #ffffff) 92%, transparent));
  color: var(--lmgx-color-button-hover-text, var(--lmgx-color-text, #151515));
  border-color: var(--lmgx-color-button-hover-border, var(--lmgx-color-bg, #ffffff));
}

.lmgx-build-cta-secondary {
  background: transparent;
  color: var(--lmgx-color-bg, #ffffff);
  border-color: color-mix(in srgb, var(--lmgx-color-bg, #ffffff) 82%, transparent);
}

.lmgx-build-cta-secondary:hover {
  background: var(--lmgx-color-button-hover-bg, color-mix(in srgb, var(--lmgx-color-bg, #ffffff) 10%, transparent));
  color: var(--lmgx-color-button-hover-text, var(--lmgx-color-bg, #ffffff));
  border-color: var(--lmgx-color-button-hover-border, color-mix(in srgb, var(--lmgx-color-bg, #ffffff) 82%, transparent));
}

.lmgx-logo-marquee {
  width: 100vw;
  max-width: 100vw;
  min-width: 0;
  margin: 10px calc(50% - 50vw) 26px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
  overflow: hidden;
  padding: 16px 0;
}

.lmgx-logo-marquee-track {
  display: flex;
  flex-direction: row;
  align-items: center;
  white-space: nowrap;
  width: fit-content;
  min-width: 100%;
  gap: 0;
  animation: lmgx-logo-marquee-scroll 34s linear infinite;
  will-change: transform;
}

.lmgx-logo-marquee-sequence {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(40px, 5vw, 84px);
  padding-right: clamp(40px, 5vw, 84px);
  flex: 0 0 auto;
  min-width: max-content;
}

.lmgx-logo-marquee-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  white-space: nowrap;
  opacity: 0.96;
}

.lmgx-logo-marquee-image {
  display: block;
  width: auto;
  height: 40px;
  max-width: none;
}

@keyframes lmgx-logo-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lmgx-logo-marquee-track {
    animation: none;
  }
}

@media (max-width: 720px) {
  .lmgx-logo-marquee {
    margin: 10px calc(50% - 50vw) 22px;
  }
}

@media (max-width: 960px) {
  .lmgx-component-benefits-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .lmgx-component-benefits {
    width: min(100%, 100%);
    padding: 0 16px;
    gap: 18px;
  }

  .lmgx-build-cta {
    padding: 0;
  }

  .lmgx-build-cta-inner {
    width: calc(100% - 32px);
    padding: 32px 20px;
    gap: 14px;
  }

  .lmgx-component-benefits-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lmgx-component-benefit-card {
    padding: 22px;
    min-height: auto;
  }
}
