/* LegendMarket Knowledge Base — product documentation layout */
#lm-docs {
  --lm-bg: #08090c;
  --lm-panel: #111319;
  --lm-panel-2: #171a22;
  --lm-border: #262b36;
  --lm-text: #f2f4f8;
  --lm-muted: #929baa;
  --lm-dim: #667080;
  --lm-accent: #ff861f;
  --lm-accent-2: #ffad57;
  --lm-accent-soft: rgba(255,134,31,.12);
  --lm-green: #24b36b;
  --lm-blue: #7894ef;
  color: var(--lm-text);
  background: var(--lm-bg);
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 18px;
  overflow: clip;
  font-family: inherit;
  isolation: isolate;
  position: relative;
}
#lm-docs, #lm-docs * { box-sizing: border-box; }
#lm-docs button, #lm-docs input { font: inherit; }
#lm-docs button { color: inherit; }
#lm-docs a { color: inherit; text-decoration: none; }
#lm-docs [hidden] { display: none !important; }
#lm-docs .lm-kb__app { display: grid; grid-template-columns: 286px minmax(0,1fr); min-height: 850px; background: var(--lm-bg); }

/* Left guide navigation */
#lm-docs .lm-kb__sidebar { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 22px 15px 16px; background: #0d0f14; border-right: 1px solid var(--lm-border); }
#lm-docs .lm-kb__brand { display: flex; align-items: center; gap: 11px; padding: 2px 8px 20px; border-bottom: 1px solid var(--lm-border); }
#lm-docs .lm-kb__brand-logo { flex: none; width: 39px; height: 39px; object-fit: contain; border-radius: 10px; }
#lm-docs .lm-kb__brand-mark { flex: none; display: grid; place-items: center; width: 39px; height: 39px; border-radius: 10px; color: #1b0d03; background: linear-gradient(145deg,#ffb35d,#ed690d); font-weight: 900; }
#lm-docs .lm-kb__brand-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 4px; }
#lm-docs .lm-kb__brand-copy strong { overflow: hidden; color: #f6f7fa; font-size: 14px; font-weight: 780; letter-spacing: -.3px; text-overflow: ellipsis; white-space: nowrap; }
#lm-docs .lm-kb__brand-copy small { color: #76808e; font-size: 9px; letter-spacing: 1.65px; }
#lm-docs .lm-kb__sidebar-caption { margin: 20px 10px 8px; color: #636d7c; font-size: 9px; font-weight: 800; letter-spacing: 1.7px; }
#lm-docs .lm-kb__nav { flex: 1; min-height: 420px; overflow: auto; padding: 5px 0 18px; scrollbar-width: thin; scrollbar-color: #303642 transparent; }
#lm-docs .lm-kb__nav-section { margin: 0 0 22px; }
#lm-docs .lm-kb__section-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 30px; margin: 0 0 7px; padding: 0 9px 0 0; border: 0; border-radius: 7px; color: #687383; background: transparent; text-align: left; cursor: pointer; transition: color .16s, background .16s; }
#lm-docs .lm-kb__section-toggle:hover { color: #d9dee7; background: rgba(255,255,255,.025); }
#lm-docs .lm-kb__section-toggle .lm-kb__nav-label { flex: 1; margin: 0; padding: 0 10px; color: inherit; font-size: 9px; font-weight: 850; letter-spacing: 1.7px; }
#lm-docs .lm-kb__section-toggle > i { flex: none; color: #687383; font-size: 9px; transition: transform .18s ease, color .18s ease; }
#lm-docs .lm-kb__section-toggle:hover > i { color: #ffad63; }
#lm-docs .lm-kb__nav-section-body[hidden], #lm-docs .lm-kb__product-children[hidden] { display: none !important; }
#lm-docs .lm-kb__nav-label { margin: 0 0 9px; padding: 0 10px; color: #687383; font-size: 9px; font-weight: 850; letter-spacing: 1.7px; }
#lm-docs .lm-kb__nav-item { position: relative; display: flex; align-items: center; width: 100%; min-height: 38px; gap: 10px; margin: 2px 0; padding: 8px 10px; border: 1px solid transparent; border-radius: 9px; color: #9da7b7; background: transparent; text-align: left; font-size: 12px; line-height: 1.35; cursor: pointer; transition: color .16s,background .16s,border-color .16s; }
#lm-docs .lm-kb__nav-item:hover { color: #fff; background: #171b23; }
#lm-docs .lm-kb__nav-item.is-active { color: #ffb16d; border-color: rgba(255,134,31,.24); background: rgba(255,134,31,.105); }
#lm-docs .lm-kb__nav-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #4c5666; }
#lm-docs .lm-kb__nav-item.is-active .lm-kb__nav-dot { background: var(--lm-accent); box-shadow: 0 0 0 4px rgba(255,134,31,.12); }
#lm-docs .lm-kb__nav-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
#lm-docs .lm-kb__product-row { display: flex; align-items: center; gap: 2px; }
#lm-docs .lm-kb__product-row .lm-kb__nav-item { flex: 1; }
#lm-docs .lm-kb__product-disclosure { flex: none; display: grid; place-items: center; width: 32px; height: 34px; border: 0; border-radius: 8px; color: #687383; background: transparent; font-size: 10px; cursor: pointer; }
#lm-docs .lm-kb__product-disclosure:hover { color: #fff; background: #1a1e27; }
#lm-docs .lm-kb__product-children { margin: 2px 0 8px 13px; padding: 7px 0 2px 11px; border-left: 1px solid #2b313d; }
#lm-docs .lm-kb__nav-sub-label { padding: 3px 9px 5px; color: #596476; font-size: 8px; font-weight: 800; letter-spacing: 1.45px; }
#lm-docs .lm-kb__nav-item--child { min-height: 33px; padding: 7px 9px; font-size: 11px; }
#lm-docs .lm-kb__nav-empty { padding: 14px 10px; color: var(--lm-muted); font-size: 11px; }
#lm-docs .lm-kb__sidebar-help { display: flex; align-items: center; gap: 10px; margin: 10px 0 14px; padding: 12px 10px; border: 1px solid rgba(255,134,31,.19); border-radius: 11px; background: linear-gradient(145deg,rgba(255,134,31,.095),rgba(255,134,31,.025)); }
#lm-docs .lm-kb__help-icon { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: #ffad63; background: rgba(255,134,31,.14); }
#lm-docs .lm-kb__sidebar-help > span:nth-child(2) { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 3px; }
#lm-docs .lm-kb__sidebar-help strong { color: #e9edf3; font-size: 10px; }
#lm-docs .lm-kb__sidebar-help small { color: #7d8796; font-size: 8px; line-height: 1.4; }
#lm-docs .lm-kb__help-arrow { color: #ffac65; font-size: 10px; }
#lm-docs .lm-kb__sidebar-foot { display: flex; align-items: center; gap: 8px; padding: 14px 9px 0; border-top: 1px solid var(--lm-border); color: #737e8e; font-size: 9px; }
#lm-docs .lm-kb__status-dot { width: 6px; height: 6px; border-radius: 50%; background: #35c58d; box-shadow: 0 0 9px rgba(53,197,141,.55); }
#lm-docs .lm-kb__sidebar-close { display: none; }

