.guide-dialog{width:min(560px,calc(100vw - 32px));max-width:560px;padding:24px;border:1px solid var(--border,#d7e1d7);border-radius:18px;max-height:calc(100dvh - 32px);overflow:auto;color:var(--text,#173d33);background:var(--card,#fff)}
.guide-dialog::backdrop{background:rgba(9,43,34,.45)}
.guide-dialog h2{margin:8px 0 16px}.guide-dialog p{line-height:1.6}.guide-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;margin-top:20px}body.ux .guide-actions>button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:44px;min-height:44px;min-width:0;margin:0;padding:10px 14px;line-height:1.2}body.ux .guide-actions .text-button{margin-right:auto}
.guide-peek{position:fixed;z-index:130;right:24px;bottom:24px;width:min(440px,calc(100% - 32px));padding:16px;border:2px solid #5e812b;border-radius:16px;background:var(--card,#fff);box-shadow:0 6px 24px #143a3326;color:var(--text,#173d33)}.guide-peek p{margin:8px 0}.guide-peek .guide-actions{margin-top:10px}
.guide-highlight{outline:3px solid #8ca83f!important;outline-offset:5px;scroll-margin:130px}.guide-topic{padding:16px 20px;margin:12px 0;border:1px solid var(--border,#d7e1d7);border-radius:12px;background:var(--card,#fff)}.guide-topic summary{font-weight:700;cursor:pointer;min-height:24px}.guide-topic p{line-height:1.65;max-width:80ch}
body.audit-ui.ux .audit-more-tabs>.audit-tabs>.guide-menu-link{margin:0;padding:10px 14px;height:44px;min-height:44px;font-size:14px;font-weight:650}
.guide-hint{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 12px;margin:8px 0 14px;border-left:3px solid #8ca83f;background:#edf3e7;border-radius:8px;color:#173d33;font-size:.88rem;font-weight:400;line-height:1.5}.guide-hint p{margin:0!important;font-size:inherit!important}.guide-hint button{flex-shrink:0;min-height:40px;padding:4px 8px;font-size:inherit}
@media(max-width:767px){.guide-dialog{padding:20px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.guide-peek{left:12px;right:12px;bottom:calc(80px + env(safe-area-inset-bottom));width:auto;max-width:none}.guide-actions{gap:6px}.guide-actions button{font-size:.9rem;padding:10px}.guide-peek .guide-actions .text-button{margin-right:0}.guide-hint{gap:6px}.guide-topic{padding:14px}.guide-highlight{scroll-margin:100px}}
@media(prefers-reduced-motion:reduce){.guide-highlight{scroll-behavior:auto}}
