:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #202124;
  background: #f3f4f6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

.document-page {
  max-width: 960px;
  margin: 24px auto;
  padding: 48px 64px;
  background: #ffffff;
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  color: #111827;
  line-height: 1.35;
}

h1 {
  margin: 0 0 24px;
  font-size: 32px;
}

h2 {
  margin: 36px 0 14px;
  font-size: 22px;
}

h3 {
  margin: 24px 0 12px;
  font-size: 18px;
}

p {
  margin: 0 0 16px;
}

.document-meta {
  margin-bottom: 4px;
  color: #4b5563;
  font-size: 14px;
}

ul,
ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

li + li {
  margin-top: 8px;
}

a {
  color: #175cd3;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

table {
  width: 100%;
  margin: 20px 0 24px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 15px;
}

th,
td {
  padding: 12px 14px;
  border: 1px solid #d9d9d9;
  vertical-align: top;
  text-align: left;
}

thead th {
  background: #f3f4f6;
}

tbody th {
  font-weight: 600;
}

thead th:first-child {
  width: 26%;
}

th p,
td p {
  margin: 0;
}

th p + p,
td p + p {
  margin-top: 12px;
}

@media screen and (max-width: 700px) {
  :root {
    background: #ffffff;
  }

  .document-page {
    margin: 0;
    padding: 28px 20px 40px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    margin-top: 30px;
    font-size: 20px;
  }

  table,
  tbody,
  tr,
  th,
  td {
    display: block;
    width: 100%;
  }

  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  tbody tr {
    padding: 16px 0;
    border-top: 1px solid #d9d9d9;
  }

  tbody tr:last-child {
    border-bottom: 1px solid #d9d9d9;
  }

  tbody th,
  tbody td {
    width: 100%;
    padding: 0;
    border: 0;
  }

  tbody th {
    margin-bottom: 12px;
    font-size: 16px;
  }

  tbody td + td {
    margin-top: 12px;
  }

  tbody td::before {
    display: block;
    margin-bottom: 4px;
    color: #4b5563;
    font-size: 13px;
    font-weight: 700;
    content: attr(data-label);
  }
}

@media print {
  :root {
    background: #ffffff;
  }

  .document-page {
    max-width: none;
    margin: 0;
    padding: 0;
  }

  h1,
  h2,
  h3,
  thead {
    break-after: avoid;
  }

  tr {
    break-inside: avoid;
  }
}
