﻿/* 인쇄안내(I01~I09) 목록·글 화면 전용 구성입니다. 블로그 글을 옮긴 본문이라 이미지·표가 320px에서도 가로로 넘치지 않게 둡니다. */
.guide-page .content { padding:16px 16px 28px; }
.guide-screen, .guide-article { color:var(--ink-900); line-height:1.6; word-break:keep-all; overflow-wrap:anywhere; }
.guide-screen img, .guide-article img { display:block; max-width:100%; height:auto; }

/* 목록 */
.guide-intro { margin-bottom:18px; padding:18px 16px; border-radius:var(--radius-md); background:var(--brand-50); border:1px solid var(--info-border); }
.guide-intro h1 { margin:0 0 4px; font-size:19px; letter-spacing:-.02em; }
.guide-intro p { margin:0; color:var(--ink-700); font-size:13px; }
.guide-group { margin-bottom:20px; }
.guide-group h2 { margin:0 0 2px; font-size:16px; }
.guide-group__desc { margin:0 0 8px; color:var(--ink-500); font-size:12px; }
.guide-list { display:grid; gap:8px; }
.guide-item { display:flex; align-items:center; gap:12px; min-width:0; padding:10px; border:1px solid #d5dfec; border-radius:13px; background:#fff; box-shadow:0 2px 7px rgb(23 32 51 / 5%); color:inherit; text-decoration:none; }
.guide-item:focus-visible { outline:3px solid var(--brand-700); outline-offset:2px; }
.guide-item img { flex:none; width:64px; height:64px; border-radius:9px; object-fit:cover; }
.guide-item__text { display:flex; min-width:0; flex:1; flex-direction:column; gap:2px; }
.guide-item__text b { font-size:14px; letter-spacing:-.01em; }
.guide-item__text small { color:var(--ink-500); font-size:12px; line-height:1.45; }
.guide-item__arrow { flex:none; color:var(--ink-500); font-size:20px; line-height:1; }

/* 글 머리 */
.guide-article__head { margin-bottom:12px; }
.guide-article__category { display:inline-block; margin-bottom:6px; padding:2px 9px; border-radius:999px; background:var(--brand-100); color:var(--brand-800); font-size:11px; font-weight:700; }
.guide-article__head h1 { margin:0 0 4px; font-size:20px; letter-spacing:-.02em; line-height:1.35; }
.guide-article__head p { margin:0; color:var(--ink-700); font-size:13px; }
.guide-article__cover { width:100%; margin-bottom:16px; border-radius:var(--radius-md); }

/* 본문 */
.guide-body { font-size:14px; }
.guide-section { margin-bottom:24px; }
.guide-section h2 { margin:0 0 10px; padding-left:10px; border-left:3px solid var(--brand-700); font-size:16px; letter-spacing:-.02em; line-height:1.4; }
.guide-section p { margin:0 0 10px; }
.guide-figure { margin:0 0 12px; }
.guide-figure img { margin:0 auto; border:1px solid var(--line); border-radius:10px; background:#fff; }
.guide-figure figcaption { margin-top:5px; color:var(--ink-500); font-size:12px; text-align:center; }
.guide-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-bottom:12px; }
.guide-pair .guide-figure { margin:0; }
.guide-kinds { display:grid; gap:10px; margin:0; padding:0; list-style:none; }
.guide-kind { display:flex; gap:12px; min-width:0; padding:12px; border:1px solid #d5dfec; border-radius:13px; background:#fff; }
.guide-kind img { flex:none; width:84px; height:84px; border-radius:9px; object-fit:cover; }
.guide-kind__body { min-width:0; flex:1; }
.guide-kind h3 { margin:0 0 4px; font-size:15px; }
.guide-kind h3 small { color:var(--ink-500); font-size:11px; font-weight:500; }
.guide-kind p { margin:0 0 6px; font-size:13px; }
.guide-kind .guide-kind__use { margin:0; color:var(--ink-700); font-size:12px; }
.guide-kind__use b { margin-right:4px; color:var(--brand-800); }
/* 카드 전체를 누를 수 있게 버튼 영역을 카드 크기로 넓힙니다. */
.guide-kind { position:relative; }
.guide-kind__open { display:inline-flex; align-items:center; gap:3px; margin-top:8px; padding:0; border:0; background:none; color:var(--brand-700); font:700 12px/1.4 inherit; font-family:inherit; cursor:pointer; }
.guide-kind__open::after { content:""; position:absolute; inset:0; border-radius:13px; }
.guide-kind__open:focus-visible { outline:none; }
.guide-kind__open:focus-visible::after { outline:3px solid var(--brand-700); outline-offset:2px; }
.guide-kinds__hint { margin:8px 0 0; color:var(--ink-500); font-size:12px; }

/* 용지 크게 보기 */
.guide-viewer { width:min(100vw - 24px, 480px); max-height:calc(100dvh - 24px); margin:auto; padding:0; border:0; border-radius:16px; background:#fff; color:var(--ink-900); overflow:auto; }
.guide-viewer::backdrop { background:rgb(15 23 36 / 72%); }
.guide-viewer__head { position:sticky; top:0; z-index:1; display:flex; align-items:center; justify-content:space-between; padding:10px 12px 10px 16px; background:#fff; }
.guide-viewer__count { color:var(--ink-500); font-size:12px; font-weight:700; }
.guide-viewer__close { width:36px; height:36px; border:0; border-radius:50%; background:var(--canvas); color:var(--ink-700); font-size:22px; line-height:1; cursor:pointer; }
.guide-viewer__photo { display:block; width:100%; max-height:60dvh; margin:0; padding:0; border:0; background:#f1f4f8; overflow:hidden; cursor:zoom-in; }
.guide-viewer__photo img { display:block; width:auto; max-width:100%; height:auto; max-height:60dvh; margin:0 auto; }
.guide-viewer__photo.is-zoomed { overflow:auto; cursor:zoom-out; touch-action:pan-x pan-y; }
.guide-viewer__photo.is-zoomed img { width:220%; max-width:none; max-height:none; }
.guide-viewer__tip { margin:6px 16px 0; color:var(--ink-500); font-size:11px; }
.guide-viewer__body { padding:10px 16px 4px; font-size:14px; }
.guide-viewer__body h3 { margin:0 0 6px; font-size:18px; }
.guide-viewer__body h3 small { color:var(--ink-500); font-size:12px; font-weight:500; }
.guide-viewer__body p { margin:0 0 8px; }
.guide-viewer__nav { position:sticky; bottom:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:10px 16px 14px; background:#fff; }
.guide-viewer__nav .button { min-height:44px; margin:0; padding:8px; font-size:14px; }
.guide-point { margin:0 0 12px; padding:12px 14px; border:1px solid var(--info-border); border-radius:12px; background:var(--info-bg); }
.guide-point b { display:block; margin-bottom:3px; color:var(--brand-900); font-size:14px; }
.guide-point p { margin:0; color:var(--info-text); font-size:13px; }
.guide-point.is-warning { border-color:var(--warning-border); background:var(--warning-bg); }
.guide-point.is-warning b, .guide-point.is-warning p { color:var(--warning); }
.guide-table { margin:0 0 12px; overflow-x:auto; border:1px solid var(--line); border-radius:10px; background:#fff; }
.guide-table table { width:100%; border-collapse:collapse; font-size:12px; }
.guide-table caption { padding:8px 10px; border-bottom:1px solid var(--line); background:var(--brand-50); color:var(--ink-700); font-weight:700; text-align:left; }
.guide-table th, .guide-table td { padding:7px 8px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; }
.guide-table tr:last-child th, .guide-table tr:last-child td { border-bottom:0; }
.guide-table thead th { background:#f8fafd; color:var(--ink-500); font-weight:700; white-space:nowrap; }
.guide-table tbody th { color:var(--ink-900); font-weight:700; white-space:nowrap; }
.guide-table td small { color:var(--ink-500); }
.guide-table .is-size { white-space:nowrap; }
.guide-steps, .guide-howto { display:grid; gap:10px; margin:0 0 12px; padding:0; list-style:none; counter-reset:guide-step; }
.guide-steps > li, .guide-howto > li { position:relative; padding-left:30px; counter-increment:guide-step; }
.guide-steps > li::before, .guide-howto > li::before { content:counter(guide-step); position:absolute; top:1px; left:0; display:flex; width:22px; height:22px; align-items:center; justify-content:center; border-radius:50%; background:var(--brand-700); color:#fff; font-size:12px; font-weight:700; }
.guide-steps > li > b, .guide-howto > li > b { display:block; font-size:14px; }
.guide-steps > li > p, .guide-howto > li > p { margin:2px 0 0; color:var(--ink-700); font-size:13px; }
.guide-howto .guide-figure, .guide-howto .guide-pair, .guide-howto .guide-point { margin:8px 0 0; }
.guide-list-plain { margin:0 0 12px; padding-left:18px; font-size:13px; }
.guide-list-plain li { margin-bottom:4px; }
.guide-tags a { padding:3px 10px; border:1px solid var(--line-strong); border-radius:999px; background:#fff; color:var(--brand-700); font-size:12px; font-weight:700; text-decoration:none; }
.guide-finish { margin:0 0 10px; padding:12px; border:1px solid #d5dfec; border-radius:13px; background:#fff; }
.guide-finish h3 { margin:0 0 8px; font-size:15px; }
.guide-finish .guide-figure { margin-bottom:8px; }
.guide-finish .guide-list-plain { margin-bottom:0; }
.guide-tags { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:12px; }
.guide-tags span { padding:3px 10px; border:1px solid var(--line-strong); border-radius:999px; background:#fff; color:var(--ink-700); font-size:12px; }
.guide-next { color:var(--ink-700); font-size:13px; }
.guide-next a { color:var(--brand-700); font-weight:700; }

/* 글 아래 */
.guide-related { margin:28px 0 20px; }
.guide-related h2 { margin:0 0 8px; font-size:16px; }
.guide-help { margin-top:20px; padding:16px; border:1px solid var(--line); border-radius:var(--radius-md); background:#fff; }
.guide-help b { display:block; font-size:15px; }
.guide-help p { margin:4px 0 0; color:var(--ink-700); font-size:13px; }
.guide-help__actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:12px; }
.guide-help__actions .button { min-height:44px; margin:0; padding:8px 10px; font-size:14px; }