/* Model landing pages: pricing and setup first, technical reference below. */
.model-detail .sidebar .upsell[data-for="out"] { display: none; }
.mdp > .breadcrumbs { margin-bottom: 24px; }
.mdp .breadcrumbs > span:last-child { color: var(--text-2); }
.mdp .mdp-hero { margin: 0 0 34px; }
.mdp-identity, .mdp-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.mdp-identity { margin-bottom: 12px; color: var(--text-2); font-size: 13px; font-weight: 600; }
.mdp-identity .logo-tile { width: 28px; height: 28px; border-radius: 8px; }
.mdp-protocol { display: inline-flex; align-items: center; gap: 10px; font-weight: 400; }
.mdp-protocol::before { content: ""; width: 3px; height: 3px; border-radius: 100%; background: var(--text-3); }
.mdp-hero h1 { font-size: clamp(31px, 4.3vw, 46px); text-wrap: balance; }
.mdp-hero .hint { margin-top: 12px; font-size: 13px; }
.mdp-actions { margin-top: 20px; }
.mdp-actions .btn { min-height: 42px; }
.mdp-actions svg { width: 15px; height: 15px; }

.mdp-main { min-width: 0; }
.mdp-toc-wide { display: none; }
.mdp-toc { margin: 0 0 24px; }
.mdp-toc p { margin: 0 0 8px; font-size: 13px; font-weight: 600; }
.mdp-toc ul { list-style: none; margin: 0; padding: 0; }
.mdp-toc a { display: block; padding-block: 5px; color: var(--text-2); font-size: 13px; }
.mdp-toc a:hover, .mdp-toc a:focus-visible { color: #9ee5d0; }
.mdp-toc-compact { border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.02); }
.mdp-toc-compact summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 8px 14px; font-size: 13px; }
.mdp-toc-compact nav { padding: 0 14px 9px; }
.mdp-toc-compact a { padding-block: 10px; }
@media (min-width: 1230px) {
  .mdp-layout { display: grid; grid-template-columns: minmax(0,1fr) 204px; gap: 0 24px; align-items: start; }
  .mdp-main { grid-area: 1 / 1; }
  .mdp-toc-compact { display: none; }
  .mdp-toc-wide { display: block; grid-area: 1 / 2; position: sticky; top: 64px;
    max-height: calc(100dvh - 80px); overflow-y: auto; margin: 0; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.025); }
}

.mdp-price { margin: 0; padding: clamp(16px, 2.5vw, 27px); border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(150deg, rgba(var(--glow),.07), transparent 52%), var(--panel); }
.mdp-price h2 { margin-bottom: 6px; }
.mdp-price > p { margin: 0 0 16px; }
.mdp-price > p strong { color: var(--text); font-weight: 650; }
.mdp-rates { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #111112; }
.mdp-rate-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mdp-rate-table caption { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 12px; }
.mdp-rate-table th, .mdp-rate-table td { padding: 9px 14px; border-bottom: 1px solid var(--line); text-align: right; }
.mdp-rate-table tr > :first-child { text-align: left; }
.mdp-rate-table thead th { vertical-align: middle; background: rgba(255,255,255,.025); color: var(--text-2); font-size: 13px; font-weight: 650; }
.mdp-rate-table thead small { display: block; color: var(--text-2); font: 400 10.5px/1.3 var(--font); }
.mdp-rate-table tbody th { color: var(--text-2); font-size: 13px; font-weight: 500; }
.mdp-rate-table tr > :nth-child(2) { color: var(--text); font-weight: 650; }
.mdp-rate-table td { color: var(--text-2); white-space: nowrap; }
.mdp-rate-table tbody tr:last-child > * { border-bottom: 0; }
.mdp-price .mdp-rate-note { margin: 8px 0 0; font-size: 12px; }
.mdp .tools { margin-top: 32px; scroll-margin-top: 64px; }
.mdp .tools .tl-model-note { margin-top: 8px; font-size: 13px; }
.mdp .tl-model-note a, .mdp-reference .rh-content-specs a { color: #9ee5d0; text-decoration: underline; text-underline-offset: 2px; }
.mdp .tools + .cta { margin-top: 28px; }
.mdp-reference { margin-top: 42px; }
.mdp-reference .rh-content-specs { grid-template-columns: minmax(100px,max-content) minmax(0,1fr); overflow-wrap: anywhere; }
.mdp-reference .rh-content-links { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

@media (max-width: 640px) {
  .model-detail .page { padding-inline: clamp(16px, 5vw, 22px); }
  .mdp > .breadcrumbs { margin-bottom: 22px; }
  .mdp .mdp-hero { margin-bottom: 27px; }
  .mdp-hero h1 { line-height: 1.12; }
  .mdp-price { border-radius: 17px; }
  .mdp-rate-table thead th, .mdp-rate-table tbody th { font-size: 12px; }
  .mdp-rate-table td, .mdp-rate-table th, .mdp-rate-table caption { padding-inline: 10px; }
  .mdp .tools .tl-grid { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .mdp .tl-grid a { padding-inline: 9px; gap: 8px; font-size: 13px; line-height: 1.3; }
  .mdp .tl-grid img, .mdp .tl-plus { width: 22px; height: 22px; }
  .mdp .tl-all > svg { display: none; }
  .mdp-reference .rh-content-specs { padding: 13px; gap: 9px 12px; }
}
