/* AMH — espaces propriétaire et partenaire */
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/interd-600.woff) format('woff')}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/interd-600.woff) format('woff')}
@font-face{font-family:'Inter';font-weight:400;font-display:swap;src:url(../fonts/inter-400.woff) format('woff')}
@font-face{font-family:'Inter';font-weight:500;font-display:swap;src:url(../fonts/inter-500.woff) format('woff')}
@font-face{font-family:'Inter Tight';font-weight:500;font-display:swap;src:url(../fonts/interd-500.woff) format('woff')}
@font-face{font-family:'Inter Tight';font-weight:600;font-display:swap;src:url(../fonts/interd-600.woff) format('woff')}
:root{--ink:#111111;--ink2:#3A3A3A;--mute:#5C5C5C;--line:#E3E3E3;--soft:#F2F2F2;--bg:#FFFFFF;--accent:#7A5C2E}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:400 15px/1.5 Inter,system-ui,sans-serif;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}
a{color:var(--ink)}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.serif{font-family:'Inter Tight',Inter,sans-serif;font-weight:600;letter-spacing:-.02em}
.wm{font-family:'Inter Tight',Inter,sans-serif;font-weight:600;letter-spacing:.28em;text-decoration:none;font-size:26px}
.lbl{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--mute);font-weight:500}
.mut{color:var(--mute)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 22px;border:0;border-radius:12px;background:var(--ink);color:#fff;font-weight:600;font-size:16px;text-decoration:none;cursor:pointer}
.btn:hover{background:#2a2a2a;color:#fff}
.btn.ghost{background:#fff;color:var(--ink);border:1.5px solid var(--ink)}
.btn.ghost:hover{background:var(--soft)}
.btn.sm{min-height:40px;padding:0 14px;font-size:14px;border-radius:10px}
.btn[disabled]{opacity:.5;cursor:progress}
.in{width:100%;min-height:54px;border:1.5px solid var(--ink);border-radius:12px;padding:0 16px;font-size:17px;background:#fff}
textarea.in{min-height:120px;padding:12px 16px;font-size:16px;resize:vertical}
label.fl{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}
.card{border:1px solid var(--line);border-radius:14px;padding:20px}
.pill{display:inline-block;font-size:13px;font-weight:600;padding:4px 11px;border-radius:20px;border:1.5px solid var(--ink);white-space:nowrap}
.pill.on{background:var(--ink);color:#fff}
.pill.done{border-color:transparent;background:#ececec;color:var(--ink2)}
.pill.warn{border-color:var(--ink);background:var(--ink);color:#fff}
.err{border:1px solid #B42318;color:#B42318;border-radius:10px;padding:12px 14px;font-size:14px}
.ok{border:1px solid var(--ink);border-radius:10px;padding:12px 14px;font-size:14px}
table{width:100%;border-collapse:collapse}
th{text-align:left;color:var(--mute);font-size:12px;letter-spacing:.08em;font-weight:600;padding:12px 16px;text-transform:uppercase}
td{padding:16px;border-top:1px solid var(--line);vertical-align:top}
.tbl{overflow-x:auto;border:1px solid var(--line);border-radius:14px}
.empty{border:1px dashed var(--line);border-radius:14px;padding:28px;text-align:center;color:var(--mute)}
.loading{padding:60px 0;text-align:center;color:var(--mute)}
/* gabarit */
.top{border-bottom:1px solid var(--line)}
.top>div{max-width:1200px;margin:0 auto;padding:18px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.brand{text-decoration:none;display:flex;align-items:baseline;gap:12px}
.brand small{font-size:11px;letter-spacing:.2em;color:var(--mute)}
.shell{width:100%;max-width:1200px;margin:0 auto;padding:36px 24px 64px;display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start}
.side{flex:1 1 200px;display:flex;flex-direction:column;gap:4px;font-size:15px}
.side a{text-decoration:none;padding:12px 14px;border-radius:10px;display:flex;justify-content:space-between;align-items:center}
.side a:hover{background:var(--soft)}
.side a.on{background:var(--ink);color:#fff;font-weight:600}
.side .n{font-size:12px;font-weight:700;background:var(--ink);color:#fff;border-radius:10px;padding:1px 8px}
.side a.on .n{background:#fff;color:var(--ink)}
.main{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:26px}
.h1{margin:6px 0 0;font-size:42px;line-height:1.05}
.foot{border-top:1px solid var(--line)}
.foot>div{max-width:1200px;margin:0 auto;padding:20px 24px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:13px;color:var(--mute)}
.foot a{color:var(--mute)}
@media (max-width:760px){
  .shell{padding:20px 16px 48px;gap:20px}
  .side{flex-direction:row;overflow-x:auto;flex-basis:100%;gap:6px;-webkit-overflow-scrolling:touch}
  .side a{white-space:nowrap;padding:10px 12px;border:1px solid var(--line)}
  .side a.on{border-color:var(--ink)}
  .h1{font-size:34px}
  .top>div{padding:14px 16px}
  .hide-m{display:none}
}
/* connexion */
.login{min-height:calc(100vh - 130px);display:flex;align-items:center;justify-content:center;padding:48px 24px}
.login>div{width:100%;max-width:980px;display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.login form{flex:1 1 340px;min-width:0;border:1px solid var(--line);border-radius:20px;padding:32px;display:flex;flex-direction:column;gap:16px}
.login .pitch{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:18px}
.login h1{margin:0;font-size:52px;line-height:1.05}
@media (max-width:760px){.login{padding:28px 16px}.login h1{font-size:36px}.login form{padding:22px}}
/* grilles */
.g3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.g4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ga{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
@media (max-width:640px){.g4{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{gap:8px}}
.stat{border-radius:14px;padding:18px}
.stat b{display:block;font-size:34px;line-height:1}
.week{min-width:780px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.week>div{border-right:1px solid var(--line);padding:14px 10px;min-height:380px;display:flex;flex-direction:column;gap:8px}
.week>div:last-child{border-right:0}
.week .today{background:#fafafa}
.slot{display:block;text-decoration:none;border:1.5px solid var(--ink);border-radius:10px;padding:9px;font-size:13px}
.slot.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.slot.done{background:var(--soft);border-color:transparent;color:var(--mute)}
.dispo{all:unset;cursor:pointer;font-size:12px;color:var(--mute);text-decoration:underline}
.row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.kv{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}
.kv strong{text-align:right}
.check{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--line);cursor:pointer}
.check input{width:22px;height:22px;margin:0;accent-color:var(--ink);flex:none}
.photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px}
.photos img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;background:var(--soft)}
.banner{background:var(--ink);color:#fff;border-radius:16px;padding:20px 24px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.toast{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);background:var(--ink);color:#fff;padding:12px 18px;border-radius:12px;z-index:50;max-width:92vw;font-weight:500}
/* propriétaire */
.o-app{min-height:100vh;display:flex;flex-wrap:wrap}
.o-nav{flex:1 1 220px;max-width:260px;display:flex;flex-direction:column;gap:28px;padding:32px 20px;border-right:1px solid #E6E6E6}
.o-nav .nav{display:block;padding:10px 12px;border-radius:8px;text-decoration:none;font-size:14px;color:#3A3A3A}
.o-nav .nav.on{background:#F2F2F1;color:#0E0E0E;font-weight:600}
.o-main{flex:999 1 560px;min-width:0;padding:44px 52px 72px}
.o-main>div{max-width:1080px;margin:0 auto;display:flex;flex-direction:column;gap:36px}
.big{font-size:68px;font-weight:300;letter-spacing:-.02em;line-height:1}
.o-card{border:1px solid #E6E6E6;border-radius:14px;padding:24px}
.li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-top:1px solid #E6E6E6}
.seg{display:inline-flex;padding:4px;border-radius:10px;background:#F2F2F1;gap:4px}
.seg button{min-height:36px;padding:0 14px;border:0;border-radius:8px;background:transparent;font-size:13px;color:var(--mute);cursor:pointer}
.seg button.on{background:#fff;color:#0E0E0E;font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.ln{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid #E6E6E6}
.sub{display:flex;justify-content:space-between;gap:16px;padding:4px 0 4px 16px;font-size:13px;color:var(--mute)}
.mo{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:52px;padding:12px 14px;border-radius:10px;text-decoration:none;font-size:14px;cursor:pointer;background:none;border:0;width:100%;text-align:left}
.mo.on{background:#F2F2F1;font-weight:600}
.o-login{min-height:100vh;display:flex;flex-wrap:wrap}
.o-login section{flex:1 1 420px;background:#0E0E0E;color:#fff;padding:48px 56px;display:flex;flex-direction:column;justify-content:space-between;gap:40px}
.o-login main{flex:1 1 480px;display:flex;align-items:center;justify-content:center;padding:48px 24px}
.o-login form{width:100%;max-width:400px;display:flex;flex-direction:column;gap:18px}
.o-login .in{border:1px solid #D6D6D6;border-radius:10px;min-height:50px;font-size:16px}
@media (max-width:760px){
  .o-nav{max-width:none;flex-basis:100%;padding:16px;gap:12px;border-right:0;border-bottom:1px solid #E6E6E6}
  .o-nav .links{flex-direction:row!important;overflow-x:auto}
  .o-nav .nav{white-space:nowrap}
  .o-nav .who{display:none!important}
  .o-main{padding:24px 16px 56px}
  .big{font-size:48px}
  .o-login section{padding:28px 20px;flex-basis:100%;gap:20px}
  .o-login main{padding:28px 16px}
}
.o-nav,.o-main{min-width:0}
@media (max-width:760px){.o-nav{width:100%}.o-nav .links{max-width:100%}.o-app{overflow-x:hidden}}

/* Connexion propriétaire : deux colonnes fixes sur tablette et ordinateur */
@media (min-width:761px){.o-login{flex-wrap:nowrap}.o-login section{flex:0 0 40%;padding:40px}.o-login main{flex:1 1 60%}.o-login section span[style*="40px"]{font-size:34px!important}}
.o-login form h1{font-size:26px!important}
/* hub */
.hub-in{min-height:46px;font-size:15px;border:1px solid #D6D6D6;border-radius:10px}
.o-main textarea.in{border:1px solid #D6D6D6;border-radius:10px;font-size:15px;min-height:90px}
.o-nav .nav .n{font-size:12px;font-weight:700;background:var(--ink);color:#fff;border-radius:10px;padding:1px 8px}
.o-nav .nav.on .n{background:#fff;color:var(--ink)}
.li b{font-weight:600}
/* propriétaire : réservations en liste */
.rv-box{display:flex;flex-direction:column;padding:8px 24px 12px}
.rv-h{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 16px;padding:14px 0 10px;font-size:14px}
.rv-h h2{margin:0;font-size:18px;font-weight:600}
.rv{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-top:1px solid #E6E6E6}
.rv-d,.rv-m{display:flex;flex-direction:column;gap:3px;min-width:0}
.rv-d b{font-size:16px;font-weight:600}
.rv-d .mut,.rv-m .mut{font-size:13px}
.rv-m{text-align:right;flex:none}
.rv-m b{font-size:16px}
@media (max-width:760px){.rv-box{padding:4px 16px 8px}}
/* réglementation */
.rg-b{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin-top:12px}
.rg-i{display:flex;gap:10px;align-items:flex-start;font-size:14px}
.rg-i svg{flex:none;margin-top:2px}
.rg-g{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}
.rg-g h3,.rg-f h3{margin:10px 0 8px;font-size:17px;font-weight:600;line-height:1.3}
.rg-g p{margin:0 0 10px;font-size:14px;line-height:1.55}
.rg-f{background:#F4F4F2;border-radius:16px;padding:26px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px}
.rg-f>div:first-child{flex:1 1 380px}
.rg-f p{margin:0;font-size:14px;line-height:1.55}
/* contact */
.ct{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}
.o-card.ct-main{flex:999 1 460px;min-width:0;padding:0;display:flex;flex-direction:column}
.ct-side{flex:1 1 260px;display:flex;flex-direction:column;gap:16px;min-width:0}
.ct-top{display:flex;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid #E6E6E6;font-size:13px}
.ct-top b{font-size:16px}
.ct-fil{display:flex;flex-direction:column;gap:12px;padding:18px 22px;max-height:420px;overflow-y:auto}
.ct-day{text-align:center;font-size:12px;color:var(--mute);padding:4px 0}
.ct-m{display:flex;flex-direction:column;gap:4px;align-items:flex-start;max-width:82%}
.ct-m.me{align-self:flex-end;align-items:flex-end}
.ct-b{background:#F2F2F1;border-radius:14px;padding:12px 15px;font-size:15px;line-height:1.45}
.ct-m.me .ct-b{background:#0E0E0E;color:#fff}
.ct-m>span{font-size:12px}
.ct-form{display:flex;flex-direction:column;gap:14px;padding:18px 22px 22px;border-top:1px solid #E6E6E6}
.ct-form textarea.in{border:1px solid #D6D6D6;border-radius:10px;min-height:100px;font-size:15px}
.chip{border:1px solid #D6D6D6;background:#fff;border-radius:20px;padding:9px 14px;font-size:13px;cursor:pointer}
.chip.on{border-color:#0E0E0E;background:#0E0E0E;color:#fff}
.ctip{position:absolute;display:none;flex-direction:column;gap:2px;background:#0E0E0E;color:#fff;border-radius:10px;padding:10px 14px;font-size:13px;pointer-events:none;white-space:nowrap;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.ctip .lbl{color:#BDBDBD;font-size:11px}
.ctip b{font-size:18px;font-weight:600}
.ctip span:last-child{color:#BDBDBD}
#crv rect[data-i]{touch-action:pan-y}

/* finitions : cartes, typographie, rythme */
.o-main>div{gap:32px}
.o-main h1{font-family:'Inter Tight',Inter,sans-serif!important;font-weight:600!important;letter-spacing:-.02em;font-size:32px!important;line-height:1.1}
.o-main h2{font-family:'Inter Tight',Inter,sans-serif;letter-spacing:-.01em}
.o-card{border:1px solid #E8E8E6;border-radius:14px;padding:24px;background:#fff;box-shadow:0 1px 2px rgba(16,16,16,.04)}
.lbl{font-size:11px;letter-spacing:.09em}
.big{font-family:'Inter Tight',Inter,sans-serif;font-weight:500;letter-spacing:-.03em}
.o-main .ga{gap:16px}
.o-nav{background:#FAFAF9}
.o-nav .nav{padding:11px 14px;font-size:14px}
.o-nav .nav.on{background:#fff;box-shadow:0 0 0 1px #E8E8E6}
.li{padding:15px 0}
.btn.sm{border-radius:10px}
@media (max-width:760px){.o-card{padding:18px}.o-main h1{font-size:28px!important}.o-nav{background:#fff}}
.ct-form textarea.in{font-weight:400}
/* hub : boîte à outils et messages */
.tl{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.tl .o-card{display:flex;flex-direction:column;gap:4px}
.tl a.k{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-top:1px solid #EFEFED;text-decoration:none;font-size:14px}
.tl a.k:first-of-type{border-top:0}
.tl a.k span{color:var(--mute);font-size:12px}
@media (max-width:640px){.o-main .g3{grid-template-columns:1fr}}

/* finitions communes : espace partenaire et écrans de connexion */
.shell .main{gap:28px}
.h1{font-family:'Inter Tight',Inter,sans-serif;font-weight:600;letter-spacing:-.02em;font-size:34px}
.card{border:1px solid #E8E8E6;border-radius:14px;padding:22px;background:#fff;box-shadow:0 1px 2px rgba(16,16,16,.04)}
.stat{border-radius:14px;padding:20px}
.stat b{font-family:'Inter Tight',Inter,sans-serif;font-weight:500;letter-spacing:-.02em}
.btn{border-radius:10px;min-height:48px;font-size:15px}
.btn.sm{min-height:38px;font-size:13.5px}
.in{border:1px solid #D6D6D6;border-radius:10px;min-height:50px;font-size:16px}
.in:focus{border-color:#0E0E0E;outline:none;box-shadow:0 0 0 3px rgba(14,14,14,.08)}
.tbl{border-color:#E8E8E6}
th{font-size:11px;letter-spacing:.09em}
td{padding:14px 16px}
.side a{font-size:14px;padding:11px 14px}
.side a.on{font-weight:600}
.top{background:#fff}
.empty{border-color:#E2E2E0;background:#FCFCFB;font-size:14px}
.pill{font-size:12px;padding:4px 10px;border-width:1px}
a.rv:hover{background:#FAFAF9}
.shell .rv-box{padding:4px 22px 8px}
@media (max-width:760px){.h1{font-size:28px}.card{padding:18px}.shell .rv-box{padding:2px 16px 6px}}
.card.rv-box>.rv:first-child{border-top:0}
.g2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}

/* rapports */
.rp-hero{display:flex;flex-direction:column;gap:22px}
.rp-bar{display:flex;height:12px;border-radius:6px;overflow:hidden;background:#F0F0EE}
.rp-bar span{display:block;height:100%}
.rp-leg{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:13px;color:var(--ink2)}
.rp-leg span{display:flex;align-items:center;gap:8px}
.rp-leg i{width:10px;height:10px;border-radius:3px;display:inline-block}
.rp-leg b{font-weight:600;color:var(--ink)}
.rp-k{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.rp-k .o-card{padding:18px;display:flex;flex-direction:column;gap:8px}
.rp-k b{font-family:'Inter Tight',Inter,sans-serif;font-size:26px;font-weight:500;letter-spacing:-.02em}
.rp-det{display:flex;flex-direction:column;gap:6px}
.rp-det h2{margin:0 0 10px;font-size:18px;font-weight:600}
.rp-s{display:flex;gap:16px;padding:16px 0;border-top:1px solid #EFEFED}
.rp-s>div{flex:1;min-width:0}
.rp-s h3{margin:2px 0 8px;font-size:15px;font-weight:600}
.rp-n{flex:none;width:26px;height:26px;border-radius:50%;border:1px solid #D6D6D4;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;color:var(--ink2)}
.rp-l{display:flex;justify-content:space-between;gap:16px;padding:7px 0;font-size:14.5px}
.rp-l span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap}
.rp-l.sub{color:var(--ink2);font-size:14px}
.rp-l.tot{border-top:1px solid #E8E8E6;margin-top:4px;padding-top:10px;font-weight:600}
.rp-net{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#0E0E0E;color:#fff;border-radius:12px;padding:18px 20px;margin:10px 0 8px}
.rp-net span{font-size:15px}
.rp-net b{font-family:'Inter Tight',Inter,sans-serif;font-size:24px;font-weight:500}
@media (max-width:900px){.rp-k{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.rp-hero .big{font-size:44px!important}.rp-s{gap:12px}}

/* réglementation : lecture plus nette */
.rg-g .o-card{display:flex;flex-direction:column;gap:2px;padding:24px}
.rg-g h3,.rg-f h3{font-family:'Inter Tight',Inter,sans-serif;font-size:18px;font-weight:600;letter-spacing:-.01em;margin:10px 0 10px}
.rg-g p{font-size:14.5px;line-height:1.6;color:#262626}
.rg-g p.mut{margin-top:auto;padding-top:12px;border-top:1px solid #EFEFED;font-size:13px;color:var(--mute)}
.rg-f p{font-size:14.5px;line-height:1.6}

/* texte justifié dans les espaces */
.o-main p,.shell .main p,.o-card p,.card p,.rg-f p,.ct-b{text-align:left;hyphens:manual;-webkit-hyphens:manual;text-wrap:pretty}
.o-main header p,.ctip,.empty,.ct-m.me .ct-b{text-align:left}

/* partenaire : en-têtes, fiches mission, planning, factures */
.pp-h{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px}
.pp-h .h1{font-size:30px}
.mfs{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));padding:0;overflow:hidden}
.mf{display:flex;flex-direction:column;gap:6px;padding:20px 22px;border-left:1px solid #EFEFED;min-width:0}
.mf:first-child{border-left:0}
.mf b{font-family:'Inter Tight',Inter,sans-serif;font-size:24px;font-weight:500;letter-spacing:-.02em;line-height:1.15}
.mf .mut{font-size:13px}
.mf-lock{display:inline-flex;align-items:center;gap:8px;font-family:Inter,sans-serif;font-size:15px;font-weight:500;color:var(--ink2);letter-spacing:0}
@media (max-width:640px){.mf{border-left:0;border-top:1px solid #EFEFED}.mf:first-child{border-top:0}}
.pl{padding:0;overflow:hidden}
.pl-d{display:flex;gap:18px;padding:16px 22px;border-top:1px solid #EFEFED}
.pl-d:first-child{border-top:0}
.pl-d.now{background:#FAFAF8}
.pl-d.past{opacity:.55}
.pl-date{flex:none;width:64px;display:flex;flex-direction:column;gap:2px}
.pl-date span{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--mute)}
.pl-date b{font-family:'Inter Tight',Inter,sans-serif;font-size:26px;font-weight:500;line-height:1}
.pl-date em{font-style:normal;font-size:11px;font-weight:600;color:var(--accent)}
.pl-c{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px;justify-content:center}
.pl-m{display:flex;align-items:center;gap:14px;padding:12px 14px;border:1px solid #E8E8E6;border-radius:12px;text-decoration:none;color:inherit;background:#fff}
.pl-m:hover{border-color:#BDBDBB}
.pl-m.en_cours{border-color:#0E0E0E;box-shadow:inset 3px 0 0 #0E0E0E}
.pl-m.terminee{background:#F7F7F6}
.pl-t{flex:none;width:52px;font-weight:600;font-size:14px;line-height:1.3}
.pl-t .mut{font-weight:400;font-size:12px}
.pl-i{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.pl-i b{font-size:14.5px;font-weight:600}
.pl-i .mut{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pl-free{font-size:14px;color:var(--mute)}
.pl .dispo{align-self:flex-start;font-size:12px}
.pf{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 18px}
.pf[hidden]{display:none}
.pf-h,.pf-file,.pf-f{grid-column:1/-1}
.pf-h{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 16px}
.pf-h h2{margin:0;font-size:17px}
.pf-h .mut{font-size:13px}
.pf .fl{font-size:13px;font-weight:600;min-width:0}
.pf-file{position:relative}
.pf-drop{display:flex;align-items:center;gap:14px;border:1px dashed #CFCFCD;border-radius:10px;padding:12px 14px;min-height:56px;font-weight:400}
.pf-drop .mut{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pf-in{position:absolute;inset:0;opacity:0;cursor:pointer}
.pf-f{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding-top:6px;border-top:1px solid #EFEFED}
@media (max-width:760px){.pf{grid-template-columns:1fr}.pl-d{padding:14px 16px;gap:12px}.pl-date{width:44px}.pl-m{gap:10px;padding:10px 12px}.pl-m .pill{display:none}}
/* navigation : onglet actif plus discret, déconnexion visible partout */
.side a.on{background:#F2F2F1;color:var(--ink);box-shadow:0 0 0 1px #E8E8E6}
.side a.on .n{background:var(--ink);color:#fff}
@media (max-width:760px){
  .o-nav .who{display:flex!important;flex-direction:row!important;justify-content:space-between;align-items:center;margin-top:0!important;padding:0 4px!important;font-size:13px}
  .side a.on{box-shadow:none;border-color:var(--ink)}
}
label.fl .in,label.fl select,label.fl textarea{font-weight:400}
.hello{margin:0;font-family:'Inter Tight',Inter,sans-serif;font-size:20px;font-weight:500;letter-spacing:-.01em;color:var(--ink)}

/* hub : annuaire */
.an{display:flex;flex-direction:column;gap:14px}
.an-h{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px}
.an-h h2{margin:0;font-family:'Inter Tight',Inter,sans-serif;font-size:19px;font-weight:600}
.an-h .mut{font-size:13px}
.an-q{min-height:38px!important;width:200px;font-size:14px!important}
.pcs{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:14px}
.pc{border:1px solid #E8E8E6;border-radius:14px;background:#fff;display:flex;flex-direction:column;box-shadow:0 1px 2px rgba(16,16,16,.04)}
.pc[hidden]{display:none}
.pc-top{display:flex;align-items:center;gap:12px;padding:18px 18px 14px}
.pc-id{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.pc-id b{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-id span{font-size:13px;color:var(--mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.av{flex:none;width:40px;height:40px;border-radius:50%;background:#F2F0EB;color:#5A4524;display:flex;align-items:center;justify-content:center;font-family:'Inter Tight',Inter,sans-serif;font-weight:600;font-size:14px;letter-spacing:.02em}
.av.sm{width:28px;height:28px;font-size:11px}
.pc-dl{margin:0;padding:0 18px 14px;display:flex;flex-direction:column;gap:8px}
.pc-dl div{display:flex;justify-content:space-between;gap:12px;font-size:13px}
.pc-dl dt{color:var(--mute)}
.pc-dl dd{margin:0;text-align:right;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pc-act{display:flex;border-top:1px solid #EFEFED;margin-top:auto}
.ic{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;padding:12px 8px;font-size:13px;font-weight:500;text-decoration:none;color:var(--ink2);border-left:1px solid #EFEFED}
.ic:first-child{border-left:0}
.ic:hover{background:#FAFAF9;color:var(--ink)}
/* hub : formulaires structurés */
.fx{display:flex;flex-direction:column;gap:22px;padding:26px}
.fx fieldset{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.fx legend{padding:0 0 12px;font-family:'Inter Tight',Inter,sans-serif;font-size:15px;font-weight:600;color:var(--ink);width:100%;border-bottom:1px solid #EFEFED;margin-bottom:4px}
.fx-g{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px 16px;align-items:start}
.fx .fl{font-size:13px;font-weight:600;gap:7px;min-width:0}
.fx .fl small{font-weight:400;color:var(--mute);font-size:12px}
.fx-f{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding-top:18px;border-top:1px solid #EFEFED}
.eur{position:relative;display:block}
.eur .in{padding-right:34px;text-align:right;font-variant-numeric:tabular-nums}
.eur i{position:absolute;right:13px;top:50%;transform:translateY(-50%);font-style:normal;color:var(--mute);font-size:14px;pointer-events:none}
.rf{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start}
.rf-s{position:sticky;top:20px;display:flex;flex-direction:column;gap:10px;padding:22px}
.rf-k{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:6px}
.rf-k div{display:flex;flex-direction:column;gap:4px}
.rf-k .lbl{font-size:10px}
.rf-k b{font-size:15px}
@media (max-width:1100px){.rf{grid-template-columns:1fr}.rf-s{position:static}}
/* hub : agents et journal */
.lv{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;overflow:hidden}
.lv-i{display:flex;flex-direction:column;gap:6px;padding:18px 20px;border-left:1px solid #EFEFED;font-size:13.5px;color:var(--ink2)}
.lv-i:first-child{border-left:0}
.lv-i b{font-size:14px;color:var(--ink)}
.lv-i.on{background:#FAFAF8;box-shadow:inset 0 3px 0 var(--accent)}
@media (max-width:760px){.lv{grid-template-columns:1fr}.lv-i{border-left:0;border-top:1px solid #EFEFED}.lv-i:first-child{border-top:0}}
.ag{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}
.ag-c{display:flex;flex-direction:column;gap:12px;text-decoration:none;color:inherit}
.ag-c:hover{border-color:#BDBDBB}
.ag-c.off{background:#FCFCFB}
.ag-c p{margin:0;font-size:14px;color:var(--ink2);text-align:left}
.ag-m{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ag-m div{display:flex;flex-direction:column;gap:4px}
.ag-m .lbl{font-size:10px}
.ag-m b{font-family:'Inter Tight',Inter,sans-serif;font-size:22px;font-weight:500}
.ag-p{height:6px;border-radius:3px;background:#EFEFED;overflow:hidden}
.ag-p span{display:block;height:100%;background:var(--accent)}
.ul{margin:10px 0 0;padding-left:18px;display:flex;flex-direction:column;gap:7px;font-size:14px;line-height:1.5}
.jr{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #EFEFED;font-size:14px}
.jr:first-child,.o-card>.lbl+.jr{border-top:0}
.jr>div{flex:1;min-width:0}
.jr time{font-size:12px;white-space:nowrap}
.pf-w{min-height:70vh;display:flex;align-items:center;justify-content:center;padding:40px 16px}

/* Contrats : écrans plus calmes, alignés sur téléphone */
.fx-g>*{min-width:0}
.in[type=date],.in[type=time],.in[type=datetime-local]{-webkit-appearance:none;appearance:none;display:block;width:100%;min-width:0;max-width:100%;text-align:left;line-height:48px}
.in::-webkit-date-and-time-value{text-align:left}
.cx-todo{display:flex;flex-direction:column;border:1px solid #E8E8E6;border-radius:14px;background:#fff}
.cx-todo>b{padding:16px 18px 6px;font-size:15px}
.cx-todo a,.cx-todo>span{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;border-top:1px solid #F0F0EE;font-size:14px;color:inherit;text-decoration:none}
.cx-todo a::after{content:'Compléter →';font-size:13px;color:var(--mute);white-space:nowrap}
.cx-todo>span::after{content:'À faire';font-size:13px;color:var(--mute)}
.cx-new{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.cx-new a{display:flex;flex-direction:column;gap:4px;padding:16px 18px;border:1px solid #E8E8E6;border-radius:12px;background:#fff;color:inherit;text-decoration:none}
.cx-new a:hover{border-color:#0E0E0E}
.cx-new b{font-size:15px}.cx-new span{font-size:13px;color:var(--mute)}
@media (max-width:640px){.cx-new{grid-template-columns:1fr}}
.cx-head{display:flex;flex-direction:column;gap:6px}
.cx-head .pill{align-self:flex-start}
.cx-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
@media (max-width:760px){.cx-bar{position:sticky;bottom:0;z-index:5;margin:0 -16px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);border-top:1px solid #EDEDEB}.cx-bar .btn{flex:1 1 auto}}
.cx-tl{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.cx-tl li{display:flex;flex-direction:column;gap:2px;padding:12px 0 12px 20px;border-top:1px solid #F0F0EE;position:relative}
.cx-tl li:first-child{border-top:0}
.cx-tl li::before{content:'';position:absolute;left:2px;top:19px;width:7px;height:7px;border-radius:50%;background:#0E0E0E}
.cx-tl b{font-size:14px;font-weight:600}.cx-tl span{font-size:13px;color:var(--mute);overflow-wrap:anywhere}
.cx-doc{background:#fff;border:1px solid #E8E8E6;border-radius:14px;padding:32px 36px;font-size:15px;line-height:1.65;color:#262626}
.cx-doc h1{font:600 24px/1.2 'Inter Tight',Inter,sans-serif;margin:0 0 20px;color:#0E0E0E}
.cx-doc h2{font:600 16px/1.3 'Inter Tight',Inter,sans-serif;margin:28px 0 12px;padding-bottom:8px;border-bottom:1px solid #EDEDEB;color:#0E0E0E}
.cx-doc h3{font-size:15px;font-weight:600;margin:20px 0 6px;color:#0E0E0E}
.cx-doc p{margin:0 0 10px}.cx-doc ol,.cx-doc ul{margin:0 0 12px;padding-left:22px}.cx-doc li{margin:4px 0}
.cx-doc .ct-t{overflow-x:auto}.cx-doc table{width:100%;border-collapse:collapse;font-size:14px}
.cx-doc th,.cx-doc td{padding:10px 0;border-bottom:1px solid #F0F0EE;vertical-align:top;text-align:left}
.cx-doc th{width:38%;padding-right:16px;font-weight:400;color:var(--mute)}
.cx-doc .cx-fp{margin:24px 0 0;font-size:12px;color:var(--mute);overflow-wrap:anywhere}
@media (max-width:640px){.cx-doc{padding:20px 18px;font-size:14.5px}.cx-doc h1{font-size:21px}.cx-doc th,.cx-doc td{display:block;width:auto;padding:0}.cx-doc th{padding-top:10px;border-bottom:0!important}.cx-doc td{padding-bottom:10px}}
.cx-link{background:none;border:0;padding:8px 0;color:var(--mute);font-size:14px;text-decoration:underline;cursor:pointer}
.cx-li{text-decoration:none;color:inherit}
.cx-li>span:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}
.cx-li .mut{font-size:13px}
.cx-go{font-size:22px;color:#BDBDBB;flex:none}
.cx-doc .ct-t th{text-transform:none;letter-spacing:0;font-size:13.5px;border-top:0}
.cx-doc .ct-t td{border-top:0}
/* Espace partenaire : même typographie que l'espace propriétaire */
.p-login form{border:0;border-radius:0;padding:0;max-width:400px;gap:18px}
.p-login .in{border:1px solid #D6D6D6;border-radius:10px;min-height:50px;font-size:16px}
.p-login .pitch{gap:16px}
.p-t{font-size:40px;font-weight:300;line-height:1.15;color:var(--ink)}
.p-s{font-size:16px;line-height:1.55;color:var(--mute);max-width:420px}
.p-f{font-size:13px;color:#9A9A9A}
@media (max-width:760px){.p-login>div{gap:36px}.p-t{font-size:34px}}
.esp-p h1.serif,.esp-p .serif.h1{font-family:Inter,system-ui,sans-serif;font-weight:500;letter-spacing:0;font-size:32px;line-height:1.15}

/* Hub : menu en rubriques */
.o-nav .links{gap:18px}
.o-nav .grp{display:flex;flex-direction:column;gap:2px}
.o-nav .grp-t{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#8A8A8A;font-weight:600;padding:0 12px 4px}
.o-nav .grp .nav{display:flex;justify-content:space-between;align-items:center;gap:8px}
@media (max-width:760px){.o-nav .links{gap:2px}.o-nav .grp{flex-direction:row}.o-nav .grp-t{display:none}}
/* Hub : organigramme des agents */
.org{display:flex;flex-direction:column;align-items:stretch}
.org-top{max-width:560px;width:100%;margin:0 auto;display:flex;flex-direction:column;gap:4px;text-align:center;border:1.5px solid var(--ink)}
.org-top .who-l{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:4px 0}
.org-v{width:1.5px;height:22px;background:#CFCFCF;margin:0 auto}
.org-poles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border-top:1.5px solid #CFCFCF;padding-top:16px}
@media (max-width:1180px){.org-poles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){.org-poles{grid-template-columns:1fr}}
.org-p{display:flex;flex-direction:column;gap:10px;min-width:0}
.org-ph{display:flex;flex-direction:column;gap:2px;padding:0 2px;min-height:40px}
.org-ph b{font-size:14px}.org-ph span{font-size:12.5px;color:#6B6B6B}
.org-a{display:flex;flex-direction:column;gap:6px;padding:14px;text-decoration:none;color:inherit}
.org-a.off{opacity:.62}
.org-a .niv{font-size:11px;letter-spacing:.06em;text-transform:uppercase;font-weight:600;color:#6B6B6B}
.org-a .nm{font-size:15px;line-height:1.25}
.org-a p{margin:0;font-size:13px;color:#4A4A4A;line-height:1.4}
.org-a .m{font-size:12px;color:#6B6B6B}
@media (max-width:760px){.org-poles{border-top:0;padding-top:0}.org-v{display:none}.org{gap:18px}.org-top{text-align:left}.org-top .who-l{justify-content:flex-start}}
/* Hub : accès */
.acc{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.acc>div{display:flex;flex-direction:column;gap:4px}
.acc b{font-size:14.5px}.acc span{font-size:13.5px;color:#4A4A4A;line-height:1.45}
.vs{width:100%;border-collapse:collapse;font-size:13.5px}
.vs td,.vs th{padding:10px 8px;border-top:1px solid #EFEFEF;text-align:left;vertical-align:top}
.vs th{font-size:12px;color:#6B6B6B;font-weight:600;border-top:0}
@media (max-width:760px){.vs thead{display:none}.vs tr{display:flex;flex-direction:column;border-top:1px solid #EFEFEF;padding:8px 0}.vs td{border:0;padding:2px 0}}
.o-nav .nav.on .n{background:var(--ink);color:#fff}
.vs td.mut{white-space:nowrap}

/* Contrat : formulaire en trois colonnes alignées, une unité à droite des montants */
.cx-g{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 18px;align-items:end}
.cx-g>.fl{min-width:0}
.cx-g .cx-w2{grid-column:span 2}.cx-g .cx-w3{grid-column:1/-1}
.cx-form .fl{font-size:13px;font-weight:600;color:var(--ink2);gap:7px}
.cx-form .in,.cx-form select.in{height:48px;min-height:48px;font-size:15px;border:1px solid #D6D6D6;border-radius:10px;background:#fff;padding:0 14px;font-weight:400;color:var(--ink)}
.cx-form textarea.in{height:auto;min-height:76px;padding:12px 14px;line-height:1.45;resize:vertical}
.cx-form .in:focus{border-color:var(--ink);outline:none;box-shadow:0 0 0 3px rgba(14,14,14,.06)}
.cx-u .in{padding-right:58px;text-align:right}
.cx-u i{font-size:13px}
.cx-note{margin:2px 0 0;font-size:13px}
.cx-form legend{margin-bottom:8px}
@media (max-width:900px){.cx-g{grid-template-columns:repeat(2,minmax(0,1fr))}.cx-g .cx-w2{grid-column:1/-1}}
@media (max-width:560px){.cx-g{grid-template-columns:minmax(0,1fr)}.cx-g .cx-w2,.cx-g .cx-w3{grid-column:auto}.cx-form{padding:18px}}
.cx-u input::-webkit-inner-spin-button,.cx-u input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.cx-u input{-moz-appearance:textfield;appearance:textfield}

/* Messagerie : boîte de réception en deux colonnes (hub) et zone d'écriture façon messagerie */
.ib{display:grid;grid-template-columns:340px minmax(0,1fr);border:1px solid #E6E6E4;border-radius:16px;background:#fff;overflow:hidden;height:calc(100vh - 210px);min-height:520px}
.ib-l{display:flex;flex-direction:column;min-height:0;border-right:1px solid #EFEFED}
.ib-h{display:flex;flex-direction:column;gap:8px;padding:14px 14px 10px}
.ib-h .in{min-height:42px;height:42px;font-size:14px}
.ib-s{margin:0 14px 10px;display:flex}.ib-s button{flex:1}
.ib-list{flex:1;overflow-y:auto;min-height:0;border-top:1px solid #EFEFED}
.ib-i{display:flex;gap:12px;padding:13px 14px;border-bottom:1px solid #F2F2F0;text-decoration:none;color:inherit;align-items:flex-start}
.ib-i:hover{background:#FAFAF9}
.ib-i.on{background:#F4F4F2;box-shadow:inset 3px 0 0 var(--ink)}
.ib-i[hidden]{display:none}
.ib-x{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.ib-r{display:flex;justify-content:space-between;align-items:center;gap:8px;min-width:0}
.ib-r b{font-size:14.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ib-r time{font-size:12px;color:var(--mute);flex:none}
.ib-p{font-size:13.5px;color:var(--mute);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.ib-i.nv .ib-p{color:var(--ink);font-weight:500}
.ib-n{flex:none;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--ink);color:#fff;font-size:11.5px;font-weight:600;display:flex;align-items:center;justify-content:center}
.ib-k{font-size:12px;color:var(--mute)}
.ib-vide{padding:22px 16px;margin:0;font-size:14px;text-align:center}
.ib-pied{margin:0;padding:10px 14px 14px;font-size:12px;border-top:1px solid #EFEFED}
.ib-t{display:flex;flex-direction:column;min-height:0;min-width:0}
.ib-th{display:flex;align-items:center;gap:12px;padding:14px 20px;border-bottom:1px solid #EFEFED}
.ib-who{display:flex;flex-direction:column;min-width:0;flex:1}
.ib-who b{font-size:15.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ib-who span{font-size:12.5px}
.ib-act{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.ib-back{display:none;font-size:20px;text-decoration:none;color:var(--ink);padding:4px 6px 4px 0}
.ib-fil{flex:1;max-height:none;min-height:0;padding:20px 24px}
.ib-info{margin:0;padding:0 20px 12px;font-size:12px}
.ib-rien{margin:auto;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:24px;font-size:14px}
.ct-send{display:flex;align-items:flex-end;gap:10px;padding:12px 16px;border-top:1px solid #EFEFED;background:#fff}
.ct-send textarea.in{flex:1;min-height:46px;height:46px;max-height:180px;padding:12px 16px;border:1px solid #D6D6D6;border-radius:23px;font-size:15px;line-height:1.4;resize:none;font-weight:400;overflow-y:auto}
.ct-send textarea.in:focus{border-color:var(--ink);outline:none}
.ct-go{flex:none;width:46px;height:46px;border-radius:50%;border:0;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.ct-go:disabled{opacity:.4;cursor:default}
.ct-chips{display:flex;gap:6px;flex-wrap:wrap;padding:10px 16px 0;border-top:1px solid #EFEFED}
.ct-chips+.ct-send{border-top:0}
.ct-chips .chip{padding:6px 12px;font-size:12.5px}
.ct-win{height:min(64vh,620px);min-height:380px;display:flex;flex-direction:column;padding:0;overflow:hidden}
.ct-win .ct-fil{flex:1;max-height:none;min-height:0}
@media (max-width:900px){
 .ib{grid-template-columns:minmax(0,1fr);height:calc(100vh - 190px);min-height:460px}
 .ib-l{border-right:0}
 .ib.has .ib-l{display:none}.ib:not(.has) .ib-t{display:none}
 .ib-back{display:block}
 .ib-th{padding:12px 14px;flex-wrap:wrap}.ib-act{width:100%;justify-content:flex-start}
 .ib-fil{padding:16px}
}
@media (pointer:coarse){.ib-kb{display:none}}
.ct-top{align-items:center}.ct-top b{flex:none;white-space:nowrap}.ct-top .mut{text-align:right;min-width:0}
@media (max-width:760px){body:has(.ct-send) #amh-aide-btn{display:none}.ct-top{padding:14px 16px}.ct-win{height:min(70vh,620px)}}

/* ---- Tous les écrans (13 novembre) ---- */
.o-main p.mut,.main p.mut{max-width:80ch}
/* Zones tactiles d'au moins 40 px sur écran tactile */
@media (pointer:coarse),(max-width:900px){
  #out,.dispo,.foot a,.o-main a[href^="#"]:not([class]),.main a[href^="#"]:not([class]){display:inline-flex;align-items:center;min-height:40px}
}
/* Tablettes (761 à 1100 px) : barre latérale étroite mais lisible, contenu à côté */
@media (min-width:761px) and (max-width:1100px){
  .o-nav{flex:0 0 200px;max-width:200px;padding:24px 12px;gap:20px}
  .o-nav .nav{padding:9px 10px;font-size:13.5px}
  .o-nav .who{font-size:12px}
  .o-main{padding:32px 28px 64px}
}
/* Tuiles : jamais de carte seule sur sa ligne */
/* Chiffres des tuiles : jamais coupés (« 2 783,00 € » reste sur une ligne), même hauteur sur une rangée */
.g2>.o-card,.g3>.o-card,.g4>.o-card{height:100%;box-sizing:border-box}
.g2>.o-card>b,.g3>.o-card>b,.g4>.o-card>b{white-space:nowrap;font-variant-numeric:tabular-nums}
@media (min-width:641px) and (max-width:1180px){.o-main .g4{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Rangées de 3 ou 4 tuiles : 3 côte à côte dès la tablette, 4 en 2 × 2 puis en ligne */
@media (min-width:560px){.ga:has(>:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}}
.ga:has(>:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:1181px){.ga:has(>:nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:420px){.ga:has(>:nth-child(4):last-child){grid-template-columns:minmax(0,1fr)}}
@media (min-width:421px) and (max-width:559px){.ga>:nth-child(3):last-child{grid-column:1/-1}}
.mfs:has(>:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
@media (min-width:1181px){.mfs:has(>:nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:420px){.mfs{grid-template-columns:minmax(0,1fr)!important}}
@media (max-width:1100px) and (min-width:641px){.cx-new{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cx-new a{height:100%;box-sizing:border-box}
.acc{grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr))}
@media (min-width:641px) and (max-width:1100px){.acc{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Grands écrans (1600 px et plus) : tout grandit dans les mêmes proportions */
:root{--z:1}
@media (min-width:1600px){:root{--z:1.1}}
@media (min-width:1800px){:root{--z:1.2}}
@media (min-width:2200px){:root{--z:1.35}}
@media (min-width:2800px){:root{--z:1.6}}
@media (min-width:1600px){
  body>.o-app,body>.o-login,body>.o-main,body>.top,body>#app,body>.foot,body>.sg,.demo-bar,#amh-aide-btn{zoom:var(--z)}
  body>.o-app{min-height:calc(100vh / var(--z))}
  body>.o-login{min-height:calc(100vh / var(--z))}
}
@media (min-width:1600px){body:has(>.demo-bar){padding-bottom:calc(76px * var(--z))!important}}
/* Dossier de conformité (hub et espace propriétaire) */
.cf-g{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media (max-width:760px){.cf-g{grid-template-columns:1fr}}
.cf-l{display:flex;flex-direction:column;border:1px solid var(--line,#E5E5E5);border-radius:12px;overflow:hidden;background:var(--card,#fff)}
.cf-p{display:flex;flex-direction:column;gap:8px;padding:16px 18px;border-top:1px solid var(--line,#E5E5E5)}
.cf-p:first-child{border-top:0}
.cf-h{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.cf-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.cf-t .mut{font-size:13px}
.cf-h .pill{flex:none}
.cf-e{font-size:13px}
.cf-a{gap:6px;flex-wrap:wrap;align-items:center}
.cf-a:empty{display:none}
.cf-ech{font-size:13px;display:flex;align-items:center;gap:6px}
.cf-ech .in{width:auto;padding:6px 8px}
.cf-d summary{cursor:pointer;font-size:13px;color:var(--mut,#6B6B6B);list-style:none;display:inline-flex;align-items:center;gap:6px;min-height:32px}
.cf-d summary::-webkit-details-marker{display:none}
.cf-d summary::before{content:'+';display:inline-block;width:14px;font-weight:600}
.cf-d[open] summary::before{content:'–'}
.cf-d p{margin:6px 0 0;font-size:14px;line-height:1.55;max-width:75ch}
.cf-d p.mut{font-size:13px}
.card .cf-d{border-top:1px solid var(--line,#E5E5E5);padding-top:8px}
.card .cf-d:first-of-type{border-top:0}
.rg-s{flex:none;font-size:12px;font-weight:500;padding:4px 10px;border-radius:999px;border:1px solid var(--line,#E5E5E5);white-space:nowrap}
.rg-s.ok{background:#0A0A0A;color:#fff;border-color:#0A0A0A}
.rg-s.ko{background:#fff;color:#0A0A0A;border-color:#0A0A0A}
.rg-s.wait{background:#F3F3F3;color:#5C5C5C}
/* Quatre fiches réglementaires : 4 en ligne, 2 × 2, ou une colonne, jamais une seule sur sa ligne */
.rg-g{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:1280px){.rg-g{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.rg-g{grid-template-columns:minmax(0,1fr)}}
@media (max-width:560px){.cf-k .kv{flex-direction:column;align-items:flex-start;gap:2px}.cf-k .kv>span:last-child{text-align:left!important}}
.rt3{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px}
.rt3 b{font-size:28px;font-variant-numeric:tabular-nums;white-space:nowrap}
@media (max-width:560px){.rt3 b{font-size:19px}}

/* Hub : champs de suivi alignés (statut, date, notes) — même hauteur partout, sélecteur au style du hub */
.o-main select.in{-webkit-appearance:none;appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230A0A0A' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;padding-right:40px;color:var(--ink)}
.o-main input.in.hub-in,.o-main select.in.hub-in{height:48px;min-height:48px;line-height:normal;padding-top:0;padding-bottom:0}
.o-main .in.hub-in[type=date],.o-main .in.hub-in[type=time]{line-height:46px}
.o-main .suivi{align-items:start}
.o-main .suivi>label.fl{min-width:0}
.suivi-act{grid-column:1/-1;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.btn.ghost.danger{color:#B42318;border-color:#E9C9C5}

/* ---------- Prospection (19 nov.) ---------- */
.pr-big{display:block;font:600 30px/1.1 'Inter Tight','Inter',sans-serif;margin-top:6px;font-variant-numeric:tabular-nums}
.pr-big small{font-size:16px;color:#6B6B6B;font-weight:500}
.o-card.fonce{background:#0A0A0A;color:#fff;border-color:#0A0A0A}.o-card.fonce .lbl{color:#CFCFCF}
.pr-chip{height:36px;padding:0 14px;border-radius:999px;border:1px solid #D4D4D4;background:#fff;font:600 13px/1 'Inter',sans-serif;cursor:pointer;color:#0A0A0A}
.pr-chip.on{background:#0A0A0A;border-color:#0A0A0A;color:#fff}
.pr-wrap{position:relative;display:flex;flex-wrap:wrap;gap:16px;align-items:stretch}
.pr-map{position:relative;flex:3 1 520px;min-width:0;height:480px;border-radius:14px;overflow:hidden;background:#EEEEEC;border:1px solid #E6E6E6;touch-action:none;cursor:grab}
.pr-map:active{cursor:grabbing}
.pr-layer{position:absolute;inset:0}
.pr-tile{position:absolute;width:256px;height:256px;user-select:none;pointer-events:none;filter:grayscale(.85) contrast(.95) brightness(1.04)}
.pr-pin{position:absolute;transform:translate(-50%,-50%);width:34px;height:34px;border-radius:50%;border:2px solid #fff;font:700 12px/1 'Inter',sans-serif;box-shadow:0 2px 6px rgba(0,0,0,.2);cursor:pointer;padding:0}
.pr-pin.on{width:44px;height:44px;border:3px solid #0A0A0A;z-index:2}
.pr-zoom{position:absolute;right:12px;top:12px;display:flex;flex-direction:column;gap:6px;z-index:3}
.pr-zoom button{width:40px;height:40px;border-radius:10px;border:1px solid #D4D4D4;background:rgba(255,255,255,.9);font:600 20px/1 'Inter',sans-serif;cursor:pointer}
.pr-attr{position:absolute;right:8px;bottom:6px;font-size:11px;color:#3D3D3D;background:rgba(255,255,255,.85);padding:2px 6px;border-radius:6px;z-index:3}
.pr-sel{flex:1 1 280px;min-width:0;display:flex;flex-direction:column;gap:12px;padding:20px;border-radius:14px;border:1px solid #E6E6E6;background:#fff}
@media (min-width:1100px){.pr-sel{position:absolute;left:16px;top:16px;width:300px;flex:none;z-index:4}.pr-map{flex-basis:100%;height:540px}}
form[hidden],section[hidden],div[hidden]{display:none!important}
.pr-ring{width:64px;height:64px;border-radius:50%;border:6px solid #D4D4D4;box-sizing:border-box;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;flex:none}
.pr-ring b{font:600 22px/1 'Inter Tight','Inter',sans-serif}.pr-ring i{font-style:normal;font-size:10px;opacity:.7}
.pr-ring.lg{width:112px;height:112px;border-width:10px}.pr-ring.lg b{font-size:36px}
.pr-why{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:14px}
.pr-why li{display:flex;gap:10px;align-items:baseline}.pr-why span{flex:none;min-width:34px;padding:2px 6px;border-radius:6px;background:#E9EEFC;color:#1D3FA8;font-weight:700;font-size:12px;text-align:center}
.pr-sc{display:inline-block;min-width:36px;padding:4px 8px;border-radius:8px;text-align:center;font-weight:700;font-size:13px}
.pr-t{width:100%;min-width:640px;border-collapse:collapse;font-size:14px}
.pr-t th{text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#575757;font-weight:600;padding:10px 16px}
.pr-t td{padding:12px 16px;border-top:1px solid #EEEEED}.pr-t tbody tr{cursor:pointer}.pr-t tbody tr.on{background:#F4F6FD}
.pr-t a{text-decoration:none}
.pr-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.pr-steps button{width:100%;display:flex;flex-direction:column;gap:8px;align-items:flex-start;background:none;border:0;padding:4px 0;font:500 13px/1.3 'Inter',sans-serif;color:#575757;cursor:pointer;text-align:left;min-height:44px}
.pr-steps i{display:block;width:100%;height:6px;border-radius:3px;background:#E5E5E5}
.pr-steps button.fait{color:#0A0A0A;font-weight:600}.pr-steps button.fait i{background:#0A0A0A}
@media (max-width:640px){.pr-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pr-cols,.fc-cols{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:16px;align-items:start}
@media (max-width:980px){.pr-cols,.fc-cols{grid-template-columns:minmax(0,1fr)}}
.pr-score{background:#0A0A0A;color:#fff;border-radius:16px;padding:24px;display:flex;flex-wrap:wrap;gap:22px;align-items:center}
.pr-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media (max-width:640px){.pr-rules{grid-template-columns:minmax(0,1fr)}}
.pr-rules>div{display:flex;gap:12px;align-items:flex-start;padding:12px;border-radius:10px;background:#F7F7F6}
.pr-rules>div>span:first-child{flex:none;min-width:40px;padding:4px 6px;border-radius:8px;background:#E9EEFC;color:#1D3FA8;font-weight:700;font-size:13px;text-align:center}
.pr-rules>div.nul>span:first-child{background:#EDEDEC;color:#6B6B6B}
.pr-rules b{display:block;font-size:14px}.pr-rules i{display:block;font-style:normal;font-size:13px;color:#575757;margin-top:2px}

/* ---------- Fiche client ---------- */
.fc-head{display:flex;gap:16px;align-items:center}
.av.lg{width:60px;height:60px;font-size:20px;flex:none}
.fc-nav{display:flex;flex-wrap:wrap;gap:4px;padding:6px;border-radius:12px;background:#fff;border:1px solid #E6E6E6}
.fc-nav a{padding:8px 14px;border-radius:8px;text-decoration:none;font-size:14px;color:#3D3D3D;min-height:20px}
.fc-nav a:hover{background:#F2F2F1;color:#0A0A0A}
.fc-syn{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.fc-conf{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.fc-syn .o-card{display:flex;flex-direction:column;gap:8px}
.fc-verse{grid-column:span 2}
@media (max-width:760px){.fc-syn{grid-template-columns:repeat(2,minmax(0,1fr))}.fc-verse{grid-column:1/-1}}
.fc-bars{display:flex;gap:6px;align-items:flex-end;height:84px;margin-top:4px}
.fc-bars span{flex:1 1 0;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0}
.fc-bars i{display:block;width:100%;max-width:34px;border-radius:5px 5px 2px 2px;background:#1D3FA8}
.fc-bars em{font-style:normal;font-size:10.5px;color:#6B6B6B}
.fc-jauge{height:8px;border-radius:4px;background:#EDEDEC;overflow:hidden}.fc-jauge i{display:block;height:8px;background:#1D3FA8}
.fc-sec{display:flex;flex-direction:column;gap:12px;scroll-margin-top:16px}
.fc-kv2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}
@media (max-width:640px){.fc-kv2{grid-template-columns:minmax(0,1fr)}}
.fc-bien{display:flex;flex-direction:column;gap:8px;padding-bottom:4px}
.fc-bien+.fc-bien{border-top:1px solid #EEEEED;padding-top:14px}
.fc-ech{display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;padding:10px 0;border-top:1px solid #F0F0EF;font-size:14px}
.fc-ech b{display:block;font-weight:600}.fc-ech i{display:block;font-style:normal;color:#575757;font-size:13px;margin-top:2px}

/* ---------- Mouvement discret : à l'arrivée sur un écran seulement, coupé si l'appareil demande moins d'animations ---------- */
@keyframes amhUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes amhToast{from{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes amhGrow{from{transform:scaleY(0)}to{transform:scaleY(1)}}
body.entree .o-main>div>*{animation:amhUp .38s cubic-bezier(.2,.7,.2,1) both}
body.entree .o-main>div>*:nth-child(2){animation-delay:.04s}body.entree .o-main>div>*:nth-child(3){animation-delay:.08s}
body.entree .o-main>div>*:nth-child(4){animation-delay:.12s}body.entree .o-main>div>*:nth-child(5){animation-delay:.16s}
body.entree .o-main>div>*:nth-child(n+6){animation-delay:.2s}
body.entree .fc-bars i{transform-origin:bottom;animation:amhGrow .6s .15s cubic-bezier(.2,.7,.2,1) both}
.btn{transition:transform .12s ease,background-color .2s ease,border-color .2s ease}
.btn:active{transform:scale(.97)}
.o-card,.li{transition:box-shadow .2s ease,border-color .2s ease}
a.li:hover,a.o-card:hover{box-shadow:0 6px 20px rgba(0,0,0,.06)}
.toast{animation:amhToast .25s ease both}

/* ---------- Verre, seulement où il aide : barre du haut sur téléphone, notifications, panneau posé sur la carte ---------- */
.verre,.toast{-webkit-backdrop-filter:blur(18px) saturate(140%);backdrop-filter:blur(18px) saturate(140%)}
.toast{background:rgba(10,10,10,.82)}
@media (min-width:1100px){.pr-sel.verre{background:rgba(255,255,255,.78);border-color:rgba(255,255,255,.9);box-shadow:0 12px 32px rgba(0,0,0,.12)}}
@media (max-width:760px){.o-nav{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.8)!important;-webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%)}}
@media (prefers-reduced-motion:reduce){body.entree .o-main>div>*,body.entree .fc-bars i,.toast{animation:none}.btn,.o-card,.li{transition:none}.btn:active{transform:none}}
@media (max-width:760px){.pr-map{height:360px}}

/* ---------- Connexion propriétaire et partenaire : photo d'accueil, carte en verre sombre (19 nov.) ---------- */
.o-login,.p-login{position:relative;background:#0A0A0A url('/media/accueil-ordinateur-1932.jpg') 50% 58%/cover no-repeat;isolation:isolate}
@media (max-width:760px){.o-login,.p-login{background-image:url('/media/accueil-edouard7-1400.jpg')}}
.o-login::before,.p-login::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(10,10,10,.8) 0%,rgba(10,10,10,.5) 60%,rgba(10,10,10,.35) 100%)}
.o-login section{background:transparent}
.p-login .p-t{color:#fff}.p-login .p-s{color:rgba(255,255,255,.82)}.p-login .p-f{color:rgba(255,255,255,.7)}
.o-login form,.p-login form{box-sizing:border-box;max-width:420px;padding:32px;border-radius:22px;color:#fff;background:rgba(18,18,18,.42);border:1px solid rgba(255,255,255,.2);box-shadow:0 24px 60px rgba(0,0,0,.35);-webkit-backdrop-filter:blur(22px) saturate(140%);backdrop-filter:blur(22px) saturate(140%);animation:amhUp .6s cubic-bezier(.2,.7,.2,1) both}
.o-login form .mut,.p-login form .mut{color:rgba(255,255,255,.78)!important}
.o-login form a,.p-login form a{color:#fff}
.o-login form p[style*="border-top"],.p-login form p[style*="border-top"]{border-top-color:rgba(255,255,255,.2)!important}
.o-login form .fl,.p-login form .fl{color:#fff}
.o-login form .in,.p-login form .in{background:rgba(255,255,255,.94);color:#0A0A0A;border-color:rgba(255,255,255,.5)}
.o-login form .btn,.p-login form .btn{background:#fff;color:#0A0A0A;border-color:#fff}
.o-login form .btn.ghost,.p-login form .btn.ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}
.o-login form .ok,.o-login form .err,.p-login form .ok,.p-login form .err{color:#0A0A0A}
@media (max-width:760px){.o-login form,.p-login form{padding:24px 20px}}
@media (prefers-reduced-motion:reduce){.o-login form,.p-login form{animation:none}}

/* ---------- Espace propriétaire sur téléphone : barre d'onglets en bas, chiffres sur deux colonnes (19 nov.) ---------- */
@media (max-width:760px){
  .esp-prop .o-nav{gap:10px;padding:12px 16px;position:static!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:#fff!important}
  .esp-prop .o-nav .links{position:fixed;left:0;right:0;bottom:0;z-index:40;flex-direction:row!important;justify-content:space-around;gap:0!important;overflow:visible;max-width:none!important;
    padding:6px 4px calc(6px + env(safe-area-inset-bottom));background:rgba(255,255,255,.92);border-top:1px solid #E6E6E6;-webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%)}
  .esp-prop .o-nav .nav{flex:1 1 0;min-width:0;min-height:48px;display:flex!important;align-items:center;justify-content:center;padding:4px 2px!important;border-radius:10px;font-size:0!important;white-space:nowrap}
  .esp-prop .o-nav .nav::after{content:attr(data-c);font:500 11.5px/1.1 'Inter',sans-serif;color:#575757}
  .esp-prop .o-nav .nav.on{background:#0A0A0A}.esp-prop .o-nav .nav.on::after{color:#fff;font-weight:600}
  .esp-prop .o-main{padding-bottom:96px!important}
  .esp-prop #amh-aide-btn{bottom:88px!important}
  body.esp-prop~.demo-bar,.esp-prop .demo-bar{bottom:calc(61px + env(safe-area-inset-bottom))!important;padding-top:10px!important;padding-bottom:10px!important}
  html:has(>.demo-bar) body.esp-prop .o-main{padding-bottom:200px!important}
  html:has(>.demo-bar) .esp-prop #amh-aide-btn,html:has(>.demo-bar) body.esp-prop~#amh-aide-btn{bottom:170px!important}
  body.esp-prop~#amh-aide-btn{bottom:88px!important}
  .esp-prop .big{font-size:44px!important}
  .esp-prop .ga{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .esp-prop .ga>.o-card{padding:14px!important}
  .esp-prop .ga>.o-card div[style*="font-size:36px"]{font-size:26px!important}
  .esp-prop section[style*="minmax(320px"]{grid-template-columns:minmax(0,1fr)!important}
  .esp-prop .li{gap:12px}.esp-prop .li>*:last-child{white-space:nowrap;text-align:right;flex:none}
  .esp-prop .o-card span[style*="font-size:36px"]{font-size:30px!important}
}
/* Marchés, logements et loyers */
.mk-sel{display:flex;flex-direction:column;gap:6px;margin:14px 0 4px}
.mk-sel .in{min-height:40px;font-size:14px}
.lg{display:flex;flex-direction:column;padding:4px 16px}
.lg-l{display:flex;flex-direction:column;gap:6px;padding:14px 0;border-top:1px solid #EEECE7}
.lg-l:first-child{border-top:0}
.lg-r{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;padding:12px 16px;border-top:1px solid #EEECE7}
.lg-bar{display:flex;height:10px;border-radius:5px;overflow:hidden;gap:2px;background:rgba(255,255,255,.14);margin:10px 0 6px}
.lg-bar.clair{background:#EEECE7;margin:0}
.lg-pts{display:flex;gap:3px;flex-wrap:wrap;margin:10px 0 6px}
.lg-pts i{flex:1 1 10px;max-width:22px;height:10px;border-radius:3px}

/* Téléphone : texte aéré, barre d'onglets lisible */
@media (max-width:760px){body{font-size:15.5px;line-height:1.6}h1,h2,h3{letter-spacing:-.005em;line-height:1.2}.pr-big{line-height:1.15}.o-card{line-height:1.55}
 .o-nav .links{gap:6px;padding:0 4px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}.o-nav .links .nav{padding:10px 12px;font-size:13.5px;flex:none;scroll-snap-align:start}}

/* Espace propriétaire · Dakar */
.dk-hero{background:#0E0E0E;color:#fff;border-radius:20px;padding:28px 24px;display:flex;flex-direction:column;gap:10px}.dk-hero .lbl{color:#BDBDBD}.dk-hero .big{color:#fff}
.dk-sur{font-size:15px;color:#D6D6D6}.dk-barre{display:flex;gap:3px;height:10px;border-radius:5px;overflow:hidden;background:rgba(255,255,255,.12);margin-top:8px}.dk-barre span{display:block}
.dk-leg{display:flex;flex-wrap:wrap;gap:16px;font-size:13px;color:#BDBDBD}.dk-leg i{display:inline-block;width:8px;height:8px;border-radius:4px;margin-right:6px}
.dk-note{font-size:13px;color:#8C8C8C;padding-top:10px;border-top:1px solid rgba(255,255,255,.12);margin-top:6px}
.dk-n{font-size:28px;font-weight:300;line-height:1.2;font-variant-numeric:tabular-nums}.dk-n .mut{font-size:18px}
.dk-li{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid #EFEFEE;font-size:15px;line-height:1.45}.dk-li:first-of-type{border-top:0}
.dk-li i{width:32px;height:32px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;font-style:normal;font-weight:700;font-size:14px}.dk-li b{font-weight:500;font-size:14px;color:#5C5C5C;text-align:right}
.dk-hist{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:6px;height:140px;align-items:end}.dk-hist div{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px;height:100%}.dk-hist span{display:block;width:100%;max-width:28px;background:#0E0E0E;border-radius:4px 4px 0 0;min-height:2px}.dk-hist em{font-style:normal;font-size:11px;color:#8C8C8C}
.dk-h1{margin:0;font-size:30px;font-weight:500;letter-spacing:-.01em}
.dk-lg{display:flex;flex-direction:column;gap:6px}.dk-kv{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-top:1px solid #EFEFEE;font-size:14.5px}.dk-kv span{color:#5C5C5C}.dk-kv b{font-weight:500;text-align:right}
.pill.dk-ok{background:#E6F2EA;color:#1F7A45}.pill.dk-ko{background:#FBE9E7;color:#B42318}.pill.dk-att{background:#F3EADB;color:#8A6430}
.dk-fac{display:flex;justify-content:space-between;gap:16px;padding:16px 20px;border-top:1px solid #EFEFEE}.dk-fac:first-child{border-top:0}.dk-fac div{display:flex;flex-direction:column;gap:6px}.dk-fac .mut{font-size:13px}
@media (max-width:760px){.dk-hero{padding:24px 20px}.dk-li{grid-template-columns:32px minmax(0,1fr)}.dk-li b{grid-column:2;text-align:left;font-size:13px;margin-top:-6px}.dk-hist{height:110px;gap:4px}.dk-hist em{font-size:10px}}

/* Espace propriétaire Dakar : chiffres clés */
.dk-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.dk-kpis>div{background:#fff;border:1px solid #E6E6E6;border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:8px}
.dk-kpis b{font-size:26px;font-weight:400;line-height:1.15;font-variant-numeric:tabular-nums;white-space:nowrap}.dk-kpis>div>span:last-child{font-size:13.5px;color:#5C5C5C;line-height:1.4}
@media (max-width:760px){.dk-kpis{grid-template-columns:1fr;gap:0;border:1px solid #E6E6E6;border-radius:16px;background:#fff;overflow:hidden}
 .dk-kpis>div{border:0;border-radius:0;border-top:1px solid #EFEFEE;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:2px;padding:16px 18px}.dk-kpis>div:first-child{border-top:0}
 .dk-kpis .lbl{grid-column:1}.dk-kpis b{grid-column:2;grid-row:1 / span 2;align-self:center;font-size:20px;font-weight:500;text-align:right}.dk-kpis>div>span:last-child{grid-column:1;font-size:13px}}
/* Barre d'onglets du téléphone : légère, onglet actif souligné */
@media (max-width:760px){
 body.esp-prop .o-nav .links{gap:0!important;padding:0!important;scroll-snap-type:none!important}
 body.esp-prop .o-nav .nav{flex:1 1 0!important;padding:0!important;min-height:56px!important;border-radius:0!important;background:transparent!important;position:relative}
 body.esp-prop .o-nav .nav::after{font:500 12px/1.1 'Inter',sans-serif!important;color:#6B6B6B!important}
 body.esp-prop .o-nav .nav.on{background:transparent!important}
 body.esp-prop .o-nav .nav.on::after{color:#0A0A0A!important;font-weight:600!important}
 body.esp-prop .o-nav .nav.on::before{content:'';position:absolute;top:0;left:22%;right:22%;height:2px;border-radius:2px;background:#0A0A0A}}
/* Bandeau de démonstration : dans la page, jamais par-dessus le contenu */
.demo-in{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#F6F3EE;border-radius:14px;padding:12px 16px;font-size:14px;line-height:1.45}
.demo-in a{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:10px;background:#0A0A0A;color:#fff;text-decoration:none;font-weight:600;font-size:14px;white-space:nowrap}
@media (max-width:760px){.demo-in{flex-direction:column;align-items:stretch}.demo-in a{justify-content:center}}

@media (max-width:760px){
 body.esp-prop .o-nav .nav{border:0!important;box-shadow:none!important}
 body.esp-prop .o-nav .links{border-top:1px solid #E6E6E6!important;background:#fff!important}
 body.esp-prop .o-nav{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:12px;row-gap:8px;padding:12px 16px!important}
 body.esp-prop .o-nav>label{gap:0!important}body.esp-prop .o-nav>label .lbl{display:none}
 body.esp-prop .o-nav>.who{grid-column:1 / -1;flex-direction:row!important;justify-content:space-between;align-items:center;padding:0!important;margin:0!important}
 body.esp-prop .o-nav>.wm{padding:0!important}}
@media (max-width:760px){
 body.esp-prop .o-nav{padding-right:68px!important}
 body.esp-prop~#amh-aide-btn,body.esp-prop #amh-aide-btn{position:absolute!important;top:14px!important;right:14px!important;bottom:auto!important;width:42px!important;height:42px!important;min-height:42px!important;box-shadow:none!important}}
/* Lisibilité : libellés en capitales jamais sous 12 px */
.lbl,.ctip .lbl{font-size:12px}
/* Hub sur téléphone : les cartes à gros montant passent sur une colonne, le montant n'est jamais coupé */
@media (max-width:600px){.o-main .g4:has(.pr-big),.o-main .g3:has(.pr-big),.o-main .g2:has(.pr-big){grid-template-columns:minmax(0,1fr)!important}}
.pr-big{white-space:nowrap;font-size:clamp(24px,7.4vw,30px)}
/* Hub sur téléphone : les tableaux deviennent des fiches, une par ligne (plus de colonnes écrasées) */
@media (max-width:600px){
  .o-main .tbl{border-radius:14px}
  .o-main .tbl table,.o-main .tbl tbody,.o-main .tbl tr,.o-main .tbl td{display:block;width:100%}
  .o-main .tbl thead{display:none}
  .o-main .tbl tr{padding:14px 16px;border-bottom:1px solid #EEEEEC;display:flex;flex-direction:column;gap:6px}
  .o-main .tbl tr:last-child{border-bottom:0}
  .o-main .tbl td{padding:0!important;border:0!important;text-align:left!important;white-space:normal}
  .o-main .tbl td:first-child{font-weight:600;font-size:16px}
  .o-main .tbl td.hide-m{display:none}
  .o-main .tbl td:empty{display:none}
}
.m-seul{display:none}@media (max-width:600px){.o-main .m-seul{display:inline;color:#6B6B6B;font-weight:400;font-size:14px}}
/* Dakar : loyers reçus sur 12 mois, barres avec le montant court au-dessus */
.dk-som{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.dk-som div{background:#F7F5F0;border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:2px}
.dk-som span{font-size:13px;color:#5C5C5C}.dk-som b{font:600 19px/1.2 'Inter Tight','Inter',sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap}
.dk-barres{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:6px;height:170px;align-items:end;margin-top:4px}
.dk-barres div{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px;height:100%;min-width:0}
.dk-barres span{display:block;width:100%;max-width:44px;background:#1A1A1A;border-radius:6px 6px 2px 2px}
.dk-barres .enc span{background:#C9A26A}
.dk-barres em{font:600 12px/1 'Inter',sans-serif;font-style:normal;color:#0E0E0E;white-space:nowrap;font-variant-numeric:tabular-nums}
.dk-barres small{font-size:12px;color:#6B6B6B;white-space:nowrap}
.dk-note2{font-size:12.5px;color:#8C8C8C}
/* Téléphone : les 6 derniers mois, plus larges et plus lisibles (le total reste sur 12 mois) */
@media (max-width:600px){.dk-barres{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;height:160px}.dk-barres div:nth-child(-n+6){display:none}.dk-barres em{font-size:13px}.dk-barres small{font-size:13px}.dk-som b{font-size:17px}}
/* Le bouton Aide flottant ne cache jamais la fin d'une page */
.o-main{padding-bottom:max(96px,calc(72px + env(safe-area-inset-bottom)))}

/* Police : jamais de gras ou d'italique « fabriqué » par le téléphone, mêmes graisses que le site */
html{font-synthesis:none;text-rendering:optimizeLegibility}
/* Chiffres : une seule police et une seule graisse partout, comme les titres du site (Inter Tight 600) */
.o-main .big,.dk-hero .big,.dk-kpis b,.dk-som b,.dk-barres em,.pr-big{font-family:'Inter Tight','Inter',sans-serif!important;font-weight:600!important;letter-spacing:-.01em}

/* ===== Hub : barre de pilotage (icône + libellé, rubriques par usage, réglages en bas) ===== */
.hub-nav{background:#FAFAF8;gap:22px;padding:28px 16px;position:sticky;top:0;align-self:flex-start;height:100vh;overflow-y:auto;scrollbar-width:thin}
.hub-nav .links{gap:14px!important;flex:1}
.hub-nav .grp{gap:1px}
.hub-nav .grp-t{font:500 11px/1 'Inter',sans-serif;letter-spacing:.1em;color:#9A9A96;padding:6px 12px 6px}
.hub-nav .grp-bas{margin-top:auto;padding-top:14px;border-top:1px solid #ECEBE7}
.hub-nav .nav{display:flex!important;align-items:center;gap:11px;padding:9px 12px!important;border-radius:10px;font-size:14px!important;color:#3D3D3B;transition:background .15s,color .15s}
.hub-nav .nav:hover{background:#F1F0EC;color:#0E0E0E}
.hub-nav .nav.on{background:#0E0E0E!important;color:#fff!important;box-shadow:none!important;font-weight:500}
.hub-nav .nav .nv-i{width:18px;height:18px;flex:none;opacity:.8}
.hub-nav .nav.on .nv-i{opacity:1}
.hub-nav .nav .nv-l{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hub-nav .nav .n{margin-left:auto;font:600 11px/1 'Inter',sans-serif;background:#C9A26A;color:#0E0E0E;border-radius:10px;padding:4px 7px}
.hub-nav .nav.on .n{background:#fff;color:#0E0E0E}
.hub-nav .mk-sel{display:flex;flex-direction:column;gap:6px}
.hub-nav .mk-sel .grp-t{padding:0 4px}
/* Tablette : barre plus étroite, contenu plus large */
@media (min-width:761px) and (max-width:1100px){.hub-nav{flex:0 0 200px;max-width:200px;padding:22px 10px}.hub-nav .nav{padding:9px 10px!important;gap:9px;font-size:13.5px!important}}
/* Téléphone : rubriques sur une ligne qui défile, sans titres */
@media (max-width:760px){.hub-nav{position:static;height:auto;overflow:visible;padding:14px 16px;gap:12px}.hub-nav .links{flex-direction:row!important;gap:4px!important;overflow-x:auto;scrollbar-width:none}.hub-nav .grp{flex-direction:row;gap:4px}.hub-nav .grp-t{display:none}.hub-nav .grp-bas{margin-top:0;padding-top:0;border-top:0}.hub-nav .nav{padding:8px 12px!important;border:1px solid #E6E5E1;background:#fff}.hub-nav .nav .nv-i{width:16px;height:16px}}

/* ===== Hub : accueil, chiffres du jour sur fond travaillé, cartes en verre ===== */
.hub-hero{position:relative;overflow:hidden;border-radius:22px;padding:28px;color:#fff;display:flex;flex-direction:column;gap:18px;
  background:radial-gradient(120% 90% at 0% 0%,#3A2F1E 0%,rgba(58,47,30,0) 55%),radial-gradient(90% 80% at 100% 100%,#5A4627 0%,rgba(90,70,39,0) 60%),linear-gradient(135deg,#121212,#1C1915 60%,#24201A)}
.hub-hero::before{content:"";position:absolute;width:340px;height:340px;right:-80px;top:-120px;border-radius:50%;background:radial-gradient(circle,rgba(201,162,106,.55),rgba(201,162,106,0) 70%);filter:blur(10px);pointer-events:none}
.hub-hero>*{position:relative}
.hh-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.hh-hello{margin:0;font-size:14px;color:rgba(255,255,255,.7)}
.hh-h{margin:4px 0 0;font:600 30px/1.15 'Inter Tight','Inter',sans-serif;letter-spacing:-.01em;color:#fff}
.hh-mk{font:500 12px/1 'Inter',sans-serif;letter-spacing:.08em;text-transform:uppercase;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);white-space:nowrap}
.hh-g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.hh-t,.hh-bar{display:flex;flex-direction:column;gap:6px;padding:16px 18px;border-radius:16px;text-decoration:none;color:#fff;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);-webkit-backdrop-filter:blur(18px) saturate(140%);backdrop-filter:blur(18px) saturate(140%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);transition:transform .2s cubic-bezier(.2,.8,.2,1),background .2s}
a.hh-t:hover,a.hh-bar:hover{background:rgba(255,255,255,.13)}a.hh-t:active,a.hh-bar:active{transform:scale(.98)}
.hh-t.chaud{background:rgba(201,162,106,.22);border-color:rgba(201,162,106,.45)}
.hh-l{font:500 11.5px/1.2 'Inter',sans-serif;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.72)}
.hh-n{font:600 40px/1 'Inter Tight','Inter',sans-serif;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:#fff}
.hh-s{font-size:13px;color:rgba(255,255,255,.65)}
.hh-bar{gap:12px}
.hh-kv{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hh-kv span{display:flex;flex-direction:column;gap:4px;font-size:13px;color:rgba(255,255,255,.7)}
.hh-kv b{font:600 22px/1.15 'Inter Tight','Inter',sans-serif;color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap}
.hh-kv b small{font:400 13px/1 'Inter',sans-serif;color:rgba(255,255,255,.65)}
.hh-kv b.rouge{color:#FFB4A8}
.hh-prog{display:block;height:6px;border-radius:3px;background:rgba(255,255,255,.14);overflow:hidden}.hh-prog i{display:block;height:100%;background:#C9A26A;border-radius:3px}
@media (max-width:1100px){.hh-g{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.hub-hero{padding:20px 16px;border-radius:18px;gap:14px}.hh-h{font-size:24px}.hh-n{font-size:32px}.hh-t{padding:14px}.hh-kv{grid-template-columns:minmax(0,1fr)}.hh-kv span{flex-direction:row;justify-content:space-between;align-items:baseline}.hh-kv b{font-size:18px}.hh-mk{display:none}}
@media (prefers-reduced-motion:reduce){.hh-t,.hh-bar{transition:none}}
.hub-nav .nav .nv-l{white-space:normal;overflow:visible;line-height:1.25}
@media (max-width:1100px){.hh-kv b{font-size:19px;white-space:normal}.hh-kv{gap:16px}}
/* ===== Hub : estimation Dakar (calcul en direct) ===== */
.es-cols{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:20px;align-items:start}
.es-f{display:flex;flex-direction:column;gap:16px;position:sticky;top:20px}
.es-seg{display:grid!important;grid-template-columns:1fr 1fr;width:100%}
.es-seg button{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 8px;line-height:1.2}.es-seg button small{font-size:12px;opacity:.7;font-weight:400}
.es-g{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.es-g[hidden]{display:none}
.es-u{position:relative;display:block}.es-u i{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-style:normal;font-size:13px;color:#8A8A8A;pointer-events:none}.es-u .in{padding-right:56px}
.es-note{margin:0;font-size:13px;line-height:1.5}
.es-r{display:flex;flex-direction:column;gap:16px;min-width:0}
.es-hero{border-radius:18px;padding:22px;color:#fff;display:flex;flex-direction:column;gap:6px;background:radial-gradient(120% 120% at 100% 0%,#5A4627 0%,rgba(90,70,39,0) 60%),linear-gradient(135deg,#121212,#24201A)}
.es-hero .lbl{color:rgba(255,255,255,.7)}.es-hero b{font:600 36px/1.1 'Inter Tight','Inter',sans-serif;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.es-s{font-size:14px;color:rgba(255,255,255,.7)}
.es-calc{display:flex;flex-direction:column;padding:6px 20px!important}
.es-calc div{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #EFEDE8;font-size:14.5px}.es-calc div:last-child{border-bottom:0}
.es-calc span{color:#5C5C5C}.es-calc b{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:500}
.es-calc .tot span{color:#0E0E0E;font-weight:600}.es-calc .tot b{font:600 18px/1.2 'Inter Tight','Inter',sans-serif}
.es-chk ul{margin:10px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px;font-size:14px;line-height:1.5}
.es-chk li{padding-left:22px;position:relative}.es-chk li::before{content:"";position:absolute;left:4px;top:8px;width:7px;height:7px;border-radius:50%;background:#C9A26A}
.es-chk li.ok::before{background:#1F7A45}.es-chk li.ko{color:#B42318}.es-chk li.ko::before{background:#B42318}
@media (max-width:1100px){.es-cols{grid-template-columns:minmax(0,1fr)}.es-f{position:static}}
@media (max-width:520px){.es-g{grid-template-columns:minmax(0,1fr)}.es-hero b{font-size:30px}}
/* ===== Hub : outils de calcul, une carte par outil, formule visible, détail replié ===== */
.cl-g{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.cl-c{display:flex;flex-direction:column;gap:8px}
.cl-c h2{margin:0;font:600 18px/1.25 'Inter Tight','Inter',sans-serif}
.cl-c>p{margin:0;font-size:13.5px;line-height:1.45}
.cl-f{background:#F5F3EE;border-radius:12px;padding:12px 14px;font:500 14.5px/1.45 'Inter',sans-serif;color:#0E0E0E}
.cl-d summary{cursor:pointer;font-size:13.5px;color:#5C5C5C;padding:6px 0;list-style:none}
.cl-d summary::-webkit-details-marker{display:none}
.cl-d summary::after{content:" +";color:#8A6430;font-weight:600}.cl-d[open] summary::after{content:" −"}
.cl-d[open]{padding-top:4px}
@media (max-width:1100px){.cl-g{grid-template-columns:minmax(0,1fr)}}
/* ===== Hub sur tablette (601 à 1100 px) ===== */
@media (min-width:601px) and (max-width:900px){
  .o-main .tbl table,.o-main .tbl tbody,.o-main .tbl tr,.o-main .tbl td{display:block;width:100%}
  .o-main .tbl thead{display:none}
  .o-main .tbl tr{padding:14px 18px;border-bottom:1px solid #EEEEEC;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 16px;align-items:center}
  .o-main .tbl tr:last-child{border-bottom:0}
  .o-main .tbl td{padding:0!important;border:0!important;text-align:left!important;white-space:normal}
  .o-main .tbl td:first-child{font-weight:600;font-size:15.5px;grid-column:1}
  .o-main .tbl td:empty{display:none}
  .o-main .m-seul{display:inline;color:#6B6B6B;font-weight:400;font-size:14px}
}
@media (min-width:901px) and (max-width:1100px){.o-main .tbl table{table-layout:auto;width:100%}.o-main .tbl td,.o-main .tbl th{white-space:normal;word-break:normal;overflow-wrap:anywhere}}
@media (min-width:601px) and (max-width:1100px){
  .o-main .pr-big{font-size:clamp(24px,3.2vw,30px)!important}
  .o-main .g4:has(.pr-big){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .o-main h1{font-size:30px!important}
  .o-main{padding-left:24px!important;padding-right:24px!important}
}
/* Tableaux « pr-t » (logements, prospection) : fiches sur téléphone et tablette, nom du bien sur une ligne */
.o-main .pr-t td:first-child b{white-space:nowrap}
@media (max-width:900px){
  .o-main .pr-t,.o-main .pr-t tbody,.o-main .pr-t tr,.o-main .pr-t td{display:block;width:100%}
  .o-main .pr-t thead{display:none}
  .o-main .pr-t tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;align-items:center;padding:14px 4px;border-bottom:1px solid #EEEEEC}
  .o-main .pr-t td{padding:0!important;border:0!important;text-align:left!important;white-space:normal}
  .o-main .pr-t td:first-child{grid-column:1;font-size:15.5px}
  .o-main .pr-t td:nth-child(2){grid-column:2;grid-row:1;justify-self:end}
  .o-main .pr-t td:nth-child(n+3){grid-column:1 / -1;color:#4A4A4A;font-size:14px}
}
@media (max-width:900px){.o-main .pr-t{min-width:0!important}.o-main .pr-t tr{padding:14px 16px}}
/* Accueil du hub plus sobre : graphite neutre, sans halo doré ; l'or reste un petit accent (barre de progression) */
.hub-hero{background:radial-gradient(90% 120% at 100% 0%,rgba(255,255,255,.07) 0%,rgba(255,255,255,0) 55%),linear-gradient(160deg,#1B1B1B 0%,#121212 100%)}
.hub-hero::before{display:none}
.hh-t,.hh-bar{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12)}
a.hh-t:hover,a.hh-bar:hover{background:rgba(255,255,255,.1)}
.hh-t.chaud{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.22)}
.hh-mk{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14)}
.es-hero{background:linear-gradient(160deg,#1B1B1B,#121212)}
.hub-nav .nav .n{background:#E7E5E0;color:#0E0E0E}
/* ===== Hub · règles en petites cases (Dakar) ===== */
.rg{display:flex;flex-direction:column;gap:12px}
.rg-h{display:flex;flex-direction:column;gap:2px}.rg-h h2{margin:0;font:600 18px/1.25 'Inter Tight','Inter',sans-serif}.rg-h span{font-size:13.5px;color:#6B6B6B}
.rg-c{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.rc{background:#fff;border:1px solid #E8E6E1;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:4px;min-width:0}
.rc b{font:600 26px/1.1 'Inter Tight','Inter',sans-serif;letter-spacing:-.01em;font-variant-numeric:tabular-nums;white-space:nowrap}
.rc-l{font-size:14px;font-weight:500;color:#0E0E0E}
.rc-t{font-size:13px;line-height:1.45;color:#6B6B6B}
.rc.alerte b{color:#B42318}
.rg-r{grid-template-columns:repeat(2,minmax(0,1fr))}
.rc-txt .rc-l{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#6B6B6B;font-weight:500}.rc-txt .rc-t{font-size:14.5px;color:#0E0E0E}
.rc.a-verif{border-style:dashed}
.rg-k{margin-bottom:4px}
.rg-ex{display:flex;flex-direction:column;gap:10px}
.rg-ex-l{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}.rg-ex-l span{display:flex;flex-direction:column;gap:2px;font-size:13px;color:#6B6B6B}.rg-ex-l b{font:600 22px/1.1 'Inter Tight','Inter',sans-serif;color:#0E0E0E;font-variant-numeric:tabular-nums}.rg-ex-l i{font-style:normal;font-size:20px;color:#9A9A96;padding-bottom:2px}
@media (max-width:1100px){.rg-c{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.rg-c,.rg-r{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rc{padding:14px}.rc b{font-size:22px}.rg-r{grid-template-columns:minmax(0,1fr)}.rg-ex-l{gap:10px}.rg-ex-l b{font-size:18px}}
.rg-k{grid-template-columns:repeat(3,minmax(0,1fr))!important}

/* ===== Hub en verre : fond photo du marché, cartes en verre dépoli ===== */
body.hub-verre{background:#D9D4CB}
body.hub-verre::before{content:"";position:fixed;inset:-40px;z-index:-2;background:url(../media/accueil-edouard7-1400.jpg) center/cover no-repeat;filter:blur(6px) saturate(115%);transform:scale(1.04)}
body.hub-verre[data-mk="dakar"]::before{background-image:url(img/dakar-baie-d.webp)}
body.hub-verre::after{content:"";position:fixed;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(244,241,235,.62),rgba(244,241,235,.74))}
body.hub-verre .o-app{background:transparent}
body.hub-verre .hub-nav{background:rgba(255,255,255,.42);-webkit-backdrop-filter:blur(26px) saturate(160%);backdrop-filter:blur(26px) saturate(160%);border-right:1px solid rgba(255,255,255,.6);box-shadow:1px 0 0 rgba(0,0,0,.04)}
body.hub-verre .o-main .o-card,body.hub-verre .o-main .card,body.hub-verre .o-main .tbl,body.hub-verre .o-main .rc,body.hub-verre .o-main .empty,body.hub-verre .o-main .kpi,body.hub-verre .o-main details.o-card{
  background:rgba(255,255,255,.55)!important;-webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%);
  border:1px solid rgba(255,255,255,.75)!important;box-shadow:0 8px 30px rgba(20,16,10,.08),inset 0 1px 0 rgba(255,255,255,.8)!important}
body.hub-verre .o-main .empty{border-style:dashed!important}
body.hub-verre .hub-hero{background:rgba(16,16,16,.58)!important;-webkit-backdrop-filter:blur(26px) saturate(150%);backdrop-filter:blur(26px) saturate(150%);border:1px solid rgba(255,255,255,.14);box-shadow:0 20px 50px rgba(0,0,0,.18)}
body.hub-verre .es-hero{background:rgba(16,16,16,.62);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}
body.hub-verre .hub-nav .nav:hover{background:rgba(255,255,255,.55)}
body.hub-verre .hub-nav .nav.on{background:rgba(14,14,14,.88)!important}
body.hub-verre .hub-nav select.in,body.hub-verre .o-main .in{background:rgba(255,255,255,.7)}
/* Rubriques de la barre : en gras, plus visibles */
.hub-nav .grp-t{font:700 11.5px/1 'Inter',sans-serif!important;letter-spacing:.12em!important;color:#1A1A1A!important;opacity:.9}
@media (max-width:760px){body.hub-verre .hub-nav{border-right:0;border-bottom:1px solid rgba(255,255,255,.6)}}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){body.hub-verre .o-main .o-card,body.hub-verre .o-main .card,body.hub-verre .o-main .tbl,body.hub-verre .o-main .rc{background:rgba(255,255,255,.92)!important}}
/* Listes (alertes, demandes, relances) : regroupées dans une carte en verre */
body.hub-verre .o-main section:has(> .li),body.hub-verre .o-main section:has(> a.li){background:rgba(255,255,255,.55);-webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%);border:1px solid rgba(255,255,255,.75);border-radius:18px;padding:18px 20px 6px;box-shadow:0 8px 30px rgba(20,16,10,.08)}
body.hub-verre .o-main section > .li:last-child{border-bottom:0}
/* Cartes foncées : verre sombre (le texte blanc reste lisible) */
body.hub-verre .o-main .o-card.fonce,body.hub-verre .o-main .card.fonce{background:rgba(16,16,16,.66)!important;border-color:rgba(255,255,255,.14)!important;box-shadow:0 10px 30px rgba(0,0,0,.18)!important;color:#fff}

/* ===== Hub : verre clair (moins gris), petites courbes et graphiques ===== */
body.hub-verre::before{filter:blur(3px) saturate(125%)}
body.hub-verre::after{background:linear-gradient(180deg,rgba(250,248,244,.42),rgba(250,248,244,.6))}
body.hub-verre .o-main .o-card,body.hub-verre .o-main .card,body.hub-verre .o-main .tbl,body.hub-verre .o-main .rc,body.hub-verre .o-main .empty,body.hub-verre .o-main section:has(> .li),body.hub-verre .o-main section:has(> a.li){
  background:rgba(255,255,255,.46)!important;-webkit-backdrop-filter:blur(28px) saturate(180%);backdrop-filter:blur(28px) saturate(180%);border-color:rgba(255,255,255,.85)!important}
body.hub-verre .hub-nav{background:rgba(255,255,255,.36)}
/* Bandeau d'accueil en verre clair, texte foncé */
body.hub-verre .hub-hero{background:rgba(255,255,255,.32)!important;color:#0E0E0E;border:1px solid rgba(255,255,255,.85);-webkit-backdrop-filter:blur(30px) saturate(180%);backdrop-filter:blur(30px) saturate(180%);box-shadow:0 18px 50px rgba(30,24,14,.12),inset 0 1px 0 rgba(255,255,255,.9)}
body.hub-verre .hh-hello{color:#4A4A48}body.hub-verre .hh-h{color:#0E0E0E}
body.hub-verre .hh-mk{background:rgba(255,255,255,.6);border-color:rgba(255,255,255,.9);color:#0E0E0E}
body.hub-verre .hh-t,body.hub-verre .hh-bar{background:rgba(255,255,255,.5);border:1px solid rgba(255,255,255,.9);color:#0E0E0E;box-shadow:0 4px 18px rgba(30,24,14,.06),inset 0 1px 0 rgba(255,255,255,.95)}
body.hub-verre a.hh-t:hover,body.hub-verre a.hh-bar:hover{background:rgba(255,255,255,.7)}
body.hub-verre .hh-t.chaud{background:rgba(255,255,255,.78);border-color:#fff}
body.hub-verre .hh-l{color:#5A5A57}body.hub-verre .hh-n{color:#0E0E0E}body.hub-verre .hh-s{color:#6B6B68}
body.hub-verre .hh-kv span{color:#5A5A57}body.hub-verre .hh-kv b{color:#0E0E0E}body.hub-verre .hh-kv b small{color:#6B6B68}body.hub-verre .hh-kv b.rouge{color:#B42318}
body.hub-verre .hh-prog{background:rgba(14,14,14,.08)}
body.hub-verre .es-hero{background:rgba(255,255,255,.4);color:#0E0E0E;border:1px solid rgba(255,255,255,.85);-webkit-backdrop-filter:blur(28px) saturate(180%);backdrop-filter:blur(28px) saturate(180%)}
body.hub-verre .es-hero .lbl,body.hub-verre .es-s{color:#5A5A57}
body.hub-verre .o-main .o-card.fonce{background:rgba(255,255,255,.6)!important;color:#0E0E0E;border-color:rgba(255,255,255,.9)!important}
body.hub-verre .o-main .o-card.fonce .lbl,body.hub-verre .o-main .o-card.fonce span{color:#5A5A57}body.hub-verre .o-main .o-card.fonce b{color:#0E0E0E}
body.hub-verre .o-main .o-card.fonce .lg-bar span:first-child{background:#0E0E0E!important}
/* Petites courbes dans les cartes */
.hh-v{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
.spark{width:96px;height:34px;flex:none;overflow:visible}
.sp-l{fill:none;stroke:#0E0E0E;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.sp-a{fill:rgba(14,14,14,.07)}.sp-p{fill:#C9A26A;stroke:#fff;stroke-width:1.5}
.hub-hero:not(.x) .hh-t .spark{opacity:.9}
/* Graphiques de l'accueil */
.gr-g{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.gr-g.deux{grid-template-columns:repeat(2,minmax(0,1fr))}
.gr{display:flex;flex-direction:column;gap:16px}
.gr-h{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.gr-h h2{margin:0;font:600 17px/1.25 'Inter Tight','Inter',sans-serif}.gr-h span{font-size:13px;color:#6B6B68}
.gr-lg{display:flex;align-items:center;gap:6px;font-size:12.5px;color:#4A4A48}.gr-lg i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-left:8px}
.gr-lg .ga,.gr-p .ga{background:#0E0E0E}.gr-lg .gb,.gr-p .gb{background:rgba(14,14,14,.16)}
.gr-b{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;height:180px;align-items:end}
.gr-m{display:flex;flex-direction:column;align-items:center;gap:8px;height:100%;min-width:0}
.gr-p{position:relative;flex:1;width:100%;max-width:56px;display:flex;align-items:flex-end;justify-content:center}
.gr-p span{position:absolute;bottom:0;width:100%;border-radius:8px 8px 3px 3px;transition:height .9s cubic-bezier(.2,.8,.2,1)}
.gr-p .ga{width:62%;left:19%}
.gr-p em{position:absolute;top:-20px;left:50%;transform:translateX(-50%);font:600 12px/1 'Inter Tight','Inter',sans-serif;font-style:normal;white-space:nowrap;color:#0E0E0E}
.gr-m small{font-size:12.5px;color:#5A5A57}
@media (max-width:1100px){.gr-g.deux{grid-template-columns:minmax(0,1fr)}}
@media (max-width:600px){.gr-b{gap:6px;height:160px}.gr-p em{font-size:11px}.spark{width:70px;height:28px}}
.gr-b{margin-top:14px}

/* ===== Hub v2 : fond uni, cartes blanches nettes, accueil compact (remplace le verre sur photo) ===== */
body.hub2{background:#F5F4F1}
body.hub2 .o-app{background:transparent}
body.hub2 .hub-nav{background:#fff;border-right:1px solid #E9E7E2;padding:22px 14px 18px;gap:18px}
.hb-brand{display:flex;align-items:baseline;gap:10px;padding:2px 12px 4px;text-decoration:none;color:#0E0E0E}
.hb-wm{font:600 19px/1 'Inter Tight','Inter',sans-serif;letter-spacing:.26em}
.hb-sub{font:500 11px/1 'Inter',sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#8C8A85}
body.hub2 .hub-nav .mk-sel{padding:0 4px;gap:6px}
body.hub2 .hub-nav .mk-sel .grp-t{padding:0 8px}
body.hub2 .hub-nav select.in{height:40px!important;min-height:40px!important;border-radius:10px;font-size:14px;background-color:#FAFAF8;border:1px solid #E4E2DD}
body.hub2 .hub-nav .grp-t{font:700 11px/1 'Inter',sans-serif!important;letter-spacing:.11em!important;color:#2A2A28!important;opacity:1;padding:8px 12px 6px}
body.hub2 .hub-nav .nav{padding:8px 12px!important;min-height:38px;border-radius:9px;font-size:14px!important;color:#3D3D3B}
body.hub2 .hub-nav .nav:hover{background:#F3F2EF}
body.hub2 .hub-nav .nav.on{background:#0E0E0E!important;color:#fff!important}
body.hub2 .hub-nav .who{padding:12px 8px 0;border-top:1px solid #EFEDE9}
body.hub2 .o-main{padding:32px 40px 64px}
body.hub2 .o-main>div{max-width:1160px;gap:24px}
body.hub2 .o-main h1{font-size:28px!important}
/* Cartes : blanches, filet fin, ombre discrète */
body.hub2 .o-main .o-card,body.hub2 .o-main .card,body.hub2 .o-main .tbl,body.hub2 .o-main .rc,body.hub2 .o-main .kpi,body.hub2 .o-main section:has(> .li),body.hub2 .o-main section:has(> a.li){background:#fff!important;border:1px solid #E8E6E1!important;border-radius:14px;box-shadow:0 1px 2px rgba(20,18,14,.04)!important;-webkit-backdrop-filter:none;backdrop-filter:none}
body.hub2 .o-main section:has(> .li),body.hub2 .o-main section:has(> a.li){padding:16px 20px 4px}
body.hub2 .o-main section > .li:first-of-type{border-top:1px solid #EFEDE9}
body.hub2 .o-main section > .li:last-child{border-bottom:0}
body.hub2 .o-main .li{padding:13px 0}
body.hub2 .o-main .empty{background:#fff!important;border:1px dashed #DCDAD4!important;padding:20px;font-size:14px;box-shadow:none!important}
body.hub2 .o-main .o-card.fonce,body.hub2 .o-main .card.fonce{background:#0E0E0E!important;color:#fff;border-color:#0E0E0E!important}
body.hub2 .o-main .o-card.fonce .lbl,body.hub2 .o-main .o-card.fonce span{color:rgba(255,255,255,.7)}body.hub2 .o-main .o-card.fonce b{color:#fff}
body.hub2 .o-main .o-card.fonce .lg-bar span:first-child{background:#fff!important}
body.hub2 .o-main .in{background-color:#fff}
/* Titre + « ? » */
.h1-l{display:inline-flex;align-items:center;gap:10px;max-width:100%}
.aide-b{flex:none;width:26px;height:26px;border-radius:50%;border:1px solid #D6D4CE;background:#fff;color:#3D3D3B;font:600 13px/1 'Inter',sans-serif;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:0;transition:background .15s,border-color .15s}
.aide-b:hover,.aide-b[aria-expanded="true"]{background:#0E0E0E;border-color:#0E0E0E;color:#fff}
.aide-t{margin:10px 0 0!important;padding:12px 14px;max-width:72ch;background:#fff;border:1px solid #E8E6E1;border-left:3px solid #C9A26A;border-radius:10px;font-size:14px;line-height:1.55;color:#3D3D3B}
@media (pointer:coarse){.aide-b{width:32px;height:32px}}
/* Accueil compact : en-tête simple, quatre chiffres, rentabilité sur une ligne */
body.hub2 .hub-hero{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0;color:#0E0E0E;gap:14px;overflow:visible;-webkit-backdrop-filter:none;backdrop-filter:none}
body.hub2 .hub-hero::before{display:none}
body.hub2 .hh-top{align-items:center}
body.hub2 .hh-hello{color:#6B6964;font-size:13.5px}
body.hub2 .hh-h{color:#0E0E0E;font-size:26px;margin-top:2px}
body.hub2 .hh-mk{background:#fff;border:1px solid #E4E2DD;color:#3D3D3B;font-size:11.5px;padding:7px 11px}
body.hub2 .hh-g{gap:12px}
body.hub2 .hh-t,body.hub2 .hh-bar{background:#fff;border:1px solid #E8E6E1;color:#0E0E0E;box-shadow:0 1px 2px rgba(20,18,14,.04);padding:14px 16px;border-radius:14px;gap:4px}
body.hub2 a.hh-t:hover,body.hub2 a.hh-bar:hover{background:#fff;border-color:#CFCCC5}
body.hub2 .hh-t.chaud{background:#fff;border-color:#C9A26A;box-shadow:inset 3px 0 0 #C9A26A}
body.hub2 .hh-l{color:#6B6964;font-size:11px}
body.hub2 .hh-n{color:#0E0E0E;font-size:30px}
body.hub2 .hh-s{color:#7A7873;font-size:12.5px}
body.hub2 .hh-bar{flex-direction:row;align-items:center;gap:20px;padding:12px 16px}
body.hub2 .hh-bar>.hh-l{flex:0 0 auto;max-width:180px;line-height:1.35}
body.hub2 .hh-kv{flex:1;gap:16px}
body.hub2 .hh-kv span{color:#6B6964;font-size:12.5px;gap:2px}
body.hub2 .hh-kv b{color:#0E0E0E;font-size:18px}
body.hub2 .hh-kv b small{color:#7A7873}
body.hub2 .hh-kv b.rouge{color:#B42318}
body.hub2 .hh-prog{background:#EFEDE9}
body.hub2 .spark{width:84px;height:30px}
body.hub2 .es-hero{background:#0E0E0E;color:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;border:0}
/* Accueil en deux colonnes sur grand écran */
.acc-2{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}
.acc-c{display:flex;flex-direction:column;gap:24px;min-width:0}
@media (min-width:1280px){.acc-2{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.acc-2 .gr-g.deux{grid-template-columns:minmax(0,1fr)}}
body.hub2 .gr-b{height:140px}
body.hub2 .gr.o-card,body.hub2 .gr{padding:18px 20px}
/* Accès et personnes : actions lisibles, boutons pleine largeur */
.pc-act{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(70px,1fr))}
.pc-act .ic{flex-direction:column;gap:5px;padding:11px 4px;font-size:12px;min-height:58px;border-left:1px solid #EFEDE9}
.pc-act .ic:first-child{border-left:0}
.pc-adm{display:flex;gap:8px;padding:12px 14px 14px;border-top:1px solid #EFEDE9}
.pc-adm .btn{flex:1 1 0;min-height:42px;font-size:13.5px;gap:8px;border-width:1px;border-color:#D6D4CE}
.pc-adm .btn svg{flex:none}
.btn.ghost.danger{color:#B42318;border-color:#F0C9C3}
.btn.ghost.danger:hover{background:#FDF3F1}
/* Prospection : sans effet, contrastes nets */
body.hub2 .pr-sel.verre{background:#fff!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border:1px solid #E8E6E1!important;box-shadow:0 6px 20px rgba(20,18,14,.08)!important}
body.hub2 .pr-t thead th{background:#FAFAF8;color:#4A4846;font-weight:600}
body.hub2 .pr-t tbody tr:hover{background:#FAFAF8}
body.hub2 .pr-t tbody tr.on{background:#F6F2EA}
/* Tablette */
@media (min-width:761px) and (max-width:1100px){
 body.hub2 .hub-nav{flex:0 0 212px;max-width:212px;padding:18px 10px 16px}
 body.hub2 .hub-nav .nav{padding:8px 10px!important;font-size:13.5px!important;gap:10px}
 body.hub2 .o-main{padding:26px 24px 56px}
 body.hub2 .o-main>div{gap:20px}
 body.hub2 .hh-g{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.hub2 .hh-bar{flex-direction:column;align-items:stretch;gap:10px}
 body.hub2 .hh-bar>.hh-l{max-width:none}
 body.hub2 .o-main .g4{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.hub2 .pcs{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
}
@media (min-width:1024px) and (max-width:1100px){body.hub2 .hh-g{grid-template-columns:repeat(4,minmax(0,1fr))}body.hub2 .hh-n{font-size:26px}body.hub2 .spark{display:none}}
/* Téléphone */
@media (max-width:760px){
 body.hub2 .hub-nav{border-right:0;border-bottom:1px solid #E9E7E2;padding:12px 16px;gap:10px}
 .hb-brand{padding:2px 0}
 body.hub2 .o-main{padding:20px 16px 56px}
 body.hub2 .o-main h1{font-size:24px!important}
 body.hub2 .hh-h{font-size:22px}
 body.hub2 .hh-n{font-size:26px}
 body.hub2 .hh-bar{flex-direction:column;align-items:stretch;gap:8px}
 body.hub2 .hh-bar>.hh-l{max-width:none}
 body.hub2 .o-main section:has(> .li),body.hub2 .o-main section:has(> a.li){padding:14px 16px 2px}
 .pc-adm{flex-direction:column}
}
/* Prospection : filtres alignés, zone en cases, avancement de la récolte */
.pr-acts{gap:8px;flex-wrap:wrap}
.pr-filtres{display:flex;flex-direction:column;gap:12px}
.pr-chips{display:flex;gap:6px;flex-wrap:wrap}
.pr-sels{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr) minmax(0,1.2fr);gap:8px}
.pr-sels .in{width:100%!important;height:44px!important;min-height:44px!important;font-size:14px}
.pr-deps{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px}
.pr-dep{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid #E4E2DD;border-radius:10px;background:#fff;cursor:pointer;font-size:14px}
.pr-dep:has(input:checked){border-color:#0E0E0E;box-shadow:inset 0 0 0 1px #0E0E0E}
.pr-dep input{width:18px;height:18px;accent-color:#0E0E0E;flex:none}
.pr-dep b{font-variant-numeric:tabular-nums;margin-right:4px}
.pr-prog{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 16px;padding:14px 16px;background:#fff;border:1px solid #E8E6E1;border-radius:14px}
.pr-prog>div{display:flex;flex-direction:column;gap:2px;font-size:14px}.pr-prog>div span{color:#6B6964;font-size:13px}
.pr-prog .hh-prog{grid-column:1 / -1;grid-row:2;height:6px;background:#EFEDE9}.pr-prog .hh-prog i{background:#0E0E0E;transition:width .6s}
.pr-prog .btn{grid-column:2;grid-row:1}
.pr-th{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap;padding:16px 16px 10px}.pr-th h2{font-size:18px;margin:0}.pr-th span{font-size:13px}
.pr-plus{display:flex;justify-content:center;padding:12px 16px 16px;border-top:1px solid #EFEDE9}
body.pr-charge .pr-wrap,body.pr-charge .pr-t{opacity:.45;transition:opacity .2s}
@media (max-width:900px){.pr-sels{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.pr-sels #pr-q{grid-column:1 / -1}}
@media (max-width:600px){.pr-sels{grid-template-columns:minmax(0,1fr)}.pr-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -16px;padding:0 16px}.pr-chips .pr-chip{flex:none}}
/* Menu du hub sur téléphone : barre du haut compacte, menu plein écran, accès rapide en bas */
.hb-menu,.hb-tabs{display:none}
@media (max-width:900px){
 body.hub2 .o-app{flex-direction:column;flex-wrap:nowrap}
 body.hub2 .hub-nav{flex:none!important;width:100%!important;max-width:none!important;position:sticky!important;top:0;z-index:30;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:10px;row-gap:0;padding:10px 12px 10px 16px!important;height:auto;background:rgba(255,255,255,.94)!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid #E9E7E2}
 body.hub2 .hub-nav .hb-brand{padding:0}
 body.hub2 .hb-wm{font-size:17px}body.hub2 .hb-sub{display:none}
 body.hub2 .hub-nav .mk-sel{justify-self:end;padding:0;min-width:0}
 body.hub2 .hub-nav .mk-sel .grp-t{display:none}
 body.hub2 .hub-nav .mk-sel select.in{height:38px!important;min-height:38px!important;width:auto;max-width:170px;padding-left:12px;font-size:14px}
 body.hub2 .hub-nav .mk-sel b{font-size:14px!important}
 .hb-menu{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 12px;border:1px solid #E4E2DD;border-radius:10px;background:#fff;color:#0E0E0E;font:600 13.5px/1 'Inter',sans-serif;cursor:pointer}
 body.hub2 .hub-nav .links,body.hub2 .hub-nav .who{display:none!important}
 body.hub2.nav-ouvert{overflow:hidden}
 body.hub2.nav-ouvert .hub-nav{position:fixed!important;inset:0;z-index:60;align-content:start;overflow-y:auto;height:100dvh;background:#fff!important;padding-bottom:calc(24px + env(safe-area-inset-bottom))!important}
 body.hub2.nav-ouvert .hub-nav .links{display:flex!important;flex-direction:column!important;grid-column:1 / -1;gap:18px!important;margin-top:18px;overflow:visible}
 body.hub2.nav-ouvert .hub-nav .grp{flex-direction:column!important;gap:2px}
 body.hub2.nav-ouvert .hub-nav .links .grp-t{display:block!important;padding:4px 12px 6px}
 body.hub2.nav-ouvert .hub-nav .grp-bas{margin-top:0;padding-top:16px;border-top:1px solid #EFEDE9}
 body.hub2.nav-ouvert .hub-nav .nav{min-height:48px;padding:0 12px!important;border:0!important;font-size:15.5px!important;white-space:normal}
 body.hub2.nav-ouvert .hub-nav .who{display:flex!important;flex-direction:row!important;justify-content:space-between;align-items:center;grid-column:1 / -1;margin-top:18px!important;padding:16px 8px 0!important;border-top:1px solid #EFEDE9}
 .hb-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;left:0;right:0;bottom:0;z-index:40;background:rgba(255,255,255,.96);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-top:1px solid #E9E7E2;padding:4px 4px calc(4px + env(safe-area-inset-bottom))}
 .hb-tabs a,.hb-tabs button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:54px;border:0;background:none;color:#6B6964;text-decoration:none;font:500 11px/1.1 'Inter',sans-serif;cursor:pointer;border-radius:10px}
 .hb-tabs .nv-i{width:22px;height:22px}
 .hb-tabs .on{color:#0E0E0E;font-weight:600}
 .hb-tabs .on::before{content:"";position:absolute;top:-4px;left:30%;right:30%;height:2px;border-radius:2px;background:#0E0E0E}
 .hb-tabs i{position:absolute;top:5px;left:calc(50% + 6px);min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#C9A26A;color:#0E0E0E;font:700 10px/17px 'Inter',sans-serif;font-style:normal;text-align:center}
 body.hub2 .o-main{padding-bottom:calc(96px + env(safe-area-inset-bottom))!important}
 body.hub2.nav-ouvert .hb-tabs{display:none}
 /* Chiffres en deux colonnes plutôt qu'en pile */
 body.hub2 .o-main .g4:has(.pr-big),body.hub2 .o-main .g3:has(.pr-big){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
 body.hub2 .o-main .g4:has(.pr-big)>.o-card,body.hub2 .o-main .g3:has(.pr-big)>.o-card{padding:14px}
 body.hub2 .o-main .pr-big{font-size:24px!important}
 body.hub2 .o-main .o-card .lbl{font-size:11px;letter-spacing:.06em}
 /* Prospection : une fiche nette par professionnel */
 .o-main .pr-t.pr-pro tr{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:14px 16px}
 .o-main .pr-t.pr-pro td:nth-child(1){grid-column:1;grid-row:1}
 .o-main .pr-t.pr-pro td:nth-child(4){grid-column:2;grid-row:1;justify-self:end}
 .o-main .pr-t.pr-pro td:nth-child(2){grid-column:1;grid-row:2;font-size:13.5px;color:#5A5A57}
 .o-main .pr-t.pr-pro td:nth-child(5){grid-column:2;grid-row:2;justify-self:end}
 .o-main .pr-t.pr-pro td:nth-child(3){grid-column:1;grid-row:3;font-size:13.5px;color:#5A5A57}
 .o-main .pr-t.pr-pro td:nth-child(6){grid-column:2;grid-row:3;justify-self:end;font-size:13px}
 .o-main .pr-t.pr-pro td:first-child b{white-space:normal}
 .pr-acts .btn{flex:1 1 auto}
}
@media (min-width:761px) and (max-width:900px){body.hub2 .o-main{padding:24px 28px 110px!important}body.hub2 .hh-g{grid-template-columns:repeat(4,minmax(0,1fr))}body.hub2 .hh-n{font-size:26px}body.hub2 .spark{display:none}body.hub2 .hub-nav .mk-sel select.in{max-width:220px}.hb-tabs{padding-left:15%;padding-right:15%}}

/* ===== Hub v3 : tiroir de menu, verre sur l'accueil, personnes en liste ===== */
/* Titres et textes */
body.hub2 .o-main header h1{font-family:'Inter Tight','Inter',sans-serif!important;font-weight:600;letter-spacing:-.015em;line-height:1.15}
body.hub2 .o-main header>p{font-size:15px;line-height:1.55;color:#6B6964;max-width:70ch}
body.hub2 .o-main h2{font-family:'Inter Tight','Inter',sans-serif;font-weight:600;letter-spacing:-.01em}
body.hub2 .o-main .mut{color:#6B6964}
.cx-head:has(> #inv){flex-direction:row;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
.cx-head:has(> #inv) .btn{flex:none}

/* Accès et personnes */
.qvq{background:#fff;border:1px solid #E8E6E1;border-radius:14px;padding:0 18px}
.qvq summary{list-style:none;cursor:pointer;min-height:48px;display:flex;align-items:center;justify-content:space-between;font-weight:600;font-size:14.5px}
.qvq summary::-webkit-details-marker{display:none}
.qvq summary::after{content:"";width:8px;height:8px;border-right:1.6px solid #6B6964;border-bottom:1.6px solid #6B6964;transform:rotate(45deg);transition:transform .2s;margin-right:4px}
.qvq[open] summary::after{transform:rotate(-135deg)}
.qvq .acc{padding:4px 0 12px;gap:16px}.qvq .acc span{font-size:13.5px;color:#5A5A57;line-height:1.5}
.qvq p{margin:0 0 16px;font-size:13px}
.pe-seg{align-self:flex-start;max-width:100%;overflow-x:auto;scrollbar-width:none}
.pe-seg button{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-size:13.5px}
.pe-seg button span{font:600 11.5px/1 'Inter',sans-serif;font-variant-numeric:tabular-nums;color:#8C8A85;background:#E9E7E2;border-radius:10px;padding:3px 7px}
.pe-seg button.on span{background:#0E0E0E;color:#fff}
.an-h{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.an-h h2{font-size:18px;margin:0 0 2px}.an-h .mut{font-size:13px}
.an-o{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.an-o .an-q{width:220px!important;height:38px!important;min-height:38px!important}
.pl{background:#fff;border:1px solid #E8E6E1;border-radius:14px;box-shadow:0 1px 2px rgba(20,18,14,.04);overflow:hidden}
.pl-r{display:grid;grid-template-columns:40px minmax(0,1.3fr) minmax(0,1.4fr) 110px auto auto;align-items:center;gap:16px;padding:14px 18px;border-top:1px solid #EFEDE9}
.pl-r:first-child{border-top:0}
.pl-r[hidden]{display:none}
.pl-id,.pl-ct,.pl-cx{display:flex;flex-direction:column;gap:3px;min-width:0}
.pl-id b{font-size:14.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pl-id span,.pl-ct span,.pl-cx span{font-size:13px;color:#5A5A57;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pl-ct span:first-child{color:#1A1A1A;font-size:13.5px}
.pl-cx span.mut{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:#8C8A85}
.pl-b{justify-self:end}
.pl-a{display:flex;align-items:center;gap:6px;justify-self:end}
.pl-ic{width:36px;height:36px;border-radius:10px;border:1px solid #E4E2DD;display:inline-flex;align-items:center;justify-content:center;color:#3D3D3B;background:#fff;transition:background .15s,border-color .15s}
.pl-ic:hover{background:#F5F4F1;border-color:#CFCCC5}
.pl-ic svg{width:17px;height:17px}
.pl-a .btn{min-height:36px;height:36px;padding:0 12px;font-size:13px;white-space:nowrap}
@media (max-width:1180px){.pl-r{grid-template-columns:40px minmax(0,1fr) auto;grid-template-areas:"av id b" "av ct ct" "av a a";row-gap:8px}.pl-r>.av{grid-area:av;align-self:start}.pl-id{grid-area:id}.pl-ct{grid-area:ct;flex-direction:row;flex-wrap:wrap;gap:4px 14px}.pl-cx{display:none}.pl-b{grid-area:b}.pl-a{grid-area:a;justify-self:start;flex-wrap:wrap}}
@media (max-width:600px){.pl-r{padding:14px;gap:8px 12px}.pl-ct{flex-direction:column}.an-o{width:100%}.an-o .an-q{width:100%!important}.cx-head:has(> #inv) .btn{width:100%}}

/* Accueil : verre dépoli sur un fond qui a de la matière (dégradé chaud et froid en haut de page) */
body.hub2[data-v="accueil"]{background:radial-gradient(900px 520px at 78% -8%,rgba(201,162,106,.34),transparent 62%),radial-gradient(820px 480px at 28% -6%,rgba(132,150,172,.30),transparent 60%),radial-gradient(700px 420px at 100% 40%,rgba(201,162,106,.10),transparent 70%),#F5F4F1;background-attachment:fixed}
body.hub2[data-v="accueil"] .hh-t,body.hub2[data-v="accueil"] .hh-bar{background:rgba(255,255,255,.52)!important;-webkit-backdrop-filter:blur(22px) saturate(170%);backdrop-filter:blur(22px) saturate(170%);border:1px solid rgba(255,255,255,.75)!important;box-shadow:0 10px 30px rgba(40,32,20,.07),inset 0 1px 0 rgba(255,255,255,.8)!important}
body.hub2[data-v="accueil"] a.hh-t:hover,body.hub2[data-v="accueil"] a.hh-bar:hover{background:rgba(255,255,255,.68)!important}
body.hub2[data-v="accueil"] .hh-t.chaud{box-shadow:inset 3px 0 0 #C9A26A,0 10px 30px rgba(40,32,20,.07)!important}
body.hub2[data-v="accueil"] .hh-mk{background:rgba(255,255,255,.6);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-color:rgba(255,255,255,.8)}
@media (min-width:901px){body.hub2[data-v="accueil"] .hub-nav{background:rgba(255,255,255,.72)!important;-webkit-backdrop-filter:blur(20px) saturate(160%);backdrop-filter:blur(20px) saturate(160%);border-right-color:rgba(255,255,255,.6)}}
@media (prefers-reduced-transparency:reduce){body.hub2[data-v="accueil"] .hh-t,body.hub2[data-v="accueil"] .hh-bar{background:#fff!important;-webkit-backdrop-filter:none;backdrop-filter:none}}

/* Menu en tiroir (téléphone et tablette en portrait) : il glisse depuis la gauche, comme la barre latérale de l'ordinateur */
@keyframes hb-tiroir{from{transform:translateX(-100%)}to{transform:none}}
@keyframes hb-voile{from{opacity:0}to{opacity:1}}
@media (max-width:900px){
 body.hub2.nav-ouvert::after{content:"";position:fixed;inset:0;z-index:55;background:rgba(14,14,14,.34);animation:hb-voile .2s ease-out}
 body.hub2.nav-ouvert .hub-nav{inset:0 auto 0 0!important;width:min(320px,86vw)!important;max-width:none!important;height:100dvh;display:grid!important;grid-template-columns:minmax(0,1fr) auto;grid-auto-rows:min-content;align-content:start;row-gap:16px;padding:18px 14px calc(20px + env(safe-area-inset-bottom)) 16px!important;background:#fff!important;-webkit-backdrop-filter:none;backdrop-filter:none;border-right:1px solid #E9E7E2;border-bottom:0;box-shadow:12px 0 40px rgba(14,14,14,.14);animation:hb-tiroir .26s cubic-bezier(.2,.8,.2,1)}
 body.hub2.nav-ouvert .hub-nav .hb-brand{grid-column:1;grid-row:1;align-self:center}
 body.hub2.nav-ouvert .hb-sub{display:inline}
 body.hub2.nav-ouvert .hub-nav .hb-menu{grid-column:2;grid-row:1}
 body.hub2.nav-ouvert .hub-nav .mk-sel{grid-column:1 / -1;grid-row:2;justify-self:stretch;display:flex;flex-direction:column;gap:6px}
 body.hub2.nav-ouvert .hub-nav .mk-sel .grp-t{display:block}
 body.hub2.nav-ouvert .hub-nav .mk-sel select.in{max-width:none;width:100%}
 body.hub2.nav-ouvert .hub-nav .links{grid-column:1 / -1;grid-row:3;margin-top:0;gap:14px!important}
 body.hub2.nav-ouvert .hub-nav .links .grp-t{padding:4px 10px 4px}
 body.hub2.nav-ouvert .hub-nav .nav{min-height:42px;padding:0 10px!important;font-size:14.5px!important;border-radius:9px}
 body.hub2.nav-ouvert .hub-nav .who{grid-column:1 / -1;grid-row:4;margin-top:4px!important}
}
@media (prefers-reduced-motion:reduce){body.hub2.nav-ouvert .hub-nav,body.hub2.nav-ouvert::after{animation:none}}
body.hub2[data-v="accueil"]{background:radial-gradient(900px 540px at 80% -10%,rgba(201,162,106,.42),transparent 62%),radial-gradient(820px 500px at 25% -8%,rgba(132,150,172,.36),transparent 60%),radial-gradient(700px 420px at 100% 45%,rgba(201,162,106,.12),transparent 70%),#F5F4F1;background-attachment:fixed}
@media (max-width:600px){.pe-seg{display:grid;grid-template-columns:1fr 1fr;width:100%}.pe-seg button{justify-content:space-between}}
/* Contrats : cartes de création alignées, suivi par étape */
.cx-h2{font-size:17px;margin:0 0 12px}
.cx-new{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))!important;gap:12px}
.cx-new a{flex-direction:row!important;align-items:center;gap:14px!important;padding:16px!important;border-radius:14px!important;min-height:78px;transition:border-color .15s,box-shadow .15s}
.cx-new a:hover{border-color:#0E0E0E;box-shadow:0 4px 14px rgba(20,18,14,.06)}
.cx-ic{flex:none;width:42px;height:42px;border-radius:12px;background:#F5F2EC;color:#5A4524;display:flex;align-items:center;justify-content:center}
.cx-ic svg{width:21px;height:21px}
.cx-t{display:flex;flex-direction:column;gap:3px;min-width:0}
.cx-t b{font-size:15px}.cx-t span{font-size:13px;color:#6B6964;line-height:1.4}
.cx-note{margin:10px 0 0!important;font-size:13px}
.cx-bl{background:#fff;border:1px solid #E8E6E1;border-radius:14px;padding:6px 20px 4px;box-shadow:0 1px 2px rgba(20,18,14,.04)}
.cx-bh{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 0 10px}
.cx-bh h2{font-size:16px;margin:0}.cx-bh .mut{font-size:13px}
.cx-bl .cx-li{border-top:1px solid #EFEDE9}
.cx-todo .cx-bh{padding:14px 18px 8px}
@media (max-width:640px){.cx-new{grid-template-columns:1fr!important}.cx-bl{padding:4px 16px}}
/* Colonnes équilibrées : les deux colonnes finissent à la même hauteur ; la dernière carte de la colonne la plus courte s'allonge */
@media (min-width:1181px){
 .pr-cols,.fc-cols{align-items:stretch!important}
 .pr-cols>div,.fc-cols>div{display:flex!important;flex-direction:column}
 .pr-cols>div>:last-child,.fc-cols>div>:last-child{flex:1 1 auto}
}
@media (min-width:1280px){
 .acc-2{align-items:stretch}
 .acc-c>:last-child{flex:1 1 auto;display:flex;flex-direction:column}
 .acc-c>:last-child>:last-child{flex:1 1 auto}
}
body.hub2 .g2{align-items:stretch!important}
@media (min-width:761px){.org-poles{align-items:stretch}.org-p>:last-child{flex:1 1 auto}}
/* Grilles de cartes : toutes les cartes d'une même ligne ont la même hauteur */
body.hub2 :is(.g3,.g4,.cx-new,.pcs,.hh-g,.rg,.cl-g){align-items:stretch}

/* ===== Hub v4 : chaque libellé tient sur une ligne ===== */
body.hub2 .hub-nav .nav{white-space:nowrap}
body.hub2 .hub-nav .nv-l{overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1 1 auto}
@media (min-width:1101px){body.hub2 .hub-nav{flex:0 0 248px!important;width:248px!important;max-width:248px!important}}
@media (min-width:901px) and (max-width:1100px){body.hub2 .hub-nav{flex:0 0 236px!important;width:236px!important;max-width:236px!important}}
body.hub2 .o-main :is(.btn,.seg button,.pr-chip,.pill,th,.lbl,.hh-l,dt,.cx-t b,.cx-t span){white-space:nowrap}
body.hub2 .o-main :is(.lbl,.hh-l,.cx-t span,.cx-t b){overflow:hidden;text-overflow:ellipsis;max-width:100%}
body.hub2 .o-main .seg{max-width:100%;overflow-x:auto;scrollbar-width:none}
body.hub2 .o-main .seg::-webkit-scrollbar{display:none}
.kv>span:first-child{white-space:nowrap;flex:none}
.kv strong{min-width:0}
/* Fiches : une seule colonne tant que la colonne de droite serait trop étroite */
@media (max-width:1180px){.pr-cols,.fc-cols{grid-template-columns:minmax(0,1fr)!important}}
/* Carte étroite : le libellé passe au-dessus de la valeur plutôt que de couper les deux */
body.hub2 .o-main :is(section.o-card,.card,.cx-bl){container-type:inline-size}
@container (max-width:340px){.kv{flex-direction:column;align-items:flex-start;gap:2px}.kv strong{text-align:left!important;max-width:none!important}}
@media (max-width:600px){body.hub2 .o-main :is(.lbl,.hh-l){letter-spacing:.04em;font-size:10.5px}}
body.hub2 .hub-nav .nav,body.hub2 .hub-nav .nv-l{white-space:nowrap!important}
/* Valeur + pastille sur une ligne ; carte trop étroite : libellé au-dessus */
.kv-v{display:flex;gap:8px;align-items:center;justify-content:flex-end;text-align:right;min-width:0}
.kv-v>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.kv-v .pill{flex:none}
body.hub2 .o-main :is(.cf-k,.dc-cf,.kv-box){container-type:inline-size}
@container (max-width:380px){.kv:has(.kv-v){flex-direction:column;align-items:flex-start;gap:4px}.kv:has(.kv-v) .kv-v{justify-content:flex-start}}
/* Conformité du dossier : une carte par ligne (pleine largeur) pour que chaque ligne tienne sur une ligne */
.fc-conf{grid-template-columns:minmax(0,1fr)!important}
@container (max-width:380px){.kv:has(.kv-v) .kv-v>span:first-child{white-space:normal}}
/* Conformité : une carte claire par bien, une ligne par point */
.fc-conf{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,420px),1fr))!important;gap:12px}
.cfc{display:flex;flex-direction:column;gap:12px;padding:18px 20px!important}
.cfc-h{display:flex;justify-content:space-between;align-items:center;gap:12px}
.cfc-h a{color:inherit;text-decoration:none;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cfc-h b{font-size:15.5px}
.cfc-p{display:flex;align-items:center;gap:10px;font-size:13px;color:#6B6964;white-space:nowrap}
.cfc-p .hh-prog{flex:1;height:6px;background:#EFEDE9;border-radius:3px;overflow:hidden;display:block}
.cfc-p .hh-prog i{display:block;height:100%;background:#0E0E0E;border-radius:3px}
.cfc-l{font-size:13.5px;font-weight:600;color:#0E0E0E;text-decoration:none;align-self:flex-start}
.cfl{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.cfl li{display:grid;grid-template-columns:22px minmax(120px,auto) minmax(0,1fr);align-items:center;gap:10px;padding:9px 0;border-top:1px solid #EFEDE9;font-size:14px}
.cfl li:first-child{border-top:0}
.cfl i{width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font:700 12px/1 'Inter',sans-serif;font-style:normal}
.cfl-ok i{background:#EAF3EC;color:#1F7A3A}.cfl-af i{background:#FBF1E2;color:#8A5A12}.cfl-bl i{background:#0E0E0E;color:#fff}
.cfl b{font-weight:600;white-space:nowrap}
.cfl span{color:#5A5A57;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
.cfl-ok b,.cfl-ok span{color:#8C8A85;font-weight:500}
.cf-k{padding:6px 20px!important}
@media (max-width:480px){.cfl li{grid-template-columns:22px minmax(0,1fr)}.cfl span{grid-column:2;text-align:left;font-size:13px}}
/* Hub : photos envoyées par un propriétaire */
.dm-ph{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;margin-top:10px}
.dm-ph button{padding:0;border:0;aspect-ratio:1;border-radius:8px;overflow:hidden;background:#EDEBE6;cursor:zoom-in}
.dm-ph img{width:100%;height:100%;object-fit:cover;display:block}
/* Hub : nouvelle fiche propriétaire (besoin, questions adaptées) */
.nf fieldset{min-width:0}
.nf-mk{margin:0 0 14px}
.nf-chs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.nf-ch{position:relative;display:flex;flex-direction:column;gap:4px;padding:14px 14px 14px 44px;border:1px solid #D6D6D6;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s;min-width:0}
.nf-ch:hover{border-color:#A9A7A2}
.nf-ch input{position:absolute;left:15px;top:16px;width:18px;height:18px;margin:0;accent-color:var(--ink)}
.nf-ch b{font:600 14.5px/1.3 'Inter',sans-serif;color:var(--ink)}
.nf-ch span{font:400 12.5px/1.45 'Inter',sans-serif;color:#6B6964}
.nf-ch:has(input:checked){border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink);background:#FAFAF8}
.nf-vide{margin:4px 0 0;font-size:14px}
.nf-cond{display:none}.nf-cond.on{display:block}
.nf-ok{flex-direction:row!important;align-items:flex-start;gap:10px!important;font-weight:400!important;font-size:13.5px!important;line-height:1.5}
.nf-ok input{width:18px;height:18px;margin:2px 0 0;flex:none;accent-color:var(--ink)}
@media (max-width:1100px){.nf-chs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.nf-chs{grid-template-columns:minmax(0,1fr)}.nf-ch{padding:13px 14px 13px 44px}}
/* Hub : téléphone avec indicatif */
.fx-tel{display:flex;align-items:stretch;min-width:0}
.fx-tel>input{flex:1;min-width:0;border-top-left-radius:0!important;border-bottom-left-radius:0!important}
.fx-ind{position:relative;flex:none;display:flex;align-items:center;gap:6px;padding:0 28px 0 12px;border:1px solid #D6D6D6;border-right:0;border-radius:10px 0 0 10px;background:#F5F4F1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%230E0E0E' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;cursor:pointer;font:500 14.5px/1 'Inter',sans-serif;color:var(--ink);white-space:nowrap}
.fx-ind select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:16px;border:0}
.fx-tel:focus-within .fx-ind,.fx-tel:focus-within>input{border-color:var(--ink)}
.cx-form .fx-tel{height:48px}.cx-form .fx-ind{box-sizing:border-box;height:48px}
.cx-form div.fl{display:flex;flex-direction:column}
.fb-3{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:stretch}
.fb-3>.o-card{margin:0}
@media (max-width:1180px){.fb-3{grid-template-columns:minmax(0,1fr)}}
/* Hub : fiche propriétaire v2 (blocs numérotés, liste de biens, récapitulatif) */
.nf2{display:grid;grid-template-columns:minmax(0,1fr) 296px;gap:24px;align-items:start}
.nf2-main{display:flex;flex-direction:column;gap:16px;min-width:0}
.nf2-sec{background:#fff;border:1px solid #E8E8E6;border-radius:14px;padding:24px;box-shadow:0 1px 2px rgba(16,16,16,.04);display:flex;flex-direction:column;gap:20px;min-width:0}
.nf2-h{display:flex;align-items:center;gap:12px;min-height:32px}
.nf2-n{flex:none;width:28px;height:28px;border-radius:50%;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center;font:600 13px/1 'Inter',sans-serif;font-variant-numeric:tabular-nums}
.nf2-ht{min-width:0;flex:1}
.nf2-h h2{margin:0;font:600 18px/1.25 'Inter Tight','Inter',sans-serif;letter-spacing:-.01em;white-space:nowrap}
.nf2-h p{margin:2px 0 0;font-size:13px;color:var(--mute)}
.nf2-mk{margin:0!important;flex:none}
.nf2-cpt{flex:none;font:500 13px/1 'Inter',sans-serif;color:var(--mute);background:#F3F2EF;border-radius:20px;padding:7px 12px;font-variant-numeric:tabular-nums;white-space:nowrap}
.nf2 .cx-g{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.nf2 .cx-g .cx-w2{grid-column:span 2}.nf2 .cx-g .cx-w3{grid-column:1/-1}
.nf2-l{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:500 13px/16px 'Inter',sans-serif;color:var(--ink2)}
.nf2 .fl{gap:8px;min-width:0}
.nf2 .in,.nf2 select.in{height:48px;min-height:48px}
.nf2 textarea.in{height:auto;min-height:88px}
/* Besoin */
.nf2-chs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.nf2-ch{position:relative;display:flex;align-items:center;gap:14px;min-height:72px;padding:14px 44px 14px 14px;border:1px solid #DCDCDA;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.nf2-ch:hover{border-color:#A9A7A2}
.nf2-ch input{position:absolute;opacity:0;pointer-events:none}
.nf2-ch::after{content:'';position:absolute;right:16px;top:50%;width:18px;height:18px;margin-top:-9px;border-radius:50%;border:1.5px solid #C9C7C2;box-sizing:border-box}
.nf2-ch:has(input:checked){border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.nf2-ch:has(input:checked)::after{border:5px solid var(--ink)}
.nf2-ch:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}
.nf2-ci,.nf2-bi{flex:none;width:40px;height:40px;border-radius:10px;background:#F3F2EF;color:var(--ink);display:flex;align-items:center;justify-content:center;transition:background .15s,color .15s}
.nf2-ci svg,.nf2-bi svg{width:20px;height:20px}
.nf2-ch:has(input:checked) .nf2-ci{background:var(--ink);color:#fff}
.nf2-ct{display:flex;flex-direction:column;gap:3px;min-width:0}
.nf2-ct b,.nf2-bt b{font:600 15px/1.3 'Inter',sans-serif;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nf2-ct span,.nf2-bt span{font:400 13px/1.4 'Inter',sans-serif;color:var(--mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Biens */
.nf2-list{display:flex;flex-direction:column;gap:8px}
.nf2-bien{display:flex;align-items:center;gap:14px;min-height:68px;padding:12px 12px 12px 14px;border:1px solid #E3E3E1;border-radius:12px;background:#fff}
.nf2-bt{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.nf2-ba{display:flex;gap:4px;flex:none}
.nf2-ba button{width:36px;height:36px;border:0;border-radius:8px;background:transparent;color:#6B6964;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s,color .15s}
.nf2-ba button:hover{background:#F3F2EF;color:var(--ink)}
.nf2-ba button[data-act=del]:hover{color:#A4262C;background:#FBF1F1}
.nf2-ba svg{width:18px;height:18px}
.nf2-add{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:56px;border:1px dashed #BDBDBA;border-radius:12px;background:#FAFAF8;color:var(--ink);font:600 15px/1 'Inter',sans-serif;cursor:pointer;transition:border-color .15s,background .15s}
.nf2-add:hover{border-color:var(--ink);background:#fff}
.nf2-add svg{width:18px;height:18px}
.nf2-ed{display:flex;flex-direction:column;gap:20px;padding:20px;border:1px solid var(--ink);border-radius:12px;background:#FCFCFB}
.nf2-ed-h{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.nf2-ed-h b{font:600 16px/1.25 'Inter Tight','Inter',sans-serif}
.nf2-ed-h span{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--mute);font-weight:500}
.nf2-types{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:8px}
.nf2-type{display:flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 12px;border:1px solid #D6D6D6;border-radius:10px;background:#fff;color:var(--ink);font:500 14px/1 'Inter',sans-serif;white-space:nowrap;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.nf2-type svg{width:18px;height:18px;flex:none}
.nf2-type:hover{border-color:#A9A7A2}
.nf2-type.on{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.nf2-ed-f{display:flex;gap:8px;flex-wrap:wrap}
.nf2-ed .err,.nf2-recap .err{margin:0}
.nf2-ok{display:flex;align-items:flex-start;gap:12px;font:400 14px/1.5 'Inter',sans-serif;color:var(--ink2);cursor:pointer}
.nf2-ok input{width:20px;height:20px;margin:0;flex:none;accent-color:var(--ink)}
/* Récapitulatif */
.nf2-side{position:sticky;top:24px;min-width:0}
.nf2-recap{background:#fff;border:1px solid #E8E8E6;border-radius:14px;padding:20px;box-shadow:0 1px 2px rgba(16,16,16,.04);display:flex;flex-direction:column;gap:16px}
.nf2-rs{display:flex;flex-direction:column}
.nf2-rs div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:10px 0;border-bottom:1px solid #EFEFED;font-size:13.5px}
.nf2-rs span{color:var(--mute);white-space:nowrap}
.nf2-rs b{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;text-align:right}
.nf2-pg{display:flex;align-items:center;gap:12px}
.nf2-pgb{flex:1;height:4px;border-radius:2px;background:#EDEBE6;overflow:hidden}
.nf2-pgb i{display:block;height:100%;background:var(--ink);border-radius:2px;transition:width .3s ease}
.nf2-pg span{font:500 12px/1 'Inter',sans-serif;color:var(--mute);white-space:nowrap;font-variant-numeric:tabular-nums}
.nf2-ck{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.nf2-ck li{display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--mute);white-space:nowrap}
.nf2-ck i{flex:none;width:18px;height:18px;border-radius:50%;border:1.5px solid #C9C7C2;box-sizing:border-box;display:flex;align-items:center;justify-content:center;font:700 10px/1 'Inter',sans-serif;font-style:normal;color:#fff}
.nf2-ck li.fait{color:var(--ink)}
.nf2-ck li.fait i{background:var(--ink);border-color:var(--ink)}
.nf2-go{width:100%}
@media (max-width:1180px){.nf2{grid-template-columns:minmax(0,1fr)}.nf2-side{position:static}}
@media (max-width:760px){.nf2-chs{grid-template-columns:minmax(0,1fr)}.nf2-sec{padding:18px}.nf2-ed{padding:16px}}
@media (max-width:560px){.nf2 .cx-g{grid-template-columns:minmax(0,1fr)}.nf2 .cx-g .cx-w2,.nf2 .cx-g .cx-w3{grid-column:auto}.nf2-h{flex-wrap:wrap}.nf2-mk{order:3;width:100%}.nf2-mk button{flex:1;justify-content:center}.nf2-ed-f .btn{flex:1}.nf2-types{grid-template-columns:repeat(2,minmax(0,1fr))}}
.nf2-rc{display:flex;flex-direction:column;gap:16px}
@media (max-width:560px){.nf2-bi{display:none}.nf2-bien{padding:12px 8px 12px 14px;gap:8px}.nf2-ba button{width:32px;height:32px}.nf2-ba{gap:2px}.nf2-ch{min-height:64px}}
@media (max-width:560px){.nf2-bt span{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}}

.nf2-ck li{border:0!important;padding:0!important;background:none!important;min-height:0!important}
.nf2 div.fl{display:flex;flex-direction:column;gap:8px}
.nf2 .fx-ind{padding:0 24px 0 10px;gap:4px;background-position:right 9px center}
.nf2 .fx-tel>input{padding:0 12px}
.nf2 .cx-u input{text-align:left}
/* Hub : fiche créée, liste des biens */
.fb-2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:stretch}
.fb-2>.o-card{margin:0}
.fb-msg{margin:12px 0 0;padding:12px 14px;background:#F6F5F2;border-radius:10px;font-size:14px;line-height:1.55;white-space:pre-wrap}
.fb-bh{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}
.fb-bh h2{margin:0;font:600 16px/1.25 'Inter Tight','Inter',sans-serif}
.fb-biens{display:grid;grid-template-columns:repeat(var(--fb-c,3),minmax(0,1fr));gap:12px}
.fb-bien{border:1px solid #E3E3E1;border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;min-width:0}
.fb-bt{display:flex;align-items:center;gap:12px;padding-bottom:10px;border-bottom:1px solid #EFEFED;min-width:0}
.fb-n{flex:none;margin-left:auto;font:500 12px/1 'Inter',sans-serif;color:var(--mute);font-variant-numeric:tabular-nums}
.fb-bien .kv{padding:9px 0}
@media (max-width:900px){.fb-2{grid-template-columns:minmax(0,1fr)}}
@media (max-width:1180px){.fb-biens{grid-template-columns:repeat(var(--fb-t,1),minmax(0,1fr))}}
@media (max-width:700px){.fb-biens{grid-template-columns:minmax(0,1fr)}}

.fb-p h2{margin:6px 0 20px;font:600 22px/1.2 'Inter Tight','Inter',sans-serif;letter-spacing:-.01em}
.fb-inf{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px 24px}
.fb-inf div{display:flex;flex-direction:column;gap:4px;min-width:0}
.fb-inf>div>span{font:500 12px/16px 'Inter',sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--mute);white-space:nowrap}
.fb-inf b{font:500 15px/1.35 'Inter',sans-serif;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fb-p .fb-msg{margin:20px 0 0}
.fb-src{margin:16px 0 0;font-size:12.5px}
@media (max-width:560px){.fb-inf{grid-template-columns:repeat(2,minmax(0,1fr))}}
.fb-bien .kv:last-child{border-bottom:0;padding-bottom:0}
/* Fiche propriétaire : groupes d'informations et détail du score en liste */
.fb-g+.fb-g{margin-top:24px;padding-top:20px;border-top:1px solid #EFEFED}
.fb-g h3{margin:0 0 14px;font:600 15px/1.3 'Inter Tight','Inter',sans-serif}
.fb-p>.fb-g:first-child h3,.fb-p h2+.fb-g h3{margin-top:0}
.fb-inf .w2{grid-column:span 2}
.pr-rl{display:flex!important;flex-direction:column;gap:0!important}
.pr-rl>div{background:none!important;border-radius:0!important;padding:12px 0!important;border-bottom:1px solid #EFEFED;align-items:center!important}
.pr-rl>div:last-child{border-bottom:0}
.pr-rl>div>span:last-child{display:flex;align-items:baseline;gap:16px;min-width:0;flex:1}
.pr-rl b{flex:none;width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pr-rl i{margin:0!important;min-width:0}
@media (max-width:640px){.pr-rl>div>span:last-child{flex-direction:column;gap:2px}.pr-rl b{width:auto}.fb-inf .w2{grid-column:1/-1}}

.fb-inf b .mut{font-weight:400}
.fb-bien .kv{display:flex!important;flex-direction:row!important;align-items:baseline!important;justify-content:space-between!important;gap:12px!important}
.fb-bien .kv>span{white-space:nowrap;flex:none}
.fb-bien .kv>strong{text-align:right!important;min-width:0}
