@page {
  size: A4 portrait;
  margin: 15mm;
}

.lckh-sheet {
  width: 194mm;
  min-height: 281mm;
  margin: 0;
  padding: 0;
  color: #111;
  background: #fff;
  font-family: Arial, sans-serif;
  font-size: 8pt;
}

.lckh-head {
  display: grid;
  grid-template-columns: 18mm 1fr 18mm;
  align-items: center;
  border-bottom: 2px double #111;
  padding-bottom: 3mm;
}

.lckh-head .logo {
  width: 16mm;
  height: 16mm;
  object-fit: contain;
}

.lckh-head h1,
.lckh-head h2,
.lckh-head p,
.lckh-sheet h3 {
  margin: 0;
  text-align: center;
}

.lckh-head h1 { font-size: 12pt; }
.lckh-head h2 { font-size: 8pt; margin-top: 1mm; }
.lckh-head p { font-size: 6.5pt; }
.lckh-sheet h3 { font-size: 9pt; margin: 3mm 0 2mm; text-transform: uppercase; }

.lckh-identitas {
  display: grid;
  grid-template-columns: 24mm 3mm 1fr;
  gap: .5mm 1mm;
  margin-bottom: 2mm;
  font-size: 7pt;
}

.lckh-sheet table {
  width: 194mm;
  border-collapse: collapse;
  table-layout: fixed;
}

.lckh-sheet th,
.lckh-sheet td {
  border: .25mm solid #111;
  padding: 1mm .6mm;
  vertical-align: top;
  overflow-wrap: anywhere;
  line-height: 1.05;
}

.lckh-sheet th {
  text-align: center;
  background: #e7e7e7;
  font-weight: bold;
  font-size: 5.7pt;
}

.lckh-sheet td { font-size: 6pt; }
.lckh-sheet td:nth-child(1),
.lckh-sheet td:nth-child(6) { text-align: center; }
.lckh-sheet thead { display: table-header-group; }
.lckh-sheet tr { break-inside: avoid; }
.lckh-sheet .col-no { width: 7mm; }
.lckh-sheet .col-date { width: 21mm; }
.lckh-sheet .col-description { width: 42mm; }
.lckh-sheet .col-type { width: 24mm; }
.lckh-sheet .col-place { width: 19mm; }
.lckh-sheet .col-volume { width: 10mm; }
.lckh-sheet .col-result { width: 39mm; }
.lckh-sheet .col-notes { width: 32mm; }

.lckh-signatures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18mm;
  margin-top: 4mm;
  text-align: center;
  break-inside: avoid;
  font-size: 7pt;
}

.lckh-signatures p { margin: 0; }
.lckh-signatures span { display: block; height: 12mm; }

.lckh-photo-attachment {
  break-before: page;
  text-align: center;
}

.lckh-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 82mm);
  gap: 5mm;
  justify-content: center;
}

.lckh-photo-card {
  min-width: 0;
  break-inside: avoid;
  border: .25mm solid #111;
  padding: 2mm;
}

.lckh-photo-card img {
  display: block;
  width: 100%;
  height: 75mm;
  object-fit: contain;
}

.lckh-photo-caption {
  display: flex;
  justify-content: space-between;
  gap: 2mm;
  min-height: 6mm;
  align-items: center;
  font-size: 7pt;
}

.lckh-photo-label {
  margin: 1.5mm 0 0;
  font-size: 7pt;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 8mm;
  }
}

@page kom-formal {
  size: A4;
  margin: 30mm 30mm 30mm 40mm;
}

.gtk-attendance-print {
  margin: 0;
  color: #17251d;
  font: 10pt Arial, sans-serif;
}

.gtk-print-letterhead {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 95px;
  text-align: center;
}

.gtk-print-letterhead > div {
  flex: 1;
}

.gtk-print-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.gtk-print-letterhead p {
  margin: 2px 0;
  font-size: 9pt;
  line-height: 1.25;
}

.gtk-print-letterhead h1 {
  margin: 4px 0;
  font-size: 15pt;
}

.gtk-print-letterhead .gtk-print-letterhead-line2 {
  font-size: 12pt;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.gtk-print-letterhead-name {
  margin: 4px 0;
  font-size: 15pt;
}

.gtk-auto-attachment-actions {
  margin: 12px 0;
}

.gtk-auto-attachment-actions > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.gtk-attachment-print {
  width: 190mm;
  margin: 0 auto;
  color: #17251d;
  font: 12pt "Times New Roman", serif;
}

.gtk-attachment-letterhead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.gtk-attachment-letterhead .logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.gtk-attachment-letterhead p {
  margin: 2px;
  font-size: 9pt;
}

.gtk-attachment-letterhead h1 {
  margin: 3px;
  font-size: 15pt;
}

.gtk-attachment-letterhead .attachment-line2 {
  font-size: 12pt !important;
  font-weight: 700;
}

.gtk-attachment-print main > h2,
.gtk-attachment-print .attachment-period {
  text-align: center;
}

.gtk-attachment-print main > h2 {
  margin-bottom: 2px;
}

.attachment-summary,
.attachment-ekap {
  width: 100%;
  border-collapse: collapse;
}

.attachment-summary th,
.attachment-summary td,
.attachment-ekap th,
.attachment-ekap td {
  border: 1px solid #17251d;
  padding: 5px;
}

.attachment-ekap th,
.attachment-ekap td {
  text-align: center;
}

.attachment-ekap th:nth-child(2),
.attachment-ekap td:nth-child(2) {
  text-align: left;
}

.attachment-signatures {
  display: flex;
  justify-content: space-between;
  margin-top: 24mm;
  break-inside: avoid;
}

.attachment-signatures > div {
  width: 70mm;
  text-align: center;
}

.attachment-signatures-single {
  justify-content: flex-end;
}

.attachment-signatures strong,
.attachment-signatures span {
  display: block;
}

.letterhead-line2,
.kom-source-print .kom-source-letterhead .letterhead-line2,
.standard-print-document .letterhead .letterhead-line2,
.kom-print-document .letterhead .letterhead-line2 {
  font-size: 12pt !important;
  font-weight: 700;
}

.letterhead-name,
.standard-print-document .letterhead .letterhead-name,
.kom-print-document .letterhead .letterhead-name,
.kom-source-print .letterhead-name {
  margin: 2px 0 1px;
  font-size: 15pt;
  font-weight: 700;
  text-align: center;
}

.gtk-print-rule {
  height: 3px;
  margin: 5px 0 16px;
  border-top: 3px solid #17251d;
  border-bottom: 1px solid #17251d;
}

.gtk-attendance-print main > h2 {
  margin: 0;
  text-align: center;
  font-size: 14pt;
}

.gtk-print-period {
  margin: 4px 0 12px;
  text-align: center;
}

.gtk-print-identity h3 {
  margin: 0 0 5px;
  font-size: 11pt;
}

.gtk-print-identity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 5px;
}

.gtk-print-identity-grid > div,
.gtk-print-identity-grid table {
  width: 100%;
}

