/* Help: the More section, the side panel and the "?" buttons. */
.help-q { display:inline-grid; place-items:center; flex:none; box-sizing:border-box; width:36px !important; height:36px; min-width:36px; max-width:36px; min-height:36px !important; margin-left:6px; padding:0 !important; border-radius:50%; border:1px solid var(--line,#dedbd2); background:var(--surface,#fffdf8); color:var(--muted,#6b706a); font-size:13px !important; font-weight:700; line-height:1; vertical-align:middle; cursor:pointer; position:relative; }
.help-host { position:relative; padding-right:48px !important; }
.help-q.in-host { position:absolute; top:8px; right:8px; margin:0; }
.help-q:hover, .help-q:focus-visible { color:var(--accent,#1f5a3d); border-color:var(--accent,#1f5a3d); }
.help-panel { position:fixed; top:0; right:0; bottom:0; z-index:60; width:min(440px,100vw); overflow-y:auto; background:var(--surface,#fffdf8); border-left:1px solid var(--line,#dedbd2); box-shadow:-12px 0 32px rgba(0,0,0,.12); padding:16px 18px 28px; }
.help-panel-head { display:flex; align-items:flex-start; gap:8px; }
.help-panel-head h3 { flex:1; margin:4px 0 0; font-size:19px; }
.help-panel-head h3:focus { outline:none; }
.help-close { min-width:44px; min-height:44px; font-size:22px !important; }
.help-summary { margin:6px 0 10px; }
.help-article h4 { margin:16px 0 4px; font-size:15px; }
.help-article p, .help-article li { line-height:1.55; }
.help-article ul, .help-article ol { padding-left:20px; }
.help-link { display:inline; padding:0 !important; min-height:0 !important; border:0; background:none; color:var(--accent,#1f5a3d); text-decoration:underline; font:inherit !important; cursor:pointer; }
.help-rules { display:grid; gap:10px; margin-top:14px; }
.help-rule { border:1px solid var(--line,#dedbd2); border-radius:10px; padding:10px 12px; background:#fff; }
.help-rule p { margin:4px 0 0; }
.help-evidence { font-size:12px; color:var(--muted,#6b706a); }
.help-footer { margin-top:18px; border-top:1px solid var(--line,#dedbd2); padding-top:12px; display:grid; gap:8px; }
.help-footer:empty { display:none; }
#helpCenter input[type=search] { width:100%; margin:6px 0 10px; }
.help-tabs { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:10px; }
.help-tab[aria-selected=true] { background:var(--accent,#1f5a3d); color:#fff; border-color:var(--accent,#1f5a3d); }
.help-list { display:grid; gap:8px; }
.help-item { display:grid; gap:2px; text-align:left; padding:10px 12px !important; border:1px solid var(--line,#dedbd2); border-radius:10px; background:#fff; }
.help-item span { color:var(--muted,#6b706a); font-size:13px; font-weight:400; }
.help-extra { display:flex; flex-wrap:wrap; gap:12px; margin-top:12px; align-items:center; }
@media (max-width:640px) { .help-panel { border-left:0; } }
.help-vote { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.help-change { justify-self:start; margin-top:6px; }
.help-change-form { display:grid; gap:6px; margin-top:6px; }
.help-thanks { color:var(--accent,#1f5a3d); margin:4px 0 0; }
.feedback-item { border-top:1px solid var(--line,#dedbd2); padding-top:8px; margin-top:8px; display:grid; gap:6px; }
.feedback-item p { margin:0; }
/* The first-run tour */
.tour-invite { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:8px 0 12px; padding:10px 12px; border:1px solid var(--line,#dedbd2); border-radius:12px; background:var(--accent-soft,#e7f0ea); }
.tour-invite p { flex:1 1 200px; margin:0; }
.tour-card { position:fixed; z-index:70; background:var(--surface,#fffdf8); border:2px solid var(--accent,#1f5a3d); border-radius:14px; box-shadow:0 12px 32px rgba(0,0,0,.18); padding:12px 14px; }
.tour-card h3 { margin:2px 0 4px; font-size:17px; }
.tour-card p { margin:4px 0; }
.tour-count { font-size:12px; }
.tour-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:8px; }
.tour-target { outline:3px solid var(--accent,#1f5a3d); outline-offset:3px; border-radius:6px; }

/* Beside a section's heading: inline, the heading's row keeps its full width. */
.help-q.by-heading { display:inline-flex; vertical-align:middle; position:relative; top:-3px; margin-left:8px; }
:is(h1,h2,h3):has(+ .help-q.by-heading) { display:inline-block; margin-right:0; }
