/* CarHelpMate v3.59 — Smart Diagnostic Case View */
.forum-smart-case{position:relative;overflow:hidden;padding:22px;border:1px solid rgba(37,99,235,.13);background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,251,255,.98));box-shadow:0 16px 38px rgba(15,23,42,.055)}
.forum-smart-case:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#2563eb,#0ea5e9 46%,#22c55e);opacity:.9}
.forum-smart-case-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:18px;border-bottom:1px solid var(--border)}
.forum-smart-case-heading{display:flex;align-items:flex-start;gap:12px;min-width:0}
.forum-smart-case-mark{width:38px;height:38px;border-radius:13px;display:flex;align-items:center;justify-content:center;flex:none;color:#1d4ed8;background:linear-gradient(145deg,#eff6ff,#dbeafe);border:1px solid #bfdbfe;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.forum-smart-case-kicker{display:block;font-size:12.25px;line-height:1.2;font-weight:850;letter-spacing:.12em;color:#2563eb;margin-bottom:4px}
.forum-smart-case-heading h2{font-family:Manrope,Inter,sans-serif;font-size:17px;line-height:1.25;font-weight:800;color:var(--text);margin:0}
.forum-smart-case-heading p{font-size:13px;line-height:1.55;color:var(--text-dim);margin:4px 0 0}
.forum-smart-case-id{display:flex;align-items:center;gap:8px;flex:none;padding:7px 10px;border-radius:11px;background:var(--surface-alt);border:1px solid var(--border)}
.forum-smart-case-id span{font-size:12.25px;font-weight:700;color:var(--text-faint)}
.forum-smart-case-id b{font-size:12.75px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.035em;color:var(--text)}
.forum-smart-case-main{display:grid;grid-template-columns:155px minmax(0,1fr);gap:20px;align-items:stretch;padding:20px 0}
.forum-smart-case-score{border-radius:16px;background:rgba(255,255,255,.8);border:1px solid var(--border);padding:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}
.forum-smart-case-gauge{width:86px;height:86px;border-radius:50%;background:conic-gradient(#2563eb calc(var(--case-score)*1%),#e8eef7 0);display:grid;place-items:center;position:relative}
.forum-smart-case-gauge:after{content:"";position:absolute;width:68px;height:68px;border-radius:50%;background:white;box-shadow:inset 0 0 0 1px rgba(148,163,184,.18)}
.forum-smart-case-gauge>div{position:relative;z-index:1;text-align:center;display:flex;flex-direction:column;align-items:center}
.forum-smart-case-gauge strong{font-family:Manrope,Inter,sans-serif;font-size:17px;line-height:1;font-weight:850;color:var(--text)}
.forum-smart-case-gauge span{font-size:12px;line-height:1.15;color:var(--text-faint);margin-top:4px;max-width:52px}
.forum-smart-case-status{text-align:center}.forum-smart-case-status small{display:block;font-size:12px;color:var(--text-faint);margin-bottom:3px}.forum-smart-case-status b{display:inline-flex;align-items:center;gap:4px;font-size:12.5px;color:var(--text)}
.forum-smart-case-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.forum-smart-case-fact{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:13px;border-radius:14px;background:rgba(255,255,255,.76);border:1px solid var(--border)}
.forum-smart-case-fact-icon{width:31px;height:31px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex:none;color:#1d4ed8;background:#eff6ff}.forum-smart-case-fact-icon.is-violet{color:#6d28d9;background:#f5f3ff}.forum-smart-case-fact-icon.is-amber{color:#b45309;background:#fffbeb}.forum-smart-case-fact-icon.is-green{color:#15803d;background:#f0fdf4}
.forum-smart-case-fact>div{min-width:0}.forum-smart-case-fact small{display:block;font-size:12.25px;line-height:1.2;color:var(--text-faint);margin-bottom:4px}.forum-smart-case-fact b{display:block;font-size:13px;line-height:1.35;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.forum-smart-case-fact em{display:block;font-style:normal;font-size:12.25px;line-height:1.35;color:var(--text-dim);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.forum-smart-case-journey{display:grid;grid-template-columns:auto 1fr auto 1fr auto;align-items:center;gap:8px;padding:14px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.forum-smart-case-step{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.forum-smart-case-step span{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:1px solid var(--border);background:white;color:#94a3b8}.forum-smart-case-step b{font-size:12.25px;color:#94a3b8}.forum-smart-case-step.is-done span{background:#eff6ff;border-color:#bfdbfe;color:#2563eb}.forum-smart-case-step.is-done b{color:var(--text)}
.forum-smart-case-line{height:2px;border-radius:999px;background:#e2e8f0}.forum-smart-case-line.is-done{background:linear-gradient(90deg,#60a5fa,#2563eb)}
.forum-smart-case-outcome{margin-top:16px;padding:14px 15px;border-radius:14px;border:1px solid #bbf7d0;background:linear-gradient(135deg,#f0fdf4,#f7fee7)}
.forum-smart-case-outcome-head{display:flex;align-items:center;gap:7px;color:#166534}.forum-smart-case-outcome-head b{font-size:13px}.forum-smart-case-outcome-head em{margin-left:auto;font-style:normal;font-size:12.25px;font-weight:700;color:#15803d}
.forum-smart-case-outcome-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px}.forum-smart-case-outcome-grid>div{min-width:0}.forum-smart-case-outcome-grid small{display:block;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#15803d;margin-bottom:4px}.forum-smart-case-outcome-grid p{font-size:12.75px;line-height:1.45;color:#14532d;margin:0}
.forum-smart-case-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:16px}
.forum-smart-case-hint{display:flex;align-items:flex-start;gap:8px;min-width:0;color:#64748b}.forum-smart-case-hint>span{width:23px;height:23px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex:none;background:#f8fafc;border:1px solid var(--border)}.forum-smart-case-hint>span.is-good{color:#15803d;background:#f0fdf4;border-color:#bbf7d0}.forum-smart-case-hint p{font-size:12.5px;line-height:1.5;margin:2px 0 0}.forum-smart-case-hint b{color:var(--text);font-weight:750}
.forum-smart-case-actions{display:flex;align-items:center;gap:8px;flex:none}
@media(max-width:900px){.forum-smart-case-main{grid-template-columns:130px minmax(0,1fr)}.forum-smart-case-facts{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.forum-smart-case{padding:16px}.forum-smart-case-head{gap:10px}.forum-smart-case-heading p{font-size:12.75px}.forum-smart-case-id{padding:6px 8px}.forum-smart-case-main{grid-template-columns:1fr;gap:12px;padding:16px 0}.forum-smart-case-score{flex-direction:row;justify-content:flex-start;padding:11px 13px}.forum-smart-case-gauge{width:64px;height:64px}.forum-smart-case-gauge:after{width:50px;height:50px}.forum-smart-case-gauge strong{font-size:14px}.forum-smart-case-gauge span{font-size:12px}.forum-smart-case-status{text-align:left}.forum-smart-case-facts{grid-template-columns:1fr}.forum-smart-case-fact{padding:11px}.forum-smart-case-fact b{font-size:13px}.forum-smart-case-journey{gap:5px;overflow:hidden}.forum-smart-case-step b{font-size:12px}.forum-smart-case-step span{width:23px;height:23px}.forum-smart-case-outcome-grid{grid-template-columns:1fr}.forum-smart-case-footer{align-items:stretch;flex-direction:column}.forum-smart-case-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.forum-smart-case-actions .forum-btn{width:100%}}
@media(max-width:430px){.forum-smart-case-heading h2{font-size:15px}.forum-smart-case-kicker{font-size:12px}.forum-smart-case-heading p{font-size:12.5px}.forum-smart-case-id span{display:none}.forum-smart-case-id b{font-size:12.25px}.forum-smart-case-fact small{font-size:12px}.forum-smart-case-fact b{font-size:12.75px}.forum-smart-case-journey{grid-template-columns:auto 1fr auto 1fr auto}.forum-smart-case-step{gap:4px}.forum-smart-case-step b{display:none}.forum-smart-case-actions{grid-template-columns:1fr}.forum-smart-case-outcome-head{flex-wrap:wrap}.forum-smart-case-outcome-head em{width:100%;margin-left:24px}}
