/* Floating help panel (help-contact.js). Bottom left, also in RTL: the ad-privacy button is fixed to the bottom right. */
#kn-app .kn-help { position:fixed; z-index:95; left:12px; bottom:calc(12px + env(safe-area-inset-bottom)); display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
html[dir="rtl"] #kn-app .kn-help { align-items:flex-end; }
#kn-app[data-screen="generating"] .kn-help { display:none; }
#kn-app .kn-help-toggle { display:inline-flex; align-items:center; gap:6px; min-height:40px; padding:8px 14px; border:1.5px solid #172620; border-radius:999px; background:#fffdf8; color:#172620; font:inherit; font-size:14px; font-weight:700; box-shadow:0 4px 14px #17262022; cursor:pointer; }
#kn-app .kn-help-toggle::before { content:""; width:8px; height:8px; border-radius:50%; background:#25d366; }
#kn-app .kn-help-toggle[aria-expanded="true"] { background:#172620; color:#fffdf8; }
#kn-app .kn-help-panel { order:-1; width:min(300px,calc(100vw - 24px)); padding:16px; background:#fffdf8; color:#172620; border:1px solid #c9d1cb; border-radius:12px; box-shadow:0 10px 32px #17262029; text-align:start; }
#kn-app .kn-help-panel[hidden] { display:none; }
#kn-app .kn-help-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
#kn-app .kn-help-panel h2 { margin:0 0 4px; font-size:17px; line-height:1.3; }
#kn-app .kn-help-panel p { margin:0; font-size:13px; line-height:1.45; color:var(--kn-muted,#5b6a62); }
#kn-app .kn-help-close { flex:0 0 auto; border:0; background:none; padding:2px 0; font:inherit; font-size:13px; color:inherit; cursor:pointer; }
#kn-app .kn-help-actions { display:flex; flex-direction:column; gap:8px; margin:14px 0 12px; }
#kn-app .kn-help-actions a, #kn-app .kn-help-actions button { display:flex; align-items:center; justify-content:center; min-height:44px; padding:10px 12px; border-radius:8px; font:inherit; font-size:15px; font-weight:700; text-decoration:none; cursor:pointer; }
#kn-app .kn-help-whatsapp { background:#25d366; color:#0b2b17; border:1.5px solid #128c4a; }
#kn-app .kn-help-line { background:#06c755; color:#fff; border:1.5px solid #05a046; }
#kn-app .kn-help-actions [hidden] { display:none; }
#kn-app .kn-help-actions .kn-help-secondary { background:#fff; color:#172620; border:1px solid #c9d1cb; font-weight:600; overflow-wrap:anywhere; }
@media(max-width:700px) {
  body:has(.kn-sticky-cta[data-visible="true"]) #kn-app[data-screen="landing"] .kn-help { bottom:calc(104px + env(safe-area-inset-bottom)); }
}
@media print { #kn-app .kn-help { display:none; } }
