#ax-guide-dialog{
  box-sizing:border-box;width:min(560px,calc(100% - 24px));max-height:calc(100dvh - 32px);
  margin:auto;padding:0;border:1px solid var(--theme-border,#cad8d6);border-radius:15px;
  background:var(--theme-surface,#fff);color:var(--theme-ink,#192e30);
  box-shadow:0 16px 64px #10252640;overflow:auto;overscroll-behavior:contain;
}
#ax-guide-dialog::backdrop{background:rgba(9,23,29,.52)}
.guide-heading{display:flex;position:sticky;top:0;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 20px 12px;border-bottom:1px solid var(--theme-border,#d7e2df);background:var(--theme-surface,#fff);z-index:1}
.guide-heading h2{font-size:clamp(19px,3vw,24px);margin:6px 0 0;line-height:1.25}
.guide-heading h2:focus{outline:none}
.guide-body{padding:14px 20px 20px;line-height:1.5}
.guide-body h3{font-size:1rem;margin:1rem 0 .4rem}
.guide-location,.guide-body [data-guide-status]{color:var(--theme-muted,#465e61);font-size:.85rem;margin:0}
.guide-steps{margin:14px 0;padding-left:1.6rem}
.guide-steps li{padding:.25rem 0 .35rem .15rem}
.guide-steps li::marker{font-weight:700;color:var(--theme-success,#176450)}
.guide-outcome{padding:12px 14px;border-radius:8px;background:var(--theme-soft,#eff5f4)}
.guide-outcome h3,.guide-outcome p{margin:0}.guide-outcome h3{margin-bottom:.25rem}
.guide-heading button,.guide-actions button,.ax-guide-form,.ax-guide-launch,.ax-focus-help{
  font:inherit;font-size:.875rem;font-weight:600;min-height:44px;padding:7px 11px;cursor:pointer;border-radius:8px;
  border:1px solid var(--theme-border,#c9d7d4);background:var(--theme-surface,#fff);color:var(--theme-ink,#213e3e)
}
.guide-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.guide-actions .primary{color:var(--theme-surface,#fff);background:var(--theme-success,#165d4b)}
.guide-search{display:grid;gap:4px;font-weight:600}.guide-search input{box-sizing:border-box;width:100%;min-height:44px;font:inherit}
.guide-body [data-guide-status]:not(:empty){margin-top:8px}
.guide-topic{display:block;width:100%;border:0;border-bottom:1px solid var(--theme-border,#d8e2df);background:transparent;text-align:left;font:inherit;color:inherit;padding:.65rem .25rem;cursor:pointer}
.guide-topic strong,.guide-topic span{display:block}.guide-topic span{font-size:.875rem;color:var(--theme-muted,#456165)}
.guide-body details summary{min-height:44px;align-content:center;cursor:pointer;font-weight:600}
.ax-guide-pointed{outline:3px solid var(--theme-success,#087e62)!important;outline-offset:3px}
.ax-guide-form{flex:none;font-size:.8rem}.ax-guide-launch{min-width:44px}.ax-focus-help{display:none}
.reading-view .ax-focus-help{display:inline-block}
@media(max-width:520px){.guide-heading{padding:12px}.guide-body{padding:12px 14px 16px}.ax-top-actions .ax-guide-launch{padding:5px 8px}.modal-heading:has(.ax-guide-form),.desk-modal-heading:has(.ax-guide-form){flex-wrap:wrap;gap:6px}}
@media print{#ax-guide-dialog,.ax-guide-launch,.ax-guide-form,.ax-focus-help,[data-guide-open]{display:none!important}}
.guide-inline{display:inline-block;border:0;background:transparent;padding:3px 0;min-height:32px;color:var(--theme-success,#12614f);font:inherit;font-size:.875rem;text-decoration:underline;text-underline-offset:.16em;text-align:left;cursor:pointer}
@media(pointer:coarse){.guide-inline{min-height:44px}}
@media print{.guide-inline{display:none!important}}
.focused-home .ax-start .guide-inline{color:#caefe5}
