/* Lane "numbers" stylesheet. Linked from the top of the body of pages in this lane:
   <link rel="stylesheet" href="/assets/tools/numbers.css">
   Only small additions that seo.css lacks. Use the site.css tokens (--paper, --card, --line, --ink, --ink-2,
   --teal, --gold, --navy, --red and their --on-* pairs) so light and dark themes both work.
   Each block is prefixed by its owner (nb- = shared, nf- = format tool, ng- = generator, nv- = VoIP helper, nc- = currency). */

/* ng- : fictional number generator (/tools/us-phone-number-generator) */
.ng-badge{display:inline-block;margin:0;padding:4px 10px;border:1px solid var(--line);border-radius:6px;color:var(--ink);font-weight:600;font-size:15px}
.ng-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:0 18px}
.ng-grid input,.ng-grid select{max-width:none}
.ng-check{display:flex!important;align-items:center;gap:10px;min-height:46px;font-weight:600}
.ng-check input{width:22px;height:22px;min-height:0;margin:0;flex:none}
.ng-actions{display:flex;flex-wrap:wrap;gap:0 10px}
.ng-out{margin:16px 0 0;padding:14px 16px;max-height:22em;overflow:auto;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:6px;font:400 16px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-variant-numeric:tabular-nums;white-space:pre-wrap;word-break:break-word}
.ng-status{margin:10px 0 0;color:var(--ink-2);font-size:15px;min-height:1.4em}
.ng-offscreen{position:fixed;left:-9999px;top:0;opacity:0}
.ng-code{margin:12px 0 0;padding:14px 16px;overflow:auto;background:var(--card);border:1px solid var(--line);border-radius:6px;font:400 14.5px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}

/* nb- : live numbers picker (/assets/tools/numbers.js). Chips extend seo.css .numbers; segmented US/CA control is
   markup like <fieldset class="nb-seg" data-numbers-country><legend>Country</legend><label><input type="radio" name="nb-c" value="US" checked> US</label><label><input type="radio" name="nb-c" value="CA"> Canada</label></fieldset> */
.numbers a.nb-chip{border-width:1px;display:inline-flex;flex-direction:column;justify-content:center;gap:5px;min-height:44px;line-height:1.1}
.numbers a.nb-chip small{font:500 13px/1.1 var(--body);color:var(--ink-2)}
.numbers a.nb-chip:hover small,.numbers a.nb-chip:focus-visible small{color:inherit}
.numbers .nb-skel{border-width:1px;color:transparent;user-select:none;border-color:var(--paper-2);background:linear-gradient(90deg,var(--paper-2) 0%,var(--card) 50%,var(--paper-2) 100%);background-size:200% 100%;animation:nb-shimmer 1.2s linear infinite}
@keyframes nb-shimmer{from{background-position:100% 0}to{background-position:-100% 0}}
@media (prefers-reduced-motion:reduce){.numbers .nb-skel{animation:none;background:var(--paper-2)}}
[data-numbers-status]{margin:12px 0 0;color:var(--ink-2);font-size:15px;min-height:1.4em}
[data-numbers-count]{margin:6px 0 0;font-weight:600}
[data-numbers-count]:empty{display:none}
[data-numbers-more]{margin:12px 0 0;font-size:15px}
.numbers-fallback{margin:16px 0 0}
.nb-seg{display:inline-flex;flex-wrap:wrap;border:1px solid var(--line);border-radius:999px;padding:3px;margin:12px 0 0;gap:3px}
.nb-seg legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tool .nb-seg label{position:relative;display:inline-flex;align-items:center;margin:0;min-height:44px;padding:0 18px;border-radius:999px;cursor:pointer;font-weight:600}
.tool .nb-seg input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;margin:0;padding:0;border:0}
.tool .nb-seg label:has(input:checked){background:var(--navy);color:var(--on-navy)}
.tool .nb-seg label:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}

/* nc- : approximate local-currency prices (/assets/tools/numbers-currency.js) */
.nc-approx{color:var(--ink-2);font-weight:500;white-space:nowrap}
.nc-note{margin:10px 0 0;color:var(--ink-2);font-size:15px}

