.iv-tabs {
  display: flex;
  gap: 4px;
  border-top: 1px solid rgba(244,243,240,0.12);
  border-bottom: 1px solid rgba(244,243,240,0.12);
  padding-top: 22px;
  margin-bottom: 18px;
}
.iv-tab {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 18.5px;
  color: inherit;
  padding: 8px 14px 10px;
  border-bottom: 2px solid transparent;
}
.iv-tab[aria-selected="true"] {
  color: var(--md-default-fg-color--light);
  border-bottom-color: var(--md-default-fg-color--light);
  font-weight: 500;
}
.iv-tab:hover:not([aria-selected="true"]) { color: var(--md-default-fg-color--lightest); }

.iv-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.iv-field-label {
  display: block;
  font-size: 17.25px;
}

.iv-search-input-wrap { position: relative; }
.iv-search-input-wrap input[type="text"] {
  width: 100%;
  font-family: inherit;
  font-size: 18px;
  background: rgba(0,0,0,0.2);
  color: inherit;
  border: 1px solid currentColor;
  border-radius: 0;
  padding: 8px 34px 8px 10px;
  outline: none;
}
.iv-search-input-wrap input[type="text"]:focus {
  border-color: var(--md-accent-fg-color);
}
#iv-clear-search {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  padding: 4px 6px;
}
#iv-clear-search:hover { color: var(--md-default-fg-color--light); }

.iv-mode-toggle {
  display: inline-flex;
  gap: 16px;
}
.iv-mode-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 17.25px;
  cursor: pointer;
}
.iv-mode-option input[type="radio"] {
  accent-color: var(--md-default-fg-color--light);
  margin: 0;
  cursor: pointer;
}

.iv-name-list {
  margin-top: 10px;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid rgba(244,243,240,0.12);
}
.iv-name-list:empty { display: none; border: none; margin-top: 0; }
.iv-name-row {
  padding: 7px 10px;
  font-size: 17.19px;
  cursor: pointer;
  border-bottom: 1px solid rgba(244,243,240,0.12);
}
.iv-name-row:last-child { border-bottom: none; }
.iv-name-row:hover { background: rgba(128,128,128,0.08); color: var(--md-default-fg-color--light); }
.iv-name-empty { padding: 10px; font-size: 17.19px; font-style: italic; }

#iv-result { margin-top: 12px; }
#iv-result.has-unit {
  border-top: 1px solid rgba(212,173,122,0.45);
  padding-top: 20px;
}
.iv-result-empty {
  font-size: 17.19px;
  font-style: italic;
  padding: 8px 0;
}
.iv-result-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.iv-result-name {
  font-size: 22.5px;
  font-weight: 500;
}

.iv-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 15px;
  letter-spacing: 0.03em;
  padding: 4px 12px 6px;
  margin-right: -0.03em;
  border: none;
  border-radius: 999px;
}
.iv-pill-legendary { background: #9f6010; color: #e9e7e2; }
.iv-pill-general { background: #26509a; color: #e9e7e2; }
.iv-pill-anonymous { background: #0c541f; color: #e9e7e2; }

table.iv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
}
table.iv-table th, table.iv-table td {
  padding: 6px 8px;
  text-align: center;
  border-bottom: 1px solid rgba(244,243,240,0.12);
  white-space: nowrap;
}
table.iv-table th {
  font-weight: 500;
  border-bottom: 1px solid currentColor;
}
table.iv-table th:first-child { text-align: left; }
table.iv-table th:nth-child(2), table.iv-table td:nth-child(2) { text-align: left; width: 1%; }
.iv-sortable-th { cursor: pointer; user-select: none; }
.iv-sortable-th:hover { color: var(--md-default-fg-color--light); }
.iv-sort-icon { font-size: 12.5px; opacity: 0.45; }
.iv-sort-icon-active { opacity: 1; color: var(--md-default-fg-color--light); }
.iv-sortable-th:hover .iv-sort-icon { opacity: 1; color: var(--md-default-fg-color--light); }
.iv-split-line { display: block; }
.iv-split-line + .iv-split-line { margin-top: 1px; }
.iv-table-scroll { overflow-x: auto; }
.iv-highlight {
  background: rgba(212,173,122,0.14);
  color: var(--md-default-fg-color--light);
  padding: 1px 6px;
}
