/* Tacetra Site: styles used only by the a1c tool. Loaded with it; shared styles are in site.css. */
.tcs-a1c-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: end; }
.tcs-a1c-eq { margin-bottom: 18px; font-size: 28px; font-weight: 800; color: var(--tcs-muted); }
.tcs-a1c-input { display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid #d1d5db; border-radius: 14px; background: #fff; }
.tcs-a1c-input:focus-within { outline: 3px solid var(--tcs-accent); outline-offset: 1px; border-color: var(--tcs-accent); }
.tcs .tcs-a1c-input input { flex: 1; min-width: 0; width: 100%; margin: 0; padding: 14px 0; border: 0; background: transparent; font-size: 28px; font-weight: 800; color: var(--tcs-ink); outline: none; }
.tcs-a1c-input > span { font-size: 20px; font-weight: 700; color: var(--tcs-muted); }
.tcs .tcs-a1c-input select { margin: 0; padding: 6px 8px; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; font: inherit; font-size: 14px; }
.tcs-a1c-result { margin: 18px 0 6px; }
.tcs .tcs-a1c-band { display: inline-block; margin: 0 0 8px; padding: 8px 14px; border-radius: 999px; font-weight: 800; }
.tcs-a1c-band.is-normal { background: #dcfce7; color: #14532d; }
.tcs-a1c-band.is-pre { background: #fef3c7; color: #78350f; }
.tcs-a1c-band.is-high { background: #fee2e2; color: #7f1d1d; }
.tcs .tcs-a1c-also { margin: 0; font-size: 15px; color: var(--tcs-muted); }
.tcs-a1c-scale { margin: 14px 0 22px; }
.tcs-a1c-bar { position: relative; display: flex; height: 14px; border-radius: 999px; overflow: visible; }
.tcs-a1c-bar span { height: 100%; }
.tcs-a1c-bar .is-normal { background: #86efac; border-radius: 999px 0 0 999px; }
.tcs-a1c-bar .is-pre { background: #fcd34d; }
.tcs-a1c-bar .is-high { background: #fca5a5; border-radius: 0 999px 999px 0; }
.tcs-a1c-bar i { position: absolute; top: -6px; width: 6px; height: 26px; margin-left: -3px; border-radius: 3px; background: var(--tcs-ink); box-shadow: 0 0 0 2px #fff; transition: left .2s; }
.tcs-a1c-ticks { position: relative; height: 22px; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--tcs-muted); }
.tcs-a1c-ticks span { position: absolute; transform: translateX(-50%); }
.tcs-a1c-ticks span:first-child { transform: none; }
.tcs-a1c-ticks span:last-child { transform: none; }
.tcs .tcs-a1c-note { margin: 10px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--tcs-soft); font-size: 14px; }
@media (prefers-reduced-motion: reduce) {
  .tcs-a1c-bar i { transition: none; }
}
@media (max-width: 720px) {
  .tcs-a1c-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .tcs-a1c-eq { display: none; }
}
