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

.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 {
  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 label.is-disabled {
  color: #8aa0b5;
  background: #f8fbfe;
  opacity: 0.72;
}

.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-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-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;
}

@media (max-width: 1020px) {
  .chemrytiq-page .chemrytiq-toxpred-smart-swaps-grid,
  .chemrytiq-page .chemrytiq-toxpred-mmp,
  .chemrytiq-page .chemrytiq-toxpred-som-sites-list {
    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;
  gap: 6px;
  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-safe-space-results button {
  border: 1px solid #0b70c9;
  border-radius: 6px;
  background: #ffffff;
  color: #005baa;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  padding: 7px 10px;
  white-space: nowrap;
}

.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 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-results[hidden] {
  display: none;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-results article {
  display: grid;
  gap: 8px;
  border: 1px solid #eef2f7;
  border-left: 4px solid #94a3b8;
  border-radius: 8px;
  background: #fbfdff;
  padding: 12px;
}

.chemrytiq-page .chemrytiq-toxpred-safe-space-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-safe-space-rank span,
.chemrytiq-page .chemrytiq-toxpred-safe-space-score span {
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}

.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;
  padding: 4px 8px;
}

.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: 13px;
  line-height: 1.45;
  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-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-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-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-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-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-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));
  }
}
