/* All layout responds to the component's container, including Elementor columns. */
.nhq {
    --nhq-accent: #527467;
    --nhq-green: #477a53;
    --nhq-dark: #254b35;
    --nhq-ink: #26382c;
    --nhq-muted: #56675b;
    --nhq-paper: #fff;
    --nhq-soft: #eff6ed;
    --nhq-warm: #fafbf8;
    --nhq-line: #dde7dc;
    --nhq-radius: 16px;
    --nhq-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    box-sizing: border-box;
    container: nhq / inline-size;
    width: 100%;
    max-width: 960px;
    min-width: 0;
    margin: 32px auto;
    color: var(--nhq-ink);
    background: var(--nhq-paper);
    border: 1px solid var(--nhq-line);
    border-radius: 20px;
    box-shadow: 0 24px 70px -28px rgb(37 75 53 / 20%);
    font: 400 16px/1.65 var(--nhq-font);
    text-align: start;
    overflow-wrap: anywhere;
    isolation: isolate;
}
.nhq *, .nhq *::before, .nhq *::after { box-sizing: border-box; }
.nhq [hidden] { display: none !important; }
.nhq .nhq-stage { padding: 28px 22px; }
.nhq .nhq-icon { display: block; width: 22px; height: 22px; flex: 0 0 22px; color: var(--nhq-dark); }
.nhq .nhq-eyebrow { margin: 0 0 20px; color: var(--nhq-muted); font: 650 11px/1.6 var(--nhq-font); letter-spacing: .1em; }
.nhq .nhq-title { margin: 0 0 20px; color: var(--nhq-ink); font: 650 32px/1.18 var(--nhq-font); letter-spacing: -.035em; text-wrap: balance; }
.nhq .nhq-copy { margin: 0 0 24px; color: var(--nhq-muted); font: 400 16px/1.75 var(--nhq-font); white-space: pre-line; }
.nhq .nhq-meta { margin: 16px 0 0; color: var(--nhq-muted); font: 400 12px/1.6 var(--nhq-font); }
.nhq .nhq-button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    max-width: 100%;
    padding: 14px 22px;
    border: 1px solid var(--nhq-dark);
    border-radius: 12px;
    background: var(--nhq-dark);
    color: #fff;
    font: 650 15px/1.5 var(--nhq-font);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 5px 12px -8px rgb(37 75 53 / 40%);
    transition: background-color .18s, border-color .18s, box-shadow .18s, transform .18s;
}
.nhq .nhq-button:hover { background: #183a26; border-color: #183a26; color: #fff; text-decoration: none; transform: translateY(-1px); box-shadow: 0 8px 18px -10px rgb(37 75 53 / 45%); }
.nhq .nhq-button:active { transform: translateY(0); }
.nhq .nhq-button-secondary { background: transparent; color: var(--nhq-dark); border-color: transparent; box-shadow: none; }
.nhq .nhq-button-secondary:hover { background: var(--nhq-soft); color: var(--nhq-dark); border-color: transparent; box-shadow: none; }
.nhq .nhq-button:disabled { opacity: .45; cursor: default; transform: none; box-shadow: none; }
.nhq :is(button, a, input, summary):focus-visible { outline: 3px solid #214c85; outline-offset: 4px; }
.nhq :is(.nhq-title, .nhq-question):focus-visible { outline: 2px solid #214c85; outline-offset: 6px; border-radius: 3px; }
.nhq .nhq-footer { padding: 20px 22px; border-top: 1px solid var(--nhq-line); border-radius: 0 0 20px 20px; background: var(--nhq-warm); }
.nhq .nhq-footer p { margin: 0; color: var(--nhq-muted); font: 400 12px/1.7 var(--nhq-font); }
.nhq .nhq-footer p + p { margin-top: 6px; }
.nhq .nhq-start { display: none; }
.nhq .nhq-nojs { color: var(--nhq-muted); font-size: 14px; }

/* Welcome: an editorial introduction and locally drawn food illustration. */
.nhq .nhq-stage-welcome { display: grid; gap: 28px; }
.nhq .nhq-welcome-content { min-width: 0; }
.nhq .nhq-highlights { display: flex; flex-wrap: wrap; gap: 14px 22px; margin: 28px 0; padding: 0; list-style: none; }
.nhq .nhq-highlights li { display: flex; gap: 7px; align-items: center; color: var(--nhq-muted); font: 500 12px/1.5 var(--nhq-font); }
.nhq .nhq-highlights .nhq-icon { width: 17px; height: 17px; flex-basis: 17px; }
.nhq .nhq-welcome-visual { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 0; border-radius: var(--nhq-radius); background: var(--nhq-soft); padding: 20px 16px 24px; }
.nhq .nhq-art-caption { display: flex; align-items: center; gap: 10px; color: var(--nhq-dark); font: 500 13px/1.5 var(--nhq-font); }
.nhq .nhq-art { position: relative; width: min(100%, 270px); aspect-ratio: 1; flex-shrink: 0; }
.nhq .nhq-art-orbit { position: absolute; inset: 3%; border: 1px solid #c8d9c6; border-radius: 50%; }
.nhq .nhq-plate { position: absolute; inset: 12%; border: 12px solid #fff; border-radius: 50%; background: #f7faf3; box-shadow: inset 0 0 0 1px #dce8d9, 0 16px 26px -14px rgb(37 75 53 / 25%); transform: rotate(-12deg); }
.nhq .nhq-greens { position: absolute; width: 50%; height: 58%; left: 10%; top: 13%; }
.nhq .nhq-leaf { position: absolute; width: 43%; height: 64%; background: #719573; border-radius: 75% 0 75% 0; transform: rotate(-30deg); left: 8%; top: 8%; }
.nhq .nhq-leaf::after { content: ""; position: absolute; height: 70%; width: 1px; background: #c4d9bd; left: 50%; top: 15%; transform: rotate(28deg); }
.nhq .nhq-leaf:nth-child(2) { left: 43%; top: 10%; transform: rotate(24deg); background: #477a53; }
.nhq .nhq-leaf:nth-child(3) { left: 13%; top: 39%; transform: rotate(-68deg); background: #91ad80; }
.nhq .nhq-leaf:nth-child(4) { left: 49%; top: 42%; transform: rotate(15deg); background: #5b885d; }
.nhq .nhq-leaf:nth-child(5) { left: 26%; top: 23%; transform: rotate(-12deg); background: #a5bb8f; }
.nhq .nhq-grains { position: absolute; right: 13%; top: 15%; width: 27%; height: 35%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; transform: rotate(25deg); }
.nhq .nhq-grains span { display: block; border-radius: 40%; background: #cbbb87; }
.nhq .nhq-grains span:nth-child(3n) { background: #ddce9c; }
.nhq .nhq-tomato { position: absolute; width: 28%; height: 28%; border-radius: 50%; background: #c77b61; border: 6px solid #dd9b7f; right: 18%; bottom: 14%; }
.nhq .nhq-tomato::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; border: 2px dashed #f5d4b3; }
.nhq .nhq-tomato-small { width: 21%; height: 21%; right: 1%; bottom: 34%; border-width: 4px; }
.nhq .nhq-art-dot { position: absolute; width: 18px; height: 18px; right: 10%; top: 3%; border-radius: 50%; background: #a3bb92; border: 4px solid var(--nhq-soft); }
.nhq .nhq-art-dot-small { width: 12px; height: 12px; top: auto; right: auto; left: 9%; bottom: 10%; background: #d5b887; border-width: 2px; }

/* Question flow: native radio semantics with custom, visible controls. */
.nhq .nhq-stage-question { padding: 0; display: grid; }
.nhq .nhq-rail { min-width: 0; padding: 24px 22px; background: var(--nhq-soft); border-radius: 20px 20px 0 0; }
.nhq .nhq-rail-brand { display: flex; align-items: center; gap: 9px; color: var(--nhq-dark); font: 600 13px/1.5 var(--nhq-font); }
.nhq .nhq-step-number { display: none; margin: 32px 0 18px; }
.nhq .nhq-step-number strong { color: var(--nhq-dark); font: 500 64px/1 var(--nhq-font); letter-spacing: -.06em; }
.nhq .nhq-step-number span { margin-left: 10px; color: var(--nhq-muted); font-size: 17px; }
.nhq .nhq-progress-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 18px; color: var(--nhq-muted); font: 500 12px/1.5 var(--nhq-font); }
.nhq .nhq-percentage { color: var(--nhq-dark); font-weight: 700; }
.nhq .nhq-progress-track { height: 5px; margin: 12px 0 9px; overflow: hidden; border-radius: 3px; background: #d5e2d2; }
.nhq .nhq-progress-fill { display: block; width: 100%; height: 100%; background: var(--nhq-accent); transform-origin: left; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.nhq .nhq-progress-label { margin: 0; font-size: 11px; color: var(--nhq-muted); }
.nhq .nhq-art-compact, .nhq .nhq-rail-note { display: none; }
.nhq .nhq-form { min-width: 0; margin: 0; padding: 28px 22px; animation: nhq-enter .28s ease both; }
.nhq .nhq-form > .nhq-eyebrow { margin-bottom: 12px; color: var(--nhq-dark); }
.nhq .nhq-fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
.nhq .nhq-question { float: none; display: block; width: 100%; padding: 0; margin: 0 0 12px; color: var(--nhq-ink); font: 600 25px/1.35 var(--nhq-font); letter-spacing: -.025em; text-wrap: balance; }
.nhq .nhq-help { margin: 0 0 24px; color: var(--nhq-muted); font: 400 13px/1.65 var(--nhq-font); }
.nhq .nhq-options { display: grid; gap: 12px; }
.nhq .nhq-option { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 72px; padding: 17px 16px; border: 1px solid #c7d3c5; border-radius: 12px; background: var(--nhq-paper); color: var(--nhq-ink); font: 500 15px/1.5 var(--nhq-font); cursor: pointer; transition: background-color .2s, border-color .2s, box-shadow .2s; }
.nhq .nhq-option:hover { border-color: #66886b; background: var(--nhq-warm); }
.nhq .nhq-option:has(input:checked) { border-color: var(--nhq-dark); background: var(--nhq-soft); box-shadow: inset 0 0 0 1px var(--nhq-dark); }
.nhq .nhq-option:focus-within { outline: 3px solid #214c85; outline-offset: 3px; }
.nhq .nhq-option input { appearance: none; position: static; opacity: 1; display: grid; place-content: center; flex: 0 0 22px; width: 22px; height: 22px; margin: 0; padding: 0; background: #fff; border: 1.5px solid #708572; border-radius: 50%; box-shadow: none; cursor: pointer; }
.nhq .nhq-option input::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--nhq-dark); transform: scale(0); transition: transform .16s ease; }
.nhq .nhq-option input:checked { border-color: var(--nhq-dark); }
.nhq .nhq-option input:checked::before { transform: scale(1); }
.nhq .nhq-option-text { flex: 1; min-width: 0; }
.nhq .nhq-check { flex: 0 0 14px; visibility: hidden; color: var(--nhq-dark); font-weight: 800; }
.nhq input:checked ~ .nhq-check { visibility: visible; }
.nhq .nhq-nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.nhq .nhq-error { margin: 14px 0 0; color: #912f29; font-weight: 600; font-size: 14px; }

/* Results: weighted result, tailored cards, and a distinct next-action panel. */
.nhq .nhq-stage-results > .nhq-eyebrow { display: flex; align-items: center; gap: 10px; }
.nhq .nhq-stage-results > .nhq-eyebrow::before { content: ""; width: 20px; height: 2px; background: var(--nhq-accent); }
.nhq .nhq-dashboard { display: grid; gap: 28px; margin: 24px 0 40px; }
.nhq .nhq-score-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 20px; border-radius: var(--nhq-radius); background: var(--nhq-soft); }
.nhq .nhq-ring { width: 160px; height: 160px; padding: 8px; border-radius: 50%; background: conic-gradient(var(--nhq-accent) var(--nhq-score), #d6e4d3 0); }
.nhq .nhq-ring-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; border: 6px solid var(--nhq-soft); border-radius: 50%; background: var(--nhq-paper); }
.nhq .nhq-ring strong { color: var(--nhq-dark); font: 600 48px/1 var(--nhq-font); letter-spacing: -.06em; }
.nhq .nhq-ring span { margin-top: 7px; color: var(--nhq-muted); font: 400 13px/1.5 var(--nhq-font); }
.nhq .nhq-score-caption { margin: 18px 0 4px; color: var(--nhq-dark); text-align: center; font: 600 13px/1.5 var(--nhq-font); }
.nhq .nhq-score-note { color: var(--nhq-muted); text-align: center; font: 400 11px/1.5 var(--nhq-font); }
.nhq .nhq-overview { min-width: 0; align-self: center; }
.nhq .nhq-strengths { margin: 0; padding: 14px 16px; border-left: 3px solid #66886b; background: var(--nhq-warm); color: var(--nhq-dark); font: 500 13px/1.7 var(--nhq-font); }
.nhq .nhq-section-heading { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; align-items: baseline; margin-bottom: 20px; }
.nhq .nhq-subtitle { margin: 0; color: var(--nhq-ink); font: 600 22px/1.4 var(--nhq-font); letter-spacing: -.025em; }
.nhq .nhq-section-heading > p { margin: 0; color: var(--nhq-muted); font-size: 12px; }
.nhq .nhq-cards { display: grid; gap: 16px; }
.nhq .nhq-card { min-width: 0; padding: 24px; border: 0; border-radius: var(--nhq-radius); background: var(--nhq-warm); animation: nhq-enter .35s ease both; animation-delay: var(--nhq-card-delay, 0ms); }
.nhq .nhq-card:nth-child(2) { background: #f0f5ee; }
.nhq .nhq-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.nhq .nhq-card-icon { width: 30px; height: 30px; flex-basis: 30px; padding: 3px; }
.nhq .nhq-card-number { color: var(--nhq-muted); font: 500 12px/1 var(--nhq-font); }
.nhq .nhq-card h4 { margin: 0 0 14px; color: var(--nhq-ink); font: 600 17px/1.45 var(--nhq-font); letter-spacing: -.01em; }
.nhq .nhq-card p { margin: 0; color: var(--nhq-muted); font: 400 14px/1.75 var(--nhq-font); }
.nhq .nhq-closing { display: flex; align-items: flex-start; gap: 14px; margin: 28px 0; padding: 0 2px; }
.nhq .nhq-closing > .nhq-icon { margin-top: 4px; }
.nhq .nhq-closing > p { margin: 0; color: var(--nhq-muted); font-size: 14px; }
.nhq .nhq-details { padding: 10px 0; border-top: 1px solid var(--nhq-line); color: var(--nhq-muted); font-size: 13px; }
.nhq .nhq-details summary { min-height: 44px; padding: 10px 2px; cursor: pointer; font-weight: 500; }
.nhq .nhq-details p { margin: 12px 2px; }
.nhq .nhq-weights { margin: 14px 0; padding-left: 22px; }
.nhq .nhq-action-panel { display: grid; gap: 22px; margin-top: 26px; padding: 24px; border-radius: var(--nhq-radius); background: var(--nhq-soft); }
.nhq .nhq-action-copy h3 { margin: 0 0 8px; color: var(--nhq-dark); font: 600 20px/1.4 var(--nhq-font); letter-spacing: -.02em; }
.nhq .nhq-action-copy p { margin: 0; color: var(--nhq-muted); font-size: 13px; }
.nhq .nhq-results-actions { flex-direction: column-reverse; margin: 0; justify-content: center; }
.nhq .nhq-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@keyframes nhq-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@container nhq (min-width: 480px) {
    .nhq .nhq-stage { padding: 36px 32px; }
    .nhq .nhq-stage-question { padding: 0; }
    .nhq .nhq-form, .nhq .nhq-rail { padding: 28px 32px; }
    .nhq .nhq-footer { padding: 20px 32px; }
    .nhq .nhq-title { font-size: 38px; }
    .nhq .nhq-options-short { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nhq .nhq-weights { columns: 2; }
}
@container nhq (min-width: 720px) {
    .nhq .nhq-stage { padding: 44px; }
    .nhq .nhq-stage-welcome { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: stretch; gap: 36px; }
    .nhq .nhq-welcome-content { padding: 10px 0; }
    .nhq .nhq-title { font-size: 42px; }
    .nhq .nhq-welcome-visual { padding: 28px 16px; }
    .nhq .nhq-stage-question { grid-template-columns: minmax(0, .35fr) minmax(0, .65fr); padding: 0; }
    .nhq .nhq-rail { padding: 34px 28px; border-radius: 20px 0 0 0; }
    .nhq .nhq-step-number { display: block; }
    .nhq .nhq-rail .nhq-art-compact { display: block; width: 170px; max-width: 100%; margin: 30px auto 20px; }
    .nhq .nhq-rail-note { display: block; margin: 0; color: var(--nhq-muted); font-size: 13px; }
    .nhq .nhq-form { padding: 40px 32px; }
    .nhq .nhq-question { font-size: 28px; }
    .nhq .nhq-options-short { grid-template-columns: 1fr; }
    .nhq .nhq-dashboard:has(.nhq-score-panel) { grid-template-columns: minmax(0, .32fr) minmax(0, .68fr); gap: 36px; }
    .nhq .nhq-overview .nhq-title { font-size: 36px; }
    .nhq .nhq-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .nhq .nhq-card { padding: 24px 22px; }
    .nhq .nhq-footer { padding: 22px 44px; }
    .nhq .nhq-action-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 28px; padding: 28px; }
}
@container nhq (min-width: 880px) {
    .nhq .nhq-stage-welcome .nhq-title { font-size: 46px; }
    .nhq .nhq-options-short { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nhq .nhq-option { min-height: 86px; padding: 18px 14px; gap: 10px; }
}
@container nhq (max-width: 399px) {
    .nhq .nhq-nav { flex-direction: column-reverse; }
    .nhq .nhq-nav .nhq-button { width: 100%; }
    .nhq .nhq-welcome-content > .nhq-button { width: 100%; }
    .nhq .nhq-welcome-visual { padding: 12px 16px 20px; }
    .nhq .nhq-welcome-visual .nhq-art { width: 180px; }
    .nhq .nhq-title { font-size: 30px; }
    .nhq .nhq-question { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
    .nhq *, .nhq *::before, .nhq *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
    .nhq .nhq-option input { appearance: auto; }
    .nhq .nhq-option input::before { display: none; }
    .nhq .nhq-ring { border: 3px solid CanvasText; }
    .nhq .nhq-option:has(input:checked) { border-color: Highlight; }
    .nhq .nhq-progress-fill { background: Highlight; forced-color-adjust: none; }
}
