/* P06 — Five independent Vertical singles + owner dashboard cards.
 * No new contact/payment/gallery controllers; values and permissions remain Core-owned. */
body.kbm-p06-single,body.kbm-p06-dashboard{
 --p06-navy:#0b3045;--p06-ink:#18394c;--p06-gold:#f6c72d;
 --p06-faint:#f4f8fa;--p06-border:#dbe6ed;
 --p06-elevation:0 15px 38px rgba(6,30,47,.085);
}
/* Single: shared rhythm across rental, sale, provider, driver, contractor. */
body.kbm-p06-single :is(.kbm-v6-single,.kbm-sp2002-route-single){
 box-sizing:border-box;max-width:1280px;min-width:0;margin-inline:auto;
}
body.kbm-p06-single :is(.kbm-v6-single__native,.kbm-driver198-parity-layout,.kbm-machine-sale-recode-single__top,.kbm-ad-single-recode-grid,.kbm-c118-single,.kbm-ps132,.kbm-driver198-details){min-width:0;max-width:100%;}
body.kbm-p06-single :is(.kbm-driver198-media-card,.kbm-machine-sale-recode-single__media-card,.kbm-ad-single-recode-gallery,.kbm-ps132-gallery,.kbm-c118-gallery){
 border-radius:22px;min-width:0;max-width:100%;
}
body.kbm-p06-single :is(.kbm-driver198-media-card,.kbm-machine-sale-recode-single__media-card,.kbm-ad-single-recode-gallery,.kbm-ps132-gallery,.kbm-c118-gallery) img{
 max-width:100%;object-position:center;
}
body.kbm-p06-single :is(.kbm-driver198-summary-card,.kbm-machine-sale-recode-single__summary-card,.kbm-ad-single-recode-side,.kbm-ps132-panel,.kbm-c118-panel,.kbm-driver182-complete,.kbm-driver182-media-docs,.kbm-drivers-recode-panel){
 min-width:0;overflow-wrap:anywhere;border-radius:20px;
}
/* The driver's media is an image, not a silhouette. Never conceal actual gallery images. */
body.kbm-p06-single #kbm-vr-single.kbm-v6-single--driver .kbm-driver198-media-card{
 border-radius:22px!important;padding:10px!important;
 background:linear-gradient(135deg,#0b3045,#09283b)!important;
 box-shadow:var(--p06-elevation)!important;
}
body.kbm-p06-single #kbm-vr-single.kbm-v6-single--driver .kbm-driver158-hero__media{
 position:relative!important;width:100%!important;aspect-ratio:4/3!important;
 border-radius:16px!important;overflow:hidden!important;
}
body.kbm-p06-single #kbm-vr-single.kbm-v6-single--driver .kbm-driver158-hero__media:has(.kbm-p06-sample-label) img{object-fit:contain!important;padding:8px;background:#112d3e}
body.kbm-p06-single #kbm-vr-single.kbm-v6-single--driver .kbm-driver158-hero__media img{
 display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;
}
body.kbm-p06-single .kbm-p06-sample-label{
 position:absolute;inset:auto 12px 12px auto;z-index:3;
 display:inline-flex;align-items:center;max-width:calc(100% - 24px);
 padding:7px 11px;border:1px solid rgba(255,255,255,.22);border-radius:11px;
 background:rgba(5,26,40,.88);color:#fff!important;-webkit-text-fill-color:#fff!important;
 font:700 11px/1.65 Estedad,Tahoma,sans-serif;white-space:normal;
}
/* All five single types: readable specs instead of white voids. */
body.kbm-p06-single :is(.kbm-driver198-details,.kbm-ad-single-recode-desc,.kbm-machine-sale-recode-panel,.kbm-ps132-panel,.kbm-c118-panel){
 min-width:0;overflow-wrap:anywhere;
}
body.kbm-p06-single :is(.kbm-driver182-detail-grid,.kbm-ad-single-recode-specs,.kbm-machine-sale-recode-spec-grid,.kbm-c118-facts) :is(div,article){min-width:0;overflow-wrap:anywhere}
body.kbm-p06-single :is(.kbm-sp2002-disclosure,.kbm-driver182-complete,.kbm-driver182-media-docs){
 border:1px solid var(--p06-border);border-radius:18px;box-shadow:0 8px 28px rgba(6,30,47,.045);
}
body.kbm-p06-single .kbm-sp2002-disclosure>summary{
 min-height:56px;padding:13px 18px;gap:10px;line-height:1.8;
}
body.kbm-p06-single .kbm-sp2002-disclosure__body{min-width:0;overflow-wrap:anywhere}
body.kbm-p06-single :is(.kbm-driver198-summary-card,.kbm-machine-sale-recode-single__summary-card,.kbm-ps132-identity,.kbm-c118-single) :is(h1,h2){overflow-wrap:anywhere}
body.kbm-p06-single :is(.kbm-driver158-facts,.kbm-machine-sale-recode-spec-grid,.kbm-driver182-detail-grid){gap:10px}
body.kbm-p06-single :is(.kbm-machine-sale-recode-gallery__main,.kbm-ad-single-recode-gallery-stage,.kbm-ps132-gallery-stage){
 border-radius:16px;overflow:hidden;background:#edf3f6;
}
body.kbm-p06-single :is(.kbm-machine-sale-recode-gallery__main,.kbm-ad-single-recode-gallery-stage,.kbm-ps132-gallery-stage) img{width:100%;object-fit:contain;}
/* Dashboard: shared owner-card styling, no changes to expiration or moderation state. */
body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage{
 box-sizing:border-box;min-width:0;max-width:100%;
 grid-template-columns:clamp(130px,18vw,184px) minmax(0,1fr);
 border-radius:21px;border:1px solid var(--p06-border);
 box-shadow:var(--p06-elevation);background:#fff;
}
body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage__media{
 min-width:0;width:100%;min-height:172px;max-height:none;background:#edf3f6;overflow:hidden;
}
body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage__media img{
 width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;
}
body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage__media img.kbm-media-fallback{object-fit:contain!important}
body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-p06-dashboard-sample{
 position:absolute;inset:auto 7px 7px 7px;z-index:3;display:block;
 padding:4px 7px;border-radius:8px;text-align:center;
 background:rgba(7,37,54,.89);color:#fff;
 font:700 10px/1.6 Estedad,Tahoma,sans-serif;
 pointer-events:none;
}
body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage__info{padding:clamp(12px,1.6vw,20px);gap:10px;min-width:0}
body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage__title{font-size:clamp(16px,1.45vw,20px);line-height:1.65;min-width:0;overflow-wrap:anywhere}
body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage__tag{
 border-radius:9px;min-height:27px;padding:4px 8px;font-size:11px;
 background:#f1f6f8;border-color:#dce6ec;color:#29485b;
}
body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage__status{border-radius:999px;padding:5px 10px;font-size:11px}
body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage__price{
 margin-top:3px;max-width:100%;min-width:0;
}
body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage__price :is(strong,bdi){font-size:clamp(16px,1.4vw,20px);line-height:1.7;overflow-wrap:anywhere;white-space:normal}
body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage__actions{
 display:flex;flex-wrap:wrap;align-items:center;gap:8px;
 padding:12px clamp(12px,1.6vw,20px);border-top:1px solid var(--p06-border);background:#f9fbfc;
}
body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage__actions :is(a,button,summary){
 min-height:44px;border-radius:11px;max-width:100%;overflow-wrap:anywhere;
}
body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage__more{min-width:0;max-width:100%}
body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage__more[open]{flex:1 1 100%}
body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage :is(a,button,summary):focus-visible{outline:3px solid #c9a324;outline-offset:3px}
@media(max-width:980px){
 body.kbm-p06-single :is(.kbm-v6-single,.kbm-sp2002-route-single){width:100%;padding-inline:clamp(8px,1.7vw,16px)}
 body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage{grid-template-columns:128px minmax(0,1fr)}
}
@media(max-width:600px){
 body.kbm-p06-single :is(.kbm-v6-single,.kbm-sp2002-route-single){padding-inline:8px}
 body.kbm-p06-single .kbm-sp2002-disclosure>summary{min-height:50px;padding:11px 13px}
 body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage{grid-template-columns:108px minmax(0,1fr)}
 body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage__media{min-height:162px}
 body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage__info{padding:10px;gap:7px}
 body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage__title{font-size:14px;line-height:1.7}
 body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage__tag{font-size:10px;padding:3px 6px}
 body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage__actions{padding:10px;gap:7px}
}
@media(max-width:360px){
 body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage{grid-template-columns:96px minmax(0,1fr)}
 body.kbm-p06-dashboard #kbm-vr-dashboard .kbm-g13-manage__media{min-height:150px}
}
@media(prefers-reduced-motion:reduce){
 body.kbm-p06-single *,body.kbm-p06-dashboard .kbm-g13-manage{animation-duration:.01ms!important;transition-duration:.01ms!important}
}

/* Detail navigation connects the existing sections without moving the gallery,
   contact controls or any protected content. */
body.kbm-p06-single .kbm-detail-outline {
  display:flex; flex-wrap:wrap; gap:7px; align-items:center; margin:12px 0 16px;
  padding:9px; background:#fff; border:1px solid #dbe4ed; border-radius:14px;
}
.kbm-detail-outline a {
  display:inline-flex; align-items:center; min-height:44px; min-width:0; padding:5px 12px;
  background:#eef3f8; border-radius:8px; color:#071a33!important;
  text-decoration:none; font-weight:720; font-size:13px; overflow-wrap:anywhere;
}
.kbm-detail-outline a:hover {background:#ffcc00}
.kbm-detail-outline a:focus-visible {outline:3px solid #1859b8; outline-offset:2px}
[data-kbm-detail-section] {scroll-margin-block-start:12rem}
body.kbm-p06-single :is(.kbm-ad-single-recode-gallery-stage,.kbm-gdb06-gallery__stage,.kbm-ps132-gallery-stage,.kbm-c118-gallery-stage) {
  background:#eaf0f6!important; border-radius:14px!important;
}
body.kbm-p06-single :is(.kbm-ad-single-recode-gallery-stage,.kbm-gdb06-gallery__stage,.kbm-ps132-gallery-stage,.kbm-c118-gallery-stage) img {
  object-fit:contain!important; transform:none!important;
}
body.kbm-p06-single .kbm-v6-single__native :is(.kbm-machine-sale-recode-panel,.kbm-ps132-panel,.kbm-c118-panel,.kbm-drivers-recode-panel,.kbm-ad-single-recode-specs,.kbm-ad-single-recode-desc) {
  border-color:#dbe4ed; border-radius:16px; background:#fff; min-width:0;
}
body.kbm-p06-single .kbm-v6-single__native :is(.kbm-machine-sale-recode-panel,.kbm-ps132-panel,.kbm-c118-panel,.kbm-drivers-recode-panel,.kbm-ad-single-recode-specs,.kbm-ad-single-recode-desc) h2 {
  border-inline-start:4px solid #ffcc00; padding-inline-start:10px; color:#071a33; line-height:1.55;
}
@media(max-width:700px) {
  [data-kbm-detail-section]{scroll-margin-block-start:6rem}
  body.kbm-p06-single .kbm-detail-outline {display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Detail links remain distinct from commercial contact and gallery controls. */
body.kbm-p06-single .kbm-detail-outline {
  padding:var(--kbm-space-2,8px); border:1px solid var(--kbm-color-line,#e2e8f0);
  border-radius:var(--kbm-radius-panel,20px); background:var(--kbm-color-surface-alt,#f8fafc);
}
body.kbm-p06-single .kbm-detail-outline a {text-decoration-thickness:1px; text-underline-offset:.24em}
body.kbm-p06-single [data-kbm-detail-section]:target {
  text-decoration:underline; text-decoration-color:var(--kbm-color-brand,#ffcc00); text-underline-offset:.2em;
}
