/* V21.6.381 — shell sans barre laterale generique pour metiers avec navigation declaree.
   Charge en dernier pour resister aux nombreuses couches CSS des versions precedentes. */
.kbbp-app.kbbp381-unified-shell,
.kbbp-app.kbbp381-unified-shell[data-kbbp-trade="pro_clean"]{
  display:block!important;grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;max-width:none!important;min-width:0!important;
  background:#f5f7fb!important;overflow:visible!important;
}
.kbbp-app.kbbp381-unified-shell .kbbp-sidebar,
.kbbp-app.kbbp381-unified-shell .kbbp-auto-mobile-brand,
.kbbp-app.kbbp381-unified-shell .kbbp-mobile-dock {display:none!important}
.kbbp-app.kbbp381-unified-shell .kbbp-main,
.kbbp-app.kbbp381-unified-shell[data-kbbp-trade="pro_clean"] .kbbp-main{
  display:block!important;width:100%!important;max-width:none!important;min-width:0!important;
  min-height:calc(100vh - 100px)!important;box-sizing:border-box!important;
  margin:0!important;padding:clamp(14px,2.1vw,28px) clamp(14px,2.5vw,40px) 42px!important;
  grid-column:1/-1!important;
}
body.kbbp-standalone:has(.kbbp-app.kbbp381-unified-shell),
html:has(body.kbbp-standalone .kbbp-app.kbbp381-unified-shell){background:#f5f7fb!important}
.kbbp-app.kbbp381-unified-shell .kbbp-skip-link{position:absolute;top:-120px;left:10px}
.kbbp-skip-link{position:absolute;top:-120px;left:10px;z-index:999999}
.kbbp-skip-link:focus{top:12px!important;left:12px!important}
.kbbp381-global-header{
  position:relative;z-index:80;box-sizing:border-box;width:100%;min-height:77px;
  display:flex;justify-content:space-between;align-items:center;gap:18px;
  padding:12px clamp(15px,2.5vw,40px);background:#142b45;color:white;
  border-bottom:2px solid rgba(211,173,103,.56);
}
.kbbp381-global-header *{box-sizing:border-box}
.kbbp381-brand{display:flex;align-items:center;gap:13px;min-width:0;text-decoration:none!important;color:#fff!important}
.kbbp381-brand-mark{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:12px;background:#d6b16c;color:#132c47;font-size:19px;font-weight:900;letter-spacing:-.035em}
.kbbp381-brand-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.kbbp381-brand-text strong{font-size:18px;line-height:1.2;color:#fff;font-weight:800}
.kbbp381-brand-text small{color:#d8e2ef;font-size:13px;line-height:1.4;max-width:min(65vw,550px);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.kbbp381-header-tools{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.kbbp381-header-home,.kbbp381-account>summary{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid rgba(255,255,255,.2)!important;border-radius:11px;padding:11px 15px;min-height:44px;line-height:1.3;text-decoration:none!important;background:rgba(255,255,255,.07)!important;color:#fff!important;font-size:14px!important;font-weight:700!important;cursor:pointer;list-style:none}
.kbbp381-account>summary::-webkit-details-marker{display:none}
.kbbp381-header-home:hover,.kbbp381-account>summary:hover{background:rgba(255,255,255,.16)!important}
.kbbp381-account{position:relative;min-width:0}
.kbbp381-account-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:200;display:grid;gap:3px;padding:9px;min-width:220px;max-width:min(95vw,320px);border:1px solid #dce5ef;border-radius:14px;background:#fff;box-shadow:0 16px 40px rgba(10,35,65,.21)}
.kbbp381-account:not([open]) .kbbp381-account-menu{display:none}
.kbbp381-account-name{display:block;padding:9px 12px;color:#526782;font-size:13px;font-weight:750;border-bottom:1px solid #e6edf5}
.kbbp381-account-menu a,.kbbp381-account-menu button{display:block;width:100%;box-sizing:border-box;text-align:left;padding:10px 12px;border:0;border-radius:9px;font-size:14px;font-weight:650;text-decoration:none!important;color:#183655;background:#fff;cursor:pointer}
.kbbp381-account-menu a:hover,.kbbp381-account-menu button:hover{background:#f1f5fa;color:#102a49}
.kbbp381-account-menu form{margin:0}
.kbbp381-account-menu form button{color:#ae3c39}
.kbbp381-trade-nav{display:flex;align-items:center;gap:7px;flex-wrap:wrap;width:100%;box-sizing:border-box;padding:12px clamp(15px,2.5vw,40px);background:#fff;border-bottom:1px solid #e0e7f0;position:relative;z-index:60}
.kbbp381-trade-link,.kbbp381-trade-more>summary{display:inline-flex;align-items:center;padding:10px 13px;min-height:42px;border-radius:11px;text-decoration:none!important;color:#1d3859!important;background:#f5f7fa;font-size:14px;font-weight:700;cursor:pointer;list-style:none}
.kbbp381-trade-link.is-current,.kbbp381-trade-link:hover,.kbbp381-trade-more>summary:hover{background:#1d466e!important;color:#fff!important}
.kbbp381-trade-more{position:relative}
.kbbp381-trade-more>summary::-webkit-details-marker{display:none}
.kbbp381-trade-more-panel{position:absolute;top:calc(100% + 8px);right:0;z-index:100;display:grid;grid-template-columns:repeat(2,minmax(190px,1fr));max-width:min(90vw,580px);width:max-content;max-height:60vh;overflow-y:auto;gap:4px;background:white;border:1px solid #dce5ef;box-shadow:0 15px 30px rgba(10,35,65,.15);padding:12px;border-radius:13px}
.kbbp381-trade-more:not([open]) .kbbp381-trade-more-panel{display:none}
.kbbp381-trade-more-panel a{padding:10px 11px;text-decoration:none!important;border-radius:8px;color:#183b5f;font-size:14px;font-weight:600}
.kbbp381-trade-more-panel a:hover,.kbbp381-trade-more-panel a[aria-current="page"]{background:#eaf2fc}
.kbbp381-global-header :focus-visible,.kbbp381-trade-nav :focus-visible{outline:3px solid #d2ab63!important;outline-offset:3px!important}
@media(max-width:760px){
 .kbbp381-global-header{padding:12px 14px;gap:8px;min-height:70px}
 .kbbp381-brand-mark{flex-basis:40px;width:40px;height:40px;font-size:16px}
 .kbbp381-brand-text strong{font-size:15px}
 .kbbp381-brand-text small{font-size:11px;max-width:42vw}
 .kbbp381-header-home{display:none}
 .kbbp381-account>summary{padding:10px;min-height:42px;font-size:12px!important}
 .kbbp381-trade-nav{flex-wrap:nowrap;overflow-x:auto;overflow-y:visible;padding:10px 14px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
 .kbbp381-trade-link{flex:0 0 auto;white-space:nowrap}
 .kbbp381-trade-more{flex:0 0 auto}
 .kbbp381-trade-more-panel{position:fixed;top:auto;left:14px;right:14px;max-width:none;width:auto;grid-template-columns:minmax(0,1fr);max-height:65vh}
 .kbbp-app.kbbp381-unified-shell .kbbp-main,.kbbp-app.kbbp381-unified-shell[data-kbbp-trade="pro_clean"] .kbbp-main{padding:16px 13px 34px!important}
}
