/* SPINA-GT — секреторная способность щитовидной железы.
   Дополняет calc-phenoage.css + tool-hypertension.css.
   Линейка GT и шкалы гормонов лежат на СВЕТЛОЙ карточке калькулятора
   (headline — отдельный тёмный midnight-блок), поэтому текст здесь тёмный. */

/* медтермины в теле статьи — графит, не оранжевый (защита) */
.v2-after-hero .med-term { color: var(--v2-ink); }

/* ── Линейка SPINA-GT ───────────────────────────────────── */
.sg-ruler { margin: 4px 0 26px; }
.sg-ruler__track {
  position: relative;
  display: flex;
  height: 16px;
  border-radius: 99px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
}
.sg-ruler__seg { height: 100%; }
.sg-ruler__seg--low  { width: 11.667%; background: #f59e0b; }
.sg-ruler__seg--norm { width: 60.833%; background: #10b981; }
.sg-ruler__seg--high { width: 27.5%;   background: #f97316; }
.sg-ruler__marker {
  position: absolute;
  top: -5px; bottom: -5px;
  width: 4px;
  border-radius: 4px;
  background: var(--v2-ink, #13141f);
  box-shadow: 0 0 0 3px #fff, 0 2px 6px rgba(0,0,0,.3);
  transform: translateX(-50%);
  transition: left .9s cubic-bezier(.22,.61,.36,1);
}
.sg-ruler__ticks {
  position: relative;
  height: 16px;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--v2-ink-2);
}
.sg-ruler__ticks span {
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
}
.sg-ruler__ticks span::before {
  content: '';
  position: absolute;
  top: -8px; left: 50%;
  width: 1px; height: 6px;
  background: var(--v2-line, #d7dbe6);
  transform: translateX(-50%);
}
.sg-ruler__labels {
  display: flex;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--v2-ink-3);
}
.sg-ruler__labels span { text-align: center; }
.sg-ruler__labels span:nth-child(1) { width: 11.667%; }
.sg-ruler__labels span:nth-child(2) { width: 60.833%; }
.sg-ruler__labels span:nth-child(3) { width: 27.5%; }

/* ── Шкалы гормонов ─────────────────────────────────────── */
.sg-gauges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 24px;
}
@media (max-width: 620px) { .sg-gauges { grid-template-columns: 1fr; } }

.sg-gauge {
  border: 1px solid var(--v2-border, #e6e8f0);
  border-radius: 14px;
  padding: 16px 18px 14px;
  background: var(--v2-surface, #fff);
}
.sg-gauge__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.sg-gauge__name {
  font-family: var(--v2-font-display, 'Cabinet Grotesk', sans-serif);
  font-weight: 700;
  font-size: 15px;
  color: var(--v2-ink);
}
.sg-gauge__val {
  font-family: var(--v2-font-display, 'Cabinet Grotesk', sans-serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--v2-ink);
}
.sg-gauge__val small { font-family: var(--v2-font); font-size: 11px; font-weight: 500; color: var(--v2-ink-3); }

.sg-gauge__track {
  position: relative;
  height: 12px;
  border-radius: 99px;
  background: #eef1f6;
  overflow: hidden;
}
.sg-gauge__ref {
  position: absolute;
  top: 0; bottom: 0;
  background: rgba(99,102,120,.16);
}
.sg-gauge__opt {
  position: absolute;
  top: 0; bottom: 0;
  background: rgba(16,185,129,.42);
}
.sg-gauge__marker {
  position: absolute;
  top: -4px; bottom: -4px;
  width: 4px;
  border-radius: 4px;
  background: var(--v2-ink, #13141f);
  box-shadow: 0 0 0 2.5px #fff, 0 2px 5px rgba(0,0,0,.28);
  transform: translateX(-50%);
  transition: left .9s cubic-bezier(.22,.61,.36,1);
  z-index: 2;
}
.sg-gauge__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--v2-ink-3);
}
.sg-gauge__scale span:nth-child(2) { color: #0ea372; }
.sg-gauge__status {
  margin-top: 10px;
  font-family: var(--v2-font-display, 'Cabinet Grotesk', sans-serif);
  font-weight: 700;
  font-size: 15px;
}
.sg-gauge__note {
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--v2-ink-3);
  line-height: 1.45;
}

/* ── Карточка интерпретации ─────────────────────────────── */
.sg-interp-card { margin: 0 0 22px; }
.sg-interp-body { margin-top: 4px; }
.sg-interp-intro {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--v2-ink-2);
}
.sg-interp-list {
  margin: 10px 0 0;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--v2-ink-2);
}
.sg-interp-list li { margin-bottom: 2px; }
.sg-interp-outro {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--v2-ink-3);
}

/* trending-иконки в блоке факторов: нейтральная семантика, не только красный */
.ts-symlist .ms-factor .material-symbols-outlined { color: var(--v2-accent, #16c8c8); }
