/* Help uses the current theme canvas and existing glass, with a readable text measure. */
.help-workspace { min-width:0; padding-bottom:10px; }
.help-searchbar { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px 20px; border-radius:16px; margin-bottom:14px; }
.help-searchbar>div { min-width:0; }
.help-searchbar strong { font-size:15px; font-weight:650; color:var(--ink); }
.view .help-searchbar p { margin:4px 0 0; color:var(--ink-3); font-size:13px; line-height:1.6; }
.help-search { display:flex; align-items:center; gap:8px; flex:0 1 450px; min-width:240px; }
.help-search .input-icon { min-width:0; flex:1; }
.help-search .input { width:100%; }
.help-layout { display:grid; grid-template-columns:320px minmax(0,1fr); align-items:start; gap:14px; min-width:0; }
.help-directory { border-radius:16px; padding:16px 10px; position:sticky; top:14px; max-height:calc(100dvh - 32px); overflow-y:auto; scrollbar-width:thin; }
.help-nav-group+.help-nav-group { margin-top:14px; padding-top:12px; border-top:1px solid var(--line); }
.help-nav-group h3 { padding:0 10px; margin:0 0 6px; font-size:12px; color:var(--ink-3); font-weight:600; }
.help-nav-group a { display:flex; align-items:center; gap:8px; padding:9px 10px; min-height:38px; border:1px solid transparent; border-radius:9px; color:var(--ink-2); text-decoration:none; font-size:13px; line-height:1.5; transition:background-color .15s,border-color .15s; }
.help-nav-group a+a { margin-top:4px; }
.help-nav-group .ico { flex:none; }
.help-nav-group a:hover { background:var(--accent-soft); }
.help-nav-group a[aria-current=page] { color:var(--accent); font-weight:600; background:var(--accent-soft); border-color:color-mix(in srgb,var(--accent) 15%,transparent); }
.help-reading { min-width:0; border-radius:16px; padding:26px 28px; }
.help-article,.help-results { max-width:1120px; margin-inline:auto; color:var(--ink-2); }
.help-article-head { padding-bottom:20px; border-bottom:1px solid var(--line); }
.help-article-kicker { display:flex; align-items:center; gap:7px; margin-bottom:8px; color:var(--accent); font-size:12px; font-weight:600; line-height:20px; }
.help-reading h2 { color:var(--ink); font-size:24px; font-weight:650; line-height:1.5; letter-spacing:-.02em; margin:0 0 10px; overflow-wrap:anywhere; }
.view .help-article-summary,.view .help-results>header>p,.view .help-results>p { color:var(--ink-3); font-size:14px; line-height:1.8; margin:0; }
.help-article-meta { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-top:16px; font-size:12px; color:var(--ink-3); }
.help-article-meta a { text-decoration:none; }
.help-section { margin-top:25px; scroll-margin-top:24px; }
.help-reading h3 { color:var(--ink); font-size:16px; line-height:1.6; font-weight:650; margin:0 0 10px; }
.view .help-section p,.view .help-section li { font-size:14px; line-height:1.95; color:var(--ink-2); overflow-wrap:anywhere; }
.view .help-section p { margin:10px 0; }
.help-section ol { padding-left:24px; margin:10px 0; }
.help-section li { margin:8px 0; padding-left:4px; }
.help-section li::marker { font-variant-numeric:tabular-nums; color:var(--accent); font-weight:650; }
.help-note { display:flex; align-items:flex-start; gap:9px; padding:10px 14px; border:1px solid var(--line); border-radius:10px; background:var(--accent-soft); }
.help-note>.ico { flex:none; margin-top:5px; color:var(--accent); }
.view .help-note>p { margin:0; font-size:13px; }
.help-related { border-top:1px solid var(--line); padding-top:20px; margin-top:28px; }
.help-related>div { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.help-related a { display:flex; align-items:center; justify-content:space-between; gap:10px; min-width:0; padding:11px 12px; color:var(--ink-2); background:var(--glass-soft); border:1px solid var(--line); border-radius:10px; font-size:13px; line-height:1.6; text-decoration:none; }
.help-related a>.ico { flex:none; }
.help-related a:hover { color:var(--accent); border-color:var(--line-strong); }
.help-contact { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:24px; padding-top:18px; border-top:1px solid var(--line); color:var(--ink-3); font-size:12px; line-height:1.7; }
.help-results>header { padding-bottom:14px; }
.help-result-list { display:grid; gap:10px; }
.help-result-list>a { display:flex; align-items:center; gap:14px; padding:16px; border:1px solid var(--line); background:var(--glass-soft); border-radius:12px; text-decoration:none; color:var(--ink-2); }
.help-result-list>a:hover { border-color:var(--line-strong); background:var(--accent-soft); }
.help-result-icon { display:grid; place-items:center; width:38px; height:38px; flex:none; border-radius:11px; color:var(--accent); background:var(--accent-soft); }
.help-result-list>a>span:nth-child(2) { flex:1; min-width:0; }
.help-result-list small { color:var(--ink-3); display:block; font-size:12px; margin-bottom:2px; }
.help-result-list strong { display:block; color:var(--ink); font-size:15px; line-height:1.6; }
.view .help-result-list p { color:var(--ink-3); font-size:13px; line-height:1.7; margin:4px 0 0; }
.help-results>[data-help-clear] { margin-top:18px; }
@media(max-width:1420px) { .help-layout { grid-template-columns:300px minmax(0,1fr); } }
@media(max-width:1180px) { .help-layout { grid-template-columns:280px minmax(0,1fr); } .help-reading { padding:22px; } }
@media(max-width:760px) {
  .help-searchbar { align-items:stretch; flex-direction:column; gap:12px; padding:16px; }
  .help-search { flex-basis:auto; min-width:0; }
  .help-layout { grid-template-columns:minmax(0,1fr); }
  .help-directory { position:static; max-height:230px; padding:12px; }
  .help-nav-group+.help-nav-group { margin-top:8px; padding-top:8px; }
  .help-reading { padding:20px 16px; }
  .help-reading h2 { font-size:21px; }
  .help-related>div { grid-template-columns:minmax(0,1fr); }
  .help-result-list>a { padding:12px; gap:10px; }
  .help-result-icon { width:32px; height:32px; }
}
@media(prefers-reduced-motion:reduce) { .help-nav-group a { transition:none; } }
