/* CarHelpMate v5.8.2 — canonical topic typography
   Scoped to topic lists + opened topic. Does not alter global H1, icons, hero geometry or brand. */
:root{
  --chm-topic-heading:"Manrope","Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --chm-topic-body:"Inter","Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --chm-topic-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
}

/* ---------- Topic list / forum sections ---------- */
body.chm-v5-forum-page .chm-v5-forum-topic-title,
.forum-topic-title,
.forum-topic-mobile-title{
  font-family:var(--chm-topic-heading)!important;
  font-size:14px!important;
  line-height:1.4!important;
  font-weight:750!important;
  letter-spacing:-.012em!important;
}
body.chm-v5-forum-page .chm-v5-forum-topic-meta,
.forum-topic-meta,
.forum-topic-muted,
.forum-topic-last-time,
.forum-topic-mobile-meta{
  font-family:var(--chm-topic-body)!important;
  font-size:12px!important;
  line-height:1.45!important;
  font-weight:450!important;
}
body.chm-v5-forum-page .chm-v5-forum-mini-badge,
.forum-topic-obd,
.forum-topic-columns{
  font-family:var(--chm-topic-body)!important;
  font-size:11.5px!important;
  line-height:1.3!important;
  font-weight:650!important;
}
body.chm-v5-forum-page .chm-v5-forum-metric b,
.forum-topic-metric-value{
  font-family:var(--chm-topic-heading)!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:800!important;
}
body.chm-v5-forum-page .chm-v5-forum-metric small,
.forum-topic-metric-label{
  font-family:var(--chm-topic-body)!important;
  font-size:11.5px!important;
  line-height:1.35!important;
  font-weight:500!important;
}
body.chm-v5-forum-page .chm-v5-forum-last b,
.forum-topic-last-author,
.forum-topic-vehicle-name{
  font-family:var(--chm-topic-heading)!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:700!important;
}
body.chm-v5-forum-page .chm-v5-forum-last small{
  font-family:var(--chm-topic-body)!important;
  font-size:11.5px!important;
  line-height:1.35!important;
  font-weight:450!important;
}

/* ---------- Opened topic: top metadata ---------- */
.forum-topic-page .forum-topic-breadcrumbs,
.forum-topic-page .forum-topic-breadcrumbs a{
  font-family:var(--chm-topic-body)!important;
  font-size:12px!important;
  line-height:1.4!important;
  font-weight:600!important;
}
.forum-topic-page .forum-topic-status-row .forum-badge,
.forum-topic-page .forum-private-badge{
  font-family:var(--chm-topic-body)!important;
  font-size:11.5px!important;
  line-height:1.25!important;
  font-weight:700!important;
}
.forum-topic-page .forum-topic-author-line span{
  font-family:var(--chm-topic-body)!important;
  font-size:11.5px!important;
  line-height:1.35!important;
  font-weight:700!important;
}
.forum-topic-page .forum-topic-author-line strong,
.forum-topic-page .forum-topic-author-line strong a{
  font-family:var(--chm-topic-heading)!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:750!important;
}
.forum-topic-page .forum-topic-author-line small{
  font-family:var(--chm-topic-body)!important;
  font-size:12px!important;
  line-height:1.4!important;
  font-weight:450!important;
}
.forum-topic-page .forum-topic-hero-stats b{
  font-family:var(--chm-topic-heading)!important;
  font-size:15px!important;
  line-height:1.1!important;
  font-weight:800!important;
}
.forum-topic-page .forum-topic-hero-stats small{
  font-family:var(--chm-topic-body)!important;
  font-size:11.5px!important;
  line-height:1.3!important;
  font-weight:600!important;
}
.forum-topic-page .forum-topic-hero-actions .forum-btn,
.forum-topic-page .forum-topic-toolbar .forum-btn{
  font-family:var(--chm-topic-body)!important;
  font-size:12.5px!important;
  line-height:1.2!important;
  font-weight:700!important;
}

