/* Arjuna Planners - website assistant (complete file, replace everything) */
.ab{font-family:Inter,"Open Sans",sans-serif;color:#16233B}
.ab *{box-sizing:border-box}

.ab-fab{position:fixed;right:18px;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:1001;
  width:58px;height:58px;border-radius:50%;border:0;cursor:pointer;
  background:#F1C40F;color:#2C3E50;font-size:24px;box-shadow:0 6px 18px rgba(44,62,80,.28);
  display:flex;align-items:center;justify-content:center;transition:background .15s,transform .15s}
.ab-fab:hover{background:#D4AC0D;transform:translateY(-1px)}
.ab-fab:focus-visible,.ab-x:focus-visible,.ab-chip:focus-visible,.ab-send:focus-visible{outline:3px solid #34495E;outline-offset:2px}

.ab-panel{position:fixed;right:18px;bottom:calc(88px + env(safe-area-inset-bottom,0px));z-index:1001;
  width:min(380px,calc(100vw - 24px));
  height:min(540px,calc(100vh - var(--header-h,80px) - 130px));
  height:min(540px,calc(100dvh - var(--header-h,80px) - 130px));
  display:flex;flex-direction:column;background:#fff;border:1px solid #D5DEE7;border-radius:16px;
  box-shadow:0 14px 40px rgba(44,62,80,.25);overflow:hidden}
.ab-panel[hidden]{display:none !important}

.ab-head{flex:0 0 auto;display:flex;justify-content:space-between;align-items:center;gap:10px;
  padding:14px 14px 14px 18px;background:#34495E;color:#fff}
.ab-head strong{display:block;font-size:16px;color:#fff}
.ab-head small{display:block;font-size:12px;color:#fff;opacity:.85;margin-top:2px}
.ab-x{flex:0 0 auto;display:flex;align-items:center;justify-content:center;
  width:36px;height:36px;border:0;border-radius:8px;background:rgba(255,255,255,.16);color:#fff;font-size:18px;cursor:pointer}
.ab-x:hover{background:rgba(255,255,255,.3)}

.ab-log{flex:1;min-height:0;overflow-y:auto;padding:14px;background:#F8FAFC;display:flex;flex-direction:column;gap:10px}
.ab-msg{max-width:88%;padding:10px 13px;border-radius:14px;font-size:15px;line-height:1.5;word-wrap:break-word}
.ab-bot{align-self:flex-start;background:#fff;border:1px solid #E1E8EF;border-bottom-left-radius:4px}
.ab-user{align-self:flex-end;background:#34495E;color:#fff;border-bottom-right-radius:4px}
.ab-bot a{color:#34495E;font-weight:600;text-decoration:underline}

.ab-sat{display:flex;flex-direction:column;gap:8px}
.ab-sat-btns{display:flex;gap:8px}
.ab-sat-btns button{min-height:38px;padding:0 20px;border-radius:999px;font-weight:700;font-size:14px;cursor:pointer;border:2px solid #F1C40F;background:#F1C40F;color:#2C3E50}
.ab-sat-btns button:hover{background:#D4AC0D;border-color:#D4AC0D}
.ab-sat-btns .ab-no{background:#fff;border-color:#34495E;color:#34495E}
.ab-sat-btns .ab-no:hover{background:#EEF3F8;border-color:#34495E}

.ab-chips{display:flex;flex-wrap:wrap;gap:8px}
.ab-chip{border:1px solid #34495E;background:#fff;color:#34495E;border-radius:999px;padding:7px 13px;font-size:13.5px;font-weight:600;cursor:pointer}
.ab-chip:hover{background:#EEF3F8}

.ab-form{flex:0 0 auto;display:flex;gap:8px;padding:10px;border-top:1px solid #E1E8EF;background:#fff}
.ab-in{flex:1;min-width:0;min-height:44px;padding:0 14px;font-size:16px;color:#16233B;border:1px solid #D5DEE7;border-radius:10px;background:#fff}
.ab-in:focus{outline:0;border-color:#34495E;box-shadow:0 0 0 3px rgba(52,73,94,.15)}
.ab-send{width:46px;min-height:44px;border:0;border-radius:10px;background:#F1C40F;color:#2C3E50;font-size:16px;cursor:pointer}
.ab-send:hover{background:#D4AC0D}

@media (max-width:480px){
  .ab-panel{right:8px;left:8px;width:auto;bottom:calc(84px + env(safe-area-inset-bottom,0px));
    height:min(520px,calc(100vh - var(--header-h,72px) - 120px));
    height:min(520px,calc(100dvh - var(--header-h,72px) - 120px))}
}
@media (prefers-reduced-motion:reduce){.ab-fab{transition:none}}