/*
 | The Domain Name Generator (resources/views/tools/registry/generator.blade.php),
 | laid out after Namelix's at the owner's word, 23 Nov 2026: the keywords in
 | one wide bar, a style and a length as cards and a switch, then a card a
 | name, each with a preview of the name set in type on a solid colour
 | (a palette and a treatment, both from the name), its domain and what the control plane says about
 | it. Only the site's own tokens (public/css/site.css), so both themes follow;
 | the previews keep their own colours in both. Pushed by that view.
 */

/* ---------- the form, on the deep band ---------- */
.ng-form { display: grid; gap: 18px; }
.ng-search { border-radius: 999px; padding-left: 18px; align-items: center; }
.ng-search-i { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--jade); stroke-width: 1.8; stroke-linejoin: round; }
.tool-search.ng-search input { font-family: var(--font-sans); font-size: 19px; font-weight: 500; }
.ng-search .btn { border-radius: 999px; }
.ng-styles, .ng-lengths { border: 0; margin: 0; padding: 0; min-width: 0; }
.ng-styles legend, .ng-lengths legend { padding: 0; margin-bottom: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--deep-fg-3); }
html:lang(bn) .ng-styles legend, html:lang(bn) .ng-lengths legend { letter-spacing: 0; text-transform: none; font-size: 14px; }
.ng-style-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.ng-style { position: relative; cursor: pointer; }
.ng-style input { position: absolute; opacity: 0; pointer-events: none; }
.ng-style-box { display: grid; gap: 3px; height: 100%; box-sizing: border-box; padding: 12px 14px; border-radius: 14px; background: rgb(255 255 255 / 0.05); border: 1px solid var(--deep-line-2); transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s; }
.ng-style-box b { font-size: 14.5px; color: var(--deep-fg); }
.ng-style-box small { font-size: 12.5px; color: var(--deep-fg-3); }
.ng-style:hover .ng-style-box { background: rgb(255 255 255 / 0.08); }
.ng-style input:checked + .ng-style-box { border-color: var(--jade); background: rgb(45 212 191 / 0.1); box-shadow: 0 0 0 3px rgb(45 212 191 / 0.15); }
.ng-style input:focus-visible + .ng-style-box { outline: 2px solid var(--jade); outline-offset: 2px; }
.ng-seg { display: inline-flex; flex-wrap: wrap; padding: 4px; border-radius: 999px; background: rgb(255 255 255 / 0.05); border: 1px solid var(--deep-line-2); }
.ng-seg label { position: relative; cursor: pointer; }
.ng-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ng-seg span { display: block; padding: 7px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--deep-fg-2); }
.ng-seg input:checked + span { background: var(--jade); color: var(--jade-ink); }
.ng-seg input:focus-visible + span { outline: 2px solid var(--jade); outline-offset: 2px; }
.ng-lengths .tool-reg-hint { margin-top: 10px; }

/* ---------- the answer ---------- */
.ng-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 22px; }
.ng-count { margin: 0; font-size: 17px; color: var(--fg-2); }
.ng-count b { color: var(--fg); }
.ng-endings { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ng-endings-label { font-size: 13px; font-weight: 600; color: var(--fg-3); margin-right: 4px; }
.ng-endings a, .ng-more-endings summary { display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg-2); font-size: 13.5px; font-weight: 700; text-decoration: none; cursor: pointer; list-style: none; }
.ng-more-endings summary::-webkit-details-marker { display: none; }
.ng-endings a:hover, .ng-more-endings summary:hover { color: var(--fg); border-color: var(--fg-3); }
.ng-endings a[aria-current] { background: var(--primary); border-color: var(--primary); color: var(--primary-fg); }
.ng-more-endings { position: relative; }
.ng-more-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; display: flex; flex-wrap: wrap; gap: 6px; width: max-content; max-width: min(320px, 80vw); padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }

