/* Visual guidance belongs to the instruction it illustrates. Original captures
   stay uncropped and readable in the shared keyboard-accessible image viewer. */
.hb-practical { margin: 1.5rem 0 2rem; padding: 1.25rem; border: 1px solid var(--line, #dce5e5); border-radius: 16px; background: var(--panel-soft, #f5f8f8); }
.hb-practical__head { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; }
.hb-practical__head strong { color: var(--text); }
.hb-practical p { font-size: .95rem; margin: .5rem 0 1rem; }
.hb-practical ol { display: grid; gap: .4rem; padding-left: 1.5rem; margin-bottom: 0; }
.hb-practical a { text-underline-offset: .2em; }
.hb-visual { margin: 1.5rem 0 2rem; border: 1px solid var(--line, #dce5e5); border-radius: 18px; overflow: hidden; background: var(--surface, #fff); scroll-margin-top: 130px; }
.hb-visual__guide { padding: 1rem 1.25rem; background: var(--panel-soft, #f5f8f8); border-bottom: 1px solid var(--line, #dce5e5); }
.hb-visual__eyebrow { display: inline-flex; gap: .45rem; align-items: center; font-weight: 700; font-size: .85rem; color: var(--accent, #006c70); }
.hb-visual__step { display: inline-block; float: right; font-size: .85rem; }
.hb-visual__guide p { margin: .5rem 0 0; line-height: 1.65; }
.hb-visual .product-shot { border: 0; border-radius: 0; box-shadow: none; margin: 0; }
.hb-visual .product-shot__caption { padding: 1rem 1.25rem; }
.hb-visual .product-shot__title { margin: .2rem 0; font-size: 1rem; }
.hb-visual .product-shot__description { font-size: .9rem; margin: .4rem 0 0; }
.hb .hb-steps--visual { list-style: none; padding: 0; counter-reset: instruction; }
.hb-steps--visual > li { counter-increment: instruction; margin: 0 0 1rem; padding: 0; }
.hb-step__text { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .7rem; align-items: baseline; }
.hb-step__number { display: inline-flex; justify-content: center; align-items: center; width: 2rem; min-height: 2rem; border-radius: .65rem; background: var(--panel-soft, #edf5f4); color: var(--accent, #006c70); font-weight: 700; font-size: .85rem; text-decoration: none; }
.hb-step__number::before { content: counter(instruction); }
.hb-steps--visual > li[id] { scroll-margin-top: 130px; }
.hb-visual-badge { display: inline-flex; align-items: center; gap: .3rem; width: max-content; padding: .2rem .5rem; margin-top: .45rem; border-radius: 99px; background: var(--panel-soft, #edf5f4); color: var(--accent, #006c70); font-size: .75rem; font-weight: 600; }
.hb-visual-links { display: grid; gap: .5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1rem; }
.hb-visual-links a { display: flex; gap: .5rem; flex-direction: column; padding: 1rem; border: 1px solid var(--line, #dce5e5); border-radius: 12px; text-decoration: none; }
.hb-visual-links a:hover { border-color: var(--accent, #006c70); }
.hb-visual-links a span { font-size: .8rem; }
html[data-ui-theme="aurora"] .hb-practical, html[data-ui-theme="aurora"] .hb-visual__guide { background: rgba(117, 79, 236, .055); }
html[data-ui-theme="midnight"] .hb-practical, html[data-ui-theme="midnight"] .hb-visual__guide { background: rgba(156, 128, 255, .09); }
html[data-ui-theme="midnight"] .hb-visual { background: #191d32; }
html[data-ui-theme="midnight"] .hb-step__number, html[data-ui-theme="midnight"] .hb-visual-badge { background: rgba(156, 128, 255, .14); color: #c4b6ff; }
@media (max-width: 680px) { .hb-visual-links { grid-template-columns: 1fr; } .hb-visual__step { float: none; margin-left: .75rem; } .hb-visual__guide { padding: 1rem; } }
@media print { .hb-visual { break-inside: avoid; box-shadow: none; } .hb-visual .product-shot__enlarge, .hb-visual__step { display: none; } .hb-practical { break-inside: avoid; } }
