/* The 1988 book: small, quiet additions to the cosmo theme. */

/* Page markers: where each page of the original report begins. */
.pg { font-size: 0.7em; color: #898781; font-variant-numeric: tabular-nums;
      white-space: nowrap; vertical-align: 0.15em; margin-right: 0.15em; }
.provenance { color: #52514e; font-size: 0.9em; margin-top: -0.5rem; margin-bottom: 1.25rem; }

/* 1988 tables, rendered from data/reference/survey_1988/. */
table.t88 { width: auto; max-width: 100%; font-size: 0.9rem; margin-bottom: 0.25rem; }
table.t88 th, table.t88 td { padding: 0.25rem 0.6rem; vertical-align: bottom; }
table.t88 thead th { font-weight: 600; color: #52514e; border-bottom: 1px solid #c3c2b7; }
table.t88 thead th.spanner { text-align: center; border-bottom: 1px solid #e1e0d9; font-weight: 500; }
table.t88 thead th.rowhead { text-align: left; }
table.t88 tbody th { font-weight: 400; text-align: left; }
table.t88 .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.t88 tr.group th { font-weight: 600; padding-top: 0.6rem; border-bottom: 1px solid #e1e0d9; }
table.t88 tr.base th, table.t88 tr.base td,
table.t88 tr.total th, table.t88 tr.total td { border-top: 1px solid #c3c2b7; color: #52514e; font-style: italic; }
/* Quarto centres table captions and anything else in a table float; the
   printed notes read better left-aligned, under the table. */
.tbl-note, .quarto-float-caption-top { text-align: left !important; }
.tbl-note { font-size: 0.85rem; color: #52514e; max-width: 40rem; margin-bottom: 1.5rem; }
.tbl-intext { font-size: 0.85rem; color: #52514e; margin-bottom: 0.25rem; font-style: italic; }
.cell-output-display { overflow-x: auto; }

/* Appendix C: the questionnaires. One panel per printed page. */
.q1988-page { border: 1px solid #e1e0d9; border-radius: 4px; padding: 1rem 1.25rem 0.25rem;
              margin: 0 0 1.25rem; font-family: "Courier New", Courier, monospace; font-size: 0.9rem; }
.q1988-page table { font-family: inherit; font-size: inherit; width: auto; }
.q1988-page ul.task-list, .q1988-page ul { list-style: none; padding-left: 1.5rem; }
.q1988-box { border: 2px dotted #898781; padding: 0.75rem 1rem 0.1rem; margin: 0.75rem 0 1rem; }
.q1988-note { color: #52514e; font-size: 0.9em; border-left: 3px solid #c3c2b7;
              padding-left: 0.75rem; margin-bottom: 1.25rem; }
.q-sub { display: block; margin-left: 2rem; }
.underline { text-decoration: underline; }