/* ---------- Opened topic: author rail + post ---------- */
.forum-topic-page .forum-post-author-name{
  font-family:var(--chm-topic-heading)!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:750!important;
  letter-spacing:-.008em!important;
}
.forum-topic-page .forum-post-author-level,
.forum-topic-page .forum-post-author-reputation,
.forum-topic-page .forum-post-author-profile{
  font-family:var(--chm-topic-body)!important;
  font-size:11.5px!important;
  line-height:1.35!important;
  font-weight:500!important;
}
.forum-topic-page .forum-post-author-metrics b{
  font-family:var(--chm-topic-heading)!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:800!important;
}
.forum-topic-page .forum-post-author-metrics span{
  font-family:var(--chm-topic-body)!important;
  font-size:10.5px!important;
  line-height:1.3!important;
  font-weight:500!important;
}
.forum-topic-page .forum-post-kind,
.forum-topic-page .forum-post-content-head time,
.forum-topic-page .forum-post-number,
.forum-topic-page .forum-best-answer-strip{
  font-family:var(--chm-topic-body)!important;
  font-size:11.5px!important;
  line-height:1.35!important;
  font-weight:650!important;
}
.forum-topic-page .forum-post-message,
.forum-topic-page .forum-post-message :where(p,li),
.forum-topic-page .forum-post-content{
  font-family:var(--chm-topic-body)!important;
  font-size:15px!important;
  line-height:1.7!important;
  font-weight:400!important;
  letter-spacing:0!important;
}
.forum-topic-page .forum-post-heading{
  font-family:var(--chm-topic-heading)!important;
  font-size:17px!important;
  line-height:1.35!important;
  font-weight:800!important;
  letter-spacing:-.018em!important;
}
.forum-topic-page .forum-quote,
.forum-topic-page .forum-spoiler{
  font-family:var(--chm-topic-body)!important;
  font-size:14px!important;
  line-height:1.65!important;
  font-weight:400!important;
}
.forum-topic-page .forum-quote-author,
.forum-topic-page .forum-spoiler>summary{
  font-family:var(--chm-topic-heading)!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:750!important;
}
.forum-topic-page .forum-post-code,
.forum-topic-page .forum-post-code code,
.forum-topic-page .forum-topic-obd,
.forum-topic-page .v357-dtc{
  font-family:var(--chm-topic-mono)!important;
  font-size:13px!important;
  line-height:1.62!important;
}
.forum-topic-page .forum-post-actions .forum-action,
.forum-topic-page article .forum-action{
  font-family:var(--chm-topic-body)!important;
  font-size:12.5px!important;
  line-height:1.2!important;
  font-weight:650!important;
}

/* ---------- Case / solution blocks ---------- */
.forum-topic-page .forum-vehicle-card h2,
.forum-topic-page #case-result h2,
.forum-topic-page .forum-case-result-editor summary b,
.forum-topic-page .forum-reply-heading h2,
.forum-topic-page .forum-topic-guest-copy h3,
.forum-topic-page .forum-side-column .forum-card h3{
  font-family:var(--chm-topic-heading)!important;
  font-size:16px!important;
  line-height:1.3!important;
  font-weight:800!important;
  letter-spacing:-.012em!important;
}
.forum-topic-page .forum-case-label,
.forum-topic-page .forum-reply-kicker,
.forum-topic-page .forum-topic-timeline,
.forum-topic-page .forum-topic-endnav small{
  font-family:var(--chm-topic-body)!important;
  font-size:11.5px!important;
  line-height:1.35!important;
  font-weight:650!important;
}
.forum-topic-page .forum-case-value,
.forum-topic-page .forum-topic-endnav b{
  font-family:var(--chm-topic-heading)!important;
  font-size:12.5px!important;
  line-height:1.4!important;
  font-weight:700!important;
}
.forum-topic-page .forum-reply-heading p,
.forum-topic-page .forum-topic-guest-copy p,
.forum-topic-page .forum-social-compose-hint small,
.forum-topic-page .forum-file-meta,
.forum-topic-page .forum-file-copy small{
  font-family:var(--chm-topic-body)!important;
  font-size:12.5px!important;
  line-height:1.5!important;
  font-weight:400!important;
}
.forum-topic-page .forum-editor-field,
.forum-topic-page .forum-editor-preview,
.forum-topic-page #replyField,
.forum-topic-page textarea.forum-input{
  font-family:var(--chm-topic-body)!important;
  font-size:15px!important;
  line-height:1.65!important;
  font-weight:400!important;
}
.forum-topic-page .forum-reply-footer,
.forum-topic-page .forum-reply-footer #replyCounter,
.forum-topic-page .forum-pagination{
  font-family:var(--chm-topic-body)!important;
  font-size:12px!important;
  line-height:1.35!important;
}

/* Keep the same typography on phones: no shrinking of reading text. */
@media(max-width:680px){
  body.chm-v5-forum-page .chm-v5-forum-topic-title,
  .forum-topic-title,
  .forum-topic-mobile-title{font-size:14px!important;line-height:1.4!important}
  body.chm-v5-forum-page .chm-v5-forum-topic-meta,
  .forum-topic-meta,
  .forum-topic-muted,
  .forum-topic-last-time,
  .forum-topic-mobile-meta{font-size:12px!important;line-height:1.45!important}
  .forum-topic-page .forum-post-message,
  .forum-topic-page .forum-post-message :where(p,li),
  .forum-topic-page .forum-post-content{font-size:15px!important;line-height:1.7!important}
  .forum-topic-page .forum-post-author-name{font-size:13px!important}
  .forum-topic-page .forum-post-kind,
  .forum-topic-page .forum-post-content-head time,
  .forum-topic-page .forum-post-number{font-size:11.5px!important}
  .forum-topic-page .forum-post-actions .forum-action,
  .forum-topic-page article .forum-action{font-size:12.5px!important}
  .forum-topic-page .forum-reply-heading h2,
  .forum-topic-page .forum-topic-guest-copy h3{font-size:16px!important}
  .forum-topic-page .forum-editor-field,
  .forum-topic-page .forum-editor-preview,
  .forum-topic-page #replyField{font-size:15px!important;line-height:1.65!important}
}