.ng-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.ng-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.ng-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 2px 4px rgb(13 19 34 / 0.05), 0 24px 44px -26px rgb(13 19 34 / 0.45); }
@media (prefers-reduced-motion: reduce) { .ng-card, .ng-card:hover { transition: none; transform: none; } }
.ng-card.is-new { animation: ng-in 0.35s ease both; }
@keyframes ng-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .ng-card.is-new { animation: none; } }

/* The preview's type and colours are public/css/name-logo.css, pushed beside this file. */

/* The domain, the save button and what the control plane says. */
.ng-foot { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 10px 8px; padding: 14px 16px 16px; }
.ng-domain { margin: 0; display: grid; gap: 2px; min-width: 0; }
.ng-domain-name { font-size: 15.5px; font-weight: 700; color: var(--fg); overflow-wrap: anywhere; }
.ng-domain-name em { font-style: normal; color: var(--primary-text); }
.ng-domain .tool-reg-ascii { font-size: 11.5px; word-break: break-all; }
.ng-save { display: grid; place-items: center; width: 34px; height: 34px; margin: -4px -6px 0 0; border: 0; border-radius: 50%; background: none; color: var(--fg-3); cursor: pointer; }
.ng-save svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.ng-save:hover { color: var(--danger); background: var(--no-bg); }
.ng-save[aria-pressed="true"] { color: var(--danger); }
.ng-save[aria-pressed="true"] svg { fill: currentColor; }
.ng-status { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 10px; min-height: 38px; }
.ng-status > .ng-badge { justify-self: start; }
.ng-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--fg-3); background: var(--surface-2); border: 1px solid var(--line); }
.ng-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ng-badge.is-available { color: var(--success); background: var(--ok-bg); border-color: var(--ok-line); }
.ng-badge.is-taken, .ng-badge.is-error { color: var(--danger); background: var(--no-bg); border-color: rgb(193 36 36 / 0.22); }
.ng-badge.is-unknown, .ng-badge.is-reserved, .ng-badge.is-invalid, .ng-badge.is-unsold { color: var(--warning); background: var(--renew-bg); border-color: var(--renew-line); }
.ng-price { grid-column: 1; display: grid; line-height: 1.2; font-variant-numeric: tabular-nums; }
.ng-price b { font-size: 16px; color: var(--fg); }
.ng-price small { font-size: 11.5px; color: var(--fg-3); }
.ng-buy { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: var(--primary-fg); text-decoration: none; transition: background-color 0.15s; }
.ng-buy:hover { background: var(--primary-hover); }
.ng-buy svg { width: 18px; height: 18px; }
.ng-buy .dadd-ok { display: none; }
.ng-buy.in-cart { background: var(--success); }
.ng-buy.in-cart .dadd-i { display: none; }
.ng-buy.in-cart .dadd-ok { display: block; }
.ng-buy[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.ng-check { justify-self: end; height: 30px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--primary); background: none; color: var(--primary-text); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.ng-check:hover { background: var(--tint); }
.ng-check[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.ng-look { justify-self: end; font-size: 13px; font-weight: 600; color: var(--primary-text); text-decoration: none; }
.ng-look:hover { text-decoration: underline; }
.ng-why { grid-column: 1 / -1; font-size: 12px; color: var(--fg-3); }
.ng-card[data-state="taken"] .ng-domain-name { color: var(--fg-3); text-decoration: line-through; }
.ng-card[data-state="taken"] .ng-domain-name em { color: inherit; }
.ng-card [hidden] { display: none !important; }

.ng-more-wrap { display: flex; justify-content: center; margin: 30px 0 0; }
.ng-more { min-width: 200px; justify-content: center; border-radius: 999px; }
.ng-more[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.ng-notes { display: grid; gap: 8px; margin-top: 26px; }

@media (max-width: 1100px) { .ng-style-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .ng-style-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ng-search { padding-left: 14px; border-radius: 22px; }
    .ng-logo { aspect-ratio: 2 / 1; }
    .ng-search-i { display: none; }
    .ng-endings { width: 100%; }
}

/* ---------- the hero: steps, the form beside a live preview, quick starts (24 Nov 2026) ---------- */
.tool-head:has(.ng-hero) { max-width: none; }
.ng-steps { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ng-steps li { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--deep-fg-3); }
.ng-steps li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--deep-line-2); font-size: 12.5px; }
.ng-steps li.on { color: var(--deep-fg); }
.ng-steps li.on span { background: var(--jade); border-color: var(--jade); color: var(--jade-ink); }
.ng-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); gap: 28px 44px; align-items: start; }
.ng-hero-form { display: grid; gap: 18px; min-width: 0; }
.ng-quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ng-quick span { font-size: 13.5px; color: var(--deep-fg-3); margin-right: 2px; }
.ng-quick a { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--deep-fg-2); text-decoration: none; background: rgb(255 255 255 / 0.05); border: 1px solid var(--deep-line-2); }
.ng-quick a:hover { color: var(--deep-fg); border-color: var(--jade); }
.ng-live { display: grid; gap: 12px; padding: 18px; border-radius: 22px; background: rgb(255 255 255 / 0.04); border: 1px solid var(--deep-line-2); }
.ng-live-title { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--deep-fg-3); }
html:lang(bn) .ng-live-title { letter-spacing: 0; text-transform: none; font-size: 14px; }
.ng-live-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ng-live-grid .ng-logo { border: 0; border-radius: 14px; padding: 12px; }
.ng-live-grid .ng-word, .ng-gal-logos .ng-word { font-size: calc(30px * var(--z)); }
.ng-live-grid .ng-t-mono .ng-word { font-size: calc(26px * var(--z)); }
.ng-live-grid .ng-word:lang(bn), .ng-gal-logos .ng-word:lang(bn) { font-size: calc(24px * var(--z)); }
.ng-live-note { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--deep-fg-3); }

