.chemrytiq-page .chemrytiq-result-tab[data-chemrytiq-result-tab="toxpred"]::before {
  content: "Tx";
  font-size: 0.62rem;
}

.chemrytiq-page .chemrytiq-qsar-workspace {
  background: #f6faff;
}

.chemrytiq-page .chemrytiq-qsar {
  display: grid;
  gap: 12px;
  color: #12304d;
}

.chemrytiq-page .chemrytiq-qsar-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.chemrytiq-page .chemrytiq-qsar-head h3 {
  margin: 0;
  color: #062743;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-qsar-head p {
  max-width: 980px;
  margin: 2px 0 0;
  color: #2e526f;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

.chemrytiq-page .chemrytiq-qsar-head > span {
  flex: 0 0 auto;
  color: #49657d;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-qsar-controls,
.chemrytiq-page .chemrytiq-qsar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  border: 1px solid #cfe0f3;
  border-radius: 8px;
  background: #ffffff;
  padding: 8px;
}

.chemrytiq-page .chemrytiq-qsar-actions {
  border-color: transparent;
  background: transparent;
  padding: 0;
}

.chemrytiq-page .chemrytiq-qsar-controls label,
.chemrytiq-page .chemrytiq-qsar-actions label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  color: #2b4964;
  font-size: 12px;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-qsar-controls select,
.chemrytiq-page .chemrytiq-qsar-controls input,
.chemrytiq-page .chemrytiq-qsar-actions select {
  height: 32px;
  border: 1px solid #c7d9ed;
  border-radius: 7px;
  background: #ffffff;
  color: #12304d;
  font-size: 12px;
  font-weight: 700;
  padding: 0 10px;
}

.chemrytiq-page .chemrytiq-qsar-controls input {
  width: 80px;
}

.chemrytiq-page .chemrytiq-qsar-controls strong {
  color: #2e526f;
  font-size: 12px;
  font-weight: 700;
}

.chemrytiq-page .chemrytiq-qsar-actions button,
.chemrytiq-page .chemrytiq-qsar-table button {
  min-height: 30px;
  border: 1px solid #b8d3ee;
  border-radius: 7px;
  background: #eef6ff;
  color: #005baa;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  padding: 0 10px;
}

.chemrytiq-page .chemrytiq-qsar-actions button:hover,
.chemrytiq-page .chemrytiq-qsar-table button:hover,
.chemrytiq-page .chemrytiq-qsar-filters button.is-active {
  border-color: #1976d2;
  background: #dceeff;
}

.chemrytiq-page .chemrytiq-qsar-actions button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.chemrytiq-page .chemrytiq-qsar-filters {
  display: inline-flex;
  gap: 4px;
}

.chemrytiq-page .chemrytiq-qsar-token-map {
  margin: 0;
}

.chemrytiq-page .chemrytiq-qsar-status {
  min-height: 30px;
  display: flex;
  align-items: center;
  border: 1px solid #d8e7f8;
  border-radius: 7px;
  background: #ffffff;
  color: #49657d;
  font-size: 12px;
  font-weight: 700;
  padding: 0 10px;
}

.chemrytiq-page .chemrytiq-qsar-table {
  overflow: auto;
  border: 1px solid #d8e7f8;
  border-radius: 8px;
  background: #ffffff;
}

.chemrytiq-page .chemrytiq-qsar-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1180px;
}

