:root{--abe-navy:#10283f;--abe-navy2:#173b59;--abe-ink:#17212b;--abe-muted:#66717d;--abe-line:#dfe4e8;--abe-paper:#fff;--abe-soft:#f4f6f7;--abe-warm:#f5f1e8;--abe-gold:#b7924d;--abe-shadow:0 18px 55px rgba(15,39,62,.11)}
.abe-shell{max-width:920px;margin:32px auto;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--abe-ink)}
.abe-card{background:var(--abe-paper);border:1px solid rgba(16,40,63,.12);border-radius:22px;box-shadow:var(--abe-shadow);overflow:hidden}
.abe-header{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;padding:24px 26px;border-bottom:1px solid var(--abe-line);background:linear-gradient(180deg,#fff 0,#fbfcfc 100%)}
.abe-mark{width:46px;height:46px;border:1.5px solid var(--abe-navy);border-radius:50%;display:grid;place-items:center;font:700 13px/1 Georgia,serif;letter-spacing:.08em;color:var(--abe-navy);background:#fff}
.abe-eyebrow{margin:0 0 3px!important;font-size:11px;line-height:1.2;letter-spacing:.13em;font-weight:750;color:var(--abe-gold)}
.abe-title{margin:0!important;font:650 28px/1.08 Georgia,"Times New Roman",serif;color:var(--abe-navy)}
.abe-subtitle{margin:6px 0 0!important;color:var(--abe-muted);font-size:14px;line-height:1.45}
.abe-status-pill{white-space:nowrap;border:1px solid var(--abe-line);border-radius:999px;padding:7px 10px;font-size:12px;color:var(--abe-muted);background:#fff}
.abe-status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#4b8061;margin-right:6px;box-shadow:0 0 0 4px rgba(75,128,97,.09)}
.abe-boundary{margin:18px 26px 0;padding:12px 14px;background:var(--abe-warm);border:1px solid rgba(183,146,77,.25);border-radius:12px;font-size:13px;line-height:1.5;color:#514832}
.abe-conversation{min-height:300px;max-height:560px;overflow-y:auto;padding:24px 26px 12px;scrollbar-width:thin;scrollbar-color:#c8d0d6 transparent}
.abe-message{max-width:78%;margin:0 0 16px;animation:abeIn .28s ease both}
.abe-message-label{font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:800;color:#8a949e;margin:0 0 5px 4px}
.abe-message-body{padding:13px 15px;border-radius:16px;line-height:1.52;font-size:15px;white-space:pre-wrap}
.abe-bot .abe-message-body{background:var(--abe-soft);border:1px solid #e8ecef;border-top-left-radius:6px}
.abe-user{margin-left:auto}.abe-user .abe-message-label{text-align:right;margin-right:4px}.abe-user .abe-message-body{background:var(--abe-navy);color:#fff;border-top-right-radius:6px}
.abe-ack .abe-message-body{font-size:13px;color:var(--abe-muted);background:#fafbfb}.abe-error .abe-message-body{border-color:#e7b3b3;background:#fff7f7}
.abe-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 26px 20px}
.abe-choice{appearance:none;background:#fff;border:1px solid #ccd4db;border-radius:12px;padding:12px 14px;text-align:left;color:var(--abe-navy);font:650 14px/1.35 inherit;cursor:pointer;transition:border-color .18s,box-shadow .18s,transform .18s,background .18s}
.abe-choice:hover,.abe-choice:focus-visible{border-color:var(--abe-navy2);box-shadow:0 5px 18px rgba(16,40,63,.08);transform:translateY(-1px);outline:none;background:#fcfdfd}
.abe-choice:disabled{opacity:.55;cursor:not-allowed;transform:none}
.abe-thinking{margin:0 26px 18px;padding:13px 15px;border:1px solid var(--abe-line);border-radius:14px;background:#fbfcfc;display:flex;align-items:center;gap:12px;color:var(--abe-navy)}
.abe-thinking[hidden]{display:none}.abe-thinking strong{font-size:14px}.abe-thinking-stage{font-size:12px;color:var(--abe-muted);margin-top:2px;min-height:18px;transition:opacity .2s}
.abe-thinking-orbit{width:32px;height:32px;border:1px solid #d8dfe4;border-radius:50%;position:relative;flex:0 0 32px}.abe-thinking-orbit span{position:absolute;width:7px;height:7px;border-radius:50%;background:var(--abe-gold);left:12px;top:-4px;transform-origin:3.5px 20px;animation:abeOrbit 1.3s linear infinite}
.abe-dots{display:inline-flex;gap:3px;margin-left:5px;vertical-align:middle}.abe-dots i{display:block;width:4px;height:4px;border-radius:50%;background:currentColor;opacity:.25;animation:abeDot 1.05s infinite ease-in-out}.abe-dots i:nth-child(2){animation-delay:.14s}.abe-dots i:nth-child(3){animation-delay:.28s}
.abe-freeform{padding:18px 26px 20px;border-top:1px solid var(--abe-line);background:#fbfcfc}.abe-freeform label{display:block;font-size:13px;font-weight:750;color:var(--abe-navy);margin-bottom:8px}.abe-input-row{display:flex;align-items:stretch;gap:9px}.abe-input-row textarea{flex:1;resize:vertical;min-height:50px;max-height:150px;border:1px solid #c8d0d6;border-radius:12px;padding:11px 12px;font:inherit;line-height:1.4;background:#fff;box-shadow:none}.abe-input-row textarea:focus{outline:2px solid rgba(23,59,89,.14);border-color:var(--abe-navy2)}
.abe-send{border:0;border-radius:12px;background:var(--abe-navy);color:#fff;padding:0 18px;font-weight:750;cursor:pointer}.abe-send:hover{background:var(--abe-navy2)}.abe-send:disabled{opacity:.55;cursor:not-allowed}
.abe-input-meta{display:flex;justify-content:space-between;gap:12px;margin-top:6px;font-size:11px;color:#89939d}
.abe-outcome{margin:7px 0 15px;padding:19px;border:1px solid rgba(16,40,63,.16);border-radius:16px;background:linear-gradient(145deg,#fff 0,#f7f9fa 100%);box-shadow:0 8px 24px rgba(16,40,63,.06);animation:abeIn .32s ease both}.abe-outcome-kicker{font-size:10px;font-weight:800;letter-spacing:.13em;color:var(--abe-gold);margin-bottom:7px}.abe-outcome h3{font:650 22px/1.2 Georgia,"Times New Roman",serif;color:var(--abe-navy);margin:0 0 8px}.abe-outcome p{margin:0;line-height:1.55;color:#4e5964}
.abe-cta-row{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 18px;animation:abeIn .3s ease both}.abe-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px;border-radius:11px;text-decoration:none!important;font-weight:750;font-size:14px;transition:transform .18s,box-shadow .18s}.abe-btn:hover{transform:translateY(-1px)}.abe-btn-primary{background:var(--abe-navy);color:#fff!important;box-shadow:0 7px 18px rgba(16,40,63,.16)}.abe-btn-secondary{background:#fff;color:var(--abe-navy)!important;border:1px solid #cbd3d9}
.abe-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 26px;background:#fff;border-top:1px solid var(--abe-line);font-size:11px;color:#8a949e}.abe-link-button{appearance:none;background:none;border:0;padding:0;color:var(--abe-navy2);font:700 11px inherit;text-decoration:underline;cursor:pointer}
@keyframes abeDot{0%,60%,100%{opacity:.22;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@keyframes abeOrbit{to{transform:rotate(360deg)}}@keyframes abeIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:720px){.abe-shell{margin:18px 0}.abe-card{border-radius:16px}.abe-header{grid-template-columns:auto 1fr;padding:20px}.abe-status-pill{display:none}.abe-boundary{margin:14px 18px 0}.abe-conversation{padding:20px 18px 10px;max-height:60vh}.abe-message{max-width:90%}.abe-actions{grid-template-columns:1fr;padding:0 18px 18px}.abe-thinking{margin:0 18px 16px}.abe-freeform{padding:16px 18px}.abe-footer{padding:12px 18px;align-items:flex-start}.abe-input-row{align-items:stretch}.abe-send{padding:0 14px}}
@media(prefers-reduced-motion:reduce){.abe-message,.abe-outcome,.abe-cta-row,.abe-dots i,.abe-thinking-orbit span{animation:none!important}.abe-choice,.abe-btn{transition:none!important}}

/* Floating adviser — v1.1 */
.abe-logo{width:48px;height:48px;object-fit:contain;flex:0 0 auto}
.abe-panel-close{width:36px;height:36px;border:1px solid var(--abe-line);border-radius:50%;background:#fff;color:var(--abe-navy);font:400 28px/30px Arial,sans-serif;cursor:pointer;display:grid;place-items:center;padding:0}
.abe-panel-close:hover,.abe-panel-close:focus-visible{background:var(--abe-soft);outline:2px solid rgba(16,40,63,.18);outline-offset:2px}
.abe-footer a{color:var(--abe-navy2);font-weight:700;text-underline-offset:2px}
.abe-floating{position:fixed;right:22px;bottom:22px;z-index:999990;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.abe-launcher{display:flex;align-items:center;gap:11px;min-width:196px;border:1px solid rgba(16,40,63,.18);background:#10283f;color:#fff;border-radius:18px;padding:10px 14px 10px 10px;box-shadow:0 14px 34px rgba(9,28,45,.22);cursor:pointer;text-align:left;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.abe-launcher:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(9,28,45,.28);background:#173b59}
.abe-launcher:focus-visible{outline:3px solid rgba(183,146,77,.5);outline-offset:3px}
.abe-launcher img{width:38px;height:38px;object-fit:contain;background:#fff;border-radius:50%;padding:2px}
.abe-launcher span{display:flex;flex-direction:column;gap:1px}
.abe-launcher strong{font:700 14px/1.2 Georgia,"Times New Roman",serif;letter-spacing:.01em}
.abe-launcher small{font:500 10px/1.2 Inter,system-ui,sans-serif;opacity:.78;letter-spacing:.03em}
.abe-floating-panel{position:absolute;right:0;bottom:68px;width:min(430px,calc(100vw - 28px));max-height:min(760px,calc(100vh - 110px));filter:drop-shadow(0 22px 55px rgba(9,28,45,.24))}
.abe-floating-panel[hidden]{display:none!important}
.abe-shell-floating{margin:0;max-width:none;width:100%}
.abe-shell-floating .abe-card{border-radius:18px;max-height:min(760px,calc(100vh - 110px));display:flex;flex-direction:column;overflow:hidden}
.abe-shell-floating .abe-header{grid-template-columns:auto 1fr auto;padding:17px 18px;gap:12px}
.abe-shell-floating .abe-logo{width:44px;height:44px}
.abe-shell-floating .abe-title{font-size:23px}
.abe-shell-floating .abe-subtitle{font-size:12.5px;line-height:1.38}
.abe-shell-floating .abe-boundary{margin:12px 16px 0;font-size:12px;padding:10px 12px}
.abe-shell-floating .abe-conversation{padding:16px 16px 10px;max-height:none;min-height:160px;overflow:auto;flex:1}
.abe-shell-floating .abe-actions{padding:0 16px 14px}
.abe-shell-floating .abe-thinking{margin:0 16px 12px}
.abe-shell-floating .abe-freeform{padding:13px 16px}
.abe-shell-floating .abe-footer{padding:11px 16px;font-size:10.5px}
body.abe-panel-open{overflow:hidden}
@media(min-width:721px){body.abe-panel-open{overflow:auto}}
@media(max-width:720px){
  .abe-floating{right:14px;bottom:calc(14px + var(--be-consent-offset,0px));transition:bottom .2s ease}
  .abe-launcher{min-width:0;border-radius:16px;padding:9px 11px 9px 9px}
  .abe-launcher img{width:34px;height:34px}.abe-launcher strong{font-size:13px}.abe-launcher small{font-size:9px}
  .abe-floating-panel{position:fixed;left:8px;right:8px;bottom:8px;width:auto;max-height:calc(100dvh - 16px)}
  .abe-shell-floating .abe-card{max-height:calc(100dvh - 16px);border-radius:16px}
  .abe-shell-floating .abe-header{padding:14px}.abe-shell-floating .abe-subtitle{display:none}
  .abe-shell-floating .abe-boundary{margin:10px 12px 0}.abe-shell-floating .abe-conversation{padding:14px 12px 8px}
  .abe-shell-floating .abe-actions{padding:0 12px 12px}.abe-shell-floating .abe-freeform{padding:12px}.abe-shell-floating .abe-footer{padding:10px 12px}
}


/* v1.3 quick-fire adviser */
.abe-quickfire{padding:18px 20px 20px;background:#fff}
.abe-quickfire[hidden],.abe-conversation[hidden]{display:none!important}
.abe-quickfire-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:9px;color:#7b8792;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.08em}
.abe-quick-link{appearance:none;border:0;background:none;padding:2px 0;color:var(--abe-navy2);font:700 11px/1.2 Inter,system-ui,sans-serif;text-transform:none;letter-spacing:0;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.abe-progress-track{height:4px;background:#edf0f2;border-radius:999px;overflow:hidden;margin-bottom:19px}
.abe-progress-track span{display:block;height:100%;width:8%;background:var(--abe-gold);border-radius:999px;transition:width .2s ease}
.abe-quick-question{margin:0 0 16px!important;color:var(--abe-navy);font:650 22px/1.18 Georgia,"Times New Roman",serif}
.abe-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:0;transition:opacity .14s ease}
.abe-choice-quick{min-height:52px;padding:10px 12px;text-align:center;font-size:13px;display:flex;align-items:center;justify-content:center}
.abe-mini-thinking{height:12px;display:flex;gap:4px;align-items:center;justify-content:center;margin-top:10px}
.abe-mini-thinking[hidden]{display:none!important}
.abe-mini-thinking span{width:5px;height:5px;border-radius:50%;background:var(--abe-gold);animation:abeDot 1.05s infinite ease-in-out}.abe-mini-thinking span:nth-child(2){animation-delay:.14s}.abe-mini-thinking span:nth-child(3){animation-delay:.28s}
.abe-conversation{min-height:0;max-height:380px;padding:18px 20px 8px}
.abe-freeform{padding:15px 20px 16px}
.abe-freeform-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}.abe-freeform-head label{margin:0!important}
.abe-outcome-question{display:block;margin:4px 0 14px;text-align:left;font-size:12px}
.abe-footer{padding:10px 20px;font-size:10.5px}
.abe-shell-floating .abe-header{padding:15px 17px}.abe-shell-floating .abe-logo{width:40px;height:40px}.abe-shell-floating .abe-title{font-size:22px}.abe-shell-floating .abe-subtitle{font-size:11.5px;margin-top:3px!important}
.abe-shell-floating .abe-conversation{min-height:0;padding:16px 16px 8px}
.abe-shell-floating .abe-freeform{padding:14px 16px}
@media(max-width:720px){
  .abe-quickfire{padding:16px 18px 18px}.abe-quick-question{font-size:21px}.abe-quick-actions{grid-template-columns:1fr 1fr}.abe-choice-quick{min-height:50px;padding:9px;font-size:12.5px}.abe-shell-floating .abe-subtitle{display:block}.abe-conversation{max-height:42vh}.abe-freeform-head{align-items:flex-start}.abe-input-row textarea{min-height:64px}
}
