/* A quiet, single-column model article. Local overrides follow the shared UI. */
body.detail-page { --buyer-blue: #91b8ff; --buyer-blue-line: #739fff30; --buyer-blue-wash: #467fe012; --bg: #0a0a0b; --panel: #ffffff08; --panel-2: #ffffff08; --panel-3: #ffffff0d; --line: #ffffff0d; --line-strong: #ffffff20; --text: #f5f5f6; --text-soft: #d5d5d8; --muted: #929296; --dim: #85858b; background: var(--bg); font-size: 16px; line-height: 1.5; }
:root[data-theme="light"] body.detail-page { --buyer-blue: #235bb2; --buyer-blue-line: #326ac92c; --buyer-blue-wash: #467fe00c; --bg: #fafafa; --panel: #00000004; --panel-2: #00000004; --panel-3: #00000008; --line: #0000000c; --line-strong: #00000020; --text: #17171b; --text-soft: #424249; --muted: #6e6e76; --dim: #75757d; }
body.detail-page .detail-main > .shell { box-sizing: content-box; width: auto; max-width: 1080px !important; margin-inline: auto; padding-inline: 24px; }
.detail-page .detail-main { min-height: 60vh; padding-top: 56px; }
.detail-page .detail-crumb { margin: 0; padding: 0; min-height: 24px; font-size: 13px; }
.detail-page .detail-crumb > svg, .detail-page .detail-crumb > span { display: none; }
.detail-page .detail-crumb a { color: var(--muted); }
.detail-page .detail-main .model-hero { display: block; min-height: 0; padding: 56px 0 0; margin: 0; overflow: visible; border: 0; background: transparent; }
.detail-page .detail-hero .hero-copy { display: flex; flex-direction: column; max-width: none; min-width: 0; }
.detail-page .hero-copy > * { order: initial; }
.detail-page .model-eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; color: var(--muted); font-size: 12px; }
.detail-page .hero-copy .model-eyebrow { order: 4; margin-top: 24px; margin-bottom: 0; }
.detail-page .hero-copy .hero-meta { order: 5; margin-top: 16px; }
.detail-page .hero-copy .capability-chips { order: 6; }
.detail-page .hero-copy .hero-actions { order: 7; }
.detail-page .eyebrow-divider { color: var(--dim); }
.detail-page .hero-dev-logo { display: grid; place-items: center; width: 24px; height: 24px; padding: 3px; border: 0; border-radius: 6px; background: transparent; }
.detail-page .hero-dev-logo img { width: 100%; height: 100%; object-fit: contain; }
.detail-page .hero-dev-logo.is-mono { font: 500 9px var(--font-mono); color: var(--text-soft); }
.detail-page .hero-title-row { gap: 16px; align-items: center; }
.detail-page .hero-title-row h1 { color: var(--text); font-size: 42px; line-height: 1.1; font-weight: 700; letter-spacing: -.04em; overflow-wrap: anywhere; }
.detail-page .hero-fav { width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; }
.detail-page .hero-alias { max-width: none; margin-top: 6px; color: var(--text-soft); font-size: 16px; font-weight: 500; line-height: 24px; }
.detail-page .hero-desc { max-width: 820px; margin-top: 16px; color: var(--muted); font-size: 16px; line-height: 24px; }
.detail-page .hero-desc.is-collapsed { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.detail-page .description-toggle { align-self: start; padding: 6px 0; margin-top: 4px; border: 0; color: var(--text-soft); background: transparent; font-size: 12px; cursor: pointer; }
.detail-page .description-toggle[hidden] { display: none; }
.detail-page .hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; width: 100%; margin-top: 24px; }
.detail-page .hero-meta-row { display: flex; flex: 0 1 auto; flex-direction: row; align-items: center; justify-content: start; gap: 12px; padding: 0; min-width: 0; min-height: 32px; border: 0; border-radius: 0; background: transparent; }
.detail-page .hero-meta-row > span:first-child { color: var(--muted); font-size: 13px; }
.detail-page .hero-meta-row b { font-size: 13px; font-weight: 500; }
.detail-page .hero-id { display: flex; align-items: center; min-width: 0; gap: 8px; }
.detail-page .hero-id code { overflow-wrap: anywhere; white-space: normal; color: var(--text-soft); font-size: 12px; }
.detail-page .hero-id .icon-btn { width: 24px; height: 24px; flex: 0 0 24px; border: 0; }
.detail-page .capability-chips { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.detail-page .capability-chips > span { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 0; border: 0; border-radius: 0; color: var(--text-soft); background: transparent; font-size: 13px; }
.detail-page .capability-chips svg { width: 16px; height: 16px; color: var(--muted); }
.detail-page .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.detail-page .hero-actions .btn { height: 44px; padding-inline: 20px; font-size: 14px; border-radius: 12px; }
.detail-page .hero-actions #openApi { order: 0; }
.detail-page .hero-actions .model-chat-action { order: -1; color: #fff; border: 1px solid #6395ec; background: #3269c9; box-shadow: 0 3px 16px #3269c920; }
.detail-page .hero-actions .model-chat-action:hover { background: #3d76d9; border-color: #8bb5ff; }
.detail-page .hero-actions a[href="#connection"] { padding-inline: 6px; border-color: transparent; color: var(--muted); }
.detail-page .hero-actions .btn-outline { border: 1px solid var(--line-strong); background: transparent; }
.detail-page .hero-share { width: 44px; height: 44px; border: 0; background: transparent; }
.detail-page .model-section-tabs, .detail-page .model-data-note { display: none; }
.detail-page .model-layout { display: block; width: 100%; padding: 0 0 32px; margin-top: 64px; }
.detail-page .content { width: 100%; min-width: 0; }
.detail-page .content-section { margin: 0 0 64px; scroll-margin-top: 88px; }
.detail-page .section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.detail-page .section-heading h2 { margin: 0; color: var(--text); font-size: 32px; line-height: 1.1; font-weight: 700; letter-spacing: -.035em; }
.detail-page .section-heading p { max-width: none; margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 24px; }
.detail-page .model-kicker { display: none; }
.detail-page .detail-section-link { flex-shrink: 0; color: var(--link); font-size: 12px; }
.detail-page .pricing-section { margin-bottom: 8px; }
.detail-page .pricing-panel { overflow: hidden; border: 1px solid var(--buyer-blue-line); border-radius: 24px; background: radial-gradient(ellipse at 95% 0%, var(--buyer-blue-wash), transparent 65%), var(--panel); }
.detail-page .model-price-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; padding: 24px; border-radius: 0; background: transparent; }
.detail-page .pricing-section .price-direction { color: var(--buyer-blue); }
.detail-page .price-example { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 24px; margin: 0 24px; padding: 20px 0; border-top: 1px solid var(--buyer-blue-line); }
.detail-page .price-example-copy { grid-row: span 2; }
.detail-page .price-example h3 { color: var(--text-soft); font-size: 14px; font-weight: 500; }
.detail-page .price-example p { margin-top: 6px; color: var(--text-soft); font-size: 13px; line-height: 22px; }
.detail-page .price-example small { display: block; max-width: 540px; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 20px; }
.detail-page .price-example-value { color: var(--buyer-blue); text-align: right; font-size: 28px; line-height: 1.2; letter-spacing: -.035em; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.detail-page .price-calculator { justify-self: end; color: var(--buyer-blue); font-size: 12px; line-height: 22px; }
.detail-page .price-calculator:hover { text-decoration: underline; }
.detail-page .model-price-list > div { min-width: 0; padding-inline: 0 24px; }
.detail-page .model-price-list > div + div { padding-inline: 24px 0; border-left: 1px solid var(--line-strong); }
.detail-page .model-price-list dt { color: var(--text-soft); font-size: 13px; font-weight: 500; }
.detail-page .price-direction { display: inline-block; margin-right: 6px; color: var(--muted); }
.detail-page .model-price-list dd { display: inline-block; margin: 12px 6px 0 0; font-size: 30px; line-height: 1.2; font-weight: 600; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.detail-page .price-unit { color: var(--muted); font-size: 11px; white-space: nowrap; }
.detail-page .model-price-list p { margin-top: 8px; color: var(--muted); font-size: 11px; }
.detail-page .caching-section { padding: 24px; border-radius: 24px; background: var(--panel); }
.detail-page .caching-section .section-heading { margin-bottom: 20px; }
.detail-page .caching-section .section-heading h2 { font-size: 18px; line-height: 1.2; font-weight: 600; letter-spacing: -.015em; }
.detail-page .caching-section .section-heading p { margin-top: 8px; font-size: 13px; line-height: 22px; }
.detail-page .cache-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.detail-page .cache-explainer { position: relative; padding: 16px 20px 16px 52px; border: 1px solid var(--line); border-radius: 16px; background: transparent; }
.detail-page .cache-symbol { position: absolute; left: 20px; top: 16px; color: var(--accent); font-size: 22px; line-height: 24px; }
.detail-page .cache-explainer h3 { font-size: 14px; font-weight: 600; line-height: 22px; }
.detail-page .cache-explainer p { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 21px; }
.detail-page .cache-explainer-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.detail-page .cache-status { display: block; color: var(--muted); font-size: 11px; line-height: 20px; }
.detail-page .cache-explainer a { display: inline-flex; align-items: center; gap: 6px; color: var(--link); font-size: 12px; line-height: 20px; }
.detail-page .cache-rates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.detail-page .cache-rates > div { min-height: 106px; padding: 14px 16px; border-radius: 16px; background: var(--panel); }
.detail-page .cache-rates span { color: var(--muted); font-size: 12px; }
.detail-page .cache-rates strong { display: block; margin-top: 8px; font-size: 24px; line-height: 1.3; font-weight: 600; letter-spacing: -.03em; }
.detail-page .cache-rates small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.detail-page .model-stability-card { padding: 24px; border: 0; border-radius: 24px; background: var(--panel); }
.detail-page .model-stability-summary { display: flex; flex-direction: column; align-items: start; gap: 8px; margin-bottom: 22px; }
.detail-page .model-stability-summary strong { font-size: 30px; font-weight: 600; line-height: 1.2; letter-spacing: -.035em; }
.detail-page .model-stability-summary > span, .detail-page .model-stability-card > p { color: var(--muted); font-size: 12px; line-height: 22px; }
.detail-page .model-stability-bars { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); align-items: stretch; gap: 4px; height: 32px; }
.detail-page .model-stability-bars i { display: block; width: auto; height: auto; border-radius: 4px; background: var(--line-strong); }
.detail-page .model-stability-bars i.is-good { background: var(--success); }
.detail-page .model-stability-bars i.is-degraded { background: var(--danger); }
.detail-page .model-stability-axis { display: flex; justify-content: space-between; margin: 10px 0 16px; color: var(--muted); font-size: 10px; }
.detail-page .integration-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.detail-page .integration-links a { display: flex; align-items: center; gap: 12px; padding: 20px 16px; border-radius: 18px; color: var(--text-soft); background: var(--panel); font-size: 14px; }
.detail-page .integration-mark { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 0; color: var(--muted); background: transparent; font: 20px var(--font-mono); }
.detail-page .integration-mark img { display: block; width: 28px; height: 28px; object-fit: contain; }
:root[data-theme="light"] .detail-page .integration-logo-mono { filter: invert(1); }
.detail-page .integration-links a > span:last-child { margin-left: auto; color: var(--muted); }
.detail-page .integration-links small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.detail-page .model-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.detail-page .model-tags:empty { display: none; }
.detail-page .model-tags span { padding: 8px 14px; border-radius: 10px; background: var(--panel); color: var(--text-soft); font-size: 12px; }
.detail-page .capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border: 0; }
.detail-page .capability-item { display: flex; flex-direction: row; align-items: start; gap: 16px; min-width: 0; height: 100%; padding: 24px; border: 0; border-radius: 18px; background: var(--panel); }
.detail-page .task-emoji { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; margin-top: 1px; background: transparent; font-size: 24px; line-height: 1; }
.detail-page .capability-item > div { min-width: 0; }
.detail-page .capability-icon { flex-shrink: 0; color: var(--muted); background: transparent; border: 0; }
.detail-page .capability-item h3 { color: var(--text-soft); font-size: 15px; line-height: 24px; font-weight: 500; }
.detail-page .capability-item p { margin-top: 8px; color: var(--muted); font-size: 13px; line-height: 22px; }
.detail-page .capability-tag { display: block; padding: 0; margin-top: 12px; color: var(--muted); background: transparent; font-size: 10px; }
.detail-page .specs-grid { display: block; }
.detail-page .specs-grid > .spec-card { width: 100%; max-width: none; padding: 0; border: 0; border-radius: 0; background: transparent; }
.detail-page .spec-card h3 { display: none; }
.detail-page .spec-list { padding: 8px 24px; border: 0; border-radius: 24px; background: var(--panel); }
.detail-page .spec-list > div { display: grid; grid-template-columns: minmax(130px, .9fr) minmax(0, 1.1fr); gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.detail-page .spec-list > div:last-child { border-bottom: 0; }
.detail-page .spec-list dt, .detail-page .spec-list dd { font-size: 13px; line-height: 22px; }
.detail-page .spec-list dd { overflow-wrap: anywhere; }
.detail-page .detail-passport-id { font-family: var(--font-mono); }
.detail-page .connection-panel { overflow: hidden; border: 0; border-radius: 24px; background: var(--panel); }
.detail-page .connection-panel .endpoint { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 20px 24px; margin: 0; border: 0; border-radius: 0; background: transparent; }
.detail-page .connection-panel .endpoint > span { color: var(--muted); font-size: 11px; }
.detail-page .connection-panel .endpoint code { flex: 1; min-width: 100px; overflow-wrap: anywhere; color: var(--text-soft); font: 12px/22px var(--font-mono); }
.detail-page .connection-panel .code-card { margin: 0 8px; border: 0; border-radius: 16px; background: var(--panel); overflow: hidden; }
.detail-page .connection-panel .code-head { padding: 12px 16px; border: 0; background: transparent; }
.detail-page .code-switch { display: inline-flex; gap: 4px; }
.detail-page .code-switch button { min-height: 32px; padding: 5px 12px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font: 12px var(--font-mono); cursor: pointer; }
.detail-page .code-switch button[aria-pressed="true"] { color: var(--text); background: var(--panel-3); }
.detail-page .copy-label { min-height: 32px; padding: 5px 10px; border: 0; border-radius: 8px; color: var(--text-soft); background: var(--panel-3); font-size: 11px; cursor: pointer; }
.detail-page .copy-label.is-copied { color: var(--success); }
.detail-page .connection-panel .code-body { margin: 0; padding: 12px 20px 24px; max-height: none; overflow-x: auto; color: var(--text-soft); background: transparent; font: 12px/22px var(--font-mono); }
.detail-page .connection-note { padding: 18px 24px; margin: 0; color: var(--muted); font-size: 11px; line-height: 21px; }
.detail-page .connection-note a { color: var(--link); }
.detail-page .faq-list { display: grid; gap: 8px; border: 0; background: transparent; }
.detail-page .faq-item { padding-inline: 24px; border: 0; border-radius: 18px; background: var(--panel); }
.detail-page .faq-item summary { padding-block: 22px; color: var(--text-soft); font-size: 14px; line-height: 22px; }
.detail-page .faq-item p { padding-bottom: 22px; color: var(--muted); font-size: 13px; line-height: 24px; }
.detail-page .api-dialog { max-width: min(640px, calc(100vw - 32px)); }
.detail-page .detail-api-actions { margin-top: 18px; }
.detail-page .detail-api-note { margin-top: 12px; color: var(--muted); font-size: 11px; line-height: 21px; }
.detail-page .detail-main > .seo-related, .detail-page .detail-main > .seo-resources { width: calc(100% - 48px); max-width: 1080px; margin-inline: auto; }
.detail-page :focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 1000px) {
  .detail-page .integration-links, .detail-page .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-page .cache-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .detail-page .hero-meta-row:last-child { min-width: 0; max-width: 100%; }
  .detail-page .hero-meta { gap: 8px; }
  .detail-page .capability-chips { gap: 10px 16px; }
  .detail-page .capability-chips > span { min-height: 28px; padding: 0; font-size: 12px; }
  .detail-page .hero-actions .btn { padding-inline: 16px; font-size: 13px; }
  .detail-page .cache-rates { gap: 8px; }
  .detail-page .detail-main { padding-top: 32px; }
  body.detail-page .detail-main > .shell { padding-inline: 20px; }
  .detail-page .detail-main .model-hero { padding-top: 28px; }
  .detail-page .hero-title-row h1 { font-size: 36px; line-height: 1.15; }
  .detail-page .section-heading h2 { font-size: 28px; }
  .detail-page .model-layout { margin-top: 48px; }
  .detail-page .content-section { margin-bottom: 48px; }
  .detail-page .pricing-section { margin-bottom: 8px; }
  .detail-page .model-price-list { padding: 20px; }
  .detail-page .price-example { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-inline: 20px; }
  .detail-page .price-example-copy { grid-row: auto; }
  .detail-page .price-example-value { text-align: left; font-size: 26px; }
  .detail-page .price-calculator { justify-self: start; }
  .detail-page .model-price-list > div { padding-right: 14px; }
  .detail-page .model-price-list > div + div { padding-left: 14px; padding-right: 0; }
  .detail-page .model-price-list dd { display: block; font-size: 28px; }
  .detail-page .model-price-list dt { font-size: 12px; }
  .detail-page .model-price-list p { line-height: 19px; }
  .detail-page .caching-section { padding: 20px; }
  .detail-page .cache-explainer { padding-left: 44px; padding-right: 14px; }
  .detail-page .cache-symbol { left: 14px; }
  .detail-page .cache-rates > div { padding: 14px 12px; }
  .detail-page .cache-rates span { font-size: 11px; }
  .detail-page .cache-rates strong { font-size: 22px; }
  .detail-page .capability-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-page .section-heading { align-items: start; flex-direction: column; }
  .detail-page .spec-list { padding-inline: 20px; }
  .detail-page .spec-list > div { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px; }
  .detail-page .model-stability-card { padding: 20px; }
  .detail-page .model-stability-bars { gap: 3px; height: 28px; }
  .detail-page .connection-panel .endpoint { padding: 18px; }
  .detail-page .connection-panel .endpoint code { flex-basis: calc(100% - 75px); }
  .detail-page .connection-panel .code-head { padding-inline: 10px; }
  .detail-page .connection-panel .code-body { padding-inline: 12px; font-size: 11px; }
  .detail-page .copy-label { font-size: 10px; }
  .detail-page .integration-links { grid-template-columns: minmax(0, 1fr); }
  .detail-page .integration-links a { padding: 18px; gap: 12px; }
  .detail-page .faq-item { padding-inline: 20px; }
}
.detail-page .scroll-reveal { opacity: 1; transform: translateY(0); transition: opacity 650ms ease, transform 650ms cubic-bezier(.22, 1, .36, 1); }
.detail-page .scroll-reveal.is-reveal-pending { opacity: 0 !important; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) {
  .detail-page .scroll-reveal.is-reveal-pending { opacity: 1 !important; transform: none; }
  .detail-page *, .detail-page *::before, .detail-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
