/* Hair Type Quiz (NS12). Source: sites/needle-tools/tools/hair-type-quiz/tool.css */
.chqt-ht-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.chqt-ht-tile { font: inherit; font-size: 16px; min-height: 88px; cursor: pointer; border: 1.5px solid var(--chqt-line); background: #fff; color: var(--chqt-ink); border-radius: 12px; padding: 4px 2px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; -webkit-tap-highlight-color: transparent; }
.chqt-ht-tile svg { display: block; width: 100%; height: 56px; }
.chqt-ht-tile b { font-size: 15px; }
.chqt-ht-tile[aria-pressed="true"] { border-color: var(--chqt-accent); background: var(--chqt-cream); box-shadow: 0 0 0 2px var(--chqt-accent) inset; }
.chqt-ht-tile:focus-visible { outline: 3px solid rgba(184, 80, 66, .45); outline-offset: 2px; }
.chqt-ht-help summary, .chqt-ht-float summary { cursor: pointer; font-weight: 600; font-size: 15px; min-height: 44px; display: flex; align-items: center; }
.chqt-ht-help > div { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.chqt-ht-q { margin: 0; font-weight: 600; font-size: 15px; }
.chqt-ht-por { display: flex; flex-direction: column; gap: 12px; }
.chqt-ht-rows li b { display: block; font-size: 13px; color: var(--chqt-muted); font-weight: 600; }
.chqt-ht-posts { margin: 0; font-size: 15px; }
.chqt-ht-float p { margin: 6px 0 0; font-size: 14.5px; }
.chqt-ht-fig svg { max-height: 150px; }
@media (max-width: 380px) { .chqt-ht-tile { min-height: 80px; } .chqt-ht-tile svg { height: 48px; } }
/* NS75: the answer on the first phone screen — phones skip the lede, which the labels already say */
@media (max-width: 460px) {
  .chqt[data-tool="hair-type-quiz"] .chqt-lede { display: none; }
}
/* NS75: on phones a long form shows the answer in one tappable line under its first questions (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; }
}
