@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono/ibm-plex-mono-latin-400-normal.79936b18df9f.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono/ibm-plex-mono-latin-600-normal.5a2ce7798732.woff2") format("woff2");
}
.model-library-surface {
  --library-ink: #183f73;
  --library-muted: #48638b;
  --library-line: #c9d7e6;
  color: var(--library-ink);
  font-family: inherit;
  min-width: 0;
}
.model-library-surface * { box-sizing: border-box; }
.model-library-surface ::selection { color: #183f73; background: #d8eaff; }
.model-library-surface a { color: #2463b6; text-underline-offset: 3px; }
.model-library-surface :focus-visible { outline: 2px solid #2463b6; outline-offset: 3px; }
.model-library-surface .library-row { border-bottom: 1px solid var(--library-line); background: #fff; padding: 18px 20px; }
.model-library-surface .library-core { display: grid; grid-template-columns: minmax(180px, 2fr) repeat(4, minmax(90px, 1fr)); gap: 18px; align-items: center; }
.model-library-surface .library-identity { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.model-library-surface .library-identity img { flex: none; }
.model-library-surface h2 { font-size: 16px; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.model-library-surface code { font-size: 11px; color: var(--library-muted); overflow-wrap: anywhere; }
.model-library-surface .library-identity p { font-size: 12px; margin: 4px 0 0; color: var(--library-muted); }
.model-library-surface .library-cell { display: grid; gap: 5px; font-size: 13px; min-width: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.model-library-surface .library-cell small { color: var(--library-muted); font-size: 12px; }
.model-library-surface .library-modalities,
.model-library-surface .library-price,
.model-library-surface .library-date { display: none; }
.model-library-surface .library-expand { margin-top: 10px; }
.model-library-surface summary { cursor: pointer; color: #2463b6; font-size: 13px; padding: 8px 0; min-height: 36px; }
.model-library-surface .library-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 18px 0 8px; }
.model-library-surface h3 { font-size: 14px; margin: 0 0 10px; }
.model-library-surface p { font-size: 13px; line-height: 1.75; margin: 0; overflow-wrap: anywhere; }
.model-library-surface dl { margin: 0 0 12px; font-size: 13px; }
.model-library-surface dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.model-library-surface dt { color: var(--library-muted); }
.model-library-surface dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.model-library-surface .library-prose { max-width: 75ch; }
.model-library-surface .library-price-line { padding: 10px 0; border-bottom: 1px solid #e0e9f4; font-size: 13px; overflow-wrap: anywhere; }
.model-library-surface .library-price-line > span { display: block; color: var(--library-muted); margin-top: 4px; }
.model-library-surface .library-filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; background: #f6faff; border: 1px solid var(--library-line); border-radius: 12px; margin-bottom: 24px; }
.model-library-surface .library-filter-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 128px), 1fr)); gap: 14px; align-items: end; min-width: 0; }
.model-library-surface .library-filters label { display: grid; gap: 6px; font-size: 13px; color: var(--library-muted); min-width: 0; }
.model-library-surface .library-filters select,
.model-library-surface .library-filters input { background: #fff; border: 1px solid var(--library-line); border-radius: 6px; color: var(--library-ink); font: inherit; width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; }
.model-library-surface .library-search { min-width: 0; }
.model-library-surface .library-search > div { display: flex; gap: 12px; margin-top: 6px; }
.model-library-surface .library-search input { flex: 1; }
.model-library-surface .library-search button { flex: none; min-width: 80px; }
.model-library-surface .library-search button[hidden] { display: none; }
.model-library-surface .library-clear { align-self: end; justify-self: start; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.model-library-surface .library-results { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.model-library-surface .library-results > span { color: var(--library-muted); font-size: 12px; }
.model-library-surface .library-list { border-top: 1px solid var(--library-line); }
.model-library-surface .library-row:hover { background: #f9fcff; }
.model-library-surface .library-empty { padding: 32px 12px; text-align: center; }
.model-library-surface .library-empty p { margin: 12px 0 20px; }
.model-library-surface .library-pagination { display: flex; justify-content: center; align-items: center; gap: 20px; padding: 24px 0; font-size: 14px; }
.model-library-surface .library-pagination a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px; }
@media (min-width: 1280px) {
  .model-library-surface .library-filter-options { grid-template-columns: repeat(8, minmax(0, 1fr)) auto; }
  .model-library-surface .library-core { grid-template-columns: minmax(180px, 2fr) repeat(6, minmax(80px, 1fr)); }
  .model-library-surface .library-modalities,
  .model-library-surface .library-price { display: grid; }
}
@media (min-width: 1600px) {
  .model-library-surface .library-core { grid-template-columns: minmax(180px, 2fr) repeat(7, minmax(80px, 1fr)); }
  .model-library-surface .library-date { display: grid; }
}
@media (max-width: 767px) {
  .model-library-surface .library-filters { padding: 14px; gap: 12px; }
  .model-library-surface .library-filter-options { gap: 12px; }
  .model-library-surface .library-filters input,
  .model-library-surface .library-filters select { font-size: 16px; }
  .model-library-surface .library-results { align-items: flex-start; flex-direction: column; gap: 4px; }
  .model-library-surface .library-row { padding: 16px 12px; }
  .model-library-surface .library-core { grid-template-columns: minmax(0, 1fr) 72px; gap: 12px; }
  .model-library-surface .library-context,
  .model-library-surface .library-output,
  .model-library-surface .library-score { display: none; }
  .model-library-surface .library-details { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .model-library-surface summary { min-height: 44px; }
}

/* Shared catalogue table, including the zero-write editor preview. */
.public-site .models-page .catalog-page-head { padding-block: 28px 16px; }
.public-site .models-page .catalog-section { padding-block: 20px 32px; }
.model-library-surface .library-visually-hidden,
.model-library-surface .library-search > label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.model-library-surface .library-statistics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 12px 14px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: #f3f7fc;
}
.model-library-surface .library-statistics dl { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; }
.model-library-surface .library-statistics dl > div { align-items: baseline; justify-content: flex-start; gap: 6px; padding: 0; }
.model-library-surface .library-statistics dd { order: -1; font-size: 20px; font-weight: 700; line-height: 1.3; }
.model-library-surface .library-statistics p { color: var(--library-muted); font-size: 12px; line-height: 1.5; }
.model-library-surface .library-statistics time { white-space: nowrap; }
.model-library-surface .library-filters { padding: 14px; gap: 12px; margin-bottom: 16px; }
.model-library-surface .library-search > div { margin-top: 0; }
.model-library-surface .library-results { margin-bottom: 12px; }
.model-library-surface .library-table-scroll {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: #7c9bc1 #edf3fa;
  scrollbar-width: thin;
}
.model-library-surface .library-table {
  width: 100%;
  min-width: 1360px;
  table-layout: fixed;
  border-collapse: collapse;
  color: #242623;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}
.model-library-surface .library-table .library-col-model { width: 224px; }
.model-library-surface .library-table .library-col-publisher { width: 128px; }
.model-library-surface .library-table .library-col-type { width: 64px; }
.model-library-surface .library-table .library-col-stations { width: 82px; }
.model-library-surface .library-table .library-col-parameter { width: 78px; }
.model-library-surface .library-table .library-col-input { width: 104px; }
.model-library-surface .library-table .library-col-output { width: 98px; }
.model-library-surface .library-table .library-col-capability { width: 150px; }
.model-library-surface .library-table .library-col-intelligence { width: 64px; }
.model-library-surface .library-table .library-col-price { width: 156px; }
.model-library-surface .library-table .library-col-released { width: 90px; }
.model-library-surface .library-table .library-col-toggle { width: 44px; }
.model-library-surface .library-table th {
  padding: 12px 8px;
  color: #5c6670;
  border-block: 1px solid var(--library-line);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-align: left;
  white-space: nowrap;
}
.model-library-surface .library-table td {
  padding: 12px 8px;
  border-bottom: 1px solid var(--library-line);
  line-height: 20px;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
.model-library-surface .library-table .library-model-cell,
.model-library-surface .library-table .library-publisher-cell,
.model-library-surface .library-table .library-price-cell {
  text-align: left;
}
.model-library-surface .library-table .library-type-cell,
.model-library-surface .library-table .library-stations-cell,
.model-library-surface .library-table .library-parameter-cell,
.model-library-surface .library-table .library-intelligence-cell,
.model-library-surface .library-table .library-released-cell {
  text-align: center;
}
.model-library-surface .library-table th:nth-child(3),
.model-library-surface .library-table th:nth-child(4),
.model-library-surface .library-table th:nth-child(5),
.model-library-surface .library-table th:nth-child(6),
.model-library-surface .library-table th:nth-child(10),
.model-library-surface .library-table th:nth-child(12) {
  text-align: center;
}
.model-library-surface .library-table .library-released-cell {
  white-space: nowrap;
}
.model-library-surface .library-table-row:hover { background: #f3f4f6; }
.model-library-surface .library-table-row:hover .library-model-cell { background: #f3f4f6; }
.model-library-surface .library-table .library-identity { gap: 8px; align-items: center; }
.model-library-surface .library-table .library-identity > div { min-width: 0; }
.model-library-surface .library-table h2 { font-size: 16px; font-weight: 600; line-height: 24px; }
.model-library-surface .library-table a { color: inherit; }
.model-library-surface .library-table-row .library-model-cell .library-model-link {
  transition: color .16s ease;
}
.model-library-surface .library-table-row:hover .library-model-cell .library-model-link {
  color: #04d16a;
  text-decoration: underline;
}
.model-library-surface .library-table a:hover { color: #054d28; }
.model-library-surface .library-table code { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; line-height: 16.5px; font-family: "IBM Plex Mono", Consolas, monospace; color: #5c6670; }
.model-library-surface .library-publisher-brand { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; line-height: 20px; }
.model-library-surface .library-publisher-mark { width: 20px; height: 20px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: #fff; }
.model-library-surface .library-publisher-mark img { width: 14px; height: 14px; object-fit: contain; }
.model-library-surface .library-table .library-type-cell,
.model-library-surface .library-table .library-released-cell { font-size: 12px; line-height: 16px; color: #454745; }
.model-library-surface .library-table .library-parameter-cell,
.model-library-surface .library-table .library-intelligence-cell { font-weight: 600; }
.model-library-surface .library-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.model-library-surface .library-summary-badges {
  max-height: 48px;
  overflow: hidden;
}
.model-library-surface .library-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border: 1px solid #e8ebe6;
  border-radius: 999px;
  color: #5c6670;
  background: #f5f7f4;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
}
.model-library-surface .library-badge--supported { color: #054d28; background: #e2f6d5; border-color: #bde9c8; }
.model-library-surface .library-badge--unsupported { color: #646963; background: #f5f7f4; }
.model-library-surface .library-badge--unknown { border-style: dashed; background: #fff; }
.model-library-surface .library-table small { display: block; color: var(--library-muted); font-size: 11px; line-height: 1.4; }
.model-library-surface .library-price-summary { display: flex; gap: 4px; font-size: 12px; }
.model-library-surface .library-price-summary + .library-price-summary { margin-top: 4px; }
.model-library-surface .library-price-summary > span { flex: none; color: var(--library-muted); font-size: 11px; }
.model-library-surface .library-price-summary > div { min-width: 0; }
.model-library-surface .library-table .library-toggle-cell { padding: 0; }
.model-library-surface .library-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}
.model-library-surface .library-toggle:hover { background: #eaf2fc; }
.model-library-surface .library-toggle img { transition: transform .16s ease; }
.model-library-surface .library-toggle[aria-expanded="true"] img { transform: rotate(180deg); }
.model-library-surface .library-table [hidden] { display: none; }
.model-library-surface .library-table-details-row > td { padding: 0; background: #fbfcfa; }
.model-library-surface .library-table-details-row .library-details {
  position: sticky;
  left: 0;
  width: min(calc(100vw - var(--public-content-gutter, 32px)), var(--public-content-max, 1536px));
  max-width: 100%;
  padding: 16px;
}
.model-library-surface .library-pagination { justify-content: flex-end; flex-wrap: wrap; gap: 8px 16px; padding: 12px 0 0; font-size: 12px; }

@media (max-width: 767px) {
  .model-library-surface .library-statistics { padding: 12px; gap: 8px; }
  .model-library-surface .library-statistics dl { gap: 8px 12px; }
  .model-library-surface .library-statistics dt { font-size: 11px; }
  .model-library-surface .library-statistics dd { font-size: 18px; }
  .model-library-surface .library-statistics p { font-size: 11px; }
  .model-library-surface .library-table-scroll { overflow: visible; }
  .model-library-surface .library-table { display: block; min-width: 0; }
  .model-library-surface .library-table colgroup,
  .model-library-surface .library-table thead { display: none; }
  .model-library-surface .library-table tbody { display: block; }
  .model-library-surface .library-table-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
    padding: 12px 8px;
    border-block: 1px solid var(--library-line);
  }
  .model-library-surface .library-table-row + .library-table-details-row + .library-table-row { border-top: 0; }
  .model-library-surface .library-table td { display: block; padding: 0; border: 0; }
  .model-library-surface .library-table-row td[data-label]::before { display: block; content: attr(data-label); margin-bottom: 2px; color: var(--library-muted); font-size: 11px; }
  .model-library-surface .library-table-row .library-model-cell { grid-column: 1 / -1; padding-right: 44px; }
  .model-library-surface .library-table-row .library-model-cell::before { display: none; }
  .model-library-surface .library-table-row .library-parameter-cell,
  .model-library-surface .library-table-row .library-modality-cell,
  .model-library-surface .library-table-row .library-capability-cell,
  .model-library-surface .library-table-row .library-released-cell { display: none; }
  .model-library-surface .library-table-row .library-price-cell { grid-column: 1 / -1; }
  .model-library-surface .library-table-row .library-toggle-cell { position: absolute; right: 0; top: 8px; }
  .model-library-surface .library-intelligence-cell small { display: inline; margin-left: 4px; }
  .model-library-surface .library-table-details-row { display: block; }
  .model-library-surface .library-table-details-row > td { padding: 0; }
  .model-library-surface .library-table-details-row .library-details { position: static; width: auto; }
  .model-library-surface .library-pagination { gap: 8px 12px; }
}

/* One description and four compact groups, shared by all three consumers. */
.model-library-surface .library-details {
  display: block;
  color: #242623;
  background: #fbfcfa;
  padding: 16px;
  container-type: inline-size;
  container-name: library-detail;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
}
.model-library-surface .library-description { max-width: 1024px; margin: 0 0 20px; color: #454745; font-size: 14px; font-weight: 400; line-height: 24px; }
.model-library-surface .library-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.model-library-surface .library-detail-grid > section { min-width: 0; }
.model-library-surface .library-detail-grid h3 { font-size: 12px; font-weight: 700; line-height: 16px; margin: 0 0 8px; }
.model-library-surface .library-detail-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.model-library-surface .library-detail-fields > div { display: block; min-width: 0; padding: 0; }
.model-library-surface .library-detail-fields dt { color: #5c6670; font-size: 11px; font-weight: 500; line-height: 16.5px; margin-bottom: 4px; }
.model-library-surface .library-detail-fields dd { margin: 0; text-align: left; font-size: 14px; font-weight: 600; line-height: 20px; overflow-wrap: anywhere; }
.model-library-surface .library-detail-fields dd code { font-family: "IBM Plex Mono", Consolas, monospace; font-size: 14px; line-height: 20px; color: inherit; }
.model-library-surface .library-detail-fields .library-time-value { font-size: 14px; font-weight: 600; line-height: 20px; }
.model-library-surface .library-quote + .library-quote { margin-top: 8px; }
.model-library-surface .library-detail-note { font-size: 11px; font-weight: 400; line-height: 18px; margin-top: 6px; color: #5c6670; overflow-wrap: anywhere; }
.model-library-surface .library-detail-source { display: inline-block; font-size: 11px; line-height: 18px; margin-top: 4px; }
.model-library-surface .library-detail-capabilities h3:not(:first-child) { margin-top: 16px; }
.model-library-surface .library-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.model-library-surface {
  --library-action: #1264db;
  --library-action-dark: #0844b7;
  --library-action-line: #8db6ff;
  --library-action-soft: #edf5ff;
}
.model-library-surface .library-detail-button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; max-width: 100%; padding: 7px 16px; border-radius: 999px; border: 1px solid #dbe6f2; background: #fff; color: var(--library-action); font-size: 12px; font-weight: 600; line-height: 20px; text-decoration: none; }
.model-library-surface .library-detail-button--primary { background: var(--library-action); border-color: var(--library-action); color: #fff; box-shadow: 0 7px 16px rgba(18, 100, 219, 0.16); }
.model-library-surface .library-table a.library-detail-button { color: var(--library-action); }
.model-library-surface .library-table a.library-detail-button--primary { color: #fff; }
.model-library-surface a.library-detail-button:not(.library-detail-button--primary):hover { background: var(--library-action-soft); border-color: var(--library-action-line); color: var(--library-action-dark); }
.model-library-surface .library-table a.library-detail-button:not(.library-detail-button--primary):hover { color: var(--library-action-dark); }
.model-library-surface a.library-detail-button--primary:hover { background: var(--library-action-dark); border-color: var(--library-action-dark); color: #fff; }
.model-library-surface .library-table a.library-detail-button--primary:hover { color: #fff; }
.model-library-surface .library-detail-button[aria-disabled="true"] { cursor: default; }
.library-preview-surface { color-scheme: light; }
.library-preview-surface .library-table-scroll { background: #fff; container-type: inline-size; container-name: library-preview; }
.library-preview-surface .library-table-details-row .library-details { width: 100cqw; }
@container library-detail (min-width: 704px) {
  .model-library-surface .library-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container library-detail (min-width: 1100px) {
  .model-library-surface .library-detail-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .model-library-surface .library-table h2 { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .model-library-surface .library-toggle img { transition: none; }
}

.model-library-surface .library-provider-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0 16px;
}
.model-library-surface .library-provider-summary img {
  flex: none;
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.model-library-surface .library-provider-summary div {
  display: grid;
  gap: 2px;
}
.model-library-surface .library-provider-summary span {
  color: var(--library-muted);
  font-size: 12px;
  line-height: 16px;
}
.model-library-surface .library-provider-summary strong {
  color: var(--library-ink);
  font-size: 18px;
  line-height: 24px;
}
.model-library-surface .library-model-link,
.model-library-surface .library-publisher-link {
  text-decoration-line: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.model-library-surface .library-model-link:hover,
.model-library-surface .library-publisher-link:hover,
.model-library-surface .library-model-link:focus-visible,
.model-library-surface .library-publisher-link:focus-visible {
  text-decoration-line: underline;
}
.model-library-surface .library-publisher-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
}
.model-library-surface .library-table .library-publisher-link:hover {
  color: #054d28;
}
@media (max-width: 767px) {
  .model-library-surface .library-provider-summary { padding-top: 0; }
}
