/* On-demand guidance. No automatic pop-up or animated attention prompt. */
.guide-launch[hidden], .guide-inline[hidden] { display: none; }
.guide-launch { position: fixed; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 15; border: 1px solid var(--ink); border-radius: 100px; background: var(--ink); color: var(--white); padding: 13px 20px; min-height: 48px; font: 700 14px var(--body); box-shadow: 0 4px 18px #20362e25; cursor: pointer; }
.guide-launch span { margin-right: 8px; }
.guide-inline { cursor: pointer; font-family: var(--body); margin-bottom: 12px; }
.guide-dialog { width: min(530px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--white); color: var(--ink); overflow: hidden; box-shadow: 0 18px 70px #20362e40; }
.guide-dialog[open] { display: flex; flex-direction: column; }
.guide-dialog::backdrop { background: #14291f8c; }
.guide-is-open { overflow: hidden; }
.guide-header { padding: 18px 20px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex: none; }
.guide-header h2 { font: 700 18px var(--body); letter-spacing: -.2px; margin: 0 0 3px; }
.guide-header p { font-size: 12px; margin: 0; color: var(--muted); }
.guide-close { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); font: 24px var(--body); cursor: pointer; }
.guide-content { padding: 24px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; }
.guide-content h3 { font: 400 27px/1.2 var(--display); letter-spacing: -.5px; margin: 0 0 14px; }
.guide-content p { font-size: 15px; line-height: 1.65; color: var(--muted); margin-bottom: 20px; }
.guide-choices, .guide-links { display: grid; gap: 9px; }
.guide-links { margin-bottom: 20px; }
.guide-choices button, .guide-links a { min-height: 48px; text-align: left; padding: 12px 14px; font: 600 14px/1.45 var(--body); color: var(--ink); border: 1px solid var(--line); border-radius: 7px; background: var(--white); cursor: pointer; overflow-wrap: anywhere; }
.guide-choices button:hover { border-color: var(--ink); background: var(--soft); }
.guide-links a { background: var(--soft); text-underline-offset: 3px; }
.guide-footer { border-top: 1px solid var(--line); padding: 8px 16px 12px; flex: none; background: var(--paper); }
.guide-controls { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.guide-controls button, .guide-controls a { font: 600 12px var(--body); color: var(--ink); min-height: 44px; border: 0; padding: 10px 8px; background: transparent; cursor: pointer; display: inline-flex; align-items: center; text-underline-offset: 3px; }
.guide-controls button:disabled { opacity: .4; cursor: default; }
.guide-controls a { margin-left: auto; }
.guide-footer p { font-size: 11px; color: var(--muted); line-height: 1.5; margin: 2px 8px 0; }
.guide-dialog button:focus-visible, .guide-dialog a:focus-visible, .guide-launch:focus-visible, .guide-inline:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.guide-content h3:focus { outline: none; }
.marketing-page .site-footer { padding-bottom: 90px; }
@media (max-width: 480px) { .guide-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 12px; } .guide-content { padding: 20px; } .guide-launch { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); padding: 12px 16px; } .guide-header { padding: 14px 16px; } }
@media print { .guide-launch, .guide-dialog, .guide-inline { display: none !important; } .guide-is-open { overflow: visible; } }
