.guide-preview{display:inline-flex;align-items:center;gap:8px;max-width:100%;min-width:0;cursor:zoom-in}
.public-body .guide-preview,.app-body .guide-preview{background:#f5f8ff;border:1px solid #dbe4ff;color:#1f5bff;font-size:11px;padding:4px 8px}
.guide-preview img{display:block;object-fit:contain;background:#f7f8fa;border-radius:3px}
.guide-preview img[hidden]{display:none}
.guide-thumbnail{min-height:58px}.guide-thumbnail img{width:27px;height:48px;flex-shrink:0}.guide-thumbnail span{white-space:nowrap}
.guide-preview.guide-full{display:flex;flex-direction:column;width:100%;height:100%;padding:0;border:0;background:transparent;gap:0}
.guide-full img{width:100%;height:calc(100% - 28px);min-height:0;object-fit:contain}.guide-full span{height:28px;display:grid;place-items:center;font-size:11px}
.example-screen:has(.guide-full){padding:0 8px}.example-screen [data-guide-fallback]{display:flex;flex-direction:column;gap:8px;height:100%}
.guide-open{overflow:hidden}.guide-dialog{max-width:min(780px,calc(100vw - 32px));width:100%;max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:14px;color:#191f28;background:white;box-shadow:0 24px 80px #0004;overflow:auto}
.guide-dialog::backdrop{background:#111827b3}.guide-dialog-content{padding:20px}.guide-dialog header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:0;margin:0 0 16px;height:auto;position:sticky;top:0;background:#fff;border:0}
.guide-dialog h2{font-size:18px!important;margin:0}.guide-dialog [data-guide-close]{font-size:26px;line-height:1;min-width:44px;min-height:44px;padding:8px;background:#f7f8fa;color:#333;border:0;border-radius:8px}
.guide-dialog figure{margin:0;text-align:center}.guide-dialog figure img{display:block;width:100%;height:min(70dvh,800px);object-fit:contain;background:#f7f8fa}.guide-dialog figcaption{font-size:14px;margin:16px 0 0;overflow-wrap:anywhere}
.guide-dialog [hidden],.guide-preview[hidden],[data-guide-fallback][hidden],[data-preview-guide][hidden]{display:none!important}
[data-preview-guide]{margin-top:24px;padding-top:20px;border-top:1px solid #e5e8eb}[data-preview-guide] h3{font-size:16px;margin:0 0 12px}[data-preview-guide] .guide-preview{height:320px}[data-preview-guide] p{font-size:12px;color:#6b7684;overflow-wrap:anywhere}
@media(max-width:600px){.guide-dialog{max-width:none;width:100vw;height:100dvh;max-height:none;margin:0;border-radius:0}.guide-dialog-content{padding:16px;padding-top:max(16px,env(safe-area-inset-top))}.guide-dialog figure img{height:calc(100dvh - 180px)}.catalog-group li{gap:8px}.guide-thumbnail{font-size:10px}}
