#help-widget{font-size:14px;line-height:1.6;color:var(--ink)}
#help-widget button{font:inherit;cursor:pointer}
#help-widget button:disabled{cursor:wait;opacity:.6}
#help-widget button:focus-visible,#help-widget textarea:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.help-launcher{position:fixed;right:24px;bottom:22px;z-index:65;border:1px solid var(--ink);border-radius:28px;background:var(--ink);color:white;display:flex;align-items:center;gap:9px;padding:11px 18px;box-shadow:0 5px 18px rgba(9,30,66,0.15);font-weight:600!important}
.help-launcher>span{display:grid;place-items:center;width:24px;height:24px;border:1.5px solid rgba(255,255,255,0.7);border-radius:50%;font-size:16px}
.help-panel{position:fixed;right:24px;bottom:86px;z-index:65;width:min(440px,calc(100vw - 32px));height:min(660px,calc(100dvh - 110px));background:var(--white);border:1px solid var(--border);border-radius:14px;box-shadow:0 16px 60px rgba(9,30,66,0.25);display:flex;flex-direction:column;overflow:hidden;text-align:left}
.help-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid var(--border);flex-shrink:0}
.help-header h2{font-size:20px;line-height:1.4;margin:0;color:var(--ink)}
.help-header p{margin:3px 0 0;font-size:12px;color:var(--muted)}
.help-header>div:last-child{display:flex;align-items:center;gap:6px}
.help-header button{border:0;background:var(--surface);color:var(--muted);padding:6px 9px;border-radius:8px;white-space:nowrap;font-size:12px!important;min-height:36px}
.help-header button:last-child{font-size:20px!important;width:36px;line-height:1}
.help-context{padding:9px 20px;background:var(--surface);font-size:12px;color:var(--muted);display:flex;gap:6px;align-items:center}
.help-context>span{margin-left:auto;white-space:nowrap;color:var(--ink);font-weight:600}
.help-conversation{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 18px 24px;scrollbar-gutter:stable}
.help-welcome strong{font-size:16px}.help-welcome p{margin:6px 0 15px;color:var(--muted);font-size:14px}
.help-suggestions{display:grid;gap:8px;margin-bottom:16px}
.help-suggestions button{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--border);padding:10px 12px;border-radius:12px;text-align:left;color:var(--accent-text);background:white;font-size:14px!important}
.help-message{margin-top:16px;padding:13px 15px;border:1px solid var(--border);border-radius:12px;overflow-wrap:anywhere}
.help-message>small{display:block;font-size:12px;color:var(--muted);font-weight:600;margin-bottom:5px}
.help-user{background:var(--surface);border-color:var(--accent-line);margin-left:28px}
.help-answer{background:var(--white);margin-right:8px}
.help-text,.help-guide-body{white-space:pre-wrap;word-break:keep-all;overflow-wrap:anywhere}
.help-guide-body{font-size:14px;margin:9px 0}
.help-links{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}
.help-links button,.help-sources button{background:white;border:1px solid var(--accent-line);color:var(--accent-text);border-radius:8px;padding:7px 10px;font-size:12px!important;text-align:left}
.help-sources{border-top:1px solid var(--border);margin-top:12px;padding-top:9px;font-size:12px}
.help-sources details+details{margin-top:7px}.help-sources summary{cursor:pointer;color:var(--muted);font-weight:600}
.help-pending{color:var(--muted);font-size:14px;margin-top:16px}.help-error{font-size:14px;color:var(--danger-text);margin-top:16px}.help-error button{background:white;border:1px solid var(--border);border-radius:6px;margin-top:6px}
.help-footer{padding:12px 16px 14px;border-top:1px solid var(--border);background:white;flex-shrink:0}
.help-footer>p{font-size:12px;color:var(--warning-text);margin:0 0 8px}
.help-input-label{display:block;font-size:12px;font-weight:600;margin-bottom:6px}
.help-compose{display:flex;align-items:flex-end;gap:8px}
.help-compose textarea{font:inherit;line-height:1.5;resize:none;min-width:0;width:100%;height:66px;min-height:66px;border:1px solid var(--border-strong);border-radius:12px;padding:10px;color:var(--ink);background:var(--white)}
.help-compose textarea::placeholder{color:var(--muted);font-size:12px}
.help-compose button{border:0;border-radius:8px;background:var(--accent);color:white;padding:10px 12px;min-height:44px;white-space:nowrap;font-size:14px!important}
.help-footer-links{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:9px;font-size:12px;color:var(--muted)}
.help-footer-links>span{margin-right:auto}.help-footer-links button{border:0;padding:0;color:var(--accent-text);background:none;font-size:12px!important}
@media(max-width:600px){.help-launcher{right:14px;bottom:max(14px,env(safe-area-inset-bottom));padding:9px 14px}.help-panel{left:12px;right:12px;bottom:78px;width:auto;height:min(680px,calc(100dvh - 94px))}.help-header{padding:14px 16px}.help-conversation{padding:14px}.help-answer{margin-right:0}.help-context{padding:8px 16px}.help-footer-links{gap:8px}}
.help-answer-title{display:block;margin-bottom:8px;font-size:14px;color:var(--ink)}
.help-all-questions{font-size:12px;color:var(--muted);margin:4px 0 16px}
.help-all-questions summary{cursor:pointer;padding:6px 0;font-weight:600}
.help-all-questions .help-suggestions{max-height:210px;overflow-y:auto;overscroll-behavior:contain;margin:8px 0}
.help-answer>.help-suggestions{margin-top:12px;margin-bottom:0}
.help-ask-ai{margin-top:12px;border:1px solid var(--accent-line);background:var(--white);border-radius:8px;color:var(--muted);padding:7px 10px;font-size:12px!important;text-align:left}
.help-videos{display:grid;gap:12px;margin-top:10px}.help-video-list .help-videos{margin:8px 0}.help-videos .guide-video figcaption b{font-size:14px}
