#albert247-root{--a247-orange:#ff7a1a;--a247-navy:#07124d;--a247-bg:#fff;--a247-text:#172033;--a247-muted:#6b7280;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;position:relative;z-index:2147483000}
#albert247-root *{box-sizing:border-box}
.albert247-launcher{position:fixed;right:22px;bottom:22px;height:68px;border:0;border-radius:19px;background:linear-gradient(135deg,var(--a247-navy),#16277c);color:#fff;padding:8px 15px 8px 8px;display:flex;align-items:center;gap:10px;box-shadow:0 14px 38px rgba(3,12,62,.28);cursor:pointer;transition:.2s transform,.2s opacity}
.albert247-launcher:hover{transform:translateY(-2px)}
.albert247-launcher.hidden{opacity:0;pointer-events:none;transform:translateY(8px)}
.albert247-ai,.albert247-avatar{display:block;position:relative;overflow:hidden;background:transparent;color:#fff;flex:0 0 auto}
.albert247-ai{width:52px;height:52px;border-radius:17px;box-shadow:0 5px 16px rgba(0,0,0,.20)}
.albert247-ai img,.albert247-avatar img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 38%;transform:scale(1.52);transform-origin:50% 38%;}

.albert247-launcher-text{display:flex;flex-direction:column;align-items:flex-start;line-height:1.05}
.albert247-launcher-text strong{font-size:15px}.albert247-launcher-text small{font-size:11px;opacity:.8;margin-top:4px}
.albert247-dot{width:8px;height:8px;border-radius:50%;background:#42df91;box-shadow:0 0 0 4px rgba(66,223,145,.15)}
.albert247-panel{position:fixed;right:22px;bottom:22px;width:min(390px,calc(100vw - 28px));height:min(610px,calc(100vh - 38px));background:var(--a247-bg);border-radius:24px;box-shadow:0 22px 60px rgba(2,8,50,.28);overflow:hidden;display:flex;flex-direction:column;opacity:0;pointer-events:none;transform:translateY(12px) scale(.98);transition:.22s ease;border:1px solid rgba(10,20,70,.08)}
.albert247-panel.open{opacity:1;pointer-events:auto;transform:none}
.albert247-header{min-height:74px;background:linear-gradient(135deg,var(--a247-navy),#182a83);color:#fff;padding:14px 16px;display:flex;align-items:center;gap:11px}
.albert247-avatar{width:48px;height:48px;border-radius:15px;box-shadow:0 4px 12px rgba(0,0,0,.16)}
.albert247-header>div:nth-child(2){display:flex;flex-direction:column;min-width:0}
.albert247-header strong{font-size:16px}.albert247-header span{font-size:11px;opacity:.78;margin-top:3px}
.albert247-close{margin-left:auto;border:0;background:rgba(255,255,255,.1);color:#fff;width:34px;height:34px;border-radius:11px;font-size:24px;cursor:pointer;line-height:1}
.albert247-messages{flex:1;overflow:auto;padding:18px 15px 12px;background:linear-gradient(#f9fbff,#fff)}
.albert247-msg{max-width:88%;padding:11px 13px;border-radius:16px;margin:0 0 11px;font-size:13.5px;line-height:1.48;word-wrap:break-word}
.albert247-msg.bot{background:#eef2ff;color:var(--a247-text);border-bottom-left-radius:5px}
.albert247-msg.user{background:var(--a247-navy);color:#fff;margin-left:auto;border-bottom-right-radius:5px}
.albert247-msg.error{background:#fff2f2;color:#a21c1c;border:1px solid #ffd2d2}
.albert247-quick{display:flex;flex-wrap:wrap;gap:7px;margin:3px 0 14px}
.albert247-quick button{border:1px solid #dfe4f5;background:#fff;color:#26356f;padding:8px 10px;border-radius:999px;font-size:11.5px;cursor:pointer}
.albert247-quick button:hover{border-color:#aeb9e8;background:#f8f9ff}
.albert247-status{padding:6px 16px;color:var(--a247-muted);font-size:11px;background:#fff}
.albert247-form{display:flex;gap:8px;padding:11px 12px;background:#fff;border-top:1px solid #edf0f7}
.albert247-form textarea{flex:1;resize:none;min-height:44px;max-height:110px;border:1px solid #dfe4ee;border-radius:14px;padding:11px 12px;font:inherit;font-size:13px;outline:none;color:var(--a247-text)}
.albert247-form textarea:focus{border-color:#aab6ec;box-shadow:0 0 0 3px rgba(30,55,150,.08)}
.albert247-form button{width:44px;height:44px;align-self:flex-end;border:0;border-radius:14px;background:var(--a247-orange);color:#fff;font-size:20px;cursor:pointer;font-weight:800}
.albert247-form.busy button{opacity:.55;pointer-events:none}
.albert247-footer{min-height:34px;padding:6px 13px 9px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;color:#8991a3;font-size:9.5px}
.albert247-wa{color:#0e6f3d;text-decoration:none;font-weight:700;font-size:10.5px}
@media(max-width:540px){.albert247-launcher{right:14px;bottom:14px}.albert247-panel{right:7px;bottom:7px;width:calc(100vw - 14px);height:min(680px,calc(100vh - 14px));border-radius:20px}.albert247-msg{font-size:14px;max-width:92%}}
@media(prefers-reduced-motion:reduce){.albert247-launcher,.albert247-panel{transition:none}}

/* ALBERT ADVISOR V7.3 — contextual actions */
.albert247-dynamic-actions{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:2px 0 13px;
  max-width:96%;
}
.albert247-dynamic-actions button{
  border:1px solid #d7def3;
  background:#fff;
  color:#21346f;
  padding:8px 10px;
  border-radius:999px;
  font:inherit;
  font-size:11.5px;
  font-weight:700;
  cursor:pointer;
  line-height:1.25;
}
.albert247-dynamic-actions button:hover{
  border-color:#ff7a1a;
  background:#fff8f2;
  color:#8c3b00;
}
.albert247-wa{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #cfe9d8;
  background:#f3fbf6;
  padding:5px 8px;
  border-radius:999px;
}
@media(max-width:540px){
  .albert247-dynamic-actions{
    gap:6px;
  }
  .albert247-dynamic-actions button{
    font-size:11.5px;
    padding:8px 9px;
  }
}