.chemrytiq-page .chemrytiq-conflict-panel {
  margin-top: 1rem;
}

.chemrytiq-page .chemrytiq-conflict-note {
  margin: 0;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid #e6edf6;
  background: #fffbeb;
  color: #735c14;
  font-size: 0.88rem;
  line-height: 1.45;
}

.chemrytiq-page .chemrytiq-conflict-content {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
}

.chemrytiq-page .chemrytiq-conflict-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.75rem;
}

.chemrytiq-page .chemrytiq-conflict-summary div {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem;
  border: 1px solid #e2eaf3;
  border-radius: 0.75rem;
  background: #fbfdff;
}

.chemrytiq-page .chemrytiq-conflict-summary strong {
  color: #10263d;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.chemrytiq-page .chemrytiq-conflict-summary span {
  color: #607288;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-conflict-summary small {
  color: #6b7d90;
  font-size: 0.78rem;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-conflict-muted {
  color: #7a8ca0;
  font-size: 0.8rem;
  font-style: italic;
}

.chemrytiq-page .chemrytiq-conflict-panel .chemrytiq-identityresolver-table {
  min-width: 92rem;
}

.chemrytiq-page .chemrytiq-neutralized-smiles {
  display: block;
  max-width: 18rem;
  color: #31516c;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.75rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.chemrytiq-page .chemrytiq-neutralized-smiles + .chemrytiq-neutralized-smiles {
  margin-top: 0.45rem;
  padding-top: 0.45rem;
  border-top: 1px solid #edf2f7;
}

.chemrytiq-page .chemrytiq-neutralized-smiles b {
  display: inline-flex;
  margin-right: 0.35rem;
  color: #145da0;
  font-family: inherit;
  font-size: 0.72rem;
}

.chemrytiq-page .chemrytiq-neutralized-smiles.is-error {
  color: #991b1b;
}

.chemrytiq-page .chemrytiq-neutralized-smiles mark {
  padding: 0 0.08rem;
  border-radius: 0.18rem;
  background: #fee2e2;
  color: #b91c1c;
  font-weight: 900;
}

.chemrytiq-page .chemrytiq-conflict-table-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0 0.85rem;
}

.chemrytiq-page .chemrytiq-conflict-table-tools button {
  border: 1px solid #bfd7ee;
  border-radius: 0.45rem;
  background: #ffffff;
  color: #0b6fbf;
  padding: 0.42rem 0.62rem;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.chemrytiq-page .chemrytiq-conflict-table-tools button.is-active {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
}

.chemrytiq-page .chemrytiq-conflict-table-tools span {
  color: #607288;
  font-size: 0.78rem;
  font-weight: 700;
}

.chemrytiq-page .chemrytiq-tautomer-factory {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px solid #fed7aa;
  border-left: 4px solid #f59e0b;
  border-radius: 0.75rem;
  background: #fff7ed;
  color: #7c2d12;
}

.chemrytiq-page .chemrytiq-tautomer-factory > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.chemrytiq-page .chemrytiq-tautomer-factory strong {
  color: inherit;
}

.chemrytiq-page .chemrytiq-tautomer-factory p {
  margin: 0;
  color: inherit;
  line-height: 1.4;
}

.chemrytiq-page .chemrytiq-tautomer-factory ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chemrytiq-page .chemrytiq-tautomer-factory li {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) minmax(12rem, 0.75fr);
  gap: 0.55rem;
  align-items: start;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(251, 191, 36, 0.35);
}

