.guide-help-link { gap: 6px; }
.guide-help-link .nav-icon { width: 18px; height: 18px; flex: 0 0 18px; }
.guide-page { display: grid; gap: 18px; min-width: 0; }
.guide-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.guide-intro h2 { margin: 0 0 8px; font-size: 23px; }
.guide-intro p { margin-block: 5px; }
.guide-intro > .button { flex-shrink: 0; display: inline-flex; gap: 8px; align-items: center; }
.guide-intro .nav-icon, .guide-actions .nav-icon { width: 19px; height: 19px; flex: 0 0 19px; }
.guide-eyebrow { font-size: 12px; color: var(--brand); font-weight: 700; margin: 0 0 6px; }
.guide-layout { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: 18px; align-items: start; }
.guide-topics { position: sticky; top: 14px; max-height: calc(100vh - 28px); overflow-y: auto; }
.guide-topic-list > label { display: block; font-weight: 700; margin-bottom: 8px; }
.guide-topics summary { display: none; cursor: pointer; font-weight: 700; }
.guide-topics summary span { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 400; }
.guide-topic-group h2 { font-size: 12px; color: var(--muted); margin: 24px 8px 8px; }
.guide-topic { display: flex; align-items: center; gap: 9px; border-radius: 7px; padding: 10px; text-decoration: none; color: var(--ink); font-size: 14px; }
.guide-topic .nav-icon { width: 19px; height: 19px; flex: 0 0 19px; color: var(--muted); }
.guide-topic:hover { background: var(--page-bg); }
.guide-topic.is-current { background: color-mix(in srgb, var(--brand) 10%, var(--surface)); color: var(--brand); font-weight: 700; }
.guide-topic.is-current .nav-icon { color: inherit; }
.guide-topic[hidden], .guide-topic-group[hidden] { display: none; }
.guide-article { min-width: 0; }
.guide-article-head { display: flex; gap: 13px; align-items: center; }
.guide-article-head h2 { margin: 0; font-size: 24px; }
.guide-article-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 12px; color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, var(--surface)); }
.guide-article-icon .nav-icon { width: 25px; height: 25px; }
.guide-summary { color: var(--muted); line-height: 1.9; margin-block: 18px; }
.guide-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.guide-actions .button { display: inline-flex; align-items: center; gap: 7px; }
.guide-note { font-size: 12px; color: var(--muted); margin: 12px 0 24px; line-height: 1.8; }
.guide-steps { list-style: none; counter-reset: guide-step; padding: 0; margin: 0; }
.guide-steps li { position: relative; padding: 0 0 24px; padding-inline-start: 47px; counter-increment: guide-step; }
.guide-steps li::before { content: counter(guide-step); position: absolute; inset-inline-start: 0; top: 0; width: 30px; height: 30px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 10%, var(--surface)); color: var(--brand); border-radius: 50%; font-weight: 700; font-size: 14px; }
.guide-steps h3 { margin: 0 0 7px; font-size: 16px; padding-top: 3px; }
.guide-steps p { margin: 0; line-height: 1.9; overflow-wrap: anywhere; }
.guide-article-footer { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.guide-article-footer a { color: var(--brand); font-weight: 700; }
.guide-tour { position: fixed; inset: 0; z-index: 11000; }
.guide-tour[hidden] { display: none; }
.guide-tour [hidden] { display: none !important; }
.guide-tour-shade { position: absolute; background: rgba(5, 12, 25, .64); pointer-events: auto; }
.guide-tour-shade, .guide-tour-focus { touch-action: none; }
.guide-tour-focus { position: fixed; border: 3px solid #38bdae; border-radius: 8px; pointer-events: auto; background: transparent; box-shadow: 0 0 0 2px #fff; }
.guide-tour-card { position: fixed; box-sizing: border-box; min-width: 0; width: min(390px, calc(100vw - 24px)); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; overflow-wrap: anywhere; overscroll-behavior: contain; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 22px; box-shadow: 0 16px 70px rgba(0, 0, 0, .35); }
.guide-tour-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.guide-tour-progress { color: var(--muted); font-size: 12px; }
.guide-tour-close { display: grid; place-items: center; width: 32px; height: 32px; min-height: 32px; padding: 0; color: var(--muted); background: var(--page-bg); font-size: 24px; border: 0; border-radius: 6px; }
.guide-tour-card h2 { margin: 0 0 12px; font-size: 20px; }
.guide-tour-body { line-height: 1.85; margin: 0 0 20px; }
.guide-tour-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.guide-tour-actions .button { flex: 1 1 auto; white-space: normal; }
.guide-tour-bottom { display: flex; justify-content: space-between; gap: 14px; margin-top: 16px; align-items: center; }
.guide-tour-skip { font: inherit; font-size: 13px; padding: 3px 0; min-height: 30px; border: 0; background: transparent; color: var(--muted); }
.guide-tour-bottom a { font-size: 13px; color: var(--brand); }
.guide-tour-error { font-size: 12px; color: var(--danger, #b91c1c); margin: 12px 0 0; }
html[data-theme="dark"] .guide-tour-bottom a,
html[data-theme="dark"] .guide-eyebrow,
html[data-theme="dark"] .guide-article-footer a { color: color-mix(in srgb, var(--brand) 45%, #fff); }
html.guide-tour-open { scroll-behavior: auto; }
@media (max-width: 920px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr); }
  .guide-topics { position: static; max-height: none; }
  .guide-topics summary { display: list-item; }
  .guide-topic-list { max-height: 55vh; overflow-y: auto; padding-top: 18px; }
  .guide-intro { align-items: flex-start; flex-direction: column; gap: 12px; }
  .guide-article-head h2 { font-size: 21px; }
}
@media (max-width: 480px) {
  .guide-intro h2 { font-size: 21px; }
  .guide-article-head { gap: 10px; }
  .guide-steps li { padding-inline-start: 40px; }
  .guide-tour-card { padding: 17px; }
}
