/* BosAI site widget - the wizard's ar-bos panel, ported for pages that carry no wizard.
   Self-contained: defines its own values rather than leaning on the --ar-* tokens, which
   only exist on wizard pages. */
.bosw-fab{position:fixed;right:22px;bottom:22px;z-index:9150;display:inline-flex;align-items:center;gap:9px;
  padding:12px 18px;border-radius:999px;border:1.5px solid #22388d;background:#22388d;color:#fff;
  font:600 14px/1 'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;cursor:pointer;
  box-shadow:0 10px 28px rgba(16,28,70,.28);transition:transform .15s,box-shadow .15s,background .15s}
.bosw-fab:hover{background:#1b2d73;transform:translateY(-1px);box-shadow:0 14px 34px rgba(16,28,70,.34)}
.bosw-fab:focus-visible{outline:3px solid rgba(105,138,207,.6);outline-offset:3px}
.bosw-fab svg{width:17px;height:17px;flex:none}
@media (max-width:640px){.bosw-fab{right:16px;bottom:16px;padding:12px}.bosw-fab-label{display:none}}
/* the wizard nav owns the bottom of a phone screen - stay out of its way there */
@media (max-width:768px){.ar-wizard .bosw-fab,body.ar-wizard .bosw-fab{display:none}}

.bosw-scrim{position:fixed;inset:0;background:rgba(16,28,70,.42);z-index:9190;opacity:0;
  transition:opacity .22s ease}
.bosw-scrim.is-open{opacity:1}

.bosw-panel{position:fixed;top:0;right:0;bottom:0;width:392px;max-width:100vw;z-index:9200;background:#fff;
  border-left:1px solid #dde1ed;display:flex;flex-direction:column;transform:translateX(100%);
  transition:transform .22s cubic-bezier(.4,0,.2,1);box-shadow:-18px 0 48px rgba(16,28,70,.18)}
.bosw-panel.is-open{transform:translateX(0)}
.bosw-head{padding:18px 20px;border-bottom:1px solid #dde1ed;display:flex;align-items:center;gap:12px}
.bosw-head h2{font-family:'Source Serif 4',Georgia,serif;font-size:18px;font-weight:600;color:#101c46;margin:0}
.bosw-head p{font-size:12px;color:#5a6280;margin:2px 0 0}
.bosw-close{margin-left:auto;border:0;background:transparent;cursor:pointer;font-size:24px;line-height:1;
  color:#5a6280;padding:4px 9px;border-radius:8px}
.bosw-close:hover{background:#f5f6fa;color:#101c46}
.bosw-close:focus-visible{outline:2px solid #22388d;outline-offset:2px}
.bosw-body{flex:1;overflow-y:auto;padding:18px 20px}
.bosw-msg{margin:0 0 14px;font-size:14px;line-height:1.6;color:#2c3350}
.bosw-msg.you{background:#22388d;color:#fff;padding:10px 13px;border-radius:13px 13px 4px 13px;margin-left:auto;max-width:84%;width:fit-content}
.bosw-msg.bos{background:#f5f6fa;border:1px solid #e6e9f2;padding:12px 14px;border-radius:13px 13px 13px 4px;max-width:92%}
.bosw-msg strong{color:#101c46}
.bosw-msg a{color:#22388d;font-weight:600}
.bosw-foot{border-top:1px solid #dde1ed;padding:13px 16px 15px;background:#fbfcfe}
.bosw-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.bosw-chip{font:inherit;font-size:12.5px;cursor:pointer;background:#fff;border:1px solid #dde1ed;
  color:#3d4668;border-radius:999px;padding:6px 11px}
.bosw-chip:hover{border-color:#22388d;color:#22388d}
.bosw-chip:focus-visible{outline:2px solid #22388d;outline-offset:2px}
.bosw-form{display:flex;gap:8px}
.bosw-input{flex:1;min-width:0;font:inherit;font-size:14px;padding:11px 13px;border:1.5px solid #dde1ed;
  border-radius:10px;color:#101c46;background:#fff}
.bosw-input:focus{outline:none;border-color:#22388d;box-shadow:0 0 0 3px rgba(34,56,141,.12)}
.bosw-send{flex:none;width:42px;border:0;border-radius:10px;background:#22388d;color:#fff;cursor:pointer;font-size:17px}
.bosw-send:hover{background:#1b2d73}
.bosw-send:focus-visible{outline:2px solid #22388d;outline-offset:2px}
.bosw-note{margin:9px 0 0;font-size:11px;color:#8189a5;line-height:1.45}
@media (prefers-reduced-motion:reduce){.bosw-panel,.bosw-scrim,.bosw-fab{transition:none}}
.bosw-refund-cta{display:inline-block;margin-top:6px;padding:9px 14px;background:#101c46;color:#fff !important;border-radius:8px;font-weight:600;text-decoration:none;font-size:13px}
.bosw-refund-cta:hover{background:#1b2d73}
