/* 사용설명서 두 종(심사원용 guide.html, 관리자용 guide_admin.html)이 함께 쓰는 꾸밈. 화면과 PDF(인쇄) 모양을 같이 정한다 */
:root { --ink:#222222; --sub:#5f6068; --line:#e3e1df; --bg:#f6f5f3; --brand:#142638; --soft:#e3eaf0; }
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--ink); font-family:-apple-system,"Apple SD Gothic Neo","Malgun Gothic",sans-serif; line-height:1.65; }
.wrap { max-width:880px; margin:0 auto; padding:0 16px; }
header.top { background:#fff; border-bottom:1px solid var(--line); }
header.top .wrap { display:flex; align-items:center; justify-content:space-between; gap:12px; height:68px; }
.logo img { height:44px; width:auto; display:block; }
.tools { display:flex; align-items:center; gap:16px; font-size:14px; }
.tools a { color:var(--sub); text-decoration:none; }
.tools a.pdf { color:var(--brand); font-weight:700; }
.hero { padding:44px 0 28px; }
.hero h1 { margin:0 0 8px; font-size:30px; letter-spacing:-0.02em; }
.hero p { margin:0; color:var(--sub); font-size:16px; }
.aud { display:inline-block; vertical-align:middle; font-size:14px; font-weight:800; letter-spacing:0; color:var(--brand); background:var(--soft); border:1px solid var(--brand); border-radius:20px; padding:1px 12px; margin-left:6px; }
.quick { margin:24px 0 8px; background:#fff; border:1px solid var(--line); border-top:3px solid var(--brand); border-radius:14px; padding:20px 22px; }
.quick ol { margin:8px 0 0; padding-left:20px; }
.quick li { margin:4px 0; }
.url { font-family:ui-monospace,Menlo,monospace; background:var(--soft); color:var(--brand); padding:2px 8px; border-radius:6px; font-size:.95em; word-break:break-all; }
section.step { background:#fff; border:1px solid var(--line); border-radius:14px; padding:24px 22px; margin:18px 0; }
figure, table, .tip { break-inside:avoid; }
h2, h3 { break-after:avoid; }
.no { display:inline-block; font-size:13px; font-weight:800; color:#fff; background:var(--brand); border-radius:20px; padding:2px 12px; }
h2 { margin:10px 0 6px; font-size:21px; }
h3 { margin:22px 0 6px; font-size:17px; }
section p, section li { font-size:15.5px; }
section ul, section ol { padding-left:20px; margin:6px 0; }
figure { margin:14px 0 4px; }
figure img { display:block; width:100%; height:auto; border:1px solid var(--line); border-radius:10px; }
figure.narrow img { max-width:420px; margin:0 auto; }
figcaption { font-size:13px; color:var(--sub); text-align:center; margin-top:6px; }
table { width:100%; border-collapse:collapse; margin:8px 0; font-size:14.5px; }
th, td { text-align:left; padding:8px 10px; border-bottom:1px solid var(--line); vertical-align:top; }
th { background:var(--bg); font-size:13px; color:var(--sub); }
td:first-child { white-space:nowrap; font-weight:700; }
th:first-child { white-space:nowrap; }
.tip { background:#fff8e1; border:1px solid #f2dd9b; border-radius:10px; padding:12px 14px; font-size:14.5px; margin-top:12px; }
.check { list-style:none; padding-left:0; }
.check li { padding-left:26px; position:relative; margin:6px 0; }
.check li::before { content:""; position:absolute; left:2px; top:.35em; width:14px; height:14px; border:1.5px solid var(--sub); border-radius:3px; }
footer { color:var(--sub); font-size:13px; text-align:center; padding:24px 0 48px; }
@media (max-width:560px) { .hero h1 { font-size:24px; } td:first-child { white-space:normal; } .logo img { height:36px; } .tools { gap:10px; font-size:13px; } }
@media print {
  @page { size:A4; margin:14mm 12mm; }
  body { background:#fff; }
  .tools { display:none; }
  header.top { border:0; }
  .hero { padding:8px 0 6px; }
  section.step, .quick { border-color:#ccc; }
  figure img { max-height:82mm; width:auto; max-width:100%; margin:0 auto; }
  figure.narrow img { max-height:74mm; }
  figure.tall img { max-height:112mm; }
  section.step { padding:14px 16px; margin:10px 0; }
  section.step.newpage { break-before:page; }
  /* 짧은 묶음은 쪽 사이에서 갈라지지 않게 통째로 다음 쪽으로 넘긴다 */
  section.step.keep { break-inside:avoid; }
  .tip { font-size:12.5px; padding:8px 12px; margin-top:8px; }
  section p, section li, table { font-size:12.5px; }
  h2 { font-size:18px; margin:6px 0 4px; }
  h3 { font-size:15px; margin:12px 0 4px; }
  figure { margin:8px 0 2px; }
}
