/* U13c: canonical five-vertical Single Experience polish. No data/permission changes. */
body.kbmse-single-active{
 --se13-navy:#0b3045;--se13-ink:#14384c;--se13-gold:#ffd33e;--se13-line:#dce5eb;
 --se13-soft:#f4f8fa;--se13-shadow:0 12px 30px rgba(12,44,62,.075);
}
body.kbmse-single-active :is(.kbm-v6-single,.kbm-sp2002-route-single){
 max-width:1240px;min-width:0;margin-inline:auto;
}
body.kbmse-single-active :is(.kbm-ad-single-recode-grid,.kbm-gdb06-single-layout,.kbm-services-recode-single-layout,.kbm-c118-single,.kbm-driver198-details,.kbm-machine-sale-recode-single){min-width:0}
body.kbmse-single-active :is(.kbm-ad-single-recode-main,.kbm-ad-single-recode-side,.kbm-gdb06-single-layout>*,.kbm-services-recode-single-layout>*,.kbm-driver198-details>*){min-width:0}
/* Restore information hierarchy across five independent Core single renderers. */
body.kbmse-single-active :is(.kbm-ad-single-recode-title,.kbm-machine-sale-recode-single h1,.kbm-driver158-hero h1,.kbm-ps132-hero h1,.kbm-c118-single h1,.kbm-services-recode-single-summary h1){
 font-size:clamp(24px,2.35vw,36px);line-height:1.55;letter-spacing:0;overflow-wrap:break-word;
}
body.kbmse-single-active :is(.kbm-ad-single-recode-desc,.kbm-ad-single-recode-specs,.kbm-machine-sale-recode-panel,.kbm-machine-sale-recode-passport,.kbm-driver158-panel,.kbm-driver182-detail-grid,.kbm-ps132-panel,.kbm-services-recode-panel,.kbm-c118-panel,.kbm-gdb06-single-layout>section){
 min-width:0;max-width:100%;border:1px solid var(--se13-line);border-radius:20px;
 box-shadow:var(--se13-shadow);overflow-wrap:break-word;
}
body.kbmse-single-active :is(.kbm-ad-single-recode-section-head h2,.kbm-machine-sale-recode-section-head h2,.kbm-machine-sale-recode-passport h2,.kbm-driver158-panel h2,.kbm-ps132-panel h2,.kbm-services-recode-panel h2,.kbm-c118-panel h2){
 color:var(--se13-navy);font-size:clamp(18px,1.6vw,24px);line-height:1.65;
}
/* Native gallery remains the only controller. This layer never opens a modal. */
body.kbmse-single-active :is(.kbm-ad-single-recode-gallery,.kbm-gdb06-gallery,.kbm-ps132-gallery,.kbm-machine-sale-recode-gallery,.kbm-driver182-gallery){
 min-width:0;max-width:100%;border-radius:22px;
}
body.kbmse-single-active :is(.kbm-ad-single-recode-gallery-stage,.kbm-gdb06-gallery__stage,.kbm-ps132-gallery-stage,.kbm-machine-sale-recode-gallery__main){
 display:flex;align-items:center;justify-content:center;min-width:0;max-width:100%;
 border-radius:20px;border:1px solid #dae5eb;background:linear-gradient(145deg,#f0f5f8,#e8eff3);
}
body.kbmse-single-active :is(.kbm-ad-single-recode-gallery-slide img,.kbm-gdb06-gallery__stage img,.kbm-ps132-gallery-stage img,.kbm-machine-sale-recode-gallery__main img){
 max-width:100%;max-height:480px;object-fit:contain!important;object-position:center;background:transparent;
}
body.kbmse-single-active :is(.kbm-ad-single-recode-gallery-thumbs,.kbm-gdb06-gallery__thumbs,.kbm-machine-sale-recode-gallery__thumbs){
 display:flex;gap:8px;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;
 padding:8px 3px 10px;scroll-snap-type:x proximity;scrollbar-width:thin;
}
body.kbmse-single-active :is(.kbm-ad-single-recode-thumb,.kbm-gdb06-gallery__thumbs button,.kbm-machine-sale-recode-gallery__thumbs button){
 flex:0 0 79px;min-width:70px;max-width:90px;height:65px;min-height:60px;border-radius:11px;
 overflow:hidden;scroll-snap-align:start;border:2px solid #d9e4ec;background:#fff;
}
body.kbmse-single-active :is(.kbm-ad-single-recode-thumb,.kbm-gdb06-gallery__thumbs button,.kbm-machine-sale-recode-gallery__thumbs button):is(.is-active,[aria-current="true"],[aria-pressed="true"]){
 border-color:#e5a900;box-shadow:0 0 0 2px rgba(255,211,62,.33);
}
body.kbmse-single-active .kbmse-u13c-gallery-label{
 display:inline-flex;align-items:center;gap:7px;max-width:100%;margin:8px 2px 2px;
 font:700 12px/1.9 Estedad,Tahoma,sans-serif;color:#35536a;
}
body.kbmse-single-active .kbmse-u13c-gallery-label::before{content:"▣";font-size:15px;color:#bd8300}
/* Preserve actual price fields and units. Nothing is calculated or replaced. */
body.kbmse-single-active :is(.kbm-gdb04-hero__commercial,.kbm-machine-sale-recode-single__pricebox,.kbm-ad-single-recode-price,.kbm-machine-sale-recode-price,.kbm-gdb04-quick-specs){
 min-width:0;overflow-wrap:anywhere;border-radius:16px;
}
body.kbmse-single-active :is(.kbm-machine-sale-recode-single__pricebox strong,.kbm-ad-single-recode-price strong,.kbm-machine-sale-recode-price strong,.kbm-gdb04-hero__commercial strong){
 line-height:1.65;font-variant-numeric:tabular-nums;
}
body.kbmse-single-active :is(.kbm-ad-single-recode-specs,.kbm-gdb04-spec-table,.kbm-gdb06-spec-table,.kbm-machine-sale-recode-spec-grid,.kbm-driver182-detail-grid,.kbm-ps132-info-row,.kbm-c118-facts){
 min-width:0;max-width:100%;overflow-wrap:anywhere;
}
body.kbmse-single-active :is(.kbm-gdb04-spec-table,.kbm-gdb06-spec-table) :is(tr,li){line-height:1.85}
body.kbmse-single-active :is(.kbm-machine-sale-recode-spec-grid>div,.kbm-ad-single-recode-spec,.kbm-ps132-info-row,.kbm-driver182-detail-grid>div){
 border-radius:13px;background:var(--se13-soft);border:1px solid #e3eaef;min-width:0;
}
/* Existing contact permissions and AJAX remain Core-owned; no new CTA is created. */
body.kbmse-single-active :is(.kbm-ad-single-recode-contact,.kbm-machine-sale-recode-contact,.kbm-driver158-contact,.kbm-ps132-contact,.kbm-services-recode-contact-card,.kbm-c112-contact){
 min-width:0;border-radius:19px;border:1px solid var(--se13-line);box-shadow:var(--se13-shadow);
}
body.kbmse-single-active :is(.kbm-ad-single-recode-contact,.kbm-machine-sale-recode-contact,.kbm-driver158-contact,.kbm-ps132-contact,.kbm-services-recode-contact-card,.kbm-c112-contact) :is(button,a){
 min-height:44px;max-width:100%;overflow-wrap:break-word;
}
body.kbmse-single-active .kbm-sp2002-contactbar{
 box-sizing:border-box;max-width:100%;min-width:0;gap:8px;
}
body.kbmse-single-active .kbm-sp2002-contactbar>button{
 min-height:46px;border-radius:12px;white-space:normal;line-height:1.5;font-family:Estedad,Tahoma,sans-serif;
}
body.kbmse-single-active .kbm-sp2002-contactbar .is-call{background:#ffd43b;color:#082c42;border-color:#e5b71a}
body.kbmse-single-active .kbm-sp2002-contactbar .is-wa{background:#eaf8ed;color:#145b32;border-color:#b8dfc2}
body.kbmse-single-active .kbm-sp2002-contactbar .is-share{background:#f5f8fb;color:#1b435b}
body.kbmse-single-active :is(.kbm-sp2002-contactbar button,.kbm-ad-single-recode-thumb,.kbm-gdb06-gallery__thumbs button,.kbm-machine-sale-recode-gallery__thumbs button):focus-visible{
 outline:3px solid #dba400;outline-offset:3px;
}
body.kbmse-single-active :is(.kbm-ad-single-recode-trust,.kbm-ad-single-recode-safety,.kbm-machine-sale-recode-safety,.kbm-sp2002-disclosure,.kbm-ps132-map-panel){
 border-radius:17px;line-height:1.9;
}
body.kbmse-single-active .kbmse-u13c-gallery-label[hidden]{display:none!important}
@media (max-width:980px){
 body.kbmse-single-active :is(.kbm-ad-single-recode-grid,.kbm-machine-sale-recode-single__top,.kbm-gdb06-single-layout,.kbm-services-recode-single-layout){
  min-width:0;max-width:100%;
 }
 body.kbmse-single-active :is(.kbm-ad-single-recode-gallery-stage,.kbm-gdb06-gallery__stage,.kbm-ps132-gallery-stage,.kbm-machine-sale-recode-gallery__main){min-height:210px;max-height:390px}
 body.kbmse-single-active :is(.kbm-ad-single-recode-gallery-slide img,.kbm-gdb06-gallery__stage img,.kbm-ps132-gallery-stage img,.kbm-machine-sale-recode-gallery__main img){max-height:390px}
}
@media (max-width:640px){
 body.kbmse-single-active :is(.kbm-v6-single,.kbm-sp2002-route-single){width:100%;max-width:100%}
 body.kbmse-single-active :is(.kbm-ad-single-recode-gallery-stage,.kbm-gdb06-gallery__stage,.kbm-ps132-gallery-stage,.kbm-machine-sale-recode-gallery__main){min-height:175px;max-height:310px;border-radius:15px}
 body.kbmse-single-active :is(.kbm-ad-single-recode-gallery-slide img,.kbm-gdb06-gallery__stage img,.kbm-ps132-gallery-stage img,.kbm-machine-sale-recode-gallery__main img){max-height:310px}
 body.kbmse-single-active :is(.kbm-ad-single-recode-thumb,.kbm-gdb06-gallery__thumbs button,.kbm-machine-sale-recode-gallery__thumbs button){flex-basis:68px;min-width:64px;height:58px;min-height:58px}
 body.kbmse-single-active :is(.kbm-ad-single-recode-specs,.kbm-machine-sale-recode-panel,.kbm-driver158-panel,.kbm-ps132-panel,.kbm-c118-panel){border-radius:16px}
 body.kbmse-single-active .kbm-sp2002-contactbar{max-width:100%;box-sizing:border-box}
 body.kbmse-single-active .kbm-sp2002-contactbar>button{min-width:0;min-height:48px;font-size:12px;padding-inline:4px}
}
@media (prefers-reduced-motion:reduce){
 body.kbmse-single-active :is(.kbm-ad-single-recode-thumb,.kbm-gdb06-gallery__thumbs button,.kbm-machine-sale-recode-gallery__thumbs button){scroll-behavior:auto!important;transition:none!important}
}
