/* Nail Growth & Manicure Timeline Calculator (NS59). Source: sites/needle-tools/tools/nail-growth-calculator/tool.css */
.chqt-ng-seg3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.chqt-ng-seg4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.chqt-ng-seg2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.chqt-ng-seg3 button, .chqt-ng-seg4 button, .chqt-ng-seg2 button { padding: 8px 4px; border-radius: 12px; text-align: center; }
.chqt-ng-hint { font-weight: 400; color: var(--chqt-muted); font-size: 13px; }
.chqt-form .chqt-field[hidden] { display: none; }
.chqt-form .chqt-hint a { color: var(--chqt-accent); font-weight: 600; text-decoration: underline; }
.chqt[data-tool="nail-growth-calculator"] input[type="date"] { -webkit-appearance: none; appearance: none; min-height: 44px; font-size: 16px; }
.chqt-ng-fig svg { display: block; width: 100%; max-width: 260px; height: auto; margin: 0 auto; border-radius: 12px; }
.chqt-ng-box { background: #fff; border: 1px solid var(--chqt-line); border-radius: 10px; padding: 10px 12px; }
.chqt-ng-box[hidden], .chqt-ng-doc[hidden] { display: none; }
.chqt-ng-h { margin: 0 0 6px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--chqt-muted); font-weight: 600; }
.chqt-ng-weeks { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.chqt-ng-weeks li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; border-bottom: 1px solid var(--chqt-line); }
.chqt-ng-weeks li:last-child { border-bottom: 0; }
.chqt-ng-weeks li.chqt-ng-due b { color: var(--chqt-accent); }
.chqt-ng-why { margin: 0; padding-left: 18px; font-size: 14.5px; color: var(--chqt-muted); }
.chqt-ng-why li + li { margin-top: 4px; }
.chqt-ng-why a, .chqt-ng-small a { color: var(--chqt-ink); }
.chqt-ng-doc { background: #fff6f3; border: 1px solid #e8b9a9; border-left: 4px solid #b3412a; border-radius: 10px; padding: 10px 12px; }
.chqt-ng-h2 { margin: 0 0 4px; font-weight: 700; font-size: 15px; }
.chqt-ng-doc ul { margin: 0 0 6px; padding-left: 18px; font-size: 15px; }
.chqt-ng-small { margin: 0; font-size: 13.5px; color: var(--chqt-muted); }
.chqt-ng-line { margin: 0; font-size: 15px; }
.chqt-ng-line a { color: var(--chqt-accent); font-weight: 600; text-decoration: underline; }
@media (max-width: 460px) { .chqt-ng-seg4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* NS75: the answer on the first phone screen — phones skip the lede, which the legends already say */
@media (max-width: 460px) {
  .chqt[data-tool="nail-growth-calculator"] .chqt-lede { display: none; }
  .chqt[data-tool="nail-growth-calculator"] .chqt-result > .chqt-kicker { display: none; }
}
/* NS75: on phones the answer in one tappable line under the 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; }
}
