/* How-to guides and Learn articles (app/howto.php). Screenshots get a light 1 px border (owner 2026-10-28). */
.ht-before { display: grid; gap: 4px; margin: 0 0 40px; padding: 16px 20px; border-radius: var(--r-md); border: 1px solid var(--border-3); background: var(--surface); color: var(--text-2); font-size: 15px; line-height: 1.6; }
.ht-before b { color: var(--text); font-size: 14px; }
.ht-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.ht-step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 20px; }
.ht-n { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-12); border: 1px solid var(--accent-35); color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 600; }
.ht-body h2 { font-family: var(--font-display); color: var(--text); font-size: 22px; font-weight: 600; margin: 6px 0 10px; }
.ht-body p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0; }
.ht-shot { margin: 20px 0 0; border: 1px solid var(--border-strong); border-radius: var(--r-md); overflow: hidden; background: var(--surface); width: fit-content; max-width: 100%; }
.ht-shot img { display: block; width: 100%; max-width: 100%; height: auto; }
.ht-tips { margin: 48px 0 0; padding: 20px 24px; border-radius: var(--r-lg); border: 1px solid var(--accent-35); background: var(--accent-12); }
.ht-tips b { color: var(--text); }
.ht-tips ul { margin: 10px 0 0; padding-left: 20px; color: var(--text-2); line-height: 1.65; }
.ht-tips li + li { margin-top: 6px; }
.ht-qh { font-family: var(--font-display); color: var(--text); font-size: 28px; font-weight: 600; margin: 56px 0 8px; }
.ht-next { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--border-2); }
.ht-toc { margin: 0 0 40px; padding: 18px 22px; border-radius: var(--r-lg); border: 1px solid var(--border-2); background: var(--surface); }
.ht-toc b { color: var(--text); }
.ht-toc ol { margin: 10px 0 0; padding-left: 22px; color: var(--muted); line-height: 1.9; }
.ht-toc a { color: var(--text-2); }
.ht-toc a:hover { color: var(--accent); }
.ht-list, .ht-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.ht-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--border-2); background: var(--surface); }
.ht-card:hover { border-color: var(--accent-35); }
.ht-card .body { color: var(--muted); flex: 1; }
.docs-sec-h { font-family: var(--font-display); color: var(--text); font-size: 24px; font-weight: 600; margin: 56px 0 20px; }
@media (max-width: 560px) { .ht-step { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
.ht-zoom { display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; }
/* the bigger picture (site.js opens it for every [data-zoom]) */
.lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: color-mix(in srgb, var(--bg) 97%, transparent); }
.lb img { max-width: min(calc(100vw - 48px), 1600px); max-height: calc(100dvh - 96px); width: auto; height: auto; object-fit: contain; border-radius: var(--r-md); border: 1px solid var(--border-strong); }
.lb-x { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-3); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.lb-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* one section per payment company, all alike */
.ht-gwnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.ht-gwnav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--border-3); color: var(--text-2); font-size: 14px; }
.ht-gwnav a:hover { color: var(--text); border-color: var(--accent-35); }
.ht-gw { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--border-2); background: var(--surface); scroll-margin-top: 88px; }
.ht-gw + .ht-gw { margin-top: 16px; }
.ht-gw-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.ht-gw-h h3 { margin: 0; color: var(--text); font-size: 20px; font-weight: 600; }
.ht-gw-h span { color: var(--subtle); font-size: 14px; }
.ht-gw-for { margin: 10px 0 0; color: var(--text-2); font-size: 15px; }
.ht-gw-for b { color: var(--text); margin-right: 8px; }
.ht-gw ol { margin: 14px 0 0; padding-left: 22px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.ht-gw li + li { margin-top: 6px; }
.ht-gw li::marker { color: var(--accent); }
.ht-gw-note { margin: 14px 0 0; color: var(--subtle); font-size: 14px; line-height: 1.6; }
.ht-more { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
