/* Report presentation only. Stock operations and stored records are unchanged. */
.report-document{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px;margin-bottom:24px;min-width:0}
.report-header{display:flex;align-items:flex-start;gap:18px;padding:0 0 24px;margin-bottom:24px;border-bottom:2px solid #273751}
.report-logo{width:56px;height:56px;object-fit:contain;flex-shrink:0}
.report-identity{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.report-identity strong{font-size:18px;color:#20304a}.report-identity span{font-size:11px;color:#67748a}
.report-heading{text-align:right;max-width:46%}.report-heading>span{font-size:8px;letter-spacing:1.8px;font-weight:700;color:#75849b}.report-heading h2{font-size:21px;color:#20304a;margin:5px 0 6px}.report-heading p{font-size:11px;color:#67748a;margin:0}
.report-footer{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#7b8798;border-top:1px solid #dbe0e8;padding-top:16px;margin-top:26px}
.report-document>.panel{box-shadow:none;border:0;padding:12px 0;margin-bottom:16px;border-radius:0}
.report-document .transaction-heading .eyebrow,.report-document .transaction-heading p.muted{display:none}
.report-document .stats{gap:12px}.report-document .stat{box-shadow:none;border-radius:10px;background:#f8fafd}
.whatsapp{background:#087b54!important;border-color:#087b54!important;color:white!important}
.report-share-actions{margin-top:14px}.share-label{font-size:12px;color:var(--muted)}
.report-share-dialog{border:1px solid var(--line);border-radius:20px;padding:26px;width:min(600px,calc(100vw - 28px));max-height:calc(100dvh - 40px);color:var(--ink);box-shadow:0 25px 100px #0b1b3c40}
.report-share-dialog::backdrop{background:#15223b80;backdrop-filter:blur(3px)}
.report-share-dialog textarea{height:290px;max-height:40dvh;font-size:13px;line-height:1.7;margin-top:8px;resize:vertical;white-space:pre-wrap}
.report-share-dialog>.actions{margin:16px 0}.share-hint{font-size:12px;color:#426052;margin:12px 0}
.activity-details{margin:18px 0 0;padding:16px 20px;background:#f8f9fc;border-radius:12px}
.activity-details>div{display:grid;grid-template-columns:155px minmax(0,1fr);gap:16px;padding:8px 0;border-bottom:1px solid var(--line)}
.activity-details>div:last-child{border:0}.activity-details dt{font-size:12px;color:#788296}.activity-details dd{margin:0;font-size:13px;color:#29354a;overflow-wrap:anywhere}
.print-only{display:none}
@media(max-width:760px){.report-document{padding:20px 16px}.report-header{flex-wrap:wrap;gap:12px}.report-logo{width:44px;height:44px}.report-heading{width:100%;max-width:none;text-align:left;margin-top:6px}.report-heading h2{font-size:21px}.report-identity strong{font-size:16px}.report-footer{flex-direction:column;gap:4px}.report-share-dialog{padding:20px}.activity-details{padding:12px}.activity-details>div{grid-template-columns:1fr;gap:3px}.report-document .stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@page{size:A4 portrait;margin:16mm 14mm 17mm}
@media print{
  html,body{background:white!important;color:#17263c!important;font-size:10pt!important;overflow:visible!important}
  body .workspace{margin:0!important}body #main{padding:0!important;margin:0!important;max-width:none!important}
  #sidebar,.topbar,.page-heading,.footer,.toast,.shade,.toolbar,.no-print,.report-share-dialog{display:none!important}
  body #main>.notice,body #main>form,body #main>.actions{display:none!important}
  body .report-document{padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;break-inside:auto!important;width:100%!important;max-width:none!important}
  body .report-document .panel{border:0!important;padding:0!important;box-shadow:none!important;break-inside:auto!important}
  body .report-header{display:flex!important;flex-wrap:nowrap!important;align-items:flex-start!important;padding-bottom:6mm!important;margin-bottom:7mm!important;border-bottom:2px solid #20304a!important;break-inside:avoid}
  body .report-logo{width:15mm!important;height:15mm!important}
  body .report-heading{width:auto!important;max-width:48%!important;margin:0!important;text-align:right!important}
  body .report-heading h2{font-size:17pt!important;line-height:1.25!important;color:#20304a!important}
  body .report-identity strong{font-size:14pt!important}.report-identity span{font-size:8pt!important}
  body .report-document .table-wrap{overflow:visible!important}
  body .report-document table{display:table!important;width:100%!important;table-layout:fixed;font-size:8.5pt!important;border-collapse:collapse!important}
  body .report-document thead{display:table-header-group!important}
  body .report-document tbody{display:table-row-group!important}
  body .report-document tr{display:table-row!important;break-inside:avoid!important;border:0!important}
  body .report-document th,body .report-document td,body .report-document td:first-child{display:table-cell!important;width:auto!important;padding:3mm 2.5mm!important;vertical-align:top!important;text-align:left!important;border-bottom:1px solid #dce2eb!important;overflow-wrap:anywhere!important}
  body .report-document th{background:#eaf0f7!important;color:#283c58!important;font-size:8pt!important;font-weight:700!important;border-top:1px solid #bdcada!important}
  body .report-document td:before{display:none!important;content:none!important}
  body .report-document td small{display:block!important;font-size:7pt!important;margin-top:1mm!important;color:#657289!important}
  body .report-document .product-cell{display:flex!important;gap:2mm!important}
  body .report-document .product-cell img,body .report-document .product-placeholder{width:10mm!important;height:10mm!important}
  body .report-document .stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3mm!important;break-inside:avoid!important}
  body .report-document .stat{padding:4mm!important;border:1px solid #dce2eb!important;border-radius:2mm!important;box-shadow:none!important}
  body .report-document .stat strong{font-size:19pt!important;margin:2mm 0!important}
  body .report-document .detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4mm!important;padding:2mm 0 6mm!important;break-inside:avoid!important}
  body .report-document .detail-grid strong{font-size:9pt!important}
  body .report-document .badge{border:1px solid #c7d1df!important;color:#263850!important;background:white!important;font-size:8pt!important}
  body .report-document .section-heading{margin:5mm 0 3mm!important;break-after:avoid!important}
  body .report-document .section-heading h2{font-size:12pt!important}
  body .report-document h2,body .report-document h3{break-after:avoid!important}
  body .report-document .stock-alert{break-inside:avoid!important;padding:3mm 0!important}
  body .report-document .evidence{max-width:48mm!important;max-height:52mm!important;object-fit:contain!important;break-inside:avoid!important}
  body .report-document .report-footer{display:flex!important;flex-direction:row!important;font-size:7pt!important;margin-top:7mm!important;padding-top:3mm!important;break-inside:avoid!important}
  body .report-document .pagination,body .report-document .text-button,body .report-document .button,body .report-document label,body .report-document input,body .report-document textarea{display:none!important}
  body .report-document form:not(.no-print){display:block!important}
  body .report-document#results th:last-child,body .report-document#results td:last-child{display:none!important}
  body .report-document .print-only{display:inline!important}
  body .report-document a{color:inherit!important;text-decoration:none!important}
  body .report-document *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