/* ---------- the bar over the answer: filters, Surprise me, copy link, saved names ---------- */
.ng-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: -6px 0 18px; }
.ng-filters, .ng-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ng-chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg-2); font: inherit; font-size: 13.5px; font-weight: 600; text-decoration: none; cursor: pointer; list-style: none; }
.ng-chip::-webkit-details-marker { display: none; }
.ng-chip:hover { color: var(--fg); border-color: var(--fg-3); }
.ng-chip[aria-pressed="true"] { background: var(--tint-2); border-color: var(--primary); color: var(--primary-text); }
.ng-chip svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ng-chip.done { color: var(--success); border-color: var(--success); }
.ng-chip b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--tint-2); color: var(--primary-text); font-size: 12px; display: inline-grid; place-items: center; }
.ng-surprise svg circle { fill: currentColor; stroke: none; }
.ng-saved { position: relative; }
.ng-saved-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; width: min(320px, 86vw); display: grid; gap: 8px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.ng-saved-title { margin: 0; font-size: 14px; font-weight: 700; color: var(--fg); }
.ng-saved-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 320px; overflow-y: auto; }
.ng-saved-panel li { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 9px; background: var(--surface-2); }
.ng-saved-panel li span { flex: 1; min-width: 0; font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.ng-saved-panel form { margin: 0; }
.ng-saved-panel li button { font: inherit; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--primary); background: none; color: var(--primary-text); cursor: pointer; }
.ng-saved-panel li button.x { border: 0; color: var(--fg-3); font-size: 16px; padding: 2px 6px; }
.ng-saved-empty { margin: 0; font-size: 13px; color: var(--fg-3); }
.ng-empty { margin: 18px 0 0; color: var(--fg-3); }
.ng-card[hidden] { display: none; }

