/* NoteSmart V80: laporan premium + print landscape bersih. */
:root{
  --ns80-green:#24523d;
  --ns80-ink:#111827;
  --ns80-muted:#64748b;
  --ns80-border:#d8e2dc;
  --ns80-paper-shadow:0 22px 60px rgba(15,23,42,.16);
}
html.ns-page-laporan body{ background:linear-gradient(180deg,#eef7f2 0%,#f3f6f9 44%,#eef2f7 100%)!important; }
html.ns-page-laporan #root main{ padding-bottom:calc(128px + env(safe-area-inset-bottom,0px))!important; }
html.ns-page-laporan [data-testid="laporan-header"],
html.ns-page-laporan .ns-report-control-v30,
html.ns-page-laporan [data-testid="laporan-header"] + .ns-card{
  border-radius:22px!important;
  border:1px solid rgba(36,82,61,.10)!important;
  box-shadow:0 12px 34px rgba(15,23,42,.075)!important;
}
html.ns-page-laporan .ns-v80-report-paper,
html.ns-page-laporan .ns-v79-report-paper,
html.ns-page-laporan .ns-report-paper-v30,
html.ns-page-laporan .ns-report-paper-v33,
html.ns-page-laporan .ns-v34-report-paper,
html.ns-page-laporan main > div.ns-animate-in > div.print\:hidden + div.ns-card{
  width:min(100%, 216mm)!important;
  margin:0 auto 32px!important;
  padding:clamp(12px,2.8vw,24px)!important;
  border-radius:18px!important;
  border:1px solid rgba(15,23,42,.10)!important;
  background:#fff!important;
  box-shadow:var(--ns80-paper-shadow)!important;
  overflow:visible!important;
}
html.ns-page-laporan .ns-v80-report-paper::before{
  content:"Preview Laporan";
  display:block;
  margin:-2px 0 10px;
  color:var(--ns80-muted);
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
html.ns-page-laporan .ns-v80-report-kop{
  border-radius:14px!important;
  background:linear-gradient(180deg,#fff,#fbfdfc)!important;
}
html.ns-page-laporan .ns-v80-report-table-wrap,
html.ns-page-laporan .ns-v80-report-paper .overflow-x-auto{
  overflow-x:auto!important;
  overflow-y:visible!important;
  -webkit-overflow-scrolling:touch!important;
  border-radius:10px!important;
  background:#fff!important;
}
html.ns-page-laporan table.ns-v80-report-table,
html.ns-page-laporan table.report-table,
html.ns-page-laporan table[data-testid^="rpt-"]{
  border-collapse:collapse!important;
  width:100%!important;
  min-width:720px!important;
  font-size:clamp(8px,1.85vw,11.5px)!important;
  line-height:1.12!important;
  color:var(--ns80-ink)!important;
}
html.ns-page-laporan table.ns-v80-report-table th,
html.ns-page-laporan table.ns-v80-report-table td,
html.ns-page-laporan table.report-table th,
html.ns-page-laporan table.report-table td,
html.ns-page-laporan table[data-testid^="rpt-"] th,
html.ns-page-laporan table[data-testid^="rpt-"] td{
  padding:2.5px 3.5px!important;
  vertical-align:middle!important;
  border-color:#1f2937!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
}
html.ns-page-laporan table.ns-v80-report-table th,
html.ns-page-laporan table.report-table th,
html.ns-page-laporan table[data-testid^="rpt-"] th{
  font-weight:900!important;
  background:#f8fafc!important;
}
html.ns-page-laporan #ns-v77-report-print-button{
  right:18px!important;
  bottom:calc(20px + env(safe-area-inset-bottom,0px))!important;
  min-height:50px!important;
  padding:0 18px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#24523d,#2f694f)!important;
  box-shadow:0 18px 44px rgba(36,82,61,.30)!important;
}
body.ns-v80-is-printing #ns-v77-report-print-button,
body.ns-v80-is-printing #ns-v76-report-print-fab,
body.ns-v80-is-printing #ns-v75-report-print-bar,
body.ns-v80-is-printing #ns-v75-report-print-btn,
body.ns-v80-is-printing [data-testid="laporan-print-btn"]{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;}
@media(max-width:640px){
  html.ns-page-laporan #root main{padding-left:10px!important;padding-right:10px!important;}
  html.ns-page-laporan .ns-v80-report-paper,
  html.ns-page-laporan .ns-v79-report-paper,
  html.ns-page-laporan .ns-report-paper-v30,
  html.ns-page-laporan .ns-report-paper-v33,
  html.ns-page-laporan .ns-v34-report-paper,
  html.ns-page-laporan main > div.ns-animate-in > div.print\:hidden + div.ns-card{padding:9px!important;border-radius:14px!important;margin-bottom:24px!important;}
  html.ns-page-laporan table.ns-v80-report-table,
  html.ns-page-laporan table.report-table,
  html.ns-page-laporan table[data-testid^="rpt-"]{font-size:8px!important;min-width:680px!important;}
}
@media print{
  @page{size:A4 landscape;margin:5mm 5mm 6mm;}
  html,body,#root{width:100%!important;height:auto!important;margin:0!important;padding:0!important;background:#fff!important;overflow:visible!important;}
  body *{animation:none!important;transition:none!important;box-shadow:none!important;text-shadow:none!important;filter:none!important;}
  #ns-v77-report-print-button,#ns-v76-report-print-fab,#ns-v75-report-print-bar,#ns-v75-report-print-btn,#ns-v74-report-print-bar,#ns-v74-report-print-btn,[data-testid="laporan-print-btn"]{display:none!important;visibility:hidden!important;opacity:0!important;}
  html.ns-page-laporan .ns-v80-report-paper::before{display:none!important;content:none!important;}
  body.ns-v34-print-report > *:not(#ns-v34-print-root){display:none!important;}
  body.ns-v34-print-report #ns-v34-print-root{display:block!important;width:100%!important;margin:0!important;padding:0!important;background:#fff!important;overflow:visible!important;}
  #ns-v34-print-root,#ns-v34-print-root *{box-sizing:border-box!important;}
  .ns-v34-print-sheet,.ns-v80-print-sheet,
  html.ns-page-laporan .ns-v80-report-paper,
  html.ns-page-laporan .ns-v79-report-paper,
  html.ns-page-laporan .ns-report-paper-v30,
  html.ns-page-laporan .ns-report-paper-v33,
  html.ns-page-laporan .ns-v34-report-paper,
  html.ns-page-laporan main > div.ns-animate-in > div.print\:hidden + div.ns-card{
    display:block!important;position:static!important;width:287mm!important;max-width:287mm!important;min-height:0!important;margin:0 auto!important;padding:0!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;overflow:visible!important;page-break-after:auto!important;break-after:auto!important;
  }
  .ns-v34-print-sheet + .ns-v34-print-sheet,.ns-v80-print-sheet + .ns-v80-print-sheet{margin-top:0!important;page-break-before:auto!important;break-before:auto!important;}
  html.ns-page-laporan .overflow-x-auto,.ns-v34-print-sheet .overflow-x-auto,.ns-v80-print-sheet .overflow-x-auto{overflow:visible!important;width:100%!important;max-width:100%!important;}
  html.ns-page-laporan table.ns-v80-report-table,
  html.ns-page-laporan table.report-table,
  html.ns-page-laporan table[data-testid^="rpt-"],
  .ns-v34-print-sheet table,.ns-v80-print-sheet table{
    display:table!important;width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important;border-spacing:0!important;font-size:6.15px!important;line-height:.98!important;color:#000!important;page-break-inside:auto!important;break-inside:auto!important;
  }
  html.ns-page-laporan thead,.ns-v34-print-sheet thead,.ns-v80-print-sheet thead{display:table-header-group!important;}
  html.ns-page-laporan tbody,.ns-v34-print-sheet tbody,.ns-v80-print-sheet tbody{display:table-row-group!important;}
  html.ns-page-laporan tr,.ns-v34-print-sheet tr,.ns-v80-print-sheet tr{page-break-inside:avoid!important;break-inside:avoid!important;}
  html.ns-page-laporan table.ns-v80-report-table th,
  html.ns-page-laporan table.ns-v80-report-table td,
  html.ns-page-laporan table.report-table th,
  html.ns-page-laporan table.report-table td,
  html.ns-page-laporan table[data-testid^="rpt-"] th,
  html.ns-page-laporan table[data-testid^="rpt-"] td,
  .ns-v34-print-sheet table th,.ns-v34-print-sheet table td,.ns-v80-print-sheet table th,.ns-v80-print-sheet table td{
    padding:.6px 1px!important;border:1px solid #111!important;white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important;vertical-align:middle!important;background:#fff!important;
  }
  html.ns-page-laporan table th,.ns-v34-print-sheet table th,.ns-v80-print-sheet table th{font-weight:800!important;background:#f7f7f7!important;}
  .ns-v34-print-sheet button,.ns-v34-print-sheet input,.ns-v34-print-sheet select,.ns-v34-print-sheet textarea,.ns-v80-print-sheet button,.ns-v80-print-sheet input,.ns-v80-print-sheet select,.ns-v80-print-sheet textarea{display:none!important;}
}