/* Main content and search */
#lm-docs .lm-kb__main { min-width: 0; background: radial-gradient(ellipse at 92% 0%,rgba(255,134,31,.045),transparent 27%), #090a0d; }
#lm-docs .lm-kb__topbar { position: sticky; top: 0; z-index: 8; min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 11px clamp(18px,3vw,34px); border-bottom: 1px solid var(--lm-border); background: rgba(9,10,13,.91); backdrop-filter: blur(16px); }
#lm-docs .lm-kb__breadcrumbs { display: flex; align-items: center; min-width: 0; gap: 11px; color: #9ca6b5; font-size: 11px; }
#lm-docs .lm-kb__breadcrumbs strong { color: #f1f3f7; font-weight: 700; }
#lm-docs .lm-kb__breadcrumbs i { color: #566172; font-size: 9px; }
#lm-docs .lm-kb__breadcrumb-home { padding: 0; border: 0; color: #9ca6b5; background: transparent; font-size: 11px; cursor: pointer; }
#lm-docs .lm-kb__breadcrumb-home:hover { color: var(--lm-accent-2); }
#lm-docs .lm-kb__topbar-tools { display: flex; align-items: center; justify-content: flex-end; flex: 1; }
#lm-docs .lm-kb__search-wrap { position: relative; width: min(390px,100%); }
#lm-docs .lm-kb__search { width: 100%; height: 40px; padding: 0 45px 0 37px; border: 1px solid #303744; border-radius: 10px; outline: none; color: #f5f6f8; background: #14171e; font-size: 11px; }
#lm-docs .lm-kb__search:focus { border-color: rgba(255,134,31,.65); box-shadow: 0 0 0 3px rgba(255,134,31,.085); }
#lm-docs .lm-kb__search::placeholder { color: #748092; }
#lm-docs .lm-kb__search-icon { position: absolute; top: 13px; left: 13px; color: #788496; font-size: 12px; pointer-events: none; }
#lm-docs .lm-kb__kbd { position: absolute; top: 10px; right: 9px; padding: 2px 5px; border: 1px solid #343b47; border-radius: 5px; color: #7e8998; font-size: 9px; }
#lm-docs .lm-kb__mobile-toggle { display: none; }
#lm-docs .lm-kb__search-results { position: absolute; top: 47px; left: 0; right: 0; z-index: 14; display: none; max-height: 360px; overflow: auto; padding: 6px; border: 1px solid #303744; border-radius: 12px; background: #171a21; box-shadow: 0 20px 65px rgba(0,0,0,.48); }
#lm-docs .lm-kb__search-results.is-open { display: block; }
#lm-docs .lm-kb__search-result { display: block; width: 100%; padding: 10px 11px; border: 0; border-radius: 8px; background: transparent; text-align: left; cursor: pointer; }
#lm-docs .lm-kb__search-result:hover { background: #242a34; }
#lm-docs .lm-kb__search-result strong { display: block; color: #f1f4f8; font-size: 11px; }
#lm-docs .lm-kb__search-result small { display: block; margin-top: 3px; color: #8b96a6; font-size: 9px; }
#lm-docs .lm-kb__content { max-width: 1440px; margin: 0 auto; padding: clamp(22px,3.2vw,42px) clamp(18px,3.4vw,48px) 70px; }
#lm-docs .lm-kb__content-inner { min-height: 640px; }
#lm-docs .lm-kb__eyebrow, #lm-docs .lm-kb__section-kicker { color: var(--lm-accent-2); font-size: 9px; font-weight: 850; letter-spacing: 1.7px; text-transform: uppercase; }
#lm-docs .lm-kb__empty { padding: 13px; color: var(--lm-muted); font-size: 11px; }

