/* Wedding Guest Colour Checker (NS94). Source: sites/needle-tools/tools/wedding-guest-colors/tool.css. The colour picker
   is the Outfit Color Matcher's (.chqt-oc-*), copied: each tool page loads only its own tool.css. */
.chqt-oc-fam { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.chqt-oc-fam button, .chqt-oc-shades button { font: inherit; font-size: 16px; cursor: pointer; border: 1.5px solid var(--chqt-line); background: #fff; color: var(--chqt-ink); -webkit-tap-highlight-color: transparent; }
.chqt-oc-fam button:focus-visible, .chqt-oc-shades button:focus-visible { outline: 3px solid rgba(184, 80, 66, .45); outline-offset: 2px; }
.chqt-oc-fam button { min-height: 44px; min-width: 0; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 12px; }
.chqt-oc-fam button[aria-pressed="true"] { border-color: var(--chqt-ink); box-shadow: inset 0 0 0 2px var(--chqt-ink); }
.chqt-oc-shades button[aria-pressed="true"] { background: var(--chqt-ink); border-color: var(--chqt-ink); color: #fff; }
.chqt-oc-shades button[aria-pressed="true"] .chqt-oc-dot { border-color: #fff; }
.chqt-oc-fam .chqt-oc-dot { width: 26px; height: 26px; }
.chqt-oc-dot { display: inline-block; flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.28); vertical-align: middle; }
.chqt-oc-dot--n { background: linear-gradient(135deg, #111 0 33%, #f4ecd8 33% 66%, #1f2f5f 66%); }
.chqt-oc-dot--x { background: linear-gradient(135deg, #f8f2e1 0 33%, #c9a43a 33% 66%, #f6d8d6 66%); }
.chqt-oc-shades { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.chqt-oc-shades--n { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chqt-oc-shades button { min-height: 44px; display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 12px; text-align: left; line-height: 1.2; }
/* the wedding's choices: rows of 2–5 buttons */
.chqt-wg-seg2, .chqt-wg-seg3, .chqt-wg-seg5 { display: grid; gap: 6px; }
.chqt-wg-seg2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chqt-wg-seg3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chqt-wg-seg5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.chqt-wg-seg2 button, .chqt-wg-seg3 button, .chqt-wg-seg5 button { padding: 8px 4px; border-radius: 12px; text-align: center; line-height: 1.2; }
@media (max-width: 460px) { .chqt-wg-seg5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* the answer wears its verdict on the left edge (the words say it too) */
.chqt-answer[data-verdict] { border-left: 6px solid #2e7d4f; padding-left: 10px; }
.chqt-answer[data-verdict="think"] { border-left-color: #b26a00; }
.chqt-answer[data-verdict="no"] { border-left-color: #b3261e; }
.chqt-wg-fig svg { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto; border-radius: 12px; }
.chqt-wg-fig figcaption { font-size: 14px; }
.chqt-wg-fig figcaption a, .chqt-wg-box a, .chqt-wg-line a { color: var(--chqt-ink); }
.chqt-wg-box { background: #fff; border: 1px solid var(--chqt-line); border-radius: 10px; padding: 10px 12px; }
.chqt-wg-box[hidden] { display: none; }
.chqt-wg-h { margin: 0 0 6px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--chqt-muted); font-weight: 600; }
.chqt-wg-r + .chqt-wg-r { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--chqt-line); }
.chqt-wg-rl { margin: 0 0 4px; font-weight: 600; font-size: 15.5px; line-height: 1.4; }
.chqt-wg-tag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff; background: #2e7d4f; }
.chqt-wg-tag--think { background: #8a5200; }
.chqt-wg-tag--no { background: #b3261e; }
.chqt-wg-q { margin: 0; padding-left: 18px; font-size: 14.5px; line-height: 1.45; color: var(--chqt-ink); }
.chqt-wg-q li + li { margin-top: 3px; }
.chqt-wg-dis { margin: 6px 0 2px; font-size: 14px; font-weight: 700; color: var(--chqt-muted); }
.chqt-wg-picks { margin-top: 0; }
.chqt-wg-pq { margin: 6px 0 0; font-size: 13.5px; color: var(--chqt-muted); }
.chqt-wg-line { margin: 0; font-size: 15px; }
.chqt-wg-line a { text-decoration: underline; }
.chqt-form .chqt-field[hidden] { display: none; }
/* NS75: the answer on the first phone screen — phones skip the lede, which the legends already say */
@media (max-width: 460px) {
  .chqt[data-tool="wedding-guest-colors"] .chqt-lede { display: none; }
  .chqt[data-tool="wedding-guest-colors"] .chqt-result > .chqt-kicker { display: none; }
}
/* NS75: on phones the answer in one tappable line under the first two 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; }
}