.gtk-print-identity-grid th,
.gtk-print-identity-grid td {
  width: 50%;
}

.gtk-print-identity-grid th {
  text-align: left;
}

.gtk-print-period-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 5px;
}

.gtk-print-period-grid > div,
.gtk-print-period-grid table {
  width: 100%;
}

.gtk-print-period-grid th,
.gtk-print-period-grid td {
  width: 50%;
}

.gtk-print-period-grid th {
  text-align: left;
}

.gtk-attendance-print table {
  width: 100%;
  border-collapse: collapse;
}

.gtk-attendance-print th,
.gtk-attendance-print td {
  padding: 5px;
  border: 1px solid #9aa69f;
  font-size: 9pt;
  vertical-align: middle;
}

.gtk-attendance-print th {
  background: #f1f4f2;
}

.gtk-print-table {
  margin-top: 14px;
}

.gtk-print-attendance-columns table {
  table-layout: fixed;
}

.gtk-print-attendance-columns th,
.gtk-print-attendance-columns td {
  padding: 4px 3px;
  font-size: 7pt;
  text-align: center;
}

.gtk-print-attendance-columns th:last-child,
.gtk-print-attendance-columns td:last-child {
  text-align: left;
}

.gtk-print-time {
  margin-top: 10px;
  text-align: right;
  font-size: 8pt;
}

.gtk-print-sign-cell {
  height: 22px;
}

.gtk-print-signatures {
  display: flex;
  justify-content: space-between;
  gap: 24mm;
  margin-top: 12mm;
  break-inside: avoid;
}

.gtk-print-signatures-individual {
  justify-content: space-between;
}

.gtk-print-signature {
  width: 55mm;
  text-align: center;
}

.gtk-print-signature.full {
  width: 70mm;
}

.gtk-print-signature p {
  min-height: 22mm;
  margin: 0;
}

.gtk-print-signature-space {
  height: 18mm;
}

.gtk-print-signature strong,
.gtk-print-signature span {
  display: block;
}

.kom-print-document,
.kom-source-print {
  page: kom-formal;
  margin: 0;
  color: #17251d;
  font: 12pt "Times New Roman", serif;
  line-height: 1.5;
}

.kom-print-document .letterhead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 95px;
  padding-bottom: 5px;
  font-family: Arial, sans-serif;
  text-align: center;
  break-inside: avoid;
}

.kom-print-document .logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.kom-print-document .letterhead-copy {
  flex: 1;
}

.kom-print-document .letterhead p {
  margin: 3px;
  font-size: 9pt;
  line-height: 1.25;
}

.kom-print-document .letterhead h1 {
  margin: 5px 0;
  font-size: 15pt;
}

.kom-print-document .letterhead-rule {
  height: 3px;
  margin: 5px 0 14px;
  border-top: 3px solid #17251d;
  border-bottom: 1px solid #17251d;
}

.kom-print-document h1 {
  margin: 0 0 6px;
  font-size: 16pt;
}

.kom-print-document h2 {
  margin: 0 0 20px;
  color: #58675e;
  font-size: 13pt;
}

.kom-print-document p {
  color: #39463e;
  font-size: 12pt;
  line-height: 1.55;
}

.kom-print-document .document-title {
  margin: 18px 0;
  text-align: center;
}

.kom-print-document .kom-document-title {
  margin: 18px 0 16px;
  text-align: center;
  break-after: avoid;
}

.kom-print-document .kom-document-title h2 {
  margin: 4px 0 12px;
  color: #17251d;
  font-size: 14pt;
  line-height: 1.4;
}

.kom-print-document .kom-document-title > p:not(.document-meta) {
  margin: 5px 0;
  font-weight: bold;
}

.kom-print-document .kom-attachment-label {
  margin: 0 0 6px;
  font-size: 12pt;
  font-weight: bold;
  letter-spacing: 0.06em;
}

.kom-print-document .document-title h2 {
  margin: 5px;
}

.kom-print-document .document-meta {
  color: #68756c;
  font-size: 10pt;
  text-align: center;
}

.kom-print-document .print-timestamp {
  margin: 0 0 12pt;
  color: #59665d;
  font: 9pt Arial, sans-serif;
  text-align: right;
}

.kom-print-document table {
  width: 100%;
  border-collapse: collapse;
}

.kom-print-document th,
.kom-print-document td {
  padding: 6px 7px;
  border: 1px solid #839187;
  text-align: left;
  vertical-align: top;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.kom-print-document .curriculum-table th,
.kom-print-document .curriculum-table td {
  font-size: 9pt;
}

.kom-print-document .curriculum-table th {
  background: #edf3ef;
}

.kom-print-document .curriculum-section {
  margin: 14pt 0;
}

.kom-print-document .curriculum-section h3 {
  margin: 0 0 8pt;
  padding-bottom: 4pt;
  border-bottom: 1px solid #9ba99f;
  font-size: 12pt;
  break-after: avoid;
  page-break-after: avoid;
}

.kom-print-document .curriculum-section p {
  margin: 0 0 8pt;
  orphans: 3;
  widows: 3;
}

.kom-print-document .curriculum-table-wrap {
  overflow: visible;
}

.kom-print-document .curriculum-document {
  line-height: 1.5;
}

.kom-print-document .kom-content-block {
  margin: 7pt 0 9pt;
}

.kom-print-document .kom-content-block > strong {
  display: block;
  margin-bottom: 3pt;
  font-size: 11pt;
}

.kom-print-document .kom-content-block > p {
  margin: 0;
  text-align: justify;
  text-indent: 1.25cm;
  overflow-wrap: anywhere;
  orphans: 3;
  widows: 3;
}

.kom-print-document .kom-blank-line {
  min-height: 1.5em;
  margin: 0 0 8pt;
  border-bottom: 1px dotted #839187;
}

.kom-print-document .kom-table {
  margin-top: 4pt;
  font-size: 9pt;
}

.kom-print-document .kom-table thead {
  display: table-header-group;
}

.kom-print-document .kom-table tr,
.kom-print-document .kom-identity-table tr {
  break-inside: avoid;
  page-break-inside: avoid;
}

.kom-print-document .kom-table th {
  background: #edf3ef;
  font-weight: bold;
}

.kom-print-document .cp-document .curriculum-section:first-child,
.kom-print-document .bedah-document .curriculum-section:first-child {
  margin-top: 0;
}

.kom-print-document .privacy-badge {
  padding: 8px;
  border: 1px solid #e4cb7c;
  background: #fff5d6;
}

.kom-print-document .signatures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin: 38px 8px 0;
  text-align: center;
}

.kom-print-document .signatures p {
  margin: 4px;
}

.kom-print-document .signature-space {
  height: 62px;
}

.kom-print-document .signatures strong {
  display: block;
  text-decoration: underline;
}

.kom-print-document .kom-signatory-date,
.kom-source-print .kom-signatory-date {
  text-align: right;
}

.kom-print-document .kom-signatory-grid,
.kom-source-print .kom-signatory-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
}