/* Landing page */
#lm-docs .lm-kb__home-hero { position: relative; overflow: hidden; padding: clamp(26px,4vw,48px); border: 1px solid #30313a; border-radius: 19px; background: radial-gradient(circle at 84% 15%,rgba(255,134,31,.14),transparent 31%),linear-gradient(135deg,#171a20,#101217 70%); }
#lm-docs .lm-kb__home-hero::after { content: "LM"; position: absolute; right: 30px; bottom: -59px; color: rgba(255,255,255,.022); font-size: clamp(120px,15vw,190px); font-weight: 950; letter-spacing: -18px; pointer-events: none; }
#lm-docs .lm-kb__home-hero h1 { position: relative; z-index: 1; max-width: 780px; margin: 16px 0 11px; color: #fff; font-size: clamp(30px,4.4vw,52px); line-height: 1.06; letter-spacing: -1.8px; font-weight: 850; }
#lm-docs .lm-kb__home-hero > p { position: relative; z-index: 1; max-width: 680px; margin: 0; color: #a0a9b7; font-size: 13px; line-height: 1.8; }
#lm-docs .lm-kb__home-search { position: relative; z-index: 1; max-width: 600px; margin-top: 25px; }
#lm-docs .lm-kb__home-search input { width: 100%; height: 49px; padding: 0 15px 0 43px; border: 1px solid #343b47; border-radius: 10px; outline: none; color: #fff; background: #0c0e12; font-size: 12px; }
#lm-docs .lm-kb__home-search input:focus { border-color: var(--lm-accent); }
#lm-docs .lm-kb__home-search > i { position: absolute; top: 18px; left: 15px; color: #8792a2; font-size: 13px; }
#lm-docs .lm-kb__hero-foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 18px; margin-top: 21px; color: #788394; font-size: 9px; }
#lm-docs .lm-kb__hero-foot span { display: flex; align-items: center; gap: 7px; }
#lm-docs .lm-kb__hero-foot i { color: var(--lm-accent-2); }
#lm-docs .lm-kb__home-section { margin-top: 36px; }
#lm-docs .lm-kb__section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 14px; }
#lm-docs .lm-kb__section-heading h2, #lm-docs .lm-kb__panel-heading h2 { margin: 6px 0 4px; color: #f3f5f8; font-size: 19px; letter-spacing: -.5px; }
#lm-docs .lm-kb__section-heading p { margin: 0; color: #7f8a9a; font-size: 10px; }
#lm-docs .lm-kb__category-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
#lm-docs .lm-kb__category-card { display: flex; align-items: center; min-height: 82px; gap: 12px; padding: 15px; border: 1px solid #282e39; border-radius: 12px; color: #f1f3f6; background: linear-gradient(145deg,#151820,#101319); text-align: left; cursor: pointer; transition: transform .18s,border-color .18s,background .18s; }
#lm-docs .lm-kb__category-card:hover { transform: translateY(-2px); border-color: rgba(255,134,31,.5); background: #191d25; }
#lm-docs .lm-kb__category-icon { display: grid; flex: none; place-items: center; width: 39px; height: 39px; border: 1px solid rgba(255,134,31,.2); border-radius: 10px; color: #ffad60; background: rgba(255,134,31,.10); font-size: 14px; }
#lm-docs .lm-kb__category-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 4px; }
#lm-docs .lm-kb__category-copy strong { font-size: 11px; }
#lm-docs .lm-kb__category-copy small { color: #808b9a; font-size: 9px; }
#lm-docs .lm-kb__category-arrow { color: #687486; font-size: 10px; }
#lm-docs .lm-kb__home-lower { display: grid; grid-template-columns: 1.2fr .8fr; gap: 13px; margin-top: 14px; }
#lm-docs .lm-kb__home-panel, #lm-docs .lm-kb__support-card { padding: 19px; border: 1px solid #282e39; border-radius: 13px; background: #11141a; }
#lm-docs .lm-kb__panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 10px; }
#lm-docs .lm-kb__panel-heading h2 { margin-bottom: 0; }
#lm-docs .lm-kb__panel-count { color: #727d8d; font-size: 8px; font-weight: 800; letter-spacing: 1.2px; }
#lm-docs .lm-kb__popular-list { display: flex; flex-direction: column; }
#lm-docs .lm-kb__popular-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 7px; border: 0; border-top: 1px solid rgba(255,255,255,.055); border-radius: 0; background: transparent; text-align: left; cursor: pointer; }
#lm-docs .lm-kb__popular-row:hover { background: rgba(255,255,255,.025); }
#lm-docs .lm-kb__popular-number { color: #ff9b49; font-size: 10px; font-weight: 800; font-variant-numeric: tabular-nums; }
#lm-docs .lm-kb__popular-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 3px; }
#lm-docs .lm-kb__popular-copy strong { overflow: hidden; color: #dce1e9; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
#lm-docs .lm-kb__popular-copy small { color: #788394; font-size: 8px; }
#lm-docs .lm-kb__popular-row > i { color: #657083; font-size: 9px; }
#lm-docs .lm-kb__support-card { border-color: rgba(255,134,31,.25); background: radial-gradient(circle at 90% 0%,rgba(255,134,31,.11),transparent 43%),#15120f; }
#lm-docs .lm-kb__support-icon { display: grid; place-items: center; width: 39px; height: 39px; margin-bottom: 15px; border-radius: 10px; color: #ffb36a; background: rgba(255,134,31,.13); font-size: 17px; }
#lm-docs .lm-kb__support-card h2 { margin: 7px 0; color: #fff; font-size: 19px; letter-spacing: -.5px; }
#lm-docs .lm-kb__support-card p { margin: 0 0 16px; color: #969eab; font-size: 10px; line-height: 1.7; }
#lm-docs .lm-kb__button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 37px; padding: 9px 12px; border: 1px solid rgba(255,168,91,.45); border-radius: 9px; color: #ffb36b; background: rgba(255,134,31,.06); font-size: 10px; font-weight: 750; }
#lm-docs .lm-kb__button:hover { background: rgba(255,134,31,.13); }

