/* Vocabulary tables have their own measured rows; workbook prose spacing is unchanged. */
.qvt-grid {
  --qvt-row-unit: 22.5px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 0;
  width: 100%;
  color: #191b1d;
  font-family: 'Pretendard Variable', 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}
.qvt-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid #24272a;
  font-size: 9pt;
  line-height: 1.2;
}
.qvt-table + .qvt-table { margin-left: -1px; width: calc(100% + 1px); }
.qvt-col-number { width: 9.5%; }
.qvt-col-word { width: 43%; }
.qvt-col-meaning { width: 47.5%; }
/* 동·반의어 칸이 있는 표와 시험지는 한 폭 전체를 쓴다 */
.qvt-grid[data-qvt-wide] { grid-template-columns: minmax(0, 1fr); }
.qvt-grid[data-qvt-wide] .qvt-col-number { width: 7%; }
.qvt-grid[data-qvt-wide] .qvt-col-word { width: 38%; }
.qvt-grid[data-qvt-wide] .qvt-col-meaning { width: 55%; }
.qvt-grid[data-qvt-rel] .qvt-col-number { width: 6%; }
.qvt-grid[data-qvt-rel] .qvt-col-word { width: 21%; }
.qvt-grid[data-qvt-rel] .qvt-col-meaning { width: 29%; }
.qvt-grid[data-qvt-rel] .qvt-col-rel { width: 22%; }
/* 시험지는 손으로 쓸 자리가 필요해 줄을 높인다 */
.qvt-grid[data-qvt-test] { --qvt-row-unit: 30px; }
.qvt-table th, .qvt-table td {
  box-sizing: border-box;
  border: 1px solid #777b80;
  padding: .9mm 1.7mm;
  vertical-align: middle;
  text-align: left;
  overflow-wrap: anywhere;
}
.qvt-table .qvt-heading th {
  background: #191b1d;
  color: #fff;
  border-color: #191b1d;
  height: 28px;
  padding-top: .9mm;
  padding-bottom: .9mm;
  font-size: 9pt;
  font-weight: 800;
  text-align: center;
}
.qvt-table .qvt-heading th:first-child { text-align: center; padding-left: 0; padding-right: 0; }
.qvt-table .qvt-source th {
  background: #f8eded;
  border-top: 1px solid #24272a;
  border-bottom: 1px solid #24272a;
  padding-top: .9mm;
  padding-bottom: .9mm;
  text-align: center;
  font-size: 9pt;
  font-weight: 750;
}
.qvt-table .qvt-number {
  padding-left: .4mm;
  padding-right: .4mm;
  text-align: center;
  font-size: 8.3pt;
  font-weight: 700;
  white-space: nowrap;
}
.qvt-table .qvt-word { font-weight: 500; }
.qvt-table .qvt-base .qvt-number { color: #1b4079; }
.qvt-table .qvt-row { background: #fff; }
.qvt-table .qvt-rel { font-size: 8.4pt; font-weight: 450; }
.qvt-table .qvt-syn { color: #325e89; }
.qvt-table .qvt-ant { color: #9a534a; }
.qvt-table .qvt-base .qvt-word { font-weight: 800; }
.qvt-table .qvt-base td, .qvt-table .qvt-base th { border-top-color: #454a50; }
.qvt-table .qvt-meaning { font-size: 8.6pt; font-weight: 450; word-break: keep-all; }
.qvt-row, .qvt-source { height: var(--qvt-row-unit); }
.qvt-row { break-inside: avoid; page-break-inside: avoid; }
.qvt-source { break-after: avoid; page-break-after: avoid; }
.qvt-empty { padding: 5mm 0; font-size: 10pt; }
.qvt-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media print {
  .qvt-grid, .qvt-grid * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .qvt-table thead { display: table-header-group; }
  .qvt-page { break-inside: avoid; page-break-inside: avoid; }
}
