/* Browser-print fallback. The numbered, paginated module is built by tools/build_pdf.py. */
@page {
  size: A4 portrait;
  margin: 20mm 17mm 20mm 19mm;
  @top-left { content: "DATAPLATFORM / PANDUAN PENGGUNAAN"; font: 7pt Arial, sans-serif; color: #696969; }
  @bottom-left { content: "Edisi 19 Oktober 2026 | Data demo sintetis"; font: 7pt Arial, sans-serif; color: #696969; }
  @bottom-right { content: counter(page); font: bold 8pt Arial, sans-serif; color: #1f2124; }
}
@page :first {
  @top-left { content: none; }
  @bottom-left { content: none; }
  @bottom-right { content: none; }
}
html { scroll-behavior: auto; }
body { margin: 0; background: #fff; color: #1f2124; font: 10pt/1.55 Arial, sans-serif; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
aside, .toolbar { display: none !important; }
main { margin: 0; padding: 0; width: auto; max-width: none; }
.print-cover { display: flex; min-height: 250mm; flex-direction: column; justify-content: center; break-after: page; }
.print-cover h1 { font-size: 37pt; line-height: 1.15; margin: 14mm 0 8mm; }
.print-cover > p { font-size: 14pt; color: #696969; }
.print-cover .print-kicker { color: #a60c0c; font-size: 9pt; font-weight: bold; }
.print-cover > div { border-top: 1pt solid #eadfe2; padding-top: 8mm; margin-top: 5mm; font-size: 11pt; }
.print-cover .print-edition { margin-top: 30mm; font-size: 10pt; }
.chapter { margin: 0; padding: 0; border: 0; border-radius: 0; max-width: none; break-before: page; }
h1 { font-size: 24pt; line-height: 1.2; margin: 0 0 10mm; }
h2 { font-size: 14pt; line-height: 1.35; margin: 8mm 0 3mm; padding-top: 4mm; }
h3 { font-size: 11pt; margin: 6mm 0 2mm; }
h1, h2, h3 { break-after: avoid-page; }
p, li { orphans: 3; widows: 3; }
p { margin: 3mm 0; }
li { margin: 2mm 0; }
a { color: inherit; text-decoration: none; }
table { display: table; width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 8pt; line-height: 1.4; margin: 4mm 0; overflow: visible; }
thead { display: table-header-group; }
tbody { display: table-row-group; }
tr { break-inside: avoid-page; }
th, td { min-width: 0; padding: 2.2mm; overflow-wrap: anywhere; vertical-align: top; }
th { background: #f7f1f3; }
figure { margin: 5mm 0; break-inside: avoid-page; }
.image-link { display: block; text-align: center; }
img { width: auto; max-width: 100%; height: auto; max-height: 205mm; border-radius: 0; object-fit: contain; }
figcaption { font: italic 8pt/1.4 Arial, sans-serif; color: #696969; margin-top: 2mm; }
code { font: 8pt/1.45 Consolas, monospace; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #f7f1f3; border: .5pt solid #eadfe2; color: #1f2124; padding: 3mm; break-inside: avoid-page; }
pre code { color: inherit; }
