.lc-directory,
.lc-evidence {
  min-width: 0;
  scroll-margin-top: calc(22px - clamp(54px, 7vw, 100px));
  padding-block: clamp(54px, 7vw, 100px);
  color: var(--ink);
}

.lc-directory {
  border-top: 1px solid var(--line);
}

.lc-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.lc-section-head h2,
.lc-story h2 {
  color: var(--ink);
  font-size: clamp(36px, 3.6vw, 54px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.052em;
}

.lc-section-head p,
.lc-story > p {
  max-width: 55ch;
  margin-top: 13px;
  color: #515d72;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
}

.lc-demo-foot button,
.lc-empty button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0;
  border: 0;
  color: var(--blue);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  min-height: 38px;
}


.lc-demo-foot button:hover,
.lc-empty button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lc-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.lc-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  min-width: 0;
}

.lc-filters button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.lc-filters button > span {
  font-family: SpaceMono, ui-monospace, monospace;
  color: #677489;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.lc-filters button:hover,
.lc-tail button:hover {
  background: var(--pale);
  color: var(--ink);
}

.lc-filters button[aria-pressed="true"] {
  color: var(--blue);
  background: var(--tint);
}

.lc-filters button[aria-pressed="true"] span {
  color: var(--blue);
}

.lc-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: clamp(150px, 17vw, 208px);
  flex: 0 1 208px;
  min-width: 126px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #cbd3df;
  border-radius: 6px;
  color: var(--muted);
}

.lc-search:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.lc-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  margin: 0;
  height: 100%;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-radius: 0;
  font-size: 13px;
}

.lc-search input:focus,
.lc-search input:focus-visible {
  outline: 0;
}

.lc-colheads,
.lc-rowline {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(105px, .46fr) minmax(185px, .7fr);
  align-items: center;
  gap: 12px;
  padding-inline: 12px;
}

.lc-colheads {
  min-height: 38px;
  color: var(--muted);
  background: #f6f8fa;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.lc-colheads > :last-child {
  text-align: left;
}

.lc-rows,
.lc-graph ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lc-row {
  border-bottom: 1px solid var(--line);
}

.lc-rowline {
  min-height: 68px;
  padding-block: 10px;
}

.lc-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.lc-identity > div {
  min-width: 0;
}

.lc-model-mark {
  display: block;
  flex: none;
  width: 32px;
  height: 32px;
  padding: 2px;
  object-fit: contain;
}

.lc-name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.lc-name:hover {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lc-identity small,
.lc-tail > span,
.lc-asof {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.lc-identity small {
  margin-top: 3px;
}

.lc-type,
.lc-try,
.lc-tail button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  line-height: 1.25;
}

.lc-type {
  color: #47546c;
}
.lc-rate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-self: start;
  min-height: 44px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  text-underline-offset: 3px;
}
.lc-rate:hover,
.lc-rate:focus-visible {
  text-decoration: underline;
}
.lc-type svg {
  flex: none;
  color: #72839b;
}

.lc-try,
.lc-tail button {
  justify-content: center;
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
}

.lc-try {
  padding: 0;
  color: var(--blue);
  min-height: 34px;
  font-size: 13px;
}
.lc-name svg { flex: none; color: var(--muted); }
.lc-price-pair {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1px 12px;
  min-height: 44px;
  align-content: center;
  color: var(--blue);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.lc-price-pair > span { white-space: nowrap; }
.lc-price-pair b { font-weight: 600; }
.lc-price-pair small { color: var(--muted); font-size: 11px; flex-basis: 100%; }
.lc-example-link { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); font-size: 13px; }
.lc-price-pair:hover, .lc-example-link:hover, .lc-try:hover { text-decoration: underline; text-underline-offset: 3px; }



.lc-name[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.lc-tail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 0;
  min-height: 42px;
}

.lc-tail button {
  color: var(--blue);
}

.lc-asof {
  padding-inline: 12px;
  color: #657281;
  font-size: 11px;
}

.lc-profile {
  margin: 0 12px 12px 60px;
  padding: 16px 18px;
  background: #f6f8fa;
  border-left: 2px solid #bdcde0;
  border-radius: 0 5px 5px 0;
}

.lc-profile dl,
.lc-profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
}

.lc-profile dl {
  margin: 0 0 12px;
}
.lc-profile dl div {
  min-width: 0;
}
.lc-profile dt,
.lc-profile p {
  color: var(--muted);
  font-size: 12px;
}
.lc-profile dd {
  margin: 2px 0 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.lc-profile dl div:first-child dd {
  font:
    12px/1.5 SpaceMono,
    ui-monospace,
    monospace;
}

.lc-empty {
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 36px 12px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.lc-empty p {
  font-size: 14px;
  color: var(--muted);
}

.lc-evidence {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(32px, 7vw, 110px);
  border-block: 1px solid var(--line);
}

.lc-story {
  min-width: 0;
}
.lc-story h2 {
  max-width: 11em;
  text-wrap: balance;
}
.lc-story > p {
  max-width: 38ch;
}

.lc-graph {
  max-width: 378px;
  margin-top: clamp(25px, 3vw, 41px);
}

.lc-graph figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.lc-graph figcaption strong {
  color: var(--blue);
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.lc-bar {
  display: flex;
  gap: 3px;
  height: 10px;
  margin: 11px 0 9px;
  overflow: hidden;
  border-radius: 3px;
}

.lc-bar i {
  background: var(--blue);
}
.lc-bar i:last-child {
  background: var(--mint);
}

.lc-graph ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3px 10px;
}

.lc-graph li {
  display: flex;
  gap: 5px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.lc-graph b {
  color: var(--ink);
  font-weight: 500;
}
.lc-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--blue);
}
.lc-dot.lc-out {
  background: var(--mint);
}
.lc-payable {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 14px;
  padding-block: 11px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
}
.lc-payable strong {
  color: var(--blue);
  font-size: 20px;
  white-space: nowrap;
}

.lc-specimen {
  min-width: 0;
  border: 1px solid #cfd8e4;
  border-radius: 11px;
  overflow: hidden;
  background: white;
}

.lc-specimen-head,
.lc-demo-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px clamp(16px, 2vw, 26px);
}

