/* =====================================================================
   styles/guide.css : the in-app user guide (Help screen)
   ===================================================================== */
.help-btn{font-weight:700; color:var(--grape-d)}
.top-actions{display:flex; gap:8px; align-items:center}

.guide{display:grid; gap:12px; margin-top:16px}
/* Search hides sections/topics with the hidden attribute; the display rules below would otherwise override it. */
.guide [hidden]{display:none !important}
.guide-hero{padding:20px; border-radius:var(--r-xl); color:#fff;
  background:radial-gradient(circle at 90% 15%, rgba(255,255,255,.28) 0 13%, transparent 14%),
    radial-gradient(circle at 8% 120%, rgba(255,255,255,.18) 0 28%, transparent 29%),
    linear-gradient(135deg, var(--grape), var(--sky-d));
  box-shadow:0 7px 0 rgba(42,34,87,.18)}
.guide-hero h2{font-size:1.5rem}
.guide-hero p{margin:4px 0 12px; opacity:.92}
.guide-search{display:flex; align-items:center; gap:8px; background:#fff; color:#2A2257; border-radius:999px; padding:4px 6px 4px 14px;
  box-shadow:inset 0 -3px 0 rgba(0,0,0,.08)}
.guide-search input{border:0; background:none; flex:1; min-width:0; padding:.55em .2em; font-size:1rem; color:#2A2257; outline:none}

.guide-sec{display:grid; gap:8px; margin-top:8px}
.guide-sec h3{font-size:1.1rem; margin:6px 4px 2px; display:flex; gap:8px; align-items:center}
.guide-topic{background:var(--surface); border-radius:var(--r-lg); border:2px solid var(--line)}
.guide-topic[open]{border-color:var(--grape)}
.guide-topic summary{cursor:pointer; list-style:none; padding:12px 14px; font-weight:600; display:flex; justify-content:space-between; gap:10px}
.guide-topic summary::-webkit-details-marker{display:none}
.guide-topic summary::after{content:"+"; width:26px; height:26px; flex:none; border-radius:50%; display:grid; place-items:center;
  background:var(--surface-2); color:var(--grape-d); font-weight:700}
.guide-topic[open] summary::after{content:"−"}
.guide-body{padding:0 16px 14px; display:grid; gap:8px}
.guide-body p,.guide-body ul,.guide-body ol{margin:0}
.guide-body ul,.guide-body ol{padding-left:20px; display:grid; gap:4px}
.guide-body .btn{justify-self:start; margin-top:4px}
