/* 简历排版：编辑器预览、在线简历页、打印 PDF 共用 */
.resume{--c:#2563eb;box-sizing:border-box;-webkit-print-color-adjust:exact;print-color-adjust:exact;width:210mm;min-height:297mm;padding:14mm 16mm;background:#fff;color:#1f2937;
  font-family:"Noto Sans CJK SC","PingFang SC","Microsoft YaHei","Source Han Sans SC",sans-serif;font-size:10.5pt;line-height:1.6}
.resume h1{font-size:24pt;margin:0 0 2mm;color:#111827;letter-spacing:1px}
.resume .meta{margin:0 0 4mm;color:#4b5563;font-size:10pt}
.resume h2{font-size:12.5pt;margin:5mm 0 2mm;color:var(--c);break-after:avoid}
.resume h3{display:flex;justify-content:space-between;gap:6mm;font-size:10.5pt;margin:3mm 0 1mm;color:#111827;break-after:avoid}
.resume h3 .dt{font-weight:400;color:#6b7280;white-space:nowrap}
.resume p{margin:1mm 0}
.resume ul{margin:1mm 0;padding-left:5mm}
.resume li{margin:.6mm 0;break-inside:avoid}
.resume a{color:var(--c);text-decoration:none}
.resume strong{color:#111827}
.resume img{max-width:30mm;max-height:38mm;float:right;border-radius:2mm}
/* 清爽：标题下一条色线 */
.t-simple h2{border-bottom:1.2pt solid var(--c);padding-bottom:1mm}
/* 经典：名字居中、标题左侧色块、衬线 */
.t-classic{font-family:"Noto Serif CJK SC","Songti SC","SimSun",serif}
.t-classic h1,.t-classic .meta{text-align:center}
.t-classic h2{background:color-mix(in srgb,var(--c) 10%,#fff);border-left:3pt solid var(--c);padding:1mm 3mm}
/* 紧凑：字号行距都收一点，内容多也能压进一页 */
.t-compact{font-size:9.5pt;line-height:1.45;padding:10mm 13mm}
.t-compact h1{font-size:20pt}
.t-compact h2{font-size:11.5pt;margin:3.5mm 0 1.2mm;border-bottom:.8pt solid #d1d5db;padding-bottom:.6mm}
.t-compact h3{margin:2mm 0 .6mm}
@page{size:A4;margin:0}
@media print{html,body{background:#fff!important;margin:0}.resume{box-shadow:none!important;margin:0!important}}
