/* Compatibilite avec les fonctions existantes, sans changer le style valide. */
.v2-demandes-filtres{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0;color:#66758b;font-size:13px}.v2-demandes-filtres .filters{margin:0}.v2-demandes-biens{display:grid;gap:12px}.v2-demande-bien{display:grid;grid-template-columns:156px minmax(0,1fr) 125px auto;align-items:center;gap:24px;padding:20px;background:white;border:1px solid #e4e8ee;border-radius:16px}.v2-demande-photo{display:block;width:156px;height:106px;object-fit:cover;border-radius:10px;background:#edf1f6}.v2-demande-sans-photo{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;color:#76879d;font-size:11px;text-align:center}.v2-demande-sans-photo .svg{width:28px;height:28px}.v2-demande-bien-texte h2{font-size:17px;margin:0 0 7px}.v2-demande-bien-texte a{color:inherit;text-decoration:none}.v2-demande-bien-texte a:hover{text-decoration:underline}.v2-demande-bien-texte p{font-size:13px;color:#66758b;margin:3px 0;overflow-wrap:anywhere}.v2-demande-compteur{display:flex;flex-direction:column;text-align:center;font-size:13px;color:#64748a;gap:3px}.v2-demande-compteur strong{font-size:28px;font-weight:450;line-height:1.2;color:#245dcc}.v2-demande-compteur small{font-size:11px}.v2-reception-options{margin-top:28px;border-top:1px solid #dfe5ed;padding:18px 0;color:#66758b;font-size:13px}.v2-reception-options>summary{cursor:pointer;min-height:32px}.v2-reception-options>summary span{margin-left:12px;font-size:12px}.v2-reception-contenu{margin-top:16px}.v2-reception-contenu .carte{margin-bottom:12px}.v2-reception-alerte{font-size:13px;color:#93612c;background:#fff5e7;border-radius:8px;padding:10px 14px;margin-bottom:16px}.v2-demandes-entete{margin-top:18px}.v2-demande-contexte{display:flex;align-items:center;gap:18px;margin-bottom:24px;font-size:13px;color:#64748a}.v2-demande-contexte .v2-demande-photo{width:108px;height:76px}.v2-demande-bien .btn{white-space:nowrap}.v2-demande-image-lien:focus-visible,.v2-demande-bien-texte a:focus-visible{outline:3px solid #245dcc;outline-offset:4px}
@media(max-width:1100px){.v2-demande-bien{grid-template-columns:120px minmax(0,1fr) 100px;gap:16px}.v2-demande-bien .v2-demande-photo{width:120px;height:90px}.v2-demande-bien>.btn{grid-column:2 / 4;justify-self:start}}
@media(max-width:600px){.v2-demandes-filtres{align-items:flex-start;flex-direction:column;gap:8px}.v2-demande-bien{grid-template-columns:96px minmax(0,1fr);gap:14px;padding:16px}.v2-demande-bien .v2-demande-photo{width:96px;height:82px}.v2-demande-bien-texte h2{font-size:16px}.v2-demande-bien-texte p{font-size:12px}.v2-demande-compteur{grid-column:1;text-align:left}.v2-demande-bien>.btn{grid-column:2;justify-self:stretch;white-space:normal;text-align:center}.v2-reception-options>summary span{display:block;margin:6px 0 0 16px}}
:root{--color-text:#1c2533;--color-bg:#f5f6f8;--color-divider:#e4e8ee;--font-heading:Figtree,system-ui,sans-serif}
body.v2-app{font:15px/1.5 Figtree,-apple-system,BlinkMacSystemFont,Arial,sans-serif;background:#f5f6f8;color:#1c2533}
.v2-app h1,.v2-app h2,.v2-app h3{font-family:Figtree,system-ui,sans-serif}
.v2-app h1{font-size:36px;font-weight:550;letter-spacing:-1.2px;line-height:1.15}
.v2-app h2{font-size:20px;font-weight:600;letter-spacing:-.4px}
#barre-haut{gap:0;backdrop-filter:none;overflow-y:auto;display:flex}
#barre-haut[hidden]{display:none}
.brand{color:inherit;text-decoration:none;flex-shrink:0}
#menu-principal{display:flex;flex-direction:column;align-items:stretch;flex:1;min-height:min-content;gap:0;background:none;padding:0;border-radius:0;position:static;box-shadow:none}
#menu-principal .nav a{display:flex;align-items:center;gap:12px;color:#647084;border-radius:10px;font-size:14px;font-weight:400;padding:12px 15px;min-height:44px;text-decoration:none;white-space:normal}
#menu-principal .nav a.actif{background:#edf3ff;color:#245dcc;font-weight:600}
#menu-principal .nav a:hover{background:#f6f8fc;transform:none}
#menu-principal .nav-bottom{margin-top:auto}
.prototype,.topbar,footer{margin-left:218px}
.prototype>a{font-size:11px;text-decoration:none;color:#365883;white-space:nowrap}
.topbar{position:relative;z-index:25;min-height:74px}
#contenu{width:calc(100% - 218px);padding:35px 36px 50px;margin:0 0 0 218px;max-width:none;min-height:calc(100vh - 164px)}
#zone-recherche{display:flex;align-items:center;gap:10px;position:relative;flex:initial;margin:0;width:310px;max-width:36vw;order:0}
.v2-search-icon{display:flex;color:#8b94a3;pointer-events:none}
.v2-search-icon .svg{width:16px;height:16px}
#recherche-globale{font-size:12px;border:0;background:transparent;border-radius:4px;padding:8px 0;min-height:36px;width:100%;box-shadow:none}
#zone-recherche kbd{margin-left:0;white-space:nowrap;color:#8b94a3}
#avatar{width:31px;min-width:31px;height:31px;min-height:31px;background:#203046;font-size:10px}
#resultats-recherche{top:42px;min-width:300px;right:0;z-index:30}
#btn-menu{display:none;order:initial;border-radius:8px;background:white;border:1px solid #e2e8ef;width:40px;height:40px;box-shadow:none}
.assistant-btn{display:inline-flex;align-items:center;white-space:nowrap}
.assistant-btn span{line-height:1}
.stat,.card,.btn,.tag,.avatar,.link-btn{box-shadow:none}
a.stat{color:inherit;text-decoration:none}
.stat .svg{width:19px;height:19px}
.stat-icon.green{background:#eaf3ee;color:#508367}
.stat-icon.amber{background:#fcf4e7;color:#b18b42}
.card{margin:0;min-width:0}.card.feature{padding:0}
.task-text strong{display:block}.task-text p{overflow-wrap:anywhere}
.v2-due{font-size:11px;color:#64748a}
.v2-feature-photo{height:150px;width:100%;object-fit:cover;display:block}
.v2-feature-placeholder{height:150px;background:linear-gradient(135deg,#e3edf3,#f1f6f6);display:flex;align-items:center;justify-content:center;color:#8099b2}
.v2-feature-placeholder .svg{width:70px;height:70px}
.ai-note>.link-btn{white-space:nowrap;margin-left:auto}
.v2-assistant-state{display:flex;align-items:center;gap:14px;margin:20px 0}
.v2-assistant-state .connection-icon{flex-shrink:0}
.v2-head h1{font-size:36px}.v2-head p{font-size:13px;color:#64748a}
.v2-card{border-color:#e4e8ee}.v2-facts dt{color:#64748a;font-size:12px}.v2-facts dd{font-size:14px;overflow-wrap:anywhere}
.v2-action{font-size:12px;min-height:40px;color:#1c2533;font-weight:500}
.v2-action.primary{background:#285fdb;border-color:#285fdb;color:white}
.v2-avatar{background:#eee7f5;color:#85639e}
.v2-note{background:#f4f7fb;color:#64748a}.v2-note.warning{background:#fff7e9;color:#886d3e}
#modale{font-size:14px}#modale h2{font-size:22px}#modale .btn{width:auto}
body:has(#barre-haut[hidden]) .prototype,body:has(#barre-haut[hidden]) .topbar,body:has(#barre-haut[hidden]) footer{display:none}
@media(max-width:1150px){.prototype,.topbar,footer{margin-left:190px}#contenu{margin-left:190px;width:calc(100% - 190px);padding:28px 24px}#zone-recherche{width:180px}#zone-recherche kbd{display:none}}
@media(max-width:760px){#barre-haut{display:none;width:218px}body.menu-ouvert #barre-haut{display:flex}.prototype,.topbar,footer{margin-left:0}#contenu{width:100%;margin:0;padding:25px 18px 35px}#btn-menu{display:block;font-size:18px}.topbar{padding:13px 18px;gap:10px}.top-actions{gap:12px;margin-left:auto}.breadcrumb{display:none}.prototype{padding:8px 18px;font-size:9px}.proto-detail{display:none}#zone-recherche{width:36px;max-width:none}#recherche-globale{position:absolute;inset:0;opacity:0;cursor:text}.v2-search-icon{width:36px;justify-content:center}#zone-recherche:focus-within{position:absolute;left:68px;right:18px;width:auto;background:#fafbfd;z-index:35}#zone-recherche:focus-within #recherche-globale{opacity:1;position:static;padding-left:5px}#resultats-recherche{min-width:0;width:100%}.v2-head h1{font-size:29px}.v2-head>.v2-action{max-width:120px}#voile{z-index:29}#barre-haut{z-index:30}#menu-principal .nav a{padding:10px 15px}.v2-app h1{font-size:29px}.v2-facts{grid-template-columns:1fr 1fr}.assistant-btn{min-height:40px}}
@media print{.prototype,.topbar,footer{display:none!important}#contenu{width:100%;margin:0;padding:0}}
/* Cartes de reception sur petit ecran : aucune action hors champ. */
@media (max-width:640px){
  .v2-transfers.table-wrap{border:0;background:transparent;overflow:visible}
  .v2-transfers table,.v2-transfers tbody{display:block;width:100%;min-width:0}
  .v2-transfers thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}
  .v2-transfers tbody tr{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:white;border:1px solid var(--line);border-radius:18px;padding:18px;margin-bottom:14px}
  .v2-transfers tbody td{display:block;min-width:0;border:0;padding:5px 0;white-space:normal}
  .v2-transfers tbody td:first-child{grid-column:1/-1;font-weight:600}
  .v2-transfers tbody td:nth-child(4),.v2-transfers tbody td:last-child{grid-column:1/-1}
}
.v2-brouillons-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.v2-brouillons-grid > .card{margin:0}
@media(max-width:640px){.v2-brouillons-grid{grid-template-columns:1fr}}

/* Valeurs lisibles et commentaires internes dans le suivi vendeur. */
.v2-valeur{font-size:24px;font-weight:450;line-height:1.4;margin:12px 0;overflow-wrap:anywhere}.v2-texte-suivi{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0;color:#526780}.v2-grid>div:last-child>.v2-card:first-child{margin-top:0}
.v2-suivi-raccourcis{display:none}#v2-valeur-dossier,#v2-prochaine-action{scroll-margin-top:20px}@media(max-width:1100px){.v2-suivi-raccourcis{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}}