.lc-specimen-head {
  background: #f5f7fa;
  border-bottom: 1px solid var(--line);
}
.lc-specimen-head span {
  font-size: 14px;
  color: var(--muted);
}
.lc-specimen-head strong { font-size: 15px; }

.lc-tabs {
  display: flex;
  gap: 17px;
  padding-inline: clamp(16px, 2vw, 26px);
  border-bottom: 1px solid var(--line);
}

.lc-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  min-height: 43px;
  padding: 0 1px;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
}

.lc-tabs button[aria-pressed="true"] {
  color: var(--blue);
  border-color: var(--blue);
}
.lc-tabs button:hover {
  color: var(--blue);
}
.lc-tabs button:focus-visible {
  outline-offset: -3px;
}

.lc-sample-body {
  min-height: 197px;
  padding: 22px clamp(16px, 2vw, 26px);
}

.lc-sample-body h3 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.lc-sample-body > p {
  margin-top: 5px;
  font-size: 14px;
  color: var(--muted);
}
.lc-sample-body pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 13px;
  margin-top: 14px;
  border-left: 2px solid var(--mint);
  border-radius: 0 5px 5px 0;
  background: #f2f6f6;
  color: var(--blue);
  font:
    12px/1.65 SpaceMono,
    ui-monospace,
    monospace;
}

.lc-math {
  margin-top: 8px;
}
.lc-math > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  font-size: 13px;
}
.lc-math small {
  display: inline-block;
  margin-left: 7px;
  color: var(--muted);
  font-size: 11px;
}
.lc-math b {
  white-space: nowrap;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.lc-math .lc-sum {
  border-top: 1px solid var(--line);
  margin-top: 5px;
  padding-top: 9px;
  font-weight: 600;
}

.lc-demo-foot {
  border-top: 1px solid var(--line);
  padding-block: 11px;
}
.lc-demo-foot small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
.lc-demo-foot button {
  gap: 6px;
  font-size: 13px;
}

@media (max-width: 870px) {
  .lc-tools {
    flex-wrap: wrap-reverse;
  }
  .lc-search {
    flex: 0 1 230px;
  }
  .lc-evidence {
    gap: 35px;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
  .lc-math small {
    display: block;
    margin-left: 0;
  }
}

@media (max-width: 680px) {
  .lc-directory,
  .lc-evidence {
    scroll-margin-top: -28px;
    padding-block: 50px;
  }
  .lc-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 17px;
  }
  .lc-section-head h2,
  .lc-story h2 {
    font-size: clamp(32px, 8.4vw, 41px);
  }
  .lc-section-head p,
  .lc-story > p {
    margin-top: 10px;
  }
  .lc-tools {
    display: grid;
    gap: 8px;
    padding-bottom: 12px;
  }
  .lc-search {
    grid-row: 1;
    width: 100%;
  }
  .lc-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 4px 2px 4px;
    scrollbar-width: thin;
  }
  .lc-filters button {
    flex-shrink: 0;
    min-height: 36px;
  }
  .lc-filters button:focus-visible {
    outline-offset: -2px;
  }
  .lc-rowline,
  .lc-colheads {
    grid-template-columns: minmax(0, 1.25fr) minmax(98px, .78fr);
    column-gap: 6px;
    min-width: 0;
    padding-inline: 3px;
  }
  .lc-rowline {
    min-height: 62px;
  }
  .lc-colheads > :nth-child(2),
  .lc-type {
    display: none;
  }
  .lc-colheads {
    min-height: 31px;
    padding-inline: 8px;
  }
  .lc-colheads > :last-child {
    padding-right: 1px;
  }
  .lc-identity {
    gap: 8px;
  }
  .lc-model-mark {
    width: 28px;
    height: 28px;
  }
  .lc-name {
    font-size: 14px;
  }
  .lc-identity small {
    font-size: 11px;
  }
  .lc-tail {
    padding-inline: 2px;
  }
  .lc-asof {
    padding-inline: 2px;
  }
  .lc-try { font-size: 12px; text-align: left; }
  .lc-try svg { display: none; }
  .lc-price-pair { display: grid; gap: 2px; font-size: 12px; }
  .lc-price-pair > span { white-space: normal; }
  .lc-model-mark { align-self: flex-start; }
  .lc-profile {
    margin-left: 3px;
    margin-right: 3px;
  }
  .lc-evidence {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
  }
  .lc-graph {
    margin-top: 18px;
  }
  .lc-sample-body {
    min-height: 165px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .lc-name svg {
    transition: transform 170ms ease;
  }
  .lc-sample-body,
  .lc-profile {
    animation: lc-arrive 180ms ease-out both;
  }
  @keyframes lc-arrive {
    from {
      opacity: 0.4;
      transform: translateY(3px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

.lc-recorded-value {display:table;margin-top:18px;padding:6px 12px;color:#174535;background:#e4f4ed;border-radius:4px;font-size:16px;font-weight:600}
.lc-input-text {margin:14px 0 0;padding:13px 15px;color:#30445b;background:#f1f5f7;border-radius:6px;font:inherit}
