: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}
