/* 💬 Help panel (AI + talk to a person) — used by the app layout and the landing page */
:root { --hp-brand: #0b7a75; --hp-brand-dark: #075955; --hp-soft: #e6f4f3; --hp-ink: #17212b; --hp-muted: #5b6875; --hp-line: #dde3e8; --hp-bg: #f5f7f9; }
.help, .help * { box-sizing: border-box; }
.help { font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--hp-ink); }
.help-fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; border: 0; border-radius: 999px; padding: .7rem 1.1rem; background: var(--hp-brand); color: #fff; font: 600 15px/1 system-ui, sans-serif; box-shadow: 0 8px 24px rgba(11,122,117,.35); cursor: pointer; }
.help-fab:hover { background: var(--hp-brand-dark); }
.help-panel { position: fixed; right: 18px; bottom: 76px; z-index: 61; width: 380px; max-width: calc(100vw - 24px); height: 560px; max-height: calc(100vh - 100px); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hp-line); border-radius: 16px; box-shadow: 0 18px 50px rgba(23,33,43,.25); overflow: hidden; }
.help-panel[hidden] { display: none; }
.help-head { display: flex; align-items: center; gap: .5rem; padding: .6rem .75rem; background: var(--hp-brand); color: #fff; }
.help-head b { font-size: 1rem; }
.help-modes { display: flex; gap: 4px; margin-left: auto; background: rgba(255,255,255,.15); border-radius: 999px; padding: 3px; }
.help-modes button { border: 0; background: none; color: #dff3f1; border-radius: 999px; padding: .3rem .65rem; font: 600 12.5px system-ui, sans-serif; cursor: pointer; }
.help-modes button.on { background: #fff; color: var(--hp-brand); }
.help-x { border: 0; background: none; color: #fff; font-size: 18px; cursor: pointer; padding: 0 .2rem; }
.help-ai, .help-person { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.help-ai[hidden], .help-person[hidden] { display: none; }
.help-msgs { flex: 1; overflow-y: auto; padding: .8rem; display: flex; flex-direction: column; gap: .5rem; background: var(--hp-bg); }
.hm { max-width: 88%; padding: .55rem .75rem; border-radius: 14px; font-size: 14px; line-height: 1.45; word-wrap: break-word; }
.hm-ai { align-self: flex-start; background: #fff; border: 1px solid var(--hp-line); border-bottom-left-radius: 4px; }
.hm-me { align-self: flex-end; background: var(--hp-brand); color: #fff; border-bottom-right-radius: 4px; }
.hm-wait { color: var(--hp-muted); font-style: italic; }
.help-talk { margin-top: .45rem; border: 1px solid var(--hp-brand); background: var(--hp-soft); color: var(--hp-brand); border-radius: 999px; padding: .35rem .8rem; font: 600 13px system-ui, sans-serif; cursor: pointer; }
.help-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 .8rem .4rem; background: var(--hp-bg); }
.help-chips:empty { display: none; }
.help-chips button { border: 1px solid var(--hp-line); background: #fff; border-radius: 999px; padding: .3rem .7rem; font-size: 12.5px; color: var(--hp-ink); cursor: pointer; }
.help-form { display: flex; gap: 6px; padding: .6rem; border-top: 1px solid var(--hp-line); background: #fff; }
.help-form input { flex: 1; min-width: 0; border: 1px solid var(--hp-line); border-radius: 10px; padding: .55rem .7rem; font-size: 15px; }
.help-form button { border: 0; background: var(--hp-brand); color: #fff; border-radius: 10px; padding: 0 .9rem; font-weight: 600; cursor: pointer; }
.help-intro { padding: 1.2rem; text-align: center; color: var(--hp-muted); }
.help-intro p { margin: 0 0 1rem; }
.help-person iframe { flex: 1; width: 100%; border: 0; }
@media (max-width: 600px) {
  .help-panel { right: 0; bottom: 0; width: 100vw; max-width: none; height: 100%; max-height: none; border-radius: 0; }
  .help-fab { bottom: 14px; right: 14px; }
}
@media print { .help { display: none; } }
.help-guest { display: flex; flex-direction: column; gap: 8px; padding: 0 1.2rem 1.2rem; text-align: left; }
.help-guest input { width: 100%; border: 1px solid var(--hp-line); border-radius: 10px; padding: .6rem .7rem; font-size: 15px; }
.help-guest .btn, .help-intro .btn { display: inline-block; border: 0; background: var(--hp-brand); color: #fff; border-radius: 10px; padding: .65rem 1rem; font: 600 15px system-ui, sans-serif; cursor: pointer; }
.help-guest .btn:disabled, .help-intro .btn:disabled { opacity: .6; }
.help-err { color: #b42318; font-size: 13px; min-height: 1em; }
