.resume-tool .office-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.resume-tabs{display:none}.resume-tool{position:relative}.resume-preview{min-width:0}.resume-viewport{background:#eeeae0;width:100%;margin:14px 0;position:relative;overflow:hidden}#rv-paper{transform-origin:0 0;width:210mm;position:absolute;top:0;left:0}.rv-sheet{box-sizing:border-box;color:#222;background:#fff;width:210mm;height:297mm;margin:0 0 8mm;padding:12mm;box-shadow:0 1px 5px #0002}.rv-content{width:186mm;height:273mm;font-size:var(--resume-size,11pt);overflow-wrap:anywhere;color:#222;font-family:Arial,Microsoft JhengHei,PingFang TC,sans-serif;line-height:1.5}.rv-content *{min-width:0;max-width:100%}.rv-content h2{color:var(--resume-accent);margin:0 0 3mm;font-size:23pt;line-height:1.25}.rv-content h3{color:var(--resume-accent);border-bottom:.3mm solid var(--resume-accent);margin:5mm 0 2mm;font-size:13pt;line-height:1.4}.rv-content h4{margin:2mm 0 1mm;font-size:1.1em;line-height:1.4}.rv-content p{color:inherit;font-size:inherit;white-space:pre-wrap;orphans:2;widows:2;margin:0 0 2mm}.rv-content a{color:inherit;overflow-wrap:anywhere;word-break:break-all;text-decoration:underline}.rv-content .rv-date{color:#555;font-size:.9em}.rv-content img{object-fit:cover;width:25mm;height:32mm;margin:0 0 3mm;display:block}.rv-content .rv-bullet{text-indent:-4mm;padding-left:4mm}.rv-block{break-inside:avoid;margin:0 0 2mm}#rv-paper.modern .rv-content h3{border-left:1.5mm solid var(--resume-accent);background:#f1f4f2;border-bottom:0;padding-left:3mm}#rv-paper.formal .rv-content{font-family:Times New Roman,Songti TC,serif}#rv-paper.formal .rv-content h2{border-bottom:.6mm double var(--resume-accent);padding-bottom:3mm}#rv-paper.mono{--resume-accent:#111!important}#rv-paper.mono .rv-content :is(h2,h3,h4,p,a){color:#111}#rv-paper.mono .rv-content h3{background:#fff}#rv-paper.mono img{filter:grayscale()}.rv-section-editor{border:1px solid var(--line);border-radius:12px;margin:16px 0;padding:12px}.rv-section-editor h3{margin:4px 0}@media (width<=850px){.resume-tabs{gap:10px;margin:14px 0;display:flex}.resume-tool[data-view=edit] #rv-preview{visibility:hidden;pointer-events:none;width:calc(100% - 28px);height:0;position:absolute;top:0;left:14px;overflow:hidden}.resume-tool[data-view=preview] #rv-editor{display:none}.resume-tool .office-fields{grid-template-columns:minmax(0,1fr)}}@media print{@page resume-a4{size:A4 portrait;margin:0}body:has(#rv-tool){page:resume-a4;margin:0!important}body:has(#rv-tool) .tool-page{max-width:none!important}#rv-preview{visibility:visible!important;width:auto!important;height:auto!important;display:block!important;position:static!important;overflow:visible!important}#rv-preview>*{display:none!important}#rv-preview>.resume-viewport{background:#fff;margin:0;position:static;overflow:visible;height:auto!important;display:block!important}#rv-paper{position:static;transform:none!important}.rv-sheet{box-shadow:none;break-after:page;page-break-after:always;break-inside:avoid;-webkit-print-color-adjust:exact;print-color-adjust:exact;margin:0!important}.rv-sheet:last-child{break-after:auto;page-break-after:auto}body:has(#rv-tool) ins,body:has(#rv-tool) iframe{display:none!important}}
