/* Chat helper. Uses the theme's brand colors. */
.sbpc{position:fixed;right:20px;bottom:20px;z-index:9990;font-family:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;font-size:15px;line-height:1.45;color:var(--sbp-text,#10243B)}
.sbpc *{box-sizing:border-box}
.sbpc-launch{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:999px;padding:14px 22px;min-height:48px;background:var(--sbp-orange,#2A598F);color:#fff;font:600 16px 'Poppins',sans-serif;cursor:pointer;box-shadow:0 8px 24px rgba(16,36,59,.25)}
.sbpc-launch:hover{background:var(--sbp-orange-dark,#1F4670)}
.sbpc-launch:focus-visible,.sbpc button:focus-visible,.sbpc input:focus-visible,.sbpc select:focus-visible,.sbpc textarea:focus-visible{outline:3px solid #F2B01E;outline-offset:2px}
.sbpc-open .sbpc-launch{display:none}
.sbpc-panel{width:380px;max-width:calc(100vw - 24px);height:560px;max-height:calc(100vh - 40px);display:flex;flex-direction:column;background:#fff;border:1px solid var(--sbp-border,#DDD8CC);border-radius:16px;box-shadow:0 18px 50px rgba(16,36,59,.28);overflow:hidden}
.sbpc-panel[hidden]{display:none}
.sbpc-head{display:flex;align-items:center;gap:10px;padding:14px 16px;background:var(--sbp-navy,#10243B);color:#fff}
.sbpc-head strong{font:600 16px 'Poppins',sans-serif}
.sbpc-tag{font-size:12px;opacity:.85;border:1px solid rgba(255,255,255,.4);border-radius:99px;padding:1px 8px}
.sbpc-x{margin-left:auto;background:none;border:0;color:#fff;font-size:28px;line-height:1;cursor:pointer;min-width:44px;min-height:44px}
.sbpc-log{flex:1;overflow-y:auto;padding:14px;background:var(--sbp-bg,#F7F4EE)}
.sbpc-msg{max-width:88%;margin:0 0 10px;padding:10px 13px;border-radius:14px}
.sbpc-msg p{margin:0 0 .6em}.sbpc-msg p:last-child{margin:0}
.sbpc-bot{background:#fff;border:1px solid var(--sbp-border,#DDD8CC);border-bottom-left-radius:4px}
.sbpc-me{margin-left:auto;background:var(--sbp-orange,#2A598F);color:#fff;border-bottom-right-radius:4px}
.sbpc-bot a{color:var(--sbp-orange-dark,#1F4670);font-weight:600}
.sbpc-typing{opacity:.6}
.sbpc-opts{display:flex;flex-wrap:wrap;gap:8px;padding:10px 14px;border-top:1px solid var(--sbp-border,#DDD8CC);max-height:190px;overflow-y:auto}
.sbpc-opts:empty{display:none}
.sbpc-opt{border:1.5px solid var(--sbp-orange,#2A598F);background:#fff;color:var(--sbp-orange-dark,#1F4670);border-radius:999px;padding:9px 14px;min-height:44px;font:600 14px 'Inter',sans-serif;cursor:pointer;text-align:left}
.sbpc-opt:hover{background:#eef3f9}
.sbpc-primary{background:var(--sbp-accent,#F2B01E);border-color:var(--sbp-accent,#F2B01E);color:#10243B}
.sbpc-primary:hover{background:#DB9A0C;border-color:#DB9A0C}
.sbpc-send{display:flex;gap:8px;padding:10px 14px;border-top:1px solid var(--sbp-border,#DDD8CC);background:#fff}
.sbpc-send input{flex:1;min-height:44px;border:1.5px solid var(--sbp-border,#DDD8CC);border-radius:10px;padding:0 12px;font:inherit}
.sbpc-send button{min-height:44px;border:0;border-radius:10px;padding:0 16px;background:var(--sbp-navy,#10243B);color:#fff;font:600 14px 'Inter',sans-serif;cursor:pointer}
.sbpc-send button:disabled,.sbpc-send input:disabled{opacity:.5;cursor:not-allowed}
.sbpc-form{background:#fff;border:1px solid var(--sbp-border,#DDD8CC);border-radius:14px;padding:14px;margin:0 0 10px}
.sbpc-form-intro{margin:0 0 10px;font-weight:600}
.sbpc-field{margin:0 0 10px}
.sbpc-field label{display:block;font-weight:600;font-size:13px;margin-bottom:3px}
.sbpc-field input,.sbpc-field select,.sbpc-field textarea{width:100%;min-height:44px;border:1.5px solid var(--sbp-border,#DDD8CC);border-radius:10px;padding:8px 10px;font:inherit;background:#fff}
.sbpc-err{color:#B3261E;font-size:13px;min-height:0}
.sbpc-err:not(:empty){margin-top:3px}
.sbpc-fine{font-size:12.5px;color:var(--sbp-muted,#5B6B7C);margin:6px 0 10px}
.sbpc-row{display:flex;gap:8px;flex-wrap:wrap}
.sbpc-hp{position:absolute;left:-9999px;height:0;overflow:hidden}
@media (max-width:520px){.sbpc{right:12px;bottom:12px}.sbpc-panel{width:calc(100vw - 24px);height:calc(100vh - 24px);height:calc(100dvh - 24px)}}
@media (prefers-reduced-motion:no-preference){.sbpc-panel{animation:sbpc-in .18s ease-out}@keyframes sbpc-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
@media print{.sbpc{display:none}}
