/* KTAXHELP 체크리스트 — tools/build-checklist-assets.py 가 design/components/Checklist/preview.html 에서 생성. 직접 고치지 마세요.
   `.ktax-checklist` 안으로 한정하고 `.entry-content ` 접두사로 테마 본문 규칙보다 특정성을 높였습니다.
   글에 `ktax-checklist` 가 들어 있을 때만 functions.php 가 css/js 를 불러옵니다. */
.entry-content .ktax-checklist{margin:var(--space-10) 0;container-type:inline-size;background:var(--surface);border:1px solid var(--line-callout);border-radius:var(--radius-xl);box-shadow:var(--shadow-callout);max-width:820px}
.entry-content .ktax-checklist .hd{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:18px var(--callout-pad);border-bottom:1px solid var(--line-callout-inner)}
.entry-content .ktax-checklist .hl{display:flex;align-items:center;gap:11px}
.entry-content .ktax-checklist .tile{width:30px;height:30px;border-radius:var(--radius-tile);background:var(--accent);display:flex;align-items:center;justify-content:center;flex:none}
.entry-content .ktax-checklist .t{font-size:15px;font-weight:700;line-height:1.4}
.entry-content .ktax-checklist .st{font-size:12px;color:var(--ink-faint);line-height:1.4}
.entry-content .ktax-checklist .chip{padding:3px 10px;border-radius:var(--radius-pill);background:var(--accent-soft);color:var(--accent);font-size:11.5px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.entry-content .ktax-checklist .pr{padding:16px var(--callout-pad) 0}
.entry-content .ktax-checklist .bar{height:8px;border-radius:var(--radius-pill);background:var(--accent-underline);overflow:hidden}
.entry-content .ktax-checklist .bar i{display:block;height:100%;width:0;border-radius:var(--radius-pill);background:var(--accent);transition:width .2s ease}
.entry-content .ktax-checklist .ls{padding:6px var(--callout-pad) 4px}
.entry-content .ktax-checklist .it{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,36%);column-gap:16px;align-items:center;padding:6px 0}
.entry-content .ktax-checklist .it+.it{border-top:1px solid var(--line-callout-item)}
.entry-content .ktax-checklist .lb{display:grid;grid-template-columns:28px 1fr;gap:14px;align-items:start;min-height:44px;padding:8px 0;font-size:15.5px;line-height:1.75;color:var(--ink-callout);cursor:pointer}
.entry-content .ktax-checklist .lb input{appearance:none;-webkit-appearance:none;margin:2px 0 0;width:28px;height:28px;border:2px solid var(--ink-faint);border-radius:8px;background:var(--surface) center/18px no-repeat;cursor:pointer}
.entry-content .ktax-checklist .lb input:checked{background-color:var(--accent);border-color:var(--accent);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")}
.entry-content .ktax-checklist .lb input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.entry-content .ktax-checklist .lb input:checked+span{color:var(--ink-muted)}
.entry-content .ktax-checklist .lb span{font-weight:600}
.entry-content .ktax-checklist .nt{padding:8px 12px;border-radius:10px;background:var(--accent-soft);color:var(--ink-callout);font-size:13.5px;line-height:1.6;opacity:0;visibility:hidden;transform:translateX(-4px);transition:opacity .18s ease,transform .18s ease,visibility 0s .18s}
.entry-content .ktax-checklist .it.on .nt{opacity:1;visibility:visible;transform:none;transition:opacity .18s ease,transform .18s ease}
.entry-content .ktax-checklist .dn{margin:8px var(--callout-pad) 4px;padding:12px 16px;border-radius:10px;background:var(--surface-subtle);color:var(--tip);font-size:15px;font-weight:700}
.entry-content .ktax-checklist .ac{padding:14px var(--callout-pad) 20px}
.entry-content .ktax-checklist .btn{min-height:var(--touch-min);padding:0 20px;border-radius:var(--radius-sm);border:1px solid var(--accent);background:var(--surface);color:var(--accent);font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.entry-content .ktax-checklist .btn:hover{background:var(--accent-soft)}
.entry-content .ktax-checklist .btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.entry-content .ktax-checklist .gp{border-top:1px solid var(--line-callout-inner);margin-top:14px}
.entry-content .ktax-checklist .gp summary{display:flex;align-items:center;gap:12px;min-height:48px;padding:0 var(--callout-pad);cursor:pointer;list-style:none;font-size:15px;font-weight:700}
.entry-content .ktax-checklist .gp summary::-webkit-details-marker{display:none}
.entry-content .ktax-checklist .gp summary:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.entry-content .ktax-checklist .gp summary::after{content:"";margin-left:auto;margin-right:2px;width:8px;height:8px;border-right:2px solid var(--ink-muted);border-bottom:2px solid var(--ink-muted);transform:rotate(45deg);transition:transform .15s}
.entry-content .ktax-checklist .gp[open] summary::after{transform:rotate(-135deg)}
.entry-content .ktax-checklist .gc{font-size:12px;font-weight:600;padding:3px 10px;border-radius:var(--radius-pill);background:var(--accent-soft);color:var(--accent);font-variant-numeric:tabular-nums}
.entry-content .ktax-checklist .gp.done .gc{background:var(--tip);color:var(--on-accent)}
@container (max-width:560px){.entry-content .ktax-checklist .it{grid-template-columns:1fr;row-gap:0}
.entry-content .ktax-checklist .nt{display:none;margin:0 0 8px 42px}
.entry-content .ktax-checklist .it.on .nt{display:block}}
@media (prefers-reduced-motion:reduce){.entry-content .ktax-checklist .bar i,.entry-content .ktax-checklist .nt,.entry-content .ktax-checklist .gp summary::after{transition:none}}
.entry-content .ktax-checklist :where(p,ul,ol,li,label,details,summary){margin:0;padding:0}

