:root { --ink:#1d2433; --sub:#5b6478; --line:#dfe3ea; --blue:#2d5bd7; --red:#e22323; --soft:#f4f6fb; --yellow:#fff6d6; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:#fff; font:17px/1.7 "Pretendard","Apple SD Gothic Neo","Malgun Gothic",sans-serif; }
main { max-width:860px; margin:0 auto; padding:34px 22px 70px; }
h1 { font-size:31px; margin:0 0 6px; line-height:1.3; }
h2 { font-size:24px; margin:40px 0 12px; padding:8px 14px; background:var(--blue); color:#fff; border-radius:10px; }
h3 { font-size:19px; margin:20px 0 6px; }
.lead { color:var(--sub); margin:0 0 18px; }
.addr { display:flex; gap:20px; align-items:center; background:var(--soft); border-radius:14px; padding:16px 20px; }
.addr img { width:130px; height:130px; flex:none; }
.addr .big { font-size:24px; font-weight:800; color:var(--blue); word-break:break-all; }
.grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; }
.grid.two { grid-template-columns:repeat(2, 1fr); }
.card { break-inside:avoid; }
.card img { width:100%; border-radius:14px; border:1px solid var(--line); display:block; box-shadow:0 2px 10px rgba(0,0,0,.08); }
.card .t { display:flex; gap:8px; align-items:flex-start; margin:8px 0 0; font-size:16px; line-height:1.55; }
.card .t b.n { flex:none; width:28px; height:28px; border-radius:50%; background:var(--red); color:#fff; display:grid; place-items:center; font-size:15px; margin-top:1px; }
.tip { background:var(--yellow); border-radius:12px; padding:12px 16px; margin:14px 0; font-size:16px; break-inside:avoid; }
.prob { display:grid; grid-template-columns:200px 1fr; gap:16px; align-items:center; padding:12px 0; border-bottom:1px solid var(--line); break-inside:avoid; }
.prob img { width:100%; border-radius:12px; border:1px solid var(--line); }
.prob .k { font-weight:800; font-size:18px; margin-bottom:4px; }
.prob .ico { width:100%; aspect-ratio:1.3; border-radius:12px; background:var(--soft); display:grid; place-items:center; font-size:58px; }
.steps3 { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.steps3 div { background:var(--soft); border-radius:12px; padding:14px; text-align:center; font-size:16px; }
.steps3 .e { font-size:44px; display:block; }
code, .url { font-family:Consolas,"D2Coding",monospace; }
.btn { display:inline-block; border:1px solid #b8c2d6; border-radius:6px; padding:0 7px; background:#fff; font-weight:700; font-size:15.5px; white-space:nowrap; }
.warn { background:#fde8e8; color:#8f1f1f; border-radius:12px; padding:12px 16px; margin:14px 0; break-inside:avoid; }
ul.easy { padding-left:22px; } ul.easy li { margin:4px 0; }
.pb { break-before:page; }
@media (max-width:640px) { .grid { grid-template-columns:repeat(2,1fr); } .prob { grid-template-columns:1fr; } .steps3 { grid-template-columns:1fr; } }
@media print { main { padding:0; max-width:none; } h2 { break-after:avoid; } }
@page { size:A4; margin:13mm 13mm; }
@media print {
  .card img { max-height:300px; width:auto; max-width:100%; margin:0 auto; }
  .prob img { max-height:210px; width:auto; max-width:100%; }
  .grid { gap:14px; }
}
.grid.four { grid-template-columns:repeat(4, 1fr); }
.steps3, .steps3 div { break-inside:avoid; }
@media (max-width:640px) { .grid.four { grid-template-columns:repeat(2,1fr); } }
