/* Copyright Chemryt Informatics Private Limited */
.chemrytiq-page .chemrytiq-result-tab[data-chemrytiq-result-tab="polypred"]::before {
  content: "Py";
  font-size: 0.62rem;
}

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

.chemrytiq-page .chemrytiq-polypred,
.chemrytiq-page .chemrytiq-polypred-empty {
  --polypred-border: var(--chemrytiq-border, #d7e3ef);
  --polypred-surface: var(--chemrytiq-surface, #ffffff);
  --polypred-surface-soft: var(--chemrytiq-surface-soft, #f7fbff);
  --polypred-text: var(--chemrytiq-text, #12304d);
  --polypred-text-soft: var(--chemrytiq-text-soft, #445d73);
  --polypred-text-muted: var(--chemrytiq-text-muted, #6f8498);
  --polypred-accent: #1976d2;
  --polypred-good: #047857;
  --polypred-watch: #b45309;
  --polypred-risk: #b91c1c;
  color: var(--polypred-text);
  font-family: inherit;
  font-size: 0.92rem;
  line-height: 1.45;
}

.chemrytiq-page .chemrytiq-polypred *,
.chemrytiq-page .chemrytiq-polypred-empty * {
  box-sizing: border-box;
  font-family: inherit;
  letter-spacing: 0;
}

.chemrytiq-page .chemrytiq-polypred-empty {
  display: grid;
  gap: 0.45rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--polypred-border);
  border-radius: 8px;
  background: var(--polypred-surface-soft);
  color: var(--polypred-text-soft);
  font-size: 0.95rem;
}

.chemrytiq-page .chemrytiq-polypred-empty strong {
  color: var(--polypred-text);
  font-size: 1rem;
  font-weight: 650;
}

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

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

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

.chemrytiq-page .chemrytiq-polypred-prerun-copy em {
  margin: 0;
  color: var(--polypred-text-soft);
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-polypred-prerun-source,
.chemrytiq-page .chemrytiq-polypred-prerun-capabilities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 0.5rem;
}

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

.chemrytiq-page .chemrytiq-polypred-prerun-source label,
.chemrytiq-page .chemrytiq-polypred-prerun-capabilities div {
  display: grid;
  min-width: 0;
  border: 1px solid var(--polypred-border);
  border-radius: 8px;
  background: var(--polypred-surface);
  padding: 7px 8px;
}

.chemrytiq-page .chemrytiq-polypred-prerun-source label {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.12rem 0.45rem;
  align-items: center;
  overflow: hidden;
  color: var(--polypred-text);
  font-size: 0.82rem;
  font-weight: 600;
}

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

.chemrytiq-page .chemrytiq-polypred-prerun-source input {
  grid-row: 1 / span 2;
  accent-color: var(--polypred-accent);
}

.chemrytiq-page .chemrytiq-polypred-prerun-source code {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  color: var(--polypred-text-soft);
  font-size: 0.72rem;
  font-weight: 750;
}

.chemrytiq-page .chemrytiq-polypred-prerun-source label.is-disabled {
  color: #8aa0b5;
  background: var(--polypred-surface-soft);
  opacity: 0.72;
}

.chemrytiq-page .chemrytiq-polypred-prerun-capabilities strong {
  color: var(--polypred-text);
  font-size: 10px;
  font-weight: 700;
}

.chemrytiq-page .chemrytiq-polypred-prerun-capabilities span {
  color: var(--polypred-text-soft);
  font-size: 9px;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-polypred-prerun-structure {
  display: grid;
  min-height: 9rem;
  place-items: center;
  border: 1px solid var(--polypred-border);
  border-radius: 8px;
  background: var(--polypred-surface);
  padding: 0.6rem;
  overflow: hidden;
}

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

.chemrytiq-page .chemrytiq-polypred-empty button,
.chemrytiq-page .chemrytiq-polypred button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 21px;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  background: #004085;
  color: #ffffff;
  cursor: pointer;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1;
  padding: 0 9px;
}

.chemrytiq-page .chemrytiq-polypred-empty button[data-polypred-predict] {
  min-height: 2.1rem;
  border-color: transparent;
  border-radius: 0.25rem;
  background: #004085;
  color: #ffffff;
  font-size: 12px;
  font-weight: 650;
  box-shadow: 0 8px 18px rgba(25, 118, 210, 0.18);
}

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

.chemrytiq-page .chemrytiq-polypred {
  display: grid;
  gap: 12px;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  margin-bottom: 18px;
}

.chemrytiq-page .chemrytiq-polypred-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  border: 1px solid var(--polypred-border);
  border-radius: 8px;
  background: var(--polypred-surface);
  padding: 1rem;
}

.chemrytiq-page .chemrytiq-polypred-kicker {
  display: block;
  color: var(--polypred-accent);
  font-size: 0.76rem;
  font-weight: 650;
  margin-bottom: 0.15rem;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-polypred-header h3 {
  margin: 0.15rem 0 0;
  color: var(--polypred-text);
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.2;
}

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

.chemrytiq-page .chemrytiq-polypred-header code {
  display: block;
  max-width: 58rem;
  margin-top: 0.45rem;
  overflow-x: auto;
  border: 1px solid #e3edf8;
  border-radius: 7px;
  background: #fbfdff;
  color: var(--polypred-text);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.35;
  padding: 4px 6px;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-polypred-overall {
  display: grid;
  gap: 0.15rem;
  min-width: 14rem;
  max-width: 18rem;
  border-radius: 8px;
  background: var(--polypred-surface-soft);
  padding: 0.75rem;
}

.chemrytiq-page .chemrytiq-polypred-overall span,
.chemrytiq-page .chemrytiq-polypred-overall em {
  color: var(--polypred-text-soft);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-polypred-overall strong {
  color: var(--polypred-text);
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-polypred-overall.tone-good strong { color: var(--polypred-good); }
.chemrytiq-page .chemrytiq-polypred-overall.tone-watch strong { color: var(--polypred-watch); }
.chemrytiq-page .chemrytiq-polypred-overall.tone-risk strong { color: var(--polypred-risk); }

.chemrytiq-page .chemrytiq-polypred-body {
  display: grid;
  gap: 12px;
}

.chemrytiq-page .chemrytiq-polypred-structure {
  display: grid;
  grid-template-columns: minmax(13rem, 15rem) minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
  border: 1px solid var(--polypred-border);
  border-radius: 8px;
  background: #ffffff;
  padding: 0.85rem;
}

.chemrytiq-page .chemrytiq-polypred-structure > div:first-child {
  display: grid;
  min-height: 10rem;
  place-items: center;
  border: 1px solid var(--polypred-border);
  border-radius: 8px;
  background: #ffffff;
  padding: 10px;
}

.chemrytiq-page .chemrytiq-polypred-structure svg {
  width: 100%;
  max-width: 17rem;
  height: auto;
  max-height: 13rem;
}

.chemrytiq-page .chemrytiq-polypred-pack {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: stretch;
  gap: 0;
  overflow: hidden;
  border: 1px solid #d7e3ef;
  border-radius: 8px;
  background: #ffffff;
}

.chemrytiq-page .chemrytiq-polypred-pack span {
  display: grid;
  align-content: center;
  gap: 0.28rem;
  min-width: 0;
  min-height: 4rem;
  border-right: 1px solid #e3edf8;
  border-bottom: 1px solid #e3edf8;
  background: #ffffff;
  padding: 0.58rem 0.7rem;
}

.chemrytiq-page .chemrytiq-polypred-pack span:nth-child(4n) {
  border-right: 0;
}

.chemrytiq-page .chemrytiq-polypred-pack span:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.chemrytiq-page .chemrytiq-polypred-pack em {
  color: var(--polypred-text-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-polypred-pack b {
  color: #111827;
  font-size: 14px;
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-polypred-block {
  display: grid;
  gap: 10px;
  border: 1px solid var(--polypred-border);
  border-radius: 8px;
  background: var(--polypred-surface);
  padding: 0.85rem;
}

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

.chemrytiq-page .chemrytiq-polypred-block h4 {
  margin: 0;
  color: var(--polypred-text);
  font-size: 0.96rem;
  font-weight: 650;
}

.chemrytiq-page .chemrytiq-polypred-block-head span,
.chemrytiq-page .chemrytiq-polypred-block small {
  color: var(--polypred-text-muted);
  font-size: 0.76rem;
  font-weight: 750;
}

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

.chemrytiq-page .chemrytiq-polypred-matrix-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.chemrytiq-page .chemrytiq-polypred-matrix-column {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-polypred-matrix-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  padding: 0 2px 5px;
}

.chemrytiq-page .chemrytiq-polypred-matrix-label strong {
  color: var(--polypred-text);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-polypred-matrix-label span {
  color: var(--polypred-text-muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-polypred-endpoint {
  border: 1px solid #e3edf8;
  border-radius: 8px;
  background: var(--polypred-surface-soft);
  padding: 0.65rem;
}

.chemrytiq-page .chemrytiq-polypred-endpoint summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.chemrytiq-page .chemrytiq-polypred-endpoint summary::-webkit-details-marker {
  display: none;
}

.chemrytiq-page .chemrytiq-polypred-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--polypred-text);
  font-size: 12px;
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-polypred-score i {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #ffffff 0 48%, transparent 50%),
    conic-gradient(#f59e0b calc(var(--endpoint-score) * 1%), #e8f0fb 0);
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.28);
}

.chemrytiq-page .chemrytiq-polypred-score b {
  color: var(--polypred-text);
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-polypred-endpoint.tone-good .chemrytiq-polypred-score i,
.chemrytiq-page .chemrytiq-polypred-solvent.tone-good .chemrytiq-polypred-meter i { background-color: #10b981; }
.chemrytiq-page .chemrytiq-polypred-endpoint.tone-good .chemrytiq-polypred-score i {
  background:
    radial-gradient(circle at center, #ffffff 0 48%, transparent 50%),
    conic-gradient(#10b981 calc(var(--endpoint-score) * 1%), #e8f0fb 0);
}
.chemrytiq-page .chemrytiq-polypred-endpoint.tone-risk .chemrytiq-polypred-score i,
.chemrytiq-page .chemrytiq-polypred-solvent.tone-risk .chemrytiq-polypred-meter i { background-color: #ef4444; }
.chemrytiq-page .chemrytiq-polypred-endpoint.tone-risk .chemrytiq-polypred-score i {
  background:
    radial-gradient(circle at center, #ffffff 0 48%, transparent 50%),
    conic-gradient(#ef4444 calc(var(--endpoint-score) * 1%), #e8f0fb 0);
}

.chemrytiq-page .chemrytiq-polypred-endpoint summary span:nth-child(2),
.chemrytiq-page .chemrytiq-polypred-solvent strong {
  overflow-wrap: anywhere;
  color: var(--polypred-text);
  font-size: 12px;
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-polypred-endpoint summary b {
  color: var(--polypred-text-muted);
  font-size: 11px;
  font-weight: 500;
}

.chemrytiq-page .chemrytiq-polypred-meter {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8f0fb;
  margin-top: 8px;
}

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

.chemrytiq-page .chemrytiq-polypred-drivers {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.chemrytiq-page .chemrytiq-polypred-drivers p {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  color: var(--polypred-text-soft);
  font-size: 11px;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-polypred-drivers p.is-protective b {
  border-color: rgba(16, 185, 129, 0.35);
  background: #ecfdf5;
  color: #047857;
}

.chemrytiq-page .chemrytiq-polypred-drivers p.is-risk b {
  border-color: rgba(239, 68, 68, 0.35);
  background: #fef2f2;
  color: #b91c1c;
}

.chemrytiq-page .chemrytiq-polypred-drivers p b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  min-height: 20px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 0 7px;
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
}

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

.chemrytiq-page .chemrytiq-polypred-solvent {
  display: grid;
  gap: 7px;
  border: 1px solid #e3edf8;
  border-radius: 8px;
  background: var(--polypred-surface-soft);
  padding: 0.68rem;
}

.chemrytiq-page .chemrytiq-polypred-solvent > div:first-child {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 6px;
  align-items: baseline;
}

.chemrytiq-page .chemrytiq-polypred-solvent span,
.chemrytiq-page .chemrytiq-polypred-solvent small {
  color: var(--polypred-text-muted);
  font-size: 11px;
  font-weight: 500;
}

.chemrytiq-page .chemrytiq-polypred-solvent b {
  color: var(--polypred-text);
  font-size: 12px;
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-polypred-solvent p,
.chemrytiq-page .chemrytiq-polypred-actions p {
  margin: 0;
  color: var(--polypred-text-soft);
  font-size: 12px;
  line-height: 1.4;
}

.chemrytiq-page .chemrytiq-polypred-actions {
  display: grid;
  gap: 6px;
}

.chemrytiq-page .chemrytiq-polypred-actions p {
  border-left: 3px solid #93c5fd;
  background: var(--polypred-surface-soft);
  padding: 7px 9px;
}

.chemrytiq-page .chemrytiq-polypred-workbench {
  background: #fbfdff;
}

.chemrytiq-page .chemrytiq-polypred-tool-grid,
.chemrytiq-page .chemrytiq-polypred-solid-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.chemrytiq-page .chemrytiq-polypred-module-tabs {
  display: grid;
  gap: 8px;
  min-width: 0;
  border: 1px solid #e3edf8;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.72rem;
}

.chemrytiq-page .chemrytiq-polypred-module-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  align-items: baseline;
}

.chemrytiq-page .chemrytiq-polypred-module-head strong {
  color: var(--polypred-text);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-polypred-module-head span {
  color: var(--polypred-text-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
}

.chemrytiq-page .chemrytiq-polypred-module-tabbar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  padding-bottom: 7px;
}

.chemrytiq-page .chemrytiq-polypred-module-tabbar button {
  min-height: 24px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #ffffff;
  color: #0059c7;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 0 10px;
}

.chemrytiq-page .chemrytiq-polypred-module-tabbar button.is-active {
  border-color: #0059c7;
  background: #eaf4ff;
  color: #003f8a;
}

.chemrytiq-page .chemrytiq-polypred-module-pane {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-polypred-module-pane[hidden] {
  display: none;
}

.chemrytiq-page .chemrytiq-polypred-tool {
  display: grid;
  gap: 8px;
  min-width: 0;
  align-content: start;
  border: 1px solid #e3edf8;
  border-radius: 8px;
  background: var(--polypred-surface);
  padding: 0.72rem;
}

.chemrytiq-page details.chemrytiq-polypred-tool {
  display: block;
}

.chemrytiq-page .chemrytiq-polypred-future-tool > summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
  align-items: baseline;
  color: var(--polypred-text);
  cursor: pointer;
  list-style: none;
}

.chemrytiq-page .chemrytiq-polypred-future-tool > summary::-webkit-details-marker {
  display: none;
}

.chemrytiq-page .chemrytiq-polypred-future-tool > summary::before {
  content: "+";
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #0059c7;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
}

.chemrytiq-page .chemrytiq-polypred-future-tool[open] > summary::before {
  content: "-";
}

.chemrytiq-page .chemrytiq-polypred-future-tool > summary strong::after {
  content: " -";
  font-weight: 650;
}

.chemrytiq-page .chemrytiq-polypred-future-tool[open] > summary {
  margin-bottom: 8px;
}

.chemrytiq-page .chemrytiq-polypred-tool > div:first-child {
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
  align-items: baseline;
}

.chemrytiq-page .chemrytiq-polypred-tool > div:first-child strong::after {
  content: " -";
  font-weight: 750;
}

.chemrytiq-page .chemrytiq-polypred-tool > button,
.chemrytiq-page .chemrytiq-polypred-tool-actions {
  align-self: start;
}

.chemrytiq-page .chemrytiq-polypred-tool strong {
  color: var(--polypred-text);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-polypred-tool span,
.chemrytiq-page .chemrytiq-polypred-result p {
  margin: 0;
  color: var(--polypred-text-soft);
  font-size: 11px;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-polypred-tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chemrytiq-page .chemrytiq-polypred-ml-tool {
  grid-column: 1 / -1;
  gap: 12px;
}

.chemrytiq-page .chemrytiq-polypred-onnx-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-polypred-onnx-pane {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-polypred-ml-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
}

.chemrytiq-page .chemrytiq-polypred-ml-controls label {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-polypred-ml-controls label[hidden] {
  display: none;
}

.chemrytiq-page .chemrytiq-polypred-ml-controls label span {
  color: var(--polypred-text-muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-polypred-ml-controls label small {
  min-height: 14px;
  color: #445d73;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-polypred-ml-controls input,
.chemrytiq-page .chemrytiq-polypred-ml-controls select {
  width: 100%;
  min-width: 0;
  border: 1px solid #dbe8f6;
  border-radius: 6px;
  background: #ffffff;
  color: var(--polypred-text);
  font: inherit;
  font-size: 11px;
  line-height: 1.2;
  min-height: 32px;
  padding: 0.4rem 0.52rem;
}

.chemrytiq-page .chemrytiq-polypred-ml-controls input:focus,
.chemrytiq-page .chemrytiq-polypred-ml-controls select:focus {
  border-color: var(--polypred-accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(14, 116, 144, 0.12);
}

.chemrytiq-page .chemrytiq-polypred-cosmors-controls {
  grid-template-columns: minmax(8.5rem, 1fr) minmax(8.5rem, 1fr) minmax(9rem, 1.1fr) minmax(6.25rem, 0.7fr) minmax(7.5rem, 0.8fr);
  gap: 7px;
  align-items: end;
}

.chemrytiq-page .chemrytiq-polypred-cosmors-controls label {
  gap: 3px;
}

.chemrytiq-page .chemrytiq-polypred-cosmors-controls input,
.chemrytiq-page .chemrytiq-polypred-cosmors-controls select {
  min-height: 28px;
  padding: 0.28rem 0.42rem;
  font-size: 10px;
}

.chemrytiq-page .chemrytiq-polypred-onnx-result {
  display: grid;
  gap: 8px;
  max-width: none;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-polypred-onnx-output-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-polypred-onnx-primary,
.chemrytiq-page .chemrytiq-polypred-onnx-context {
  display: grid;
  gap: 8px;
  min-width: 0;
  align-content: start;
}

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

.chemrytiq-page .chemrytiq-polypred-onnx-head span {
  min-width: 0;
  overflow: hidden;
  color: var(--polypred-text);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-polypred-onnx-head strong {
  color: var(--polypred-text);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.15;
  text-align: right;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-polypred-onnx-head small {
  margin-left: 4px;
  color: var(--polypred-text-muted);
  font-size: 11px;
  font-weight: 500;
}

.chemrytiq-page .chemrytiq-polypred-onnx-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 11rem));
  gap: 8px;
}

.chemrytiq-page .chemrytiq-polypred-onnx-metrics span {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(187, 247, 208, 0.75);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.78);
  padding: 6px 7px;
}

.chemrytiq-page .chemrytiq-polypred-onnx-metrics em,
.chemrytiq-page .chemrytiq-polypred-onnx-rows span {
  color: var(--polypred-text-muted);
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-polypred-onnx-metrics b {
  min-width: 0;
  overflow: hidden;
  color: var(--polypred-text);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-polypred-onnx-rows {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) minmax(0, 16rem);
  gap: 0 10px;
  align-items: center;
  max-width: 28rem;
}

.chemrytiq-page .chemrytiq-polypred-onnx-rows span,
.chemrytiq-page .chemrytiq-polypred-onnx-rows b {
  min-width: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  padding: 4px 0;
}

.chemrytiq-page .chemrytiq-polypred-onnx-rows b {
  overflow: hidden;
  color: var(--polypred-text);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-polypred-onnx-result p {
  max-width: 38rem;
}

.chemrytiq-page .chemrytiq-polypred-s0-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.chemrytiq-page .chemrytiq-polypred-s0-summary span {
  display: grid;
  min-width: 0;
  gap: 2px;
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 7px;
  background: #ffffff;
  padding: 6px 7px;
}

.chemrytiq-page .chemrytiq-polypred-s0-summary em,
.chemrytiq-page .chemrytiq-polypred-s0-table > b,
.chemrytiq-page .chemrytiq-polypred-onnx-neighbors > b,
.chemrytiq-page .chemrytiq-polypred-onnx-delta > b {
  color: var(--polypred-text-muted);
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-polypred-s0-summary b {
  min-width: 0;
  overflow: hidden;
  color: var(--polypred-text);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-polypred-s0-table,
.chemrytiq-page .chemrytiq-polypred-onnx-neighbors,
.chemrytiq-page .chemrytiq-polypred-onnx-delta {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) minmax(5rem, 7rem) minmax(0, 1fr);
  gap: 0 10px;
  align-items: center;
  margin: 6px 0;
}

.chemrytiq-page .chemrytiq-polypred-s0-table > span,
.chemrytiq-page .chemrytiq-polypred-s0-table > strong,
.chemrytiq-page .chemrytiq-polypred-s0-table > em,
.chemrytiq-page .chemrytiq-polypred-onnx-neighbors > span,
.chemrytiq-page .chemrytiq-polypred-onnx-neighbors > strong,
.chemrytiq-page .chemrytiq-polypred-onnx-neighbors > em,
.chemrytiq-page .chemrytiq-polypred-onnx-delta > span,
.chemrytiq-page .chemrytiq-polypred-onnx-delta > strong,
.chemrytiq-page .chemrytiq-polypred-onnx-delta > em {
  min-width: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  padding: 5px 0;
  color: var(--polypred-text);
  font-size: 11px;
  line-height: 1.3;
}

.chemrytiq-page .chemrytiq-polypred-s0-table > span,
.chemrytiq-page .chemrytiq-polypred-s0-table > strong,
.chemrytiq-page .chemrytiq-polypred-onnx-neighbors > span,
.chemrytiq-page .chemrytiq-polypred-onnx-neighbors > strong,
.chemrytiq-page .chemrytiq-polypred-onnx-delta > span,
.chemrytiq-page .chemrytiq-polypred-onnx-delta > strong {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-polypred-s0-table > em,
.chemrytiq-page .chemrytiq-polypred-onnx-neighbors > em,
.chemrytiq-page .chemrytiq-polypred-onnx-delta > em {
  font-style: normal;
  font-weight: 400;
}

.chemrytiq-page .chemrytiq-polypred-s0-ph,
.chemrytiq-page .chemrytiq-polypred-s0-heatmap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  margin: 6px 0;
}

.chemrytiq-page .chemrytiq-polypred-s0-ph-chart,
.chemrytiq-page .chemrytiq-polypred-s0-ph-info,
.chemrytiq-page .chemrytiq-polypred-s0-heatmap > div,
.chemrytiq-page .chemrytiq-polypred-s0-heatmap > p {
  min-width: 0;
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 7px;
  background: #ffffff;
  padding: 7px;
}

.chemrytiq-page .chemrytiq-polypred-s0-ph svg {
  display: block;
  width: 100%;
  height: 120px;
}

.chemrytiq-page .chemrytiq-polypred-s0-ph .axis {
  stroke: #94a3b8;
  stroke-width: 1;
}

.chemrytiq-page .chemrytiq-polypred-s0-ph polyline {
  fill: none;
  stroke: #0059c7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.chemrytiq-page .chemrytiq-polypred-s0-ph circle {
  fill: #ffffff;
  stroke: #0059c7;
  stroke-width: 1.3;
}

.chemrytiq-page .chemrytiq-polypred-s0-ph text {
  fill: var(--polypred-text-muted);
  font-size: 7px;
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-polypred-s0-ph-info {
  display: grid;
  align-content: start;
  gap: 6px;
}

.chemrytiq-page .chemrytiq-polypred-s0-ph-info > strong {
  color: var(--polypred-text);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-polypred-s0-ph-info span {
  display: grid;
  grid-template-columns: minmax(0, 8rem) minmax(0, 1fr);
  gap: 8px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  padding-bottom: 5px;
}

.chemrytiq-page .chemrytiq-polypred-s0-ph-info em,
.chemrytiq-page .chemrytiq-polypred-s0-ph-info b {
  min-width: 0;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-polypred-s0-ph-info em {
  color: var(--polypred-text-muted);
  font-style: normal;
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-polypred-s0-ph-info b {
  color: var(--polypred-text);
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-polypred-s0-heatmap svg {
  display: block;
  width: 100%;
  max-height: 180px;
}

.chemrytiq-page .chemrytiq-polypred-s0-heatmap > p {
  margin: 0;
  color: var(--polypred-text);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
}

.chemrytiq-page .chemrytiq-polypred-asd-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0;
}

.chemrytiq-page .chemrytiq-polypred-tg-lead {
  margin: 0;
  color: var(--polypred-text);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

.chemrytiq-page .chemrytiq-polypred-ich-table {
  display: grid;
  grid-template-columns: minmax(9rem, 1.4fr) minmax(7rem, 0.8fr) minmax(7rem, 0.8fr) minmax(7rem, 0.8fr);
  gap: 0 10px;
  align-items: center;
  margin: 6px 0 8px;
}

.chemrytiq-page .chemrytiq-polypred-ich-table > b {
  color: var(--polypred-text-muted);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-polypred-ich-table > span,
.chemrytiq-page .chemrytiq-polypred-ich-table > strong,
.chemrytiq-page .chemrytiq-polypred-ich-table > em {
  min-width: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  padding: 5px 0;
  color: var(--polypred-text);
  font-size: 11px;
  line-height: 1.3;
}

.chemrytiq-page .chemrytiq-polypred-ich-table > span,
.chemrytiq-page .chemrytiq-polypred-ich-table > strong {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-polypred-ich-table > em {
  font-style: normal;
  font-weight: 400;
}

.chemrytiq-page .chemrytiq-polypred-asd-summary span,
.chemrytiq-page .chemrytiq-polypred-polymer-list span {
  display: grid;
  min-width: 0;
  gap: 2px;
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 7px;
  background: #ffffff;
  padding: 6px 7px;
}

.chemrytiq-page .chemrytiq-polypred-asd-summary em,
.chemrytiq-page .chemrytiq-polypred-asd-table b,
.chemrytiq-page .chemrytiq-polypred-polymer-list em,
.chemrytiq-page .chemrytiq-polypred-driver-list em {
  color: var(--polypred-text-muted);
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-polypred-asd-summary em {
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-polypred-asd-summary b,
.chemrytiq-page .chemrytiq-polypred-polymer-list b,
.chemrytiq-page .chemrytiq-polypred-driver-list b,
.chemrytiq-page .chemrytiq-polypred-driver-list strong {
  min-width: 0;
  overflow: hidden;
  color: var(--polypred-text);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-polypred-asd-table,
.chemrytiq-page .chemrytiq-polypred-thermo-table {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) minmax(6rem, 8rem) minmax(0, 1fr);
  gap: 0 10px;
  align-items: center;
  margin: 8px 0;
}

.chemrytiq-page .chemrytiq-polypred-thermo-table {
  grid-template-columns: minmax(8rem, 12rem) minmax(7rem, 9rem) minmax(0, 1fr);
}

.chemrytiq-page .chemrytiq-polypred-asd-table > span,
.chemrytiq-page .chemrytiq-polypred-asd-table > strong,
.chemrytiq-page .chemrytiq-polypred-asd-table > em,
.chemrytiq-page .chemrytiq-polypred-thermo-table > span,
.chemrytiq-page .chemrytiq-polypred-thermo-table > strong,
.chemrytiq-page .chemrytiq-polypred-thermo-table > em {
  min-width: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  padding: 5px 0;
  font-size: 11px;
  line-height: 1.3;
}

.chemrytiq-page .chemrytiq-polypred-asd-table > span,
.chemrytiq-page .chemrytiq-polypred-asd-table > strong,
.chemrytiq-page .chemrytiq-polypred-thermo-table > span,
.chemrytiq-page .chemrytiq-polypred-thermo-table > strong {
  color: var(--polypred-text);
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-polypred-asd-table > em,
.chemrytiq-page .chemrytiq-polypred-thermo-table > em {
  color: var(--polypred-text);
  font-style: normal;
  font-weight: 400;
}

.chemrytiq-page .chemrytiq-polypred-thermo-table > b {
  color: var(--polypred-text-muted);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-polypred-polymer-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0;
}

.chemrytiq-page .chemrytiq-polypred-polymer-list small {
  color: var(--polypred-text);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-polypred-polymer-table {
  display: grid;
  grid-template-columns: minmax(6.5rem, 9rem) minmax(3.5rem, 5rem) minmax(5.5rem, 7rem) minmax(5.5rem, 7rem) minmax(0, 1fr);
  gap: 0 10px;
  align-items: center;
  margin: 8px 0;
}

.chemrytiq-page .chemrytiq-polypred-polymer-table > b {
  color: var(--polypred-text-muted);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-polypred-polymer-table > span,
.chemrytiq-page .chemrytiq-polypred-polymer-table > strong,
.chemrytiq-page .chemrytiq-polypred-polymer-table > em {
  min-width: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
  padding: 5px 0;
  color: var(--polypred-text);
  font-size: 11px;
  line-height: 1.3;
}

.chemrytiq-page .chemrytiq-polypred-polymer-table > span,
.chemrytiq-page .chemrytiq-polypred-polymer-table > strong {
  overflow: hidden;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-polypred-polymer-table > em {
  font-style: normal;
  font-weight: 400;
}

.chemrytiq-page .chemrytiq-polypred-stability-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  margin: 8px 0;
}

.chemrytiq-page .chemrytiq-polypred-stability-chart,
.chemrytiq-page .chemrytiq-polypred-stability-info {
  min-width: 0;
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 7px;
  background: #ffffff;
  padding: 7px;
}

.chemrytiq-page .chemrytiq-polypred-stability-chart svg {
  display: block;
  width: 100%;
  height: 150px;
}

.chemrytiq-page .chemrytiq-polypred-stability-chart polyline {
  fill: none;
  stroke: #0059c7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.chemrytiq-page .chemrytiq-polypred-stability-chart line {
  stroke-width: 1.3;
}

.chemrytiq-page .chemrytiq-polypred-stability-chart line.ambient {
  stroke: #dc2626;
  stroke-dasharray: 4 3;
}

.chemrytiq-page .chemrytiq-polypred-stability-chart line.target {
  stroke: #f59e0b;
  stroke-dasharray: 3 3;
}

.chemrytiq-page .chemrytiq-polypred-stability-chart circle {
  fill: #ffffff;
  stroke: #0059c7;
  stroke-width: 1.4;
}

.chemrytiq-page .chemrytiq-polypred-stability-chart text {
  fill: var(--polypred-text-muted);
  font-size: 9px;
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-polypred-stability-info {
  display: grid;
  align-content: start;
  gap: 6px;
}

.chemrytiq-page .chemrytiq-polypred-stability-info > strong {
  color: var(--polypred-text);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-polypred-stability-info span {
  display: grid;
  grid-template-columns: minmax(0, 8rem) minmax(0, 1fr);
  gap: 8px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  padding-bottom: 5px;
}

.chemrytiq-page .chemrytiq-polypred-stability-info em,
.chemrytiq-page .chemrytiq-polypred-stability-info b {
  min-width: 0;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-polypred-stability-info em {
  color: var(--polypred-text-muted);
  font-style: normal;
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-polypred-stability-info b {
  color: var(--polypred-text);
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-polypred-driver-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  margin: 8px 0;
}

.chemrytiq-page .chemrytiq-polypred-driver-list span {
  display: grid;
  grid-template-columns: minmax(0, 9rem) minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  padding: 4px 0;
}

.chemrytiq-page .chemrytiq-polypred-driver-list strong {
  text-align: right;
}

.chemrytiq-page .chemrytiq-polypred-solid-grid .chemrytiq-polypred-tool .chemrytiq-polypred-result {
  min-height: 6rem;
}

.chemrytiq-page .chemrytiq-polypred-result {
  display: grid;
  gap: 7px;
  min-height: 3.2rem;
  border: 1px solid #e3edf8;
  border-radius: 8px;
  background: var(--polypred-surface-soft);
  padding: 0.6rem;
}

.chemrytiq-page .chemrytiq-polypred-result.tone-good {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.chemrytiq-page .chemrytiq-polypred-result.tone-watch {
  border-color: #fde68a;
  background: #fffbeb;
}

.chemrytiq-page .chemrytiq-polypred-result.tone-risk {
  border-color: #fecaca;
  background: #fff5f5;
}

.chemrytiq-page .chemrytiq-polypred-result > strong {
  display: block;
  min-width: 0;
  overflow-x: auto;
  white-space: nowrap;
  color: var(--polypred-text);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
}

.chemrytiq-page .chemrytiq-polypred-morphology {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
}

.chemrytiq-page .chemrytiq-polypred-morphology-info {
  display: grid;
  gap: 7px;
  align-content: start;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-polypred-morphology-info > strong {
  color: var(--polypred-text);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
}

.chemrytiq-page .chemrytiq-polypred-conformer-panel {
  display: grid;
  gap: 5px;
  min-width: 0;
  overflow-x: auto;
}

.chemrytiq-page .chemrytiq-polypred-conformer-head,
.chemrytiq-page .chemrytiq-polypred-conformer-row {
  display: grid;
  grid-template-columns: 2.6rem minmax(5rem, 0.75fr) minmax(5.6rem, 0.8fr) minmax(6.2rem, 0.9fr) minmax(6.2rem, 0.9fr) minmax(4.4rem, 0.65fr) minmax(4.8rem, 0.7fr) minmax(5.2rem, 0.7fr) minmax(7.2rem, 1fr) minmax(7rem, 0.95fr) minmax(4rem, 0.5fr);
  gap: 4px;
  align-items: center;
  min-width: 74rem;
}

.chemrytiq-page .chemrytiq-polypred-tool .chemrytiq-polypred-conformer-head span {
  color: var(--polypred-text-muted);
  font-size: 9px;
  font-weight: 600;
  line-height: 1.15;
  text-transform: uppercase;
}

.chemrytiq-page .chemrytiq-polypred-conformer-row {
  min-width: 0;
  border: 1px solid #dbeafe;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--polypred-text-soft);
  cursor: pointer;
  font-size: 10px;
  line-height: 1.25;
  min-height: 28px;
  padding: 4px 6px;
}

.chemrytiq-page .chemrytiq-polypred-tool .chemrytiq-polypred-conformer-row span {
  min-width: 0;
  overflow: hidden;
  color: var(--polypred-text-soft);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-polypred-tool .chemrytiq-polypred-conformer-row span.is-good {
  color: #047857;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-polypred-tool .chemrytiq-polypred-conformer-row span.is-warn {
  color: #b45309;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-polypred-conformer-row input {
  width: 12px;
  height: 12px;
  margin: 0 5px 0 0;
  accent-color: var(--polypred-accent);
  vertical-align: -2px;
}

.chemrytiq-page .chemrytiq-polypred-result-grid,
.chemrytiq-page .chemrytiq-polypred-mini-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: 6px;
}

.chemrytiq-page .chemrytiq-polypred-result-grid span {
  display: grid;
  gap: 2px;
  min-width: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  padding: 5px 6px;
}

.chemrytiq-page .chemrytiq-polypred-result-grid em {
  overflow-wrap: anywhere;
  color: var(--polypred-text-muted);
  font-size: 9px;
  font-style: normal;
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-polypred-result-grid b {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #111827;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-polypred-feature-split {
  display: flex;
  min-height: 24px;
  overflow: hidden;
  border: 1px solid #cfe0f2;
  border-radius: 7px;
  background: #f7fbff;
}

.chemrytiq-page .chemrytiq-polypred-feature-split span {
  display: grid;
  min-width: 0;
  place-items: center;
  padding: 0 6px;
}

.chemrytiq-page .chemrytiq-polypred-feature-split span:first-child {
  background: #eaf4ff;
  color: #0f5f9f;
}

.chemrytiq-page .chemrytiq-polypred-feature-split span:last-child {
  background: #f4fdf9;
  color: #047857;
}

.chemrytiq-page .chemrytiq-polypred-feature-split b {
  overflow: hidden;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-polypred-feature-card {
  display: grid;
  gap: 8px;
}

.chemrytiq-page .chemrytiq-polypred-feature-head {
  display: grid;
  gap: 3px;
}

.chemrytiq-page .chemrytiq-polypred-feature-head strong {
  color: #12304d;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-polypred-feature-head span,
.chemrytiq-page .chemrytiq-polypred-feature-composition {
  margin: 0;
  color: #445d73;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-polypred-electronic-table {
  display: grid;
  grid-template-columns: minmax(8rem, 0.9fr) minmax(6rem, 0.55fr) minmax(12rem, 1.35fr);
  overflow: hidden;
  border: 1px solid #d7e3ef;
  border-radius: 8px;
  background: #ffffff;
}

.chemrytiq-page .chemrytiq-polypred-electronic-table > * {
  min-width: 0;
  border-right: 1px solid #e3edf8;
  border-bottom: 1px solid #e3edf8;
  padding: 6px 8px;
}

.chemrytiq-page .chemrytiq-polypred-electronic-table > *:nth-child(3n) {
  border-right: 0;
}

.chemrytiq-page .chemrytiq-polypred-electronic-table > *:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.chemrytiq-page .chemrytiq-polypred-electronic-table b {
  background: #f7fbff;
  color: #445d73;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-polypred-electronic-table span,
.chemrytiq-page .chemrytiq-polypred-electronic-table strong,
.chemrytiq-page .chemrytiq-polypred-electronic-table em {
  color: #12304d;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 650;
  line-height: 1.3;
}

.chemrytiq-page .chemrytiq-polypred-electronic-table em {
  color: #445d73;
  font-weight: 500;
}

.chemrytiq-page .chemrytiq-polypred-state-table {
  display: grid;
  grid-template-columns: minmax(7rem, 1fr) minmax(4.5rem, 0.5fr) minmax(7rem, 0.75fr) minmax(8rem, 0.9fr) minmax(5rem, 0.55fr) minmax(5rem, 0.55fr) minmax(6rem, 0.7fr) minmax(7rem, 0.8fr);
  overflow: hidden;
  border: 1px solid #d7e3ef;
  border-radius: 8px;
  background: #ffffff;
}

.chemrytiq-page .chemrytiq-polypred-state-table > * {
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid #e3edf8;
  border-bottom: 1px solid #e3edf8;
  padding: 6px 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-polypred-state-table > *:nth-child(8n) {
  border-right: 0;
}

.chemrytiq-page .chemrytiq-polypred-state-table > *:nth-last-child(-n + 8) {
  border-bottom: 0;
}

.chemrytiq-page .chemrytiq-polypred-state-table b {
  background: #f7fbff;
  color: #445d73;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.2;
}

.chemrytiq-page .chemrytiq-polypred-state-table span,
.chemrytiq-page .chemrytiq-polypred-state-table strong,
.chemrytiq-page .chemrytiq-polypred-state-table em {
  color: #12304d;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 650;
  line-height: 1.3;
}

.chemrytiq-page .chemrytiq-polypred-state-table em {
  color: #445d73;
  font-weight: 500;
}

.chemrytiq-page .chemrytiq-polypred-state-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chemrytiq-page .chemrytiq-polypred-state-summary span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  border: 1px solid #d7e3ef;
  border-radius: 999px;
  background: #f7fbff;
  color: #445d73;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
  padding: 0 0.65rem;
}

.chemrytiq-page .chemrytiq-polypred-state-summary b {
  color: #12304d;
}

.chemrytiq-page .chemrytiq-polypred-state-list {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-polypred-state-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-polypred-state-item {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid #d7e3ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 7px;
}

.chemrytiq-page .chemrytiq-polypred-state-item.is-active {
  border-color: #7db6e8;
  background: #eef6ff;
}

.chemrytiq-page .chemrytiq-polypred-state-item > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
}

.chemrytiq-page .chemrytiq-polypred-state-item strong {
  color: #12304d;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-polypred-state-item span,
.chemrytiq-page .chemrytiq-polypred-state-item p {
  margin: 0;
  color: #445d73;
  font-size: 10.5px;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-polypred-state-structure {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 21px;
  gap: 5px;
  align-items: center;
  min-width: 0;
}

.chemrytiq-page .chemrytiq-polypred-state-structure code {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e3edf8;
  border-radius: 999px;
  background: #f7fbff;
  color: #12304d;
  font-family: inherit;
  font-size: 10px;
  font-weight: 500;
  line-height: 19px;
  padding: 0 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-polypred-state-structure button {
  display: inline-grid;
  width: 21px;
  height: 21px;
  min-height: 21px;
  place-items: center;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #ffffff;
  color: #0059c7;
  cursor: pointer;
  padding: 0;
}

.chemrytiq-page .chemrytiq-polypred-state-structure button:hover,
.chemrytiq-page .chemrytiq-polypred-state-structure button.is-copied {
  border-color: #0059c7;
  background: #eaf4ff;
}

.chemrytiq-page .chemrytiq-polypred-state-structure svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.chemrytiq-page .chemrytiq-polypred-state-table .chemrytiq-polypred-state-cell.is-active {
  background: #eef6ff;
  color: #0f5f9f;
  font-weight: 850;
}

.chemrytiq-page .chemrytiq-polypred-speciation {
  display: grid;
  gap: 5px;
  min-width: 0;
  border: 1px solid #d7e3ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 6px;
}

.chemrytiq-page .chemrytiq-polypred-speciation svg {
  display: block;
  width: 100%;
  height: 220px;
  max-height: 220px;
}

.chemrytiq-page .chemrytiq-polypred-speciation .axis {
  stroke: #94a3b8;
  stroke-width: 1;
}

.chemrytiq-page .chemrytiq-polypred-speciation text {
  fill: #64748b;
  font-size: 7px !important;
  font-weight: 600 !important;
}

.chemrytiq-page .chemrytiq-polypred-speciation polyline {
  fill: none;
  stroke: var(--state-color);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  cursor: pointer;
  opacity: 0.72;
}

.chemrytiq-page .chemrytiq-polypred-speciation polyline:hover,
.chemrytiq-page .chemrytiq-polypred-speciation polyline.is-active {
  stroke-width: 3.4;
  opacity: 1;
}

.chemrytiq-page .chemrytiq-polypred-speciation-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chemrytiq-page .chemrytiq-polypred-speciation-legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #445d73;
  font-size: 10px;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-polypred-speciation-legend i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.chemrytiq-page .chemrytiq-polypred-state-property {
  display: grid;
  gap: 6px;
  border: 1px solid #d7e3ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 7px;
}

.chemrytiq-page .chemrytiq-polypred-state-property > strong {
  color: #12304d;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-polypred-state-property > div {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(5rem, 0.55fr) minmax(5rem, 0.55fr);
  overflow: hidden;
  border: 1px solid #e3edf8;
  border-radius: 7px;
}

.chemrytiq-page .chemrytiq-polypred-state-property span,
.chemrytiq-page .chemrytiq-polypred-state-property b,
.chemrytiq-page .chemrytiq-polypred-state-property em {
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid #e3edf8;
  border-bottom: 1px solid #e3edf8;
  color: #445d73;
  font-size: 0.76rem;
  font-style: normal;
  line-height: 1.3;
  padding: 5px 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-polypred-state-property b {
  color: #12304d;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-polypred-state-property em {
  border-right: 0;
}

.chemrytiq-page .chemrytiq-polypred-state-property span:nth-last-child(-n + 3),
.chemrytiq-page .chemrytiq-polypred-state-property b:nth-last-child(-n + 2),
.chemrytiq-page .chemrytiq-polypred-state-property em:last-child {
  border-bottom: 0;
}

.chemrytiq-page .chemrytiq-polypred-state-property p {
  margin: 0;
  border: 1px solid #fed7aa;
  border-radius: 7px;
  background: #fff8ef;
  color: #9a3412;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  padding: 6px 8px;
}

.chemrytiq-page .chemrytiq-polypred-feature-visuals {
  border: 1px dashed #cfe0f2;
  border-radius: 8px;
  background: #fbfdff;
  padding: 6px;
}

.chemrytiq-page .chemrytiq-polypred-feature-visuals summary {
  cursor: pointer;
  color: #0f5f9f;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.chemrytiq-page .chemrytiq-polypred-vector-heatmap {
  display: grid;
  grid-template-columns: repeat(31, minmax(4px, 1fr));
  gap: 2px;
  min-height: 22px;
  border: 1px solid #d7e3ef;
  border-radius: 7px;
  background: #ffffff;
  padding: 4px;
}

.chemrytiq-page .chemrytiq-polypred-vector-heatmap span {
  min-width: 0;
  border-radius: 3px;
  cursor: help;
}

.chemrytiq-page .chemrytiq-polypred-vector-heatmap span.is-positive {
  background: rgba(15, 95, 159, var(--feature-alpha));
}

.chemrytiq-page .chemrytiq-polypred-vector-heatmap span.is-negative {
  background: rgba(220, 38, 38, var(--feature-alpha));
}

.chemrytiq-page .chemrytiq-polypred-orbital-proxy {
  display: grid;
  gap: 6px;
  border: 1px solid #d7e3ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 6px;
}

.chemrytiq-page .chemrytiq-polypred-orbital-proxy > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chemrytiq-page .chemrytiq-polypred-orbital-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.chemrytiq-page .chemrytiq-polypred-orbital-tabs label {
  min-height: 21px;
  border: 1px solid #bfd7ee;
  border-radius: 7px;
  background: #eef6ff;
  color: #0f5f9f;
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  padding: 5px 7px;
}

.chemrytiq-page #polypred-orbital-homo:checked ~ .chemrytiq-polypred-orbital-tabs label[for="polypred-orbital-homo"],
.chemrytiq-page #polypred-orbital-lumo:checked ~ .chemrytiq-polypred-orbital-tabs label[for="polypred-orbital-lumo"],
.chemrytiq-page #polypred-orbital-esp:checked ~ .chemrytiq-polypred-orbital-tabs label[for="polypred-orbital-esp"] {
  border-color: #0b6bdc;
  background: #0b6bdc;
  color: #ffffff;
}

.chemrytiq-page .chemrytiq-polypred-orbital-panel {
  display: none;
  gap: 6px;
}

.chemrytiq-page #polypred-orbital-homo:checked ~ .chemrytiq-polypred-orbital-panel.is-homo,
.chemrytiq-page #polypred-orbital-lumo:checked ~ .chemrytiq-polypred-orbital-panel.is-lumo,
.chemrytiq-page #polypred-orbital-esp:checked ~ .chemrytiq-polypred-orbital-panel.is-esp {
  display: grid;
}

.chemrytiq-page .chemrytiq-polypred-orbital-panel svg {
  width: 100%;
  height: 72px;
  border: 1px solid #edf3fa;
  border-radius: 7px;
  background: #fbfdff;
}

.chemrytiq-page .chemrytiq-polypred-orbital-panel line {
  stroke: #cbd9e8;
  stroke-width: 1;
}

.chemrytiq-page .chemrytiq-polypred-orbital-panel circle.homo {
  fill: rgba(14, 165, 233, 0.38);
  stroke: #0f5f9f;
  stroke-width: 1.5;
}

.chemrytiq-page .chemrytiq-polypred-orbital-panel circle.lumo {
  fill: rgba(16, 185, 129, 0.36);
  stroke: #047857;
  stroke-width: 1.5;
}

.chemrytiq-page .chemrytiq-polypred-orbital-panel p {
  margin: 0;
  color: #445d73;
  font-size: 0.78rem;
  line-height: 1.35;
}

.chemrytiq-page .chemrytiq-polypred-esp-scale {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 6px;
  align-items: center;
}

.chemrytiq-page .chemrytiq-polypred-esp-scale span {
  color: #445d73;
  font-size: 10px;
  font-weight: 800;
}

.chemrytiq-page .chemrytiq-polypred-esp-scale i {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2563eb, #f8fafc, #dc2626);
}

.chemrytiq-page .chemrytiq-polypred-mini-table {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.chemrytiq-page .chemrytiq-polypred-mini-table span,
.chemrytiq-page .chemrytiq-polypred-mini-table b {
  min-width: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
  color: var(--polypred-text-soft);
  font-size: 10px;
  line-height: 1.35;
  padding-bottom: 4px;
}

.chemrytiq-page .chemrytiq-polypred-mini-table span {
  overflow-x: auto;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-polypred-mini-table b {
  color: var(--polypred-text);
  font-weight: 600;
  text-align: right;
}

.chemrytiq-page .chemrytiq-polypred-textarea {
  width: 100%;
  min-height: 8rem;
  resize: vertical;
  border: 1px solid #cfe0f2;
  border-radius: 8px;
  background: #ffffff;
  color: var(--polypred-text);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  line-height: 1.35;
  padding: 0.55rem;
}

.chemrytiq-page .chemrytiq-polypred-textarea:focus {
  border-color: var(--polypred-accent);
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.12);
  outline: none;
}

.chemrytiq-page .chemrytiq-polypred-spinner {
  width: 12px;
  height: 12px;
  border: 2px solid #bfdbfe;
  border-top-color: var(--polypred-accent);
  border-radius: 999px;
  animation: chemrytiq-polypred-spin 0.8s linear infinite;
}

.chemrytiq-page .chemrytiq-polypred-habit {
  display: grid;
  place-items: center;
  min-height: 0;
  height: 11rem;
  overflow: hidden;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #ffffff;
  padding: 6px;
}

.chemrytiq-page .chemrytiq-polypred-habit svg {
  display: block;
  width: min(50%, 16rem);
  max-width: 16rem;
  height: auto;
  max-height: 9rem;
}

.chemrytiq-page .chemrytiq-polypred-habit svg text {
  font-size: 10px !important;
  font-weight: 650 !important;
}

/* Scientific UI rule: keep labels and graph text compact so measured values,
   structures, units, and warnings remain the visual priority. */
.chemrytiq-page .chemrytiq-polypred,
.chemrytiq-page .chemrytiq-polypred-empty {
  font-size: 12px;
  line-height: 1.45;
}

.chemrytiq-page .chemrytiq-polypred-empty strong,
.chemrytiq-page .chemrytiq-polypred-header h3,
.chemrytiq-page .chemrytiq-polypred-block h4,
.chemrytiq-page .chemrytiq-polypred-tool strong,
.chemrytiq-page .chemrytiq-polypred-result > strong,
.chemrytiq-page .chemrytiq-polypred-morphology-info > strong {
  font-weight: 650;
  letter-spacing: 0;
}

.chemrytiq-page .chemrytiq-polypred-header h3 {
  font-size: 14px;
}

.chemrytiq-page .chemrytiq-polypred-block h4,
.chemrytiq-page .chemrytiq-polypred-empty strong {
  font-size: 13px;
}

.chemrytiq-page .chemrytiq-polypred-tool strong,
.chemrytiq-page .chemrytiq-polypred-result > strong,
.chemrytiq-page .chemrytiq-polypred-morphology-info > strong {
  font-size: 12px;
}

.chemrytiq-page .chemrytiq-polypred-kicker,
.chemrytiq-page .chemrytiq-polypred-block-head span,
.chemrytiq-page .chemrytiq-polypred-block small,
.chemrytiq-page .chemrytiq-polypred-pack em,
.chemrytiq-page .chemrytiq-polypred-result-grid em,
.chemrytiq-page .chemrytiq-polypred-ml-controls label span,
  .chemrytiq-page .chemrytiq-polypred-onnx-metrics em,
  .chemrytiq-page .chemrytiq-polypred-onnx-rows span,
  .chemrytiq-page .chemrytiq-polypred-tool .chemrytiq-polypred-conformer-head span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
}

.chemrytiq-page .chemrytiq-polypred-header p,
.chemrytiq-page .chemrytiq-polypred-prerun-copy p,
.chemrytiq-page .chemrytiq-polypred-solvent p,
.chemrytiq-page .chemrytiq-polypred-actions p,
.chemrytiq-page .chemrytiq-polypred-result p,
.chemrytiq-page .chemrytiq-polypred-tool span {
  font-size: 11px;
  font-weight: 400;
}

.chemrytiq-page .chemrytiq-polypred-empty button,
.chemrytiq-page .chemrytiq-polypred button {
  min-height: 26px;
  border-radius: 0.25rem;
  font-size: 11px;
  font-weight: 600;
  padding: 0 10px;
}

.chemrytiq-page .chemrytiq-polypred-empty button[data-polypred-predict] {
  min-height: 30px;
  border-radius: 0.25rem;
  font-size: 12px;
  font-weight: 650;
}

.chemrytiq-page .chemrytiq-polypred-pack b,
.chemrytiq-page .chemrytiq-polypred-overall strong,
.chemrytiq-page .chemrytiq-polypred-score,
.chemrytiq-page .chemrytiq-polypred-solvent b,
.chemrytiq-page .chemrytiq-polypred-result-grid b,
.chemrytiq-page .chemrytiq-polypred-mini-table b,
.chemrytiq-page .chemrytiq-polypred-onnx-metrics b,
.chemrytiq-page .chemrytiq-polypred-onnx-rows b {
  font-weight: 600;
}

.chemrytiq-page .chemrytiq-polypred-overall strong {
  font-size: 15px;
}

.chemrytiq-page .chemrytiq-polypred-pack b,
.chemrytiq-page .chemrytiq-polypred-score,
.chemrytiq-page .chemrytiq-polypred-solvent b {
  font-size: 12px;
}

.chemrytiq-page .chemrytiq-polypred-result-grid b,
.chemrytiq-page .chemrytiq-polypred-mini-table span,
.chemrytiq-page .chemrytiq-polypred-mini-table b,
.chemrytiq-page .chemrytiq-polypred-onnx-metrics b,
.chemrytiq-page .chemrytiq-polypred-onnx-rows b {
  font-size: 11px;
}

.chemrytiq-page .chemrytiq-polypred-mini-table {
  grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr);
  max-width: 44rem;
  gap: 0 12px;
}

.chemrytiq-page .chemrytiq-polypred-mini-table span,
.chemrytiq-page .chemrytiq-polypred-mini-table b {
  min-height: 28px;
  padding: 6px 0;
}

.chemrytiq-page .chemrytiq-polypred-mini-table b {
  overflow-wrap: anywhere;
  text-align: left;
  white-space: normal;
}

.chemrytiq-page .chemrytiq-polypred-result-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 16rem));
}

.chemrytiq-page .chemrytiq-polypred-result-grid span {
  min-height: 46px;
}

.chemrytiq-page .chemrytiq-polypred-result-grid b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chemrytiq-page .chemrytiq-polypred-ml-controls input,
.chemrytiq-page .chemrytiq-polypred-ml-controls select,
.chemrytiq-page .chemrytiq-polypred-textarea {
  font-size: 11px;
  font-weight: 400;
}

.chemrytiq-page .chemrytiq-polypred-onnx-head span {
  font-size: 12px;
  font-weight: 650;
}

.chemrytiq-page .chemrytiq-polypred-onnx-head strong {
  font-size: 14px;
  font-weight: 650;
}

.chemrytiq-page .chemrytiq-polypred-onnx-head small {
  font-weight: 500;
}

.chemrytiq-page .chemrytiq-polypred,
.chemrytiq-page .chemrytiq-polypred-empty {
  color: #526176 !important;
  font-family: inherit !important;
  font-size: 0.84rem !important;
  line-height: 1.42 !important;
}

.chemrytiq-page .chemrytiq-polypred *,
.chemrytiq-page .chemrytiq-polypred-empty * {
  letter-spacing: 0 !important;
}

.chemrytiq-page .chemrytiq-polypred-kicker,
.chemrytiq-page .chemrytiq-polypred-block-head span,
.chemrytiq-page .chemrytiq-polypred-block small,
.chemrytiq-page .chemrytiq-polypred-pack em,
.chemrytiq-page .chemrytiq-polypred-result-grid em,
.chemrytiq-page .chemrytiq-polypred-ml-controls label span,
.chemrytiq-page .chemrytiq-polypred-onnx-metrics em,
.chemrytiq-page .chemrytiq-polypred-onnx-rows span {
  color: #445d73 !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

.chemrytiq-page .chemrytiq-polypred-kicker {
  color: #0b6fbf !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}

.chemrytiq-page .chemrytiq-polypred-header h3,
.chemrytiq-page .chemrytiq-polypred-block h4 {
  color: #12304d !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

.chemrytiq-page .chemrytiq-polypred-header h3 {
  font-size: 1rem !important;
}

.chemrytiq-page .chemrytiq-polypred-header p,
.chemrytiq-page .chemrytiq-polypred-actions p,
.chemrytiq-page .chemrytiq-polypred-solvent p,
.chemrytiq-page .chemrytiq-polypred-drivers p,
.chemrytiq-page .chemrytiq-polypred-tool span,
.chemrytiq-page .chemrytiq-polypred-result p,
.chemrytiq-page .chemrytiq-polypred-prerun-copy p {
  color: #445d73 !important;
  font-size: 0.84rem !important;
  font-weight: 400 !important;
  line-height: 1.42 !important;
}

.chemrytiq-page .chemrytiq-polypred-endpoint summary span:nth-child(2),
.chemrytiq-page .chemrytiq-polypred-solvent strong,
.chemrytiq-page .chemrytiq-polypred-tool strong,
.chemrytiq-page .chemrytiq-polypred-result > strong,
.chemrytiq-page .chemrytiq-polypred-onnx-head span {
  color: #12304d !important;
  font-size: 0.96rem !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

.chemrytiq-page .chemrytiq-polypred-score,
.chemrytiq-page .chemrytiq-polypred-endpoint summary b,
.chemrytiq-page .chemrytiq-polypred-solvent b,
.chemrytiq-page .chemrytiq-polypred-solvent span,
.chemrytiq-page .chemrytiq-polypred-solvent small,
.chemrytiq-page .chemrytiq-polypred-drivers b,
.chemrytiq-page .chemrytiq-polypred-pack b,
.chemrytiq-page .chemrytiq-polypred-result-grid b,
.chemrytiq-page .chemrytiq-polypred-mini-table span,
.chemrytiq-page .chemrytiq-polypred-mini-table b,
.chemrytiq-page .chemrytiq-polypred-onnx-metrics b,
.chemrytiq-page .chemrytiq-polypred-onnx-rows b {
  color: #12304d !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

.chemrytiq-page .chemrytiq-polypred-score i {
  width: 24px !important;
  height: 24px !important;
  flex: 0 0 24px !important;
}

.chemrytiq-page .chemrytiq-polypred-score > b {
  font-size: 11px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
}

.chemrytiq-page .chemrytiq-polypred-drivers p b {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 2.4rem !important;
  min-height: 20px !important;
  border: 1px solid #dbeafe !important;
  border-radius: 999px !important;
  padding: 0 7px !important;
  font-size: 10px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
}

.chemrytiq-page .chemrytiq-polypred-drivers p.is-risk b {
  border-color: rgba(239, 68, 68, 0.35) !important;
  background: #fef2f2 !important;
  color: #b91c1c !important;
}

.chemrytiq-page .chemrytiq-polypred-drivers p.is-protective b {
  border-color: rgba(16, 185, 129, 0.35) !important;
  background: #ecfdf5 !important;
  color: #047857 !important;
}

.chemrytiq-page .chemrytiq-polypred-onnx-head strong {
  color: #12304d !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
}

.chemrytiq-page .chemrytiq-polypred-actions p {
  border-left-width: 2px !important;
  font-size: 0.84rem !important;
  padding: 0.55rem 0.7rem !important;
}

.chemrytiq-page .chemrytiq-polypred-tool > div:first-child strong {
  font-size: 0.96rem !important;
}

.chemrytiq-page .chemrytiq-polypred-tool > div:first-child span {
  color: #445d73 !important;
  font-size: 0.84rem !important;
  font-weight: 400 !important;
  line-height: 1.42 !important;
}

.chemrytiq-page .chemrytiq-polypred-result {
  padding: 0.6rem 0.7rem !important;
}

.chemrytiq-page .chemrytiq-polypred-endpoint,
.chemrytiq-page .chemrytiq-polypred-solvent {
  padding: 0.65rem !important;
}

.chemrytiq-page .chemrytiq-polypred-endpoints,
.chemrytiq-page .chemrytiq-polypred-solvents {
  gap: 0.55rem !important;
}

.chemrytiq-page .chemrytiq-polypred-meter {
  height: 7px !important;
  margin-top: 8px !important;
}

.chemrytiq-page .chemrytiq-polypred-empty button,
.chemrytiq-page .chemrytiq-polypred button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  min-height: 21px !important;
  height: 21px !important;
  margin-top: 0.5rem !important;
  padding: 0 0.55rem !important;
  border: 1px solid #bfd7ee !important;
  border-radius: 7px !important;
  background: #eef6ff !important;
  color: #0f5f9f !important;
  cursor: pointer !important;
  font: inherit !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-align: center !important;
}

.chemrytiq-page .chemrytiq-polypred-empty button:hover,
.chemrytiq-page .chemrytiq-polypred button:hover {
  border-color: #7db6e8 !important;
  background: #dceeff !important;
  color: #0f5f9f !important;
}

.chemrytiq-page .chemrytiq-polypred-empty button:disabled,
.chemrytiq-page .chemrytiq-polypred button:disabled {
  cursor: not-allowed !important;
  opacity: 0.65 !important;
}

.chemrytiq-page .chemrytiq-polypred-module-tabbar button {
  min-height: 24px !important;
  height: auto !important;
  margin-top: 0 !important;
  padding: 0 10px !important;
  border-color: #bfdbfe !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #0059c7 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}

.chemrytiq-page .chemrytiq-polypred-module-tabbar button.is-active {
  border-color: #0059c7 !important;
  background: #eaf4ff !important;
  color: #003f8a !important;
}

.chemrytiq-page .chemrytiq-polypred-state-structure button {
  display: inline-grid !important;
  width: 21px !important;
  min-width: 21px !important;
  min-height: 21px !important;
  height: 21px !important;
  margin-top: 0 !important;
  place-items: center !important;
  padding: 0 !important;
  border-color: #bfdbfe !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #0059c7 !important;
}

.chemrytiq-page .chemrytiq-polypred-state-structure button:hover,
.chemrytiq-page .chemrytiq-polypred-state-structure button.is-copied {
  border-color: #0059c7 !important;
  background: #eaf4ff !important;
}

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

.chemrytiq-page .chemrytiq-polypred-result-grid b {
  overflow: visible !important;
  overflow-wrap: anywhere !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

.chemrytiq-page .chemrytiq-polypred-header code,
.chemrytiq-page .chemrytiq-polypred-prerun-source code {
  color: #526176 !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

.chemrytiq-page .chemrytiq-polypred-ml-controls input,
.chemrytiq-page .chemrytiq-polypred-ml-controls select,
.chemrytiq-page .chemrytiq-polypred-textarea {
  color: #445d73 !important;
  font-size: 0.82rem !important;
  font-weight: 400 !important;
}

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

@media (max-width: 900px) {
  .chemrytiq-page .chemrytiq-polypred-prerun,
  .chemrytiq-page .chemrytiq-polypred-structure,
  .chemrytiq-page .chemrytiq-polypred-header {
    grid-template-columns: 1fr;
    display: grid;
  }

  .chemrytiq-page .chemrytiq-polypred-prerun-capabilities,
  .chemrytiq-page .chemrytiq-polypred-pack {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  }

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

  .chemrytiq-page .chemrytiq-polypred-cosmors-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

  .chemrytiq-page .chemrytiq-polypred-polymer-list,
  .chemrytiq-page .chemrytiq-polypred-driver-list,
  .chemrytiq-page .chemrytiq-polypred-stability-map,
  .chemrytiq-page .chemrytiq-polypred-state-split,
  .chemrytiq-page .chemrytiq-polypred-s0-ph,
  .chemrytiq-page .chemrytiq-polypred-s0-heatmap,
  .chemrytiq-page .chemrytiq-polypred-onnx-split,
  .chemrytiq-page .chemrytiq-polypred-onnx-output-split,
  .chemrytiq-page .chemrytiq-polypred-matrix-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .chemrytiq-page .chemrytiq-polypred-prerun-source,
  .chemrytiq-page .chemrytiq-polypred-prerun-capabilities,
  .chemrytiq-page .chemrytiq-polypred-pack,
  .chemrytiq-page .chemrytiq-polypred-endpoints,
  .chemrytiq-page .chemrytiq-polypred-solvents,
  .chemrytiq-page .chemrytiq-polypred-tool-grid,
  .chemrytiq-page .chemrytiq-polypred-solid-grid,
  .chemrytiq-page .chemrytiq-polypred-ml-controls,
  .chemrytiq-page .chemrytiq-polypred-result-grid {
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-polypred-block-head {
    display: grid;
  }

  .chemrytiq-page .chemrytiq-polypred-pack span,
  .chemrytiq-page .chemrytiq-polypred-pack span:nth-child(4n),
  .chemrytiq-page .chemrytiq-polypred-pack span:nth-last-child(-n + 4) {
    border-right: 0;
    border-bottom: 1px solid #e3edf8;
  }

  .chemrytiq-page .chemrytiq-polypred-pack span:last-child {
    border-bottom: 0;
  }

  .chemrytiq-page .chemrytiq-polypred-electronic-table {
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-polypred-electronic-table > * {
    border-right: 0;
  }

  .chemrytiq-page .chemrytiq-polypred-electronic-table > *:nth-last-child(-n + 3) {
    border-bottom: 1px solid #e3edf8;
  }

  .chemrytiq-page .chemrytiq-polypred-electronic-table > *:last-child {
    border-bottom: 0;
  }

  .chemrytiq-page .chemrytiq-polypred-state-table {
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-polypred-state-table > * {
    border-right: 0;
  }

  .chemrytiq-page .chemrytiq-polypred-state-table > *:nth-last-child(-n + 8) {
    border-bottom: 1px solid #e3edf8;
  }

  .chemrytiq-page .chemrytiq-polypred-state-table > *:last-child {
    border-bottom: 0;
  }

  .chemrytiq-page .chemrytiq-polypred-asd-summary,
  .chemrytiq-page .chemrytiq-polypred-s0-summary,
  .chemrytiq-page .chemrytiq-polypred-s0-table,
  .chemrytiq-page .chemrytiq-polypred-onnx-neighbors,
  .chemrytiq-page .chemrytiq-polypred-onnx-delta,
  .chemrytiq-page .chemrytiq-polypred-ich-table,
  .chemrytiq-page .chemrytiq-polypred-asd-table,
  .chemrytiq-page .chemrytiq-polypred-thermo-table,
  .chemrytiq-page .chemrytiq-polypred-polymer-table {
    grid-template-columns: 1fr;
  }

  .chemrytiq-page .chemrytiq-polypred-s0-table > b,
  .chemrytiq-page .chemrytiq-polypred-onnx-neighbors > b,
  .chemrytiq-page .chemrytiq-polypred-onnx-delta > b,
  .chemrytiq-page .chemrytiq-polypred-ich-table > b,
  .chemrytiq-page .chemrytiq-polypred-asd-table > b,
  .chemrytiq-page .chemrytiq-polypred-thermo-table > b,
  .chemrytiq-page .chemrytiq-polypred-polymer-table > b {
    display: none;
  }

  .chemrytiq-page .chemrytiq-polypred-driver-list span {
    grid-template-columns: 1fr auto;
  }

  .chemrytiq-page .chemrytiq-polypred-driver-list em {
    grid-column: 1 / -1;
  }
}
