/* CarHelpMate 4.1 — light premium reference redesign */
:root{
  --ref-bg:#f8fbff;
  --ref-bg-soft:#f3f7fb;
  --ref-surface:#ffffff;
  --ref-ink:#0e1b31;
  --ref-muted:#617087;
  --ref-line:#dce5ef;
  --ref-blue:#0c5da9;
  --ref-blue-2:#084b8a;
  --ref-blue-soft:#eaf4ff;
  --ref-shadow:0 12px 40px rgba(31,64,104,.08);
  --ref-shadow-soft:0 4px 20px rgba(31,64,104,.06);
}
html{background:var(--ref-bg)!important}
body.forum-standalone-app{
  color:var(--ref-ink)!important;
  font-family:"Inter","Golos Text",system-ui,-apple-system,"Segoe UI",sans-serif!important;
  background:
    radial-gradient(900px 520px at 6% 0%,rgba(143,196,242,.15),transparent 60%),
    radial-gradient(720px 420px at 94% 8%,rgba(255,223,189,.16),transparent 62%),
    linear-gradient(180deg,#fbfdff 0%,#f7faff 46%,#f9fbfe 100%)!important;
  font-size:14px!important;
  letter-spacing:-.006em!important;
}
.font-display,.forum-section-title,h1,h2,h3,.forum-brand-title{font-family:"Inter","Golos Text",sans-serif!important;letter-spacing:-.025em!important}
.forum-bg{background:transparent!important}
.forum-card{background:rgba(255,255,255,.97)!important;border:1px solid var(--ref-line)!important;border-radius:16px!important;box-shadow:var(--ref-shadow-soft)!important}
.forum-card-hover:hover{border-color:#cad9e8!important;box-shadow:0 14px 34px rgba(35,72,112,.1)!important}

/* ---------- header ---------- */
.forum-topbar{position:sticky!important;top:0!important;z-index:90!important;background:rgba(255,255,255,.94)!important;border-bottom:1px solid #e5ecf4!important;box-shadow:0 6px 26px rgba(28,57,88,.055)!important;backdrop-filter:blur(18px)!important}
.forum-topbar-inner{max-width:1448px!important;height:62px!important;padding:0 24px!important;gap:18px!important}
.forum-brand{gap:9px!important}.forum-site-logo{width:43px!important;height:34px!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}.forum-site-logo-img{object-fit:contain!important}.forum-brand-title{font-size:20px!important;line-height:1!important;color:#0d2340!important;font-weight:800!important}.forum-brand-forum{font-size:7px!important;margin-top:4px!important;color:#67758b!important;text-transform:none!important;letter-spacing:.02em!important;font-weight:600!important}
.forum-navlinks{margin:0!important;height:auto!important;padding:0!important;gap:3px!important;background:transparent!important;border:0!important;border-radius:0!important}.forum-navlinks>a,.forum-navlinks>button{height:38px!important;min-height:38px!important;padding:0 12px!important;border-radius:13px!important;color:#26364d!important;font-weight:650!important}.forum-navlinks>a svg,.forum-navlinks>button svg{display:none!important}.forum-navlinks>a:hover,.forum-navlinks>button:hover{color:var(--ref-blue)!important;background:#f1f7fd!important}.forum-navlinks>.active{background:#eef6ff!important;color:var(--ref-blue)!important;box-shadow:0 6px 18px rgba(38,105,165,.08)!important}.forum-navlinks>button[data-forum-new-topic-open]{display:none!important}
.forum-top-search{flex:1 1 360px!important;max-width:390px!important;min-width:190px!important;margin-left:auto!important;position:relative!important}.forum-top-search svg{position:absolute!important;left:14px!important;top:50%!important;transform:translateY(-50%)!important;color:#718096!important;pointer-events:none!important}.forum-top-search input{width:100%!important;height:38px!important;padding:0 16px 0 39px!important;border-radius:13px!important;border:1px solid transparent!important;outline:0!important;background:#f3f6f9!important;color:#24344b!important;font-size:11px!important;box-shadow:inset 0 0 0 1px rgba(216,225,235,.35)!important}.forum-top-search input:focus{background:#fff!important;border-color:#bad5ef!important;box-shadow:0 0 0 4px rgba(31,111,178,.08)!important}
.forum-top-actions{gap:5px!important}.forum-icon-btn,.forum-account-trigger{width:36px!important;height:36px!important;border:0!important;background:transparent!important;color:#24344b!important;border-radius:11px!important}.forum-icon-btn:hover,.forum-account-trigger:hover{background:#f1f6fb!important;border:0!important}.forum-counter{border-color:#fff!important}.forum-account-trigger{padding:2px 4px!important}.forum-account-avatar{width:30px!important;height:30px!important;border-radius:50%!important;background:#eaf2fb!important;box-shadow:0 0 0 1px #d8e3ee!important}.forum-account-avatar .forum-avatar{width:30px!important;height:30px!important;border-radius:50%!important}.forum-presence-dot{border-color:#fff!important}.forum-account-chevron{color:#627289!important}.forum-lang-menu,.forum-notif-menu,.forum-account-menu{border-color:#dce5ef!important;border-radius:16px!important;box-shadow:0 22px 55px rgba(39,67,98,.16)!important}

/* ---------- buttons, fields, typography ---------- */
.forum-btn,.forum-action,.chm-feedback-submit{min-height:40px!important;border-radius:999px!important;padding:0 17px!important;font-size:11.5px!important;font-weight:700!important;letter-spacing:-.01em!important;transition:.18s ease!important}.forum-btn-primary{background:linear-gradient(180deg,#176bb5,#0b579a)!important;border-color:#0d5c9e!important;color:#fff!important;box-shadow:0 9px 22px rgba(12,93,169,.18)!important}.forum-btn-primary:hover{background:linear-gradient(180deg,#0e61ab,#084b88)!important;box-shadow:0 11px 27px rgba(12,93,169,.24)!important;transform:translateY(-1px)!important}.forum-btn-secondary{background:#fff!important;border-color:#d3deea!important;color:#214365!important;box-shadow:0 3px 10px rgba(44,77,110,.035)!important}.forum-btn-secondary:hover{background:#f8fbff!important;border-color:#b9cce0!important;color:#0b5ca7!important}.forum-btn-compact{min-height:35px!important;padding:0 14px!important;font-size:11px!important}
.forum-input,input.forum-input,select.forum-input,textarea.forum-input,.forum-editor-textarea,.chm-feedback-field input,.chm-feedback-field textarea{border-radius:12px!important;border-color:#d8e2ec!important;background:#fff!important;color:#22344c!important;box-shadow:0 1px 2px rgba(16,24,40,.02)!important}.forum-input:focus,input.forum-input:focus,select.forum-input:focus,textarea.forum-input:focus{border-color:#9ec3e6!important;box-shadow:0 0 0 4px rgba(32,108,175,.08)!important}

/* ---------- home reference layout ---------- */
.chm-ref-home{max-width:1448px;margin:0 auto;padding:0 24px 34px}.chm-ref-hero{min-height:350px;margin:0 -24px 0;display:grid;grid-template-columns:minmax(440px,.9fr) minmax(540px,1.1fr);position:relative;overflow:hidden;background:linear-gradient(100deg,#fbfdff 0%,#fbfdff 40%,rgba(251,253,255,.88) 49%,rgba(251,253,255,.02) 66%),url("chm-hero-road.webp") right center/auto 100% no-repeat;border-bottom:1px solid #edf2f7}.chm-ref-hero-copy{padding:34px 0 28px 64px;align-self:center;position:relative;z-index:2}.chm-ref-kicker{display:block;margin-bottom:10px;color:#6d7c90;font-size:8.5px;font-weight:800;letter-spacing:.28em;text-transform:uppercase}.chm-ref-hero h1{max-width:540px;margin:0;color:#102039;font-family:"DM Serif Display",Georgia,serif!important;font-size:48px;line-height:1.04;letter-spacing:-.035em!important;font-weight:400}.chm-ref-hero-copy>p{max-width:520px;margin:12px 0 0;color:#53657b;font-size:13px;line-height:1.55}.chm-ref-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:17px}.chm-ref-hero-actions .forum-btn{min-height:42px;padding:0 20px}.chm-ref-hero-points{display:flex;gap:30px;flex-wrap:wrap;margin-top:22px}.chm-ref-hero-point{display:flex;gap:9px;align-items:center;min-width:150px}.chm-ref-hero-point>span{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#edf6ff;color:#0b62ad}.chm-ref-hero-point b{display:block;color:#1f334d;font-size:10px}.chm-ref-hero-point small{display:block;margin-top:2px;color:#7b8798;font-size:8.5px}.chm-ref-hero-spacer{min-height:350px}.chm-ref-pagebody{padding-top:18px}
.chm-ref-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(300px,1.18fr);gap:16px;align-items:start}.chm-ref-section{background:#fff;border:1px solid #dfe7f0;border-radius:15px;box-shadow:var(--ref-shadow-soft);padding:16px}.chm-ref-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.chm-ref-section-title{display:flex;align-items:center;gap:10px}.chm-ref-section-title:before{content:"";width:17px;height:2px;border-radius:99px;background:#2694ff}.chm-ref-section-title h2{font-family:"DM Serif Display",Georgia,serif!important;font-size:19px!important;line-height:1!important;font-weight:400!important;color:#152740;margin:0}.chm-ref-section-head>a,.chm-ref-section-head>span{font-size:9.5px;color:#3784c6}.chm-ref-cat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.chm-ref-cat{min-height:83px;padding:12px 12px 11px;border:1px solid #dfe7ef;border-radius:10px;background:linear-gradient(180deg,#fff,#fbfdff);display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:start;transition:.18s ease}.chm-ref-cat:hover{border-color:#bcd2e7;box-shadow:0 8px 18px rgba(35,77,118,.08);transform:translateY(-1px)}.chm-ref-cat-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#f1f6fc;color:#0c67b5}.chm-ref-cat h3{margin:2px 0 3px;font-size:11px!important;line-height:1.2;color:#152943;font-weight:750!important}.chm-ref-cat p{margin:0;color:#718097;font-size:8.5px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.chm-ref-cat small{display:block;margin-top:5px;color:#718097;font-size:8px}.chm-ref-morecats{margin-top:10px;border-top:1px solid #edf1f5;padding-top:10px}.chm-ref-morecats summary{cursor:pointer;list-style:none;color:#2c75b6;font-size:10px;font-weight:700}.chm-ref-morecats summary::-webkit-details-marker{display:none}.chm-ref-morecats[open] summary{margin-bottom:10px}.chm-ref-morecats .chm-ref-cat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.chm-ref-aside{display:grid;gap:12px}.chm-ref-start{min-height:164px;padding:19px 18px;background:linear-gradient(115deg,#f7fbff 0%,#fff 58%,#f4f8fc 100%);border:1px solid #dce6f0;border-radius:15px;position:relative;overflow:hidden}.chm-ref-start:after{content:"";position:absolute;right:-42px;bottom:-48px;width:175px;height:175px;border-radius:50%;background:radial-gradient(circle,rgba(28,114,189,.16),rgba(28,114,189,0) 68%)}.chm-ref-start-head{display:flex;gap:10px;align-items:flex-start;position:relative;z-index:1}.chm-ref-start-icon{width:39px;height:39px;border:2px solid #0f68b3;border-radius:50%;display:grid;place-items:center;color:#0f68b3;flex:none}.chm-ref-start h3{margin:1px 0 5px;font-family:"DM Serif Display",Georgia,serif!important;font-size:17px!important;font-weight:400!important;color:#162942}.chm-ref-start p{margin:0;color:#69788c;font-size:9px;line-height:1.45}.chm-ref-start form{position:relative;z-index:1;margin-top:14px;display:grid;gap:8px}.chm-ref-start select{height:33px;padding:0 10px;border:1px solid #d4e0eb;border-radius:8px;background:#fff;color:#526378;font-size:9.5px;outline:0}.chm-ref-start button{height:35px;border:0;border-radius:8px;background:linear-gradient(180deg,#1b6fb7,#0b5696);color:#fff;font-size:10px;font-weight:700;cursor:pointer;box-shadow:0 6px 14px rgba(12,93,169,.16)}
.chm-ref-popular{background:#fff;border:1px solid #dfe7ef;border-radius:15px;padding:14px 16px;box-shadow:var(--ref-shadow-soft)}.chm-ref-popular-title{display:flex;gap:8px;align-items:center;margin-bottom:7px}.chm-ref-popular-title>span{font-size:18px}.chm-ref-popular-title h3{font-family:"DM Serif Display",Georgia,serif!important;font-size:18px!important;font-weight:400!important;margin:0;color:#172941}.chm-ref-popular-list{display:grid}.chm-ref-popular-item{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:9px;align-items:center;padding:9px 0;border-top:1px solid #edf1f5}.chm-ref-popular-item:first-child{border-top:0}.chm-ref-popular-rank{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#e7f1fb;color:#1767aa;font-size:9px;font-weight:700}.chm-ref-popular-copy b{display:block;color:#21334a;font-size:9.5px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chm-ref-popular-copy small{display:block;margin-top:2px;color:#8792a1;font-size:7.5px}.chm-ref-popular-views{color:#708198;font-size:8px;white-space:nowrap}
.chm-ref-discussions{margin-top:14px}.chm-ref-tabs{display:flex;gap:2px;padding:3px;background:#f2f6fa;border-radius:10px}.chm-ref-tabs a{padding:6px 11px;border-radius:8px;color:#607189;font-size:8.5px;font-weight:650}.chm-ref-tabs a.active{background:#fff;color:#0e66b0;box-shadow:0 4px 10px rgba(42,77,112,.06)}.chm-ref-topic-list{display:grid}.chm-ref-topic{display:grid;grid-template-columns:40px minmax(0,1fr) 140px 58px 52px;gap:9px;align-items:center;padding:8px 6px;border-top:1px solid #edf1f5}.chm-ref-topic:first-child{border-top:0}.chm-ref-topic-icon{width:33px;height:33px;border-radius:9px;display:grid;place-items:center;background:#f5f8fb;color:#1769ad;border:1px solid #e8eef5}.chm-ref-topic-copy{min-width:0}.chm-ref-topic-copy b{display:block;color:#20334c;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chm-ref-topic-copy small{display:block;margin-top:2px;color:#7f8da0;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chm-ref-topic-author{display:flex;gap:6px;align-items:center;min-width:0}.chm-ref-topic-author .forum-avatar{width:27px!important;height:27px!important;border-radius:50%!important}.chm-ref-topic-author span{min-width:0}.chm-ref-topic-author b{display:block;color:#44556c;font-size:8.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chm-ref-topic-author small{display:block;color:#9aa5b3;font-size:7px}.chm-ref-topic-stat{display:flex;gap:4px;align-items:center;justify-content:flex-end;color:#718197;font-size:8px}.chm-ref-topic-stat svg{width:12px;height:12px}

/* ---------- regular forum pages ---------- */
.forum-shell>.max-w-\[1440px\],.forum-shell>.max-w-\[1480px\],.forum-diagnostics-wrap,.forum-private-page-wrap,.forum-admin-wrap,.forum-appearance-main,.forum-access-page,.forum-notifications-page>div,.forum-profile-page>.max-w-\[1440px\]{max-width:1320px!important;padding-left:24px!important;padding-right:24px!important}.forum-home-page>.max-w-\[1440px\]{padding-top:24px!important}.forum-main-layout{gap:18px!important}.forum-topic-row{background:#fff!important;border-color:#e6edf4!important}.forum-topic-row:hover{background:#fbfdff!important}.forum-topic-title,.forum-topic-mobile-title{color:#20324a!important}.forum-topic-avatar{border-radius:50%!important}.forum-sidebar-card,.forum-section-group,.forum-search-panel,.forum-topic-hero,.forum-post-card,.forum-profile-card,.forum-settings-card{border-color:#dfe7ef!important;box-shadow:var(--ref-shadow-soft)!important}

/* ---------- guest landing ---------- */
.forum-guest-page{background:transparent!important}.forum-guest-shell{max-width:1448px!important;padding:0 24px 34px!important}.forum-guest-hero{margin:0 -24px!important;min-height:360px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:linear-gradient(100deg,#fbfdff 0%,#fbfdff 40%,rgba(251,253,255,.9) 51%,rgba(251,253,255,.08) 68%)!important}.forum-guest-hero-copy{padding:42px 0 38px 64px!important}.forum-guest-hero-copy h1{font-family:"DM Serif Display",Georgia,serif!important;font-weight:400!important;color:#102039!important;font-size:48px!important;line-height:1.04!important;max-width:560px!important}.forum-guest-hero-copy>p{color:#53657b!important;max-width:520px!important}.forum-guest-visual{position:absolute!important;inset:0 0 0 42%!important;width:auto!important;height:auto!important;background:url("chm-hero-road.webp") right center/auto 100% no-repeat!important;opacity:1!important}.forum-guest-visual:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fbfdff 0%,rgba(251,253,255,.95) 14%,rgba(251,253,255,0) 42%)}.forum-guest-orbit,.forum-guest-logo-core,.forum-guest-float{display:none!important}.forum-guest-badge{background:transparent!important;border:0!important;padding:0!important;color:#6d7c90!important;letter-spacing:.22em!important;text-transform:uppercase!important;font-size:8px!important}.forum-guest-proof span{background:#fff!important;border-color:#dce7f1!important;color:#53657a!important}.forum-guest-stats,.forum-guest-features article,.forum-guest-how-grid article,.forum-guest-solution-card,.forum-guest-join{background:#fff!important;border-color:#dfe7ef!important;box-shadow:var(--ref-shadow-soft)!important}.forum-guest-section-head h2,.forum-guest-how h2,.forum-guest-join h2{font-family:"DM Serif Display",Georgia,serif!important;font-weight:400!important;color:#172a43!important}

/* ---------- footer ---------- */
.forum-site-footer{position:relative!important;margin-top:36px!important;background:#fbfdff url("chm-footer-mountains.svg") center bottom/100% auto no-repeat!important;color:#516176!important;border-top:1px solid #e2eaf2!important;overflow:hidden!important}.forum-site-footer:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(251,253,255,.96),rgba(251,253,255,.75));pointer-events:none}.forum-site-footer-inner,.forum-site-footer-bottom{position:relative;z-index:1}.forum-site-footer-inner{max-width:1320px!important;padding:30px 24px 24px!important;grid-template-columns:minmax(300px,1fr) auto!important}.forum-footer-logo{color:#15304f!important;font-size:18px!important}.forum-footer-brand p{color:#708096!important;font-size:11px!important}.forum-footer-version{background:#eef5fb!important;border-color:#d9e6f1!important;color:#54708b!important}.forum-footer-columns{gap:44px!important}.forum-footer-column>b{color:#1d3654!important}.forum-footer-column>a{color:#65758b!important}.forum-footer-column>a:hover{color:#0c62aa!important}.forum-site-footer-bottom{max-width:1320px!important;border-top:1px solid rgba(198,212,226,.65)!important;color:#7b8798!important}.forum-footer-status i{background:#2fb67a!important}

/* ---------- mobile ---------- */
@media(max-width:1180px){.forum-top-search{max-width:300px!important}.forum-navlinks>a,.forum-navlinks>button{padding:0 9px!important}.chm-ref-hero{grid-template-columns:minmax(400px,.9fr) minmax(460px,1.1fr)}.chm-ref-hero-copy{padding-left:40px}.chm-ref-cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chm-ref-morecats .chm-ref-cat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.forum-top-search{display:none!important}.forum-navlinks a:nth-of-type(n+5){display:none!important}.chm-ref-grid{grid-template-columns:1fr}.chm-ref-aside{grid-template-columns:1fr 1fr}.chm-ref-hero{grid-template-columns:1fr;min-height:430px;background:linear-gradient(180deg,#fbfdff 0%,#fbfdff 50%,rgba(251,253,255,.25) 72%),url("chm-hero-road.webp") center bottom/auto 55% no-repeat}.chm-ref-hero-copy{padding:34px 28px 185px}.chm-ref-hero-spacer{display:none}.chm-ref-hero h1{font-size:42px}.chm-ref-topic{grid-template-columns:40px minmax(0,1fr) 120px 52px 48px}}
@media(max-width:820px){.forum-topbar-inner{height:58px!important;padding:0 14px!important}.forum-navlinks{display:none!important}.forum-brand-forum{display:none!important}.forum-brand-title{font-size:17px!important}.forum-site-logo{width:37px!important;height:29px!important}.forum-mobile-nav{background:rgba(255,255,255,.96)!important;border-color:#dfe7ef!important;box-shadow:0 15px 44px rgba(25,58,90,.16)!important}.forum-mobile-nav a,.forum-mobile-nav button{color:#607188!important}.forum-mobile-nav .active{background:#edf6ff!important;color:#0b64ad!important}.forum-mobile-nav button[data-forum-new-topic-open]{background:#0d61a9!important}.chm-ref-home{padding-left:14px;padding-right:14px}.chm-ref-hero{margin-left:-14px;margin-right:-14px}.chm-ref-cat-grid,.chm-ref-morecats .chm-ref-cat-grid{grid-template-columns:1fr 1fr}.chm-ref-aside{grid-template-columns:1fr}.chm-ref-topic{grid-template-columns:38px minmax(0,1fr) 90px}.chm-ref-topic-stat{display:none}.forum-site-footer-inner{grid-template-columns:1fr!important}.forum-footer-columns{width:100%!important}}
@media(max-width:560px){body.forum-standalone-app{font-size:13px!important}.forum-top-actions>.forum-lang{display:none!important}.forum-account-chevron{display:none!important}.chm-ref-hero{min-height:395px;background:linear-gradient(180deg,#fbfdff 0%,#fbfdff 58%,rgba(251,253,255,.22) 76%),url("chm-hero-road.webp") 62% bottom/auto 48% no-repeat}.chm-ref-hero-copy{padding:26px 18px 165px}.chm-ref-hero h1{font-size:34px}.chm-ref-hero-copy>p{font-size:12px}.chm-ref-hero-points{display:none}.chm-ref-pagebody{padding-top:12px}.chm-ref-section{padding:13px}.chm-ref-cat-grid,.chm-ref-morecats .chm-ref-cat-grid{grid-template-columns:1fr}.chm-ref-cat{min-height:74px}.chm-ref-section-title h2{font-size:17px!important}.chm-ref-topic{grid-template-columns:34px minmax(0,1fr);padding:9px 2px}.chm-ref-topic-author{display:none}.chm-ref-topic-icon{width:31px;height:31px}.chm-ref-start,.chm-ref-popular{border-radius:13px}.forum-guest-hero{min-height:405px!important;background:linear-gradient(180deg,#fbfdff 0%,#fbfdff 58%,rgba(251,253,255,.2) 76%)!important}.forum-guest-hero-copy{padding:28px 18px 170px!important}.forum-guest-hero-copy h1{font-size:34px!important}.forum-guest-visual{inset:48% 0 0 0!important;background-position:62% bottom!important;background-size:auto 100%!important}.forum-guest-visual:before{background:linear-gradient(180deg,#fbfdff 0%,rgba(251,253,255,0) 55%)!important}.forum-site-footer{padding-bottom:58px!important}}
