/* The "Hướng dẫn" button and chat (help/widget.js), shared by the web app, the landing page and the guide pages. */
.gpvh-fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 8px;
  border: 0; border-radius: 999px; background: #7A1F2B; color: #FFF8EC; font: 600 15px/1 'Be Vietnam Pro', 'Segoe UI', system-ui, sans-serif; cursor: pointer;
  box-shadow: 0 12px 28px -12px rgba(74,20,25,.75), inset 0 0 0 1px rgba(201,163,90,.55); }
.gpvh-fab:hover { background: #4A1419; }
.gpvh-fab:focus-visible, .gpvh-panel :focus-visible { outline: 3px solid #C9A35A; outline-offset: 2px; }
.gpvh-fab-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #FFF8EC; color: #7A1F2B; font: 700 18px/1 'Cormorant Garamond', Georgia, serif; }
.gpvh-open .gpvh-fab { display: none; }

.gpvh-panel { position: fixed; right: 18px; bottom: 18px; z-index: 61; display: flex; flex-direction: column; width: min(420px, calc(100vw - 24px)); height: min(640px, calc(100vh - 36px));
  border: 1px solid #E6D3AE; border-radius: 18px; background: #FFFDF8; color: #2A211C; overflow: hidden;
  font: 400 15px/1.55 'Be Vietnam Pro', 'Segoe UI', system-ui, sans-serif; box-shadow: 0 24px 60px -20px rgba(42,33,28,.55); }
.gpvh-panel[hidden] { display: none; }
.gpvh-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: #7A1F2B; color: #FFF8EC; }
.gpvh-head h2 { margin: 0; font: 700 20px/1.2 'Cormorant Garamond', Georgia, serif; color: #FFF8EC; }
.gpvh-head p { margin: 2px 0 0; font-size: 13px; color: #F3DFA8; }
.gpvh-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,248,236,.15); color: #FFF8EC; font-size: 24px; line-height: 1; cursor: pointer; }
.gpvh-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #FBF6EC; }
.gpvh-msg { max-width: 92%; padding: 10px 12px; border-radius: 14px; }
.gpvh-msg.me { align-self: flex-end; background: #7A1F2B; color: #FFF8EC; border-bottom-right-radius: 4px; }
.gpvh-msg.bot { align-self: flex-start; background: #FFFDF8; border: 1px solid #E6D3AE; border-bottom-left-radius: 4px; }
.gpvh-msg.wait { color: #5A4A40; font-style: italic; }
.gpvh-msg p { margin: 0 0 6px; }
.gpvh-msg .gpvh-heading { font-weight: 700; color: #4A1419; }
.gpvh-msg p:last-child { margin-bottom: 0; }
.gpvh-msg ul, .gpvh-msg ol { margin: 4px 0 6px; padding-left: 20px; }
.gpvh-msg a { color: #7A1F2B; font-weight: 600; }
.gpvh-shot { margin: 8px 0 4px; }
.gpvh-shot a { display: block; }
.gpvh-shot img { display: block; max-width: 100%; height: auto; max-height: 320px; border: 1px solid #E6D3AE; border-radius: 10px; background: #FFF; }
.gpvh-shot figcaption { margin-top: 4px; font-size: 12.5px; line-height: 1.4; color: #5A4A40; }
.gpvh-shot figcaption strong { font-weight: 600; }
.gpvh-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.gpvh-chip { padding: 6px 10px; border: 1px solid #E6D3AE; border-radius: 999px; background: #FBF3E4; color: #4A1419; font-family: inherit; font-size: 13px; font-weight: 500; line-height: 1.3; cursor: pointer; text-align: left; }
.gpvh-chip:hover { border-color: #7A1F2B; }
.gpvh-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; padding-top: 8px; border-top: 1px dashed #E6D3AE; font-size: 13px; color: #5A4A40; }
.gpvh-links a { padding: 3px 9px; border-radius: 999px; background: #F6E7E2; text-decoration: none; }
.gpvh-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #E6D3AE; background: #FFFDF8; }
.gpvh-form textarea { flex: 1; min-height: 44px; max-height: 120px; resize: none; padding: 10px 12px; border: 1px solid #E6D3AE; border-radius: 12px; background: #FFF; color: #2A211C; font: inherit; }
.gpvh-send { min-width: 64px; border: 0; border-radius: 12px; background: #7A1F2B; color: #FFF8EC; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.gpvh-send:disabled { opacity: .55; cursor: wait; }
.gpvh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 640px), (orientation: landscape) and (max-height: 500px) {
  /* A round "?" only, so it covers as little of the page as possible. */
  .gpvh-fab { right: 12px; bottom: 12px; padding: 6px; min-height: 0; }
  .gpvh-fab-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .gpvh-panel { right: 0; bottom: 0; width: 100vw; height: min(100dvh, 100vh); border-radius: 0; border: 0; }
}
@media print { .gpvh-fab, .gpvh-panel { display: none !important; } }
