/* Shared styles of the reference articles built by _restore/tools/build_pages.py. */
[data-it-page] .post-text > .row:first-child .v-image { max-height: 300px !important; }
[data-it-page] .post-text > .row:first-child figcaption { margin: 8px 0 0; color: #58675c; font-size: 14px; line-height: 1.5; }
[data-it-page] .post-text > .row:first-child figcaption a { color: #365f44; text-underline-offset: 3px; }
.run-code.it-page { min-width: 0; color: #243c31; font-size: 17px; line-height: 1.7; overflow-wrap: break-word; }
.run-code.it-page h2 { margin: 36px 0 14px; color: #254b38; font-size: 27px; line-height: 1.3; }
.run-code.it-page h3 { margin: 22px 0 8px; color: #254b38; font-size: 20px; line-height: 1.4; }
.run-code.it-page p { margin: 0 0 16px; }
.run-code.it-page :is(ul, ol) { margin: 0 0 16px; padding-left: 24px; }
.run-code.it-page li { margin: 0 0 6px; }
.it-page :is(section, h2, h3) { scroll-margin-top: 24px; }
.it-page .ip-lead { font-size: 19px; }
.it-page a { color: #365f44; text-underline-offset: 3px; }
.it-page a:focus-visible { outline: 3px solid #a36b27; outline-offset: 3px; }
.it-page .ip-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 4px 0 18px; }
.it-page .ip-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

.it-page .ip-table-wrap { max-width: 100%; margin: 20px 0 24px; overflow-x: auto; }
.run-code.it-page .ip-table { display: table; width: 100%; margin: 0; border: 1px solid #d1daca; border-collapse: collapse; background: #fff; font-size: 16px; }
.run-code.it-page .ip-table :is(th, td) { padding: 10px 14px; border: 0; border-bottom: 1px solid #e0e6db; text-align: left; line-height: 1.5; vertical-align: top; }
.run-code.it-page .ip-table thead th { color: #58675c; background: #f2f5ec; font-size: 14px; font-weight: 500; }
.run-code.it-page .ip-table tbody th { font-weight: 500; }
.run-code.it-page .ip-table td.ip-num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.run-code.it-page .ip-note { padding: 16px 18px; border-left: 3px solid #8a9c70; background: #f3f6ee; }
.it-page .ip-figure { margin: 8px 0 24px; }
.it-page .ip-figure svg { display: block; max-width: 100%; height: auto; }
.it-page figcaption { margin-top: 8px; color: #58675c; font-size: 14px; line-height: 1.5; }
.run-code.it-page .ip-sources { margin-top: 36px; padding-top: 8px; border-top: 1px solid #d1daca; color: #58675c; font-size: 14px; }
.run-code.it-page .ip-sources h2 { margin-top: 20px; font-size: 21px; }
@media (max-width: 600px) {
  [data-it-page] .post-text > .row:first-child .v-image { max-height: 200px !important; }
  .run-code.it-page { font-size: 16px; }
  .it-page .ip-lead { font-size: 17px; }
  .run-code.it-page h2 { font-size: 24px; }
  .it-page .ip-nav { gap: 12px 18px; }
  .run-code.it-page .ip-table { font-size: 14px; }
  .run-code.it-page .ip-table :is(th, td) { padding: 9px 7px; hyphens: auto; }
  .run-code.it-page .ip-table td.ip-num { white-space: normal; }
}
@media print {
  .it-page .ip-nav { display: none !important; }
  .it-page .ip-table-wrap { overflow: visible; }
}