.kom-print-document .kom-signatory-print,
.kom-source-print .kom-signatory-print {
  break-inside: avoid;
}

.kom-print-document .kom-signatory-print strong,
.kom-source-print .kom-signatory-print strong {
  display: block;
  text-decoration: underline;
}

.kom-print-document .kom-signatory-blank,
.kom-source-print .kom-signatory-blank {
  display: block;
  height: 1em;
}

.kom-print-document .kom-signatory-grid {
  grid-template-columns: 1fr 1fr;
  gap: 22mm 14mm;
  margin-top: 10mm;
}

.kom-print-document .kom-signature-page {
  break-before: page;
  page-break-before: always;
}

.kom-print-document .kom-signature-page > .kom-signatory-date {
  margin-top: 0;
}

.kom-print-document .kom-signatory-print p {
  margin: 4px;
  font-size: 10pt;
}

.kom-print-document .kom-signature-space {
  height: 22mm;
}

.kom-source-print {
  font-size: 12pt;
}

.kom-source-print .source-document-title {
  margin: 0;
  text-align: center;
  font-size: 16pt;
  font-weight: bold;
}

.kom-source-print .source-document-subtitle {
  margin: 6pt 0 18pt;
  color: #17251d;
  text-align: center;
  font-size: 12pt;
  font-weight: bold;
}

.kom-source-print .source-document-note {
  color: #59665d;
  font-size: 9pt;
}

.kom-source-print .kom-source-letterhead {
  display: grid;
  grid-template-columns: 25mm 1fr;
  align-items: center;
  gap: 5mm;
  margin: 0 0 10mm;
  padding-bottom: 3mm;
  border-bottom: 3px double #17251d;
  font: 9pt/1.25 Arial, sans-serif;
  text-align: center;
  break-inside: avoid;
}

.kom-source-print .kom-source-letterhead .kom-cover-logo {
  display: grid;
  width: 25mm;
  height: 25mm;
  flex: 0 0 25mm;
  place-items: center;
}

.kom-source-print .kom-source-letterhead .kom-cover-logo img.logo {
  display: block;
  width: 25mm;
  height: 25mm;
  max-width: 100%;
  object-fit: contain;
  visibility: visible;
  opacity: 1;
}

.kom-source-print .kom-source-letterhead .kom-cover-logo.missing {
  padding: 2mm;
  box-sizing: border-box;
  border: 1px dashed #9ba99f;
  color: #59665d;
  font: 7pt/1.2 Arial, sans-serif;
  text-align: center;
}

.kom-source-print .kom-source-letterhead.logo-only {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  border: 0;
}

.kom-source-print .kom-source-letterhead.logo-only.logo-left { justify-content: flex-start; }
.kom-source-print .kom-source-letterhead.logo-only.logo-center { justify-content: center; }
.kom-source-print .kom-source-letterhead.logo-only.logo-right { justify-content: flex-end; }

.kom-source-print .kom-source-letterhead.logo-only .kom-cover-logo {
  width: 30mm;
  height: 30mm;
  flex-basis: 30mm;
}

.kom-source-print .kom-source-letterhead.logo-only .kom-cover-logo img.logo {
  width: 30mm;
  height: 30mm;
}

.kom-source-print .kom-source-letterhead.logo-only .kom-cover-logo.missing {
  width: auto;
  min-width: 25mm;
}

.kom-source-print .kom-source-letterhead p {
  margin: 2pt 0;
}

.kom-source-print .kom-source-letterhead strong {
  display: block;
  margin: 3pt 0;
  font-size: 14pt;
}

.kom-source-print .source-table-wrap {
  width: 100%;
  margin: 9pt 0 12pt;
  overflow: visible;
}

.kom-source-print .source-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  font: 8.5pt/1.2 "Times New Roman", serif;
  text-align: center;
}

.kom-source-print .source-table th,
.kom-source-print .source-table td {
  padding: 4pt 5pt;
  border: 1px solid #17251d;
  vertical-align: middle;
  white-space: normal;
}

.kom-source-print .source-table thead th {
  background: #f0f3f0;
  font-weight: bold;
}

.kom-source-print .source-table tfoot th {
  text-align: right;
}

.kom-source-print .source-table tfoot th:last-child {
  text-align: center;
}

.kom-source-print .source-table-wide {
  width: 100%;
  table-layout: fixed;
  font-size: 7.5pt;
}

.kom-source-print .source-table-wide th:first-child,
.kom-source-print .source-table-wide td:first-child {
  width: 20%;
}

.kom-source-print .source-table-wide th:nth-child(2),
.kom-source-print .source-table-wide td:nth-child(2) {
  width: 11%;
}

.kom-source-print .source-table-wide th:nth-child(n + 3),
.kom-source-print .source-table-wide td:nth-child(n + 3) {
  width: 11%;
}

.kom-source-print .source-table-staff {
  width: 100%;
  table-layout: fixed;
  font-size: 7pt;
}

.kom-source-print .source-table-staff th,
.kom-source-print .source-table-staff td {
  padding: 3pt 2pt;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.kom-source-print .source-table-staff th:first-child,
.kom-source-print .source-table-staff td:first-child {
  width: 4%;
}

.kom-source-print .source-table-staff th:nth-child(2),
.kom-source-print .source-table-staff td:nth-child(2) {
  width: 16%;
}

.kom-source-print .source-table-staff th:nth-child(3),
.kom-source-print .source-table-staff td:nth-child(3) {
  width: 16%;
}

.kom-source-print .source-table-staff th:nth-child(4),
.kom-source-print .source-table-staff td:nth-child(4) {
  width: 19%;
}

.kom-source-print .source-table-staff th:nth-child(5),
.kom-source-print .source-table-staff td:nth-child(5) {
  width: 12%;
}

.kom-source-print .source-table-staff th:nth-child(6),
.kom-source-print .source-table-staff td:nth-child(6) {
  width: 20%;
}

.kom-source-print .source-table-staff th:nth-child(7),
.kom-source-print .source-table-staff td:nth-child(7) {
  width: 13%;
}

.kom-source-print .source-table-compact th,
.kom-source-print .source-table-compact td {
  padding: 3pt;
}

.kom-source-print .source-table-program {
  table-layout: fixed;
  font-size: 9pt;
}

.kom-source-print .source-table-program th:first-child,
.kom-source-print .source-table-program td:first-child {
  width: 7%;
}

.kom-source-print .source-table-program th:nth-child(2),
.kom-source-print .source-table-program td:nth-child(2) {
  width: 10%;
}

.kom-source-print .source-table-program th:nth-child(3),
.kom-source-print .source-table-program td:nth-child(3) {
  width: 58%;
  text-align: left;
}

.kom-source-print .source-table-program th:last-child,
.kom-source-print .source-table-program td:last-child {
  width: 25%;
}

.kom-source-print .source-table-program td {
  white-space: normal;
  overflow-wrap: anywhere;
}

.kom-source-print .source-table-auto {
  table-layout: fixed;
  font-size: 8pt;
}

.kom-source-print .source-table-auto th,
.kom-source-print .source-table-auto td {
  overflow-wrap: anywhere;
  text-align: left;
}

.kom-source-print .source-table-auto th:first-child,
.kom-source-print .source-table-auto td:first-child {
  width: 12%;
}

.kom-source-print .kom-formal-letter,
.kom-source-print .kom-formal-approval {
  color: #17251d;
  font: 12pt/1.5 "Times New Roman", serif;
}

.kom-source-print .kom-formal-date {
  margin: 0 0 14pt;
  text-align: right;
}

.kom-source-print .kom-formal-metadata {
  margin: 0 0 24pt;
}

.kom-source-print .kom-formal-metadata .source-paragraph,
.kom-source-print .kom-formal-recipient .source-paragraph {
  margin: 2pt 0;
}

.kom-source-print .kom-formal-recipient {
  margin: 0 0 18pt 42%;
}

.kom-source-print .kom-formal-letter-body .source-paragraph {
  margin: 0 0 10pt;
  text-align: justify;
  text-indent: 1.25cm;
}

.kom-source-print .kom-formal-closing {
  margin: 12pt 0;
}

.kom-source-print .kom-formal-signature {
  width: 45%;
  margin: 18pt 0 0 auto;
  text-align: center;
}

.kom-source-print .kom-formal-approval .source-data-list {
  margin: 24pt 0;
}

.kom-source-print .kom-formal-approval-text {
  margin: 20pt 0;
  text-align: justify;
  text-indent: 1.25cm;
}

.kom-source-print .kom-formal-place {
  width: max-content;
  margin: 0 0 18pt auto;
}

.kom-source-print .kom-formal-place p {
  margin: 2pt 0;
}

.kom-source-print .kom-formal-approval-label {
  margin: 16pt 0 4pt;
  text-align: center;
}

.kom-source-print .kom-formal-signers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18pt;
  text-align: center;
}

