@media screen{
 #share-preview{width:min(1320px,96vw);max-width:96vw;max-height:94vh;padding:0;border:1px solid #d0dbe6;border-radius:10px;background:#f1f4f7;box-shadow:0 18px 70px #12283a40}
 #share-preview::backdrop{background:#14233299}
 .share-preview-toolbar{display:flex;align-items:center;justify-content:space-between;padding:9px 14px;gap:12px;border-bottom:1px solid #d9e2ec;background:#fff;font:600 13px 'Segoe UI',sans-serif;color:#37536d}
 #share-preview-close{font-size:13px;min-height:32px;padding:5px 12px;background:#fff;border:1px solid #d0dbe6;border-radius:6px}
 .share-preview-scroll{max-height:calc(94vh - 55px);overflow:auto;padding:10px}
 .share-preview-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:start;min-width:820px}
 .share-preview-document{padding:16px;background:white;min-width:0}
 .share-preview-weigh{background:white;min-width:0}
 #share-preview-original{display:block;width:100%;max-width:100%;height:auto;object-fit:contain}
 #share-preview .dispatch-form{font:13px 'Times New Roman',serif;color:#000}
 #share-preview .dispatch-company{gap:10px;margin-bottom:8px;padding-bottom:8px;align-items:center}
 #share-preview .dispatch-company>img{width:90px;height:auto;flex-shrink:0}
 #share-preview .dispatch-company h2{font:bold 14px 'Times New Roman';margin:0 0 4px}
 #share-preview .dispatch-company p{font:11px 'Times New Roman';line-height:1.25}
 #share-preview .dispatch-form>h1{font:bold 17px 'Times New Roman';margin:10px 0 5px;letter-spacing:0}
 #share-preview .dispatch-form p{font-size:13px;line-height:1.3;margin:5px 0!important}
 #share-preview .dispatch-meta{display:block}
 #share-preview .dispatch-meta>span{display:block;margin-bottom:4px}
 #share-preview .dispatch-table{font:12px 'Times New Roman'!important}
 #share-preview .dispatch-table th,#share-preview .dispatch-table td{padding:5px 3px!important;min-width:0!important;height:auto!important;line-height:1.3}
 #share-preview .dispatch-signatures{margin-top:26px;min-height:52px;font-size:12px;line-height:1.3}
}
@media print{#share-preview{display:none!important}}

@media screen{.share-preview-buttons{display:flex;gap:8px;align-items:center}#share-zalo-copy{font-size:13px;min-height:32px;padding:5px 12px;color:white;background:#0878d1;border:1px solid #0878d1;border-radius:6px}#share-zalo-copy:hover{background:#0769b6}#share-copy-status{margin:0;padding:0 14px;background:white;color:#285d43;font:12px/1.6 Segoe UI,sans-serif}#share-copy-status:not(:empty){padding-top:7px;padding-bottom:7px}.share-preview-scroll{max-height:calc(94vh - 90px)}}

@media screen{#share-preview .dispatch-table th{background:white!important;color:black!important;font-size:13px!important;font-weight:700!important}#share-preview .dispatch-table td{color:#000!important}}
