/* Model-specific additions; the existing brand reading layout supplies all shared tokens. */
.tieqi-model-page .tm-hero { grid-template-columns: 280px minmax(0,1fr); align-items: start; gap: 26px; }
.tieqi-model-page .tm-photo-panel { min-width: 0; padding: 14px 12px 10px; border-radius: 5px; background: var(--tb-surface); }
.tieqi-model-page .tm-main-photo { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1.45; border-radius: 4px; background: #fff; overflow: hidden; }
.tieqi-model-page .tm-main-photo img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.tieqi-model-page .tm-photo-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 7px; }
.tieqi-model-page .tm-photo-tools a, .tieqi-model-page .tm-favorite { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 4px; font-size: 12px; color: var(--tb-muted); border: 0; background: transparent; }
.tieqi-model-page .tm-photo-tools a:hover, .tieqi-model-page .tm-favorite { color: var(--tb-accent); }
.tieqi-model-page .tm-photo-tools svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.tieqi-model-page .tm-favorite[aria-pressed="true"] svg { fill: #ffdec7; }
.tieqi-model-page .tm-image-note { margin: 0; text-align: center; font-size: 12px; color: var(--tb-muted); line-height: 1.8; }
.tieqi-model-page .tm-eyebrow { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; color: var(--tb-accent); font-size: 12px; line-height: 1.6; }
.tieqi-model-page .tm-racing-mark { width: 23px; height: 7px; background: repeating-linear-gradient(90deg,var(--tb-accent) 0 5px,transparent 5px 8px); transform: skewX(-24deg); }
.tieqi-model-page .tb-hero-copy { padding-top: 0; }
.tieqi-model-page .tb-title-line h1 { font-size: 29px; }
.tieqi-model-page .tb-summary { margin: 13px 0; }
.tieqi-model-page .tm-hero-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 12px 0 18px; }
.tieqi-model-page .tm-hero-price > span { flex-basis: 100%; font-size: 12px; color: var(--tb-muted); }
.tieqi-model-page .tm-hero-price strong { font-size: 27px; font-weight: 650; line-height: 1.45; color: var(--tb-accent); font-variant-numeric: tabular-nums; }
.tieqi-model-page .tm-hero-price small { font-size: 12px; color: var(--tb-muted); }
.tieqi-model-page .tm-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 0 0 24px; }
.tieqi-model-page .tm-metrics a { display: flex; flex-direction: column; gap: 5px; min-height: 84px; padding: 15px 16px; border: 1px solid var(--tb-line); border-radius: 4px; background: var(--tb-paper); }
.tieqi-model-page .tm-metrics a:hover { background: var(--tb-surface); }
.tieqi-model-page .tm-metrics span { font-size: 12px; color: var(--tb-muted); }
.tieqi-model-page .tm-metrics strong { color: var(--tb-ink); font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.5; overflow-wrap: anywhere; }
.tieqi-model-page .tm-facts dt { flex-basis: 5em; }
.tieqi-model-page .tm-features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.tieqi-model-page .tm-feature { min-width: 0; padding: 18px 16px; border: 1px solid var(--tb-line); border-radius: 5px; background: var(--tb-paper); }
.tieqi-model-page .tm-feature > svg { width: 24px; height: 24px; color: var(--tb-accent); margin-bottom: 12px; }
.tieqi-model-page .tm-feature h3 { margin: 0 0 9px; color: var(--tb-ink); font-size: 16px; font-weight: 650; line-height: 1.7; }
.tieqi-model-page .tm-feature p { color: var(--tb-prose); font-size: 14px; line-height: 1.85; margin: 0; overflow-wrap: anywhere; }
.tieqi-model-page .tm-section-count { font-size: 12px; color: var(--tb-muted); }
.tieqi-model-page .tm-version-list { display: grid; gap: 12px; }
.tieqi-model-page .tm-version-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; background: var(--tb-surface); border: 1px solid var(--tb-line); border-radius: 5px; }
.tieqi-model-page .tm-version-card > div { min-width: 0; }
.tieqi-model-page .tm-version-year { color: var(--tb-muted); font-size: 12px; }
.tieqi-model-page .tm-version-card h3 { color: var(--tb-ink); font-size: 17px; line-height: 1.7; margin: 4px 0 7px; }
.tieqi-model-page .tm-version-card p { color: var(--tb-muted); font-size: 14px; line-height: 1.8; margin: 0; }
.tieqi-model-page .tm-version-price { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.tieqi-model-page .tm-version-price strong { color: var(--tb-accent); font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; }
.tieqi-model-page .tm-version-price a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--tb-accent); font-size: 13px; }
.tieqi-model-page .tm-parameter-controls { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; padding: 18px; border-radius: 5px; background: var(--tb-surface); }
.tieqi-model-page .tm-parameter-controls label { display: block; color: var(--tb-ink); font-weight: 500; font-size: 14px; margin-bottom: 9px; }
.tieqi-model-page .tm-parameter-controls select, .tieqi-model-page .tm-parameter-controls input { width: 100%; min-width: 0; min-height: 44px; border: 1px solid var(--tb-line); border-radius: 4px; color: var(--tb-ink); background: var(--tb-paper); padding: 10px 12px; font-size: 16px; line-height: 1.5; }
.tieqi-model-page .tm-version-select select:disabled { opacity: 1; color: var(--tb-prose); cursor: default; }
.tieqi-model-page .tm-version-select > span { display: block; margin-top: 8px; color: var(--tb-muted); font-size: 12px; }
.tieqi-model-page .tm-parameter-search > div { position: relative; display: flex; min-width: 0; align-items: center; border: 1px solid var(--tb-line); border-radius: 4px; background: var(--tb-paper); padding-left: 12px; }
.tieqi-model-page .tm-parameter-search input { border: 0; background: transparent; padding-left: 8px; }
.tieqi-model-page .tm-parameter-search .tb-icon { width: 17px; height: 17px; color: var(--tb-muted); }
.tieqi-model-page .tm-parameter-search button { min-width: 44px; min-height: 44px; padding: 8px; color: var(--tb-accent); background: transparent; border: 0; flex-shrink: 0; font-size: 12px; }
.tieqi-model-page .tm-parameter-controls select:focus-visible { outline: 2px solid var(--tb-accent); outline-offset: 4px; }
.tieqi-model-page .tm-parameter-caption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 14px 0; color: var(--tb-muted); font-size: 13px; line-height: 1.8; }
.tieqi-model-page .tm-parameter-caption p { flex: 1 1 240px; margin: 0; color: var(--tb-muted); }
.tieqi-model-page .tm-parameter-caption > span { font-variant-numeric: tabular-nums; }
.tieqi-model-page .tm-parameter-caption button { min-height: 44px; padding: 8px 10px; color: var(--tb-accent); border: 1px solid var(--tb-line); border-radius: 4px; background: var(--tb-paper); font-size: 13px; }
.tieqi-model-page .tm-parameter-caption button:hover { background: var(--tb-hover); }
.tieqi-model-page .tm-parameter-version-title { margin: 22px 0 12px; color: var(--tb-ink); font-size: 17px; line-height: 1.7; }
.tieqi-model-page .tm-version-parameters { scroll-margin-top: var(--tb-anchor-offset); }
.tieqi-model-page .tm-parameter-group { border: 1px solid var(--tb-line); border-radius: 5px; margin-bottom: 14px; overflow: hidden; }
.tieqi-model-page .tm-parameter-group summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 18px; cursor: pointer; list-style: none; color: var(--tb-ink); font-size: 15px; font-weight: 600; background: var(--tb-surface); }
.tieqi-model-page .tm-parameter-group summary::-webkit-details-marker { display: none; }
.tieqi-model-page .tm-parameter-group summary > span { flex: 1; }
.tieqi-model-page .tm-parameter-group summary > small { color: var(--tb-muted); font-weight: 400; font-size: 12px; }
.tieqi-model-page .tm-parameter-group summary > svg { width: 14px; height: 14px; transition: transform .18s ease; }
.tieqi-model-page .tm-parameter-group[open] summary > svg { transform: rotate(180deg); }
.tieqi-model-page .tm-parameter-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 0; font-size: 14px; line-height: 1.8; color: var(--tb-prose); }
.tieqi-model-page .tm-parameter-table th, .tieqi-model-page .tm-parameter-table td { padding: 12px 18px; vertical-align: top; border-top: 1px solid var(--tb-line); overflow-wrap: anywhere; }
.tieqi-model-page .tm-parameter-table th { width: 44%; font-weight: 400; color: var(--tb-muted); }
.tieqi-model-page .tm-parameter-table td { font-variant-numeric: tabular-nums; }
.tieqi-model-page .tm-parameter-table tr:nth-child(even) { background: var(--tb-surface); }
.tieqi-model-page .tm-brand-card { display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 208px; padding: 20px 16px 16px; border: 1px solid var(--tb-line); border-radius: 5px; background: var(--tb-surface); }
.tieqi-model-page .tm-brand-card:hover { border-color: var(--tb-accent); }
.tieqi-model-page .tm-brand-card img { width: 84px; height: 84px; object-fit: contain; background: #fff; border-radius: 6px; padding: 8px; }
.tieqi-model-page .tm-brand-card strong { font-size: 17px; color: var(--tb-ink); }
.tieqi-model-page .tm-brand-card > span { font-size: 12px; color: var(--tb-muted); }
.tieqi-model-page .tm-brand-card small { margin-top: 3px; font-size: 12px; color: var(--tb-accent); }
.tieqi-model-page .tm-rail-models { list-style: none; margin: 0; padding: 0; }
.tieqi-model-page .tm-rail-models a { display: flex; align-items: center; gap: 10px; min-height: 72px; padding: 10px 0; }
.tieqi-model-page .tm-rail-models img { width: 68px; height: 48px; object-fit: contain; padding: 3px; background: #fff; border-radius: 4px; flex-shrink: 0; }
.tieqi-model-page .tm-rail-models a > div { min-width: 0; }
.tieqi-model-page .tm-rail-models strong { display: block; font-size: 13px; font-weight: 500; line-height: 1.6; color: var(--tb-ink); }
.tieqi-model-page .tm-rail-models span { display: block; font-size: 12px; line-height: 1.6; color: var(--tb-muted); margin-top: 5px; }
.tieqi-model-page .tm-photo-dialog { width: min(1000px,calc(100vw - 32px)); max-height: calc(100dvh - 32px); border: 1px solid var(--tb-line); padding: 20px; border-radius: 6px; background: var(--tb-paper); color: var(--tb-ink); overflow: auto; }
.tieqi-model-page .tm-photo-dialog::backdrop { background: #151b26b3; }
.tieqi-model-page .tm-photo-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.tieqi-model-page .tm-photo-dialog h2 { color: var(--tb-ink); font-size: 18px; line-height: 1.7; margin: 0; }
.tieqi-model-page .tm-photo-dialog button { min-width: 76px; min-height: 44px; padding: 8px 12px; color: var(--tb-ink); border: 1px solid var(--tb-line); background: var(--tb-surface); border-radius: 4px; flex-shrink: 0; }
.tieqi-model-page .tm-photo-dialog img { display: block; width: 100%; height: auto; max-height: 70dvh; object-fit: contain; background: #fff; border-radius: 4px; padding: 16px; }
.tieqi-model-page .tm-photo-dialog p { color: var(--tb-muted); font-size: 13px; line-height: 1.8; margin: 12px 0 0; }
.tieqi-model-page.tm-modal-open { overflow: hidden; }
@media (max-width:1199px) { .tieqi-model-page .tm-hero { grid-template-columns: 240px minmax(0,1fr); gap: 20px; } .tieqi-model-page .tm-features { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width:767px) {
  .tieqi-model-page .tm-hero { grid-template-columns: 240px minmax(0,1fr); }
  .tieqi-model-page .tm-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .tieqi-model-page .tm-parameter-controls { grid-template-columns: minmax(0,1fr); gap: 18px; }
}
@media (max-width:575px) {
  .tieqi-model-page .tm-hero { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .tieqi-model-page .tm-photo-panel { width: 100%; max-width: 440px; }
  .tieqi-model-page .tm-main-photo { aspect-ratio: 1.55; }
  .tieqi-model-page .tm-photo-tools { gap: 20px; }
  .tieqi-model-page .tb-title-line h1 { font-size: 26px; }
  .tieqi-model-page .tm-hero-price strong { font-size: 28px; }
  .tieqi-model-page .tm-metrics a { padding: 12px 14px; }
  .tieqi-model-page .tm-metrics strong { font-size: 22px; }
  .tieqi-model-page .tm-feature { padding: 16px 14px; }
  .tieqi-model-page .tm-feature p { font-size: 15px; }
  .tieqi-model-page .tm-version-card { align-items: flex-start; flex-direction: column; gap: 14px; padding: 18px; }
  .tieqi-model-page .tm-version-price { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; width: 100%; gap: 10px; }
  .tieqi-model-page .tm-version-price a { font-size: 12px; }
  .tieqi-model-page .tm-parameter-controls { padding: 16px; }
  .tieqi-model-page .tm-parameter-table { font-size: 15px; }
  .tieqi-model-page .tm-parameter-table th, .tieqi-model-page .tm-parameter-table td { padding: 12px 14px; }
  .tieqi-model-page .tm-parameter-group summary { padding: 12px 14px; font-size: 16px; }
  .tieqi-model-page .tb-aside { display: block; }
  .tieqi-model-page .tb-aside > .tb-rail-section:not(.tb-topics) { display: none; }
  .tieqi-model-page .tm-photo-dialog { padding: 14px; }
  .tieqi-model-page .tm-photo-dialog h2 { font-size: 16px; }
  .tieqi-model-page .tm-photo-dialog img { padding: 8px; }
}
@media (max-width:479px) { .tieqi-model-page .tm-features { grid-template-columns: minmax(0,1fr); } }