.kom-source-print .kom-formal-signer p {
  margin: 2pt 0;
}

.kom-source-print .kom-formal-signer strong,
.kom-source-print .kom-formal-kasi strong {
  text-decoration: underline;
}

.kom-source-print .kom-formal-signature-space {
  display: block;
  height: 54pt;
}

.kom-source-print .kom-formal-kasi {
  width: 60%;
  margin: 24pt auto 0;
  text-align: center;
}

.kom-source-print .source-table tr {
  break-inside: avoid;
  page-break-inside: avoid;
}

.kom-source-print .source-page {
  position: relative;
  box-sizing: border-box;
  min-height: 237mm;
  padding-bottom: 10mm;
  break-after: page;
  page-break-after: always;
}

.kom-source-print .source-page:first-of-type {
  min-height: 237mm;
}

.kom-source-print .kom-source-cover-page {
  min-height: 220mm;
  box-sizing: border-box;
}

.kom-source-print .source-page-content {
  font: 12pt/1.5 "Times New Roman", serif;
  text-align: justify;
  overflow-wrap: anywhere;
}

.kom-source-print .source-page-number {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  color: #17251d;
  font: 10pt/1 "Times New Roman", serif;
  text-align: center;
}

.kom-source-print .source-page-content.kom-source-cover {
  min-height: 190mm;
  box-sizing: border-box;
  padding: 12mm 10mm;
  border: 1px solid #b39b63;
  text-align: center;
  break-inside: avoid;
}

.kom-source-print .kom-source-cover .source-heading {
  margin: 9mm 0;
  color: #173c2d;
  letter-spacing: 0.04em;
  text-indent: 0;
}

.kom-source-print .kom-source-cover .source-heading:nth-of-type(1) {
  margin-top: 5mm;
  font-size: 24pt;
  letter-spacing: 0.12em;
}

.kom-source-print .kom-source-cover .source-heading:nth-of-type(2) {
  margin: 8mm 0 4mm;
  color: #17251d;
  font-size: 17pt;
}

.kom-source-print .kom-source-cover .source-heading:nth-of-type(3) {
  margin: 4mm 0 12mm;
  color: #8a6d2f;
  font-size: 12pt;
  font-weight: normal;
}

.kom-source-print .kom-source-cover .source-heading:nth-of-type(n + 4) {
  margin: 3mm 0;
  font-size: 11pt;
  letter-spacing: 0.02em;
}

.kom-source-print .kom-source-cover .source-data-list {
  width: 125mm;
  max-width: 100%;
  box-sizing: border-box;
  margin: 10mm auto 14mm;
  padding: 5mm 7mm;
  border: 1px solid #d9cfb3;
  background: #fbfaf6;
  text-align: left;
}

.kom-source-print .kom-source-cover .source-data-row {
  grid-template-columns: minmax(35mm, 40%) 1fr;
  gap: 5mm;
  margin: 2mm 0;
  font-size: 10.5pt;
}

.kom-source-print .kom-source-cover .source-data-row strong {
  color: #173c2d;
  font-weight: bold;
}

.kom-source-print .kom-source-cover > .source-paragraph {
  margin-top: 6mm;
  color: #8a6d2f;
  font-size: 19pt;
  font-weight: bold;
  letter-spacing: 0.16em;
  text-align: center;
  text-indent: 0;
}

.kom-source-print .source-page-content > p {
  margin: 0 0 9pt;
  text-indent: 1.25cm;
  orphans: 3;
  widows: 3;
}

.kom-source-print .source-page-content .source-chapter {
  margin: 18pt 0 12pt;
  text-align: center;
  font-size: 14pt;
  break-after: avoid;
}

.kom-source-print .source-page-content .source-heading {
  margin: 13pt 0 7pt;
  text-align: center;
  font-size: 12pt;
  break-after: avoid;
}

.kom-source-print .kom-source-recommendation .source-heading {
  margin: 8pt 0 4pt;
  font-size: 12pt;
}

.kom-source-print .kom-source-recommendation .source-data-list {
  margin: 4pt 0 8pt;
}

.kom-source-print .kom-source-recommendation .source-recommendation-date {
  margin: 18pt 0 0;
  text-align: right;
  text-indent: 0;
}

.kom-source-print .kom-source-recommendation .source-recommendation-role,
.kom-source-print .kom-source-recommendation .source-recommendation-signer {
  margin: 3pt 0;
  text-align: right;
  text-indent: 0;
}

.kom-source-print .kom-source-recommendation .source-recommendation-signer {
  margin-top: 42pt;
}

.kom-source-print .kom-source-recommendation .source-recommendation-identifier {
  margin: 3pt 0;
  text-align: right;
  text-indent: 0;
}

.kom-source-print .source-data-list {
  margin: 6pt 0 12pt;
}

.kom-source-print .source-data-row {
  display: grid;
  grid-template-columns: 34% 1fr;
  gap: 8pt;
  margin: 3pt 0;
  text-align: left;
}

.kom-source-print .source-data-row strong {
  font-weight: 400;
}

