:root {
	--ntofaq-navy: #132a45;
	--ntofaq-blue: #176a9d;
	--ntofaq-teal: #00a39b;
	--ntofaq-gold: #f2a900;
	--ntofaq-ink: #162238;
	--ntofaq-muted: #667085;
	--ntofaq-line: #d9e2ec;
	--ntofaq-paper: #ffffff;
}

.ntofaq-chat,
.ntofaq-chat * { box-sizing: border-box; }
.ntofaq-chat { color: var(--ntofaq-ink); font-family: inherit; line-height: 1.45; }
.ntofaq-chat[hidden], .ntofaq-panel[hidden] { display: none !important; }

.ntofaq-chat--floating { bottom: 24px; position: fixed; right: 24px; z-index: 999998; }
.ntofaq-launcher {
	align-items: center; background: var(--ntofaq-navy); border: 0; border-radius: 999px; box-shadow: 0 14px 38px rgba(14, 36, 60, .26); color: #fff; cursor: pointer; display: flex; font: 700 15px/1 inherit; gap: 10px; min-height: 54px; padding: 8px 20px 8px 8px;
}
.ntofaq-launcher:hover { background: #0a3f65; transform: translateY(-1px); }
.ntofaq-launcher:focus-visible, .ntofaq-chat button:focus-visible, .ntofaq-chat textarea:focus-visible, .ntofaq-chat a:focus-visible { outline: 3px solid var(--ntofaq-gold); outline-offset: 2px; }
.ntofaq-launcher__icon { align-items: center; background: var(--ntofaq-teal); border-radius: 50%; display: inline-flex; font-size: 22px; height: 38px; justify-content: center; width: 38px; }

.ntofaq-panel { background: var(--ntofaq-paper); border: 1px solid rgba(19,42,69,.12); border-radius: 18px; box-shadow: 0 24px 60px rgba(14, 36, 60, .24); display: flex; flex-direction: column; max-height: min(670px, calc(100vh - 48px)); overflow: hidden; width: min(390px, calc(100vw - 32px)); }
.ntofaq-chat--floating .ntofaq-panel { bottom: 0; position: absolute; right: 0; }
.ntofaq-chat--floating .ntofaq-panel:not([hidden]) + * { display: none; }
.ntofaq-chat--inline { margin: 28px auto; max-width: 760px; }
.ntofaq-chat--inline .ntofaq-panel { border-radius: 20px; max-height: none; min-height: 560px; width: 100%; }

.ntofaq-header { align-items: flex-start; background: linear-gradient(135deg, var(--ntofaq-navy), #174f75); color: #fff; display: flex; justify-content: space-between; padding: 18px 20px; }
.ntofaq-title { display: block; font-size: 20px; letter-spacing: -.01em; }
.ntofaq-status { align-items: center; color: rgba(255,255,255,.78); display: flex; font-size: 12px; gap: 7px; margin-top: 4px; }
.ntofaq-status i { background: #39d3a8; border: 2px solid rgba(255,255,255,.55); border-radius: 50%; height: 9px; width: 9px; }
.ntofaq-close { background: rgba(255,255,255,.12); border: 0; border-radius: 50%; color: #fff; cursor: pointer; font-size: 24px; height: 36px; line-height: 1; padding: 0 0 3px; width: 36px; }
.ntofaq-close:hover { background: rgba(255,255,255,.22); }

.ntofaq-messages { background: linear-gradient(#f7fafc, #fff); flex: 1 1 auto; min-height: 260px; overflow-y: auto; padding: 20px; scroll-behavior: smooth; }
.ntofaq-chat--inline .ntofaq-messages { min-height: 350px; }
.ntofaq-message { display: flex; margin: 0 0 13px; }
.ntofaq-message--user { justify-content: flex-end; }
.ntofaq-message__bubble { background: #fff; border: 1px solid var(--ntofaq-line); border-radius: 5px 16px 16px 16px; box-shadow: 0 4px 14px rgba(26, 48, 72, .06); font-size: 14px; max-width: 86%; padding: 11px 13px; white-space: pre-wrap; }
.ntofaq-message--user .ntofaq-message__bubble { background: var(--ntofaq-blue); border-color: var(--ntofaq-blue); border-radius: 16px 16px 5px 16px; color: #fff; }
.ntofaq-message--loading .ntofaq-message__bubble { color: var(--ntofaq-muted); font-style: italic; }
.ntofaq-source { color: var(--ntofaq-blue); display: block; font-size: 12px; font-weight: 700; margin-top: 9px; text-decoration: underline; text-underline-offset: 2px; }

.ntofaq-suggestions { display: flex; gap: 7px; overflow-x: auto; padding: 0 16px 12px; scrollbar-width: thin; }
.ntofaq-suggestions button { background: #f1f8fb; border: 1px solid #bfdae7; border-radius: 999px; color: #174f75; cursor: pointer; flex: 0 0 auto; font: 600 12px/1.25 inherit; max-width: 260px; padding: 8px 11px; text-align: left; }
.ntofaq-suggestions button:hover { background: #e3f2f7; border-color: var(--ntofaq-teal); }

.ntofaq-form { align-items: flex-end; border-top: 1px solid var(--ntofaq-line); display: flex; gap: 10px; margin: 0; padding: 12px 14px; }
.ntofaq-form textarea { background: #fff; border: 1px solid #b9c8d6; border-radius: 12px; color: var(--ntofaq-ink); flex: 1; font: 14px/1.45 inherit; margin: 0; max-height: 112px; min-height: 44px; padding: 10px 12px; resize: none; }
.ntofaq-send { align-items: center; background: var(--ntofaq-teal); border: 0; border-radius: 12px; color: #fff; cursor: pointer; display: flex; flex: 0 0 44px; font-size: 21px; height: 44px; justify-content: center; padding: 0; }
.ntofaq-send:hover { background: #00867f; }
.ntofaq-send:disabled { cursor: wait; opacity: .55; }
.ntofaq-notice { background: #f8fafc; color: var(--ntofaq-muted); font-size: 10px; margin: 0; padding: 7px 14px 9px; text-align: center; }
.ntofaq-honeypot { height: 0 !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; position: absolute !important; width: 0 !important; }

@media (max-width: 520px) {
	.ntofaq-chat--floating { bottom: max(12px, env(safe-area-inset-bottom)); right: 12px; }
	.ntofaq-chat--floating .ntofaq-panel { bottom: -2px; max-height: calc(100vh - 24px - env(safe-area-inset-bottom)); position: fixed; right: 12px; width: calc(100vw - 24px); }
	.ntofaq-launcher__label { display: none; }
	.ntofaq-launcher { padding: 8px; }
	.ntofaq-chat--inline .ntofaq-panel { border-radius: 12px; min-height: 520px; }
}

@media (prefers-reduced-motion: no-preference) {
	.ntofaq-panel:not([hidden]) { animation: ntofaq-in .2s ease-out; }
	@keyframes ntofaq-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
}

