.hql-help-launch{position:fixed;right:24px;bottom:max(24px,env(safe-area-inset-bottom));z-index:40;background:#142336;color:#fff;border:0;border-radius:28px;padding:12px 22px;min-height:48px;font:600 16px/1.4 'DM Sans',Arial,sans-serif;box-shadow:0 5px 20px #14233629;cursor:pointer}
.hql-help-launch[hidden]{display:none}
.hql-help-dialog{position:fixed;inset:auto 20px 20px auto;margin:0;width:min(410px,calc(100vw - 32px));max-width:100%;max-height:calc(100dvh - 40px);padding:0;border:1px solid #dce2e7;border-radius:14px;background:#fff;color:#142336;box-shadow:0 16px 60px #14233633;font:16px/1.6 'DM Sans',Arial,sans-serif;overflow-y:auto;overscroll-behavior:contain}
.hql-help-dialog::backdrop{background:#14233638}
.hql-help-header{display:flex;justify-content:space-between;gap:16px;padding:22px 22px 12px}.hql-help-header span{font-size:12px;font-weight:600;letter-spacing:.08em;color:#526373}.hql-help-header h2{font:500 24px/1.3 'Manrope',Arial,sans-serif;letter-spacing:-.02em;margin:8px 0 0}.hql-help-header button{border:0;background:#f3f5f7;border-radius:8px;width:44px;height:44px;flex-shrink:0;font-size:26px;color:#142336;cursor:pointer}
.hql-help-languages{display:flex;gap:8px;padding:0 22px 12px}.hql-help-languages button{min-width:44px;min-height:44px;border:1px solid #dce2e7;border-radius:6px;font:500 14px Arial,sans-serif;color:#142336;background:#fff;cursor:pointer}.hql-help-languages button[aria-pressed=true]{background:#142336;color:#fff}
.hql-help-content{padding:0 22px 20px}.hql-help-content>p{margin:4px 0 18px;color:#526373;font-size:16px}.hql-help-content details{border-top:1px solid #dce2e7}.hql-help-content summary{padding:14px 0;min-height:48px;cursor:pointer;font-weight:500;line-height:1.5}.hql-help-content details p{margin:0 0 12px;color:#526373;font-size:16px}.hql-help-content details a{display:inline-block;min-height:44px;color:#142336;text-decoration:underline;text-underline-offset:4px;font-size:16px}
.hql-help-footer{position:sticky;bottom:0;background:white;border-top:1px solid #dce2e7;padding:16px 22px;display:flex;flex-direction:column;gap:8px}.hql-help-primary{display:block;text-align:center;background:#142336;color:#fff!important;border:0;border-radius:7px;padding:12px 16px;min-height:48px;font:600 16px/1.5 'DM Sans',Arial,sans-serif;text-decoration:none;cursor:pointer}.hql-help-footer>a{color:#526373;text-align:center;font-size:14px;min-height:32px;text-decoration:underline}.hql-help-dialog :is(button,a,summary):focus-visible,.hql-help-launch:focus-visible{outline:3px solid #466681;outline-offset:3px}
@media(max-width:480px){.hql-help-launch{right:16px;bottom:max(16px,env(safe-area-inset-bottom));padding:12px 18px}.hql-help-dialog{inset:auto 16px max(16px,env(safe-area-inset-bottom)) 16px;width:calc(100vw - 32px);max-height:calc(100dvh - 32px)}.hql-help-header{padding:20px 18px 12px}.hql-help-languages,.hql-help-content{padding-left:18px;padding-right:18px}.hql-help-footer{padding:14px 18px}}
@media print{.hql-help-dialog,.hql-help-launch{display:none!important}}

/* The provider stays inside the help panel and survives FAQ/language switches. */
.hql-help-dialog[open]{display:flex;flex-direction:column}
.hql-help-shell{display:contents}
.hql-help-header{order:0;flex-shrink:0}.hql-help-languages{order:1;flex-shrink:0}.hql-help-content{order:2}.hql-help-footer{order:4;flex-shrink:0}
.hql-help-team-host{order:3;flex:1;min-height:160px;margin:0 12px 12px;border:1px solid #dce2e7;border-radius:8px;overflow:hidden}
.hql-help-team-host[hidden]{display:none}
.hql-help-team-host iframe{display:block;width:100%;height:100%;border:0;min-height:160px}
.hql-help-dialog.is-team{height:min(800px,calc(100dvh - 40px));overflow:hidden}
/* A single compact title row leaves the conversation the available height. */
.hql-help-dialog.is-team .hql-help-header{padding:8px 12px;align-items:center;border-bottom:1px solid #dce2e7}
.hql-help-dialog.is-team .hql-help-header h2{font-size:18px;margin:0;line-height:1.4}
.hql-help-languages[hidden]{display:none}
.hql-help-dialog.is-team .hql-help-content{padding:8px 12px;flex-shrink:0}
.hql-help-dialog.is-team .hql-help-content>p{font-size:14px;line-height:1.45;margin:0}
.hql-help-dialog.is-team .hql-help-footer{padding:4px 12px;flex-direction:row;align-items:center;justify-content:space-between;gap:8px}
.hql-help-dialog.is-team .hql-help-primary{background:transparent;color:#142336!important;text-align:left;padding:8px 0;min-height:44px;font-size:14px}
.hql-help-dialog.is-team .hql-help-footer>a{display:flex;align-items:center;min-height:44px}