.kom-source-print .source-toc > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10pt;
  padding: 2pt 0;
  border-bottom: 1px dotted #9ba99f;
  font-size: 10.5pt;
}

.kom-source-print .source-toc b {
  font-weight: 400;
}

.kom-source-print .align-left {
  text-align: left;
}

.kom-source-print .align-center {
  text-align: center;
}

.kom-source-print .align-right {
  text-align: right;
}

.kom-source-print .align-justify {
  text-align: justify;
}

.kom-source-print h1.align-left,
.kom-source-print h2.align-left,
.kom-source-print h3.align-left {
  text-align: left;
}

.kom-source-print h1.align-right,
.kom-source-print h2.align-right,
.kom-source-print h3.align-right {
  text-align: right;
}

.kom-source-print .source-note {
  color: #59665d;
  font: 8pt Arial, sans-serif;
}

.kom-source-print .signature-page {
  break-before: page;
  page-break-before: always;
}

.kom-source-print .signature-page h1 {
  text-align: center;
  font-size: 15pt;
}

.kom-source-print .signature-page {
  break-inside: avoid;
}

.kom-source-print .kom-signatory-grid {
  gap: 22mm 14mm;
  margin-top: 10mm;
}

.kom-source-print .kom-signatory-print p {
  margin: 4px;
  font-size: 10pt;
}

.kom-source-print .kom-signature-space {
  height: 22mm;
}

.standard-print-document {
  page: standard-print;
  margin: 24px;
  color: #17251d;
  font: 12px Arial, sans-serif;
}

@page standard-print {
  size: auto;
  margin: 15mm;
}

.standard-print-document .letterhead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 95px;
  text-align: center;
}

.standard-print-document .logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.standard-print-document .letterhead-copy {
  flex: 1;
}

.standard-print-document .letterhead p {
  margin: 3px;
  font-size: 10px;
}

.standard-print-document .letterhead h1 {
  margin: 5px 0;
  font-size: 17px;
}

.standard-print-document .letterhead-rule {
  height: 3px;
  margin: 9px 0 18px;
  border-top: 3px solid #17251d;
  border-bottom: 1px solid #17251d;
}

.standard-print-document h1 {
  margin: 0 0 6px;
  font-size: 19px;
}

.standard-print-document h2 {
  margin: 0 0 20px;
  color: #58675e;
  font-size: 14px;
}

.standard-print-document p {
  color: #39463e;
  font-size: 10px;
  line-height: 1.55;
}

.standard-print-document .document-title {
  margin: 18px 0;
  text-align: center;
}

.standard-print-document .document-title h2 {
  margin: 5px;
}

.standard-print-document .document-meta {
  color: #68756c;
  font-size: 10px;
  text-align: center;
}

.standard-print-document table {
  width: 100%;
  border-collapse: collapse;
}

.standard-print-document th,
.standard-print-document td {
  padding: 8px;
  border: 1px solid #ccd5cd;
  text-align: left;
  vertical-align: top;
  white-space: pre-wrap;
}

.standard-print-document .curriculum-table th {
  background: #edf3ef;
  font-size: 10px;
}

.standard-print-document .curriculum-table td {
  font-size: 10px;
}

.standard-print-document .curriculum-section {
  margin: 17px 0;
  break-inside: avoid;
}

.standard-print-document .curriculum-section h3 {
  margin: 0 0 7px;
  padding-bottom: 5px;
  border-bottom: 1px solid #9ba99f;
  font-size: 12px;
}

.standard-print-document .curriculum-section p {
  margin: 0 0 8px;
}

.standard-print-document .curriculum-table-wrap {
  overflow: visible;
}

.standard-print-document .curriculum-document {
  line-height: 1.5;
}

.standard-print-document .curriculum-aid-identity {
  margin: 12px 0 18px;
  break-inside: avoid;
}

.standard-print-document .curriculum-aid-identity h3 {
  margin: 0 0 6px;
  font-size: 11pt;
}

.standard-print-document .curriculum-aid-identity-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.standard-print-document .curriculum-aid-identity-table th,
.standard-print-document .curriculum-aid-identity-table td {
  padding: 6px 7px;
  border: 1px solid #737d75;
  text-align: left;
  vertical-align: top;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: normal;
}

.standard-print-document .curriculum-aid-identity-table th {
  width: 18%;
  background: #f0f2f0;
  font-weight: 700;
}

.standard-print-document .curriculum-aid-identity-table td {
  width: 32%;
}

.standard-print-document .curriculum-aid-document .curriculum-section {
  margin: 14px 0;
  break-inside: avoid;
}

.standard-print-document .curriculum-aid-document .curriculum-section h3 {
  margin: 0 0 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid #9ba99f;
  font-size: 11pt;
}

.standard-print-document .curriculum-aid-document dl {
  margin: 0;
}

.standard-print-document .curriculum-aid-document dl > div {
  display: grid;
  grid-template-columns: 32% 1fr;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid #e1e5e1;
  break-inside: avoid;
}

.standard-print-document .curriculum-aid-document dt {
  font-weight: 700;
}

.standard-print-document .curriculum-aid-document dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.standard-print-document .curriculum-aid-cp-source {
  margin: 6px 0 0;
  color: #4b5a4e;
  font-size: 9px;
}

.standard-print-document .curriculum-aid-lkpd-appendix {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 2px solid #53675a;
  break-before: page;
}

.standard-print-document .curriculum-aid-lkpd-appendix > h2 {
  margin: 0 0 8px;
  text-align: center;
  font-size: 15pt;
}

.standard-print-document .curriculum-aid-lkpd-appendix > h3 {
  margin: 0 0 14px;
  text-align: center;
  font-size: 12pt;
}

.standard-print-document .curriculum-aid-lkpd-appendix h4 {
  margin: 14px 0 6px;
  font-size: 10pt;
}

.standard-print-document .curriculum-aid-lkpd-appendix p {
  margin: 4px 0;
}

.standard-print-document .curriculum-aid-lkpd-identity {
  width: 100%;
  margin: 12px 0 18px;
  border-collapse: collapse;
}

.standard-print-document .curriculum-aid-lkpd-identity th,
.standard-print-document .curriculum-aid-lkpd-identity td {
  height: 28px;
  padding: 5px 7px;
  border: 1px solid #737d75;
  text-align: left;
}

.standard-print-document .curriculum-aid-lkpd-identity th {
  width: 12%;
  background: #f0f2f0;
}

.standard-print-document .curriculum-aid-lkpd-identity td {
  width: 21%;
}

.standard-print-document .curriculum-aid-lkpd-appendix ol {
  margin: 5px 0 10px;
  padding-left: 22px;
}

.standard-print-document .curriculum-aid-lkpd-appendix li {
  margin: 4px 0;
  padding-left: 3px;
}

.standard-print-document .curriculum-aid-lkpd-answer {
  margin: 8px 0 14px;
  break-inside: avoid;
}

.standard-print-document .curriculum-aid-lkpd-answer strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}

.standard-print-document .curriculum-aid-lkpd-answer span {
  display: block;
  height: 27px;
  border-bottom: 1px solid #879188;
}

