.chemrytdsc-action-group,.chemrytdsc-graph-legend,.chemrytdsc-preset-toolbar{display:flex;gap:.65rem;flex-wrap:wrap;align-items:center}.chemrytdsc-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:21px;min-height:21px;padding:0 14px;border-radius:999px;border:1px solid transparent;cursor:pointer;font-size:.89rem;font-weight:700;line-height:1.15;transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease}.chemrytdsc-btn:hover,.chemrytdsc-btn:focus-visible{transform:translateY(-1px);outline:none}.chemrytdsc-btn:disabled{opacity:.64;cursor:not-allowed;transform:none}.chemrytdsc-btn--primary{background:linear-gradient(135deg,#0d6e8a 0%,#1793aa 100%);color:#fff;border-color:#0d6e8a;box-shadow:0 14px 32px rgba(13,110,138,.22)}.chemrytdsc-btn--secondary{background:#f4fafc;color:#163347;border-color:#d6e4ed}.chemrytdsc-btn--ghost{background:transparent;color:#5c7386;border-color:#d6e4ed}.chemrytdsc-btn--chip{height:21px;min-height:21px;padding:0 14px;background:#f3f8fb;color:#1a4d6b;border-color:#d9e7ef}.chemrytdsc-field{display:flex;flex-direction:column;gap:.42rem;min-width:0}.chemrytdsc-field--wide{grid-column:1 / -1}.chemrytdsc-label,.chemrytdsc-legend{font-size:.85rem;font-weight:700;color:#375069}.chemrytdsc-legend{padding:0 .35rem}.chemrytdsc-input,.chemrytdsc-textarea{width:100%;min-height:44px;border-radius:14px;border:1px solid #cbd9e2;background:#fff;color:#173447;font-size:.95rem;padding:.72rem .84rem;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}.chemrytdsc-input--compact{min-width:160px;max-width:200px}.chemrytdsc-input:focus,.chemrytdsc-textarea:focus{outline:none;border-color:#2d73d7;box-shadow:0 0 0 3px rgba(45,115,215,.14)}.chemrytdsc-input[readonly],.chemrytdsc-textarea[readonly]{background:#f6f9fb}.chemrytdsc-textarea{min-height:88px;resize:vertical}.chemrytdsc-inline-note,.chemrytdsc-graph-caption,.chemrytdsc-empty-state,.chemrytdsc-field-error,.chemrytdsc-summary-list,.chemrytdsc-output-list,.chemrytdsc-disclaimer,.chemrytdsc-field-meta,.chemrytdsc-assumption-list,.chemrytdsc-comparison-status{color:#597384;line-height:1.58;font-size:.92rem}.chemrytdsc-inline-note{padding:.85rem .95rem;border-radius:14px;border:1px dashed #d5e3eb;background:#f7fbfd}.chemrytdsc-field-meta{min-height:1.2rem;font-size:.82rem;color:#4b6a7e}.chemrytdsc-field-error{min-height:1.2rem;color:#b14638;font-size:.82rem;line-height:1.35}.chemrytdsc-input.chemrytdsc-input--invalid,.chemrytdsc-textarea.chemrytdsc-textarea--invalid{border-color:#cf5c4d;background:#fff7f5}.chemrytdsc-summary-list,.chemrytdsc-output-list{display:grid;gap:.65rem;margin-top:.8rem}.chemrytdsc-summary-item,.chemrytdsc-output-item{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(120px,.85fr);gap:1rem;align-items:center;padding:.15rem 0 .7rem;border-bottom:1px solid #e5edf2}.chemrytdsc-summary-item:last-child,.chemrytdsc-output-item:last-child{padding-bottom:0;border-bottom:0}.chemrytdsc-summary-term,.chemrytdsc-output-term{font-weight:700;color:#315064;line-height:1.45}.chemrytdsc-summary-value,.chemrytdsc-output-value{min-width:0;text-align:left;color:#173447;font-weight:700;white-space:normal;overflow-wrap:normal;word-break:normal;line-height:1.45}.chemrytdsc-confidence-reason,.chemrytdsc-interpretation-copy{margin-top:.8rem;color:#314f63;line-height:1.7}.chemrytdsc-assumption-list{margin:.8rem 0 0;padding-left:1.15rem}.chemrytdsc-assumption-list li+li{margin-top:.5rem}.chemrytdsc-graph-legend{justify-content:flex-start;color:#466476;font-size:.88rem}.chemrytdsc-legend-item{display:inline-flex;align-items:center;gap:.45rem}.chemrytdsc-legend-swatch{width:16px;height:16px;border-radius:999px}.chemrytdsc-legend-swatch--curve{background:linear-gradient(135deg,#0f6b7b,#1d8b9f)}.chemrytdsc-legend-swatch--marker{background:#cc7a33}.chemrytdsc-legend-swatch--run-a{background:#d8583d}.chemrytdsc-legend-swatch--run-b{background:#3f7cd8}.chemrytdsc-legend-swatch--run-c{background:#2e9a67}.chemrytdsc-graph-svg{width:100%;height:100%;min-height:400px}.chemrytdsc-graph-axis,.chemrytdsc-graph-grid,.chemrytdsc-graph-label,.chemrytdsc-graph-title{font-family:Arial,sans-serif}.chemrytdsc-graph-grid{stroke:rgba(64,97,119,.12);stroke-width:1}.chemrytdsc-graph-axis{stroke:#315064;stroke-width:1.4}.chemrytdsc-graph-label{fill:#446476;font-size:12px}.chemrytdsc-graph-title{fill:#173447;font-size:15px;font-weight:700}.chemrytdsc-graph-path{fill:none;stroke:#0f6b7b;stroke-width:3}.chemrytdsc-graph-path--current{stroke:#0f6b7b}.chemrytdsc-graph-path--run-a{stroke:#d8583d;stroke-dasharray:0}.chemrytdsc-graph-path--run-b{stroke:#3f7cd8;stroke-dasharray:8 5}.chemrytdsc-graph-path--run-c{stroke:#2e9a67;stroke-dasharray:3 5}.chemrytdsc-graph-marker{fill:#c77833;stroke:#fff;stroke-width:2}.chemrytdsc-graph-marker-label{fill:#9d5d20;font-size:11px;font-weight:700}.chemrytdsc-disclaimer{padding:.95rem;border-radius:14px;background:#fff7eb;border:1px solid #f0ddba;color:#785321}.chemrytdsc-source-badge{display:inline-flex;align-items:center;gap:.35rem;padding:.18rem .55rem;border-radius:999px;background:#eef5fb;color:#274d66;font-size:.78rem;font-weight:800}.chemrytdsc-source-badge--rdkit,.chemrytdsc-source-badge--high{background:#edf8ef;color:#216545}.chemrytdsc-source-badge--defaulted,.chemrytdsc-source-badge--low{background:#fff4e7;color:#8e5d16}.chemrytdsc-source-badge--estimated{background:#f4efff;color:#6547a6}.chemrytdsc-source-badge--unavailable{background:#f2f5f7;color:#5c7484}.chemrytdsc-source-badge--user,.chemrytdsc-source-badge--medium{background:#edf4ff;color:#255ea7}.chemrytdsc-graph-note{margin-top:.35rem;font-size:.82rem;font-weight:700;color:#4d6a7c}.chemrytdsc-comparison-run{display:flex;align-items:center;gap:.55rem;padding:.5rem .8rem;border-radius:999px;border:1px solid #dbe7ef;background:#fff}.chemrytdsc-comparison-chip{width:10px;height:10px;border-radius:999px}.chemrytdsc-comparison-chip--A{background:#d8583d}.chemrytdsc-comparison-chip--B{background:#3f7cd8}.chemrytdsc-comparison-chip--C{background:#2e9a67}.chemrytdsc-comparison-label{font-weight:800;color:#173447}.chemrytdsc-comparison-copy{color:#597384;font-size:.84rem}.chemrytdsc-comparison-remove{border:0;background:transparent;color:#8d4450;font-weight:800;cursor:pointer;padding:0 .15rem}@media (max-width:900px){.chemrytdsc-summary-item,.chemrytdsc-output-item{grid-template-columns:minmax(0,1fr) minmax(110px,.9fr);gap:.8rem}}@media (max-width:760px){.chemrytdsc-summary-item,.chemrytdsc-output-item{grid-template-columns:1fr}}

/* Shared control audit: keep every tab on the same component sizing. */
.chemrytdsc-btn {
  height: 21px;
  min-height: 21px;
  padding: 0 14px;
  font-size: var(--chemrytdsc-font-sm, .86rem);
  font-weight: 800;
  line-height: 1.15;
}

.chemrytdsc-btn--chip {
  height: 21px;
  min-height: 21px;
  padding: 0 14px;
  font-size: var(--chemrytdsc-font-sm, .86rem);
  line-height: 1.15;
}

.chemrytdsc-label,
.chemrytdsc-legend {
  font-size: var(--chemrytdsc-font-sm, .86rem);
  line-height: 1.35;
}

.chemrytdsc-input,
.chemrytdsc-textarea {
  font-size: var(--chemrytdsc-font-base, .92rem);
  line-height: 1.35;
}

.chemrytdsc-input {
  min-height: 24px;
  height: 28px;
  padding: .18rem .58rem;
  border-radius: 8px;
}

.chemrytdsc-textarea {
  min-height: 52px;
  padding: .38rem .58rem;
  border-radius: 8px;
}

.chemrytdsc-fields {
  gap: .5rem .75rem;
}

.chemrytdsc-field {
  gap: .22rem;
}

.chemrytdsc-fieldset {
  padding: .75rem;
}

.chemrytdsc-graph-legend {
  font-size: var(--chemrytdsc-font-sm, .86rem);
  line-height: 1.35;
}

.chemrytdsc-checkbox {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 26px;
  color: #375069;
  font-size: var(--chemrytdsc-font-base, .92rem);
  font-weight: 700;
  line-height: 1.35;
}

.chemrytdsc-checkbox input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  accent-color: #0d6e8a;
}

/* Graph polish: lighter analytical typography and smoother plotted lines. */
.chemrytdsc-graph-svg {
  height: 360px;
  min-height: 360px;
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
}

.chemrytdsc-graph-grid {
  stroke: rgba(64, 97, 119, .09);
  stroke-width: .8;
}

.chemrytdsc-graph-axis {
  stroke: #385c73;
  stroke-width: 1;
}

.chemrytdsc-graph-label {
  fill: #496a80;
  font-size: 9.5px;
  font-weight: 500;
}

.chemrytdsc-graph-title {
  fill: #173447;
  font-size: 10.5px;
  font-weight: 700;
}

.chemrytdsc-graph-path {
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.chemrytdsc-graph-marker {
  stroke-width: 1.5;
}

.chemrytdsc-graph-marker-label {
  fill: #7b5a24;
  font-size: 8.8px;
  font-weight: 700;
}

.chemrytdsc-comparison-run {
  display: grid;
  flex: 1 1 280px;
  min-width: min(100%, 280px);
  gap: .55rem;
  padding: .75rem .85rem;
  border-radius: 14px;
}

.chemrytdsc-comparison-run.is-base {
  border-color: #0d6e8a;
  box-shadow: 0 0 0 2px rgba(13, 110, 138, .08);
}

.chemrytdsc-comparison-run-head,
.chemrytdsc-comparison-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
}

.chemrytdsc-comparison-base-badge {
  padding: .1rem .45rem;
  border-radius: 999px;
  background: #e8f6f9;
  color: #0d6376;
  font-size: .72rem;
  font-weight: 800;
}

.chemrytdsc-comparison-insight {
  display: flex;
  flex: 1 1 100%;
  align-items: center;
  gap: .5rem .9rem;
  flex-wrap: wrap;
  padding: .65rem .8rem;
  border-radius: 12px;
  border: 1px solid #dbe7ef;
  background: #f7fbfd;
  color: #4d6a7c;
  font-size: .8rem;
  line-height: 1.35;
}

.chemrytdsc-comparison-insight strong {
  color: #173447;
}

.chemrytdsc-comparison-insight span {
  overflow-wrap: anywhere;
}

.chemrytdsc-comparison-note {
  display: grid;
  gap: .25rem;
  color: #5b7485;
  font-size: .74rem;
  font-weight: 800;
}

.chemrytdsc-comparison-note input {
  width: 100%;
  min-height: 30px;
  border: 1px solid #dbe7ef;
  border-radius: 9px;
  background: #fbfdff;
  color: #173447;
  font: inherit;
  font-weight: 700;
  padding: .38rem .5rem;
}

.chemrytdsc-comparison-note input:focus {
  outline: none;
  border-color: #2d73d7;
  box-shadow: 0 0 0 3px rgba(45, 115, 215, .12);
}

.chemrytdsc-comparison-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
}

