.ntot-reference-page {
  max-width: 1120px;
  margin: 0 auto;
  font-family: inherit;
}

.ntot-reference-page,
.ntot-reference-page * {
  box-sizing: border-box;
}

.ntot-tools {
  position: sticky;
  top: calc(var(--wp-admin--admin-bar--height, 0px) + 1rem);
  z-index: 20;
  margin: 0 0 1.25rem 0;
  padding: 1.05rem;
  border: 1px solid #dddddd;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-family: inherit;
}

.ntot-search-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.45rem;
  font-family: inherit;
}

.ntot-search-input {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  background: #ffffff;
  color: inherit;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
}

.ntot-search-input:focus {
  outline: none;
  border-color: #777777;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}

.ntot-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 0.85rem;
}

.ntot-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: inherit;
  font-size: 0.94rem;
}

.ntot-filter input {
  margin: 0;
}

.ntot-search-help {
  margin: 0.55rem 0 0 0;
  font-size: 0.92rem;
  opacity: 0.78;
}

.ntot-search-status {
  margin: 0.65rem 0 0 0;
  font-weight: 600;
}

.ntot-book {
  scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 7rem);
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  margin: 0 0 1rem 0;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  font-family: inherit;
}

.ntot-book summary {
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  background: #f7f7f7;
  list-style: none;
  font-family: inherit;
  font-weight: 700;
}

.ntot-book summary::-webkit-details-marker {
  display: none;
}

.ntot-book summary::before {
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 700;
}

.ntot-book[open] summary::before {
  content: "–";
}

.ntot-book-count {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.72;
  white-space: nowrap;
}

.ntot-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ntot-book table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  table-layout: fixed;
  font-family: inherit;
}

.ntot-book th,
.ntot-book td {
  padding: 0.72rem 1.3rem;
  vertical-align: top;
  border-bottom: 1px solid #e8e8e8;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
}

.ntot-book th:nth-child(1),
.ntot-book td:nth-child(1) {
  width: 30%;
  padding-right: 2.25rem;
}

.ntot-book th:nth-child(2),
.ntot-book td:nth-child(2) {
  width: 48%;
  padding-left: 2.25rem;
  padding-right: 2.25rem;
}

.ntot-book th:nth-child(3),
.ntot-book td:nth-child(3) {
  width: 22%;
  padding-left: 2.25rem;
}

.ntot-book th {
  text-align: left;
  font-weight: 700;
  background: #fbfbfb;
}

.ntot-book tr:last-child td {
  border-bottom: none;
}

.ntot-book tbody tr {
  transition: background-color 150ms ease;
}

.ntot-book tbody tr:hover {
  background: #f8f8f8;
}

.ntot-type {
  opacity: 0.88;
  white-space: nowrap;
}

.ntot-hidden {
  display: none !important;
}

.ntot-no-results {
  display: none;
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #dddddd;
  border-radius: 10px;
  background: #ffffff;
}

.ntot-no-results.is-visible {
  display: block;
}

@media (max-width: 760px) {
  .ntot-tools {
    position: static;
    padding: 0.9rem;
  }

  .ntot-book summary {
    padding: 0.9rem;
  }

  .ntot-book table {
    min-width: 640px;
  }

  .ntot-book th,
  .ntot-book td {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }

  .ntot-book-count {
    font-size: 0.82rem;
  }
}