/* Lucie Live — composition locale, sans police ni ressource externe. */
.lucie-live{--ll-bg:#0c101c;--ll-text:#f2f3f7;--ll-muted:#9ca8bb;--ll-line:rgba(177,198,224,.14);--ll-teal:#8ee6d3;position:fixed;inset:0;z-index:10000;color:var(--ll-text);background:radial-gradient(ellipse at 48% 40%,#23303980,transparent 52%),radial-gradient(ellipse at 5% 85%,#3d223b50,transparent 48%),var(--ll-bg);display:flex;flex-direction:column;overflow:hidden;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color-scheme:dark;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);isolation:isolate}
.lucie-live *{box-sizing:border-box}.lucie-live [hidden]{display:none!important}.ll-grid{position:absolute;inset:0;z-index:-1;opacity:.13;background-image:linear-gradient(#89b4c412 1px,transparent 1px),linear-gradient(90deg,#89b4c412 1px,transparent 1px);background-size:72px 72px;mask-image:radial-gradient(ellipse,black,transparent 80%);pointer-events:none}
.ll-top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 36px;border-bottom:1px solid var(--ll-line);flex-shrink:0}.ll-brand{display:flex;align-items:center;gap:14px}.ll-brand-icon{display:grid;place-items:center;width:38px;height:38px;border:1px solid #8ee6d340;border-radius:50%;background:#8ee6d30b;color:var(--ll-teal);font-family:Georgia,serif;font-size:24px}.ll-brand strong{display:block;letter-spacing:.26em;font-size:13px;font-weight:600}.ll-brand-note{font-size:8px;letter-spacing:.2em;color:var(--ll-muted)}.ll-session{display:flex;align-items:center;gap:9px;font-size:10px;letter-spacing:.2em;color:#c6ceca}.ll-live-led{width:5px;height:5px;border-radius:50%;background:var(--ll-teal);box-shadow:0 0 12px #8ee6d390}.ll-clock{margin-left:15px;color:var(--ll-muted);font-variant-numeric:tabular-nums}.ll-top-actions{display:flex;gap:8px}
.lucie-live .ll-button{display:inline-flex;width:auto;align-items:center;justify-content:center;text-align:center;border:1px solid var(--ll-line);border-radius:14px;background:#ffffff04;color:#c9d1df;min-height:42px;padding:9px 15px;font:inherit;font-size:12px;cursor:pointer;transition:background .16s,border-color .16s,transform .16s;white-space:nowrap}.lucie-live .ll-button:hover{background:#ffffff0d;border-color:#8ee6d340;color:#fff}.lucie-live .ll-button:focus-visible,.lucie-live textarea:focus-visible,.lucie-live a:focus-visible{outline:2px solid var(--ll-teal);outline-offset:4px}.lucie-live .ll-icon{font-size:23px;min-width:42px;padding:6px}.ll-main{padding:0;max-width:none;width:100%;margin:0;display:flex;position:relative;flex:1;min-height:0}.ll-hero{position:relative;flex:1;display:flex;min-width:280px;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:25px 20px;transition:flex .35s}.ll-context{font-size:9px;letter-spacing:.2em;max-width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a7b9c0;position:absolute;top:28px}.ll-orb{width:min(38vw,380px);aspect-ratio:1;position:relative;display:grid;place-items:center;flex-shrink:0;margin-top:-10px}.ll-orb canvas{position:absolute;inset:0;max-width:100%;max-height:100%;pointer-events:none}.ll-orb-halo{position:absolute;inset:4%;border-radius:50%;background:conic-gradient(from 40deg,#77dccc00,#6acbb240,#d789b72a,#9ab6ff26,#77dccc00);filter:blur(30px);animation:ll-breathe 7s ease-in-out infinite}.ll-orb-core{position:absolute;inset:23%;border-radius:50%;background:radial-gradient(circle at 36% 27%,#bacfc326,#4f8a8233 35%,#33314c22 60%,#121b24aa);box-shadow:inset 1px 1px 40px #c4e8e929,inset -5px -20px 25px #0c101c99,0 0 80px #85b9b51a;border:1px solid #c2e8dd19}.ll-orb-center{position:absolute;inset:30%;display:grid;place-items:center;border-radius:50%;border:1px solid #a4deca10}.ll-orb-center span{font-family:Georgia,serif;font-size:55px;font-weight:400;color:#d7eee5db;text-shadow:0 0 30px #9de3d360}.ll-title{font-family:Georgia,'Times New Roman',serif!important;font-weight:400!important;letter-spacing:-.04em!important;font-size:56px!important;line-height:1.15!important;margin:-12px 0 9px!important;color:#f0f2ef!important}.ll-subtitle{font-size:12px;color:var(--ll-muted);margin:0 0 25px!important;max-width:320px;line-height:1.65}.ll-state{display:flex;align-items:center;gap:9px;color:#c7e2db;font-size:11px;border:1px solid #8ee6d31c;padding:9px 15px;border-radius:30px;background:#8ee6d306}.ll-dot{width:5px;height:5px;background:#8ee6d3;border-radius:100%}.ll-panels{display:none;flex:1.3;position:relative;min-width:0;padding:25px 28px 25px 0;overflow:auto;align-content:start;gap:16px}.ll-has-panels .ll-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.ll-has-panels .ll-hero{flex:.85}.ll-has-panels .ll-orb{width:min(28vw,300px)}.ll-window{display:flex;flex-direction:column;min-width:0;max-height:58vh;border:1px solid #c1cfdd25;border-radius:19px;overflow:hidden;background:linear-gradient(145deg,#1b2431f5,#111824f5);box-shadow:0 15px 60px #0003;backdrop-filter:blur(20px);align-self:start;position:relative}.ll-wide{grid-column:1/-1;max-height:65vh}.ll-window-head{display:flex;align-items:center;gap:9px;padding:12px 14px;border-bottom:1px solid var(--ll-line);cursor:grab;touch-action:none}.ll-window-head strong{flex:1;font-size:11px;font-weight:500;color:#dce4eb;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ll-window-dot{width:5px;height:5px;background:#c6a2b3;border-radius:50%}.lucie-live .ll-window-btn{background:transparent;border:0;border-radius:7px;color:#aab8ca;font-size:17px;min-width:32px;min-height:30px;cursor:pointer}.ll-window-body{padding:15px;overflow:auto;min-height:0;font-size:13px;color:#d5dce4;line-height:1.65}.ll-window-body img,.ll-window-body video{max-width:100%;border-radius:10px}.ll-window-body iframe{max-width:100%;background:#fff;border:0;border-radius:9px}.ll-window-body .act{margin:0;background:transparent;border-color:var(--ll-line)}.ll-window-body .ah{background:#ffffff05;color:#cbd5e1}.ll-window-body .ab{padding:12px}.ll-window-body .card{background:#ffffff05;border-color:var(--ll-line);color:inherit}.ll-window-body .muted,.ll-window-body .hint,.ll-window-body .small{color:#abb9c9}.ll-window-body .btn,.ll-window-body button,.ll-window-body input,.ll-window-body textarea,.ll-window-body select{color:#d5dce4;background:#202c3b;border-color:#71899f44}.ll-window-body a{color:#9de3d3}.ll-window-body pre{background:#0b111a;color:#d4e4dc}.ll-window-body h1,.ll-window-body h2,.ll-window-body h3{color:#e5eee9}.ll-window-body .ftiles{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}.ll-window-body .ftile{background:#ffffff04;border-color:var(--ll-line)}.ll-window-body .mono{font-size:11px}.ll-expanded{position:fixed!important;inset:100px 35px 190px!important;max-height:none!important;z-index:100!important;transform:none!important}.ll-app-frame{width:100%;height:58vh;min-height:300px}.ll-sources{display:grid;gap:9px}.ll-sources a{display:grid;grid-template-columns:1fr auto;gap:5px;padding:12px;border:1px solid var(--ll-line);border-radius:10px;text-decoration:none}.ll-sources a span:first-child{font-size:9px;letter-spacing:.05em;color:#9babbc;grid-column:1/-1}.ll-sources strong{font-size:12px;font-weight:500}.ll-bottom{position:relative;z-index:110;display:flex;align-items:center;flex-direction:column;gap:13px;padding:8px 25px 18px;flex-shrink:0;pointer-events:none}.ll-bottom>*{pointer-events:auto}.ll-input{display:flex;align-items:center;gap:12px;width:min(600px,90vw);padding:7px 9px;background:#17202bcc;border:1px solid var(--ll-line);border-radius:18px;backdrop-filter:blur(16px)}.lucie-live .ll-input textarea{resize:none;flex:1;min-width:0;width:100%;background:transparent;border:0;padding:8px 0;font:inherit;font-size:12px;line-height:1.5;color:#e5ebe9;max-height:100px;box-shadow:none;min-height:32px}.ll-input textarea::placeholder{color:#8090a5}.lucie-live .ll-input .ll-button{border:0;background:transparent}.lucie-live .ll-input .ll-send{background:#94d6c729;color:#c0f0de;border-radius:12px;min-width:36px;font-size:20px}.ll-dock{position:relative;top:auto;height:auto;overflow:visible;display:flex;align-items:center;justify-content:center;gap:6px;padding:7px;border:1px solid var(--ll-line);border-radius:18px;background:#111924e8;backdrop-filter:blur(15px)}.lucie-live .ll-dock .ll-button{border-color:transparent;min-height:36px;padding:8px 12px;border-radius:11px;font-size:11px}.lucie-live .ll-dock .ll-mic{background:#9cdfcd1f;color:#b5ebd6;min-width:44px;font-size:19px}.ll-divider{height:20px;width:1px;background:var(--ll-line);margin:0 4px}.ll-privacy{font-size:9px;color:#748497;letter-spacing:.03em}.ll-notice{font-size:11px;color:#b6c4d2;text-align:center;max-width:650px;min-height:14px}.ll-captions{position:relative;margin:0 auto 10px;padding:15px 22px;width:min(800px,92%);border:1px solid var(--ll-line);background:#151e2bdd;border-radius:16px;max-height:24vh;overflow:auto;flex-shrink:0}.ll-eyebrow{font-size:9px;letter-spacing:.15em;color:#81cbb9}.ll-heard{font-size:11px;color:#a4b6c4;margin:8px 0}.ll-reply{font-size:13px;line-height:1.65}.ll-reply>*:first-child{margin-top:0}.ll-reply>*:last-child{margin-bottom:0}.ll-reply a{color:var(--ll-teal)}.ll-with-text .ll-orb{width:min(26vw,260px)}
.lucie-live[data-state='speaking'] .ll-orb-halo{animation-duration:2.5s;opacity:1}.lucie-live[data-state='hearing'] .ll-orb-core{box-shadow:0 0 90px #9ddbc63d,inset 1px 1px 40px #c4e8e929}.lucie-live[data-state='thinking'] .ll-orb-halo,.lucie-live[data-state='working'] .ll-orb-halo{background:conic-gradient(#9cabe14d,#d1a6bd40,#8dcaba40,#9cabe14d)}.lucie-live[data-state='offline'] .ll-dot{background:#e6b495}.btn.lucie-live-launch{color:#25595b;border-color:#6ca79e55;background:linear-gradient(120deg,#e4f3ec,#f6e9ee);display:flex;align-items:center;gap:7px}.lucie-live-launch:before{content:'';width:6px;height:6px;border-radius:50%;background:#3a9c88;box-shadow:0 0 8px #3a9c8855}
@keyframes ll-breathe{0%,100%{transform:scale(.94) rotate(-8deg);opacity:.7}50%{transform:scale(1.07) rotate(15deg);opacity:1}}
@media(max-width:1100px){.ll-has-panels .ll-panels{grid-template-columns:1fr}.ll-has-panels .ll-hero{flex:.65}.ll-has-panels .ll-title{font-size:40px!important}.ll-top{padding:18px 24px}}
@media(max-width:760px){.ll-top{padding:13px 17px;gap:10px}.ll-session{margin-left:auto}.ll-clock{display:none}.ll-brand-note{font-size:7px}.ll-brand-icon{width:32px;height:32px}.ll-top-actions{gap:4px}.lucie-live .ll-top-actions .ll-button{border:0;min-width:32px;padding:4px;min-height:36px}.ll-main{display:block;overflow:auto;overscroll-behavior:contain}.ll-hero{min-height:100%;padding:35px 15px 20px}.ll-context{top:18px;font-size:8px}.ll-orb{width:min(70vw,320px)}.ll-title{font-size:44px!important}.ll-has-panels .ll-hero{min-height:auto;padding:20px 15px 15px}.ll-has-panels .ll-context{display:none}.ll-has-panels .ll-orb{width:150px;margin-top:-20px;margin-bottom:-8px}.ll-has-panels .ll-title{font-size:28px!important;margin:0 0 5px!important}.ll-has-panels .ll-subtitle{display:none}.ll-has-panels .ll-state{margin-top:6px;padding:5px 10px}.ll-has-panels .ll-panels{padding:8px 14px 20px;overflow:visible;gap:12px}.ll-window,.ll-wide{max-height:60vh;border-radius:14px}.ll-window-head{cursor:default;touch-action:auto}.ll-window-body{padding:10px}.ll-bottom{padding:7px 12px max(10px,env(safe-area-inset-bottom));gap:8px}.ll-input{width:100%;border-radius:14px;padding:4px 7px}.ll-dock{width:100%;justify-content:space-between;gap:1px;border-radius:14px;padding:5px}.lucie-live .ll-dock .ll-button{padding:6px;min-height:36px;font-size:10px}.ll-divider{margin:0}.ll-privacy{font-size:8px}.ll-notice{font-size:10px;min-height:0}.ll-captions{max-height:23vh;padding:12px 14px;font-size:12px}.ll-with-text .ll-orb{width:180px}.ll-expanded{inset:65px 8px 170px!important}.ll-app-frame{height:55vh}}
@media(max-height:700px) and (min-width:761px){.ll-orb{width:240px}.ll-title{font-size:38px!important}.ll-subtitle{margin-bottom:12px!important}.ll-top{padding:12px 28px}.ll-context{top:10px}.ll-bottom{gap:7px;padding-bottom:10px}}
@media(prefers-reduced-motion:reduce){.lucie-live *{animation:none!important;transition:none!important}}
.ll-pdf-frame{width:100%;height:48vh;min-height:260px;border:0;border-radius:9px;margin-bottom:14px;background:#fff}
@media(hover:none){.ll-window-body{overscroll-behavior:contain}.lucie-live .ll-button{touch-action:manipulation}}

.lucie-live~.wc-overlay{z-index:12000}.lucie-live~.toast{z-index:13000}
.ll-attachments{display:flex;gap:6px;flex-wrap:wrap;width:min(600px,90vw);justify-content:center}.ll-attachments:empty{display:none}.ll-attachment{display:flex;gap:8px;align-items:center;border:1px solid var(--ll-line);background:#1b2838;border-radius:9px;padding:4px 8px;font-size:10px;max-width:260px;overflow:hidden}.lucie-live .ll-attachment .ll-button{min-height:22px;padding:0 4px;border:0;font-size:16px}

/* Navigation Live : contenu web isolé, animations sur opacité/transform uniquement. */
.ll-browser{display:flex;flex-direction:column;min-height:360px}.ll-web-toolbar{display:flex;gap:7px;align-items:center;margin-bottom:12px;flex-wrap:wrap}.lucie-live .ll-web-address{flex:1;min-width:130px;width:auto;border:1px solid var(--ll-line);border-radius:10px;background:#0b1422;color:var(--ll-text);padding:10px 12px;font:inherit;font-size:12px}.ll-web-external{font-size:11px;color:var(--ll-teal);white-space:nowrap}.ll-web-content{min-height:250px}.ll-web-frame{width:100%;height:55vh;min-height:300px;border:1px solid var(--ll-line);border-radius:12px;background:#fff}.ll-web-note{font-size:11px!important;line-height:1.5;color:var(--ll-muted)}.ll-web-welcome{padding:50px 20px;text-align:center}.ll-web-welcome strong{font-size:24px;font-weight:500;color:var(--ll-teal)}.ll-web-welcome p{color:var(--ll-muted);font-size:13px}.ll-web-hit{padding:16px 10px;border-bottom:1px solid var(--ll-line);animation:ll-arrive .4s ease both}.lucie-live .ll-web-title{display:block;text-align:left;width:100%;font-size:16px;line-height:1.4;margin:7px 0;color:var(--ll-teal);border:0;background:transparent;padding:0;justify-content:flex-start}.ll-web-hit p{font-size:12px;line-height:1.65;color:#bac7d4}.ll-web-hit a{font-size:10px;color:#a7b9d2}.ll-web-loading{color:var(--ll-teal);animation:ll-search-pulse 1.5s ease-in-out infinite}.ll-window{animation:ll-arrive .4s cubic-bezier(.2,.8,.2,1)}.ll-window-head .ll-window-dot{box-shadow:0 0 12px #8ee6d344}.ll-orb:before,.ll-orb:after{content:'';position:absolute;inset:9%;border-radius:50%;border:1px dashed #a4d4de25;pointer-events:none;animation:ll-orbit 32s linear infinite}.ll-orb:after{inset:2%;border:1px solid transparent;border-top-color:#8ee6d34d;border-bottom-color:#e4aaca44;animation-duration:19s;animation-direction:reverse}.ll-grid{animation:ll-grid-drift 40s ease-in-out infinite alternate}.lucie-live .ll-button{transition:background .18s ease,box-shadow .18s ease,transform .18s ease}.lucie-live .ll-button:active{transform:scale(.95)}.lucie-live .ll-button:focus-visible,.lucie-live .ll-web-address:focus-visible{outline:2px solid var(--ll-teal);outline-offset:3px}.ll-web-hit:nth-child(2){animation-delay:.04s}.ll-web-hit:nth-child(3){animation-delay:.08s}.ll-web-hit:nth-child(4){animation-delay:.12s}
@keyframes ll-arrive{from{opacity:0;translate:0 12px;scale:.98}to{opacity:1;translate:0 0;scale:1}}
@keyframes ll-orbit{to{transform:rotate(360deg)}}
@keyframes ll-grid-drift{to{transform:translate3d(12px,10px,0);opacity:.2}}
@keyframes ll-search-pulse{50%{opacity:.45}}
@media(max-width:760px){.ll-browser{min-height:260px}.ll-web-frame{height:48vh}.ll-web-toolbar{gap:5px}.ll-web-external{font-size:10px}.ll-web-welcome{padding:25px 10px}.ll-web-welcome strong{font-size:20px}.lucie-live .ll-dock .ll-button{font-size:9px;padding:5px 4px}}
@media(prefers-reduced-motion:reduce){.lucie-live *,.ll-orb:before,.ll-orb:after{animation:none!important;transition:none!important}}
.ll-document-preview h2{font-size:18px;margin:3px 0 12px}.ll-document-preview .ll-pdf-frame{height:62vh;margin-top:14px}.ll-document-text{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.7 ui-monospace,monospace;background:#0b1422;border:1px solid var(--ll-line);padding:20px;border-radius:12px;max-height:58vh;overflow:auto;color:var(--ll-text)}.lucie-live .ll-document-choice{display:flex;width:100%;justify-content:flex-start;text-align:left;margin:8px 0;overflow-wrap:anywhere;white-space:normal}.ll-dock{flex-wrap:wrap}
@media(max-width:760px){.ll-document-preview .ll-pdf-frame{height:48vh}.ll-document-text{font-size:12px;padding:12px}}
/* Lecture mobile : aucun verrouillage du zoom natif de la page. */
.lucie-live .ll-window-body{min-width:0;overflow:auto}.lucie-live .ll-window-body img{max-width:100%;height:auto;object-fit:contain;touch-action:pan-x pan-y pinch-zoom}.lucie-live .ll-window-body table{max-width:100%}.lucie-live .ll-document-preview{min-width:0}.lucie-live .ll-document-preview iframe{max-width:100%}
@media(max-width:760px){.lucie-live .ll-hero{min-width:0}.lucie-live .ll-panels{width:100%;min-width:0}.lucie-live .ll-window{width:100%;min-width:0;transform:none!important}.lucie-live .ll-dock{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%}.lucie-live .ll-dock .ll-divider{display:none}.lucie-live .ll-dock .ll-button{min-height:40px;padding:5px 2px;min-width:0}.lucie-live .ll-window-head{min-height:44px}.lucie-live .ll-window-btn{min-width:36px;min-height:36px}.lucie-live .ll-input textarea{font-size:16px}.lucie-live .ll-web-address{font-size:16px}.lucie-live .ll-window-body pre{max-width:100%;overflow:auto}.lucie-live .ll-expanded{inset:max(62px,env(safe-area-inset-top)) 6px max(185px,env(safe-area-inset-bottom))!important}.lucie-live .ll-window-body .gal{grid-template-columns:1fr}.lucie-live .ll-window-body .gal img{width:100%}}

/* Lucie — signature lumineuse et mouvements de l’espace Live. */
.lucie-live{--ll-energy:#8ee6d3;--ll-energy-rgb:142,230,211}
.lucie-live[data-state='thinking'],.lucie-live[data-state='working']{--ll-energy:#baa9f4;--ll-energy-rgb:186,169,244}
.lucie-live[data-state='speaking']{--ll-energy:#a5e9ef;--ll-energy-rgb:165,233,239}
.lucie-live[data-state='offline']{--ll-energy:#ddb19d;--ll-energy-rgb:221,177,157}
.ll-top{position:relative}.ll-top:after{content:'';position:absolute;bottom:-1px;left:18%;width:28%;height:1px;background:linear-gradient(90deg,transparent,var(--ll-energy),transparent);opacity:.65;animation:ll-horizon 12s ease-in-out infinite;pointer-events:none}
.ll-orbital{position:absolute;inset:-5%;pointer-events:none;color:var(--ll-energy);transition:color .5s;opacity:.8}
.ll-orbit{display:block;position:absolute;border-radius:50%;inset:0;border:1px solid rgba(var(--ll-energy-rgb),.12)}
.ll-orbit-outer{border-top-color:var(--ll-energy);border-bottom-color:rgba(var(--ll-energy-rgb),.45);border-left-color:transparent;animation:ll-orbit-turn 28s linear infinite;box-shadow:0 -2px 15px -7px var(--ll-energy)}
.ll-orbit-outer:before,.ll-orbit-middle:after{content:'';position:absolute;top:12%;left:12%;width:5px;height:5px;border-radius:50%;background:var(--ll-energy);box-shadow:0 0 12px var(--ll-energy)}
.ll-orbit-middle{inset:5%;border-style:dashed;border-color:rgba(var(--ll-energy-rgb),.22);border-right:2px solid rgba(var(--ll-energy-rgb),.6);animation:ll-orbit-turn 40s linear reverse infinite}
.ll-orbit-inner{inset:12%;border-left-color:rgba(var(--ll-energy-rgb),.6);border-right-color:transparent;transform:rotate(-25deg);animation:ll-orbit-turn 18s linear infinite}
.ll-orbit-ticks{inset:-2%;border:0;background:repeating-conic-gradient(from 0deg,rgba(var(--ll-energy-rgb),.35) 0deg .6deg,transparent .6deg 7.5deg);mask-image:radial-gradient(circle,transparent 67%,#000 67.5%,#000 69%,transparent 69.5%);opacity:.6}
.ll-orbit-signal{position:absolute;inset:18%;border:1px solid rgba(var(--ll-energy-rgb),.08);border-radius:50%;opacity:0}
.lucie-live[data-state='hearing'] .ll-orbit-signal,.lucie-live[data-state='speaking'] .ll-orbit-signal{animation:ll-signal 2.1s ease-out infinite}
.lucie-live[data-state='thinking'] .ll-orbit-inner,.lucie-live[data-state='working'] .ll-orbit-inner{animation-duration:4s;border-top-color:var(--ll-energy)}
.lucie-live[data-state='thinking'] .ll-orbit-outer,.lucie-live[data-state='working'] .ll-orbit-outer{animation-duration:10s}
.ll-telemetry{display:flex;align-items:center;gap:12px;margin-top:18px;opacity:.65;pointer-events:none;color:var(--ll-energy)}
.ll-telemetry-label{font:8px ui-monospace,SFMono-Regular,monospace;letter-spacing:.24em;color:#a3b6c3}
.ll-telemetry-bars{display:flex;align-items:center;gap:3px;height:18px}
.ll-telemetry-bars i{height:14px;width:2px;border-radius:2px;background:var(--ll-energy);transform:scaleY(.2);transform-origin:center;transition:transform .4s;opacity:.75}
.lucie-live:is([data-state='hearing'],[data-state='speaking'],[data-state='thinking'],[data-state='working']) .ll-telemetry-bars i{animation:ll-meter 1.1s ease-in-out infinite;animation-delay:calc(var(--i)*-.17s)}
.ll-window{border-color:rgba(var(--ll-energy-rgb),.21);box-shadow:0 20px 50px #0004,0 0 0 1px rgba(var(--ll-energy-rgb),.025);transition:border-color .3s,box-shadow .3s}
.ll-window:before{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;background:linear-gradient(90deg,var(--ll-energy),transparent) top left/45px 1px no-repeat,linear-gradient(var(--ll-energy),transparent) top left/1px 34px no-repeat,linear-gradient(270deg,var(--ll-energy),transparent) bottom right/45px 1px no-repeat,linear-gradient(0deg,var(--ll-energy),transparent) bottom right/1px 34px no-repeat;opacity:.65}
.ll-window:after{content:'';position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,transparent,var(--ll-energy),transparent);box-shadow:0 0 18px rgba(var(--ll-energy-rgb),.5);opacity:0;pointer-events:none;z-index:4;animation:ll-panel-scan .85s ease-out both}
.ll-window-head{background:linear-gradient(110deg,rgba(var(--ll-energy-rgb),.045),transparent 70%);user-select:none}
.ll-window-dot{background:var(--ll-energy);box-shadow:0 0 9px rgba(var(--ll-energy-rgb),.55);transition:background .4s}
.ll-window:hover{border-color:rgba(var(--ll-energy-rgb),.4)}
.ll-window.ll-dragging{border-color:var(--ll-energy);box-shadow:0 25px 70px #0006,0 0 25px rgba(var(--ll-energy-rgb),.12);scale:1.015}
.ll-window.ll-dragging .ll-window-head{cursor:grabbing;background:rgba(var(--ll-energy-rgb),.1)}
.ll-closing{z-index:200!important;contain:layout paint;transition:none!important}.ll-closing:after{display:none}
.lucie-live .ll-button:active{transform:scale(.94);border-color:rgba(var(--ll-energy-rgb),.6)}
.ll-state{transition:color .4s,border-color .4s,background .4s;border-color:rgba(var(--ll-energy-rgb),.25)}
.lucie-live[data-state='working'] .ll-state,.lucie-live[data-state='thinking'] .ll-state{background:rgba(var(--ll-energy-rgb),.06);color:var(--ll-energy)}
.lucie-live[data-state='working'] .ll-dot,.lucie-live[data-state='thinking'] .ll-dot{background:var(--ll-energy);animation:ll-state-pulse 1.4s ease-in-out infinite}
.ll-suspended *,.ll-suspended *:before,.ll-suspended *:after{animation-play-state:paused!important}
@keyframes ll-orbit-turn{to{transform:rotate(360deg)}}
@keyframes ll-signal{0%{transform:scale(.8);opacity:0}20%{opacity:.6}100%{transform:scale(1.65);opacity:0}}
@keyframes ll-horizon{0%,100%{transform:translateX(-25%);opacity:.2}50%{transform:translateX(160%);opacity:.8}}
@keyframes ll-meter{0%,100%{transform:scaleY(.2)}30%{transform:scaleY(.85)}65%{transform:scaleY(.4)}}
@keyframes ll-state-pulse{0%,100%{opacity:.4;box-shadow:0 0 0 0 rgba(var(--ll-energy-rgb),.2)}50%{opacity:1;box-shadow:0 0 0 5px rgba(var(--ll-energy-rgb),0)}}
@keyframes ll-panel-scan{0%{translate:0 0;opacity:0}15%{opacity:.8}100%{translate:0 200px;opacity:0}}
@media(max-width:760px){.ll-telemetry{margin-top:12px}.ll-has-panels .ll-telemetry{display:none}.ll-orbit-ticks{opacity:.4}.ll-orbit-middle{animation:none}.ll-window{backdrop-filter:none}.ll-window:after{animation-duration:.6s}.ll-orbital{inset:-3%}}
@media(prefers-reduced-motion:reduce){.lucie-live *,.lucie-live *:before,.lucie-live *:after{animation:none!important;transition:none!important}.ll-orbit-signal,.ll-window:after{display:none}.ll-orbit-outer{transform:rotate(35deg)}.ll-orbit-inner{transform:rotate(-25deg)}}
.ll-window[data-status='running'] .ll-window-dot{animation:ll-state-pulse 1.4s ease-in-out infinite;background:#baa9f4;color:#baa9f4}
.ll-window[data-status='running']:after{animation:ll-panel-scan 3.5s ease-in-out infinite;background:linear-gradient(90deg,transparent,#baa9f4,transparent)}
@media(prefers-reduced-motion:reduce){.ll-window[data-status='running']:after{display:none}.ll-window[data-status='running'] .ll-window-dot{animation:none}}

/* ======================================================================================================================
   Live « monde 3D » (14/11) — cosmos three.js en fond, fenêtres en verre avec profondeur, régie de l'écran par Lucie.
   Cédric E - Lucie-AI Guardian Pro@2025
   ==================================================================================================================== */
.ll-world{position:absolute;inset:0;z-index:-2;pointer-events:none;display:block}
.lucie-live.ll-3d{background:radial-gradient(ellipse 120% 80% at 50% 115%,#1a2440 0%,#0b1020 45%,#05070f 100%)}
.lucie-live.ll-3d:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse at 50% 50%,transparent 55%,#02040acc 100%),linear-gradient(180deg,#05070f99,transparent 18%,transparent 78%,#05070fcc)}
.ll-3d .ll-grid{display:none}
.ll-3d .ll-orb-core,.ll-3d .ll-orb-halo,.ll-3d .ll-orb canvas{opacity:0;transition:opacity 1.2s}
.ll-3d .ll-orb:before,.ll-3d .ll-orb:after{opacity:.35}
.ll-3d .ll-orbital{opacity:.45;mix-blend-mode:screen}
.ll-3d .ll-orb-center{border-color:transparent}
.ll-3d .ll-orb-center span{font-size:62px;color:#f4fffb;text-shadow:0 0 18px rgba(var(--ll-energy-rgb),.9),0 0 60px rgba(var(--ll-energy-rgb),.55);animation:ll-letter 6s ease-in-out infinite}
.ll-3d .ll-title{background:linear-gradient(100deg,#f3fffb 0%,#bff6ea 25%,#f6d4ea 50%,#c3d2ff 75%,#f3fffb 100%) 0 0/250% 100%;-webkit-background-clip:text;background-clip:text;
  color:transparent!important;animation:ll-shimmer 9s linear infinite;filter:drop-shadow(0 0 22px rgba(var(--ll-energy-rgb),.25))}
.ll-3d .ll-top{border-bottom-color:transparent;background:linear-gradient(180deg,#05070fb0,transparent)}
.ll-3d .ll-state{backdrop-filter:blur(10px);background:rgba(var(--ll-energy-rgb),.08);box-shadow:0 0 30px -8px rgba(var(--ll-energy-rgb),.5)}
.ll-3d .ll-context{text-shadow:0 0 12px rgba(var(--ll-energy-rgb),.4)}
/* ondes quand Lucie écoute ou parle */
.ll-3d .ll-hero:after{content:'';position:absolute;left:50%;top:50%;width:min(38vw,380px);aspect-ratio:1;border-radius:50%;translate:-50% -62%;
  border:1px solid rgba(var(--ll-energy-rgb),.35);opacity:0;pointer-events:none}
.ll-3d:is([data-state='hearing'],[data-state='speaking']) .ll-hero:after{animation:ll-ripple 2.4s cubic-bezier(.2,.6,.3,1) infinite}
.ll-3d.ll-has-panels .ll-hero:after{width:min(28vw,300px)}

/* ---------- fenêtres en verre, profondeur 3D ---------- */
.ll-3d .ll-panels{perspective:1800px;perspective-origin:35% 30%;padding-bottom:70px}
.ll-3d .ll-window{transform-style:preserve-3d;
  transform:translate(var(--dx,0px),var(--dy,0px)) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateZ(var(--tz,0px));
  transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s,border-color .35s,opacity .35s;
  background:linear-gradient(150deg,rgba(28,40,60,.72),rgba(12,18,32,.78));backdrop-filter:blur(22px) saturate(150%);
  border:1px solid rgba(var(--ll-energy-rgb),.22);box-shadow:0 30px 80px -20px #000c,0 0 0 1px #ffffff08 inset,0 1px 0 #ffffff14 inset}
.ll-3d .ll-window .ll-window-body{background:radial-gradient(circle at var(--gx,50%) var(--gy,0%),rgba(var(--ll-energy-rgb),.07),transparent 45%)}
.ll-3d .ll-window:hover{--tz:18px;box-shadow:0 40px 90px -20px #000d,0 0 40px -10px rgba(var(--ll-energy-rgb),.45),0 0 0 1px #ffffff10 inset}
.ll-3d .ll-window.ll-active{border-color:rgba(var(--ll-energy-rgb),.55);box-shadow:0 40px 100px -25px #000e,0 0 60px -18px rgba(var(--ll-energy-rgb),.7),0 0 0 1px #ffffff12 inset}
.ll-3d .ll-window:not(.ll-active):not(:hover):not(.ll-dragging){--tz:-30px;opacity:.88;filter:saturate(.85)}
.ll-3d .ll-window.ll-dragging{transition:none}
.ll-3d .ll-window:not(.ll-dragging):not(.ll-expanded):not(.ll-resizing){animation:ll-arrive .5s cubic-bezier(.2,.8,.2,1),ll-float 9s ease-in-out 0.6s infinite}
.ll-3d .ll-window:nth-child(2n){animation-delay:0s,1.8s}.ll-3d .ll-window:nth-child(3n){animation-delay:0s,3.4s}
.ll-3d .ll-window-head{background:linear-gradient(100deg,rgba(var(--ll-energy-rgb),.12),transparent 65%);border-bottom-color:rgba(var(--ll-energy-rgb),.14)}
.ll-3d .ll-window-head strong{letter-spacing:.04em;color:#eef6f4}
.ll-3d .ll-window-dot{width:7px;height:7px;box-shadow:0 0 12px rgba(var(--ll-energy-rgb),.9)}
/* fenêtre principale (régie « focus » / « auto » à 3+ fenêtres) */
.ll-has-panels .ll-panels .ll-lead{grid-column:1/-1;max-height:72vh}
.ll-size-small{grid-column:auto!important;max-height:34vh!important}
.ll-size-medium{grid-column:auto!important;max-height:58vh!important}
.ll-size-large{grid-column:1/-1!important;max-height:76vh!important}
.ll-min{display:none!important}
/* poignée de redimensionnement */
.ll-grip{position:absolute;right:4px;bottom:4px;width:16px;height:16px;cursor:nwse-resize;z-index:6;opacity:.45;
  background:linear-gradient(135deg,transparent 50%,rgba(var(--ll-energy-rgb),.9) 50% 58%,transparent 58% 70%,rgba(var(--ll-energy-rgb),.9) 70% 78%,transparent 78%)}
.ll-window:hover .ll-grip{opacity:.9}.ll-resizing{transition:none!important;animation:none!important}
/* vignettes (fenêtres rangées par Lucie ou par toi) */
.ll-rail{position:absolute;right:28px;top:12px;left:max(46%,420px);display:none;gap:8px;justify-content:flex-end;flex-wrap:wrap;z-index:120;pointer-events:auto}
.ll-has-rail .ll-rail{display:flex}
.lucie-live .ll-chip{display:inline-flex;align-items:center;gap:8px;max-width:220px;padding:7px 12px;border-radius:999px;cursor:pointer;font:inherit;font-size:11px;
  color:#dbe8e5;background:rgba(14,22,36,.72);border:1px solid rgba(var(--ll-energy-rgb),.3);backdrop-filter:blur(12px);transition:transform .2s,border-color .2s,box-shadow .2s}
.lucie-live .ll-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lucie-live .ll-chip:hover{transform:translateY(-3px);border-color:rgba(var(--ll-energy-rgb),.8);box-shadow:0 10px 30px -10px rgba(var(--ll-energy-rgb),.7)}
.ll-chip-dot{width:6px;height:6px;border-radius:50%;background:var(--ll-energy);box-shadow:0 0 8px var(--ll-energy);flex-shrink:0}
/* mode « scène » : la fenêtre active en grand, Lucie en médaillon */
.ll-stage .ll-staged{position:fixed!important;inset:92px 34px 170px max(26vw,330px)!important;max-height:none!important;z-index:150!important;--tz:0px!important}
.ll-stage .ll-hero{flex:0 0 min(24vw,300px)}.ll-stage .ll-orb{width:min(20vw,220px)}.ll-stage .ll-title{font-size:36px!important}.ll-stage .ll-subtitle{display:none}
/* dock et saisie : verre et lueur */
.ll-3d .ll-dock,.ll-3d .ll-input{background:rgba(12,18,30,.62);border-color:rgba(var(--ll-energy-rgb),.2);backdrop-filter:blur(18px) saturate(140%);
  box-shadow:0 20px 50px -20px #000c,0 0 40px -22px rgba(var(--ll-energy-rgb),.8)}
.ll-3d .ll-dock .ll-button{position:relative;overflow:hidden}
.ll-3d .ll-dock .ll-button:after{content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.14) 50%,transparent 70%) -150% 0/250% 100% no-repeat;transition:background-position .6s}
.ll-3d .ll-dock .ll-button:hover:after{background-position:150% 0}
.ll-3d .ll-dock .ll-button:hover{color:#fff;box-shadow:0 0 18px -4px rgba(var(--ll-energy-rgb),.7)}
.ll-3d .ll-dock .ll-mic{box-shadow:0 0 0 1px rgba(var(--ll-energy-rgb),.4),0 0 24px -4px rgba(var(--ll-energy-rgb),.8)}
.ll-3d[data-state='hearing'] .ll-dock .ll-mic{animation:ll-mic 1.2s ease-in-out infinite}
.ll-3d .ll-captions{background:rgba(12,18,30,.7);backdrop-filter:blur(16px);border-color:rgba(var(--ll-energy-rgb),.22)}
@keyframes ll-float{0%,100%{translate:0 0}50%{translate:0 -6px}}
@keyframes ll-shimmer{to{background-position:-250% 0}}
@keyframes ll-letter{0%,100%{opacity:.92;transform:scale(1)}50%{opacity:1;transform:scale(1.04)}}
@keyframes ll-ripple{0%{opacity:.55;scale:.85}100%{opacity:0;scale:1.6}}
@keyframes ll-mic{0%,100%{box-shadow:0 0 0 1px rgba(var(--ll-energy-rgb),.4),0 0 20px -4px rgba(var(--ll-energy-rgb),.8)}50%{box-shadow:0 0 0 6px rgba(var(--ll-energy-rgb),0),0 0 34px 0 rgba(var(--ll-energy-rgb),.9)}}
@media(max-width:1100px){.ll-rail{left:24px}.ll-stage .ll-staged{inset:80px 16px 170px 16px!important}.ll-stage .ll-hero{display:none}}
@media(max-width:760px){.ll-3d .ll-window{transform:none!important;animation:none!important;opacity:1!important;filter:none!important}.ll-rail{position:relative;left:auto;right:auto;bottom:auto;justify-content:center;padding:4px 10px}
  .ll-grip{display:none}.ll-3d .ll-hero:after{display:none}.ll-stage .ll-staged{inset:62px 6px 180px!important}}
@media(prefers-reduced-motion:reduce){.ll-3d .ll-window,.ll-3d .ll-title,.ll-3d .ll-orb-center span,.ll-3d .ll-hero:after{animation:none!important}.ll-3d .ll-window{transition:none!important}}

.ll-has-rail .ll-panels{padding-top:58px}
.ll-has-panels .ll-panels .ll-auto-half{grid-column:auto;max-height:50vh}
@media(max-width:1100px){.ll-has-panels .ll-panels .ll-auto-half{grid-column:1/-1}}
/* lignes de la grille à la taille réelle des fenêtres (sinon elles se chevauchaient quand la place manquait) */
.ll-has-panels .ll-panels{grid-auto-rows:max-content}
.ll-has-panels .ll-panels .ll-lead{order:-1}
/* une perspective CSS piège les fenêtres « fixed » : supprimée en mode scène ou fenêtre agrandie */
.ll-stage .ll-panels,.ll-panels:has(.ll-expanded){perspective:none}
.ll-stage .ll-window:not(.ll-staged){opacity:.12!important;filter:blur(6px)!important;pointer-events:none}
.ll-stage .ll-staged{animation:none!important;transform:none!important}
.ll-stage .ll-staged{height:calc(100vh - 262px)!important;height:calc(100dvh - 262px)!important}
.ll-stage .ll-staged .ll-window-body{flex:1}

/* encadrés « En bref / Conseil / À faire » dans les fenêtres sombres du Live : fond translucide, texte clair */
.lucie-live .ll-window-body blockquote.callout,.lucie-live .ll-captions blockquote.callout{background:rgba(255,255,255,.06)!important;color:#e6eef0!important}
.lucie-live .ll-window-body blockquote.callout a{color:var(--ll-teal)}