.chemrytdsc-comparison-metric {
  display: grid;
  gap: .08rem;
  padding: .38rem .45rem;
  border-radius: 10px;
  background: #f7fbfd;
  border: 1px solid #e2edf3;
}

.chemrytdsc-comparison-metric span {
  font-size: .72rem;
  font-weight: 800;
  color: #5b7485;
}

.chemrytdsc-comparison-metric strong {
  font-size: .8rem;
  line-height: 1.25;
  color: #173447;
  overflow-wrap: anywhere;
}

.chemrytdsc-comparison-action,
.chemrytdsc-comparison-remove {
  border: 0;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
  padding: 0 .15rem;
}

.chemrytdsc-comparison-action {
  color: #0d6e8a;
}

.chemrytdsc-comparison-action[data-load-run] {
  color: #255ea7;
}

.chemrytdsc-comparison-action:disabled {
  color: #7f9aaa;
  cursor: default;
}

.chemrytdsc-stats-source-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.chemrytdsc-stats-source {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .5rem;
  border: 1px solid #dbe7ef;
  border-radius: 999px;
  background: #fff;
  color: #597384;
  font-size: .78rem;
}

.chemrytdsc-stats-source strong {
  color: #173447;
}

.chemrytdsc-phys-summary-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.chemrytdsc-adiabatic-summary-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.chemrytdsc-kinetics-summary-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.chemrytdsc-rc-summary-list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.chemrytdsc-phys-summary-item {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .5rem;
  border: 1px solid #dbe7ef;
  border-radius: 999px;
  background: #fff;
  color: #597384;
  font-size: .78rem;
}

