/* AI Closet Stylist (NS66). Source: sites/needle-tools/tools/ai-closet-stylist/tool.css */
.chqt-cs-privacy { margin: 0 0 6px; font-size: 14px; background: #eef7ef; border: 1px solid #cfe6d3; color: #1d4d2c; border-radius: 10px; padding: 8px 10px; }
.chqt-cs-file { font-size: 16px; padding: 10px 0; min-height: 48px; max-width: 100%; }
.chqt-cs-opt { font-weight: 400; color: var(--chqt-muted); font-size: 13px; }
.chqt-cs-stage { display: flex; flex-direction: column; gap: 8px; }
/* the frame shrinks to the photo, so a tap lands on the same pixel the colours were read from */
.chqt-cs-photo { position: relative; display: table; margin: 0 auto; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--chqt-line); background: #f3eeea; }
.chqt-cs-photo img { display: block; max-width: 100%; height: auto; }
.chqt-cs-hit { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; border: 0; padding: 0; cursor: crosshair; -webkit-tap-highlight-color: transparent; }
.chqt-cs-hit:focus-visible { outline: 3px solid rgba(184, 80, 66, .55); outline-offset: -3px; }
.chqt-cs-found { display: flex; flex-wrap: wrap; gap: 6px; }
.chqt-cs-fc { font: inherit; font-size: 16px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--chqt-line); border-radius: 999px; background: #fff; color: var(--chqt-ink); cursor: pointer; }
.chqt-cs-pick { display: flex; gap: 8px; align-items: center; }
.chqt-cs-pick select { flex: 1 1 auto; min-width: 0; }
.chqt-cs-chip { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(0, 0, 0, .18); }
.chqt-cs-sw { display: inline-block; flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); vertical-align: -3px; }
.chqt-cs-more summary { cursor: pointer; font-size: 15px; font-weight: 600; min-height: 44px; display: flex; align-items: center; gap: 6px; }
.chqt-cs-more summary::-webkit-details-marker { display: none; }
.chqt-cs-more summary::before { content: '▸'; color: var(--chqt-accent); }
.chqt-cs-more[open] summary::before { content: '▾'; }
.chqt-cs-gap { margin: 0; font-size: 15px; background: #fff; border: 1px dashed var(--chqt-accent); border-radius: 10px; padding: 8px 10px; }
.chqt-cs-more .chqt-pair { margin-top: 6px; }
.chqt-cs-save { display: flex; flex-wrap: wrap; gap: 8px; }
.chqt-cs-add { background: var(--chqt-accent); border-color: var(--chqt-accent); color: var(--chqt-accent-ink); }
.chqt-cs-box { background: #fff; border: 1px solid var(--chqt-line); border-radius: 10px; padding: 10px 12px; }
.chqt-cs-h3 { margin: 0 0 6px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--chqt-muted); font-weight: 600; }
.chqt-cs-outfits { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.chqt-cs-outfits li { display: flex; flex-direction: column; gap: 4px; }
.chqt-cs-row { display: flex; gap: 6px; }
.chqt-cs-tile { display: inline-block; width: 40px; height: 40px; border-radius: 8px; border: 1px solid rgba(0, 0, 0, .15); overflow: hidden; background-size: cover; flex: 0 0 auto; }
.chqt-cs-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* a printed piece is marked so the one-print rule can be seen */
.chqt-cs-print { outline: 2px dashed var(--chqt-accent); outline-offset: 1px; }
.chqt-cs-words { font-size: 14.5px; line-height: 1.35; }
.chqt-cs-rule { padding: 6px 0; border-top: 1px solid var(--chqt-line); }
.chqt-cs-rule:first-child { border-top: 0; padding-top: 0; }
.chqt-cs-rule b { display: block; font-size: 15px; margin-bottom: 4px; }
.chqt-cs-chips { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; }
.chqt-cs-c { display: inline-flex; align-items: center; gap: 5px; }
.chqt-cs-rule cite { display: block; font-style: normal; font-size: 13px; color: var(--chqt-muted); margin-top: 4px; }
.chqt-cs-rule cite a { color: inherit; }
.chqt-cs-season { margin: 0; font-size: 15px; background: var(--chqt-cream); border-radius: 10px; padding: 8px 10px; }
.chqt-cs-closet { margin-top: 20px; border-top: 1px solid var(--chqt-line); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.chqt-cs-head { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: flex-end; justify-content: space-between; }
.chqt-cs-h2 { margin: 0; font-size: 20px; font-weight: 700; }
.chqt-cs-h2 small { font-weight: 400; font-size: 15px; color: var(--chqt-muted); }
.chqt-cs-se { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.chqt-cs-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.chqt-cs-grid:empty { display: none; }
.chqt-cs-grid li { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.chqt-cs-piece { font: inherit; font-size: 16px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 3px; padding: 8px; border: 1px solid var(--chqt-line); border-radius: 10px; background: #fff; color: var(--chqt-ink); min-height: 44px; }
.chqt-cs-piece .chqt-cs-tile { width: 100%; height: auto; min-height: 96px; aspect-ratio: 1 / 1; border-radius: 8px; }
.chqt-cs-name { font-size: 15px; font-weight: 600; line-height: 1.25; }
.chqt-cs-piece small { font-size: 13px; color: var(--chqt-muted); }
.chqt-cs-piece .chqt-cs-ok { color: #1d6b3a; }
.chqt-cs-x { font: inherit; font-size: 16px; min-height: 44px; background: none; border: 1px solid transparent; color: var(--chqt-muted); cursor: pointer; border-radius: 8px; }
/* Tools Pro's printed lookbook: the answer and the closet, not the form or its buttons */
@media print {
  .chqt-print-tool .chqt-form, .chqt-print-tool .chqt-cs-x, .chqt-print-tool .chqt-cs-se, .chqt-print-tool .chqt-top { display: none !important; }
  .chqt-print-tool .chqt-grid { display: block; }
  .chqt-print-tool .chqt-cs-grid { grid-template-columns: repeat(4, 1fr); }
}
.chqt-cs-piece .chqt-cs-rv { color: var(--chqt-accent); font-weight: 600; }
.chqt-cs-next a { color: var(--chqt-accent); font-weight: 600; text-decoration: underline; }
/* Tools Pro (NS69): the week and the numbers, under the closet */
.chqt-cs-pro { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chqt-cs-probox { margin-top: 12px; background: #fff; border: 1px solid var(--chqt-line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.chqt-cs-week { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.chqt-cs-week li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; border-top: 1px solid var(--chqt-line); padding-top: 8px; }
.chqt-cs-week li:first-child { border-top: 0; padding-top: 0; }
.chqt-cs-week b { min-width: 92px; }
/* NS75: the answer on the first phone screen — phones skip the lede, which the labels already say */
@media (max-width: 460px) {
  .chqt[data-tool="ai-closet-stylist"] .chqt-top { 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; }
}
