/* Funeral Attire Guide (NS111). Source: sites/needle-tools/tools/what-to-wear-to-a-funeral/tool.css. The colour chips and the
   quoted reasons are the Wedding Guest Color Checker's (.chqt-oc-*, .chqt-wg-*), copied: each tool page loads only its own tool.css. */
.chqt-fa-seg3, .chqt-fa-segn { display: grid; gap: 6px; }
.chqt-fa-seg3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.chqt-fa-segn { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chqt-fa-seg3 button, .chqt-fa-segn button { padding: 8px 4px; border-radius: 12px; text-align: center; line-height: 1.2; }
@media (max-width: 460px) { .chqt-fa-segn { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.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; }
/* the colours to wear, under the answer */
.chqt-fa-pal { display: flex; flex-wrap: wrap; gap: 6px; min-height: 34px; }
.chqt-fa-sw { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--chqt-line); font-size: 15px; font-weight: 600; color: var(--chqt-ink); }
/* every colour, with its verdict */
.chqt-oc-shades { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.chqt-oc-shades button { font: inherit; font-size: 16px; cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 12px; text-align: left; line-height: 1.2; border: 1.5px solid var(--chqt-line); background: #fff; color: var(--chqt-ink); -webkit-tap-highlight-color: transparent; }
.chqt-oc-shades button:focus-visible { outline: 3px solid rgba(184, 80, 66, .45); outline-offset: 2px; }
.chqt-oc-shades button[aria-pressed="true"] { border-color: var(--chqt-ink); box-shadow: inset 0 0 0 2px var(--chqt-ink); }
.chqt-fa-grid .chqt-wg-tag { margin-left: auto; }
@media (min-width: 720px) { .chqt-fa-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.chqt-fa-mine { margin: 0 0 4px; font-size: 17px; font-weight: 700; border-left: 6px solid #2e7d4f; padding-left: 10px; }
.chqt-fa-mine[data-verdict="think"] { border-left-color: #b26a00; }
.chqt-fa-mine[data-verdict="no"] { border-left-color: #b3261e; }
.chqt-wg-fig svg { display: block; width: 100%; max-width: 220px; height: auto; margin: 0 auto; border-radius: 12px; }
.chqt-wg-fig figcaption { font-size: 14px; }
.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-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-h { margin-top: 12px; }
.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; white-space: nowrap; }
.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-line { margin: 0; font-size: 15px; }
.chqt-wg-line a { text-decoration: underline; }
/* NS75: the answer on the first phone screen — phones skip the lede, which the legends already say */
@media (max-width: 460px) {
  .chqt[data-tool="what-to-wear-to-a-funeral"] .chqt-lede { display: none; }
  .chqt[data-tool="what-to-wear-to-a-funeral"] .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; }
}