.chemrytdsc-adiabatic-summary-item {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .5rem;
  border: 1px solid #dbe7ef;
  border-radius: 999px;
  background: #fff;
  color: #597384;
  font-size: .78rem;
}

.chemrytdsc-kinetics-summary-item {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .5rem;
  border: 1px solid #dbe7ef;
  border-radius: 999px;
  background: #fff;
  color: #597384;
  font-size: .78rem;
}

.chemrytdsc-rc-summary-item {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .5rem;
  border: 1px solid #dbe7ef;
  border-radius: 999px;
  background: #fff;
  color: #597384;
  font-size: .78rem;
}

.chemrytdsc-phys-summary-item strong {
  color: #173447;
}

.chemrytdsc-adiabatic-summary-item strong {
  color: #173447;
}

.chemrytdsc-kinetics-summary-item strong {
  color: #173447;
}

.chemrytdsc-rc-summary-item strong {
  color: #173447;
}

.chemrytdsc-rc-plot {
  width: 100%;
  min-height: 180px;
  margin-top: .45rem;
  border: 1px solid #e0ebf1;
  border-radius: 10px;
  background: #fbfdff;
}

.chemrytdsc-rc-plot-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .65rem;
  margin-top: .5rem;
  color: #597384;
  font-size: .76rem;
  font-weight: 400;
}

