/* Manicure Type Finder & Press-On Nail Sizer (NS38). Source: sites/needle-tools/tools/manicure-type-finder/tool.css. The quoted
   lines and folded boxes are the Passport Photo guide's (.chqt-wg-*, .chqt-iv-more), the screen ruler and its scale check the
   Ring Size Chart's (.chqt-rs-*), copied: each tool page loads only its own tool.css. */
.chqt-mt-seg { display: grid; gap: 6px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chqt-mt-seg button { padding: 8px 4px; border-radius: 12px; text-align: center; line-height: 1.2; }
.chqt-mt-step { margin: 0 0 8px; font-size: 14px; color: var(--chqt-muted); }
.chqt-mt-fingers { display: grid; gap: 8px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.chqt-mt-fingers label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 14px; }
.chqt-mt-fingers input { width: 100%; min-height: 44px; font-size: 16px; padding: 6px 8px; box-sizing: border-box; }
.chqt-mt-alert { background: #fdf0dc; border: 1px solid #e8c48a; border-radius: 10px; padding: 10px 12px; }
.chqt-mt-alert[hidden] { display: none; }
.chqt-mt-alert a, .chqt-wg-box a { color: var(--chqt-ink); }
.chqt-mt-meta { margin-left: 6px; font-weight: 500; font-size: 13.5px; color: var(--chqt-muted); }
.chqt-mt-why { margin-bottom: 8px; }
.chqt-mt-side { margin: 8px 0 3px; font-size: 13.5px; font-weight: 700; color: var(--chqt-muted); }
.chqt-mt-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; border: 1px solid var(--chqt-line); border-radius: 10px; background: #fff; }
.chqt-mt-wrap .chqt-mt-sizes { margin: 0; min-width: 100%; }
.chqt-mt-sizes th small { display: block; font-weight: 400; color: var(--chqt-muted); }
.chqt-mt-sizes td, .chqt-mt-sizes th { text-align: center; }
.chqt-mt-sizes th[scope="row"] { text-align: left; }
.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-q + .chqt-wg-h { margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--chqt-line); }
.chqt-wg-r + .chqt-wg-r { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--chqt-line); }
.chqt-wg-rl { margin: 0 0 4px; font-weight: 600; font-size: 15.5px; line-height: 1.4; }
.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-pp-tag { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 999px; background: var(--chqt-cream); font-size: 12.5px; font-weight: 600; color: var(--chqt-muted); }
.chqt-iv-more { background: #fff; border: 1px solid var(--chqt-line); border-radius: 12px; padding: 0 12px; }
.chqt-iv-more + .chqt-iv-more { margin-top: 8px; }
.chqt-iv-more[hidden] { display: none; }
.chqt-iv-more > summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; flex-wrap: wrap; align-items: center; color: var(--chqt-ink); }
.chqt-iv-more[open] { padding-bottom: 12px; }
.chqt-iv-more .chqt-wg-box { border: 0; padding: 0; }
/* the screen ruler and its scale check (the Ring Size Chart's) */
.chqt-rs-stage, .chqt-rs-calstage { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--chqt-line); border-radius: 12px; min-height: 48px; padding: 4px; overflow: hidden; }
.chqt-rs-stage svg, .chqt-rs-calstage svg { display: block; max-width: 100%; }
.chqt-rs-steps { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.chqt-rs-pm { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 44px; font-size: 22px; line-height: 1; padding: 0; }
.chqt-rs-range { flex: 1 1 auto; min-width: 0; height: 44px; font-size: 16px; accent-color: var(--chqt-accent); }
.chqt-rs-cal { margin-top: 10px; font-size: 15px; }
.chqt-rs-cal summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--chqt-accent); font-weight: 600; }
.chqt-rs-cal[open] > summary { margin-bottom: 6px; }
.chqt-rs-cal .chqt-seg { margin-bottom: 6px; }
@media (max-width: 460px) {
  .chqt[data-tool="manicure-type-finder"] .chqt-lede { display: none; }
  .chqt-mt-fingers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* NS75: on phones the answer shows in one tappable line under the 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; }
}
