.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 {
  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 {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) minmax(0, 0.65fr);
  gap: 14px;
}

.chemrytiq-page .chemrytiq-toxpred-decision-score {
  display: grid;
  gap: 0.2rem;
  border-radius: 0.85rem;
  background: #f7fbff;
  padding: 0.75rem;
}

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

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

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

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

.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-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-flex;
  gap: 4px;
  flex: 0 0 auto;
  border: 1px solid #d7e3ef;
  border-radius: 8px;
  background: #f7fbff;
  padding: 3px;
}

.chemrytiq-page .chemrytiq-toxpred-species-tabs button {
  min-height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #445d73;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  padding: 0 12px;
}

.chemrytiq-page .chemrytiq-toxpred-species-tabs button.is-active,
.chemrytiq-page .chemrytiq-toxpred-species-tabs button:hover {
  background: #0b6fbf;
  color: #fff;
}

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

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

.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 {
  color: #0b6fbf;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
  white-space: nowrap;
}

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

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

.chemrytiq-page .chemrytiq-toxpred-species-panel small {
  color: #12304d;
  font-weight: 700;
}

.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-endpoint-head strong {
  display: inline-block;
  margin-top: 4px;
  border-radius: 7px;
  border: 1px solid #fbbf24;
  background: #fef3c7;
  color: #92400e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  padding: 6px 10px;
}

.chemrytiq-page .chemrytiq-toxpred-endpoint.tone-good .chemrytiq-toxpred-endpoint-head strong {
  background: #d1fae5;
  border-color: #6ee7b7;
  color: #065f46;
}

.chemrytiq-page .chemrytiq-toxpred-endpoint.tone-risk .chemrytiq-toxpred-endpoint-head strong {
  background: #fee2e2;
  border-color: #fecaca;
  color: #991b1b;
}

.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: space-between;
  gap: 12px;
}

.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-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: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

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

@media (max-width: 720px) {
  .chemrytiq-page .chemrytiq-toxpred-header,
  .chemrytiq-page .chemrytiq-toxpred-decision,
  .chemrytiq-page .chemrytiq-toxpred-property-space,
  .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 {
    flex-wrap: wrap;
    max-width: 100%;
  }

  .chemrytiq-page .chemrytiq-toxpred-species-tabs button {
    flex: 1 1 0;
  }

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

  .chemrytiq-page .chemrytiq-toxpred-ph-summary {
    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;
  }
}
