/* Public Models catalog and detail pages. No terminal, wallet or auth selectors. */
body.hl-site #main:has(> .ms-discovery) { background: var(--site-bg, #0f1a1f) !important; min-width: 0; }
body.hl-site .ms-discovery {
  --ms-bg: var(--site-bg, #0f1a1f);
  --ms-surface: var(--site-surface, #1b2529);
  --ms-border: var(--site-border, #26343a);
  --ms-text: var(--site-text, #e7efee);
  --ms-muted: var(--site-muted, #95a5a7);
  --ms-accent: var(--site-accent, #50d2c1);
  width: 100%;
  max-width: 1320px;
  min-width: 0;
  margin: 0 auto;
  padding: 18px 6px 44px;
  color: var(--ms-text);
  background: var(--ms-bg);
  font-family: var(--site-font-sans, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 14px;
  line-height: 1.45;
  color-scheme: dark;
  overflow-wrap: break-word;
}
body.hl-site .ms-discovery *,
body.hl-site .ms-discovery *::before,
body.hl-site .ms-discovery *::after { box-sizing: border-box; }
body.hl-site .ms-discovery [hidden] { display: none !important; }
body.hl-site .ms-discovery h1,
body.hl-site .ms-discovery h2,
body.hl-site .ms-discovery h3,
body.hl-site .ms-discovery p,
body.hl-site .ms-discovery ul,
body.hl-site .ms-discovery dl { margin: 0; }
body.hl-site .ms-discovery h1,
body.hl-site .ms-discovery h2,
body.hl-site .ms-discovery h3 { color: var(--ms-text); font-family: inherit; }
body.hl-site .ms-discovery h1 { font-size: 27px; line-height: 1.2; font-weight: 600; letter-spacing: -.025em; }
body.hl-site .ms-discovery h2 { font-size: 16px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; }
body.hl-site .ms-discovery button,
body.hl-site .ms-discovery input,
body.hl-site .ms-discovery select {
  font: inherit;
  font-size: 14px;
  line-height: 1.3;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
}
body.hl-site .ms-discovery button { cursor: pointer; }
body.hl-site .ms-discovery button:disabled { cursor: default; opacity: .5; }
body.hl-site .ms-discovery a { color: var(--ms-accent); text-decoration: none; }
body.hl-site .ms-discovery a:hover { text-decoration: none; }
body.hl-site .ms-discovery :focus-visible { outline: 2px solid var(--ms-accent) !important; outline-offset: 3px; }
body.hl-site .ms-discovery .ms-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
body.hl-site .ms-page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
body.hl-site .ms-page-heading p { color: var(--ms-muted); margin-top: 7px; font-size: 14px; }
body.hl-site .ms-eyebrow { display: block; color: var(--ms-muted); font-size: 10px; font-weight: 600; letter-spacing: .13em; margin-bottom: 9px; }
body.hl-site .ms-catalog-tools { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-width: 0; padding-bottom: 14px; border-bottom: 1px solid var(--ms-border); }
body.hl-site .ms-source-tabs { display: flex; align-self: stretch; align-items: stretch; gap: 22px; flex: 0 0 auto; }
body.hl-site .ms-source-tabs button {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 0;
  padding: 0 1px;
  border: 0;
  border-radius: 0;
  color: var(--ms-muted);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
}
body.hl-site .ms-source-tabs button[aria-pressed="true"] { color: var(--ms-accent); }
body.hl-site .ms-source-tabs button[aria-pressed="true"]::after { content: ""; position: absolute; bottom: -15px; height: 2px; left: 0; right: 0; background: var(--ms-accent); }
body.hl-site .ms-search { display: flex; align-items: center; flex: 0 1 490px; min-width: 0; height: 40px; margin: 0; border: 1px solid #334348; border-radius: 5px; background: var(--ms-surface); }
body.hl-site .ms-search:focus-within { border-color: var(--ms-accent); }
body.hl-site .ms-search-icon { padding-left: 12px; color: var(--ms-muted); font-size: 22px; line-height: 1; }
body.hl-site .ms-search input {
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  height: 38px;
  margin: 0;
  padding: 0 9px;
  border: 0 !important;
  border-radius: 4px;
  background: transparent !important;
  color: var(--ms-text) !important;
  outline: none !important;
  box-shadow: none !important;
}
body.hl-site .ms-search input::placeholder { color: #8d9c9f; opacity: 1; }
body.hl-site .ms-search button { flex: 0 0 auto; height: 30px; min-width: 67px; margin: 4px; padding: 0 12px; border: 0; border-radius: 3px; color: #092c29; background: var(--ms-accent); font-weight: 600; font-size: 12px; }
body.hl-site .ms-search button:hover { background: #7ce1d4; }
body.hl-site .ms-filters { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; min-width: 0; padding: 17px 0 14px; }
body.hl-site .ms-filter-toggle { display: none; }
body.hl-site .ms-filter-fields { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; min-width: 0; }
body.hl-site .ms-filters label { display: flex; flex-direction: column; gap: 5px; min-width: 0; margin: 0; color: var(--ms-muted); font-size: 11px; font-weight: 400; }
body.hl-site .ms-filters select {
  width: auto;
  min-width: 126px;
  max-width: 190px;
  height: 34px;
  margin: 0;
  padding: 0 28px 0 10px;
  border: 1px solid var(--ms-border);
  border-radius: 4px;
  color: var(--ms-text) !important;
  background-color: var(--ms-surface) !important;
  border-color: var(--ms-border) !important;
  font-size: 12px;
  appearance: auto;
}
body.hl-site .ms-sort { flex: 0 0 auto; }
body.hl-site .ms-sort select { min-width: 165px; }
body.hl-site .ms-results-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 31px; padding: 4px 0 8px; color: var(--ms-text); font-size: 12px; }
body.hl-site .ms-reset { min-height: 30px; padding: 3px 0 3px 8px; border: 0; color: var(--ms-accent); background: transparent; font-size: 12px !important; }
body.hl-site .ms-source-note { padding: 0 0 12px; max-width: 100%; color: var(--ms-muted); font-size: 12px; line-height: 1.5; }
body.hl-site .ms-list { border: 1px solid var(--ms-border); border-radius: 5px; background: var(--ms-bg); min-width: 0; }
body.hl-site .ms-list-head,
body.hl-site .ms-model-row { display: grid; grid-template-columns: minmax(235px, 2.5fr) minmax(80px, .8fr) minmax(85px, .8fr) minmax(95px, .9fr) minmax(100px, 1fr) minmax(128px, 1fr); align-items: center; gap: 14px; min-width: 0; }
body.hl-site .ms-list-head { min-height: 34px; padding: 0 16px; color: var(--ms-muted); background: var(--ms-surface); border-radius: 4px 4px 0 0; font-size: 11px; }
body.hl-site .ms-list-head > span:not(:first-child) { text-align: right; }
body.hl-site .ms-model-list { list-style: none; padding: 0; }
body.hl-site .ms-model-list > li { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ms-border); }
body.hl-site .ms-model-row { min-height: 48px; padding: 6px 16px; color: var(--ms-text); transition: background-color .12s; }
body.hl-site a.ms-model-row:hover { color: var(--ms-text); background: #19262b; }
body.hl-site a.ms-model-row:focus-visible { outline-offset: -3px; border-radius: 4px; }
body.hl-site .ms-model-row > span { min-width: 0; }
body.hl-site .ms-model-identity { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; }
body.hl-site .ms-model-owner { display: none; font-size: 11px; color: var(--ms-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.hl-site .ms-model-name { font-size: 13px; font-weight: 500; line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.hl-site .ms-model-tags { color: var(--ms-muted); font-size: 11px; line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.hl-site .ms-model-stat { display: flex; align-items: flex-end; justify-content: center; flex-direction: column; gap: 1px; text-align: right; font-variant-numeric: tabular-nums; }
body.hl-site .ms-model-stat b { font-size: 13px; font-weight: 400; white-space: nowrap; }
body.hl-site .ms-model-stat small { color: var(--ms-muted); font-size: 10px; line-height: 1; }
body.hl-site .ms-model-license { text-align: right; font-size: 12px; }
body.hl-site .ms-model-license > span:last-child { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.hl-site .ms-mobile-label { display: none; }
body.hl-site .ms-model-availability { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
body.hl-site .ms-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 0; min-height: 23px; max-width: 100%; padding: 3px 7px; border: 1px solid #34464b; border-radius: 4px; color: #b8c8c9; background: #1c2b30; font-size: 10px; font-weight: 500; line-height: 1.25; white-space: normal; text-align: center; }
body.hl-site .ms-badge-misaka { border-color: #2d504b; color: #88dcd0; background: #142e2d; }
body.hl-site .ms-row-arrow { color: #809699; font-size: 17px; }
body.hl-site .ms-list-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; padding: 12px 1px; color: var(--ms-muted); font-size: 12px; }
body.hl-site .ms-list-footer .ms-error { color: #ebaaa4; }
body.hl-site .ms-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 245px; padding: 32px 20px; text-align: center; }
body.hl-site .ms-empty-symbol { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; color: #91b6b3; background: #182d31; border: 1px solid #2a4246; border-radius: 12px; font-size: 31px; }
body.hl-site .ms-empty h2 { margin-top: 3px; font-size: 17px; }
body.hl-site .ms-empty p { max-width: 530px; color: var(--ms-muted); font-size: 13px; line-height: 1.65; }
body.hl-site .ms-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  min-width: 0;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #082d29 !important;
  background: var(--ms-accent);
  font-size: 12px !important;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
}
body.hl-site .ms-button:hover { background: #7ce1d4; }
body.hl-site .ms-button-quiet { border-color: #3b5056; color: var(--ms-text) !important; background: #1c2b30; font-weight: 500; }
body.hl-site .ms-button-quiet:hover { background: #273940; border-color: #4b666e; }
body.hl-site .ms-text-link { display: inline-flex; align-items: center; min-height: 30px; gap: 4px; font-size: 12px; }
body.hl-site .ms-text-link:hover { color: #9ce8dc; }
body.hl-site .ms-breadcrumb { margin-bottom: 20px; color: var(--ms-muted); }
body.hl-site .ms-breadcrumb a { font-size: 13px; color: var(--ms-muted); }
body.hl-site .ms-breadcrumb a:hover { color: var(--ms-accent); }
body.hl-site .ms-detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 0; margin-bottom: 20px; }
body.hl-site .ms-detail-title { flex: 1 1 auto; min-width: 0; }
body.hl-site .ms-detail-title h1 { margin-top: 9px; overflow-wrap: anywhere; }
body.hl-site .ms-detail-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--ms-muted); font-size: 12px; }
body.hl-site .ms-detail-kicker > span { min-width: 0; overflow-wrap: anywhere; }
body.hl-site .ms-model-id { margin-top: 6px !important; color: var(--ms-muted); font-size: 11px; overflow-wrap: anywhere; }
body.hl-site .ms-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 0 auto; max-width: 42%; }
body.hl-site .ms-external-metrics { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 0 0 19px; color: var(--ms-muted); font-size: 12px; }
body.hl-site .ms-external-metrics b { margin-right: 4px; font-weight: 500; color: var(--ms-text); font-variant-numeric: tabular-nums; }
body.hl-site .ms-detail-tabs { display: flex; align-items: stretch; gap: 26px; min-width: 0; border-bottom: 1px solid var(--ms-border); }
body.hl-site .ms-detail-tabs button { position: relative; min-height: 43px; margin: 0; padding: 0 2px; border: 0; border-radius: 0; background: transparent; color: var(--ms-muted); font-size: 13px; font-weight: 500; }
body.hl-site .ms-detail-tabs button[aria-selected="true"] { color: var(--ms-accent); }
body.hl-site .ms-detail-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ms-accent); }
body.hl-site .ms-detail-panel { min-width: 0; padding-top: 22px; }
body.hl-site .ms-overview-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, 1fr); gap: 24px; }
body.hl-site .ms-section { min-width: 0; margin-bottom: 24px; }
body.hl-site .ms-section h2 { margin-bottom: 13px; }
body.hl-site .ms-description { max-width: 78ch; color: #c5d1d2; font-size: 12px; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
body.hl-site .ms-inline-source { margin-top: 16px; }
body.hl-site .ms-specifications { padding: 18px 19px; border: 1px solid var(--ms-border); border-radius: 5px; background: var(--ms-surface); }
body.hl-site .ms-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 20px; }
body.hl-site .ms-fact { min-width: 0; }
body.hl-site .ms-fact dt { margin: 0 0 4px; color: var(--ms-muted); font-size: 11px; }
body.hl-site .ms-fact dd { margin: 0; color: var(--ms-text); font-size: 13px; line-height: 1.5; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
body.hl-site .ms-fact-revision dd { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; }
body.hl-site .ms-detail-notes { display: block; padding-top: 14px; border-top: 1px solid var(--ms-border); color: var(--ms-muted); font-size: 12px; line-height: 1.65; }
body.hl-site .ms-detail-notes p + p { margin-top: 6px; }
body.hl-site .ms-section-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 13px; }
body.hl-site .ms-section-heading h2 { margin: 0; }
body.hl-site .ms-section-heading > span { color: var(--ms-muted); font-size: 12px; }
body.hl-site .ms-sources,
body.hl-site .ms-files { padding: 0; list-style: none; border: 1px solid var(--ms-border); border-radius: 5px; background: var(--ms-surface); }
body.hl-site .ms-source-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0; padding: 14px 16px; list-style: none; border-top: 1px solid var(--ms-border); }
body.hl-site .ms-source-row:first-child { border-top: 0; }
body.hl-site .ms-source-row > div { flex: 1 1 auto; min-width: 0; }
body.hl-site .ms-source-row strong { display: block; font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
body.hl-site .ms-source-host { display: block; margin-top: 3px; color: var(--ms-muted); font-size: 11px; overflow-wrap: anywhere; }
body.hl-site .ms-source-row p { margin-top: 6px; color: var(--ms-muted); font-size: 11px; overflow-wrap: anywhere; }
body.hl-site .ms-source-row .ms-button { flex: 0 0 auto; }
body.hl-site .ms-file-heading,
body.hl-site .ms-file-row { display: grid; grid-template-columns: minmax(0, 1fr) 100px 90px; align-items: center; gap: 16px; }
body.hl-site .ms-file-heading { margin-top: 14px; padding: 9px 16px; color: var(--ms-muted); font-size: 11px; }
body.hl-site .ms-file-row { min-height: 49px; margin: 0; padding: 7px 16px; list-style: none; border-top: 1px solid var(--ms-border); }
body.hl-site .ms-file-row:first-child { border-top: 0; }
body.hl-site .ms-file-row > div { min-width: 0; }
body.hl-site .ms-file-name { display: block; color: var(--ms-text); font-size: 12px; overflow-wrap: anywhere; }
body.hl-site .ms-file-row small { color: var(--ms-muted); font-size: 10px; }
body.hl-site .ms-file-size { color: #bac9ca; font-size: 12px; font-variant-numeric: tabular-nums; }
body.hl-site .ms-file-download { display: inline-flex; align-items: center; justify-content: flex-end; min-height: 32px; font-size: 12px; }
body.hl-site .ms-file-row > span:last-child { text-align: right; }
body.hl-site .ms-muted { color: var(--ms-muted); font-size: 13px; line-height: 1.6; }
body.hl-site .ms-artifact-label { margin: 0 0 12px !important; color: var(--ms-text); font-size: 12px; overflow-wrap: anywhere; }
body.hl-site .ms-transport-link { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; padding: 5px 0; }
body.hl-site .ms-transport-link > span { color: var(--ms-muted); font-size: 11px; }
body.hl-site .ms-access-note { margin-bottom: 24px; padding: 15px 17px; border: 1px solid #4e4a34; border-radius: 5px; background: #27271d; }
body.hl-site .ms-access-note strong { color: #e1cd8d; font-size: 13px; font-weight: 500; }
body.hl-site .ms-access-note p { max-width: 75ch; margin: 6px 0 12px; color: #c2c0ac; font-size: 12px; line-height: 1.65; }
body.hl-site .ms-market-empty { max-width: 720px; padding: 12px 0 28px; }
body.hl-site .ms-market-empty h2 { margin: 14px 0 10px; font-size: 19px; }
body.hl-site .ms-market-empty p { margin-bottom: 8px; color: var(--ms-muted); font-size: 13px; line-height: 1.7; }
body.hl-site .ms-market-empty .ms-button { margin-top: 10px; }
body.hl-site .ms-market-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px; border: 1px solid var(--ms-border); border-radius: 5px; background: var(--ms-surface); }
body.hl-site .ms-market-summary > div { min-width: 0; }
body.hl-site .ms-market-summary h2 { margin-top: 10px; }
body.hl-site .ms-market-summary p { margin-top: 7px; color: var(--ms-muted); font-size: 13px; }
body.hl-site .ms-market-summary > .ms-button { flex: 0 0 auto; }
body.hl-site .ms-market-facts { padding: 22px 2px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.hl-site .ms-market-facts .ms-fact-revision { grid-column: 1 / -1; }
body.hl-site .ms-detail-status { min-height: 18px; margin-top: 15px; color: var(--ms-muted); font-size: 12px; }

@media (max-width: 1100px) {
  body.hl-site .ms-list-head,
  body.hl-site .ms-model-row { grid-template-columns: minmax(200px, 2.3fr) 74px 78px 86px 94px 112px; gap: 11px; padding-left: 12px; padding-right: 12px; }
  body.hl-site .ms-filters { gap: 12px; }
  body.hl-site .ms-filter-fields { gap: 9px; }
  body.hl-site .ms-filters select { min-width: 108px; max-width: 155px; }
  body.hl-site .ms-sort select { min-width: 150px; }
}

@media (max-width: 980px) {
  body.hl-site .ms-search { height: 46px; }
  body.hl-site .ms-search input { height: 44px; min-height: 44px; font-size: 16px !important; }
  body.hl-site .ms-search button { height: 44px; min-height: 44px; margin: 0; border-radius: 0 4px 4px 0; }
  body.hl-site .ms-filters select { height: 44px; min-height: 44px; font-size: 16px !important; }
  body.hl-site .ms-source-tabs button,
  body.hl-site .ms-detail-tabs button,
  body.hl-site .ms-button,
  body.hl-site .ms-file-download { min-height: 44px; }
}

@media (max-width: 880px) {
  body.hl-site .ms-discovery { padding: 12px 0 34px; }
  body.hl-site .ms-page-heading { margin-bottom: 19px; }
  body.hl-site .ms-catalog-tools { align-items: stretch; gap: 15px; }
  body.hl-site .ms-source-tabs { gap: 17px; }
  body.hl-site .ms-search { flex-basis: 410px; }
  body.hl-site .ms-filters { align-items: flex-start; }
  body.hl-site .ms-filter-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); flex: 1 1 auto; }
  body.hl-site .ms-filters select { width: 100%; max-width: none; }
  body.hl-site .ms-sort { flex: 0 0 156px; }
  body.hl-site .ms-list-head { display: none; }
  body.hl-site .ms-model-list > li:first-child { border-top: 0; }
  body.hl-site .ms-model-row { grid-template-columns: minmax(0, 1.7fr) minmax(0, .8fr) minmax(0, .8fr); gap: 10px 18px; min-height: 88px; padding: 12px 15px; }
  body.hl-site .ms-model-identity { grid-column: 1 / 3; }
  body.hl-site .ms-model-availability { grid-column: 3; grid-row: 1; }
  body.hl-site .ms-model-row > .ms-model-stat { grid-row: 2; align-items: flex-start; text-align: left; gap: 2px; }
  body.hl-site .ms-model-row > .ms-model-stat small { display: none; }
  body.hl-site .ms-model-row > .ms-model-stat:nth-child(2) { grid-column: 1; }
  body.hl-site .ms-model-row > .ms-model-stat:nth-child(3) { grid-column: 2; }
  body.hl-site .ms-model-metric { grid-column: 3; }
  body.hl-site .ms-model-license { grid-column: 1 / 3; grid-row: 3; display: flex; align-items: baseline; gap: 8px; text-align: left; }
  body.hl-site .ms-model-license > span:last-child { font-size: 11px; }
  body.hl-site .ms-model-stat b { font-size: 12px; }
  body.hl-site .ms-mobile-label { display: block; color: var(--ms-muted); font-size: 10px; font-weight: 400; }
  body.hl-site .ms-overview-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  body.hl-site .ms-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.hl-site .ms-market-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  body.hl-site .ms-discovery { padding: 8px 0 calc(24px + env(safe-area-inset-bottom)); font-size: 14px; }
  body.hl-site .ms-discovery h1 { font-size: 24px; line-height: 1.3; }
  body.hl-site .ms-page-heading { margin-bottom: 19px; }
  body.hl-site .ms-eyebrow { font-size: 9px; margin-bottom: 7px; }
  body.hl-site .ms-page-heading p { max-width: 38ch; font-size: 12px; line-height: 1.65; }
  body.hl-site .ms-catalog-tools { flex-direction: column; gap: 15px; padding-bottom: 14px; }
  body.hl-site .ms-source-tabs { gap: 24px; align-self: auto; }
  body.hl-site .ms-source-tabs button { min-height: 44px; font-size: 14px; }
  body.hl-site .ms-source-tabs button[aria-pressed="true"]::after { bottom: 0; }
  body.hl-site .ms-search { flex: none; height: 46px; width: 100%; }
  body.hl-site .ms-search input { min-height: 44px; font-size: 16px; }
  body.hl-site .ms-search button { min-height: 44px; height: 44px; min-width: 64px; margin: 0; border-radius: 0 4px 4px 0; font-size: 12px; }
  body.hl-site .ms-search-icon { padding-left: 10px; }
  body.hl-site .ms-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); align-items: flex-end; gap: 10px 12px; padding-top: 14px; }
  body.hl-site .ms-filter-toggle { display: inline-flex; justify-content: space-between; align-items: center; order: 0; min-width: 0; min-height: 44px; margin: 0; padding: 0 12px; border: 1px solid var(--ms-border); border-radius: 4px; color: var(--ms-text); background: var(--ms-surface); font-size: 12px; text-align: left; }
  body.hl-site .ms-filter-fields { width: 100%; gap: 10px; grid-column: 1 / -1; order: 2; }
  body.hl-site .ms-filters[data-ms-filters-open="false"] .ms-filter-fields { display: none; }
  body.hl-site .ms-filters label { gap: 4px; font-size: 10px; }
  body.hl-site .ms-filters select { height: 44px; min-width: 0; width: 100%; max-width: 100%; padding-left: 9px; font-size: 13px; }
  body.hl-site .ms-sort { flex: none; width: 100%; order: 1; flex-direction: column !important; align-items: stretch; justify-content: space-between; }
  body.hl-site .ms-sort select { width: 100%; max-width: none; }
  body.hl-site .ms-results-summary { min-height: 32px; padding-top: 0; font-size: 11px; }
  body.hl-site .ms-reset { min-height: 44px; }
  body.hl-site .ms-source-note { font-size: 11px; padding-bottom: 12px; line-height: 1.6; }
  body.hl-site .ms-model-row { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) minmax(0, 1fr); gap: 10px 8px; padding: 13px 12px; }
  body.hl-site .ms-model-identity { grid-column: 1 / -1; padding-right: 0; }
  body.hl-site .ms-model-name { font-size: 13px; white-space: normal; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  body.hl-site .ms-model-tags { margin-top: 2px; font-size: 10px; }
  body.hl-site .ms-model-owner { display: block; }
  body.hl-site .ms-model-stat b { font-size: 12px; }
  body.hl-site .ms-model-availability { grid-column: 2 / -1; grid-row: 3; justify-self: end; align-self: end; gap: 5px; }
  body.hl-site .ms-model-license { grid-column: 1; flex-direction: column; align-items: flex-start; gap: 2px; }
  body.hl-site .ms-badge { padding: 4px 6px; font-size: 9px; }
  body.hl-site .ms-row-arrow { font-size: 16px; }
  body.hl-site .ms-mobile-label { font-size: 9px; line-height: 1.4; }
  body.hl-site .ms-empty { min-height: 250px; padding: 28px 18px; }
  body.hl-site .ms-empty p { font-size: 12px; }
  body.hl-site .ms-button { min-height: 44px; padding: 10px 13px; }
  body.hl-site .ms-text-link { min-height: 44px; }
  body.hl-site .ms-breadcrumb { margin-bottom: 12px; }
  body.hl-site .ms-detail-heading { flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 18px; }
  body.hl-site .ms-detail-actions { max-width: none; width: 100%; }
  body.hl-site .ms-detail-actions > a { flex: 1 1 135px; }
  body.hl-site .ms-detail-kicker { font-size: 11px; }
  body.hl-site .ms-detail-kicker .ms-badge { font-size: 10px; }
  body.hl-site .ms-model-id { font-size: 10px; line-height: 1.65; }
  body.hl-site .ms-external-metrics { gap: 10px 16px; font-size: 11px; padding-bottom: 14px; }
  body.hl-site .ms-detail-tabs { display: grid; grid-template-columns: .8fr 1.12fr 1.08fr; gap: 8px; }
  body.hl-site .ms-detail-tabs button { min-height: 47px; padding: 4px 0; font-size: 12px; line-height: 1.4; }
  body.hl-site .ms-detail-panel { padding-top: 18px; }
  body.hl-site .ms-description { font-size: 12px; line-height: 1.8; }
  body.hl-site .ms-specifications { padding: 16px 14px; }
  body.hl-site .ms-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 14px; }
  body.hl-site .ms-fact dd { font-size: 12px; }
  body.hl-site .ms-fact-revision { grid-column: 1 / -1; }
  body.hl-site .ms-detail-notes { font-size: 11px; }
  body.hl-site .ms-section { margin-bottom: 21px; }
  body.hl-site .ms-section-heading { gap: 4px; flex-direction: column; }
  body.hl-site .ms-section-heading > span { font-size: 11px; }
  body.hl-site .ms-source-row { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px; }
  body.hl-site .ms-source-row .ms-button { align-self: flex-start; }
  body.hl-site .ms-file-heading { display: none; }
  body.hl-site .ms-files { margin-top: 14px; }
  body.hl-site .ms-file-row { grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; padding: 10px 12px; }
  body.hl-site .ms-file-row > div { grid-column: 1 / -1; }
  body.hl-site .ms-file-size { font-size: 11px; }
  body.hl-site .ms-file-download { min-height: 44px; }
  body.hl-site .ms-access-note { padding: 14px; }
  body.hl-site .ms-access-note p { font-size: 12px; }
  body.hl-site .ms-market-summary { flex-direction: column; align-items: stretch; gap: 16px; padding: 16px; }
  body.hl-site .ms-market-summary > .ms-button { align-self: flex-start; }
  body.hl-site .ms-market-empty h2 { font-size: 17px; }
  body.hl-site .ms-detail-status { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  body.hl-site .ms-discovery * { scroll-behavior: auto !important; transition: none !important; }
}

/* Rich Hugging Face README.md & API metadata styles */
body.hl-site .ms-overview-main,
body.hl-site .ms-overview-side { min-width: 0; }
body.hl-site .ms-overview-side .ms-specifications { position: sticky; top: 74px; }
body.hl-site .ms-variant-note { margin-top: 10px !important; color: #9db4b6; font-size: 12px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
body.hl-site .ms-tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
body.hl-site .ms-tag-pill { display: inline-flex; align-items: center; padding: 3px 8px; border: 1px solid #2b3e44; border-radius: 999px; background: #152227; color: #b5c8c9; font-size: 11px; line-height: 1.3; }
body.hl-site .ms-readme-section { padding: 20px 22px; border: 1px solid var(--ms-border); border-radius: 6px; background: #131e22; }
body.hl-site .ms-readme-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--ms-border); }
body.hl-site .ms-readme-header > div { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; min-width: 0; }
body.hl-site .ms-readme-header h2 { margin: 0 !important; font-size: 15px; font-weight: 600; }
body.hl-site .ms-markdown { color: #d5e1e2; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
body.hl-site .ms-markdown > *:first-child { margin-top: 0 !important; }
body.hl-site .ms-markdown > *:last-child { margin-bottom: 0 !important; }
body.hl-site .ms-md-h { margin: 20px 0 10px !important; color: var(--ms-text); font-weight: 600; line-height: 1.35; }
body.hl-site .ms-md-h1 { font-size: 19px; padding-bottom: 8px; border-bottom: 1px solid var(--ms-border); }
body.hl-site .ms-md-h2 { font-size: 16px; padding-bottom: 6px; border-bottom: 1px solid #202f35; }
body.hl-site .ms-md-h3 { font-size: 14px; }
body.hl-site .ms-md-p { margin: 0 0 12px !important; color: #cdd9da; line-height: 1.75; }
body.hl-site .ms-md-list { margin: 0 0 14px !important; padding-left: 20px; color: #cdd9da; }
body.hl-site .ms-md-list li { margin-bottom: 6px; line-height: 1.7; }
body.hl-site .ms-md-code { padding: 2px 5px; border: 1px solid #2b3c42; border-radius: 4px; background: #1a282d; color: #9ef0e2; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; }
body.hl-site .ms-md-codeblock { margin: 12px 0 16px; border: 1px solid var(--ms-border); border-radius: 5px; background: #0c1418; overflow: hidden; }
body.hl-site .ms-md-codehead { padding: 5px 12px; border-bottom: 1px solid #1e2c31; background: #152126; color: var(--ms-muted); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; }
body.hl-site .ms-md-pre { margin: 0; padding: 12px 14px; overflow-x: auto; color: #dbe7e8; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
body.hl-site .ms-md-table-wrap { margin: 14px 0 18px; overflow-x: auto; border: 1px solid var(--ms-border); border-radius: 5px; background: #0f191d; }
body.hl-site .ms-md-table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
body.hl-site .ms-md-table th,
body.hl-site .ms-md-table td { padding: 8px 12px; border-bottom: 1px solid #1f2e34; }
body.hl-site .ms-md-table th { background: #18252a; color: var(--ms-text); font-weight: 600; white-space: nowrap; }
body.hl-site .ms-md-table tr:last-child td { border-bottom: 0; }
body.hl-site .ms-md-table tr:hover td { background: #152227; }
body.hl-site .ms-md-quote { margin: 12px 0 14px; padding: 8px 14px; border-left: 3px solid var(--ms-accent); background: #162429; color: #b9cacb; font-size: 12.5px; }
body.hl-site .ms-md-hr { margin: 18px 0; border: 0; border-top: 1px solid var(--ms-border); }
body.hl-site .ms-md-img { display: block; max-width: 100%; height: auto; max-height: 420px; margin: 12px 0; border: 1px solid var(--ms-border); border-radius: 5px; background: #0c1418; }
body.hl-site .ms-md-link { color: var(--ms-accent); text-decoration: none; }
body.hl-site .ms-md-link:hover { color: #9ce8dc; text-decoration: underline; }
body.hl-site .ms-chat-template { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ms-border); }
body.hl-site .ms-chat-template summary { cursor: pointer; color: var(--ms-accent); font-size: 12px; font-weight: 500; user-select: none; }
body.hl-site .ms-chat-template .ms-md-pre { margin-top: 10px; max-height: 260px; overflow-y: auto; border: 1px solid var(--ms-border); border-radius: 4px; background: #0c1418; font-size: 11px; }
