/* Help chat (the guide page's "Ask the guide" box; the in-app panel comes later). Colours from css/app.css. */
.hc-box{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:14px 20px 16px;margin:14px 0}
.hc-box h2{margin:0 0 8px;font-size:18px}
.hc-form{display:flex;gap:8px}.hc-form input{flex:1;min-width:0;font:inherit;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink)}
.hc-ex{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0}
.hc-ex button,.hc-q,.hc-none{font:inherit;font-size:13px;padding:5px 10px;border:1px solid var(--line);border-radius:999px;background:var(--accentSoft);color:var(--ink);cursor:pointer;text-align:left}
.hc-ex button:hover,.hc-q:hover,.hc-none:hover{border-color:var(--accent)}
.hc-none{background:transparent;margin-top:8px}
.hc-out:empty{display:none}.hc-out{margin-top:12px}
.hc-card{border-top:1px solid var(--line);padding-top:12px}
.hc-answer{font-weight:600;margin:0 0 8px}
.hc-note{color:var(--muted);margin:8px 0 4px;font-size:14px}
.hc-qs{display:flex;flex-wrap:wrap;gap:6px}
.hc-steps{margin:10px 0;padding-left:22px}.hc-steps li{margin:4px 0}
.hc-more,.hc-links{margin:8px 0}
.hc-source{color:var(--muted);font-size:12px;margin:6px 0}
.hc-fig{margin:8px 0;max-width:520px}
.hc-pic{display:block;width:100%;padding:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--bg);cursor:zoom-in}
.hc-frame{position:relative;display:block;width:100%;height:0;overflow:hidden}
.hc-frame img,.hc-lframe img{position:absolute;display:block;max-width:none;height:auto}
.hc-ring{position:absolute;border:3px solid var(--accent);border-radius:50%;box-shadow:0 0 0 2px rgba(255,255,255,.7);pointer-events:none}
.hc-light{position:fixed;inset:0;z-index:1000;background:rgba(10,18,22,.8);display:flex;align-items:center;justify-content:center;padding:16px;cursor:zoom-out}
.hc-lframe{position:relative;display:inline-block;max-width:100%;max-height:100%;line-height:0}
.hc-lframe img{position:static;max-width:min(96vw,1280px);max-height:92vh;width:auto;height:auto;border-radius:8px}
.hc-vote{margin:6px 0;color:var(--muted);font-size:13px}.hc-thumb{font:inherit;font-size:15px;padding:2px 8px;margin-left:4px;border:1px solid var(--line);border-radius:8px;background:transparent;cursor:pointer}.hc-thumb:hover{border-color:var(--accent)}
/* the app's help panel (? Help): on the right, its own look, apart from "Ask your data" */
.hc-panel{position:fixed;top:0;right:0;bottom:0;width:min(420px,100%);z-index:53;display:flex;flex-direction:column;background:var(--panel);border-left:1px solid var(--line);box-shadow:var(--shadow);overflow-y:auto;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
.hc-panel[hidden]{display:none}
.hc-ph{display:flex;align-items:center;gap:12px;padding:14px 16px;background:var(--accentSoft);border-bottom:1px solid var(--line)}
.hc-ph>div{flex:1;display:flex;flex-direction:column}.hc-ph b{font-size:16px}.hc-ph small{color:var(--muted);font-size:12.5px}
.hc-ph .x{border:0;background:none;font-size:24px;line-height:1;cursor:pointer;color:var(--muted);padding:2px 6px}
.hc-in{border:0;border-radius:0;margin:0;padding:14px 16px;background:transparent}
.hc-showme{margin:6px 0}
.hc-in .hc-fig{max-width:100%}
/* Show me: the page dimmed with holes where the buttons are, a ring round each, a bubble with the step */
.hs-dim{position:fixed;left:0;top:0;z-index:2000;pointer-events:none}.hs-dim path{fill:rgba(10,18,22,.55)}
.hs-ring{position:fixed;z-index:2001;pointer-events:none;border:3px solid var(--accent);border-radius:12px;box-shadow:0 0 0 2px rgba(255,255,255,.8)}
.hs-bubble{position:fixed;z-index:2002;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:12px 14px;box-sizing:border-box}
.hs-n{color:var(--muted);font-size:12px;margin-bottom:4px}.hs-t{font-weight:600}.hs-note{margin-top:6px;color:var(--muted);font-size:13.5px}
.hs-pic{display:block;width:100%;height:auto;margin-top:8px;border:1px solid var(--line);border-radius:8px}
.hs-b{margin-top:10px;display:flex;justify-content:flex-end}
@media (prefers-reduced-motion:no-preference){.hc-panel{animation:hcin .18s ease-out}@keyframes hcin{from{transform:translateX(24px);opacity:0}to{transform:none;opacity:1}}}
/* a conversation: the log above, the examples and the question box at the bottom; each question is a bubble, its answer under it */
.hc-out{max-height:60vh;overflow-y:auto}
.hc-turn{margin:0 0 14px}
.hc-me{margin:0 0 8px auto;max-width:85%;width:fit-content;background:var(--accent);color:var(--panel);padding:7px 12px;border-radius:14px 14px 4px 14px;overflow-wrap:anywhere}
.hc-bot{background:var(--bg);border:1px solid var(--line);border-radius:14px 14px 14px 4px;padding:10px 14px;max-width:96%}
.hc-bot .hc-card{border-top:0;padding-top:0}.hc-bot .hc-note:first-child{margin-top:0}
.hc-ex{margin:8px 0 10px}.hc-ex[hidden]{display:none}
.hc-form{margin-top:10px}
.hc-in .hc-out{flex:1;max-height:none;min-height:0}.hc-in .hc-out:empty{display:block}
.hc-in{display:flex;flex-direction:column;flex:1;min-height:0}
.hc-panel{overflow:hidden}
