/* =====================================================
   EJNA — couche visuelle Landora
   Ne remplace pas le CSS existant.
   ===================================================== */
#ejna-launcher{
   position:fixed;
   right:24px;
   bottom:24px;
   z-index:12000;
   width:58px;
   height:58px;
   border:1px solid rgba(218,165,32,.65);
   border-radius:50%;
   background:#0b0b0b;
   color:goldenrod;
   box-shadow:0 10px 35px rgba(0,0,0,.45);
   cursor:pointer;
   font-size:22px
}
#ejna-launcher:hover{
   transform:translateY(-2px);
   box-shadow:0 14px 40px rgba(0,0,0,.6)
}
#ejna-panel{
   position:fixed;
   right:24px;
   bottom:94px;
   z-index:12001;
   width:min(390px,calc(100vw - 30px));
   height:min(600px,calc(100vh - 120px));
   background:#0b0b0b;
   border:1px solid rgba(218,165,32,.45);
   border-radius:20px;
   box-shadow:0 20px 60px rgba(0,0,0,.65);
   display:none;
   overflow:hidden;
   color:#fff
}
#ejna-panel.active{
   display:flex;
   flex-direction:column
}
.ejna-head{
   display:flex;
   align-items:center;
   justify-content:space-between;
   padding:15px 16px;
   border-bottom:1px solid rgba(255,255,255,.08)
}
.ejna-brand{
   display:flex;
   gap:10px;
   align-items:center
}
.ejna-brand strong{
   color:goldenrod;
   font-size:17px
}
.ejna-brand small{
   display:block;
   color:#999;
   font-size:11px;
   margin-top:2px
}
.ejna-close{
   background:none;
   border:0;
   color:#aaa;
   font-size:20px;
   cursor:pointer
}
.ejna-messages{
   flex:1;
   overflow:auto;
   padding:15px;
   display:flex;
   flex-direction:column;
   gap:10px
}
.ejna-msg{
   max-width:86%;
   padding:10px 12px;
   border-radius:14px;
   line-height:1.45;
   font-size:14px;
   white-space:pre-wrap
}
.ejna-msg.user{
   align-self:flex-end;
   background:goldenrod;
   color:#111
}
.ejna-msg.assistant{
   align-self:flex-start;
   background:#171717;
   border:1px solid rgba(255,255,255,.07)
}
.ejna-form{
   display:flex;
   gap:8px;
   padding:12px;
   border-top:1px solid rgba(255,255,255,.08)
}
.ejna-form textarea{
   flex:1;
   resize:none;
   min-height:42px;
   max-height:100px;
   background:#111;
   color:#fff;
   border:1px solid #333;
   border-radius:12px;
   padding:10px
}
.ejna-form button{
   width:46px;
   border:0;
   border-radius:12px;
   background:goldenrod;
   color:#111;
   cursor:pointer;
   font-weight:700
}
@media(max-width:600px){
   #ejna-launcher{
      right:15px;
      bottom:15px
   }
   #ejna-panel{
      right:15px;
      bottom:84px
   }
}
.ejna-results{
   display:flex;
   flex-direction:column;
   gap:8px;
   max-width:94%;
   align-self:flex-start;
   width:94%
}
.ejna-property-card{
   display:flex;
   flex-direction:column;
   align-items:flex-start;
   text-align:left;
   gap:3px;
   padding:11px 12px;
   border-radius:14px;
   border:1px solid rgba(218,165,32,.22);
   background:#121212;
   color:#fff;
   cursor:pointer
}
.ejna-property-card:hover{
   border-color:rgba(218,165,32,.65);
   transform:translateY(-1px)
}
.ejna-property-card strong{
   font-size:13px
}
.ejna-property-card span{
   font-weight:700;
   color:goldenrod;
   font-size:13px
}
.ejna-property-card small{
   color:#aaa;
   font-size:11px
}
.ejna-property-card em{
   font-style:normal;
   font-size:10px;
   color:#d6b65a;
   margin-top:3px
}

.ejna-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d6b65a;
    font-size: 25px;
    line-height: 1;
}
.ejna-professional-card{
   display:flex;
   flex-direction:column;
   gap:4px;
   padding:11px 12px;
   border-radius:14px;
   border:1px solid rgba(218,165,32,.22);
   background:#121212;
   color:#fff;
}
.ejna-professional-card strong{font-size:13px}
.ejna-professional-card span{font-size:12px;color:#d6b65a;font-weight:700}
.ejna-professional-card small{font-size:11px;color:#aaa}


/* Cartes professionnelles EJNA — ajout ciblé */
.ejna-professional-card{
   display:flex;
   flex-direction:column;
   gap:4px;
   padding:11px 12px;
   border-radius:14px;
   border:1px solid rgba(218,165,32,.22);
   background:#121212;
   color:#fff;
}
.ejna-professional-card strong{font-size:13px}
.ejna-professional-card span{font-size:12px;color:#d6b65a;font-weight:700}
.ejna-professional-card small{font-size:11px;color:#aaa}


/* Cartes professionnelles EJNA */
.ejna-professional-results{width:94%}
.ejna-professional-card{
   width:100%;
   display:flex;
   flex-direction:column;
   align-items:flex-start;
   text-align:left;
   gap:4px;
   padding:11px 12px;
   border-radius:14px;
   border:1px solid rgba(218,165,32,.22);
   background:#121212;
   color:#fff;
   cursor:pointer;
   font:inherit;
}
.ejna-professional-card:hover{
   border-color:rgba(218,165,32,.65);
   transform:translateY(-1px);
}
.ejna-professional-card strong{font-size:13px}
.ejna-professional-card span{font-size:12px;color:#d6b65a;font-weight:700}
.ejna-professional-card small{font-size:11px;color:#aaa}

/* Réflexion EJNA : bulle discrète avec pulsation lumineuse */
.ejna-thinking{
   width:max-content;
   min-width:42px;
   height:auto;
   padding:10px 14px !important;
   border-radius:14px;
   opacity:.35;
   white-space:nowrap;
   animation:ejnaThinkingPulse 1.8s ease-in-out infinite;
}

@keyframes ejnaThinkingPulse{
   0%,100%{
      opacity:.30;
      box-shadow:0 0 0 rgba(218,165,32,0);
   }
   50%{
      opacity:1;
      box-shadow:0 0 14px rgba(218,165,32,.28);
   }
}

.l-ejna-thinking{
   width:42px;
   min-width:42px;
   height:18px;
   padding:10px 14px !important;
   border-radius:14px;
   opacity:.35;
   animation:ejnaThinkingPulseMobile 1.8s ease-in-out infinite;
}

@keyframes ejnaThinkingPulseMobile{
   0%,100%{
      opacity:.30;
      box-shadow:0 0 0 rgba(218,165,32,0);
   }
   50%{
      opacity:1;
      box-shadow:0 0 14px rgba(218,165,32,.28);
   }
}

/* Chrome / Edge / Safari */
*::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}


/* Fond de la scrollbar */
*::-webkit-scrollbar-track {
    background: #111;
    border-radius: 10px;
}


/* Curseur */
*::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        #f4cf55 0%,
        #d4af37 50%,
        #a88416 100%
    );

    border-radius: 10px;

    border: 1px solid rgba(212,175,55,.35);
}


/* Curseur au survol */
*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        #ffe58a 0%,
        #d4af37 50%,
        #b8941f 100%
    );
}


/* Coins de la scrollbar */
*::-webkit-scrollbar-corner {
    background: #111;
}

