/* Ring Size Chart & Finder (NS27). Source: sites/needle-tools/tools/ring-size-chart/tool.css */
.chqt-rs-seg3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.chqt-rs-seg2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.chqt-rs-seg3 button, .chqt-rs-seg2 button { padding: 8px 4px; border-radius: 12px; text-align: center; }
.chqt-rs-step, .chqt-rs-warn { margin: 0 0 6px; font-size: 14px; color: var(--chqt-muted); }
.chqt-rs-hint { font-weight: 400; color: var(--chqt-muted); font-size: 13px; }
.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: 60px; padding: 4px; }
.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; }
.chqt-rs-wb { margin-top: 10px; }
.chqt-rs-fu { margin-top: 8px; }
.chqt-rs-box { background: #fff; border: 1px solid var(--chqt-line); border-radius: 10px; padding: 10px 12px; }
.chqt-rs-h { margin: 0 0 6px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--chqt-muted); font-weight: 600; }
.chqt-rs-three { margin: 0; padding-left: 18px; font-size: 15px; }
.chqt-rs-three li { margin: 3px 0; }
.chqt-rs-tips ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--chqt-muted); }
.chqt-rs-tips b { color: var(--chqt-ink); }
.chqt-rs-tips cite { font-style: normal; }
.chqt-rs-tips cite a { color: inherit; }
.chqt-rs-posts { margin: 0; font-size: 15px; }
.chqt-rs-posts a { color: var(--chqt-accent); font-weight: 600; text-decoration: underline; }
.chqt-rs-empty .chqt-rs-box:not(.chqt-rs-tips) { display: none; }
@media (max-width: 460px) {
  .chqt[data-tool="ring-size-chart"] .chqt-lede { display: none; }
}
/* the printed sizer: true size only when printed at 100% ("actual size") */
@media print {
  .chqt-print-root.chqt-rs-print { columns: 1; }
  .chqt-rs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4mm; }
  .chqt-rs-cell { display: flex; flex-direction: column; align-items: center; font-size: 9pt; break-inside: avoid; }
}
/* NS75: on phones the answer in one tappable line under the ring circle (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: 8px 0 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; }
}
