/* AV / NVT site assistants — self-contained, no external dependencies */
.sv-chat, .sv-chat * { box-sizing: border-box; }
.sv-chat { --sv-primary:#067ce8; --sv-navy:#112b51; --sv-muted:#617792; --sv-stroke:#dce9f5; --sv-shadow:0 18px 55px rgba(13,36,72,.2); position:fixed; right:24px; bottom:24px; z-index:9000; font-family:Inter,system-ui,-apple-system,'Segoe UI',Arial,sans-serif; color:var(--sv-navy); font-size:14px; }
.sv-chat button, .sv-chat input { font:inherit; }
.sv-chat-launch { display:flex; align-items:center; gap:11px; color:#fff; background:linear-gradient(125deg,#086dd7,#068ee8); border:0; border-radius:999px; padding:10px 17px 10px 10px; box-shadow:0 12px 33px rgba(5,91,168,.26); cursor:pointer; transition:transform .2s ease,box-shadow .2s ease; }
.sv-chat-launch:hover { transform:translateY(-2px); box-shadow:0 16px 37px rgba(5,91,168,.3); }
.sv-chat-badge { display:grid; place-items:center; background:rgba(255,255,255,.19); border:1px solid rgba(255,255,255,.3); width:41px; height:41px; border-radius:50%; font-weight:850; font-size:13px; letter-spacing:.02em; }
.sv-chat-launch-label { text-align:left; line-height:1.3; font-weight:800; font-size:14px; white-space:nowrap; }
.sv-chat-launch-label small { font-size:11px; font-weight:500; display:block; opacity:.9; margin-top:2px; }
.sv-chat-panel { display:none; overflow:hidden; flex-direction:column; width:min(386px,calc(100vw - 28px)); height:min(565px,calc(100dvh - 104px)); max-height:calc(100dvh - 104px); background:#fff; border:1px solid #d7e7f4; box-shadow:var(--sv-shadow); border-radius:21px; }
.sv-chat[data-open="true"] .sv-chat-panel { display:flex; }
.sv-chat[data-open="true"] .sv-chat-launch { display:none; }
.sv-chat-head { background:linear-gradient(115deg,#063b7a,#077fe3); color:#fff; display:flex; align-items:center; gap:10px; padding:16px 16px; flex-shrink:0; }
.sv-chat-head .sv-chat-badge { width:37px; height:37px; }
.sv-chat-head-copy { flex:1; min-width:0; }
.sv-chat-head-title { font-size:15px; line-height:1.35; font-weight:850; display:block; }
.sv-chat-head-sub { font-size:11px; opacity:.88; margin-top:2px; display:block; }
.sv-chat-close { display:grid;place-items:center; border:1px solid rgba(255,255,255,.4); background:rgba(255,255,255,.11); color:#fff; width:34px; height:34px; border-radius:11px; padding:0; font-size:24px; line-height:1; cursor:pointer; }
.sv-chat-messages { flex:1; min-height:0; background:linear-gradient(180deg,#f6faff,#ffffff); overflow-y:auto; overscroll-behavior:contain; padding:18px 13px; display:flex; flex-direction:column; gap:12px; }
.sv-chat-entry { display:flex; flex-direction:column; gap:7px; max-width:88%; min-width:0; }
.sv-chat-entry[data-role="visitor"] { align-self:flex-end; }
.sv-chat-entry[data-role="assistant"] { align-self:flex-start; }
.sv-chat-bubble { white-space:pre-wrap; overflow-wrap:anywhere; font-size:13px; line-height:1.6; color:#263f60; background:#fff; border:1px solid var(--sv-stroke); padding:11px 13px; border-radius:15px 15px 15px 4px; }
.sv-chat-entry[data-role="visitor"] .sv-chat-bubble { color:#fff; background:#086ed5; border-color:#086ed5; border-radius:15px 15px 4px 15px; }
.sv-chat-action { align-self:flex-start; color:#075bab; text-decoration:none; background:#eaf5ff; border:1px solid #b7daff; border-radius:9px; padding:8px 11px; font-weight:800; font-size:12px; line-height:1.35; }
.sv-chat-action:hover { background:#daefff; }
.sv-chat-lower { flex-shrink:0; border-top:1px solid #e4edf6; background:#fff; padding:12px 13px 13px; }
.sv-chat-prompts { display:flex; flex-wrap:wrap; gap:6px; padding-bottom:11px; }
.sv-chat-prompt { cursor:pointer; border:1px solid #bfd9f5; background:#f1f8ff; color:#125491; border-radius:999px; font-size:11px!important; font-weight:750!important; padding:7px 10px; transition:background .15s; }
.sv-chat-prompt:hover { background:#e1f0ff; }
.sv-chat-form { display:flex; align-items:center; gap:7px; }
.sv-chat-field { flex:1; width:100%; min-width:0; height:42px; padding:10px 11px; border:1px solid #c9ddef; border-radius:11px; color:#173551; outline:0; background:#fff; font-size:13px!important; }
.sv-chat-field:focus-visible { outline:2px solid #79b9f3; outline-offset:1px; }
.sv-chat-send { display:grid; place-items:center; width:42px; height:42px; border:0; border-radius:11px; color:#fff; background:#087be3; font-size:19px!important; font-weight:700; cursor:pointer; }
.sv-chat-send:hover { background:#006bd0; }
.sv-chat-note { color:#74849a; font-size:10px; line-height:1.4; text-align:center; margin:9px 0 0; }
.sv-chat button:focus-visible, .sv-chat a:focus-visible { outline:3px solid #75baff; outline-offset:3px; }
@media (max-width:520px) { .sv-chat { right:12px; bottom:12px; } .sv-chat-panel { width:calc(100vw - 24px); height:min(590px,calc(100dvh - 78px)); max-height:calc(100dvh - 78px); border-radius:18px; } .sv-chat-launch { padding-right:13px; } .sv-chat-launch-label { font-size:13px; } }
@media (prefers-reduced-motion:reduce) { .sv-chat-launch { transition:none; } }


/* Assistant styling v32: black background + green text */
.sv-chat-launch {
  color: #39d86b;
  background: #000;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}
.sv-chat-launch:hover {
  box-shadow: 0 16px 32px rgba(0,0,0,.34);
}
.sv-chat-badge {
  background: #111;
  border: 1px solid rgba(57,216,107,.45);
  color: #39d86b;
}
.sv-chat-launch-label {
  color: #39d86b;
}
.sv-chat-launch-label small {
  color: #9de6b5;
  opacity: 1;
}
.sv-chat-head {
  background: #000;
  color: #39d86b;
}
.sv-chat-head-sub {
  color: #9de6b5;
  opacity: 1;
}
.sv-chat-close {
  border: 1px solid rgba(57,216,107,.4);
  background: rgba(57,216,107,.08);
  color: #39d86b;
}
