.print-content-v2{color:#000;box-sizing:border-box;background:#fff;width:210mm;max-width:100%;min-height:297mm;margin:0 auto;padding:10mm 15mm;font-family:PingFang SC,Microsoft YaHei,sans-serif;font-size:9pt;line-height:1.4}.print-header-v2{border-bottom:1px solid #000;justify-content:space-between;align-items:flex-end;margin-bottom:7px;padding-bottom:5px;display:flex}.print-logo-v2{align-items:center;display:flex}.print-logo-v2 img,.print-logo-v2 svg{width:auto;height:28px}.print-header-meta{justify-content:flex-end;align-items:flex-end;padding-bottom:1px;font-size:8pt;line-height:1;display:flex}.print-patient-box{grid-template-columns:minmax(0,1fr) max-content;align-items:baseline;column-gap:32px;margin-bottom:9px;padding:9px 0 6px;display:grid}.print-patient-identity{align-items:baseline;gap:18px;min-width:0;display:flex}.print-patient-item{align-items:baseline;gap:7px;min-width:0;display:flex}.print-patient-label{color:#444;flex:none;font-size:8pt;font-weight:400}.print-patient-value{color:#000;min-width:0;font-size:9pt;font-weight:400}.print-patient-name .print-patient-value{overflow-wrap:anywhere;font-size:9.5pt;font-weight:700}.print-patient-gender-age{color:#444;white-space:nowrap;flex:none;font-size:8pt;font-weight:400}.print-record-date{white-space:nowrap}.print-record-date .print-patient-label,.print-record-date .print-patient-value{color:#444;font-size:8pt;font-weight:400}.print-section-v2{margin-bottom:11px}.section-header-v2{color:#222;border-bottom:1px solid #bbb;margin-bottom:3px;padding-bottom:2px;font-size:10pt;font-weight:600}.section-content-v2{padding-left:16px}.print-clinical-title{margin:6px 0 4px;font-size:9.5pt;font-weight:600}.print-tooth-findings-title{margin-bottom:4px;font-size:9.5pt;font-weight:600}.teeth-chart-caption{color:#999;text-align:center;margin-top:2px;font-size:7.5pt;font-weight:400}.print-tooth-findings{margin:4px 0 6px}.print-tooth-findings-table{border-collapse:collapse;table-layout:fixed;width:calc(100% - 40px);max-width:calc(100% - 40px);margin:0 20px;font-size:8.5pt;line-height:1.35}.print-tooth-findings-table thead{display:table-header-group}.print-tooth-findings-table tr{break-inside:avoid;page-break-inside:avoid}.print-tooth-findings-table th,.print-tooth-findings-table td{text-align:left;vertical-align:top;overflow-wrap:anywhere;border-bottom:1px solid #d8d8d8;padding:4px 7px}.print-tooth-findings-table th{background:#f5f5f5;border-top:1px solid #b8b8b8;border-bottom-color:#b8b8b8;font-weight:600}.print-tooth-findings-table th:first-child,.print-tooth-findings-table td:first-child{width:28%}.print-tooth-finding-teeth{font-weight:700}.print-field-v2{grid-template-columns:max-content minmax(0,1fr);align-items:flex-start;column-gap:.45em;margin-bottom:2px;font-size:9pt;line-height:1.35;display:grid}.field-label-v2{color:#000;white-space:nowrap;font-weight:600}.field-label-v2:after{content:"："}.field-value-v2{color:#000;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;min-width:0}.print-attachments-summary{flex-wrap:wrap;align-items:center;gap:18px;display:flex}.print-attachments-summary-item{align-items:center;gap:0;display:inline-flex}.print-attachments-summary-status{font-weight:700}.print-attachments-summary-status.no{color:#666;font-weight:400}.simple-teeth-table{width:max-content;max-width:100%;margin:0;font-size:8pt}.print-tooth-chart-section{break-inside:avoid;justify-content:center;margin:6px 0 9px;display:flex}.teeth-row{align-items:center;margin-bottom:4px;display:flex}.teeth-row-label{color:#333;width:36px;font-weight:500}.teeth-row-cells{gap:2px;display:flex}.teeth-cell{background:#fff;border:1px solid #999;flex:0 0 20px;justify-content:center;align-items:center;width:20px;height:20px;font-size:7.5pt;display:flex}.teeth-cell.selected{background:#fcc;border-color:#c00;font-weight:700}.teeth-cell.treated{background:#cce5ff;border-color:#06c}.teeth-cell.watch{background:#fff3cd;border-color:#c90}.teeth-divider{background:#333;width:1px;height:20px;margin:0 4px}.teeth-details{flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;font-size:8pt;display:flex}.teeth-detail-item{align-items:center;gap:4px;display:flex}.teeth-detail-item:after{content:"｜";color:#ccc;margin-left:6px}.teeth-detail-item:last-child:after{content:"";margin-left:0}.teeth-detail-fdi{color:#000;text-align:center;background:#e8e8e8;border-radius:3px;justify-content:center;align-items:center;min-width:28px;height:22px;padding:0 6px;font-weight:700;display:inline-flex}.teeth-detail-desc{color:#000}.teeth-annotation{color:#333;margin-top:4px;font-size:8pt}.teeth-annotation-label{font-weight:500}.section-remarks{color:#333;margin-top:6px;padding-left:16px;font-size:8pt}.print-divider-v2{text-align:center;color:#666;letter-spacing:3px;margin:30px 0 15px;font-size:8pt}.print-billing-area-v2{border:1px solid #333;border-top:2px solid #000;flex-direction:column;justify-content:space-between;min-height:35mm;margin-top:20px;padding:8px 12px;display:flex}.billing-placeholder{justify-content:space-between;align-items:center;font-size:8pt;display:flex}.billing-total{font-size:9.5pt;font-weight:700}.print-signature-v2{border-top:1px dashed #999;justify-content:space-between;margin-top:12px;padding-top:8px;font-size:8.5pt;display:flex}.print-signoff-v2{break-inside:avoid;page-break-inside:avoid;justify-content:space-between;align-items:flex-end;gap:10mm;width:108mm;min-height:16mm;margin:14px 0 0 auto;display:flex}.print-clinic-name{white-space:nowrap;font-size:9.5pt;font-weight:600}.print-doctor-signature{justify-content:flex-end;align-items:center;gap:10px;font-size:9pt;display:flex}.print-doctor-signature-line{border-bottom:1px solid #000;width:90px}.print-page-footer{border-top:.5pt solid #d1d5db;justify-content:flex-end;margin-top:14px;padding-top:4px;padding-bottom:1mm;display:flex}.print-page-footer-pages{color:#9ca3af;background:#fff;margin-right:6mm;padding-left:6px;font-size:7.5pt}@media screen{.print-content-v2{flex-direction:column;display:flex}.print-content-v2>*{width:100%}.print-content-v2>.print-page-footer{margin-top:auto}}@media print{.print-page-footer{display:none}@page{margin:10mm 15mm 14mm;size:A4;@bottom-center{content:"";width:100%;margin-bottom:3mm;border-top:.5pt solid #d1d5db}@bottom-right{content:counter(page) "/" counter(pages) "页";margin-right:6mm;padding-left:6px;white-space:nowrap;background:#fff;color:#9ca3af;font-family:Hiragino Sans GB,Heiti SC,Songti SC,Microsoft YaHei,SimSun,Noto Sans CJK SC,Noto Sans SC,sans-serif;font-size:8pt}}.print-content-v2{font-family:Hiragino Sans GB,Heiti SC,Songti SC,Microsoft YaHei,SimSun,Noto Sans CJK SC,Noto Sans SC,sans-serif!important}html,body,#main,.print-preview-container,.print-content-v2{scrollbar-width:none!important;-ms-overflow-style:none!important;height:auto!important;min-height:0!important;overflow:visible!important}::-webkit-scrollbar{width:0!important;display:none!important}.print-content-v2{width:100%;box-shadow:none;box-sizing:border-box;border:none;padding:0;position:static;background:#fff!important;min-height:0!important}.teeth-cell.selected,.teeth-cell.treated,.teeth-cell.watch{-webkit-print-color-adjust:exact;print-color-adjust:exact}}@media screen{.print-content-v2{border:1px solid #ddd;box-shadow:0 2px 10px rgba(0,0,0,.1)}}.print-billing-area-v2.no-border{border:none;min-height:0;margin-top:18px;padding:0;display:block}.print-charge-page-guide{display:none}@media print{.print-billing-area-v2.is-single-print-page{break-inside:avoid-page;page-break-inside:avoid}.print-billing-area-v2.is-deferred-to-next-page{break-before:page;page-break-before:always}.print-charge-page-guide{color:#555;letter-spacing:2px;white-space:nowrap;align-items:center;gap:12px;margin-top:28px;font-size:8pt;display:flex}.print-charge-page-guide:before,.print-charge-page-guide:after{content:"";border-top:1px dashed #999;flex:1}}.medical-charge-table{border-collapse:separate;border-spacing:0;table-layout:fixed;border:1px solid #bbb;width:100%;font-size:8.5pt;line-height:1.25}.medical-charge-table thead{display:table-header-group}.medical-charge-table th,.medical-charge-table td{text-align:left;vertical-align:top;overflow-wrap:anywhere;border-bottom:1px solid #eee;padding:4px 8px}.medical-charge-table .medical-charge-title-row th{text-align:center;letter-spacing:3px;color:#555;background:#fff;border-bottom:1px dashed #999;padding:6px 8px;font-weight:600}.medical-charge-table .medical-charge-columns th{background:#f6f6f6;border-bottom:1px solid #ddd;padding:5px 8px;font-size:8.5pt;font-weight:600;line-height:1.2}.medical-charge-table tbody tr{break-inside:avoid;page-break-inside:avoid}.medical-charge-table tbody tr:last-child td{border-bottom:none}.medical-charge-table .medical-charge-pricing-detail td{color:#666;background:#fafafa;font-size:8pt}.medical-charge-table .medical-charge-pricing-detail .charge-col-name{white-space:nowrap;padding-left:18px}.medical-charge-table .medical-charge-pricing-detail .charge-col-subtotal{font-weight:400}.medical-charge-table .medical-charge-col-name{width:48%}.medical-charge-table .medical-charge-col-category{width:18%}.medical-charge-table .medical-charge-col-qty{width:10%}.medical-charge-table .medical-charge-col-price,.medical-charge-table .medical-charge-col-subtotal{width:12%}.medical-charge-table .charge-col-category{text-align:right}.medical-charge-table .charge-col-qty{text-align:center}.medical-charge-table .charge-col-price{text-align:right}.medical-charge-table .charge-col-subtotal{text-align:right;font-weight:500}.print-content-v2 .charge-col-price,.print-content-v2 .charge-col-subtotal,.print-content-v2 .charge-summary-value{font-variant-numeric:tabular-nums}.print-content-v2 .charge-summary.embedded{break-inside:avoid;page-break-inside:avoid;break-before:avoid-page;page-break-before:avoid;background:0 0;border:none;margin-top:6px;padding:6px 0 0}.print-content-v2 .charge-summary-row{gap:10px;margin-bottom:0}.print-content-v2 .charge-summary-row.total{border-top:1px solid #999;padding-top:6px;font-size:9pt;font-weight:700}.print-content-v2 .charge-summary-label{color:#333;font-size:8pt}.print-content-v2 .charge-summary-value{text-align:right;background:#f3f3f3;border-radius:4px;min-width:86px;padding:1px 6px;font-size:9pt;font-weight:700}@media screen and (width<=768px){.print-content-v2{width:100%;padding:16px}.print-patient-box{grid-template-columns:1fr;row-gap:4px}.print-patient-identity{flex-wrap:wrap;row-gap:2px}.print-tooth-findings-table{width:calc(100% - 24px);max-width:calc(100% - 24px);margin-left:12px;margin-right:12px}.teeth-row-cells{grid-template-columns:repeat(8,24px);gap:2px;display:grid!important}.teeth-divider{display:none}.teeth-cell{width:24px;height:24px;font-size:9pt}.print-content-v2 .charge-table.embedded{font-size:9pt}.charge-col-category{display:none}}