/* Additions to the existing SkyCenturyOS Help layout. */
.help-status { font-size:12px; color:var(--muted); margin:8px 0; }
.help-results[hidden], .help-article[hidden] { display:none; }
.help-results, .help-article { background:white; border:1px solid var(--border); border-radius:10px; padding:16px 18px; margin:12px 0; }
.help-results h2, .help-article h2 { margin:0 0 8px; color:var(--navy); font-size:16px; }
.help-guide-link { background:none; border:0; padding:0; color:var(--navy-light); text-align:left; font:inherit; cursor:pointer; text-decoration:underline; text-underline-offset:2px; }
.help-guide-summary { color:var(--muted); margin:3px 0 12px; }
.help-article p { white-space:pre-wrap; }
.help-article button, .help-retry, .help-feedback button { border:1px solid var(--border); background:white; color:var(--navy); border-radius:5px; padding:4px 8px; cursor:pointer; font:inherit; }
.help-source-list { padding-left:18px; font-size:12px; margin-top:8px; }
.help-source-list a { color:var(--navy-light); overflow-wrap:anywhere; }
.help-source-list button { border:0; padding:0; background:none; color:var(--navy-light); text-decoration:underline; cursor:pointer; font:inherit; text-align:left; }
.msg.assistant { background:white; border:1px solid var(--border); border-bottom-left-radius:2px; }
.msg .help-source-list { white-space:normal; }
.help-answer-meta { color:var(--muted); font-size:11px; margin-top:6px; white-space:normal; }
.help-feedback { display:flex; gap:6px; margin-top:8px; flex-wrap:wrap; white-space:normal; }
.help-feedback button:disabled { opacity:.6; cursor:default; }
.chat-input input:disabled, .chat-input button:disabled { opacity:.6; }
.chat-input input { min-width:0; }
.chat-panel { max-height:calc(100dvh - 104px); }
.chat-header .help-chat-tools { display:flex; align-items:center; gap:10px; }
.chat-header .help-chat-reset { font-size:11px; text-decoration:underline; }
.topic:focus-visible, button:focus-visible, a:focus-visible { outline:2px solid var(--gold); outline-offset:3px; }
.topic { text-align:left; font:inherit; color:var(--text); }
.help-results li { margin-bottom:10px; }
.help-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media(max-width:600px) { .search-bar input { min-width:0; width:100%; } .chat-panel { right:12px; bottom:70px; width:calc(100vw - 24px); } .chat-toggle { right:12px; bottom:12px; } }
