:root{--ink:#1b3231;--dark:#132b2d;--green:#1b6b5b;--greenbg:#e8f3eb;--orange:#d68b47;--bg:#f5f6f1;--surface:#fff;--line:#e2e7df;--muted:#6b7b77;--shadow:0 12px 35px rgba(23,44,38,.07);--radius:18px;font-family:'DM Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:var(--green);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #cda66f;outline-offset:2px}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{font-family:Manrope,system-ui,sans-serif;letter-spacing:-.035em}h1{font-size:30px;margin-bottom:7px}h2{font-size:21px;margin-bottom:0}h3{font-size:16px;margin-bottom:8px}small{font-size:12px}.app-shell{display:flex;min-height:100vh}.sidebar{width:256px;flex:0 0 256px;background:var(--dark);color:#d3e2dc;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:28px 18px 18px}.brand{display:flex;align-items:center;gap:13px;padding:3px 11px 30px}.brand-mark{height:43px;width:43px;border:1px solid #4d7872;display:grid;place-items:center;border-radius:13px;color:#dfb277;background:#204342;font-size:28px}.brand-name{font-family:Manrope;font-weight:800;color:#fff;font-size:16px;letter-spacing:.02em;line-height:1.05}.brand-name em{display:block;font-size:11px;color:#dfb277;letter-spacing:.23em;font-style:normal;margin-top:5px}.nav-label{font-weight:700;letter-spacing:.17em;color:#72938c;font-size:10px;margin:6px 13px 10px}.nav-btn{width:100%;border:0;background:transparent;color:#b9cec7;display:flex;align-items:center;gap:12px;padding:13px 14px;margin:3px 0;border-radius:12px;text-align:left;font-weight:650}.nav-btn:hover{background:#214542;color:#fff}.nav-btn.active{background:#31584f;color:#fff}.nav-btn svg{width:19px;height:19px;flex-shrink:0}.nav-btn .count{margin-left:auto;background:#e4b978;border-radius:7px;padding:2px 6px;font-size:11px;color:#17352f}.sidebar-spacer{flex:1}.sidebar-bottom{border-top:1px solid #34524d;padding-top:15px}.account-tile{border:1px solid #3b5c56;background:#1a3737;border-radius:14px;padding:12px;display:flex;gap:10px;align-items:center}.account-avatar{border-radius:11px;height:36px;width:36px;display:grid;place-items:center;background:#dba65c;color:#18332e;font-weight:800}.account-tile strong{color:white;display:block;font-size:13px}.account-tile span{font-size:11px;color:#9db7ae}.main{min-width:0;flex:1}.topbar{height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;border-bottom:1px solid #e5e8e2;background:rgba(255,255,255,.65)}.topbar-left{color:#758781;font-weight:600;font-size:13px}.topbar-left strong{color:#24413a}.topbar-right{display:flex;gap:9px;align-items:center}.env-badge{display:inline-flex;align-items:center;gap:7px;background:#f3eee1;color:#896635;padding:9px 11px;border-radius:20px;font-size:11px;font-weight:750}.env-badge:before{content:'';width:7px;height:7px;background:#d5a157;border-radius:50%}.viewport{max-width:1440px;margin:auto;padding:34px 38px 70px}.heading-row{display:flex;justify-content:space-between;gap:15px;align-items:flex-end;margin-bottom:25px}.eyebrow{font-size:11px;letter-spacing:.19em;font-weight:800;text-transform:uppercase;color:#8d9d95;margin-bottom:9px}.subtitle{color:var(--muted);font-size:14px;line-height:1.5;margin:0}.btn{border:1px solid #dce3dc;background:white;color:#27413b;border-radius:11px;padding:11px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:750;min-height:43px;white-space:nowrap}.btn:hover{background:#f7faf7}.btn svg,.ico{width:17px;height:17px;vertical-align:middle}.btn.primary{background:var(--green);color:white;border-color:var(--green)}.btn.primary:hover{background:#145548}.btn.dark{background:var(--dark);border-color:var(--dark);color:white}.btn.ghost{border-color:transparent;background:transparent}.btn.warn{border-color:#e5cbc2;color:#ab513c;background:#fff7f4}.btn.tiny{min-height:33px;padding:6px 10px;font-size:12px}.btn.square{padding:11px}.button-cluster{display:flex;gap:10px;flex-wrap:wrap}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.panel.pad{padding:22px}.notice{padding:13px 17px;border-radius:13px;font-size:13px;line-height:1.5;display:flex;gap:10px;align-items:flex-start}.notice svg{width:19px;height:19px;flex-shrink:0}.notice.amber{border:1px solid #ecdfc8;background:#fff7e9;color:#765b34}.notice.green{border:1px solid #d1e6d7;background:#f1f8f2;color:#35624d}.notice.slim{margin-bottom:20px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:0 0 23px}.metric{padding:22px;min-height:142px;position:relative;overflow:hidden}.metric .metric-icon{position:absolute;right:18px;top:18px;width:41px;height:41px;border-radius:11px;background:#eef3ed;display:grid;place-items:center;color:#4c806c}.metric .metric-icon svg{width:20px;height:20px}.metric-label{color:#7e8f88;font-size:12px;font-weight:700}.metric-number{font-size:32px;font-family:Manrope;font-weight:800;letter-spacing:-.04em;margin-top:23px}.metric-foot{font-size:11px;color:#8b9b94;margin-top:5px}.dashboard-grid{display:grid;grid-template-columns:1.45fr .95fr;gap:19px}.section-head{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:19px}.section-head p{color:var(--muted);margin:5px 0 0}.link-btn{border:0;background:transparent;color:var(--green);font-weight:700;font-size:12px}.opp-list{display:flex;flex-direction:column;gap:12px}.opp-item{display:flex;gap:14px;align-items:center;padding:13px;border:1px solid var(--line);border-radius:14px;cursor:pointer;transition:.2s}.opp-item:hover{border-color:#a9c5b5;background:#fafdfa}.type-thumb{width:60px;height:60px;flex:0 0 60px;border-radius:12px;display:grid;place-items:center;font-size:25px;background:#eaf0e7}.type-thumb.maison{background:#f1ece2}.type-thumb.terrain{background:#e3eee3}.type-thumb.appartement{background:#e8e9f2}.type-thumb.local{background:#f3e9e3}.opp-item strong{font-size:13px;display:block}.opp-item .minor{font-size:11px;color:#809089;margin:4px 0}.opp-end{text-align:right;margin-left:auto;flex-shrink:0}.opp-end b{display:block;font-size:13px}.score{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;min-width:49px;height:29px;font-weight:800;font-size:12px;border:1px solid #c6ddcc;color:#277556;background:#eaf6ed}.score.mid{color:#9a6a25;background:#fff4df;border-color:#f0e0c0}.score.low{color:#a5604f;background:#fff0eb;border-color:#edd1c7}.score.none{color:#7e8e87;background:#f2f5f2;border-color:#e1e7e1}.inline-note{font-size:12px;color:var(--muted);line-height:1.6}.bar-row{margin:14px 0}.bar-meta{display:flex;justify-content:space-between;margin-bottom:7px;font-size:12px;font-weight:700}.bar-meta span:last-child{color:#778a7e}.bar-track{height:9px;background:#edf1eb;border-radius:20px;overflow:hidden}.bar-fill{height:100%;background:#427c6b;border-radius:20px}.bar-row:nth-child(3) .bar-fill{background:#b2a579}.bar-row:nth-child(4) .bar-fill{background:#7a9a87}.bar-row:nth-child(5) .bar-fill{background:#adbcb1}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:20px}.quick-actions button{padding:14px;text-align:left;border:1px solid #dde5dd;border-radius:12px;background:#fafcf9;font-weight:700;color:#2c4d42}.quick-actions svg{display:block;margin-bottom:7px;width:21px;height:21px}.filters{padding:18px;margin-bottom:16px}.field-grid{display:grid;grid-template-columns:minmax(230px,2fr) repeat(3,minmax(135px,1fr));gap:11px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field>label{font-weight:750;font-size:12px;color:#667971}.field input,.field select,.field textarea{width:100%;border:1px solid #dce4dc;border-radius:10px;background:#fff;min-height:42px;padding:10px 12px;color:var(--ink)}.field textarea{min-height:82px;resize:vertical}.field input::placeholder,.field textarea::placeholder{color:#a0afa8}.search-wrapper{position:relative}.search-wrapper input{padding-left:39px}.search-wrapper svg{position:absolute;left:12px;top:11px;width:18px;height:18px;color:#8fa096}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0}.toolbar .subtitle{font-size:12px}.toolbar-actions{display:flex;gap:8px;align-items:center}.toolbar select{padding:9px 11px;border:1px solid #dee5de;border-radius:10px;color:#365348;background:white}.list-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.property-card{overflow:hidden;cursor:pointer;transition:.2s}.property-card:hover{transform:translateY(-2px);box-shadow:0 15px 38px rgba(21,50,37,.11)}.property-banner{height:138px;position:relative;display:flex;justify-content:center;align-items:center;font-size:64px;background:linear-gradient(135deg,#e8efe7,#cfded1)}.property-banner.maison{background:linear-gradient(135deg,#eaddcc,#f3e7d5)}.property-banner.terrain{background:linear-gradient(135deg,#dae8d3,#eff0d6)}.property-banner.appartement{background:linear-gradient(135deg,#e2e4ef,#d2dbe7)}.property-banner.local{background:linear-gradient(135deg,#efe3d7,#dcdcd8)}.flag{font-size:10px;font-weight:800;letter-spacing:.025em;background:rgba(255,255,255,.95);color:#40564c;position:absolute;top:12px;left:12px;border-radius:7px;padding:6px 9px}.favorite{position:absolute;right:12px;top:12px;border:0;background:rgba(255,255,255,.92);border-radius:9px;width:33px;height:33px;display:grid;place-items:center;font-size:20px;color:#8f9b93}.favorite.yes{color:#cb903f}.property-content{padding:18px}.property-label{font-size:11px;font-weight:800;color:#4f806c;letter-spacing:.06em;text-transform:uppercase}.property-title{font-size:16px;line-height:1.4;font-weight:800;margin:6px 0}.property-loc{color:#819087;font-size:12px}.property-price{font-family:Manrope;font-size:23px;letter-spacing:-.035em;font-weight:800;margin:14px 0}.property-meta{display:flex;gap:12px;flex-wrap:wrap;color:#71847b;font-size:11px;padding-bottom:13px}.property-meta span{display:flex;align-items:center;gap:5px}.property-meta svg{height:14px;width:14px}.property-foot{display:flex;align-items:center;justify-content:space-between;padding-top:14px;border-top:1px solid #edf0eb}.property-foot .profit{font-size:12px;color:#728379}.property-foot .profit strong{display:block;font-size:14px;color:#237451;margin-top:4px}.property-foot .profit strong.negative{color:#b76655}.table-scroll{overflow-x:auto}.simple-table{width:100%;border-collapse:collapse;text-align:left}.simple-table th{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#84958c;padding:15px;border-bottom:1px solid var(--line);white-space:nowrap}.simple-table td{padding:15px;border-bottom:1px solid #edf1ed}.simple-table tr:last-child td{border-bottom:none}.simple-table tr[data-id]{cursor:pointer}.simple-table tr[data-id]:hover{background:#f9fcf9}.status{display:inline-flex;align-items:center;font-size:11px;font-weight:700;color:#437563;background:#ebf4ed;padding:7px 10px;border-radius:50px;white-space:nowrap}.status.offer{background:#fcf1df;color:#936c32}.status.rejected{background:#f6eeee;color:#9a6762}.status.won{background:#d8f1e2;color:#206f44}.empty-state{border:1px dashed #cfdbd0;border-radius:16px;padding:50px 20px;text-align:center;background:#fbfcf8;color:#71847a}.empty-state .empty-icon{font-size:38px;margin-bottom:11px}.empty-state strong{display:block;color:#2b433b;font-size:16px}.empty-state p{margin:7px auto 15px;max-width:410px;line-height:1.6}.pipeline{display:flex;overflow-x:auto;gap:15px;padding:4px 0 20px;align-items:flex-start}.pipeline-col{min-width:248px;max-width:248px;background:#edf1ea;border:1px solid #e1e8df;border-radius:15px;padding:12px}.pipeline-head{display:flex;justify-content:space-between;align-items:center;padding:6px 5px 15px}.pipeline-head b{font-size:13px}.pipeline-head span{background:#dbe6dc;border-radius:20px;padding:4px 8px;font-size:11px;font-weight:800}.kanban-card{background:white;border:1px solid #e3eae1;border-radius:12px;padding:13px;margin-bottom:10px;cursor:pointer}.kanban-card:hover{border-color:#9bbcac}.kanban-card small{display:block;color:#86978c;margin-top:7px}.kanban-card .card-price{font-weight:800;margin-top:8px}.calc-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:20px}.calc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.calc-fields .wide{grid-column:1/-1}.result-tile{padding:20px;background:var(--dark);border-radius:15px;color:white}.result-tile .result-label{color:#b4c9be;font-size:12px}.result-tile .result-number{font-family:Manrope;font-weight:800;font-size:31px;letter-spacing:-.04em;margin:10px 0}.result-tile.good .result-number{color:#98e0b3}.result-tile.bad .result-number{color:#ffbcb1}.calc-line{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #e9eeea;font-size:13px}.calc-line:last-child{border:0}.section-info{font-size:12px;color:#7d8d85;line-height:1.6;margin:10px 0 0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.setting-section{padding:22px}.setting-section h3{margin-bottom:8px}.setting-section p{color:var(--muted);line-height:1.6}.setting-actions{display:flex;gap:8px;flex-wrap:wrap}.form-help{font-size:11px;color:#8c9d92;line-height:1.5}.small-pill{display:inline-flex;border:1px solid #e2e8e1;padding:5px 8px;border-radius:9px;font-size:11px;color:#60766b}.modal-shade{position:fixed;inset:0;background:rgba(13,32,29,.59);z-index:20;display:flex;justify-content:center;align-items:flex-start;overflow-y:auto;padding:42px 16px}.modal{width:min(760px,100%);background:#fff;border-radius:20px;box-shadow:0 30px 100px rgba(0,0,0,.3);overflow:hidden}.modal.wide{width:min(970px,100%)}.modal-header{padding:21px 25px;border-bottom:1px solid #e9eee8;display:flex;align-items:center;justify-content:space-between;gap:15px}.modal-header h2{font-size:21px;margin:0}.icon-button{border:1px solid #e4e9e2;background:#fff;border-radius:9px;height:34px;width:34px;display:grid;place-items:center;font-size:20px;line-height:1}.modal-body{padding:23px 25px}.modal-actions{padding:15px 25px;background:#f9fbf8;border-top:1px solid #e5ebe4;display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.form-grid .full{grid-column:1/-1}.group-title{grid-column:1/-1;margin:16px 0 -3px;font-size:13px;font-weight:800;color:#386b5c;border-bottom:1px solid #e5eae4;padding-bottom:9px}.detail-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.detail-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:23px 0}.detail-kpi{background:#f3f7f1;border-radius:13px;padding:16px}.detail-kpi label{color:#738578;font-size:11px;display:block}.detail-kpi strong{font-size:20px;display:block;margin-top:7px;font-family:Manrope}.detail-kpi.positive strong{color:#22714e}.detail-kpi.negative strong{color:#b75e4b}.detail-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px}.detail-columns p{font-size:13px;line-height:1.6}.dl-row{display:flex;justify-content:space-between;gap:15px;padding:9px 0;border-bottom:1px solid #eaf0e8;font-size:12px}.dl-row span{color:#7e9086}.dl-row strong{font-weight:800;text-align:right}.scenario-tabs{display:flex;gap:7px;flex-wrap:wrap}.scenario-tabs button{padding:8px 13px;background:#f5f7f4;border:1px solid #dce5da;border-radius:8px;font-size:12px;font-weight:750}.scenario-tabs button.active{color:white;background:#1d6a5a;border-color:#1d6a5a}.toast{position:fixed;bottom:26px;right:24px;z-index:100;background:#1c4038;color:#fff;padding:13px 18px;border-radius:12px;box-shadow:var(--shadow);font-weight:700;font-size:13px;max-width:340px}.mobile-nav{display:none}.hide-mobile{display:inline}.section-bottom{margin-top:18px}.error-text{color:#ba4d42;font-size:12px;font-weight:700}.tag-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.tag{background:#f1f4ef;color:#6d8073;padding:6px 9px;border-radius:8px;font-size:11px}.app-footer{margin:25px 0;color:#9aaba2;font-size:11px;text-align:center}.print-only{display:none}
@media(max-width:1180px){.sidebar{width:224px;flex-basis:224px}.viewport{padding:28px 26px 65px}.topbar{padding:0 26px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}} 
@media(max-width:780px){.sidebar{display:none}.main{width:100%}.topbar{height:58px;padding:0 18px}.viewport{padding:24px 15px 110px}.heading-row{align-items:flex-start}.heading-row h1{font-size:25px}.heading-row .button-cluster{justify-content:flex-end}.hide-mobile{display:none}.topbar-left{font-size:11px}.env-badge{padding:7px;font-size:10px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:15;display:flex;align-items:stretch;background:#fff;border-top:1px solid #dce4db;padding:7px max(5px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));box-shadow:0 -3px 24px rgba(12,48,31,.07)}.mobile-nav button{flex:1;min-width:0;border:0;background:transparent;color:#81928a;font-size:10px;font-weight:750;display:flex;flex-direction:column;align-items:center;gap:4px;padding:5px 2px}.mobile-nav button svg{height:21px;width:21px}.mobile-nav button.active{color:#1b6b5b}.metrics{gap:10px}.metric{min-height:122px;padding:15px}.metric-number{font-size:26px}.metric-icon{display:none!important}.dashboard-grid,.calc-layout,.settings-grid{grid-template-columns:1fr}.list-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.property-content{padding:13px}.property-banner{height:115px;font-size:47px}.property-title{font-size:13px}.property-price{font-size:20px}.property-meta{gap:7px}.property-foot{align-items:flex-start;gap:5px}.property-foot .profit strong{font-size:12px}.modal-shade{padding:0;align-items:stretch}.modal,.modal.wide{min-height:100%;width:100%;border-radius:0}.modal-body{padding:20px 16px 85px}.modal-header{padding:16px}.modal-actions{position:sticky;bottom:0;z-index:2;padding:12px 16px}.detail-columns{grid-template-columns:1fr}.detail-kpis{gap:7px}.detail-kpi{padding:11px}.detail-kpi strong{font-size:16px}.form-grid{gap:12px}.form-grid .mobile-full{grid-column:1/-1}.toast{right:15px;bottom:88px;left:15px;text-align:center;max-width:unset}}
@media(max-width:480px){.heading-row{flex-direction:column;align-items:stretch}.heading-row .button-cluster{justify-content:stretch}.heading-row .button-cluster .btn{flex:1}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-label{font-size:11px}.metric-foot{font-size:10px}.list-grid{grid-template-columns:1fr}.property-banner{height:142px}.field-grid,.calc-fields,.form-grid{grid-template-columns:1fr}.form-grid .full,.form-grid .mobile-full,.calc-fields .wide{grid-column:1}.toolbar{align-items:flex-start;flex-direction:column}.toolbar-actions{width:100%;justify-content:space-between}.detail-kpis{grid-template-columns:1fr 1fr}.detail-kpis .detail-kpi:last-child{grid-column:1/-1}}
@media print{body{background:white}.sidebar,.mobile-nav,.topbar,.viewport,#toast-root,.modal-header,.modal-actions,.no-print{display:none!important}.modal-shade{position:static;background:none;padding:0;display:block;overflow:visible}.modal,.modal.wide{box-shadow:none;border-radius:0;width:100%}.modal-body{padding:0}.print-only{display:block}.detail-columns{grid-template-columns:1fr 1fr}.detail-kpis{break-inside:avoid}.detail-kpi{-webkit-print-color-adjust:exact;print-color-adjust:exact}}

.property-loc svg{width:14px;height:14px;vertical-align:middle;margin-right:3px;flex-shrink:0}

/* Carte & DVF / V0.2 */
.market-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(285px,.8fr);gap:18px;align-items:start}
.market-map-card,.market-controls{min-width:0}.market-map{height:510px;min-height:320px;border-radius:14px;background:#e7eee8;overflow:hidden;isolation:isolate}
.map-placeholder{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:20px;line-height:2;color:#547369;background:repeating-linear-gradient(35deg,#e9f0e9,#e9f0e9 20px,#e3ebe3 20px,#e3ebe3 40px)}
.map-placeholder small{font-size:11px;color:#809588}.map-legend{display:flex;gap:16px;flex-wrap:wrap;margin-top:14px;color:#74847b;font-size:12px}
.dot{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:4px;background:#198f75;vertical-align:middle}.dot.gold{background:#e9b66c}.dot.outline{background:transparent;border:2px solid #819e8a}
.market-controls .field{margin-bottom:13px}.market-controls .field select{min-width:0;width:100%}.market-buttons{display:flex;flex-direction:column;gap:9px;margin:16px 0}.market-state{padding:12px;background:#f5f8f2;border:1px solid #e1eae0;border-radius:12px}.market-kpis{display:grid;grid-template-columns:1fr 1fr;gap:9px}.market-kpis div{min-width:0}.market-kpis div:last-child{grid-column:1/-1}.market-kpis small{display:block;color:#71837a;font-size:11px;margin-bottom:3px}.market-kpis b{display:block;font-family:Manrope;font-size:20px}.market-message{margin:10px 0 0;color:#526d60;font-size:12px;line-height:1.5}.small-meta{font-size:11px;color:#899b8f;line-height:1.55;margin:10px 0 0}.market-note{margin:13px 0 0;font-size:12px;color:#60756b;line-height:1.9}.market-results{min-width:0}.table-scroll{overflow-x:auto}.market-table{border-collapse:collapse;min-width:730px;width:100%;font-size:12px}.market-table th{text-align:left;color:#678075;font-weight:750;background:#f3f7f2;padding:12px 9px}.market-table td{border-bottom:1px solid #e5ece3;padding:12px 9px}.market-table tr:hover{background:#f7faf5}.popup-title{font-weight:800}.popup-button{background:#185c50;color:#fff;border:0;border-radius:8px;padding:7px 10px;margin-top:9px}.leaflet-container{font-family:Manrope,system-ui,sans-serif;font-size:12px}.leaflet-popup-content{line-height:1.5}
@media(max-width:1150px){.market-layout{grid-template-columns:1fr}.market-map{height:410px}.market-buttons{flex-direction:row}}
@media(max-width:780px){.market-map{height:390px}.market-buttons{flex-direction:column}.mobile-nav button{font-size:9px;letter-spacing:-.02em}.mobile-nav button svg{width:19px;height:19px}.market-controls{padding:18px}.market-map-card{padding:15px}.map-legend{gap:10px}}
@media(max-width:430px){.market-map{height:320px}.market-map-card .section-head{align-items:flex-start;gap:9px}.market-map-card .section-head h2{font-size:17px}.market-map-card .section-head .btn{font-size:11px;padding:7px}.mobile-nav button{font-size:8.5px}}

/* MoteurImmo V0.3 */
.live-panel,.live-results{margin-bottom:20px}
.live-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.live-fields .field{min-width:0}
.live-fields .field select,.live-fields .field input{width:100%;min-width:0}
.live-fields small{display:block;color:#7e9086;font-size:10px;line-height:1.55;margin-top:5px}
.live-submit{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:18px}
.live-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:18px}
.live-card{padding:18px;border:1px solid #e1e9dd;border-radius:14px;background:#fff;min-width:0;display:flex;flex-direction:column;gap:10px}
.live-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.live-label{font-size:10px;font-weight:850;letter-spacing:.04em;text-transform:uppercase;color:#27795e;background:#e6f4eb;padding:6px 9px;border-radius:7px}
.live-origin{color:#7d9185;font-size:11px}
.live-card h3{margin:0;font-size:15px;line-height:1.4;color:#19352c;overflow-wrap:anywhere}
.live-location{font-size:12px;color:#778e80}
.live-price{font-family:Manrope,sans-serif;font-size:23px;font-weight:850;color:#213b2d}
.live-sub{font-size:12px;color:#638075}
.live-tags{display:flex;gap:6px;flex-wrap:wrap}
.live-tags span{padding:5px 8px;background:#ecf4e8;color:#356b42;border-radius:6px;font-size:11px;font-weight:700}
.live-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:auto;padding-top:8px}
.live-actions a{text-decoration:none}
.live-pagination{display:flex;align-items:center;justify-content:center;gap:15px;margin-top:20px}
@media(max-width:1180px){.live-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.live-grid{grid-template-columns:1fr}.mobile-nav{overflow-x:auto}.mobile-nav button{flex:1 0 46px;white-space:nowrap;letter-spacing:-.03em}}
@media(max-width:500px){.live-fields{grid-template-columns:1fr}.live-card{padding:15px}.live-submit .btn{width:100%;justify-content:center}}

/* V0.3 opt-in search clarity */
.live-results .field{margin-bottom:8px}.live-results .field select{background:#fff;border:1px solid #dce4dc;border-radius:10px;padding:8px 11px}.notice.slim .btn{flex-shrink:0}@media(max-width:500px){.notice.slim{flex-wrap:wrap}.notice.slim .btn{margin-left:auto}}

.free-panel{margin-bottom:20px}.free-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:12px 0}.free-links{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.free-panel .small-meta{margin:0;color:#7c9082;line-height:1.55}@media(max-width:500px){.free-fields{grid-template-columns:1fr}}

/* STABIMMO RADAR v0.4 - opportunites expliquees (sans impact sur les dossiers V0.3) */
.preset-wrap{padding:10px 0 17px;border-bottom:1px solid #e8eee6;margin-bottom:16px}
.preset-wrap .small-meta{margin:0 0 8px}
.preset-buttons{display:flex;flex-wrap:wrap;gap:7px}
.preset-buttons .btn{font-size:11px;background:#edf5ed;border:1px solid #cce0d4;color:#215b49}
.preset-buttons .btn:hover{background:#dcefe1}
.preset-feedback{min-height:17px;margin:8px 0 0!important}
.opportunity-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.opportunity-overview>div{border:1px solid #e3ebe2;border-radius:12px;padding:13px 15px;background:#f6faf5;display:flex;align-items:center;gap:10px}
.opportunity-overview strong{font-family:Manrope,system-ui,sans-serif;font-size:23px;color:#22634f}
.opportunity-overview span{color:#60796b;font-size:11px;line-height:1.35}
.opportunity-score{background:#f4f6f3;border:1px solid #e4e9e2;border-radius:11px;padding:10px 12px;display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:center}
.opportunity-score>div:first-child{display:flex;flex-direction:column;gap:3px}
.opportunity-score strong{font-family:Manrope,system-ui,sans-serif;font-size:27px;line-height:1.15;color:#3a5146;white-space:nowrap}
.opportunity-score strong small{font-size:12px;color:#738778}
.opportunity-score-label{font-size:10px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:#718378}
.opportunity-score-side{display:flex;flex-direction:column;gap:4px;line-height:1.4}
.opportunity-score-side b{color:#31443a;font-size:13px}
.opportunity-score-side span{color:#7d9185;font-size:11px}
.opportunity-score.high{background:#e8f6ec;border-color:#c5e7cc}
.opportunity-score.high strong,.opportunity-score.high .opportunity-score-side b{color:#196643}
.opportunity-score.medium{background:#f6f3e7;border-color:#ece1b8}
.opportunity-score.medium strong{color:#7b601c}
.opportunity-score.partial{background:#f4f5f7;border-color:#e3e6e9}
.opportunity-score.partial strong{color:#5d6871}
.opportunity-details{border:1px solid #e1e9e2;border-radius:9px;padding:9px 11px;background:#fbfcfa;color:#345345}
.opportunity-details summary{cursor:pointer;font-size:12px;font-weight:750;line-height:1.5}
.opportunity-details[open] summary{margin-bottom:13px}
.score-factors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px}
.score-factor{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;font-size:11px;line-height:1.4;color:#596e61}
.score-factor b{color:#345245}
.score-track{height:5px;border-radius:10px;background:#e4ece4;overflow:hidden;grid-column:1/-1}
.score-track i{height:100%;display:block;background:#2b7e5d;border-radius:10px}
.opportunity-checks{font-size:11px;color:#5a7363;line-height:1.55;border-top:1px solid #e5ece5;margin-top:12px;padding-top:10px}
.opportunity-checks b{font-size:11px;color:#365445}
.opportunity-checks ul{margin:6px 0 8px;padding-left:17px}
.opportunity-checks li{margin:3px 0}
.opportunity-checks p{margin:5px 0;color:#86612d}
.live-results .notice.slim{padding:12px 14px;background:#f7f8ef;margin:13px 0 0;color:#61725c;line-height:1.65}
@media(max-width:900px){.opportunity-overview>div{padding:10px}.opportunity-overview strong{font-size:19px}}
@media(max-width:600px){.opportunity-overview{gap:7px}.opportunity-overview>div{display:block;text-align:center;padding:9px 5px}.opportunity-overview strong{display:block;margin-bottom:5px}.opportunity-overview span{font-size:10px}.score-factors{grid-template-columns:1fr}.opportunity-score strong{font-size:25px}}
