/* Hair Color & Hairstyle Try-On (NS30). Source: sites/needle-tools/tools/hair-try-on/tool.css */
.chqt-ht-swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.chqt-ht-swatches button { min-width: 44px; min-height: 44px; padding: 0; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .12); justify-self: center; width: 44px; }
.chqt-ht-swatches button[aria-pressed="true"] { border-color: #fff; box-shadow: 0 0 0 3px var(--chqt-accent); }
.chqt-ht-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.chqt-ht-len { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chqt-ht-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chqt-ht-seg button { padding: 8px 4px; border-radius: 12px; text-align: center; }
.chqt-ht-fig svg { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto; border-radius: 12px; }
.chqt-ht-posts { margin: 0; font-size: 15px; }
.chqt-ht-posts a { color: var(--chqt-accent); font-weight: 600; text-decoration: underline; }
.chqt-ht-paid { margin: 0; font-size: 15px; padding: 8px 10px; background: #fff; border: 1px dashed var(--chqt-line); border-radius: 10px; }
.chqt-ht-ai { display: block; width: 100%; max-width: 420px; height: auto; margin: 6px auto; border-radius: 10px; }
/* NS75: the answer on the first phone screen — phones skip the lede, which the legends already say */
@media (max-width: 460px) {
  .chqt[data-tool="hair-try-on"] .chqt-lede { display: none; }
  .chqt[data-tool="hair-try-on"] .chqt-result > .chqt-kicker { display: none; }
}
/* NS75: on phones the answer in one tappable line under the taps (the full answer is below) */
.chqt-ns-peek { display: none; }
@media (max-width: 460px) {
  .chqt-ns-peek { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; min-height: 44px; margin: 0; padding: 8px 12px; font: inherit; text-align: left; cursor: pointer; border: 0; border-left: 4px solid var(--chqt-accent); border-radius: 10px; background: var(--chqt-cream); color: var(--chqt-ink); }
  .chqt-ns-peek small { font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--chqt-muted); }
  .chqt-ns-peek b { font-size: 18px; line-height: 1.25; }
  .chqt-ns-peek[hidden] { display: none; }
}
