/* RT-qPCR Detection Chemistry Selector (SYBR Green vs TaqMan).
   Design tokens (var(--muted) etc.) come from the shared interactive-card.css.
   Scoped under #bsb-detection-chemistry so internals never leak.

   The source article used inline style="..." attributes on the container, labels
   and selects, plus inline colours on the JS-rendered result. Those styles are
   reproduced here as classes. */

#bsb-detection-chemistry {
  --orange: #ec6607;
  --tint: #fff8f4;
  --tint-border: #f0c8a0;
  --text: #242425;
  --body-text: #404040;
  --muted: #707070;
  --border: #d6d6d6;
  --light-bg: #f5f5f5;
  --dc-sybr: #2a7d2a;
  --dc-taq: #1a5fa8;
  --dc-either: #7a5c00;
  display: block;
  margin: 2em 0;
  font-family: inherit;
  color: var(--body-text);
  line-height: 1.6;
}

#bsb-detection-chemistry *,
#bsb-detection-chemistry *::before,
#bsb-detection-chemistry *::after { box-sizing: border-box; }

#bsb-detection-chemistry .bsb-tool {
  background: var(--surface, #fff);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}

#bsb-detection-chemistry .bsb-dc-title {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

#bsb-detection-chemistry .bsb-dc-intro {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 0.9rem;
}

#bsb-detection-chemistry .bsb-dc-field { margin-bottom: 14px; }

#bsb-detection-chemistry .bsb-dc-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

#bsb-detection-chemistry .bsb-dc-select {
  width: 100%;
  max-width: 420px;
  margin-top: 6px;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 6px;
}

#bsb-detection-chemistry .bsb-dc-select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(236, 102, 7, 0.08);
}

#bsb-detection-chemistry .bsb-dc-result {
  margin-top: 18px;
  background: var(--tint);
  border: 1.5px solid var(--tint-border);
  border-radius: 8px;
  padding: 18px 20px;
}

#bsb-detection-chemistry .bsb-dc-rec {
  font-weight: 700;
  font-size: 1.1em;
  margin: 0 0 10px;
}

#bsb-detection-chemistry .bsb-dc-rec--sybr { color: var(--dc-sybr); }
#bsb-detection-chemistry .bsb-dc-rec--taq { color: var(--dc-taq); }
#bsb-detection-chemistry .bsb-dc-rec--either { color: var(--dc-either); }

#bsb-detection-chemistry .bsb-dc-detail {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--body-text);
  line-height: 1.6;
}

#bsb-detection-chemistry .bsb-dc-reasons {
  margin: 0;
  padding-left: 1.2rem;
}

#bsb-detection-chemistry .bsb-dc-reason {
  margin: 4px 0;
  font-size: 0.88rem;
  color: var(--body-text);
  line-height: 1.5;
}

@media (max-width: 480px) {
  #bsb-detection-chemistry .bsb-tool { padding: 18px; }
}
