/* Copyright (c) Chemryt Informatics Private Limited */
.chemrytiq-page .chemrytiq-result-tab[data-chemrytiq-result-tab="denovo"]::before {
  content: "DN";
}

.chemrytiq-page .chemrytiq-denovo-workspace {
  color: var(--chemrytiq-text, #12304d);
  font-family: inherit;
  font-size: 0.92rem;
  line-height: 1.45;
}

.chemrytiq-page .chemrytiq-denovo-workspace * {
  font-family: inherit;
}

.chemrytiq-page .chemrytiq-denovo-workspace [hidden] {
  display: none !important;
}

.chemrytiq-page .chemrytiq-denovo-main {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.chemrytiq-page .chemrytiq-denovo-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-denovo-empty strong {
  color: var(--chemrytiq-text, #12304d);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

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

.chemrytiq-page .chemrytiq-denovo-progress {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.2rem 0;
}

.chemrytiq-page .chemrytiq-denovo-progress-host {
  border: 1px solid rgba(25, 118, 210, 0.14);
  border-radius: 8px;
  background: #f8fbff;
  padding: 0.65rem 0.75rem;
}

.chemrytiq-page .chemrytiq-denovo-progress > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-denovo-progress strong {
  color: var(--chemrytiq-text, #12304d);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-denovo-progress span,
.chemrytiq-page .chemrytiq-denovo-progress small {
  color: var(--chemrytiq-text-soft, #445d73);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-denovo-progress small {
  font-weight: 700;
}

.chemrytiq-page .chemrytiq-denovo-progress-track {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(25, 118, 210, 0.12);
}

.chemrytiq-page .chemrytiq-denovo-progress-track span {
  position: absolute;
  inset: 0 auto 0 -35%;
  width: 35%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1976d2, #2e7d5b);
  animation: chemrytiq-denovo-progress 1.25s ease-in-out infinite;
}

@keyframes chemrytiq-denovo-progress {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(390%);
  }
}

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

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

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

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

.chemrytiq-page .chemrytiq-denovo-prerun-source label,
.chemrytiq-page .chemrytiq-denovo-prerun-smiles {
  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-denovo-prerun-smiles {
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
}

.chemrytiq-page .chemrytiq-denovo-prerun-smiles:has(input[type="radio"]:checked) {
  border-color: #1976d2;
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.chemrytiq-page .chemrytiq-denovo-prerun-smiles:focus-within {
  border-color: #1976d2;
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.chemrytiq-page .chemrytiq-denovo-prerun-smiles-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.45rem;
  align-items: center;
}

.chemrytiq-page .chemrytiq-denovo-prerun-smiles-head label {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: var(--chemrytiq-text, #12304d);
  font-size: 0.82rem;
  font-weight: 850;
}

.chemrytiq-page .chemrytiq-denovo-prerun-smiles-head input {
  accent-color: #1976d2;
}

.chemrytiq-page .chemrytiq-denovo-prerun-smiles input[type="text"] {
  grid-row: auto;
  width: 100%;
  min-width: 0;
  height: 1.35rem;
  border: 0;
  border-radius: 6px;
  background: #fff7fb;
  color: var(--chemrytiq-text, #12304d);
  padding: 0 0.45rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 750;
  outline: none;
}

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

.chemrytiq-page .chemrytiq-denovo-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-denovo-prerun-source input {
  grid-row: 1 / span 2;
  accent-color: #1976d2;
}

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

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

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

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

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

.chemrytiq-page .chemrytiq-denovo-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-denovo-prerun-structure svg {
  width: 100%;
  max-width: 17rem;
  height: auto;
  max-height: 12rem;
}

.chemrytiq-page .chemrytiq-denovo-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-denovo-prelaunch-action {
  justify-self: start;
  min-height: 2.1rem;
  border: 1px solid #1976d2;
  border-radius: 999px;
  background: #1976d2;
  color: #ffffff;
  margin-top: 10px;
  padding: 0 0.8rem;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(25, 118, 210, 0.18);
}

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

.chemrytiq-page .chemrytiq-denovo-shell {
  display: grid;
  gap: 1rem;
}

.chemrytiq-page .chemrytiq-denovo-header,
.chemrytiq-page .chemrytiq-denovo-card {
  border: 1px solid var(--chemrytiq-border, rgba(80, 102, 142, 0.18));
  border-radius: var(--chemrytiq-radius-md, 1rem);
  background: var(--chemrytiq-surface, #ffffff);
  box-shadow: none;
}

.chemrytiq-page .chemrytiq-denovo-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
}

.chemrytiq-page .chemrytiq-denovo-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.chemrytiq-page .chemrytiq-denovo-kicker,
.chemrytiq-page .chemrytiq-denovo-section-label {
  display: block;
  color: #315f8f;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-section-label--with-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.chemrytiq-page .chemrytiq-denovo-inline-generate {
  min-height: 1.9rem;
  padding: 0 0.7rem;
  text-transform: none;
}

.chemrytiq-page .chemrytiq-denovo-inline-clear-analogs {
  min-height: 1.9rem;
  padding: 0 0.7rem;
  border: 1px solid #c5d7eb;
  border-radius: 999px;
  background: #ffffff;
  color: #315f8f;
  font-weight: 800;
  text-transform: none;
  cursor: pointer;
}

.chemrytiq-page .chemrytiq-denovo-inline-generate:not(:disabled) {
  border-color: #1976d2;
  background: #1976d2;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(25, 118, 210, 0.18);
}

.chemrytiq-page .chemrytiq-denovo-inline-clear-analogs:not(:disabled):hover {
  border-color: #1976d2;
  color: #0f5599;
  box-shadow: 0 8px 18px rgba(49, 95, 143, 0.12);
}

.chemrytiq-page .chemrytiq-denovo-inline-clear-analogs:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.chemrytiq-page .chemrytiq-denovo-header h2,
.chemrytiq-page .chemrytiq-denovo-card h3 {
  margin: 0.15rem 0 0;
  color: var(--chemrytiq-text, #12304d);
  letter-spacing: 0;
}

.chemrytiq-page .chemrytiq-denovo-header h2 {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-denovo-card h3 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-denovo-header p {
  max-width: 58rem;
  margin: 0.4rem 0 0;
  color: var(--chemrytiq-text-soft, #445d73);
  font-size: 0.9rem;
  line-height: 1.5;
}

.chemrytiq-page .chemrytiq-denovo-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 1.1fr) minmax(15rem, 0.9fr) minmax(15rem, 0.9fr);
  gap: 1rem;
}

.chemrytiq-page .chemrytiq-denovo-card {
  padding: 1rem;
}

.chemrytiq-page .chemrytiq-denovo-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.chemrytiq-page .chemrytiq-denovo-field {
  display: grid;
  gap: 0.4rem;
  color: var(--chemrytiq-text-soft, #445d73);
  font-size: 0.88rem;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-denovo-field textarea {
  width: 100%;
  min-height: 7rem;
  resize: vertical;
  border: 1px solid var(--chemrytiq-border-strong, #c5d4e5);
  border-radius: var(--chemrytiq-radius-sm, 0.75rem);
  background: #ffffff;
  padding: 0.75rem;
  color: var(--chemrytiq-text, #12304d);
  font: 0.9rem/1.45 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.chemrytiq-page .chemrytiq-denovo-field textarea:focus {
  border-color: #1976d2;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.12);
  outline: none;
}

.chemrytiq-page .chemrytiq-denovo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.chemrytiq-page .chemrytiq-denovo-toolbar {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) auto auto auto;
  gap: 0.65rem;
  align-items: end;
  padding: 0.85rem;
  border: 1px solid var(--chemrytiq-border, #d7e3ef);
  border-radius: 8px;
  background: #f8fbff;
}

.chemrytiq-page .chemrytiq-denovo-toolbar label,
.chemrytiq-page .chemrytiq-denovo-card-head label {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
  color: var(--chemrytiq-text-soft, #445d73);
  font-size: 0.78rem;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-denovo-toolbar input,
.chemrytiq-page .chemrytiq-denovo-card-head select {
  min-height: 2.3rem;
  min-width: 0;
  border: 1px solid var(--chemrytiq-border-strong, #c5d4e5);
  border-radius: 8px;
  background: #ffffff;
  color: var(--chemrytiq-text, #12304d);
  font-size: 0.86rem;
  font-weight: 650;
  padding: 0 0.65rem;
}

.chemrytiq-page .chemrytiq-denovo-toolbar input:focus,
.chemrytiq-page .chemrytiq-denovo-card-head select:focus {
  border-color: #1976d2;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.12);
  outline: none;
}

.chemrytiq-page .chemrytiq-denovo-toolbar button,
.chemrytiq-page .chemrytiq-denovo-debug-toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.3rem;
  border: 1px solid #1976d2;
  border-radius: 999px;
  background: #1976d2;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  padding: 0 0.85rem;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-denovo-toolbar button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.chemrytiq-page .chemrytiq-denovo-toolbar button[data-tone="risk"] {
  border-color: #b3261e;
  background: #b3261e;
  color: #ffffff;
}

.chemrytiq-page .chemrytiq-denovo-toolbar button[data-tone="risk"]:hover,
.chemrytiq-page .chemrytiq-denovo-toolbar button[data-tone="risk"]:focus-visible {
  border-color: #8f1d17;
  background: #8f1d17;
}

.chemrytiq-page .chemrytiq-denovo-run-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  border: 1px solid rgba(80, 102, 142, 0.14);
  border-radius: 8px;
  background: #f8fbff;
  padding: 0.55rem;
}

.chemrytiq-page .chemrytiq-denovo-run-options label {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  min-height: 1.8rem;
  border: 1px solid rgba(80, 102, 142, 0.16);
  border-radius: 999px;
  background: #ffffff;
  color: #445d73;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1;
  padding: 0 0.62rem;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-denovo-run-options input {
  width: 0.9rem;
  height: 0.9rem;
  accent-color: #1976d2;
}

.chemrytiq-page .chemrytiq-denovo-toolbar button + button,
.chemrytiq-page .chemrytiq-denovo-debug-toolbar button {
  border-color: var(--chemrytiq-border-strong, #c5d4e5);
  background: #ffffff;
  color: #1565c0;
}

.chemrytiq-page .chemrytiq-denovo-primary,
.chemrytiq-page .chemrytiq-denovo-secondary,
.chemrytiq-page .chemrytiq-denovo-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  border: 1px solid #1976d2;
  border-radius: 999px;
  background: #1976d2;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1;
  padding: 0 0.85rem;
}

.chemrytiq-page .chemrytiq-denovo-secondary,
.chemrytiq-page .chemrytiq-denovo-actions button + button {
  border-color: var(--chemrytiq-border-strong, #c5d4e5);
  background: #ffffff;
  color: #1565c0;
}

.chemrytiq-page .chemrytiq-denovo-primary:hover,
.chemrytiq-page .chemrytiq-denovo-actions button:first-child:hover {
  background: #1565c0;
  border-color: #1565c0;
}

.chemrytiq-page .chemrytiq-denovo-secondary:hover,
.chemrytiq-page .chemrytiq-denovo-actions button + button:hover {
  background: #eef5ff;
  border-color: #bdd3f0;
}

.chemrytiq-page .chemrytiq-denovo-primary:disabled,
.chemrytiq-page .chemrytiq-denovo-secondary:disabled,
.chemrytiq-page .chemrytiq-denovo-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.chemrytiq-page .chemrytiq-denovo-note {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.8rem;
  border: 1px solid rgba(17, 100, 61, 0.16);
  border-left: 4px solid #2e7d32;
  border-radius: var(--chemrytiq-radius-sm, 0.75rem);
  background: #f3fbf5;
  padding: 0.7rem 0.8rem;
  color: #315b3a;
  font-size: 0.86rem;
  line-height: 1.45;
}

.chemrytiq-page .chemrytiq-denovo-status,
.chemrytiq-page .chemrytiq-denovo-pill {
  border-radius: 999px;
  background: #e8f0fa;
  color: #315f8f;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.32rem 0.58rem;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-denovo-status[data-tone="good"],
.chemrytiq-page .chemrytiq-denovo-pill[data-tone="good"] {
  background: #e8f5e9;
  color: #1b6b31;
}

.chemrytiq-page .chemrytiq-denovo-status[data-tone="watch"],
.chemrytiq-page .chemrytiq-denovo-pill[data-tone="watch"] {
  background: #fff7e5;
  color: #946200;
}

.chemrytiq-page .chemrytiq-denovo-status[data-tone="working"] {
  background: #e8f1ff;
  color: #0f5f9f;
}

.chemrytiq-page .chemrytiq-denovo-pill[data-tone="risk"] {
  background: #fdecec;
  color: #a33131;
}

.chemrytiq-page .chemrytiq-denovo-debug-card {
  border: 1px solid rgba(25, 118, 210, 0.22);
  border-radius: 8px;
  background: #f8fbff;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  padding: 0.75rem;
}

.chemrytiq-page .chemrytiq-denovo-debug-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.chemrytiq-page .chemrytiq-denovo-debug-toolbar > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chemrytiq-page .chemrytiq-denovo-debug-toolbar > div:first-child {
  display: grid;
  gap: 0.12rem;
}

.chemrytiq-page .chemrytiq-denovo-debug-toolbar strong {
  color: #172033;
  font-size: 0.92rem;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-denovo-debug-output {
  display: grid;
  gap: 0.7rem;
}

.chemrytiq-page .chemrytiq-denovo-debug-summary {
  border: 1px solid rgba(80, 102, 142, 0.16);
  border-left: 4px solid #1976d2;
  border-radius: 8px;
  background: #f8fbff;
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0.8rem;
}

.chemrytiq-page .chemrytiq-denovo-debug-summary[data-tone="good"] {
  border-left-color: #238653;
  background: #f4fbf6;
}

.chemrytiq-page .chemrytiq-denovo-debug-summary[data-tone="risk"] {
  border-left-color: #a22d2d;
  background: #fff6f6;
}

.chemrytiq-page .chemrytiq-denovo-debug-summary strong {
  color: #172033;
  font-size: 0.92rem;
}

.chemrytiq-page .chemrytiq-denovo-debug-summary small {
  color: #69778c;
  font-size: 0.72rem;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-denovo-debug-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.chemrytiq-page .chemrytiq-denovo-debug-check,
.chemrytiq-page .chemrytiq-denovo-debug-candidate {
  border: 1px solid rgba(80, 102, 142, 0.16);
  border-left: 4px solid #a22d2d;
  border-radius: 8px;
  background: #ffffff;
  display: grid;
  gap: 0.18rem;
  padding: 0.58rem 0.65rem;
}

.chemrytiq-page .chemrytiq-denovo-debug-check[data-tone="good"],
.chemrytiq-page .chemrytiq-denovo-debug-candidate[data-tone="good"] {
  border-left-color: #238653;
}

.chemrytiq-page .chemrytiq-denovo-debug-check b,
.chemrytiq-page .chemrytiq-denovo-debug-candidate h4 {
  color: #172033;
  font-size: 0.82rem;
  line-height: 1.2;
  margin: 0;
}

.chemrytiq-page .chemrytiq-denovo-debug-check span {
  color: #69778c;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-debug-check small {
  color: #526176;
  font-size: 0.72rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.chemrytiq-page .chemrytiq-denovo-debug-candidates {
  display: grid;
  gap: 0.6rem;
}

.chemrytiq-page .chemrytiq-denovo-debug-command {
  border: 1px solid rgba(80, 102, 142, 0.14);
  border-radius: 7px;
  background: #f9fbfd;
}

.chemrytiq-page .chemrytiq-denovo-debug-command summary,
.chemrytiq-page .chemrytiq-denovo-debug-raw summary {
  cursor: pointer;
  color: #315f8f;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 0.48rem 0.55rem;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-debug-command summary b {
  border-radius: 999px;
  margin-left: 0.35rem;
  padding: 0.1rem 0.34rem;
}

.chemrytiq-page .chemrytiq-denovo-debug-command summary b[data-tone="good"] {
  background: #e5f6ea;
  color: #1d6b37;
}

.chemrytiq-page .chemrytiq-denovo-debug-command summary b[data-tone="risk"] {
  background: #ffdede;
  color: #9b1c1c;
}

.chemrytiq-page .chemrytiq-denovo-debug-command div {
  border-top: 1px solid rgba(80, 102, 142, 0.14);
  display: grid;
  gap: 0.35rem;
  padding: 0.55rem;
}

.chemrytiq-page .chemrytiq-denovo-debug-command code,
.chemrytiq-page .chemrytiq-denovo-debug-command span {
  color: #526176;
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}

.chemrytiq-page .chemrytiq-denovo-debug-output pre {
  max-height: 18rem;
  overflow: auto;
  border: 1px solid rgba(80, 102, 142, 0.14);
  border-radius: 7px;
  background: #0f172a;
  color: #e5edf7;
  font: 0.74rem/1.45 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  margin: 0;
  padding: 0.55rem;
  white-space: pre-wrap;
}

.chemrytiq-page .chemrytiq-denovo-debug-raw {
  border: 1px solid rgba(80, 102, 142, 0.14);
  border-radius: 8px;
  background: #ffffff;
}

.chemrytiq-page .chemrytiq-denovo-structure {
  display: grid;
  min-height: 15rem;
  place-items: center;
  border: 1px solid var(--chemrytiq-border, #d7e3ef);
  border-radius: var(--chemrytiq-radius-sm, 0.75rem);
  background: var(--chemrytiq-surface-soft, #f7fbff);
  color: var(--chemrytiq-text-soft, #445d73);
  overflow: hidden;
  padding: 0.7rem;
}

.chemrytiq-page .chemrytiq-denovo-structure svg {
  width: 100%;
  max-height: 14rem;
}

.chemrytiq-page .chemrytiq-denovo-structure code {
  max-width: 100%;
  white-space: normal;
  word-break: break-all;
}

.chemrytiq-page .chemrytiq-denovo-objectives {
  display: grid;
  gap: 0.45rem;
}

.chemrytiq-page .chemrytiq-denovo-objectives label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 2.15rem;
  border: 1px solid var(--chemrytiq-border, #d7e3ef);
  border-radius: 0.75rem;
  background: var(--chemrytiq-surface-soft, #f7fbff);
  color: var(--chemrytiq-text-soft, #445d73);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 0.45rem 0.6rem;
}

.chemrytiq-page .chemrytiq-denovo-objectives label > span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-denovo-objectives label:has(input:checked) {
  border-color: rgba(25, 118, 210, 0.36);
  background: #eef6ff;
  color: #174d7d;
}

.chemrytiq-page .chemrytiq-denovo-objectives input {
  accent-color: #1976d2;
}

.chemrytiq-page .chemrytiq-denovo-objectives select {
  max-width: 8.1rem;
  min-height: 1.75rem;
  border: 1px solid #c5d7eb;
  border-radius: 999px;
  background: #ffffff;
  color: #315f8f;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0 1.5rem 0 0.55rem;
}

.chemrytiq-page .chemrytiq-denovo-objectives label:not(:has(input:checked)) select {
  opacity: 0.48;
}

.chemrytiq-page .chemrytiq-denovo-property-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.5rem;
}

.chemrytiq-page .chemrytiq-denovo-property {
  display: grid;
  gap: 0.25rem;
  min-height: 3.55rem;
  border: 1px solid rgba(80, 102, 142, 0.16);
  border-radius: var(--chemrytiq-radius-sm, 0.75rem);
  background: #f9fbfd;
  padding: 0.55rem 0.6rem;
}

.chemrytiq-page .chemrytiq-denovo-property span {
  color: #69778c;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-property strong {
  min-width: 0;
  color: #172033;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.chemrytiq-page .chemrytiq-denovo-property[data-target="watch"] {
  border-color: rgba(217, 126, 24, 0.45);
  background: #fff7e6;
  box-shadow: inset 0 -3px 0 rgba(217, 126, 24, 0.28);
}

.chemrytiq-page .chemrytiq-denovo-property[data-target="good"] {
  border-color: rgba(46, 125, 50, 0.32);
  background: #f3fbf5;
  box-shadow: inset 0 -3px 0 rgba(46, 125, 50, 0.18);
}

.chemrytiq-page .chemrytiq-denovo-property[data-target="info"] {
  border-color: rgba(25, 118, 210, 0.34);
  background: #eef6ff;
  box-shadow: inset 0 -3px 0 rgba(25, 118, 210, 0.18);
}

.chemrytiq-page .chemrytiq-denovo-property em {
  color: #9a5a05;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-denovo-workspace:not(.chemrytiq-denovo-prelaunch-workspace) .chemrytiq-denovo-empty {
  grid-column: 1 / -1;
  border: 1px solid var(--chemrytiq-border, #d7e3ef);
  border-radius: var(--chemrytiq-radius-sm, 0.75rem);
  background: var(--chemrytiq-surface-soft, #f7fbff);
  color: var(--chemrytiq-text-soft, #445d73);
  padding: 0.9rem;
}

.chemrytiq-page .chemrytiq-denovo-table-wrap {
  overflow-x: auto;
}

.chemrytiq-page .chemrytiq-denovo-ranking {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: stretch;
  margin-bottom: 0.8rem;
}

.chemrytiq-page .chemrytiq-denovo-ranking[hidden],
.chemrytiq-page .chemrytiq-denovo-sar-map[hidden],
.chemrytiq-page .chemrytiq-denovo-detail[hidden] {
  display: none;
}

.chemrytiq-page .chemrytiq-denovo-top-candidate {
  display: grid;
  gap: 0.18rem;
  flex: 0 1 34rem;
  border: 1px solid rgba(17, 100, 61, 0.2);
  border-radius: var(--chemrytiq-radius-sm, 0.75rem);
  background: #f4fbf6;
  padding: 0.65rem 0.75rem;
}

.chemrytiq-page .chemrytiq-denovo-top-candidate span,
.chemrytiq-page .chemrytiq-denovo-sort span {
  color: #69778c;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-top-candidate strong {
  color: #172033;
  font-size: 0.95rem;
}

.chemrytiq-page .chemrytiq-denovo-top-candidate em {
  color: var(--chemrytiq-text-soft, #445d73);
  font-size: 0.82rem;
  font-style: normal;
}

.chemrytiq-page .chemrytiq-denovo-sort {
  display: grid;
  gap: 0.25rem;
  flex: 0 1 16rem;
  align-self: stretch;
}

.chemrytiq-page .chemrytiq-denovo-sort select {
  min-height: 2.2rem;
  border: 1px solid var(--chemrytiq-border-strong, #c5d4e5);
  border-radius: 999px;
  background: #ffffff;
  color: var(--chemrytiq-text, #12304d);
  font-size: 0.84rem;
  font-weight: 800;
  padding: 0 0.75rem;
}

.chemrytiq-page .chemrytiq-denovo-generated-head {
  align-items: center;
  margin-bottom: 0.45rem;
}

.chemrytiq-page .chemrytiq-denovo-generated-head label {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 0.5rem;
}

.chemrytiq-page .chemrytiq-denovo-generated-head select {
  min-height: 2rem;
  min-width: 8rem;
  border-radius: 999px;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-denovo-collapse {
  border: 1px solid var(--chemrytiq-border, #d7e3ef);
  border-radius: var(--chemrytiq-radius-sm, 0.75rem);
  background: #ffffff;
}

.chemrytiq-page .chemrytiq-denovo-collapse summary {
  cursor: pointer;
  color: #315f8f;
  font-size: 0.78rem;
  font-weight: 900;
  list-style-position: inside;
  padding: 0.6rem 0.7rem;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-collapse[open] summary {
  border-bottom: 1px solid var(--chemrytiq-border, #d7e3ef);
  background: #f8fbff;
}

.chemrytiq-page .chemrytiq-denovo-sort-collapse {
  flex: 0 1 18rem;
  align-self: stretch;
}

.chemrytiq-page .chemrytiq-denovo-sort-collapse .chemrytiq-denovo-sort {
  padding: 0.7rem;
}

.chemrytiq-page .chemrytiq-denovo-sar-map {
  border: 1px solid var(--chemrytiq-border, #d7e3ef);
  border-radius: var(--chemrytiq-radius-sm, 0.75rem);
  background: #ffffff;
  margin: 0 0 0.9rem;
  overflow: hidden;
}

.chemrytiq-page .chemrytiq-denovo-sar-head {
  border-bottom: 1px solid var(--chemrytiq-border, #d7e3ef);
  background: #f8fbff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.7rem 0.8rem;
}

.chemrytiq-page .chemrytiq-denovo-sar-head div {
  display: grid;
  gap: 0.14rem;
}

.chemrytiq-page .chemrytiq-denovo-sar-head span,
.chemrytiq-page .chemrytiq-denovo-sar-head small {
  color: #69778c;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-sar-head strong {
  color: #172033;
  font-size: 0.95rem;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-denovo-sar-filters {
  border-bottom: 1px solid rgba(80, 102, 142, 0.12);
  background: #ffffff;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.55rem 0.8rem;
}

.chemrytiq-page .chemrytiq-denovo-sar-filters button {
  border: 1px solid rgba(80, 102, 142, 0.18);
  border-radius: 999px;
  background: #f8fbff;
  color: #315f8f;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 0.28rem 0.58rem;
}

.chemrytiq-page .chemrytiq-denovo-sar-filters button:hover,
.chemrytiq-page .chemrytiq-denovo-sar-filters button:focus,
.chemrytiq-page .chemrytiq-denovo-sar-filters button[data-active="1"] {
  border-color: rgba(25, 118, 210, 0.34);
  background: #eef6ff;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.08);
  color: #174d7d;
  outline: none;
}

.chemrytiq-page .chemrytiq-denovo-sar-body {
  display: grid;
  grid-template-columns: minmax(16rem, 0.9fr) minmax(14rem, 0.75fr) minmax(18rem, 1.05fr);
  gap: 0.85rem;
  padding: 0.85rem;
}

.chemrytiq-page .chemrytiq-denovo-sar-structure,
.chemrytiq-page .chemrytiq-denovo-sar-analog {
  position: relative;
  min-height: 17rem;
  border: 1px solid rgba(80, 102, 142, 0.13);
  border-radius: 8px;
  background: #fbfdff;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 1.8rem 0.55rem 0.55rem;
}

.chemrytiq-page .chemrytiq-denovo-sar-structure > b,
.chemrytiq-page .chemrytiq-denovo-sar-analog > b {
  position: absolute;
  left: 0.65rem;
  top: 0.55rem;
  color: #526176;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  z-index: 2;
}

.chemrytiq-page .chemrytiq-denovo-sar-structure svg,
.chemrytiq-page .chemrytiq-denovo-sar-analog svg {
  width: 100%;
  max-width: 22rem;
  height: auto;
}

.chemrytiq-page .chemrytiq-denovo-sar-analog {
  align-content: center;
  gap: 0.25rem;
  text-align: center;
}

.chemrytiq-page .chemrytiq-denovo-sar-analog strong {
  color: #172033;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-denovo-sar-analog div {
  display: grid;
  min-height: 10.5rem;
  place-items: center;
  width: 100%;
}

.chemrytiq-page .chemrytiq-denovo-sar-analog small {
  color: #526176;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.3;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.chemrytiq-page .chemrytiq-denovo-sar-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.chemrytiq-page .chemrytiq-denovo-sar-overlay button {
  position: absolute;
  width: 2.15rem;
  height: 2.15rem;
  transform: translate(-50%, -50%) scale(var(--sar-scale, 1));
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: #d92d20;
  box-shadow: 0 0 0 0.28rem rgba(217, 45, 32, 0.16), 0 0.55rem 1.4rem rgba(23, 32, 51, 0.18);
  color: #ffffff;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 900;
  pointer-events: auto;
}

.chemrytiq-page .chemrytiq-denovo-sar-overlay button[data-active="1"] {
  background: #1565c0;
  box-shadow: 0 0 0 0.32rem rgba(21, 101, 192, 0.18), 0 0.65rem 1.5rem rgba(23, 32, 51, 0.2);
}

.chemrytiq-page .chemrytiq-denovo-sar-halo {
  position: absolute;
  width: 4.8rem;
  height: 4.8rem;
  transform: translate(-50%, -50%) scale(var(--sar-halo, 1));
  border: 2px solid rgba(21, 101, 192, 0.48);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(21, 101, 192, 0.2) 0%, rgba(21, 101, 192, 0.12) 48%, rgba(21, 101, 192, 0) 72%);
  box-shadow: 0 0 0 0.7rem rgba(21, 101, 192, 0.08);
  pointer-events: none;
}

.chemrytiq-page .chemrytiq-denovo-sar-list {
  display: grid;
  gap: 0.45rem;
}

.chemrytiq-page .chemrytiq-denovo-sar-list button {
  border: 1px solid rgba(80, 102, 142, 0.16);
  border-left: 4px solid #d92d20;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  display: grid;
  gap: 0.18rem;
  padding: 0.55rem 0.65rem;
  text-align: left;
}

.chemrytiq-page .chemrytiq-denovo-sar-list button:hover,
.chemrytiq-page .chemrytiq-denovo-sar-list button:focus,
.chemrytiq-page .chemrytiq-denovo-sar-list button[data-active="1"] {
  border-color: rgba(25, 118, 210, 0.34);
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
  outline: none;
}

.chemrytiq-page .chemrytiq-denovo-sar-list button[data-active="1"] {
  border-left-color: #1565c0;
  background: #f4f9ff;
}

.chemrytiq-page .chemrytiq-denovo-sar-list b {
  color: #172033;
  font-size: 0.84rem;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-denovo-sar-list span,
.chemrytiq-page .chemrytiq-denovo-sar-list small,
.chemrytiq-page .chemrytiq-denovo-sar-list em {
  color: #526176;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-denovo-sar-list small {
  color: #172033;
  font-weight: 850;
}

.chemrytiq-page .chemrytiq-denovo-sar-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
}

.chemrytiq-page .chemrytiq-denovo-sar-metric {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  border: 1px solid rgba(80, 102, 142, 0.14);
  border-radius: 999px;
  background: #f7fbff;
  color: #526176;
  padding: 0.16rem 0.42rem;
}

.chemrytiq-page .chemrytiq-denovo-sar-metric i {
  display: inline-grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: #eef2f7;
  color: #526176;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-denovo-sar-metric[data-tone="good"] {
  border-color: rgba(46, 125, 50, 0.22);
  background: #f1fbf3;
  color: #236b2a;
}

.chemrytiq-page .chemrytiq-denovo-sar-metric[data-tone="good"] i {
  background: #dff4e3;
  color: #1b6b29;
}

.chemrytiq-page .chemrytiq-denovo-sar-metric[data-tone="risk"] {
  border-color: rgba(198, 40, 40, 0.2);
  background: #fff5f5;
  color: #9b1c1c;
}

.chemrytiq-page .chemrytiq-denovo-sar-metric[data-tone="risk"] i {
  background: #fde4e4;
  color: #9b1c1c;
}

.chemrytiq-page .chemrytiq-denovo-sar-rationale {
  align-items: stretch;
  border-top: 1px solid rgba(80, 102, 142, 0.12);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.85rem;
}

.chemrytiq-page .chemrytiq-denovo-sar-rationale section {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
}

.chemrytiq-page .chemrytiq-denovo-sar-rationale h4 {
  color: #172033;
  font-size: 0.92rem;
  line-height: 1.2;
  margin: 0 0 0.55rem;
}

.chemrytiq-page .chemrytiq-denovo-sar-rationale .chemrytiq-denovo-explainability {
  border-left: 4px solid #1976d2;
  background: #f1f7ff;
  box-shadow: inset 0 0 0 1px rgba(25, 118, 210, 0.08);
  height: 100%;
  margin-top: 0;
  padding: 0.65rem 0.72rem;
}

.chemrytiq-page .chemrytiq-denovo-sar-rationale .chemrytiq-denovo-explainability[data-tone="good"] {
  border-left-color: #16845a;
  background: #f1fbf5;
}

.chemrytiq-page .chemrytiq-denovo-sar-rationale .chemrytiq-denovo-explainability[data-tone="watch"] {
  border-left-color: #a56900;
  background: #fff8e8;
}

.chemrytiq-page .chemrytiq-denovo-sar-rationale .chemrytiq-denovo-explainability[data-tone="risk"] {
  border-left-color: #9c2d2d;
  background: #fff3f3;
}

.chemrytiq-page .chemrytiq-denovo-sar-pareto {
  display: grid;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-denovo-pareto-panel {
  border: 1px solid rgba(128, 83, 0, 0.22);
  border-left: 4px solid #a56900;
  border-radius: 6px;
  background: #fff8e8;
  box-shadow: inset 0 0 0 1px rgba(165, 105, 0, 0.08);
  display: grid;
  gap: 0;
  height: 100%;
  margin: 0;
  padding: 0.65rem 0.72rem;
}

.chemrytiq-page .chemrytiq-denovo-sar-pareto .chemrytiq-denovo-onnx-probability {
  align-items: baseline;
  border-bottom: 1px solid rgba(80, 102, 142, 0.12);
  display: grid;
  gap: 0.5rem;
  grid-template-columns: minmax(9rem, 0.8fr) minmax(10rem, 1fr);
  padding: 0.2rem 0 0.34rem;
}

.chemrytiq-page .chemrytiq-denovo-sar-pareto .chemrytiq-denovo-onnx-probability span {
  color: #526176;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-sar-pareto .chemrytiq-denovo-onnx-probability strong {
  color: #172033;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-denovo-sar-pareto .chemrytiq-denovo-pareto-detail {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  margin-top: 0;
}

.chemrytiq-page .chemrytiq-denovo-sar-pareto .chemrytiq-denovo-pareto-detail div {
  align-items: baseline;
  border: 0;
  border-bottom: 1px solid rgba(80, 102, 142, 0.12);
  border-radius: 0;
  background: transparent;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: minmax(9rem, 0.8fr) minmax(5rem, 0.2fr) minmax(10rem, 1fr);
  padding: 0.3rem 0;
}

.chemrytiq-page .chemrytiq-denovo-sar-pareto .chemrytiq-denovo-pareto-detail span,
.chemrytiq-page .chemrytiq-denovo-sar-pareto .chemrytiq-denovo-pareto-detail small {
  font-size: 0.66rem;
}

.chemrytiq-page .chemrytiq-denovo-sar-pareto .chemrytiq-denovo-pareto-detail strong {
  font-size: 0.82rem;
}

.chemrytiq-page .chemrytiq-denovo-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  border: 1px solid var(--chemrytiq-border, #d7e3ef);
  border-radius: var(--chemrytiq-radius-sm, 0.75rem);
  overflow: hidden;
  table-layout: fixed;
}

.chemrytiq-page .chemrytiq-denovo-table > thead {
  display: none;
}

.chemrytiq-page .chemrytiq-denovo-table th,
.chemrytiq-page .chemrytiq-denovo-table td {
  border-bottom: 1px solid var(--chemrytiq-border, #d7e3ef);
  padding: 0.55rem;
  text-align: left;
  vertical-align: top;
}

.chemrytiq-page .chemrytiq-denovo-table tbody tr {
  cursor: pointer;
}

.chemrytiq-page .chemrytiq-denovo-table tbody tr.is-selected {
  background: transparent;
  box-shadow: none;
}

.chemrytiq-page .chemrytiq-denovo-table tbody tr.is-selected .chemrytiq-denovo-analog-card {
  border-color: rgba(25, 118, 210, 0.36);
  box-shadow: inset 4px 0 0 #1976d2, 0 0.7rem 1.7rem rgba(23, 32, 51, 0.07);
}

.chemrytiq-page .chemrytiq-denovo-more-row,
.chemrytiq-page .chemrytiq-denovo-more-row:hover {
  cursor: default;
  background: #ffffff;
  box-shadow: none;
}

.chemrytiq-page .chemrytiq-denovo-more-row > td {
  padding: 0.65rem;
}

.chemrytiq-page .chemrytiq-denovo-more-analogs {
  background: #ffffff;
}

.chemrytiq-page .chemrytiq-denovo-table--nested {
  min-width: 0;
  border: 0;
  border-radius: 0;
  margin: 0;
}

.chemrytiq-page .chemrytiq-denovo-table--nested tr:last-child td {
  border-bottom: 0;
}

.chemrytiq-page .chemrytiq-denovo-table th {
  background: #f8fbff;
  color: var(--chemrytiq-text-soft, #445d73);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-table td {
  color: var(--chemrytiq-text-soft, #445d73);
}

.chemrytiq-page .chemrytiq-denovo-card-cell {
  padding: 0.55rem !important;
}

.chemrytiq-page .chemrytiq-denovo-analog-card {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.65rem;
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(80, 102, 142, 0.16);
  border-radius: 8px;
  background: #ffffff;
  padding: 0.58rem;
}

.chemrytiq-page .chemrytiq-denovo-analog-half {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 0.58rem;
}

.chemrytiq-page .chemrytiq-denovo-analog-half--identity {
  grid-template-columns: minmax(11rem, 0.42fr) minmax(0, 1fr);
  align-items: start;
}

.chemrytiq-page .chemrytiq-denovo-analog-half--decision {
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  align-items: start;
}

.chemrytiq-page .chemrytiq-denovo-analog-story,
.chemrytiq-page .chemrytiq-denovo-decision-block,
.chemrytiq-page .chemrytiq-denovo-decision-metrics,
.chemrytiq-page .chemrytiq-denovo-transform-block {
  display: grid;
  min-width: 0;
  align-content: start;
}

.chemrytiq-page .chemrytiq-denovo-analog-story,
.chemrytiq-page .chemrytiq-denovo-decision-block {
  gap: 0.4rem;
}

.chemrytiq-page .chemrytiq-denovo-decision-metrics {
  gap: 0.44rem;
}

.chemrytiq-page .chemrytiq-denovo-transform-block {
  gap: 0.18rem;
  border-top: 1px solid rgba(80, 102, 142, 0.12);
  padding-top: 0.42rem;
}

.chemrytiq-page .chemrytiq-denovo-analog-card .chemrytiq-denovo-structure-cell {
  width: auto;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-denovo-analog-card .chemrytiq-denovo-mini-structure {
  box-sizing: border-box;
  width: 100%;
  height: clamp(8.5rem, 15vw, 12.5rem);
  min-height: 0;
  padding: 0.45rem;
}

.chemrytiq-page .chemrytiq-denovo-analog-card .chemrytiq-denovo-mini-structure svg {
  width: 92%;
  height: 92%;
  max-height: none;
  transform: none;
  transform-origin: center;
}

.chemrytiq-page .chemrytiq-denovo-analog-card .chemrytiq-denovo-structure-meta {
  max-width: none;
}

.chemrytiq-page .chemrytiq-denovo-analog-card .chemrytiq-denovo-id-field {
  grid-template-columns: 4.2rem minmax(0, 1fr) 1.35rem;
  max-width: none;
  width: 100%;
}

.chemrytiq-page .chemrytiq-denovo-analog-card .chemrytiq-denovo-filter,
.chemrytiq-page .chemrytiq-denovo-analog-card .chemrytiq-denovo-alert-summary,
.chemrytiq-page .chemrytiq-denovo-analog-card .chemrytiq-denovo-alert-group,
.chemrytiq-page .chemrytiq-denovo-analog-card .chemrytiq-denovo-structure-insight {
  box-sizing: border-box;
  width: 100%;
}

.chemrytiq-page .chemrytiq-denovo-analog-card .chemrytiq-denovo-alert-summary,
.chemrytiq-page .chemrytiq-denovo-analog-card .chemrytiq-denovo-structure-insight,
.chemrytiq-page .chemrytiq-denovo-analog-card .chemrytiq-denovo-source-badge,
.chemrytiq-page .chemrytiq-denovo-analog-card .chemrytiq-denovo-deltas {
  margin-top: 0;
}

.chemrytiq-page .chemrytiq-denovo-compact-compare {
  display: grid;
  gap: 0.32rem;
  margin-top: 0.15rem;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-denovo-compact-compare-title {
  color: #69778c;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-compact-compare > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.34rem;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-denovo-compact-compare-metric {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 0.14rem 0.35rem;
  min-width: 0;
  border: 1px solid rgba(80, 102, 142, 0.14);
  border-radius: 6px;
  background: #f8fbff;
  padding: 0.34rem 0.42rem;
}

.chemrytiq-page .chemrytiq-denovo-compact-compare-metric b {
  color: #172033;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
}

.chemrytiq-page .chemrytiq-denovo-compact-compare-metric small {
  color: #526176;
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.2;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-denovo-compact-compare-metric em {
  grid-column: 1 / -1;
  width: fit-content;
  border-radius: 999px;
  background: #eef5ff;
  color: #1d5fa7;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  margin: 0;
  padding: 0.18rem 0.38rem;
}

.chemrytiq-page .chemrytiq-denovo-compact-compare-metric[data-tone="up"] em {
  background: #e9fbf2;
  color: #047857;
}

.chemrytiq-page .chemrytiq-denovo-compact-compare-metric[data-tone="same"] em {
  background: #f1f5f9;
  color: #52677d;
}

.chemrytiq-page .chemrytiq-denovo-analog-card .chemrytiq-denovo-score-grid,
.chemrytiq-page .chemrytiq-denovo-analog-card .chemrytiq-denovo-priority-scores {
  min-width: 0;
}

.chemrytiq-page .chemrytiq-denovo-objective-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.35rem;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-denovo-objective-strip > span {
  color: #69778c;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.7;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-objective-strip > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.24rem;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-denovo-objective-strip b {
  display: inline-flex !important;
  max-width: 100%;
  border: 1px solid rgba(25, 118, 210, 0.18);
  border-radius: 999px;
  background: #eef6ff;
  color: #245f9f;
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.1;
  padding: 0.18rem 0.42rem;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-table td code {
  color: #172033;
  font-size: 0.78rem;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-denovo-id-stack {
  display: grid;
  gap: 0.34rem;
  min-width: 0;
  margin-top: 0.34rem;
}

.chemrytiq-page .chemrytiq-denovo-id-field {
  display: grid;
  grid-template-columns: 3.8rem minmax(9rem, 13rem) 1.35rem;
  align-items: center;
  gap: 0.34rem;
  min-width: 0;
  height: 2rem;
  max-width: 18.8rem;
}

.chemrytiq-page .chemrytiq-denovo-id-field > span {
  color: #526176;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-id-field code {
  display: block;
  min-width: 0;
  width: 100%;
  height: 2rem;
  box-sizing: border-box;
  border: 1px solid rgba(80, 102, 142, 0.14);
  border-radius: 0.45rem;
  background: #f8fbff;
  color: #172033;
  font-size: 0.76rem;
  line-height: 1.2;
  overflow: hidden;
  padding: 0.36rem 0.45rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-denovo-copy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  min-width: 1.35rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #245f9f;
  cursor: pointer;
  padding: 0;
}

.chemrytiq-page .chemrytiq-denovo-copy-icon svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.chemrytiq-page .chemrytiq-denovo-copy-icon:hover,
.chemrytiq-page .chemrytiq-denovo-copy-icon:focus-visible {
  color: #0f5f9f;
  background: rgba(25, 118, 210, 0.08);
  outline: none;
}

.chemrytiq-page .chemrytiq-denovo-copy-icon:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.chemrytiq-page .chemrytiq-denovo-analog-cell > strong {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #e8f0fa;
  color: #315f8f;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 0.35rem;
  padding: 0.16rem 0.45rem;
}

.chemrytiq-page .chemrytiq-denovo-table td strong,
.chemrytiq-page .chemrytiq-denovo-table td span,
.chemrytiq-page .chemrytiq-denovo-table td em,
.chemrytiq-page .chemrytiq-denovo-table td small {
  display: block;
}

.chemrytiq-page .chemrytiq-denovo-table td strong {
  color: #172033;
  font-size: 0.88rem;
  line-height: 1.3;
}

.chemrytiq-page .chemrytiq-denovo-table td em,
.chemrytiq-page .chemrytiq-denovo-table td small {
  color: var(--chemrytiq-text-soft, #445d73);
  font-size: 0.76rem;
  font-style: normal;
  line-height: 1.35;
  margin-top: 0.25rem;
}

.chemrytiq-page .chemrytiq-denovo-structure-cell {
  min-width: 8.75rem;
  width: 8.75rem;
  vertical-align: top;
}

.chemrytiq-page .chemrytiq-denovo-mini-structure {
  display: grid;
  width: 8rem;
  height: 5.25rem;
  place-items: center;
  border: 1px solid var(--chemrytiq-border, #d7e3ef);
  border-radius: var(--chemrytiq-radius-sm, 0.75rem);
  background: var(--chemrytiq-surface-soft, #f7fbff);
  overflow: hidden;
  padding: 0.35rem;
  position: relative;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.chemrytiq-page .chemrytiq-denovo-mini-structure[data-scaffold-highlight="1"] {
  border-color: rgba(111, 66, 193, 0.48);
  background: linear-gradient(180deg, #fbf8ff 0%, #ffffff 100%);
  box-shadow: inset 0 0 0 2px rgba(111, 66, 193, 0.1);
}

.chemrytiq-page .chemrytiq-denovo-mini-structure[data-scaffold-highlight="1"]::after {
  content: "Scaffold focus";
  position: absolute;
  left: 0.28rem;
  right: 0.28rem;
  bottom: 0.22rem;
  border: 1px solid rgba(111, 66, 193, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #5a35a6;
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  padding: 0.12rem 0.2rem;
  text-align: center;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-mini-structure svg {
  width: 100%;
  height: 100%;
  max-height: 4.8rem;
  shape-rendering: geometricPrecision;
  transition: transform 0.18s ease;
}

.chemrytiq-page .chemrytiq-denovo-mini-structure:hover,
.chemrytiq-page .chemrytiq-denovo-mini-structure:focus-within {
  border-color: rgba(25, 118, 210, 0.38);
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1), 0 0.75rem 1.6rem rgba(23, 32, 51, 0.14);
  overflow: visible;
  z-index: 6;
}

.chemrytiq-page .chemrytiq-denovo-mini-structure:hover svg,
.chemrytiq-page .chemrytiq-denovo-mini-structure:focus-within svg {
  transform: scale(1.85);
  transform-origin: center;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 0.9rem 1.8rem rgba(23, 32, 51, 0.16);
}

.chemrytiq-page .chemrytiq-denovo-analog-card .chemrytiq-denovo-mini-structure:hover svg,
.chemrytiq-page .chemrytiq-denovo-analog-card .chemrytiq-denovo-mini-structure:focus-within svg {
  transform: scale(1.18);
}

.chemrytiq-page .chemrytiq-denovo-mini-structure span {
  color: #315f8f;
  font-size: 0.8rem;
  font-weight: 900;
}

.chemrytiq-page .chemrytiq-denovo-structure-meta {
  display: grid;
  gap: 0.34rem;
  margin-top: 0.42rem;
  max-width: 8rem;
}

.chemrytiq-page .chemrytiq-denovo-micro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.24rem;
}

.chemrytiq-page .chemrytiq-denovo-micro-grid span {
  display: grid !important;
  min-width: 0;
  border: 1px solid rgba(80, 102, 142, 0.14);
  border-radius: 0.45rem;
  background: #ffffff;
  padding: 0.18rem 0.24rem;
}

.chemrytiq-page .chemrytiq-denovo-micro-grid small {
  display: block;
  color: #526176;
  font-size: 0.56rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-denovo-micro-grid b {
  color: #172033;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.15;
  margin-top: 0.08rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-denovo-scaffold-id {
  display: block !important;
  border: 1px solid rgba(111, 66, 193, 0.18);
  border-radius: 0.45rem;
  background: #f8f4ff;
  color: #5a35a6;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.2;
  overflow: hidden;
  padding: 0.2rem 0.28rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-denovo-scaffold-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.18rem;
}

.chemrytiq-page .chemrytiq-denovo-scaffold-chips span {
  display: inline-flex !important;
  max-width: 100%;
  border: 1px solid rgba(80, 102, 142, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: #526176;
  font-size: 0.56rem;
  font-weight: 900;
  line-height: 1;
  overflow: hidden;
  padding: 0.16rem 0.28rem;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-denovo-scaffold-chips span[data-primary="1"] {
  border-color: rgba(25, 118, 210, 0.18);
  background: #eef6ff;
  color: #245f9f;
}

.chemrytiq-page .chemrytiq-denovo-pareto-mini {
  display: grid;
  gap: 0.2rem;
  border: 1px solid rgba(25, 118, 210, 0.14);
  border-radius: 0.5rem;
  background: #f7fbff;
  padding: 0.24rem;
}

.chemrytiq-page .chemrytiq-denovo-pareto-mini > strong {
  color: #245f9f;
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-pareto-mini span {
  display: grid !important;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.18rem;
}

.chemrytiq-page .chemrytiq-denovo-pareto-mini small {
  color: #526176;
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-pareto-mini span > b {
  color: #172033;
  font-size: 0.64rem;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-denovo-pareto-mini i {
  grid-column: 1 / -1;
  display: block;
  height: 0.22rem;
  border-radius: 999px;
  background: #dbe8f7;
  overflow: hidden;
}

.chemrytiq-page .chemrytiq-denovo-pareto-mini i em {
  display: block;
  width: var(--score, 0%);
  height: 100%;
  border-radius: inherit;
  background: #1976d2;
}

.chemrytiq-page .chemrytiq-denovo-pareto-mini span[data-tone="tox"] i em {
  background: #108a4f;
}

.chemrytiq-page .chemrytiq-denovo-scaffold-toggle {
  width: 100%;
  border: 1px solid rgba(80, 102, 142, 0.18);
  border-radius: 0.45rem;
  background: #ffffff;
  color: #315f8f;
  cursor: pointer;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1.1;
  padding: 0.28rem 0.3rem;
  text-align: center;
}

.chemrytiq-page .chemrytiq-denovo-scaffold-toggle[data-active="1"] {
  border-color: rgba(111, 66, 193, 0.28);
  background: #f3edff;
  color: #5a35a6;
}

.chemrytiq-page .chemrytiq-denovo-deltas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.35rem;
}

.chemrytiq-page .chemrytiq-denovo-deltas span {
  border: 1px solid rgba(80, 102, 142, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: #526176;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.18rem 0.42rem;
}

.chemrytiq-page .chemrytiq-denovo-deltas span b {
  color: #172033;
  font-weight: 900;
}

.chemrytiq-page .chemrytiq-denovo-deltas .chemrytiq-denovo-delta-label {
  border-color: transparent;
  background: transparent;
  color: #69778c;
  font-size: 0.68rem;
  font-weight: 900;
  padding-left: 0;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-source-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0.28rem 0 0.16rem;
  border: 1px solid rgba(80, 102, 142, 0.18);
  border-radius: 999px;
  padding: 0.16rem 0.46rem;
  color: #315f8f;
  background: #eef6ff;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-source-badge[data-tone="model"] {
  border-color: rgba(46, 125, 91, 0.24);
  color: #1d6a4f;
  background: #eaf7ef;
}

.chemrytiq-page .chemrytiq-denovo-source-badge[data-tone="rule"] {
  border-color: rgba(25, 118, 210, 0.2);
  color: #245f9f;
  background: #eef6ff;
}

.chemrytiq-page .chemrytiq-denovo-structure-badge {
  display: inline-flex !important;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(80, 102, 142, 0.18);
  border-radius: 999px;
  background: #f7f9fc;
  color: #526176;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
  margin-top: 0.28rem;
  overflow-wrap: anywhere;
  padding: 0.16rem 0.46rem;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-structure-badge[data-kind="scaffold-hop"] {
  border-color: rgba(111, 66, 193, 0.24);
  background: #f3edff;
  color: #5a35a6;
}

.chemrytiq-page .chemrytiq-denovo-structure-badge[data-kind="sidechain"] {
  border-color: rgba(25, 118, 210, 0.22);
  background: #eef6ff;
  color: #245f9f;
}

.chemrytiq-page .chemrytiq-denovo-structure-badge[data-kind="core-modification"] {
  border-color: rgba(128, 83, 0, 0.22);
  background: #fff7e6;
  color: #805300;
}

.chemrytiq-page .chemrytiq-denovo-structure-badge[data-kind="drift"] {
  border-color: rgba(82, 97, 118, 0.18);
  background: #f7f9fc;
  color: #526176;
}

.chemrytiq-page .chemrytiq-denovo-score {
  display: grid;
  grid-template-columns: minmax(3rem, 1fr) auto;
  align-items: baseline;
  min-width: 0;
  gap: 0.6rem;
  border: 0;
  border-bottom: 1px solid rgba(80, 102, 142, 0.14);
  border-radius: 0;
  background: transparent;
  padding: 0.2rem 0;
}

.chemrytiq-page .chemrytiq-denovo-score b {
  color: #172033;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: right;
}

.chemrytiq-page .chemrytiq-denovo-score small {
  color: #69778c;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-score-grid {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr);
  gap: 0;
  min-width: 9rem;
}

.chemrytiq-page .chemrytiq-denovo-score[data-tone="good"] {
  color: #11643d;
}

.chemrytiq-page .chemrytiq-denovo-score[data-tone="watch"] {
  color: #805300;
}

.chemrytiq-page .chemrytiq-denovo-score[data-tone="risk"] {
  color: #a22d2d;
}

.chemrytiq-page .chemrytiq-denovo-score[data-tone="neutral"] {
  color: #50668e;
}

.chemrytiq-page .chemrytiq-denovo-score[data-tone] b {
  color: currentColor;
}

.chemrytiq-page .chemrytiq-denovo-priority-scores {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr);
  gap: 0;
  min-width: 9rem;
}

.chemrytiq-page .chemrytiq-denovo-priority-scores .chemrytiq-denovo-pareto-badge,
.chemrytiq-page .chemrytiq-denovo-priority-scores > small {
  grid-column: 1 / -1;
}

.chemrytiq-page .chemrytiq-denovo-priority-scores > small {
  color: var(--chemrytiq-text-soft, #445d73);
  font-size: 0.7rem;
  line-height: 1.3;
}

.chemrytiq-page .chemrytiq-denovo-rules-score {
  display: grid;
  gap: 0.28rem;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-denovo-rule-detail {
  min-width: 0;
}

.chemrytiq-page .chemrytiq-denovo-rule-detail summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(80, 102, 142, 0.16);
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
  color: #526176;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.2;
  list-style-position: inside;
  padding: 0.18rem 0.45rem;
}

.chemrytiq-page .chemrytiq-denovo-rule-detail summary b,
.chemrytiq-page .chemrytiq-denovo-rule-detail summary span {
  display: inline;
  margin: 0;
  line-height: 1.1;
}

.chemrytiq-page .chemrytiq-denovo-rule-detail summary b {
  color: #172033;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-rule-detail summary span {
  color: #526176;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: none;
}

.chemrytiq-page .chemrytiq-denovo-rule-detail ul {
  display: grid;
  gap: 0.28rem;
  list-style: none;
  margin: 0.34rem 0 0;
  padding: 0;
}

.chemrytiq-page .chemrytiq-denovo-rule-detail li {
  border: 1px solid rgba(80, 102, 142, 0.16);
  border-left-width: 3px;
  border-radius: 6px;
  background: #ffffff;
  display: grid;
  gap: 0.1rem;
  padding: 0.34rem 0.4rem;
}

.chemrytiq-page .chemrytiq-denovo-rule-detail li[data-tone="good"] {
  border-left-color: #238653;
  background: #f7fcf8;
}

.chemrytiq-page .chemrytiq-denovo-rule-detail li[data-tone="watch"] {
  border-left-color: #9a6500;
  border-color: rgba(154, 101, 0, 0.28);
  background: #fff7e6;
}

.chemrytiq-page .chemrytiq-denovo-rule-detail li[data-tone="risk"] {
  border-left-color: #a22d2d;
  background: #fff2f2;
}

.chemrytiq-page .chemrytiq-denovo-rule-detail li b {
  width: fit-content;
  border-radius: 999px;
  background: #eef2f7;
  color: #172033;
  font-size: 0.68rem;
  line-height: 1.1;
  padding: 0.14rem 0.36rem;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-rule-detail li[data-tone="good"] b {
  background: #e5f6ea;
  color: #1d6b37;
}

.chemrytiq-page .chemrytiq-denovo-rule-detail li[data-tone="watch"] b {
  background: #ffe6ad;
  color: #805300;
}

.chemrytiq-page .chemrytiq-denovo-rule-detail li[data-tone="watch"] span {
  color: #805300;
}

.chemrytiq-page .chemrytiq-denovo-rule-detail li[data-tone="risk"] b {
  background: #ffdede;
  color: #9b1c1c;
}

.chemrytiq-page .chemrytiq-denovo-rule-detail li span {
  color: #172033;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-denovo-rule-detail li small {
  color: #69778c;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  overflow-wrap: anywhere;
  text-transform: none;
}

.chemrytiq-page .chemrytiq-denovo-score-delta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-denovo-score-delta .chemrytiq-denovo-delta-badge {
  align-items: center;
  border: 1px solid rgba(80, 102, 142, 0.16);
  border-radius: 999px;
  background: #f9fbfd;
  display: inline-flex;
  gap: 0.24rem;
  padding: 0.22rem 0.46rem 0.22rem 0.28rem;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-denovo-score-delta .chemrytiq-denovo-delta-badge[data-tone="good"] {
  border-color: rgba(35, 134, 83, 0.22);
  background: #f4fbf6;
  color: #1d6b37;
}

.chemrytiq-page .chemrytiq-denovo-score-delta .chemrytiq-denovo-delta-badge[data-tone="risk"] {
  border-color: rgba(162, 45, 45, 0.22);
  background: #fff6f6;
  color: #9b1c1c;
}

.chemrytiq-page .chemrytiq-denovo-score-delta .chemrytiq-denovo-delta-badge[data-tone="neutral"] {
  color: #526176;
}

.chemrytiq-page .chemrytiq-denovo-score-delta .chemrytiq-denovo-delta-badge i {
  display: inline-grid;
  place-items: center;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-denovo-score-delta .chemrytiq-denovo-delta-badge b {
  color: #172033;
  font-size: 0.7rem;
  line-height: 1.1;
}

.chemrytiq-page .chemrytiq-denovo-score-delta .chemrytiq-denovo-delta-badge small {
  color: currentColor;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.15;
  margin: 0;
}

.chemrytiq-page .chemrytiq-denovo-pareto-badge {
  border: 1px solid rgba(25, 118, 210, 0.22);
  border-radius: 6px;
  background: #eef6ff;
  display: grid;
  gap: 0.1rem;
  margin-top: 0.35rem;
  padding: 0.38rem 0.45rem;
}

.chemrytiq-page .chemrytiq-denovo-pareto-badge b {
  color: #174d7d;
  font-size: 0.74rem;
  line-height: 1.1;
}

.chemrytiq-page .chemrytiq-denovo-pareto-badge small {
  color: #526176;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-pareto-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.chemrytiq-page .chemrytiq-denovo-pareto-detail div {
  border: 1px solid rgba(80, 102, 142, 0.14);
  border-radius: 8px;
  background: #f9fbfd;
  display: grid;
  gap: 0.14rem;
  padding: 0.52rem 0.58rem;
}

.chemrytiq-page .chemrytiq-denovo-pareto-detail span {
  color: #69778c;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-pareto-detail strong {
  color: #172033;
  font-size: 1rem;
  line-height: 1.1;
}

.chemrytiq-page .chemrytiq-denovo-pareto-detail small {
  color: #526176;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.chemrytiq-page .chemrytiq-denovo-synthesis-card {
  border: 1px solid rgba(80, 102, 142, 0.16);
  border-radius: 8px;
  background: #ffffff;
  display: grid;
  gap: 0.55rem;
  padding: 0.72rem;
}

.chemrytiq-page .chemrytiq-denovo-synthesis-card > div:first-child {
  display: grid;
  gap: 0.16rem;
}

.chemrytiq-page .chemrytiq-denovo-synthesis-card span {
  color: #69778c;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-synthesis-card strong {
  color: #172033;
  font-size: 0.95rem;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-denovo-synthesis-card small,
.chemrytiq-page .chemrytiq-denovo-synthesis-card p {
  color: #526176;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.chemrytiq-page .chemrytiq-denovo-synthesis-card .chemrytiq-denovo-synthesis-caution {
  border-left: 3px solid #1976d2;
  background: #f1f7ff;
  color: #174d7d;
  font-weight: 800;
  padding: 0.42rem 0.5rem;
}

.chemrytiq-page .chemrytiq-denovo-synthesis-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chemrytiq-page .chemrytiq-denovo-synthesis-actions button {
  border: 1px solid rgba(25, 118, 210, 0.28);
  border-radius: 999px;
  background: #eef6ff;
  color: #174d7d;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 0.45rem 0.7rem;
}

.chemrytiq-page .chemrytiq-denovo-rx-check {
  border: 1px dashed rgba(80, 102, 142, 0.22);
  border-radius: 8px;
  background: #f9fbfd;
  display: grid;
  gap: 0.38rem;
  padding: 0.55rem;
}

.chemrytiq-page .chemrytiq-denovo-rx-check ul {
  display: grid;
  gap: 0.28rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chemrytiq-page .chemrytiq-denovo-rx-check li {
  border: 1px solid rgba(80, 102, 142, 0.12);
  border-radius: 6px;
  background: #ffffff;
  display: grid;
  gap: 0.08rem;
  padding: 0.38rem 0.45rem;
}

.chemrytiq-page .chemrytiq-denovo-rx-check b {
  color: #172033;
  font-size: 0.78rem;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-denovo-overlay-card {
  border: 1px solid rgba(80, 102, 142, 0.16);
  border-radius: 8px;
  background: #ffffff;
  display: grid;
  gap: 0.6rem;
  padding: 0.72rem;
}

.chemrytiq-page .chemrytiq-denovo-overlay-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.chemrytiq-page .chemrytiq-denovo-overlay-metrics div {
  border: 1px solid rgba(80, 102, 142, 0.14);
  border-left-width: 3px;
  border-radius: 8px;
  background: #f9fbfd;
  display: grid;
  gap: 0.1rem;
  padding: 0.48rem 0.52rem;
}

.chemrytiq-page .chemrytiq-denovo-overlay-metrics div[data-tone="good"] {
  border-left-color: #238653;
}

.chemrytiq-page .chemrytiq-denovo-overlay-metrics div[data-tone="watch"] {
  border-left-color: #9a6500;
}

.chemrytiq-page .chemrytiq-denovo-overlay-metrics div[data-tone="risk"] {
  border-left-color: #a22d2d;
}

.chemrytiq-page .chemrytiq-denovo-overlay-card span,
.chemrytiq-page .chemrytiq-denovo-overlay-metrics span {
  color: #69778c;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-overlay-metrics strong {
  color: #172033;
  font-size: 1rem;
  line-height: 1.1;
}

.chemrytiq-page .chemrytiq-denovo-overlay-card small,
.chemrytiq-page .chemrytiq-denovo-overlay-card p {
  color: #526176;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.chemrytiq-page .chemrytiq-denovo-overlay-card button {
  justify-self: start;
  border: 1px solid rgba(25, 118, 210, 0.28);
  border-radius: 999px;
  background: #eef6ff;
  color: #174d7d;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
  padding: 0.45rem 0.7rem;
}

.chemrytiq-page .chemrytiq-denovo-overlay-explain {
  border: 1px dashed rgba(80, 102, 142, 0.22);
  border-radius: 8px;
  background: #f9fbfd;
  display: grid;
  gap: 0.18rem;
  padding: 0.55rem 0.65rem;
}

.chemrytiq-page .chemrytiq-denovo-overlay-explain b {
  color: #172033;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-overlay-explain span {
  color: #526176;
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-denovo-softspot-card {
  border: 1px solid rgba(80, 102, 142, 0.16);
  border-radius: 8px;
  background: #ffffff;
  display: grid;
  gap: 0.58rem;
  padding: 0.72rem;
}

.chemrytiq-page .chemrytiq-denovo-softspot-map {
  min-height: 14rem;
  border: 1px solid rgba(80, 102, 142, 0.14);
  border-radius: 8px;
  background: #fbfdff;
  display: grid;
  place-items: center;
  padding: 0.45rem;
}

.chemrytiq-page .chemrytiq-denovo-softspot-map svg {
  width: 100%;
  max-width: 28rem;
  height: auto;
}

.chemrytiq-page .chemrytiq-denovo-softspot-map span,
.chemrytiq-page .chemrytiq-denovo-softspot-map em {
  color: #526176;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
}

.chemrytiq-page .chemrytiq-denovo-softspot-map em {
  display: block;
  margin-top: 0.35rem;
}

.chemrytiq-page .chemrytiq-denovo-softspot-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chemrytiq-page .chemrytiq-denovo-softspot-legend span {
  color: #526176;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-denovo-softspot-legend i {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  display: inline-block;
  box-shadow: 0 0 0 0.18rem rgba(245, 158, 11, 0.18);
}

.chemrytiq-page .chemrytiq-denovo-softspot-legend i.is-oxidative {
  background: #f59e0b;
}

.chemrytiq-page .chemrytiq-denovo-softspot-legend i.is-hydrolytic {
  background: #dc2626;
  box-shadow: 0 0 0 0.18rem rgba(220, 38, 38, 0.16);
}

.chemrytiq-page .chemrytiq-denovo-softspot-list {
  display: grid;
  gap: 0.4rem;
}

.chemrytiq-page .chemrytiq-denovo-softspot-list div {
  border: 1px solid rgba(80, 102, 142, 0.14);
  border-left: 3px solid #f59e0b;
  border-radius: 8px;
  background: #fffaf0;
  display: grid;
  gap: 0.14rem;
  padding: 0.48rem 0.55rem;
}

.chemrytiq-page .chemrytiq-denovo-softspot-list b {
  color: #172033;
  font-size: 0.82rem;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-denovo-softspot-list span,
.chemrytiq-page .chemrytiq-denovo-softspot-list small {
  color: #526176;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.3;
}

.chemrytiq-page .chemrytiq-denovo-softspot-list small {
  color: #3f4d5f;
}

.chemrytiq-page .chemrytiq-denovo-filter {
  display: grid;
  width: 100%;
  box-sizing: border-box;
  gap: 0.15rem;
  border: 1px solid rgba(80, 102, 142, 0.16);
  border-radius: var(--chemrytiq-radius-sm, 0.75rem);
  background: #f9fbfd;
  padding: 0.5rem 0.6rem;
}

.chemrytiq-page .chemrytiq-denovo-filter b {
  color: #172033;
  font-size: 0.86rem;
  line-height: 1.1;
}

.chemrytiq-page .chemrytiq-denovo-filter small {
  color: #69778c;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-filter[data-tone="good"] {
  border-color: rgba(17, 100, 61, 0.24);
  background: #f4fbf6;
}

.chemrytiq-page .chemrytiq-denovo-filter[data-tone="watch"] {
  border-color: rgba(128, 83, 0, 0.24);
  background: #fffaf0;
}

.chemrytiq-page .chemrytiq-denovo-filter[data-tone="risk"] {
  border-color: rgba(162, 45, 45, 0.24);
  background: #fff6f6;
}

.chemrytiq-page .chemrytiq-denovo-alert-summary {
  display: grid;
  gap: 0.36rem;
  margin-top: 0.45rem;
}

.chemrytiq-page .chemrytiq-denovo-structure-insight {
  border: 1px solid rgba(80, 102, 142, 0.18);
  border-radius: 6px;
  display: grid;
  gap: 0.35rem;
  margin-top: 0.45rem;
  padding: 0.45rem 0.5rem;
  background: #f8fbff;
}

.chemrytiq-page .chemrytiq-denovo-structure-insight[data-tone="good"] {
  border-color: rgba(17, 100, 61, 0.22);
  background: #f5fbf7;
}

.chemrytiq-page .chemrytiq-denovo-structure-insight[data-tone="watch"] {
  border-color: rgba(128, 83, 0, 0.22);
  background: #fffaf0;
}

.chemrytiq-page .chemrytiq-denovo-structure-insight strong {
  color: #172033;
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-denovo-structure-insight small,
.chemrytiq-page .chemrytiq-denovo-maturity span {
  color: #526176;
  display: block;
  font-size: 0.72rem;
  line-height: 1.3;
  margin: 0.1rem 0 0;
  overflow-wrap: anywhere;
}

.chemrytiq-page .chemrytiq-denovo-structure-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.chemrytiq-page .chemrytiq-denovo-structure-notes span {
  border: 1px solid rgba(80, 102, 142, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #23324a;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.2;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 0.18rem 0.42rem;
}

.chemrytiq-page .chemrytiq-denovo-maturity {
  border-left: 3px solid #7d8ca3;
  padding-left: 0.45rem;
}

.chemrytiq-page .chemrytiq-denovo-maturity[data-tone="good"] {
  border-left-color: #16845a;
}

.chemrytiq-page .chemrytiq-denovo-maturity[data-tone="watch"] {
  border-left-color: #a56900;
}

.chemrytiq-page .chemrytiq-denovo-maturity b {
  color: #172033;
  display: block;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-denovo-explainability {
  border: 1px solid rgba(80, 102, 142, 0.16);
  border-radius: 6px;
  background: #f8fbff;
  display: grid;
  gap: 0.45rem;
  margin-top: 0.45rem;
  padding: 0.48rem 0.55rem;
}

.chemrytiq-page .chemrytiq-denovo-explainability[data-tone="good"] {
  border-color: rgba(17, 100, 61, 0.22);
  background: #f4fbf7;
}

.chemrytiq-page .chemrytiq-denovo-explainability[data-tone="watch"] {
  border-color: rgba(128, 83, 0, 0.22);
  background: #fffaf0;
}

.chemrytiq-page .chemrytiq-denovo-explainability[data-tone="risk"] {
  border-color: rgba(162, 45, 45, 0.22);
  background: #fff6f6;
}

.chemrytiq-page .chemrytiq-denovo-detail-grid section > .chemrytiq-denovo-explainability {
  border-left: 4px solid #1976d2;
  background: #f1f7ff;
  box-shadow: inset 0 0 0 1px rgba(25, 118, 210, 0.08);
  padding: 0.65rem 0.72rem;
}

.chemrytiq-page .chemrytiq-denovo-detail-grid section > .chemrytiq-denovo-explainability[data-tone="good"] {
  border-left-color: #16845a;
  background: #f1fbf5;
}

.chemrytiq-page .chemrytiq-denovo-detail-grid section > .chemrytiq-denovo-explainability[data-tone="watch"] {
  border-left-color: #a56900;
  background: #fff8e8;
}

.chemrytiq-page .chemrytiq-denovo-detail-grid section > .chemrytiq-denovo-explainability[data-tone="risk"] {
  border-left-color: #9c2d2d;
  background: #fff3f3;
}

.chemrytiq-page .chemrytiq-denovo-explainability b {
  color: #172033;
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-denovo-explainability small,
.chemrytiq-page .chemrytiq-denovo-explainability em {
  color: #526176;
  display: block;
  font-size: 0.72rem;
  line-height: 1.35;
  margin: 0.12rem 0 0;
  overflow-wrap: anywhere;
}

.chemrytiq-page .chemrytiq-denovo-explainability em {
  border-left: 3px solid rgba(80, 102, 142, 0.35);
  font-style: normal;
  padding-left: 0.45rem;
}

.chemrytiq-page .chemrytiq-denovo-explainability ul {
  display: grid;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.chemrytiq-page .chemrytiq-denovo-explainability li {
  border-bottom: 1px solid rgba(80, 102, 142, 0.12);
  display: grid;
  grid-template-columns: minmax(7rem, 0.8fr) minmax(8rem, 1fr);
  gap: 0.5rem;
  padding: 0.2rem 0;
}

.chemrytiq-page .chemrytiq-denovo-explainability li b {
  color: #526176;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-explainability li span {
  color: #172033;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.chemrytiq-page .chemrytiq-denovo-highlight-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.chemrytiq-page .chemrytiq-denovo-highlight-chips span {
  border: 1px solid rgba(80, 102, 142, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: #23324a;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.2;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 0.18rem 0.42rem;
}

.chemrytiq-page .chemrytiq-denovo-highlight-chips span[data-tone="good"] {
  border-color: rgba(17, 100, 61, 0.24);
  color: #11643d;
}

.chemrytiq-page .chemrytiq-denovo-highlight-chips span[data-tone="watch"] {
  border-color: rgba(128, 83, 0, 0.24);
  color: #805300;
}

.chemrytiq-page .chemrytiq-denovo-highlight-chips span[data-tone="risk"] {
  border-color: rgba(162, 45, 45, 0.24);
  color: #9c2d2d;
}

.chemrytiq-page .chemrytiq-denovo-alert-reasons {
  display: grid;
  gap: 0.2rem;
}

.chemrytiq-page .chemrytiq-denovo-alert-reasons span {
  color: #172033;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.3;
}

.chemrytiq-page .chemrytiq-denovo-alert-group {
  border: 1px solid rgba(105, 119, 140, 0.22);
  border-radius: 6px;
  display: grid;
  gap: 0.25rem;
  padding: 0.36rem 0.42rem;
}

.chemrytiq-page .chemrytiq-denovo-alert-group[data-tone="risk"] {
  border-color: rgba(162, 45, 45, 0.25);
  background: #fff7f7;
}

.chemrytiq-page .chemrytiq-denovo-alert-group[data-tone="watch"] {
  border-color: rgba(128, 83, 0, 0.22);
  background: #fffaf0;
}

.chemrytiq-page .chemrytiq-denovo-alert-group[data-tone="inherited"] {
  background: #f7f9fc;
}

.chemrytiq-page .chemrytiq-denovo-alert-group[data-tone="resolved"] {
  border-color: rgba(31, 133, 82, 0.26);
  background: #f2fbf6;
}

.chemrytiq-page .chemrytiq-denovo-alert-group strong {
  color: #546176;
  font-size: 0.66rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-alert-group div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.24rem;
}

.chemrytiq-page .chemrytiq-denovo-alert-group span {
  border: 1px solid rgba(105, 119, 140, 0.18);
  border-radius: 999px;
  color: #172033;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 0.18rem 0.34rem;
}

.chemrytiq-page .chemrytiq-denovo-alert-group span[data-alert-tone="risk"] {
  border-color: rgba(162, 45, 45, 0.28);
  color: #8b2525;
}

.chemrytiq-page .chemrytiq-denovo-alert-group span[data-alert-tone="resolved"] {
  border-color: rgba(31, 133, 82, 0.3);
  color: #17673d;
}

.chemrytiq-page .chemrytiq-denovo-alert-group span[data-alert-tone="empty"] {
  color: #69778c;
  font-weight: 700;
}

.chemrytiq-page .chemrytiq-denovo-alert-summary em {
  border-left: 3px solid #1976d2;
  background: #f8fbff;
  color: var(--chemrytiq-text-soft, #445d73);
  font-size: 0.76rem;
  line-height: 1.35;
  padding: 0.35rem 0.45rem;
  overflow-wrap: anywhere;
}

.chemrytiq-page .chemrytiq-denovo-alert-summary small {
  color: #69778c;
  font-size: 0.7rem;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-detail {
  margin-top: 0.9rem;
}

.chemrytiq-page .chemrytiq-denovo-detail-collapse {
  padding: 0;
}

.chemrytiq-page .chemrytiq-denovo-detail-collapse[open] {
  padding-bottom: 0.85rem;
}

.chemrytiq-page .chemrytiq-denovo-detail-collapse .chemrytiq-denovo-detail-head,
.chemrytiq-page .chemrytiq-denovo-detail-collapse .chemrytiq-denovo-detail-grid {
  margin-left: 0.85rem;
  margin-right: 0.85rem;
}

.chemrytiq-page .chemrytiq-denovo-detail-collapse .chemrytiq-denovo-detail-head {
  margin-top: 0.85rem;
}

.chemrytiq-page .chemrytiq-denovo-detail-head {
  display: block;
}

.chemrytiq-page .chemrytiq-denovo-detail-head span {
  display: block;
  color: #69778c;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-denovo-detail-head strong {
  display: block;
  color: #172033;
  font-size: 0.98rem;
}

.chemrytiq-page .chemrytiq-denovo-detail-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.15rem;
}

.chemrytiq-page .chemrytiq-denovo-detail-head button {
  min-height: 2rem;
  border: 1px solid var(--chemrytiq-border-strong, #c5d4e5);
  border-radius: 999px;
  background: #ffffff;
  color: #1565c0;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0 0.7rem;
}

.chemrytiq-page .chemrytiq-denovo-detail-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 0.9fr) minmax(20rem, 1.1fr);
  gap: 0.85rem;
}

.chemrytiq-page .chemrytiq-denovo-detail-grid section {
  border: 1px solid rgba(80, 102, 142, 0.14);
  border-radius: var(--chemrytiq-radius-sm, 0.75rem);
  background: #f9fbfd;
  padding: 0.75rem;
}

.chemrytiq-page .chemrytiq-denovo-detail-grid h4 {
  margin: 0 0 0.55rem;
  color: #172033;
  font-size: 0.92rem;
}

.chemrytiq-page .chemrytiq-denovo-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.chemrytiq-page .chemrytiq-denovo-score-bar {
  border: 1px solid rgba(80, 102, 142, 0.14);
  border-radius: 0.65rem;
  background: #ffffff;
  display: grid;
  gap: 0.34rem;
  padding: 0.5rem;
}

.chemrytiq-page .chemrytiq-denovo-score-bar > div {
  align-items: baseline;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.chemrytiq-page .chemrytiq-denovo-score-bar span,
.chemrytiq-page .chemrytiq-denovo-score-bar small {
  display: block;
  color: #69778c;
  font-size: 0.7rem;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-denovo-score-bar strong {
  display: block;
  color: #172033;
  font-size: 1rem;
  margin: 0;
}

.chemrytiq-page .chemrytiq-denovo-score-bar i {
  background: rgba(80, 102, 142, 0.12);
  border-radius: 999px;
  display: block;
  height: 0.44rem;
  overflow: hidden;
}

.chemrytiq-page .chemrytiq-denovo-score-bar i b {
  background: #7d8ca3;
  border-radius: inherit;
  display: block;
  height: 100%;
  width: var(--score, 0%);
}

.chemrytiq-page .chemrytiq-denovo-score-bar[data-tone="good"] i b {
  background: #16845a;
}

.chemrytiq-page .chemrytiq-denovo-score-bar[data-tone="watch"] i b {
  background: #b7791f;
}

.chemrytiq-page .chemrytiq-denovo-score-bar[data-tone="risk"] i b {
  background: #b33a3a;
}

.chemrytiq-page .chemrytiq-denovo-detail-grid p {
  margin: 0.55rem 0 0;
  color: var(--chemrytiq-text-soft, #445d73);
  font-size: 0.8rem;
}

.chemrytiq-page .chemrytiq-denovo-main > .chemrytiq-denovo-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 0.65rem !important;
  align-items: stretch !important;
}

.chemrytiq-page .chemrytiq-denovo-main > .chemrytiq-denovo-grid .chemrytiq-denovo-card {
  display: grid !important;
  align-content: start !important;
  gap: 0.45rem !important;
  min-height: 0 !important;
  padding: 0.65rem 0.75rem !important;
}

.chemrytiq-page .chemrytiq-denovo-main > .chemrytiq-denovo-grid .chemrytiq-denovo-card-head {
  align-items: center !important;
  margin-bottom: 0.15rem !important;
}

.chemrytiq-page .chemrytiq-denovo-main > .chemrytiq-denovo-grid .chemrytiq-denovo-card-head strong {
  font-size: 0.86rem !important;
  line-height: 1.2 !important;
}

.chemrytiq-page .chemrytiq-denovo-main > .chemrytiq-denovo-grid .chemrytiq-denovo-card-head [data-chemrytiq-denovo-druglikeness] {
  border-radius: 999px !important;
  background: #e8f5e9 !important;
  color: #11643d !important;
  font-size: 0.72rem !important;
  font-weight: 850 !important;
  padding: 0.14rem 0.5rem !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-denovo-main > .chemrytiq-denovo-grid .chemrytiq-denovo-property-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 0.35rem !important;
}

.chemrytiq-page .chemrytiq-denovo-main > .chemrytiq-denovo-grid .chemrytiq-denovo-property {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  min-height: 2.45rem !important;
  min-width: 0 !important;
  gap: 0.4rem !important;
  border-radius: 8px !important;
  padding: 0.38rem 0.5rem !important;
}

.chemrytiq-page .chemrytiq-denovo-main > .chemrytiq-denovo-grid .chemrytiq-denovo-property span,
.chemrytiq-page .chemrytiq-denovo-main > .chemrytiq-denovo-grid .chemrytiq-denovo-property strong,
.chemrytiq-page .chemrytiq-denovo-main > .chemrytiq-denovo-grid .chemrytiq-denovo-property em {
  line-height: 1.15 !important;
}

.chemrytiq-page .chemrytiq-denovo-main > .chemrytiq-denovo-grid .chemrytiq-denovo-property span {
  font-size: 0.64rem !important;
}

.chemrytiq-page .chemrytiq-denovo-main > .chemrytiq-denovo-grid .chemrytiq-denovo-property strong {
  font-size: 0.76rem !important;
  text-align: right !important;
  white-space: nowrap !important;
}

.chemrytiq-page .chemrytiq-denovo-main > .chemrytiq-denovo-grid .chemrytiq-denovo-property em {
  grid-column: 1 / -1 !important;
  font-size: 0.62rem !important;
  margin-top: -0.06rem !important;
}

.chemrytiq-page .chemrytiq-denovo-main > .chemrytiq-denovo-grid .chemrytiq-denovo-objectives {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.35rem !important;
}

.chemrytiq-page .chemrytiq-denovo-main > .chemrytiq-denovo-grid .chemrytiq-denovo-objectives label {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: center !important;
  justify-content: initial !important;
  min-height: 2.45rem !important;
  gap: 0.4rem !important;
  border-radius: 8px !important;
  font-size: 0.76rem !important;
  padding: 0.38rem 0.5rem !important;
}

.chemrytiq-page .chemrytiq-denovo-main > .chemrytiq-denovo-grid .chemrytiq-denovo-objectives input {
  width: 0.95rem !important;
  height: 0.95rem !important;
}

.chemrytiq-page .chemrytiq-denovo-table .chemrytiq-denovo-score,
.chemrytiq-page .chemrytiq-denovo-table .chemrytiq-denovo-score[data-tone],
.chemrytiq-page .chemrytiq-denovo-table .chemrytiq-denovo-score[data-tone="good"],
.chemrytiq-page .chemrytiq-denovo-table .chemrytiq-denovo-score[data-tone="watch"],
.chemrytiq-page .chemrytiq-denovo-table .chemrytiq-denovo-score[data-tone="risk"],
.chemrytiq-page .chemrytiq-denovo-table .chemrytiq-denovo-score[data-tone="neutral"] {
  display: grid !important;
  grid-template-columns: minmax(4.5rem, 1fr) minmax(2rem, auto) !important;
  align-items: baseline !important;
  gap: 0.65rem !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(80, 102, 142, 0.14) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0.22rem 0 !important;
}

.chemrytiq-page .chemrytiq-denovo-table .chemrytiq-denovo-score small {
  color: #69778c !important;
  font-size: 0.72rem !important;
  font-weight: 850 !important;
  letter-spacing: 0 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  text-transform: uppercase !important;
}

.chemrytiq-page .chemrytiq-denovo-table .chemrytiq-denovo-score b {
  color: currentColor !important;
  font-size: 0.9rem !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-align: right !important;
}

.chemrytiq-page .chemrytiq-denovo-table .chemrytiq-denovo-score-grid,
.chemrytiq-page .chemrytiq-denovo-table .chemrytiq-denovo-priority-scores {
  display: grid !important;
  grid-template-columns: minmax(10rem, 1fr) !important;
  gap: 0 !important;
  min-width: 10rem !important;
}

.chemrytiq-page .chemrytiq-denovo-table .chemrytiq-denovo-priority-scores {
  min-width: 12rem !important;
}

.chemrytiq-page .chemrytiq-denovo-table .chemrytiq-denovo-pareto-badge {
  display: grid !important;
  grid-template-columns: minmax(4.5rem, 1fr) auto !important;
  gap: 0.65rem !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(80, 102, 142, 0.14) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0.22rem 0 !important;
}

.chemrytiq-page .chemrytiq-denovo-table .chemrytiq-denovo-pareto-badge b,
.chemrytiq-page .chemrytiq-denovo-table .chemrytiq-denovo-pareto-badge small {
  display: block !important;
  margin: 0 !important;
  line-height: 1.25 !important;
}

.chemrytiq-page .chemrytiq-denovo-table .chemrytiq-denovo-pareto-badge b {
  color: #165a9f !important;
  font-size: 0.72rem !important;
  font-weight: 850 !important;
  text-transform: uppercase !important;
}

.chemrytiq-page .chemrytiq-denovo-table .chemrytiq-denovo-pareto-badge small {
  color: #172033 !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  text-align: right !important;
  text-transform: none !important;
}

.chemrytiq-page .chemrytiq-denovo-table .chemrytiq-denovo-priority-scores > small {
  display: block !important;
  color: #526176 !important;
  font-size: 0.72rem !important;
  line-height: 1.35 !important;
  margin-top: 0.35rem !important;
  overflow-wrap: anywhere !important;
}

.chemrytiq-page .chemrytiq-denovo-table .chemrytiq-denovo-analog-card .chemrytiq-denovo-score-grid,
.chemrytiq-page .chemrytiq-denovo-table .chemrytiq-denovo-analog-card .chemrytiq-denovo-priority-scores {
  min-width: 0 !important;
}

@media (max-width: 980px) {
  .chemrytiq-page .chemrytiq-denovo-prerun,
  .chemrytiq-page .chemrytiq-denovo-prerun-source,
  .chemrytiq-page .chemrytiq-denovo-prerun-capabilities {
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-denovo-header,
  .chemrytiq-page .chemrytiq-denovo-card-head {
    flex-direction: column;
  }

  .chemrytiq-page .chemrytiq-denovo-generated-head {
    align-items: center;
    flex-direction: row;
  }

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

  .chemrytiq-page .chemrytiq-denovo-property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chemrytiq-page .chemrytiq-denovo-debug-grid {
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-denovo-debug-toolbar {
    display: grid;
  }

  .chemrytiq-page .chemrytiq-denovo-ranking,
  .chemrytiq-page .chemrytiq-denovo-sar-body,
  .chemrytiq-page .chemrytiq-denovo-sar-rationale,
  .chemrytiq-page .chemrytiq-denovo-detail-grid {
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-denovo-analog-card,
  .chemrytiq-page .chemrytiq-denovo-analog-half--identity,
  .chemrytiq-page .chemrytiq-denovo-analog-half--decision {
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-denovo-compact-compare > div {
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-denovo-analog-card .chemrytiq-denovo-mini-structure {
    min-height: 8rem;
  }

}

@media (min-width: 981px) and (max-width: 1320px) {
  .chemrytiq-page .chemrytiq-denovo-property-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
