/* Style Personality Quiz (NS33). Source: sites/needle-tools/tools/style-quiz/tool.css. Scoped .chqt-sq*. */
.chqt-sq-bars { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 6px; }
.chqt-sq-bars li { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--chqt-line); background: #fff; overflow: hidden; }
.chqt-sq-bar { position: absolute; left: 0; top: 0; bottom: 0; background: var(--chqt-cream); z-index: 0; }
.chqt-sq-bars li[data-top="1"] .chqt-sq-bar { background: #f3d3dd; }
.chqt-sq-bars b, .chqt-sq-pct { position: relative; z-index: 1; font-size: 15px; color: var(--chqt-ink); }
.chqt-sq-pct { font-weight: 600; }
.chqt-sq-box { background: #fff; border: 1px solid var(--chqt-line); border-radius: 10px; padding: 10px 12px; margin: 10px 0; }
.chqt-sq-h { margin: 6px 0 4px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--chqt-muted); font-weight: 600; }
.chqt-sq-grp p { margin: 3px 0 6px; font-size: 15px; line-height: 1.45; }
.chqt-sq-box cite { font-style: normal; font-size: 13px; color: var(--chqt-muted); }
.chqt-sq-box cite a { color: inherit; }
.chqt-sq-posts { margin: 10px 0 0; font-size: 15px; }
.chqt-sq-posts a { color: var(--chqt-accent); font-weight: 600; }
/* NS75: the answer on the first phone screen — phones skip the lede, which the labels already say */
@media (max-width: 460px) {
  .chqt[data-tool="style-quiz"] .chqt-top { display: none; }
  /* two answers to a row: seven questions of up to ten answers would otherwise push the answer off the first screen */
  .chqt[data-tool="style-quiz"] .chqt-seg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
  .chqt[data-tool="style-quiz"] .chqt-seg button { width: 100%; min-height: 44px; padding: 6px 10px; border-radius: 12px; font-size: 16px; line-height: 1.2; white-space: normal; }
}
/* NS75: on phones a long form shows the answer in one tappable line under its first question (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; }
}