.chemrytiq-page .chemrytiq-tautomer-factory b {
  color: inherit;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-tautomer-factory code,
.chemrytiq-page .chemrytiq-tautomer-factory span {
  overflow-wrap: anywhere;
  font-size: 0.76rem;
}

.chemrytiq-page .chemrytiq-tautomer-factory code {
  color: #24425f;
  background: #ffffff;
  border-radius: 0.35rem;
  padding: 0.25rem 0.35rem;
}

.chemrytiq-page .chemrytiq-tautomer-factory span {
  color: #7a5a1a;
}

.chemrytiq-page .chemrytiq-identity-wrapper {
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border: 1px solid #bfdbfe;
  border-left-width: 4px;
  border-radius: 0.75rem;
  background: #eff6ff;
  color: #1e3a5f;
}

.chemrytiq-page .chemrytiq-identity-wrapper.has-quarantine {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #7c2d12;
}

.chemrytiq-page .chemrytiq-identity-wrapper > div {
  display: grid;
  gap: 0.15rem;
}

.chemrytiq-page .chemrytiq-identity-wrapper span {
  color: inherit;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-identity-wrapper strong {
  color: inherit;
  overflow-wrap: anywhere;
}

.chemrytiq-page .chemrytiq-identity-wrapper p,
.chemrytiq-page .chemrytiq-identity-wrapper ul {
  margin: 0;
}

.chemrytiq-page .chemrytiq-identity-wrapper ul {
  display: grid;
  gap: 0.35rem;
  padding-left: 1.1rem;
}

.chemrytiq-page .chemrytiq-identity-wrapper li {
  line-height: 1.4;
}

.chemrytiq-page .chemrytiq-identity-wrapper li span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: none;
}

.chemrytiq-page .chemrytiq-stereo-stitcher {
  display: grid;
  grid-template-columns: minmax(12rem, max-content) minmax(0, 1fr) max-content;
  gap: 0.8rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border: 1px solid #fed7aa;
  border-left-width: 4px;
  border-radius: 0.75rem;
  background: #fff7ed;
  color: #7c2d12;
}

.chemrytiq-page .chemrytiq-stereo-stitcher.is-danger {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.chemrytiq-page .chemrytiq-stereo-stitcher div {
  display: grid;
  gap: 0.1rem;
}

.chemrytiq-page .chemrytiq-stereo-stitcher span {
  color: inherit;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-stereo-stitcher strong {
  color: inherit;
  font-size: 1rem;
}

.chemrytiq-page .chemrytiq-stereo-stitcher p {
  margin: 0;
  color: inherit;
  line-height: 1.4;
}

.chemrytiq-page .chemrytiq-stereo-stitcher b {
  justify-self: end;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: inherit;
  font-size: 0.78rem;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-stereo-resolution {
  display: grid;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid #bfdbfe;
  border-left: 4px solid #2563eb;
  border-radius: 0.75rem;
  background: #eff6ff;
}

.chemrytiq-page .chemrytiq-stereo-resolution__head {
  display: grid;
  grid-template-columns: minmax(12rem, max-content) minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
}

.chemrytiq-page .chemrytiq-stereo-resolution__head div {
  display: grid;
  gap: 0.12rem;
}

.chemrytiq-page .chemrytiq-stereo-resolution__head span {
  color: #1d4ed8;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-stereo-resolution__head strong {
  color: #16324d;
  font-size: 1rem;
}

.chemrytiq-page .chemrytiq-stereo-resolution__head p {
  margin: 0;
  color: #31516c;
  line-height: 1.4;
}

.chemrytiq-page .chemrytiq-stereo-resolution__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0.75rem;
}

.chemrytiq-page .chemrytiq-stereo-candidate {
  display: grid;
  gap: 0.45rem;
  padding: 0.75rem;
  border: 1px solid #dbe7f2;
  border-radius: 0.65rem;
  background: #ffffff;
}

.chemrytiq-page .chemrytiq-stereo-candidate.is-defined {
  border-color: #fbbf24;
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.22);
}

.chemrytiq-page .chemrytiq-stereo-candidate.is-racemate {
  border-color: #fecaca;
}

.chemrytiq-page .chemrytiq-stereo-candidate__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.chemrytiq-page .chemrytiq-stereo-source {
  color: #52667e;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-stereo-warning {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: help;
}

.chemrytiq-page .chemrytiq-stereo-candidate strong {
  color: #16324d;
  overflow-wrap: anywhere;
}

.chemrytiq-page .chemrytiq-stereo-candidate code {
  display: block;
  max-height: 4.5rem;
  overflow: auto;
  padding: 0.45rem 0.55rem;
  border-radius: 0.45rem;
  background: #f8fbff;
  color: #24425f;
  font-size: 0.75rem;
  overflow-wrap: anywhere;
  white-space: normal;
}

.chemrytiq-page .chemrytiq-stereo-candidate small {
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-stereo-candidate button {
  justify-self: start;
  border: 1px solid #bfd7ee;
  border-radius: 0.45rem;
  background: #ffffff;
  color: #0b6fbf;
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 850;
  cursor: pointer;
}

.chemrytiq-page .chemrytiq-stereo-candidate button:hover {
  border-color: #7db6e5;
  background: #f0f7ff;
}

@media (max-width: 900px) {
  .chemrytiq-page .chemrytiq-stereo-stitcher {
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-stereo-stitcher b {
    justify-self: start;
  }

  .chemrytiq-page .chemrytiq-stereo-resolution__head {
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-tautomer-factory li {
    grid-template-columns: 1fr;
  }
}

/* Typography audit: keep Identity Resolver on the same ChemrytIQ module scale. */
.chemrytiq-page .chemrytiq-identityresolver-workspace,
.chemrytiq-page .chemrytiq-identityresolver-workspace *,
.chemrytiq-page .chemrytiq-identityresolver-panel,
.chemrytiq-page .chemrytiq-identityresolver-panel *,
.chemrytiq-page #chemrytiqIdentityResolverIntro,
.chemrytiq-page #chemrytiqIdentityResolverIntro * {
  font-family: inherit !important;
  letter-spacing: 0;
}

.chemrytiq-page .chemrytiq-identityresolver-workspace,
.chemrytiq-page .chemrytiq-identityresolver-panel,
.chemrytiq-page #chemrytiqIdentityResolverIntro {
  font-size: 0.92rem;
  line-height: 1.45;
}

.chemrytiq-page .chemrytiq-identityresolver-card__head h3,
.chemrytiq-page .chemrytiq-identityresolver-mini-card h4,
.chemrytiq-page .chemrytiq-identityresolver-details summary,
.chemrytiq-page .chemrytiq-bioactivity-assay-name,
.chemrytiq-page .chemrytiq-stereo-stitcher strong,
.chemrytiq-page .chemrytiq-stereo-resolution__head strong {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-identityresolver-empty,
.chemrytiq-page .chemrytiq-identityresolver-empty span,
.chemrytiq-page .chemrytiq-identityresolver-empty li,
.chemrytiq-page .chemrytiq-conflict-note,
.chemrytiq-page .chemrytiq-tautomer-factory p,
.chemrytiq-page .chemrytiq-tautomer-factory li,
.chemrytiq-page .chemrytiq-identity-wrapper p,
.chemrytiq-page .chemrytiq-identity-wrapper li,
.chemrytiq-page .chemrytiq-stereo-stitcher p,
.chemrytiq-page .chemrytiq-stereo-resolution__head p,
.chemrytiq-page .chemrytiq-bioactivity-conflict-card p,
.chemrytiq-page .chemrytiq-identityresolver-mini-card p,
.chemrytiq-page .chemrytiq-bioactivity-insight-card p,
.chemrytiq-page .chemrytiq-bioactivity-hint-list,
.chemrytiq-page .chemrytiq-bioactivity-no-targets,
.chemrytiq-page .chemrytiq-pdb-qrdr-insight-text {
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.45;
}

.chemrytiq-page .chemrytiq-identityresolver-kicker,
.chemrytiq-page .chemrytiq-identityresolver-badge,
.chemrytiq-page .chemrytiq-identityresolver-status,
.chemrytiq-page .chemrytiq-conflict-summary span,
.chemrytiq-page .chemrytiq-conflict-summary small,
.chemrytiq-page .chemrytiq-conflict-muted,
.chemrytiq-page .chemrytiq-conflict-table-tools span,
.chemrytiq-page .chemrytiq-tautomer-factory b,
.chemrytiq-page .chemrytiq-tautomer-factory span,
.chemrytiq-page .chemrytiq-identity-wrapper span,
.chemrytiq-page .chemrytiq-identity-wrapper li span,
.chemrytiq-page .chemrytiq-stereo-stitcher span,
.chemrytiq-page .chemrytiq-stereo-stitcher b,
.chemrytiq-page .chemrytiq-stereo-resolution__head span,
.chemrytiq-page .chemrytiq-stereo-source,
.chemrytiq-page .chemrytiq-stereo-warning,
.chemrytiq-page .chemrytiq-stereo-candidate small,
.chemrytiq-page .chemrytiq-bioactivity-metric span,
.chemrytiq-page .chemrytiq-bioactivity-metric small,
.chemrytiq-page .chemrytiq-bioactivity-conflict-head span,
.chemrytiq-page .chemrytiq-bioactivity-conflict-card li span,
.chemrytiq-page .chemrytiq-bioactivity-conflict-card li em,
.chemrytiq-page .chemrytiq-bioactivity-target span,
.chemrytiq-page .chemrytiq-bioactivity-target-meta span,
.chemrytiq-page .chemrytiq-bioactivity-table td span,
.chemrytiq-page .chemrytiq-bioactivity-table-tools,
.chemrytiq-page .chemrytiq-bioactivity-normalized-toggle,
.chemrytiq-page .chemrytiq-bioactivity-quick-filters > div > span,
.chemrytiq-page .chemrytiq-bioactivity-assay-meta,
.chemrytiq-page .chemrytiq-bioactivity-assay-source,
.chemrytiq-page .chemrytiq-bioactivity-assay-paradigm,
.chemrytiq-page .chemrytiq-bioactivity-paradigm-note,
.chemrytiq-page .chemrytiq-bioactivity-role-label,
.chemrytiq-page .chemrytiq-pdb-qrdr-summary-badge,
.chemrytiq-page .chemrytiq-pdb-qrdr-summary-note,
.chemrytiq-page .chemrytiq-pdb-qrdr-badge,
.chemrytiq-page .chemrytiq-pdb-qrdr-gene,
.chemrytiq-page .chemrytiq-pdb-qrdr-region,
.chemrytiq-page .chemrytiq-pdb-qrdr-table th {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-identityresolver-empty strong,
.chemrytiq-page .chemrytiq-conflict-summary strong,
.chemrytiq-page .chemrytiq-tautomer-factory strong,
.chemrytiq-page .chemrytiq-identity-wrapper strong,
.chemrytiq-page .chemrytiq-stereo-candidate strong,
.chemrytiq-page .chemrytiq-bioactivity-metric strong,
.chemrytiq-page .chemrytiq-bioactivity-conflict-head strong,
.chemrytiq-page .chemrytiq-bioactivity-conflict-card li strong,
.chemrytiq-page .chemrytiq-bioactivity-target strong,
.chemrytiq-page .chemrytiq-bioactivity-table td strong,
.chemrytiq-page .chemrytiq-bioactivity-target-name strong,
.chemrytiq-page .chemrytiq-pdb-qrdr-details strong {
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-identityresolver-table,
.chemrytiq-page .chemrytiq-identityresolver-table th,
.chemrytiq-page .chemrytiq-identityresolver-table td {
  font-size: 0.82rem;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-conflict-table-tools button,
.chemrytiq-page .chemrytiq-stereo-candidate button,
.chemrytiq-page .chemrytiq-bioactivity-filter,
.chemrytiq-page .chemrytiq-bioactivity-structure-link,
.chemrytiq-page .chemrytiq-bioactivity-structure-link span,
.chemrytiq-page .chemrytiq-bioactivity-conversion-note,
.chemrytiq-page .chemrytiq-pdb-qrdr-link {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-neutralized-smiles,
.chemrytiq-page .chemrytiq-neutralized-smiles b,
.chemrytiq-page .chemrytiq-tautomer-factory code,
.chemrytiq-page .chemrytiq-stereo-candidate code,
.chemrytiq-page .chemrytiq-pdb-qrdr-gene,
.chemrytiq-page .chemrytiq-pdb-qrdr-table td:first-child strong,
.chemrytiq-page .chemrytiq-pdb-qrdr-code {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace !important;
  font-size: 0.76rem;
  line-height: 1.35;
}
