/* Assistant Racine - Modele C grand format, proportions de la maquette approuvee */
.racine-assistant{--ra-navy:#073b67;--ra-blue:#08679f;--ra-sky:#dff3fb;--ra-green:#169c4a;--ra-lime:#67b735;--ra-ink:#103b5d;--ra-muted:#5e7586;--ra-line:#d7e6ee;position:fixed;right:26px;bottom:24px;z-index:99998;font-family:Barlow,Arial,sans-serif;color:var(--ra-ink)}
.racine-assistant *{box-sizing:border-box}.racine-assistant button,.racine-assistant input{font-family:inherit}
.racine-assistant__toggle{border:1px solid rgba(255,255,255,.24);border-radius:30px;background:linear-gradient(135deg,#078f45,#14a854);color:#fff;padding:8px 16px 8px 8px;display:flex;gap:11px;align-items:center;min-width:236px;box-shadow:0 14px 38px rgba(7,73,75,.27);cursor:pointer;transition:.2s}
.racine-assistant__toggle:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(7,73,75,.33)}
.racine-assistant__toggle-icon{width:52px;height:52px;border-radius:50%;background:linear-gradient(#f9fdff,#d9eff8);border:3px solid #fff;display:grid;place-items:center;position:relative;box-shadow:0 3px 10px rgba(0,0,0,.14)}
.racine-assistant__toggle-icon:before{content:"";width:27px;height:22px;border-radius:10px;background:var(--ra-navy);position:absolute}.racine-assistant__toggle-icon:after{content:"";width:6px;height:10px;background:var(--ra-green);border-radius:100% 0 100% 0;position:absolute;top:3px;transform:rotate(-25deg)}.ra-bot-face{position:relative;color:#fff;font-size:6px;z-index:2;text-shadow:11px 0 #fff;margin-left:-11px}
.racine-assistant__toggle-copy{display:flex;flex-direction:column;align-items:flex-start;line-height:1.08}.racine-assistant__toggle-copy strong{font-size:16px;color:#fff}.racine-assistant__toggle-copy small{font-size:10px;color:rgba(255,255,255,.9);font-weight:500;margin-top:4px}.racine-assistant__toggle-chevron{margin-left:auto;font-size:18px;font-weight:800}

.racine-assistant__panel{display:none;position:absolute;right:0;bottom:78px;width:min(720px,calc(100vw - 34px));max-height:min(900px,calc(100vh - 110px));overflow-y:auto;overflow-x:hidden;background:#fff;border:1px solid rgba(7,59,103,.13);border-radius:34px;box-shadow:0 34px 96px rgba(8,48,74,.30)}
.racine-assistant.is-open .racine-assistant__panel{display:flex;flex-direction:column;animation:raPanelIn .22s ease-out}@keyframes raPanelIn{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}

.racine-assistant__hero{min-height:150px;padding:28px 34px 38px;background:linear-gradient(120deg,#07517f 0%,#08689e 100%);position:relative;overflow:hidden;color:#fff;display:flex;align-items:flex-start}.racine-assistant__hero:after{content:"";position:absolute;left:-7%;right:-7%;bottom:-35px;height:64px;background:#fff;border-radius:50% 50% 0 0/100% 100% 0 0}
.racine-assistant__brand{display:flex;gap:22px;align-items:center;position:relative;z-index:2;padding-right:60px}.racine-assistant__brand-logo{display:block;width:102px;height:82px;object-fit:contain;flex:0 0 auto;filter:drop-shadow(0 4px 10px rgba(0,0,0,.18))}.racine-assistant__brand>div{display:flex;flex-direction:column;justify-content:center}.racine-assistant__brand strong{font-family:Barlow,Arial,sans-serif;font-style:normal;font-size:36px;font-weight:800;letter-spacing:-.6px;line-height:1;color:#fff}.racine-assistant__brand span{font-size:20px;margin-top:9px;color:#fff;font-weight:500;line-height:1.2}
.racine-assistant__close{position:absolute;right:22px;top:22px;z-index:3;border:0;background:transparent;color:#fff;width:38px;height:38px;font-size:34px;line-height:1;cursor:pointer;padding:0}

.racine-assistant__welcome{display:grid;grid-template-columns:156px 1fr;gap:18px;padding:8px 28px 12px;align-items:center;background:#fff}.racine-assistant__robot{width:132px;height:118px;border-radius:48px 48px 42px 42px;background:linear-gradient(#effaff,#b8dfed);border:2px solid #5799b7;position:relative;box-shadow:0 8px 20px rgba(14,82,113,.14);margin-left:4px}.racine-assistant__robot:before{content:"";position:absolute;left:18px;right:18px;top:26px;height:58px;border-radius:27px;background:var(--ra-navy)}.ra-antenna{position:absolute;width:4px;height:24px;background:#4b8197;left:63px;top:-20px}.ra-antenna:after{content:"";position:absolute;width:15px;height:15px;border-radius:100% 0 100% 0;background:var(--ra-green);left:1px;top:-7px}.ra-eye{position:absolute;z-index:2;width:10px;height:13px;border-radius:50%;background:#fff;top:48px}.ra-eye--l{left:45px}.ra-eye--r{right:45px}.ra-smile{position:absolute;z-index:2;width:28px;height:14px;border-bottom:3px solid #fff;border-radius:0 0 17px 17px;left:50px;top:67px}
.racine-assistant__welcome-card{background:linear-gradient(135deg,#f1f8fc,#eaf3f8);border-radius:24px;padding:20px 24px;color:#173e5d;min-height:132px;display:flex;flex-direction:column;justify-content:center}.racine-assistant__welcome-card strong{font-size:27px;line-height:1.1}.racine-assistant__welcome-card p{font-size:17px;line-height:1.48;margin:12px 0 0;color:#294d66}

.racine-assistant__messages{padding:8px 28px 6px;background:#fff;max-height:220px;overflow:auto}.racine-assistant__bubble{max-width:100%;background:#f6fafc;border:1px solid #d6e6ee;border-radius:18px;padding:13px 17px;margin-bottom:9px;color:#62768a;line-height:1.45;font-size:15px}.racine-assistant__bubble--user{max-width:88%;margin-left:auto;background:#eaf7e4;border-color:#cfe7c3;color:#244a31;border-radius:18px 18px 6px 18px}.racine-assistant__bubble--loading{font-style:italic}.racine-assistant__bubble--source{max-width:100%;border:0;background:transparent;padding:2px 3px 7px;font-size:11px;color:#73858c}

.racine-assistant__quick-wrap{padding:10px 28px 9px;background:#fff}.racine-assistant__quick-label,.racine-assistant__ask-label{font-size:25px;font-weight:800;color:var(--ra-navy);margin-bottom:12px;letter-spacing:-.2px}.racine-assistant__quick{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.racine-assistant__quick button{min-height:112px;border:1px solid #c9dce7;background:#fff;color:var(--ra-navy);border-radius:18px;padding:12px 7px;font-size:14px;line-height:1.23;font-weight:700;cursor:pointer;transition:.16s}.racine-assistant__quick button span{display:block;color:var(--ra-green);font-size:37px;line-height:1;margin-bottom:10px}.racine-assistant__quick button:hover{border-color:#73bd66;background:#f7fcf5;transform:translateY(-1px);box-shadow:0 7px 16px rgba(20,115,72,.09)}
.racine-assistant__ask-label{padding:10px 28px 0;margin:0;display:flex;align-items:center;gap:14px;font-size:22px}.racine-assistant__ask-label:after{content:"";height:1px;background:#b8cfdb;flex:1}
.racine-assistant form{display:flex;gap:12px;padding:13px 28px 11px;background:#fff}.racine-assistant form input{flex:1;min-width:0;border:1px solid #b9d1df;border-radius:22px;padding:16px 20px;font:inherit;font-size:17px;background:#fff;color:var(--ra-ink);outline:none;min-height:58px}.racine-assistant form input:focus{border-color:#5a9ec7;box-shadow:0 0 0 3px rgba(11,95,156,.08)}.racine-assistant form button{width:62px;height:62px;border:0;border-radius:50%;background:linear-gradient(135deg,var(--ra-blue),var(--ra-navy));color:#fff;font-size:28px;cursor:pointer;box-shadow:0 7px 18px rgba(7,59,103,.22);flex:0 0 62px}
.racine-assistant__note{margin:0;padding:0 28px 14px;background:#fff;color:#647d8e;font-size:11px;line-height:1.45}

.racine-assistant__landscape{height:82px;position:relative;overflow:hidden;background:linear-gradient(to top,#7bc86b 0 42%,#dff3e3 43% 100%)}.racine-assistant__landscape:before{content:"";position:absolute;left:-5%;bottom:-32px;width:66%;height:70px;background:#50ad61;border-radius:50% 50% 0 0}.racine-assistant__landscape:after{content:"";position:absolute;right:-8%;bottom:-36px;width:72%;height:75px;background:#95d875;border-radius:50% 50% 0 0}.racine-assistant__landscape span:before,.racine-assistant__landscape span:after{content:"▲";position:absolute;z-index:2;bottom:8px;color:#117b43;font-size:31px}.racine-assistant__landscape span:before{left:38px}.racine-assistant__landscape span:after{left:68px;font-size:24px}.racine-assistant__landscape em{position:absolute;z-index:3;right:28px;bottom:14px;color:#075783;font-size:18px;font-weight:700;font-style:italic;line-height:1.05;text-align:right;transform:rotate(-3deg)}

.racine-assistant__results{display:grid;gap:8px;margin:3px 0 10px}.racine-assistant__result{display:block;padding:11px 12px;border:1px solid #d6e8ef;border-radius:12px;background:#fff;text-decoration:none!important}.racine-assistant__result strong,.racine-assistant__result span{display:block}.racine-assistant__result strong{color:var(--ra-navy);font-size:13px;margin-bottom:3px}.racine-assistant__result span{color:#607782;font-size:11px;line-height:1.4}.racine-assistant form button:disabled,.racine-assistant form input:disabled{opacity:.6;cursor:wait}

@media(max-width:900px){.racine-assistant__panel{width:min(660px,calc(100vw - 24px))}.racine-assistant__brand-logo{width:88px;height:72px}.racine-assistant__brand strong{font-size:31px}.racine-assistant__brand span{font-size:17px}.racine-assistant__welcome{grid-template-columns:130px 1fr}.racine-assistant__robot{transform:scale(.9);transform-origin:left center}.racine-assistant__quick button{min-height:98px;font-size:13px}.racine-assistant__quick button span{font-size:31px}.racine-assistant__quick-label{font-size:22px}}
@media(max-width:650px){.racine-assistant{right:10px;bottom:10px}.racine-assistant__toggle{min-width:0;width:60px;height:60px;padding:5px;border-radius:50%}.racine-assistant__toggle-icon{width:48px;height:48px}.racine-assistant__toggle-copy,.racine-assistant__toggle-chevron{display:none}.racine-assistant__panel{position:fixed;left:8px;right:8px;bottom:78px;width:auto;max-height:calc(100vh - 90px);border-radius:24px}.racine-assistant__hero{min-height:104px;padding:18px 20px 27px}.racine-assistant__brand{gap:12px;padding-right:38px}.racine-assistant__brand-logo{width:58px;height:48px}.racine-assistant__brand strong{font-size:23px}.racine-assistant__brand span{font-size:12px;margin-top:5px}.racine-assistant__close{right:10px;top:10px;font-size:28px}.racine-assistant__welcome{grid-template-columns:70px 1fr;gap:10px;padding:2px 14px 8px}.racine-assistant__robot{width:74px;height:66px;transform:scale(.84);transform-origin:left center}.racine-assistant__welcome-card{min-height:auto;padding:12px 14px;border-radius:16px}.racine-assistant__welcome-card strong{font-size:18px}.racine-assistant__welcome-card p{font-size:12px;margin-top:6px}.racine-assistant__messages{padding:4px 14px}.racine-assistant__bubble{font-size:12px;padding:9px 12px}.racine-assistant__quick-wrap{padding:6px 14px}.racine-assistant__quick-label{font-size:17px}.racine-assistant__quick{grid-template-columns:repeat(2,1fr);gap:7px}.racine-assistant__quick button{min-height:68px;font-size:10px;border-radius:12px}.racine-assistant__quick button span{font-size:22px;margin-bottom:6px}.racine-assistant__ask-label{padding:5px 14px 0;font-size:14px}.racine-assistant form{padding:8px 14px}.racine-assistant form input{font-size:12px;min-height:44px;padding:10px 12px;border-radius:14px}.racine-assistant form button{width:46px;height:46px;flex-basis:46px;font-size:20px}.racine-assistant__note{padding:0 14px 8px;font-size:9px}.racine-assistant__landscape{height:48px}.racine-assistant__landscape em{font-size:12px;right:14px;bottom:9px}}

/* v1.7 - Assistant Racine: style robot chaleureux + parcours de question clarifie */
.racine-assistant__welcome{grid-template-columns:170px 1fr;gap:18px;padding-top:12px}
.racine-assistant__robot{width:142px;height:128px;border-radius:52% 52% 45% 45%;background:linear-gradient(145deg,#fff 0%,#eaf7fb 58%,#c9e7f2 100%);border:0;box-shadow:0 12px 25px rgba(13,73,105,.15);overflow:visible;margin:8px 0 5px 8px}
.racine-assistant__robot:before{left:20px;right:20px;top:25px;height:61px;border-radius:30px;background:linear-gradient(145deg,#0a4775,#052f59);box-shadow:inset 0 2px 8px rgba(255,255,255,.12)}
.ra-antenna{left:69px;top:-27px;height:29px;background:#79a4b5}.ra-antenna:after{width:24px;height:20px;left:-2px;top:-10px;background:linear-gradient(135deg,#27b457,#0c8e42)}
.ra-eye{width:11px;height:14px;top:47px}.ra-eye--l{left:47px}.ra-eye--r{right:47px}.ra-smile{left:54px;top:68px;width:31px;height:16px}
.ra-arm{position:absolute;z-index:-1;width:38px;height:64px;background:linear-gradient(#f8fdff,#c8e6f0);border:1px solid #85b9cd;border-radius:25px}.ra-arm--left{left:-15px;top:68px;transform:rotate(18deg)}.ra-arm--right{right:-25px;top:55px;transform:rotate(-38deg)}
.ra-hand{position:absolute;right:-38px;top:38px;width:28px;height:35px;background:#0a4775;border-radius:45% 45% 50% 50%;transform:rotate(-25deg)}
.ra-chest-leaf{position:absolute;left:59px;bottom:7px;width:25px;height:33px;background:linear-gradient(135deg,#28b65b,#0c9042);border-radius:100% 0 100% 0;transform:rotate(-20deg)}
.ra-wave{position:absolute;right:-50px;width:15px;height:4px;border-radius:4px;background:#1caf4f;transform-origin:left center}.ra-wave--1{top:40px;transform:rotate(-32deg)}.ra-wave--2{top:57px;transform:rotate(15deg)}
.racine-assistant__ask-label--top{padding-top:12px;margin-top:0;font-size:21px}
.racine-assistant__ask-label--top:after{display:block}
.racine-assistant form{position:relative;padding-top:8px;padding-bottom:8px}
.racine-assistant__input-icon{position:absolute;left:48px;top:50%;transform:translateY(-50%);width:26px;height:26px;border:2px solid #1d9ccf;border-radius:50%;color:#1d9ccf;display:grid;place-items:center;font-size:0;z-index:2}
.racine-assistant__input-icon:before{content:"•••";font-size:11px;font-weight:900;letter-spacing:1px;line-height:1;transform:translateY(-1px)}
.racine-assistant form input{padding-left:58px}
.racine-assistant__messages:empty{display:none}
.racine-assistant__quick-wrap{padding-top:14px}
.racine-assistant__quick-label{font-size:21px;display:flex;align-items:center;gap:14px}.racine-assistant__quick-label:after{content:"";height:1px;background:#b8cfdb;flex:1}
@media(max-width:650px){.racine-assistant__welcome{grid-template-columns:82px 1fr}.racine-assistant__robot{width:78px;height:72px;transform:scale(.82);transform-origin:left center}.ra-arm,.ra-hand,.ra-wave{display:none}.racine-assistant__input-icon{left:29px;width:20px;height:20px}.racine-assistant form input{padding-left:40px}.racine-assistant__quick-label{font-size:15px}}


/* v1.8 - Assistant Racine : proportions finales selon la maquette approuvee */
.racine-assistant__panel{width:min(700px,calc(100vw - 34px));border-radius:30px}
.racine-assistant__hero{min-height:142px;padding:24px 32px 36px;background:linear-gradient(115deg,#07507f 0%,#08699f 100%)}
.racine-assistant__hero:after{bottom:-31px;height:58px}
.racine-assistant__brand{gap:20px}
.racine-assistant__brand-logo{width:112px;height:88px}
.racine-assistant__brand strong{font-size:38px;letter-spacing:-.8px}
.racine-assistant__brand span{font-size:21px;margin-top:7px}
.racine-assistant__welcome{grid-template-columns:190px 1fr;gap:16px;padding:16px 28px 12px;align-items:center}
.racine-assistant__robot{width:155px;height:138px;margin:14px 0 8px 10px}
.racine-assistant__welcome-card{min-height:158px;border-radius:28px;padding:24px 28px;background:linear-gradient(135deg,#f1f8fc,#e8f3f9)}
.racine-assistant__welcome-card strong{font-size:30px}
.racine-assistant__welcome-card p{font-size:18px;line-height:1.48;margin-top:14px}
.racine-assistant__question-form{padding:16px 28px 12px!important;gap:16px!important}
.racine-assistant__question-form input{height:64px;min-height:64px;border-radius:32px!important;padding-left:62px!important;font-size:18px!important;border:2px solid #a9c6d8!important}
.racine-assistant__question-form button{width:68px!important;height:68px!important;flex-basis:68px!important;font-size:30px!important}
.racine-assistant__input-icon{left:50px;width:29px;height:29px;border-width:2px}
.racine-assistant__quick-wrap{padding:8px 28px 14px}
.racine-assistant__quick-label{font-size:24px;margin:0 0 14px;white-space:nowrap}
.racine-assistant__quick{gap:12px}
.racine-assistant__quick button{min-height:118px;border-radius:20px;font-size:15px;padding:13px 8px}
.racine-assistant__quick button span{font-size:39px;margin-bottom:10px}
.racine-assistant__note{padding:2px 30px 17px;font-size:12px}
.racine-assistant__landscape{height:96px}
.racine-assistant__landscape em{right:30px;bottom:18px;font-size:20px}
.racine-assistant__messages{padding:0 28px 4px;max-height:190px}
@media(max-width:760px){
 .racine-assistant__panel{width:min(650px,calc(100vw - 20px))}
 .racine-assistant__brand-logo{width:82px;height:66px}.racine-assistant__brand strong{font-size:30px}.racine-assistant__brand span{font-size:16px}
 .racine-assistant__welcome{grid-template-columns:145px 1fr}.racine-assistant__robot{transform:scale(.9);transform-origin:center}
 .racine-assistant__welcome-card strong{font-size:24px}.racine-assistant__welcome-card p{font-size:15px}
 .racine-assistant__quick-label{font-size:20px;white-space:normal}.racine-assistant__quick button{min-height:100px;font-size:13px}
}
@media(max-width:650px){
 .racine-assistant__hero{min-height:100px;padding:16px 18px 25px}.racine-assistant__brand-logo{width:58px;height:46px}.racine-assistant__brand strong{font-size:22px}.racine-assistant__brand span{font-size:12px}
 .racine-assistant__welcome{grid-template-columns:78px 1fr;padding:5px 14px 8px}.racine-assistant__robot{width:78px;height:72px;margin:5px 0;transform:scale(.82)}
 .racine-assistant__welcome-card{padding:12px 14px;border-radius:16px;min-height:auto}.racine-assistant__welcome-card strong{font-size:18px}.racine-assistant__welcome-card p{font-size:12px;margin-top:6px}
 .racine-assistant__question-form{padding:8px 14px!important;gap:8px!important}.racine-assistant__question-form input{height:46px;min-height:46px;font-size:12px!important;padding-left:42px!important}.racine-assistant__question-form button{width:48px!important;height:48px!important;flex-basis:48px!important;font-size:20px!important}.racine-assistant__input-icon{left:29px;width:20px;height:20px}
 .racine-assistant__quick-wrap{padding:7px 14px}.racine-assistant__quick-label{font-size:15px;margin-bottom:8px}.racine-assistant__quick{grid-template-columns:repeat(2,1fr);gap:7px}.racine-assistant__quick button{min-height:70px;font-size:10px;border-radius:12px}.racine-assistant__quick button span{font-size:22px;margin-bottom:5px}.racine-assistant__note{padding:0 14px 8px;font-size:9px}.racine-assistant__landscape{height:50px}.racine-assistant__landscape em{font-size:12px;right:14px;bottom:9px}
}


/* v1.8.1 - Robot image from approved Assistant Racine mockup */
.racine-assistant__robot-image-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  width:190px;
  min-width:190px;
  align-self:center;
  overflow:visible;
}
.racine-assistant__robot-image{
  display:block;
  width:176px;
  height:auto;
  max-width:none;
  object-fit:contain;
  filter:drop-shadow(0 10px 18px rgba(10,63,94,.10));
}
/* The old CSS-built robot is no longer used. */
.racine-assistant__robot,
.racine-assistant__robot .ra-antenna,
.racine-assistant__robot .ra-eye,
.racine-assistant__robot .ra-smile,
.racine-assistant__robot .ra-arm,
.racine-assistant__robot .ra-hand,
.racine-assistant__robot .ra-chest-leaf,
.racine-assistant__robot .ra-wave{display:none!important}
@media(max-width:760px){
  .racine-assistant__robot-image-wrap{width:145px;min-width:145px}
  .racine-assistant__robot-image{width:138px}
}
@media(max-width:650px){
  .racine-assistant__robot-image-wrap{width:78px;min-width:78px}
  .racine-assistant__robot-image{width:76px}
}


/* v1.8.2 - Bouton ferme de l'Assistant Racine */
.racine-assistant__toggle{
  min-width:290px;
  min-height:76px;
  padding:8px 14px 8px 9px;
  gap:12px;
  border:1px solid rgba(255,255,255,.7);
  border-radius:24px;
  background:linear-gradient(118deg,#064d7c 0%,#0871a9 100%);
  box-shadow:0 15px 38px rgba(3,53,88,.30),0 3px 10px rgba(3,53,88,.16);
  overflow:visible;
}
.racine-assistant__toggle:before{
  content:"";
  position:absolute;
  inset:auto 28px 0 74px;
  height:4px;
  border-radius:4px 4px 0 0;
  background:linear-gradient(90deg,#18a34c,#75c64a);
  opacity:.95;
}
.racine-assistant__toggle:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 46px rgba(3,53,88,.36),0 4px 12px rgba(3,53,88,.18);
}
.racine-assistant__toggle-icon{
  width:62px;
  height:62px;
  min-width:62px;
  border-radius:20px;
  padding:4px;
  background:linear-gradient(145deg,#fff,#eaf7fb);
  border:2px solid rgba(255,255,255,.95);
  box-shadow:0 5px 16px rgba(0,0,0,.16);
  overflow:hidden;
}
.racine-assistant__toggle-icon:before,
.racine-assistant__toggle-icon:after{display:none!important}
.racine-assistant__toggle-icon img{
  width:58px;
  height:58px;
  max-width:none;
  object-fit:contain;
  transform:scale(1.35) translateY(2px);
  transform-origin:center;
}
.racine-assistant__toggle-copy{
  gap:2px;
  min-width:0;
}
.racine-assistant__toggle-copy strong{
  font-size:17px;
  line-height:1.08;
  font-weight:800;
  letter-spacing:-.1px;
  color:#fff;
}
.racine-assistant__toggle-copy small{
  margin-top:3px;
  font-size:11px;
  line-height:1.15;
  color:rgba(255,255,255,.88);
  font-weight:600;
}
.racine-assistant__toggle-chevron{
  width:30px;
  height:30px;
  min-width:30px;
  display:grid;
  place-items:center;
  margin-left:auto;
  border-radius:50%;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.25);
  color:#fff;
  font-size:16px;
  line-height:1;
}
@media(max-width:650px){
  .racine-assistant__toggle{
    min-width:252px;
    min-height:66px;
    border-radius:22px;
    padding:7px 11px 7px 8px;
  }
  .racine-assistant__toggle-icon{width:52px;height:52px;min-width:52px;border-radius:17px}
  .racine-assistant__toggle-icon img{width:48px;height:48px}
  .racine-assistant__toggle-copy strong{font-size:15px}
  .racine-assistant__toggle-copy small{font-size:10px}
  .racine-assistant__toggle-chevron{width:27px;height:27px;min-width:27px;font-size:14px}
}

/* v1.10.5 - Reponses toujours visibles dans l'Assistant Racine */
.racine-assistant__messages{
  width:100%;
  min-width:0;
  max-height:320px;
  overflow-y:auto;
  overflow-x:hidden!important;
  scrollbar-gutter:stable;
  padding:4px 28px 10px;
}
.racine-assistant__messages:not(:empty){
  display:block;
  border-top:1px solid #e2edf2;
  border-bottom:1px solid #e2edf2;
  background:#fbfdfe;
}
.racine-assistant__bubble,
.racine-assistant__result,
.racine-assistant__result strong,
.racine-assistant__result span{
  min-width:0;
  max-width:100%;
  white-space:normal!important;
  overflow-wrap:anywhere;
  word-break:normal;
}
.racine-assistant__bubble--answer{
  background:#eef7fc;
  border-color:#c9dfeb;
  color:#123f61;
  font-size:15px;
  line-height:1.55;
}
.racine-assistant__results{
  min-width:0;
  width:100%;
}
.racine-assistant.has-response .racine-assistant__quick-wrap{
  padding-top:6px;
  padding-bottom:8px;
}
.racine-assistant.has-response .racine-assistant__quick-label{
  font-size:18px;
  margin-bottom:8px;
}
.racine-assistant.has-response .racine-assistant__quick{
  gap:7px;
}
.racine-assistant.has-response .racine-assistant__quick button{
  min-height:76px;
  padding:8px 6px;
  border-radius:14px;
  font-size:11px;
  line-height:1.15;
}
.racine-assistant.has-response .racine-assistant__quick button span{
  font-size:25px;
  margin-bottom:5px;
}
.racine-assistant.has-response .racine-assistant__note{
  padding-top:0;
  padding-bottom:8px;
}
@media(max-width:650px){
  .racine-assistant__messages{
    max-height:260px;
    padding:5px 14px 8px;
  }
  .racine-assistant__bubble--answer{font-size:12px;line-height:1.5}
  .racine-assistant.has-response .racine-assistant__quick-label{font-size:13px;margin-bottom:6px}
  .racine-assistant.has-response .racine-assistant__quick{gap:5px}
  .racine-assistant.has-response .racine-assistant__quick button{
    min-height:54px;
    padding:5px 4px;
    font-size:9px;
  }
  .racine-assistant.has-response .racine-assistant__quick button span{font-size:18px;margin-bottom:3px}
}

/* v1.10.6 - Carte de reponse claire pour le citoyen */
.racine-assistant__messages:not(:empty){
  padding:12px 28px 14px;
  max-height:390px;
  overflow-y:auto;
  overflow-x:hidden!important;
  border-top:0;
  border-bottom:0;
  background:#fff;
}
.racine-assistant.has-response .racine-assistant__quick-wrap{display:none!important}
.racine-assistant.show-topics .racine-assistant__quick-wrap{display:block!important}
.racine-assistant__response-card{
  width:100%;
  border:1px solid #bcd8e7;
  border-left:5px solid #129b55;
  border-radius:20px;
  background:linear-gradient(145deg,#f5fbfe 0%,#edf7fc 100%);
  box-shadow:0 9px 24px rgba(4,68,105,.10);
  overflow:hidden;
}
.racine-assistant__response-head{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px 12px;
  background:rgba(255,255,255,.72);
  border-bottom:1px solid #d7e8f0;
}
.racine-assistant__response-avatar{
  width:48px;
  height:48px;
  flex:0 0 48px;
  border-radius:15px;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:#fff;
  border:1px solid #cfe3ec;
  box-shadow:0 3px 10px rgba(5,77,117,.10);
}
.racine-assistant__response-avatar img{
  width:58px;
  height:58px;
  max-width:none;
  object-fit:contain;
  transform:scale(1.18) translateY(2px);
}
.racine-assistant__response-heading{min-width:0;display:flex;flex-direction:column;gap:3px}
.racine-assistant__response-heading strong{
  color:#064b7a;
  font-size:18px;
  line-height:1.15;
  font-weight:800;
}
.racine-assistant__response-heading span{
  color:#637b8c;
  font-size:11px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.racine-assistant__response-body{padding:15px 16px 10px}
.racine-assistant__response-loading{
  display:flex;
  align-items:center;
  gap:10px;
  color:#315b72;
  font-size:13px;
  line-height:1.4;
}
.racine-assistant__loading-dot{
  width:12px;height:12px;border-radius:50%;background:#159e55;
  box-shadow:0 0 0 5px rgba(21,158,85,.10);
  animation:racineAssistantPulse 1.1s ease-in-out infinite alternate;
}
@keyframes racineAssistantPulse{to{transform:scale(.72);opacity:.55}}
.racine-assistant__response-answer{
  color:#123f61;
  font-size:15px;
  line-height:1.58;
  font-weight:500;
  white-space:normal!important;
  overflow-wrap:anywhere;
}
.racine-assistant__response-links-title{
  margin:14px 0 7px;
  color:#0a527f;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.racine-assistant__response-card .racine-assistant__results{gap:7px;margin:0}
.racine-assistant__response-card .racine-assistant__result{
  position:relative;
  padding:11px 38px 11px 12px;
  border:1px solid #cfe2ec;
  border-radius:12px;
  background:#fff;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.racine-assistant__response-card .racine-assistant__result:hover{
  transform:translateY(-1px);
  border-color:#7db7d3;
  box-shadow:0 5px 13px rgba(5,77,117,.08);
}
.racine-assistant__response-card .racine-assistant__result strong{font-size:13px;color:#075181}
.racine-assistant__response-card .racine-assistant__result span{font-size:11px;color:#607782;line-height:1.4}
.racine-assistant__result-arrow{
  position:absolute;
  right:13px;
  top:50%;
  transform:translateY(-50%);
  color:#159e55;
  font-size:19px;
}
.racine-assistant__response-source{
  display:flex;
  align-items:flex-start;
  gap:7px;
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid #d9e9f0;
  color:#6a7f8e;
  font-size:10px;
  line-height:1.45;
}
.racine-assistant__response-source>span:first-child{
  width:18px;height:18px;flex:0 0 18px;border-radius:50%;
  display:grid;place-items:center;background:#e6f6eb;color:#128b49;font-weight:900;
}
.racine-assistant__response-actions{
  display:flex;
  gap:8px;
  padding:0 16px 15px;
}
.racine-assistant__response-action{
  flex:1;
  min-height:40px;
  border:1px solid #b7d2e0;
  border-radius:11px;
  padding:9px 10px;
  background:#fff;
  color:#075181;
  font:inherit;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}
.racine-assistant__response-action:hover{background:#edf7fc;border-color:#79afd0}
.racine-assistant__response-action--primary{
  background:linear-gradient(135deg,#0b6093,#07507f);
  color:#fff;
  border-color:#07507f;
}
.racine-assistant__response-action--primary:hover{background:linear-gradient(135deg,#0870a7,#07507f)}
@media(max-width:650px){
  .racine-assistant__messages:not(:empty){padding:9px 14px 11px;max-height:330px}
  .racine-assistant__response-card{border-radius:16px;border-left-width:4px}
  .racine-assistant__response-head{padding:10px 11px;gap:9px}
  .racine-assistant__response-avatar{width:40px;height:40px;flex-basis:40px;border-radius:12px}
  .racine-assistant__response-avatar img{width:49px;height:49px}
  .racine-assistant__response-heading strong{font-size:14px}
  .racine-assistant__response-heading span{font-size:9px}
  .racine-assistant__response-body{padding:11px 11px 8px}
  .racine-assistant__response-answer{font-size:12px;line-height:1.5}
  .racine-assistant__response-actions{padding:0 11px 11px;gap:6px;flex-direction:column}
  .racine-assistant__response-action{min-height:36px;font-size:10px}
}