/* Guide article layout */
#lm-docs .lm-kb__article { max-width: 1040px; margin: 0 auto; }
#lm-docs .lm-kb__article-hero { padding: clamp(23px,3.5vw,38px); border: 1px solid #2c303a; border-radius: 17px; background: radial-gradient(circle at 95% 0%,rgba(255,134,31,.095),transparent 32%),linear-gradient(145deg,#151820,#101319 70%); }
#lm-docs .lm-kb__article-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--lm-accent-2); font-size: 9px; font-weight: 850; letter-spacing: 1.55px; }
#lm-docs .lm-kb__kicker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lm-accent); box-shadow: 0 0 0 4px rgba(255,134,31,.1); }
#lm-docs .lm-kb__kicker-sep { color: #4d5664; }
#lm-docs .lm-kb__article-hero h1 { margin: 16px 0 9px; color: #f4f6f9; font-size: clamp(30px,4.2vw,47px); line-height: 1.08; letter-spacing: -1.45px; font-weight: 850; }
#lm-docs .lm-kb__article-intro { max-width: 770px; margin: 0; color: #9ca6b5; font-size: 13px; line-height: 1.75; }
#lm-docs .lm-kb__article-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
#lm-docs .lm-kb__meta-pill { display: inline-flex; align-items: center; gap: 7px; min-height: 31px; padding: 6px 10px; border: 1px solid rgba(120,148,239,.24); border-radius: 99px; color: #92a7f4; background: rgba(91,119,220,.08); font-size: 9px; }
#lm-docs .lm-kb__meta-pill--green { border-color: rgba(36,179,107,.26); color: #48cb88; background: rgba(36,179,107,.075); }
#lm-docs .lm-kb__meta-pill--amber { border-color: rgba(255,174,77,.25); color: #ffba62; background: rgba(255,174,77,.07); }
#lm-docs .lm-kb__article-overview { margin: 16px 0 0; padding: 17px 20px; border: 1px solid #282f3b; border-radius: 13px; color: #b5becc; background: #11141b; font-size: 12px; line-height: 1.8; }
#lm-docs .lm-kb__article-overview > :last-child { margin-bottom: 0; }
#lm-docs .lm-kb__progress-card { margin-top: 14px; padding: 18px 20px; border: 1px solid #292f3c; border-radius: 14px; background: #151821; }
#lm-docs .lm-kb__progress-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
#lm-docs .lm-kb__progress-top > div:first-child { display: flex; flex-direction: column; gap: 5px; }
#lm-docs .lm-kb__progress-label { color: #7d899b; font-size: 8px; font-weight: 850; letter-spacing: 1.5px; }
#lm-docs .lm-kb__progress-next { color: #d8dee8; font-size: 12px; font-weight: 650; }
#lm-docs .lm-kb__progress-count { display: flex; align-items: baseline; gap: 9px; white-space: nowrap; }
#lm-docs .lm-kb__progress-count strong { color: #f3f5f8; font-size: 17px; font-variant-numeric: tabular-nums; }
#lm-docs .lm-kb__progress-count span { color: var(--lm-accent); font-size: 13px; font-weight: 750; }
#lm-docs .lm-kb__progress-track { height: 6px; overflow: hidden; margin: 13px 0 16px; border-radius: 99px; background: #252a36; }
#lm-docs .lm-kb__progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#f26f14,#ffb04f); transition: width .25s ease; }
#lm-docs .lm-kb__progress-bottom { display: flex; gap: 9px; }
#lm-docs .lm-kb__start-button { display: inline-flex; align-items: center; justify-content: center; flex: 1; min-height: 43px; gap: 9px; padding: 10px 16px; border: 1px solid #e97818; border-radius: 9px; color: #180d04; background: linear-gradient(135deg,#ff9c40,#ef7417); box-shadow: 0 7px 22px rgba(245,121,27,.13); font-size: 12px; font-weight: 800; cursor: pointer; }
#lm-docs .lm-kb__start-button:hover { filter: brightness(1.07); }
#lm-docs .lm-kb__reset-progress { display: grid; place-items: center; width: 43px; min-height: 43px; border: 1px solid #333b4a; border-radius: 9px; color: #8b98ac; background: #191d27; cursor: pointer; }
#lm-docs .lm-kb__reset-progress:hover { color: #fff; border-color: #596579; }
#lm-docs .lm-kb__chapters { margin: 24px 0 15px; padding: 0 0 19px; border-bottom: 1px solid #282e39; }
#lm-docs .lm-kb__chapters-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; color: #657184; font-size: 9px; font-weight: 850; letter-spacing: 2px; }
#lm-docs .lm-kb__chapters-heading i { flex: 1; height: 1px; background: #252b36; }
#lm-docs .lm-kb__chapter-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
#lm-docs .lm-kb__chapter-tile { display: flex; align-items: center; min-height: 59px; gap: 10px; padding: 10px 12px; border: 1px solid #2a303c; border-radius: 10px; color: #a8b2c1; background: #12151c; text-align: left; font-size: 11px; line-height: 1.35; cursor: pointer; }
#lm-docs .lm-kb__chapter-tile:hover { border-color: rgba(255,134,31,.42); color: #fff; }
#lm-docs .lm-kb__chapter-number { display: grid; flex: none; place-items: center; width: 25px; height: 25px; border: 1px solid #384252; border-radius: 7px; color: #a5b1c4; background: #1b202a; font-size: 10px; font-weight: 750; }
#lm-docs .lm-kb__chapter-tile.is-done { border-color: rgba(36,179,107,.33); color: #54cb8a; background: rgba(36,179,107,.055); }
#lm-docs .lm-kb__chapter-tile.is-done .lm-kb__chapter-number { border-color: #24a866; color: #07180e; background: #32bd77; }

