/* Bâti Entente OS V6 — premium role-specific dashboard. Styles are scoped to the portal. */
.be-shell .be-v6-welcome,.be-shell .be-v6-panel,.be-shell .be-v6-kpi {box-sizing:border-box}
.be-shell {--be-v6-navy:#142943;--be-v6-gold:#b5975c;--be-v6-border:#e4e9f0;--be-v6-muted:#65758c;background:#f5f7fc;max-width:1700px;grid-template-columns:258px minmax(0,1fr);border-radius:14px;box-shadow:0 14px 55px #10233b0f}
.be-shell .be-sidebar{background:linear-gradient(165deg,#14263f,#1a3553 68%,#14263c);padding:28px 10px 20px;gap:8px}
.be-shell .be-brand{border:0;padding:5px 24px 25px;white-space:normal}
.be-shell .be-brand-mark{background:transparent;color:#cfb377;box-shadow:none;font-size:29px;border:2px solid #cfb377;border-radius:11px}
.be-shell .be-brand strong{font-size:16px;letter-spacing:1.1px;color:#fff}
.be-shell .be-brand small{font-size:9px;letter-spacing:1.6px;color:#dfc48d}
.be-shell .be-nav-caption{color:#b8c6d6;margin:10px 20px 4px}
.be-shell .be-nav-link{min-height:45px;border-radius:9px;color:#f1f4fa!important;padding:10px 20px;font-size:13px;font-weight:560;position:relative}
.be-shell .be-nav-link:hover{background:#ffffff16}
.be-shell .be-nav-link.is-active{background:#ffffff17!important;box-shadow:inset 4px 0 #d6b777;color:#f7dfaa!important}
.be-shell .be-nav-icon{width:20px;color:#dbbd83;font-size:18px}
.be-nav-unread{margin-left:auto;min-width:23px;height:23px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px;background:#c1a16b;color:#fff;border-radius:50%;font-size:11px;font-weight:800}
.be-shell .be-sidebar-bottom{border-top:1px solid #ffffff28;padding-top:15px;margin:16px 5px 0}
.be-shell .be-main{background:#f5f7fc}
.be-shell .be-topbar{background:#fff;border-bottom:1px solid #e8edf3;gap:18px}
.be-shell .be-topbar-search{position:relative;width:100%;max-width:510px}
.be-shell .be-topbar-search input{width:100%;min-height:41px;padding:9px 43px 9px 16px;background:#f4f7fb;border:1px solid #e9eef5;border-radius:9px;color:#263951;font:inherit;font-size:12px;outline:none}
.be-shell .be-topbar-search input:focus{border-color:#b5975c;box-shadow:0 0 0 3px #b5975c20}
.be-shell .be-topbar-search button{position:absolute;right:4px;top:4px;height:33px;min-width:35px;border:0;border-radius:6px;background:transparent;color:#667b93;font-size:20px;cursor:pointer}
.be-shell .be-topbar-chip{border:1px solid #e6eaf1;padding:8px 12px;border-radius:8px;background:#fafbfe;color:#254165!important;white-space:nowrap}
.be-shell .be-avatar{background:#e6edfa;color:#214c82;border-radius:50%}
.be-shell .be-main-inner{padding:28px 32px 42px;max-width:1460px}
.be-v6-welcome{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:22px;min-height:99px}
.be-v6-welcome h1{font-size:clamp(23px,2.1vw,34px)!important;color:#15233d!important;letter-spacing:-.6px;line-height:1.24!important;margin:6px 0 8px!important;font-weight:800}
.be-v6-welcome p{margin:0;color:#67778c;font-size:13px;line-height:1.65}
.be-shell .be-v6-welcome .be-kicker{color:#526f92;letter-spacing:1.3px;font-size:10px}
.be-v6-motto{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:17px;text-align:center;color:#415471;white-space:nowrap;transform:rotate(-3deg);line-height:1.4}
.be-v6-motto span{display:block;width:74px;height:2px;background:#bb9b61;margin:12px auto 0;transform:rotate(-5deg)}
.be-v6-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}
.be-v6-kpi{display:flex;align-items:center;gap:13px;min-height:105px;min-width:0;padding:17px 15px;background:#fff;border:1px solid #e6ebf2;border-radius:11px;box-shadow:0 4px 20px #12213e08;color:#152b49!important}
.be-v6-kpi:hover{border-color:#d5c09b;transform:translateY(-1px);box-shadow:0 6px 22px #12213e12}
.be-v6-kpi-icon{flex:0 0 44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#eaf1fc;color:#193a71;font-size:21px}
.be-v6-kpi:nth-child(2) .be-v6-kpi-icon{background:#f9f2e8;color:#a38146}
.be-v6-kpi:nth-child(3) .be-v6-kpi-icon{background:#e9f5f0;color:#1e7559}
.be-v6-kpi:nth-child(4) .be-v6-kpi-icon{background:#fcecef;color:#a04759}
.be-v6-kpi-copy{display:grid;gap:2px;min-width:0;flex:1}
.be-v6-kpi small{font-size:12px;color:#5f7089;line-height:1.3}
.be-v6-kpi strong{font-size:26px;line-height:1.14;color:#102139;letter-spacing:-.4px;overflow-wrap:anywhere}
.be-v6-kpi em{font-size:10px;color:#738098;font-style:normal;line-height:1.4}
.be-v6-arrow{color:#244677;font-size:16px;align-self:center}
.be-v6-grid{display:grid;grid-template-columns:minmax(0,1.57fr) minmax(285px,1fr);gap:17px;align-items:start}
.be-v6-column{display:flex;flex-direction:column;gap:17px;min-width:0}
.be-v6-panel{border:1px solid #e1e7f0;border-radius:12px;background:#fff;min-width:0;padding:19px;box-shadow:0 4px 22px #203b5b0a}
.be-v6-panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;border-bottom:1px solid #edf0f6;padding-bottom:13px}
.be-v6-panel-head h2{font-size:17px!important;font-weight:800!important;margin:0!important;color:#172b47!important;line-height:1.3!important}
.be-v6-panel-head a{font-size:11px;color:#24548a!important;font-weight:750;white-space:nowrap}
.be-v6-panel-head a:hover{text-decoration:underline}
.be-v6-blank{padding:27px 19px;border-radius:9px;background:#f8fafc;display:grid;gap:10px;text-align:center;justify-items:center}
.be-v6-blank strong{font-size:15px;color:#1b3752}.be-v6-blank p{color:#728297;font-size:12px;margin:0 0 9px}
.be-v6-empty{color:#718096;font-size:12px;line-height:1.7;margin:10px 0}.be-v6-empty a{color:#1e5b94!important}
.be-v6-feature-project{display:grid;grid-template-columns:180px minmax(0,1fr);gap:19px;align-items:stretch}
.be-v6-project-art,.be-v6-opp-art{background:radial-gradient(circle at 40% 30%,#f1ebe0,#c5b59b 70%,#9c927a);border-radius:11px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#173753;min-height:205px}
.be-v6-project-art span{font-family:Georgia,serif;font-size:75px;opacity:.75}.be-v6-project-art small{font-size:11px;color:#183953;font-weight:800;max-width:130px;text-align:center}
.be-v6-feature-top{display:flex;align-items:flex-start;justify-content:space-between;gap:13px;margin-bottom:14px}
.be-v6-feature-top h3{font-size:16px!important;font-weight:800!important;line-height:1.35!important;margin:0!important;color:#152a46!important}
.be-v6-feature-top .be-badge{white-space:normal;text-align:center}
.be-v6-timeline{list-style:none;counter-reset:none;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));padding:0!important;margin:12px 0 21px!important;gap:1px}
.be-v6-timeline li{position:relative;display:grid;justify-items:center;align-content:start;gap:5px;min-width:0;color:#a1acc0;text-align:center;list-style:none!important;padding:0 2px!important;margin:0!important}
.be-v6-timeline li:not(:last-child):after{content:'';position:absolute;top:13px;height:2px;left:calc(50% + 13px);right:calc(-50% + 13px);background:#e2e8f0;z-index:0}
.be-v6-timeline li.is-done:after{background:#263e73}.be-v6-timeline li>span{position:relative;z-index:1;width:27px;height:27px;border:2px solid #cdd5e1;border-radius:50%;display:grid;place-items:center;font-size:11px;color:#899aaf;background:#fff;font-weight:800}
.be-v6-timeline li.is-done>span{background:#183b70;border-color:#183b70;color:#fff}
.be-v6-timeline li.is-now>span{background:#fff;border:3px solid #1d427a;color:#183b70;box-shadow:0 0 0 4px #e7eefb}
.be-v6-timeline li>small{color:#6e7d91;font-size:9px;line-height:1.4;overflow-wrap:anywhere}
.be-v6-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:15px 0}
.be-v6-facts>div{min-width:0;padding:9px 10px;background:#f8fafc;border:1px solid #eef2f5;border-radius:9px;display:grid;gap:3px}
.be-v6-facts small{font-size:10px;color:#79889c}.be-v6-facts strong{font-size:12px;color:#1c304b;overflow-wrap:anywhere;line-height:1.4}
.be-v6-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.be-v6-actions .be-btn{border-radius:8px;padding:10px 13px}
.be-v6-actions .be-btn-primary,.be-v6-finance .be-btn-primary,.be-v6-support-promo .be-btn-primary{background:#173351;border-color:#173351;color:#fff!important}
.be-v6-list-row,.be-v6-message{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid #edf0f5;min-width:0;color:#233c5a!important}
.be-v6-list-row:last-child,.be-v6-message:last-child{border-bottom:0}
.be-v6-list-row:hover,.be-v6-message:hover{background:#f8fafc}
.be-v6-list-row>span:nth-child(2),.be-v6-message>span:nth-child(2){flex:1;min-width:0;display:grid;gap:2px}
.be-v6-list-row strong,.be-v6-message strong{font-size:12px;color:#1c2e4b;line-height:1.4;overflow-wrap:anywhere}
.be-v6-list-row small,.be-v6-message small{font-size:10px;line-height:1.45;color:#748499;overflow-wrap:anywhere}
.be-v6-row-icon,.be-v6-message-icon{width:36px;height:36px;display:grid;place-items:center;flex:none;border-radius:50%;background:#e9eff9;color:#294e81;font-size:17px}
.be-v6-chevron{color:#1c527c;font-size:16px}.be-v6-message i{font-style:normal;color:#bd9752;font-size:18px;margin:0 4px}.be-v6-row-amount{font-size:13px;color:#112c49;white-space:nowrap}
.be-v6-quotes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.be-v6-quote{border:1px solid #e5ebf2;border-radius:11px;padding:15px;min-width:0}
.be-v6-quote-top{display:flex;align-items:center;gap:10px;min-height:49px}.be-v6-company-mark{background:#edf4ef;color:#207355;font-size:24px;border-radius:50%;flex:none;display:grid;place-items:center;width:39px;height:39px}
.be-v6-quote-top>div{display:grid;min-width:0}.be-v6-quote-top strong{font-size:12px;color:#1b304a}.be-v6-quote-top small{font-size:10px;color:#77869a}
.be-v6-price{font-size:23px;color:#152b48;font-weight:850;margin:16px 0 11px}.be-v6-price small{font-size:11px;margin-left:5px;color:#647a93;font-weight:500}
.be-v6-quote-proof{font-size:10px;color:#667c91;margin-bottom:5px;line-height:1.5}
.be-v6-quote .be-v6-actions{margin-top:14px}.be-v6-quote .be-btn{flex:1}
.be-v6-footnote{font-size:10px;color:#74859a;line-height:1.65;margin:12px 0 0}
.be-v6-opp{border:1px solid #e5ebf2;border-radius:10px;padding:12px;display:grid;grid-template-columns:102px 1fr;gap:14px;margin:10px 0}
.be-v6-opp-art{min-height:137px}.be-v6-opp-main{min-width:0}.be-v6-opp .be-v6-facts{margin:9px 0}.be-v6-brief{font-size:11px;color:#6f7e91;line-height:1.6;margin:11px 0}
.be-v6-company{display:flex;align-items:center;gap:10px;margin:14px 0}.be-v6-company-mark{width:49px;height:49px;display:grid;place-items:center;background:#e8f3ef;border-radius:50%;color:#247458;font-size:26px}
.be-v6-company h3{margin:0 0 2px!important;font-size:14px!important;color:#1b344c}.be-v6-company small{color:#66917a;font-size:11px}
.be-v6-company-data{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.be-v6-company-data div{display:grid;gap:2px;border-top:1px solid #edf0f4;padding-top:9px;min-width:0}.be-v6-company-data small{font-size:10px;color:#8191a2}.be-v6-company-data strong{font-size:11px;color:#1c3452;overflow-wrap:anywhere}
.be-v6-finance{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:10px}.be-v6-finance>div{background:#f8fafc;border:1px solid #e9eef4;border-radius:9px;padding:12px;display:grid;gap:4px}.be-v6-finance small{font-size:10px;color:#73859a}.be-v6-finance strong{font-size:23px;color:#1b3654}
.be-v6-journey{margin:20px 0}.be-v6-support-promo{display:flex;align-items:center;gap:13px;background:#eef4fb;border:1px solid #d9e5f4;border-radius:12px;padding:15px;margin:14px 0}
.be-v6-support-promo>span{font-size:25px;color:#294e7f}.be-v6-support-promo>div{flex:1;display:grid;gap:3px}.be-v6-support-promo strong{font-size:13px;color:#173753}.be-v6-support-promo small{font-size:11px;color:#667c95}
.be-v6-alert{padding:14px;background:#fff3e3;border-radius:9px;border:1px solid #f4dab0;color:#9d6d28;font-size:12px}
.be-v6-backend{font-family:Inter,system-ui,-apple-system,sans-serif}.be-v6-backend h1{font-size:29px;font-weight:800;color:#152f4f}
.be-v6-admin-actions{display:flex;flex-wrap:wrap;gap:8px;margin:19px 0 23px}.be-v6-admin-actions .button{padding:7px 13px;border-radius:8px;min-height:34px}
.be-v6-backend-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-width:1200px;margin:15px 0 22px}
.be-v6-admin-kpi{border:1px solid #e1e8f0;border-radius:10px;padding:18px;background:#fff;box-shadow:0 5px 24px #122e4d0a;display:grid;gap:7px}.be-v6-admin-kpi small{color:#607795;font-size:11px}.be-v6-admin-kpi strong{font-size:31px;color:#142f4e}
.be-v6-search-results{max-width:1150px}
@media(max-width:1250px){.be-v6-grid{grid-template-columns:minmax(0,1.2fr) minmax(260px,1fr)}.be-shell .be-main-inner{padding:24px}.be-v6-kpi{gap:9px;padding:14px}.be-v6-kpi-icon{flex-basis:36px;height:36px}.be-v6-feature-project{grid-template-columns:130px 1fr}}
@media(max-width:1050px){.be-v6-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.be-v6-grid{grid-template-columns:1fr}.be-v6-welcome{align-items:start}.be-v6-motto{font-size:14px}}
@media(max-width:810px){.be-shell .be-sidebar{padding:13px}.be-shell .be-topbar-search{max-width:none}.be-v6-finance{grid-template-columns:1fr 1fr}.be-v6-finance .be-btn{grid-column:1/-1}.be-v6-backend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.be-v6-welcome{display:block}.be-v6-motto{display:none}.be-v6-kpis{gap:8px}.be-v6-kpi{min-height:90px;padding:10px}.be-v6-kpi-icon{display:none}.be-v6-kpi strong{font-size:22px}.be-v6-feature-project,.be-v6-opp{grid-template-columns:1fr}.be-v6-project-art,.be-v6-opp-art{display:none}.be-v6-quotes{grid-template-columns:1fr}.be-v6-feature-top{display:block}.be-v6-feature-top .be-badge{margin-top:7px}.be-v6-timeline{grid-template-columns:repeat(4,1fr);row-gap:13px}.be-v6-timeline li:nth-child(4):after{display:none}.be-v6-timeline li:nth-child(n+5):after{top:13px}.be-v6-facts{grid-template-columns:1fr}.be-v6-company-data{grid-template-columns:1fr}.be-v6-support-promo{flex-wrap:wrap}.be-v6-support-promo .be-btn{width:100%}}
@media(prefers-reduced-motion:reduce){.be-v6-kpi{transition:none!important;transform:none!important}}

/* V6 final polish: company identity and actionable back-office */
.be-v6-company-logo{display:grid;place-items:center;width:52px;height:52px;flex:none;border:1px solid #e2e9f1;border-radius:12px;background:white;overflow:hidden}
.be-v6-company-logo img{display:block;max-width:47px;max-height:47px;object-fit:contain}
.be-v6-backend-panels{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(290px,1fr);gap:16px;max-width:1400px;margin:20px 0}
.be-v6-backend-panel{border:1px solid #e1e8f0;border-radius:13px;padding:20px;background:#fff;min-width:0}
.be-v6-backend-panel h2{margin:0 0 15px;font-size:19px;color:#17334d}
.be-v6-backend-panel .widefat{border-radius:8px;overflow:hidden}
.be-v6-admin-task{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #edf0f4;padding:11px 0;margin-bottom:8px}
.be-v6-admin-task span{display:grid;gap:3px;min-width:0}.be-v6-admin-task strong{color:#17334d}.be-v6-admin-task small{color:#697f94}
@media(max-width:1100px){.be-v6-backend-panels{grid-template-columns:1fr}}
