/* Chardins v4.15.10 — Jean J2 visual refinement. */

/* Jean launcher: a colleague call-button, not a generic AI bubble. No gradients. */
.cai-launcher.jean-launcher.jean-launcher-j2{
  width:112px!important;height:58px!important;border-radius:31px!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;
  padding:4px 15px 4px 4px!important;overflow:visible!important;
  background:#132d3c!important;border:1px solid rgba(195,164,97,.78)!important;
  box-shadow:0 13px 32px rgba(8,24,34,.30),0 2px 0 rgba(255,255,255,.06) inset!important;
  color:#fff!important;isolation:isolate;
}
.cai-launcher.jean-launcher.jean-launcher-j2:hover{
  transform:translateY(-2px)!important;border-color:#d2b577!important;
  box-shadow:0 17px 38px rgba(8,24,34,.34),0 2px 0 rgba(255,255,255,.08) inset!important;
}
.cai-launcher.jean-launcher.jean-launcher-j2:after{
  content:attr(data-jean-label);display:block;color:#f8f3e8;
  font-family:Georgia,"Times New Roman",serif;font-size:17px;line-height:1;font-weight:500;letter-spacing:.015em;
  white-space:nowrap;pointer-events:none;
}
.cai-launcher.jean-launcher.jean-launcher-j2 .jean-portrait.launcher{
  flex:0 0 48px!important;width:48px!important;height:48px!important;border-radius:50%!important;
  overflow:hidden!important;border:1px solid rgba(221,185,118,.72)!important;
  box-shadow:0 0 0 2px rgba(255,255,255,.08)!important;background:#0b2230;
}
.cai-launcher.jean-launcher.jean-launcher-j2 .jean-portrait.launcher img{object-position:50% 32%!important}
.cai-launcher.jean-launcher.jean-launcher-j2 .cai-dot{
  right:8px!important;top:7px!important;width:8px!important;height:8px!important;
  border:2px solid #132d3c!important;background:#6e9a7f!important;
}
.cai-launcher.jean-launcher.jean-launcher-j2:focus-visible{outline:3px solid rgba(195,164,97,.28)!important;outline-offset:3px}

/* Persistent notifications authored by Jean use the existing notification system. */
.notification-item.jean-notification{
  position:relative;grid-template-columns:40px minmax(0,1fr) auto!important;border-left:3px solid var(--jean)!important;background:#fcfafb!important;
}
.jean-notification-avatar{width:38px;height:42px;border-radius:9px;overflow:hidden;border:1px solid var(--jean-line);background:#eee;align-self:start}
.jean-notification-avatar img{width:100%;height:100%;display:block;object-fit:cover;object-position:50% 31%}
.notification-item.jean-notification .notification-copy>.jean-notification-by{display:block!important;margin-bottom:2px;color:var(--jean)!important;font-size:7.5px!important;font-weight:900!important;letter-spacing:.14em!important}
.notification-item.jean-notification .notification-copy>span:not(.jean-notification-by){color:#8a7b84!important}
.notification-item.jean-notification .notification-actions .btn{border-color:var(--jean-line)!important;color:var(--jean)!important}

/* Queue state in Jean Working. */
.jean-working-row.queued .jean-working-icon{background:#f4f0f2;color:var(--jean)}
.jean-working-row.queued .jean-working-state span{color:#75666e}

/* Backstage worker status — only on AI Workforce. */
.aiw-engine-strip{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:10px;margin:11px 0 16px;padding:10px 12px;border:1px solid #dbe2e5;border-radius:11px;background:#fbfcfc}
.aiw-engine-strip .aiw-engine-light{width:8px;height:8px;border-radius:50%;background:#6e9a7f;box-shadow:0 0 0 4px rgba(110,154,127,.11)}
.aiw-engine-strip.paused .aiw-engine-light{background:#b87878;box-shadow:0 0 0 4px rgba(184,120,120,.11)}
.aiw-engine-strip strong{display:block;color:#173244;font-size:10.5px}
.aiw-engine-strip small{display:block;margin-top:2px;color:#74828a;font-size:8.5px}
.aiw-engine-label{padding:4px 7px;border-radius:999px;background:#f0ebee;color:var(--jean);font-size:8px;font-weight:900;letter-spacing:.08em}

@media(max-width:700px){
  .cai-launcher.jean-launcher.jean-launcher-j2{right:15px!important;bottom:79px!important;width:56px!important;height:56px!important;border-radius:50%!important;padding:3px!important;display:grid!important;place-items:center!important}
  .cai-launcher.jean-launcher.jean-launcher-j2:after{display:none!important}
  .cai-launcher.jean-launcher.jean-launcher-j2 .jean-portrait.launcher{width:48px!important;height:48px!important}
  .cai-launcher.jean-launcher.jean-launcher-j2 .cai-dot{right:3px!important;top:3px!important}
  .notification-item.jean-notification{grid-template-columns:38px 1fr!important}
  .notification-item.jean-notification .notification-actions{grid-column:2!important}
  .aiw-engine-strip{grid-template-columns:10px minmax(0,1fr)}
  .aiw-engine-label{display:none}
}