.chemrytdsc-rc-plot-legend-item {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
}

.chemrytdsc-rc-plot-legend-item span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.chemrytdsc-rc-plot-line {
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.chemrytdsc-rc-plot-line--dashed {
  stroke-dasharray: 5 4;
}

.chemrytdsc-rc-plot-grid {
  stroke: rgba(64, 97, 119, .1);
  stroke-width: 1;
}

.chemrytdsc-rc-baseline-qrxn {
  margin-top: .35rem;
  color: #315064;
  font-size: .78rem;
  font-weight: 400;
}

.chemrytdsc-rc-plot .chemrytdsc-rc-axis-label,
.chemrytdsc-rc-baseline-svg .chemrytdsc-rc-axis-label,
.chemrytdsc-rc-trichart-svg .chemrytdsc-rc-axis-label,
.chemrytdsc-rc-twin-svg .chemrytdsc-rc-axis-label {
  font-size: 9px;
  font-weight: 400;
  fill: #486679;
}

.chemrytdsc-rc-baseline-svg .chemrytdsc-rc-axis-label.chemrytdsc-rc-baseline-axis-label {
  fill: #315064;
  font-family: Inter, Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .chemrytdsc-comparison-insight {
    align-items: flex-start;
    flex-direction: column;
  }

  .chemrytdsc-comparison-metrics {
    grid-template-columns: 1fr;
  }
}
