/* NovaNetFlow — visitor chat */
.nnf-vc { position: fixed; right: 22px; bottom: 22px; z-index: 99990; font: 15px/1.45 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #111; }
.nnf-vc *, .nnf-vc *::before, .nnf-vc *::after { box-sizing: border-box; }
.nnf-vc__bubble { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: #111; color: #fff; font: inherit; font-weight: 600; font-size: 14.5px; cursor: pointer; box-shadow: 0 14px 34px rgba(0,0,0,.22); transition: transform .2s, box-shadow .2s; }
.nnf-vc__bubble:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.nnf-vc__bubble:focus-visible { outline: 3px solid #d8c3a5; outline-offset: 3px; }
.nnf-vc__dot { position: absolute; top: 6px; right: 8px; width: 11px; height: 11px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 2px #111; }
.nnf-vc.is-open .nnf-vc__bubble { display: none; }
.nnf-vc__panel { position: absolute; right: 0; bottom: 0; width: min(380px, calc(100vw - 32px)); max-height: min(620px, calc(100vh - 40px)); display: flex; flex-direction: column; background: #fff; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.25), 0 0 0 1px rgba(0,0,0,.06); overflow: hidden; animation: nnf-vc-in .22s cubic-bezier(.2,.7,.2,1); }
.nnf-vc__panel[hidden] { display: none; }
@keyframes nnf-vc-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.nnf-vc__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 16px; background: #111; color: #fff; }
.nnf-vc__title { display: block; font-size: 18px; letter-spacing: -.01em; }
.nnf-vc__sub { margin: 6px 0 0; color: rgba(255,255,255,.72); font-size: 13.5px; line-height: 1.45; }
.nnf-vc__x { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.nnf-vc__x:hover { background: rgba(255,255,255,.22); }
.nnf-vc__body { flex: 1; overflow-y: auto; padding: 14px 16px 4px; background: #f7f5f0; min-height: 60px; }
.nnf-vc__thread { display: grid; gap: 10px; margin-bottom: 10px; }
.nnf-vc__msg { display: grid; gap: 3px; max-width: 85%; }
.nnf-vc__msg--you { justify-self: end; text-align: right; }
.nnf-vc__bub { padding: 10px 13px; border-radius: 16px; background: #fff; border: 1px solid #ebe8e1; white-space: pre-wrap; word-wrap: break-word; text-align: left; font-size: 14px; }
.nnf-vc__msg--you .nnf-vc__bub { background: #111; color: #fff; border-color: #111; border-bottom-right-radius: 5px; }
.nnf-vc__msg--team .nnf-vc__bub { border-bottom-left-radius: 5px; }
.nnf-vc__msg small { color: #8a867e; font-size: 11px; }
.nnf-vc__note { margin: 4px 0 6px; padding: 10px 12px; border-radius: 12px; background: #e9f6ee; color: #1b6b3c; font-size: 13px; }
.nnf-vc__kicker { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a867e; }
.nnf-vc__none { margin: 0 0 10px; color: #666; font-size: 13.5px; }
.nnf-vc__ans { display: grid; gap: 3px; margin-bottom: 8px; padding: 11px 13px; border-radius: 14px; background: #fff; border: 1px solid #ebe8e1; color: #111; text-decoration: none; transition: border-color .15s; }
a.nnf-vc__ans:hover { border-color: #111; }
.nnf-vc__ans strong { font-size: 14px; }
.nnf-vc__ans span { color: #555; font-size: 13px; line-height: 1.45; }
.nnf-vc__ans em { font-style: normal; font-size: 12.5px; font-weight: 600; color: #111; margin-top: 2px; }
.nnf-vc__form { display: grid; gap: 8px; padding: 12px 14px 14px; background: #fff; border-top: 1px solid #eee; }
.nnf-vc__q, .nnf-vc__who input { width: 100%; padding: 10px 12px; border: 1px solid #ddd9d0; border-radius: 12px; font: inherit; font-size: 14.5px; background: #fff; color: #111; resize: none; }
.nnf-vc__q:focus, .nnf-vc__who input:focus { outline: none; border-color: #111; box-shadow: 0 0 0 3px rgba(17,17,17,.08); }
.nnf-vc__who { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.nnf-vc__who[hidden] { display: none; }
.nnf-vc__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.nnf-vc__err { margin: 0; color: #b42318; font-size: 13px; }
.nnf-vc__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nnf-vc__help { color: #555; font-size: 12.5px; text-decoration: underline; }
.nnf-vc__send { margin-left: auto; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: #111; color: #fff; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.nnf-vc__send:disabled { opacity: .6; cursor: default; }
@media (max-width: 520px) {
	.nnf-vc { right: 14px; bottom: 14px; }
	.nnf-vc__label { display: none; }
	.nnf-vc__bubble { width: 56px; height: 56px; padding: 0; justify-content: center; }
	.nnf-vc__panel { position: fixed; right: 10px; left: 10px; bottom: 10px; width: auto; max-height: calc(100vh - 20px); }
	.nnf-vc__who { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .nnf-vc__panel { animation: none; } .nnf-vc__bubble { transition: none; } }
