.cni-required-star{color:#dc2626!important;font-weight:900!important}.cni-photo-btn .cni-required-star{color:#dc2626!important}.identity-cni-button .cni-required-star{color:#dc2626!important}

*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.18 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.bottom-0{bottom:0}.bottom-\[92px\]{bottom:92px}.left-0{left:0}.left-1\/2{left:50%}.right-0{right:0}.right-6{right:1.5rem}.right-\[52px\]{right:52px}.top-0{top:0}.top-3{top:.75rem}.top-6{top:1.5rem}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.z-\[60\]{z-index:60}.col-span-2{grid-column:span 2/span 2}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-1\.5{margin-bottom:.375rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.ml-1{margin-left:.25rem}.mt-0{margin-top:0}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.block{display:block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-1{height:.25rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-28{height:7rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[72px\]{height:72px}.h-\[80px\]{height:80px}.h-\[84px\]{height:84px}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.max-h-\[85vh\]{max-height:85vh}.max-h-\[92vh\]{max-height:92vh}.max-h-\[96vh\]{max-height:96vh}.min-h-\[32px\]{min-height:32px}.min-h-\[36px\]{min-height:36px}.min-h-\[56px\]{min-height:56px}.min-h-\[60px\]{min-height:60px}.min-h-\[70px\]{min-height:70px}.min-h-screen{min-height:100vh}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\[120px\]{width:120px}.w-\[132px\]{width:132px}.w-\[72px\]{width:72px}.w-full{width:100%}.min-w-0{min-width:0}.min-w-\[56px\]{min-width:56px}.max-w-\[1200px\]{max-width:1200px}.max-w-\[160px\]{max-width:160px}.max-w-\[180px\]{max-width:180px}.max-w-\[220px\]{max-width:220px}.max-w-\[420px\]{max-width:420px}.max-w-\[520px\]{max-width:520px}.max-w-\[98vw\]{max-width:98vw}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.-translate-x-1\/2{--tw-translate-x:-50%}.-translate-x-1\/2,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-grab{cursor:grab}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.375rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem*var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem*var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem*var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem*var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px*var(--tw-divide-y-reverse))}.divide-slate-100>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(241 245 249/var(--tw-divide-opacity,1))}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-\[10px\]{border-radius:10px}.rounded-\[12px\]{border-radius:12px}.rounded-\[14px\]{border-radius:14px}.rounded-\[16px\]{border-radius:16px}.rounded-\[24px\]{border-radius:24px}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.rounded-t-\[20px\]{border-top-left-radius:20px;border-top-right-radius:20px}.rounded-t-\[24px\]{border-top-left-radius:24px;border-top-right-radius:24px}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-\[1\.5px\]{border-width:1.5px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-\[\#1e3a8a\]{--tw-border-opacity:1;border-color:rgb(30 58 138/var(--tw-border-opacity,1))}.border-\[\#1e3a8a\]\/10{border-color:rgba(30,58,138,.1)}.border-amber-100{--tw-border-opacity:1;border-color:rgb(254 243 199/var(--tw-border-opacity,1))}.border-amber-200{--tw-border-opacity:1;border-color:rgb(253 230 138/var(--tw-border-opacity,1))}.border-emerald-100{--tw-border-opacity:1;border-color:rgb(209 250 229/var(--tw-border-opacity,1))}.border-emerald-300\/30{border-color:rgba(110,231,183,.3)}.border-indigo-100{--tw-border-opacity:1;border-color:rgb(224 231 255/var(--tw-border-opacity,1))}.border-indigo-200{--tw-border-opacity:1;border-color:rgb(199 210 254/var(--tw-border-opacity,1))}.border-indigo-500{--tw-border-opacity:1;border-color:rgb(99 102 241/var(--tw-border-opacity,1))}.border-slate-100{--tw-border-opacity:1;border-color:rgb(241 245 249/var(--tw-border-opacity,1))}.border-slate-200{--tw-border-opacity:1;border-color:rgb(226 232 240/var(--tw-border-opacity,1))}.border-slate-300{--tw-border-opacity:1;border-color:rgb(203 213 225/var(--tw-border-opacity,1))}.border-transparent{border-color:transparent}.border-white\/20{border-color:hsla(0,0%,100%,.2)}.bg-\[\#1e3a8a\]{--tw-bg-opacity:1;background-color:rgb(30 58 138/var(--tw-bg-opacity,1))}.bg-\[\#f8fafc\]{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.bg-amber-50{--tw-bg-opacity:1;background-color:rgb(255 251 235/var(--tw-bg-opacity,1))}.bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239 246 255/var(--tw-bg-opacity,1))}.bg-emerald-400\/20{background-color:rgba(52,211,153,.2)}.bg-emerald-50{--tw-bg-opacity:1;background-color:rgb(236 253 245/var(--tw-bg-opacity,1))}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(224 231 255/var(--tw-bg-opacity,1))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgb(238 242 255/var(--tw-bg-opacity,1))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(79 70 229/var(--tw-bg-opacity,1))}.bg-slate-100{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}.bg-slate-200{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1))}.bg-slate-50{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.bg-slate-900{--tw-bg-opacity:1;background-color:rgb(15 23 42/var(--tw-bg-opacity,1))}.bg-slate-900\/20{background-color:rgba(15,23,42,.2)}.bg-slate-900\/30{background-color:rgba(15,23,42,.3)}.bg-slate-900\/40{background-color:rgba(15,23,42,.4)}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-white\/15{background-color:hsla(0,0%,100%,.15)}.bg-white\/20{background-color:hsla(0,0%,100%,.2)}.bg-white\/95{background-color:hsla(0,0%,100%,.95)}.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-\[\#1e3a8a\]{--tw-gradient-from:#1e3a8a var(--tw-gradient-from-position);--tw-gradient-to:rgba(30,58,138,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-indigo-500{--tw-gradient-from:#6366f1 var(--tw-gradient-from-position);--tw-gradient-to:rgba(99,102,241,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.from-indigo-600{--tw-gradient-from:#4f46e5 var(--tw-gradient-from-position);--tw-gradient-to:rgba(79,70,229,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.via-violet-600{--tw-gradient-to:rgba(124,58,237,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),#7c3aed var(--tw-gradient-via-position),var(--tw-gradient-to)}.to-\[\#3730a3\]{--tw-gradient-to:#3730a3 var(--tw-gradient-to-position)}.to-blue-600{--tw-gradient-to:#2563eb var(--tw-gradient-to-position)}.to-violet-400{--tw-gradient-to:#a78bfa var(--tw-gradient-to-position)}.to-violet-600{--tw-gradient-to:#7c3aed var(--tw-gradient-to-position)}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-10{padding:2.5rem}.p-12{padding:3rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-3\.5{padding:.875rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-\[140px\]{padding-bottom:140px}.pt-2{padding-top:.5rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.text-\[13px\]{font-size:13px}.text-\[14px\]{font-size:14px}.text-\[15px\]{font-size:15px}.text-\[16px\]{font-size:16px}.text-\[18px\]{font-size:18px}.text-\[24px\]{font-size:24px}.text-\[28px\]{font-size:28px}.text-\[32px\]{font-size:32px}.text-\[9px\]{font-size:9px}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-extrabold{font-weight:800}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-\[1\.1\]{line-height:1.1}.leading-none{line-height:1}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-wide{letter-spacing:.025em}.tracking-wider{letter-spacing:.05em}.text-\[\#1e3a8a\]{--tw-text-opacity:1;color:rgb(30 58 138/var(--tw-text-opacity,1))}.text-amber-600{--tw-text-opacity:1;color:rgb(217 119 6/var(--tw-text-opacity,1))}.text-amber-700{--tw-text-opacity:1;color:rgb(180 83 9/var(--tw-text-opacity,1))}.text-blue-600{--tw-text-opacity:1;color:rgb(37 99 235/var(--tw-text-opacity,1))}.text-emerald-100{--tw-text-opacity:1;color:rgb(209 250 229/var(--tw-text-opacity,1))}.text-emerald-400{--tw-text-opacity:1;color:rgb(52 211 153/var(--tw-text-opacity,1))}.text-emerald-600{--tw-text-opacity:1;color:rgb(5 150 105/var(--tw-text-opacity,1))}.text-emerald-700{--tw-text-opacity:1;color:rgb(4 120 87/var(--tw-text-opacity,1))}.text-indigo-400{--tw-text-opacity:1;color:rgb(129 140 248/var(--tw-text-opacity,1))}.text-indigo-500{--tw-text-opacity:1;color:rgb(99 102 241/var(--tw-text-opacity,1))}.text-indigo-600{--tw-text-opacity:1;color:rgb(79 70 229/var(--tw-text-opacity,1))}.text-indigo-700{--tw-text-opacity:1;color:rgb(67 56 202/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.text-slate-200{--tw-text-opacity:1;color:rgb(226 232 240/var(--tw-text-opacity,1))}.text-slate-300{--tw-text-opacity:1;color:rgb(203 213 225/var(--tw-text-opacity,1))}.text-slate-400{--tw-text-opacity:1;color:rgb(148 163 184/var(--tw-text-opacity,1))}.text-slate-500{--tw-text-opacity:1;color:rgb(100 116 139/var(--tw-text-opacity,1))}.text-slate-600{--tw-text-opacity:1;color:rgb(71 85 105/var(--tw-text-opacity,1))}.text-slate-700{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.text-slate-800{--tw-text-opacity:1;color:rgb(30 41 59/var(--tw-text-opacity,1))}.text-slate-900{--tw-text-opacity:1;color:rgb(15 23 42/var(--tw-text-opacity,1))}.text-transparent{color:transparent}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.text-white\/80{color:hsla(0,0%,100%,.8)}.placeholder-slate-400::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(148 163 184/var(--tw-placeholder-opacity,1))}.placeholder-slate-400::placeholder{--tw-placeholder-opacity:1;color:rgb(148 163 184/var(--tw-placeholder-opacity,1))}.opacity-0{opacity:0}.opacity-40{opacity:.4}.opacity-60{opacity:.6}.opacity-80{opacity:.8}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color)}.shadow-2xl,.shadow-\[0_-4px_20px_rgba\(0\2c 0\2c 0\2c 0\.06\)\]{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-\[0_-4px_20px_rgba\(0\2c 0\2c 0\2c 0\.06\)\]{--tw-shadow:0 -4px 20px rgba(0,0,0,.06);--tw-shadow-colored:0 -4px 20px var(--tw-shadow-color)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color)}.shadow-lg,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-xl{--tw-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 8px 10px -6px rgba(0,0,0,.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color),0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-amber-300{--tw-ring-opacity:1;--tw-ring-color:rgb(252 211 77/var(--tw-ring-opacity,1))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur{--tw-backdrop-blur:blur(8px)}.backdrop-blur,.backdrop-blur-\[1px\]{backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-\[1px\]{--tw-backdrop-blur:blur(1px)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px)}.backdrop-blur-\[2px\],.backdrop-blur-\[3px\]{backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-blur-\[3px\]{--tw-backdrop-blur:blur(3px)}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#root,body,html{min-height:100%}body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}[role=button]:not([aria-disabled=true]),button:not(:disabled),label[for],select:not(:disabled),summary{cursor:pointer}.hover\:border-indigo-200:hover{--tw-border-opacity:1;border-color:rgb(199 210 254/var(--tw-border-opacity,1))}.hover\:bg-indigo-50:hover{--tw-bg-opacity:1;background-color:rgb(238 242 255/var(--tw-bg-opacity,1))}.hover\:bg-indigo-50\/50:hover{background-color:rgba(238,242,255,.5)}.hover\:bg-indigo-700:hover{--tw-bg-opacity:1;background-color:rgb(67 56 202/var(--tw-bg-opacity,1))}.hover\:bg-red-50:hover{--tw-bg-opacity:1;background-color:rgb(254 242 242/var(--tw-bg-opacity,1))}.hover\:bg-slate-200:hover{--tw-bg-opacity:1;background-color:rgb(226 232 240/var(--tw-bg-opacity,1))}.hover\:bg-slate-50:hover{--tw-bg-opacity:1;background-color:rgb(248 250 252/var(--tw-bg-opacity,1))}.hover\:text-red-500:hover{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity,1))}.hover\:text-slate-700:hover{--tw-text-opacity:1;color:rgb(51 65 85/var(--tw-text-opacity,1))}.hover\:shadow-md:hover{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.focus\:border-indigo-400:focus{--tw-border-opacity:1;border-color:rgb(129 140 248/var(--tw-border-opacity,1))}.focus\:border-indigo-500:focus{--tw-border-opacity:1;border-color:rgb(99 102 241/var(--tw-border-opacity,1))}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-indigo-100:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(224 231 255/var(--tw-ring-opacity,1))}.focus\:ring-indigo-200:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(199 210 254/var(--tw-ring-opacity,1))}.active\:cursor-grabbing:active{cursor:grabbing}.active\:bg-indigo-100:active{--tw-bg-opacity:1;background-color:rgb(224 231 255/var(--tw-bg-opacity,1))}.disabled\:opacity-30:disabled{opacity:.3}.group:hover .group-hover\:inline-flex{display:inline-flex}.group:hover .group-hover\:opacity-100{opacity:1}@media (min-width:640px){.sm\:h-\[48px\]{height:48px}.sm\:max-w-\[440px\]{max-width:440px}.sm\:max-w-\[600px\]{max-width:600px}.sm\:max-w-\[680px\]{max-width:680px}.sm\:max-w-\[720px\]{max-width:720px}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:rounded-\[16px\]{border-radius:16px}.sm\:rounded-\[20px\]{border-radius:20px}.sm\:rounded-\[24px\]{border-radius:24px}.sm\:p-3{padding:.75rem}.sm\:p-4{padding:1rem}.sm\:p-5{padding:1.25rem}.sm\:p-8{padding:2rem}.sm\:px-2{padding-left:.5rem;padding-right:.5rem}.sm\:px-3{padding-left:.75rem;padding-right:.75rem}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:py-0{padding-top:0;padding-bottom:0}.sm\:text-\[13px\]{font-size:13px}.sm\:text-\[14px\]{font-size:14px}.sm\:text-\[18px\]{font-size:18px}}@media (min-width:768px){.md\:block{display:block}.md\:hidden{display:none}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width:1024px){.lg\:block{display:block}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lg\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}
/* V329 — dossiers repliables par bien pour les quittances */
.eb-folder-summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;font-weight:800;font-size:13px;}
.eb-folder-summary::-webkit-details-marker{display:none}
.eb-folder-chevron{width:28px;height:28px;border-radius:10px;background:#f1f5f9;color:#64748b;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:900;flex:none}
.eb-folder-chevron::before{content:"⌃"}
details[open] > .eb-folder-summary .eb-folder-chevron::before{content:"⌄"}
.eb-folder-body{padding:0 12px 12px}


.bail-serious-note{border-left:4px solid #d97706}.bail-action-primary{background:#059669!important;color:#fff!important;border:1px solid #047857!important}.bail-action-secondary{background:#1e3a8a!important;color:#fff!important;border:1px solid #1e3a8a!important}.bail-action-warning{background:#d97706!important;color:#fff!important;border:1px solid #b45309!important}


#signature-modal, .signature-modal, .signature-overlay {
  z-index: 99999 !important;
}
.signature-action-bar {
  display:flex !important;
  gap:12px !important;
  justify-content:center !important;
  align-items:center !important;
  margin-top:14px !important;
}
.signature-action-bar button {
  min-width:140px !important;
  min-height:48px !important;
  border:0 !important;
  border-radius:10px !important;
  color:#fff !important;
  font-weight:700 !important;
  font-size:16px !important;
  cursor:pointer !important;
  opacity:1 !important;
  visibility:visible !important;
}
.signature-action-cancel { background:#dc2626 !important; color:#fff !important; }
.signature-action-confirm { background:#16a34a !important; color:#fff !important; }



button[title="Supprimer ce document"]{background:transparent !important;color:#475569 !important;border:0 !important;width:36px !important;height:36px !important;min-width:36px !important;min-height:36px !important;opacity:1 !important;visibility:visible !important;display:flex !important;align-items:center !important;justify-content:center !important;font-size:18px !important;box-shadow:none !important;}button[title="Supprimer ce document"]:hover{background:#f1f5f9 !important;color:#dc2626 !important;}
/*
  background:#dc2626 !important;
  color:#fff !important;
  border:2px solid #b91c1c !important;
  width:36px !important;
  height:36px !important;
  min-width:36px !important;
  min-height:36px !important;
  opacity:1 !important;
  visibility:visible !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}


.identity-cni-button{display:flex!important;align-items:center!important;justify-content:center!important;background:#4f46e5!important;color:#fff!important;border:2px solid #4338ca!important;opacity:1!important;visibility:visible!important;min-height:48px!important}.identity-cni-button:active{opacity:.85!important}


@media (max-width:640px){
  .baux-valides-card{width:100%!important;overflow:hidden!important}
  .baux-valides-card button{max-width:100%!important}
}



.edl-photo-add{color:#fff!important;background-color:#1e3a8a!important;-webkit-text-fill-color:#fff!important}
.edl-photo-add *{color:#fff!important;-webkit-text-fill-color:#fff!important}
.edl-piece-name{color:#111827!important;-webkit-text-fill-color:#111827!important;background-color:#fff!important}
.edl-piece-name::placeholder{color:#64748b!important;-webkit-text-fill-color:#64748b!important;opacity:1!important}
.edl-validate-btn{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-height:58px!important;padding:14px 18px!important;
  background:#059669!important;color:#fff!important;border:2px solid #047857!important;
  border-radius:16px!important;font-size:15px!important;font-weight:800!important;
  line-height:1.25!important;text-align:center!important;opacity:1!important;visibility:visible!important;
  box-shadow:0 8px 18px rgba(5,150,105,.24)!important;
}
.edl-validate-btn:hover{background:#047857!important;transform:translateY(-1px)}
.edl-validate-btn:active{transform:translateY(0);box-shadow:0 4px 10px rgba(5,150,105,.2)!important}
.edl-photos{display:flex!important;flex-wrap:wrap!important;gap:6px!important;align-items:flex-start!important}
.edl-preview-photo{display:block!important;width:56px!important;height:42px!important;max-width:56px!important;max-height:42px!important;min-width:56px!important;min-height:42px!important;object-fit:cover!important;border:1px solid #cbd5e1!important;border-radius:4px!important}
.edl-photo-thumb{
  display:block!important;width:88px!important;height:66px!important;
  max-width:88px!important;max-height:66px!important;min-width:0!important;min-height:0!important;
  object-fit:contain!important;object-position:center!important;
  border:1px solid #cbd5e1!important;border-radius:4px!important;
  break-inside:avoid!important;page-break-inside:avoid!important;
}
@media(max-width:640px){
  .edl-validate-btn{min-height:60px!important;font-size:15px!important;padding:14px 16px!important}
}



.edl-photos button, .relative.w-16.h-16.rounded-lg button{background:#dc2626!important;color:#fff!important;border:2px solid #fff!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;border-radius:9999px!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:24px!important;font-weight:900!important;line-height:1!important;box-shadow:0 2px 8px rgba(0,0,0,.55)!important;opacity:1!important;visibility:visible!important}


.image-error{background:#f8fafc!important;min-height:80px}.image-error img{display:none!important}


/* V199 — correction contraste mobile/desktop de l'en-tête Loyers */
.bg-slate-950{--tw-bg-opacity:1!important;background-color:rgb(15 23 42/var(--tw-bg-opacity,1))!important}
.bg-indigo-500{--tw-bg-opacity:1!important;background-color:rgb(99 102 241/var(--tw-bg-opacity,1))!important}
.border-white\/10{border-color:rgba(255,255,255,.12)!important}
.text-emerald-300{--tw-text-opacity:1!important;color:rgb(110 231 183/var(--tw-text-opacity,1))!important}
.text-amber-300{--tw-text-opacity:1!important;color:rgb(252 211 77/var(--tw-text-opacity,1))!important}
/* Renforce la lisibilité du bloc supérieur sur petit écran */
@media(max-width:640px){
  .bg-slate-950{background-color:#0f172a!important}
  .bg-slate-950 h1{color:#fff!important}
  .bg-slate-950 p{color:#cbd5e1!important}
  .bg-slate-950 .text-slate-400{color:#94a3b8!important}
}



.loyer-paid-btn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:#059669!important;background-image:none!important;color:#fff!important;
  border:2px solid #047857!important;border-radius:12px!important;
  min-height:44px!important;height:44px!important;padding:0 16px!important;
  font-size:12px!important;font-weight:800!important;line-height:1!important;
  opacity:1!important;visibility:visible!important;box-shadow:0 2px 6px rgba(5,150,105,.25)!important;
  cursor:pointer!important;position:relative!important;z-index:5!important;
}
.loyer-paid-btn:hover{background:#047857!important;color:#fff!important}
@media(max-width:640px){
  .loyer-paid-btn{width:100%!important;min-height:46px!important;height:46px!important;font-size:13px!important}
}



:root{--eb-navy:#07162d;--eb-navy2:#0d2342;--eb-indigo:#4f46e5;--eb-indigo2:#3730a3;--eb-green:#059669;--eb-orange:#d97706;--eb-red:#dc2626;--eb-text:#0f172a;--eb-muted:#64748b;--eb-soft:#f8fafc;--eb-line:#e2e8f0}
body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;background:#f4f7fb!important;color:var(--eb-text)!important}
main{max-width:1240px!important;padding-top:22px!important}
main>div{animation:ebFade .22s ease-out}
@keyframes ebFade{from{opacity:.0;transform:translateY(4px)}to{opacity:1;transform:none}}
/* Uniform page headers */
main h1{letter-spacing:-.025em!important;color:#0b1730!important}
main>div>div:first-child>div:first-child h1{font-weight:800!important}
/* Premium cards without changing structure */
.bg-white.rounded-2xl{border-color:#e5eaf1!important;box-shadow:0 1px 2px rgba(15,23,42,.03),0 10px 28px rgba(15,23,42,.045)!important}
.bg-white.rounded-2xl:hover{box-shadow:0 12px 30px rgba(15,23,42,.07)!important}
/* Buttons */
button.bg-indigo-600{background:linear-gradient(135deg,#4f46e5,#3730a3)!important;border:1px solid #4338ca!important;box-shadow:0 5px 14px rgba(79,70,229,.18)!important;font-weight:700!important}
button.bg-indigo-600:hover{filter:brightness(1.04);box-shadow:0 7px 18px rgba(79,70,229,.24)!important}
/* Form controls */
input,select,textarea{border-color:#d8e0ea!important;border-radius:12px!important;min-height:42px}
input:focus,select:focus,textarea:focus{border-color:#818cf8!important;box-shadow:0 0 0 4px rgba(99,102,241,.10)!important}
/* Badges */
.rounded-full{letter-spacing:.01em}
/* Tables */
table{border-collapse:separate!important;border-spacing:0!important;overflow:hidden;border-radius:16px}
table thead th{background:#f8fafc!important;color:#475569!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.05em!important}
table tbody tr{transition:background .15s ease}
table tbody tr:hover{background:#f8fafc!important}
/* Bottom navigation: cleaner app-like bar */
nav.fixed.bottom-0{background:rgba(255,255,255,.96)!important;backdrop-filter:blur(16px)!important;border-top:1px solid #e2e8f0!important;box-shadow:0 -8px 28px rgba(15,23,42,.08)!important}
nav.fixed.bottom-0 button{font-weight:600!important}
/* Dashboard refinements */
main .space-y-4>div[style*="background:#07162d"]{box-shadow:0 18px 40px rgba(7,22,45,.18)!important;position:relative;overflow:hidden}
main .space-y-4>div[style*="background:#07162d"]:before{content:"";position:absolute;inset:-40% -20% auto auto;width:260px;height:260px;background:radial-gradient(circle,rgba(96,165,250,.18),transparent 68%);pointer-events:none}
main .space-y-4>div[style*="background:#07162d"] button{transition:transform .16s ease,background .16s ease,border-color .16s ease}
main .space-y-4>div[style*="background:#07162d"] button:hover{transform:translateY(-2px);background:#112d52!important;border-color:#31577f!important}
/* Mobile */
@media(max-width:640px){
 main{padding:14px 12px 130px!important}
 main h1{font-size:23px!important}
 .bg-white.rounded-2xl{border-radius:18px!important}
 button.bg-indigo-600{min-height:42px}
 nav.fixed.bottom-0{height:calc(78px + env(safe-area-inset-bottom))!important}
}



/* V211 — Étape 2 DESIGN PRO — refonte visuelle écran uniquement */
@media screen {
  :root{
    --eb-ink:#172033;
    --eb-muted:#667085;
    --eb-brand:#4f46e5;
    --eb-brand2:#7c3aed;
    --eb-soft:#eef2ff;
    --eb-line:#e5e7eb;
    --eb-bg:#f3f6fb;
    --eb-card:#ffffff;
  }
  html,body,#root{min-height:100%;}
  body{background:var(--eb-bg)!important;color:var(--eb-ink)!important;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;}
  #root{background:linear-gradient(180deg,#f8faff 0,#f3f6fb 28%,#f3f6fb 100%);}
  #root>div.min-h-screen{background:transparent!important;}
  main{max-width:1280px!important;padding:24px 24px 150px!important;}
  main>div.space-y-4{gap:22px!important;}

  /* Titres de pages */
  h1.text-\[24px\], h1.text-\[26px\], h1.text-\[28px\]{font-size:30px!important;letter-spacing:-.035em!important;color:#111827!important;font-weight:800!important;}
  h2{letter-spacing:-.02em;}

  /* Tous les panneaux principaux */
  main .bg-white.rounded-2xl,
  main .bg-white.rounded-xl{
    border:1px solid #e6eaf0!important;
    box-shadow:0 8px 30px rgba(15,23,42,.055)!important;
  }
  main .bg-white.rounded-2xl{border-radius:20px!important;}
  main .bg-white.rounded-xl{border-radius:16px!important;}
  main .shadow-sm{box-shadow:0 8px 30px rgba(15,23,42,.055)!important;}

  /* Cartes KPI / chiffres */
  main .grid > .bg-white.rounded-2xl{position:relative;overflow:hidden;}
  main .grid > .bg-white.rounded-2xl:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,var(--eb-brand),var(--eb-brand2));opacity:.95;}
  main .grid > .bg-white.rounded-2xl:hover{transform:translateY(-2px);box-shadow:0 14px 35px rgba(15,23,42,.09)!important;transition:.2s ease;}

  /* Hero dashboard */
  main .bg-slate-900.rounded-2xl,
  main .bg-\[\#0f172a\].rounded-2xl{
    position:relative;overflow:hidden;border:0!important;border-radius:24px!important;
    box-shadow:0 18px 45px rgba(15,23,42,.20)!important;
    background:linear-gradient(120deg,#111827 0%,#1e1b4b 52%,#312e81 100%)!important;
  }
  main .bg-slate-900.rounded-2xl:after,
  main .bg-\[\#0f172a\].rounded-2xl:after{
    content:"";position:absolute;width:280px;height:280px;right:-70px;top:-100px;border-radius:50%;background:rgba(129,140,248,.22);filter:blur(4px);pointer-events:none;
  }

  /* Boutons principaux */
  main button.bg-indigo-600,
  main button.bg-indigo-500,
  main a.bg-indigo-600{
    background:linear-gradient(135deg,#4f46e5,#6366f1)!important;
    border:1px solid rgba(79,70,229,.3)!important;
    box-shadow:0 7px 16px rgba(79,70,229,.20)!important;
    font-weight:750!important;
    transition:transform .16s ease,box-shadow .16s ease,filter .16s ease!important;
  }
  main button.bg-indigo-600:hover,main button.bg-indigo-500:hover{transform:translateY(-1px);filter:brightness(1.03);box-shadow:0 10px 22px rgba(79,70,229,.27)!important;}
  main button.bg-indigo-600:active{transform:translateY(0);}

  /* Boutons secondaires */
  main button.bg-slate-50,main button.bg-white.border{background:#fff!important;border-color:#dfe4ec!important;}
  main button.bg-slate-50:hover,main button.bg-white.border:hover{border-color:#c7d2fe!important;background:#f8faff!important;}

  /* Champs */
  main input,main select,main textarea{
    border-color:#d8dee9!important;border-radius:12px!important;background:#fff!important;
    box-shadow:0 1px 2px rgba(16,24,40,.03)!important;
  }
  main input:focus,main select:focus,main textarea:focus{border-color:#818cf8!important;box-shadow:0 0 0 4px rgba(99,102,241,.11)!important;outline:none!important;}
  main label{font-weight:650!important;color:#344054!important;}

  /* Tableaux */
  main table{border-collapse:separate!important;border-spacing:0!important;overflow:hidden;border:1px solid #e5e7eb;border-radius:16px;background:#fff;}
  main thead th{background:#f7f8fc!important;color:#667085!important;font-size:11px!important;text-transform:uppercase;letter-spacing:.05em;font-weight:800!important;border-bottom:1px solid #e5e7eb!important;}
  main tbody td{border-bottom:1px solid #eef0f4!important;}
  main tbody tr:last-child td{border-bottom:0!important;}
  main tbody tr:hover td{background:#fafbff!important;}

  /* Badges */
  main .rounded-full{letter-spacing:.005em;}

  /* Barre de navigation mobile / basse */
  nav.fixed.bottom-0{
    background:rgba(255,255,255,.94)!important;
    border-top:1px solid #e5e7eb!important;
    box-shadow:0 -12px 35px rgba(15,23,42,.10)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
    padding-bottom:max(8px,env(safe-area-inset-bottom))!important;
  }
  nav.fixed.bottom-0 button{font-weight:700!important;}
  nav.fixed.bottom-0 button.text-indigo-600{color:#4f46e5!important;}
  nav.fixed.bottom-0 button.text-slate-500:hover{background:#f4f5ff!important;color:#4f46e5!important;}

  /* Cartes de biens / locataires : plus aérées */
  main .group.bg-white{border-color:#e4e8ef!important;}
  main .group.bg-white:hover{border-color:#c7d2fe!important;box-shadow:0 14px 34px rgba(15,23,42,.08)!important;}

  /* Alertes / zones informatives */
  main .bg-amber-50{border-color:#fde68a!important;box-shadow:none!important;}
  main .bg-emerald-50{border-color:#a7f3d0!important;}
  main .bg-red-50{border-color:#fecaca!important;}

  /* Responsive */
  @media(max-width:700px){
    main{padding:16px 14px 132px!important;}
    h1.text-\[24px\],h1.text-\[26px\],h1.text-\[28px\]{font-size:25px!important;}
    main .bg-white.rounded-2xl{border-radius:17px!important;}
    main .grid{gap:12px!important;}
    main button{min-height:42px;}
  }
}




/* V236 — passe PRO : lisibilité, hiérarchie et cartes d'information */
:root{--eb-navy:#0f172a;--eb-indigo:#4f46e5;--eb-soft:#f8fafc}
.eb-premium-card{background:#fff;border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.eb-premium-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.eb-premium-title{font-size:13px;font-weight:800;color:#0f172a;letter-spacing:-.01em}
.eb-premium-sub{font-size:11px;color:#64748b;margin-top:3px}
.eb-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}
.eb-badge-green{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.eb-badge-amber{background:#fffbeb;color:#b45309;border:1px solid #fde68a}
.eb-badge-red{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}
.eb-badge-blue{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}
.eb-badge-slate{background:#f8fafc;color:#475569;border:1px solid #e2e8f0}
.eb-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.eb-history-item{padding:12px;border:1px solid #e2e8f0;border-radius:16px;background:#fff}
.eb-history-month{font-size:11px;font-weight:800;color:#334155}
.eb-history-amount{font-size:16px;font-weight:900;color:#0f172a;margin-top:4px}
.eb-history-meta{font-size:10px;color:#64748b;margin-top:3px;line-height:1.45}
.eb-history-bar{height:5px;background:#e2e8f0;border-radius:999px;overflow:hidden;margin-top:8px}
.eb-history-fill{height:100%;background:#4f46e5;border-radius:999px}
.eb-fiscal-chip{margin-top:7px}
.eb-attention-list{display:grid;gap:8px}
.eb-attention-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0}
.eb-attention-label{font-size:11px;font-weight:700;color:#334155}
.eb-attention-value{font-size:11px;font-weight:900;color:#0f172a;text-align:right}
@media(max-width:640px){.eb-history-grid{grid-template-columns:1fr}.eb-premium-card{border-radius:18px}}



.doc-fixed-documents{margin-top:8px;padding:10px;border:1px solid #dbe3f0;border-radius:16px;background:linear-gradient(180deg,#f8fafc 0%,#fff 100%);display:grid;gap:8px}
.doc-fixed-title{font-size:12px;font-weight:900;color:#1e293b}
.doc-fixed-subtitle{font-size:10px;color:#64748b;line-height:1.4;margin-bottom:2px}
.doc-fixed-documents .doc-check-group{margin-top:0}



.doc-action-btn{color:#fff!important}
.doc-action-btn *{color:#fff!important}
.doc-check-group{border:1px solid #e2e8f0;border-radius:14px;background:#fff;overflow:hidden}
.doc-check-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 13px;background:#f8fafc;color:#1e293b;border:0;font-weight:800;font-size:12px;text-align:left}
.doc-check-toggle .doc-arrow{font-size:12px;transition:transform .18s ease}
.doc-check-toggle.open .doc-arrow{transform:rotate(90deg)}
.doc-check-list{padding:8px 12px 12px;display:grid;gap:7px}
.doc-check-item{display:flex;align-items:flex-start;gap:9px;padding:7px 4px;font-size:11px;color:#334155;line-height:1.35}
.doc-check-item input{margin-top:2px;width:17px;height:17px;accent-color:#4f46e5;flex:none}
.doc-check-note{font-size:10px;color:#64748b;padding:0 12px 10px}
.doc-other-row{display:flex;gap:8px;align-items:center}
.doc-other-row input{flex:1}
.doc-other-add{min-width:96px;background:#0f766e!important;color:#fff!important;border:1px solid #115e59!important}
.doc-other-tag{display:inline-flex;align-items:center;gap:5px;background:#ecfeff;border:1px solid #a5f3fc;color:#155e75;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:700}
.doc-other-tag button{color:#be123c!important;background:transparent;border:0;font-weight:900;cursor:pointer}
.doc-warning{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:12px;padding:10px 11px;font-size:10px;line-height:1.4}



.cni-photo-btn, .cni-photo-btn * { color:#ffffff !important; }
.cni-photo-btn { background-color:#4f46e5 !important; border:2px solid #4338ca !important; }



.identity-cni-preview-wrap{position:relative!important;overflow:visible!important}
.identity-cni-preview-wrap button[title="Supprimer ce document"],
.identity-cni-preview-wrap button[aria-label="Supprimer la photo"]{
  position:absolute!important;top:-7px!important;right:-7px!important;z-index:999!important;
  width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;
  padding:0!important;border-radius:50%!important;background:#dc2626!important;color:#fff!important;
  border:2px solid #fff!important;display:flex!important;align-items:center!important;justify-content:center!important;
  font-size:18px!important;font-weight:900!important;line-height:20px!important;
  opacity:1!important;visibility:visible!important;box-shadow:0 2px 6px rgba(15,23,42,.25)!important;
}
.identity-cni-preview-wrap button[title="Supprimer ce document"]:hover,
.identity-cni-preview-wrap button[aria-label="Supprimer la photo"]:hover{background:#b91c1c!important}



.doc-photo-preview-wrap{position:relative!important;overflow:visible!important}
.doc-photo-preview-wrap button{position:absolute!important;top:-7px!important;right:-7px!important;z-index:9999!important;width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;padding:0!important;border-radius:9999px!important;background:#dc2626!important;color:#fff!important;border:2px solid #fff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:18px!important;font-weight:900!important;line-height:20px!important;opacity:1!important;visibility:visible!important;box-shadow:0 2px 6px rgba(15,23,42,.25)!important;cursor:pointer!important}



.eb-required-star{color:#dc2626 !important;font-weight:900 !important;display:inline !important;white-space:nowrap !important;vertical-align:baseline !important;margin-left:2px !important;}



.eb-status-row{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:7px!important;}
.eb-status-row .eb-occupancy,.eb-status-row .eb-fiscal-chip{display:inline-flex!important;align-items:center!important;margin-top:0!important;}
.eb-status-row .eb-badge{display:inline-flex!important;align-items:center!important;height:30px!important;box-sizing:border-box!important;}


.doc-fixed-documents .doc-check-toggle .doc-arrow{transform:none!important;display:inline-block!important;font-size:12px!important;color:#1e293b!important}.doc-fixed-documents .doc-check-toggle.open .doc-arrow{transform:none!important}.signature-required-note{display:block!important;color:#dc2626!important;font-weight:700!important;margin-top:8px!important;margin-bottom:8px!important}.signature-required-note::first-letter{color:#dc2626!important}


/* V806 — en-tête global robuste, logo inline */
#eb-global-header{
  position:fixed!important;top:0!important;left:0!important;right:0!important;
  height:72px!important;min-height:72px!important;z-index:2147483000!important;
  display:flex!important;align-items:center!important;box-sizing:border-box!important;
  padding:8px 16px!important;margin:0!important;background:rgba(255,255,255,.98)!important;
  border-bottom:1px solid #e5e7eb!important;box-shadow:0 4px 18px rgba(15,23,42,.06)!important;
  visibility:visible!important;opacity:1!important;
}
#eb-global-header .eb-gh-brand{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;width:100%!important;}
#eb-global-header .eb-gh-logo{display:block!important;width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;border-radius:15px!important;object-fit:cover!important;flex:none!important;box-shadow:0 4px 12px rgba(15,23,42,.12)!important;}
#eb-global-header .eb-gh-copy{min-width:0!important;}
#eb-global-header .eb-gh-title{font-size:17px!important;line-height:1.05!important;font-weight:800!important;letter-spacing:-.03em!important;color:#12304f!important;white-space:nowrap!important;}
#eb-global-header .eb-gh-title span{color:#2d79d9!important;}
#eb-global-header .eb-gh-sub{font-size:10px!important;line-height:1.2!important;color:#94a3b8!important;margin-top:3px!important;white-space:nowrap!important;}
#root{padding-top:72px!important;padding-bottom:104px!important;box-sizing:border-box!important;}
@media(max-width:700px){#eb-global-header{padding:7px 12px!important;}}

@page{size:A4 portrait;margin:14mm}.print-toolbar{position:sticky;top:0;z-index:99;background:#172033;padding:10px;text-align:right}.print-toolbar button{background:#1e3a8a;color:#fff;border:0;border-radius:8px;padding:10px 14px;font-weight:700;cursor:pointer}@media print{.print-toolbar{display:none!important}}body{font-family:Arial,Helvetica,sans-serif;color:#1f2937;background:#fff}.page{width:auto;max-width:none;margin:0;padding:24px 34px}.bail-chapter{break-inside:auto;page-break-inside:auto;margin:0;padding:0}.bail-chapter h2{break-after:avoid;page-break-after:avoid}.contract-head{text-align:center;border-bottom:2px solid #172033;padding-bottom:15px;margin-bottom:18px}h1{font-size:24px;margin:0 0 8px;letter-spacing:.04em}h2{font-size:15px;background:#f1f5f9;border-left:4px solid #1e3a8a;padding:8px 10px;margin:18px 0 8px;break-after:avoid;page-break-after:avoid}.line{font-size:11px;line-height:1.45;padding:3px 0;white-space:pre-wrap;break-inside:auto;page-break-inside:auto;orphans:2;widows:2}.line strong{font-weight:800}.duration-answer{font-weight:800;text-decoration:underline;text-underline-offset:2px}.signatures-block{width:100%;margin-top:10px;break-inside:avoid;page-break-inside:avoid}.bail-signature-page{break-before:auto;page-break-before:auto;margin-top:18px;break-inside:avoid;page-break-inside:avoid}.caution-act{break-before:page;page-break-before:always;margin-top:0}.legal-box{border:1px solid #cbd5e1;background:#f8fafc;border-radius:8px;padding:10px;margin:10px 0;font-size:11px;line-height:1.45}.handwrite-lines{display:inline-block;line-height:1.8}.small-note{font-size:11px;color:#64748b;margin-top:12px}.edl-signatures{margin-top:25px}.edl-signatures .signature-row{grid-template-columns:minmax(0,1fr) 130px;min-height:82px}.edl-signatures .signature-box{width:130px;height:68px}.signature-row{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:8px;align-items:center;min-height:88px;margin:8px 0;break-inside:avoid;page-break-inside:avoid}.signature-info{font-size:11px;line-height:1.45}.signature-label{font-weight:700;margin-bottom:4px}.signature-name{font-size:11px;margin-bottom:3px}.signature-mention{font-size:10px}.signature-box{width:180px;height:68px;border:2px solid #111;border-radius:3px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:space-between;overflow:hidden;padding:3px 5px;box-sizing:border-box}.signature-drawing{width:100%;height:43px;display:flex;align-items:center;justify-content:center;overflow:hidden}.signature-drawing img{width:100%;height:100%;object-fit:contain;display:block}.signature-approval{width:100%;height:15px;line-height:15px;text-align:center;font-size:9px;font-weight:600;white-space:nowrap;background:#fff;position:relative;z-index:2}.signatures-block .signature-box img{max-width:100%;max-height:100%}.sign img{max-width:100%;max-height:100%;object-fit:contain;display:block}.checkbox-strong{font-weight:900;color:#000;font-size:1.25em;text-shadow:0 0 1px #000;display:inline-block;line-height:1}.checkbox-strong.checked{font-family:Arial,Helvetica,sans-serif;font-weight:900;color:#000;-webkit-print-color-adjust:exact;print-color-adjust:exact}.checkbox-unchecked{display:inline-block;font-family:Arial,Helvetica,sans-serif;font-size:1.1em;line-height:1;color:#000}.spacer{height:4px}.box{border:1px solid #d7dee8;border-radius:8px;padding:10px;margin:9px 0;font-size:11px;line-height:1.45}.edl-state-lines{font-size:11px;line-height:1.45}.edl-state-lines div{margin:1px 0}table{width:100%;border-collapse:collapse;font-size:11px;margin:10px 0;table-layout:fixed}th,td{border:1px solid #cbd5e1;padding:7px;text-align:left;vertical-align:top;overflow:hidden}th{background:#172033;color:#fff}table th:nth-child(1),table td:nth-child(1){width:16%!important}table th:nth-child(2),table td:nth-child(2){width:17%!important}table th:nth-child(3),table td:nth-child(3){width:auto!important}table th:nth-child(4),table td:nth-child(4){width:78px!important;min-width:78px!important;max-width:78px!important;overflow:hidden!important;padding:3px!important}.edl-photos{display:block!important;width:70px!important;max-width:70px!important;min-width:70px!important;overflow:hidden!important}.edl-photo-thumb{display:block!important;width:70px!important;height:52px!important;max-width:70px!important;max-height:52px!important;min-width:70px!important;min-height:52px!important;object-fit:cover!important;border:1px solid #cbd5e1;border-radius:3px;box-sizing:border-box;break-inside:avoid;page-break-inside:avoid}.bail-documents{margin:16px 0;break-inside:auto;page-break-inside:auto}.bail-documents h2{margin:0 0 10px}.bail-document-item{border:1px solid #d7dee8;border-radius:8px;padding:9px;margin:8px 0;break-inside:avoid;page-break-inside:avoid}.bail-document-title{font-size:11px;line-height:1.45;font-weight:700;margin-bottom:6px}.bail-document-image{display:block;width:auto;max-width:100%;height:auto;max-height:210px;object-fit:contain;margin:0 auto;border:1px solid #cbd5e1;border-radius:4px}.bail-document-file{font-size:11px;line-height:1.45;color:#475569}.edl-pieces{margin:10px 0}.edl-piece-block{break-inside:avoid;page-break-inside:avoid;margin:0 0 8px}.edl-piece-table{margin:0;width:100%;break-inside:avoid;page-break-inside:avoid}.edl-piece-table tr{break-inside:avoid;page-break-inside:avoid}.grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.edl-releves{margin-bottom:10px}.sign{display:grid;grid-template-columns:1fr 1fr;gap:45px;margin-top:25px;text-align:center;font-size:11px}.sign img{max-width:250px;max-height:95px}.pagebreak{break-before:page;page-break-before:always}.edl-document{position:relative}.edl-page-number{position:absolute;right:8px;left:auto;text-align:right;font-size:9px;font-weight:600;color:#64748b;line-height:1;pointer-events:none;white-space:nowrap}.bail-page-number{position:absolute;right:8px;left:auto;text-align:right;font-size:9px;font-weight:600;color:#64748b;line-height:1;pointer-events:none;white-space:nowrap}.page{position:relative}.signature-box,.signature-info{break-inside:avoid;page-break-inside:avoid}@media(max-width:650px){.page{padding:12px}.grid{grid-template-columns:1fr}.signature-row{grid-template-columns:minmax(0,1fr) 150px;gap:6px}.signature-box{width:150px;height:62px;padding:3px 4px}.signature-drawing{height:37px}.signature-approval{height:14px;line-height:14px;font-size:8px}}@media print{.page{padding:0}}


:root{--eb-primary:#1e3a8a;--eb-primary-2:#4338ca;--eb-bg:#f8fafc;--eb-border:#e2e8f0;--eb-text:#0f172a}
html{scroll-behavior:smooth;background:var(--eb-bg)}
body{background:linear-gradient(180deg,#f8fafc 0%,#f1f5f9 100%);color:var(--eb-text)}
button,input,select,textarea{transition:box-shadow .16s ease,border-color .16s ease,background-color .16s ease,transform .12s ease}
button:not(:disabled):active{transform:translateY(1px)}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(99,102,241,.18);outline-offset:1px}
input,select,textarea{background-color:#fff}
input:hover,select:hover,textarea:hover{border-color:#cbd5e1}
main{padding-top:20px!important}
.bg-white.rounded-2xl{box-shadow:0 1px 2px rgba(15,23,42,.03),0 8px 24px rgba(15,23,42,.035)}
.bg-gradient-to-r.from-indigo-600{box-shadow:0 18px 42px rgba(30,58,138,.16)}
label>span{display:block;line-height:1.25}
table th{font-weight:700} table td{vertical-align:top}
nav.fixed.bottom-0{padding-bottom:env(safe-area-inset-bottom);height:calc(80px + env(safe-area-inset-bottom))!important}
nav.fixed.bottom-0 button{min-width:54px}
#bail-preview-content,#edl-preview{background:#fff}
@media print{body{background:#fff!important}body>nav,body>div:not(#root){display:none!important}#root *{visibility:hidden!important}#bail-preview-content,#bail-preview-content *{visibility:visible!important}#bail-preview-content{position:absolute!important;left:0!important;top:0!important;width:100%!important;box-shadow:none!important;border:0!important}}
@media (max-width:640px){main{padding-left:12px!important;padding-right:12px!important;padding-top:12px!important}.quittance-premium-container{box-shadow:0 12px 32px rgba(15,23,42,.16)!important}#bail-preview-content,#edl-preview{padding:18px!important}.grid.grid-cols-3{grid-template-columns:1fr 1fr!important}}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

  .garant-final-box{border:2px solid #059669;background:#ecfdf5;border-radius:14px;padding:14px;margin:10px 0 16px;break-inside:avoid;page-break-inside:avoid;}
  .garant-final-box h3{margin:0 0 10px;background:#d1fae5;border-left:5px solid #059669;padding:8px 10px;color:#064e3b;font-size:15px;}
  .garant-final-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px 12px;font-size:11px;line-height:1.45;}
  .garant-final-grid>div{padding:6px 7px;background:#fff;border:1px solid #a7f3d0;border-radius:7px;}
  .garant-final-grid span{color:#475569;} .garant-final-full{grid-column:1/-1;}
  .garant-final-note{margin-top:10px;padding:9px;background:#fff;border:1px solid #a7f3d0;border-radius:7px;font-size:10.5px;}
  @media(max-width:700px){.garant-final-grid{grid-template-columns:1fr;}.garant-final-full{grid-column:auto;}}

  /* Bloc garant : même typographie que le texte courant du bail. */
  .garant-final-box{font-size:11px!important;line-height:1.45!important;padding:10px!important;margin:8px 0 12px!important}
  .garant-final-box h3{font-size:15px!important;line-height:1.2!important;padding:6px 8px!important;margin:0 0 7px!important}
  .garant-final-grid{font-size:10px!important;line-height:1.45!important;gap:5px 8px!important}
  .garant-final-grid>div{font-size:10px!important;line-height:1.45!important;padding:5px 6px!important}
  .garant-final-grid span,.garant-final-grid strong{font-size:10px!important;line-height:1.45!important}
  .garant-final-note{font-size:10px!important;line-height:1.45!important;padding:7px!important;margin-top:7px!important}
  /* V157 — corps du bloc garant = strictement le même rendu que .line. */
  .garant-final-box{font-size:11px!important;line-height:1.45!important;padding:0!important;margin:10px 0 16px!important;border:0!important;background:transparent!important;border-radius:0!important;break-inside:avoid;page-break-inside:avoid;}
  .garant-final-box h3{margin:0 0 8px!important;padding:0!important;background:transparent!important;border:0!important;color:inherit!important;font-size:15px!important;line-height:1.2!important;font-weight:800!important;}
  .garant-final-grid{display:block!important;font-size:11px!important;line-height:1.45!important;}
  .garant-final-grid>div{display:block!important;padding:3px 0!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;font-size:11px!important;line-height:1.45!important;}
  .garant-final-grid span,.garant-final-grid strong{font-size:11px!important;line-height:1.45!important;}
  .garant-final-note{margin-top:8px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;font-size:11px!important;line-height:1.45!important;}
  .edl-general-info{margin:8px 0!important;font-size:10.5px!important;line-height:1.45}
  .bail-chapter h2{break-after:avoid-page;page-break-after:avoid}
  .signatures-block.bail-signature-page{break-inside:avoid;page-break-inside:avoid}

/* V156 — typographie du bloc garant strictement identique au texte courant du bail */
.garant-final-box{font-size:11px !important;line-height:1.45 !important;}
.garant-final-grid{font-size:11px !important;line-height:1.45 !important;gap:0 !important;}
.garant-final-grid>div{font-size:11px !important;line-height:1.45 !important;padding:3px 0 !important;background:transparent !important;border:0 !important;border-radius:0 !important;}
.garant-final-grid span,.garant-final-grid strong{font-size:11px !important;line-height:1.45 !important;}
.garant-final-note{font-size:11px !important;line-height:1.45 !important;padding:3px 0 !important;margin-top:6px !important;background:transparent !important;border:0 !important;}

/* V223 — gestion du verrouillage regroupée dans une carte dédiée */
#eb-lock-card{margin-top:16px;background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:18px;box-shadow:0 2px 8px rgba(15,23,42,.05)}
#eb-lock-card .eb-lock-head{display:flex;align-items:flex-start;gap:12px}
#eb-lock-card .eb-lock-icon{width:44px;height:44px;border-radius:14px;background:#fff7ed;color:#c2410c;display:flex;align-items:center;justify-content:center;font-size:22px;flex:none}
#eb-lock-card h2{margin:0;font-size:16px;font-weight:800;color:#0f172a}
#eb-lock-card p{margin:4px 0 0;font-size:12px;line-height:1.5;color:#64748b}
#eb-lock-card .eb-lock-status{margin-top:13px;padding:11px 12px;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;font-size:12px;color:#475569}
#eb-lock-card .eb-lock-action{margin-top:12px;width:100%;height:44px;border:0;border-radius:13px;background:#0f172a;color:#fff;font-weight:800;font-size:13px;cursor:pointer}
#eb-lock-card .eb-lock-action:active{transform:scale(.99)}
/* V806 — verrouillage PIN : fenêtre modale centrée */
#eb-pin-lock{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;z-index:2147483646!important;background:rgba(2,6,23,.78)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;display:none!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;padding:20px!important;margin:0!important;}
#eb-pin-lock.eb-pin-visible{display:flex!important;}
#eb-pin-card{position:relative!important;width:min(390px,calc(100vw - 40px))!important;max-height:calc(100vh - 40px)!important;overflow:auto!important;box-sizing:border-box!important;background:#fff!important;color:#0f172a!important;border-radius:24px!important;padding:26px 22px 22px!important;margin:0!important;box-shadow:0 24px 80px rgba(0,0,0,.35)!important;text-align:center!important;font-family:system-ui,-apple-system,'Segoe UI',sans-serif!important;}
#eb-pin-card .pin-logo{width:64px!important;height:64px!important;margin:0 auto 14px!important;border-radius:18px!important;background:#eef2ff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:30px!important;}
#eb-pin-card h2{margin:0!important;font-size:23px!important;line-height:1.2!important;font-weight:800!important;color:#0f172a!important;}
#eb-pin-card p{margin:8px 0 18px!important;font-size:13px!important;line-height:1.5!important;color:#64748b!important;}
#eb-pin-input{display:block!important;width:100%!important;height:54px!important;box-sizing:border-box!important;border:1px solid #cbd5e1!important;border-radius:14px!important;text-align:center!important;font-size:25px!important;font-weight:800!important;letter-spacing:.35em!important;outline:none!important;background:#fff!important;color:#0f172a!important;margin:0!important;}
#eb-pin-input:focus{border-color:#4f46e5!important;box-shadow:0 0 0 3px rgba(79,70,229,.12)!important;}
#eb-pin-actions{display:flex!important;gap:9px!important;margin-top:13px!important;}
#eb-pin-actions button{height:46px!important;border:0!important;border-radius:13px!important;font-weight:800!important;cursor:pointer!important;flex:1!important;}
#eb-pin-ok{background:#4f46e5!important;color:#fff!important;}
#eb-pin-cancel{background:#f1f5f9!important;color:#334155!important;}
#eb-pin-msg{min-height:20px!important;margin-top:10px!important;font-size:12px!important;font-weight:700!important;color:#dc2626!important;}
#eb-pin-setup-note{font-size:10px!important;line-height:1.45!important;color:#94a3b8!important;margin-top:12px!important;}


/* V268 — justificatifs par personne avec photo sous chaque pièce cochée */
.doc-person-card{box-shadow:0 4px 14px rgba(15,23,42,.06)}
.doc-check-item-wrap{padding:.65rem 0;border-bottom:1px solid #eef2f7}
.doc-check-item-wrap:last-child{border-bottom:0}
.doc-photo-btn{color:#fff !important;background:#4f46e5 !important;border:1px solid #4338ca !important;box-shadow:0 2px 5px rgba(79,70,229,.18)}
.doc-photo-btn *{color:#fff !important}



#eb-travaux-card-v344 .eb-travail-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
#eb-travaux-card-v344 .eb-travail-total{font-size:16px;font-weight:900;color:#047857;white-space:nowrap}
#eb-travaux-card-v344 .eb-travail-form{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px;border:1px solid #e2e8f0;background:#f8fafc;border-radius:16px}
#eb-travaux-card-v344 .eb-travail-form label{display:flex;flex-direction:column;gap:5px;font-size:10px;font-weight:800;color:#64748b;text-transform:uppercase;letter-spacing:.03em}
#eb-travaux-card-v344 .eb-travail-form input,#eb-travaux-card-v344 .eb-travail-form select{width:100%;min-height:42px;padding:9px 11px;border:1px solid #d8dee9;border-radius:12px;background:#fff;font-size:13px;box-sizing:border-box}
#eb-travaux-card-v344 .eb-trav-desc{grid-column:1/-1}
#eb-travaux-card-v344 #eb-trav-add{grid-column:1/-1;min-height:44px;border-radius:12px;background:#4f46e5;color:#fff;font-weight:800;font-size:12px}
#eb-travaux-card-v344 .eb-travail-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-top:1px solid #eef0f4}
#eb-travaux-card-v344 .eb-travail-main{min-width:0}.eb-travail-title{font-size:12px;font-weight:800;color:#0f172a}.eb-travail-meta{font-size:10px;color:#64748b;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#eb-travaux-card-v344 .eb-travail-right{display:flex;align-items:center;gap:7px;flex:none}.eb-travail-right strong{font-size:13px;color:#047857}.eb-travail-right button{width:36px;height:36px;border-radius:12px;background:#fff;border:1px solid #e2e8f0;color:#94a3b8;display:flex;align-items:center;justify-content:center;box-shadow:none}.eb-travail-right .eb-del-travail:hover{color:#dc2626;background:#f8fafc}.eb-travail-right .eb-arrow-edit{font-size:24px;line-height:1;font-weight:800;color:#4f46e5}.eb-travail-right .eb-edit-travail:not(.eb-arrow-edit){font-size:15px}
#eb-travaux-card-v344 .eb-travail-empty{padding:12px 0;font-size:11px;color:#64748b}

#eb-travaux-card-v344 .eb-travail-title-wrap{display:flex;align-items:center;gap:10px;min-width:0;flex:1}
#eb-travaux-card-v344 .eb-travail-head-actions{display:flex;gap:6px;margin-left:4px}
#eb-travaux-card-v344 .eb-travail-head-actions button{width:40px;height:40px;border:0;border-radius:14px;background:#eef2ff;color:#4f46e5;font-size:22px;font-weight:800;display:flex;align-items:center;justify-content:center;box-shadow:none}#eb-travaux-card-v344 .eb-travail-head-actions button#eb-trav-edit-all{font-size:23px;line-height:1;font-family:Arial,sans-serif}
#eb-travaux-card-v344 .eb-edit-montant-input{width:82px;padding:7px 8px;border:1px solid #cbd5e1;border-radius:8px;font-weight:800}
#eb-travaux-card-v344 .eb-save-travail{border:0;border-radius:8px;padding:7px 10px;font-weight:900;background:#16a34a;color:#fff}
@media(max-width:640px){#eb-travaux-card-v344 .eb-travail-form{grid-template-columns:1fr}#eb-travaux-card-v344 .eb-trav-desc,#eb-travaux-card-v344 #eb-trav-add{grid-column:auto}.eb-travail-right strong{font-size:12px}}



#eb-travaux-card-v344 .eb-travail-row-editing{display:block;padding:10px 0}
#eb-travaux-card-v344 .eb-travail-row-editing .eb-travail-title{margin-bottom:8px}
#eb-travaux-card-v344 .eb-travail-row-editing .eb-travail-edit-fields{display:grid;grid-template-columns:minmax(0,1fr) 92px 52px 52px;gap:8px;width:100%;align-items:center}
#eb-travaux-card-v344 .eb-edit-desc-input,#eb-travaux-card-v344 .eb-edit-montant-input{height:52px;box-sizing:border-box;min-width:0;width:100%;padding:0 13px;border:1px solid #cbd5e1;border-radius:16px;font-size:14px;color:#334155;background:#fff;outline:none}
#eb-travaux-card-v344 .eb-edit-desc-input:focus,#eb-travaux-card-v344 .eb-edit-montant-input:focus{border-color:#a5b4fc;box-shadow:0 0 0 2px rgba(99,102,241,.10)}
#eb-travaux-card-v344 .eb-edit-montant-input{font-weight:800}
#eb-travaux-card-v344 .eb-travail-row-editing .eb-save-travail,#eb-travaux-card-v344 .eb-travail-row-editing .eb-del-travail{width:52px;height:52px;box-sizing:border-box;border:1px solid transparent;border-radius:16px;display:flex;align-items:center;justify-content:center;font-weight:800;cursor:pointer;margin:0}
#eb-travaux-card-v344 .eb-travail-row-editing .eb-save-travail{background:#eef2ff;color:#4f46e5;font-size:24px;line-height:1}
#eb-travaux-card-v344 .eb-travail-row-editing .eb-del-travail{background:#f8fafc;color:#94a3b8;border-color:#e2e8f0}
#eb-travaux-card-v344 .eb-travail-row-editing .eb-del-travail svg{width:20px;height:20px}
#eb-travaux-card-v344 #eb-trav-edit-all{display:flex;align-items:center;justify-content:center}
@media(max-width:640px){#eb-travaux-card-v344 .eb-travail-row-editing .eb-travail-edit-fields{grid-template-columns:minmax(0,1fr) 92px 52px 52px;gap:7px}#eb-travaux-card-v344 .eb-edit-desc-input,#eb-travaux-card-v344 .eb-edit-montant-input{height:52px;padding-left:12px;padding-right:12px}}



#eb780-launch{position:fixed;right:14px;bottom:14px;z-index:2147483000;border:0;border-radius:999px;padding:12px 16px;background:#111827;color:#fff;font:800 14px system-ui;box-shadow:0 8px 28px #0003;cursor:pointer}
#eb780-overlay{position:fixed;inset:0;z-index:2147483001;background:#0007;display:flex;align-items:center;justify-content:center;padding:14px;font-family:system-ui,-apple-system,sans-serif}
#eb780-modal{width:min(720px,100%);max-height:90vh;overflow:auto;background:#f8fafc;border-radius:22px;box-shadow:0 20px 70px #0005}
.eb780-head{display:flex;justify-content:space-between;gap:12px;padding:18px;background:#fff;border-bottom:1px solid #e5e7eb}.eb780-title{font-weight:900;font-size:19px}.eb780-sub{font-size:11px;color:#64748b;margin-top:3px}.eb780-head button{border:0;background:#f1f5f9;border-radius:10px;width:38px;height:38px;font-weight:900}
.eb780-tabs{display:flex;gap:7px;padding:10px;overflow:auto;background:#fff}.eb780-tabs button{border:1px solid #e2e8f0;background:#fff;border-radius:10px;padding:9px 12px;font-weight:800;white-space:nowrap}.eb780-tabs button.on{background:#e0e7ff;border-color:#a5b4fc}
#eb780-body{padding:12px}.eb780-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.eb780-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:15px;margin-bottom:10px}.eb780-wide{margin-top:10px}.eb780-card strong{display:block;font-size:25px;margin-top:7px}.eb780-lines{display:grid;gap:8px;margin-top:12px}.eb780-lines span{display:flex;justify-content:space-between;gap:10px;padding:9px;background:#f8fafc;border-radius:10px}.eb780-row{display:flex;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid #eef2f7}.eb780-row small{display:block;color:#64748b;margin-top:3px}.right{text-align:right}.eb780-note{font-size:11px;color:#64748b;line-height:1.5;margin-top:10px}.eb780-action{border:0;background:#111827;color:#fff;border-radius:12px;padding:11px 14px;font-weight:800}.eb780-empty{padding:20px;text-align:center;color:#64748b}@media(max-width:520px){.eb780-grid{grid-template-columns:1fr}#eb780-modal{max-height:94vh}.eb780-row{font-size:13px}}



#ebappv1-launch{position:fixed;left:14px;bottom:14px;z-index:2147483000;border:0;border-radius:999px;padding:12px 16px;background:#1e3a8a;color:#fff;font:800 14px system-ui;box-shadow:0 8px 28px #0003;cursor:pointer}
#ebappv1-overlay{position:fixed;inset:0;z-index:2147483001;background:#0008;display:flex;align-items:center;justify-content:center;padding:12px;font-family:system-ui,-apple-system,sans-serif}
#ebappv1-modal{width:min(820px,100%);max-height:94vh;overflow:auto;background:#f8fafc;border-radius:22px;box-shadow:0 20px 70px #0006}
.ebappv1-head{display:flex;justify-content:space-between;align-items:center;padding:17px;background:#fff;border-bottom:1px solid #e5e7eb}.ebappv1-head h2{margin:0;font-size:20px}.ebappv1-head small{color:#64748b}.ebappv1-close{border:0;background:#f1f5f9;border-radius:10px;width:38px;height:38px;font-weight:900}
.ebappv1-tabs{display:flex;gap:7px;padding:10px;background:#fff;overflow:auto}.ebappv1-tabs button{border:1px solid #dbe3ef;background:#fff;border-radius:10px;padding:9px 12px;font-weight:800;white-space:nowrap}.ebappv1-tabs button.on{background:#dbeafe;border-color:#93c5fd}
#ebappv1-body{padding:12px}.ebappv1-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.ebappv1-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:14px;margin-bottom:10px}.ebappv1-card strong{display:block;font-size:25px;margin-top:5px}.ebappv1-row{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #eef2f7}.ebappv1-btn{border:0;background:#1e3a8a;color:#fff;border-radius:11px;padding:10px 13px;font-weight:800;margin:3px}.ebappv1-btn.alt{background:#e2e8f0;color:#0f172a}.ebappv1-danger{background:#fee2e2!important;color:#991b1b!important}.ebappv1-muted{color:#64748b;font-size:12px;line-height:1.5}.ebappv1-ok{color:#166534;font-weight:800}.ebappv1-warn{color:#92400e;font-weight:800}
@media(max-width:560px){.ebappv1-grid{grid-template-columns:1fr}#ebappv1-modal{max-height:96vh}.ebappv1-head h2{font-size:18px}}






/* V806 — Native Android reserves the system navigation area outside the WebView.
   Keep the HTML bottom navigation exactly flush with the WebView bottom edge. */
:root{--eb-android-bottom-inset:0px;}
nav.fixed.bottom-0{bottom:0!important;height:80px!important;padding-bottom:0!important;}
.eb-plus-overlay{padding-bottom:0!important;box-sizing:border-box!important;}
.eb-plus-sheet{margin-bottom:0!important;max-height:calc(100vh - 8px)!important;}



/* Espace Bailleur APP V1 — nettoyage des lanceurs flottants ajoutés pendant les étapes de construction */
#eb605-btn,
#eb-v700-launcher,
#eb720-launcher,
#eb780-launch,
#ebappv1-launch,
.eb-v545-tools,
[id^="ebdt-v1-launch"],
button[aria-label="Centre Espace Bailleur"],
button[title="Centre Espace Bailleur"],
button[title="Gestion locative avancée"],
button[title="Centre opérationnel"] {
  display:none !important;
}


/* V807 — native Android system navigation area is outside the WebView.
   The WebView viewport ends at the top edge of the Android navigation bar. */
nav.fixed.bottom-0{
  bottom:0!important;
  height:80px!important;
  padding-bottom:0!important;
}
@media(max-width:640px){
  nav.fixed.bottom-0{
    height:80px!important;
    padding-bottom:0!important;
  }
}
.eb-plus-overlay{
  padding-bottom:0!important;
  box-sizing:border-box!important;
}
.eb-plus-sheet{
  margin-bottom:0!important;
  max-height:100%!important;
  box-sizing:border-box!important;
}



/* V807 FINAL — en-tête global et fenêtre PIN : priorité d'affichage */
html,body{margin:0;min-height:100%;}
#eb-global-header{
  position:fixed!important;top:0!important;left:0!important;right:0!important;
  width:100%!important;height:72px!important;min-height:72px!important;
  z-index:2147483000!important;display:flex!important;align-items:center!important;
  box-sizing:border-box!important;padding:8px 16px!important;margin:0!important;
  background:rgba(255,255,255,.97)!important;
  border-bottom:1px solid #e5e7eb!important;
  box-shadow:0 4px 18px rgba(15,23,42,.06)!important;
  visibility:visible!important;opacity:1!important;overflow:hidden!important;
}
#eb-global-header .eb-gh-brand{display:flex!important;align-items:center!important;gap:10px!important;width:100%!important;min-width:0!important;}
#eb-global-header .eb-gh-logo{display:block!important;flex:0 0 52px!important;width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;max-width:52px!important;max-height:52px!important;border-radius:15px!important;object-fit:cover!important;object-position:center!important;margin:0!important;padding:0!important;border:0!important;box-shadow:0 4px 12px rgba(15,23,42,.12)!important;}
#eb-global-header .eb-gh-copy{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;overflow:hidden!important;}
#eb-global-header .eb-gh-title{font-size:17px!important;line-height:1.05!important;font-weight:800!important;letter-spacing:-.03em!important;color:#12304f!important;white-space:nowrap!important;margin:0!important;padding:0!important;}
#eb-global-header .eb-gh-title span{color:#2d79d9!important;}
#eb-global-header .eb-gh-sub{font-size:10px!important;line-height:1.2!important;color:#94a3b8!important;margin:3px 0 0!important;padding:0!important;white-space:nowrap!important;}
#root{padding-top:72px!important;padding-bottom:104px!important;box-sizing:border-box!important;}

#eb-pin-lock{
  position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;
  z-index:2147483646!important;display:none!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;padding:28px!important;margin:0!important;
  background:rgba(2,6,23,.80)!important;
  backdrop-filter:blur(9px)!important;-webkit-backdrop-filter:blur(9px)!important;
  overflow:hidden!important;
}
#eb-pin-card{
  position:relative!important;width:min(620px,calc(100vw - 68px))!important;
  max-height:calc(100vh - 68px)!important;overflow:auto!important;
  box-sizing:border-box!important;background:#fff!important;color:#0f172a!important;
  border-radius:28px!important;padding:34px 28px 30px!important;margin:0!important;
  box-shadow:0 28px 90px rgba(0,0,0,.38)!important;text-align:center!important;
  font-family:system-ui,-apple-system,'Segoe UI',sans-serif!important;
}
#eb-pin-card .pin-logo{width:72px!important;height:72px!important;margin:0 auto 20px!important;border-radius:20px!important;background:#eef2ff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:34px!important;}
#eb-pin-card h2{margin:0!important;font-size:29px!important;line-height:1.18!important;font-weight:800!important;color:#0f172a!important;}
#eb-pin-card p{margin:12px auto 24px!important;max-width:540px!important;font-size:17px!important;line-height:1.5!important;color:#64748b!important;}
#eb-pin-input{display:block!important;width:100%!important;height:66px!important;box-sizing:border-box!important;border:1px solid #a5b4fc!important;border-radius:18px!important;text-align:center!important;font-size:28px!important;font-weight:800!important;letter-spacing:.42em!important;outline:none!important;background:#fff!important;color:#0f172a!important;margin:0!important;box-shadow:0 0 0 5px rgba(99,102,241,.08)!important;}
#eb-pin-input:focus{border-color:#4f46e5!important;box-shadow:0 0 0 5px rgba(79,70,229,.12)!important;}
#eb-pin-actions{display:flex!important;gap:14px!important;margin-top:18px!important;}
#eb-pin-actions button{height:58px!important;border:0!important;border-radius:17px!important;font-weight:800!important;font-size:17px!important;cursor:pointer!important;flex:1!important;}
#eb-pin-ok{background:#29479b!important;color:#fff!important;}
#eb-pin-cancel{background:#eef2f7!important;color:#334155!important;}
#eb-pin-msg{min-height:22px!important;margin-top:12px!important;font-size:13px!important;font-weight:700!important;color:#dc2626!important;}
#eb-pin-setup-note{font-size:13px!important;line-height:1.5!important;color:#94a3b8!important;margin:18px auto 0!important;max-width:520px!important;}
html.eb-pin-open,body.eb-pin-open{overflow:hidden!important;}
@media(max-width:640px){
  #eb-global-header{padding:7px 12px!important;}
  #eb-global-header .eb-gh-logo{width:52px!important;height:52px!important;flex-basis:52px!important;}
  #eb-global-header .eb-gh-title{font-size:16px!important;}
  #eb-pin-lock{padding:18px!important;}
  #eb-pin-card{width:calc(100vw - 36px)!important;max-height:calc(100vh - 36px)!important;border-radius:26px!important;padding:28px 22px 24px!important;}
  #eb-pin-card .pin-logo{width:64px!important;height:64px!important;margin-bottom:16px!important;}
  #eb-pin-card h2{font-size:24px!important;}
  #eb-pin-card p{font-size:15px!important;margin-bottom:20px!important;}
  #eb-pin-input{height:58px!important;font-size:25px!important;}
  #eb-pin-actions{gap:10px!important;margin-top:14px!important;}
  #eb-pin-actions button{height:52px!important;font-size:15px!important;border-radius:15px!important;}
  #eb-pin-setup-note{font-size:11px!important;margin-top:16px!important;}
}


/* V814 — CORRECTION UI DEMANDÉE : en-tête global + fenêtre PIN.
   Le logo est volontairement inchangé : même image Base64 que V813/V7. */
#eb-global-header{
  position:fixed!important;top:0!important;left:0!important;right:0!important;
  width:100%!important;height:72px!important;min-height:72px!important;
  z-index:2147483000!important;display:flex!important;align-items:center!important;
  box-sizing:border-box!important;padding:7px 12px!important;margin:0!important;
  background:rgba(255,255,255,.98)!important;border-bottom:1px solid #e5e7eb!important;
  box-shadow:0 4px 18px rgba(15,23,42,.06)!important;visibility:visible!important;opacity:1!important;
}
#eb-global-header .eb-gh-brand{
  display:flex!important;align-items:center!important;gap:10px!important;
  min-width:0!important;width:100%!important;
}
#eb-global-header .eb-gh-logo{
  display:block!important;width:52px!important;height:52px!important;
  min-width:52px!important;min-height:52px!important;max-width:52px!important;max-height:52px!important;
  border-radius:15px!important;object-fit:cover!important;flex:none!important;
}
#eb-global-header .eb-gh-copy{min-width:0!important;}
#eb-global-header .eb-gh-title{
  font-size:17px!important;line-height:1.05!important;font-weight:800!important;
  letter-spacing:-.03em!important;color:#12304f!important;white-space:nowrap!important;
}
#eb-global-header .eb-gh-title span{color:#2d79d9!important;}
#eb-global-header .eb-gh-sub{
  font-size:10px!important;line-height:1.2!important;color:#94a3b8!important;
  margin-top:3px!important;white-space:nowrap!important;
}
#root{padding-top:72px!important;padding-bottom:104px!important;box-sizing:border-box!important;}

#eb-pin-lock{
  position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;
  z-index:2147483646!important;background:rgba(2,6,23,.78)!important;
  backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;
  display:none!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;padding:20px!important;margin:0!important;
}
#eb-pin-card{
  position:relative!important;width:min(620px,calc(100vw - 68px))!important;
  max-height:calc(100vh - 68px)!important;overflow:auto!important;box-sizing:border-box!important;
  background:#fff!important;color:#0f172a!important;border-radius:28px!important;
  padding:34px 28px 30px!important;margin:0!important;box-shadow:0 28px 90px rgba(0,0,0,.38)!important;
  text-align:center!important;font-family:system-ui,-apple-system,'Segoe UI',sans-serif!important;
}
#eb-pin-card .pin-logo{
  width:72px!important;height:72px!important;margin:0 auto 20px!important;border-radius:20px!important;
  background:#eef2ff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:34px!important;
}
#eb-pin-card h2{margin:0!important;font-size:29px!important;line-height:1.18!important;font-weight:800!important;color:#0f172a!important;}
#eb-pin-card p{margin:12px auto 24px!important;max-width:540px!important;font-size:17px!important;line-height:1.5!important;color:#64748b!important;}
#eb-pin-input{
  display:block!important;width:100%!important;height:66px!important;box-sizing:border-box!important;
  border:1px solid #a5b4fc!important;border-radius:18px!important;text-align:center!important;
  font-size:28px!important;font-weight:800!important;letter-spacing:.42em!important;outline:none!important;
  background:#fff!important;color:#0f172a!important;margin:0!important;box-shadow:0 0 0 5px rgba(99,102,241,.08)!important;
}
#eb-pin-actions{display:flex!important;gap:14px!important;margin-top:18px!important;}
#eb-pin-actions button{
  height:58px!important;border:0!important;border-radius:17px!important;font-weight:800!important;
  font-size:17px!important;cursor:pointer!important;flex:1!important;
}
#eb-pin-ok{background:#29479b!important;color:#fff!important;}
#eb-pin-cancel{background:#eef2f7!important;color:#334155!important;}
#eb-pin-setup-note{font-size:13px!important;line-height:1.5!important;color:#94a3b8!important;margin:18px auto 0!important;max-width:520px!important;}
@media(max-width:640px){
  #eb-pin-lock{padding:18px!important;}
  #eb-pin-card{width:calc(100vw - 36px)!important;max-height:calc(100vh - 36px)!important;border-radius:26px!important;padding:28px 22px 24px!important;}
  #eb-pin-card .pin-logo{width:64px!important;height:64px!important;margin-bottom:16px!important;font-size:30px!important;}
  #eb-pin-card h2{font-size:24px!important;}
  #eb-pin-card p{font-size:15px!important;margin-bottom:20px!important;}
  #eb-pin-input{height:58px!important;font-size:25px!important;}
  #eb-pin-actions{gap:10px!important;margin-top:14px!important;}
  #eb-pin-actions button{height:52px!important;font-size:15px!important;border-radius:15px!important;}
  #eb-pin-setup-note{font-size:11px!important;margin-top:16px!important;}
}

/* V815.3 — Champs du formulaire Bien : fond blanc uniforme */
#root main input:not([type="checkbox"]):not([type="radio"]),
#root main select,
#root main textarea {
  background-color: #fff !important;
  background: #fff !important;
  color: #1e293b !important;
  -webkit-appearance: none;
  appearance: none;
}

#root main select {
  background-color: #fff !important;
  background-image: none !important;
}

#root main select option {
  background-color: #fff !important;
  color: #1e293b !important;
}


/* V817.2 — Formulaire Bien : colonnes proportionnelles et alignées.
   Les champs courts (code postal, pièces) restent compacts ; les champs longs
   (ville, surface, année, etc.) disposent de davantage de largeur. */
.eb-bien-main-grid{
  grid-template-columns:minmax(0,0.62fr) minmax(0,1.38fr)!important;
  align-items:start!important;
  column-gap:16px!important;
  row-gap:16px!important;
}
.eb-bien-main-grid>div{
  min-width:0!important;
  width:100%!important;
}
.eb-bien-main-grid>div>input,
.eb-bien-main-grid>div>select,
.eb-bien-main-grid>div>textarea{
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
@media(max-width:640px){
  .eb-bien-main-grid{
    grid-template-columns:minmax(0,1fr)!important;
    column-gap:0!important;
    row-gap:14px!important;
  }
  .eb-bien-main-grid>.col-span-2{
    grid-column:auto!important;
  }
}

/* V8176 — Achat financier : chaque champ sur sa propre ligne, pleine largeur */
.eb-achat-financier-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;
  gap:16px!important;
}
.eb-achat-financier-grid>div{
  grid-column:1 / -1!important;
  width:100%!important;
  min-width:0!important;
}
.eb-achat-financier-grid>div>input{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

/* ===== Modal de confirmation de suppression ===== */
#eb-delete-confirm{position:fixed;inset:0;z-index:2147483646;display:flex;align-items:center;justify-content:center;padding:22px;box-sizing:border-box;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#eb-delete-confirm .eb-delete-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
#eb-delete-confirm .eb-delete-card{position:relative;width:min(100%,390px);box-sizing:border-box;background:#fff;border:1px solid rgba(148,163,184,.25);border-radius:24px;padding:26px 22px 20px;box-shadow:0 24px 70px rgba(15,23,42,.30);text-align:center;animation:ebDeleteModalIn .18s ease-out}
#eb-delete-confirm .eb-delete-icon{width:52px;height:52px;margin:0 auto 15px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff1f2;border:1px solid #fecdd3;font-size:24px}
#eb-delete-confirm .eb-delete-text{font-size:17px;line-height:1.4;font-weight:700;color:#172033;padding:0 6px 22px}
#eb-delete-confirm .eb-delete-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#eb-delete-confirm .eb-delete-actions button{height:48px;border-radius:14px;font-size:14px;font-weight:800;cursor:pointer;-webkit-tap-highlight-color:transparent;box-sizing:border-box}
#eb-delete-confirm .eb-delete-cancel{background:#f8fafc;color:#334155;border:1px solid #cbd5e1}
#eb-delete-confirm .eb-delete-cancel:active{background:#f1f5f9}
#eb-delete-confirm .eb-delete-yes{background:#dc2626;color:#fff;border:1px solid #b91c1c;box-shadow:0 5px 12px rgba(220,38,38,.20)}
#eb-delete-confirm .eb-delete-yes:active{background:#b91c1c}
@keyframes ebDeleteModalIn{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}


/* V8183 — Parc immobilier : présentation KPI en 2 colonnes sur mobile. */
main .eb-parc-kpi-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
main .eb-parc-kpi-grid>div{min-width:0!important;width:100%!important;box-sizing:border-box!important}

/* V8183 — confirmation de suppression esthétique pour les biens. */
#eb-delete-confirm{position:fixed!important;inset:0!important;z-index:2147483647!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:20px!important}
#eb-delete-confirm .eb-delete-backdrop{position:absolute!important;inset:0!important;background:rgba(15,23,42,.62)!important;backdrop-filter:blur(3px)!important}
#eb-delete-confirm .eb-delete-card{position:relative!important;width:min(92vw,390px)!important;background:#fff!important;border:1px solid #e2e8f0!important;border-radius:24px!important;padding:24px!important;box-shadow:0 24px 70px rgba(15,23,42,.28)!important;text-align:center!important}
#eb-delete-confirm .eb-delete-icon{width:54px!important;height:54px!important;margin:0 auto 14px!important;border-radius:17px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff1f2!important;font-size:25px!important}
#eb-delete-confirm .eb-delete-text{color:#0f172a!important;font-size:17px!important;line-height:1.4!important;font-weight:800!important;margin:0 0 20px!important}
#eb-delete-confirm .eb-delete-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
#eb-delete-confirm .eb-delete-actions button{min-height:48px!important;border:0!important;border-radius:14px!important;font-size:15px!important;font-weight:800!important;cursor:pointer!important}
#eb-delete-confirm .eb-delete-cancel{background:#f1f5f9!important;color:#334155!important}
#eb-delete-confirm .eb-delete-yes{background:#dc2626!important;color:#fff!important}

/* V8190 — Parc replié : conserver adresse + statut uniquement. RIB/assurance : texte photo blanc. */
main .doc-fixed-item .doc-action-btn,
main .doc-fixed-item .doc-action-btn *{color:#fff!important;}

/* V8197 — correctif final visualiseur quittance : le modal doit passer AU-DESSUS de l'en-tête global */
.q-modal-wrap{
  position:fixed!important;
  top:0!important;right:0!important;bottom:0!important;left:0!important;
  width:100vw!important;height:100vh!important;
  padding:0!important;
  box-sizing:border-box!important;
  align-items:center!important;
  z-index:2147483647!important;
}
.q-modal-inner{
  position:relative!important;
  max-height:calc(100vh - 24px)!important;
  margin:12px auto!important;
  box-sizing:border-box!important;
  z-index:2147483647!important;
}
@media(max-width:640px){
  .q-modal-wrap{top:0!important;right:0!important;bottom:0!important;left:0!important;width:100vw!important;height:100vh!important;padding:8px!important;align-items:flex-start!important;}
  .q-modal-inner{width:100%!important;max-width:100%!important;max-height:calc(100vh - 16px)!important;margin:0 auto!important;}
}

/* V8198 — visualiseur/envoi quittance : isolation totale au-dessus du header global */
.q-modal-wrap,.eb-email-quittance-modal{isolation:isolate!important;pointer-events:auto!important;}
.q-modal-wrap{z-index:2147483647!important;}
.q-modal-inner{z-index:2147483647!important;}
.eb-email-quittance-modal{z-index:2147483646!important;}

/* V8211 — bail : justificatifs plus compacts et boutons de fichiers côte à côte */
.doc-fixed-documents,
.doc-person-card,
.doc-check-group{
  width:calc(100% - 24px)!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.doc-fixed-item .grid.grid-cols-2,
.doc-person-actions,
.doc-other-row + .space-y-2 .grid.grid-cols-2{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
}
.doc-fixed-item .doc-action-btn,
.doc-fixed-item label[for^="doc-file-"]{
  min-width:0!important;
  width:100%!important;
  box-sizing:border-box!important;
  white-space:normal!important;
  text-align:center!important;
}
.doc-person-actions > label,
.doc-person-actions > .doc-photo-btn,
.doc-person-actions > .doc-file-btn{
  min-width:0!important;
  width:100%!important;
  box-sizing:border-box!important;
  white-space:normal!important;
}


/* V8213 — création du bail : affichage mobile sans débordement horizontal. */
.bail-documents-form-section,.bail-signatures-form-section{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow-x:hidden!important;}
.bail-documents-form-section > div:first-child,.bail-documents-form-section > div:nth-child(2),.bail-documents-form-section .doc-fixed-title,.bail-documents-form-section .doc-fixed-subtitle{max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow-wrap:anywhere!important;word-break:normal!important;}
.bail-documents-form-section .doc-person-card,.bail-documents-form-section .doc-fixed-documents,.bail-documents-form-section .doc-check-group{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}
.bail-documents-form-section .doc-other-row{display:grid!important;grid-template-columns:minmax(0,1fr) 92px!important;gap:8px!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;}
.bail-documents-form-section .doc-other-row input{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
.bail-documents-form-section .doc-other-add{width:92px!important;min-width:92px!important;max-width:92px!important;padding-left:8px!important;padding-right:8px!important;box-sizing:border-box!important;white-space:nowrap!important;}
.bail-documents-form-section .doc-other-card,.bail-documents-form-section .doc-other-actions{min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
.bail-documents-form-section .doc-other-actions > label,.bail-documents-form-section .doc-person-actions > label{min-width:0!important;max-width:100%!important;width:100%!important;box-sizing:border-box!important;white-space:normal!important;overflow-wrap:anywhere!important;}
.bail-documents-form-section .doc-other-card .doc-other-previews{max-width:100%!important;min-width:0!important;overflow:visible!important;}
.bail-documents-form-section .doc-other-card img{max-width:88px!important;}
.bail-signature-grid{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;}
.bail-signature-card{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:hidden!important;}
.bail-signature-canvas{display:block!important;width:100%!important;max-width:100%!important;height:112px!important;box-sizing:border-box!important;}
.bail-signatures-form-section button{max-width:100%!important;box-sizing:border-box!important;}
@media(max-width:640px){
  .bail-signature-grid{grid-template-columns:minmax(0,1fr)!important;gap:12px!important;}
  .bail-signature-card{padding:10px!important;}
  .bail-signature-canvas{height:104px!important;}
  .bail-documents-form-section{padding-left:0!important;padding-right:0!important;}
  .bail-documents-form-section .doc-other-row{grid-template-columns:minmax(0,1fr) 88px!important;}
  .bail-documents-form-section .doc-other-add{width:88px!important;min-width:88px!important;max-width:88px!important;}
}
