/* Whitepaper certification checklists: source rows remain expanded. */
.wp-checklist-scroll {
  width: 100%; max-width: 100%; overflow-x: auto; overflow-y: visible;
  margin: 1.6rem 0 2rem; border: 1px solid #d9dfe3; border-radius: 3px;
  background: #fff; scrollbar-color: #8798a4 #edf0f2;
}
.wp-checklist-scroll:focus-visible { outline: 2px solid #a27d4d; outline-offset: 3px; }
.book-chapter-body .wp-checklist-table, .wp-checklist-table {
  border-collapse: collapse; table-layout: auto; width: 100%; min-width: 760px;
  font-size: 14px; line-height: 1.8; color: #293c4b; margin: 0;
}
.wp-checklist-table caption {
  caption-side: top; text-align: left; padding: 15px 16px; font-size: 15px;
  font-weight: 600; color: #233e50; background: #f1f4f5; border-bottom: 1px solid #d9dfe3;
}
.book-chapter-body .wp-checklist-table th, .book-chapter-body .wp-checklist-table td,
.wp-checklist-table th, .wp-checklist-table td {
  min-width: 84px; max-width: 340px; padding: 12px 14px;
  text-align: left; vertical-align: top; border-bottom: 1px solid #e2e7e9;
  border-right: 1px solid #e6eaed; white-space: normal;
  overflow-wrap: anywhere; word-break: normal; font-size: inherit;
}
.wp-checklist-table th { color: #223b4d; background: #e8eef1; font-weight: 600; }
.wp-checklist-table tbody tr:nth-child(even) td { background: #f8fafb; }
.wp-checklist-table tbody tr:hover td { background: #f1f5f6; }
.wp-checklist-table td:first-child { min-width: 118px; font-weight: 500; }
.wp-checklist-table small { display: block; color: #586c7b; font-size: 12px; line-height: 1.65; margin-top: 6px; }
.book-chapter-body .wp-checklist-table p { font-size: inherit; line-height: inherit; margin: 7px 0 0; }
.book-chapter-body .wp-checklist-table a { text-underline-offset: 3px; }
.wp-checklist-table [id], .wp-round1 [id] { scroll-margin-top: 28px; }
.wp-checklist-table[data-column-count="17"] th,
.wp-checklist-table[data-column-count="17"] td { min-width: 44px; padding: 10px; }
.wp-checklist-table[data-column-count="17"] td:first-child { min-width: 66px; }
.wp-checklist-table[data-column-count="17"] td:nth-child(2) { min-width: 150px; }
.wp-checklist-table[data-column-count="17"] td:nth-child(3) { min-width: 160px; }
.wp-checklist-table[data-column-count="17"] td:nth-child(16) { min-width: 230px; }
.wp-checklist-table[data-column-count="17"] td:nth-child(17) { min-width: 86px; }
.wp-source-note { font-size: 14px; color: #566975; border-left: 3px solid #ac8a58; padding-left: 14px; }
.book-chapter-body h4 { margin: 32px 0 14px; font-size: 18px; line-height: 1.6; color: #294558; }
@media (min-width: 1380px) {
  .wp-checklist-page .book-reader { max-width: 1480px; grid-template-columns: 216px minmax(0, 1100px); gap: 42px; }
  .wp-checklist-page .book-manuscript { padding-left: 42px; padding-right: 42px; }
}
@media (max-width: 640px) {
  .wp-checklist-scroll { margin: 1.3rem 0; }
  .book-chapter-body .wp-checklist-table, .wp-checklist-table { font-size: 14px; }
  .book-chapter-body .wp-checklist-table th, .book-chapter-body .wp-checklist-table td { padding: 10px 12px; }
}
@media print {
  .wp-checklist-scroll { overflow: visible; border: 0; }
  .wp-checklist-table { min-width: 0; font-size: 9pt; }
  .wp-checklist-table tr { break-inside: avoid; }
  .wp-checklist-table thead { display: table-header-group; }
}
.book-checklist-nav {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0 28px;
  padding: 16px 0; border-top: 1px solid #dce3e7; border-bottom: 1px solid #dce3e7;
  line-height: 1.75; font-size: 14px;
}
.book-checklist-nav a { display: inline-block; color: #38566b; text-underline-offset: 4px; }
.book-chapter-body .wp-spv-table th,
.book-chapter-body .wp-spv-table td { min-width: 44px; padding: 11px 10px; }
.book-chapter-body .wp-spv-table th:first-child,
.book-chapter-body .wp-spv-table td:first-child { min-width: 58px; width: 58px; }
.book-chapter-body .wp-spv-table th:nth-child(2),
.book-chapter-body .wp-spv-table td:nth-child(2) { min-width: 160px; }
.book-chapter-body .wp-spv-table th:nth-child(3),
.book-chapter-body .wp-spv-table td:nth-child(3) { min-width: 170px; }
.book-chapter-body .wp-spv-table[data-column-count="12"],
.book-chapter-body .wp-spv-table[data-column-count="13"] { min-width: 1160px; }
.book-chapter-body .wp-checklist-table[data-column-count="2"],
.wp-checklist-table[data-column-count="2"] { min-width: 0; }
.book-chapter-body .wp-checklist-table[data-column-count="2"] td:first-child,
.book-chapter-body .wp-checklist-table[data-column-count="2"] th:first-child { min-width: 56px; width: 20%; }
.book-chapter-body .wp-checklist-table[data-column-count="2"] td:last-child { max-width: none; }
.book-chapter-body .wp-round2-note { border-top: 1px solid #dce3e7; padding-top: 8px; color: #405a69; }
.wp-source-empty { color: #6f7e88; }
/* EU route cells contain the full statutory exception, not just a code. */
.book-chapter-body table[id^="eu-route-"]:not(#eu-route-difference-table) td:first-child,
.book-chapter-body table[id^="eu-route-"]:not(#eu-route-difference-table) th:first-child { min-width: 60px; }
.book-chapter-body table[id^="eu-route-"]:not(#eu-route-difference-table) td:nth-child(2) { min-width: 150px; }
.book-chapter-body table[id^="eu-route-"]:not(#eu-route-difference-table) td:nth-child(3) { min-width: 150px; }
.book-chapter-body table[id^="eu-route-"]:not(#eu-route-difference-table) td:nth-child(n+4) { min-width: 210px; max-width: 360px; }
.book-chapter-body table[id^="eu-route-"]:not(#eu-route-difference-table) tbody tr[data-source-item] > :first-child {
  position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 #d9dfe3;
}
.book-chapter-body table[id^="eu-route-"]:not(#eu-route-difference-table) tbody tr[data-source-item]:nth-child(even) > :first-child { background: #f8fafb; }
.book-chapter-body table[id^="eu-route-"]:not(#eu-route-difference-table) thead th:first-child { position: sticky; left: 0; z-index: 2; box-shadow: 1px 0 #d9dfe3; }
.wp-checklist-table .wp-source-group th { background: #dce7ec; color: #243e50; }
@media (min-width: 900px) {
  .book-chapter-body .wp-checklist-table[data-column-count="4"],
  .book-chapter-body .wp-checklist-table[data-column-count="5"],
  .wp-checklist-table[data-column-count="4"],
  .wp-checklist-table[data-column-count="5"] { min-width: 100%; }
}
