:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#252741;background:#efebfb;--purple:#5b5cf6;--lavender:#8f76ff;--ink:#252741;--muted:#7b80a0;--rim:rgba(255,255,255,.88);--glass:rgba(255,255,255,.72);--grad:linear-gradient(135deg,#f9f5ff 0%,#f0e7ff 54%,#f6f2ff 100%)}*{box-sizing:border-box}body{margin:0;min-height:100svh;background:radial-gradient(circle at 15% 5%,#ddd6ff 0%,transparent 38%),radial-gradient(circle at 95% 80%,#d7e7ff 0%,transparent 36%),#f0edfa}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ae9bff;outline-offset:2px}a{text-decoration:none;color:inherit}.svg-symbols{position:absolute;width:0;height:0;overflow:hidden}.ico{width:20px;height:20px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.desktop-ambient{position:fixed;z-index:0;border-radius:50%;pointer-events:none;filter:blur(22px)}.desktop-ambient-a{width:380px;height:380px;top:11%;left:8%;background:radial-gradient(circle,#c7b8fc55,transparent 68%)}.desktop-ambient-b{width:420px;height:420px;bottom:2%;right:8%;background:radial-gradient(circle,#d7e5ff88,transparent 68%)}.desktop-label{position:absolute;top:31px;left:48px;display:flex;flex-direction:column;gap:22px;color:#545979;font-size:12px;letter-spacing:.045em;z-index:1}.desktop-label a{display:flex;align-items:center;gap:11px;font-family:'Inter Tight',Inter,sans-serif;color:#292c50;font-weight:900;font-size:27px;line-height:1}.desktop-label img{width:48px;height:48px}.desktop-label small{display:block;margin-top:4px;font:500 10px Inter,sans-serif;letter-spacing:.04em;text-transform:uppercase}.period{color:#8f76ff}.page-wrap{min-height:100svh;display:flex;justify-content:center;align-items:flex-start;padding:23px 18px 28px;position:relative;z-index:1}.app-frame{position:relative;width:min(100%,540px);height:min(940px,calc(100svh - 46px));min-height:min(700px,calc(100svh - 46px));background:var(--grad);border:1px solid rgba(255,255,255,.95);border-radius:37px;box-shadow:0 45px 90px #38306f2d,0 7px 24px #554ba523;overflow:hidden}.app-frame::after{content:"";position:absolute;z-index:0;width:260px;height:260px;border-radius:50%;top:-90px;right:-100px;background:radial-gradient(circle,#b18bff30,transparent 72%);pointer-events:none}.app-edge{position:absolute;z-index:5;top:0;left:50%;transform:translateX(-50%);width:112px;height:5px;background:#e8ddfc;border-radius:0 0 7px 7px}.app-root{position:relative;z-index:1;width:100%;height:100%;overflow:hidden}.loading-app{height:100%;display:grid;place-items:center;color:#5b5cf6;font-weight:800}.app-viewport{height:100%;display:flex;flex-direction:column}.app-scroll{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:20px 17px 30px;scrollbar-width:thin;scrollbar-color:#d8cafa transparent}.app-scroll.with-nav{padding-bottom:14px}.app-nav{flex:0 0 auto;display:flex;gap:3px;padding:9px 13px max(10px,env(safe-area-inset-bottom));margin:0 14px 12px;background:#ffffffa6;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border:1px solid #fff;border-radius:25px;box-shadow:0 13px 40px #5044901b}.nav-item{flex:1;background:none;border:0;border-radius:17px;padding:8px 1px 6px;color:#8b90ad;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:11px;font-weight:800;min-width:0}.nav-item.active{color:#fff;background:linear-gradient(145deg,#6c63ff,#8f76ff);box-shadow:0 7px 15px #6c63ff37}.nav-item .ico{width:22px;height:22px}.glass{background:#ffffffb3;backdrop-filter:blur(20px);border:1px solid var(--rim);box-shadow:0 12px 25px rgba(70,52,127,.085),0 2px 6px #5545a50a;border-radius:25px}.greeting{padding:17px 18px}.hello-row{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:13px}.hello{font-family:'Inter Tight',Inter,sans-serif;font-size:22px;font-weight:900;color:#252741}.immo-chip{border:1px solid #dfd5ff;padding:6px 10px;border-radius:12px;color:#7552e2;background:#f5f0ff;font-size:10px;font-weight:900}.id-row{display:flex;align-items:center;gap:12px}.avatar{display:block;width:68px;height:68px;flex:0 0 auto;border-radius:50%;border:2px solid #fff;box-shadow:0 4px 12px #00000014;background:#f2e9ff;object-fit:cover}.avatar.client{width:49px;height:49px;border-radius:14px}.identity{min-width:0;flex:1}.name{color:var(--purple);font-family:'Inter Tight',Inter,sans-serif;font-size:19px;font-weight:900;line-height:1.18;overflow-wrap:anywhere}.name-line{display:flex;align-items:center;gap:5px}.name-line .ico{color:#5b5cf6;width:16px;height:16px}.tiny-label{font-weight:700;font-size:11px;color:#6f7495;margin:4px 0}.balance{font-family:'Inter Tight',Inter,sans-serif;color:#5b5cf6;font-size:23px;font-weight:900;line-height:1.15}.id-actions{display:flex;align-items:center;flex-direction:column;gap:7px}.round-action{width:39px;height:39px;border:0;border-radius:50%;display:grid;place-items:center;background:#ffffffbd;color:#635ced}.round-action.danger{color:#f16b8b}.round-action .ico{width:20px}.account-switch{width:100%;display:flex;align-items:center;gap:12px;margin-top:12px;margin-bottom:15px;background:#ffffff8c;padding:11px 15px;border:1px solid #fffe;box-shadow:0 6px 14px #51468a0a;border-radius:19px;text-align:left;color:var(--ink)}.account-switch .switch-icon{width:31px;height:31px;border-radius:11px;display:grid;place-items:center;background:linear-gradient(135deg,#e4dcff,#d1c5ff);color:#5b5cf6}.account-switch strong{display:block;font-size:12px;font-weight:900}.account-switch small{font-size:10px;color:#7b80a0}.account-switch>.ico{margin-left:auto;color:#8f76ff;width:18px}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:17px}.stat-box{min-height:109px;display:flex;align-items:center;gap:11px;padding:13px 11px;background:#ffffffa8;border:1px solid #fff;border-radius:23px;box-shadow:0 8px 15px #51468a0a;text-align:left;min-width:0}.stat-icon{height:44px;width:44px;border-radius:14px;color:white;display:grid;place-items:center;flex-shrink:0;box-shadow:0 8px 15px #6c63ff20}.grad-blue{background:linear-gradient(145deg,#74a7ff,#5b5cf6)}.grad-gold{background:linear-gradient(135deg,#ffb07c,#ffd16e)}.grad-purple{background:linear-gradient(135deg,#8a7bff,#b07cff)}.grad-pink{background:linear-gradient(135deg,#ffb58f,#ff8e9e)}.grad-aqua{background:linear-gradient(135deg,#5b8dff,#68c8ff)}.grad-green{background:linear-gradient(135deg,#63c88a,#8be1b0)}.grad-red{background:linear-gradient(135deg,#ff5e7a,#e53955)}.stat-copy{display:flex;flex-direction:column;min-width:0}.stat-copy small{font-weight:700;color:#6b7091;font-size:11px;line-height:1.2}.stat-copy strong{font-family:'Inter Tight',Inter,sans-serif;font-size:25px;color:#252741;line-height:1.3;font-weight:900}.section-label{display:flex;align-items:center;justify-content:space-between;margin:20px 2px 11px}.section-label h3{font-family:'Inter Tight',Inter,sans-serif;margin:0;color:#292d48;font-size:18px;font-weight:900}.mini-link{background:none;border:0;font-size:12px;font-weight:800;color:#8f76ff}.map-card{padding:16px 13px 13px}.card-head{display:flex;align-items:center;justify-content:space-between;gap:9px}.card-head h2{font-family:'Inter Tight',Inter,sans-serif;margin:0;font-size:21px;line-height:1.18;font-weight:900;color:#252741}.card-head .count{color:#8f76ff;white-space:nowrap;font-size:12px;font-weight:900}.card-head .green-pill{background:#8ac926;color:white;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:900;white-space:nowrap}.muted{font-size:12px;font-weight:600;color:#7b80a0;line-height:1.5;margin:7px 0 12px}.segmented{display:flex;padding:3px;background:#f1ebff;border:1px solid #e5dcff;border-radius:15px;margin-top:11px}.segmented button{flex:1;border:0;border-radius:11px;background:transparent;color:#77739e;font-weight:800;padding:10px 5px;font-size:12px;display:flex;align-items:center;justify-content:center;gap:7px}.segmented button.active{background:#fff;color:#6356f1;box-shadow:0 3px 10px #6b5c8b20}.segmented .ico{width:16px;height:16px}.filter-row{display:flex;gap:7px;margin:11px 0}.search{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid #e9e3fa;border-radius:14px;flex:1;min-width:0;padding:0 11px;color:#8f76ff}.search input{outline:0;border:0;background:transparent;width:100%;height:40px;min-width:0;font-size:12px;color:#30324d}.search input::placeholder{color:#a7a6be}.filter-select{max-width:133px;border:1px solid #e9e3fa;border-radius:13px;background:#fff;color:#6558a1;font-size:11px;font-weight:800;padding:0 9px}.map-wrap{height:255px;width:100%;border:2px solid #fff;border-radius:26px;overflow:hidden;box-shadow:0 10px 18px #00000015;position:relative;background:linear-gradient(132deg,#d2e8df,#d4ebfa)}.map-wrap .leaflet-container{height:100%;width:100%;font-family:Inter,sans-serif;z-index:1}.map-topbadge{position:absolute;top:11px;left:11px;z-index:1000;border-radius:999px;background:#8ac926;color:white;font-size:10px;font-weight:900;padding:7px 9px;box-shadow:0 5px 12px #8ac9264d}.map-topright{position:absolute;top:11px;right:11px;z-index:1000;border-radius:12px;background:#fffffff0;color:#7565df;font-size:10px;font-weight:900;padding:8px 10px;border:0}.map-placeholder{position:absolute;inset:0;display:grid;place-items:center;text-align:center;font-size:12px;color:#69667e;padding:25px}.map-footnote{font-size:10px;color:#8887a0;line-height:1.4;margin:9px 2px 0}.opp-list{display:grid;gap:8px}.opp-card,.file-card{border:1px solid #e8e2fa;border-radius:18px;padding:13px 12px;background:#ffffffcf;display:flex;align-items:center;gap:11px;width:100%;text-align:left;color:#252741}.opp-card strong,.file-card strong{display:block;font-size:13px;font-weight:900}.opp-card small,.file-card small{display:block;color:#7b80a0;font-size:11px;line-height:1.5;margin-top:4px}.opp-card .ico,.file-card .ico{color:#8f76ff;margin-left:auto}.tag{display:inline-block;border-radius:8px;background:#e9e1ff;color:#6856d8;padding:4px 7px;font-size:10px;font-weight:800}.section-empty{border:1px dashed #d6c9ed;background:#ffffff85;border-radius:18px;padding:20px 14px;text-align:center}.section-empty h4{font-size:14px;margin:8px 0;color:#33364f}.section-empty p{font-size:12px;line-height:1.5;color:#7b80a0;margin:0}.section-empty img{width:105px;max-height:100px;object-fit:contain}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.quick{display:flex;align-items:center;gap:10px;border:1px solid #fff;border-radius:19px;min-height:93px;background:#ffffffad;padding:12px;text-align:left;box-shadow:0 6px 14px #5545a50a;color:#252741}.quick.span2{grid-column:span 2}.quick .quick-icon{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;color:#fff;flex-shrink:0}.quick strong{font-weight:900;display:block;font-size:12px}.quick small{color:#7b80a0;display:block;margin-top:4px;line-height:1.3;font-size:10px;font-weight:500}.notice{display:flex;align-items:flex-start;gap:9px;background:#f1edff;border:1px solid #e5d9ff;border-radius:16px;color:#7165a7;padding:12px;font-size:11px;font-weight:600;line-height:1.55;margin:13px 0}.notice .ico{width:19px;height:19px;flex-shrink:0}.page-head{display:flex;align-items:center;gap:10px;margin-bottom:16px}.back{width:40px;height:40px;border:1px solid #fff;background:#fff9;border-radius:14px;display:grid;place-items:center;color:#6b63e8}.page-head h1{font-family:'Inter Tight',Inter,sans-serif;margin:0;font-weight:900;font-size:23px;line-height:1.2}.page-head p{margin:3px 0 0;color:#8a89aa;font-size:11px}.page-head .small-round{margin-left:auto}.big-panel{padding:17px;margin-bottom:13px}.big-panel h3{font-family:'Inter Tight',Inter,sans-serif;font-weight:900;font-size:17px;margin:0 0 12px}.thin-divider{height:1px;background:#e9e3f6;margin:12px 0}.profile-center{text-align:center}.profile-center .avatar{margin:4px auto 10px;width:93px;height:93px}.profile-center h2{margin:0;color:#252741;font-size:20px}.profile-center p{margin:7px 0 0;color:#7b80a0;font-size:12px}.profile-action{display:flex;align-items:center;gap:12px;padding:14px 4px;border:0;border-bottom:1px solid #eee9fa;background:transparent;width:100%;text-align:left;color:#333650;font-weight:750;font-size:13px}.profile-action .ico{color:#7068e6}.profile-action .chevron{margin-left:auto;color:#b3a9c4}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:14px;padding:13px 16px;font-weight:800;font-size:12px}.btn.primary{color:#fff;background:linear-gradient(130deg,#5b5cf6,#9b75ff);box-shadow:0 8px 18px #6c63ff29}.btn.secondary{color:#6756db;background:#f1ebff;border:1px solid #dcd3ff}.btn.full{width:100%}.btn .ico{width:17px;height:17px}.file-stack{display:grid;gap:9px}.file-card{padding:16px}.file-card .file-icon{width:38px;height:38px;border-radius:13px;display:grid;place-items:center;background:#e9e1ff;color:#635ced;flex-shrink:0}.file-info{flex:1;min-width:0}.file-state{font-size:10px;font-weight:900;white-space:nowrap;color:#8670df;background:#eee8ff;border-radius:999px;padding:6px 8px}.file-amount{font-size:13px;font-weight:900;color:#5b5cf6}.auth-page{height:100%;overflow-y:auto;padding:27px 20px 30px;scrollbar-width:thin}.brand-shield{width:98px;height:98px;margin:7px auto 19px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#5b5cf6,#a56eff);border-radius:30px;box-shadow:0 14px 35px #5b5cf64f}.brand-shield .ico{width:50px;height:50px;stroke-width:1.5}.auth-title{text-align:center;font-family:'Inter Tight',Inter,sans-serif;font-size:38px;font-weight:900;line-height:1.01;color:#7d62ff;letter-spacing:-.035em}.auth-title span{display:block;font-size:29px;color:#252741;line-height:1.1;letter-spacing:-.03em}.auth-subtitle{text-align:center;font-size:16px;color:#71759a;margin:10px 0 22px}.auth-glass{padding:16px 14px;margin:0 0 16px}.role-title{display:flex;align-items:center;gap:9px;font-size:15px;font-weight:900;margin:0 0 15px}.role-title .ico{color:#6b5cf6}.role-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.role-choice{border:1px solid #eee6ff;border-radius:17px;background:#ffffffba;padding:9px 5px 7px;display:flex;align-items:center;flex-direction:column;color:#454767;font-size:11px;font-weight:800}.role-choice.selected{border:2px solid #7469ff;background:#f2edff;color:#5b5cf6;padding:8px 4px 6px;box-shadow:0 4px 13px #7966fa1f}.role-choice img{width:68px;height:66px;object-fit:contain}.login-grid{display:grid;gap:9px}.login-grid label{font-size:12px;font-weight:800;color:#353955}.login-grid input,.quote-form input,.quote-form select,.quote-form textarea{border:1px solid #e0d8f7;border-radius:13px;background:#fff;padding:12px 13px;color:#282c48;width:100%;min-width:0;outline:none;font-size:13px}.login-grid input:focus,.quote-form input:focus,.quote-form select:focus,.quote-form textarea:focus{border-color:#8f76ff;box-shadow:0 0 0 3px #8f76ff1a}.login-grid .btn{margin-top:10px;padding:16px}.auth-extras{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:9px}.link-btn{background:none;border:0;color:#695ee4;font-size:11px;font-weight:800;padding:5px}.demo-split{display:flex;align-items:center;gap:12px;margin:15px 0 12px;color:#9b95b2;font-size:10px;font-weight:900;letter-spacing:.1em}.demo-split:before,.demo-split:after{content:"";height:1px;background:#e2d9f4;flex:1}.demo-ctas{display:grid;grid-template-columns:1fr 1fr;gap:9px}.demo-ctas button{border:1px solid #ddd4fc;background:#fff;border-radius:14px;padding:10px 8px;color:#635de8;font-size:12px;font-weight:850}.demo-ctas button.worker{background:#ede7ff}.auth-legal{text-align:center;color:#8a82a7;font-size:10px;line-height:1.5}.eyebrow{font-size:10px;letter-spacing:.12em;font-weight:900;color:#8f76ff}.pop-dialog{max-width:calc(100vw - 25px);width:430px;border:1px solid #fff;border-radius:25px;padding:24px 19px;background:var(--grad);box-shadow:0 25px 80px #27204e66;color:#252741}.pop-dialog::backdrop{background:#1c1b3780;backdrop-filter:blur(6px)}.pop-dialog h2{margin:6px 0 5px;font:900 23px 'Inter Tight',Inter,sans-serif}.pop-dialog p{font-size:13px;line-height:1.55;color:#696a8b}.dialog-x{float:right;width:33px;height:33px;border:0;border-radius:11px;background:#fff7;display:grid;place-items:center}.dialog-detail{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:16px 0}.dialog-detail>div{background:#fff9;border-radius:14px;padding:13px}.dialog-detail span{display:block;font-size:10px;font-weight:800;color:#8b8baf}.dialog-detail strong{display:block;font-size:13px;margin-top:5px}.modal-backdrop{position:fixed;inset:0;z-index:3000;background:#211d4d8a;backdrop-filter:blur(7px);display:grid;place-items:center;padding:10px}.modal-backdrop[hidden]{display:none}.modal-sheet{width:min(100%,600px);max-height:96svh;overflow:auto;border-radius:28px;background:var(--grad);border:1px solid #fff;padding:23px;box-shadow:0 27px 80px #211b4677}.sheet-head{display:flex;justify-content:space-between;align-items:start}.sheet-head h2{font:900 23px 'Inter Tight',Inter,sans-serif;margin:4px 0 0}.sheet-context{font-size:12px;color:#74769a;margin:12px 0 15px}.quote-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quote-form label{font-size:11px;color:#4e506d;font-weight:800;display:flex;flex-direction:column;gap:6px}.quote-form .wide{grid-column:1/-1}.quote-form .checks{background:#ffffffb1;border-radius:17px;padding:12px;display:grid;gap:11px}.quote-form .checks label{display:flex;flex-direction:row;align-items:start;font-size:11px;font-weight:600}.quote-form input[type=checkbox]{width:15px;height:15px;accent-color:#6c63ff;flex-shrink:0}.sheet-actions{display:flex;gap:10px;flex-wrap:wrap}.sheet-actions .btn{flex:1}.fineprint{color:#7b80a0;font-size:10px;line-height:1.5;margin:4px 0}.quote-preview{background:#e3fff0;border-radius:14px;padding:14px;color:#175e44;font-size:12px;line-height:1.7}.toast{position:fixed;z-index:5000;bottom:24px;left:50%;transform:translateX(-50%);width:max-content;max-width:min(460px,calc(100% - 25px));background:#272349;color:#fff;padding:14px 17px;border-radius:15px;box-shadow:0 12px 28px #211b466b;font-size:12px;line-height:1.5}.toast[hidden]{display:none}.profile-pic-row{display:flex;gap:11px;align-items:center}.profile-pic-row img{width:48px;height:48px;border-radius:50%;object-fit:cover}.profile-pic-row strong{font-size:13px}.profile-pic-row span{font-size:11px;color:#7b80a0}.worker-result{display:flex;align-items:center;gap:10px;background:#fff9;border-radius:16px;padding:12px;margin-top:9px}.worker-result img{width:45px;height:45px;border-radius:13px;object-fit:cover;background:#f3ebff}.worker-result b{font-size:12px}.worker-result small{display:block;font-size:10px;color:#7b80a0;margin-top:5px}.worker-result .ico{margin-left:auto;color:#8f76ff}.empty-symbol{height:67px;width:67px;background:#ece6ff;border-radius:24px;display:grid;place-items:center;margin:0 auto 14px;color:#7565db}.empty-symbol .ico{height:29px;width:29px}.privacy-status{display:inline-flex;align-items:center;gap:5px;background:#f1ebff;color:#7566db;border:1px solid #e4d9ff;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:800;margin-bottom:9px}.leaflet-popup-content-wrapper{border-radius:17px}.leaflet-control-attribution{font-size:8px!important}.soa-pin{background:#6c63ff;border:2px solid #fff;color:#fff;box-shadow:0 4px 10px #4d42bb66;width:32px;height:32px;border-radius:16px 16px 16px 4px;display:grid;place-items:center;transform:rotate(-45deg)}.soa-pin span{transform:rotate(45deg);font-size:11px;font-weight:900}.auth-back{display:inline-flex;align-items:center;gap:5px;color:#6b63e8;font-size:12px;font-weight:800;margin-bottom:9px}.spacer-6{height:6px}.spinner{width:18px;height:18px;border:2px solid #ffffff80;border-top-color:#fff;border-radius:50%;display:inline-block;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:900px){.desktop-label{display:none}.page-wrap{padding:0}.app-frame{height:100svh;min-height:100svh;width:100%;max-width:100%;border:0;border-radius:0;box-shadow:none}.app-edge{display:none}.app-scroll{padding-top:16px}.app-nav{margin-bottom:7px}}@media(min-width:901px) and (max-height:850px){.page-wrap{padding:8px}.app-frame{height:calc(100svh - 16px);min-height:500px;border-radius:27px}}@media(max-width:370px){.app-scroll{padding:14px 11px}.map-card{padding:13px 10px}.stat-icon{width:36px;height:39px}.stat-copy strong{font-size:23px}.quick{padding:9px;gap:8px}.quick small{font-size:9px}.card-head h2{font-size:19px}}
.map-offline{width:100%;height:100%;position:relative;isolation:isolate;overflow:hidden;background:#c2e0e6}.map-offline-art{position:absolute;inset:0;background-image:linear-gradient(135deg,#dce6e833,#c0e2d20f),url('assets/illustrations/guadeloupe.webp');background-position:center center;background-size:cover;filter:saturate(.72) brightness(1.07);z-index:-1}.map-fallback-marker{position:absolute;transform:translate(-50%,-50%);min-width:27px;height:27px;border:2px solid white;border-radius:15px 15px 15px 5px;box-shadow:0 4px 12px #4932a088;background:linear-gradient(135deg,#7063fa,#9c79ff);color:#fff;font-size:11px;font-weight:900}.map-fallback-marker:hover{transform:translate(-50%,-50%) scale(1.13)}.map-offline-note{position:absolute;right:6px;bottom:5px;background:#ffffffdb;color:#424c6e;font-size:8px;padding:4px 7px;border-radius:6px}
/* The original SOA Guadeloupe map illustration remains visible when online map tiles cannot load. */
.map-wrap,#map-canvas,#map-canvas.leaflet-container{background-image:linear-gradient(#e7eef72e,#e3eff51a),url('assets/illustrations/guadeloupe.webp')!important;background-size:cover!important;background-position:center!important;background-color:#c7e3e6!important}
/* Three-column client counters reproduce the compact Flutter stat cards without horizontal overflow. */
.app-frame,.app-root,.app-scroll,.app-viewport{min-width:0}.app-scroll{overflow-x:hidden}.stat-box{overflow:hidden}.client-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.client-stat-grid .stat-box{min-height:128px;display:flex;align-items:flex-start;justify-content:flex-start;flex-direction:column;padding:11px 9px;gap:7px}.client-stat-grid .stat-icon{width:36px;height:36px;border-radius:11px}.client-stat-grid .stat-icon .ico{width:17px;height:17px}.client-stat-grid .stat-copy small{font-size:10px;min-height:25px}.client-stat-grid .stat-copy strong{font-size:21px}

/* SOA V4 : pilotage de carte 3D et sous-pages identit\E9 /projets */
.map-wrap{height:330px;border-radius:23px;background:#d8ece8;overflow:hidden;isolation:isolate}
.map-expanded{height:490px}
.map-wrap #map-canvas.maplibregl-map{height:100%;width:100%;background:none!important}
.map-wrap .maplibregl-canvas-container,.map-wrap .maplibregl-canvas{width:100%;height:100%}
.map-wrap #map-canvas.maplibregl-map .maplibregl-canvas{background:none!important}
.soa-map-tools{position:absolute;z-index:12;top:10px;right:10px;display:flex;flex-direction:column;gap:7px;align-items:flex-end}
.soa-map-modes{display:flex;padding:3px;gap:2px;background:#ffffffee;backdrop-filter:blur(12px);border-radius:13px;box-shadow:0 5px 20px #24214b26;border:1px solid #ffffff}
.soa-map-modes button{border:0;border-radius:10px;background:transparent;color:#706f92;padding:8px 10px;font-size:11px;font-weight:800}
.soa-map-modes button.on{background:linear-gradient(120deg,#635cf7,#9672ff);color:#fff}
.soa-map-buttons{display:flex;gap:5px}
.soa-map-buttons button{height:32px;min-width:32px;padding:0 7px;border:1px solid #fff;border-radius:10px;background:#fffffff0;color:#5954b9;font-weight:900;box-shadow:0 4px 12px #2523462b;font-size:11px}
.soa-map-buttons button[aria-pressed=true]{background:#6861f6;color:#fff}
.map-topbadge{z-index:11;top:auto;left:10px;bottom:31px}
.map-topright{z-index:11;top:98px;right:11px}
.map-credit{position:absolute;z-index:10;left:8px;bottom:6px;font-size:9px;color:#282946;background:#ffffffd4;padding:4px 7px;border-radius:7px;max-width:calc(100% - 15px)}
.soa-3d-pin{height:39px;min-width:39px;display:grid;place-items:center;border:3px solid #fff;border-radius:22px 22px 22px 6px;background:linear-gradient(140deg,#6f67ff,#896df8);box-shadow:0 5px 16px #25235e7a;color:#fff;font:900 15px Inter,sans-serif;transform:rotate(-45deg);cursor:pointer}
.soa-3d-pin span{transform:rotate(45deg)}
.maplibregl-popup-content{border-radius:15px!important;box-shadow:0 8px 24px #29245629!important}
.maplibregl-ctrl-attrib{font-size:8px!important;opacity:.90}.maplibregl-ctrl-bottom-right{bottom:21px}
.personal-form{display:grid;gap:11px}.personal-form label{font-size:12px;font-weight:800;color:#505173;display:grid;gap:5px}.personal-form input{width:100%;border:1px solid #e7e0f7;border-radius:12px;background:#fff;padding:12px 13px;color:#252741;font-size:13px}.personal-form input:disabled{background:#f5f1fa;color:#565377}.form-intro{font-size:11px;line-height:1.6;color:#6c639f;display:flex;align-items:flex-start;gap:9px;padding:12px 13px;background:#f0eaff;border-radius:12px;margin-bottom:16px}.form-intro .ico{flex:0 0 auto}.project-details p{font-size:12px;line-height:1.65;color:#77738c;margin:5px 0}.project-details strong{color:#343353}
@media(max-width:580px){.map-wrap{height:310px}.map-expanded{height:calc(min(64svh,530px))}.map-topright{top:96px}.map-credit{font-size:8px}.soa-map-modes button{padding:7px 8px}}

/* V5 \2014  pages authentification/inscription inspir\E9 es des composants O90/O91 de l'archive Flutter SOA */
.auth-separator{display:flex;align-items:center;gap:10px;margin:20px 0 12px;color:#7d7899;font-size:12px;font-weight:700;text-align:center}.auth-separator:before,.auth-separator:after{content:"";height:1px;background:#e6dff6;flex:1}
.signup-link{border:1px solid #dad4ff!important;box-shadow:none!important;background:#f4efff!important;color:#5547c9!important}.signup-link:hover{background:#ebe5ff!important}
.auth-page.register-page{padding-bottom:50px}.register-page .register-glass{margin-top:16px}.register-role-row .role-choice{width:50%;max-width:185px}.register-page .auth-form-title{margin:0 0 8px;font-size:24px;letter-spacing:-.7px;text-align:center;color:#31304d;font-weight:900}.register-grid{display:flex!important;flex-direction:column;align-items:stretch;gap:9px!important}.register-grid label:not(.consent-check){font-size:13.5px;font-weight:800;margin-top:6px;color:#393753}.register-grid input:not([type="checkbox"]){width:100%;min-height:51px;border:1px solid #e2ddf3;border-radius:14px;background:#fff;padding:12px 14px;font:500 14px Inter,system-ui,sans-serif;box-shadow:0 5px 20px #5346d509;color:#292a45}.register-grid input:focus{outline:3px solid #dcd6ff;border-color:#766cf2}.registration-professional-fields{display:flex;flex-direction:column;gap:9px}.registration-professional-fields[hidden]{display:none!important}.password-group{display:flex;align-items:center;position:relative}.password-group input{padding-right:70px!important}.reveal-btn{position:absolute;right:9px;top:50%;transform:translateY(-50%);border:0;border-radius:10px;background:#f4f1ff;color:#6655d9;padding:8px 10px;font-size:11px;font-weight:800;cursor:pointer}.reg-divider{font-weight:800;font-size:12px;color:#554bd0;margin:14px 0 0}.consent-check{display:flex;gap:12px;align-items:flex-start;cursor:pointer;color:#4b4567;font-size:12px;line-height:1.55;font-weight:500}.consent-check input{accent-color:#6859e4;width:18px;height:18px;flex-shrink:0;margin-top:2px}.consent-check a{font-weight:800;color:#5b51db;text-decoration:underline}.register-status{border:1px solid #e8dffc;background:#f8f6ff;border-radius:13px;color:#5c527e;padding:12px;font-size:11px;line-height:1.55;margin:10px 0}.register-grid .btn{margin-top:8px}.register-page .auth-glass{padding-bottom:24px}

/* Aide \E0  la configuration Firebase Web : int\E9 gr\E9 e au design SOA */
.auth-config-help{text-align:center;margin:18px 0 10px}.auth-config-link{display:inline-block;border:1px solid #ded3ff;border-radius:13px;padding:11px 14px;background:#f7f3ff;color:#6550d9;font-weight:800;font-size:12px;text-decoration:none}.auth-config-link:hover,.auth-config-link:focus-visible{background:#ede5ff}

/* V9 — écrans client complets et carte stabilisée */
.soa-new-project{display:grid;gap:15px}
.soa-new-project label{display:grid;gap:7px;font-weight:700;font-size:13px;color:#343153}
.soa-new-project input,.soa-new-project select,.soa-new-project textarea{font:inherit;background:white;border:1px solid #ded6ff;border-radius:13px;padding:13px;width:100%;min-width:0;color:#282343}
.soa-new-project textarea{resize:vertical;min-height:120px}
#map-canvas{overflow:hidden;background:#dce8eb;isolation:isolate}
#map-canvas .maplibregl-canvas{outline:0}
#map-canvas .maplibregl-ctrl-attrib{font-size:9px}
.map-offline{height:100%;position:relative}

/* SOA V10 — Google Maps, map iframe fallback and premium controls */
#map-canvas,#map-canvas.google-map{height:100%;width:100%;background:#e9f2ff!important;background-image:none!important;overflow:hidden}
#map-canvas .soa-google-iframe{width:100%;height:100%;border:0;display:block;background:#dae9f6}
.soa-google-outlink{position:absolute;bottom:34px;right:12px;background:white;color:#4a40ca;font-size:11px;font-weight:800;padding:8px 11px;border-radius:11px;box-shadow:0 5px 16px #2a23712e;z-index:10}
.soa-map-tools{z-index:15}.map-wrap .map-topbadge,.map-wrap .map-credit{z-index:12}
.map-footnote a{color:#6458e2;text-decoration:underline;font-weight:800}
.soa-new-project input:focus,.soa-new-project textarea:focus,.soa-new-project select:focus{border-color:#7d6aff;outline:3px solid #e5dcff}


/* SOA V11 — Portail responsive : mobile natif, bureau réellement élargi */
.directory-list{display:grid;grid-template-columns:1fr;gap:13px;margin-top:16px}
.worker-result.worker-card{display:flex;gap:15px;align-items:center;margin:0;padding:17px;border:1px solid #e8e0fc;background:linear-gradient(125deg,#fff,#f9f6ff);box-shadow:0 9px 22px #4f419012;border-radius:21px;flex-wrap:wrap}
.worker-card img{width:74px;height:74px;border-radius:20px;object-fit:cover;flex:0 0 auto;border:2px solid #e5d9ff;background:#f0eaff}
.worker-card .worker-info{display:flex;flex-direction:column;gap:4px;flex:1;min-width:160px}
.worker-card strong{font-size:15px;font-weight:900;color:#272746}
.worker-card small{font-size:12px;line-height:1.4;white-space:normal}
.worker-card .worker-meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
.worker-meta span,.detail-chips span{display:inline-flex;align-items:center;gap:5px;font-size:10px;line-height:1.3;border:1px solid #e1daf8;border-radius:999px;background:#f8f5ff;color:#5c5587;font-weight:800;padding:5px 8px}
.worker-meta .verified-pill{color:#2d8063;background:#ebfaf4;border-color:#c8eedf}
.worker-meta .presence-pill.online{color:#277853;background:#e5f9ec;border-color:#b8ecd1}
.worker-meta .presence-pill.offline{color:#8b8192;background:#f2eff4;border-color:#e2dbe6}
.worker-meta .presence-pill.unknown{color:#75668e}
.worker-meta .ico{width:13px;height:13px;margin:0}
.worker-detail-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #d9ceff;border-radius:12px;background:#f2edff;color:#584bd0;font-size:11px;font-weight:800;padding:10px 12px;flex:0 0 auto}
.worker-detail-btn .ico{width:15px;height:15px;margin:0}
.soa-desktop-dashboard{display:block}
.soa-dash-primary,.soa-dash-secondary{min-width:0}
.billing-tabs{display:flex;gap:9px;margin:16px 0;flex-wrap:wrap}
.billing-tabs button{padding:11px 16px;background:#f2eeff;border:1px solid #e2dbfa;border-radius:13px;font-size:12px;color:#635a8f;font-weight:850}
.billing-tabs button.active{background:#665cf1;color:#fff;border-color:#665cf1}
.document-list{display:grid;gap:10px}
.document-row{display:flex;align-items:center;gap:12px;padding:16px;background:#fff;border:1px solid #ebe5f7;border-radius:16px}
.document-row .file-info{flex:1;min-width:0}
.document-row .file-info strong{display:block;font-size:13px}
.document-row .file-info small{display:block;font-size:10px;color:#77758b;padding-top:3px}
.document-row>b{color:#49417e;font-size:12px;white-space:nowrap}
.sync-line{font-size:11px;color:#756a9f;font-weight:700;display:flex;align-items:center;gap:7px;line-height:1.5;margin:8px 0 16px}
.sync-line .ico{width:14px;height:14px;color:#655dea}
.detail-chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
@media(min-width:960px){
 body.soa-workspace .desktop-label,body.soa-workspace .desktop-ambient{display:none}
 body.soa-workspace .page-wrap{padding:22px 26px;align-items:stretch;height:100svh}
 body.soa-workspace .app-frame{width:100%;max-width:1720px;height:calc(100svh - 44px);min-height:0;border-radius:26px;box-shadow:0 25px 85px #56469520}
 body.soa-workspace .app-edge{display:none}
 body.soa-workspace .app-viewport{display:flex;flex-direction:row-reverse;align-items:stretch}
 body.soa-workspace .app-scroll{width:0;flex:1;min-width:0;overflow-y:auto;padding:28px clamp(22px,4vw,60px) 72px}
 body.soa-workspace .app-scroll.with-nav{padding-bottom:60px}
 body.soa-workspace .app-nav{width:232px;flex:0 0 232px;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:9px;margin:0;padding:106px 14px 20px;border:0;border-right:1px solid #e4dcf5;border-radius:0;box-shadow:none;background:linear-gradient(165deg,#f8f4ff,#ede8ff);backdrop-filter:none}
 body.soa-workspace .app-nav:before{content:"SOA  ·  MON ESPACE";position:absolute;top:42px;left:22px;font-family:Inter,system-ui,sans-serif;font-size:16px;font-weight:900;color:#4c45a5;letter-spacing:.04em}
 body.soa-workspace .nav-item{display:flex!important;flex-direction:row;align-items:center;justify-content:flex-start;gap:13px;width:100%;min-height:53px;padding:12px 15px;border-radius:14px;font-size:13px;flex:0 0 auto}
 body.soa-workspace .nav-item .ico{width:22px;height:22px}
 body.soa-workspace .nav-item span{font-size:13px;font-weight:800}
 body.soa-workspace .soa-desktop-dashboard{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.85fr);align-items:start;gap:clamp(16px,2vw,34px)}
 body.soa-workspace .soa-dash-primary{min-width:0}
 body.soa-workspace .soa-dash-secondary{min-width:0;position:sticky;top:0}
 body.soa-workspace .soa-dash-secondary .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body.soa-workspace .soa-dash-secondary .quick{min-width:0}
 body.soa-workspace .soa-dash-secondary .quick.span2{grid-column:span 2}
 body.soa-workspace .glass.big-panel{border-radius:23px}
 body.soa-workspace .stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 body.soa-workspace .directory-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 body.soa-workspace .worker-card{align-items:flex-start}
 body.soa-workspace .worker-card .worker-detail-btn{width:100%}
 body.soa-workspace .app-scroll>.glass.big-panel,body.soa-workspace .app-scroll>.section-label,body.soa-workspace .app-scroll>.page-head{max-width:1450px}
 body.soa-workspace .auth-page{max-width:600px;margin:0 auto}
 body.soa-workspace .map-wrap{height:min(58svh,600px)}
 body.soa-workspace .map-expanded{height:min(65svh,700px)}
 body.soa-workspace .greeting{padding:24px}
 body.soa-workspace .greeting .name{font-size:clamp(23px,2.5vw,36px)}
 body.soa-workspace .search input{font-size:14px}
 body.soa-workspace .big-panel{padding:23px}
 body.soa-workspace .profile-center{padding:25px}
 body.soa-workspace .document-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.soa-workspace .personal-form{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.soa-workspace .soa-new-project{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.soa-workspace .soa-new-project label:has(textarea),body.soa-workspace .soa-new-project>.btn,body.soa-workspace .soa-new-project>.fineprint{grid-column:span 2}
}
@media(min-width:960px) and (max-width:1220px){
 body.soa-workspace .app-nav{width:185px;flex-basis:185px}
 body.soa-workspace .soa-desktop-dashboard{grid-template-columns:1fr}
 body.soa-workspace .soa-dash-secondary{position:static}
 body.soa-workspace .quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.soa-workspace .directory-list{grid-template-columns:1fr}
}
@media(min-width:680px) and (max-width:959px){
 body.soa-workspace .app-frame{width:min(100%,820px);height:calc(100svh - 32px)}
 body.soa-workspace .page-wrap{padding:16px}
 body.soa-workspace .desktop-label{display:none}
 body.soa-workspace .app-scroll{padding:24px}
 body.soa-workspace .directory-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:679px){
 body.soa-workspace .page-wrap{padding:0;min-height:100svh}
 body.soa-workspace .app-frame{width:100%;max-width:none;height:100svh;border-radius:0}
 .worker-card .worker-detail-btn{width:100%}
 .worker-meta .verified-pill,.worker-meta .pending-pill{max-width:100%}
}

/* V12 — Portail client : accès rapides à la place de la liste de projets */
.soa-client-home{max-width:1560px;margin:0 auto;display:grid;gap:18px;min-width:0}
.soa-client-top{display:grid;gap:12px}
.soa-client-top .greeting{margin:0}
.soa-client-search{padding:17px 20px;margin:0}
.soa-client-search .search{margin:0}
.soa-client-home .stat-grid{margin:0!important}
.soa-client-actions{padding:7px 0 32px}
.soa-home-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.soa-home-heading .eyebrow,.soa-projects-intro .eyebrow,.soa-funds-hero .eyebrow,.soa-panel-heading .eyebrow{letter-spacing:.12em;font-weight:900;font-size:10px;color:#7567da}
.soa-home-heading h2{font-size:clamp(23px,2.2vw,33px);margin:5px 0;color:#272744;font-family:'Inter Tight',Inter,sans-serif;font-weight:900}
.soa-home-heading p{font-size:13px;margin:3px 0;color:#766f98}
.soa-home-live{display:inline-flex;align-items:center;gap:7px;border:1px solid #dfd6ff;background:#ffffffad;border-radius:999px;padding:9px 12px;color:#594bd2;font-size:11px;font-weight:800}
.soa-home-live .ico{width:15px;height:15px}
.soa-client-quick-main,.soa-client-quick-wide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.soa-client-quick-main{margin-bottom:14px}
.soa-client-home .quick{width:100%;max-width:none!important;margin:0!important;min-height:108px;padding:19px!important;border-radius:22px!important;border:1px solid #fff!important;box-shadow:0 13px 34px #5e40a515!important;background:#fffdfde8!important;display:flex!important;align-items:center!important;gap:16px!important;transition:transform .18s,box-shadow .18s}
.soa-client-home .quick:hover{transform:translateY(-2px);box-shadow:0 18px 40px #4d3b8a20!important}
.soa-client-home .quick:focus-visible,.soa-project-tile:focus-visible,.soa-mini-project:focus-visible{outline:3px solid #6c5cf7;outline-offset:3px}
.soa-client-home .quick .quick-icon{width:56px;height:56px;min-width:56px;border-radius:17px;display:grid;place-items:center}
.soa-client-home .quick strong{display:block;font-size:15px;font-weight:900;color:#272744;margin-bottom:5px}
.soa-client-home .quick small{font-size:12px;line-height:1.45;color:#736d94}
.soa-client-quick-wide .quick{min-height:86px}
.soa-client-home .quick.span2{grid-column:auto}
.soa-home-note{margin:18px 2px 0;display:flex;align-items:center;gap:8px;color:#8177a9;font-size:11px;line-height:1.5}
.soa-home-note .ico{height:15px;width:15px;flex:0 0 auto;color:#6859de}

/* V12 — Cartes projets inspirées des reliefs, badges et surfaces Flutter SOA */
.soa-projects-page{padding:26px!important}
.soa-projects-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:7px 6px 21px}
.soa-projects-intro h2{font:900 clamp(21px,2vw,30px)/1.15 'Inter Tight',Inter,sans-serif;color:#252741;margin:7px 0 8px}
.soa-projects-intro p{color:#857caa;font-size:12px;margin:0}
.soa-projects-intro img{width:110px;height:76px;object-fit:contain;mix-blend-mode:multiply}
.soa-project-filters{display:flex;gap:7px;overflow:auto;padding:3px 3px 16px;scrollbar-width:thin}
.soa-project-filters button{border:1px solid #e2d9fa;white-space:nowrap;background:#fff;border-radius:999px;padding:11px 16px;font-size:12px;font-weight:800;color:#756b98;cursor:pointer}
.soa-project-filters button.selected{color:#fff;background:linear-gradient(135deg,#655af6,#9b72ff);box-shadow:0 8px 18px #655af632;border-color:transparent}
.soa-projects-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.soa-project-tile{padding:0;border:1px solid #e9e0fc;border-radius:22px;background:#fff;box-shadow:0 10px 24px #50458514;text-align:left;display:flex;flex-direction:column;overflow:hidden;cursor:pointer;color:inherit;transition:transform .16s,box-shadow .16s, border-color .16s}
.soa-project-tile:hover{transform:translateY(-3px);box-shadow:0 16px 36px #5e48a523;border-color:#c5b6fa}
.soa-project-thumb{height:150px;position:relative;background:linear-gradient(130deg,#ece3ff,#e6edff);overflow:hidden}
.soa-project-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.soa-project-ref,.soa-detail-ref{position:absolute;top:13px;left:14px;background:#fffffff2;border:1px solid #fff;border-radius:999px;padding:6px 11px;color:#6550c9;font-size:10px;font-weight:900;box-shadow:0 4px 16px #2b19431b}
.soa-project-content{padding:17px 19px 15px;display:grid;gap:12px;flex:1}
.soa-project-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.soa-project-row strong{font-family:'Inter Tight',Inter,sans-serif;font-size:17px;line-height:1.25;color:#292743;font-weight:900;overflow-wrap:anywhere}
.soa-project-status{font-size:10px;font-weight:850;border-radius:999px;padding:7px 10px;white-space:normal;text-align:center;line-height:1.25;max-width:150px;flex:0 0 auto}
.soa-project-status.pending{background:#eef2ff;color:#5277d9}
.soa-project-status.active{background:#f0eaff;color:#6b5cff}
.soa-project-status.completed{background:#e7f8ee;color:#258558}
.soa-project-status.dispute{background:#ffe9ef;color:#e14b74}
.soa-project-sub{display:flex;gap:7px 16px;flex-wrap:wrap;color:#716b92;font-size:12px;font-weight:650}
.soa-project-sub span{display:inline-flex;gap:4px;align-items:center}.soa-project-sub .ico{width:14px;height:14px;color:#8b78db}
.soa-project-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:13px;border-top:1px solid #f0e9fb;font-size:11px;color:#8581a0;font-weight:700}
.soa-project-open{display:inline-flex;gap:6px;align-items:center;white-space:nowrap;font-weight:850;color:#6555e2}.soa-project-open .ico{width:14px;height:14px}

/* V12 — Dossiers détaillés : photographies, encadrements, actions de lecture */
.soa-project-detail-layout,.soa-finance-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,.8fr);align-items:start;gap:19px;max-width:1500px}
.soa-project-detail-main,.soa-project-detail-aside,.soa-finance-main,.soa-finance-side{display:grid;gap:17px;min-width:0}
.soa-detail-hero,.soa-detail-panel{background:#fffffff0;border:1px solid #fff;box-shadow:0 12px 28px #4c3e9013;border-radius:24px;padding:21px}
.soa-detail-hero{padding:0;overflow:hidden}
.soa-detail-cover{height:250px;position:relative;background:#eee8ff}.soa-detail-cover img{height:100%;width:100%;object-fit:cover}
.soa-detail-head{padding:25px}.soa-detail-head h2{font:900 clamp(24px,2.4vw,34px)/1.15 'Inter Tight',Inter,sans-serif;margin:12px 0 9px;color:#272641}.soa-detail-head p{font-size:12px;color:#79739a;margin:0}
.soa-detail-panel h3{font:900 20px/1.2 'Inter Tight',Inter,sans-serif;color:#282641;margin:0 0 18px}
.soa-detail-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.soa-detail-metric{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid #eee9f9;border-radius:16px;background:#fcfaff;min-width:0}
.soa-detail-symbol{width:42px;height:42px;border-radius:14px;background:#ece6ff;display:grid;place-items:center;flex:0 0 auto;color:#715cf0}
.soa-detail-symbol .ico{height:20px;width:20px}
.soa-detail-metric small{display:block;color:#8a82a7;font-size:10px;font-weight:700;margin-bottom:4px}
.soa-detail-metric strong{font-size:12px;color:#30304e;font-weight:850;overflow-wrap:anywhere}
.soa-detail-description{white-space:pre-line;line-height:1.75;font-size:13px;color:#635e7f;margin:0}
.soa-attachment-grid{display:grid;gap:9px}
.soa-attachment{display:flex;align-items:center;gap:10px;text-decoration:none;color:#5349b4;background:#f7f3ff;border:1px solid #ebe2fa;border-radius:14px;padding:13px;font-size:12px;font-weight:750}
.soa-attachment span{flex:1;min-width:0;overflow-wrap:anywhere}.soa-attachment .ico{width:17px;height:17px}
.soa-detail-step{display:flex;gap:10px;margin-bottom:18px;padding:10px 2px}.soa-detail-step strong{font-size:13px;color:#2c2b46}.soa-detail-step small{display:block;margin-top:5px;color:#817a9d;font-size:11px}
.soa-detail-dot{margin-top:2px;width:14px;height:14px;border-radius:50%;border:3px solid #e0d7ff;background:#8d6cfc;box-shadow:0 0 0 4px #f5f0ff}
.soa-project-detail-aside .btn{margin-top:11px}

/* V12 — Opérations financières structurées, sans modifier les calculs serveur */
.soa-funds-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:205px;background:linear-gradient(122deg,#fff 0%,#f5f0ff 72%,#ebe0ff 100%);padding:27px;border:1px solid white;border-radius:23px}
.soa-funds-hero h2{font:900 clamp(25px,2.2vw,32px)/1.13 'Inter Tight',Inter,sans-serif;max-width:480px;color:#292743;margin:11px 0}
.soa-funds-hero p{font-size:13px;line-height:1.6;color:#746c9b;max-width:440px;margin:0}
.soa-funds-hero img{width:170px;height:156px;object-fit:contain;flex:0 0 auto;filter:drop-shadow(0 12px 16px #7563af18)}
.soa-funds-synced{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:750;color:#6353bc;margin-top:17px}.soa-funds-synced .ico{width:15px;height:15px}
.soa-panel-heading{display:flex;justify-content:space-between;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:15px}.soa-panel-heading h3{margin:4px 0 0}
.soa-number-pill{border:1px solid #e6dff9;background:#f3edff;color:#6556ca;padding:8px 12px;border-radius:50px;font-size:11px;font-weight:850}
.soa-ledger{display:grid;gap:10px}.soa-ledger-row{width:100%;text-align:left;border:1px solid #eae5f7;border-radius:17px;padding:14px 13px;background:linear-gradient(100deg,#fff,#fcfaff);display:flex;align-items:center;gap:12px;color:#2c2948;min-width:0}.soa-ledger-row:is(button){cursor:pointer}.soa-ledger-row:is(button):hover{border-color:#a993ff;background:#f7f3ff}.soa-ledger-icon{flex:0 0 auto;width:41px;height:41px;display:grid;place-items:center;border-radius:14px;background:#ebe5ff;color:#6753e4}.soa-ledger-icon .ico{width:20px;height:20px}.soa-ledger-details{display:grid;gap:4px;flex:1;min-width:0}.soa-ledger-details strong{font-size:12px;font-weight:900}.soa-ledger-details small{font-size:10px;color:#7e7999}.soa-ledger-right{display:grid;justify-items:end;gap:5px;min-width:0}.soa-ledger-right strong{font-size:12px;color:#2b845b}.soa-ledger-badge{border-radius:99px;background:#f1eaff;color:#6657d0;padding:5px 8px;font-size:10px;font-weight:800;white-space:nowrap}.soa-ledger-row>.ico{width:15px;height:15px;color:#6456e2;flex:0 0 auto}.soa-ledger-more{display:flex;gap:8px;align-items:center;justify-content:center;margin-top:16px;width:100%;border:1px solid #e1d5ff;border-radius:13px;padding:13px;color:#6453df;background:#f6f2ff;font-weight:850;font-size:12px;cursor:pointer}.soa-ledger-more .ico{width:16px;height:16px}
.soa-finance-projects{display:grid;gap:10px;margin-bottom:15px}.soa-mini-project{border:1px solid #ece5fb;border-radius:14px;background:#fcfaff;padding:8px;display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;min-width:0}.soa-mini-project img{width:61px;height:55px;border-radius:10px;object-fit:cover;flex:0 0 auto}.soa-mini-project span{display:grid;gap:5px;flex:1;min-width:0}.soa-mini-project strong{font-size:11px;font-weight:900;overflow-wrap:anywhere;color:#292741}.soa-mini-project small{font-size:10px;color:#837ca0}.soa-mini-project .ico{width:15px;height:15px;color:#7564e0}
@media(min-width:960px){body.soa-workspace .soa-client-home{max-width:1560px}body.soa-workspace .soa-client-quick-main{grid-template-columns:repeat(2,minmax(0,1fr))}body.soa-workspace .soa-client-quick-wide{grid-template-columns:repeat(2,minmax(0,1fr))}body.soa-workspace .soa-client-home .stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.soa-workspace .soa-client-home .quick.span2{grid-column:auto}}
@media(min-width:1250px){body.soa-workspace .soa-client-top{grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);align-items:stretch}body.soa-workspace .soa-client-top .account-switch{height:100%;margin:0;align-self:stretch}body.soa-workspace .soa-client-quick-wide{grid-template-columns:repeat(2,minmax(0,1fr))}body.soa-workspace .soa-client-home .quick{min-height:98px}body.soa-workspace .soa-projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1200px){.soa-project-detail-layout,.soa-finance-layout{grid-template-columns:1fr}.soa-finance-side{grid-row:auto}}
@media(max-width:720px){.soa-client-quick-main,.soa-client-quick-wide{grid-template-columns:1fr 1fr;gap:9px}.soa-client-home .quick{min-height:105px;padding:13px!important;flex-direction:column;align-items:flex-start!important;gap:8px!important}.soa-client-home .quick .quick-icon{width:41px;height:41px;min-width:41px;border-radius:12px}.soa-client-home .quick strong{font-size:12px}.soa-client-home .quick small{font-size:10px}.soa-client-quick-wide .quick{grid-column:span 2!important;flex-direction:row;align-items:center!important;min-height:72px}.soa-home-heading{align-items:start}.soa-home-live{font-size:10px}.soa-projects-grid{grid-template-columns:1fr}.soa-projects-page{padding:15px!important}.soa-projects-intro img{width:72px}.soa-projects-intro h2{font-size:20px}.soa-detail-metrics{grid-template-columns:1fr}.soa-detail-cover{height:200px}.soa-funds-hero{padding:19px}.soa-funds-hero img{width:95px;height:100px}.soa-funds-hero h2{font-size:23px}.soa-project-row{flex-wrap:wrap}.soa-project-status{max-width:100%}}
@media(min-width:721px) and (max-width:959px){.soa-projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V13 — Fidélité au tableau de bord Flutter, sans le double raccourci de profil. */
.soa-dash-primary>.soa-worker-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:740px;width:100%;margin:14px auto 16px!important;gap:14px}
.soa-worker-stats .stat-box{display:flex;align-items:center;justify-content:center;min-height:112px;text-align:left}
.soa-worker-stats .stat-copy{min-width:90px}
.soa-dash-primary>.map-card{margin-top:0}
.soa-client-top{grid-template-columns:minmax(0,1fr)!important}
.soa-client-balance-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:19px}
.soa-client-balance-tiles button{border:1px solid transparent;text-align:left;display:flex;flex-direction:column;align-items:start;gap:6px;padding:15px 17px;border-radius:17px;min-height:118px;cursor:pointer;transition:transform .15s,box-shadow .15s}
.soa-client-balance-tiles button:hover{transform:translateY(-2px);box-shadow:0 8px 20px #4d43871a}
.soa-client-balance-tiles small{font-size:11px;color:#6f7495;font-weight:700}
.soa-client-balance-tiles strong{font-size:clamp(18px,2vw,24px);font-weight:900;color:#5b5cf6}
.soa-client-balance-tiles span{font-size:10px;color:#7768a8;font-weight:800;display:inline-flex;align-items:center;gap:6px}
.soa-client-balance-tiles .ico{width:13px;height:13px}
.soa-protected-tile{background:linear-gradient(125deg,#f1eaff,#faf7ff);border-color:#e0d0ff!important;box-shadow:inset 0 0 0 1px #efe6ff}
.soa-credit-tile{background:linear-gradient(130deg,#ecfff3,#f8fff9);border-color:#d1f1dd!important}
.soa-credit-tile strong{color:#2eab6d!important}
.opp-list{display:grid;gap:12px}
.soa-opp-premium{display:flex!important;align-items:center!important;gap:16px!important;border:1px solid #e0d7fc!important;border-radius:21px!important;background:linear-gradient(140deg,#ffffff,#faf7ff)!important;padding:16px 18px!important;box-shadow:0 8px 20px #50449210!important;min-height:116px;text-align:left;color:#292744;white-space:normal!important}
.soa-opp-premium:hover{border-color:#a899f6!important;box-shadow:0 12px 26px #6454e229!important}
.soa-opp-avatar{flex:0 0 auto;width:61px;height:61px;border-radius:999px;overflow:hidden;border:3px solid #fff;box-shadow:0 3px 14px #6852ba2b;background:#f5f0ff}
.soa-opp-avatar img{width:100%;height:100%;display:block;object-fit:cover}
.soa-opp-info{display:flex;flex:1;flex-direction:column;min-width:0;gap:7px}
.soa-opp-top{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.soa-opp-top strong{font-size:14px!important;font-weight:850;color:#252741}
.soa-opp-title{font-size:15px;font-weight:900;color:#6055de;line-height:1.2}
.soa-opp-presence{font-size:10px;color:#7e7792;background:#f0edf6;padding:5px 9px;border-radius:999px}
.soa-opp-info small{font-size:11px;color:#6d6c88;display:flex;align-items:center;gap:4px;line-height:1.4}
.soa-opp-info small .ico{width:13px;height:13px}
.soa-opp-tags{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.soa-opp-tags>span{font-size:10px;font-weight:800;padding:5px 9px;border-radius:999px}
.soa-opp-budget{background:#edf9f1;color:#277f4d}
.soa-opp-urgency{background:#fff3e5;color:#b96f28}
.soa-opp-tags .tag{margin:0!important;background:#f1eaff;color:#7760c8}
@media(min-width:960px){body.soa-workspace .soa-dash-primary>.soa-worker-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.soa-workspace .soa-dash-primary>.map-card{margin-top:2px}}
@media(max-width:679px){.soa-client-balance-tiles{grid-template-columns:1fr}.soa-worker-stats .stat-box{min-height:85px}.soa-opp-avatar{width:50px;height:50px}.soa-opp-premium{padding:13px!important;gap:10px!important}.soa-opp-top{align-items:start}}

.soa-opp-dialog-client{display:flex;align-items:center;gap:12px;margin:17px 0;padding:12px;border:1px solid #e6ddff;background:#f9f5ff;border-radius:16px}
.soa-opp-dialog-client img{width:58px;height:58px;border-radius:50%;object-fit:cover;border:2px solid white}
.soa-opp-dialog-client strong{display:block;font-size:15px;color:#292746}
.soa-opp-dialog-client small{display:block;margin-top:4px;font-size:11px;color:#77718d}

/* SOA V14 — extensions des espaces métier, sans modification du mobile */
.soa-feature-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 18px;padding:22px 27px;min-height:154px;border-radius:24px;background:linear-gradient(118deg,#fffafaee,#f6efffe8 55%,#eae1ff);border:1px solid #fff;box-shadow:0 12px 30px #6754a416}
.soa-feature-hero>img{width:148px;height:128px;object-fit:contain;order:2;flex-shrink:0;filter:drop-shadow(0 9px 18px #7560ad20)}
.soa-feature-hero h2{margin:5px 0 8px;font:900 clamp(21px,2vw,33px)/1.1 'Inter Tight',Inter,sans-serif;color:#282643}
.soa-feature-hero p{font-size:12px;line-height:1.5;color:#666585;max-width:620px}
.soa-rich-list{display:grid;gap:11px;margin-top:14px}
.soa-rich-item{display:flex;width:100%;align-items:center;gap:13px;padding:16px 18px;background:#fff;border:1px solid #e8dff9;border-radius:19px;color:#292745;text-align:left;min-width:0}
.soa-rich-item>span:nth-child(2){display:flex;flex-direction:column;flex:1;min-width:0;gap:4px}
.soa-rich-item strong{font-size:13px;font-weight:900;line-height:1.3;overflow-wrap:anywhere}
.soa-rich-item small{font-size:11px;color:#756f99;line-height:1.5;overflow-wrap:anywhere}
.soa-status-badge{display:inline-flex;align-items:center;justify-content:center;color:#6054d2;background:#f0ebff;border:1px solid #e5deff;padding:6px 9px;border-radius:999px;font-size:10px;font-weight:900;white-space:nowrap}
.soa-dot{width:9px;height:9px;border-radius:50%;background:#8569ff;box-shadow:0 0 0 4px #eee8ff}
.soa-unread{border-color:#c3b2ff;background:#faf7ff}
.soa-doc-symbol{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;border-radius:15px;background:linear-gradient(135deg,#eee8ff,#e0d7ff);color:#6e5de8}
.soa-doc-symbol .ico{width:24px;height:24px}
.soa-doc-card{display:flex;align-items:center;gap:13px;width:100%;text-align:left;padding:15px;background:#fff;border:1px solid #e9e2fb;border-radius:18px;color:#282642}
.soa-doc-card>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.soa-doc-card strong{font-size:13px;font-weight:900}
.soa-doc-card small{font-size:10px;color:#716e95}
.soa-doc-amount{font-size:12px;font-weight:800;color:#4b4281;text-align:right}
.soa-doc-card:hover,.soa-clickable:hover,.soa-chat-thread:hover{border-color:#a694fd;background:#fcfaff}
.soa-doc-detail .soa-billing-illustration{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#f6f1ff;border:1px solid #ebe1ff;border-radius:20px;padding:13px 22px;margin-bottom:20px}
.soa-doc-detail .soa-billing-illustration img{height:120px;width:135px;object-fit:contain;order:2}
.soa-doc-detail h2{font-size:25px;font-weight:900;color:#282641;overflow-wrap:anywhere}
.soa-doc-detail p{color:#696482;font-size:12px;line-height:1.6}
.soa-detail-kvs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.soa-detail-kv{background:#fff;border-radius:15px;border:1px solid #e8e1fc;padding:15px;display:grid;gap:7px}
.soa-detail-kv span{font-size:11px;color:#756d9c}
.soa-detail-kv strong{font-weight:800;color:#302b57;font-size:13px;overflow-wrap:anywhere}
.soa-verified-notice,.soa-alert{border-radius:13px;background:#f0ecff;color:#6658a2;padding:15px;margin:16px 0;font-size:12px;line-height:1.6;display:flex;align-items:center;gap:8px}
.soa-alert{background:#fff2ec;color:#8b4f37}
.soa-detail-actions{display:flex;gap:12px;justify-content:flex-start;align-items:center;flex-wrap:wrap;margin:15px 0}
.soa-detail-actions>.btn{width:auto;min-width:160px}
.soa-finance-projects .soa-mini-project img{object-fit:cover;object-position:center center;border-radius:14px;aspect-ratio:1/1}
.soa-ledger-icon{width:51px;height:51px;display:grid;place-items:center;flex:0 0 auto;overflow:hidden;border-radius:13px;background:#eee8ff}
.soa-ledger-icon img{width:100%;height:100%;object-fit:contain}
.soa-clear-finance{margin:4px 0 15px}
.soa-chat-layout{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(0,1.2fr);gap:15px}
.soa-chat-list,.soa-chat-room{min-width:0;display:flex;flex-direction:column}
.soa-chat-list .soa-panel-heading,.soa-chat-room .soa-panel-heading{display:flex;align-items:center;justify-content:space-between}
.soa-chat-plus{width:42px;height:42px;border:0;border-radius:13px;color:#fff;background:linear-gradient(135deg,#5b5cf6,#9a7aff);font-size:26px;font-weight:700}
.soa-chat-threads{display:grid;gap:9px;max-height:520px;overflow-y:auto}
.soa-chat-thread{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#fff;border:1px solid #eae4f9;border-radius:15px;text-align:left;color:#312c50}
.soa-chat-thread.selected{border-color:#917aff;background:#f4efff}
.soa-chat-thread img{width:48px;height:48px;border-radius:12px;object-fit:cover}
.soa-chat-thread>span{flex:1;display:grid;gap:4px;min-width:0}
.soa-chat-thread strong{font-size:12px;font-weight:900}
.soa-chat-thread small{font-size:10px;color:#7e7698}
.soa-chat-messages{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-height:230px;max-height:420px;overflow-y:auto;padding:13px 0}
.soa-chat-message{display:grid;gap:5px;max-width:84%;padding:13px 17px;border-radius:17px 17px 17px 5px;background:#fff;border:1px solid #eae1ff}
.soa-chat-message.mine{align-self:flex-end;background:#e6e0ff;border-color:#cfc1ff;border-radius:17px 17px 5px 17px}
.soa-chat-message b{font-size:11px;color:#6554bd}
.soa-chat-message span{font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.soa-chat-message small{color:#8981a5;font-size:10px}
.soa-chat-send{display:flex;align-items:center;gap:9px;margin-top:auto;padding-top:12px;border-top:1px solid #ebe4f7}
.soa-chat-send input{flex:1;min-width:0;min-height:44px;background:#fff;border:1px solid #dcd2ff;padding:10px 14px;border-radius:15px}
.soa-chat-send .btn{min-width:90px}
.map-wrap .soa-google-outlink{top:11px;bottom:auto;left:12px;right:auto;padding:7px 10px;z-index:16}
.map-wrap .map-topbadge{top:11px;left:172px;bottom:auto;display:flex;align-items:center;gap:5px;z-index:16;box-shadow:0 6px 17px #497b193a}
.map-wrap .map-topbadge .ico{width:14px;height:14px}
.map-wrap .map-credit{z-index:15}
@media(max-width:900px){.soa-chat-layout{grid-template-columns:1fr}.soa-chat-threads{max-height:250px}.soa-feature-hero{padding:17px}.soa-feature-hero>img{width:110px;height:100px}}
@media(max-width:580px){.soa-feature-hero>img{width:86px;height:93px}.soa-feature-hero h2{font-size:20px}.soa-doc-amount{font-size:10px}.soa-detail-kvs{grid-template-columns:1fr}.soa-chat-send{flex-wrap:wrap}.soa-chat-send .btn{width:100%}.map-wrap .map-topbadge{top:51px;left:11px}.map-wrap .soa-google-outlink{top:10px;left:10px}.soa-rich-item{padding:12px}.soa-status-badge{white-space:normal}.soa-billing-illustration img{width:75px!important}}
.soa-map-communes{display:flex;flex-wrap:wrap;gap:6px;background:#f9f6ff;border:1px solid #e5dcff;border-radius:13px;padding:9px;margin-top:9px}
.soa-map-communes p{width:100%;font-size:10px;color:#666084;margin:0 0 3px;font-weight:800}
.soa-map-communes button{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid #dfd5fc;border-radius:10px;background:#fff;color:#6255c7;font-size:10px;font-weight:750}
.soa-map-communes .ico{height:13px;width:13px}
.soa-map-communes button:hover{background:#eee7ff;border-color:#c6b6fb}
.soa-map-commune-count{min-width:20px;padding:2px 4px;border-radius:999px;background:#efe9ff;color:#5346ae;text-align:center}

.soa-commune-dialog{
 position:fixed;inset:0;margin:auto;padding:0;color:var(--ink);
 width:min(890px,calc(100% - 36px));max-width:none;max-height:min(780px,88dvh);
 border:1px solid #fff;border-radius:30px;background:#f8f5fd;
 overflow:hidden;box-shadow:0 32px 100px #21194f61,0 8px 22px #20174626;
}
.soa-commune-dialog[open]{display:flex;flex-direction:column}
.soa-commune-dialog::backdrop{background:#201a43a3;backdrop-filter:blur(3px)}
.soa-commune-head{
 flex:0 0 auto;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:17px;
 padding:24px 26px;border-bottom:1px solid #e5ddf7;
 background:radial-gradient(ellipse at 90% 0%,#e9d9ff,transparent 78%),linear-gradient(130deg,#fff,#f1eaff);
}
.soa-commune-pin{
 display:grid;place-items:center;width:62px;height:62px;border-radius:20px;
 color:white;background:linear-gradient(145deg,#9073ff,#594ce4);box-shadow:0 7px 18px #6953db43;
}
.soa-commune-pin .ico{width:29px;height:29px}
.soa-commune-heading{display:grid;justify-items:start;gap:5px;overflow-wrap:anywhere}
.soa-commune-heading p{margin:0;color:#625590;font-size:.79rem;font-weight:750}
.soa-commune-heading h2{margin:0;font:850 clamp(1.5rem,3vw,2.25rem)/1.08 'Inter Tight',Inter,sans-serif}
.soa-commune-count{border-radius:999px;padding:5px 10px;background:#eae1fd;color:#564391;font-size:.75rem;font-weight:800}
.soa-commune-close{
 align-self:start;display:grid;place-items:center;width:44px;height:44px;border:1px solid #e0d4f9;
 border-radius:15px;background:#ffffffc9;color:#5742a5;
}
.soa-commune-close:hover{background:#e9defd}
.soa-commune-list{
 min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-color:#c7b8ed transparent;
 list-style:none;margin:0;padding:20px 25px 25px;display:grid;gap:14px;grid-template-columns:minmax(0,1fr);
}
.soa-commune-list:focus-visible{outline:2px solid #8e75e5;outline-offset:-3px}
.soa-commune-project{
 display:flex;flex-direction:column;gap:13px;min-width:0;
 border:1px solid #e8e0f5;border-radius:21px;padding:17px;background:white;
 box-shadow:0 4px 16px #3323690d;overflow-wrap:anywhere;
}
.soa-commune-badges{display:flex;flex-wrap:wrap;gap:5px}
.soa-commune-tag{border-radius:999px;padding:4px 8px;background:#f0ebfb;color:#5c4b88;font-size:.72rem;font-weight:750}
.soa-commune-tag--new{background:#e6f6ec;color:#1e6347}
.soa-commune-tag--urgent{background:#fce8ee;color:#9b2549}
.soa-commune-tag--high{background:#fff0d7;color:#86520b}
.soa-commune-project-title h3{margin:0;font:850 1.22rem/1.2 'Inter Tight',Inter,sans-serif;color:#292546}
.soa-commune-project-title p{margin:3px 0 0;color:#655b7e;font-size:.87rem;font-weight:650}
.soa-commune-client{display:flex;align-items:center;gap:9px;font-size:.85rem;font-weight:750}
.soa-commune-client img{display:block;flex:0 0 auto;border-radius:12px;object-fit:cover;background:#f0eafa}
.soa-commune-meta{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px;
 margin:0;padding:11px 12px;border-radius:12px;background:#f7f3fe;
}
.soa-commune-meta>div:only-child{grid-column:1/-1}
.soa-commune-meta dt{color:#685e82;font-size:.74rem}
.soa-commune-meta dd{margin:3px 0 0;color:#332852;font-size:.81rem;font-weight:800}
.soa-commune-open{
 display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:44px;
 margin-top:auto;padding:9px 12px;border:1px solid #ded2fa;border-radius:12px;
 background:#eee7fe;color:#513aad;text-align:left;font-size:.85rem;font-weight:800;
}
.soa-commune-open .ico{width:17px;height:17px}
.soa-commune-open:hover{background:#e5d9fc;border-color:#c9b8f4}
@media(min-width:720px){
 .soa-commune-list:has(> :nth-child(2)){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:480px){
 .soa-commune-dialog{width:calc(100% - 18px);max-height:92dvh;border-radius:22px}
 .soa-commune-head{gap:10px;padding:14px 12px}
 .soa-commune-pin{width:44px;height:44px;border-radius:15px}
 .soa-commune-pin .ico{width:23px;height:23px}
 .soa-commune-list{padding:12px;gap:10px}
 .soa-commune-project{padding:14px}
}
#soa-chat-project-picker{max-width:min(560px,92vw);width:100%;padding:26px;border:1px solid #e2d8fc;background:#f7f2ff;border-radius:24px;box-shadow:0 30px 70px #322a6455}
#soa-chat-project-picker::backdrop{background:#2e245c65;backdrop-filter:blur(5px)}
#soa-chat-project-picker .soa-chat-threads{margin-top:20px;max-height:60vh;overflow-y:auto}
#soa-chat-project-picker .soa-picker-intro h3{font-size:23px;margin:10px 0}
#soa-chat-project-picker .soa-picker-intro p{font-size:12px;color:#686387}

/* V15 — avis professionnels fidèles aux cartes SOA Flutter, responsive */
.soa-v15-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:15px}
.soa-v15-review{background:#fdfcff;border:1px solid #e7e1ef;border-radius:21px;padding:18px;box-shadow:0 6px 17px rgba(111,83,180,.055);min-width:0}
.soa-v15-review-heading{display:flex;align-items:center;gap:12px;min-width:0}
.soa-v15-review-avatar{width:52px;height:52px;object-fit:cover;border-radius:15px;border:1px solid #ded6f3;background:#efe9ff;flex-shrink:0}
.soa-v15-review-person{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.soa-v15-review-person strong{font-size:15px;color:#27253f;overflow-wrap:anywhere}
.soa-v15-review-person span{color:#85819e;font-size:12px;overflow-wrap:anywhere}
.soa-v15-stars,.soa-v15-rating-summary{background:#fff0cf;color:#986018;font-size:13px;font-weight:900;border-radius:999px;padding:8px 12px;white-space:nowrap}
.soa-v15-review-comment{margin:18px 0 14px;line-height:1.6;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;color:#47445e}
.soa-v15-review-no-comment{font-style:italic;color:#8b88a3;font-size:13px;margin:18px 0 14px}
.soa-v15-review-dates{border-top:1px solid #eeeaf7;padding-top:12px;display:flex;flex-direction:column;gap:8px;color:#7c719d;font-size:12px;font-weight:600}
.soa-v15-review-dates span{display:flex;gap:8px;align-items:flex-start;line-height:1.45}
.soa-v15-review-dates .ico{width:15px;height:15px;flex-shrink:0;color:#7c69e6}
.soa-review-media-field{min-width:0;border:1px solid #ded6ff;border-radius:14px;padding:12px;margin:0}
.soa-review-media-field legend{padding:0 5px;font-size:.9rem;font-weight:700;color:#343153}
.soa-new-project .soa-review-keep{display:flex;align-items:center;gap:8px;margin-bottom:10px}
.soa-new-project .soa-review-keep input{width:auto}
@media(max-width:1050px){.soa-v15-review-grid{grid-template-columns:1fr}}
@media(max-width:580px){.soa-v15-review{padding:13px}.soa-v15-review-avatar{width:44px;height:44px}.soa-v15-review-person strong{font-size:13px}.soa-v15-stars{padding:6px 8px;font-size:11px}.soa-v15-review-comment{font-size:13px}}

/* SOA Web V16 — route complète « Envoyer un devis » : transposition du parcours Flutter O94. */
.immo-chip.soa-immo-icon{padding:0;overflow:visible;border:0;background:none;box-shadow:none;display:block;flex:0 0 auto;min-width:60px}
.soa-immo-icon img{display:block;width:62px;height:50px;object-fit:contain;border-radius:16px;filter:drop-shadow(0 6px 9px rgba(23,101,197,.24))}
.soa-quote-route{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,310px);gap:18px;align-items:start;min-width:0;padding-bottom:22px}
.soa-quote-main{display:grid;gap:15px;min-width:0}
.soa-q-card{padding:21px 23px;min-width:0}
.soa-q-card-head{display:flex;align-items:center;gap:12px;margin-bottom:13px}
.soa-q-card-head h2,.soa-q-card-head h3{font-family:'Inter Tight',Inter,sans-serif;font-weight:900;color:#282641;margin:0;font-size:20px;line-height:1.2}
.soa-q-emblem{width:40px;height:40px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#756aff,#9f88fc);color:white;box-shadow:0 8px 17px #755afc25;flex-shrink:0}
.soa-q-emblem .ico{width:20px;height:20px}
.soa-q-label{display:block;font-size:13px;line-height:1.5;font-weight:750;color:#6b6987;margin-bottom:10px}
.soa-q-search>input{width:100%;padding:14px 15px;border:1px solid #e1d9f7;border-radius:15px;background:#faf8fd;color:#292642;font-size:14px;font-weight:650;outline:none}
.soa-q-search>input:focus{border-color:#927afb;box-shadow:0 0 0 3px #8c7af719}
.soa-q-help{color:#8b87a3;font-weight:600;font-size:12px;line-height:1.45;margin:9px 0}
.soa-q-results{display:grid;gap:8px;max-height:315px;overflow:auto}
.soa-q-result{display:flex;align-items:center;gap:12px;border:1px solid #ebe4fa;background:#fff;border-radius:15px;padding:10px 12px;color:#292741;text-align:left;width:100%}
.soa-q-result:hover,.soa-q-result:focus-visible{border-color:#a08bff;background:#f9f6ff}
.soa-q-result>img,.soa-q-result-icon{height:42px;width:42px;flex:0 0 42px;border-radius:13px;object-fit:cover;background:#eee8ff;color:#7662e9;display:grid;place-items:center}
.soa-q-result>span:nth-child(2){flex:1;min-width:0}.soa-q-result strong{font-size:12px;display:block}.soa-q-result small{font-size:11px;color:#837c9b;display:block;margin-top:4px}
.soa-q-result .ico{color:#7967e9;width:18px;height:18px}
.soa-q-recipient-confirmed{display:flex;align-items:center;gap:11px;padding:12px 14px;margin-top:10px;border:1px solid #bdedce;background:linear-gradient(110deg,#f1fff5,#fcfffd);border-radius:15px;color:#1d7748}
.soa-q-recipient-confirmed>svg{flex-shrink:0}.soa-q-recipient-confirmed span{flex:1;min-width:0}.soa-q-recipient-confirmed strong{display:block;font-size:12px}.soa-q-recipient-confirmed small{display:block;margin-top:3px;font-size:10px;color:#488267}
.soa-q-clear{border:0;background:#fff;border-radius:10px;color:#5d5ad8;padding:8px 11px;font-weight:850;font-size:11px}
.soa-quote-route .modal-sheet{position:static;display:block;width:100%;max-width:none;max-height:none;overflow:visible;padding:0;border:0;background:transparent;box-shadow:none;border-radius:0}
.soa-quote-route .modal-sheet .sheet-head{background:#ffffffb5;border:1px solid #fff;box-shadow:0 9px 30px #4d318214;border-radius:22px;padding:15px 20px;margin-bottom:11px}
.soa-quote-route .modal-sheet .sheet-head h2{font-size:23px}
.soa-quote-route .sheet-context{margin:0 0 11px;padding:10px 16px;background:#ece8ff;border-radius:12px;color:#6354ae;font-weight:800;font-size:11px;overflow-wrap:anywhere}
.soa-quote-route .quote-form{display:block;min-width:0}
.soa-q-form-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.soa-q-fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;border:1px solid #fff;border-radius:22px;background:#ffffffb8;backdrop-filter:blur(13px);box-shadow:0 12px 28px #6245a710;padding:20px 21px;min-width:0}
.soa-q-fieldset>.soa-q-card-head{grid-column:1/-1;margin-bottom:3px}
.soa-q-fieldset label{min-width:0;font-size:12px;line-height:1.5;color:#54506f;font-weight:800}
.soa-q-fieldset input,.soa-q-fieldset select,.soa-q-fieldset textarea{font-size:13px;padding:13px;border-radius:13px;min-width:0;background:#faf9fd}
.soa-q-fieldset .wide,.soa-q-fieldset>.soa-q-label{grid-column:1/-1}
.soa-q-fieldset#soa-q-project,.soa-q-fieldset#soa-q-tax,.soa-q-fieldset#soa-q-final{grid-column:1/-1}
.soa-q-fieldset#soa-q-project{grid-template-columns:1fr}
.soa-q-fieldset#soa-q-details>label,.soa-q-fieldset#soa-q-worker>label{grid-column:1/-1}
.soa-q-identity{grid-column:1/-1;color:#7c7796;font-size:11px;line-height:1.65;margin:0 0 4px}
.soa-q-fieldset .checks{grid-column:1/-1;padding:15px!important;background:#f8f5ff;border-radius:17px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.soa-q-fieldset .checks label{font-size:11px;font-weight:650;display:flex;flex-direction:row;gap:8px;align-items:flex-start}
.soa-q-fieldset .checks label:last-child{grid-column:1/-1;font-weight:750}
.soa-q-fieldset>.soa-q-security{grid-column:1/-1}
.soa-q-fieldset#soa-q-final>.btn{justify-self:start}
.soa-q-fieldset .sheet-actions{grid-column:1/-1;margin-top:5px}
.soa-q-fieldset .fineprint,.soa-q-fieldset .quote-preview{grid-column:1/-1}
.soa-q-aside{position:sticky;top:12px;padding:22px;display:grid;gap:12px}
.soa-q-aside>img{width:min(100%,260px);max-height:180px;justify-self:center;object-fit:contain;filter:drop-shadow(0 10px 20px #8676b226)}
.soa-q-aside h3{font:900 22px/1.16 'Inter Tight',Inter,sans-serif;color:#28263f;margin:2px 0 0}
.soa-q-aside p{font-size:12px;line-height:1.6;color:#756d95;margin:0}
.soa-q-steps{display:grid;gap:12px;padding:14px;background:#f9f6ff;border-radius:15px}
.soa-q-steps>div{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:750;color:#55516e}
.soa-q-steps b{display:grid;place-items:center;width:25px;height:25px;border-radius:9px;color:#fff;background:#7468f4}
.soa-q-security{font-size:11px!important;color:#665ac2!important;display:flex;align-items:flex-start;gap:7px}
.soa-q-security .ico{width:17px;height:17px;flex-shrink:0}
@media(max-width:1130px){.soa-quote-route{grid-template-columns:1fr}.soa-quote-side{display:none}}
@media(max-width:720px){.soa-q-form-sections{grid-template-columns:1fr}.soa-q-fieldset#soa-q-worker,.soa-q-fieldset#soa-q-details{grid-column:1/-1}.soa-q-card,.soa-q-fieldset{padding:16px}.soa-q-fieldset .checks{grid-template-columns:1fr}.soa-q-fieldset label{grid-column:1/-1}.soa-quote-route .modal-sheet .sheet-head{padding:13px 15px}.soa-q-card-head h2,.soa-q-card-head h3{font-size:18px}.soa-q-recipient-confirmed{flex-wrap:wrap}}

/* V16 — parité visuelle du devis iOS : fiscalité, entreprise, chantier, travaux, PDF */
.soa-q-fieldset#soa-q-project,.soa-q-fieldset#soa-q-tax,.soa-q-fieldset#soa-q-enterprise,.soa-q-fieldset#soa-q-site,.soa-q-fieldset#soa-q-materials,.soa-q-fieldset#soa-q-pro,.soa-q-fieldset#soa-q-pdf,.soa-q-fieldset#soa-q-final{grid-column:1/-1}
.soa-q-fieldset#soa-q-enterprise,.soa-q-fieldset#soa-q-site,.soa-q-fieldset#soa-q-materials{border:1.5px solid #b9a8ff;background:linear-gradient(137deg,#fffafddd,#f4f0ffda)}
.soa-q-fieldset#soa-q-tax{border:0;background:transparent;box-shadow:none;padding:2px 6px;display:flex;flex-wrap:wrap;gap:8px}
.soa-q-fieldset#soa-q-tax>.soa-q-card-head{margin:0}
.soa-q-tax-note{margin:0;color:#85809f;font-size:12px;font-weight:700;align-self:center}
.soa-q-description{grid-column:1/-1;color:#7b7398;font-size:13px;line-height:1.6;margin:0}
.soa-q-file-select{grid-column:1/-1;position:relative;display:flex!important;align-items:center;justify-content:center;gap:10px;border:1px solid #d9cbff;border-radius:15px;background:#fff;padding:14px 18px;color:#6558f6!important;font-weight:850!important;cursor:pointer}
.soa-q-file-select input[type=file]{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.soa-q-file-select .ico{width:20px;height:20px}
.soa-q-file-status{grid-column:1/-1;margin:0;color:#797398;font-size:12px}
#soa-q-pro>.btn,#soa-q-pdf>.btn{justify-self:start}
.soa-q-fieldset#soa-q-final{background:#f7f4ffea;border:1.5px solid #a28cff}
@media(max-width:720px){.soa-q-tax-note{font-size:11px}.soa-q-fieldset#soa-q-tax{padding:2px}}

/* V18 — Mes litiges : rendu responsive dérivé de la présentation Flutter 15.5. */
.soa-dispute-shell{max-width:1120px;margin:0 auto 24px;display:grid;gap:17px}
.soa-dispute-summary{display:flex;align-items:center;gap:18px;background:#fffdfef0;border:1.5px solid #ded4ea;border-radius:24px;box-shadow:0 8px 22px #44326e12;padding:22px 25px;color:#292740}
.soa-dispute-alert-symbol{display:grid;place-items:center;width:64px;height:64px;flex:0 0 64px;border-radius:18px;background:#fff0f3;color:#e84d68}
.soa-dispute-alert-symbol .ico{width:30px;height:30px}
.soa-dispute-summary h2{font:900 clamp(21px,2.5vw,30px)/1.2 'Inter Tight',Inter,sans-serif;margin:0 0 6px;color:#292740}
.soa-dispute-summary p{margin:0;color:#8b90ad;font-size:15px;font-weight:750}
.soa-dispute-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:#ece6f5;border-radius:20px;padding:6px}
.soa-dispute-tabs button{min-height:54px;border:0;border-radius:16px;background:transparent;color:#686985;font-weight:900;font-size:15px;cursor:pointer}
.soa-dispute-tabs button.active{background:#6b5af5;color:#fff;box-shadow:0 6px 20px #6b5af525}
.soa-dispute-tabs span{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;padding:0 7px;margin-left:5px;border-radius:99px;background:#fff8;color:#5d569f;font-size:12px}
.soa-dispute-tabs button.active span{color:#fff;background:#ffffff2e}
.soa-dispute-search{display:flex;align-items:center;gap:12px;background:#fcfaff;border:1.5px solid #ded5ec;border-radius:18px;padding:0 16px;min-height:58px;color:#9a80ff}
.soa-dispute-search .ico{width:23px;height:23px;flex-shrink:0}
.soa-dispute-search input{width:100%;border:0;background:transparent;outline:none;color:#292740;font-size:15px;min-width:0}
.soa-dispute-search input::placeholder{color:#b7b1c8}
.soa-dispute-sync{font-size:11px;color:#77719f;margin:0;display:flex;align-items:center;gap:6px}
.soa-dispute-sync .ico{width:15px;height:15px;color:#7261ee;flex-shrink:0}
.soa-dispute-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.soa-dispute-card{border:2px solid #f3a4b1;border-radius:24px;padding:22px;background:#fffefeeb;min-width:0;box-shadow:0 6px 16px #33245112;color:#272641}
.soa-dispute-card[hidden],.soa-dispute-empty[hidden]{display:none!important}
.soa-dispute-card.soa-dispute-resolved{border-color:#9fd8b2}
.soa-dispute-card.soa-dispute-rejected,.soa-dispute-card.soa-dispute-cancelled{border-color:#d9d0e6}
.soa-dispute-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.soa-dispute-title h3{margin:0;font:900 clamp(17px,1.7vw,22px)/1.35 'Inter Tight',Inter,sans-serif}
.soa-dispute-badge{flex-shrink:0;white-space:nowrap;border-radius:99px;padding:9px 11px;font-size:11px;font-weight:900;color:#d93f5a;background:#ffe7eb}
.soa-dispute-resolved .soa-dispute-badge{color:#3e9760;background:#e4f5ea}
.soa-dispute-rejected .soa-dispute-badge,.soa-dispute-cancelled .soa-dispute-badge{color:#656a86;background:#f0edf5}
.soa-dispute-meta{margin:12px 0;color:#777b98;font-weight:700;font-size:13px}
.soa-dispute-outcome{display:flex;align-items:center;gap:9px;color:#d93f5a;font-size:14px;margin:14px 0 5px}
.soa-dispute-resolved .soa-dispute-outcome,.soa-dispute-resolved .soa-dispute-decision{color:#3e9760}
.soa-dispute-rejected .soa-dispute-outcome,.soa-dispute-cancelled .soa-dispute-outcome{color:#656a86}
.soa-dispute-dot{width:9px;height:9px;border-radius:50%;background:currentColor}
.soa-dispute-decision{margin:0 0 18px;color:#d93f5a;font-size:13px}
.soa-dispute-comment,.soa-dispute-visit{border:1.5px solid #dcd4e8;background:#f8f5fb;border-radius:17px;padding:15px 16px;display:grid;gap:11px;margin-bottom:14px;overflow-wrap:anywhere}
.soa-dispute-comment small,.soa-dispute-visit small{font-size:12px;font-weight:900;color:#5e5874}
.soa-dispute-comment strong{font-size:15px;color:#272641;white-space:pre-wrap;line-height:1.6}
.soa-dispute-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}
.soa-dispute-stat{background:#f8f5fb;border:1.5px solid #dcd4e8;border-radius:15px;padding:14px 12px;min-width:0;display:grid;gap:9px}
.soa-dispute-stat small{font-size:11px;color:#8b90ad;font-weight:800}
.soa-dispute-stat strong{font-size:14px;color:#272641;overflow-wrap:anywhere}
.soa-dispute-resolved .soa-dispute-stat:nth-child(2) strong{color:#3e9760}
.soa-dispute-visit{margin:0 0 12px}.soa-dispute-visit strong{font-size:15px}.soa-dispute-visit b{color:#3e9760;font-size:12px}
.soa-dispute-open{border:1px solid #d9d0ff;border-radius:13px;background:#f1edff;color:#6958dc;font-size:12px;font-weight:850;padding:12px 15px;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;width:100%}
.soa-dispute-open .ico{width:15px;height:15px}
.soa-dispute-empty{text-align:center;font-size:15px;font-weight:800;color:#8c90af;padding:100px 15px}
@media(max-width:1120px){.soa-dispute-results{grid-template-columns:1fr}}
@media(max-width:640px){.soa-dispute-shell{gap:13px}.soa-dispute-summary{padding:16px;gap:12px}.soa-dispute-alert-symbol{width:48px;height:48px;flex-basis:48px}.soa-dispute-summary h2{font-size:20px}.soa-dispute-tabs button{font-size:12px;min-height:47px}.soa-dispute-tabs span{font-size:10px;min-width:20px;height:21px;padding:0 5px}.soa-dispute-card{padding:14px}.soa-dispute-title{flex-wrap:wrap}.soa-dispute-stats{gap:5px}.soa-dispute-stat{padding:9px 7px}.soa-dispute-stat small{font-size:9px}.soa-dispute-stat strong{font-size:11px}.soa-dispute-search input{font-size:12px}}

/* V19 — Parité visuelle de la messagerie Flutter O109 (Web responsive) */
.soa-chat-workspace{display:grid;grid-template-columns:minmax(300px,.39fr) minmax(420px,.61fr);gap:16px;align-items:start}
.soa-chat-directory{padding:20px;min-width:0;max-height:calc(100vh - 220px);overflow:hidden;display:flex;flex-direction:column}
.soa-chat-directory-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}
.soa-chat-directory h2{font-size:21px;color:#282641;margin:0}
.soa-chat-directory .soa-chat-plus{width:43px;height:43px;flex:none;cursor:pointer}
.soa-chat-directory .soa-chat-threads{max-height:none;overflow-y:auto;min-height:160px;gap:10px}
.soa-chat-directory .soa-chat-thread{width:100%;min-height:80px;padding:13px;border-radius:20px}
.soa-chat-directory .soa-chat-thread img{width:54px;height:54px;border-radius:50%;object-fit:cover}
.soa-chat-directory .soa-chat-thread strong{font-size:14px}
.soa-chat-directory .soa-chat-thread small{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.soa-chat-unread{display:grid;place-items:center;background:#7160fb;color:white;border-radius:50%;width:25px;height:25px;font-size:12px}
.soa-chat-find{display:flex;gap:8px;align-items:center;background:#fff;border:1px solid #ded4f4;padding:12px;border-radius:15px;margin-bottom:14px}
.soa-chat-find svg{width:19px;height:19px;color:#8173fe}
.soa-chat-find input{background:transparent;border:0;outline:0;flex:1;min-width:0;font:inherit;font-size:13px}
.soa-chat-sync{margin:13px 0 0;color:#827a9f;font-size:11px}
.soa-chat-room{min-width:0}
.soa-chat-welcome{min-height:360px;display:flex;align-items:center;justify-content:center}
.soa-chat-conversation{display:flex;flex-direction:column;gap:14px;min-width:0}
.soa-chat-topbar,.soa-chat-members,.soa-chat-messages,.soa-chat-composer{background:rgba(255,255,255,.72);border:1px solid rgba(255,255,255,.9);border-radius:26px;box-shadow:0 12px 28px #40378011}
.soa-chat-topbar{display:flex;align-items:center;gap:16px;padding:22px}
.soa-chat-topbar h2{font-size:clamp(21px,2.2vw,29px);font-weight:900;color:#282641;margin:0}
.soa-chat-topbar p{color:#8385a4;font-size:13px;font-weight:700;margin:5px 0 0}
.soa-chat-back{background:transparent;color:#302b4f;border:0;padding:7px;display:none}
.soa-chat-members{padding:19px 20px}
.soa-chat-members h3{font-size:18px;font-weight:900;margin:0 0 14px;color:#282641}
.soa-chat-members h3 span{font-size:12px;border-radius:999px;padding:7px 10px;color:#685bfb;background:#eeeaff;margin-left:7px}
.soa-chat-members-row{display:flex;gap:10px;overflow-x:auto;padding-bottom:2px}
.soa-chat-member{display:flex;align-items:center;gap:12px;padding:12px;background:#fff;border:1px solid #e2dcf9;border-radius:20px;min-width:220px;flex:1}
.soa-chat-member img{width:48px;height:48px;object-fit:cover;border-radius:50%;flex:none}
.soa-chat-member strong{font-size:13px;color:#292741;white-space:nowrap}
.soa-chat-member p{font-size:11px;color:#8b8ca7;margin:3px 0;font-weight:650}
.soa-chat-member b{color:#7564fd}.soa-chat-member b.client{color:#23a968}
.soa-chat-member small{font-size:10px}
.soa-chat-online{color:#19935a}.soa-chat-offline{color:#758096}.soa-chat-unknown{color:#8b91a8}
.soa-chat-conversation .soa-chat-messages{height:min(44vh,450px);min-height:230px;max-height:none;overflow-y:auto;display:flex;flex-direction:column;gap:14px;align-items:stretch;padding:22px}
.soa-chat-day{display:flex;gap:12px;align-items:center;justify-content:center;color:#7760ec;font-size:12px;font-weight:800;margin:12px 0}
.soa-chat-day:before,.soa-chat-day:after{content:'';height:1px;flex:1;background:#ded9f5}
.soa-chat-day span{padding:7px 16px;background:#eee8ff;border:1px solid #d5caff;border-radius:99px}
.soa-chat-bubble{max-width:76%;padding:14px 17px;border-radius:22px;background:#fff;border:1px solid #eae4fa;align-self:flex-start;overflow-wrap:anywhere}
.soa-chat-bubble.mine{background:linear-gradient(135deg,#5c56fb,#9476ff);border:0;color:#fff;border-radius:23px 23px 7px 23px;align-self:flex-end}
.soa-chat-bubble strong{display:block;font-size:12px;color:#7167aa;margin-bottom:6px}
.soa-chat-bubble.mine strong,.soa-chat-bubble.mine time{color:#f8f6ff}
.soa-chat-bubble p{margin:0;white-space:pre-wrap;font-size:16px;line-height:1.45}
.soa-chat-bubble time{display:block;text-align:right;font-size:10px;color:#8c86a2;margin-top:7px}
.soa-chat-empty{flex:1;display:grid;place-items:center;text-align:center;color:#8e94b5;font-size:16px;font-weight:650}
.soa-chat-conversation .soa-chat-composer{display:flex;align-items:flex-end;gap:10px;padding:13px}
.soa-chat-composer textarea{background:transparent;border:0;outline:0;resize:vertical;min-height:42px;max-height:130px;flex:1;padding:12px 0;font:inherit;color:#292741;min-width:0}
.soa-chat-tool,.soa-chat-submit{width:43px;height:43px;border-radius:14px;display:grid;place-items:center;flex:none;border:0}
.soa-chat-tool{color:#8473fb;background:#f1ebff}.soa-chat-tool:disabled{opacity:.47;cursor:not-allowed}
.soa-chat-submit{color:white;background:linear-gradient(135deg,#5c56fb,#9576ff);cursor:pointer}
.soa-chat-submit:disabled{opacity:.4;cursor:not-allowed}
.soa-chat-composer .ico{width:22px;height:22px}
.soa-chat-restricted,.soa-chat-alert{padding:14px 18px;background:#fff0ef;border:1px solid #ffd1d2;color:#823f4b;border-radius:16px;font-size:12px}
.soa-chat-footnote{font-size:10px;color:#777391;margin:-8px 3px 0}
@media(max-width:1050px){.soa-chat-workspace{grid-template-columns:minmax(240px,.4fr) minmax(0,.6fr)}.soa-chat-directory{max-height:70vh}.soa-chat-member{min-width:190px}}
@media(max-width:750px){.soa-chat-workspace{grid-template-columns:1fr}.soa-chat-directory{max-height:none}.soa-chat-workspace.soa-chat-open>.soa-chat-directory{display:none}.soa-chat-workspace:not(.soa-chat-open)>.soa-chat-room{display:none}.soa-chat-back{display:block}.soa-chat-conversation .soa-chat-messages{height:44vh}.soa-chat-members{padding:14px}.soa-chat-topbar{padding:18px}.soa-chat-bubble{max-width:88%}}
@media(max-width:420px){.soa-chat-member{min-width:190px}.soa-chat-composer{gap:5px!important;padding:8px!important}.soa-chat-tool,.soa-chat-submit{width:37px;height:37px}}
@media(max-width:750px){
 .soa-chat-workspace.soa-chat-open{height:calc(100svh - 185px);min-height:360px;overflow:hidden}
 .soa-chat-workspace.soa-chat-open>.soa-chat-room{height:100%;min-height:0}
 .soa-chat-workspace.soa-chat-open .soa-chat-conversation{height:100%;min-height:0;gap:9px}
 .soa-chat-workspace.soa-chat-open .soa-chat-topbar{flex:0 0 auto;padding:15px}
 .soa-chat-workspace.soa-chat-open .soa-chat-members{flex:0 0 auto;padding:13px;max-height:154px;overflow:hidden}
 .soa-chat-workspace.soa-chat-open .soa-chat-members-row{padding-bottom:5px}
 .soa-chat-workspace.soa-chat-open .soa-chat-conversation .soa-chat-messages{height:auto;min-height:85px;max-height:none;flex:1 1 auto;overflow-y:auto;padding:14px}
 .soa-chat-workspace.soa-chat-open .soa-chat-composer{flex:0 0 auto}
 .soa-chat-workspace.soa-chat-open .soa-chat-footnote{display:none}
}

/* V20 — conversations regroupées par correspondant */
.soa-chat-group{border:1px solid #e4dcf9;background:#ffffffc9;border-radius:19px;padding:8px;min-width:0}
.soa-chat-group-head{width:100%;display:flex;gap:12px;align-items:center;text-align:left;background:transparent;border:0;border-radius:15px;padding:8px;cursor:pointer;color:#292742}
.soa-chat-group-head img{width:48px;height:48px;flex:none;border-radius:50%;object-fit:cover}
.soa-chat-group-head>span{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.soa-chat-group-head strong,.soa-chat-subthread strong{font-size:13px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.soa-chat-group-head small,.soa-chat-subthread small{font-size:11px;color:#787194;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.soa-chat-group-head>.ico{width:19px;height:19px;color:#8069f3;flex:none;transform:rotate(-90deg)}
.soa-chat-group-head[aria-expanded="true"]>.ico{transform:rotate(90deg)}
.soa-chat-subthreads{border-left:2px solid #e8dffc;margin:5px 4px 4px 16px;padding:7px 0 2px 12px;display:grid;gap:8px}
.soa-chat-subthread{min-width:0;width:100%;display:flex;gap:10px;align-items:center;text-align:left;border:1px solid #e7dffa;border-radius:15px;padding:11px;background:#fff;cursor:pointer;color:#282640}
.soa-chat-subthread.selected{background:#f0eaff;border-color:#8e7aff}
.soa-chat-subthread>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.soa-chat-subthread-symbol{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:11px;background:#f0ebff;color:#7b6aff}
.soa-chat-sync-note{padding:10px 13px;border-radius:14px;border:1px solid #d7cdfa;background:#f5f1ff;font-size:12px;color:#605586}

/* SOA V21 : marqueurs de réception, pièce jointe et position */
.soa-chat-bubble.theirs{position:relative;border-radius:23px 23px 23px 7px;margin-left:8px;overflow:visible}
.soa-chat-bubble.theirs:after{content:"";position:absolute;left:-8px;bottom:5px;width:16px;height:18px;background:#fff;clip-path:polygon(100% 0,100% 100%,0 100%);filter:drop-shadow(-1px 1px 0 #eae4fa)}
.soa-chat-status{display:inline-flex;min-width:19px;justify-content:center;letter-spacing:-5px;padding-right:5px;font-size:13px;font-weight:800;vertical-align:middle;white-space:nowrap}
.soa-chat-status.sent,.soa-chat-status.delivered{color:#e2dafa}.soa-chat-status.read{color:#6bd5ff}
.soa-chat-bubble time{display:flex;align-items:center;gap:5px;justify-content:flex-end}
.soa-chat-send-area{position:relative;min-width:0}
.soa-chat-attach-wrap{position:relative;flex:none}
.soa-chat-attach-menu{position:absolute;left:0;bottom:calc(100% + 10px);display:flex;flex-direction:column;gap:4px;z-index:20;min-width:222px;border:1px solid #ddd4fc;border-radius:18px;background:#fff;box-shadow:0 16px 38px #3025682e;padding:8px}
.soa-chat-attach-menu button{display:flex;align-items:center;gap:10px;text-align:left;border:0;background:transparent;border-radius:11px;padding:12px 10px;font:inherit;font-weight:600;color:#34304f;cursor:pointer}
.soa-chat-attach-menu button:hover,.soa-chat-attach-menu button:focus-visible{background:#f0ebff}
.soa-chat-attach-menu svg{height:20px;width:20px;color:#7262ff}
.soa-chat-pending{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #ddd5ff;border-radius:16px;padding:10px 12px;margin-bottom:9px;color:#282440}
.soa-chat-pending>span:nth-child(2){min-width:0;flex:1}.soa-chat-pending strong{display:block;overflow-wrap:anywhere;font-size:12px}.soa-chat-pending small{display:block;color:#696487;font-size:11px;margin-top:3px}
.soa-chat-pending button{border:0;background:#eee7ff;border-radius:10px;padding:7px;cursor:pointer;color:#6557de}.soa-chat-pending svg{width:19px;height:19px}
.soa-chat-pending-icon{background:#f2eeff;border-radius:10px;padding:8px;color:#7058fa}
.soa-chat-upload{font-size:12px;color:#6552d6;margin:4px 10px}
.soa-chat-image{display:block;width:min(270px,100%);height:auto;max-height:310px;object-fit:contain;border-radius:12px;margin-bottom:8px}
.soa-chat-video{display:block;width:min(280px,100%);max-height:280px;border-radius:12px;margin-bottom:8px}
.soa-chat-doc-link{display:flex;align-items:center;gap:8px;font-weight:750;color:inherit;overflow-wrap:anywhere;padding:5px 0}.soa-chat-doc-link svg{width:21px;height:21px}
.soa-chat-location-link{color:inherit;text-decoration:underline;display:inline-block;overflow-wrap:anywhere}
@media(max-width:750px){.soa-chat-attach-menu{min-width:195px;max-width:calc(100vw - 75px)}.soa-chat-bubble.theirs{margin-left:7px}}

.soa-chat-local-preview{width:53px;height:53px;flex:none;object-fit:cover;border-radius:12px}

/* V22 : portail administrateur sécurisé, sans altération de l'app Flutter */
.soa-admin-welcome{display:flex;align-items:center;justify-content:space-between;gap:2rem;background:linear-gradient(110deg,#fdfcff,#ede3ff)}
.soa-admin-welcome h2{font-size:clamp(1.5rem,3vw,2.1rem);margin:.4rem 0}
.soa-admin-welcome p{max-width:54rem;line-height:1.6;color:#777197}
.soa-admin-welcome img{width:150px;max-height:150px;object-fit:contain}
.soa-admin-dashboard{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin:18px 0}
.soa-admin-tile{display:flex;align-items:flex-start;flex-direction:column;text-align:left;gap:.65rem;min-height:170px;padding:22px!important;cursor:pointer;border:1px solid #dfd5fe!important;color:#242341}
.soa-admin-tile:hover,.soa-admin-entry:hover{border-color:#8170ff!important;background:#f8f5ff}
.soa-admin-entry-icon{display:grid;place-items:center;flex-shrink:0;width:43px;height:43px;border-radius:14px;color:#6555ff;background:#e9e4ff}
.soa-admin-entry-icon .ico{width:22px;height:22px}
.soa-admin-count{color:#6656fb;font-size:1.5rem;font-weight:900}
.soa-admin-tile small{color:#777093}
.soa-admin-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.soa-admin-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.soa-admin-section-head h2{margin:8px 0 0}
.soa-admin-readonly,.soa-admin-status{font-size:.8rem;font-weight:750;color:#6554bd;background:#eee9ff;border-radius:30px;padding:7px 10px;white-space:nowrap}
.soa-admin-live{display:inline-flex;align-items:center;gap:6px;color:#26855f;font-weight:700;font-size:.9rem}
.soa-admin-feed-error{color:#aa3242;font-weight:700}.soa-admin-sync{color:#777197}
.soa-admin-search-label{display:block;font-size:.85rem;font-weight:700;margin:15px 0 6px}
#admin-search{width:100%;padding:13px;border-radius:14px;border:1px solid #ddd4fb;background:#fff;color:#242341}
.soa-admin-rows{display:grid;gap:10px;margin-top:16px}
.soa-admin-entry{display:flex;align-items:center;gap:14px;text-align:left;width:100%;border:1px solid #e3dcfb;border-radius:18px;background:#fff;min-height:78px;padding:13px;color:#25233e;cursor:pointer}
.soa-admin-entry-label{flex:1;display:grid;gap:6px;min-width:0}.soa-admin-entry-label strong,.soa-admin-entry-label small{display:block;overflow-wrap:anywhere}.soa-admin-entry-label small{color:#827a9c;font-size:.78rem}
.soa-admin-entry>.ico{width:18px;height:18px;color:#7667dc}
.soa-admin-details{display:grid;gap:10px;margin:24px 0}.soa-admin-details>div{display:grid;grid-template-columns:minmax(130px,1fr) 2fr;gap:12px;padding:13px 0;border-bottom:1px solid #e6e0fb}.soa-admin-details dt{font-weight:750;color:#787096}.soa-admin-details dd{margin:0;overflow-wrap:anywhere}
@media(max-width:850px){.soa-admin-welcome img{width:95px}.soa-admin-dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}.soa-admin-links{grid-template-columns:1fr}.soa-admin-section-head{align-items:flex-start;flex-direction:column}.soa-admin-entry{gap:8px}.soa-admin-entry .soa-admin-status{white-space:normal;max-width:90px;text-align:center}.soa-admin-nav{overflow-x:auto;display:flex;justify-content:flex-start}.soa-admin-nav .nav-item{min-width:88px}.soa-admin-details>div{grid-template-columns:1fr}}
@media(max-width:480px){.soa-admin-dashboard{grid-template-columns:1fr 1fr;gap:8px}.soa-admin-tile{padding:12px!important;min-height:160px}.soa-admin-welcome img{display:none}}

/* SOA sign-in and registration */
.auth-split .auth-title{margin:0}
.auth-split .auth-brand{margin:10px 0 20px}
.auth-split .auth-brand .auth-subtitle{margin-bottom:0}
.auth-split .auth-glass{padding:clamp(16px,2.4vw,28px)}
.auth-split .auth-editor{margin-top:0}
.auth-split .role-title{margin-top:0}
.auth-role-description{color:#625e80;font-size:.875rem;line-height:1.45;margin:14px 0 0}
.auth-optional{font-weight:500;color:#625e80}
.auth-label-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.auth-label-row .link-btn{padding:6px 0;min-height:32px;text-align:left;font-size:.875rem}
.auth-split .register-status,.auth-form-message{font-size:.875rem;line-height:1.45}
.auth-form-message{margin:0;background:#f4efff;border:1px solid #e1d7fc;border-radius:12px;padding:11px 13px;color:#534489}
.auth-form-message.is-error{color:#8c2c42;background:#fff1f4;border-color:#f5cbd5}
.auth-split button:disabled{cursor:not-allowed;opacity:.58}
.auth-split :is(button,input,a):focus-visible{outline:3px solid #8f76ff;outline-offset:3px}
.auth-split .consent-check a{color:#5142ae}
@media(min-width:900px){
 body:has(.auth-split) .desktop-label{display:none}
 .app-frame:has(.auth-split){width:min(100%,1020px);height:auto;min-height:min(760px,calc(100svh - 46px))}
 .auth-split{height:auto;overflow:visible;display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:clamp(24px,4vw,48px);align-items:start;padding:clamp(28px,5vw,56px)}
 .auth-split .auth-editor{margin-top:34px}
 .auth-split .auth-intro .auth-brand{margin-top:38px}
 .auth-split .auth-brand .auth-subtitle{margin-bottom:28px}
}

.soa-chat-voice-bar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:10px 12px;margin:0 0 9px;border:1px solid #f4c9d6;border-radius:17px;background:#fff2f7;color:#46304f}
.soa-chat-voice-bar>span:nth-child(2){flex:1;min-width:105px}
.soa-chat-voice-bar strong,.soa-chat-voice-bar time{display:block}
.soa-chat-voice-bar strong{font-size:.875rem}
.soa-chat-voice-bar time{color:#9b4160;font-variant-numeric:tabular-nums;font-weight:750}
.soa-chat-voice-symbol{display:grid;place-items:center;width:35px;height:35px;flex:none;border-radius:12px;background:#f8dbe5;color:#a9385d}
.soa-chat-voice-symbol .ico{width:18px;height:18px}
.soa-chat-voice-bar audio,.soa-chat-bubble audio{max-width:100%;min-width:0}
.soa-chat-voice-bar audio{height:36px;flex:1;min-width:min(175px,100%)}
.soa-chat-voice-bar .btn{min-height:35px;padding:7px 10px;font-size:.8125rem}
.soa-chat-bubble audio{display:block;width:min(270px,100%);margin:5px 0}
@media(max-width:420px){.soa-chat-voice-preview audio{order:3;flex-basis:100%}}
