/* A brief first-visit welcome, with the complete guide available from the menu. */
.help-dialog { padding:0; width:calc(100% - 32px); max-width:680px; max-height:calc(84svh - env(safe-area-inset-top) - env(safe-area-inset-bottom)); border-radius:20px; font-size:.875rem; line-height:1.5; overscroll-behavior:contain; }
#welcome-dialog { max-width:440px; }
.help-heading { position:sticky; top:0; z-index:1; display:flex; align-items:center; gap:12px; padding:12px 14px; border-bottom:1px solid var(--border); background:var(--paper); }
.help-heading h2 { flex:1; min-width:0; margin:0; padding:0; font-size:1.5rem; line-height:1.2; letter-spacing:0; }
.help-close { display:grid; place-items:center; flex:0 0 44px; width:44px; height:44px; border:0; border-radius:8px; background:transparent; color:var(--muted); }
.help-close:hover { background:var(--surface); }
#welcome-title:focus, #guide-title:focus { outline:none; }
.help-body { padding:4px 16px 16px; }
.help-dialog p, .help-dialog li, .help-dialog dd { font-size:.875rem; line-height:1.5; color:var(--muted); }
.help-dialog p { margin:12px 0; }
.help-dialog strong { color:var(--ink); font-weight:600; }
.help-dialog h3 { margin:20px 0 10px; font-size:1.125rem; line-height:1.3; }
.welcome-steps, .guide-steps { margin:12px 0; padding-left:20px; }
.welcome-steps li, .guide-steps li { padding-left:3px; margin:10px 0; }
.help-dialog .help-note { margin:12px 0 0; font-size:.75rem; }
.help-actions { display:flex; flex-wrap:wrap; gap:8px; padding:12px 14px; border-top:1px solid var(--border); }
.help-actions button { min-height:44px; min-width:44px; padding:10px 12px; border-radius:9px; font-size:.875rem; }
#welcome-dialog .help-actions { flex-direction:column; }
#welcome-dialog .help-actions button { width:100%; justify-content:center; }
.guide-faq > details { border-top:1px solid var(--border); }
.guide-faq > details:last-child { border-bottom:1px solid var(--border); }
.guide-faq summary { display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:44px; padding:12px 0; list-style:none; cursor:pointer; font-size:.875rem; line-height:1.4; font-weight:600; }
.guide-faq summary::-webkit-details-marker { display:none; }
.guide-faq summary::after { content:'+'; width:18px; flex-shrink:0; color:var(--accent); text-align:center; font-size:1.25rem; font-weight:400; }
.guide-faq details[open] > summary::after { content:'−'; }
.guide-faq details > p { margin:0 0 12px; }
.guide-statuses { display:grid; grid-template-columns:minmax(112px,1fr) 2fr; gap:12px; margin:4px 0 14px; }
.guide-statuses dt { display:flex; align-items:baseline; gap:7px; font-size:.75rem; font-weight:600; }
.guide-statuses .status-dot { align-self:flex-start; margin-top:6px; }
.guide-statuses dd { margin:0; font-size:.75rem; }
@media(max-width:380px) { .help-actions button { flex:1 1 auto; } .guide-statuses { grid-template-columns:1fr; gap:4px; } .guide-statuses dd { margin-bottom:10px; } }
