.help-tab{position:fixed;inset-inline-end:0;top:50%;transform:translateY(-50%);z-index:60}
.help-tab-toggle{writing-mode:vertical-rl;background:var(--navy);color:var(--paper);border:0;padding:16px 10px;font:700 .9rem var(--sans);border-radius:10px 0 0 10px;cursor:pointer;border-inline-start:3px solid var(--yellow)}
[dir=rtl] .help-tab-toggle{border-radius:0 10px 10px 0}
.help-tab-toggle:focus-visible,.help-hub a:focus-visible,.help-hub button:focus-visible,.help-hub input:focus-visible,.help-hub textarea:focus-visible,.help-hub select:focus-visible,.help-tab a:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}
.help-tab-panel{position:absolute;inset-inline-end:100%;top:50%;transform:translateY(-50%);width:min(290px,80vw);background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:16px;box-shadow:var(--shadow)}
.help-tab-panel[hidden]{display:none}
.help-tab-panel h2{font:800 1.05rem var(--display);color:var(--navy);margin:0 0 10px}
.help-tab-panel a{display:block;padding:10px 12px;margin-top:6px;background:var(--sage);color:var(--navy);border-radius:8px;text-decoration:none;font-weight:600}
.help-tab-panel a:hover{background:var(--yellow)}
.help-tab-panel{width:min(360px,calc(100vw - 70px));max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
.help-tab-panel [hidden]{display:none!important}
.help-inline-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}
.help-inline-heading button{border:0;background:transparent;font-size:26px;padding:0 6px;cursor:pointer}
.help-intake-log{max-height:210px;overflow-y:auto;margin:10px 0;scrollbar-width:thin}
.help-intake-log p{padding:10px 12px;border-radius:10px;margin:8px 0;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}
.help-intake-bot{background:var(--sage);color:var(--navy)}
.help-intake-user{background:var(--cream);border:1px solid var(--line);margin-inline-start:18px!important}
.help-inline-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.help-inline-choices button{border:1px solid var(--line);background:var(--cream);padding:10px;border-radius:8px;cursor:pointer;font-weight:600}
.help-inline-choices button:hover{background:var(--yellow)}
.help-intake-controls{display:flex;gap:8px;flex-wrap:wrap}
.help-inline-reset{border:0;background:transparent;padding:10px 0;text-decoration:underline;cursor:pointer}
.help-tab-panel .field{margin:12px 0}
.help-tab-panel input:not([type=checkbox]),.help-tab-panel textarea{width:100%;min-width:0}
.help-tab-panel .check-field{font-size:13px;margin-bottom:12px}
.help-tab-panel button:focus-visible,.help-tab-panel input:focus-visible,.help-tab-panel textarea:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}
.help-tab-panel details{border-bottom:1px solid var(--line);padding:10px 0}
.help-tab-panel details p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}
.help-hub{max-width:900px}
.help-channels{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:20px 0}
.help-channel{text-align:start;background:var(--paper);border:2px solid var(--line);border-radius:14px;padding:16px;cursor:pointer;color:var(--ink);font:inherit}
.help-channel b{display:block;color:var(--navy);font-family:var(--display)}
.help-channel[aria-pressed=true]{border-color:var(--navy);background:var(--sage)}
.help-panel{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:22px;margin-bottom:20px}
.help-panel[hidden]{display:none}
.help-faq details{border-bottom:1px solid var(--line);padding:10px 0}
.help-faq summary{cursor:pointer;font-weight:700;color:var(--navy)}
.help-note{background:var(--cream);border-inline-start:4px solid var(--yellow);padding:10px 14px;border-radius:6px}
.help-unavailable{border-inline-start-color:var(--danger)}
.help-hub .field{display:block;margin:12px 0}
.help-hub .field input,.help-hub .field textarea{width:100%;box-sizing:border-box}
.help-log{height:min(55vh,460px);overflow-y:auto;background:var(--cream);border:1px solid var(--line);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:10px}
.help-msg{max-width:80%;padding:10px 14px;border-radius:14px;background:var(--paper);white-space:pre-wrap;overflow-wrap:anywhere}
.help-msg.is-mine{align-self:flex-end;background:var(--navy);color:var(--paper)}
.help-msg small{display:block;opacity:.7;font-size:.75rem;margin-top:4px}
.help-composer{display:grid;gap:8px;margin-top:12px}
.help-composer textarea{width:100%;box-sizing:border-box}
.help-status{min-height:1.4em;color:var(--muted)}
.help-status.is-error{color:var(--danger)}
.help-admin-table{width:100%;border-collapse:collapse}
.help-admin-table th,.help-admin-table td{padding:10px;border-bottom:1px solid var(--line);text-align:start}
@media(max-width:600px){.help-msg{max-width:92%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
