/* /models price page: one table per vendor, grouped like the official OpenAI / Anthropic pricing pages. */
.dx.dx-models{display:block}
.dx-models .dx-main{max-width:1120px;margin:0 auto;padding:44px 32px 96px}
.dx-models .dx-inner{max-width:none}
/* The sync status line only appears when live prices fail to load. */
.dx-models .seo-price-status{display:none}
html.public-light-background .dx.dx.dx-models .seo-price-status.is-error{display:block;margin:0 0 10px;padding:8px 12px;border-radius:8px;background:#fef3f2;color:#b42318!important;font-size:13px}
.dx-models section{margin-top:52px;scroll-margin-top:calc(var(--public-subnav-height,56px) + 16px)}

/* layout: floating vendor sidebar on wide screens */
.dx-models .mp-layout{max-width:1120px;margin:0 auto}
.mp-side{display:none}
html:has(.dx-models){scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html:has(.dx-models){scroll-behavior:auto}}
.dx.dx-models .mp-price th[scope=row]{scroll-margin-top:72px}
@media(min-width:1200px){
  /* Pinned to the left like the docs page: vendor icons line up with the header logo (44px = 34px + 10px link padding). */
  .dx-models .mp-layout{max-width:none;margin:0;display:grid;grid-template-columns:216px minmax(0,1120px);gap:56px;padding:0 44px 0 34px}
  .dx-models .mp-layout>.dx-main{max-width:none;margin:0;padding:44px 0 96px}
  .mp-side{display:block;position:sticky;top:calc(var(--public-subnav-height,56px) + 24px);align-self:start;margin-top:44px;
    max-height:calc(100vh - var(--public-subnav-height,56px) - 48px);overflow:hidden auto;scrollbar-width:thin;min-width:0}
  .dx-models .mp-toc{display:none}
}
.dx.dx-models .mp-side ul{list-style:none;margin:0;padding:0}
.dx.dx-models .mp-side li{margin:0;padding:0}
.dx.dx-models .mp-side li::marker{content:none}
.mp-side-list{display:grid;grid-template-columns:minmax(0,1fr);gap:4px}
html.public-light-background .dx.dx.dx-models .mp-side a{text-decoration:none}
html.public-light-background .dx.dx.dx-models .mp-side a.mp-side-vendor{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:11px;color:var(--text)!important;transition:background .15s,box-shadow .15s}
.mp-side-vendor img,.mp-side-dot{flex:none;width:30px;height:30px;padding:5px;box-sizing:border-box;border:1px solid var(--line);border-radius:9px;background:#fff;object-fit:contain}
.mp-side-text{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.35}
html.public-light-background .dx.dx.dx-models .mp-side-text b{color:var(--ink)!important;font-size:14px;font-weight:600}
html.public-light-background .dx.dx.dx-models .mp-side-text small{color:var(--muted)!important;font-size:12px}
.mp-side-rate{flex:none;padding:1px 7px;border-radius:999px;background:#ecfdf3;color:#067647;font-size:11.5px;font-weight:600;white-space:nowrap}
html.public-light-background .dx.dx.dx-models .mp-side a.mp-side-vendor:hover{background:#f3f4f7}
html.public-light-background .dx.dx.dx-models .mp-side-item.is-active a.mp-side-vendor{background:var(--brand-soft);box-shadow:inset 0 0 0 1px #dfe5ff}
html.public-light-background .dx.dx.dx-models .mp-side-item.is-active .mp-side-text b{color:var(--brand)!important}
.mp-side-item.is-active .mp-side-vendor img{border-color:#dfe5ff}
.dx.dx-models .mp-side ul.mp-side-models{display:none;margin:6px 0 8px 25px;padding-left:12px;border-left:1px solid var(--line)}
.dx.dx-models .mp-side .mp-side-item.is-active ul.mp-side-models{display:block}
html.public-light-background .dx.dx.dx-models .mp-side-models a{position:relative;display:block;padding:3px 8px;border-radius:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)!important;font:12.5px/1.6 var(--mono)!important}
html.public-light-background .dx.dx.dx-models .mp-side-models a:hover{color:var(--ink)!important;background:#f3f4f7}
html.public-light-background .dx.dx.dx-models .mp-side-models a.is-active{color:var(--brand)!important}
.mp-side-models a.is-active::before{content:"";position:absolute;left:-13px;top:5px;bottom:5px;width:2px;border-radius:2px;background:var(--brand)}
.mp-side-foot{display:grid;gap:2px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
html.public-light-background .dx.dx.dx-models .mp-side-foot a{display:flex;align-items:center;gap:9px;padding:6px 10px;border-radius:8px;color:var(--text)!important;font-size:13.5px}
.mp-side-foot a svg{flex:none;color:var(--muted)}
.mp-side-foot a:hover svg{color:var(--brand)}
html.public-light-background .dx.dx.dx-models .mp-side-foot a:hover{background:#f3f4f7;color:var(--ink)!important}
html.public-light-background .dx.dx.dx-models .mp-side-foot a.mp-side-cta{justify-content:center;margin-top:10px;padding:9px 10px;background:var(--brand);color:#fff!important;font-weight:600;text-align:center;border-radius:10px}
html.public-light-background .dx.dx.dx-models .mp-side-foot a.mp-side-cta:hover{background:#3149d6;color:#fff!important}

/* breadcrumb instead of a large page title; the current page stays the page's only h1 */
.mp-crumb{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 18px;font-size:15px;line-height:1.5}
html.public-light-background .dx.dx.dx-models .mp-crumb a{color:var(--muted)!important;text-decoration:none}
html.public-light-background .dx.dx.dx-models .mp-crumb a:hover{color:var(--ink)!important}
.mp-crumb span{color:#b3b9c5}
html.public-light-background .dx.dx.dx-models .mp-crumb h1{margin:0;color:var(--text)!important;font-size:15px;line-height:1.5;font-weight:500;letter-spacing:0}

/* vendor jump links (narrow screens; the sidebar replaces them on wide screens) */
.mp-toc{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:24px 0 0}
.mp-toc a{display:inline-flex;align-items:center;gap:7px;padding:6px 14px;border:1px solid var(--line);border-radius:999px;color:var(--text);font-size:14px;text-decoration:none;background:#fff}
.mp-toc a img{width:16px;height:16px;object-fit:contain}
.mp-toc a:hover{border-color:#c9d3ff}
.mp-toc .mp-cta{margin-left:auto;background:var(--brand);border-color:var(--brand);font-weight:600}
html.public-light-background .dx.dx.dx-models .mp-toc a.mp-cta{color:#fff!important}
.mp-toc .mp-cta:hover{background:#3149d6}

/* vendor heading */
.mp-vhead{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:0 0 14px}
.mp-vhead img{flex:none;width:32px;height:32px;padding:5px;box-sizing:border-box;border:1px solid var(--line);border-radius:9px;background:#fff;object-fit:contain}
.dx.dx-models .mp-vhead h2{margin:0;font-size:22px;line-height:1.3}
.mp-count{color:var(--muted);font-size:14px}
.mp-rate{margin-left:auto;padding:3px 11px;border-radius:999px;background:#ecfdf3;color:#067647;font-size:13px;font-weight:600;white-space:nowrap}
.dx.dx-models h3.mp-sub{margin:30px 0 10px;font-size:16px}

/* price table: one white surface; the 提示缓存 group is marked only by its header label */
.mp-price{border:1px solid var(--line);border-radius:14px;overflow:auto;background:#fff}
.dx.dx-models .mp-price table{width:100%;min-width:800px;border-collapse:separate;border-spacing:0;font-size:14px;line-height:1.5;table-layout:fixed}
.dx.dx-models .mp-price th,.dx.dx-models .mp-price td{padding:13px 16px;text-align:left;vertical-align:top;border:0}
.dx.dx-models .mp-price thead th{background:#fafbfc;color:var(--muted);font-size:12.5px;font-weight:600;white-space:nowrap;padding-top:8px;padding-bottom:9px;border-bottom:1px solid var(--line)}
.dx.dx-models .mp-price col.mp-c-name{width:32%}
.dx.dx-models .mp-price col.mp-c-tier{width:96px}
.dx.dx-models .mp-price thead tr.mp-group th.mp-grp{padding:11px 16px 0;border-bottom:0;color:var(--ink);font-size:13px}
.dx.dx-models .mp-price thead tr.mp-group th.mp-grp span{display:block;padding-bottom:7px;border-bottom:1px solid var(--line)}
.dx.dx-models .mp-price tbody tr>*{border-top:1px solid var(--line)}
.dx.dx-models .mp-price tbody tr:first-child>*{border-top:0}
.dx.dx-models .mp-price tbody tr:hover>td{background:#fafbff}

/* model name cell */
.dx.dx-models .mp-price th[scope=row]{background:#fff;font-weight:400;white-space:normal}
.mp-name{display:block}
html.public-light-background .dx.dx.dx-models .mp-price .mp-name code{display:inline;font:600 14px/1.5 var(--mono)!important;color:var(--ink)!important;background:none!important;border:0!important;padding:0!important;border-radius:0}
html.public-light-background .dx.dx.dx-models .mp-price .mp-name a:hover code{color:var(--brand)!important}
.mp-desc{display:block;margin-top:3px;color:var(--muted);font-size:12.5px;line-height:1.55}
.mp-route{display:block;margin-top:4px;color:#8a93a6;font-size:12px;line-height:1.4}

/* price cells: our price on top, official price struck through underneath */
.dx.dx-models .mp-price td{white-space:nowrap;font-variant-numeric:tabular-nums}
.dx.dx-models .mp-price td b{display:block;color:var(--ink);font-weight:600;font-size:14.5px}
.dx.dx-models .mp-price td s{display:block;margin-top:1px;color:#a0a8b8;font-size:12px;text-decoration-color:#c3c9d4}
.dx.dx-models .mp-price td i{display:block;margin-top:3px;color:var(--muted);font-size:12px;font-style:normal}
.dx.dx-models .mp-price td b.mp-free{color:#067647}
html.public-light-background .dx.dx.dx-models .mp-price td.mp-na{color:#c0c6d2!important}
html.public-light-background .dx.dx.dx-models .mp-price td.mp-tier{color:var(--text)!important;font-size:13.5px;font-weight:500}
.dx.dx-models .mp-price tbody tr.mp-cont>td{border-top:1px dashed var(--line)}

/* notes under a table */
.mp-notes{margin:12px 2px 0;padding:0;list-style:none}
html.public-light-background .dx.dx.dx-models .mp-notes li{position:relative;margin:0;padding-left:14px;color:var(--muted)!important;font-size:13px;line-height:1.75}
.mp-notes li::before{content:"";position:absolute;left:2px;top:.72em;width:4px;height:4px;border-radius:50%;background:#c0c6d2}
.mp-notes code{font-size:12px}

@media(max-width:767px){
  .dx-models .dx-main{padding:26px 16px 72px}
  .mp-toc .mp-cta{margin-left:0}
  .mp-rate{margin-left:0}
  /* Phones: one card per model, prices as labelled cells instead of a wide scrolling table. */
  .mp-price{border:0;border-radius:0;overflow:visible;background:none}
  .dx.dx-models .mp-price table{min-width:0;display:block;table-layout:auto}
  .dx.dx-models .mp-price thead{display:none}
  .dx.dx-models .mp-price tbody{display:block}
  .dx.dx-models .mp-price tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:12px;margin:0 0 12px;padding:2px 16px 12px;border:1px solid var(--line);border-radius:12px;background:#fff}
  .dx.dx-models .mp-price tbody tr>*{border-top:0}
  .dx.dx-models .mp-price tbody tr.mp-first{margin-bottom:0;border-bottom:0;border-radius:12px 12px 0 0}
  .dx.dx-models .mp-price tbody tr.mp-cont{border-top:1px dashed var(--line);border-radius:0 0 12px 12px}
  .dx.dx-models .mp-price tbody tr.mp-cont>td{border-top:0}
  .dx.dx-models .mp-price th[scope=row]{grid-column:1/-1;padding:14px 0 6px}
  .dx.dx-models .mp-price td,.dx.dx-models .mp-price tbody td.mp-cache,.dx.dx-models .mp-price tbody tr:hover>td{padding:8px 0 0;white-space:normal;background:none}
  .dx.dx-models .mp-price td::before{content:attr(data-label);display:block;margin-bottom:2px;font-size:12px;color:var(--muted)}
  .dx.dx-models .mp-price td.mp-tier{grid-column:1/-1;padding-top:10px;font-weight:600}
  .dx.dx-models .mp-price td.mp-tier::before{display:none}
}
