:root{--bg: #f4f2ec;--surface: #faf9f5;--border: #e6e2d8;--text: #2b2925;--text-muted: #6f6a60;--accent: #c96442;--accent-soft: #f0e4de;--font-serif: "Georgia", "Times New Roman", ui-serif, serif;--font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;font-family:var(--font-sans);line-height:1.5;font-weight:400;color:var(--text);background-color:var(--bg);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-height:100vh;background-color:var(--bg);color:var(--text)}h1,h2,h3{font-family:var(--font-serif);font-weight:500;letter-spacing:-.01em}.app{max-width:1280px;margin:0 auto;padding:1rem 1.5rem 4rem}.topbar{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:1.5rem}.menu-btn{padding:.4rem .85rem;font-family:inherit;font-size:.9rem;color:var(--text-muted);background:transparent;border:1px solid transparent;border-radius:9px;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.menu-btn:hover{color:var(--text);background:var(--accent-soft)}.menu-btn.active{color:var(--text);background:var(--accent-soft);border-color:var(--accent)}.info-page{max-width:46rem;margin:0 auto;color:var(--text);line-height:1.6}.info-page h1{font-size:2rem;margin:0 0 1rem}.info-page h2{font-size:1.2rem;margin:1.75rem 0 .6rem;color:var(--text)}.info-page section{margin-bottom:1.25rem}.info-lead{font-size:1.05rem;color:var(--text)}.info-list,.info-sources{margin:.5rem 0 0;padding-left:1.25rem;display:flex;flex-direction:column;gap:.5rem}.info-list li,.info-sources li{color:var(--text)}.info-meta{display:block;font-size:.85rem;color:var(--text-muted);margin-top:.15rem}.info-muted{color:var(--text-muted);font-size:.9rem}.info-page code{font-size:.85em;background:var(--bg);border:1px solid var(--border);border-radius:5px;padding:.05rem .3rem}.layout{display:flex;align-items:stretch;gap:1.5rem}.main-col{flex:1;min-width:0}.side-panel{flex-shrink:0;width:300px;background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:1.5rem 1.25rem;align-self:flex-start;margin-top:16rem}.panel-title{margin:0 0 .75rem;font-size:1.1rem;color:var(--text)}.panel-hint{margin:0;font-size:.9rem;color:var(--text-muted)}.panel-periode{display:flex;align-items:center;gap:.5rem;margin:0 0 1rem;font-size:.95rem;font-weight:600;color:var(--text)}.panel-badge{font-size:.7rem;font-weight:400;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);background:var(--bg);border:1px solid var(--border);border-radius:999px;padding:.1rem .5rem}.panel-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:.85rem}.panel-list li{display:flex;align-items:flex-start;gap:.6rem}.panel-dot{flex-shrink:0;width:10px;height:10px;border-radius:50%;margin-top:.35rem}.panel-serie{display:flex;flex-direction:column;min-width:0}.panel-name{font-size:.8rem;color:var(--text-muted);line-height:1.35;overflow-wrap:anywhere}.panel-value{font-size:.95rem;font-variant-numeric:tabular-nums;color:var(--text)}@media (max-width: 900px){.layout{flex-direction:column}.side-panel{width:100%;margin-top:0}}.hero{text-align:center;margin-bottom:2rem}.hero h1{font-size:2.4rem;margin:0 0 .4rem;color:var(--text)}.subtitle{margin:0 auto 1.75rem;max-width:34rem;color:var(--text-muted);font-size:1rem}.search{position:relative;max-width:34rem;margin:0 auto;text-align:left}.search-icon{position:absolute;left:1rem;top:50%;transform:translateY(-50%);font-size:1.25rem;color:var(--text-muted);pointer-events:none}.search-input{width:100%;padding:.85rem 1rem .85rem 2.6rem;font-size:1rem;font-family:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:14px;outline:none;transition:border-color .15s,box-shadow .15s}.search-input::placeholder{color:var(--text-muted)}.search-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.suggestions{position:absolute;z-index:20;top:calc(100% + 6px);left:0;right:0;margin:0;padding:.35rem;list-style:none;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:0 12px 30px #2b292514;max-height:320px;overflow-y:auto}.suggestions li{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.6rem .7rem;border-radius:10px;cursor:pointer}.suggestions li:hover{background:var(--accent-soft)}.sugg-label{font-size:.95rem;color:var(--text)}.sugg-tag{flex-shrink:0;font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;padding:.15rem .5rem;border-radius:999px;color:var(--text-muted);background:var(--bg);border:1px solid var(--border)}.tag-molecule{color:#4a6fa5}.tag-produit{color:var(--accent)}.tag-hopital{color:#5b8a72}.chart-reloading{opacity:.55;transition:opacity .15s ease;pointer-events:none}.chart-legend{margin-top:.5rem;text-align:center}.chart-legend-list{display:flex;flex-wrap:wrap;justify-content:center;gap:.4rem 1rem;margin:0 0 .4rem;padding:0;list-style:none;font-size:12px;color:var(--text-muted)}.chart-legend-list li{display:inline-flex;align-items:center;gap:.4rem}.chart-legend-swatch{display:inline-block;flex-shrink:0;width:14px;height:4px;border-radius:2px}.source-note{margin:.9rem 0 0;text-align:center;font-size:.78rem;font-style:italic;color:var(--text-muted)}.options{display:flex;flex-wrap:wrap;justify-content:center;gap:1.25rem;margin:1.75rem 0 2rem}.chart-controls .options{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:.6rem;margin:0 0 1rem}.chart-controls .checkbox{align-items:flex-start;font-size:.85rem;line-height:1.25}.chart-controls .checkmark{flex-shrink:0}.checkbox{display:inline-flex;align-items:center;gap:.55rem;font-size:.95rem;color:var(--text);cursor:pointer;-webkit-user-select:none;user-select:none}.checkbox input{position:absolute;opacity:0;width:0;height:0}.checkmark{width:20px;height:20px;border-radius:7px;border:1.5px solid var(--border);background:var(--surface);display:inline-flex;align-items:center;justify-content:center;transition:all .15s}.checkbox:hover .checkmark{border-color:var(--accent)}.checkbox.disabled{opacity:.45;cursor:not-allowed}.checkbox.disabled:hover .checkmark{border-color:var(--border)}.has-tooltip{position:relative}.has-tooltip:after{content:attr(data-tooltip);position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%);width:max-content;max-width:220px;padding:.45rem .65rem;font-size:.78rem;font-weight:400;line-height:1.3;text-align:center;color:var(--surface);background:var(--text);border-radius:8px;opacity:0;visibility:hidden;pointer-events:none;z-index:30;transition:opacity .1s ease}.has-tooltip:before{content:"";position:absolute;top:100%;left:50%;transform:translate(-50%);border:5px solid transparent;border-bottom-color:var(--text);margin-top:-2px;opacity:0;visibility:hidden;pointer-events:none;z-index:30;transition:opacity .1s ease}.has-tooltip:hover:after,.has-tooltip:hover:before{opacity:1;visibility:visible}.chart-controls .has-tooltip:after{left:0;transform:none;text-align:left}.chart-controls .has-tooltip:before{left:10px;transform:none}.checkbox input:checked+.checkmark{background:var(--accent);border-color:var(--accent)}.checkbox input:checked+.checkmark:after{content:"";width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg) translate(-.5px,-1px)}.checkbox input:focus-visible+.checkmark{box-shadow:0 0 0 3px var(--accent-soft)}.chart-card{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:1.75rem 1.5rem 1.25rem;min-height:260px;display:flex;flex-direction:column;justify-content:center}.chart-title{margin:0 0 1rem;font-size:1.25rem;text-align:center;color:var(--text)}.chart-body{display:flex;gap:1.25rem;align-items:stretch}.chart-controls{width:128px;flex-shrink:0;display:flex;flex-direction:column;gap:1.4rem;padding-top:1rem}.ctrl-group{display:flex;flex-direction:column;gap:.35rem}.ctrl-label{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin-bottom:.15rem}.seg-btn{padding:.4rem .7rem;font-size:.85rem;text-align:left;font-family:inherit;color:var(--text-muted);background:var(--surface);border:1px solid var(--border);border-radius:9px;cursor:pointer;transition:border-color .15s,background .15s,color .15s}.seg-btn:hover{border-color:var(--accent)}.seg-btn.active{background:var(--accent-soft);border-color:var(--accent);color:var(--text)}.ctrl-select{padding:.45rem .6rem;font-size:.85rem;font-family:inherit;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:9px}.chart-area{flex:1;min-width:0}@media (max-width: 900px){.chart-body{flex-direction:column}.chart-controls{width:100%;flex-direction:row;flex-wrap:wrap;gap:1.5rem;padding-top:0}.ctrl-group{flex-direction:row;align-items:center}.seg-group{flex-wrap:wrap;align-items:stretch}.seg-group .ctrl-label{width:100%}.seg-group .seg-btn{flex:1 1 0;min-width:4.5rem;text-align:center}.chart-controls .options{flex-direction:row;align-items:center;flex-wrap:wrap;gap:1.25rem;margin:0}}.placeholder{text-align:center;color:var(--text-muted);margin:0;padding:2.5rem 0}.placeholder.error{color:var(--accent)}.molecule-hint{font-size:13px;color:var(--text-muted);display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 10px;text-align:center;margin:-.5rem 0 .9rem}.molecule-hint-btn{background:none;border:none;font-family:inherit;font-size:13px;color:#c96442;cursor:pointer;padding:0;text-decoration:underline}.molecule-hint-btn:hover{opacity:.75}@media (max-width: 600px){.app{padding:.75rem .85rem 3rem}.topbar{gap:.3rem}.menu-btn{padding:.35rem .6rem;font-size:.82rem}.hero h1{font-size:1.85rem}.subtitle{font-size:.92rem}.chart-card{padding:1.1rem .85rem 1rem}.chart-title{font-size:1.1rem}.chart-controls{gap:1rem}.ctrl-group{gap:.3rem}.panel-title{font-size:1rem}.panel-value{font-size:.88rem}}
