[v-cloak] { display: none; }
body { font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif; }

/* Input form standar */
.inp {
  margin-top: .375rem; width: 100%; border-radius: .75rem; border: 1px solid #cbd5e1;
  padding: .625rem .875rem; font-size: .875rem; outline: none; background: #fff;
}
.inp:focus { border-color: #059669; box-shadow: 0 0 0 3px #a7f3d0; }

/* Sel kalender admin: cegah scroll saat drag pilih tanggal di layar sentuh */
.cal-cell { touch-action: none; }

.scroll-thin::-webkit-scrollbar { width: 6px; height: 6px; }
.scroll-thin::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }

.fade-enter-active, .fade-leave-active { transition: opacity .18s ease; }
.fade-enter-from, .fade-leave-to { opacity: 0; }

.pattern-bg {
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 18px 18px;
}

@keyframes spin { to { transform: rotate(360deg); } }
.spinner {
  width: 18px; height: 18px; border-radius: 99px; display: inline-block;
  border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite;
}

/* ================= Laporan ================= */
.sec-title { font-weight: 800; font-size: .95rem; color: #0f172a; margin-bottom: .75rem; }
.tile { border: 1px solid #e2e8f0; border-radius: .75rem; padding: .75rem 1rem; }
.tile-label { font-size: .7rem; font-weight: 600; color: #64748b; }
.tile-value { font-size: 1.6rem; font-weight: 800; color: #0f172a; line-height: 1.2; font-variant-numeric: tabular-nums; }
.tile-sub { font-size: .7rem; color: #94a3b8; }
.tbl { width: 100%; font-size: .8rem; border-collapse: collapse; }
.tbl th { text-align: left; font-weight: 700; background: #f1f5f9; padding: .45rem .5rem; border: 1px solid #cbd5e1; }
.tbl td { padding: .4rem .5rem; border: 1px solid #e2e8f0; vertical-align: top; }
.tbl th.text-right, .tbl td.text-right { text-align: right; font-variant-numeric: tabular-nums; }

@media print {
  @page { size: A4; margin: 14mm 12mm; }
  html, body { background: #fff !important; }
  .no-print { display: none !important; }
  main { padding: 0 !important; }
  .lembar { box-shadow: none !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; max-width: none !important; }
  .print-color, .tbl th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .avoid-break { break-inside: avoid; }
  .tbl thead { display: table-header-group; }
  .tbl tr { break-inside: avoid; }
}
