dialog.guide-dialog{width:min(760px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:26px;background:#fffdf9;border:1px solid #cbb89a;border-radius:18px;overflow-y:auto;scrollbar-gutter:stable}
.guide-dialog .dialog-heading{position:sticky;top:-26px;z-index:3;background:#fffdf9;padding-bottom:14px;margin-bottom:0;gap:16px}.guide-dialog .dialog-heading h2{font-size:24px}.guide-dialog .dialog-heading button{flex-shrink:0}
.guide-intro{font-size:14px;color:#807466;line-height:1.7;margin:0 0 18px}.guide-toolbar{display:flex;align-items:center;gap:12px}.guide-toolbar label{font-size:12px;white-space:nowrap}.guide-toolbar select{flex:1;min-width:0;width:100%;min-height:44px;padding:9px 30px 9px 10px;font-size:14px;border:1px solid #cbb89a;border-radius:12px;background:#fffdf9;color:#483b30}
.guide-position{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:15px 0 8px;font-size:11px;color:#807466}.guide-position strong{font:600 15px monospace;color:#89624b;white-space:nowrap}.guide-progress{height:4px;background:#e2d9cc;margin-bottom:17px}.guide-progress i{display:block;height:100%;background:#89624b}
.guide-image-export{margin-bottom:18px}.guide-image-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.guide-image-actions button{min-height:44px;padding:10px 14px;font-size:13px}.guide-dialog button:disabled{opacity:.4;cursor:default}.guide-image-export>p{font-size:12px;line-height:1.6;margin:10px 0 6px}.guide-image-preview{border:0;padding:0;margin:0}.guide-image-preview summary{font-size:12px;min-height:36px;padding:6px 0;color:#89624b}.guide-image-preview img{display:block;width:100%;height:auto;border:1px solid #dccbb0;margin:10px 0}
.guide-slot{touch-action:pan-y}.knowledge-card{border:1px solid #dccbb0;border-radius:12px;padding:26px;background:#fffdf9;overflow-wrap:anywhere}.knowledge-brand{display:flex;align-items:center;gap:10px;margin-bottom:20px;font-size:11px;color:#807466}.knowledge-brand img{width:44px;height:48px;object-fit:contain}.knowledge-card-top{display:flex;align-items:center;gap:24px;margin-bottom:23px}.knowledge-illustration{width:112px;height:112px;flex:0 0 112px;padding:8px;border-radius:10px;background:#e8eadf}.knowledge-illustration svg{display:block;width:100%;height:100%;image-rendering:pixelated}.knowledge-category{font-size:11px;letter-spacing:1px;color:#807466;margin:0}.knowledge-card h3{font-size:23px;font-weight:750;line-height:1.55;margin:8px 0 0}.knowledge-fields h4{font-size:12px;color:#89624b;margin:0 0 8px}.knowledge-fields p{font-size:15px;line-height:1.9;margin:0}.knowledge-source{border-top:1px dashed #dccbb0;padding-top:14px;margin-top:20px;font-size:13px;line-height:1.8}
.guide-nav{display:grid;grid-template-columns:1fr 1fr;gap:14px;position:sticky;bottom:-26px;background:#fffdf9;padding:20px 0 13px;margin-top:4px;z-index:2}.guide-nav button{min-height:48px;font-size:14px;padding:12px}
@media(max-width:600px){dialog.guide-dialog{padding:18px;width:calc(100% - 20px);max-height:calc(100dvh - 24px);border-radius:14px}.guide-dialog .dialog-heading{top:-18px}.guide-dialog .dialog-heading h2{font-size:20px}.guide-intro{font-size:13px}.knowledge-card{padding:18px}.knowledge-card-top{gap:16px}.knowledge-illustration{width:82px;height:82px;flex-basis:82px}.knowledge-card h3{font-size:19px}.knowledge-fields p{font-size:14px}.guide-nav{bottom:-18px}.guide-nav button{font-size:13px;min-height:46px}.guide-image-actions button{font-size:12px;padding:10px 6px}.guide-position{font-size:10px}}

.guide-image-export{margin:18px 0 0}.guide-slot{overflow-anchor:none}

dialog.guide-dialog{overflow-anchor:none}.guide-image-export>p{min-height:3.2em}.guide-download{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;font-size:13px;border:1px solid #cbb89a;border-radius:12px;color:#483b30;text-decoration:none;text-align:center}.guide-download[aria-disabled="true"]{opacity:.4;pointer-events:none}@media(max-width:600px){.guide-download{font-size:12px;padding:10px 6px}}
