*,:before,:after{--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: rgb(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: rgb(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: }.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-video{aspect-ratio:16 / 9}.h-2{height:.5rem}.h-2\.5{height:.625rem}.w-0{width:0px}.w-1{width:.25rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-full{width:100%}.min-w-\[8rem\]{min-width:8rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.rounded-\[2px\]{border-radius:2px}.rounded-lg{border-radius:var(--radius)}.border{border-width:1px}.border-\[1\.5px\]{border-width:1.5px}.border-dashed{border-style:dashed}.border-\[--color-border\]{border-color:var(--color-border)}.border-border\/50{border-color:hsl(var(--border) / .5)}.bg-\[--color-bg\]{background-color:var(--color-bg)}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.pb-3{padding-bottom:.75rem}.pt-3{padding-top:.75rem}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-none{line-height:1}.text-foreground{color:hsl(var(--foreground))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(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)}.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)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}:root{--background: 0 0% 100%;--foreground: 222.2 84% 4.9%;--card: 0 0% 100%;--card-foreground: 222.2 84% 4.9%;--muted: 210 40% 96.1%;--muted-foreground: 215.4 16.3% 46.9%;--border: 214.3 31.8% 91.4%;--radius: .5rem;--chart-1: 221 83% 53%;--chart-2: 197 71% 52%;--chart-3: 212 95% 68%;--chart-4: 220 14% 46%;--chart-5: 215 20% 65%}.\[\&\>svg\]\:h-2\.5>svg{height:.625rem}.\[\&\>svg\]\:h-3>svg{height:.75rem}.\[\&\>svg\]\:w-2\.5>svg{width:.625rem}.\[\&\>svg\]\:w-3>svg{width:.75rem}.\[\&\>svg\]\:text-muted-foreground>svg{color:hsl(var(--muted-foreground))}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:hsl(var(--muted-foreground))}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\"\#ccc\"\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke="#ccc"]{stroke:hsl(var(--border) / .5)}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:hsl(var(--border))}.\[\&_\.recharts-dot\[stroke\=\"\#fff\"\]\]\:stroke-transparent .recharts-dot[stroke="#fff"]{stroke:transparent}.\[\&_\.recharts-layer\]\:outline-none .recharts-layer{outline:2px solid transparent;outline-offset:2px}.\[\&_\.recharts-polar-grid_\[stroke\=\"\#ccc\"\]\]\:stroke-border .recharts-polar-grid [stroke="#ccc"]{stroke:hsl(var(--border))}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:hsl(var(--muted))}.\[\&_\.recharts-reference-line_\[stroke\=\"\#ccc\"\]\]\:stroke-border .recharts-reference-line [stroke="#ccc"]{stroke:hsl(var(--border))}.\[\&_\.recharts-sector\[stroke\=\"\#fff\"\]\]\:stroke-transparent .recharts-sector[stroke="#fff"]{stroke:transparent}.\[\&_\.recharts-sector\]\:outline-none .recharts-sector,.\[\&_\.recharts-surface\]\:outline-none .recharts-surface{outline:2px solid transparent;outline-offset:2px}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Inter,Segoe UI,sans-serif;font-size:13px;color:#1a1a2e;background:#f8f9fb;-webkit-font-smoothing:antialiased}.app-layout{display:flex;height:100vh;overflow:hidden}.sidebar{width:200px;flex-shrink:0;background:#111827;color:#e5e7eb;display:flex;flex-direction:column;border-right:1px solid #1f2937}.sidebar-brand{display:flex;align-items:center;gap:.6rem;padding:1rem .85rem;border-bottom:1px solid #1f2937}.sidebar-logo{width:28px;height:28px;background:#2563eb;border-radius:6px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:11px;color:#fff;letter-spacing:.02em}.sidebar-brand-text{display:flex;flex-direction:column}.sidebar-title{font-weight:600;font-size:13px;color:#f9fafb}.sidebar-subtitle{font-size:10px;color:#6b7280;margin-top:1px}.sidebar-nav{flex:1;padding:.5rem;display:flex;flex-direction:column;gap:2px}.nav-item{display:flex;align-items:center;gap:.5rem;padding:.45rem .6rem;border-radius:5px;color:#9ca3af;text-decoration:none;font-size:12.5px;font-weight:500;transition:background .12s,color .12s}.nav-item:hover{background:#1f2937;color:#e5e7eb}.nav-item--active{background:#1e3a5f;color:#fff}.nav-item--active svg{stroke:#60a5fa}.sidebar-footer{padding:.6rem .85rem;border-top:1px solid #1f2937}.sidebar-version{font-size:10px;color:#4b5563}.main-area{flex:1;overflow:hidden;display:flex;flex-direction:column}.main-content{flex:1;overflow-y:auto;padding:0}.app-footer{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:.35rem .85rem;background:#fff;border-top:1px solid #e5e7eb;font-size:.65rem;color:#9ca3af}.footer-left,.footer-right{display:flex;align-items:center;gap:.75rem}.footer-status{display:flex;align-items:center;gap:.3rem}.footer-dot{width:6px;height:6px;border-radius:50%;background:#22c55e}.footer-sep{width:1px;height:12px;background:#e5e7eb}.page-title{font-size:1.1rem;font-weight:600;color:#111827;margin:0}.page-subtitle{font-size:.75rem;color:#6b7280;margin:.15rem 0 0}.exploration-layout{display:flex;height:100%}.exploration-main{flex:1;display:flex;flex-direction:column;min-width:0}.chat-container{display:flex;flex-direction:column;height:100%}.chat-header{display:flex;align-items:center;justify-content:space-between;padding:.65rem 1rem;border-bottom:1px solid #e5e7eb;background:#fff;flex-shrink:0}.chat-header-title{font-size:.95rem;font-weight:600;margin:0;color:#111827}.chat-header-right{display:flex;align-items:center;gap:.5rem}.chat-header-stats{font-size:.68rem;color:#9ca3af;font-weight:500}.btn-ghost{background:none;border:1px solid #e5e7eb;border-radius:5px;padding:.3rem .65rem;font-size:.72rem;color:#6b7280;cursor:pointer;transition:all .12s}.btn-ghost:hover{border-color:#d1d5db;color:#374151;background:#f9fafb}.chat-messages{flex:1;overflow-y:auto;padding:.4rem .75rem;min-height:0;background:#f8f9fb}.chat-welcome{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2.5rem 1rem;text-align:center}.welcome-title{font-size:1.05rem;font-weight:600;color:#111827;margin:0 0 .3rem}.welcome-subtitle{font-size:.78rem;color:#6b7280;margin:0 0 1.2rem;max-width:420px;line-height:1.5}.welcome-label{font-size:.65rem;text-transform:uppercase;letter-spacing:.06em;font-weight:600;color:#9ca3af;margin:0 0 .5rem}.chat-examples{display:flex;flex-wrap:wrap;gap:.3rem;justify-content:center;max-width:560px}.chip{background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:.35rem .65rem;font-size:.72rem;color:#374151;cursor:pointer;transition:all .12s;text-align:left;line-height:1.4}.chip:hover{border-color:#2563eb;color:#1e40af;background:#eff6ff}.chip--small{font-size:.68rem;padding:.25rem .5rem}.chat-exchange{margin-bottom:.2rem}.msg{display:flex;margin-bottom:.05rem}.msg--user{justify-content:flex-end}.msg--ai{justify-content:flex-start}.msg-bubble{max-width:85%;border-radius:8px;padding:.3rem .55rem;font-size:.76rem;line-height:1.5}.msg-bubble--user{background:#1e40af;color:#fff;border-bottom-right-radius:2px}.msg-bubble--ai{background:#fff;color:#1a1a2e;border:1px solid #e5e7eb;border-bottom-left-radius:2px;max-width:95%}.msg-text{font-size:.78rem;color:#374151;line-height:1.6;padding:.1rem 0}.sql-toggle-wrap{margin:.25rem 0 .3rem}.sql-toggle-btn{display:inline-flex;align-items:center;gap:.3rem;background:none;border:1px solid #e5e7eb;border-radius:4px;padding:.2rem .5rem;font-size:.65rem;color:#6b7280;cursor:pointer;transition:all .12s;font-family:inherit}.sql-toggle-btn:hover{border-color:#d1d5db;color:#374151;background:#f9fafb}.sql-toggle-btn svg{opacity:.5}.sql-block{background:#111827;color:#9ca3af;padding:.4rem .55rem;font-family:JetBrains Mono,Fira Code,SF Mono,monospace;font-size:.68rem;border-radius:4px;margin-top:.25rem;overflow-x:auto;white-space:pre-wrap;line-height:1.5}.typing{display:flex;gap:4px;align-items:center;padding:.55rem .8rem}.typing span{display:inline-block;width:5px;height:5px;border-radius:50%;background:#9ca3af;animation:typing 1.2s ease-in-out infinite}.typing span:nth-child(2){animation-delay:.2s}.typing span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{opacity:.3;transform:scale(.8)}30%{opacity:1;transform:scale(1)}}.chat-input-bar{flex-shrink:0;border-top:1px solid #e5e7eb;background:#fff;padding:.35rem .75rem}.suggestions-row{display:flex;gap:.2rem;flex-wrap:wrap;margin-bottom:.3rem}.input-row{display:flex;gap:.35rem;align-items:center}.query-input{flex:1;border:1px solid #e5e7eb;border-radius:6px;padding:.5rem .65rem;font-size:.8rem;color:#1a1a2e;background:#f9fafb;outline:none;transition:border-color .15s}.query-input:focus{border-color:#2563eb;background:#fff}.query-input::-moz-placeholder{color:#9ca3af}.query-input::placeholder{color:#9ca3af}.query-input:disabled{opacity:.5}.btn-send{width:34px;height:34px;border-radius:6px;border:none;background:#1e40af;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .12s;flex-shrink:0}.btn-send:hover{background:#1e3a8a}.btn-send:disabled{opacity:.35;cursor:default}.error-text{color:#dc2626;font-size:.78rem;margin:.15rem 0}.result-table-wrap{margin-top:.3rem;max-height:200px;overflow:auto;border:1px solid #e5e7eb;border-radius:5px}.result-table{width:100%;border-collapse:collapse;font-size:.72rem}.result-table th{background:#f8f9fb;padding:.35rem .5rem;text-align:left;font-weight:600;color:#374151;border-bottom:1px solid #e5e7eb;position:sticky;top:0;white-space:nowrap}.result-table td{padding:.3rem .5rem;border-bottom:1px solid #f3f4f6;color:#4b5563}.result-table tbody tr:hover{background:#f8faff}.null-val{color:#d1d5db;font-style:italic}.more-rows{font-size:.68rem;color:#9ca3af;padding:.25rem .5rem;margin:0}.chart-card{margin:.4rem 0;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;background:#fff}.chart-card-header{display:flex;align-items:baseline;gap:.5rem;padding:.5rem .65rem;border-bottom:1px solid #f3f4f6}.chart-card-title{font-size:.75rem;font-weight:600;color:#111827}.chart-card-subtitle{font-size:.65rem;color:#9ca3af}.chart-area-container{height:260px!important;aspect-ratio:auto!important;padding:.3rem .3rem 0 0}.chart-bar-container{height:280px!important;aspect-ratio:auto!important;padding:.3rem .3rem 0 0}.chart-scatter-container{height:300px!important;aspect-ratio:auto!important;padding:.3rem .3rem 0 0}.risk-matrix{padding:.4rem;overflow-x:auto}.risk-table{width:100%;border-collapse:separate;border-spacing:3px;font-size:.72rem}.risk-table th{padding:.3rem .5rem;font-weight:600;color:#6b7280;font-size:.68rem;text-transform:uppercase;letter-spacing:.04em}.risk-table td{padding:0}.risk-label{display:flex;flex-direction:column;gap:1px;padding:.3rem .5rem!important}.risk-id{font-weight:700;font-size:.75rem;color:#111827}.risk-name{font-size:.62rem;color:#9ca3af}.risk-cell{width:100%;height:32px;border-radius:4px;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.78rem}.risk-score{height:32px;border-radius:4px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem;color:#fff;min-width:44px}.alertes-page{padding:.85rem 1rem}.alertes-header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:.75rem}.alertes-summary{display:flex;align-items:center;gap:.35rem;background:#f8f9fb;border:1px solid #e5e7eb;border-radius:6px;padding:.4rem .65rem}.summary-number{font-size:1rem;font-weight:700;color:#111827}.summary-label{font-size:.68rem;color:#6b7280}.summary-sep{width:1px;height:16px;background:#e5e7eb;margin:0 .2rem}.alert-list{display:flex;flex-direction:column;gap:.35rem}.alert-item{border:1px solid #e5e7eb;border-radius:6px;background:#fff;overflow:hidden;transition:border-color .12s}.alert-item:hover{border-color:#d1d5db}.alert-item--open{border-color:#93c5fd}.alert-item-header{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.55rem .7rem;border:none;background:none;cursor:pointer;text-align:left;gap:.5rem}.alert-item-left{display:flex;align-items:center;gap:.5rem;flex:1;min-width:0}.alert-item-info{display:flex;flex-direction:column;gap:1px;min-width:0}.alert-item-title{font-size:.8rem;font-weight:600;color:#111827}.alert-item-desc{font-size:.68rem;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.alert-item-right{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.alert-count{background:#f3f4f6;border-radius:4px;padding:.15rem .45rem;font-size:.75rem;font-weight:700;color:#374151}.alert-item-body{padding:0 .7rem .6rem;border-top:1px solid #f3f4f6}.alert-rule{background:#111827;border-radius:4px;padding:.4rem .55rem;margin:.5rem 0}.alert-rule code{font-size:.68rem;color:#9ca3af;font-family:JetBrains Mono,Fira Code,monospace;line-height:1.5}.alert-error{margin:1rem;padding:.6rem .8rem;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;color:#991b1b;font-size:.8rem}.loading-text{text-align:center;color:#9ca3af;font-size:.8rem;padding:2rem}.fr-table{margin:0}.fr-table table{font-size:.75rem}
