:root {
  --bg: #ffffff;
  --canvas: #f6f6f6;
  --text: #0a0a0a;
  --muted: #4b5563;
  --border: #e5e5e5;
  --header: #f2f2f2;
  --rowAlt: #fafafa;
  --hover: #f5f5f5;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  --accent: #0a0a0a;
  --accentSoft: rgba(0, 0, 0, 0.06);
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  padding: 20px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: 0.8rem;
  color: var(--text);
  background: var(--canvas);
  line-height: 1.6;
}

.page {
  max-width: 1470px;
  margin: 0 auto;
  padding: 28px 30px 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.page::before {
  content: none;
}

h1 {
  font-size: 1.2rem;
  margin: 0 0 12px;
  letter-spacing: 0.2px;
  color: #0f172a;
  padding-top: 2px;
}

h2 {
  font-size: 1rem;
  margin: 22px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

h3 {
  font-size: 0.95rem;
  margin: 18px 0 8px;
  color: #0f172a;
}

p {
  margin: 10px 0;
  text-align: justify;
  text-indent: 1.4em;
  text-wrap: pretty;
  hyphens: auto;
}

.subtle {
  color: var(--muted);
  margin-top: 0;
  text-indent: 0;
  text-align: left;
}

.table-wrap {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: visible;
  box-shadow: var(--shadow);
  background: #fff;
  margin: 14px 0;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.table-wrap:hover {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  table-layout: fixed;
  font-size: 1em;
}

thead th {
  position: sticky;
  top: 0;
  z-index: 1;
}

th,
td {
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

th:first-child,
td:first-child {
  border-left: 1px solid var(--border);
}

thead th {
  background: var(--header);
  font-weight: 600;
}

tbody tr:nth-child(even) td {
  background: var(--rowAlt);
}

tbody tr:hover td {
  background: var(--hover);
}

ul {
  margin: 8px 0 12px 18px;
}

li {
  margin: 4px 0;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}

h1 + p,
h2 + p,
h3 + p,
hr + p {
  text-indent: 0;
}

.doc-header {
  text-align: center;
  text-indent: 0;
  margin: 0 0 10px;
}

.doc-header strong {
  display: inline-block;
  margin: 2px 0;
}

/* Small-screen readability */
@media (max-width: 720px) {
  body {
    padding: 12px;
  }
  .page {
    padding: 18px 16px 22px;
  }
  p {
    text-align: left;
    text-indent: 0.9em;
  }
}
