/* 이력서 양식 전용 — 입력 카드의 줄 편집 배치 + A4 한 장에 들어가도록 촘촘한 종이 표.
   공용 doc-kit.css 는 건드리지 않고, 이 쪽(.sd-doc.rs) 안에서만 크기를 줄인다. 글자 크기는 .sd-doc 가 아니라 표 칸에 준다(인쇄 규칙이 .sd-doc 글자 크기를 덮어쓰므로). */

/* 입력 카드: 줄 안의 칸 배치 */
.rs-grid{display:grid; gap:6px}
.rs-grid+.rs-grid{margin-top:6px}
.rs-grid.c1{grid-template-columns:minmax(0,1fr)}
.rs-grid.c2{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
@media (max-width:420px){ .rs-grid.c2{grid-template-columns:minmax(0,1fr)} }
.rs-full{margin:6px 0 0}
.rs-count{font-size:13px; color:var(--t3); margin:4px 0 0; text-align:right; font-variant-numeric:tabular-nums}

/* 종이 */
.sd-doc.rs h2.doc-title{font-size:23px; line-height:1.3; margin:0 0 8px}
.sd-doc.rs table{margin:5px 0; table-layout:fixed}
.sd-doc.rs th,.sd-doc.rs td{font-size:12.5px; line-height:1.4; padding:2px 6px; overflow-wrap:anywhere}
.sd-doc.rs th{width:auto; text-align:center; white-space:nowrap; font-weight:600}
.sd-doc.rs table.doc-eq th{padding-left:6px; padding-right:6px}
.sd-doc.rs .rs-h{font-size:13.5px; line-height:1.4; font-weight:700; margin:8px 0 0}
.sd-doc.rs .rs-list td{height:24px}
.sd-doc.rs .doc-box{font-size:12.5px; line-height:1.5; padding:5px 9px; margin:4px 0; min-height:160px; overflow-wrap:anywhere}   /* 자기소개 8줄(12.5px×1.5)이 들어가는 높이 = .doc 도 120pt */
.sd-doc.rs .rs-end{margin:8px 0 0; line-height:1.4; text-align:center; font-size:13px}
.sd-doc.rs .rs-sign{margin:4px 0 0; line-height:1.4; text-align:right; font-size:13px}

/* 맨 위: 사진 자리(3.0×4.0cm 점선 네모) + 인적사항 */
.sd-doc.rs table.rs-top th{width:5.2em}
.sd-doc.rs table.rs-top td.rs-ph{width:calc(3cm + 14px); padding:6px; text-align:center; vertical-align:middle}
.sd-doc.rs .rs-photo{width:3cm; height:4cm; margin:0 auto; border:1.5px dashed #999; display:flex; align-items:center; justify-content:center; text-align:center;
  font-size:12px; line-height:1.5; color:#777; overflow-wrap:normal}
