/* KBM rc.197.3 — Post-V8 Screenshot/Production Hardening */
:root{--kbm-h73-navy:#102f45;--kbm-h73-yellow:#ffca0a;--kbm-h73-border:#e2e8f0;--kbm-h73-muted:#64748b;--kbm-h73-surface:#fff;--kbm-h73-bg:#f6f8fb}

/* 1) Expired cards: keep content readable; mute only media and unavailable action. */
body.kbm-post-v8-hardening-1973 :is(.kbm-ads-recode-card,.kbm-card2,.kbm-machine-sale-recode-card,.kbm-services-recode-card,.kbm-dashboard-recode-card).is-expired{filter:none!important;opacity:1!important;color:inherit!important;background:#fff!important}
body.kbm-post-v8-hardening-1973 :is(.kbm-ads-recode-card,.kbm-card2,.kbm-machine-sale-recode-card,.kbm-services-recode-card,.kbm-dashboard-recode-card).is-expired :is(.kbm-card2__media,.kbm-ads-recode-card-media,.kbm-machine-sale-recode-card__media,.kbm-services-recode-card__media,.kbm-dashboard-recode-card-media) img{filter:grayscale(.75) saturate(.55)!important;opacity:.68!important}
body.kbm-post-v8-hardening-1973 :is(.kbm-ads-recode-card,.kbm-card2,.kbm-machine-sale-recode-card,.kbm-services-recode-card).is-expired :is(h2,h3,strong,.kbm-card2__title){color:#26384a!important;opacity:1!important}

/* 2) Featured rails: compact empty state and stop one item stretching full archive width. */
body.kbm-post-v8-hardening-1973 :is(.kbm-f176-empty,.kbm-f175-empty,.kbm-featured-empty,.kbm-featured-zone__empty){min-height:0!important;padding:18px 20px!important;margin-block:10px 18px!important;gap:7px!important;border-radius:18px!important}
body.kbm-post-v8-hardening-1973 :is(.kbm-f176-empty,.kbm-f175-empty,.kbm-featured-empty) p{margin:0!important;max-width:720px!important;line-height:1.9!important}
body.kbm-post-v8-hardening-1973 .kbm-f176-rail.is-single .splide__list{display:flex!important;justify-content:flex-start!important;gap:14px!important}
body.kbm-post-v8-hardening-1973 .kbm-f176-rail.is-single .splide__slide{width:min(420px,100%)!important;max-width:420px!important;flex:0 0 min(420px,100%)!important}
body.kbm-post-v8-hardening-1973 :is(.kbm-drivers-recode-grid,.kbm-contractors-recode-grid,.kbm-services-recode-grid)>:only-child{max-width:440px!important;width:100%!important;justify-self:start!important}

/* 3) Payment/plans/auth states: no tiny state floating in a blank viewport. */
body.kbm-post-v8-hardening-1973 .kbm-mlec-state,
body.kbm-post-v8-hardening-1973 .kbm-pay31-state{width:min(760px,calc(100% - 28px))!important;min-height:0!important;margin:42px auto!important;padding:28px!important;border:1px solid var(--kbm-h73-border)!important;border-radius:22px!important;background:#fff!important;box-shadow:0 16px 42px rgba(15,47,69,.08)!important;text-align:right!important}
body.kbm-post-v8-hardening-1973 .kbm-mlec-state h1{margin:0 0 9px!important;font-size:clamp(21px,3vw,30px)!important;color:var(--kbm-h73-navy)!important}
body.kbm-post-v8-hardening-1973 .kbm-mlec-state p{margin:0 0 16px!important;line-height:1.95!important;color:var(--kbm-h73-muted)!important}
body.kbm-post-v8-hardening-1973 .kbm-mlec-state a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:46px!important;padding:9px 16px!important;border-radius:13px!important;background:var(--kbm-h73-navy)!important;color:#fff!important;text-decoration:none!important;font-weight:900!important}
body.kbm-auth-recode-active .kbm-auth-recode{min-height:calc(100svh - 70px)!important;padding-block:clamp(24px,5vh,56px)!important;background-position:center!important}
body.kbm-auth-recode-active .kbm-auth-recode-card{width:min(500px,calc(100vw - 28px))!important;margin-inline:auto!important}

/* 4) Driver form help: small information affordance, not a dominant dark question button. */
body.kbm-post-v8-hardening-1973 .kbm-fg137-guide__toggle{inline-size:22px!important;block-size:22px!important;min-inline-size:22px!important;border-radius:50%!important;background:#fff9dc!important;border-color:#e8c847!important;color:#5e4b00!important;font-size:12px!important;font-weight:1000!important;box-shadow:none!important;text-transform:lowercase!important}
body.kbm-post-v8-hardening-1973 .kbm-fg137-guide.is-open .kbm-fg137-guide__toggle{background:var(--kbm-h73-navy)!important;border-color:var(--kbm-h73-navy)!important;color:#fff!important;transform:none!important}

/* 5) Driver single hierarchy: reduce billboard-like title/fact geometry. */
body.kbm-post-v8-hardening-1973.kbm-single-pro-v6-driver :is(.kbm-driver158-hero,.kbm-drivers-recode-single){gap:14px!important}
body.kbm-post-v8-hardening-1973.kbm-single-pro-v6-driver :is(.kbm-driver158-hero h1,.kbm-drivers-recode-single h1){font-size:clamp(22px,3vw,34px)!important;line-height:1.55!important;margin-block:0 8px!important}
body.kbm-post-v8-hardening-1973.kbm-single-pro-v6-driver .kbm-driver158-facts article{min-height:58px!important;padding:10px 12px!important}
body.kbm-post-v8-hardening-1973.kbm-single-pro-v6-driver :is(.kbm-drivers-recode-panel,.kbm-driver158-contact){padding:16px!important}

/* 6) Rental single technical/spec blocks: information-dense, not tall sparse panels. */
body.kbm-post-v8-hardening-1973.kbm-single-pro-v6-rental .kbm-ad-single-recode-spec{min-height:48px!important;padding:8px 11px!important}
body.kbm-post-v8-hardening-1973.kbm-single-pro-v6-rental .kbm-ad-single-recode-specs{padding:15px!important}
body.kbm-post-v8-hardening-1973.kbm-single-pro-v6-rental :is(.kbm-ad-single-recode-rating,.kbm-ad-single-recode-score,.kbm-ad-single-recode-scorecard){min-height:0!important;padding-block:8px!important}

/* 7) Local trust-badge presentation (official trustseal destination remains external). */
.kbm-cfb16-enamad--local{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-width:58px!important;min-height:58px!important;padding:6px 8px!important;border:1px solid var(--kbm-h73-border)!important;border-radius:16px!important;background:#fff!important;color:var(--kbm-h73-navy)!important;text-decoration:none!important}
.kbm-cfb16-enamad--local .kbm-cfb16-enamad__mark{display:grid;place-items:center;width:30px;height:30px;color:#197447}
.kbm-cfb16-enamad--local .kbm-cfb16-enamad__label{font-size:9.5px;font-weight:900;white-space:nowrap}

/* 8) Defensive retirement of any stale WP social commerce surfaces left in cached markup. */
body.kbm-post-v8-hardening-1973 :is(.kbm-dashboard-recode-act--telegram,.kbm-dashboard-recode-act--instagram,.kbm-dashboard-recode-social-flags,.kbm-drivers-recode-social,.kbm-uvlds-social){display:none!important}

@media(max-width:720px){
 body.kbm-post-v8-hardening-1973 :is(.kbm-f176-empty,.kbm-f175-empty,.kbm-featured-empty,.kbm-featured-zone__empty){padding:14px!important;margin-block:8px 14px!important}
 body.kbm-post-v8-hardening-1973 .kbm-f176-rail.is-single .splide__slide{width:88%!important;max-width:360px!important;flex-basis:88%!important}
 body.kbm-post-v8-hardening-1973 .kbm-mlec-state,body.kbm-post-v8-hardening-1973 .kbm-pay31-state{margin:22px auto!important;padding:20px 16px!important;border-radius:18px!important}
 body.kbm-auth-recode-active .kbm-auth-recode{min-height:calc(100svh - 58px)!important;padding:20px 12px 30px!important}
}
@media(prefers-reduced-motion:reduce){body.kbm-post-v8-hardening-1973 *,body.kbm-post-v8-hardening-1973 *::before,body.kbm-post-v8-hardening-1973 *::after{scroll-behavior:auto!important}}
