/* V21.6.207 — scoped KB Auto Clean common portal navigation, not finance. */
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-main {min-width:0;}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-nav a,
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-profession-nav-link {transition:background .14s,border-color .14s;}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-nav a[aria-current="page"],
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-profession-nav-link[aria-current="page"] {font-weight:780;}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-main a:focus-visible {outline:3px solid #f7c966;outline-offset:3px;}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-main :is(.kbbp-card,.kbbp-focus-card) {min-width:0;overflow-wrap:anywhere;}
.kbbp-app[data-kbbp-trade="pro_clean"]:not(.kbbp-view-tresorerie):not(.kbbp-view-reglements) .kbbp-main :is(.kbbp-card,.kbbp-focus-card) a {text-underline-offset:3px;}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-main :is(button,input,select,textarea) {max-width:100%;}
@media(max-width:720px) {
 .kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-main {overflow-x:clip;}
 .kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-main .kbbp-card {padding:clamp(12px,3.5vw,20px);}
 .kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-main :is(button,[type="submit"]) {min-height:43px;}
}
@media(prefers-reduced-motion:reduce) {
 .kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-nav a,
 .kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-profession-nav-link {transition:none;}
}

/* 21.6.208: badge only for already-authorized profession navigation routes. */
.kbbp-clean-locked-label{margin-left:auto;padding:2px 6px;border:1px solid #a78a54;border-radius:8px;color:#e4c27f;font-size:10px;white-space:nowrap;letter-spacing:.01em}.kbbp-profession-nav-link:has(.kbbp-clean-locked-label){display:flex;align-items:center;gap:7px}

/* V21.6.209 — professional navigation density, no routes removed. */
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-brand-auto {margin-bottom:10px;padding-bottom:13px;}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-auto-car{height:34px;}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-company-card{padding:10px 12px;}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-sidebar{padding-top:16px;}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-nav-section-heading{min-height:36px;padding-block:7px;}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-nav a,
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-profession-nav-link{min-height:39px;line-height:1.3;}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-dock-more-title{margin-top:9px;margin-bottom:3px;}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-profession-section .kbbp-nav-section-links{padding-block:6px;}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-nav a:focus-visible,
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-profession-nav-link:focus-visible{outline:2px solid #f7c966;outline-offset:2px;}
@media(max-width:980px){.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-sidebar{padding:10px 12px!important;}}

/* V21.6.210 — approved Premium Signature on the PRO CLEAN professional shell only. */
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-brand-signature{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:105px;margin:0 0 14px;padding:8px 4px 17px;border-bottom:1px solid #354451;width:100%;}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-brand-signature .kbbp-signature-logo{display:block;width:min(185px,100%);height:auto;max-height:62px;object-fit:contain;object-position:center;filter:drop-shadow(0 2px 4px #0002)}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-brand-signature small{font-size:8px;font-weight:750;letter-spacing:.16em;color:#bdcbd6;text-align:center;line-height:1.45;margin:0}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-auto-mobile-signature{min-height:49px;display:flex;align-items:center;justify-content:center;background:#081b2b;padding:8px 10px}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-auto-mobile-signature img{display:block;max-width:160px;width:100%;height:auto;max-height:37px;object-fit:contain}
@media(max-width:980px){.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-brand-signature{min-height:70px;padding:7px 3px 10px}.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-signature-logo{max-height:48px}}
@media print{.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-brand-signature .kbbp-signature-logo{filter:none}}


/* V21.6.211 — Premium lock badge in the PRO CLEAN sidebar. The shared
 * .kbbp-nav a span {width:22px} must never size label/badge spans. */
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-sidebar .kbbp-profession-section .kbbp-profession-nav-link {
  box-sizing:border-box;
  max-width:calc(100% - 10px);
  min-width:0;
  white-space:normal;
}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-sidebar .kbbp-profession-section .kbbp-profession-nav-link>.kbbp-profession-nav-text {
  width:auto;
  flex:1 1 auto;
  min-width:0;
  text-align:left;
  overflow-wrap:break-word;
}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-sidebar .kbbp-profession-section .kbbp-profession-nav-link:has(>.kbbp-clean-locked-label) {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  column-gap:7px;
  row-gap:5px;
}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-sidebar .kbbp-profession-section .kbbp-profession-nav-link>.kbbp-clean-locked-label {
  box-sizing:border-box;
  width:auto;
  flex:0 0 auto;
  max-width:100%;
  margin-left:auto;
  padding:3px 7px;
  border:1px solid rgba(244,201,115,.62);
  border-radius:7px;
  background:rgba(244,201,115,.07);
  color:#f5d391;
  font-size:10px;
  font-weight:700;
  line-height:1.35;
  white-space:nowrap;
  text-align:center;
}
/* Mobile dock: the same marker can never inherit the 22px icon width. */
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-dock-more-panel a:has(>.kbbp-clean-locked-label) {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  min-width:0;
  max-width:100%;
  gap:6px;
}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-dock-more-panel a>.kbbp-profession-nav-text {
  flex:1 1 auto;
  min-width:0;
  width:auto;
  overflow-wrap:anywhere;
}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-dock-more-panel a>.kbbp-clean-locked-label {
  flex:0 0 auto;
  width:auto;
  max-width:100%;
  margin-left:auto;
  padding:3px 7px;
  white-space:nowrap;
}


/* V21.6.212 — One native PRO CLEAN navigation, old generic groups untouched elsewhere. */
@media(min-width:981px){
 .kbbp-app[data-kbbp-trade="pro_clean"]{grid-template-columns:266px minmax(0,1fr)}
}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-brand-signature{min-height:126px;margin-bottom:13px;padding:7px 0 13px;gap:6px}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-brand-signature .kbbp-signature-logo{width:min(242px,100%);height:auto;max-height:91px;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(0,0,0,.16))}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-brand-signature small{font-size:9px;letter-spacing:.15em}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-unified-nav{display:flex;flex-direction:column;gap:4px;overflow:visible;min-width:0}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-unified-nav .kbbp-clean-menu-link{box-sizing:border-box;min-width:0;width:100%;max-width:100%;display:flex;align-items:center;gap:10px;padding:10px 11px;white-space:normal;text-decoration:none;border-radius:11px;min-height:43px;color:#e2edf7;background:transparent;border:1px solid transparent;font-size:13px;font-weight:650;line-height:1.3}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-unified-nav .kbbp-clean-menu-link>.kbbp-profession-icon{width:25px;min-width:25px;flex:0 0 25px;text-align:center;font-size:17px;color:#c9a661}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-unified-nav .kbbp-clean-menu-label{display:block;min-width:0;flex:1 1 auto;width:auto!important;margin:0;font-style:normal;color:inherit;font-size:inherit;overflow-wrap:break-word}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-unified-nav .kbbp-clean-menu-link.active{background:rgba(246,197,101,.11);color:#ffe1a0;border-color:rgba(243,195,107,.53);box-shadow:inset 3px 0 #e9b953}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-unified-nav .kbbp-clean-menu-link:hover{background:rgba(246,197,101,.10)}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-unified-nav .kbbp-clean-menu-link:focus-visible,.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-unified-nav summary:focus-visible{outline:2px solid #ffd47e;outline-offset:2px}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-unified-nav .kbbp-clean-menu-details{min-width:0;width:100%;margin:0;border-top:1px solid rgba(206,224,242,.12)}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-unified-nav .kbbp-clean-menu-details>summary{display:flex;justify-content:space-between;align-items:center;gap:7px;min-height:43px;padding:10px 11px;cursor:pointer;color:#f4d38b;font-size:12px;font-weight:750;line-height:1.3;list-style:none;white-space:normal}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-unified-nav .kbbp-clean-menu-details>summary::-webkit-details-marker{display:none}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-unified-nav .kbbp-clean-menu-details>summary span{flex:0 0 auto;width:auto;margin-left:auto;transition:transform .15s}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-unified-nav .kbbp-clean-menu-details[open]>summary span{transform:rotate(180deg)}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-unified-nav .kbbp-clean-menu-children{padding:2px 2px 8px 7px;display:grid;gap:2px}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-unified-nav .kbbp-clean-menu-children .kbbp-clean-menu-link{min-height:38px;padding:8px 9px;font-size:12px}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-unified-nav .kbbp-clean-menu-account{margin-top:8px;border-top-color:rgba(249,210,127,.32)}
@media(max-width:980px){
 .kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-brand-signature{min-height:91px;padding:6px 2px 11px}
 .kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-brand-signature .kbbp-signature-logo{width:min(245px,100%);max-height:76px}
 .kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-unified-nav{display:flex;flex-direction:column;gap:4px;overflow:visible;padding:2px}
 .kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-unified-nav .kbbp-clean-menu-link{white-space:normal;min-height:43px;flex:0 0 auto}
 .kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-unified-nav .kbbp-clean-menu-details{display:block}
}
@media(max-width:600px){
 .kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-unified-nav{max-height:280px;overflow-y:auto;scrollbar-width:thin}
 .kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-auto-mobile-signature img{max-width:204px;max-height:44px}
}

/* Lock badge is informational; route guards still control real entitlements. */
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-unified-nav .kbbp-clean-menu-link:has(>.kbbp-clean-locked-label){flex-wrap:wrap;gap:6px}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-unified-nav .kbbp-clean-locked-label{box-sizing:border-box;display:inline-block;width:auto;flex:0 0 auto;max-width:100%;padding:3px 6px;margin-left:auto;border:1px solid #d8ae60;border-radius:8px;color:#f1d18d;background:rgba(230,186,97,.08);font-size:10px;white-space:nowrap}


/* Business Portal 21.6.279 — PRO CLEAN navigation finish only, other professions unaffected. */
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-flat-link:focus-visible{outline:3px solid #edc77b!important;outline-offset:2px!important}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-flat-link{min-height:45px;box-sizing:border-box}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-flat-link .kbbp-clean-menu-label{line-height:1.42}
.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-flat-link[aria-current="page"]{font-weight:800}
@media(max-width:980px){.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-flat-link{min-height:46px}}
@media(prefers-reduced-motion:reduce){.kbbp-app[data-kbbp-trade="pro_clean"] .kbbp-clean-flat-link{transition:none!important}}
