:root{--background: 0 0% 100%;--foreground: 0 0% 5%;--card: 0 0% 100%;--primary: 245 100% 69%;--primary-foreground: 0 0% 100%;--secondary: 245 60% 95%;--secondary-foreground:245 100% 40%;--muted: 240 10% 96%;--muted-foreground: 240 5% 45%;--border: 240 10% 90%;--ring: 245 100% 69%;--danger: 0 80% 60%;--danger-soft-bg: 0 80% 95%;--danger-soft-fg: 0 80% 35%;--radius-card: 14px;--radius-pill: 999px;--radius-input: 999px;--font: "Inter", system-ui, sans-serif}@media (prefers-color-scheme: dark){:root{--background: 0 0% 5%;--foreground: 0 0% 95%;--card: 0 0% 8%;--secondary: 245 40% 20%;--secondary-foreground: 0 0% 95%;--muted: 240 10% 15%;--muted-foreground: 240 5% 65%;--border: 240 10% 20%;--danger-soft-bg: 0 60% 15%;--danger-soft-fg: 0 80% 75%}}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%}html{background:transparent}body{font-family:var(--font);background:transparent;color:hsl(var(--foreground));font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}#root{background:hsl(var(--background) / .96);-webkit-backdrop-filter:blur(24px) saturate(165%);backdrop-filter:blur(24px) saturate(165%);border:1px solid hsl(0 0% 100% / .14);border-radius:18px;box-shadow:0 20px 55px #0000006b,inset 0 1px #ffffff29;overflow:hidden}@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){#root{background:hsl(var(--background))}}.app-shell{display:flex;flex-direction:column;height:100%;max-width:480px;margin:0 auto}.app-body{flex:1;display:flex;flex-direction:column;overflow:hidden;position:relative;z-index:0}.splash{display:flex;align-items:center;justify-content:center;height:100%;color:hsl(var(--muted-foreground));font-size:14px}.app-header{background:hsl(var(--card));border-bottom:1px solid hsl(var(--border));padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-shrink:0;position:relative;z-index:20}.header-left{display:flex;align-items:center;gap:10px;min-width:0}.header-right{display:flex;align-items:center;gap:6px;flex-shrink:0}.capture-active .capture-mot{display:none}.capture-active{padding:5px 7px}.capture-active .capture-dot{margin:0}.capture-badge.capture-confirme .capture-mot{display:inline}.capture-badge.capture-confirme{padding:3px 9px}.capture-temps{font-variant-numeric:tabular-nums;font-weight:600}.capture-badge.capture-active.capture-pause{background:#fef3c7;color:#92400e;padding:3px 9px}.capture-badge.capture-pause .capture-mot{display:inline}.capture-badge.capture-pause .capture-dot{background:#d97706}.anneau{--anneau-ok: #16a34a;--anneau-warn: #ea8a0c;--anneau-bad: #dc2626;position:relative;width:30px;height:30px;flex-shrink:0}.anneau svg{display:block;width:30px;height:30px;transform:rotate(-90deg)}.anneau-fond{fill:none;stroke:hsl(var(--border));stroke-width:3.5}.anneau-trait{fill:none;stroke-width:3.5;stroke-linecap:round}.anneau-vert .anneau-trait{stroke:var(--anneau-ok)}.anneau-orange .anneau-trait{stroke:var(--anneau-warn)}.anneau-rouge .anneau-trait,.anneau-danger .anneau-trait{stroke:var(--anneau-bad)}.anneau-chiffre{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;font-size:9.5px;font-weight:700;font-variant-numeric:tabular-nums}.anneau.anneau-fige{opacity:.5}.anneau.anneau-fige .anneau-trait{stroke:hsl(var(--muted-foreground))}.activite-danger{display:flex;align-items:center;gap:3px;flex-shrink:0;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;color:#dc2626}.activite-tri{width:20px;height:20px;display:block;flex-shrink:0}.puce-demande{font-size:10.5px;font-weight:600;padding:2px 6px;border-radius:999px;white-space:nowrap;font-variant-numeric:tabular-nums;flex-shrink:0}.puce-validee{background:#dcfce7;color:#166534}.puce-attente{background:hsl(var(--muted));color:hsl(var(--muted-foreground))}@media (prefers-color-scheme: dark){.anneau{--anneau-ok: #4ade80;--anneau-warn: #fbbf24;--anneau-bad: #f87171}.activite-danger{color:#f87171}.puce-validee{background:#14532d;color:#86efac}}.avatar{width:34px;height:34px;border-radius:var(--radius-pill);background:hsl(var(--primary));color:hsl(var(--primary-foreground));font-weight:600;font-size:13px;display:flex;align-items:center;justify-content:center;flex-shrink:0;-webkit-user-select:none;user-select:none}.header-greeting{font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.capture-badge{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:500;padding:3px 9px;border-radius:var(--radius-pill);background:hsl(var(--muted));color:hsl(var(--muted-foreground));white-space:nowrap;border:none;font-family:var(--font);cursor:pointer;transition:filter .15s ease}.capture-badge:hover{filter:brightness(.96)}.capture-badge.capture-active{background:#dcfce7;color:#166534}.capture-badge.capture-crashed{background:hsl(var(--danger-soft-bg));color:hsl(var(--danger-soft-fg))}.capture-badge.capture-confirme{background:hsl(var(--danger));color:#fff}.capture-dot{width:6px;height:6px;border-radius:50%;background:#16a34a;flex-shrink:0}@media (prefers-color-scheme: dark){.capture-badge.capture-active{background:#14532d;color:#86efac}.capture-dot{background:#4ade80}}.lang-pill{display:flex;align-items:center;gap:4px;font-size:11px;font-weight:600;padding:3px 9px;border-radius:var(--radius-pill);border:1.5px solid hsl(var(--border));background:transparent;color:hsl(var(--foreground));cursor:pointer;font-family:var(--font);transition:border-color .15s;-webkit-user-select:none;user-select:none}.lang-pill:hover{border-color:hsl(var(--primary));color:hsl(var(--primary))}.lang-globe{font-size:13px;line-height:1}.chips-row{display:flex;gap:8px;padding:10px 16px 0;flex-wrap:wrap;flex-shrink:0}.chip{display:inline-flex;align-items:center;font-size:12px;font-weight:500;padding:4px 12px;border-radius:var(--radius-pill);white-space:nowrap}.chip-danger{background:hsl(var(--danger-soft-bg));color:hsl(var(--danger-soft-fg))}.chip-primary{background:hsl(var(--secondary));color:hsl(var(--secondary-foreground))}.chip-bouton{border:none;cursor:pointer;font-family:inherit;transition:filter .12s ease,transform .12s ease}.chip-bouton:hover:not(:disabled){filter:brightness(1.08)}.chip-bouton:active:not(:disabled){transform:scale(.97)}.chip-bouton:disabled{opacity:.55;cursor:default}.chip-bouton:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:2px}.chip-ancre{position:relative}.comms-panneau{position:absolute;top:calc(100% + 7px);left:0;z-index:999;width:292px;max-width:calc(100vw - 32px);max-height:320px;overflow-y:auto;padding:8px;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:12px;box-shadow:0 18px 44px -12px #0009;animation:mode-entre .16s cubic-bezier(.2,.8,.2,1)}@media (prefers-reduced-motion: reduce){.comms-panneau{animation:none}}.comms-titre{margin:2px 6px 6px;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:hsl(var(--muted-foreground))}.comms-vide{margin:10px 6px 12px;font-size:12.5px;color:hsl(var(--muted-foreground))}.comms-liste{list-style:none;margin:0;padding:0}.comms-item+.comms-item{border-top:1px solid hsl(var(--border) / .6)}.comms-entete{display:flex;align-items:baseline;gap:8px;width:100%;padding:8px 6px;background:none;border:none;cursor:pointer;font-family:inherit;text-align:left;border-radius:7px;color:hsl(var(--foreground))}.comms-entete:hover{background:hsl(var(--muted))}.comms-entete:focus-visible{outline:2px solid hsl(var(--ring));outline-offset:-2px}.comms-libelle{flex:1;font-size:12.5px;font-weight:500;line-height:1.35}.comms-date{flex-shrink:0;font-size:10.5px;color:hsl(var(--muted-foreground))}.comms-item-ouverte .comms-libelle{font-weight:600}.comms-corps{padding:0 6px 10px;font-size:12.5px;line-height:1.5;color:hsl(var(--muted-foreground))}.comms-corps p{margin:0 0 7px}.comms-corps p:last-child{margin-bottom:0}.comms-pj,.comms-confirmation{font-size:11.5px}.comms-confirmation{color:hsl(var(--danger-soft-fg))}.chat-container{flex:1;display:flex;flex-direction:column;overflow:hidden}.chat-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:8px}.chat-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;text-align:center;padding:32px 24px;gap:8px}.chat-empty-icon{margin-bottom:8px}.chat-empty-title{font-size:17px;font-weight:600;color:hsl(var(--foreground))}.chat-empty-subtitle{font-size:13px;color:hsl(var(--muted-foreground));max-width:260px;margin-bottom:16px}.chat-suggestions{display:flex;flex-direction:column;gap:8px;width:100%;max-width:280px}.suggestion-btn{padding:10px 16px;border:1.5px solid hsl(var(--border));border-radius:var(--radius-card);background:transparent;color:hsl(var(--foreground));font-size:13px;font-family:var(--font);font-weight:500;cursor:pointer;text-align:left;transition:border-color .15s,background .15s}.suggestion-btn:hover{border-color:hsl(var(--primary));background:hsl(var(--secondary));color:hsl(var(--secondary-foreground))}.bubble-row{display:flex}.bubble-row.bubble-user{justify-content:flex-end}.bubble-row.bubble-assistant{justify-content:flex-start}.bubble{max-width:78%;padding:10px 14px;border-radius:16px;font-size:14px;line-height:1.5;word-break:break-word}.bubble.bubble-user{background:hsl(var(--primary));color:hsl(var(--primary-foreground));border-bottom-right-radius:4px}.bubble.bubble-assistant{background:hsl(var(--muted));color:hsl(var(--foreground));border-bottom-left-radius:4px}.bubble-para+.bubble-para,.bubble-para+.bubble-liste,.bubble-liste+.bubble-para{margin-top:6px}.bubble-liste{padding-left:18px;list-style:disc}ol.bubble-liste{list-style:decimal}.bubble-liste li{margin:2px 0}.bubble-titre{font-weight:600;line-height:1.35}.bubble-titre-1{font-size:1.06em}.bubble-titre-2{font-size:1em}.bubble-para+.bubble-titre,.bubble-liste+.bubble-titre{margin-top:10px}.bubble-titre+.bubble-para,.bubble-titre+.bubble-liste{margin-top:3px}.bubble-lien{color:hsl(var(--primary));text-decoration:none;cursor:pointer;word-break:break-word}.bubble-lien:hover{text-decoration:underline}.chat-input-bar{display:flex;align-items:center;gap:10px;padding:12px 16px;border-top:1px solid hsl(var(--border));background:hsl(var(--card));flex-shrink:0}.chat-input{flex:1;padding:10px 16px;border:1.5px solid transparent;border-radius:var(--radius-input);background:transparent;color:hsl(var(--foreground));font-size:14px;font-family:var(--font);outline:none;transition:border-color .15s}.chat-input:focus{border-color:hsl(var(--ring) / .35);box-shadow:none}.chat-input::placeholder{color:hsl(var(--muted-foreground))}.chat-send-btn{width:38px;height:38px;border-radius:50%;border:none;background:hsl(var(--primary));color:hsl(var(--primary-foreground));display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:opacity .15s}.chat-send-btn:disabled{opacity:.35;cursor:not-allowed}.chat-send-btn:not(:disabled):hover{opacity:.85}.idle-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:hsl(var(--background) / .85);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;padding:16px;z-index:50}.idle-card{margin:auto 0;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius-card);padding:24px 20px;width:100%;max-width:340px;display:flex;flex-direction:column;gap:12px;position:relative}.idle-icon{display:flex;justify-content:center;margin-bottom:4px}.idle-title{font-weight:600;font-size:15px;text-align:center;color:hsl(var(--foreground))}.idle-body{font-size:13px;color:hsl(var(--muted-foreground));text-align:center;line-height:1.55}.idle-link{background:none;border:none;color:hsl(var(--primary));font-size:13px;font-family:var(--font);cursor:pointer;text-align:center;text-decoration:underline;text-underline-offset:2px;padding:4px 0}.idle-whatsapp-link{display:inline-block;color:hsl(var(--primary));font-size:13px;text-decoration:underline;text-underline-offset:2px;text-align:center}.idle-example{font-size:11px;color:hsl(var(--muted-foreground));text-align:center;font-style:italic}.idle-checkbox-label{display:flex;align-items:flex-start;gap:8px;font-size:12px;color:hsl(var(--foreground));line-height:1.4;cursor:pointer}.idle-checkbox-label input[type=checkbox]{margin-top:2px;flex-shrink:0;accent-color:hsl(var(--primary));width:14px;height:14px}.idle-warn{font-size:11px;color:hsl(var(--muted-foreground));line-height:1.45;text-align:center;padding:8px 4px;border-top:1px solid hsl(var(--border))}.idle-error{font-size:12px;color:hsl(var(--danger));text-align:center}.idle-s2-actions{display:flex;justify-content:flex-end}.idle-send-btn{padding:7px 14px;border:1.5px solid hsl(var(--border));border-radius:var(--radius-pill);background:transparent;color:hsl(var(--foreground));font-size:12px;font-family:var(--font);font-weight:500;cursor:pointer;transition:border-color .15s,background .15s}.idle-send-btn:not(:disabled):hover{border-color:hsl(var(--primary));background:hsl(var(--secondary));color:hsl(var(--secondary-foreground))}.idle-send-btn:disabled{opacity:.4;cursor:not-allowed}.idle-close-btn{position:absolute;top:12px;right:12px;background:none;border:none;font-size:14px;color:hsl(var(--muted-foreground));cursor:pointer;padding:4px 6px;border-radius:6px;line-height:1}.idle-close-btn:hover{background:hsl(var(--muted))}.dev-trigger{position:absolute;bottom:60px;left:12px;font-size:10px;padding:3px 8px;border:1px dashed hsl(var(--border));border-radius:4px;background:transparent;color:hsl(var(--muted-foreground));cursor:pointer;font-family:var(--font);z-index:10;opacity:.6}.dev-trigger:hover{opacity:1}.login-container{display:flex;align-items:center;justify-content:center;min-height:100%;padding:24px;background:hsl(var(--background))}.login-box{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:var(--radius-card);padding:32px 28px;width:100%;max-width:340px;display:flex;flex-direction:column;gap:0}.login-logo{display:flex;justify-content:center;margin-bottom:16px}.login-title{font-size:20px;font-weight:600;margin-bottom:4px;text-align:center}.login-subtitle{font-size:13px;color:hsl(var(--muted-foreground));margin-bottom:24px;text-align:center}.form-group{margin-bottom:14px}.form-label{display:block;font-size:12px;font-weight:500;margin-bottom:5px;color:hsl(var(--muted-foreground))}.form-input{width:100%;padding:9px 12px;border:1.5px solid hsl(var(--border));border-radius:10px;background:hsl(var(--background));color:hsl(var(--foreground));font-size:14px;font-family:var(--font);outline:none;transition:border-color .15s}.form-input:focus{border-color:hsl(var(--ring));box-shadow:0 0 0 3px hsl(var(--ring) / .15)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 16px;border-radius:var(--radius-pill);border:none;cursor:pointer;font-size:14px;font-family:var(--font);font-weight:500;transition:opacity .15s,background .15s}.btn:disabled{opacity:.45;cursor:not-allowed}.btn-primary{background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.btn-primary:not(:disabled):hover{opacity:.88}.btn-full{width:100%}.alert{padding:10px 12px;border-radius:10px;font-size:13px;margin-bottom:14px;line-height:1.4}.alert-error{background:hsl(var(--danger-soft-bg));color:hsl(var(--danger-soft-fg))}.permission-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:hsl(var(--background) / .97);display:flex;align-items:flex-start;justify-content:center;padding:16px;overflow-y:auto;z-index:60}.permission-notice{background:hsl(var(--card));border:1px solid hsl(0 72% 51% / .55);border-radius:var(--radius-card);padding:18px 16px;width:100%;max-width:340px;display:flex;flex-direction:column;gap:10px}.permission-notice h2{font-size:14px;font-weight:600;line-height:1.4;color:#dc2828}.permission-notice p{font-size:12.5px;line-height:1.55;color:hsl(var(--foreground))}.permission-notice__enjeu{background:#dc282814;border-left:3px solid hsl(0 72% 51%);padding:10px 12px;border-radius:6px}.permission-notice__cta{background:hsl(var(--primary));color:hsl(var(--primary-foreground));border:none;border-radius:var(--radius-card);padding:10px 14px;font-size:13px;font-weight:600;cursor:pointer}.permission-notice__cta:disabled{opacity:.6;cursor:default}.permission-notice__etapes{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px;font-size:12.5px;line-height:1.5;color:hsl(var(--muted-foreground))}.permission-notice__vieprivee{font-size:11.5px;color:hsl(var(--muted-foreground));border-top:1px solid hsl(var(--border));padding-top:10px}.permission-notice__deja{font-size:12.5px;color:hsl(var(--muted-foreground))}.permission-notice__redemarrage{font-size:12.5px;background:hsl(var(--muted) / .5);padding:8px 10px;border-radius:6px}.mode-boite{position:relative;display:inline-flex}.mode-bouton{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:11.5px;font-weight:500;color:hsl(var(--muted-foreground));background:hsl(var(--muted));border:1px solid hsl(var(--border));border-radius:8px;padding:6px;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s,border-color .15s}.mode-bouton:hover{background:hsl(var(--secondary));color:hsl(var(--foreground))}.mode-bouton[aria-expanded=true]{background:hsl(var(--primary) / .2);border-color:hsl(var(--primary) / .45);color:hsl(var(--foreground))}.mode-bouton:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:2px}.mode-menu{position:absolute;top:calc(100% + 7px);right:0;z-index:999;width:244px;padding:7px;background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:12px;box-shadow:0 18px 44px -12px #0009;animation:mode-entre .16s cubic-bezier(.2,.8,.2,1)}@keyframes mode-entre{0%{opacity:0;transform:translateY(-5px)}}@media (prefers-reduced-motion: reduce){.mode-menu{animation:none}}.mode-apercu{position:relative;height:92px;margin-bottom:7px;border-radius:8px;overflow:hidden;background:hsl(var(--muted));border:1px solid hsl(var(--border))}.mode-ecran{position:absolute;top:8px;right:8px;bottom:8px;left:8px;border-radius:5px;border:1px dashed hsl(var(--muted-foreground) / .35)}.mode-fenetre{position:absolute;border-radius:3px;background:hsl(var(--primary));box-shadow:0 2px 8px #00000073;transition:left .3s cubic-bezier(.2,.8,.2,1),right .3s cubic-bezier(.2,.8,.2,1),top .3s cubic-bezier(.2,.8,.2,1),bottom .3s cubic-bezier(.2,.8,.2,1),width .3s cubic-bezier(.2,.8,.2,1),height .3s cubic-bezier(.2,.8,.2,1)}@media (prefers-reduced-motion: reduce){.mode-fenetre{transition:none}}.mode-apercu{margin-bottom:5px}.mode-phrase{margin:0 4px 7px;font-size:10.5px;color:hsl(var(--muted-foreground))}.mode-titre{margin:4px 4px 5px;font-size:10px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:hsl(var(--muted-foreground))}.mode-choix{display:flex;align-items:center;gap:8px;width:100%;font:inherit;font-size:12.5px;text-align:left;color:hsl(var(--foreground));background:transparent;border:none;cursor:pointer;padding:7px 8px;border-radius:8px;transition:background .12s}.mode-choix:hover{background:hsl(var(--muted))}.mode-choix:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:-2px}.mode-choix[aria-checked=true]{background:hsl(var(--primary) / .2)}.mode-icone{position:relative;flex:none;width:21px;height:15px;border-radius:3px;border:1px solid hsl(var(--muted-foreground) / .55)}.mode-icone:after{content:"";position:absolute;background:hsl(var(--foreground));border-radius:1px}.mode-icone-flottante:after{left:7px;top:3px;width:8px;height:8px}.mode-icone-barre-bas:after{left:1.5px;right:1.5px;bottom:1.5px;height:4px}.mode-icone-bas-droite:after{right:2px;bottom:2px;width:6px;height:6px}.mode-icone-replier:after{left:1.5px;right:1.5px;bottom:1.5px;height:9px;opacity:.55}.mode-libelle{flex:1}.mode-coche{opacity:0;color:hsl(var(--primary));font-size:12px}.mode-choix[aria-checked=true] .mode-coche{opacity:1}.mode-separateur{height:1px;background:hsl(var(--border));margin:6px 4px}.mode-bascule{display:flex;align-items:center;justify-content:space-between;width:100%;font:inherit;font-size:12.5px;color:hsl(var(--foreground));background:transparent;border:none;cursor:pointer;padding:6px 8px;border-radius:8px;transition:background .12s}.mode-bascule:hover{background:hsl(var(--muted))}.mode-bascule:focus-visible{outline:2px solid hsl(var(--primary));outline-offset:-2px}.mode-interrupteur{position:relative;flex:none;width:34px;height:20px;border-radius:999px;background:hsl(var(--muted-foreground) / .35);transition:background .2s}.mode-interrupteur:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:hsl(var(--card));box-shadow:0 1px 3px #0006;transition:transform .2s cubic-bezier(.2,.8,.2,1)}.mode-bascule[aria-checked=true] .mode-interrupteur{background:hsl(var(--primary))}.mode-bascule[aria-checked=true] .mode-interrupteur:after{transform:translate(14px)}@media (prefers-reduced-motion: reduce){.mode-interrupteur,.mode-interrupteur:after{transition:none}}.mascotte-boite{display:inline-flex;line-height:0}.mascotte-souffle{transform-origin:24px 30px;animation:mascotte-respire 4.5s ease-in-out infinite}@keyframes mascotte-respire{0%,to{transform:scale(1)}50%{transform:scale(1.045)}}.mascotte-patte{transform-origin:14px 32px;animation:mascotte-appelle 1.6s ease-in-out infinite}@keyframes mascotte-appelle{0%,to{transform:rotate(0)}30%{transform:rotate(-13deg)}60%{transform:rotate(4deg)}}.mascotte--eveille{animation:mascotte-reveil .45s cubic-bezier(.34,1.56,.64,1)}@keyframes mascotte-reveil{0%{transform:translateY(3px) scale(.92)}to{transform:none}}@media (prefers-reduced-motion: reduce){.mascotte-souffle,.mascotte-patte,.mascotte--eveille{animation:none}}:root[data-ancrage=barre-bas]:not([data-deploye=true]) .app-shell{max-width:none;flex-direction:row;align-items:center;gap:10px;padding-right:12px}:root[data-ancrage=barre-bas]:not([data-deploye=true]) .app-header{display:contents}:root[data-ancrage=barre-bas]:not([data-deploye=true]) .header-left{order:1;flex:none;padding-left:12px}:root[data-ancrage=barre-bas]:not([data-deploye=true]) .app-body{order:2}:root[data-ancrage=barre-bas]:not([data-deploye=true]) .header-right{order:3;flex:none}:root[data-ancrage=barre-bas]:not([data-deploye=true]) .header-greeting{display:none}:root[data-ancrage=barre-bas]:not([data-deploye=true]) .app-body{flex:1;min-width:0;overflow:visible}:root[data-ancrage=barre-bas]:not([data-deploye=true]) .chat-messages,:root[data-ancrage=barre-bas]:not([data-deploye=true]) .chips-row,:root[data-ancrage=barre-bas]:not([data-deploye=true]) .permission-overlay,:root[data-ancrage=barre-bas]:not([data-deploye=true]) .permission-notice,:root[data-ancrage=barre-bas]:not([data-deploye=true]) .idle-overlay{display:none}:root[data-ancrage=barre-bas]:not([data-deploye=true]) .chat-container{flex:1;min-height:0;justify-content:center}:root[data-ancrage=barre-bas]:not([data-deploye=true]) .chat-input-bar{border-top:none;padding:0}:root[data-ancrage=barre-bas]:not([data-deploye=true]) .mode-menu{top:auto;bottom:calc(100% + 7px);transform-origin:bottom right}:root[data-reduite=true] .app-body,:root[data-reduite=true] .header-greeting,:root[data-reduite=true] .capture-badge,:root[data-reduite=true] .lang-pill,:root[data-reduite=true] .mode-boite{display:none}:root[data-reduite=true] .app-header{height:100%;padding:0;justify-content:center;border-bottom:none}.mascotte-pastille{display:grid;place-items:center;width:100%;height:100%;padding:0;border:none;background:transparent;cursor:pointer;-webkit-app-region:no-drag}:root[data-reduite=true] .mascotte-pastille .mascotte{width:52px;height:52px;transition:transform .14s ease}:root[data-reduite=true] .mascotte-pastille:hover .mascotte{transform:scale(1.08)}:root[data-reduite=true] .mascotte-pastille:active .mascotte{transform:scale(.94)}.poignee{position:fixed;z-index:50}.poignee-north,.poignee-south{left:8px;right:8px;height:6px;cursor:ns-resize}.poignee-west,.poignee-east{top:8px;bottom:8px;width:6px;cursor:ew-resize}.poignee-north{top:0}.poignee-south{bottom:0}.poignee-west{left:0}.poignee-east{right:0}.poignee-northwest,.poignee-northeast,.poignee-southwest,.poignee-southeast{width:12px;height:12px}.poignee-northwest{top:0;left:0;cursor:nwse-resize}.poignee-southeast{bottom:0;right:0;cursor:nwse-resize}.poignee-northeast{top:0;right:0;cursor:nesw-resize}.poignee-southwest{bottom:0;left:0;cursor:nesw-resize}:root[data-ancrage=barre-bas]:not([data-deploye=true]) .chat-input-bar{background:transparent;border-top:none;padding:0;gap:8px}:root[data-ancrage=barre-bas]:not([data-deploye=true]) .chat-input{height:34px;padding:0 4px;background:transparent;border:none;box-shadow:none;border-radius:0;font-size:13.5px}:root[data-ancrage=barre-bas]:not([data-deploye=true]) .chat-input::placeholder{color:hsl(var(--muted-foreground) / .85)}:root[data-ancrage=barre-bas]:not([data-deploye=true]) .chat-input:focus{background:transparent;border:none}:root[data-ancrage=barre-bas]:not([data-deploye=true]) .chat-send-btn{width:34px;height:34px;flex:none}.carte-confirm{margin-top:10px;padding:10px 12px;border:1px solid hsl(var(--primary) / .35);border-radius:10px;background:hsl(var(--primary) / .07)}.carte-confirm-done{border-color:#29a36a73;background:#29a36a14}.carte-confirm-titre{font-weight:600;font-size:13px}.carte-confirm-lignes{margin:6px 0 0;font-size:12.5px}.carte-confirm-bouton{margin-top:8px;padding:6px 14px;border:none;border-radius:8px;background:hsl(var(--primary));color:hsl(var(--primary-foreground));font-size:13px;font-weight:600;cursor:pointer}.carte-confirm-bouton:disabled{opacity:.6;cursor:default}.carte-confirm-fait{margin-top:8px;font-size:13px;font-weight:600}.carte-confirm-erreur{margin-top:8px;font-size:12.5px;line-height:1.4;color:#b42318}@media (prefers-color-scheme: dark){.carte-confirm-erreur{color:#fda29b}}.pause-notice{display:flex;align-items:flex-start;gap:10px;margin:8px 12px 0;padding:10px 12px;border-radius:10px;background:#fffbeb;color:#78350f;font-size:12px;line-height:1.4}.pause-notice-texte{flex:1;min-width:0}.pause-notice-titre{font-weight:600}.pause-notice-corps{opacity:.85;margin-top:2px}.pause-notice-fermer{border:none;background:transparent;color:inherit;cursor:pointer;font-size:13px;padding:0 2px}@media (prefers-color-scheme: dark){.capture-badge.capture-active.capture-pause{background:#451a03;color:#fcd34d}.pause-notice{background:#451a03;color:#fde68a}}:root[data-ancrage=barre-bas]:not([data-deploye=true]) .pause-notice{display:none}.temps-perso-notice{flex-direction:column;gap:8px}.temps-perso-question{font-weight:600;margin-top:4px}.temps-perso-actions{display:flex;flex-wrap:wrap;gap:8px}.temps-perso-btn{border:1px solid currentColor;border-radius:8px;background:transparent;color:inherit;cursor:pointer;font-size:12px;font-weight:600;padding:5px 10px}.temps-perso-btn:disabled{opacity:.5;cursor:default}.temps-perso-pause{opacity:.8;font-size:11px}.temps-perso-erreur{color:#b42318}@media (prefers-color-scheme: dark){.temps-perso-erreur{color:#fda29b}}:root[data-ancrage=barre-bas]:not([data-deploye=true]) .temps-perso-notice{display:none}.maj-notice{display:flex;align-items:center;gap:10px;margin:8px 12px 0;padding:10px 12px;border-radius:10px;background:#eff6ff;color:#1e3a8a;font-size:12px;line-height:1.4}.maj-notice-texte{flex:1;min-width:0}.maj-notice-titre{font-weight:600}.maj-notice-corps{opacity:.85;margin-top:2px}.maj-notice-cta{border:none;border-radius:8px;background:#2563eb;color:#fff;cursor:pointer;font-size:12px;font-weight:600;padding:6px 10px;white-space:nowrap}.maj-notice-cta:disabled{opacity:.6;cursor:default}@media (prefers-color-scheme: dark){.maj-notice{background:#1e293b;color:#bfdbfe}.maj-notice-cta{background:#3b82f6}}:root[data-ancrage=barre-bas]:not([data-deploye=true]) .maj-notice{display:none}.capteur-notice{margin:8px 12px 0;padding:10px 12px;border-radius:10px;background:#fef2f2;color:#7f1d1d;font-size:12px;line-height:1.4}.capteur-notice-titre{font-weight:600}.capteur-notice-corps{opacity:.85;margin-top:2px;overflow-wrap:anywhere}@media (prefers-color-scheme: dark){.capteur-notice{background:#3b1d1d;color:#fecaca}}html.mobile,html.mobile body{background:hsl(var(--background));overscroll-behavior:none}html.mobile,html.mobile body,html.mobile #root{height:100%;height:100dvh}html.mobile #root{background:hsl(var(--background));-webkit-backdrop-filter:none;backdrop-filter:none;border:none;border-radius:0;box-shadow:none;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}html.mobile .app-shell{max-width:640px}html.mobile .chat-input,html.mobile .form-input{font-size:16px}html.mobile body{font-size:15px}html.mobile .m-header{padding:10px 14px}.m-titre{font-weight:600;font-size:17px;color:hsl(var(--primary))}.m-header-droite{display:flex;align-items:center;gap:8px}.m-btn{border:none;border-radius:var(--radius-pill);background:hsl(var(--primary));color:hsl(var(--primary-foreground));font:500 14px var(--font);padding:8px 14px;min-height:36px;cursor:pointer}.m-btn-secondaire{background:hsl(var(--secondary));color:hsl(var(--secondary-foreground))}.m-bandeau{display:flex;flex-direction:column;gap:8px;padding:10px 14px;background:hsl(var(--secondary));color:hsl(var(--secondary-foreground));border-bottom:1px solid hsl(var(--border));font-size:14px;line-height:1.4;flex-shrink:0}.m-bandeau-actions{display:flex;justify-content:flex-end;gap:8px}
