/* for tools/codetable/index.html */
/* 共通スタイルは /src/lib.css を参照。ここでは文字対応表に固有の見た目のみ。 */

.ct-main {
  padding: 8px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ct-tables {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}

.ct-tables button {
  background: var(--s1);
  padding: 9px 18px;
  font-size: 13px;
  color: var(--text-dim);
  transition: background .16s, color .16s;
}

.ct-tables button.is-active {
  background: var(--s3h);
  color: var(--p1);
}

.ct-controls {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.ct-field select {
  min-width: 10em;
}

.ct-columns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.ct-columns .checkbox-row {
  gap: 9px;
}

.ct-table-wrap {
  background: var(--s1);
  overflow: auto;
}

#nlist {
  width: 100%;
  border-collapse: collapse;
}

#nlist th,
#nlist td {
  padding: 11px 17px;
  text-align: left;
  white-space: nowrap;
}

#nlist thead th {
  background: var(--s2);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  font-weight: 400;
  position: sticky;
  top: 0;
}

#nlist thead th:first-child {
  color: var(--text-dim);
}

#nlist thead th:not(:first-child) {
  color: var(--p1);
}

#nlist tbody td:first-child {
  font-size: 12px;
  color: var(--text-faint);
}

#nlist tbody td {
  font-size: 14px;
  color: var(--text);
}

@media screen and (max-width: 700px) {
  .ct-controls {
    gap: 18px;
  }
}