/* Numbered instructional steps */
#lm-docs .lm-kb__step-card { margin: 14px 0; overflow: hidden; border: 1px solid #2a303c; border-radius: 15px; background: #11141a; scroll-margin-top: 94px; }
#lm-docs .lm-kb__step-card.is-done { border-color: rgba(36,179,107,.35); }
#lm-docs .lm-kb__step-header { display: flex; align-items: center; gap: 15px; padding: 20px 22px; border-bottom: 1px solid #262c37; }
#lm-docs .lm-kb__step-number { display: grid; flex: none; place-items: center; width: 53px; height: 53px; border: 1px solid rgba(255,134,31,.32); border-radius: 12px; color: var(--lm-accent); background: rgba(255,134,31,.075); font-size: 22px; font-weight: 800; }
#lm-docs .lm-kb__step-card.is-done .lm-kb__step-number { border-color: rgba(36,179,107,.55); color: #08190e; background: #2ebc75; font-size: 17px; }
#lm-docs .lm-kb__step-heading { flex: 1; min-width: 0; }
#lm-docs .lm-kb__step-heading h2 { margin: 0 0 5px; color: #eef1f6; font-size: 19px; line-height: 1.25; letter-spacing: -.45px; }
#lm-docs .lm-kb__step-heading p { display: -webkit-box; overflow: hidden; margin: 0; color: #8e99aa; font-size: 11px; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
#lm-docs .lm-kb__step-time { flex: none; color: #687486; font-size: 8px; font-weight: 800; letter-spacing: 1px; }
#lm-docs .lm-kb__step-body { padding: 22px; color: #c0c8d4; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
#lm-docs .lm-kb__step-body > :first-child { margin-top: 0; }
#lm-docs .lm-kb__step-body > :last-child { margin-bottom: 0; }
#lm-docs .lm-kb__step-body h2 { margin: 24px 0 10px; color: #f0f3f7; font-size: 19px; letter-spacing: -.4px; }
#lm-docs .lm-kb__step-body h3 { margin: 20px 0 8px; color: #e7ebf2; font-size: 15px; }
#lm-docs .lm-kb__step-body p { margin: 0 0 14px; }
#lm-docs .lm-kb__step-body ul, #lm-docs .lm-kb__step-body ol { margin: 0 0 17px; padding-left: 24px; }
#lm-docs .lm-kb__step-body li { margin: 7px 0; padding-left: 3px; }
#lm-docs .lm-kb__step-body li::marker { color: var(--lm-accent); }
#lm-docs .lm-kb__step-body blockquote { margin: 17px 0; padding: 13px 16px; border-left: 3px solid var(--lm-accent); border-radius: 0 9px 9px 0; color: #cbd2dd; background: rgba(255,134,31,.065); }
#lm-docs .lm-kb__step-body pre { overflow: auto; margin: 16px 0; padding: 15px; border: 1px solid #303744; border-radius: 10px; color: #e9edf2; background: #090b0f; font-size: 11px; line-height: 1.65; }
#lm-docs .lm-kb__step-body code { padding: 2px 5px; border-radius: 5px; color: #ffb36d; background: rgba(255,134,31,.11); font-size: .92em; }
#lm-docs .lm-kb__step-body pre code { padding: 0; color: inherit; background: transparent; }
#lm-docs .lm-kb__step-body a { color: #ffb16b; text-decoration: underline; text-underline-offset: 3px; }
#lm-docs .lm-kb__figure { margin: 18px 0; }
#lm-docs .lm-kb__figure img { display: block; max-width: 100%; height: auto; margin: 0 auto; border: 1px solid #343b48; border-radius: 12px; }
#lm-docs .lm-kb__figure figcaption { margin-top: 7px; color: #687487; text-align: center; font-size: 9px; }
#lm-docs .lm-kb__callout { display: flex; gap: 12px; margin: 17px 0; padding: 14px 15px; border: 1px solid rgba(120,148,239,.28); border-radius: 11px; color: #d3d9e4; background: rgba(95,124,218,.08); font-size: 11px; line-height: 1.7; }
#lm-docs .lm-kb__callout > i { flex: none; margin-top: 2px; color: #829cf5; font-size: 14px; }
#lm-docs .lm-kb__callout strong { color: #89a1f5; }
#lm-docs .lm-kb__callout--tip { border-color: rgba(36,179,107,.25); background: rgba(36,179,107,.07); }
#lm-docs .lm-kb__callout--tip > i, #lm-docs .lm-kb__callout--tip strong { color: #42c984; }
#lm-docs .lm-kb__callout--warning, #lm-docs .lm-kb__callout--caution { border-color: rgba(255,166,59,.28); background: rgba(255,166,59,.075); }
#lm-docs .lm-kb__callout--warning > i, #lm-docs .lm-kb__callout--warning strong, #lm-docs .lm-kb__callout--caution > i, #lm-docs .lm-kb__callout--caution strong { color: #ffb24d; }
#lm-docs .lm-kb__callout--important { border-color: rgba(255,134,31,.3); background: rgba(255,134,31,.08); }
#lm-docs .lm-kb__callout--important > i, #lm-docs .lm-kb__callout--important strong { color: var(--lm-accent-2); }
#lm-docs .lm-kb__callout--warning { border-color: rgba(239,65,79,.32); background: rgba(239,65,79,.075); }
#lm-docs .lm-kb__callout--warning > i, #lm-docs .lm-kb__callout--warning strong { color: #ff6976; }
#lm-docs .lm-kb__video { position: relative; overflow: hidden; width: 100%; margin: 18px 0; aspect-ratio: 16/9; border: 1px solid #303744; border-radius: 12px; background: #000; }
#lm-docs .lm-kb__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
#lm-docs .lm-kb__step-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid #262c37; background: #0e1117; }
#lm-docs .lm-kb__step-counter { color: var(--lm-accent); font-size: 10px; font-weight: 750; }
#lm-docs .lm-kb__step-actions { display: flex; align-items: center; gap: 8px; }
#lm-docs .lm-kb__step-back, #lm-docs .lm-kb__mark-done, #lm-docs .lm-kb__step-next { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; gap: 8px; padding: 9px 13px; border: 1px solid #333b4a; border-radius: 9px; color: #a5afbf; background: #151923; font-size: 10px; font-weight: 700; cursor: pointer; }
#lm-docs .lm-kb__step-back:hover, #lm-docs .lm-kb__mark-done:hover { border-color: #596579; color: #fff; }
#lm-docs .lm-kb__mark-done { min-width: 127px; }
#lm-docs .lm-kb__check-box { display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid #536075; border-radius: 4px; color: #06170e; background: transparent; font-size: 9px; }
#lm-docs .lm-kb__mark-done.is-complete { border-color: rgba(36,179,107,.46); color: #41c983; background: rgba(36,179,107,.07); }
#lm-docs .lm-kb__mark-done.is-complete .lm-kb__check-box { border-color: #2ab773; background: #2ab773; }
#lm-docs .lm-kb__step-next { min-width: 126px; border-color: #dd761e; color: #1b0e04; background: linear-gradient(135deg,#ffa64f,#f17b1b); }
#lm-docs .lm-kb__step-next:hover { filter: brightness(1.07); }
#lm-docs .lm-kb__empty-content { margin-top: 15px; padding: 36px 22px; border: 1px solid #2b313c; border-radius: 14px; background: #11141a; text-align: center; }
#lm-docs .lm-kb__empty-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 14px; border: 1px solid #343b49; border-radius: 13px; color: #9daabd; background: #1a1f29; font-size: 18px; }
#lm-docs .lm-kb__empty-content h2 { margin: 0 0 8px; color: #f1f4f8; font-size: 17px; }
#lm-docs .lm-kb__empty-content p { max-width: 520px; margin: 0 auto 13px; color: #8f9aab; font-size: 11px; line-height: 1.65; }
#lm-docs .lm-kb__source-link { color: var(--lm-accent-2); font-size: 10px; font-weight: 700; }
#lm-docs .lm-kb__video-card { overflow: hidden; margin-top: 19px; border: 1px solid #2c323e; border-radius: 15px; background: #11141a; }
#lm-docs .lm-kb__video-frame { position: relative; aspect-ratio: 16/9; background: #000; }
#lm-docs .lm-kb__video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
#lm-docs .lm-kb__video-copy { padding: 20px 22px 22px; }
#lm-docs .lm-kb__video-copy h2 { margin: 7px 0; color: #f0f3f7; font-size: 20px; letter-spacing: -.45px; }
#lm-docs .lm-kb__video-copy p { margin: 0; color: #929dad; font-size: 11px; line-height: 1.7; }
#lm-docs .lm-kb__guide-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 23px; }
#lm-docs .lm-kb__guide-nav-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 13px 15px; border: 1px solid #2b313d; border-radius: 10px; background: #12151c; text-align: left; cursor: pointer; }
#lm-docs .lm-kb__guide-nav-card:hover { border-color: rgba(255,134,31,.44); }
#lm-docs .lm-kb__guide-nav-card small { color: #818c9d; font-size: 8px; font-weight: 850; letter-spacing: 1.3px; }
#lm-docs .lm-kb__guide-nav-card strong { overflow: hidden; color: #e5e9f0; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
#lm-docs .lm-kb__guide-nav-card--next { text-align: right; }
#lm-docs .lm-kb__source-note { margin-top: 18px; color: #718093; font-size: 9px; text-align: center; }
#lm-docs .lm-kb__source-note a { color: var(--lm-accent-2); }

