/* V6.1 — Application plein écran autonome */
html:has(>body.kbbp-standalone),body.kbbp-standalone{margin:0!important;padding:0!important;width:100%;min-height:100%;background:#f5f7fb}
body.kbbp-standalone{overflow-x:hidden}
/* V21.6.288 — Anti-white bounce / overscroll for the PRO CLEAN standalone shell.
 * Only the public standalone workspace is targeted. Keep ordinary site pages,
 * shortcode embeds and the other trades untouched. Do not lock page scrolling. */
@supports selector(html:has(body.kbbp-standalone .kbbp-app[data-kbbp-trade="pro_clean"])) {
  html:has(body.kbbp-standalone .kbbp-app[data-kbbp-trade="pro_clean"]),
  body.kbbp-standalone:has(.kbbp-app[data-kbbp-trade="pro_clean"]) {
    background:linear-gradient(to right,#09273e 0 276px,#f3f6fa 276px 100%) !important;
    overscroll-behavior-y:none;
  }
  @media(max-width:980px) {
    html:has(body.kbbp-standalone .kbbp-app[data-kbbp-trade="pro_clean"]),
    body.kbbp-standalone:has(.kbbp-app[data-kbbp-trade="pro_clean"]) {
      background:#f3f6fa !important;
    }
  }
}

body.kbbp-standalone #kb-business-portal-root{width:100%;min-height:100vh}
body.kbbp-standalone .kbbp-app{width:100%;min-height:100vh;border:0;border-radius:0;box-shadow:none}
body.kbbp-standalone .kbbp-sidebar{min-height:100vh}
body.kbbp-standalone .kbbp-main{min-height:100vh;box-sizing:border-box}
@media(max-width:980px){body.kbbp-standalone .kbbp-sidebar{min-height:auto}}

.kbbp-app{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:760px;background:#f5f7fb;border:1px solid #e6eaf0;border-radius:24px;overflow:hidden;color:#172033;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:0 24px 70px rgba(16,24,40,.08)}
.kbbp-sidebar{background:#101828;color:#fff;padding:24px 18px;display:flex;flex-direction:column;min-height:100%}.kbbp-brand{display:flex;gap:12px;align-items:center;padding:0 8px 22px}.kbbp-brand strong{display:block;font-size:17px}.kbbp-brand small{display:block;color:#98a2b3;margin-top:2px}.kbbp-logo{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#fff;color:#101828;font-weight:800}.kbbp-company{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08);padding:14px;border-radius:14px;margin:0 4px 18px}.kbbp-company small,.kbbp-company span{display:block;color:#98a2b3;font-size:11px}.kbbp-company strong{display:block;margin:3px 0;font-size:14px}.kbbp-nav{display:grid;gap:5px}.kbbp-nav a{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:11px;color:#d0d5dd;text-decoration:none;font-weight:650;font-size:13px}.kbbp-nav a:hover,.kbbp-nav a.active{background:#fff;color:#101828}.kbbp-nav a span{width:22px;text-align:center}.kbbp-sidebar-foot{margin-top:auto;padding:18px 6px 2px;border-top:1px solid rgba(255,255,255,.08)}.kbbp-user{display:flex;gap:10px;align-items:center}.kbbp-user strong,.kbbp-user small{display:block}.kbbp-user small{color:#98a2b3;font-size:10px;max-width:155px;overflow:hidden;text-overflow:ellipsis}.kbbp-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#344054;color:#fff;font-weight:800}.kbbp-avatar.big{width:46px;height:46px}.kbbp-logout{display:inline-block;color:#fda29b;font-size:11px;margin-top:12px;text-decoration:none}
.kbbp-main{padding:30px;min-width:0}.kbbp-topbar,.kbbp-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.kbbp-topbar h1,.kbbp-section-head h2{font-size:27px;line-height:1.15;margin:4px 0 0;color:#101828}.kbbp-section-head p{margin:7px 0 0;color:#667085}.kbbp-eyebrow{text-transform:uppercase;letter-spacing:.09em;font-size:10px;font-weight:800;color:#667085}.kbbp-top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.kbbp-pill{background:#eef4ff;color:#3538cd;border-radius:999px;padding:8px 11px;font-size:11px;font-weight:700}.kbbp-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border:1px solid #d0d5dd;border-radius:10px;text-decoration:none!important;background:#fff;color:#344054!important;font-size:12px;font-weight:750;box-shadow:0 1px 2px rgba(16,24,40,.04)}.kbbp-btn.primary{background:#101828;color:#fff!important;border-color:#101828}
.kbbp-hero{display:flex;justify-content:space-between;gap:25px;padding:24px 26px;background:linear-gradient(135deg,#fff 0%,#f0f4ff 100%);border:1px solid #e4e7ec;border-radius:20px;margin-bottom:18px}.kbbp-hero h2{margin:5px 0 7px;font-size:24px;color:#101828}.kbbp-hero p{margin:0;color:#667085}.kbbp-hero-badge{min-width:150px;background:#101828;color:#fff;padding:15px 17px;border-radius:15px}.kbbp-hero-badge small,.kbbp-hero-badge span{display:block;color:#98a2b3}.kbbp-hero-badge strong{display:block;font-size:20px;margin:4px 0}
.kbbp-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.kbbp-kpi{display:block;background:#fff;border:1px solid #e4e7ec;border-radius:16px;padding:17px;text-decoration:none!important;color:#101828!important;transition:.18s}.kbbp-kpi:hover{transform:translateY(-2px);box-shadow:0 10px 30px rgba(16,24,40,.07)}.kbbp-kpi small,.kbbp-kpi span{display:block;color:#667085;font-size:11px}.kbbp-kpi strong{display:block;font-size:28px;margin:5px 0 3px}.kbbp-grid{display:grid;gap:16px;margin-bottom:16px}.kbbp-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.kbbp-card{background:#fff;border:1px solid #e4e7ec;border-radius:18px;padding:20px;min-width:0}.kbbp-card-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:12px}.kbbp-card-head small{color:#98a2b3;text-transform:uppercase;font-size:9px;font-weight:800;letter-spacing:.08em}.kbbp-card-head h3,.kbbp-card h3{margin:2px 0 0;font-size:17px;color:#101828}.kbbp-card-head a{font-size:11px;font-weight:750;color:#344054}.kbbp-list{display:grid}.kbbp-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #f0f1f3}.kbbp-row:first-child{border-top:0}.kbbp-row-main{display:flex;align-items:center;gap:10px;min-width:0}.kbbp-row-main div{min-width:0}.kbbp-row strong,.kbbp-row small{display:block}.kbbp-row strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kbbp-row small{font-size:10px;color:#98a2b3;margin-top:3px}.kbbp-dot{width:8px;height:8px;border-radius:50%;background:#12b76a;flex:0 0 auto}.kbbp-status{font-size:10px;font-weight:750;padding:5px 8px;background:#f2f4f7;border-radius:999px;color:#475467;white-space:nowrap}.kbbp-empty{padding:28px 12px;text-align:center;color:#667085}.kbbp-empty strong,.kbbp-empty span{display:block}.kbbp-empty span{font-size:11px;margin-top:5px}.kbbp-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.kbbp-quick-item{position:relative;padding:13px;background:#f8fafc;border:1px solid #eaecf0;border-radius:12px;text-decoration:none!important;color:#101828!important}.kbbp-quick-item strong,.kbbp-quick-item span{display:block}.kbbp-quick-item strong{font-size:12px}.kbbp-quick-item span{font-size:10px;color:#667085;margin-top:3px;padding-right:18px}.kbbp-quick-item b{position:absolute;right:12px;top:50%;transform:translateY(-50%)}
.kbbp-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.kbbp-member{display:flex;gap:11px;align-items:center;background:#f8fafc;border:1px solid #eaecf0;border-radius:14px;padding:14px}.kbbp-member strong,.kbbp-member small,.kbbp-member span{display:block}.kbbp-member small{font-size:10px;color:#667085}.kbbp-member span{font-size:9px;color:#98a2b3;margin-top:4px}.kbbp-details dl{margin:12px 0 18px}.kbbp-details dl div{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-top:1px solid #f0f1f3}.kbbp-details dt{color:#667085;font-size:11px}.kbbp-details dd{margin:0;font-weight:700;font-size:11px;text-align:right}.kbbp-gate{padding:50px 16px;background:#f5f7fb;border-radius:20px}.kbbp-gate-card{max-width:520px;margin:auto;background:#fff;border:1px solid #e4e7ec;border-radius:20px;padding:32px;text-align:center}.kbbp-gate-card h2{margin:7px 0}.kbbp-alert{padding:15px 18px;border-radius:12px}.kbbp-alert.warning{background:#fffaeb;color:#93370d}.kbbp-alert.danger{background:#fef3f2;color:#b42318}
@media(max-width:980px){.kbbp-app{grid-template-columns:1fr}.kbbp-sidebar{min-height:auto;padding:15px}.kbbp-brand,.kbbp-company,.kbbp-sidebar-foot{display:none}.kbbp-nav{display:flex;overflow:auto;gap:6px}.kbbp-nav a{white-space:nowrap;background:rgba(255,255,255,.06)}.kbbp-main{padding:20px}.kbbp-kpis{grid-template-columns:repeat(2,1fr)}.kbbp-grid.two{grid-template-columns:1fr}.kbbp-team-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.kbbp-main{padding:14px}.kbbp-topbar,.kbbp-section-head,.kbbp-hero{display:block}.kbbp-top-actions{justify-content:flex-start;margin-top:14px}.kbbp-kpis{grid-template-columns:1fr 1fr;gap:8px}.kbbp-kpi{padding:13px}.kbbp-kpi strong{font-size:22px}.kbbp-hero-badge{margin-top:16px}.kbbp-quick-grid,.kbbp-team-grid{grid-template-columns:1fr}.kbbp-row{align-items:flex-start}.kbbp-status{max-width:95px;overflow:hidden;text-overflow:ellipsis}.kbbp-topbar h1,.kbbp-section-head h2{font-size:22px}}
/* V6 autonomous workspace */
.kbbp-search input{width:210px;border:1px solid #d0d5dd;background:#fff;border-radius:10px;padding:9px 11px;font:inherit;font-size:12px;color:#101828}.kbbp-row-link{text-decoration:none!important;color:#101828!important}.kbbp-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;background:#fff;border:1px solid #e4e7ec;border-radius:18px;padding:22px;margin-bottom:18px}.kbbp-form.compact{grid-template-columns:2fr 1fr 1fr auto;align-items:end}.kbbp-field{display:grid;gap:7px}.kbbp-field.full{grid-column:1/-1}.kbbp-field>span{font-size:11px;font-weight:750;color:#475467}.kbbp-field input,.kbbp-field select,.kbbp-field textarea{width:100%;box-sizing:border-box;border:1px solid #d0d5dd;border-radius:10px;background:#fff;color:#101828;padding:10px 11px;font:inherit;font-size:13px}.kbbp-field textarea{resize:vertical}.kbbp-field input:focus,.kbbp-field select:focus,.kbbp-field textarea:focus{outline:2px solid rgba(79,70,229,.15);border-color:#6172f3}.kbbp-form-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:9px;padding-top:4px}.kbbp-inline-form{display:inline-flex;margin:0}.kbbp-workflow{margin-top:18px}.kbbp-workflow-actions{display:flex;gap:9px;flex-wrap:wrap}.kbbp-flash{margin:-8px 0 18px;padding:11px 14px;border-radius:11px;font-size:12px;font-weight:700}.kbbp-flash.ok{background:#ecfdf3;color:#027a48;border:1px solid #abefc6}.kbbp-flash.error{background:#fef3f2;color:#b42318;border:1px solid #fecdca}.kbbp-alert.info{background:#eff8ff;color:#175cd3;border:1px solid #b2ddff;margin-top:16px}.kbbp-alert code{background:rgba(255,255,255,.55);padding:2px 4px;border-radius:4px}.kbbp-btn button,.kbbp-btn{cursor:pointer}.kbbp-form .kbbp-btn{font-family:inherit}.kbbp-main button{appearance:none}
@media(max-width:780px){.kbbp-form,.kbbp-form.compact{grid-template-columns:1fr}.kbbp-search{width:100%;order:3}.kbbp-search input{width:100%}.kbbp-field.full,.kbbp-form-actions{grid-column:1}.kbbp-top-actions{width:100%}}

/* V6.2 Premium UX */
.kbbp-app{grid-template-columns:214px minmax(0,1fr);background:linear-gradient(180deg,#f7f9fc 0%,#f4f7fb 100%)}
.kbbp-sidebar{padding:18px 14px;box-shadow:8px 0 28px rgba(16,24,40,.06);z-index:3}
.kbbp-main{padding:26px 30px 38px;max-width:1600px;width:100%;margin:0 auto}
.kbbp-topbar{position:sticky;top:0;z-index:5;padding:4px 0 18px;background:linear-gradient(180deg,rgba(247,249,252,.98) 0%,rgba(247,249,252,.94) 72%,rgba(247,249,252,0) 100%);backdrop-filter:blur(12px)}
.kbbp-search{position:relative}.kbbp-search input{padding-right:46px;background:rgba(255,255,255,.96);box-shadow:0 1px 2px rgba(16,24,40,.04)}
.kbbp-search .kbbp-shortcut{position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:9px;font-weight:800;color:#98a2b3;border:1px solid #e4e7ec;background:#f9fafb;border-radius:6px;padding:3px 5px;pointer-events:none}
.kbbp-icon-btn{position:relative;width:36px;height:36px;display:grid;place-items:center;border:1px solid #d0d5dd;background:#fff;color:#344054;text-decoration:none;border-radius:10px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.kbbp-icon-btn:hover{border-color:#98a2b3;transform:translateY(-1px)}.kbbp-icon-btn b{position:absolute;right:-5px;top:-6px;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;border-radius:999px;background:#d92d20;color:#fff;font-size:9px;border:2px solid #f7f9fc}
.kbbp-hero{box-shadow:0 12px 38px rgba(16,24,40,.055);padding:28px 30px}.kbbp-hero h2{font-size:27px}.kbbp-hero-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}.kbbp-hero-badge{display:flex;flex-direction:column;justify-content:center;min-width:165px;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.kbbp-kpi{position:relative;overflow:hidden}.kbbp-kpi:after{content:"";position:absolute;width:70px;height:70px;border-radius:50%;right:-35px;top:-35px;background:rgba(79,70,229,.045)}
.kbbp-card{box-shadow:0 6px 22px rgba(16,24,40,.035)}
.kbbp-onboarding{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 22px;margin-bottom:18px;border:1px solid #d9e2ff;background:linear-gradient(135deg,#f7f9ff 0%,#eef4ff 100%);border-radius:18px}.kbbp-onboarding>div:first-child{display:flex;gap:14px;align-items:center}.kbbp-onboarding-icon{width:42px;height:42px;display:grid;place-items:center;background:#3538cd;color:#fff;border-radius:12px;font-size:18px}.kbbp-onboarding small{display:block;text-transform:uppercase;letter-spacing:.08em;font-size:9px;font-weight:800;color:#6172f3}.kbbp-onboarding h3{margin:3px 0;font-size:16px}.kbbp-onboarding p{margin:0;color:#667085;font-size:11px}.kbbp-onboarding-steps{display:flex;gap:8px;flex-wrap:wrap}.kbbp-onboarding-steps a{display:flex;align-items:center;gap:7px;padding:8px 10px;border-radius:10px;background:#fff;border:1px solid #d9e2ff;color:#344054;text-decoration:none;font-size:10px;font-weight:700}.kbbp-onboarding-steps b{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#eef4ff;color:#3538cd;font-size:9px}
.kbbp-empty-premium{min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:34px 22px}.kbbp-empty-premium .kbbp-empty-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(145deg,#eef4ff,#f9f5ff);color:#3538cd;font-size:22px;margin-bottom:14px;border:1px solid #e0e7ff}.kbbp-empty-premium strong{font-size:16px;color:#101828}.kbbp-empty-premium p{max-width:420px;margin:6px auto 16px;color:#667085;font-size:12px;line-height:1.6}
.kbbp-nav a{transition:background .16s ease,color .16s ease,transform .16s ease}.kbbp-nav a:hover{background:rgba(255,255,255,.08);transform:translateX(2px)}.kbbp-nav a.active:hover{background:#fff}
.kbbp-section-head{padding-top:2px}.kbbp-section-head h2{font-size:26px}.kbbp-section-head p{font-size:12px}
.kbbp-btn,.kbbp-icon-btn,.kbbp-kpi,.kbbp-quick-item{transition:all .16s ease}
.kbbp-btn:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(16,24,40,.07)}
@media(max-width:980px){.kbbp-app{grid-template-columns:1fr}.kbbp-main{padding:18px}.kbbp-topbar{position:relative}.kbbp-onboarding{display:block}.kbbp-onboarding-steps{margin-top:14px}.kbbp-search .kbbp-shortcut{display:none}}
@media(max-width:600px){.kbbp-main{padding:12px}.kbbp-top-actions{gap:7px}.kbbp-icon-btn{width:34px;height:34px}.kbbp-hero{padding:20px}.kbbp-hero h2{font-size:23px}.kbbp-onboarding{padding:16px}.kbbp-onboarding-steps a{flex:1 1 100%}.kbbp-empty-premium{min-height:190px;padding:24px 14px}}

/* V7.0 Intelligent Business Portal */
.kbbp-focus-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.kbbp-focus-card{display:flex;flex-direction:column;justify-content:space-between;min-height:108px;padding:16px;border-radius:16px;border:1px solid #e4e7ec;background:#fff;text-decoration:none!important;color:#101828!important;box-shadow:0 5px 18px rgba(16,24,40,.035);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.kbbp-focus-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(16,24,40,.07)}.kbbp-focus-card small{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#667085}.kbbp-focus-card strong{display:block;font-size:28px;line-height:1.1;margin-top:5px}.kbbp-focus-card>span{font-size:10px;color:#667085}.kbbp-focus-card.blue{border-color:#c7d7fe;background:linear-gradient(145deg,#fff,#f4f7ff)}.kbbp-focus-card.amber{border-color:#fedf89;background:linear-gradient(145deg,#fff,#fffaeb)}.kbbp-focus-card.green{border-color:#abefc6;background:linear-gradient(145deg,#fff,#ecfdf3)}.kbbp-focus-card.red{border-color:#fecdca;background:linear-gradient(145deg,#fff,#fef3f2)}.kbbp-focus-card.neutral{background:linear-gradient(145deg,#fff,#f8fafc)}
.kbbp-mini-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.kbbp-mini-stats>div{background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:14px}.kbbp-mini-stats small,.kbbp-mini-stats strong{display:block}.kbbp-mini-stats small{font-size:10px;color:#667085}.kbbp-mini-stats strong{font-size:24px;margin-top:2px}.kbbp-mini-stats .danger{border-color:#fecdca;background:#fef3f2;color:#b42318}
.kbbp-search-summary{display:flex;align-items:center;gap:9px;margin:-6px 0 14px;padding:10px 13px;border-radius:12px;background:#eef4ff;border:1px solid #d9e2ff;color:#3538cd}.kbbp-search-summary strong{font-size:18px}.kbbp-search-summary span{font-size:11px;font-weight:700}.kbbp-result-count{min-width:24px;height:24px;padding:0 7px;border-radius:999px;display:grid;place-items:center;background:#f2f4f7;color:#475467;font-size:10px;font-weight:800}
.kbbp-hero-v7{border-color:#d9e2ff;background:radial-gradient(circle at 90% 10%,rgba(97,114,243,.09),transparent 28%),linear-gradient(135deg,#fff 0%,#f7f9ff 100%)}
@media(max-width:1100px){.kbbp-focus-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.kbbp-focus-grid{grid-template-columns:1fr 1fr;gap:8px}.kbbp-focus-card{min-height:96px;padding:13px}.kbbp-focus-card strong{font-size:23px}.kbbp-mini-stats{grid-template-columns:repeat(3,1fr);gap:7px}.kbbp-mini-stats>div{padding:10px}.kbbp-mini-stats strong{font-size:20px}}

/* === V10 Business Operations / Dossier 360 === */
.kbbp-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.kbbp-dossier-hero{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:24px 26px;margin:0 0 18px;border:1px solid #d7e2f0;border-radius:20px;background:linear-gradient(135deg,#f8fbff 0%,#eef5ff 100%);box-shadow:0 10px 30px rgba(16,24,40,.05)}.kbbp-dossier-hero small{display:block;color:#667085;font-weight:700;text-transform:uppercase;letter-spacing:.06em;margin-bottom:7px}.kbbp-dossier-hero strong{display:block;font-size:22px;line-height:1.2;color:#101828}.kbbp-dossier-hero span{display:block;color:#475467;margin-top:6px}.kbbp-dossier-hero-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.kbbp-timeline{display:grid;grid-template-columns:repeat(9,minmax(70px,1fr));gap:8px;margin:0 0 20px;padding:18px;background:#fff;border:1px solid #e4e7ec;border-radius:18px;overflow:auto}.kbbp-timeline>div{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:74px;color:#98a2b3}.kbbp-timeline>div:after{content:"";position:absolute;top:15px;left:62%;width:76%;height:2px;background:#eaecf0}.kbbp-timeline>div:last-child:after{display:none}.kbbp-timeline span{z-index:1;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#f2f4f7;border:2px solid #e4e7ec;font-weight:800;font-size:12px}.kbbp-timeline small{font-size:11px;font-weight:700;white-space:nowrap}.kbbp-timeline .done span{background:#ecfdf3;border-color:#75e0a7;color:#067647}.kbbp-timeline .done:after{background:#75e0a7}.kbbp-timeline .current span{background:#175cd3;border-color:#175cd3;color:#fff;box-shadow:0 0 0 4px #eaf2ff}.kbbp-timeline .current small{color:#175cd3}.kbbp-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.kbbp-doc-link{padding:10px 0;border-bottom:1px solid #f2f4f7}.kbbp-doc-link a{font-weight:700;color:#175cd3;text-decoration:none}.kbbp-message{padding:14px 0;border-bottom:1px solid #f2f4f7}.kbbp-message:last-child{border-bottom:0}.kbbp-message>div{display:flex;justify-content:space-between;gap:12px}.kbbp-message strong{color:#101828}.kbbp-message small{color:#98a2b3}.kbbp-message p{margin:8px 0 0;color:#475467;line-height:1.55}.kbbp-reco{padding:16px;border-radius:14px;background:#f8f9fc;border:1px solid #eaecf0;margin-bottom:12px}.kbbp-reco strong{display:block;color:#101828;margin-bottom:5px}.kbbp-reco p{margin:0;color:#475467;line-height:1.5}.kbbp-muted{color:#98a2b3}.kbbp-mini-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.kbbp-mini-stats>div{background:#fff;border:1px solid #e4e7ec;border-radius:16px;padding:16px 18px}.kbbp-mini-stats>div.danger{border-color:#fecdca;background:#fff7f6}.kbbp-mini-stats small{display:block;color:#667085;margin-bottom:6px}.kbbp-mini-stats strong{font-size:24px;color:#101828}.kbbp-search-summary{display:flex;align-items:baseline;gap:8px;margin:0 0 14px;color:#475467}.kbbp-search-summary strong{font-size:24px;color:#101828}.kbbp-result-count{display:inline-grid;place-items:center;min-width:28px;height:28px;border-radius:999px;background:#f2f4f7;font-weight:800;color:#344054}.kbbp-inline-form .kbbp-field.full{grid-column:1/-1}
@media(max-width:1100px){.kbbp-grid.three{grid-template-columns:1fr}.kbbp-mini-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.kbbp-dossier-hero{align-items:flex-start;flex-direction:column;padding:18px}.kbbp-dossier-hero-actions{width:100%}.kbbp-dossier-hero-actions .kbbp-btn,.kbbp-dossier-hero-actions form{flex:1}.kbbp-dossier-hero-actions button{width:100%}.kbbp-timeline{padding:14px 10px}.kbbp-mini-stats{grid-template-columns:1fr 1fr}.kbbp-grid.three{grid-template-columns:1fr}}

/* V12 — Customer Journey */
.kbbp-intake{border:1px solid #dce8f5;background:linear-gradient(180deg,#fff,#f8fbff)}
.kbbp-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:10px;margin-top:14px}
.kbbp-photo-grid a{display:block;aspect-ratio:1/1;border-radius:12px;overflow:hidden;border:1px solid #e4ebf3;background:#f6f8fb}
.kbbp-photo-grid img{width:100%;height:100%;object-fit:cover;display:block}
.kbbp-journey-card{margin-top:18px}
.kbbp-journey-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:12px 0 18px}
.kbbp-journey-chip{display:flex;flex-direction:column;gap:2px;min-width:150px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}
.kbbp-journey-chip small{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#64748b}.kbbp-journey-chip strong{font-size:15px}.kbbp-journey-chip span{font-size:12px;color:#64748b}
.kbbp-field-photos{margin-top:16px}.kbbp-field-photos h4{margin:0 0 8px}.kbbp-upload-inline{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}.kbbp-upload-inline input[type=file]{max-width:240px}
.kbbp-journey-map{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px}.kbbp-journey-map span{padding:9px 12px;border-radius:999px;background:#eef4ff;color:#173a67;font-weight:700;font-size:12px}.kbbp-journey-map b{color:#94a3b8}
.kbbp-check{display:flex;gap:9px;align-items:center;margin:14px 0;font-weight:600}.kbbp-check input{width:18px;height:18px}
@media(max-width:760px){.kbbp-journey-map b{display:none}.kbbp-journey-map span{flex:1 1 calc(50% - 8px);text-align:center}.kbbp-journey-actions{align-items:stretch}.kbbp-journey-actions .kbbp-btn,.kbbp-journey-actions form{width:100%}.kbbp-journey-actions form .kbbp-btn{width:100%}}

/* V13 — Customer Experience Hub */
.kbbp-cx-hero{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:22px 24px;margin:0 0 18px;border-radius:20px;border:1px solid #d9e2ff;background:linear-gradient(135deg,#f8faff,#eef4ff)}
.kbbp-cx-hero small{display:block;color:#667085;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.kbbp-cx-hero h3{margin:5px 0 6px;font-size:21px;color:#101828}.kbbp-cx-hero p{margin:0;color:#475467}.kbbp-cx-score{min-width:150px;padding:14px 16px;border-radius:16px;background:#fff;border:1px solid #d9e2ff;text-align:center}.kbbp-cx-score span,.kbbp-cx-score small{display:block}.kbbp-cx-score strong{display:block;font-size:28px;margin:3px 0;color:#3538cd}.kbbp-cx-docstats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0 16px}.kbbp-cx-docstats>div{padding:14px;border:1px solid #e4e7ec;border-radius:14px;background:#f8fafc;text-align:center}.kbbp-cx-docstats strong,.kbbp-cx-docstats span{display:block}.kbbp-cx-docstats strong{font-size:22px;color:#101828}.kbbp-cx-docstats span{font-size:11px;color:#667085;margin-top:3px}.kbbp-inline-action{margin:0}.kbbp-customer-notify{margin-top:16px}
@media(max-width:760px){.kbbp-cx-hero{align-items:flex-start;flex-direction:column}.kbbp-cx-score{width:100%;box-sizing:border-box}.kbbp-cx-docstats{grid-template-columns:1fr 1fr 1fr}}

/* === V15 → V20 : CRM / Revenue Ops / Growth Platform === */
.kbbp-growth-tabs{display:flex;gap:8px;overflow:auto;margin:-6px 0 18px;padding:4px;background:#eef2f6;border-radius:14px}.kbbp-growth-tabs a{white-space:nowrap;padding:10px 13px;border-radius:10px;text-decoration:none!important;color:#475467!important;font-size:11px;font-weight:800}.kbbp-growth-tabs a.active{background:#fff;color:#101828!important;box-shadow:0 2px 8px rgba(16,24,40,.07)}
.kbbp-growth-hero{display:flex;justify-content:space-between;gap:22px;align-items:center;padding:24px 26px;margin-bottom:18px;border:1px solid #d9e2ff;border-radius:20px;background:radial-gradient(circle at 90% 10%,rgba(97,114,243,.12),transparent 28%),linear-gradient(135deg,#fff,#f5f7ff)}.kbbp-growth-hero h3{margin:5px 0 7px;font-size:22px}.kbbp-growth-hero p{margin:0;color:#667085}.kbbp-growth-score{min-width:180px;padding:16px 18px;border-radius:16px;background:#101828;color:#fff}.kbbp-growth-score small,.kbbp-growth-score span{display:block;color:#98a2b3}.kbbp-growth-score strong{display:block;font-size:24px;margin:5px 0}
.kbbp-growth-item{padding:12px 0;border-top:1px solid #f0f1f3}.kbbp-growth-item:first-child{border-top:0}.kbbp-growth-item strong,.kbbp-growth-item span{display:block}.kbbp-growth-item span{margin-top:3px;color:#667085;font-size:11px}.kbbp-growth-item.risk strong{color:#b42318}
.kbbp-stage-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.kbbp-stage-summary>div{padding:12px;border:1px solid #eaecf0;border-radius:12px;background:#f8fafc}.kbbp-stage-summary small,.kbbp-stage-summary strong{display:block}.kbbp-stage-summary small{font-size:9px;color:#667085}.kbbp-stage-summary strong{font-size:20px;margin-top:4px}
.kbbp-pipeline{display:grid;grid-template-columns:repeat(6,minmax(170px,1fr));gap:10px;overflow:auto;padding-bottom:4px}.kbbp-pipeline-col{min-height:180px;padding:10px;border-radius:14px;background:#f8fafc;border:1px solid #eaecf0}.kbbp-pipeline-col h4{margin:0 0 9px;font-size:11px;color:#475467}.kbbp-opportunity{padding:11px;border-radius:11px;background:#fff;border:1px solid #e4e7ec;margin-bottom:8px}.kbbp-opportunity strong,.kbbp-opportunity span,.kbbp-opportunity b{display:block}.kbbp-opportunity strong{font-size:11px}.kbbp-opportunity span{font-size:9px;color:#667085;margin-top:3px}.kbbp-opportunity b{font-size:13px;margin-top:7px}.kbbp-stage-form{display:flex;gap:5px;margin-top:8px}.kbbp-stage-form select{min-width:0;flex:1;border:1px solid #d0d5dd;border-radius:8px;padding:6px;font-size:9px}.kbbp-stage-form button{border:0;border-radius:8px;background:#101828;color:#fff;font-weight:800;padding:0 8px}.kbbp-pipeline-empty{font-size:10px;color:#98a2b3;text-align:center;padding:18px 0}
.kbbp-growth-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;border-top:1px solid #f0f1f3}.kbbp-growth-row:first-child{border-top:0}.kbbp-growth-row>div strong,.kbbp-growth-row>div span{display:block}.kbbp-growth-row>div span{font-size:10px;color:#667085;margin-top:3px}.kbbp-help{font-size:10px;color:#667085;line-height:1.5}.kbbp-lifecycle-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.kbbp-lifecycle-grid>div{padding:14px;border:1px solid #eaecf0;border-radius:14px;background:#f8fafc}.kbbp-lifecycle-grid h4{margin:0 0 10px}.kbbp-lifecycle-grid a{display:block;padding:8px 0;border-top:1px solid #eaecf0;text-decoration:none!important;color:#101828!important;font-size:11px;font-weight:750}.kbbp-lifecycle-grid a small{display:block;color:#667085;font-weight:500;margin-top:2px}
@media(max-width:900px){.kbbp-growth-hero{align-items:flex-start;flex-direction:column}.kbbp-growth-score{width:100%;box-sizing:border-box}.kbbp-lifecycle-grid{grid-template-columns:1fr 1fr}.kbbp-stage-summary{grid-template-columns:1fr 1fr 1fr}}@media(max-width:600px){.kbbp-lifecycle-grid{grid-template-columns:1fr}.kbbp-growth-tabs{margin-left:-4px;margin-right:-4px}.kbbp-stage-summary{grid-template-columns:1fr 1fr}}

/* V21.3.5: native-feeling, direct POST logout */
.kbbp-logout-form{margin:0;padding:0}.kbbp-logout-form .kbbp-logout{background:none;border:0;padding:0;cursor:pointer;font-family:inherit;text-align:left}.kbbp-logout-form .kbbp-logout:hover{text-decoration:underline;color:#fff}

/* V21.3.14 — CRM invitation: isolated mobile layout, no permissions changes */
.kbbp-app .kbbp-client-invite{margin-top:20px;padding:22px;min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere;word-break:normal}
.kbbp-app .kbbp-client-invite *{box-sizing:border-box;min-width:0}
.kbbp-app .kbbp-client-invite-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.kbbp-app .kbbp-client-invite h3{margin:0;color:#101828;font-size:18px;line-height:1.35;letter-spacing:normal}
.kbbp-app .kbbp-client-invite-status{display:inline-flex;align-items:center;border:1px solid #d6e4fa;background:#f1f6ff;color:#175cd3;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:700;line-height:1.4;white-space:normal}
.kbbp-app .kbbp-client-invite-description{font-size:14px;line-height:1.55;color:#475467;margin:12px 0 14px;max-width:68ch;overflow-wrap:anywhere}
.kbbp-app .kbbp-client-invite-history{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;padding:12px 14px;border:1px solid #eaecf0;border-radius:12px;background:#f8fafc;margin:12px 0 16px;font-size:13px;line-height:1.5;color:#475467;overflow-wrap:anywhere}
.kbbp-app .kbbp-client-invite-history strong{font-size:13px;color:#344054}
.kbbp-app .kbbp-client-invite-history span{overflow-wrap:anywhere}
.kbbp-app .kbbp-client-invite-form{margin:12px 0 0;max-width:100%}
.kbbp-app .kbbp-client-invite-form .kbbp-btn{font-size:14px;line-height:1.35;white-space:normal;text-align:center;max-width:100%;min-height:44px}
@media(max-width:600px){
 .kbbp-app .kbbp-client-invite{padding:18px 16px;margin-top:16px}
 .kbbp-app .kbbp-client-invite-head{align-items:flex-start;flex-direction:column;gap:9px}
 .kbbp-app .kbbp-client-invite h3{font-size:18px}
 .kbbp-app .kbbp-client-invite-description{font-size:14px;margin:12px 0}
 .kbbp-app .kbbp-client-invite-history{display:flex;flex-direction:column;align-items:stretch;font-size:13px;padding:12px}
 .kbbp-app .kbbp-client-invite-form,.kbbp-app .kbbp-client-invite-form .kbbp-btn{display:block;width:100%}
}
/* KB Business Portal V21.4.0 — responsive structural layer.
   Scoped to the portal; desktop presentation deliberately unchanged. */
#kb-business-portal-root,.kbbp-app,.kbbp-app *{box-sizing:border-box}
.kbbp-app{max-width:100%;min-width:0}
.kbbp-main,.kbbp-sidebar,.kbbp-topbar,.kbbp-section-head,.kbbp-hero,.kbbp-card,.kbbp-form,.kbbp-grid,.kbbp-dossier-hero,.kbbp-cx-hero,.kbbp-growth-hero{min-width:0}
.kbbp-app :is(h1,h2,h3,h4,p,dt,dd,small,strong,span){overflow-wrap:break-word}
.kbbp-app img,.kbbp-app video{max-width:100%;height:auto}
.kbbp-app input,.kbbp-app select,.kbbp-app textarea{max-width:100%;min-width:0}
@media(max-width:980px){
 .kbbp-app{display:block;width:100%;min-height:100vh;border:0;border-radius:0;overflow:visible}
 .kbbp-sidebar{min-height:0!important;width:100%;padding:12px 12px 10px!important;box-shadow:none;overflow:hidden}
 .kbbp-nav{display:flex!important;flex-wrap:nowrap;gap:7px;overflow-x:auto;overflow-y:hidden;max-width:100%;-webkit-overflow-scrolling:touch;scrollbar-width:thin;padding:3px 0 7px}
 .kbbp-nav a{flex:0 0 auto;white-space:nowrap;min-width:max-content}
 .kbbp-main{max-width:100%;width:100%;padding:18px 16px 32px!important}
 .kbbp-topbar{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:14px;margin-bottom:26px}
 .kbbp-top-actions{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;width:100%;gap:9px}
 .kbbp-search{flex:1 1 100%;min-width:0;order:5}
 .kbbp-search input{width:100%;max-width:100%}
 .kbbp-section-head{display:block}
 .kbbp-hero,.kbbp-cx-hero,.kbbp-growth-hero,.kbbp-dossier-hero{display:flex;flex-direction:column;align-items:stretch;gap:14px}
 .kbbp-hero-badge,.kbbp-cx-score,.kbbp-growth-score{width:100%;min-width:0}
 .kbbp-kpis,.kbbp-grid.two,.kbbp-grid.three,.kbbp-mini-stats,.kbbp-focus-grid,.kbbp-team-grid,.kbbp-lifecycle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .kbbp-form,.kbbp-form.compact{grid-template-columns:repeat(2,minmax(0,1fr))}
 .kbbp-form.compact>*{min-width:0}
 .kbbp-hero-actions,.kbbp-dossier-hero-actions,.kbbp-head-actions,.kbbp-workflow-actions{flex-wrap:wrap;max-width:100%}
 .kbbp-pipeline{max-width:100%;overflow-x:auto}
}
@media(max-width:600px){
 html,body{max-width:100%}
 .kbbp-main{padding:16px 12px 30px!important}
 .kbbp-sidebar{padding:10px 10px 8px!important}
 .kbbp-topbar h1,.kbbp-section-head h2{font-size:clamp(22px,6vw,28px);line-height:1.22;overflow-wrap:anywhere}
 .kbbp-hero{padding:18px!important;display:flex}
 .kbbp-hero h2,.kbbp-cx-hero h3,.kbbp-growth-hero h3{font-size:clamp(19px,5vw,24px);line-height:1.3;overflow-wrap:anywhere}
 .kbbp-hero p,.kbbp-cx-hero p,.kbbp-growth-hero p{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
 .kbbp-card{padding:16px}
 .kbbp-kpis,.kbbp-grid.two,.kbbp-grid.three,.kbbp-mini-stats,.kbbp-focus-grid,.kbbp-team-grid,.kbbp-lifecycle-grid,.kbbp-cx-docstats,.kbbp-stage-summary{grid-template-columns:minmax(0,1fr)}
 .kbbp-form,.kbbp-form.compact{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;padding:16px;max-width:100%;overflow:visible}
 .kbbp-form>* , .kbbp-field,.kbbp-field.full,.kbbp-form-actions{grid-column:1/-1;min-width:0;max-width:100%}
 .kbbp-field input,.kbbp-field select,.kbbp-field textarea{width:100%;font-size:16px;min-height:44px}
 .kbbp-field textarea{min-height:110px}
 .kbbp-form-actions{display:flex;flex-wrap:wrap;justify-content:stretch}
 .kbbp-form-actions .kbbp-btn,.kbbp-form-actions button{flex:1 1 100%;white-space:normal;min-height:44px}
 .kbbp-top-actions .kbbp-btn,.kbbp-hero-actions .kbbp-btn,.kbbp-workflow-actions .kbbp-btn{min-height:44px;white-space:normal;text-align:center}
 .kbbp-hero-actions,.kbbp-dossier-hero-actions,.kbbp-workflow-actions{display:flex;flex-direction:column;align-items:stretch}
 .kbbp-hero-actions>* ,.kbbp-dossier-hero-actions>* ,.kbbp-workflow-actions>*{width:100%;max-width:100%;min-width:0}
 .kbbp-hero-actions .kbbp-btn,.kbbp-dossier-hero-actions .kbbp-btn,.kbbp-workflow-actions .kbbp-btn{width:100%}
 .kbbp-btn{max-width:100%;overflow-wrap:anywhere}
 .kbbp-client-invite{padding:16px!important}
 .kbbp-client-invite-description,.kbbp-client-invite-history{font-size:14px;overflow-wrap:anywhere}
 .kbbp-row{flex-wrap:wrap}
 .kbbp-row-main{max-width:100%}
 .kbbp-card-head,.kbbp-growth-row{flex-wrap:wrap}
 .kbbp-details dl div{flex-direction:column;gap:4px}
 .kbbp-details dd{text-align:left}
 .kbbp-quick-grid{grid-template-columns:1fr}
 .kbbp-journey-chip{min-width:0}
 .kbbp-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .kbbp-app .kbbp-inline-form{max-width:100%;flex-wrap:wrap}
}
@media(max-width:370px){.kbbp-main{padding:12px 9px 24px!important}.kbbp-card,.kbbp-form{padding:13px}}

.kbbp-crm-thread{border:1px solid #dce6f2;border-radius:18px;padding:20px;background:#f8fbff;margin:16px 0;min-width:0}
.kbbp-crm-thread-head h3{margin:0 0 5px;font-size:19px}.kbbp-crm-thread-head p{margin:0;color:#647a96;font-size:13px}
.kbbp-crm-bubbles{display:flex;flex-direction:column;gap:12px;margin:18px 0;max-height:580px;overflow-y:auto;padding:4px}
.kbbp-crm-bubble{width:fit-content;max-width:min(88%,650px);border:1px solid #dce6f2;background:#fff;border-radius:15px 15px 15px 4px;padding:13px 16px;overflow-wrap:anywhere}
.kbbp-crm-bubble.is-team{margin-left:auto;background:#e9f3ff;border-color:#bbd6f6;border-radius:15px 15px 4px 15px}
.kbbp-crm-bubble header{display:flex;flex-wrap:wrap;gap:5px 15px;justify-content:space-between;align-items:center}
.kbbp-crm-bubble header strong{font-weight:800;color:#15365c}.kbbp-crm-bubble time{color:#65809c;font-size:12px}
.kbbp-crm-bubble p{color:#263f61;margin:9px 0 0;line-height:1.5}
.kbbp-crm-reply{display:grid;gap:10px;border-top:1px solid #dce6f2;padding-top:15px}
.kbbp-crm-reply label{font-weight:750;color:#183557}.kbbp-crm-reply textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;min-height:110px;padding:13px 15px;border:1px solid #c7d9ed;border-radius:12px;background:white;font:inherit}
.kbbp-crm-reply button{justify-self:end;min-height:42px}
@media(max-width:600px){.kbbp-crm-thread{padding:14px}.kbbp-crm-bubble{max-width:94%}}

.kbbp-crm-thread{max-width:100%;background:#f9fbff}
.kbbp-crm-bubbles{background:#f3f7fc;border:1px solid #e1eaf5;border-radius:16px;padding:16px;gap:12px;max-height:520px}
.kbbp-crm-bubble{max-width:min(78%,560px)}
.kbbp-crm-bubble.is-team{align-self:flex-end;margin-left:auto}
.kbbp-crm-bubble.is-client{align-self:flex-start;margin-right:auto}
.kbbp-crm-reply{margin-top:15px;gap:9px}
@media(max-width:600px){.kbbp-crm-bubbles{padding:10px}.kbbp-crm-bubble{max-width:90%}}

.kbbp-support-schedule{margin:18px 0;padding:18px;background:#f6faff;border:1px solid #d8e7f7;border-radius:16px}
.kbbp-support-toggle{display:flex;gap:10px;align-items:center;font-weight:700;color:#173859}
.kbbp-support-schedule-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:12px;margin-top:15px}
.kbbp-support-schedule-fields[hidden]{display:none!important}
.kbbp-support-day{min-width:0;padding:12px;background:#fff;border:1px solid #d8e4f1;border-radius:12px}
.kbbp-support-day legend{padding:0 6px;font-weight:700;color:#153556}
.kbbp-support-slot{display:grid;grid-template-columns:minmax(90px,1fr) minmax(80px,110px) 16px minmax(80px,110px);align-items:center;gap:7px;margin:7px 0}
.kbbp-support-slot label{display:flex;gap:6px;align-items:center;font-size:13px}
.kbbp-support-slot input[type=time]{width:100%;min-width:0;min-height:38px;padding:5px;border:1px solid #c8d7e8;border-radius:9px;background:#fff}
.kbbp-support-hint{font-size:13px;color:#526d8d}
@media(max-width:480px){.kbbp-support-schedule{padding:12px}.kbbp-support-slot{grid-template-columns:1fr 1fr 12px 1fr;gap:5px}.kbbp-support-slot input[type=time]{font-size:13px;padding:4px}}

/* V57: quiet contextual checks; keep the detail accessible on mobile. */
.kbbp-dossier-closure-details{margin:0 0 12px;padding:0!important;overflow:hidden}
.kbbp-dossier-closure-details>summary{cursor:pointer;list-style:none;padding:14px 18px;font-weight:750;color:#254268}
.kbbp-dossier-closure-details>summary::-webkit-details-marker{display:none}
.kbbp-dossier-closure-details>summary:before{content:"▸";display:inline-block;margin-right:10px}
.kbbp-dossier-closure-details[open]>summary:before{content:"▾"}
.kbbp-dossier-closure-details>ul,.kbbp-dossier-closure-details>p{margin:12px 18px;line-height:1.55}
.kbbp-dossier-tabnav{overflow-x:auto;scrollbar-width:thin}
@media(max-width:780px){.kbbp-dossier-closure-details>summary{padding:14px}.kbbp-dossier-closure-details>ul,.kbbp-dossier-closure-details>p{margin:12px 14px}}

/* V69 — information de provenance des recommandations, limitée au hub croissance. */
.kbbp-grow .kbbp-grow-evidence{display:inline-flex;align-items:center;max-width:100%;margin:0 0 10px;padding:5px 10px;border:1px solid #cbe1ef;border-radius:8px;background:#f1f8fc;color:#275875;font-size:12px;font-weight:650;line-height:1.35}

/* V73 — Opportunités contextuelles et états commerciaux, sans surcharge de la grille globale. */
.kbbp-app .kbbp-grow-insights{display:grid;gap:9px;margin:18px 0 8px}
.kbbp-app .kbbp-grow-insight{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:13px 14px;border:1px solid #dce8f4;border-radius:11px;background:#f5f9fd;text-decoration:none!important;color:#173450}
.kbbp-app .kbbp-grow-insight strong{font-size:13px;line-height:1.4}
.kbbp-app .kbbp-grow-insight strong + span{grid-column:1;font-size:11px;color:#607d9a;line-height:1.5}
.kbbp-app .kbbp-grow-insight span:last-child{grid-column:2;grid-row:1/4;align-self:center;color:#176fcb;font-size:17px}
.kbbp-app .kbbp-grow-insight:hover,.kbbp-app .kbbp-grow-insight:focus-visible{border-color:#8bbef3;background:#eef6ff}
.kbbp-app .kbbp-grow-offer-badge--active{background:#def6ec;color:#117451}

/* V74 : origine des recommandations vérifiables / conseils métier */
.kbbp-app .kbbp-grow-insight-origin{grid-column:1;font-size:10px;font-weight:750;letter-spacing:.035em;text-transform:uppercase;color:#a06b17}

/* Settings métier — shared, responsive and intentionally scoped. */
.kbbp-app .kbbp-metier-settings-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;padding:24px;margin:0 0 16px}
.kbbp-app .kbbp-metier-settings-title{flex:1 1 280px;min-width:0}
.kbbp-app .kbbp-metier-settings-title h3{font-size:22px;line-height:1.3;margin:7px 0}
.kbbp-app .kbbp-metier-settings-title p{font-size:15px;line-height:1.55;margin:0;max-width:64ch}
.kbbp-app .kbbp-metier-settings-links{display:flex;flex-wrap:wrap;gap:10px}
.kbbp-app .kbbp-metier-settings-links .kbbp-btn{min-height:44px;display:inline-flex;align-items:center;font-size:14px}
@media(max-width:680px){.kbbp-app .kbbp-metier-settings-intro{padding:18px}.kbbp-app .kbbp-metier-settings-links{width:100%}.kbbp-app .kbbp-metier-settings-links .kbbp-btn{flex:1 1 100%}}

/* v21.6.111 – desktop shortcuts, hidden when using the mobile dock. */
.kbbp-app .kbbp-desktop-shortcuts{margin:3px 5px 17px;padding:12px;border:1px solid rgba(215,180,105,.28);border-radius:13px;background:rgba(255,255,255,.045);box-sizing:border-box;min-width:0;overflow:hidden}
.kbbp-app .kbbp-shortcuts-heading{display:block;margin-bottom:10px;color:#d6bc83;font-size:12px;letter-spacing:.035em;font-weight:750}
.kbbp-app .kbbp-shortcuts-list{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;min-width:0}
.kbbp-app .kbbp-desktop-shortcut-link{position:static;inset:auto;transform:none;display:flex;box-sizing:border-box;min-width:0;width:100%;min-height:38px;align-items:center;justify-content:flex-start;padding:9px 11px;border-radius:9px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.07);color:#f0f3f8;text-decoration:none;font-size:13px;font-weight:650;white-space:normal;overflow-wrap:anywhere;pointer-events:auto;line-height:1.35}
.kbbp-app .kbbp-desktop-shortcut-link:hover,.kbbp-app .kbbp-desktop-shortcut-link.is-active,.kbbp-app .kbbp-desktop-shortcut-link[aria-current="page"]{border-color:#d6b76f;background:rgba(214,183,111,.17);color:#fff}
.kbbp-app .kbbp-desktop-shortcut-link:focus-visible{outline:2px solid #e4c477;outline-offset:2px}
@media(max-width:980px){.kbbp-app .kbbp-desktop-shortcuts{display:none}}

/* Profession registry routes: shared shell, profession-owned screens. */
.kbbp-app .kbbp-profession-nav{display:grid;gap:4px;margin:10px 0;padding:12px 8px;border-top:1px solid rgba(148,163,184,.22)}
.kbbp-app .kbbp-profession-nav>strong{font-size:12px;letter-spacing:.055em;text-transform:uppercase;padding:0 10px;opacity:.72}
.kbbp-app .kbbp-profession-nav-link{display:block;padding:11px 12px;border-radius:10px;color:inherit;text-decoration:none;font-size:15px;line-height:1.4}
.kbbp-app .kbbp-profession-nav-link:hover,.kbbp-app .kbbp-profession-nav-link.active{background:rgba(170,134,72,.12)}
.kbbp-app .kbbp-profession-nav-link:focus-visible{outline:3px solid #c49a51;outline-offset:2px}

/* 21.6.122: consolidated shortcut styles; keyboard hint remains separate. */

/* 21.6.167 — safe profession-declared icons and readable mobile groups. */
.kbbp-app .kbbp-profession-nav-link{display:flex;align-items:center;gap:10px;min-height:42px}
.kbbp-app .kbbp-profession-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;min-height:22px;color:#c9a668;font-size:18px;font-style:normal}
.kbbp-app .kbbp-dock-more-panel .kbbp-profession-subgroup{padding-left:16px;opacity:.9}
.kbbp-app .kbbp-dock-more-panel a:has(>.kbbp-profession-icon){display:flex;align-items:center;gap:9px;min-height:42px}

/* 21.6.168 — visually distinguish profession-owned navigation from shared features. */
.kbbp-sidebar .kbbp-profession-section {margin: 10px 8px 16px; padding: 7px 4px 9px; border: 1px solid rgba(124,198,221,.24); border-radius: 12px; background: rgba(12,52,81,.36);}
.kbbp-sidebar .kbbp-profession-section .kbbp-nav-section-heading {font-weight: 800; letter-spacing: .035em;}
.kbbp-sidebar .kbbp-profession-section .kbbp-dock-more-title {font-size: 11px; font-weight: 800; letter-spacing: .045em; color: #bdd4ed; margin: 14px 10px 5px;}
.kbbp-sidebar .kbbp-profession-section .kbbp-profession-nav-link {margin: 3px 5px; border-radius: 9px;}
@media(max-width:782px) {.kbbp-dock-more-panel .kbbp-dock-more-title {font-weight:800; letter-spacing:.025em;} .kbbp-dock-more-panel a {min-height:42px;}}

/* SEO Intelligence embedded panel — scoped to avoid overriding other portal modules. */
/* SEO is rendered and styled by KB SEO Intelligence. Keep the host neutral. */
.kbbp-seo-module-host{min-width:0;max-width:100%;overflow-wrap:anywhere}
.kbbp-seo-module-host :is(input,select,textarea){max-width:100%}

/* 21.6.188 — Centre abonnement, feuille unique et isolée. */
.kbbp-app .kbbp-subscription-hero{position:relative;isolation:isolate;display:flex;justify-content:space-between;align-items:center;gap:22px;min-height:136px;padding:26px 29px;margin-bottom:16px;border:1px solid #d9e7fa;border-radius:19px;background:linear-gradient(112deg,#fff,#f4f9ff 65%,#e6f1ff);overflow:hidden}
.kbbp-app .kbbp-subscription-hero:after{content:"";position:absolute;z-index:-1;right:-80px;top:-75px;width:340px;height:270px;border-radius:50%;background:linear-gradient(125deg,#eaf5ff,#cde3ff80)}
.kbbp-app .kbbp-subscription-hero__copy{min-width:0;max-width:780px}
.kbbp-app .kbbp-subscription-hero .kbbp-eyebrow{display:block;color:#1870d9;font-size:10px;font-weight:800;letter-spacing:.16em;margin-bottom:10px}
.kbbp-app .kbbp-subscription-hero h2{margin:0 0 8px;font-size:clamp(27px,2.6vw,37px);line-height:1.08;letter-spacing:-.035em;color:#112647}
.kbbp-app .kbbp-subscription-hero p{margin:0;color:#5d7696;font-size:13px;line-height:1.65}
.kbbp-app .kbbp-subscription-hero__art{position:relative;flex:0 0 130px;height:110px;display:grid;place-items:center}
.kbbp-app .kbbp-subscription-hero__paper{position:relative;display:flex;flex-direction:column;gap:7px;width:65px;height:83px;padding:15px 11px;background:linear-gradient(#fff,#eaf4ff);border:1px solid #d6e4f6;border-radius:12px;transform:rotate(8deg);box-shadow:0 13px 25px #2766b01a}
.kbbp-app .kbbp-subscription-hero__paper i{height:5px;background:#98c2fd;border-radius:10px}.kbbp-app .kbbp-subscription-hero__paper i:nth-child(2){width:73%}.kbbp-app .kbbp-subscription-hero__paper i:nth-child(3){width:55%}.kbbp-app .kbbp-subscription-hero__paper b{position:absolute;right:10px;bottom:7px;font-size:19px;color:#176ded}
.kbbp-app .kbbp-subscription-hero__check{position:absolute;right:22px;bottom:5px;display:grid;place-items:center;width:29px;height:29px;color:white;background:#23b887;border:3px solid white;border-radius:50%;font-size:16px;font-weight:900}
.kbbp-app .kbbp-subscription-nav{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 16px;padding:0}
.kbbp-app .kbbp-subscription-tab{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:43px;padding:0 17px;border:1px solid #d8e3f2;border-radius:11px;background:#fff;text-decoration:none;color:#263e5d;font-size:12px;font-weight:750;box-shadow:0 2px 6px #1b498010}
.kbbp-app .kbbp-subscription-tab svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.kbbp-app .kbbp-subscription-tab.is-active{color:#fff;background:#176ef0;border-color:#176ef0;box-shadow:0 6px 15px #176ef026}
.kbbp-app .kbbp-subscription-module{min-width:0}.kbbp-app .kbbp-account-shell,.kbbp-app .kbbp-invoice-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(245px,280px);gap:14px;align-items:start}.kbbp-app .kbbp-account-main,.kbbp-app .kbbp-invoice-main{min-width:0}
.kbbp-app .kbbp-account-sectiontitle{display:flex;align-items:center;gap:13px;margin:0 0 13px;padding:16px 18px;background:#fff;border:1px solid #dbe6f5;border-radius:15px}.kbbp-app .kbbp-account-sectiontitle h3{margin:0;color:#162e50;font-size:17px;line-height:1.35;font-weight:800}.kbbp-app .kbbp-account-sectiontitle p{margin:4px 0 0;color:#677f9d;font-size:12px}
.kbbp-app .kbbp-account-symbol{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;background:#eaf3ff;border-radius:12px;color:#176ff1;font-size:25px}
.kbbp-app .kbbp-account-aside{padding:20px 19px;background:#fff;border:1px solid #dbe6f5;border-radius:16px;box-shadow:0 5px 16px #244d7808}.kbbp-app .kbbp-account-aside h3{margin:0 0 9px;font-size:17px;color:#173255}.kbbp-app .kbbp-account-aside-intro{font-size:12px;color:#617994;line-height:1.6;margin:0 0 12px}.kbbp-app .kbbp-account-help{padding:17px 0;border-top:1px solid #e6edf6}.kbbp-app .kbbp-account-help strong{display:block;margin:0 0 6px;font-size:13px;color:#183455}.kbbp-app .kbbp-account-help p{margin:0;font-size:12px;line-height:1.6;color:#607895}
/* The shortcode is the source of truth: style its existing nodes, never clone/relocate forms. */
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing{display:grid;gap:13px;border:0;background:transparent;padding:0;box-shadow:none;margin:0;max-width:none}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__head{display:none}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0;margin:0}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__facts>div{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0;min-height:117px;padding:16px 16px 16px 58px;border:1px solid #dbe6f5;border-radius:16px;background:#fff;gap:6px;box-shadow:0 6px 19px #204c7808}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__facts>div:before{content:'◈';position:absolute;left:14px;top:20px;display:grid;place-items:center;width:33px;height:33px;border-radius:10px;background:#e8f2ff;color:#176ef0;font-size:21px}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__facts>div:nth-child(2):before{content:'◎';background:#fff0f2;color:#d62948}.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__facts>div:nth-child(3):before{content:'▣';background:#e7f8f2;color:#079367}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__facts span{display:block;min-width:0;margin:0;font-size:10px;letter-spacing:.02em;color:#7286a3;font-weight:750;line-height:1.4}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__facts strong{display:block;max-width:100%;margin:0;color:#162e50;font-size:17px;line-height:1.35;font-weight:850;overflow-wrap:anywhere}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__panel{min-width:0;padding:22px 22px 20px;background:#fff;border:1px solid #dbe6f5;border-radius:16px;box-shadow:0 6px 19px #204c7808}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__panel h3{margin:0 0 10px;font-size:18px;color:#142f52}.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__panel p{color:#607895;font-size:13px;line-height:1.65}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__panel button{min-height:44px;padding:0 18px;border:0;border-radius:10px;background:#176ef0;color:#fff;font-weight:750;cursor:pointer}.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__note{padding:13px 15px;border-radius:10px;background:#edf5ff;font-size:12px;color:#42658d}
.kbbp-app .kbbp-subscription-module--invoices .kbfs-client{max-width:none;margin:0}.kbbp-app .kbbp-subscription-module--invoices .kbfs-client-hero{display:none}.kbbp-app .kbbp-subscription-module--invoices .kbfs-client-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 14px}
.kbbp-app .kbbp-subscription-module--invoices .kbfs-client-overview>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;min-height:99px;padding:17px 20px;background:#fff;border:1px solid #dbe6f5;border-radius:15px;box-shadow:0 6px 18px #204c7808}
.kbbp-app .kbbp-subscription-module--invoices .kbfs-client-overview small{font-size:11px;color:#7188a7;font-weight:700}.kbbp-app .kbbp-subscription-module--invoices .kbfs-client-overview strong{font-size:24px;color:#183357;line-height:1.15}
.kbbp-app .kbbp-subscription-module--invoices .kbfs-client-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:250px;padding:30px 24px;border:1px dashed #c6dafa;border-radius:16px;background:#fff;text-align:center;color:#627b9b;line-height:1.7;gap:12px}
.kbbp-app .kbbp-subscription-module--invoices .kbfs-client-empty:before{content:'▤';display:grid;place-items:center;width:72px;height:72px;border-radius:19px;background:#e9f3ff;color:#1875f2;font-size:38px}
.kbbp-app .kbbp-subscription-module--invoices .kbfs-client-footnote{margin-top:12px;color:#617995;font-size:12px;line-height:1.55}.kbbp-app .kbbp-subscription-module--invoices .kbfs-client-scroll{overflow-x:auto;border:1px solid #dbe6f5;border-radius:15px}.kbbp-app .kbbp-subscription-module--invoices table{min-width:620px}.kbbp-app .kbbp-subscription-module--invoices th{background:#eef5ff;color:#55718f;font-size:11px}.kbbp-app .kbbp-subscription-module--invoices td{color:#294763;font-size:12px}
@media(max-width:1230px){.kbbp-app .kbbp-account-shell,.kbbp-app .kbbp-invoice-shell{grid-template-columns:minmax(0,1fr)}.kbbp-app .kbbp-account-aside{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.kbbp-app .kbbp-account-aside>h3,.kbbp-app .kbbp-account-aside-intro{grid-column:1/-1}.kbbp-app .kbbp-account-help{border-top:1px solid #e6edf6}}
@media(max-width:760px){.kbbp-app .kbbp-subscription-hero{padding:22px 18px;min-height:0}.kbbp-app .kbbp-subscription-hero__art{display:none}.kbbp-app .kbbp-subscription-nav{display:grid;grid-template-columns:1fr}.kbbp-app .kbbp-subscription-tab{justify-content:flex-start}.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__facts,.kbbp-app .kbbp-subscription-module--invoices .kbfs-client-overview{grid-template-columns:1fr}.kbbp-app .kbbp-account-aside{display:block}.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__panel{padding:19px}}


/* 21.6.192 — consolidated subscription finish. No duplicate status/date notices. */
.kbbp-app .kbbp-account-main{min-width:0}
.kbbp-app .kbbp-subscription-module--plan .kbbp-account-main{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-content:start}
.kbbp-app .kbbp-subscription-module .kbbp-account-sectiontitle{margin:0;padding:20px 22px;background:linear-gradient(120deg,#fff,#f4f9ff);min-height:87px;box-shadow:0 4px 14px #204c7808}
.kbbp-app .kbbp-subscription-module .kbbp-account-sectiontitle h3{font-size:19px;letter-spacing:-.02em}
.kbbp-app .kbbp-subscription-module .kbbp-account-sectiontitle p{line-height:1.55;margin-top:4px}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing{display:grid;gap:14px}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__facts{gap:12px}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__facts>div{min-height:136px;padding:21px 17px 21px 63px;border-radius:16px}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__facts>div:before{width:37px;height:37px;left:15px;top:22px}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__facts>div:first-child{background:linear-gradient(140deg,#fff,#f1f7ff)}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__facts>div:nth-child(2) strong{color:#bf2446}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__facts>div:nth-child(3) strong{font-variant-numeric:tabular-nums;font-size:15px}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__facts span{font-size:11px}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__facts strong{font-size:20px}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__panel{min-height:0;padding:23px;border-radius:16px}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__panel h3{font-size:19px;margin-bottom:11px}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__panel h3:before{content:'▣';display:inline-grid;place-items:center;margin-right:11px;width:35px;height:35px;border-radius:10px;background:#eaf3ff;color:#176ef0}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__panel p{line-height:1.65}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__panel button{min-height:44px;border-radius:10px;font-weight:800}
.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__note{padding:14px 16px;border:1px solid #dce9fa;border-radius:11px}
.kbbp-app .kbbp-subscription-actions{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:17px 20px;background:#fff;border:1px solid #dbe6f5;border-radius:16px}
.kbbp-app .kbbp-subscription-actions__top{display:flex;align-items:center;gap:12px;min-width:0}
.kbbp-app .kbbp-subscription-actions h3{margin:0 0 5px;color:#142e50;font-size:16px}
.kbbp-app .kbbp-subscription-actions p{margin:0;font-size:12px;color:#607995}
.kbbp-app .kbbp-subscription-return{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 14px;border:1px solid #c8defb;border-radius:10px;background:#eaf3ff;color:#176eef;text-decoration:none;font-size:12px;font-weight:800}
.kbbp-app .kbbp-subscription-return:hover{background:#dcecff}
.kbbp-app .kbbp-subscription-module--invoices .kbfs-client-empty{min-height:230px;background:linear-gradient(180deg,#f8fbff,#fff);border:1px dashed #bed5f8}
.kbbp-app .kbbp-subscription-module--invoices .kbfs-client-empty:before{background:#e9f3ff}
.kbbp-app .kbbp-subscription-module--invoices .kbfs-client-overview>div:first-child{background:linear-gradient(120deg,#fff,#f3f8ff)}
@media(max-width:760px){.kbbp-app .kbbp-subscription-module--plan .kbsaas-customer-billing__facts>div{min-height:95px}.kbbp-app .kbbp-subscription-actions{align-items:stretch}.kbbp-app .kbbp-subscription-return{width:100%}}

/* 21.6.193 — Fiche d'offre basée sur le catalogue KB SaaS Manager. */
.kbbp-app .kbbp-plan-profile{margin:14px 0;padding:23px;background:#fff;border:1px solid #dce6f4;border-radius:17px;box-shadow:0 5px 19px #204c7809;color:#183353}
.kbbp-app .kbbp-plan-profile__head{display:flex;align-items:center;gap:14px;min-width:0;padding-bottom:20px;border-bottom:1px solid #e7edf6}
.kbbp-app .kbbp-plan-profile__head>div{flex:1;min-width:0}.kbbp-app .kbbp-plan-profile__eyebrow{display:block;font-size:10px;font-weight:800;letter-spacing:.12em;color:#2875df}
.kbbp-app .kbbp-plan-profile__head h3{margin:3px 0 5px;font-size:22px;color:#132d4f}.kbbp-app .kbbp-plan-profile__head p{margin:0;color:#657d99;font-size:12px;line-height:1.6}
.kbbp-app .kbbp-plan-profile__status{align-self:flex-start;flex-shrink:0;padding:8px 12px;border-radius:999px;background:#edf4ff;color:#246ed4;font-size:12px;font-weight:750}.kbbp-app .kbbp-plan-profile__status--cancelled,.kbbp-app .kbbp-plan-profile__status--canceled,.kbbp-app .kbbp-plan-profile__status--expired{background:#fff0f2;color:#c82749}.kbbp-app .kbbp-plan-profile__status--active{background:#e7f8ef;color:#11805a}
.kbbp-app .kbbp-plan-profile__section{padding-top:18px}.kbbp-app .kbbp-plan-profile__section h4{margin:0 0 12px;color:#183454;font-size:14px}.kbbp-app .kbbp-plan-profile__features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kbbp-app .kbbp-plan-profile__feature{display:flex;align-items:center;gap:9px;padding:10px 12px;background:#f4f8fe;border:1px solid #e3ecf8;border-radius:10px;color:#294968;font-size:12px;font-weight:650}.kbbp-app .kbbp-plan-profile__feature>span{color:#149971;font-size:15px;font-weight:900}
.kbbp-app .kbbp-plan-profile__limits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.kbbp-app .kbbp-plan-profile__limits>div{display:flex;flex-direction:column;gap:6px;padding:13px;background:#f9fbff;border:1px solid #e4ecf7;border-radius:11px}.kbbp-app .kbbp-plan-profile__limits span{color:#7387a0;font-size:11px}.kbbp-app .kbbp-plan-profile__limits strong{color:#142f52;font-size:19px}.kbbp-app .kbbp-plan-profile__foot{margin:18px 0 0;padding:11px 13px;background:#eff5ff;border-radius:9px;color:#57728f;font-size:11px;line-height:1.6}
@media(max-width:800px){.kbbp-app .kbbp-plan-profile__features{grid-template-columns:1fr}.kbbp-app .kbbp-plan-profile__limits{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.kbbp-app .kbbp-plan-profile{padding:16px}.kbbp-app .kbbp-plan-profile__head{flex-wrap:wrap}.kbbp-app .kbbp-plan-profile__limits{grid-template-columns:1fr}}

/* 21.6.194 – Options métier: unique scoped styling block. */
.kbbp-app .kbbp-subscription-options{margin:17px 0;padding:21px;background:#fff;border:1px solid #dce7f5;border-radius:16px;box-shadow:0 5px 22px rgba(19,49,87,.035)}
.kbbp-app .kbbp-subscription-options__heading{display:flex;gap:12px;align-items:center;margin-bottom:17px}.kbbp-app .kbbp-subscription-options__heading h3{margin:0 0 4px;color:#142e51;font-size:18px}.kbbp-app .kbbp-subscription-options__heading p{margin:0;color:#647f9a;font-size:12px}
.kbbp-app .kbbp-subscription-options__group{padding:15px;background:#f8fbff;border:1px solid #e5edf8;border-radius:12px;margin-top:10px}.kbbp-app .kbbp-subscription-options__group h4{margin:0 0 12px;color:#183659;font-size:13px;display:flex;align-items:center;gap:8px}.kbbp-app .kbbp-subscription-options__group h4 span{padding:3px 8px;background:#e7effb;color:#2e6bc7;border-radius:999px;font-size:11px}
.kbbp-app .kbbp-subscription-options__item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;background:#fff;border:1px solid #e4ecf7;border-radius:9px;margin-top:7px}.kbbp-app .kbbp-subscription-options__item strong{display:block;color:#173758;font-size:13px}.kbbp-app .kbbp-subscription-options__item p{margin:5px 0 0;color:#627c96;font-size:12px}.kbbp-app .kbbp-subscription-options__badge{flex-shrink:0;border-radius:99px;padding:6px 10px;background:#e9f0ff;color:#2369c8;font-size:11px;font-weight:750}.kbbp-app .kbbp-subscription-options__badge.is-active{background:#e3f8ef;color:#117e54}.kbbp-app .kbbp-subscription-options__empty{margin:0;color:#71869f;font-size:12px}.kbbp-app .kbbp-subscription-options__note{margin:14px 0 0;color:#657c95;font-size:11px;line-height:1.6}
@media(max-width:650px){.kbbp-app .kbbp-subscription-options{padding:15px}.kbbp-app .kbbp-subscription-options__item{align-items:flex-start;flex-wrap:wrap}}

/* 21.6.195 – Onglets internes : présentation isolée et responsive. */
.kbbp-app .kbbp-account-inner-nav{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 15px;padding:6px;background:#fff;border:1px solid #dce6f3;border-radius:13px;width:max-content;max-width:100%}
.kbbp-app .kbbp-account-inner-tab{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:9px 16px;border-radius:9px;text-decoration:none;font-size:13px;font-weight:750;color:#315377;white-space:normal}
.kbbp-app .kbbp-account-inner-tab:hover{background:#eff5ff;color:#175bd1}.kbbp-app .kbbp-account-inner-tab.is-active{background:#1873ee;color:#fff;box-shadow:0 3px 8px rgba(25,102,223,.13)}
.kbbp-app .kbbp-account-service-link{margin:15px 0;padding:19px 20px;border:1px solid #dce7f5;border-radius:13px;background:#fff}.kbbp-app .kbbp-account-service-link h3{margin:0 0 8px;color:#173657;font-size:17px}.kbbp-app .kbbp-account-service-link p{color:#607b96;margin:0 0 12px;font-size:13px}
@media(max-width:650px){.kbbp-app .kbbp-account-inner-nav{width:100%}.kbbp-app .kbbp-account-inner-tab{flex:1 1 auto;padding:9px 10px}}

/* 21.6.196 — état contractuel lisible sans inventer de renouvellement. */
.kbbp-app .kbbp-account-lifecycle{margin:14px 0 0;padding:17px 19px;background:#f6f9fe;border:1px solid #d9e7f8;border-radius:14px;color:#193656}
.kbbp-app .kbbp-account-lifecycle__heading{display:flex;align-items:center;gap:9px;margin-bottom:7px}
.kbbp-app .kbbp-account-lifecycle__heading>span{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#e3efff;color:#1664d3;font-weight:800}
.kbbp-app .kbbp-account-lifecycle h3{margin:0;font-size:15px;font-weight:800;color:#173152}
.kbbp-app .kbbp-account-lifecycle p{margin:0 0 11px;font-size:13px;line-height:1.6;color:#486581}
.kbbp-app .kbbp-account-lifecycle__period{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #dce8f6;padding-top:10px;font-size:12px}
.kbbp-app .kbbp-account-lifecycle__period>span{color:#58748e}.kbbp-app .kbbp-account-lifecycle__period>strong{color:#183758}
@media(max-width:550px){.kbbp-app .kbbp-account-lifecycle__period{align-items:flex-start;flex-direction:column}}