/* ---------- the page sections ---------- */
.ng-sec h3 { margin: 0; font-size: 17px; color: var(--fg); }
.ng-sec p { color: var(--fg-2); }
.ng-how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: ng-how; }
.ng-how li { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); counter-increment: ng-how; }
.ng-how li::before { content: counter(ng-how); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 4px; border-radius: 12px; background: var(--tint); color: var(--primary-text); font-family: var(--font-display); font-size: 18px; font-weight: 800; }
html:lang(bn) .ng-how li::before { content: counter(ng-how, bengali); }
.ng-how p { margin: 0; line-height: 1.6; font-size: 14.5px; }

.ng-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.ng-gal { display: grid; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.ng-gal-logos { display: grid; grid-template-columns: 1fr 1fr; }
.ng-gal-logos .ng-logo { border: 0; padding: 12px; }
.ng-gal-text { display: grid; gap: 6px; padding: 14px 16px 16px; }
.ng-gal-tag { justify-self: start; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--fg-3); }
html:lang(bn) .ng-gal-tag { font-family: var(--font-sans); letter-spacing: 0; text-transform: none; font-size: 12px; }
.ng-gal-text a, .ng-guide a { font-size: 14px; font-weight: 600; color: var(--primary-text); text-decoration: none; }
.ng-gal-text a:hover, .ng-guide a:hover { text-decoration: underline; }

.ng-guide { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.ng-guide li { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.ng-guide-tld { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--primary-text); letter-spacing: -0.02em; }
.ng-guide p { margin: 0; font-size: 14px; line-height: 1.55; }
.ng-guide dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.ng-guide dt { font-size: 12px; color: var(--fg-3); }
.ng-guide dd { margin: 0; font-weight: 700; color: var(--fg); font-variant-numeric: tabular-nums; }
.ng-guide dd s { font-weight: 400; color: var(--fg-3); margin-right: 4px; }

.ng-tips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.ng-tips li { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.ng-tips p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.ng-tip-ex { display: grid; gap: 6px; margin-top: 4px !important; }
.ng-tip-ex span { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.ng-tip-ex svg { width: 15px; height: 15px; flex: none; }
.ng-tip-ex .ok { color: var(--success); }
.ng-tip-ex .no { color: var(--danger); }
.ng-tip-ex code { font-family: var(--font-mono); font-size: 12.5px; color: var(--fg); overflow-wrap: anywhere; }

.ng-bangla { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px 48px; align-items: center; }
.ng-bangla-ex { margin: 0; display: grid; gap: 12px; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ng-bangla-ex div { display: grid; gap: 4px; }
.ng-bangla-ex dt { font-size: 12.5px; color: var(--fg-3); }
.ng-bangla-ex dd { margin: 0; font-size: 22px; font-weight: 700; color: var(--fg); overflow-wrap: anywhere; }
.ng-bangla-ex dd.tool-mono { font-size: 15px; font-weight: 500; color: var(--primary-text); }


@media (max-width: 960px) {
    .ng-hero { grid-template-columns: minmax(0, 1fr); }
    .ng-how { grid-template-columns: minmax(0, 1fr); }
    .ng-bangla { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .ng-tools { margin-top: 0; }
    /* The preview's cards are half a phone wide. */
    .ng-live-grid .ng-word { font-size: calc(19px * var(--z)); }
    .ng-live-grid .ng-t-mono .ng-word { font-size: calc(17px * var(--z)); }
    .ng-live-grid .ng-word:lang(bn) { font-size: calc(17px * var(--z)); }
}
html:lang(bn) .ng-how p, html:lang(bn) .ng-tips p, html:lang(bn) .ng-guide p { line-height: 1.75; }

/* ---------- What comes next: a path on the deep band (25 Nov 2026) ---------- */
.ng-next-wrap { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 40px 64px; align-items: start; }
.ng-next-head { position: sticky; top: 110px; display: grid; gap: 14px; justify-items: start; }
.ng-next-head h2 { margin: 0; }
.ng-next-head p { margin: 0; color: var(--deep-fg-2); max-width: 42ch; }
.ng-next-head .btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; }
.ng-next-head .btn svg { width: 17px; height: 17px; }
.ng-path { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: ng-path; position: relative; }
/* The line the stops sit on. */
.ng-path::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(var(--jade), rgb(45 212 191 / 0.1)); }
.ng-path li { counter-increment: ng-path; position: relative; }
.ng-path a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 16px 20px 16px 0; border-radius: 18px; text-decoration: none; color: var(--deep-fg); transition: background-color 0.15s; }
.ng-path a:hover { background: rgb(255 255 255 / 0.05); }
.ng-path-i { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--deep-2); border: 2px solid var(--jade); color: var(--jade); }
.ng-path-i svg { width: 22px; height: 22px; }
/* The stop's number, on its icon. */
.ng-path-i::after { content: counter(ng-path); position: absolute; top: -4px; right: -4px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--jade); color: var(--jade-ink); font-size: 12px; font-weight: 800; }
html:lang(bn) .ng-path-i::after { content: counter(ng-path, bengali); }
.ng-path-body { display: grid; gap: 4px; min-width: 0; }
.ng-path-body b { font-size: 17px; }
.ng-path-body span { font-size: 14.5px; line-height: 1.55; color: var(--deep-fg-2); }
.ng-path em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 14px; font-weight: 700; color: var(--jade); white-space: nowrap; }
.ng-path em svg { width: 16px; height: 16px; transition: transform 0.15s; }
.ng-path a:hover em svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .ng-path a:hover em svg { transform: none; } }

