/* Reports use only their own namespace so application layout remains independent. */
.avf-report{color:#172b35;font:11pt/1.55 "Microsoft YaHei","PingFang SC",Arial,sans-serif;overflow-wrap:anywhere;word-break:normal}
.avf-report *{box-sizing:border-box}
.avf-report-header{border-bottom:2px solid #176c78;padding-bottom:5mm;margin-bottom:5mm}
.avf-report h1{font-size:19pt;text-align:center;margin:0 0 4mm;font-weight:700;line-height:1.4}
.avf-report-header p{margin:1mm 0;font-size:10pt}
.avf-report-identity{font-weight:700}
.avf-report h2{font-size:11.5pt;margin:0 0 2mm;padding:1.5mm 2mm;background:#eef5f6;border-left:3px solid #176c78;break-after:avoid;page-break-after:avoid}
.avf-report-section{margin:0 0 4mm;break-inside:auto}
.avf-report dl{margin:0}
.avf-report-row{display:block;border-bottom:1px solid #e8edf0;padding:1.5mm 1mm;break-inside:avoid;page-break-inside:avoid}
.avf-report dt{display:inline;font-weight:600;color:#3e5460}
.avf-report dt:after{content:"："}
.avf-report dd{display:inline;margin:0;white-space:pre-wrap}
.avf-report-section p{margin:2mm 0;white-space:pre-wrap}
.avf-report-images{margin:4mm 0;font-size:0}
.avf-report-images figure{display:inline-block;vertical-align:top;width:49%;margin:0 1% 4mm 0;padding:2mm;border:1px solid #dbe3e7;break-inside:avoid;page-break-inside:avoid;font-size:9pt}
.avf-report-images img{display:block;width:100%;height:auto;max-height:98mm;object-fit:contain;object-position:center;background:#fff}
.avf-report-images figcaption{padding-top:2mm;line-height:1.4;text-align:center;color:#425b69;overflow-wrap:anywhere}
.avf-report-footer{border-top:1px solid #bac8cf;padding-top:3mm;margin-top:5mm;color:#667883;font-size:8pt;break-inside:avoid}
.avf-report-editor{position:fixed;inset:0;z-index:6000;background:#102e40b0;display:flex;justify-content:center;align-items:center;padding:18px;color:#21333f;font:14px/1.5 "Microsoft YaHei","PingFang SC",Arial,sans-serif}
.avf-report-editor [hidden]{display:none!important}
.avf-report-editor *{box-sizing:border-box}
.avf-report-editor-panel{background:#fff;border-radius:16px;width:min(1180px,100%);height:min(94dvh,1000px);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 18px 70px #102e4070}
.avf-report-editor button,.avf-report-editor select,.avf-report-editor input[type=url]{font:inherit}
.avf-report-editor button{border:1px solid #c6d4da;background:#fff;border-radius:8px;padding:8px 12px;min-height:40px;color:#21333f;cursor:pointer}
.avf-report-editor button:disabled{opacity:.55;cursor:wait}
.avf-report-editor-head{display:flex;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid #dde6eb;flex-shrink:0}
.avf-report-editor-head h2{margin:0;font-size:20px}
.avf-report-editor-head p{margin:4px 0 0;color:#596e7b;font-size:13px}
.avf-report-editor .avf-report-close{border:0;font-size:26px;align-self:flex-start;padding:0;width:40px;flex-shrink:0}
.avf-report-editor-body{display:flex;min-height:0;flex:1;overflow:hidden}
.avf-report-controls{width:290px;flex-shrink:0;padding:16px;overflow:auto;border-right:1px solid #dde6eb}
.avf-report-controls h3{font-size:15px;margin:0 0 8px}
.avf-report-count{color:#617580;font-size:12px;font-weight:400}
.avf-report-help{font-size:12px;color:#667883;margin:6px 0 12px}
.avf-report-select-actions{display:flex;gap:8px;margin-bottom:10px}
.avf-report-thumbnails{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:16px}
.avf-report-thumbnail{position:relative;border:1px solid #d7e1e7;border-radius:8px;overflow:hidden;cursor:pointer;min-width:0;background:#f8fafb}
.avf-report-thumbnail:has(input:checked){border:2px solid #167888}
.avf-report-thumbnail input{position:absolute;top:5px;left:5px;width:20px;height:20px;z-index:1;accent-color:#176c78}
.avf-report-thumbnail img{display:block;width:100%;height:88px;object-fit:contain;background:#edf2f4}
.avf-report-thumbnail>span{display:block;font-size:11px;padding:5px;overflow-wrap:anywhere}
.avf-report-option{display:block;margin:10px 0;font-size:13px}
.avf-report-option input{accent-color:#176c78;vertical-align:middle;width:18px;height:18px}
.avf-report-share-settings{border-top:1px solid #dce5ea;padding-top:14px;margin-top:16px}
.avf-report-share-settings select{margin-left:8px;padding:7px;border:1px solid #c6d4da;border-radius:7px;background:#fff;color:#21333f}
.avf-report-link{background:#e9f5f4;border-radius:8px;padding:10px;margin-top:12px;font-size:12px}
.avf-report-link input{display:block;width:100%;padding:7px;margin:6px 0;background:#fff;border:1px solid #afcacb;border-radius:5px}
.avf-report-link [data-action="manual-copy"]{margin-top:8px}
.avf-report-copy-dialog{position:fixed;inset:0;z-index:6100;display:flex;align-items:center;justify-content:center;padding:16px;background:#102e40b8;overscroll-behavior:contain}
.avf-report-copy-panel{background:#fff;width:min(560px,100%);max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #b5d2d7;border-radius:14px;padding:20px;box-shadow:0 16px 50px #102e4040}
.avf-report-copy-panel header{display:flex;align-items:center;justify-content:space-between;gap:12px}.avf-report-copy-panel h3{margin:0;font-size:19px;color:#175f6d}.avf-report-copy-panel header button{font-size:24px;flex-shrink:0}
.avf-report-copy-panel p{font-size:14px;line-height:1.7}.avf-report-copy-panel label{display:grid;gap:8px;font-size:14px;font-weight:600}
.avf-report-copy-panel textarea{display:block;width:100%;min-height:112px;resize:vertical;box-sizing:border-box;border:2px solid #68a8b4;border-radius:8px;background:#f1f8fb;color:#173f55;padding:12px;font:16px/1.6 "Microsoft YaHei","PingFang SC",Arial,sans-serif;overflow-wrap:anywhere;word-break:break-all;user-select:text!important;-webkit-user-select:text!important;-webkit-touch-callout:default}
.avf-report-copy-dialog-status{padding:10px 12px;border-radius:8px;background:#fff8e9;color:#75551f}.avf-report-copy-expiry{color:#667883}.avf-report-copy-expiry:empty{display:none}
.avf-report-copy-actions{display:flex;flex-wrap:wrap;gap:8px}.avf-report-copy-panel button{min-height:44px}.avf-report-copy-panel button:focus-visible,.avf-report-copy-panel textarea:focus-visible{outline:3px solid #83c4d0;outline-offset:2px}
@media(max-width:650px){.avf-report-copy-panel{padding:16px}.avf-report-copy-actions button{flex:1 1 90px}}
.avf-report-preview{flex:1;min-width:0;overflow:auto;background:#e8edf1;padding:16px}
.avf-report-preview-label{text-align:center;font-size:12px;color:#5b717e;margin-bottom:12px}
.avf-report-paper-stage{position:relative;width:100%;max-width:210mm;margin:0 auto}
.avf-report-paper{width:210mm;min-height:297mm;background:#fff;padding:12mm;transform-origin:top left;box-shadow:0 2px 12px #1b34451a}
.avf-report-editor-actions{padding:12px 20px;border-top:1px solid #dde6eb;background:#fff;flex-shrink:0}
.avf-report-editor-actions>div{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.avf-report-editor-status{font-size:13px;color:#176c78;margin:0 0 8px;overflow-wrap:anywhere}
.avf-report-editor-status:empty{display:none}
.avf-report-editor .avf-report-primary{background:#176c78;color:#fff;border-color:#176c78}
#avf-print-status{z-index:7000}
.avf-shared-report{margin:0;background:#e8edf1;color:#172b35}
.avf-shared-report>main{max-width:210mm;margin:16px auto 32px;padding:12mm;background:#fff;box-sizing:border-box;box-shadow:0 2px 12px #1b34451a}
@media(max-width:650px){
 .avf-report-editor{padding:0}.avf-report-editor-panel{width:100%;height:100dvh;border-radius:0}.avf-report-editor-head{padding:12px}.avf-report-editor-head h2{font-size:18px}
 .avf-report-editor-body{display:block;overflow:auto}.avf-report-controls{width:100%;overflow:visible;padding:12px;border-right:0;border-bottom:1px solid #dde6eb}
 .avf-report-thumbnails{grid-template-columns:repeat(3,1fr);max-height:224px;overflow:auto}.avf-report-thumbnail img{height:72px}.avf-report-preview{overflow:hidden;padding:12px}
 .avf-report-editor-actions{padding:10px 12px}.avf-report-editor-actions>div{justify-content:stretch}.avf-report-editor-actions button{flex:1;font-size:13px;padding:8px}
 .avf-shared-report>main{margin:12px;padding:16px}
}
@page{size:A4 portrait;margin:12mm}
@media print{
 .avf-report-editor{display:none!important}.avf-report{width:100%;margin:0;padding:0;background:#fff}
 .avf-report h1{font-size:18pt}.avf-report h2{-webkit-print-color-adjust:exact;print-color-adjust:exact}
 .avf-report-images figure{display:inline-block!important;overflow:visible!important;break-inside:avoid!important;page-break-inside:avoid!important}
 .avf-report-images img{object-fit:contain!important;height:auto!important;max-height:98mm!important}
 .avf-report dd{orphans:3;widows:3}
 /* The legacy stylesheet targets #print-area with !important. Keep the new
    report's physical typography and image bounds stronger and fully scoped. */
 #print-area .avf-report{font-size:11pt!important;line-height:1.55!important}
 #print-area .avf-report .avf-report-row{font-size:11pt!important;padding:1.5mm 1mm!important}
 #print-area .avf-report h1{font-size:18pt!important;margin:0 0 4mm!important;line-height:1.4!important}
 #print-area .avf-report h2{font-size:11.5pt!important;margin:0 0 2mm!important;padding:1.5mm 2mm!important}
 #print-area .avf-report .avf-report-header p{font-size:10pt!important;margin:1mm 0!important}
 #print-area .avf-report .avf-report-images img{width:100%!important;height:auto!important;max-height:98mm!important;object-fit:contain!important}
 #print-area .avf-report .avf-report-images figcaption{font-size:9pt!important}
 #print-area .avf-report .avf-report-footer{font-size:8pt!important}
 .avf-shared-report{background:#fff}.avf-shared-report>main{max-width:none;margin:0;padding:0;box-shadow:none}.avf-share-notice{display:none!important}
}

/* Compact document owns its physical margins. */
.avf-report-paper{padding:0;background:transparent;box-shadow:none}
.avf-report-paper-stage[hidden]{display:none!important}
.avf-report-preview-label.is-overflow{color:#9b2e33;background:#fff0f0;padding:10px;border-radius:8px;text-align:left}
.avf-report-text-editor{margin:14px 0;border:1px solid #dce5ea;padding:10px;border-radius:8px}
.avf-report-text-editor summary{font-weight:600;cursor:pointer}
.avf-report-text-fields fieldset{border:0;padding:0;margin:12px 0}
.avf-report-text-fields legend{font-weight:700;color:#176c78;font-size:13px}
.avf-report-text-fields label{display:block;margin:8px 0;font-size:12px}
.avf-report-text-fields textarea{display:block;width:100%;resize:vertical;min-height:36px;font:inherit;font-size:14px;color:#172b35;background:#fff;padding:7px;border:1px solid #b8cbd4;border-radius:6px}
.avf-report-image-output{padding:16px;background:#fff;border-radius:10px}
.avf-report-image-output h3{margin:0}.avf-report-image-output p{font-size:13px;color:#526e7a}
.avf-report-image-output img{display:block;width:100%;max-width:540px;height:auto;margin:12px auto;user-select:auto;-webkit-touch-callout:default}
.avf-report-image-output>div{display:flex;gap:8px;flex-wrap:wrap}
.avf-report-image-output a{display:inline-flex;align-items:center;border-radius:8px;padding:8px 12px;min-height:40px;background:#176c78;color:white;text-decoration:none}
.avf-report-copy-status{font-size:13px;line-height:1.6;font-weight:600;user-select:text;margin:8px 0 0}
@media(max-width:650px){.avf-report-text-fields textarea{font-size:16px}.avf-report-image-output{padding:10px}}
.avf-report-link input{user-select:text;-webkit-user-select:text;font-size:16px}