.chemrytiq-page .chemrytiq-qsar-table th,
.chemrytiq-page .chemrytiq-qsar-table td {
  border-bottom: 1px solid #e0ecf8;
  color: #12304d;
  font-size: 12px;
  line-height: 1.35;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.chemrytiq-page .chemrytiq-qsar-table th {
  background: #f5f9fe;
  color: #294760;
  font-weight: 850;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-qsar-table td:first-child {
  min-width: 160px;
}

.chemrytiq-page .chemrytiq-qsar-table td:first-child strong,
.chemrytiq-page .chemrytiq-qsar-table td:first-child span {
  display: block;
}

.chemrytiq-page .chemrytiq-qsar-table code {
  display: inline-block;
  max-width: 190px;
  overflow: hidden;
  color: #064d85;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-qsar-delta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 20px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  padding: 0 8px;
}

.chemrytiq-page .chemrytiq-qsar-delta.tone-beneficial {
  background: #e4f6eb;
  color: #12683c;
}

.chemrytiq-page .chemrytiq-qsar-delta.tone-harmful {
  background: #fee8e6;
  color: #a52822;
}

.chemrytiq-page .chemrytiq-qsar-delta.tone-neutral {
  background: #edf3fa;
  color: #49657d;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-qsar-empty {
  min-height: 72px;
  display: grid;
  place-items: center;
  color: #607288;
  font-size: 13px;
  font-weight: 700;
  padding: 18px;
}

@media (max-width: 760px) {
  .chemrytiq-page .chemrytiq-qsar-head {
    display: grid;
  }

  .chemrytiq-page .chemrytiq-qsar-head > span {
    white-space: normal;
  }
}

.chemrytiq-page .chemrytiq-toxpred-workspace {
  padding: 0;
  font-family: inherit;
}

.chemrytiq-page .chemrytiq-toxpred-empty {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--chemrytiq-border, #d7e3ef);
  border-radius: var(--chemrytiq-radius-md, 1rem);
  background: var(--chemrytiq-surface-soft, #f7fbff);
  color: var(--chemrytiq-text-soft, #445d73);
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.45;
}

.chemrytiq-page .chemrytiq-toxpred-empty strong {
  color: var(--chemrytiq-text, #12304d);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-empty span,
.chemrytiq-page .chemrytiq-toxpred-empty li {
  color: var(--chemrytiq-text-soft, #445d73);
  font-size: 0.95rem;
  line-height: 1.45;
}

.chemrytiq-page .chemrytiq-toxpred-empty ul {
  margin: 0.2rem 0 0;
  padding-left: 1.1rem;
}

.chemrytiq-page .chemrytiq-toxpred-empty button {
  width: fit-content;
  min-height: 2.1rem;
  border: 1px solid #b8d3ee;
  border-radius: 7px;
  background: #eef6ff;
  color: #0f5f9f;
  margin-top: 10px;
  padding: 0 0.8rem;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-toxpred-empty button:hover {
  background: #dceeff;
  border-color: #7db6e8;
}

.chemrytiq-page .chemrytiq-toxpred-empty button:disabled {
  cursor: not-allowed;
  border-color: #c5d4e5;
  background: #eef3f8;
  color: #8aa0b5;
  box-shadow: none;
  opacity: 1;
}

.chemrytiq-page .chemrytiq-toxpred-empty button[data-toxpred-predict] {
  justify-self: start;
  border-color: #1976d2;
  border-radius: 999px;
  background: #1976d2;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(25, 118, 210, 0.18);
}

.chemrytiq-page .chemrytiq-toxpred-empty button[data-toxpred-predict]:hover:not(:disabled) {
  background: #115ca8;
  border-color: #115ca8;
}

.chemrytiq-page .chemrytiq-toxpred-empty button[data-toxpred-predict]:disabled {
  border-color: #c5d4e5;
  background: #eef3f8;
  color: #8aa0b5;
  box-shadow: none;
}

.chemrytiq-page .chemrytiq-toxpred-prerun {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 18rem);
  gap: 1rem;
  align-items: stretch;
}

.chemrytiq-page .chemrytiq-toxpred-prerun-copy {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.chemrytiq-page .chemrytiq-toxpred-prerun-copy p,
.chemrytiq-page .chemrytiq-toxpred-prerun-copy em {
  max-width: 72rem;
  margin: 0;
  color: var(--chemrytiq-text-soft, #445d73);
  font-size: 0.92rem;
  line-height: 1.45;
}

.chemrytiq-page .chemrytiq-toxpred-prerun-copy em {
  font-style: italic;
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-toxpred-prerun-source {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.chemrytiq-page .chemrytiq-toxpred-prerun-source label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.12rem 0.45rem;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--chemrytiq-border, #d7e3ef);
  border-radius: 8px;
  background: #ffffff;
  padding: 0.46rem 0.55rem;
  color: var(--chemrytiq-text, #12304d);
  font-size: 0.82rem;
  font-weight: 850;
}

.chemrytiq-page .chemrytiq-toxpred-prerun-source label:has(input:checked) {
  border-color: #1976d2;
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.chemrytiq-page .chemrytiq-toxpred-prerun-source input[type="radio"] {
  grid-row: 1 / span 2;
  accent-color: #1976d2;
}

.chemrytiq-page .chemrytiq-toxpred-prerun-source code {
  min-width: 0;
  overflow: hidden;
  color: var(--chemrytiq-text-soft, #445d73);
  font-size: 0.72rem;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-prerun-source input[type="text"] {
  min-width: 0;
  width: 100%;
  border: 1px solid #cfe0f2;
  border-radius: 6px;
  background: #ffffff;
  padding: 0.26rem 0.4rem;
  color: var(--chemrytiq-text, #12304d);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 650;
}

.chemrytiq-page .chemrytiq-toxpred-prerun-source input[type="text"]::placeholder {
  color: #8aa0b5;
}

.chemrytiq-page .chemrytiq-toxpred-prerun-source input[type="text"]:focus {
  border-color: #1976d2;
  outline: 2px solid rgba(25, 118, 210, 0.18);
  outline-offset: 0;
}

.chemrytiq-page .chemrytiq-toxpred-prerun-source label.is-disabled {
  color: #8aa0b5;
  background: #f8fbfe;
  opacity: 0.72;
}

.chemrytiq-page .chemrytiq-toxpred-prerun-capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 2px 0 4px;
}

.chemrytiq-page .chemrytiq-toxpred-prerun-capabilities div {
  display: grid;
  align-content: start;
  gap: 3px;
  min-width: 0;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
  padding: 7px 8px;
}

.chemrytiq-page .chemrytiq-toxpred-prerun-capabilities strong {
  color: #002244;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-toxpred-prerun-capabilities span {
  color: #52677f;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-prerun-structure {
  display: grid;
  min-height: 9rem;
  place-items: center;
  border: 1px solid var(--chemrytiq-border, #d7e3ef);
  border-radius: var(--chemrytiq-radius-sm, 0.75rem);
  background: #ffffff;
  padding: 0.6rem;
  overflow: hidden;
}

.chemrytiq-page .chemrytiq-toxpred-prerun-structure svg {
  width: 100%;
  max-width: 17rem;
  height: auto;
  max-height: 12rem;
}

.chemrytiq-page .chemrytiq-toxpred-prerun-structure span {
  max-width: 14rem;
  text-align: center;
  color: var(--chemrytiq-text-muted, #6f8498);
  font-size: 0.85rem;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 28px rgba(7, 43, 79, 0.08);
  font-family: inherit;
  margin-bottom: 18px;
  overflow: hidden;
}

.chemrytiq-page .chemrytiq-toxpred-header {
  background: var(--chemrytiq-surface, #ffffff);
  color: var(--chemrytiq-text, #12304d);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem;
  border: 1px solid var(--chemrytiq-border, #d7e3ef);
  border-radius: var(--chemrytiq-radius-md, 1rem);
  margin: 1rem;
}

.chemrytiq-page .chemrytiq-toxpred-kicker {
  display: block;
  color: #1565c0;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 0.15rem;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred-header h3 {
  color: var(--chemrytiq-text, #12304d);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 0.15rem 0 0;
  word-break: break-word;
}

.chemrytiq-page .chemrytiq-toxpred-header p {
  color: var(--chemrytiq-text-soft, #445d73);
  font-size: 0.86rem;
  line-height: 1.45;
  margin: 0.25rem 0 0;
}

.chemrytiq-page .chemrytiq-toxpred-header-structures {
  display: grid;
  gap: 0.28rem;
  max-width: min(58rem, 100%);
  margin-top: 0.45rem;
}

.chemrytiq-page .chemrytiq-toxpred-header-structures div {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  gap: 0.45rem;
  align-items: baseline;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-toxpred-header-structures span {
  color: #1565c0;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
}

.chemrytiq-page .chemrytiq-toxpred-header-structures code {
  min-width: 0;
  max-height: 4.8rem;
  overflow: auto;
  border: 1px solid #e3edf8;
  border-radius: 7px;
  background: #fbfdff;
  padding: 4px 6px;
  color: var(--chemrytiq-text, #12304d);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: break-word;
}

.chemrytiq-page .chemrytiq-toxpred-overall {
  display: grid;
  gap: 0.15rem;
  min-width: 14rem;
  border: 0;
  border-radius: 0.85rem;
  background: #f7fbff;
  padding: 0.75rem;
  text-align: left;
}

.chemrytiq-page .chemrytiq-toxpred-overall span,
.chemrytiq-page .chemrytiq-toxpred-overall em {
  display: block;
  color: var(--chemrytiq-text-soft, #445d73);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-overall strong {
  display: block;
  color: var(--chemrytiq-text, #12304d);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-canvas-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
  background: #f9fbfd;
  padding: 12px 22px;
}

.chemrytiq-page .chemrytiq-toxpred-canvas-tools button {
  min-height: 2.2rem;
  border: 1px solid #b8d3ee;
  border-radius: 7px;
  background: #eef6ff;
  color: #0f5f9f;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  padding: 0 12px;
}

.chemrytiq-page .chemrytiq-toxpred-canvas-tools button:hover {
  background: #dceeff;
  border-color: #7db6e8;
}

.chemrytiq-page .chemrytiq-toxpred-canvas-tools span {
  color: #607288;
  flex: 1 1 240px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.chemrytiq-page .chemrytiq-toxpred-canvas-tools span.is-success {
  color: #065f46;
}

.chemrytiq-page .chemrytiq-toxpred-canvas-tools span.is-error {
  color: #991b1b;
}

.chemrytiq-page .chemrytiq-toxpred-decision-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.chemrytiq-page .chemrytiq-toxpred-decision-kpi {
  display: grid;
  align-content: start;
  gap: 0.35rem;
  min-width: 0;
  border: 1px solid #e3edf8;
  border-radius: 8px;
  background: #f7fbff;
  padding: 0.7rem 0.75rem;
}

.chemrytiq-page .chemrytiq-toxpred-decision-kpi span,
.chemrytiq-page .chemrytiq-toxpred-decision-kpi em {
  color: #607288;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-decision-kpi span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.chemrytiq-page .chemrytiq-toxpred-decision-kpi span b {
  display: inline-grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  cursor: help;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-toxpred-decision-kpi strong {
  color: #12304d;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-toxpred-decision-kpi strong small {
  color: #607288;
  font-size: 0.72rem;
  font-weight: 900;
}

.chemrytiq-page .chemrytiq-toxpred-decision-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8f0fb;
}

.chemrytiq-page .chemrytiq-toxpred-decision-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #10b981;
}

.chemrytiq-page .chemrytiq-toxpred-decision-kpi.tone-watch .chemrytiq-toxpred-decision-progress i {
  background: #f59e0b;
}

.chemrytiq-page .chemrytiq-toxpred-decision-kpi.tone-risk .chemrytiq-toxpred-decision-progress i {
  background: #ef4444;
}

.chemrytiq-page .chemrytiq-toxpred-decision-pill {
  width: fit-content;
  min-width: 4.4rem;
  border: 1px solid #fde68a;
  border-radius: 999px;
  background: #fffbeb;
  color: #92400e;
  padding: 0.42rem 0.7rem;
  text-align: center;
}

.chemrytiq-page .chemrytiq-toxpred-decision-pill.tone-good {
  border-color: #bbf7d0;
  background: #ecfdf5;
  color: #065f46;
}

.chemrytiq-page .chemrytiq-toxpred-decision-pill.tone-risk {
  border-color: #fecaca;
  background: #fff1f2;
  color: #991b1b;
}

.chemrytiq-page .chemrytiq-toxpred-decision-alert {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff7f7;
  padding: 0.7rem 0.75rem;
}

.chemrytiq-page .chemrytiq-toxpred-decision-alert strong {
  color: #991b1b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred-decision-alert div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chemrytiq-page .chemrytiq-toxpred-decision-alert span {
  border: 1px solid #fecaca;
  border-radius: 999px;
  background: #ffffff;
  color: #7f1d1d;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  padding: 0.35rem 0.55rem;
}

.chemrytiq-page .chemrytiq-toxpred-decision-alert b {
  font-weight: 950;
}

.chemrytiq-page .chemrytiq-toxpred-gates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
}

.chemrytiq-page .chemrytiq-toxpred-gates > div {
  border-top: 1px solid #eef2f7;
  padding: 6px 0;
}

.chemrytiq-page .chemrytiq-toxpred-gates span {
  display: block;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-gates p {
  margin: 2px 0 0;
  color: #111;
  font-size: 13px;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-gates .is-fail p {
  color: #92400e;
  font-weight: 700;
}

.chemrytiq-page .chemrytiq-toxpred-bands {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.chemrytiq-page .chemrytiq-toxpred-bands > div {
  display: grid;
  gap: 6px;
}

.chemrytiq-page .chemrytiq-toxpred-bands span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-bands b {
  color: #111;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-toxpred-bands div div {
  height: 7px;
  overflow: hidden;
  border-radius: 7px;
  background: #e8f0fb;
}

.chemrytiq-page .chemrytiq-toxpred-bands i {
  display: block;
  height: 100%;
  border-radius: 7px;
  background: #f59e0b;
}

.chemrytiq-page .chemrytiq-toxpred-bands .tone-good i {
  background: #10b981;
}

.chemrytiq-page .chemrytiq-toxpred-bands .tone-risk i {
  background: #ef4444;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band {
  display: grid;
  grid-template-rows: auto auto;
  gap: 8px;
  min-width: 0;
  border: 1px solid #e3edf8;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.68rem 0.72rem;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band span {
  min-width: 0;
  overflow: hidden;
  color: #475569;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band b {
  color: #111827;
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band > div:last-child {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf3fa;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #f59e0b;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band.tone-good i {
  background: #10b981;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band.tone-risk i {
  background: #ef4444;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band.tone-good {
  border-color: #bbf7d0;
  background: #fbfffd;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band.tone-watch {
  border-color: #fde68a;
  background: #fffdf6;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band.tone-risk {
  border-color: #fecaca;
  background: #fffafa;
}

.chemrytiq-page .chemrytiq-toxpred-species-compare-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.chemrytiq-page .chemrytiq-toxpred-species-compare-head h4 {
  margin-bottom: 0;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-species-tabs {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(70px, 1fr));
  gap: 3px;
  flex: 0 0 auto;
  min-width: 240px;
  border: 1px solid #cfe0f2;
  border-radius: 999px;
  background: #edf4fb;
  padding: 3px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.chemrytiq-page .chemrytiq-toxpred-species-tabs button {
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #445d73;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  padding: 0 14px;
  transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.chemrytiq-page .chemrytiq-toxpred-species-tabs button.is-active,
.chemrytiq-page .chemrytiq-toxpred-species-tabs button:hover {
  background: #0b6fbf;
  color: #fff;
  box-shadow: 0 5px 14px rgba(11, 111, 191, 0.18);
}

.chemrytiq-page .chemrytiq-toxpred-species-tabs button:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

.chemrytiq-page .chemrytiq-toxpred-species-panel {
  display: grid;
  gap: 0;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 0;
  overflow: hidden;
}

.chemrytiq-page .chemrytiq-toxpred-species-panel[hidden] {
  display: none;
}

.chemrytiq-page .chemrytiq-toxpred-species-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fbff;
  padding: 0.65rem 0.75rem;
}

.chemrytiq-page .chemrytiq-toxpred-species-panel-head span {
  display: block;
  color: #607288;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-species-panel-head strong {
  display: block;
  color: #12304d;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.chemrytiq-page .chemrytiq-toxpred-species-panel-head b {
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #0b6fbf;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  padding: 0.38rem 0.55rem;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-species-band-grid {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.55rem;
  padding: 0.7rem 0.75rem;
}

.chemrytiq-page .chemrytiq-toxpred-species-band {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.55rem 0.62rem;
}

.chemrytiq-page .chemrytiq-toxpred-species-band span {
  min-width: 0;
  overflow: hidden;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-species-band b {
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 950;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-toxpred-species-band > div {
  height: 5px;
}

.chemrytiq-page .chemrytiq-toxpred-species-liabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid #eef2f7;
  background: #fbfdff;
  padding: 0.65rem 0.75rem;
}

.chemrytiq-page .chemrytiq-toxpred-species-liabilities span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #dbe4ef;
  border-radius: 999px;
  background: #fff;
  color: #607288;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 9px;
}

.chemrytiq-page .chemrytiq-toxpred-species-liabilities span.tone-risk {
  border-color: #fecaca;
  background: #fff5f5;
  color: #991b1b;
}

.chemrytiq-page .chemrytiq-toxpred-species-liabilities span.tone-watch {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.chemrytiq-page .chemrytiq-toxpred-species-panel p,
.chemrytiq-page .chemrytiq-toxpred-species-panel small {
  margin: 0;
  color: #607288;
  font-size: 13px;
  line-height: 1.45;
  padding: 0.55rem 0.75rem 0;
}

.chemrytiq-page .chemrytiq-toxpred-species-panel small {
  color: #12304d;
  font-weight: 700;
  padding-top: 0.2rem;
  padding-bottom: 0.65rem;
}

.chemrytiq-page .chemrytiq-toxpred-covalent {
  display: grid;
  gap: 12px;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  background: #fffaf0;
  padding: 14px;
}

.chemrytiq-page .chemrytiq-toxpred-covalent.tone-risk {
  border-color: #fecaca;
  border-left-color: #ef4444;
  background: #fff5f5;
}

.chemrytiq-page .chemrytiq-toxpred-covalent.tone-good {
  border-color: #bbf7d0;
  border-left-color: #22c55e;
  background: #f0fdf4;
}

.chemrytiq-page .chemrytiq-toxpred-covalent-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.chemrytiq-page .chemrytiq-toxpred-covalent-head div {
  display: grid;
  gap: 2px;
}

.chemrytiq-page .chemrytiq-toxpred-covalent-head span {
  color: #92400e;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred-covalent-head strong {
  color: #12304d;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-toxpred-covalent-head b {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #92400e;
  font-size: 13px;
  font-weight: 900;
  padding: 6px 9px;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-covalent > p {
  margin: 0;
  color: #445d73;
  font-size: 13px;
  line-height: 1.45;
}

.chemrytiq-page .chemrytiq-toxpred-covalent-motifs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.chemrytiq-page .chemrytiq-toxpred-covalent-motifs article {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(251, 191, 36, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 11px;
}

.chemrytiq-page .chemrytiq-toxpred-covalent-motifs article > div {
  display: grid;
  gap: 2px;
}

.chemrytiq-page .chemrytiq-toxpred-covalent-motifs span {
  color: #92400e;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred-covalent-motifs strong {
  color: #12304d;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}

.chemrytiq-page .chemrytiq-toxpred-covalent-motifs p,
.chemrytiq-page .chemrytiq-toxpred-covalent-motifs small {
  margin: 0;
  color: #445d73;
  font-size: 13px;
  line-height: 1.45;
}

.chemrytiq-page .chemrytiq-toxpred-covalent-motifs em {
  color: #7c2d12;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.4;
}

.chemrytiq-page .chemrytiq-toxpred-gsh-sim {
  display: grid;
  gap: 12px;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  background: #fffbeb;
  padding: 12px;
}

.chemrytiq-page .chemrytiq-toxpred-gsh-sim.tone-risk {
  border-color: #fecaca;
  border-left-color: #ef4444;
  background: #fff5f5;
}

.chemrytiq-page .chemrytiq-toxpred-gsh-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.chemrytiq-page .chemrytiq-toxpred-gsh-head div {
  display: grid;
  gap: 2px;
}

.chemrytiq-page .chemrytiq-toxpred-gsh-head span {
  color: #92400e;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred-gsh-head strong {
  color: #12304d;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-toxpred-gsh-head b {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #92400e;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  padding: 7px 9px;
}

.chemrytiq-page .chemrytiq-toxpred-gsh-reaction {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}

.chemrytiq-page .chemrytiq-toxpred-gsh-structure {
  display: grid;
  place-items: center;
  min-height: 250px;
  border: 1px solid rgba(251, 191, 36, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  overflow: hidden;
  padding: 8px;
}

.chemrytiq-page .chemrytiq-toxpred-gsh-structure svg {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 230px;
  display: block;
}

.chemrytiq-page .chemrytiq-toxpred-gsh-structure span {
  color: #607288;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.chemrytiq-page .chemrytiq-toxpred-gsh-arrow {
  display: grid;
  place-items: center;
  align-self: center;
  min-width: 4rem;
  color: #7c2d12;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.chemrytiq-page .chemrytiq-toxpred-gsh-arrow b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #fff;
  color: #ef4444;
  font-size: 20px;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.16);
}

.chemrytiq-page .chemrytiq-toxpred-gsh-copy {
  display: grid;
  gap: 7px;
}

.chemrytiq-page .chemrytiq-toxpred-gsh-copy strong {
  color: #12304d;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-gsh-copy p,
.chemrytiq-page .chemrytiq-toxpred-gsh-copy span,
.chemrytiq-page .chemrytiq-toxpred-gsh-copy small {
  margin: 0;
  color: #445d73;
  font-size: 13px;
  line-height: 1.45;
}

.chemrytiq-page .chemrytiq-toxpred-gsh-copy span,
.chemrytiq-page .chemrytiq-toxpred-gsh-copy small {
  color: #7c2d12;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-toxpred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-bottom: 1px solid #eef2f7;
}

.chemrytiq-page .chemrytiq-toxpred-endpoint,
.chemrytiq-page .chemrytiq-toxpred-block {
  background: #fff;
  border: 0;
  border-bottom: 1px solid #eef2f7;
  padding: 14px 22px;
}

.chemrytiq-page .chemrytiq-toxpred-grid .chemrytiq-toxpred-endpoint {
  border-bottom: 0;
}

.chemrytiq-page .chemrytiq-toxpred-grid .chemrytiq-toxpred-endpoint + .chemrytiq-toxpred-endpoint {
  border-left: 1px solid #eef2f7;
}

.chemrytiq-page .chemrytiq-toxpred-endpoint-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.chemrytiq-page .chemrytiq-toxpred-endpoint-head span,
.chemrytiq-page .chemrytiq-toxpred-score small {
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.chemrytiq-page .chemrytiq-toxpred-score {
  white-space: nowrap;
  text-align: right;
}

.chemrytiq-page .chemrytiq-toxpred-score b {
  color: #111;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-toxpred-confidence {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-confidence b {
  color: #111;
  font-size: 12px;
  font-weight: 700;
}

.chemrytiq-page .chemrytiq-toxpred-bar {
  height: 7px;
  margin: 10px 0;
  overflow: hidden;
  border-radius: 7px;
  background: #e8f0fb;
}

.chemrytiq-page .chemrytiq-toxpred-bar span {
  display: block;
  height: 100%;
  border-radius: 7px;
  background: #f59e0b;
}

.chemrytiq-page .chemrytiq-toxpred-endpoint.tone-good .chemrytiq-toxpred-bar span {
  background: #10b981;
}

.chemrytiq-page .chemrytiq-toxpred-endpoint.tone-risk .chemrytiq-toxpred-bar span {
  background: #ef4444;
}

.chemrytiq-page .chemrytiq-toxpred-factors {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.chemrytiq-page .chemrytiq-toxpred-factors li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 5px 0;
  color: #111;
  border-top: 1px solid #eef2f7;
  font-size: 13px;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-factors li:first-child {
  border-top: 0;
}

.chemrytiq-page .chemrytiq-toxpred-factors em {
  color: #92400e;
  font-style: normal;
  font-weight: 700;
}

.chemrytiq-page .chemrytiq-toxpred-factors .is-protective em {
  color: #065f46;
}

.chemrytiq-page .chemrytiq-toxpred-block h4 {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 10px;
  color: #0b6fbf;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred {
  font-family: inherit;
}

.chemrytiq-page .chemrytiq-toxpred button,
.chemrytiq-page .chemrytiq-toxpred input,
.chemrytiq-page .chemrytiq-toxpred select,
.chemrytiq-page .chemrytiq-toxpred textarea {
  font-family: inherit;
}

.chemrytiq-page .chemrytiq-toxpred .section-title {
  color: #0b6fbf;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred .card-title {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred .body-text {
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.chemrytiq-page .chemrytiq-toxpred .helper-text {
  color: #6b7280;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.chemrytiq-page .chemrytiq-toxpred .token-chip {
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-toxpred-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.chemrytiq-page .chemrytiq-toxpred-context > div {
  display: grid;
  grid-template-columns: minmax(110px, 170px) minmax(0, 1fr);
  gap: 10px;
  padding: 5px 0;
  border-top: 1px solid #eef2f7;
  color: #111;
  font-size: 13px;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-context span {
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-toxpred-metric-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  min-width: 0;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #f9fbfd;
  padding: 10px 12px;
  overflow: hidden;
}

.chemrytiq-page .chemrytiq-toxpred-metric-card span {
  display: block;
  min-width: 0;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-metric-card b {
  display: block;
  min-width: 0;
  color: #111;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-metric-card.tone-good {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.chemrytiq-page .chemrytiq-toxpred-metric-card.tone-watch {
  border-color: #fde68a;
  background: #fffbeb;
}

.chemrytiq-page .chemrytiq-toxpred-metric-card.tone-risk {
  border-color: #fecaca;
  background: #fef2f2;
}

.chemrytiq-page .chemrytiq-toxpred-context {
  display: grid;
  gap: 0;
}

.chemrytiq-page .chemrytiq-toxpred-context p {
  margin: 0;
  color: #111;
  font-size: 13px;
  font-weight: 400;
  word-break: break-word;
}

.chemrytiq-page .chemrytiq-toxpred-context.is-empty {
  color: #6b7280;
  font-size: 13px;
}

.chemrytiq-page .chemrytiq-toxpred-xai {
  display: grid;
  gap: 0;
}

.chemrytiq-page .chemrytiq-toxpred-xai-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(120px, 0.8fr) auto;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid #eef2f7;
  color: #111;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-xai-row:hover span {
  color: #0b6fbf;
}

.chemrytiq-page .chemrytiq-toxpred-xai-row:first-child {
  border-top: 0;
}

.chemrytiq-page .chemrytiq-toxpred-xai-row span {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-toxpred-xai-row small {
  display: block;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 2px;
}

.chemrytiq-page .chemrytiq-toxpred-xai-row b {
  color: #92400e;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.chemrytiq-page .chemrytiq-toxpred-xai-row.tone-protective b {
  color: #065f46;
}

.chemrytiq-page .chemrytiq-toxpred-xai-meter {
  height: 7px;
  overflow: hidden;
  border-radius: 7px;
  background: #e8f0fb;
}

.chemrytiq-page .chemrytiq-toxpred-xai-meter i {
  display: block;
  height: 100%;
  border-radius: 7px;
  background: #f59e0b;
}

.chemrytiq-page .chemrytiq-toxpred-xai-row.tone-protective .chemrytiq-toxpred-xai-meter i {
  background: #10b981;
}

.chemrytiq-page .chemrytiq-toxpred-xai-empty {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.chemrytiq-page .chemrytiq-toxpred-pack {
  display: grid;
  gap: 10px;
  border-top: 1px solid #eef2f7;
  margin-top: 8px;
  padding-top: 8px;
}

.chemrytiq-page .chemrytiq-toxpred-pack-head {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 8px;
}

.chemrytiq-page .chemrytiq-toxpred-pack-head span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-pack-head strong {
  color: #12304d;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.chemrytiq-page .chemrytiq-toxpred-pack-grid span {
  display: grid;
  gap: 3px;
  min-width: 0;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #f9fbfd;
  padding: 8px 10px;
}

.chemrytiq-page .chemrytiq-toxpred-pack-grid em {
  color: #6b7280;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-toxpred-pack-grid b {
  color: #111;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-property-space {
  display: grid;
  grid-template-columns: minmax(240px, 0.48fr) minmax(0, 0.52fr);
  gap: 16px;
  align-items: stretch;
}

.chemrytiq-page .chemrytiq-toxpred-plot {
  position: relative;
  min-height: 260px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background:
    linear-gradient(to right, rgba(219, 228, 239, 0.7) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(219, 228, 239, 0.7) 1px, transparent 1px),
    #ffffff;
  background-size: 25% 100%, 100% 25%, auto;
  overflow: visible;
}

.chemrytiq-page .chemrytiq-toxpred-plot-risk {
  position: absolute;
  right: 0;
  top: 0;
  width: 44%;
  height: 42%;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(239, 68, 68, 0.18));
  border-left: 1px dashed rgba(239, 68, 68, 0.35);
  border-bottom: 1px dashed rgba(239, 68, 68, 0.35);
}

.chemrytiq-page .chemrytiq-toxpred-plot-pfizer,
.chemrytiq-page .chemrytiq-toxpred-plot-mw {
  position: absolute;
  color: #607288;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-toxpred-plot-pfizer {
  left: 50%;
  top: 0;
  bottom: 24px;
  border-left: 2px dashed #f59e0b;
}

.chemrytiq-page .chemrytiq-toxpred-plot-pfizer span {
  position: absolute;
  left: 6px;
  top: 8px;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-plot-mw {
  left: 34px;
  right: 0;
  top: 41.7%;
  border-top: 2px dashed #0b6fbf;
}

.chemrytiq-page .chemrytiq-toxpred-plot-mw span {
  position: absolute;
  right: 8px;
  top: 5px;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-plot-marker {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.18), 0 8px 18px rgba(15, 23, 42, 0.18);
}

.chemrytiq-page .chemrytiq-toxpred-plot.tone-watch .chemrytiq-toxpred-plot-marker {
  background: #f59e0b;
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.2), 0 8px 18px rgba(15, 23, 42, 0.18);
}

.chemrytiq-page .chemrytiq-toxpred-plot.tone-risk .chemrytiq-toxpred-plot-marker {
  background: #ef4444;
  box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.2), 0 8px 18px rgba(15, 23, 42, 0.18);
}

.chemrytiq-page .chemrytiq-toxpred-plot-axis {
  position: absolute;
  color: #607288;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-toxpred-plot-axis.is-x {
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
}

.chemrytiq-page .chemrytiq-toxpred-plot-axis.is-y {
  left: -30px;
  top: 50%;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left top;
}

.chemrytiq-page .chemrytiq-toxpred-property-space-copy {
  display: grid;
  align-content: start;
  gap: 10px;
}

.chemrytiq-page .chemrytiq-toxpred-property-space-copy strong {
  color: #111;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}

.chemrytiq-page .chemrytiq-toxpred-property-space-copy div {
  display: grid;
  gap: 0;
}

.chemrytiq-page .chemrytiq-toxpred-property-space-copy span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #eef2f7;
  color: #607288;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  padding: 6px 0;
}

.chemrytiq-page .chemrytiq-toxpred-property-space-copy b {
  color: #111;
  font-weight: 900;
}

.chemrytiq-page .chemrytiq-toxpred-property-space-copy p {
  color: #607288;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.chemrytiq-page .chemrytiq-toxpred-ph-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.chemrytiq-page .chemrytiq-toxpred-ph-head h4 {
  margin: 0;
}

.chemrytiq-page .chemrytiq-toxpred-ph-head label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 1.5rem;
  color: #005baa;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-ph-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.chemrytiq-page .chemrytiq-toxpred-ph-summary span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid #e6eef8;
  border-radius: 8px;
  background: #f8fbff;
  color: #607288;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  padding: 9px 10px;
}

.chemrytiq-page .chemrytiq-toxpred-ph-summary b {
  color: #111;
  font-weight: 900;
}

.chemrytiq-page .chemrytiq-toxpred-ph-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.56fr) minmax(0, 0.44fr);
  gap: 14px;
  margin-top: 12px;
}

.chemrytiq-page .chemrytiq-toxpred-ph-body[hidden] {
  display: none;
}

.chemrytiq-page .chemrytiq-toxpred-ph-plot {
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  background:
    linear-gradient(to right, rgba(219, 228, 239, 0.72) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(219, 228, 239, 0.72) 1px, transparent 1px),
    #ffffff;
  background-size: 20% 100%, 100% 25%, auto;
  overflow: hidden;
}

.chemrytiq-page .chemrytiq-toxpred-ph-plot svg {
  display: block;
  width: 100%;
  min-height: 220px;
}

.chemrytiq-page .chemrytiq-toxpred-ph-plot line {
  stroke: #9fb2c7;
  stroke-width: 1.5;
}

.chemrytiq-page .chemrytiq-toxpred-ph-plot line.is-ref {
  stroke: #f59e0b;
  stroke-dasharray: 4 4;
}

.chemrytiq-page .chemrytiq-toxpred-ph-plot polyline {
  fill: none;
  stroke: #005baa;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.chemrytiq-page .chemrytiq-toxpred-ph-plot circle {
  fill: #ffffff;
  stroke: #0b70c9;
  stroke-width: 2;
}

.chemrytiq-page .chemrytiq-toxpred-ph-plot text {
  fill: #607288;
  font-size: 11px;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-toxpred-ph-copy {
  display: grid;
  align-content: start;
  gap: 8px;
}

.chemrytiq-page .chemrytiq-toxpred-ph-copy strong {
  color: #12304d;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}

.chemrytiq-page .chemrytiq-toxpred-ph-copy p,
.chemrytiq-page .chemrytiq-toxpred-ph-copy small,
.chemrytiq-page .chemrytiq-toxpred-ph-empty {
  color: #607288;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.chemrytiq-page .chemrytiq-toxpred-ph-copy small {
  border-top: 1px solid #eef2f7;
  color: #12304d;
  font-weight: 700;
  padding-top: 8px;
}

.chemrytiq-page .chemrytiq-toxpred-physchem {
  padding: 12px 18px 14px;
}

.chemrytiq-page .chemrytiq-toxpred-physchem-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.chemrytiq-page .chemrytiq-toxpred-physchem-head h4 {
  margin: 0;
}

.chemrytiq-page .chemrytiq-toxpred-physchem-head span {
  color: #607288;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-align: right;
}

.chemrytiq-page .chemrytiq-toxpred-physchem-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.chemrytiq-page .chemrytiq-toxpred-physchem-legend {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid #dbe7f2;
  border-radius: 8px;
  background: #f8fbff;
  padding: 7px 8px;
}

.chemrytiq-page .chemrytiq-toxpred-physchem-legend strong {
  color: #12304d;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-physchem-legend > div:first-of-type,
.chemrytiq-page .chemrytiq-toxpred-physchem-logd {
  display: grid;
  gap: 5px;
}

.chemrytiq-page .chemrytiq-toxpred-physchem-legend > div:first-of-type {
  grid-template-columns: repeat(8, minmax(72px, 1fr));
}

.chemrytiq-page .chemrytiq-toxpred-physchem-logd {
  grid-template-columns: repeat(3, auto);
}

.chemrytiq-page .chemrytiq-toxpred-physchem-legend span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 24px;
  border: 1px solid #e6eef8;
  border-radius: 6px;
  background: #ffffff;
  padding: 4px 6px;
  color: #607288;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-toxpred-physchem-legend em {
  min-width: 0;
  overflow: hidden;
  color: #607288;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-physchem-legend b {
  color: #111827;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-physchem-logd {
  border-left: 1px solid #dbe7f2;
  padding-left: 8px;
}

.chemrytiq-page .chemrytiq-toxpred-physchem-logd span {
  background: #f1f7ff;
}

.chemrytiq-page .chemrytiq-toxpred-physchem-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  align-items: stretch;
}

.chemrytiq-page .chemrytiq-toxpred-physchem .chemrytiq-toxpred-property-space {
  grid-template-columns: 1fr;
  gap: 8px;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-toxpred-physchem .chemrytiq-toxpred-plot {
  min-height: 0;
  height: 190px;
}

.chemrytiq-page .chemrytiq-toxpred-physchem .chemrytiq-toxpred-property-space-copy {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 34px;
  border: 1px solid #e6eef8;
  border-radius: 8px;
  background: #ffffff;
  padding: 7px 10px;
}

.chemrytiq-page .chemrytiq-toxpred-physchem .chemrytiq-toxpred-property-space-copy strong {
  flex: 0 0 auto;
  color: #12304d;
  font-size: 13px;
}

.chemrytiq-page .chemrytiq-toxpred-physchem .chemrytiq-toxpred-property-space-copy p {
  max-width: 48rem;
  color: #607288;
  font-size: 12px;
  line-height: 1.35;
  text-align: right;
}

.chemrytiq-page .chemrytiq-toxpred-ph-compact {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border: 1px solid #e6eef8;
  border-radius: 8px;
  background: #ffffff;
  padding: 8px 10px;
}

.chemrytiq-page .chemrytiq-toxpred-ph-compact .chemrytiq-toxpred-ph-head {
  justify-content: space-between;
}

.chemrytiq-page .chemrytiq-toxpred-ph-compact .chemrytiq-toxpred-ph-head h4 {
  color: #12304d;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.chemrytiq-page .chemrytiq-toxpred-ph-compact .chemrytiq-toxpred-ph-body {
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 8px;
}

.chemrytiq-page .chemrytiq-toxpred-ph-compact .chemrytiq-toxpred-ph-plot {
  min-height: 0;
  height: 190px;
}

.chemrytiq-page .chemrytiq-toxpred-ph-compact .chemrytiq-toxpred-ph-plot svg {
  min-height: 0;
  height: 190px;
}

.chemrytiq-page .chemrytiq-toxpred-ph-compact .chemrytiq-toxpred-ph-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.chemrytiq-page .chemrytiq-toxpred-ph-compact .chemrytiq-toxpred-ph-copy strong,
.chemrytiq-page .chemrytiq-toxpred-ph-compact .chemrytiq-toxpred-ph-copy p,
.chemrytiq-page .chemrytiq-toxpred-ph-compact .chemrytiq-toxpred-ph-copy small {
  border-top: 0;
  padding-top: 0;
  font-size: 11px;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-toxpred-ph-compact .chemrytiq-toxpred-ph-copy small {
  color: #64748b;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-quat-rule {
  display: grid;
  gap: 12px;
  border: 1px solid #fde68a;
  border-radius: 8px;
  background: #fffbeb;
  padding: 14px;
}

.chemrytiq-page .chemrytiq-toxpred-quat-rule.tone-risk {
  border-color: #fecaca;
  background: #fff7f7;
}

.chemrytiq-page .chemrytiq-toxpred-quat-rule-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chemrytiq-page .chemrytiq-toxpred-quat-rule-head span {
  display: block;
  color: #92400e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred-quat-rule.tone-risk .chemrytiq-toxpred-quat-rule-head span {
  color: #b91c1c;
}

.chemrytiq-page .chemrytiq-toxpred-quat-rule-head strong {
  display: block;
  color: #111;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.2;
  margin-top: 2px;
}

.chemrytiq-page .chemrytiq-toxpred-quat-rule-head b {
  border-radius: 999px;
  background: #ffffff;
  color: #12304d;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 9px;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-quat-rule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.chemrytiq-page .chemrytiq-toxpred-quat-rule-grid span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid #e5edf6;
  border-radius: 8px;
  background: #ffffff;
  color: #607288;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  padding: 9px 10px;
}

.chemrytiq-page .chemrytiq-toxpred-quat-rule-grid span.is-pass {
  border-color: #bbf7d0;
  color: #047857;
}

.chemrytiq-page .chemrytiq-toxpred-quat-rule-grid span.is-fail {
  border-color: #fecaca;
  color: #b91c1c;
}

.chemrytiq-page .chemrytiq-toxpred-quat-rule-grid b {
  color: #111;
  font-weight: 950;
}

.chemrytiq-page .chemrytiq-toxpred-quat-rule p {
  color: #607288;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.chemrytiq-page .chemrytiq-toxpred-peptide-mode {
  display: grid;
  gap: 12px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #f8fbff;
  padding: 14px;
}

.chemrytiq-page .chemrytiq-toxpred-peptide-mode.tone-risk {
  border-color: #fecaca;
  background: #fff7f7;
}

.chemrytiq-page .chemrytiq-toxpred-peptide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chemrytiq-page .chemrytiq-toxpred-peptide-head span {
  display: block;
  color: #005baa;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred-peptide-head strong {
  display: block;
  color: #111;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.2;
  margin-top: 2px;
}

.chemrytiq-page .chemrytiq-toxpred-peptide-head em {
  display: block;
  color: #607288;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  margin-top: 3px;
}

.chemrytiq-page .chemrytiq-toxpred-peptide-head b {
  border-radius: 999px;
  background: #ffffff;
  color: #12304d;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 9px;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-peptide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}

.chemrytiq-page .chemrytiq-toxpred-peptide-grid span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid #e5edf6;
  border-radius: 8px;
  background: #ffffff;
  color: #607288;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  padding: 9px 10px;
}

.chemrytiq-page .chemrytiq-toxpred-peptide-grid span.is-pass {
  border-color: #bbf7d0;
  color: #047857;
}

.chemrytiq-page .chemrytiq-toxpred-peptide-grid span.is-fail {
  border-color: #fecaca;
  color: #b91c1c;
}

.chemrytiq-page .chemrytiq-toxpred-peptide-grid b {
  color: #111;
  font-weight: 950;
}

.chemrytiq-page .chemrytiq-toxpred-peptide-mode p {
  color: #607288;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.chemrytiq-page .chemrytiq-toxpred-som {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
  gap: 16px;
  align-items: start;
}

.chemrytiq-page .chemrytiq-toxpred-som-map {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-toxpred-som-structure {
  position: relative;
  min-height: 330px;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #f9fbfd;
  overflow: visible;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 8px;
  padding: 14px;
}

.chemrytiq-page .chemrytiq-toxpred-som-structure.is-som-focused {
  border-color: #7db6e5;
  box-shadow: 0 0 0 3px rgba(11, 111, 191, 0.14);
}

.chemrytiq-page .chemrytiq-toxpred-som-structure::after {
  content: "Soft spot overlay";
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #005baa;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 6px 8px;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred-alert-structure::after {
  content: "Toxicity heatmap";
}

.chemrytiq-page .chemrytiq-toxpred-som-structure svg {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 280px;
  display: block;
  align-self: center;
}

.chemrytiq-page .chemrytiq-toxpred-som-structure > span {
  color: #607288;
  font-size: 13px;
  font-weight: 700;
}

.chemrytiq-page .chemrytiq-toxpred-som-fallback {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.chemrytiq-page .chemrytiq-toxpred-som-fallback .chemrytiq-toxpred-som-marker,
.chemrytiq-page .chemrytiq-toxpred-som-fallback .chemrytiq-toxpred-alert-marker {
  pointer-events: auto;
}

.chemrytiq-page .chemrytiq-toxpred-som-highlight-note {
  position: static;
  z-index: 2;
  width: min(100%, 28rem);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.92);
  color: #12304d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  padding: 7px 9px;
  text-align: center;
}

.chemrytiq-page .chemrytiq-toxpred-som-marker,
.chemrytiq-page .chemrytiq-toxpred-alert-marker {
  position: absolute;
  z-index: 2;
  width: calc(26px * var(--som-scale, 1));
  height: calc(26px * var(--som-scale, 1));
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: #f59e0b;
  color: #111;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.2), 0 0 18px rgba(245, 158, 11, 0.55);
}

.chemrytiq-page .chemrytiq-toxpred-som-marker.is-hot,
.chemrytiq-page .chemrytiq-toxpred-alert-marker.is-hot {
  background: #ef4444;
  color: #fff;
  box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.2), 0 0 22px rgba(239, 68, 68, 0.62);
}

.chemrytiq-page .chemrytiq-toxpred-som-marker.is-mild,
.chemrytiq-page .chemrytiq-toxpred-alert-marker.is-mild {
  background: #facc15;
  box-shadow: 0 0 0 5px rgba(250, 204, 21, 0.18), 0 0 16px rgba(250, 204, 21, 0.46);
}

.chemrytiq-page .chemrytiq-toxpred-alert-marker {
  background: #f97316;
  box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.2), 0 0 20px rgba(249, 115, 22, 0.54);
}

.chemrytiq-page .chemrytiq-toxpred-som-marker:hover,
.chemrytiq-page .chemrytiq-toxpred-alert-marker:hover {
  outline: 2px solid #0b6fbf;
  outline-offset: 2px;
}

.chemrytiq-page .chemrytiq-toxpred-som-marker.is-hovered,
.chemrytiq-page .chemrytiq-toxpred-alert-marker.is-hovered {
  z-index: 4;
  outline: 2px solid #0b6fbf;
  outline-offset: 3px;
  animation: chemrytiq-toxpred-som-pulse 1s ease-in-out infinite;
}

.chemrytiq-page .chemrytiq-toxpred-som-marker.is-selected,
.chemrytiq-page .chemrytiq-toxpred-som-marker:focus-visible,
.chemrytiq-page .chemrytiq-toxpred-alert-marker.is-selected,
.chemrytiq-page .chemrytiq-toxpred-alert-marker:focus-visible {
  z-index: 5;
  outline: 3px solid #0b6fbf;
  outline-offset: 3px;
  box-shadow: 0 0 0 7px rgba(11, 111, 191, 0.18), 0 0 24px rgba(11, 111, 191, 0.45);
}

@keyframes chemrytiq-toxpred-som-pulse {
  0%, 100% {
    box-shadow: 0 0 0 5px rgba(11, 111, 191, 0.14), 0 0 18px rgba(11, 111, 191, 0.36);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(11, 111, 191, 0.24), 0 0 28px rgba(11, 111, 191, 0.52);
  }
}

@media (prefers-reduced-motion: reduce) {
  .chemrytiq-page .chemrytiq-toxpred-som-marker.is-hovered {
    animation: none;
  }
}

.chemrytiq-page .chemrytiq-toxpred-som-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #607288;
  font-size: 12px;
  font-weight: 700;
}

.chemrytiq-page .chemrytiq-toxpred-som-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.chemrytiq-page .chemrytiq-toxpred-som-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #f59e0b;
}

.chemrytiq-page .chemrytiq-toxpred-som-legend i.is-hot {
  background: #ef4444;
}

.chemrytiq-page .chemrytiq-toxpred-som-list {
  display: grid;
  gap: 0;
}

.chemrytiq-page .chemrytiq-toxpred-som-sites-list {
  grid-template-columns: repeat(2, minmax(250px, 1fr));
  gap: 10px;
}

.chemrytiq-page .chemrytiq-toxpred-som-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  border-top: 1px solid #eef2f7;
  padding: 8px 0;
}

.chemrytiq-page .chemrytiq-toxpred-som-sites-list article {
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #fbfdff;
  padding: 10px 12px;
}

.chemrytiq-page .chemrytiq-toxpred-som-list article:first-child {
  border-top: 0;
  padding-top: 0;
}

.chemrytiq-page .chemrytiq-toxpred-som-sites-list article:first-child {
  border-top: 1px solid #eef2f7;
  padding-top: 10px;
}

.chemrytiq-page .chemrytiq-toxpred-som-list article.is-hovered,
.chemrytiq-page .chemrytiq-toxpred-som-list article:focus-visible {
  border-radius: 8px;
  background: #f0f7ff;
  outline: 1px solid #bfdbfe;
  outline-offset: 2px;
}

.chemrytiq-page .chemrytiq-toxpred-som-list strong,
.chemrytiq-page .chemrytiq-toxpred-som-list span {
  display: block;
}

.chemrytiq-page .chemrytiq-toxpred-som-list strong {
  color: #111;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-som-list span,
.chemrytiq-page .chemrytiq-toxpred-som-list p,
.chemrytiq-page .chemrytiq-toxpred-som-empty {
  color: #607288;
  font-size: 13px;
  line-height: 1.45;
}

.chemrytiq-page .chemrytiq-toxpred-som-list b {
  color: #92400e;
  font-size: 13px;
  font-weight: 900;
}

.chemrytiq-page .chemrytiq-toxpred-som-list p {
  grid-column: 1 / -1;
  margin: 0;
}

.chemrytiq-page .chemrytiq-toxpred-som-sites-list p {
  min-height: 2.8em;
}

.chemrytiq-page .chemrytiq-toxpred-som-list button {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 28px;
  border: 1px solid #b8d3ee;
  border-radius: 7px;
  background: #eef6ff;
  color: #0f5f9f;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  padding: 0 10px;
}

.chemrytiq-page .chemrytiq-toxpred-som-list button:hover {
  background: #dceeff;
  border-color: #7db6e8;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-heatmap {
  display: grid;
  gap: 12px;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-head h4 {
  margin: 0;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-head span {
  margin-left: auto;
  color: #607288;
  font-size: 12px;
  font-weight: 850;
}

.chemrytiq-page .chemrytiq-toxpred-help {
  position: relative;
  display: inline-grid;
  width: 18px;
  height: 18px;
  min-height: 18px;
  place-items: center;
  border: 1px solid #b8d3ee;
  border-radius: 999px;
  background: #ffffff;
  color: #005baa;
  cursor: help;
  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  padding: 0;
}

.chemrytiq-page .chemrytiq-toxpred-help::after {
  position: absolute;
  z-index: 30;
  bottom: calc(100% + 8px);
  left: 50%;
  width: min(18rem, 70vw);
  transform: translateX(-50%);
  border: 1px solid #b8d3ee;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 45, 76, 0.14);
  color: #12304d;
  content: attr(data-tooltip);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  opacity: 0;
  padding: 8px 10px;
  pointer-events: none;
  text-align: left;
  transition: opacity 120ms ease;
}

.chemrytiq-page .chemrytiq-toxpred-help:hover,
.chemrytiq-page .chemrytiq-toxpred-help:focus-visible {
  border-color: #1976d2;
  background: #eef6ff;
  outline: none;
}

.chemrytiq-page .chemrytiq-toxpred-help:hover::after,
.chemrytiq-page .chemrytiq-toxpred-help:focus-visible::after {
  opacity: 1;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(4.7rem, 1fr));
  gap: 7px;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-grid button {
  position: relative;
  display: grid;
  align-items: end;
  min-width: 0;
  height: 4.6rem;
  overflow: hidden;
  border: 1px solid #d7e3ef;
  border-radius: 8px;
  background: #ffffff;
  color: #12304d;
  cursor: pointer;
  padding: 0.45rem 0.35rem;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-grid button:hover,
.chemrytiq-page .chemrytiq-toxpred-selfies-grid button:focus-visible,
.chemrytiq-page .chemrytiq-toxpred-selfies-grid button.is-active {
  border-color: #1976d2;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.12);
  outline: none;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-grid button span {
  position: relative;
  z-index: 1;
  overflow: hidden;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-grid button i {
  position: absolute;
  inset: auto 0 0;
  opacity: 0.35;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-grid button.tone-cool i {
  background: #22c55e;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-grid button.tone-warm i {
  background: #f59e0b;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-grid button.tone-hot i {
  background: #ef4444;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-detail {
  display: grid;
  gap: 4px;
  min-height: 5.2rem;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
  padding: 10px 12px;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-detail span {
  color: #1565c0;
  font-size: 12px;
  font-weight: 900;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-detail strong {
  color: #12304d;
  font-size: 12px;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-detail p {
  color: #607288;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-sandbox {
  display: grid;
  gap: 12px;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-sandbox-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-sandbox-head h4 {
  margin: 0;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-sandbox-head span {
  margin-left: auto;
  color: #607288;
  font-size: 12px;
  font-weight: 850;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-sandbox-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: 12px;
  align-items: start;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-editor,
.chemrytiq-page .chemrytiq-toxpred-selfies-preview {
  display: grid;
  gap: 10px;
  min-width: 0;
  border: 1px solid #e3edf8;
  border-radius: 8px;
  background: #fbfdff;
  padding: 12px;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-bricks {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-bricks button,
.chemrytiq-page .chemrytiq-toxpred-selfies-controls button,
.chemrytiq-page .chemrytiq-toxpred-selfies-preview button {
  min-height: 30px;
  border: 1px solid #b8d3ee;
  border-radius: 7px;
  background: #ffffff;
  color: #0f5f9f;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  padding: 0 10px;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-bricks button {
  max-width: 7rem;
  overflow: hidden;
  font-family: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-bricks button:hover,
.chemrytiq-page .chemrytiq-toxpred-selfies-bricks button.is-active,
.chemrytiq-page .chemrytiq-toxpred-selfies-controls button:hover,
.chemrytiq-page .chemrytiq-toxpred-selfies-preview button:hover {
  border-color: #1976d2;
  background: #eef6ff;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-editor textarea {
  width: 100%;
  min-height: 5.5rem;
  resize: vertical;
  border: 1px solid #d7e3ef;
  border-radius: 8px;
  background: #ffffff;
  color: #12304d;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.45;
  padding: 9px 10px;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-controls {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-controls select {
  min-height: 30px;
  border: 1px solid #b8d3ee;
  border-radius: 7px;
  background: #ffffff;
  color: #12304d;
  font-size: 12px;
  font-weight: 750;
  padding: 0 8px;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-editor small {
  color: #607288;
  font-size: 12px;
  line-height: 1.4;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-preview-structure {
  display: grid;
  min-height: 12rem;
  place-items: center;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  padding: 8px;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-preview-structure svg {
  width: 100%;
  max-width: 20rem;
  height: auto;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-preview-meta {
  display: grid;
  gap: 3px;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-preview-meta span {
  color: #607288;
  font-size: 11px;
  font-weight: 900;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-preview-meta code {
  overflow: hidden;
  color: #12304d;
  font-family: inherit;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-preview-bands {
  display: grid;
  gap: 6px;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-preview-bands div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.4rem;
  gap: 6px 8px;
  align-items: center;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-preview-bands span {
  color: #12304d;
  font-size: 12px;
  font-weight: 850;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-preview-bands b {
  color: #92400e;
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-preview-bands i {
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-preview-bands em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #f59e0b;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph {
  display: grid;
  gap: 12px;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-head,
.chemrytiq-page .chemrytiq-toxpred-selfies-morph-rank {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-head h4 {
  margin: 0 0 2px;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-head span,
.chemrytiq-page .chemrytiq-toxpred-selfies-morph-rank span,
.chemrytiq-page .chemrytiq-toxpred-selfies-morph-slider span {
  color: #607288;
  font-size: 12px;
  font-weight: 850;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-head button,
.chemrytiq-page .chemrytiq-toxpred-selfies-morph-results button {
  min-height: 30px;
  border: 1px solid #0b70c9;
  border-radius: 7px;
  background: #ffffff;
  color: #005baa;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  padding: 0 10px;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-head button:hover,
.chemrytiq-page .chemrytiq-toxpred-selfies-morph-results button:hover {
  background: #eef6ff;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-inputs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(10rem, 0.35fr);
  gap: 10px;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-inputs label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-inputs span {
  color: #607288;
  font-size: 11px;
  font-weight: 900;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-inputs code,
.chemrytiq-page .chemrytiq-toxpred-selfies-morph-results code {
  overflow: hidden;
  color: #12304d;
  font-family: inherit;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-inputs code,
.chemrytiq-page .chemrytiq-toxpred-selfies-morph-inputs textarea,
.chemrytiq-page .chemrytiq-toxpred-selfies-morph-inputs select {
  border: 1px solid #d7e3ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 8px 9px;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-inputs textarea {
  min-height: 4.8rem;
  resize: vertical;
  color: #12304d;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.4;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-slider {
  display: grid;
  gap: 6px;
  border: 1px solid #e3edf8;
  border-radius: 8px;
  background: #fbfdff;
  padding: 10px 12px;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-results {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-results[hidden] {
  display: none;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-results article,
.chemrytiq-page .chemrytiq-toxpred-selfies-morph-empty {
  display: grid;
  gap: 5px;
  min-width: 0;
  border: 1px solid #eef2f7;
  border-left: 4px solid #94a3b8;
  border-radius: 8px;
  background: #fbfdff;
  padding: 7px 10px;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-results article {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title action"
    "metrics metrics"
    "smiles smiles"
    "selfies selfies";
  align-items: start;
  width: 100%;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-results article.is-active {
  border-left-color: #1976d2;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.08);
}

.chemrytiq-page .chemrytiq-toxpred-morph-row-title {
  grid-area: title;
}

.chemrytiq-page .chemrytiq-toxpred-morph-row-metrics {
  grid-area: metrics;
}

.chemrytiq-page .chemrytiq-toxpred-morph-row-smiles {
  grid-area: smiles;
}

.chemrytiq-page .chemrytiq-toxpred-morph-row-selfies {
  grid-area: selfies;
}

.chemrytiq-page .chemrytiq-toxpred-morph-row-action {
  grid-area: action;
  justify-self: end;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-rank strong {
  color: #0b6fbf;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: none;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-metrics {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-metrics span {
  border-radius: 999px;
  background: #eef6ff;
  color: #17456f;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  padding: 0 7px;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-metrics b {
  color: #92400e;
  font-weight: 800;
}

@media (max-width: 1020px) {
  .chemrytiq-page .chemrytiq-toxpred-smart-swaps-grid,
  .chemrytiq-page .chemrytiq-toxpred-mmp,
  .chemrytiq-page .chemrytiq-toxpred-som-sites-list,
  .chemrytiq-page .chemrytiq-toxpred-selfies-sandbox-layout,
  .chemrytiq-page .chemrytiq-toxpred-selfies-morph-inputs {
    grid-template-columns: 1fr;
  }
}

.chemrytiq-page .chemrytiq-toxpred-suggestions {
  display: grid;
  gap: 0;
}

.chemrytiq-page .chemrytiq-toxpred-swaps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.chemrytiq-page .chemrytiq-toxpred-swaps article {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #f9fbfd;
  padding: 12px;
}

.chemrytiq-page .chemrytiq-toxpred-swaps span,
.chemrytiq-page .chemrytiq-toxpred-swap-applied span {
  display: block;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-swaps strong,
.chemrytiq-page .chemrytiq-toxpred-swap-applied strong {
  display: block;
  color: #111;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  margin-top: 2px;
}

.chemrytiq-page .chemrytiq-toxpred-swaps p,
.chemrytiq-page .chemrytiq-toxpred-swaps em {
  color: #607288;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.chemrytiq-page .chemrytiq-toxpred-swaps em {
  color: #12304d;
  font-style: normal;
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-toxpred-swaps button,
.chemrytiq-page .chemrytiq-toxpred-swap-applied button {
  justify-self: start;
  min-height: 2rem;
  border: 1px solid #b8d3ee;
  border-radius: 7px;
  background: #eef6ff;
  color: #0f5f9f;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  padding: 0 10px;
}

.chemrytiq-page .chemrytiq-toxpred-swaps button:hover,
.chemrytiq-page .chemrytiq-toxpred-swap-applied button:hover {
  background: #dceeff;
  border-color: #7db6e8;
}

.chemrytiq-page .chemrytiq-toxpred-swap-applied {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  align-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  margin-bottom: 12px;
  padding: 10px 12px;
}

.chemrytiq-page .chemrytiq-toxpred-swap-applied span {
  grid-column: 1 / -1;
}

.chemrytiq-page .chemrytiq-toxpred-swap-compare {
  display: grid;
  gap: 10px;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #fbfdff;
  margin: 0 0 12px;
  padding: 12px;
}

.chemrytiq-page .chemrytiq-toxpred-swap-compare-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.chemrytiq-page .chemrytiq-toxpred-swap-compare-head span {
  color: #005baa;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred-swap-compare-head strong {
  border-radius: 999px;
  background: #eef2f7;
  color: #12304d;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 8px;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-swap-compare-head strong.is-improve {
  background: #dcfce7;
  color: #047857;
}

.chemrytiq-page .chemrytiq-toxpred-swap-compare-head strong.is-worsen {
  background: #fee2e2;
  color: #b91c1c;
}

.chemrytiq-page .chemrytiq-toxpred-swap-compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.chemrytiq-page .chemrytiq-toxpred-radar {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
  gap: 14px;
  align-items: center;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #fbfdff;
  padding: 12px;
}

.chemrytiq-page .chemrytiq-toxpred-radar-plot {
  min-width: 0;
}

.chemrytiq-page .chemrytiq-toxpred-radar-plot svg {
  display: block;
  width: min(100%, 260px);
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

.chemrytiq-page .chemrytiq-toxpred-radar-plot line {
  stroke: #dbe4ef;
  stroke-width: 1;
}

.chemrytiq-page .chemrytiq-toxpred-radar-grid {
  fill: rgba(241, 245, 249, 0.5);
  stroke: #cbd5e1;
  stroke-width: 1;
}

.chemrytiq-page .chemrytiq-toxpred-radar-grid.is-inner {
  fill: transparent;
  stroke: #e2e8f0;
}

.chemrytiq-page .chemrytiq-toxpred-radar-original {
  fill: rgba(100, 116, 139, 0.14);
  stroke: #64748b;
  stroke-width: 2;
}

.chemrytiq-page .chemrytiq-toxpred-radar-swapped {
  fill: rgba(11, 111, 191, 0.18);
  stroke: #0b6fbf;
  stroke-width: 2.4;
}

.chemrytiq-page .chemrytiq-toxpred-radar-plot text {
  fill: #445d73;
  font-size: 10px;
  font-weight: 800;
  text-anchor: middle;
  dominant-baseline: middle;
}

.chemrytiq-page .chemrytiq-toxpred-radar-copy {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-toxpred-radar-legend,
.chemrytiq-page .chemrytiq-toxpred-radar-deltas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chemrytiq-page .chemrytiq-toxpred-radar-legend span,
.chemrytiq-page .chemrytiq-toxpred-radar-deltas span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #dbe7f4;
  border-radius: 999px;
  background: #ffffff;
  color: #31516c;
  padding: 5px 8px;
}

.chemrytiq-page .chemrytiq-toxpred-radar-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.chemrytiq-page .chemrytiq-toxpred-radar-legend i.is-original {
  background: #64748b;
}

.chemrytiq-page .chemrytiq-toxpred-radar-legend i.is-swapped {
  background: #0b6fbf;
}

.chemrytiq-page .chemrytiq-toxpred-radar-deltas span.is-improve {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.chemrytiq-page .chemrytiq-toxpred-radar-deltas span.is-worsen {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #92400e;
}

.chemrytiq-page .chemrytiq-toxpred-radar-deltas b {
  color: inherit;
}

.chemrytiq-page .chemrytiq-toxpred-sa-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 8px;
  align-items: center;
  border: 1px solid #dbe7f4;
  border-radius: 8px;
  background: #ffffff;
  padding: 8px 10px;
}

.chemrytiq-page .chemrytiq-toxpred-sa-compare span {
  color: #005baa;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred-sa-compare strong,
.chemrytiq-page .chemrytiq-toxpred-sa-compare b {
  color: #12304d;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-sa-compare b {
  border-radius: 999px;
  background: #eef2f7;
  padding: 5px 8px;
}

.chemrytiq-page .chemrytiq-toxpred-sa-compare.is-improve b {
  background: #dcfce7;
  color: #047857;
}

.chemrytiq-page .chemrytiq-toxpred-sa-compare.is-worsen b {
  background: #fee2e2;
  color: #b91c1c;
}

.chemrytiq-page .chemrytiq-toxpred-sa-badge {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  justify-self: start;
  gap: 4px;
  width: fit-content;
  border: 1px solid #dbe7f4;
  border-radius: 999px;
  background: #ffffff;
  color: #31516c;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  padding: 6px 8px;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-sa-badge b {
  color: inherit;
  font-size: inherit;
  font-weight: 900;
}

.chemrytiq-page .chemrytiq-toxpred-sa-badge.tone-good {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #047857;
}

.chemrytiq-page .chemrytiq-toxpred-sa-badge.tone-watch {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.chemrytiq-page .chemrytiq-toxpred-sa-badge.tone-risk {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.chemrytiq-page .chemrytiq-toxpred-swap-compare-grid article {
  display: grid;
  gap: 6px;
  min-width: 0;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #ffffff;
  padding: 10px;
}

.chemrytiq-page .chemrytiq-toxpred-swap-compare-grid article > div,
.chemrytiq-page .chemrytiq-toxpred-swap-compare-grid p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
}

.chemrytiq-page .chemrytiq-toxpred-swap-compare-grid article > div span {
  color: #12304d;
  font-size: 13px;
  font-weight: 900;
}

.chemrytiq-page .chemrytiq-toxpred-swap-compare-grid article > div b {
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

.chemrytiq-page .chemrytiq-toxpred-swap-compare-grid article.is-improve > div b {
  color: #047857;
}

.chemrytiq-page .chemrytiq-toxpred-swap-compare-grid article.is-worsen > div b {
  color: #b91c1c;
}

.chemrytiq-page .chemrytiq-toxpred-swap-compare-grid p span,
.chemrytiq-page .chemrytiq-toxpred-swap-compare-grid p strong {
  color: #607288;
  font-size: 12px;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-toxpred-swap-compare-grid p strong {
  color: #111;
}

.chemrytiq-page .chemrytiq-toxpred-swap-compare-grid i {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: #e5edf6;
  overflow: hidden;
}

.chemrytiq-page .chemrytiq-toxpred-swap-compare-grid i em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #f59e0b;
}

.chemrytiq-page .chemrytiq-toxpred-swap-compare-grid i em.tone-good {
  background: #10b981;
}

.chemrytiq-page .chemrytiq-toxpred-swap-compare-grid i em.tone-risk {
  background: #ef4444;
}

.chemrytiq-page .chemrytiq-toxpred-mmp {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr));
  gap: 10px;
}

.chemrytiq-page .chemrytiq-toxpred-mmp article {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.chemrytiq-page .chemrytiq-toxpred-mmp-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.chemrytiq-page .chemrytiq-toxpred-mmp-head span {
  display: block;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-mmp-head strong {
  display: block;
  color: #111;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  margin-top: 2px;
}

.chemrytiq-page .chemrytiq-toxpred-mmp-head b {
  color: #0b6fbf;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-mmp-effects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chemrytiq-page .chemrytiq-toxpred-mmp-effects span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #f0fdf4;
  color: #065f46;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 8px;
}

.chemrytiq-page .chemrytiq-toxpred-mmp-effects span.is-worsen {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #92400e;
}

.chemrytiq-page .chemrytiq-toxpred-mmp-effects em {
  font-style: normal;
  font-weight: 900;
}

.chemrytiq-page .chemrytiq-toxpred-mmp p,
.chemrytiq-page .chemrytiq-toxpred-mmp small {
  color: #607288;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.chemrytiq-page .chemrytiq-toxpred-mmp small {
  color: #12304d;
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-toxpred-suggestions article {
  border-top: 1px solid #eef2f7;
  padding: 8px 0;
}

.chemrytiq-page .chemrytiq-toxpred-suggestions article:first-child {
  border-top: 0;
  padding-top: 0;
}

.chemrytiq-page .chemrytiq-toxpred-suggestions strong {
  display: block;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-suggestions p,
.chemrytiq-page .chemrytiq-toxpred-suggestions span,
.chemrytiq-page .chemrytiq-toxpred-uncertainty p {
  color: #607288;
  font-size: 13px;
  line-height: 1.45;
  margin: 3px 0 0;
}

.chemrytiq-page .chemrytiq-toxpred-suggestions span {
  display: block;
  color: #12304d;
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-toxpred-smart-swaps {
  display: grid;
  gap: 10px;
  border-top: 1px solid #eef2f7;
  margin-top: 10px;
  padding-top: 10px;
}

.chemrytiq-page .chemrytiq-toxpred-smart-swaps-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.chemrytiq-page .chemrytiq-toxpred-smart-swaps > .chemrytiq-toxpred-swap-applied,
.chemrytiq-page .chemrytiq-toxpred-smart-swaps > .chemrytiq-toxpred-swap-compare {
  grid-column: 1 / -1;
}

.chemrytiq-page .chemrytiq-toxpred-smart-swaps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr));
  gap: 10px;
}

.chemrytiq-page .chemrytiq-toxpred-smart-swaps-head span {
  color: #0b6fbf;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred-smart-swaps-head strong {
  color: #12304d;
  font-size: 13px;
  font-weight: 850;
}

.chemrytiq-page .chemrytiq-toxpred-smart-swaps-grid article {
  display: grid;
  gap: 6px;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #f9fbfd;
  padding: 10px 12px;
}

.chemrytiq-page .chemrytiq-toxpred-smart-swaps-grid article > div {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: 10px;
  align-items: baseline;
}

.chemrytiq-page .chemrytiq-toxpred-smart-swaps-grid article span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-toxpred-smart-swaps-grid article strong {
  color: #111;
  font-size: 14px;
  font-weight: 900;
}

.chemrytiq-page .chemrytiq-toxpred-smart-swaps p,
.chemrytiq-page .chemrytiq-toxpred-smart-swaps em,
.chemrytiq-page .chemrytiq-toxpred-smart-swaps small {
  color: #607288;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.chemrytiq-page .chemrytiq-toxpred-smart-swaps em {
  color: #065f46;
  font-style: normal;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-toxpred-smart-swaps small {
  color: #12304d;
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-toxpred-smart-swaps button {
  justify-self: start;
  border: 1px solid #0b70c9;
  border-radius: 6px;
  background: #ffffff;
  color: #005baa;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  padding: 8px 10px;
}

.chemrytiq-page .chemrytiq-toxpred-smart-swaps button:hover {
  background: #eaf4ff;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space {
  display: grid;
  gap: 12px;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-head h4,
.chemrytiq-page .chemrytiq-toxpred-safe-space-head p {
  margin: 0;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-head p {
  color: #607288;
  font-size: 13px;
  line-height: 1.45;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-head button,
.chemrytiq-page .chemrytiq-toxpred-local-optimizer-controls select,
.chemrytiq-page .chemrytiq-toxpred-safe-space-results button {
  border: 1px solid #0b70c9;
  border-radius: 6px;
  background: #ffffff;
  color: #005baa;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  line-height: 19px;
  min-height: 21px;
  padding: 0 8px;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-local-optimizer-controls {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.chemrytiq-page .chemrytiq-toxpred-local-optimizer-controls select {
  height: 21px;
  min-height: 21px;
  background: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-head button:hover,
.chemrytiq-page .chemrytiq-toxpred-safe-space-results button:hover {
  background: #eaf4ff;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-results,
.chemrytiq-page .chemrytiq-toxpred-local-optimizer-results,
.chemrytiq-page .chemrytiq-toxpred-bioisostere-expansion-results {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.chemrytiq-page .chemrytiq-toxpred-local-optimizer-results,
.chemrytiq-page .chemrytiq-toxpred-bioisostere-expansion-results {
  grid-template-columns: 1fr;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-results[hidden],
.chemrytiq-page .chemrytiq-toxpred-local-optimizer-results[hidden],
.chemrytiq-page .chemrytiq-toxpred-bioisostere-expansion-results[hidden] {
  display: none;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-results article,
.chemrytiq-page .chemrytiq-toxpred-local-optimizer-results article,
.chemrytiq-page .chemrytiq-toxpred-bioisostere-expansion-results article {
  display: grid;
  gap: 5px;
  border: 1px solid #eef2f7;
  border-left: 4px solid #94a3b8;
  border-radius: 8px;
  background: #fbfdff;
  padding: 7px 10px;
}

.chemrytiq-page .chemrytiq-toxpred-local-optimizer-results article,
.chemrytiq-page .chemrytiq-toxpred-bioisostere-expansion-results article {
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title score"
    "metrics metrics"
    "smiles smiles"
    "selfies selfies"
    "note action";
  gap: 5px 10px;
  align-items: start;
  width: 100%;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-results article.is-improve,
.chemrytiq-page .chemrytiq-toxpred-local-optimizer-results article.is-improve,
.chemrytiq-page .chemrytiq-toxpred-bioisostere-expansion-results article.is-improve {
  border-left-color: #10b981;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-rank,
.chemrytiq-page .chemrytiq-toxpred-safe-space-score {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.chemrytiq-page .chemrytiq-toxpred-local-optimizer-results .chemrytiq-toxpred-safe-space-rank,
.chemrytiq-page .chemrytiq-toxpred-bioisostere-expansion-results .chemrytiq-toxpred-safe-space-rank {
  display: flex;
  justify-content: flex-start;
  gap: 9px;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-toxpred-safe-row-title {
  grid-area: title;
}

.chemrytiq-page .chemrytiq-toxpred-safe-row-score {
  grid-area: score;
  justify-self: end;
}

.chemrytiq-page .chemrytiq-toxpred-safe-row-metrics {
  grid-area: metrics;
}

.chemrytiq-page .chemrytiq-toxpred-safe-row-smiles {
  grid-area: smiles;
}

.chemrytiq-page .chemrytiq-toxpred-safe-row-selfies {
  grid-area: selfies;
}

.chemrytiq-page .chemrytiq-toxpred-safe-row-note {
  grid-area: note;
}

.chemrytiq-page .chemrytiq-toxpred-safe-row-action {
  grid-area: action;
  justify-self: end;
}

.chemrytiq-page .chemrytiq-toxpred-local-optimizer-results .chemrytiq-toxpred-safe-row-title strong,
.chemrytiq-page .chemrytiq-toxpred-bioisostere-expansion-results .chemrytiq-toxpred-safe-row-title strong {
  font-size: 14px;
  line-height: 1.15;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-rank span,
.chemrytiq-page .chemrytiq-toxpred-safe-space-score span {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-rank strong {
  color: #0b6fbf;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-results h5 {
  color: #111;
  font-size: 15px;
  line-height: 1.25;
  margin: 0;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-score strong {
  border-radius: 999px;
  background: #eef2f7;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  line-height: 18px;
  min-width: 34px;
  padding: 0 7px;
  text-align: center;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-score strong.is-improve {
  background: #dcfce7;
  color: #047857;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-score strong.is-worsen {
  background: #fee2e2;
  color: #b91c1c;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-results p,
.chemrytiq-page .chemrytiq-toxpred-safe-space-results em,
.chemrytiq-page .chemrytiq-toxpred-safe-space-results small {
  color: #607288;
  font-size: 12px;
  line-height: 1.25;
  margin: 0;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-results em {
  color: #065f46;
  font-style: normal;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-results button {
  justify-self: start;
}

.chemrytiq-page .chemrytiq-toxpred-bioisostere-expansion-results .chemrytiq-toxpred-safe-row-action {
  justify-self: end;
}

.chemrytiq-page .chemrytiq-toxpred-local-optimizer-summary,
.chemrytiq-page .chemrytiq-toxpred-local-optimizer-empty {
  grid-column: 1 / -1;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
  padding: 10px 12px;
}

.chemrytiq-page .chemrytiq-toxpred-local-optimizer-summary {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.chemrytiq-page .chemrytiq-toxpred-local-optimizer-summary span,
.chemrytiq-page .chemrytiq-toxpred-local-optimizer-summary em,
.chemrytiq-page .chemrytiq-toxpred-local-optimizer-empty {
  color: #607288;
  font-size: 12px;
  line-height: 1.4;
}

.chemrytiq-page .chemrytiq-toxpred-local-optimizer-summary strong {
  color: #0f3763;
  font-size: 13px;
  font-weight: 900;
}

.chemrytiq-page .chemrytiq-toxpred-local-optimizer-metrics {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.chemrytiq-page .chemrytiq-toxpred-safe-row-metrics {
  align-items: center;
  justify-content: flex-start;
}

.chemrytiq-page .chemrytiq-toxpred-local-optimizer-metrics span {
  border-radius: 999px;
  background: #eef6ff;
  color: #17456f;
  font-size: 11px;
  font-weight: 800;
  line-height: 17px;
  padding: 0 7px;
}

.chemrytiq-page .chemrytiq-toxpred-local-optimizer-metrics span.is-go {
  background: #dcfce7;
  color: #047857;
}

.chemrytiq-page .chemrytiq-toxpred-string-row {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  gap: 6px;
  align-items: start;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-toxpred-string-row span {
  color: #607288;
  font-size: 11px;
  font-weight: 900;
  line-height: 21px;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred-string-row code {
  min-width: 0;
  max-height: 5.2rem;
  overflow: auto;
  border: 1px solid #fde2e2;
  border-radius: 7px;
  background: #fff7f7;
  padding: 2px 7px;
  color: #12304d;
  font-family: inherit;
  font-size: 12px;
  line-height: 17px;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: break-word;
}

.chemrytiq-page .chemrytiq-toxpred-local-optimizer-results .chemrytiq-toxpred-string-row,
.chemrytiq-page .chemrytiq-toxpred-bioisostere-expansion-results .chemrytiq-toxpred-string-row {
  grid-template-columns: 4.2rem minmax(0, 1fr);
  width: 100%;
}

.chemrytiq-page .chemrytiq-toxpred-local-optimizer-results .chemrytiq-toxpred-string-row code,
.chemrytiq-page .chemrytiq-toxpred-bioisostere-expansion-results .chemrytiq-toxpred-string-row code {
  max-height: none;
  white-space: normal;
}

@media (max-width: 1180px) {
  .chemrytiq-page .chemrytiq-toxpred-local-optimizer-results article,
  .chemrytiq-page .chemrytiq-toxpred-bioisostere-expansion-results article {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "score"
      "metrics"
      "smiles"
      "selfies"
      "note"
      "action";
  }

  .chemrytiq-page .chemrytiq-toxpred-safe-row-score,
  .chemrytiq-page .chemrytiq-toxpred-safe-row-action {
    justify-self: start;
  }
}

.chemrytiq-page .chemrytiq-toxpred-uncertainty {
  display: grid;
  gap: 8px;
}

.chemrytiq-page .chemrytiq-toxpred-uncertainty > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #eef2f7;
  padding-bottom: 7px;
}

.chemrytiq-page .chemrytiq-toxpred-uncertainty span {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}

.chemrytiq-page .chemrytiq-toxpred-uncertainty b {
  color: #111;
  font-size: 13px;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-toxpred-species-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.chemrytiq-page .chemrytiq-toxpred-species-head h4 {
  margin-bottom: 0;
}

.chemrytiq-page .chemrytiq-toxpred-species-head label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #607288;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-toxpred-species {
  display: grid;
  gap: 10px;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #f9fbfd;
  padding: 12px;
}

.chemrytiq-page .chemrytiq-toxpred-species-score {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.chemrytiq-page .chemrytiq-toxpred-species-score span {
  color: #12304d;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}

.chemrytiq-page .chemrytiq-toxpred-species-score strong {
  color: #92400e;
  font-size: 15px;
  font-weight: 900;
}

.chemrytiq-page .chemrytiq-toxpred-species.tone-good .chemrytiq-toxpred-species-score strong {
  color: #065f46;
}

.chemrytiq-page .chemrytiq-toxpred-species.tone-risk .chemrytiq-toxpred-species-score strong {
  color: #991b1b;
}

.chemrytiq-page .chemrytiq-toxpred-species-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chemrytiq-page .chemrytiq-toxpred-species-flags span {
  border: 1px solid #dbe4ef;
  border-radius: 999px;
  background: #fff;
  color: #607288;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 8px;
}

.chemrytiq-page .chemrytiq-toxpred-species-flags span.is-on {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #0b6fbf;
}

.chemrytiq-page .chemrytiq-toxpred-species-body {
  display: grid;
  gap: 8px;
  border-top: 1px solid #eef2f7;
  padding-top: 8px;
}

.chemrytiq-page .chemrytiq-toxpred-species-body[hidden] {
  display: none;
}

.chemrytiq-page .chemrytiq-toxpred-species-body strong {
  color: #12304d;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-species-body ul {
  margin: 0;
  padding-left: 18px;
}

.chemrytiq-page .chemrytiq-toxpred-species-body li,
.chemrytiq-page .chemrytiq-toxpred-species-body p {
  color: #607288;
  font-size: 13px;
  line-height: 1.45;
}

.chemrytiq-page .chemrytiq-toxpred-species-body p {
  margin: 8px 0 0;
  color: #12304d;
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-toxpred-disclaimer {
  margin: 0;
  padding: 14px 22px;
  color: #607288;
  font-size: 12.5px;
  line-height: 1.5;
}

/* Match ChemrytIQ module typography instead of the heavier standalone ToxPred scale. */
.chemrytiq-page .chemrytiq-toxpred-workspace,
.chemrytiq-page .chemrytiq-toxpred,
.chemrytiq-page .chemrytiq-toxpred * {
  font-family: inherit !important;
}

.chemrytiq-page .chemrytiq-toxpred-workspace,
.chemrytiq-page .chemrytiq-toxpred {
  font-size: 0.92rem;
  line-height: 1.45;
}

.chemrytiq-page .chemrytiq-toxpred-header h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.chemrytiq-page .chemrytiq-toxpred-kicker,
.chemrytiq-page .chemrytiq-toxpred-block h4 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.chemrytiq-page .chemrytiq-toxpred-header p,
.chemrytiq-page .chemrytiq-toxpred-canvas-tools span,
.chemrytiq-page .chemrytiq-toxpred-context > div,
.chemrytiq-page .chemrytiq-toxpred-context span,
.chemrytiq-page .chemrytiq-toxpred-factors,
.chemrytiq-page .chemrytiq-toxpred-factors li,
.chemrytiq-page .chemrytiq-toxpred-property-space-copy p,
.chemrytiq-page .chemrytiq-toxpred-som-list p,
.chemrytiq-page .chemrytiq-toxpred-som-list span,
.chemrytiq-page .chemrytiq-toxpred-som-empty,
.chemrytiq-page .chemrytiq-toxpred-som-highlight-note,
.chemrytiq-page .chemrytiq-toxpred-som-legend,
.chemrytiq-page .chemrytiq-toxpred-suggestions p,
.chemrytiq-page .chemrytiq-toxpred-smart-swaps p,
.chemrytiq-page .chemrytiq-toxpred-smart-swaps em,
.chemrytiq-page .chemrytiq-toxpred-mmp p,
.chemrytiq-page .chemrytiq-toxpred-mmp small {
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.45;
}

.chemrytiq-page .chemrytiq-toxpred-endpoint-head span,
.chemrytiq-page .chemrytiq-toxpred-score small,
.chemrytiq-page .chemrytiq-toxpred-confidence,
.chemrytiq-page .chemrytiq-toxpred-confidence b,
.chemrytiq-page .chemrytiq-toxpred-bands span,
.chemrytiq-page .chemrytiq-toxpred-gates span,
.chemrytiq-page .chemrytiq-toxpred-metric-card span {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-score b,
.chemrytiq-page .chemrytiq-toxpred-bands b,
.chemrytiq-page .chemrytiq-toxpred-metric-card b {
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-toxpred-endpoint-head strong,
.chemrytiq-page .chemrytiq-toxpred-canvas-tools button,
.chemrytiq-page .chemrytiq-toxpred-som-list button,
.chemrytiq-page .chemrytiq-toxpred-swaps button,
.chemrytiq-page .chemrytiq-toxpred-swap-applied button,
.chemrytiq-page .chemrytiq-toxpred-smart-swaps button,
.chemrytiq-page .chemrytiq-toxpred-safe-space button {
  font-size: 0.82rem;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-toxpred-factors li span,
.chemrytiq-page .chemrytiq-toxpred-property-space-copy strong,
.chemrytiq-page .chemrytiq-toxpred-suggestions span,
.chemrytiq-page .chemrytiq-toxpred-smart-swaps small,
.chemrytiq-page .chemrytiq-toxpred-safe-space-results small,
.chemrytiq-page .chemrytiq-toxpred-disclaimer {
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.45;
}

.chemrytiq-page .chemrytiq-toxpred-property-space-copy span,
.chemrytiq-page .chemrytiq-toxpred-som-list strong {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
}

.chemrytiq-page .chemrytiq-toxpred-som-list b {
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

/* Typography audit: normalize every rendered ToxPred text surface to ChemrytIQ scale. */
.chemrytiq-page .chemrytiq-toxpred h3,
.chemrytiq-page .chemrytiq-toxpred h4,
.chemrytiq-page .chemrytiq-toxpred h5,
.chemrytiq-page .chemrytiq-toxpred p,
.chemrytiq-page .chemrytiq-toxpred span,
.chemrytiq-page .chemrytiq-toxpred strong,
.chemrytiq-page .chemrytiq-toxpred small,
.chemrytiq-page .chemrytiq-toxpred em,
.chemrytiq-page .chemrytiq-toxpred b,
.chemrytiq-page .chemrytiq-toxpred li,
.chemrytiq-page .chemrytiq-toxpred button,
.chemrytiq-page .chemrytiq-toxpred label,
.chemrytiq-page .chemrytiq-toxpred-empty,
.chemrytiq-page .chemrytiq-toxpred-empty * {
  font-family: inherit !important;
  letter-spacing: 0;
}

.chemrytiq-page .chemrytiq-toxpred p,
.chemrytiq-page .chemrytiq-toxpred span,
.chemrytiq-page .chemrytiq-toxpred em,
.chemrytiq-page .chemrytiq-toxpred li,
.chemrytiq-page .chemrytiq-toxpred small,
.chemrytiq-page .chemrytiq-toxpred-factors,
.chemrytiq-page .chemrytiq-toxpred-context,
.chemrytiq-page .chemrytiq-toxpred-context.is-empty,
.chemrytiq-page .chemrytiq-toxpred-xai-empty,
.chemrytiq-page .chemrytiq-toxpred-som-empty,
.chemrytiq-page .chemrytiq-toxpred-ph-empty,
.chemrytiq-page .chemrytiq-toxpred-disclaimer,
.chemrytiq-page .chemrytiq-toxpred-canvas-tools span,
.chemrytiq-page .chemrytiq-toxpred-som-structure > span,
.chemrytiq-page .chemrytiq-toxpred-property-space-copy p,
.chemrytiq-page .chemrytiq-toxpred-covalent > p,
.chemrytiq-page .chemrytiq-toxpred-covalent-motifs p,
.chemrytiq-page .chemrytiq-toxpred-covalent-motifs small,
.chemrytiq-page .chemrytiq-toxpred-quat-rule p,
.chemrytiq-page .chemrytiq-toxpred-peptide-mode p,
.chemrytiq-page .chemrytiq-toxpred-uncertainty p,
.chemrytiq-page .chemrytiq-toxpred-species-body p,
.chemrytiq-page .chemrytiq-toxpred-som-list p,
.chemrytiq-page .chemrytiq-toxpred-suggestions p,
.chemrytiq-page .chemrytiq-toxpred-smart-swaps p,
.chemrytiq-page .chemrytiq-toxpred-swaps p,
.chemrytiq-page .chemrytiq-toxpred-mmp p,
.chemrytiq-page .chemrytiq-toxpred-mmp small {
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.45;
}

.chemrytiq-page .chemrytiq-toxpred-header h3,
.chemrytiq-page .chemrytiq-toxpred-block h4,
.chemrytiq-page .chemrytiq-toxpred-ph-head h4,
.chemrytiq-page .chemrytiq-toxpred-species-head h4 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-toxpred-kicker,
.chemrytiq-page .chemrytiq-toxpred-overall span,
.chemrytiq-page .chemrytiq-toxpred-overall em,
.chemrytiq-page .chemrytiq-toxpred-endpoint-head span,
.chemrytiq-page .chemrytiq-toxpred-score small,
.chemrytiq-page .chemrytiq-toxpred-confidence,
.chemrytiq-page .chemrytiq-toxpred-decision-score span,
.chemrytiq-page .chemrytiq-toxpred-decision-score em,
.chemrytiq-page .chemrytiq-toxpred-gates span,
.chemrytiq-page .chemrytiq-toxpred-bands span,
.chemrytiq-page .chemrytiq-toxpred-metric-card span,
.chemrytiq-page .chemrytiq-toxpred-xai-row small,
.chemrytiq-page .chemrytiq-toxpred-xai-row span,
.chemrytiq-page .chemrytiq-toxpred-pack-head span,
.chemrytiq-page .chemrytiq-toxpred-pack-grid em,
.chemrytiq-page .chemrytiq-toxpred-property-space-copy span,
.chemrytiq-page .chemrytiq-toxpred-covalent-head span,
.chemrytiq-page .chemrytiq-toxpred-covalent-motifs span,
.chemrytiq-page .chemrytiq-toxpred-ph-head label,
.chemrytiq-page .chemrytiq-toxpred-ph-head label span,
.chemrytiq-page .chemrytiq-toxpred-ph-summary span,
.chemrytiq-page .chemrytiq-toxpred-quat-rule-head span,
.chemrytiq-page .chemrytiq-toxpred-quat-rule-grid span,
.chemrytiq-page .chemrytiq-toxpred-peptide-head span,
.chemrytiq-page .chemrytiq-toxpred-peptide-head em,
.chemrytiq-page .chemrytiq-toxpred-peptide-grid span,
.chemrytiq-page .chemrytiq-toxpred-uncertainty span,
.chemrytiq-page .chemrytiq-toxpred-species-head label,
.chemrytiq-page .chemrytiq-toxpred-species-score span,
.chemrytiq-page .chemrytiq-toxpred-species-flags span,
.chemrytiq-page .chemrytiq-toxpred-som-legend,
.chemrytiq-page .chemrytiq-toxpred-som-list span,
.chemrytiq-page .chemrytiq-toxpred-swaps span,
.chemrytiq-page .chemrytiq-toxpred-swap-applied span,
.chemrytiq-page .chemrytiq-toxpred-swap-compare-head span,
.chemrytiq-page .chemrytiq-toxpred-swap-compare-grid p span,
.chemrytiq-page .chemrytiq-toxpred-mmp-head span,
.chemrytiq-page .chemrytiq-toxpred-mmp-effects span,
.chemrytiq-page .chemrytiq-toxpred-radar-legend span,
.chemrytiq-page .chemrytiq-toxpred-radar-deltas span,
.chemrytiq-page .chemrytiq-toxpred-sa-badge,
.chemrytiq-page .chemrytiq-toxpred-sa-compare span,
.chemrytiq-page .chemrytiq-toxpred-suggestions span,
.chemrytiq-page .chemrytiq-toxpred-smart-swaps-head span,
.chemrytiq-page .chemrytiq-toxpred-smart-swaps-grid article span {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-overall strong,
.chemrytiq-page .chemrytiq-toxpred-decision-score strong,
.chemrytiq-page .chemrytiq-toxpred-score b,
.chemrytiq-page .chemrytiq-toxpred-bands b,
.chemrytiq-page .chemrytiq-toxpred-metric-card b,
.chemrytiq-page .chemrytiq-toxpred-xai-row b,
.chemrytiq-page .chemrytiq-toxpred-pack-head strong,
.chemrytiq-page .chemrytiq-toxpred-pack-grid b,
.chemrytiq-page .chemrytiq-toxpred-property-space-copy strong,
.chemrytiq-page .chemrytiq-toxpred-covalent-head strong,
.chemrytiq-page .chemrytiq-toxpred-covalent-motifs strong,
.chemrytiq-page .chemrytiq-toxpred-ph-copy strong,
.chemrytiq-page .chemrytiq-toxpred-quat-rule-head strong,
.chemrytiq-page .chemrytiq-toxpred-peptide-head strong,
.chemrytiq-page .chemrytiq-toxpred-species-score strong,
.chemrytiq-page .chemrytiq-toxpred-som-list strong,
.chemrytiq-page .chemrytiq-toxpred-swaps strong,
.chemrytiq-page .chemrytiq-toxpred-swap-applied strong,
.chemrytiq-page .chemrytiq-toxpred-suggestions strong,
.chemrytiq-page .chemrytiq-toxpred-smart-swaps-head strong,
.chemrytiq-page .chemrytiq-toxpred-smart-swaps-grid article strong,
.chemrytiq-page .chemrytiq-toxpred-mmp-head strong {
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-toxpred-endpoint-head strong,
.chemrytiq-page .chemrytiq-toxpred-property-space-copy b,
.chemrytiq-page .chemrytiq-toxpred-covalent-head b,
.chemrytiq-page .chemrytiq-toxpred-covalent-motifs em,
.chemrytiq-page .chemrytiq-toxpred-ph-summary b,
.chemrytiq-page .chemrytiq-toxpred-quat-rule-grid b,
.chemrytiq-page .chemrytiq-toxpred-quat-rule-head b,
.chemrytiq-page .chemrytiq-toxpred-peptide-grid b,
.chemrytiq-page .chemrytiq-toxpred-peptide-head b,
.chemrytiq-page .chemrytiq-toxpred-uncertainty b,
.chemrytiq-page .chemrytiq-toxpred-species-body strong,
.chemrytiq-page .chemrytiq-toxpred-som-list b,
.chemrytiq-page .chemrytiq-toxpred-mmp-head b,
.chemrytiq-page .chemrytiq-toxpred-radar-deltas b,
.chemrytiq-page .chemrytiq-toxpred-sa-badge b,
.chemrytiq-page .chemrytiq-toxpred-sa-compare strong,
.chemrytiq-page .chemrytiq-toxpred-sa-compare b,
.chemrytiq-page .chemrytiq-toxpred-swap-compare-head strong,
.chemrytiq-page .chemrytiq-toxpred-swap-compare-grid article > div span,
.chemrytiq-page .chemrytiq-toxpred-swap-compare-grid article > div b,
.chemrytiq-page .chemrytiq-toxpred-swap-compare-grid p strong {
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-species-panel-head strong {
  font-size: 0.9rem;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-toxpred button,
.chemrytiq-page .chemrytiq-toxpred-empty button {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-head button,
.chemrytiq-page .chemrytiq-toxpred-safe-space-results button,
.chemrytiq-page .chemrytiq-toxpred-local-optimizer-controls select {
  box-sizing: border-box;
  width: auto;
  height: 23px;
  min-height: 23px;
  border: 1px solid #0b70c9;
  border-radius: 6px;
  background: #ffffff;
  color: #005baa;
  font-family: inherit !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 21px;
  letter-spacing: 0;
  padding: 0 10px;
  text-transform: none;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-local-optimizer-controls select {
  height: 23px;
  min-width: 16rem;
  max-width: min(20rem, 100%);
  cursor: pointer;
  appearance: auto;
  line-height: normal;
  padding: 0 28px 0 10px;
}

.chemrytiq-page .chemrytiq-toxpred-local-optimizer-results .chemrytiq-toxpred-safe-row-title strong,
.chemrytiq-page .chemrytiq-toxpred-bioisostere-expansion-results .chemrytiq-toxpred-safe-row-title strong {
  font-family: inherit !important;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

.chemrytiq-page .chemrytiq-toxpred-local-optimizer-results .chemrytiq-toxpred-safe-row-title span,
.chemrytiq-page .chemrytiq-toxpred-bioisostere-expansion-results .chemrytiq-toxpred-safe-row-title span,
.chemrytiq-page .chemrytiq-toxpred-local-optimizer-results .chemrytiq-toxpred-safe-row-score span,
.chemrytiq-page .chemrytiq-toxpred-bioisostere-expansion-results .chemrytiq-toxpred-safe-row-score span,
.chemrytiq-page .chemrytiq-toxpred-local-optimizer-results .chemrytiq-toxpred-string-row span,
.chemrytiq-page .chemrytiq-toxpred-bioisostere-expansion-results .chemrytiq-toxpred-string-row span {
  font-family: inherit !important;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

.chemrytiq-page .chemrytiq-toxpred-local-optimizer-results .chemrytiq-toxpred-local-optimizer-metrics span,
.chemrytiq-page .chemrytiq-toxpred-bioisostere-expansion-results .chemrytiq-toxpred-local-optimizer-metrics span {
  font-family: inherit !important;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

.chemrytiq-page .chemrytiq-toxpred-local-optimizer-results .chemrytiq-toxpred-string-row code,
.chemrytiq-page .chemrytiq-toxpred-bioisostere-expansion-results .chemrytiq-toxpred-string-row code {
  font-family: inherit !important;
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
}

.chemrytiq-page .chemrytiq-toxpred-local-optimizer-summary span,
.chemrytiq-page .chemrytiq-toxpred-local-optimizer-summary em,
.chemrytiq-page .chemrytiq-toxpred-safe-row-note {
  font-family: inherit !important;
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
}

.chemrytiq-page .chemrytiq-toxpred-local-optimizer-summary strong,
.chemrytiq-page .chemrytiq-toxpred-safe-row-score strong {
  font-family: inherit !important;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-bricks button,
.chemrytiq-page .chemrytiq-toxpred-selfies-controls button,
.chemrytiq-page .chemrytiq-toxpred-selfies-controls select,
.chemrytiq-page .chemrytiq-toxpred-selfies-preview button,
.chemrytiq-page .chemrytiq-toxpred-selfies-morph-head button,
.chemrytiq-page .chemrytiq-toxpred-selfies-morph-inputs select,
.chemrytiq-page .chemrytiq-toxpred-selfies-morph-results button {
  box-sizing: border-box;
  height: 23px;
  min-height: 23px;
  border-radius: 6px;
  font-family: inherit !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 21px;
  letter-spacing: 0;
  padding: 0 10px;
  text-transform: none;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-bricks button {
  display: inline-flex;
  align-items: center;
  max-width: 7rem;
  line-height: 21px;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-controls select,
.chemrytiq-page .chemrytiq-toxpred-selfies-morph-inputs select {
  cursor: pointer;
  line-height: normal;
  padding: 0 28px 0 10px;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-editor textarea,
.chemrytiq-page .chemrytiq-toxpred-selfies-preview-meta code,
.chemrytiq-page .chemrytiq-toxpred-selfies-morph-inputs code,
.chemrytiq-page .chemrytiq-toxpred-selfies-morph-inputs textarea,
.chemrytiq-page .chemrytiq-toxpred-selfies-morph-results code {
  font-family: inherit !important;
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-sandbox-head span,
.chemrytiq-page .chemrytiq-toxpred-selfies-editor small,
.chemrytiq-page .chemrytiq-toxpred-selfies-preview-meta span,
.chemrytiq-page .chemrytiq-toxpred-selfies-morph-head span,
.chemrytiq-page .chemrytiq-toxpred-selfies-morph-rank span,
.chemrytiq-page .chemrytiq-toxpred-selfies-morph-slider span,
.chemrytiq-page .chemrytiq-toxpred-selfies-morph-inputs span,
.chemrytiq-page .chemrytiq-toxpred-selfies-morph-results .chemrytiq-toxpred-string-row span {
  font-family: inherit !important;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-results .chemrytiq-toxpred-string-row {
  grid-template-columns: 4.2rem minmax(0, 1fr);
  width: 100%;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-results .chemrytiq-toxpred-string-row code {
  max-height: none;
  font-family: inherit !important;
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  white-space: normal;
}

.chemrytiq-page .chemrytiq-toxpred-selfies-morph-results .chemrytiq-toxpred-selfies-morph-metrics span,
.chemrytiq-page .chemrytiq-toxpred-selfies-morph-results .chemrytiq-toxpred-selfies-morph-metrics b {
  font-family: inherit !important;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

@media (max-width: 1180px) {
  .chemrytiq-page .chemrytiq-toxpred-selfies-morph-results article {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "action"
      "metrics"
      "smiles"
      "selfies";
  }

  .chemrytiq-page .chemrytiq-toxpred-morph-row-action {
    justify-self: start;
  }
}

.chemrytiq-page .chemrytiq-toxpred-plot-pfizer,
.chemrytiq-page .chemrytiq-toxpred-plot-mw,
.chemrytiq-page .chemrytiq-toxpred-plot-axis,
.chemrytiq-page .chemrytiq-toxpred-ph-plot text,
.chemrytiq-page .chemrytiq-toxpred-som-structure::after,
.chemrytiq-page .chemrytiq-toxpred-som-highlight-note,
.chemrytiq-page .chemrytiq-toxpred-som-marker {
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-toxpred-gnn {
  border-color: #dbeafe;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.chemrytiq-page .chemrytiq-toxpred-gnn-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-head h4 {
  margin: 0;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-head span {
  display: block;
  margin-top: 0.25rem;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-head b {
  flex: 0 0 auto;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 0.38rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-toxpred-gnn.is-loading .chemrytiq-toxpred-gnn-head b {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-progress {
  position: relative;
  overflow: hidden;
  height: 0.42rem;
  margin: -0.25rem 0 0.75rem;
  border-radius: 999px;
  background: #e2e8f0;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-progress[hidden] {
  display: none;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0b6fbf, #22c55e);
  animation: chemrytiq-toxpred-gnn-progress 1.05s ease-in-out infinite;
}

@keyframes chemrytiq-toxpred-gnn-progress {
  0% {
    transform: translateX(-105%);
  }
  55% {
    transform: translateX(95%);
  }
  100% {
    transform: translateX(265%);
  }
}

.chemrytiq-page .chemrytiq-toxpred-gnn-loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
  color: #334155;
  padding: 0.85rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-loading > i {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  border: 3px solid #bfdbfe;
  border-top-color: #0b6fbf;
  border-radius: 999px;
  animation: chemrytiq-toxpred-spin 0.8s linear infinite;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-loading strong,
.chemrytiq-page .chemrytiq-toxpred-gnn-loading span {
  display: block;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-loading strong {
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 950;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-loading span {
  margin-top: 0.15rem;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 750;
}

@keyframes chemrytiq-toxpred-spin {
  to {
    transform: rotate(360deg);
  }
}

.chemrytiq-page .chemrytiq-toxpred-gnn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.7rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-panels {
  display: grid;
  gap: 0.85rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-panel {
  display: grid;
  gap: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.85rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-panel-head div {
  min-width: 0;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-panel-head span {
  display: block;
  color: #1d4ed8;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-panel-head strong {
  display: block;
  margin-top: 0.1rem;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-panel-head p {
  margin: 0.2rem 0 0;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-panel-head > b {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #eef2f7;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  padding: 0.38rem 0.55rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.75rem;
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-card > div:first-child {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-card span {
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-card strong,
.chemrytiq-page .chemrytiq-toxpred-gnn-card small {
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-card > b {
  color: #0f172a;
  font-size: 1.2rem;
  font-weight: 950;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-card.tone-risk {
  border-color: #fecaca;
  background: #fff7f7;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-card.tone-watch {
  border-color: #fde68a;
  background: #fffbeb;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-card.tone-good {
  border-color: #bbf7d0;
  background: #f7fef9;
}

/* ChemrytIQ compact mode: keep ToxPred single-page, reduce oversized card/grid feel. */
.chemrytiq-page .chemrytiq-toxpred {
  border: 1px solid var(--chemrytiq-border, #d7e3ef);
  border-radius: var(--chemrytiq-radius-md, 1rem);
  box-shadow: none;
  overflow: hidden;
}

.chemrytiq-page .chemrytiq-toxpred-header {
  margin: 0;
  border: 0;
  border-bottom: 1px solid #eef2f7;
  border-radius: 0;
  padding: 0.75rem 0.9rem;
}

.chemrytiq-page .chemrytiq-toxpred-overall {
  min-width: 11.5rem;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
}

.chemrytiq-page .chemrytiq-toxpred-endpoint,
.chemrytiq-page .chemrytiq-toxpred-block {
  padding: 0.72rem 0.9rem;
}

.chemrytiq-page .chemrytiq-toxpred-block h4 {
  margin-bottom: 0.45rem;
  font-size: 0.76rem;
}

.chemrytiq-page .chemrytiq-toxpred-decision {
  grid-template-columns: minmax(150px, 0.3fr) minmax(0, 0.7fr);
  gap: 0.65rem;
}

.chemrytiq-page .chemrytiq-toxpred-decision-score {
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
}

.chemrytiq-page .chemrytiq-toxpred-gates {
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
}

.chemrytiq-page .chemrytiq-toxpred-gates > div {
  padding: 0.28rem 0;
}

.chemrytiq-page .chemrytiq-toxpred-bands {
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 0.55rem;
}

.chemrytiq-page .chemrytiq-toxpred-bands > div {
  gap: 0.28rem;
}

.chemrytiq-page .chemrytiq-toxpred-bands b {
  font-size: 0.9rem;
}

.chemrytiq-page .chemrytiq-toxpred-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.chemrytiq-page .chemrytiq-toxpred-grid .chemrytiq-toxpred-endpoint {
  display: grid;
  gap: 0.38rem;
}

.chemrytiq-page .chemrytiq-toxpred-endpoint-head {
  gap: 0.5rem;
}

.chemrytiq-page .chemrytiq-toxpred-endpoint-head strong {
  margin-top: 0.2rem;
  border-radius: 6px;
  padding: 0.3rem 0.45rem;
}

.chemrytiq-page .chemrytiq-toxpred-score b {
  font-size: 0.95rem;
}

.chemrytiq-page .chemrytiq-toxpred-confidence {
  margin-top: 0;
}

.chemrytiq-page .chemrytiq-toxpred-bar {
  height: 6px;
  margin: 0.3rem 0;
}

.chemrytiq-page .chemrytiq-toxpred-grid .chemrytiq-toxpred-factors {
  display: none;
}

.chemrytiq-page .chemrytiq-toxpred-metrics {
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.4rem;
}

.chemrytiq-page .chemrytiq-toxpred-metric-card {
  border-radius: 7px;
  gap: 0.22rem;
  min-width: 0;
  padding: 0.44rem 0.48rem;
}

.chemrytiq-page .chemrytiq-toxpred-metric-card b {
  font-size: 0.84rem;
}

.chemrytiq-page .chemrytiq-toxpred-metric-card span {
  font-size: 0.7rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn {
  background: #ffffff;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-head {
  margin-bottom: 0.55rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-panels {
  gap: 0.55rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-panel {
  gap: 0.5rem;
  padding: 0.62rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-panel-head {
  gap: 0.6rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-panel-head p {
  display: none;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.45rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-card {
  gap: 0.35rem;
  border-radius: 7px;
  padding: 0.52rem 0.58rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-card > div:first-child {
  gap: 0.45rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-card > b {
  font-size: 0.98rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-card .chemrytiq-toxpred-bar {
  margin: 0.15rem 0;
}

.chemrytiq-page .chemrytiq-toxpred-context > div {
  grid-template-columns: minmax(96px, 145px) minmax(0, 1fr);
  padding: 0.28rem 0;
}

.chemrytiq-page .chemrytiq-toxpred-species-band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  background: #f8fbff;
  padding: 0.75rem;
}

.chemrytiq-page .chemrytiq-toxpred-species-band-grid > .chemrytiq-toxpred-species-band {
  display: grid;
  gap: 0.32rem;
  border: 1px solid #d7e3ef;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
  padding: 0.62rem 0.7rem;
}

.chemrytiq-page .chemrytiq-toxpred-species-band-grid > .chemrytiq-toxpred-species-band > div {
  height: 6px;
  margin-top: 0.15rem;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  background: transparent;
  padding: 0;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band-grid > .chemrytiq-toxpred-admet-band > div:last-child {
  height: 6px;
  margin-top: 0;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band-grid .chemrytiq-toxpred-admet-band {
  grid-template-rows: minmax(18px, auto) 6px;
  gap: 7px;
  min-height: 56px;
  padding: 0.72rem 0.75rem;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band-grid .chemrytiq-toxpred-admet-band > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 18px;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band-grid .chemrytiq-toxpred-admet-band span,
.chemrytiq-page .chemrytiq-toxpred-admet-band-grid .chemrytiq-toxpred-admet-band b {
  display: block;
  line-height: 1.15;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band-grid .chemrytiq-toxpred-admet-band > div:last-child {
  align-self: end;
}

.chemrytiq-page .chemrytiq-toxpred-endpoint-matrix {
  display: grid;
  gap: 0.65rem;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-head h4 {
  margin: 0;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-head > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-head span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-head i,
.chemrytiq-page .chemrytiq-toxpred-matrix-score i {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #f59e0b;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-head i.tone-good,
.chemrytiq-page .chemrytiq-toxpred-matrix-row.tone-good .chemrytiq-toxpred-matrix-score i {
  background: #10b981;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-head i.tone-risk,
.chemrytiq-page .chemrytiq-toxpred-matrix-row.tone-risk .chemrytiq-toxpred-matrix-score i {
  background: #ef4444;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-col {
  display: grid;
  align-content: start;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-col > strong {
  display: block;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fbff;
  color: #12304d;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.2;
  padding: 0.55rem 0.65rem;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-col > p {
  margin: 0;
  color: #64748b;
  font-size: 0.82rem;
  padding: 0.6rem 0.65rem;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-row {
  min-width: 0;
  border-top: 1px solid #eef2f7;
  position: relative;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-row:first-of-type {
  border-top: 0;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-row summary {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) 3rem;
  gap: 0.5rem;
  align-items: center;
  min-width: 0;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  list-style: none;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-row summary::-webkit-details-marker {
  display: none;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-row summary:hover {
  background: #f8fbff;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-score {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-label {
  min-width: 0;
  overflow: hidden;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-confidence {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
  text-align: right;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-bar {
  grid-column: 1 / -1;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8f0fb;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #f59e0b;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-row.tone-good .chemrytiq-toxpred-matrix-bar i {
  background: #10b981;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-row.tone-risk .chemrytiq-toxpred-matrix-bar i {
  background: #ef4444;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-drivers {
  display: grid;
  gap: 0;
  border-top: 1px dashed #dbe4ef;
  background: #fbfdff;
  padding: 0.25rem 0.6rem 0.45rem 4.35rem;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-drivers p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  margin: 0;
  padding: 0.22rem 0;
  color: #445d73;
  font-size: 0.78rem;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-drivers b {
  color: #92400e;
  font-size: 0.76rem;
  font-weight: 850;
}

.chemrytiq-page .chemrytiq-toxpred-matrix-drivers .is-protective b {
  color: #065f46;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-heatmap {
  display: grid;
  gap: 0.55rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.9rem;
  border: 1px solid #dbe4ef;
  border-radius: 999px;
  background: #f8fbff;
  color: #445d73;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1;
  padding: 0 0.65rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-tabs button b {
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 900;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-tabs button.is-active {
  border-color: #7db6e8;
  background: #eff6ff;
  color: #0b6fbf;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-tabs button.has-positive:not(.is-active) {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.chemrytiq-page [data-toxpred-gnn-panel-view][hidden] {
  display: none;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-panel {
  border-color: #dbe4ef;
  padding: 0.6rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-panel-head {
  margin-bottom: 0.45rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-ad {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  border: 1px solid #dbe4ef;
  border-radius: 7px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.2;
  padding: 0.36rem 0.45rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-ad b {
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 950;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-ad.tone-good {
  border-color: #bbf7d0;
  background: #f7fef9;
  color: #065f46;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-ad.tone-watch {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-ad.tone-risk {
  border-color: #fecaca;
  background: #fff7f7;
  color: #991b1b;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-cell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 0.35rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 0.45rem;
  align-items: center;
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #cbd5e1;
  border-radius: 7px;
  background: #f8fafc;
  padding: 0.38rem 0.45rem;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-cell span {
  min-width: 0;
  overflow: hidden;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-cell b {
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 950;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-cell em {
  grid-column: 1 / -1;
  justify-self: start;
  border-radius: 999px;
  background: #e2e8f0;
  color: #64748b;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  padding: 0.2rem 0.36rem;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-confidence {
  grid-column: 1 / -1;
  justify-self: start;
  border: 1px solid #fde68a;
  border-radius: 999px;
  background: #fffbeb;
  color: #92400e;
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1;
  padding: 0.18rem 0.34rem;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-confidence.tone-low {
  border-color: #fecaca;
  background: #fee2e2;
  color: #991b1b;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-confidence.tone-caution {
  border-color: #fde68a;
  background: #fef3c7;
  color: #92400e;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-ontology {
  grid-column: 1 / -1;
  justify-self: start;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1;
  padding: 0.18rem 0.34rem;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-threshold {
  grid-column: 1 / -1;
  justify-self: start;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1;
  padding: 0.18rem 0.34rem;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-meaning {
  display: none;
  grid-column: 1 / -1;
  color: #475569;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-cell.is-positive .chemrytiq-toxpred-gnn-meaning {
  display: block;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-cell.tone-near {
  border-color: #e2e8f0;
  border-left-color: #94a3b8;
  background: #f8fafc;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-cell.tone-near b {
  color: #334155;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-cell.tone-watch {
  border-color: #fde68a;
  border-left-color: #f59e0b;
  background: #fffbeb;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-cell.tone-watch em {
  background: #fef3c7;
  color: #92400e;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-cell.tone-risk {
  border-color: #fecaca;
  border-left-color: #ef4444;
  background: #fff7f7;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-cell.tone-risk em {
  background: #fee2e2;
  color: #991b1b;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-cell.tone-good.is-positive {
  border-color: #bbf7d0;
  border-left-color: #10b981;
  background: #f7fef9;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-cell.tone-good.is-positive em {
  background: #d1fae5;
  color: #065f46;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-cell.is-clear em {
  display: none;
}

.chemrytiq-page .chemrytiq-toxpred-gnn-cell.is-clear {
  padding-top: 0.32rem;
  padding-bottom: 0.32rem;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band-grid .chemrytiq-toxpred-admet-band {
  display: grid;
  grid-template-rows: minmax(18px, auto) 6px;
  gap: 7px;
  min-height: 56px;
  padding: 0.72rem 0.75rem;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band-grid .chemrytiq-toxpred-admet-band > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 18px;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band-grid .chemrytiq-toxpred-admet-band span {
  display: block;
  min-width: 0;
  overflow: hidden;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band-grid .chemrytiq-toxpred-admet-band b {
  display: block;
  flex: 0 0 auto;
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1.15;
}

.chemrytiq-page .chemrytiq-toxpred-admet-band-grid .chemrytiq-toxpred-admet-band > div:last-child {
  align-self: end;
  height: 6px;
}

@media (max-width: 720px) {
  .chemrytiq-page .chemrytiq-toxpred-header,
  .chemrytiq-page .chemrytiq-toxpred-decision-dashboard,
  .chemrytiq-page .chemrytiq-toxpred-property-space,
  .chemrytiq-page .chemrytiq-toxpred-physchem-layout,
  .chemrytiq-page .chemrytiq-toxpred-ph-body,
  .chemrytiq-page .chemrytiq-toxpred-som,
  .chemrytiq-page .chemrytiq-toxpred-radar,
  .chemrytiq-page .chemrytiq-toxpred-sa-compare,
  .chemrytiq-page .chemrytiq-toxpred-gsh-reaction,
  .chemrytiq-page .chemrytiq-toxpred-species-panel-head,
  .chemrytiq-page .chemrytiq-toxpred-context > div,
  .chemrytiq-page .chemrytiq-toxpred-xai-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-toxpred-prerun-capabilities {
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-toxpred-species-compare-head {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .chemrytiq-page .chemrytiq-toxpred-species-compare-head h4 {
    white-space: normal;
  }

  .chemrytiq-page .chemrytiq-toxpred-species-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .chemrytiq-page .chemrytiq-toxpred-species-tabs button {
    padding: 0 8px;
  }

  .chemrytiq-page .chemrytiq-toxpred-metrics {
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-toxpred-admet-band-grid {
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-toxpred-ph-summary {
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-toxpred-physchem-head,
  .chemrytiq-page .chemrytiq-toxpred-physchem .chemrytiq-toxpred-property-space-copy {
    display: grid;
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-toxpred-physchem-legend,
  .chemrytiq-page .chemrytiq-toxpred-physchem-main,
  .chemrytiq-page .chemrytiq-toxpred-ph-compact .chemrytiq-toxpred-ph-copy {
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-toxpred-physchem-legend > div:first-of-type {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chemrytiq-page .chemrytiq-toxpred-physchem-logd {
    grid-template-columns: 1fr;
    border-left: 0;
    border-top: 1px solid #dbe7f2;
    padding-left: 0;
    padding-top: 8px;
  }

  .chemrytiq-page .chemrytiq-toxpred-physchem-head span,
  .chemrytiq-page .chemrytiq-toxpred-physchem .chemrytiq-toxpred-property-space-copy p {
    text-align: left;
  }

  .chemrytiq-page .chemrytiq-toxpred-ph-compact .chemrytiq-toxpred-ph-body {
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-toxpred-overall {
    min-width: 0;
  }

  .chemrytiq-page .chemrytiq-toxpred-grid .chemrytiq-toxpred-endpoint + .chemrytiq-toxpred-endpoint {
    border-left: 0;
    border-top: 1px solid #eef2f7;
  }

  .chemrytiq-page .chemrytiq-toxpred-gnn-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-toxpred-gnn-panel-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-toxpred-prerun {
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-toxpred-prerun-source {
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-toxpred-matrix-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-toxpred-matrix-grid {
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-toxpred-gnn-cell-grid {
    grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  }
}

/* Final ToxPred control contract: keep every local action matching the compact IQ button style. */
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-smart-swaps button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-safe-space-head button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-safe-space-results button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-local-optimizer-controls button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-local-optimizer-controls select,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-controls button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-controls select,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-preview button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-head button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-inputs select,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-results button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-morph-row-action {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  height: 21px !important;
  min-height: 21px !important;
  max-height: 21px !important;
  border: 1px solid #0b70c9 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  color: #005baa !important;
  cursor: pointer !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 19px !important;
  letter-spacing: 0 !important;
  padding: 0 10px !important;
  text-align: center !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-local-optimizer-controls select,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-controls select,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-inputs select {
  display: inline-block !important;
  line-height: normal !important;
  padding: 0 28px 0 10px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-smart-swaps button:hover,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-safe-space-head button:hover,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-safe-space-results button:hover,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-controls button:hover,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-preview button:hover,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-head button:hover,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-results button:hover {
  background: #eef6ff !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-heatmap {
  gap: 6px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-grid {
  grid-template-columns: repeat(auto-fill, minmax(3.4rem, 1fr)) !important;
  gap: 4px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-grid button {
  height: 21px !important;
  min-height: 21px !important;
  padding: 0 0.3rem !important;
  align-items: center !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-grid button span {
  font-family: inherit !important;
  font-size: 0.86rem !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-detail {
  min-height: 2.6rem !important;
  padding: 6px 8px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-heatmap,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-sandbox,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-heatmap *,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-sandbox * {
  font-family: inherit !important;
  letter-spacing: 0 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-detail strong {
  color: #12304d !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-detail span,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-detail p,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-editor small {
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-editor textarea,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-preview-meta code {
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-bricks button {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  max-width: 7rem !important;
  height: 21px !important;
  min-height: 21px !important;
  border: 1px solid #b8d3ee !important;
  border-radius: 999px !important;
  background: #eef6ff !important;
  color: #0f5f9f !important;
  font-family: inherit !important;
  font-size: 0.86rem !important;
  font-weight: 400 !important;
  line-height: 19px !important;
  padding: 0 10px !important;
  text-overflow: ellipsis !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-bricks button.is-active,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-bricks button:hover {
  border-color: #1976d2 !important;
  background: #dceeff !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-controls button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-controls select {
  font-size: 0.86rem !important;
  font-weight: 400 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-editor textarea {
  color: #12304d !important;
  font-size: 0.86rem !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-editor [data-toxpred-sandbox-status] {
  color: #607288 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-sandbox-head span {
  color: #607288 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-help {
  box-sizing: border-box !important;
  display: inline-grid !important;
  flex: 0 0 auto !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  place-items: center !important;
  border: 1px solid #b8d3ee !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #005baa !important;
  cursor: help !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  padding: 0 !important;
}

/* Typography role enforcement for ToxPred explanatory sections. */
.chemrytiq-page .chemrytiq-toxpred {
  font-family: inherit !important;
}

.chemrytiq-page .chemrytiq-toxpred button,
.chemrytiq-page .chemrytiq-toxpred input,
.chemrytiq-page .chemrytiq-toxpred select,
.chemrytiq-page .chemrytiq-toxpred textarea {
  font-family: inherit !important;
}

.chemrytiq-page .chemrytiq-toxpred .section-title,
.chemrytiq-page .chemrytiq-toxpred-selfies-heatmap .chemrytiq-toxpred-selfies-head h4,
.chemrytiq-page .chemrytiq-toxpred-selfies-sandbox .chemrytiq-toxpred-selfies-sandbox-head h4 {
  color: #0b6fbf !important;
  font-family: inherit !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.25 !important;
  text-transform: uppercase !important;
}

.chemrytiq-page .chemrytiq-toxpred .card-title,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-detail span,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-detail strong {
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

.chemrytiq-page .chemrytiq-toxpred .body-text,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-som-empty,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-detail p,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-editor textarea {
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

.chemrytiq-page .chemrytiq-toxpred .helper-text,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-head > span,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-sandbox-head > span,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-editor [data-toxpred-sandbox-status],
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-preview-meta span {
  color: #6b7280 !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

.chemrytiq-page .chemrytiq-toxpred .token-chip,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-grid button span,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-bricks button {
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 21px !important;
  text-transform: none !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-grid button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-bricks button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-controls button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-controls select {
  align-items: center !important;
  justify-content: center !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-bricks button {
  max-width: none !important;
  overflow: visible !important;
  padding: 0 10px !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-grid button span {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  max-width: 100% !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-controls button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-controls select {
  height: 21px !important;
  min-height: 21px !important;
  border-color: #b8d3ee !important;
  border-radius: 999px !important;
  background: #eef6ff !important;
  color: #0f5f9f !important;
  font-size: 0.86rem !important;
  font-weight: 400 !important;
  line-height: 19px !important;
  padding: 0 10px !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-controls button:hover,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-controls select:hover {
  border-color: #1976d2 !important;
  background: #dceeff !important;
}

/* SELFIES hotspot table in ToxPred: compact tabulated endpoint rhythm. */
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel {
  display: grid !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 8px 10px 12px !important;
  border: 1px solid #cfe0f3 !important;
  border-radius: 8px !important;
  background: #f7fbff !important;
  color: #12304d !important;
  font-family: inherit !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 8px 16px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-head h3 {
  margin: 0 !important;
  color: #062743 !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-head p {
  max-width: 1180px !important;
  margin: 2px 0 0 !important;
  color: #2e526f !important;
  font-family: inherit !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-head > span {
  color: #49657d !important;
  font-family: inherit !important;
  font-size: 11.5px !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-controls {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  min-height: 36px !important;
  border: 1px solid #cfe0f3 !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  padding: 6px 8px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-actions {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-controls label,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-actions label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 28px !important;
  color: #2b4964 !important;
  font-family: inherit !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-controls select,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-controls input,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-actions select {
  box-sizing: border-box !important;
  height: 28px !important;
  min-height: 28px !important;
  border: 1px solid #c7d9ed !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  color: #12304d !important;
  font-family: inherit !important;
  font-size: 11.5px !important;
  font-weight: 750 !important;
  line-height: 26px !important;
  padding: 0 9px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-controls input {
  width: 76px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-controls strong {
  color: #2e526f !important;
  font-family: inherit !important;
  font-size: 11.5px !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-actions button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table button {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 28px !important;
  min-height: 28px !important;
  border: 1px solid #b8d3ee !important;
  border-radius: 6px !important;
  background: #eef6ff !important;
  color: #005baa !important;
  cursor: pointer !important;
  font-family: inherit !important;
  font-size: 11.5px !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  line-height: 26px !important;
  padding: 0 9px !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-filters {
  display: inline-flex !important;
  gap: 4px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-actions button:hover,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table button:hover,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-filters button.is-active {
  border-color: #1976d2 !important;
  background: #dceeff !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-status {
  min-height: 28px !important;
  display: flex !important;
  align-items: center !important;
  border: 1px solid #d8e7f8 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  color: #49657d !important;
  font-family: inherit !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  padding: 0 9px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table {
  overflow: auto !important;
  border: 1px solid #d8e7f8 !important;
  border-radius: 7px !important;
  background: #ffffff !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table table {
  width: 100% !important;
  min-width: 1180px !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table th,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table td {
  border-bottom: 1px solid #e0ecf8 !important;
  color: #12304d !important;
  font-family: inherit !important;
  font-size: 11.5px !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
  padding: 7px 8px !important;
  text-align: left !important;
  vertical-align: top !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table th {
  background: #f5f9fe !important;
  color: #294760 !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table th:nth-child(1),
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table td:nth-child(1) {
  width: 165px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table th:nth-child(2),
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table td:nth-child(2),
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table th:nth-child(3),
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table td:nth-child(3) {
  width: 185px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table th:nth-child(4),
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table td:nth-child(4) {
  width: 210px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table th:nth-child(5),
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table td:nth-child(5) {
  width: 70px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table td:first-child strong,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table td:first-child span {
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table td:first-child strong {
  color: #062743 !important;
  font-size: 11.5px !important;
  font-weight: 850 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table td:first-child span {
  color: #2e526f !important;
  font-size: 11.5px !important;
  font-weight: 650 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table code {
  display: inline-block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  color: #064d85 !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-delta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 50px !important;
  min-height: 19px !important;
  border-radius: 999px !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 19px !important;
  padding: 0 7px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-empty {
  min-height: 58px !important;
  display: grid !important;
  place-items: center !important;
  color: #607288 !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  padding: 12px !important;
}

@media (max-width: 760px) {
  .chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-head {
    grid-template-columns: 1fr !important;
  }

  .chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-head > span {
    white-space: normal !important;
  }
}

/* Font audit: keep the ToxPred SELFIES table readable without the heavy all-bold look. */
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel p,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel span,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel td,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel code,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel label,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel input,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel select {
  font-weight: 400 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-head h3,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table th {
  font-weight: 600 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-controls strong,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-actions button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-table td:first-child strong {
  font-weight: 500 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-delta {
  gap: 4px !important;
  font-weight: 400 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-delta b {
  font-weight: 500 !important;
  line-height: 1 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-table-panel .chemrytiq-qsar-delta em {
  color: inherit !important;
  font-size: 10.5px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  opacity: 0.78 !important;
}

/* Match SELFIES hotspot styling to the Chemical Morphing Path panel. */
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspots {
  display: grid !important;
  gap: 12px !important;
  padding: 12px !important;
  background: #ffffff !important;
  border: 1px solid #cfe0f2 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-head h4 {
  margin: 0 0 2px !important;
  color: #005baa !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 1.25 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-head span,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-inputs span {
  color: #607288 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-note {
  margin: 0 !important;
  max-width: 78rem !important;
  color: #12304d !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-inputs {
  display: grid !important;
  grid-template-columns: minmax(13rem, 1fr) minmax(7rem, 0.35fr) minmax(18rem, 1.8fr) !important;
  gap: 10px !important;
  align-items: end !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-inputs label {
  display: grid !important;
  gap: 5px !important;
  min-width: 0 !important;
  color: #12304d !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-inputs select,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-inputs input,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-inputs code {
  min-height: 36px !important;
  width: 100% !important;
  border: 1px solid #d7e3ef !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #12304d !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  padding: 8px 9px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-inputs code {
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspots .chemrytiq-qsar-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: end !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspots .chemrytiq-qsar-actions label {
  display: grid !important;
  gap: 5px !important;
  color: #607288 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspots .chemrytiq-qsar-actions button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspots .chemrytiq-qsar-table button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspots .chemrytiq-qsar-actions select {
  min-height: 32px !important;
  border: 1px solid #b9d5f3 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #005baa !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  padding: 0 10px !important;
  box-shadow: none !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspots .chemrytiq-qsar-actions button:hover,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspots .chemrytiq-qsar-table button:hover,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspots .chemrytiq-qsar-filters button.is-active {
  border-color: #0b70c9 !important;
  background: #eef6ff !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspots .chemrytiq-qsar-status {
  margin: 0 !important;
  min-height: 36px !important;
  border: 1px solid #d7e3ef !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #496176 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  padding: 9px 10px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspots .chemrytiq-qsar-table {
  overflow: auto !important;
  border: 1px solid #d7e3ef !important;
  border-radius: 8px !important;
  background: #ffffff !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspots .chemrytiq-qsar-table th,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspots .chemrytiq-qsar-table td {
  border-bottom: 1px solid #e3edf7 !important;
  color: #12304d !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  padding: 8px 10px !important;
  vertical-align: top !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspots .chemrytiq-qsar-table th {
  background: #f7fbff !important;
  color: #496176 !important;
  font-weight: 600 !important;
  text-align: left !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspots .chemrytiq-qsar-empty {
  min-height: 76px !important;
  border: 0 !important;
  color: #607288 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

@media (max-width: 760px) {
  .chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-inputs {
    grid-template-columns: 1fr !important;
  }
}

/* Hotspot v2: rewritten as an isolated ToxPred panel to avoid inherited QSAR sizing. */
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 {
  --toxpred-hotspot-border: #cfe0f2;
  --toxpred-hotspot-soft: #f7fbff;
  --toxpred-hotspot-text: #12304d;
  --toxpred-hotspot-muted: #607288;
  display: grid !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 10px 12px 12px !important;
  border: 1px solid var(--toxpred-hotspot-border) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: var(--toxpred-hotspot-text) !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  box-shadow: none !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 *,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 *::before,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 *::after {
  box-sizing: border-box !important;
  letter-spacing: 0 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-toxpred-selfies-hotspot-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 h4 {
  margin: 0 0 2px !important;
  color: #005baa !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  text-transform: uppercase !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-toxpred-selfies-hotspot-head span,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 label > span {
  color: var(--toxpred-hotspot-muted) !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-toxpred-selfies-hotspot-note {
  max-width: 74rem !important;
  margin: 0 !important;
  color: var(--toxpred-hotspot-text) !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-toxpred-selfies-hotspot-inputs {
  display: grid !important;
  grid-template-columns: minmax(15rem, 0.8fr) minmax(6rem, 0.24fr) minmax(24rem, 1.6fr) !important;
  gap: 10px !important;
  align-items: end !important;
  margin: 0 !important;
  padding: 8px 10px !important;
  border: 1px solid var(--toxpred-hotspot-border) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-toxpred-selfies-hotspot-inputs {
  grid-template-columns: minmax(18rem, 0.9fr) minmax(9rem, 0.28fr) minmax(28rem, 1.7fr) !important;
  align-items: center !important;
  padding: 6px 10px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-toxpred-selfies-hotspot-inputs label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  font-weight: 400 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 select,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 input,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 code[data-qsar-count-note] {
  flex: 1 1 auto !important;
  width: auto !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  border: 1px solid #c7d9ed !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: var(--toxpred-hotspot-text) !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 32px !important;
  padding: 0 10px !important;
  box-shadow: none !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 input[data-qsar-count] {
  flex: 0 0 72px !important;
  width: 72px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 code[data-qsar-count-note] {
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-qsar-actions {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-qsar-actions label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 34px !important;
  margin: 0 !important;
  font-weight: 400 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-qsar-actions select {
  width: 128px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-qsar-table button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  margin: 0 !important;
  border: 1px solid #b8d3ee !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #005baa !important;
  cursor: pointer !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  padding: 0 12px !important;
  text-align: center !important;
  text-transform: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 button:hover,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-qsar-filters button.is-active {
  border-color: #0b70c9 !important;
  background: #eef6ff !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-qsar-status {
  display: flex !important;
  align-items: center !important;
  min-height: 34px !important;
  margin: 0 !important;
  border: 1px solid #d7e3ef !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #496176 !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  padding: 7px 10px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-qsar-table {
  overflow: auto !important;
  max-height: 420px !important;
  border: 1px solid #d7e3ef !important;
  border-radius: 8px !important;
  background: #ffffff !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-toxpred-hotspot-table {
  width: max-content !important;
  min-width: 1500px !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-toxpred-hotspot-ga {
  display: grid !important;
  gap: 0 !important;
  min-width: 1320px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-toxpred-hotspot-ga-summary {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  height: 36px !important;
  border-bottom: 1px solid #e3edf7 !important;
  background: #f7fbff !important;
  color: #496176 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  padding: 0 10px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-toxpred-hotspot-ga-summary span {
  color: #607288 !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-toxpred-hotspot-ga-summary strong {
  color: #12304d !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-toxpred-hotspot-ga-summary em {
  color: #496176 !important;
  font-size: 11px !important;
  font-style: normal !important;
  font-weight: 400 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-toxpred-hotspot-ga-table {
  width: max-content !important;
  min-width: 1320px !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .ga-rank { width: 54px !important; }
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .ga-title { width: 210px !important; }
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .ga-score { width: 96px !important; }
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .ga-metrics { width: 330px !important; }
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .ga-smiles { width: 290px !important; }
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .ga-selfies { width: 340px !important; }

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-toxpred-hotspot-ga-table td:nth-child(2) strong,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-toxpred-hotspot-ga-table td:nth-child(2) span {
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-toxpred-hotspot-ga-table td:nth-child(2) strong {
  font-weight: 600 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-toxpred-hotspot-ga-table td:nth-child(2) span {
  color: #607288 !important;
  font-size: 11px !important;
  font-weight: 400 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-toxpred-hotspot-ga-table td:nth-child(4) {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .hotspot-edit { width: 190px !important; }
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .hotspot-smiles { width: 205px !important; }
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .hotspot-selfies { width: 205px !important; }
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .hotspot-atoms { width: 230px !important; }
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .hotspot-map { width: 78px !important; }
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .hotspot-endpoint { width: 86px !important; }

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 th,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 td {
  height: 42px !important;
  border-bottom: 1px solid #e3edf7 !important;
  color: var(--toxpred-hotspot-text) !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  padding: 6px 10px !important;
  text-align: left !important;
  vertical-align: middle !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 th {
  position: sticky !important;
  top: 0 !important;
  z-index: 1 !important;
  height: 36px !important;
  background: var(--toxpred-hotspot-soft) !important;
  color: #496176 !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 td:first-child strong,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 td:first-child span {
  display: block !important;
  overflow: hidden !important;
  max-width: 168px !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 td:first-child strong {
  font-size: 12px !important;
  font-weight: 600 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 td:first-child span {
  color: #2e526f !important;
  font-size: 11.5px !important;
  font-weight: 400 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 td:nth-child(4) {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-qsar-table code {
  display: inline-block !important;
  overflow: hidden !important;
  max-width: 100% !important;
  border-radius: 5px !important;
  color: #064d85 !important;
  font-family: inherit !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-qsar-delta {
  display: inline-grid !important;
  grid-template-rows: 1fr 1fr !important;
  align-items: center !important;
  justify-items: center !important;
  width: 62px !important;
  min-width: 62px !important;
  height: 28px !important;
  min-height: 28px !important;
  border-radius: 999px !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  padding: 3px 6px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-qsar-delta b,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-qsar-delta em {
  display: block !important;
  font-family: inherit !important;
  font-size: 10.5px !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-qsar-delta em {
  font-weight: 400 !important;
  opacity: 0.72 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-qsar-empty {
  display: grid !important;
  min-height: 76px !important;
  place-items: center !important;
  color: var(--toxpred-hotspot-muted) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

@media (max-width: 860px) {
  .chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-v2 .chemrytiq-toxpred-selfies-hotspot-inputs {
    grid-template-columns: 1fr !important;
  }
}

/* Rebuilt ToxPred SELFIES hotspot panel: page-native block rhythm, compact controls and tables. */
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel {
  display: grid;
  gap: 10px;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel > .body-text {
  max-width: 72rem;
  margin: -2px 0 2px;
  color: #12304d;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-caveat {
  border: 1px solid #d8e7f8;
  border-left: 3px solid #f0b429;
  border-radius: 8px;
  background: #fffdf6;
  padding: 8px 10px;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-caveat strong {
  display: block;
  margin: 0 0 4px;
  color: #12304d;
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-caveat p {
  margin: 0;
  max-width: 82rem;
  color: #496176;
  font-size: 8.8px;
  font-weight: 400;
  line-height: 1.45;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-caveat p + p {
  margin-top: 3px;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-controls,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-controls {
  border: 1px solid #d8e7f8;
  border-radius: 8px;
  background: #ffffff;
  padding: 8px 10px;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-actions {
  padding-top: 2px;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel .chemrytiq-toxpred-field {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin: 0;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel .chemrytiq-toxpred-field > .helper-text {
  flex: 0 0 auto;
  color: #607288;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel select,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel input {
  height: 30px !important;
  min-height: 30px !important;
  border: 1px solid #c7d9ed !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #12304d !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 28px !important;
  padding: 0 9px !important;
  box-shadow: none !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel [data-qsar-coverage] {
  width: 260px;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel [data-qsar-count] {
  width: 72px;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel [data-qsar-endpoint] {
  width: 128px;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-plan {
  flex: 1 1 22rem;
  min-width: 16rem;
  margin: 0;
  color: #496176;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 30px !important;
  min-height: 30px !important;
  border: 1px solid #b8d3ee !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #005baa !important;
  cursor: pointer !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  padding: 0 11px !important;
  text-transform: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel button:hover,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-filters button.is-active {
  border-color: #0b70c9 !important;
  background: #eef6ff !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-filters {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-status {
  min-height: 32px;
  display: flex;
  align-items: center;
  border: 1px solid #d8e7f8;
  border-radius: 8px;
  background: #ffffff;
  color: #496176;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  padding: 6px 10px;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-results {
  overflow: auto;
  max-height: 360px;
  border: 1px solid #d8e7f8;
  border-radius: 8px;
  background: #ffffff;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table {
  width: max-content;
  min-width: 1280px;
  border-collapse: collapse;
  table-layout: fixed;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table th,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table td,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table th,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table td {
  height: 38px;
  border-bottom: 1px solid #e0ecf8;
  color: #12304d;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.25;
  padding: 6px 9px;
  text-align: left;
  vertical-align: middle;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table th,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 32px;
  background: #f5f9fe;
  color: #294760;
  font-weight: 600;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table .hotspot-edit { width: 180px; }
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table .hotspot-smiles { width: 210px; }
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table .hotspot-selfies { width: 330px; }
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table .hotspot-atoms { width: 190px; }
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table .hotspot-map { width: 70px; }
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table .hotspot-endpoint { width: 76px; }

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table .ga-rank { width: 50px; }
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table .ga-title { width: 200px; }
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table .ga-score { width: 90px; }
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table .ga-metrics { width: 310px; }
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table .ga-smiles { width: 280px; }
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table .ga-selfies { width: 350px; }

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table code,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table code {
  display: inline-block;
  overflow: hidden;
  max-width: 100%;
  color: #064d85;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table td:first-child strong,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table td:first-child span,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table td:nth-child(2) strong,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table td:nth-child(2) span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table td:nth-child(4),
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table td:nth-child(4) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-delta {
  display: inline-grid;
  place-items: center;
  min-width: 52px;
  min-height: 22px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  padding: 3px 7px;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-delta b,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-delta em {
  display: block;
  font-size: 10.5px;
  font-style: normal;
  font-weight: 500;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-delta em {
  font-weight: 400;
  opacity: 0.75;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-delta.tone-beneficial {
  background: #e4f6eb;
  color: #12683c;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-delta.tone-harmful {
  background: #fee8e6;
  color: #a52822;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-delta.tone-neutral {
  background: #edf3fa;
  color: #49657d;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-empty {
  min-height: 72px;
  display: grid;
  place-items: center;
  color: #607288;
  font-size: 13px;
  font-weight: 400;
  padding: 14px;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-ga {
  min-width: 1280px;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-ga-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 32px;
  border-bottom: 1px solid #e0ecf8;
  background: #f5f9fe;
  color: #496176;
  font-size: 12px;
  padding: 6px 9px;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-ga-summary span {
  color: #607288;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-ga-summary strong {
  color: #12304d;
  font-size: 12px;
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-ga-summary em {
  color: #496176;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
}

@media (max-width: 760px) {
  .chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel [data-qsar-coverage],
  .chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel [data-qsar-endpoint],
  .chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-plan {
    width: 100%;
    flex-basis: 100%;
  }
}

/* SELFIES hotspot panel follows the existing compact ToxPred control contract. */
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel {
  gap: 8px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel > h4 {
  margin-bottom: 6px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel > .body-text {
  max-width: 62rem !important;
  margin: 0 0 8px !important;
  color: #12304d !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.38 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-controls {
  gap: 6px 10px !important;
  padding: 6px 8px !important;
  border-radius: 8px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-actions {
  gap: 6px !important;
  padding-top: 0 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel .chemrytiq-toxpred-field {
  gap: 6px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel .chemrytiq-toxpred-field > .helper-text {
  color: #607288 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel select,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel input,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table button {
  box-sizing: border-box !important;
  height: 21px !important;
  min-height: 21px !important;
  max-height: 21px !important;
  border: 1px solid #0b70c9 !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  color: #005baa !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 19px !important;
  letter-spacing: 0 !important;
  padding: 0 8px !important;
  text-transform: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel select,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel input {
  color: #12304d !important;
  font-weight: 400 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel [data-qsar-coverage] {
  width: 245px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel [data-qsar-count] {
  width: 58px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel [data-qsar-endpoint] {
  width: 112px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-plan {
  flex: 1 1 20rem !important;
  min-width: 14rem !important;
  color: #496176 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-status {
  min-height: 28px !important;
  border-radius: 8px !important;
  color: #496176 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  padding: 5px 9px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-results {
  max-height: 300px !important;
  border-radius: 8px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-empty {
  min-height: 54px !important;
  color: #607288 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  padding: 10px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table th,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table td,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table th,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table td {
  height: 30px !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.22 !important;
  padding: 5px 8px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table th,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table th {
  height: 28px !important;
  font-weight: 600 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-delta {
  display: inline-flex !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #294760 !important;
  font-size: 0.86rem !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  padding: 0 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-delta.tone-beneficial,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-delta.tone-harmful,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-delta.tone-neutral {
  background: transparent !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-delta.tone-beneficial em {
  color: #12683c !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-delta.tone-harmful em {
  color: #a52822 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-delta.tone-neutral em {
  color: #607288 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-delta b,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-delta em {
  display: inline !important;
  font-size: 0.86rem !important;
  line-height: 1.2 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-delta b {
  color: #294760 !important;
  font-weight: 500 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-delta em {
  font-style: normal !important;
  font-weight: 400 !important;
  opacity: 0.85 !important;
}

/* Copy Bioisostere Swap typography/control feel for SELFIES Token Hotspots. */
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel {
  gap: 10px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel > .body-text,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-plan,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-status {
  color: #607288 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel > .body-text {
  max-width: 62rem !important;
  margin: 0 0 6px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-controls {
  gap: 7px 10px !important;
  border: 1px solid #eef2f7 !important;
  border-radius: 8px !important;
  background: #f9fbfd !important;
  padding: 10px 12px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-actions {
  gap: 8px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel .chemrytiq-toxpred-field > .helper-text {
  color: #6b7280 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table button {
  justify-self: start !important;
  height: auto !important;
  min-height: 2rem !important;
  max-height: none !important;
  border: 1px solid #b8d3ee !important;
  border-radius: 7px !important;
  background: #eef6ff !important;
  color: #0f5f9f !important;
  cursor: pointer !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  padding: 0 10px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel button:hover,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-filters button.is-active {
  border-color: #7db6e8 !important;
  background: #dceeff !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel .chemrytiq-toxpred-hotspot-stop {
  border-color: #ef4444 !important;
  background: #fff5f5 !important;
  color: #b91c1c !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel .chemrytiq-toxpred-hotspot-stop[hidden] {
  display: none !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel select,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel input {
  min-height: 2rem !important;
  height: 2rem !important;
  max-height: none !important;
  border: 1px solid #b8d3ee !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #12304d !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: normal !important;
  padding: 0 10px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-status,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-results {
  border: 1px solid #eef2f7 !important;
  border-radius: 8px !important;
  background: #f9fbfd !important;
}

/* Match Bioisostere Swap computed rem scale, not raw px. */
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel > .body-text,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-plan,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-status,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-empty {
  font-size: 0.88rem !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel .chemrytiq-toxpred-field > .helper-text {
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table button {
  min-height: 2rem !important;
  height: auto !important;
  color: #0f5f9f !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel select,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel input {
  height: 2rem !important;
  min-height: 2rem !important;
  color: #12304d !important;
  font-size: 0.82rem !important;
  font-weight: 400 !important;
  line-height: normal !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table th,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table th {
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table td,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table td,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table code,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table code {
  font-size: 0.86rem !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table td:first-child strong,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table td:nth-child(2) strong {
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-copy-cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  gap: 4px;
  align-items: center;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-copy-cell button {
  position: relative !important;
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  border-radius: 5px !important;
  font-size: 0 !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  padding: 0 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-copy-cell button::before {
  content: "⧉";
  display: block;
  color: #005baa;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-atoms {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 5px;
  max-width: 100%;
  color: #294760;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-atoms span {
  display: inline-block;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table tr.is-selected,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table tr.is-selected td {
  background: #eef6ff !important;
  box-shadow: inset 0 1px 0 #7db6e8, inset 0 -1px 0 #7db6e8;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  border: 1px solid #d8e7f8;
  border-radius: 8px;
  background: #ffffff;
  padding: 8px;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-map[hidden] {
  display: none !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-map-structure,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-map-info {
  min-height: 240px;
  border: 1px solid #d8e7f8;
  border-radius: 7px;
  background: #fbfdff;
  padding: 8px;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-map-structure {
  display: grid;
  place-items: center;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-map-structure svg {
  width: 100%;
  max-width: 520px;
  height: auto;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-map-info {
  display: grid;
  align-content: start;
  gap: 5px;
  color: #12304d;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-map-info strong {
  color: #111;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-map-info span {
  color: #6b7280;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-map-info p {
  margin: 0;
  color: #12304d;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.45;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-map-loading {
  grid-column: 1 / -1;
  min-height: 92px;
  display: grid;
  place-items: center;
  color: #607288;
  font-size: 0.88rem;
}

@media (max-width: 860px) {
  .chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-map {
    grid-template-columns: 1fr;
  }
}

/* Give hotspot string columns enough room while keeping copy controls icon-only. */
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table .hotspot-smiles {
  width: 44px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table .hotspot-selfies {
  width: 44px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table code {
  width: 100% !important;
}

/* Compact no-scroll hotspot table: SMILES/SELFIES live behind copy icons. */
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-results {
  overflow-x: hidden !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table .hotspot-edit {
  width: 15% !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table .hotspot-atoms {
  width: 24% !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table .hotspot-map {
  width: 48px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table .hotspot-endpoint {
  width: 6.8% !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table th,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table td {
  padding-left: 5px !important;
  padding-right: 5px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table td:nth-child(4) {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  min-width: 0 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table td:nth-child(4) .chemrytiq-toxpred-hotspot-atoms {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 2px 6px !important;
  max-width: 100% !important;
  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table td:nth-child(4) .chemrytiq-toxpred-hotspot-atoms span {
  display: inline-flex !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  line-height: 1.25 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-copy-cell {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-copy-cell code {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-copy-cell button {
  margin: 0 auto !important;
}

/* Final compact pass for Morph Path and Safe-Space controls. */
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-head button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-results button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-morph-row-action,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-safe-space-head button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-safe-space-results button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-local-optimizer-controls button {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  height: 21px !important;
  min-height: 21px !important;
  max-height: 21px !important;
  border: 1px solid #0b70c9 !important;
  border-radius: 7px !important;
  background: #eef6ff !important;
  color: #005baa !important;
  cursor: pointer !important;
  font-family: Poppins, sans-serif !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  padding: 0 9px !important;
  text-align: center !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-inputs select,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-local-optimizer-controls select {
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 120px !important;
  height: 21px !important;
  min-height: 21px !important;
  max-height: 21px !important;
  border: 1px solid #0b70c9 !important;
  border-radius: 7px !important;
  background-color: #ffffff !important;
  color: #002244 !important;
  font-family: Poppins, sans-serif !important;
  font-size: 9px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  padding: 0 24px 0 8px !important;
  text-align: left !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-local-optimizer-controls {
  align-items: center !important;
  gap: 6px !important;
}

/* CSS audit fix 2026-06-15: one final ToxPred control contract.
   Older section-level rules used mixed 12px/800, 23px, 30px, and 34px controls.
   Keep the page compact and consistent with Bioisostere Swap cards. */
.chemrytiq-page .chemrytiq-toxpred {
  --toxpred-control-height: 21px;
  --toxpred-control-radius: 7px;
  --toxpred-control-font-size: 9px;
  --toxpred-control-font-weight: 500;
  --toxpred-control-border: #b8d3ee;
  --toxpred-control-border-strong: #0b70c9;
  --toxpred-control-bg: #eef6ff;
  --toxpred-control-bg-active: #e1f0ff;
  --toxpred-control-text: #005baa;
}

.chemrytiq-page .chemrytiq-toxpred button,
.chemrytiq-page .chemrytiq-toxpred select,
.chemrytiq-page .chemrytiq-toxpred input[type="number"],
.chemrytiq-page .chemrytiq-toxpred input[type="text"],
.chemrytiq-page .chemrytiq-toxpred input[type="search"] {
  box-sizing: border-box !important;
  min-height: var(--toxpred-control-height) !important;
  height: var(--toxpred-control-height) !important;
  max-height: var(--toxpred-control-height) !important;
  border-radius: var(--toxpred-control-radius) !important;
  font-family: Poppins, sans-serif !important;
  font-size: var(--toxpred-control-font-size) !important;
  font-weight: var(--toxpred-control-font-weight) !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.chemrytiq-page .chemrytiq-toxpred button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  border: 1px solid var(--toxpred-control-border) !important;
  background: var(--toxpred-control-bg) !important;
  color: var(--toxpred-control-text) !important;
  cursor: pointer !important;
  padding: 0 9px !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-toxpred button:hover,
.chemrytiq-page .chemrytiq-toxpred button.is-active,
.chemrytiq-page .chemrytiq-toxpred button[aria-pressed="true"] {
  border-color: var(--toxpred-control-border-strong) !important;
  background: var(--toxpred-control-bg-active) !important;
}

.chemrytiq-page .chemrytiq-toxpred button:disabled {
  cursor: not-allowed !important;
  opacity: 0.55 !important;
}

.chemrytiq-page .chemrytiq-toxpred select,
.chemrytiq-page .chemrytiq-toxpred input[type="number"],
.chemrytiq-page .chemrytiq-toxpred input[type="text"],
.chemrytiq-page .chemrytiq-toxpred input[type="search"] {
  border: 1px solid var(--toxpred-control-border) !important;
  background-color: #ffffff !important;
  color: #002244 !important;
}

.chemrytiq-page .chemrytiq-toxpred select {
  width: auto !important;
  min-width: 88px !important;
  padding: 0 24px 0 8px !important;
  line-height: normal !important;
}

.chemrytiq-page .chemrytiq-toxpred input[type="number"],
.chemrytiq-page .chemrytiq-toxpred input[type="text"],
.chemrytiq-page .chemrytiq-toxpred input[type="search"] {
  padding: 0 8px !important;
}

.chemrytiq-page .chemrytiq-toxpred .helper-text,
.chemrytiq-page .chemrytiq-toxpred label,
.chemrytiq-page .chemrytiq-toxpred small {
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

.chemrytiq-page .chemrytiq-toxpred h4,
.chemrytiq-page .chemrytiq-toxpred h5 {
  letter-spacing: 0 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-swaps button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-swap-applied button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-smart-swaps button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-safe-space-head button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-safe-space-results button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-local-optimizer-controls button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-head button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-results button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-panel button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-table button,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-hotspot-ga-table button {
  font-size: var(--toxpred-control-font-size) !important;
  font-weight: var(--toxpred-control-font-weight) !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-copy-cell button {
  width: 18px !important;
  min-width: 18px !important;
  padding: 0 !important;
  font-size: 0 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-hotspot-copy-cell button::before {
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

/* CSS audit fix: normalize Safe-Space and Morph Path content typography. */
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-safe-space-results article,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-local-optimizer-results article,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-bioisostere-expansion-results article,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-results article {
  gap: 4px !important;
  padding: 6px 10px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-safe-space-results h5,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-safe-space-rank strong,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-safe-row-title strong,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-rank strong,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-morph-row-title strong {
  color: #002244 !important;
  font-family: Poppins, sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
  text-transform: none !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-safe-space-rank span,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-safe-space-score span,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-string-row span,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-head span,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-rank span,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-slider span,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-inputs span,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-results .chemrytiq-toxpred-string-row span {
  color: #52677f !important;
  font-family: Poppins, sans-serif !important;
  font-size: 8.5px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-safe-space-results p,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-safe-space-results em,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-safe-space-results small,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-safe-row-note,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-local-optimizer-summary span,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-local-optimizer-summary em {
  font-family: Poppins, sans-serif !important;
  font-size: 9px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-safe-space-score strong {
  min-width: 30px !important;
  border-radius: 999px !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  line-height: 16px !important;
  padding: 0 6px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-local-optimizer-metrics span,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-metrics span,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-metrics b {
  font-family: Poppins, sans-serif !important;
  font-size: 8.5px !important;
  font-weight: 500 !important;
  line-height: 14px !important;
  letter-spacing: 0 !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-string-row {
  grid-template-columns: 4rem minmax(0, 1fr) !important;
  gap: 4px !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-string-row code,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-inputs code,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-inputs textarea,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-selfies-morph-results code,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-local-optimizer-results .chemrytiq-toxpred-string-row code,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-bioisostere-expansion-results .chemrytiq-toxpred-string-row code {
  min-height: 0 !important;
  max-height: 48px !important;
  border-radius: 7px !important;
  font-family: Poppins, sans-serif !important;
  font-size: 9px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  padding: 2px 6px !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

/* Structural Alert Heatmap empty state should not inherit large body text. */
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-som-empty.body-text {
  color: #52677f !important;
  font-family: Poppins, sans-serif !important;
  font-size: 9px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
}

.chemrytiq-page .chemrytiq-toxpred .section-title {
  font-family: Poppins, sans-serif !important;
  font-size: 8.5px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  margin-bottom: 6px !important;
}

/* Soft-spot and alert overlays are opt-in: show only after "Show on structure". */
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-som-structure::after,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-alert-structure::after,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-som-highlight-note,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-som-fallback .chemrytiq-toxpred-som-marker,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-som-fallback .chemrytiq-toxpred-alert-marker {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-som-structure.is-som-focused::after,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-alert-structure.is-som-focused::after,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-som-structure.is-som-focused .chemrytiq-toxpred-som-highlight-note,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-alert-structure.is-som-focused .chemrytiq-toxpred-som-highlight-note,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-som-structure.is-som-focused .chemrytiq-toxpred-som-marker.is-selected,
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-alert-structure.is-som-focused .chemrytiq-toxpred-alert-marker.is-selected {
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-som-structure.is-som-focused .chemrytiq-toxpred-som-marker:not(.is-selected),
.chemrytiq-page .chemrytiq-toxpred .chemrytiq-toxpred-alert-structure.is-som-focused .chemrytiq-toxpred-alert-marker:not(.is-selected) {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}