/* Mobile navigation overlay */
#lm-docs .lm-kb__mobile-backdrop { display: none; }
@media (max-width: 980px) {
  #lm-docs .lm-kb__app { grid-template-columns: 252px minmax(0,1fr); min-height: 800px; }
  #lm-docs .lm-kb__content { padding-left: 24px; padding-right: 24px; }
  #lm-docs .lm-kb__category-list { grid-template-columns: 1fr 1fr; }
  #lm-docs .lm-kb__chapter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  #lm-docs { border-radius: 13px; }
  #lm-docs .lm-kb__app { display: block; position: relative; min-height: 0; }
  #lm-docs .lm-kb__sidebar { position: absolute; z-index: 20; top: 0; bottom: 0; left: 0; width: min(330px,88vw); min-height: 100%; height: 100%; max-height: 100%; overflow: hidden; transform: translateX(-105%); transition: transform .23s ease; box-shadow: none; }
  #lm-docs .lm-kb__sidebar.is-open { transform: translateX(0); box-shadow: 18px 0 60px rgba(0,0,0,.56); }
  #lm-docs .lm-kb__mobile-backdrop { position: absolute; z-index: 19; inset: 0; display: block; background: rgba(0,0,0,.62); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
  #lm-docs.lm-kb--nav-open .lm-kb__mobile-backdrop { opacity: 1; pointer-events: auto; }
  #lm-docs .lm-kb__sidebar-close { display: grid; flex: none; place-items: center; width: 31px; height: 31px; border: 1px solid #303744; border-radius: 8px; color: #a3adbd; background: #171b23; font-size: 12px; cursor: pointer; }
  #lm-docs .lm-kb__topbar { min-height: 57px; justify-content: flex-start; gap: 10px; padding: 9px 12px; }
  #lm-docs .lm-kb__mobile-toggle { display: grid; flex: none; place-items: center; width: 35px; height: 35px; border: 1px solid #303744; border-radius: 8px; color: #a9b3c3; background: #171b23; font-size: 13px; cursor: pointer; }
  #lm-docs .lm-kb__breadcrumbs { display: flex; flex: 1; overflow: hidden; gap: 6px; font-size: 9px; white-space: nowrap; }
  #lm-docs .lm-kb__breadcrumbs > span { overflow: hidden; text-overflow: ellipsis; }
  #lm-docs .lm-kb__search-wrap { width: 38px; }
  #lm-docs .lm-kb__search { width: 38px; height: 36px; padding: 0; color: transparent; cursor: pointer; }
  #lm-docs .lm-kb__search:focus { position: absolute; z-index: 10; right: 0; width: min(280px,72vw); padding: 0 12px 0 35px; color: #fff; cursor: text; }
  #lm-docs .lm-kb__search-icon { top: 12px; left: 13px; }
  #lm-docs .lm-kb__search:focus + .lm-kb__kbd { display: none; }
  #lm-docs .lm-kb__kbd { display: none; }
  #lm-docs .lm-kb__search-results { top: 43px; width: min(310px,86vw); left: auto; right: 0; }
  #lm-docs .lm-kb__content { padding: 15px 12px 35px; }
  #lm-docs .lm-kb__content-inner { min-height: 480px; }
  #lm-docs .lm-kb__home-hero { padding: 23px 18px; border-radius: 14px; }
  #lm-docs .lm-kb__home-hero::after { right: 7px; bottom: -42px; font-size: 116px; }
  #lm-docs .lm-kb__home-hero h1 { max-width: 100%; margin: 13px 0 9px; font-size: clamp(29px,8vw,39px); letter-spacing: -1.15px; }
  #lm-docs .lm-kb__home-hero > p { font-size: 11px; line-height: 1.7; }
  #lm-docs .lm-kb__home-search { margin-top: 19px; }
  #lm-docs .lm-kb__home-search input { height: 45px; font-size: 10px; }
  #lm-docs .lm-kb__hero-foot { gap: 10px 14px; font-size: 8px; }
  #lm-docs .lm-kb__home-section { margin-top: 26px; }
  #lm-docs .lm-kb__section-heading h2, #lm-docs .lm-kb__panel-heading h2 { font-size: 17px; }
  #lm-docs .lm-kb__category-list { grid-template-columns: 1fr; gap: 8px; }
  #lm-docs .lm-kb__category-card { min-height: 68px; padding: 12px; }
  #lm-docs .lm-kb__home-lower { grid-template-columns: 1fr; gap: 9px; }
  #lm-docs .lm-kb__home-panel, #lm-docs .lm-kb__support-card { padding: 16px; }
  #lm-docs .lm-kb__article-hero { padding: 22px 18px; border-radius: 13px; }
  #lm-docs .lm-kb__article-kicker { font-size: 8px; letter-spacing: 1.15px; }
  #lm-docs .lm-kb__article-hero h1 { margin: 13px 0 8px; font-size: 31px; letter-spacing: -1px; }
  #lm-docs .lm-kb__article-intro { font-size: 11px; line-height: 1.65; }
  #lm-docs .lm-kb__article-meta { margin-top: 14px; gap: 6px; }
  #lm-docs .lm-kb__meta-pill { min-height: 28px; padding: 5px 8px; font-size: 8px; }
  #lm-docs .lm-kb__progress-card { padding: 15px; }
  #lm-docs .lm-kb__progress-next { max-width: 210px; font-size: 10px; }
  #lm-docs .lm-kb__progress-count strong { font-size: 15px; }
  #lm-docs .lm-kb__progress-count span { font-size: 11px; }
  #lm-docs .lm-kb__chapter-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  #lm-docs .lm-kb__chapter-tile { min-height: 52px; gap: 7px; padding: 8px; font-size: 9px; }
  #lm-docs .lm-kb__chapter-number { width: 22px; height: 22px; font-size: 9px; }
  #lm-docs .lm-kb__step-card { margin: 10px 0; border-radius: 12px; }
  #lm-docs .lm-kb__step-header { gap: 11px; padding: 15px 14px; }
  #lm-docs .lm-kb__step-number { width: 43px; height: 43px; border-radius: 10px; font-size: 19px; }
  #lm-docs .lm-kb__step-heading h2 { font-size: 16px; }
  #lm-docs .lm-kb__step-heading p { font-size: 10px; }
  #lm-docs .lm-kb__step-time { display: none; }
  #lm-docs .lm-kb__step-body { padding: 16px 14px; font-size: 11px; line-height: 1.75; }
  #lm-docs .lm-kb__step-body h2 { font-size: 17px; }
  #lm-docs .lm-kb__step-body h3 { font-size: 14px; }
  #lm-docs .lm-kb__step-footer { display: block; padding: 12px 13px; }
  #lm-docs .lm-kb__step-counter { display: block; margin-bottom: 10px; }
  #lm-docs .lm-kb__step-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
  #lm-docs .lm-kb__step-actions > span { display: none; }
  #lm-docs .lm-kb__step-back, #lm-docs .lm-kb__mark-done, #lm-docs .lm-kb__step-next { min-width: 0; min-height: 43px; padding: 8px 9px; font-size: 9px; }
  #lm-docs .lm-kb__mark-done { grid-column: span 2; grid-row: 1; }
  #lm-docs .lm-kb__step-next { grid-column: 2; grid-row: 2; }
  #lm-docs .lm-kb__step-back { grid-column: 1; grid-row: 2; }
  #lm-docs .lm-kb__video-copy { padding: 16px; }
  #lm-docs .lm-kb__video-copy h2 { font-size: 17px; }
  #lm-docs .lm-kb__guide-pagination { grid-template-columns: 1fr; }
  #lm-docs .lm-kb__guide-nav-card--next { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  #lm-docs *, #lm-docs *::before, #lm-docs *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}


/* Dynamic article groups: one category can contain many separately editable articles. */
#lm-docs .lm-kb__category-group { margin: 0 0 8px; }
#lm-docs .lm-kb__category-toggle { display: flex; align-items: center; width: 100%; min-height: 42px; gap: 9px; padding: 7px 9px; border: 1px solid transparent; border-radius: 9px; color: #aeb7c5; background: transparent; text-align: left; cursor: pointer; transition: color .16s,background .16s,border-color .16s; }
#lm-docs .lm-kb__category-toggle:hover, #lm-docs .lm-kb__category-toggle[aria-expanded="true"] { color: #f3f5f8; background: #151922; border-color: #262d39; }
#lm-docs .lm-kb__category-toggle-icon { display: grid; flex: none; place-items: center; width: 25px; height: 25px; border-radius: 7px; color: #ffad63; background: rgba(255,134,31,.10); font-size: 11px; }
#lm-docs .lm-kb__category-toggle-name { flex: 1; min-width: 0; overflow: hidden; font-size: 11px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
#lm-docs .lm-kb__category-toggle-count { min-width: 20px; padding: 2px 6px; border: 1px solid #303744; border-radius: 999px; color: #7f8a9b; background: #10131a; text-align: center; font-size: 9px; font-weight: 750; }
#lm-docs .lm-kb__category-chevron { flex: none; margin-left: 2px; color: #727e90; font-size: 9px; transition: transform .16s ease; }
#lm-docs .lm-kb__category-toggle[aria-expanded="true"] .lm-kb__category-chevron { color: #ffad63; }
#lm-docs .lm-kb__category-children { margin: 3px 0 9px 21px; padding: 3px 0 3px 10px; border-left: 1px solid #2b313d; }
#lm-docs .lm-kb__category-children[hidden] { display: none !important; }
#lm-docs .lm-kb__category-children .lm-kb__nav-item--child { min-height: 34px; }


/* Independently collapsible instructional steps */
#lm-docs .lm-kb__step-toggle { width: 100%; border-top: 0; border-right: 0; border-left: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; appearance: none; }
#lm-docs .lm-kb__step-toggle:hover { background: rgba(255,255,255,.018); }
#lm-docs .lm-kb__step-toggle:focus-visible { outline: 2px solid var(--lm-accent); outline-offset: -3px; }
#lm-docs .lm-kb__step-heading strong { display: block; margin: 0 0 5px; color: #eef1f6; font-size: 19px; font-weight: 760; line-height: 1.25; letter-spacing: -.45px; }
#lm-docs .lm-kb__step-heading > span { display: -webkit-box; overflow: hidden; color: #8e99aa; font-size: 11px; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
#lm-docs .lm-kb__step-chevron { flex: none; margin-left: 5px; color: #687486; font-size: 12px; transition: transform .18s ease, color .18s ease; }
#lm-docs .lm-kb__step-toggle:hover .lm-kb__step-chevron { color: var(--lm-accent); }
#lm-docs .lm-kb__step-panel[hidden] { display: none !important; }
