/* «Help» button, panel and form (assets/help.js). Tokens and the form look are the site's own. */
.help-fab { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 60; font: inherit; font-weight: 600; cursor: pointer; border: 0; border-radius: 999px; padding: .8rem 1.2rem; background: var(--orange); color: #13233b; box-shadow: 0 6px 18px rgba(253, 90, 1, .3); }
.help-fab:hover { background: var(--orange-2); }
/* a form field under the button (help.js): it steps aside; visibility keeps its box so the check stays exact */
.help-fab { transition: opacity .2s ease, visibility .2s; }
.help-fab--away { opacity: 0; visibility: hidden; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .help-fab { transition: none; } }
.help-panel { position: fixed; z-index: 61; right: 0; bottom: 0; left: 0; max-height: 88vh; overflow: auto; padding: 1.2rem 1rem 1.4rem; background: var(--surface); color: var(--ink); border-radius: 22px 22px 0 0; box-shadow: var(--shadow-lift); display: grid; gap: .8rem; }
.help-panel h2 { margin: 0; font-size: 1.3rem; }
.help-x { position: absolute; top: .5rem; right: .7rem; border: 0; background: none; color: var(--ink-2); font-size: 1.8rem; line-height: 1; cursor: pointer; padding: .2rem .5rem; }
.help-faq details { border-top: 1px solid var(--line); padding: .6rem 0; }
.help-faq summary { cursor: pointer; font-weight: 600; }
.help-faq p { margin: .4rem 0 0; color: var(--ink-2); }
.help-faq a { display: inline-block; margin-top: .3rem; color: var(--accent-ink); }
.help-lead, .help-or, .help-note { margin: 0; color: var(--ink-2); font-size: .95rem; }
.help-form { display: grid; gap: .7rem; }
.help-form textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 12px; padding: .55rem .8rem; width: 100%; resize: vertical; }
.help-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.help-done { margin: 0; font-weight: 600; }
.help-or a { color: var(--accent-ink); }
@media (min-width: 720px) { .help-panel { left: auto; right: 1rem; bottom: 4.6rem; width: 26rem; border-radius: 20px; } }
.help-inline { max-width: 40rem; display: grid; gap: 1rem; }
/* above the phone's sticky sales bars (site.css .sticky-cta ≤860px, compat-v2.css .sticky-buy ≤960px) */
@media (max-width: 960px) { body:has(.sticky-buy) .help-fab, body:has(.sticky-cta) .help-fab { bottom: calc(5rem + env(safe-area-inset-bottom)); } }
/* The banner «answers in plain words» (help.js, where the page's data carries `guide`; owner 2026-11-22):
 * [grip][icon text → the guide][fold]; folded it is one round button. Dragged by the grip (help.js sets right/bottom). */
.help-banner { position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: .1rem; max-width: min(23rem, calc(100vw - 2rem)); padding: .3rem; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-lift); transition: opacity .2s ease, visibility .2s; }
.help-grip { flex: none; align-self: stretch; width: 1.5rem; min-height: 2.75rem; padding: .85rem .4rem; border: 0; border-radius: 999px; background: radial-gradient(currentColor 1.1px, transparent 1.5px) content-box 0 0 / 6px 6px; color: var(--ink-2); cursor: grab; touch-action: none; opacity: .7; }
.help-grip:active { cursor: grabbing; }
.help-banner__link { display: flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: .2rem .5rem .2rem 0; color: inherit; text-decoration: none; font-weight: 600; font-size: .92rem; line-height: 1.25; }
.help-banner__link:hover span { color: var(--accent-ink); }
.help-banner__link .li, .help-banner__show .li { flex: none; width: 2.4rem; height: 2.4rem; padding: .55rem; border-radius: 50%; background: var(--orange); color: #13233b; }
.help-banner__hide { flex: none; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: none; color: var(--ink-2); font: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.help-banner__hide:hover { background: var(--surface-2); }
.help-banner__show { display: none; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; box-shadow: 0 6px 18px rgba(253, 90, 1, .3); }
.help-banner__show .li { width: 3.2rem; height: 3.2rem; padding: .85rem; }
.help-banner--min { padding: 0; border: 0; background: none; box-shadow: none; }
.help-banner--min > :not(.help-banner__show) { display: none; }
.help-banner--min .help-banner__show { display: block; }
.help-banner :focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .help-banner { transition: none; } }
@media (max-width: 960px) { body:has(.sticky-buy) .help-banner:not(.help-banner--moved), body:has(.sticky-cta) .help-banner:not(.help-banner--moved) { bottom: calc(5rem + env(safe-area-inset-bottom)); } }
/* the language suggestion rides above the lifted banner, as it does above the plain button (site.css .lang-suggest) */
body:has(.help-banner) .lang-suggest { bottom: calc(5rem + env(safe-area-inset-bottom)); }
@media (max-width: 960px) { body:has(.help-banner):has(.sticky-buy) .lang-suggest, body:has(.help-banner):has(.sticky-cta) .lang-suggest { bottom: calc(9rem + env(safe-area-inset-bottom)); } }
/* The guide page (page_guide.py): a way's steps open on its card's click (#app / #tg / #web); «choose another» (#pick) folds them. */
.guide-path:not(:target) { display: none; }
.guide-path { scroll-margin-top: 4.5rem; }
.guide-path .actions { margin-top: 1.5rem; align-items: center; }
ol.steps.guide-steps li { display: flex; flex-direction: column; gap: .9rem; }
ol.steps.guide-steps li p { margin: 0; }
.guide-shot { display: block; width: 100%; max-width: 240px; height: auto; aspect-ratio: 3 / 5; object-fit: cover; object-position: top; margin: auto auto 0; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface-2); }
