:root{--ux-navy:#10283f;--ux-orange:#ef8d36;--ux-border:#dce4ed;--ux-muted:#5b6c80;--ux-bg:#f4f7fb}.ux-root{font:14px/1.5 system-ui,sans-serif;color:var(--ux-navy);text-align:left}.ux-root *{box-sizing:border-box}.ux-root button,.ux-root input,.ux-root select,.ux-root textarea{font:inherit}.ux-root button,.ux-root a.ux-btn{cursor:pointer;border:1px solid var(--ux-border);background:white;color:var(--ux-navy);border-radius:10px;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none}.ux-root button:hover{background:#eef3f8}.ux-root button:disabled{opacity:.5;cursor:wait}.ux-root button:focus-visible,.ux-root input:focus-visible,.ux-root textarea:focus-visible,.ux-root select:focus-visible{outline:3px solid #ef8d36;outline-offset:2px}.ux-root .ux-primary{background:var(--ux-navy);color:#fff;border-color:var(--ux-navy)}.ux-root .ux-primary:hover{background:#214664}.ux-root input,.ux-root select,.ux-root textarea{border:1px solid var(--ux-border);border-radius:9px;padding:10px;width:100%;background:#fff;color:var(--ux-navy)}.ux-root label{display:block;font-size:13px;margin:8px 0}.ux-root textarea{min-height:85px;resize:vertical}.ux-muted{color:var(--ux-muted);font-size:13px}.ux-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.ux-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ux-card{background:white;border:1px solid var(--ux-border);border-radius:14px;padding:18px;margin:12px 0}.ux-error{color:#972d26;background:#fff1ef;padding:12px;border-radius:10px;white-space:pre-wrap}.ux-empty{padding:26px 16px;text-align:center;color:var(--ux-muted)}.ux-fab{position:fixed;bottom:24px;right:24px;z-index:8500;box-shadow:0 8px 30px #10283f30;border-radius:30px!important;background:var(--ux-navy)!important;color:white!important}.ux-fab img{width:26px;height:26px;object-fit:contain;background:white;border-radius:7px}.ux-dialog{padding:0;border:1px solid var(--ux-border);border-radius:18px;color:var(--ux-navy);width:min(1050px,95vw);height:min(800px,92dvh);max-height:92dvh;box-shadow:0 24px 90px #10283f50;background:var(--ux-bg)}.ux-dialog::backdrop{background:#10283f55;backdrop-filter:blur(3px)}.ux-shell{height:100%;display:flex;flex-direction:column}.ux-head{display:flex;align-items:center;gap:12px;padding:18px 22px;border-bottom:1px solid var(--ux-border);background:#fff}.ux-head img{width:105px;max-height:38px;object-fit:contain}.ux-head strong{flex:1}.ux-tabs{display:flex;gap:8px;padding:12px 20px;background:#fff;border-bottom:1px solid var(--ux-border);overflow-x:auto}.ux-tabs button[aria-selected=true]{background:var(--ux-navy);color:white}.ux-body{padding:18px 22px;overflow:auto;flex:1;min-height:0}.ux-chat{display:flex;flex-direction:column;gap:12px;min-height:120px;max-height:42dvh;overflow:auto;margin:14px 0}.ux-message{max-width:92%;border:1px solid var(--ux-border);border-radius:15px;padding:13px 16px;background:#fff;white-space:pre-wrap;overflow-wrap:anywhere}.ux-message.user{align-self:flex-end;background:var(--ux-navy);color:#fff}.ux-message.assistant{align-self:flex-start}.ux-context{font-size:12px;padding:8px 12px;border-left:3px solid var(--ux-orange);background:#fff;border-radius:4px}.ux-split{display:grid;grid-template-columns:300px 1fr;gap:16px}.ux-list{max-height:55dvh;overflow:auto}.ux-list button{display:block;width:100%;text-align:left;justify-content:flex-start;margin:7px 0}.ux-map{height:430px;border-radius:12px;z-index:1;background:#e9eef5}.ux-badge{font-size:11px;border:1px solid var(--ux-border);border-radius:30px;padding:4px 9px;background:white}.ux-list-item{margin:8px 0;padding:12px;border:1px solid var(--ux-border);border-radius:10px;background:#fff}.ux-loader{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:100000;background:#10283f66;backdrop-filter:blur(4px)}.ux-loader-card{padding:32px 44px;text-align:center;background:#fffc;border:1px solid #fff8;border-radius:22px;box-shadow:0 20px 60px #10283f25;max-width:90vw}.ux-loader img{width:130px;animation:ux-breathe 1.8s ease-in-out infinite}.ux-loader p{margin-top:14px}.ux-local-loader{padding:16px;border-radius:10px;background:linear-gradient(100deg,#e7edf4,#f8fafc,#e7edf4);background-size:200%;animation:ux-shimmer 1.6s infinite;color:var(--ux-muted)}.ux-install{position:fixed;bottom:88px;right:24px;z-index:8499;max-width:350px;background:#fff;box-shadow:0 14px 50px #10283f30;padding:18px;border-radius:15px;border:1px solid var(--ux-border)}.ux-toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:100001;padding:14px 20px;border-radius:12px;background:var(--ux-navy);color:#fff;max-width:90vw}.ux-panel-title{margin:0 0 5px;font-size:25px;letter-spacing:-.5px}.ux-check{display:flex!important;gap:8px;align-items:center}.ux-check input{width:auto}.ux-finance-note{background:#fff7eb;border-radius:9px;padding:12px}.ux-locale{max-width:150px}.ux-point{background:#ef8d36;border:3px solid white;border-radius:50%;box-shadow:0 2px 6px #10283f60}.ux-point-client{background:#286eae}.ux-point-finished{background:#718294}.ux-point-intervention{background:#328a6b}.ux-root [hidden]{display:none!important}@keyframes ux-breathe{50%{transform:scale(1.035);opacity:.75}}@keyframes ux-shimmer{to{background-position:-200%}}@media(prefers-reduced-motion:reduce){.ux-loader img,.ux-local-loader{animation:none!important}}@media(max-width:700px){.ux-dialog{width:100vw;height:100dvh;max-height:100dvh;max-width:100vw;border-radius:0;margin:0}.ux-head{padding:12px}.ux-head img{width:75px}.ux-tabs{padding:9px}.ux-body{padding:14px}.ux-split,.ux-grid{grid-template-columns:1fr}.ux-list{max-height:180px}.ux-map{height:320px}.ux-chat{max-height:44dvh}.ux-fab{right:12px;bottom:14px}.ux-install{right:12px;bottom:75px;max-width:calc(100vw - 24px)}.ux-head .ux-locale{max-width:100px}}@media print{.ux-fab,.ux-dialog,.ux-install,.ux-toast,.ux-loader{display:none!important}}

.ux-dialog{margin:auto}.ux-loader{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;color:var(--ux-navy)}.ux-loader::backdrop{background:transparent}

/* BATILOT_UX_NAV_CLARITY_20260927 — navigation intégrée, sans panneau promotionnel. */
.ux-nav-icon{width:19px;height:19px;flex:0 0 19px;vertical-align:middle}
#main-sidebar>.ux-main-nav{width:100%;min-height:0;overflow-x:hidden}
.sidebar .ux-nav-action{display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;margin:0 0 1px;border:0;border-radius:8px;background:transparent;color:#b8c5d6;text-align:left;font:400 13px var(--font,'Inter',sans-serif);cursor:pointer;white-space:nowrap;box-shadow:none}
.sidebar .ux-nav-action:hover,.sidebar .ux-nav-action[aria-expanded=true]{background:rgba(255,255,255,.09);color:#fff}
.ux-nav-action:focus-visible,.ux-mobile-tools:focus-visible,.ux-context-action:focus-visible{outline:2px solid #ef8d36;outline-offset:2px}
.ux-mobile-tools .ux-nav-icon{width:20px;height:20px;color:var(--text2,#475569)}
.ux-settings-tools{display:flex;align-items:center;gap:16px;padding:20px;flex-wrap:wrap;background:var(--bg2,#fff);color:var(--text,#2d3a52)}
.ux-settings-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#eff4fa;color:#345b84;flex:0 0 auto}
.ux-settings-copy{flex:1;min-width:180px}.ux-settings-copy h3{margin:0 0 4px;font-size:15px}.ux-settings-copy p{margin:0;color:var(--text2,#5b6c80);font-size:13px}
.ux-settings-tools[hidden]{display:none!important}
.ux-install-help{width:min(440px,calc(100vw - 32px));max-height:85dvh;overflow:auto;margin:auto;border:1px solid var(--ux-border);border-radius:16px;padding:24px;box-shadow:0 20px 70px #10283f40}
.ux-install-help::backdrop{background:#10283f55;backdrop-filter:blur(3px)}
.ux-install-help h2{margin:0 0 12px;font-size:20px}.ux-install-help p{margin:0 0 16px}
.ux-context-action{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px}
@media(max-width:640px){#main-sidebar.sidebar{display:none}.bottom-nav .bnav-items{gap:0}.bottom-nav .bnav-item{flex:1;min-width:0;padding:8px 4px}.ux-settings-tools{padding:16px}.ux-settings-copy{min-width:160px}}
@media print{.ux-install-help,.ux-context-action,.ux-settings-tools{display:none!important}}
@media(max-width:640px){.ux-toast{bottom:calc(86px + env(safe-area-inset-bottom,0px));width:min(360px,calc(100vw - 24px));max-width:calc(100vw - 24px);padding:12px 16px}}

/* BATILOT_CLIENTS_CARTE_FIX1_20260927 */
.ux-map-dialog{width:min(1280px,96vw);height:min(860px,94dvh);max-height:94dvh}
.ux-map-dialog .ux-head{align-items:flex-start;padding:16px 22px;flex-shrink:0}
.ux-map-dialog .ux-head>div{flex:1;min-width:0}
.ux-map-dialog h2{margin:0;font-size:21px;line-height:1.3;letter-spacing:-.4px}
.ux-map-dialog .ux-head p{margin:4px 0 0;max-width:800px}
.ux-map-body{padding:16px 20px;flex:1;min-height:0;display:flex;flex-direction:column;gap:8px}
#ux-map-search{flex-wrap:nowrap;flex-shrink:0}
#ux-map-query{flex:1;min-width:0}
.ux-map-filters{flex-shrink:0;gap:5px 16px}
.ux-map-filters label{margin:0;font-size:12px}
#ux-map-status:empty{display:none}
.ux-map-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:16px;min-height:0;flex:1}
.ux-map-aside{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 4px 4px 0}
#ux-map-list{max-height:none;overflow:visible}
#ux-map-list button{margin:0 0 8px;padding:14px;border-radius:12px;display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.ux-map-address{font-size:13px;color:var(--ux-muted);white-space:pre-line;overflow-wrap:anywhere}
.ux-map-canvas{min-height:0;display:flex;flex-direction:column;gap:8px}
.ux-map-dialog .ux-map{flex:1;height:100%;min-height:180px;border:1px solid var(--ux-border)}
.ux-map-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:12px;color:var(--ux-muted)}
.ux-map-legend span{display:flex;align-items:center;gap:6px}
.ux-map-legend i{display:inline-block;width:10px;height:10px;border-radius:50%;background:#286eae}
.ux-map-legend .ux-legend-proposed{background:#ed8727;outline:1px dashed #9b520f;outline-offset:2px}
.ux-point-proposed{background:#ed8727;outline:2px dashed #a3540d;outline-offset:2px}
.ux-location-proposed{background:#fff6e8!important;color:#814b16;border-color:#f1c890}
.ux-location-located{background:#edf7f1!important;color:#226341;border-color:#badbc8}
.ux-map-detail h3{font-size:19px;margin:16px 0 8px;overflow-wrap:anywhere}
.ux-map-detail p{margin:8px 0}
.ux-location-state{font-size:13px;font-weight:600;color:#794b18}
.ux-location-label{font-size:13px;padding:10px;border-radius:8px;border:1px solid #efc386;background:#fff7eb}
#ux-location-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
#ux-geocode{font-size:13px}
#ux-geocode .ux-geocode-choice{display:block;width:100%;text-align:left;margin:6px 0;font-size:13px}
#ux-geocode details{margin:12px 0}
#ux-geocode summary,.ux-client-billing summary{cursor:pointer;color:#30587d;padding:5px 0}
#ux-point-locate{margin-top:8px}
.ux-manual-location label{font-size:12px}
.ux-point-actions{border-top:1px solid var(--ux-border);margin-top:18px;padding-top:14px}
.ux-client-view{width:min(680px,94vw);height:fit-content;max-height:90dvh}
.ux-client-view .ux-shell{height:auto;max-height:88dvh}
.ux-client-view .ux-head{flex-shrink:0}
.ux-client-view .ux-head strong{font-size:20px;overflow-wrap:anywhere;min-width:0}
.ux-client-view h3{font-size:15px;margin:18px 0 10px}
.ux-client-caption{margin:0;font-size:12px;color:var(--ux-muted)}
.ux-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:0 0 20px}
.ux-contact-grid>div:last-child{grid-column:1/-1}
.ux-contact-grid dt{font-size:12px;color:var(--ux-muted);margin:0 0 5px}
.ux-contact-grid dd{margin:0;font-size:15px;white-space:pre-line;overflow-wrap:anywhere}
.ux-client-billing{border-top:1px solid var(--ux-border);margin-top:20px;padding-top:12px}
.ux-client-billing .ux-contact-grid{margin-top:15px}
.ux-client-footer{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--ux-border);margin-top:22px;padding-top:18px}
.ux-client-row{cursor:pointer}.ux-client-row:hover{background:var(--bg-hover,#f0f5fc)}
.ux-client-row-actions{white-space:nowrap}
.ux-client-row-actions .btn{padding:5px 10px!important;font-size:12px!important}
.ux-client-row-actions .ux-client-see{margin-right:6px;color:var(--blue,#205fda);border-color:#cedcf7}
.ux-clients-map{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
#page-clients>.flex:first-child{gap:10px;flex-wrap:wrap}
#page-clients .p12-toolbar{display:flex;flex-wrap:wrap;gap:8px}
#page-clients .search-wrap{min-width:180px}
@media(max-width:700px){
 .ux-map-dialog{width:100vw;height:100dvh;max-height:100dvh;max-width:100vw;margin:0;border-radius:0}
 .ux-map-dialog .ux-head{padding:12px}.ux-map-dialog h2{font-size:19px}.ux-map-dialog .ux-head p{font-size:12px}
 .ux-map-body{padding:10px;gap:8px;overflow:auto}.ux-map-layout{display:flex;flex-direction:column-reverse;gap:10px;flex:none;min-height:0}
 .ux-map-canvas{height:230px;flex-shrink:0}.ux-map-dialog .ux-map{min-height:190px}
 .ux-map-aside{overflow:visible;padding:0}.ux-map-legend{font-size:11px}
 .ux-map-filters{gap:4px 12px}.ux-map-filters label{font-size:11px}
 .ux-client-view{width:calc(100vw - 20px);max-height:92dvh;border-radius:14px;margin:auto}
 .ux-client-view .ux-shell{max-height:90dvh}.ux-client-view .ux-body{padding:16px}
 .ux-contact-grid{grid-template-columns:1fr;gap:15px}
 #page-clients .p12-toolbar{margin-left:0!important;width:100%}
 #page-clients>.card{overflow:auto!important}#clients-data-table{min-width:610px}
}
@media print{.ux-client-view,.ux-map-dialog{display:none!important}}

/* BATILOT_CARTE_AUTO_FIX1_20260927 */
.ux-map-dialog{position:fixed;inset:0;margin:auto;max-width:96vw;max-height:94dvh;box-sizing:border-box}
.ux-map-dialog .ux-point-client{box-shadow:0 0 0 5px #fff,0 2px 6px #10283f60}
.ux-map-dialog .ux-point-proposed{background:#286eae;outline:none}
#ux-map-tile-status:empty{display:none}
.ux-map-dialog .ux-row:has(>#ux-map-tile-status:empty):has(>#ux-map-retry[hidden]){display:none}
@media(max-width:700px){.ux-map-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0}}

/* BATILOT_CARTE_SATELLITE_V1_BEGIN */
.ux-map-dialog .ux-map-background-switcher{display:flex;align-items:center;gap:3px;background:#fff;border:1px solid var(--ux-border,#dce4ed);border-radius:12px;padding:3px;box-shadow:0 2px 10px #10283f26;font-family:inherit;max-width:calc(100% - 20px)}
.ux-map-dialog .ux-map-background-button{min-height:44px;min-width:60px;padding:8px 11px;border:0;border-radius:8px;line-height:1.2;font-size:13px;font-weight:600;color:var(--ux-navy,#10283f);background:#fff;touch-action:manipulation}
.ux-map-dialog .ux-map-background-button:hover{background:#eef3f8}
.ux-map-dialog .ux-map-background-button[aria-pressed=true]{background:var(--ux-navy,#10283f);color:#fff}
.ux-map-dialog .ux-map-background-button:focus-visible{outline:3px solid var(--ux-orange,#ef8d36);outline-offset:1px}
.ux-map-dialog .leaflet-bottom.leaflet-right{max-width:calc(100% - 190px)}
.ux-map-dialog .leaflet-control-attribution{white-space:normal;overflow-wrap:anywhere;font-size:10px;line-height:1.3}
@media(max-width:700px){.ux-map-dialog .ux-map-background-switcher{margin:0 0 8px 8px}.ux-map-dialog .ux-map-background-button{padding:8px 9px;min-width:57px}.ux-map-dialog .leaflet-bottom.leaflet-right{max-width:calc(100% - 176px)}.ux-map-dialog .leaflet-control-attribution{margin:0 8px 8px 0}}
/* BATILOT_CARTE_SATELLITE_V1_END */

/* BATILOT_CARTE_PREMIUM_LEGENDE_V3 */
.ux-map-flag{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;--flag-color:#2563a6;--flag-soft:#eaf2fb}
.ux-map-flag svg{display:block;width:38px;height:44px;overflow:visible;filter:drop-shadow(0 2px 3px #10283f30)}
.ux-flag-cloth{fill:var(--flag-color);stroke:#fff;stroke-width:1.5}
.ux-flag-pole{fill:none;stroke:#253e56;stroke-width:2;stroke-linecap:round}
.ux-flag-foot{fill:#253e56;opacity:.55}
.ux-flag-symbol{fill:none;stroke:#fff;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.ux-flag-symbol circle{fill:#fff;stroke:none}
.ux-map-flag-chantier{--flag-color:#c86b21;--flag-soft:#fff3e7}
.ux-map-flag-finished{--flag-color:#6a7c90;--flag-soft:#eef2f6}
.ux-map-flag-intervention{--flag-color:#25836b;--flag-soft:#e8f5f0}
.ux-map-flag-proposed .ux-flag-cloth{fill:var(--flag-soft);stroke:var(--flag-color);stroke-dasharray:3 2}
.ux-map-flag-proposed .ux-flag-symbol{stroke:var(--flag-color)}
.ux-map-flag-proposed .ux-flag-symbol circle{fill:var(--flag-color)}
.ux-map-flag-selected .ux-flag-cloth{stroke:#10283f;stroke-width:2.5}
.ux-map-flag-selected .ux-flag-foot{opacity:1;stroke:#fff;stroke-width:1.5}
.ux-map-flag:focus-visible{outline:2px solid #10283f;outline-offset:3px;border-radius:8px!important}
.ux-map-dialog .ux-map-legend{display:block;background:#fff;border:1px solid var(--ux-border);border-radius:12px;padding:10px 14px;color:#41566b;font-size:12px;line-height:1.4}
.ux-map-legend>strong{display:block;font-size:12px;color:#10283f;margin-bottom:4px}
.ux-map-legend-types,.ux-map-legend-states{display:flex;align-items:center;flex-wrap:wrap;gap:5px 16px}
.ux-map-legend-states{border-top:1px solid #edf1f5;padding-top:5px;margin-top:5px}
.ux-map-legend .ux-map-legend-item{display:inline-flex;align-items:center;gap:5px}
.ux-map-legend .ux-map-flag{display:inline-block;width:22px;height:25px;flex:0 0 22px}
.ux-map-legend .ux-map-flag svg{width:22px;height:25px;filter:none}
.ux-map-legend p{margin:5px 0 0;color:#64778a;font-size:11px}
#ux-map-list button.ux-map-list-selected{border-color:#2563a6;background:#f0f6fc;box-shadow:inset 3px 0 #2563a6}
.ux-map-route-links .ux-btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;text-decoration:none;border:1px solid var(--ux-border);border-radius:9px}
.ux-map-route-links .ux-btn:focus-visible{outline:3px solid #2563a6;outline-offset:3px}
@media(max-width:700px){.ux-map-dialog .ux-map-legend{padding:8px 10px}.ux-map-legend-types,.ux-map-legend-states{gap:4px 12px}.ux-map-legend p{display:none}}

/* BATILOT_DRAPEAU_MODELE_B_VALIDE */
.ux-map-flag svg{filter:drop-shadow(0 1px 1px #10283f15)}
.ux-flag-pole{stroke:#334a61;stroke-width:1.5}
.ux-flag-cloth{stroke:none}
.ux-flag-symbol{stroke-width:1.5;opacity:.85}
.ux-flag-foot{fill:var(--flag-color);opacity:1}
.ux-map-flag-selected .ux-flag-cloth{stroke:none}
.ux-map-flag-selected .ux-flag-foot{r:5;fill:#fff;stroke:var(--flag-color);stroke-width:1.5}

.ux-map-route-links a{display:inline-flex;align-items:center;gap:8px}.ux-map-route-links svg{flex:none}

.ux-map-flag-proposed .ux-flag-cloth{stroke:var(--flag-color);stroke-width:1.2;stroke-dasharray:3 2}

.ux-map-flag-proposed .ux-flag-cloth{stroke:var(--flag-color);stroke-width:1.2;stroke-dasharray:3 2}

.batilot-folder-drop{outline:2px solid #2563eb!important;background:#e8f1ff!important}.ux-map-route-links a.ux-waze-brand{background:#06bfe8;color:#080c13;border-color:#06bfe8;gap:7px}.ux-waze-word{font-size:17px;font-weight:750;letter-spacing:-.7px}
