/* Présentation commune aux écrans immobiliers et à la prospection CRM. */
#app:has(.estate-heading),#app:has(.crm-pilot){font-size:14px;line-height:1.45}
#app:has(.estate-heading) small,#app:has(.crm-pilot) small{font-size:12px}
#app:has(.estate-heading) button,#app:has(.crm-pilot) button,#app:has(.crm-pilot) select,#app:has(.estate-heading) select{font-size:13px;min-height:34px}
.estate-heading{padding:10px 16px;margin-bottom:10px}.estate-heading>div:first-child>b{display:none}
.estate-admin-menu{font-size:12px;display:inline-block;margin-right:12px}.estate-admin-menu summary{cursor:pointer;color:#526478}.estate-admin-menu button{margin-top:10px}
.estate-submodules{display:block;padding:10px 14px}.estate-submodules summary{font-weight:600;cursor:pointer}.estate-submodules nav{margin-top:10px;flex-wrap:wrap;overflow:visible}
.estate-tabs{flex-wrap:wrap;overflow:visible;margin-bottom:12px;gap:3px}.estate-tabs button{padding:8px 10px}
.estate-kpis{gap:10px;margin-bottom:12px}.estate-kpis>.card,.estate-kpis>button{padding:12px 16px;min-height:0}.estate-kpis b{font-size:25px;margin:4px 0}.estate-kpis small{color:#526478}
.estate-toolbar{justify-content:flex-start;align-items:center;background:white;padding:12px;border:1px solid #dce5ed;border-radius:10px;gap:10px}.estate-toolbar input{flex:1;min-width:200px}.estate-toolbar .primary{margin-left:auto}
.estate-toolbar label{display:flex;align-items:center;gap:6px;font-size:13px}.estate-toolbar input[type=checkbox]{width:16px;min-width:16px;flex:0 0 16px}
.estate-prospect-list{display:block}.estate-prospect-list .prospect-list-card{display:grid;grid-template-columns:1.1fr 1fr .8fr;gap:14px 22px;padding:16px;margin-bottom:10px}
.prospect-list-card section{min-width:0}.prospect-list-card section>small:first-child{display:block;font-size:10px;letter-spacing:.8px;color:#66788a;margin-bottom:7px}.prospect-list-card h3{font-size:17px;margin:0 0 6px}.prospect-list-card p{margin:6px 0}.prospect-list-card section>b{display:block}.prospect-list-card footer{grid-column:1/-1;display:flex;gap:8px;align-items:center;border-top:1px solid #e3eaf0;padding-top:10px}.prospect-list-card footer .primary{background:#142e46;color:#fff;border-color:#142e46}.prospect-more summary{padding:8px;cursor:pointer;font-size:13px}.prospect-due{color:#915800;background:#fff4d9;padding:5px 8px;border-radius:5px}
#estateContent table{width:100%;table-layout:fixed}#estateContent td,#estateContent th{white-space:normal;overflow-wrap:anywhere;font-size:13px;padding:10px}#estateContent .table-wrap{max-height:none}
#app:has(.crm-pilot) .crm-pilot{padding:14px;margin-bottom:12px}#app:has(.crm-pilot) .crm-pilot-head h2{font-size:19px}#app:has(.crm-pilot) .crm-pilot-head p{font-size:12px}
#app:has(.crm-pilot) .crm-pilot-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}#app:has(.crm-pilot) .crm-pilot-card{min-height:0;padding:10px 12px}#app:has(.crm-pilot) .crm-pilot-card span{min-height:0;font-size:12px}#app:has(.crm-pilot) .crm-pilot-card strong{font-size:23px;margin:5px 0}#app:has(.crm-pilot) .crm-pilot-card small{font-size:11px}
#app:has(.crm-pilot) .toolbar{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px}#app:has(.crm-pilot) .toolbar input,#app:has(.crm-pilot) .toolbar select{min-width:130px;max-width:100%}#app:has(.crm-pilot) .toolbar input[type=search]{flex:1}
.commercial-bulk{border:1px solid #d9e3ed;border-radius:8px;padding:10px 12px;margin:10px 0;background:#fff}.commercial-bulk>summary{font-weight:600;cursor:pointer;color:#526478}.commercial-bulk .crm-bulk-bar{margin-top:10px}
#app:has(.crm-pilot) table{width:100%;table-layout:fixed}#app:has(.crm-pilot) th,#app:has(.crm-pilot) td{white-space:normal;overflow-wrap:anywhere;font-size:13px;padding:10px}#app:has(.crm-pilot) th:first-child,#app:has(.crm-pilot) td:first-child{width:28px}#app:has(.crm-pilot) td a{display:inline-block;margin:3px 5px}#app:has(.crm-pilot) tbody tr:nth-child(even){background:#f8fafc}
#app:has(.crm-pilot) .crm-offers-actions button{border:1px solid #cedae6;border-radius:6px;background:white;color:#19354f;padding:6px 10px}
@media(max-width:800px){.estate-prospect-list .prospect-list-card{grid-template-columns:1fr}.prospect-list-card footer{flex-wrap:wrap}.estate-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.estate-tabs{position:static}.estate-toolbar input{min-width:0;width:100%}.estate-grid{grid-template-columns:1fr}#app:has(.crm-pilot) .crm-pilot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#app:has(.crm-pilot) table{min-width:700px}#app:has(.crm-pilot) .table-wrap{overflow-x:auto}.estate-submodules nav{width:100%}}
