.rv-help-root, .rv-help-root * { box-sizing: border-box; }
.rv-help-root { position: fixed; z-index: 1000; right: 22px; bottom: 22px; color: #102743; font-family: 'Segoe UI', Arial, sans-serif; }
.rv-help-root [hidden] { display: none !important; }
.rv-help-launcher { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 7px 17px 7px 8px; border: 1px solid #f3c33d; border-radius: 999px; color: #061a3a; background: #ffc52f; box-shadow: 0 8px 28px rgba(3, 20, 43, .24); font: 800 14px/1 'Segoe UI', Arial, sans-serif; cursor: pointer; }
.rv-help-launcher:hover { background: #ffda72; transform: translateY(-1px); }
.rv-help-launcher:focus-visible, .rv-help-panel button:focus-visible, .rv-help-panel a:focus-visible, .rv-help-panel input:focus-visible { outline: 3px solid #12c8d7; outline-offset: 3px; }
.rv-help-mark { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; color: #fff; background: #061a3a; font-size: 22px; }
.rv-help-panel { position: absolute; right: 0; bottom: 70px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; width: min(390px, calc(100vw - 28px)); height: min(570px, calc(100dvh - 112px)); overflow: hidden; border: 1px solid #d8e2e9; border-radius: 17px; background: #fff; box-shadow: 0 18px 55px rgba(3, 20, 43, .28); }
.rv-help-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 17px 18px 15px; color: #fff; background: #061a3a; }
.rv-help-header h2 { margin: 0; font-size: 18px; line-height: 1.25; }
.rv-help-header p { margin: 5px 0 0; color: #c7d7e7; font-size: 11px; line-height: 1.4; }
.rv-help-close { flex: 0 0 auto; width: 34px; height: 34px; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; background: transparent; font-size: 25px; line-height: 1; cursor: pointer; }
.rv-help-conversation { display: flex; min-height: 0; flex-direction: column; gap: 12px; overflow-y: auto; padding: 16px; background: #f3f6f8; }
.rv-help-messages { display: flex; flex-direction: column; gap: 10px; }
.rv-help-message { max-width: 94%; padding: 11px 13px; border: 1px solid #d8e2e9; border-radius: 14px 14px 14px 4px; background: #fff; font-size: 13px; line-height: 1.5; }
.rv-help-message p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.rv-help-message-user { align-self: flex-end; border-color: #b8e7eb; border-radius: 14px 14px 4px 14px; background: #e6f8fa; }
.rv-help-message a { display: inline-block; margin: 8px 8px 0 0; color: #087b8c; font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.rv-help-suggestions { display: flex; flex-wrap: wrap; gap: 7px; }
.rv-help-chip { padding: 7px 10px; border: 1px solid #b8cbd9; border-radius: 999px; color: #143d68; background: #fff; font: 700 11px/1.3 'Segoe UI', Arial, sans-serif; cursor: pointer; }
.rv-help-chip:hover { border-color: #087b8c; background: #eefbfc; }
.rv-help-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding: 12px; border-top: 1px solid #d8e2e9; background: #fff; }
.rv-help-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
.rv-help-form input { min-width: 0; min-height: 43px; padding: 10px 12px; border: 1px solid #b6c8d5; border-radius: 9px; color: #102743; background: #fff; font: 14px 'Segoe UI', Arial, sans-serif; }
.rv-help-form input::placeholder { color: #61758a; }
.rv-help-send { min-height: 43px; padding: 0 14px; border: 0; border-radius: 9px; color: #061a3a; background: #ffc52f; font: 800 12px 'Segoe UI', Arial, sans-serif; cursor: pointer; }
.rv-help-send:hover { background: #ffda72; }
@media (max-width: 480px) {
  .rv-help-root { right: 12px; bottom: 12px; }
  .rv-help-panel { right: 0; bottom: 66px; width: calc(100vw - 24px); height: min(72dvh, 580px); }
  .rv-help-launcher { min-height: 52px; }
  .rv-help-mark { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-help-launcher { transition: none; }
}