.standard-print-document .privacy-badge {
  padding: 8px;
  border: 1px solid #e4cb7c;
  background: #fff5d6;
}

.standard-print-document .signatures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin: 38px 8px 0;
  text-align: center;
}

.standard-print-document .signatures p {
  margin: 4px;
}

.standard-print-document .signature-space {
  height: 62px;
}

.standard-print-document .signatures strong {
  display: block;
  text-decoration: underline;
}

@media print {
  .standard-print-document {
    margin: 0;
  }
}

@media print {
  .kom-print-document .letterhead,
  .kom-print-document .signatures,
  .kom-print-document .kom-signatory-print {
    break-inside: avoid;
  }

  .kom-print-document .kom-table tr,
  .kom-print-document .kom-identity-table tr {
    break-inside: avoid;
  }
}

.gtk-print-sheets {
  display: none;
}

.gtk-data-sheet {
  color: #17251d;
  font: 10pt Arial, sans-serif;
}

.gtk-data-sheet-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 12pt;
  border-bottom: 2px solid #315d42;
}

.gtk-data-sheet-head span {
  color: #55705c;
  font-size: 8pt;
  letter-spacing: .12em;
  font-weight: bold;
}

.gtk-data-sheet-head h1 {
  margin: 8pt 0 4pt;
  font-size: 19pt;
}

.gtk-data-sheet-head p {
  margin: 0;
  color: #48594c;
}

.gtk-data-sheet-head img,
.gtk-sheet-no-photo {
  width: 30mm;
  height: 40mm;
  object-fit: cover;
  border: 1px solid #aeb9ae;
}

.gtk-sheet-no-photo {
  display: grid;
  place-items: center;
  color: #56665a;
  text-align: center;
  font-size: 8pt;
}

.gtk-data-sheet-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12mm;
  margin: 14pt 0;
}

.gtk-data-sheet-fields > div {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 5pt;
  padding: 6pt 0;
  border-bottom: 1px solid #d5ddd5;
  break-inside: avoid;
}

.gtk-data-sheet-fields dt {
  color: #4a5a4d;
  font-weight: bold;
}

.gtk-data-sheet-fields dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.gtk-data-sheet footer {
  padding-top: 8pt;
  border-top: 1px solid #aeb9ae;
  color: #56665a;
  font-size: 8pt;
  text-align: right;
}

@media print {
  @page gtk-attendance-report {
    size: A4 landscape;
    margin: 12mm;
  }

  .gtk-report-filter,
  .gtk-report-audit-note,
  .gtk-correction-panel,
  #gtkReportSearch,
  .gtk-correction-column {
    display: none !important;
  }

  .gtk-report-heading,
  .gtk-report-metrics,
  .gtk-report-table {
    page: gtk-attendance-report;
  }

  .gtk-report-heading,
  .gtk-report-metrics,
  .gtk-report-table tr {
    break-inside: avoid;
  }

  .gtk-report-metrics {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .gtk-report-table {
    min-width: 0 !important;
  }

  .gtk-report-table th,
  .gtk-report-table td {
    padding: 5pt 6pt !important;
    font-size: 8.5pt !important;
    line-height: 1.35 !important;
  }

  .gtk-report-heading h2 {
    font-size: 16pt !important;
  }

  .gtk-report-heading p,
  .gtk-report-metrics .metric small {
    font-size: 9pt !important;
  }

}

.kom-identity-form {
  border: 1px solid #ccd5cd;
  border-radius: 8px;
  padding: 14px;
  background: #f7faf8;
}

.kom-identity-form .kom-identity-table {
  max-width: 720px;
  background: #fff;
}

.kom-identity-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10pt;
}

.kom-identity-table th,
.kom-identity-table td {
  padding: 6pt 8pt;
  border: 1px solid #aebbb1;
  text-align: left;
  vertical-align: top;
}

.kom-identity-table th {
  width: 34%;
  font-weight: bold;
}

.kom-identity-form .kom-identity-table td {
  color: #39463e;
}

.kom-source-print .source-page {
  font-family: "Times New Roman", serif;
  line-height: 1.5;
}

@page gtk-record-print {
  size: A4 portrait;
  margin: 10mm;
}

@page gtk-card-print {
  size: A4 portrait;
  margin: 12mm;
}

@page gtk-table-print {
  size: A4 landscape;
  margin: 8mm;
}

@page student-record-print {
  size: A4 landscape;
  margin: 8mm;
}

body.gtk-record-print-mode {
  page: gtk-record-print;
  margin: 0;
  color: #17251d;
  font: 10pt Arial, sans-serif;
}

.gtk-record-print-mode .gtk-data-sheet {
  display: block;
  width: 190mm;
  margin: 0 auto;
  padding: 0;
  break-after: page;
  page-break-after: always;
  break-inside: avoid;
  page-break-inside: avoid;
}

.gtk-record-print-mode .gtk-data-sheet:last-child {
  break-after: auto;
  page-break-after: auto;
}

.gtk-record-print-mode .gtk-sheet-letterhead {
  display: grid;
  grid-template-columns: 16mm minmax(0, 1fr);
  align-items: center;
  gap: 4mm;
  min-height: 19mm;
  text-align: center;
}

.gtk-record-print-mode .gtk-sheet-letterhead > div {
  min-width: 0;
}

.gtk-record-print-mode .gtk-sheet-school-logo {
  display: block;
  width: 16mm;
  height: 16mm;
  max-width: 16mm;
  max-height: 16mm;
  object-fit: contain;
}

.gtk-record-print-mode .gtk-sheet-letterhead p {
  margin: .5mm 0;
  font-size: 7pt;
}

.gtk-record-print-mode .gtk-sheet-letterhead h1 {
  margin: .5mm 0;
  font-size: 11pt;
}

.gtk-record-print-mode .gtk-sheet-letterhead .letterhead-line2 {
  font-size: 9pt;
  font-weight: 700;
}

.gtk-record-print-mode .gtk-sheet-letterhead-rule {
  margin: 1mm 0 3mm;
  border-bottom: .8mm double #26382d;
}

.gtk-record-print-mode .gtk-data-sheet-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22mm;
  align-items: center;
  gap: 4mm;
  min-height: 0;
  padding: 0 0 2.5mm;
  border-bottom: .5mm solid #315d42;
}

.gtk-record-print-mode .gtk-data-sheet-head span {
  color: #55705c;
  font-size: 7pt;
  font-weight: 700;
  letter-spacing: .08em;
}

.gtk-record-print-mode .gtk-data-sheet-head h1 {
  margin: 1mm 0 .5mm;
  font-size: 14pt;
}

.gtk-record-print-mode .gtk-data-sheet-head p {
  margin: 0;
  font-size: 8pt;
}

.gtk-record-print-mode .gtk-data-sheet-head img {
  display: block;
  width: 22mm;
  height: 28mm;
  max-width: 22mm;
  max-height: 28mm;
  object-fit: cover;
  border: .25mm solid #aeb9ae;
}

