:root {
    --ink: #171a21;
    --paper: #fff;
    --accent: #1559d5;
    --accent-dark: #1046aa;
    --accent-wash: #edf4ff;
    --line: #e4e7ed;
    --muted: #515a69;
    --surface: #f5f6f8;
    --page-width: 1584px;
    --gutter: clamp(18px, 2.5vw, 40px);
    color-scheme: light;
}

.lt-page { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
.lt-page *, .lt-header *, .lt-footer * { box-sizing: border-box; }
.lt-page [hidden], .lt-header [hidden] { display: none !important; }
.lt-header-actions { display: inline-flex; align-items: center; gap: 10px; }
.lt-page a { color: var(--accent-dark); text-underline-offset: .2em; }
.lt-page :focus-visible, .lt-header :focus-visible, .lt-footer :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip, .lt-visually-hidden { position: absolute; border: 0; padding: 0; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { top: 8px; left: 8px; z-index: 100; width: auto; height: auto; margin: 0; clip-path: none; padding: 10px 14px; background: white; }
.stage { padding: 5px 14px; text-align: center; color: #344a71; background: var(--accent-wash); border-bottom: 1px solid #dbe8fb; font-size: 12px; }

.lt-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.lt-header-inner, .lt-footer-inner { width: 100%; max-width: var(--page-width); margin-inline: auto; padding-inline: var(--gutter); }
.lt-header-inner { display: grid; grid-template-columns: auto auto minmax(160px, 1fr) auto; gap: clamp(18px, 2.7vw, 48px); align-items: center; min-height: 64px; }
.lt-header .brand, .lt-footer .brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 21px; font-weight: 760; line-height: 1; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.lt-brand-mark { color: var(--accent); flex: none; }
.lt-header-nav { display: flex; align-items: stretch; gap: clamp(16px, 2.1vw, 30px); align-self: stretch; }
.lt-header-nav a { display: flex; align-items: center; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; border-block: 2px solid transparent; }
.lt-header-nav a:hover, .lt-header-nav a[aria-current] { color: var(--accent-dark); }
.lt-header-nav a[aria-current] { border-bottom-color: var(--accent); }
.lt-search { width: min(100%, 550px); display: flex; align-items: center; min-height: 39px; margin: 0 auto; background: var(--surface); border: 1px solid #eff0f3; border-radius: 7px; overflow: hidden; }
.lt-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-wash); }
.lt-search input { width: 100%; min-width: 0; min-height: 38px; padding: 0 0 0 13px; border: 0; background: transparent; color: var(--ink); outline: 0; font: inherit; font-size: 14px; }
.lt-search input:focus-visible { outline: none; }
.lt-search button { display: grid; place-items: center; flex: 0 0 46px; margin: 0; min-height: 38px; padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.lt-search button:focus-visible { outline-offset: -3px; }
.lt-search button:hover, .lt-header .lt-account-link:hover { color: var(--accent-dark); background: var(--accent-wash); }
.lt-header .lt-account-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; color: var(--ink); border: 1px solid var(--line); border-radius: 7px; padding: 0 11px; font-size: 13px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.lt-account-link svg { flex: none; }

.lt-page main { display: block; min-height: 55vh; }
.lt-catalog { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(24px, 2.4vw, 38px); width: 100%; max-width: var(--page-width); margin-inline: auto; padding: 29px var(--gutter) 60px; }
.lt-sidebar { min-width: 0; align-self: start; position: sticky; top: 91px; padding-right: 16px; border-right: 1px solid var(--line); }
.lt-categories { display: grid; gap: 4px; }
.lt-categories h2 { margin: 0 0 8px; padding-left: 9px; font-size: 15px; font-weight: 700; }
.lt-categories a { display: flex; gap: 9px; align-items: center; min-height: 41px; padding: 6px 9px; border-radius: 6px; color: #333c4b; text-decoration: none; font-size: 13px; font-weight: 550; }
.lt-categories a svg { width: 19px; height: 19px; flex: none; color: #576272; }
.lt-categories a:hover { background: var(--surface); }
.lt-categories a[aria-current] { color: var(--accent-dark); background: var(--accent-wash); font-weight: 700; }
.lt-categories a[aria-current] svg { color: var(--accent); }
.lt-sidebar-help { margin: 19px 0 0; border-top: 1px solid var(--line); padding: 15px 8px 0; font-size: 13px; color: var(--muted); }
.lt-sidebar-help p { margin: 0 0 8px; }
.lt-sidebar-help p:first-child, .lt-sidebar-help a { display: flex; align-items: center; gap: 6px; }
.lt-sidebar-help strong { color: var(--ink); }
.lt-sidebar-help svg { width: 16px; height: 16px; flex: none; color: var(--accent); }
.lt-sidebar-help a { width: fit-content; text-decoration: none; font-weight: 650; }

.lt-catalog-intro { margin-bottom: 17px; }
.lt-catalog-intro h1 { margin: 0 0 3px; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.19; font-weight: 740; letter-spacing: -.035em; }
.lt-catalog-intro p { margin: 0; color: var(--muted); font-size: 14px; }
.lt-license-strip { display: flex; align-items: center; gap: 11px; min-height: 64px; background: var(--accent-wash); border: 1px solid #d9e7fd; padding: 10px 13px; border-radius: 8px; }
.lt-license-mark { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 6px; background: #dbeaff; color: var(--accent-dark); }
.lt-license-strip div { flex: 1; min-width: 0; display: grid; row-gap: 1px; line-height: 1.35; }
.lt-license-strip strong { font-size: 14px; color: #183a72; }
.lt-license-strip div span { font-size: 13px; color: #3d5276; }
.lt-license-strip a { display: inline-flex; align-items: center; flex-direction: row-reverse; gap: 6px; padding: 6px; font-weight: 650; white-space: nowrap; font-size: 13px; text-decoration: none; }
.lt-license-strip a:hover, .lt-sidebar-help a:hover { text-decoration: underline; }
.lt-license-strip a svg { width: 17px; height: 17px; }
.lt-model-states { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.lt-model-states a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.lt-model-states a[aria-current] { background: var(--accent-wash); border-color: var(--accent); font-weight: 600; }
.lt-results-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 23px 0 12px; }
.lt-results-bar h2 { margin: 0; font-size: 21px; line-height: 1.25; letter-spacing: -.025em; }
.lt-results-bar p { color: var(--muted); font-size: 12px; margin: 2px 0 0; overflow-wrap: anywhere; }
.lt-results-bar p:empty { display: none; }
.lt-sort { flex: none; display: flex; gap: 7px; align-items: center; margin: 0; font-size: 13px; color: var(--muted); }
.lt-sort select { width: auto; max-width: 128px; min-height: 36px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); padding: 0 6px; font: inherit; font-weight: 600; }
.lt-sort button { padding: 8px; }
.lt-model-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.lt-model-card { min-width: 0; border-radius: 8px; border: 1px solid var(--line); overflow: hidden; background: white; transition: border-color .16s ease, box-shadow .16s ease; }
.lt-model-card:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.lt-model-card:hover { border-color: #b8c5da; box-shadow: 0 2px 8px #162d5412; }
.lt-model-card .lt-model-link { height: 100%; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.lt-model-picture { display: grid; place-items: center; aspect-ratio: 4/3; overflow: hidden; background: #f0f1f4; border-bottom: 1px solid #edf0f4; }
.lt-model-picture img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.lt-model-card:hover img { transform: scale(1.035); }
.lt-model-missing { align-content: center; justify-items: center; gap: 5px; color: var(--muted); font-size: 12px; }
.lt-model-missing svg { width: 27px; height: 27px; }
.lt-model-meta { flex: 1; padding: 9px 10px; display: flex; flex-direction: column; }
.lt-model-meta h3 { margin: 0; font-size: 14px; line-height: 1.28; font-weight: 700; overflow-wrap: anywhere; }
.lt-model-card:hover h3 { color: var(--accent-dark); }
.lt-model-meta p { flex: 1; margin: 3px 0 7px; font-size: 12px; line-height: 1.25; color: var(--muted); }
.lt-model-bottom { display: flex; justify-content: space-between; gap: 4px; align-items: center; padding-top: 6px; border-top: 1px solid #f1f2f5; color: var(--muted); font-size: 11px; }
.lt-model-bottom span { display: inline-flex; gap: 3px; align-items: center; }
.lt-model-bottom svg { width: 13px; height: 13px; flex: none; color: var(--accent); }
.lt-model-bottom strong { font-size: 13px; white-space: nowrap; color: var(--ink); }
.lt-empty { margin: 22px 0 0; padding: 38px 20px; border: 1px dashed #d5dce8; border-radius: 8px; text-align: center; color: var(--muted); }
.lt-empty > svg { width: 28px; height: 28px; color: var(--accent); }
.lt-empty h2 { margin: 7px 0 0; font-size: 19px; color: var(--ink); }
.lt-empty p { margin: 4px 0 8px; }

.lt-page .article { width: min(calc(100% - 2 * var(--gutter)), 760px); margin-inline: auto; padding: 48px 0 64px; }
.lt-page .article.wide { width: min(calc(100% - 2 * var(--gutter)), 960px); }
.lt-page .article h1 { margin: 0 0 14px; font-size: clamp(27px, 3.5vw, 42px); line-height: 1.17; letter-spacing: -.035em; }
.lt-page .article h2 { margin: 28px 0 8px; font-size: 21px; line-height: 1.24; }
.lt-page .article h2:first-child { margin-top: 0; }
.lt-page .eyebrow { margin: 0 0 9px; color: var(--accent-dark); font-size: 13px; font-weight: 700; }
.lt-page .lead { color: var(--muted); font-size: 17px; }
.lt-page .micro { color: var(--muted); font-size: 13px; }
.lt-page .notice { background: var(--accent-wash); border-left: 3px solid var(--accent); padding: 12px 17px; font-size: 14px; }
.lt-page .notice.danger { background: #fff4f4; border-color: #b33f43; }
.lt-page .article summary { cursor: pointer; font-weight: 650; }
.lt-page .article details { padding: 14px 0; border-bottom: 1px solid var(--line); }
.lt-page .panel { padding: 18px; border: 1px solid var(--line); border-radius: 8px; }
.lt-page .licenses { display: grid; gap: 14px; }
.lt-page .article label { display: block; margin: 12px 0; font-size: 14px; }
.lt-page .article input:not([type=checkbox]), .lt-page .article textarea, .lt-page .article select { display: block; width: 100%; border: 1px solid #cbd3df; border-radius: 6px; background: white; color: var(--ink); padding: 9px 11px; margin-top: 4px; font: inherit; }
.lt-page .article .button, .lt-page .article button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; margin: 9px 0; padding: 9px 14px; border: 1px solid transparent; border-radius: 6px; background: var(--accent); color: white; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.lt-page .article .button:hover, .lt-page .article button:hover { background: var(--accent-dark); }
.lt-page .article button.secondary { border-color: var(--line); background: white; color: var(--accent-dark); }
.lt-page .article button.secondary:hover { background: var(--accent-wash); }
.lt-page .article .check { display: flex; align-items: flex-start; gap: 7px; }
.lt-page fieldset { margin: 18px 0; padding: 7px 14px; border: 1px solid var(--line); border-radius: 6px; }
.lt-page legend { padding: 0 5px; font-size: 13px; }
.lt-page .form-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.lt-page .terms { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 14px; }
.lt-legal-info { max-width: 490px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 7px 14px; border-block: 1px solid var(--line); padding-block: 14px; }
.lt-legal-info dt { font-weight: 650; }
.lt-legal-info dd { margin: 0; }

.lt-footer { border-top: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 14px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
.lt-footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding-block: 27px; }
.lt-footer .brand { font-size: 18px; }
.lt-footer p { margin: 6px 0 0; color: var(--muted); }
.lt-footer nav { display: flex; gap: 6px 19px; flex-wrap: wrap; }
.lt-footer nav a { color: var(--muted); text-decoration: none; }
.lt-footer nav a:hover { color: var(--accent-dark); text-decoration: underline; }

@media (max-width: 1370px) { .lt-model-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
    .lt-catalog { grid-template-columns: 174px minmax(0, 1fr); gap: 20px; }
    .lt-model-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lt-sidebar { padding-right: 10px; }
}
@media (max-width: 780px) {
    .lt-header { position: relative; }
    .lt-header-inner { grid-template-columns: 1fr auto; grid-template-areas: "logo account" "search search" "nav nav"; gap: 0 10px; padding-top: 10px; }
    .lt-header .brand { grid-area: logo; }
    .lt-header .lt-account-link { grid-area: account; }
    .lt-search { grid-area: search; width: 100%; margin-top: 9px; }
    .lt-header-nav { grid-area: nav; gap: 23px; height: 42px; }
    .lt-catalog { display: flex; flex-direction: column; gap: 0; padding-top: 0; }
    .lt-sidebar { order: 0; position: static; min-width: 0; width: 100%; padding-right: 0; border: 0; }
    .lt-categories { display: flex; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter) 9px; gap: 7px; scrollbar-width: thin; }
    .lt-categories h2, .lt-sidebar-help { display: none; }
    .lt-categories a { border: 1px solid var(--line); white-space: nowrap; min-height: 37px; flex: none; }
    .lt-categories a[aria-current] { border-color: #d4e4ff; }
    .lt-categories a svg { width: 16px; height: 16px; }
    .lt-catalog-intro { margin: 11px 0 13px; }
    .lt-results-bar { margin-top: 17px; }
    .lt-footer-inner { flex-direction: column; }
}
@media (max-width: 580px) {
    :root { --gutter: 14px; }
    .lt-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .lt-model-meta { padding: 7px 8px; }
    .lt-model-meta h3 { font-size: 13px; }
    .lt-license-strip { gap: 7px; padding: 8px; }
    .lt-license-strip strong { font-size: 13px; }
    .lt-license-strip div span { font-size: 12px; }
    .lt-license-strip a span, .lt-sort label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .lt-license-strip a { padding: 8px; }
    .lt-license-mark { flex-basis: 27px; height: 27px; }
    .lt-license-mark svg { width: 16px; height: 16px; }
    .lt-results-bar h2 { font-size: 19px; }
    .lt-page .form-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .lt-model-card, .lt-model-picture img { transition: none; } }
