/* NRPS site chat — gold + dark, sits above the mobile contact bar. */
.nrps-chat{position:fixed;right:24px;bottom:24px;z-index:70;font-family:var(--sans),Raleway,system-ui,sans-serif;color:#F4EFE6}
.nrps-chat-bubble{width:58px;height:58px;border:0;border-radius:50%;background:#E0A147;color:#0C1218;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 8px 22px #0C121859;transition:background .2s,transform .2s}
.nrps-chat-bubble:hover{background:#EFB868;transform:translateY(-2px)}
.nrps-chat-bubble:focus-visible{outline:3px solid #F4EFE6;outline-offset:3px}
.nrps-chat-bubble svg{width:26px;height:26px;display:block}
.nrps-chat-bubble .nrps-chat-x{display:none}
.nrps-chat.is-open .nrps-chat-bubble .nrps-chat-i{display:none}
.nrps-chat.is-open .nrps-chat-bubble .nrps-chat-x{display:block}
.nrps-chat-panel{position:absolute;right:0;bottom:74px;width:min(392px,calc(100vw - 32px));max-height:min(480px,calc(100dvh - 310px));display:none;flex-direction:column;background:#0C1218;color:#F4EFE6;border:1px solid #2D3944;border-top:3px solid #E0A147;border-radius:8px;box-shadow:0 18px 40px #0C12188A;overflow:hidden}
.nrps-chat.is-open .nrps-chat-panel{display:flex}
.nrps-chat-head{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#111D28;border-bottom:1px solid #2D3944}
.nrps-chat-head strong{font-family:var(--display),Oswald,sans-serif;font-weight:600;letter-spacing:.06em;text-transform:uppercase;font-size:13px;color:#F4EFE6}
.nrps-chat-head span{display:block;font-size:11px;color:#CBD1D6;font-weight:400;letter-spacing:0;text-transform:none;margin-top:2px}
.nrps-chat-head-text{flex:1;min-width:0}
.nrps-chat-close{background:transparent;border:0;color:#F4EFE6;width:36px;height:36px;border-radius:4px;cursor:pointer;font-size:20px;line-height:1}
.nrps-chat-close:hover,.nrps-chat-close:focus-visible{color:#E0A147}
.nrps-chat-log{flex:1;overflow-y:auto;padding:14px 14px 8px;display:flex;flex-direction:column;gap:10px;min-height:72px}
.nrps-chat-msg{max-width:95%;padding:10px 12px;border-radius:6px;font-size:14px;line-height:1.6;white-space:pre-wrap}
.nrps-chat-msg a{color:#E0A147;text-decoration:underline}
.nrps-chat-msg.is-bot{background:#111D28;border:1px solid #2D3944;color:#F4EFE6;align-self:flex-start}
.nrps-chat-msg.is-user{background:#E0A147;color:#0C1218;align-self:flex-end;font-weight:600}
.nrps-chat-choices{display:flex;flex-wrap:wrap;gap:8px;padding:0 14px 10px}
.nrps-chat-choices button,.nrps-chat-msg .nrps-chat-linkbtn{appearance:none;background:transparent;color:#E0A147;border:1px solid #E0A147;border-radius:99px;padding:8px 12px;font-size:12px;font-weight:700;letter-spacing:.02em;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;line-height:1.3;min-height:36px}
.nrps-chat-choices button:hover,.nrps-chat-msg .nrps-chat-linkbtn:hover{background:#E0A147;color:#0C1218}
.nrps-chat-choices button:focus-visible,.nrps-chat-msg .nrps-chat-linkbtn:focus-visible{outline:3px solid #E0A147;outline-offset:2px}
.nrps-chat-form{display:grid;gap:8px;margin-top:8px}
.nrps-chat-form label{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#CBD1D6}
.nrps-chat-form input,.nrps-chat-form select,.nrps-chat-form textarea{width:100%;margin-top:4px;border:1px solid #A7AFB3;border-radius:3px;background:#FFFFFF;color:#1B2430;padding:8px 10px;min-height:40px;font:inherit;font-size:15px;font-weight:400;text-transform:none;letter-spacing:0;display:block}
.nrps-chat-form textarea{resize:vertical;min-height:72px}
.nrps-chat-form button[type=submit]{background:#A06618;color:#fff;border:0;border-radius:4px;min-height:44px;font-family:var(--display),Oswald,sans-serif;font-weight:700;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;margin-top:4px}
.nrps-chat-form button[type=submit]:hover{background:#8B560E}
.nrps-chat-composer{display:flex;gap:8px;padding:10px 12px 12px;border-top:1px solid #2D3944;background:#111D28}
.nrps-chat-composer input{flex:1;min-width:0;border:1px solid #2D3944;border-radius:3px;background:#0C1218;color:#F4EFE6;padding:10px 12px;min-height:44px;font:inherit;font-size:15px}
.nrps-chat-composer input::placeholder{color:#8B959E}
.nrps-chat-composer button{background:#E0A147;color:#0C1218;border:0;border-radius:4px;padding:0 14px;font-weight:700;cursor:pointer;min-height:44px}
.nrps-chat-composer button:hover{background:#EFB868}
.nrps-chat-composer input:focus-visible,.nrps-chat-form input:focus-visible,.nrps-chat-form select:focus-visible,.nrps-chat-form textarea:focus-visible{outline:3px solid #E0A147;outline-offset:2px}
@media(max-width:800px){
  .nrps-chat{right:16px;bottom:calc(75px + env(safe-area-inset-bottom,0px))}
  .nrps-chat-panel{width:min(392px,calc(100vw - 24px));bottom:70px;max-height:calc(100dvh - 350px - env(safe-area-inset-bottom,0px))}
}
@media(prefers-reduced-motion:reduce){
  .nrps-chat-bubble{transition:none}
}
@media print{
  .nrps-chat{display:none!important}
}
.nrps-chat-bubble{width:auto;min-width:58px;padding:0 20px 0 16px;border-radius:29px;gap:8px;font:700 15px/1 inherit}
.nrps-chat-label{white-space:nowrap}
.nrps-chat.is-open .nrps-chat-label{display:none}
.nrps-chat.is-open .nrps-chat-bubble{padding:0;width:58px}
/* Aaron AI (Gemini) additions */
.nrps-chat-msg p{margin:0 0 6px}.nrps-chat-msg p:last-child{margin-bottom:0}
.nrps-chat-msg ul{margin:4px 0 6px;padding-left:18px}.nrps-chat-msg li{margin:2px 0}
.nrps-chat-typing{opacity:.75;font-style:italic;animation:nrpsPulse 1.2s ease-in-out infinite}
@keyframes nrpsPulse{50%{opacity:.35}}
.nrps-chat-sources a{word-break:break-word}
.nrps-chat-form select{width:100%}