/* ---------- The questions, more tools and the way onward (the tools frame, this page only) ---------- */
.tool-more .tool-more-in { grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr); grid-template-areas: "faq related" "faq onward"; align-items: start; gap: 28px 48px; }
.tool-more .tool-faq { grid-area: faq; max-width: none; }
.tool-more .tool-related { grid-area: related; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.tool-more .tool-onward { grid-area: onward; }
.tool-more .tool-faq h2, .tool-more .tool-related h2 { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.tool-more .tool-related h2 { font-size: 19px; margin-bottom: 10px; }
/* More tools: a compact list in the side card, not a grid of cards. */
.tool-more .tool-related .tools-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.tool-more .tool-related .tool-card { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: 14px 2px; background: none; }
.tool-more .tool-related li:last-child .tool-card { border-bottom: 0; }
.tool-more .tool-related .tool-card:hover { background: none; }
.tool-more .tool-related .tool-card:hover .tool-card-title { color: var(--primary-text); }
.tool-more .tool-related .tool-card-text { font-size: 13.5px; }
.tool-more .tool-related .tool-all { margin-top: 10px; }
/* The way onward: a card of its own with two plain buttons. */
.tool-more .tool-onward { display: grid; gap: 10px; padding: 24px; border-radius: 20px; background: var(--deep); color: var(--deep-fg); }
.tool-more .tool-onward p { margin: 0; }
.tool-more .tool-onward p:first-child { font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1.35; margin-bottom: 6px; }
.tool-more .tool-onward .tool-all { margin: 0; width: 100%; box-sizing: border-box; justify-content: space-between; padding: 12px 16px; border-radius: 12px; background: rgb(255 255 255 / 0.06); border: 1px solid var(--deep-line-2); color: var(--deep-fg); text-decoration: none; }
.tool-more .tool-onward .tool-all:hover { border-color: var(--jade); color: var(--jade); }

@media (max-width: 960px) {
    .ng-next-wrap { grid-template-columns: minmax(0, 1fr); }
    .ng-next-head { position: static; }
    .tool-more .tool-more-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "faq" "related" "onward"; }
}
@media (max-width: 640px) {
    .ng-path a { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding-right: 8px; }
    .ng-path::before { left: 23px; }
    .ng-path-i { width: 48px; height: 48px; }
    .ng-path em { grid-column: 2; }
}