/* nv- : "Why was my number rejected?" helper (/assets/tools/numbers-voip.js) on /what-is-a-voip-number.
   Radio groups as 44px tap targets; outcome cards (.nv-out) are static .card blocks the script clones into .out. */
.nv-form fieldset{border:1px solid var(--line);border-radius:8px;padding:10px 14px 12px;margin:16px 0 0;min-width:0}
.nv-form legend{font-weight:600;padding:0 6px}
.tool .nv-form label{display:flex;align-items:center;gap:10px;min-height:44px;margin:0;font-weight:500;cursor:pointer;border-radius:8px;padding:2px 6px}
.tool .nv-form label:has(input:checked){background:var(--paper-2)}
.tool .nv-form input[type="radio"]{width:20px;height:20px;min-height:0;margin:0;padding:0;flex:none;accent-color:var(--teal)}
@media (min-width:760px){.nv-form{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.nv-form .nv-actions,.nv-form .nv-msg{grid-column:1/-1}}
.nv-actions{display:flex;flex-wrap:wrap;gap:0 10px}
.nv-msg{margin:10px 0 0;color:var(--ink-2);font-size:15px;min-height:1.4em}
.tool .out .nv-out{background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:14px 18px;margin-top:12px}
.tool .out .nv-out h3{margin-top:0;font-size:18px}
.tool .out>h3:focus{outline:none}
.tool .out>h3:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.nv-outs .nv-out:target{outline:2px solid var(--teal);outline-offset:2px}

/* nf- : US phone number format checker (/assets/tools/numbers-format.js) on /us-phone-number-format. Neutral: 1px borders, body font. */
.nf .nf-btns,.nf .nf-try{display:flex;flex-wrap:wrap;gap:8px 10px;align-items:center}
.nf .nf-try{margin-top:10px;font-size:15px;color:var(--ink-2)}
.nf .nf-try button{min-height:44px;margin-top:0;font-size:15px;font-variant-numeric:tabular-nums}
.nf .nf-small,.nf-small{font-size:14.5px;color:var(--ink-2);margin-top:8px}
.nf .nf-live{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.nf-verdict{border:1px solid var(--line);border-radius:8px;padding:12px 16px}
.nf-verdict .nf-title{font-weight:600;margin:0}
.nf-verdict.nf-ok .nf-title{color:var(--teal)}
.nf-verdict.nf-bad .nf-title{color:var(--red)}
.nf-verdict .nf-notes{margin:6px 0 0;padding-left:1.2em}
.nf-verdict .nf-notes li{margin-top:4px;font-size:15.5px}
.nf-verdict .nf-more{margin:8px 0 0;font-size:15px}
.nf .nf-formats th{width:30%}
.nf .nf-formats th small{display:block;font-weight:400;color:var(--ink-2);font-size:13px}
.nf .nf-formats code{font-size:16px;overflow-wrap:anywhere}
.nf .nf-formats td.nf-copy{width:1%;white-space:nowrap;text-align:right}
.nf .nf-formats td.nf-copy button{margin-top:0;min-width:84px}
.nf-dial{margin-top:16px;border:1px solid var(--line);border-radius:8px;padding:12px 16px}
.nf-dial p{margin:4px 0 0}
.nf-dial .nf-title{font-weight:600;margin:0}
.nf-dial .nf-big{font-weight:600;font-size:22px;line-height:1.3;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.nf-offscreen{position:fixed;top:0;left:-9999px;opacity:0}
.nf-anat{margin:22px 0 0;border:1px solid var(--line);border-radius:8px;padding:14px 12px 10px;color:var(--ink)}
.nf-anat svg{display:block;width:100%;max-width:640px;height:auto;margin:0 auto;font-family:var(--body)}
.nf-anat .nf-anat-num{font-variant-numeric:tabular-nums}
.nf-anat .nf-anat-sub{fill:var(--ink-2)}
.nf-anat .nf-brace{stroke:var(--ink-2)}
.nf-anat figcaption{text-align:center;font-size:14px;color:var(--ink-2);margin-top:6px}
.nf-pre{border:1px solid var(--line);border-radius:8px;padding:12px 14px;overflow-x:auto;font-size:15px}
.nf-dialtable code{white-space:nowrap}
@media(max-width:600px){.nf .nf-formats th{width:auto}.nf-dialtable code{white-space:normal}}