.gtk-record-print-mode .gtk-data-sheet-fields {
  display: table;
  width: 100%;
  margin: 2mm 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.gtk-record-print-mode .gtk-data-sheet-fields th,
.gtk-record-print-mode .gtk-data-sheet-fields td {
  padding: 1.35mm 1.5mm;
  border: .35mm solid #44564a;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  line-height: 1.15;
}

.gtk-record-print-mode .gtk-data-sheet-fields th {
  width: 22mm;
  background: #e8eee9;
  color: #26382d;
  font-size: 7pt;
  font-weight: 700;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.gtk-record-print-mode .gtk-data-sheet-fields td {
  width: 73mm;
  font-size: 7.5pt;
  white-space: pre-wrap;
}

.gtk-record-print-mode .gtk-data-sheet footer {
  padding-top: 2mm;
  border-top: .35mm solid #65776a;
  color: #56665a;
  font-size: 6.5pt;
  text-align: right;
}

body.gtk-table-print-mode {
  page: gtk-table-print;
  margin: 0;
  color: #17251d;
  font: 8pt Arial, sans-serif;
}

.gtk-table-print-mode * {
  box-sizing: border-box;
}

.gtk-table-print-mode table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.gtk-table-print-mode th,
.gtk-table-print-mode td {
  padding: 1.4mm 1mm;
  border: .55mm solid #17251d;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  line-height: 1.18;
}

.gtk-table-print-mode th {
  border-width: .7mm;
  background: #e5eee7;
  color: #17251d;
  font-size: 8pt;
  font-weight: 700;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.gtk-table-print-mode td {
  font-size: 7.5pt;
}

.gtk-table-print-mode tbody tr:nth-child(even) {
  background: #f1f5f2;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.gtk-table-print-mode tbody tr {
  break-inside: avoid;
  page-break-inside: avoid;
}

.gtk-table-print-mode .gtk-table-letterhead {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 4mm;
  width: 100%;
  min-height: 24mm;
  text-align: center;
}

.gtk-table-print-mode .gtk-table-letterhead .letterhead-copy {
  flex: 1 1 0;
  min-width: 0;
}

.gtk-table-print-mode .gtk-table-logo {
  display: block;
  flex: 0 0 22mm;
  width: 22mm;
  height: 22mm;
  max-width: 22mm;
  object-fit: contain;
}

.gtk-table-print-mode .gtk-table-letterhead p {
  margin: .5mm 0;
  font-size: 7pt;
}

.gtk-table-print-mode .gtk-table-letterhead h1 {
  margin: .5mm 0;
  font-size: 12pt;
}

.gtk-table-print-mode .gtk-table-letterhead .letterhead-line2 {
  font-size: 10pt;
  font-weight: 700;
}

.gtk-table-print-mode .gtk-table-letterhead + .letterhead-rule {
  height: 3px;
  margin: 2mm 0 3mm;
  border-top: 3px solid #17251d;
  border-bottom: 1px solid #17251d;
}

.gtk-table-print-mode h2 {
  margin: 0 0 1mm;
  font-size: 10pt;
  text-align: center;
}

.gtk-table-print-mode .gtk-table-meta {
  margin: 0 0 2mm;
  color: #48594c;
  font-size: 6pt;
}

.gtk-table-print-mode .gtk-table-number {
  width: 8mm;
  text-align: center;
  white-space: nowrap;
}

.gtk-table-print-mode .gtk-table-column-name {
  width: 25mm;
}

.gtk-table-print-mode .gtk-table-column-identity {
  width: 25mm;
}

.gtk-table-print-mode .gtk-table-column-subject {
  width: 22mm;
}

.gtk-table-print-mode .gtk-table-column-classes {
  width: 20mm;
}

.gtk-table-print-mode .gtk-table-column-contact {
  width: 22mm;
}

.gtk-table-print-mode thead {
  display: table-header-group;
}

.gtk-table-print-mode .gtk-table-signature {
  width: 66mm;
  margin: 8mm 8mm 0 auto;
  text-align: center;
  break-inside: avoid;
  page-break-inside: avoid;
}

.gtk-table-print-mode .gtk-table-signature p {
  margin: 0;
  font-size: 8pt;
  line-height: 1.4;
}

.gtk-table-print-mode .gtk-table-signature-space {
  height: 18mm;
}

.gtk-table-print-mode .gtk-table-signature strong {
  display: inline-block;
  min-width: 48mm;
  border-bottom: .25mm solid #17251d;
  font-size: 8pt;
  text-decoration: none;
}

.gtk-table-print-mode .gtk-table-signature-blank {
  display: inline-block;
  min-width: 48mm;
  height: 4mm;
  border-bottom: .25mm solid #17251d;
}

.gtk-table-print-mode .gtk-table-signature .gtk-table-signature-identifier {
  margin-top: 1mm;
  font-size: 7pt;
}

body.gtk-card-print-mode {
  page: gtk-card-print;
  margin: 0;
  color: #173a2b;
  font: 7pt Arial, sans-serif;
}

.gtk-card-print-mode *,
.identity-card-preview-body * {
  box-sizing: border-box;
}

.gtk-card-print-mode .gtk-card-sheet {
  display: grid;
  grid-template-columns: repeat(2, 86mm);
  grid-auto-rows: 54.2mm;
  justify-content: center;
  align-content: start;
  gap: 5mm 7mm;
}

.gtk-card-print-mode .gtk-id-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 86mm;
  height: 54.2mm;
  overflow: hidden;
  border: .35mm solid #b6c8bc;
  border-radius: 2.4mm;
  background: #fff;
  break-inside: avoid;
  page-break-inside: avoid;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.gtk-card-print-mode .id-card-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2mm;
  min-height: 11mm;
  padding: 1.5mm 2.5mm;
  overflow: hidden;
  background: #124d37;
  color: #fff;
}

.gtk-card-print-mode .id-card-header:after {
  position: absolute;
  top: -9mm;
  right: -3mm;
  width: 28mm;
  height: 28mm;
  border: .3mm solid #ffffff36;
  border-radius: 50%;
  content: "";
}

.gtk-card-print-mode .id-card-logo,
.gtk-card-print-mode .id-card-monogram {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 7mm;
  place-items: center;
  width: 7mm;
  height: 7mm;
  border: .3mm solid #e8d39b;
  border-radius: 1.4mm;
  background: #fff;
  color: #124d37;
  font-size: 8pt;
  font-weight: 700;
}

.gtk-card-print-mode .id-card-logo {
  object-fit: contain;
}

.gtk-card-print-mode .id-card-brand {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  gap: .6mm;
}

.gtk-card-print-mode .id-card-brand strong {
  overflow: hidden;
  font-size: 7pt;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gtk-card-print-mode .id-card-brand span {
  color: #e8d39b;
  font-size: 5pt;
  font-weight: 700;
  letter-spacing: .7mm;
}

.gtk-card-print-mode .id-card-header i {
  position: absolute;
  right: 3mm;
  bottom: -5mm;
  width: 11mm;
  height: 11mm;
  border: 1mm solid #d9c184;
  border-radius: 50%;
  opacity: .8;
}

.gtk-card-print-mode .id-card-body {
  display: flex;
  flex: 1;
  min-height: 0;
  align-items: center;
  gap: 2.5mm;
  padding: 2mm 2.5mm 1.5mm;
}

.gtk-card-print-mode .id-card-photo {
  display: block;
  flex: 0 0 19mm;
  width: 19mm;
  height: 26mm;
  overflow: hidden;
  border: .5mm solid #d6c07d;
  border-radius: 1.2mm;
  background: #e9f0eb;
  object-fit: cover;
}

.gtk-card-print-mode .id-card-photo-placeholder {
  display: grid;
  place-items: center;
  background: #e9f1eb;
  color: #14583e;
}

.gtk-card-print-mode .id-card-photo-placeholder span {
  display: grid;
  place-items: center;
  width: 12mm;
  height: 12mm;
  border: .4mm solid #fff;
  border-radius: 50%;
  background: #c8dfd0;
  font-size: 10pt;
  font-weight: 700;
}

.gtk-card-print-mode .id-card-information {
  flex: 1;
  min-width: 0;
}

.gtk-card-print-mode .id-card-eyebrow {
  display: block;
  overflow: hidden;
  color: #658071;
  font-size: 4.7pt;
  font-weight: 700;
  letter-spacing: .2mm;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.gtk-card-print-mode .id-card-information h2 {
  margin: .8mm 0 1.5mm;
  color: #173a2b;
  font-size: 9pt;
  line-height: 1.1;
}

.gtk-card-print-mode .id-card-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1mm 2mm;
}

.gtk-card-print-mode .id-card-fact {
  display: grid;
  min-width: 0;
  gap: .3mm;
}

.gtk-card-print-mode .id-card-fact span {
  color: #738479;
  font-size: 4.5pt;
}

.gtk-card-print-mode .id-card-fact strong {
  overflow-wrap: anywhere;
  color: #263d30;
  font-size: 5.3pt;
  line-height: 1.05;
}

.gtk-card-print-mode .id-card-fact-wide {
  grid-column: 1 / -1;
}

.gtk-card-print-mode .id-card-footer {
  display: flex;
  min-height: 6.5mm;
  align-items: center;
  gap: 1.5mm;
  padding: 1mm 2.5mm;
  border-top: .3mm solid #e0e9e1;
  background: #f2f7f3;
  color: #6b7b70;
}

.gtk-card-print-mode .id-card-footer > span:first-child {
  font-size: 4.4pt;
  font-weight: 700;
  letter-spacing: .2mm;
}

.gtk-card-print-mode .id-card-footer strong {
  color: #15583d;
  font-size: 6.4pt;
}

.gtk-card-print-mode .id-card-validity {
  margin-left: auto;
  padding: .8mm 1.5mm;
  border: .25mm solid #d8c88f;
  border-radius: 4mm;
  color: #775c1f;
  font-size: 4pt;
  font-weight: 700;
  letter-spacing: .2mm;
}

.identity-card-preview-body {
  margin: 0;
}

.identity-card-preview-grid .identity-card-photo {
  flex: 0 0 15mm;
  width: 15mm;
  height: 20mm;
  max-width: 15mm;
  max-height: 20mm;
  object-fit: cover;
}

@media print {
  .identity-card-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 86mm);
    grid-auto-rows: 54.2mm;
    align-content: start;
    justify-content: center;
    gap: 5mm 7mm;
  }

  .identity-card-preview-grid .identity-card {
    display: flex;
    flex-direction: column;
    width: 86mm;
    height: 54.2mm;
    min-height: 0;
    aspect-ratio: auto;
    overflow: hidden;
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .identity-card-preview-grid .identity-card-header {
    display: flex;
    flex: 0 0 11mm;
    min-height: 11mm;
  }

  .identity-card-preview-grid .identity-card-main {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
  }

  .identity-card-preview-grid .identity-card-footer {
    display: flex;
    flex: 0 0 6.5mm;
    min-height: 6.5mm;
  }
}

body.gtk-table-print-mode,
body.student-record-print-mode {
  margin: 0;
  color: #17251d;
  font: 9pt Arial, sans-serif;
}

body.student-record-print-mode {
  page: student-record-print;
}

.student-record-print-mode * {
  box-sizing: border-box;
}

.student-record-print-mode .student-print-heading {
  display: flex;
  align-items: center;
  gap: 5mm;
  padding-bottom: 2mm;
  border-bottom: 1mm double #26382d;
  text-align: center;
}

.student-record-print-mode .student-print-heading > div {
  flex: 1;
}

.student-record-print-mode .student-print-logo {
  width: 22mm;
  height: 22mm;
  object-fit: contain;
}

.student-record-print-mode .student-print-heading p {
  margin: .7mm 0;
  font-size: 7pt;
}

.student-record-print-mode .student-print-heading h1 {
  margin: 1mm 0;
  font-size: 14pt;
}

.student-record-print-mode .student-print-heading .letterhead-line2 {
  font-size: 10pt;
  font-weight: 700;
}

.student-record-print-mode h2 {
  margin: 2mm 0;
  font-size: 11pt;
  text-align: center;
}

.student-record-print-mode .student-print-meta {
  margin: 0 0 2mm;
  color: #344b3b;
  font-size: 7pt;
}

.student-record-print-mode table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.student-record-print-mode th,
.student-record-print-mode td {
  padding: 1.2mm .9mm;
  border: .65mm solid #17251d !important;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  line-height: 1.16;
}

.student-record-print-mode th {
  border-width: .8mm !important;
  background: #e5eee7;
  color: #17251d;
  font-size: 7.5pt;
  font-weight: 700;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.student-record-print-mode td {
  font-size: 7pt;
}

.student-record-print-mode td > div {
  margin: 0 0 .7mm;
}

.student-record-print-mode td strong {
  color: #26382d;
}

.student-record-print-mode tbody tr:nth-child(even) {
  background: #f1f5f2;
  print-color-adjust: exact;
  -webkit-print-color-adjust: exact;
}

.student-record-print-mode tbody tr {
  break-inside: avoid;
  page-break-inside: avoid;
}

.student-record-print-mode .student-print-number,
.student-record-print-mode .student-print-photo {
  width: 9mm;
  text-align: center;
}

.student-record-print-mode .student-print-identities {
  width: 47mm;
}

.student-record-print-mode .student-print-personal {
  width: 43mm;
}

.student-record-print-mode .student-print-family {
  width: 72mm;
}

.student-record-print-mode .student-print-history {
  width: 38mm;
}

.student-record-print-mode .student-print-photo img {
  display: block;
  width: 9mm;
  height: 12mm;
  max-width: 9mm;
  max-height: 12mm;
  object-fit: cover;
  margin: 0 auto;
}

.student-record-print-mode thead {
  display: table-header-group;
}
