/* ================================================================
   ERA-VIS AI v2.0 — storeReport.css
   Template report PDF untuk campaign biasa (halaman Data Toko).
   1 halaman = 4 toko (grid 2x2, LANDSCAPE rasio A4). Tiap sel:
   header + satu foto dokumentasi utuh (object-fit: contain, tidak
   dipotong). Dipakai oleh exportStoreAllPdf() di
   js/storeReportExport.js — render off-screen lalu di-snapshot
   html2canvas (scale:1, 1:1 dengan ukuran CSS di sini) jadi ukuran
   kanvas WAJIB fixed.
   ================================================================ */

.sr-report-page {
  width: 1414px; height: 1000px;   /* rasio A4 landscape */
  background: #FFFFFF;
  box-sizing: border-box;
  padding: 44px;
  font-family: 'Inter', system-ui, sans-serif;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 30px;
}

.sr-report-cell {
  background: #F8FAFC; border-radius: 16px; padding: 20px 22px;
  box-shadow: 0 4px 14px rgba(0,0,0,.10);
  display: flex; flex-direction: column; gap: 12px; min-height: 0;
}

.sr-report-head { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.sr-report-title {
  flex: 1; min-width: 0; margin: 0;
  font-size: 18px; font-weight: 800; color: #0F172A; line-height: 1.25;
  text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.sr-report-tag {
  flex-shrink: 0; font-size: 11px; font-weight: 800; letter-spacing: .02em;
  padding: 6px 12px; border-radius: 999px; color: #fff; white-space: nowrap;
  background: #2563EB;
}

.sr-report-sub {
  font-size: 12px; font-weight: 700; color: #0F172A; text-align: center;
  text-decoration: underline; text-underline-offset: 3px; flex-shrink: 0;
}

.sr-report-photo-wrap {
  flex: 1; min-height: 0; border-radius: 10px; overflow: hidden;
  background: #E2E8F0; display: flex; align-items: center; justify-content: center;
}
/* contain — foto ditampilkan UTUH walau rasio beda (foto HP potrait
   tetap kelihatan penuh, tidak dipotong). */
.sr-report-photo-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.sr-report-missing {
  color: #DC2626; font-weight: 700; font-size: 13px;
  border: 2px dashed #DC2626; border-radius: 10px;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}

.sr-report-foot {
  flex-shrink: 0; display: flex; justify-content: space-between;
  font-size: 11px; color: #64748B; font-weight: 600;
}
.sr-report-foot .done { color: #16A34A; }
.sr-report-foot .notdone { color: #DC2626; }
