/* Benny, the HISB AI benefits specialist */
.bp-benny-launch{display:flex;align-items:center;gap:14px;width:100%;margin:0 0 16px;padding:14px 18px;border:0;border-radius:16px;background:linear-gradient(135deg,#087e80,#173446);color:#fff;text-align:left;font:inherit;cursor:pointer;box-shadow:0 6px 20px #087e8033;transition:transform .15s ease,box-shadow .15s ease}
.bp-benny-launch:hover{transform:translateY(-1px);box-shadow:0 10px 26px #087e8044}
.bp-benny-launch:focus-visible{outline:3px solid #ffd166;outline-offset:2px}
.bp-benny-launch .bp-benny-avatar{width:48px;height:48px;flex:none;background:#fff;border-radius:50%;padding:2px}
.bp-benny-launch strong{display:block;font-size:1.05rem}
.bp-benny-launch small{display:block;opacity:.88;font-size:.86rem;margin-top:2px}

.bp-benny-dialog{box-sizing:border-box;width:min(560px,calc(100% - 24px));height:min(760px,calc(100dvh - 32px));padding:0;border:1px solid #d6e2e3;border-radius:22px;background:#f5f8f8;color:#18383d;box-shadow:0 24px 80px #142e3b55;overflow:hidden;display:flex;flex-direction:column;font-family:inherit}
.bp-benny-dialog:not([open]){display:none}
.bp-benny-dialog::backdrop{background:#0f2530aa}
.bp-benny-header{display:flex;align-items:center;gap:12px;padding:16px 18px;background:linear-gradient(135deg,#087e80,#173446);color:#fff}
.bp-benny-header .bp-benny-avatar{width:46px;height:46px;background:#fff;border-radius:50%;padding:2px;flex:none}
.bp-benny-header h2{margin:0;font-size:1.2rem;color:#fff}
.bp-benny-header p{margin:0;font-size:.88rem;opacity:.9}
.bp-benny-close{margin-left:auto;width:36px;height:36px;border:0;border-radius:50%;background:#ffffff26;color:#fff;font-size:1rem;cursor:pointer}
.bp-benny-close:hover,.bp-benny-close:focus-visible{background:#ffffff40}
/* Beat the portal-wide #hisb-enrollment button sizing so the close button stays a centred 40px circle */
#hisb-enrollment .bp-benny-close,.bp-benny-close{display:grid;place-items:center;flex:none;width:40px;height:40px;min-height:40px;margin-left:auto;padding:0;border-radius:50%;line-height:1}
.bp-benny-header{padding:18px 20px 18px 18px}
.bp-benny-log{flex:1;overflow-y:auto;padding:18px 16px 8px;display:flex;flex-direction:column;gap:12px}
.bp-benny-row{display:flex;gap:8px;align-items:flex-end;max-width:100%}
.bp-benny-row.is-user{justify-content:flex-end}
.bp-benny-face .bp-benny-avatar{width:30px;height:30px;display:block}
.bp-benny-bubble{max-width:85%;padding:11px 14px;border-radius:18px;line-height:1.45;font-size:.95rem;overflow-wrap:anywhere}
.is-benny .bp-benny-bubble{background:#fff;border:1px solid #dce5e7;border-bottom-left-radius:6px}
.is-user .bp-benny-bubble{background:#087e80;color:#fff;border-bottom-right-radius:6px}
.bp-benny-bubble p{margin:0 0 8px}.bp-benny-bubble p:last-child{margin-bottom:0}
.bp-benny-bubble ul{margin:4px 0 8px;padding-left:20px}
.bp-benny-text li{margin:2px 0}
.bp-benny-typing{color:#647780;font-style:italic}
.bp-benny-notice{font-size:.78rem;color:#647780;margin-top:8px!important}
.bp-benny-medicare{background:#fff7e0;border:1px solid #f1d58a;border-radius:12px;padding:10px 12px}
.bp-benny-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.bp-benny-chip{border:1px solid #087e80;background:#fff;color:#087e80;border-radius:999px;padding:7px 12px;font:inherit;font-size:.86rem;cursor:pointer}
.bp-benny-chip:hover,.bp-benny-chip:focus-visible{background:#e6f4f4}
.bp-benny-chip.is-care{background:#087e80;color:#fff}
.bp-benny-actions{margin-top:10px;display:grid;gap:8px}
.bp-benny-contacts{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.bp-benny-contacts a{display:inline-flex;align-items:center;padding:7px 12px;border:1px solid #087e80;border-radius:999px;background:#fff;color:#087e80;font-size:.86rem;font-weight:600;text-decoration:none}
.bp-benny-contacts a:hover,.bp-benny-contacts a:focus-visible{background:#e6f4f4}
.bp-benny-care{width:100%}
.bp-benny-form{display:flex;gap:8px;align-items:flex-end;padding:10px 14px 4px;background:#fff;border-top:1px solid #dce5e7}
.bp-benny-form textarea{flex:1;resize:none;min-height:42px;max-height:140px;padding:10px 12px;border:1px solid #c9d7da;border-radius:14px;font:inherit;line-height:1.35}
.bp-benny-form textarea:focus{outline:2px solid #087e80;outline-offset:1px}
.bp-benny-send{min-height:42px;border-radius:14px}
.bp-benny-status{margin:0;padding:0 16px;font-size:.8rem;color:#a33}
.bp-benny-status:empty{display:none}
.bp-benny-privacy{margin:0;padding:6px 16px 12px;background:#fff;font-size:.74rem;color:#647780}
.bp-visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-width:600px){.bp-benny-dialog{width:100%;height:100dvh;max-height:100dvh;max-width:100%;border-radius:0;margin:0}.bp-benny-bubble{max-width:90%}}
/* New chat erases the conversation; it sits before the close button. */
.bp-benny-new{margin-left:auto;min-height:36px;padding:0 14px;border:1px solid #ffffff59;border-radius:999px;background:transparent;color:#fff;font:600 .85rem/1 inherit;font-family:inherit;cursor:pointer}
.bp-benny-new:hover,.bp-benny-new:focus-visible{background:#ffffff26}
.bp-benny-new+.bp-benny-close{margin-left:8px}
/* Full-screen on phones: keep the header and message box clear of the notch and home indicator. */
@media (max-width:600px){.bp-benny-header{padding-top:max(14px,env(safe-area-inset-top))}.bp-benny-privacy{padding-bottom:max(10px,env(safe-area-inset-bottom))}}
.bp-benny-new{white-space:nowrap;flex:0 0 auto}
@media (max-width:600px){.bp-benny-new{min-height:32px;padding:0 11px;font-size:.8rem}}
