/* Nüdel Family Gifting. Presentation for the Fernelyne Family Gifting plugin templates. */
@font-face {
	font-family: Bubblegum;
	src: url('../fonts/Bubblegum.woff2') format('woff2');
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
}

:root {
	--nd-navy: #173b6c;
	--nd-royal: #12309a;
	--nd-coral: #ef6b5b;
	--nd-coral-dark: #d9503f;
	--nd-sky: #eaf4fc;
	--nd-sky-2: #d6e9f8;
	--nd-line: #dbe5ee;
	--nd-ink: #243247;
	--nd-muted: #5b6b7e;
	--nd-gold: #ffc83d;
	--nd-green-bg: #effaf1;
	--nd-green-line: #bfe5c7;
	--nd-green-ink: #1c5a30;
	--nd-error: #b42318;
	--nd-display: Bubblegum, cursive;
	--nd-body: Montserrat, sans-serif;
}

body.nd-circle-page { background: #fff; color: var(--nd-ink); font-family: var(--nd-body); overflow-x: hidden; }
html { max-width: 100%; overflow-x: hidden; }
/* Form controls do not inherit the page font by default. */
body.nd-circle-page :is(button, input, select, textarea), :is(.growfund-page-container, .nd-gf-page) :is(button, input, select, textarea) { font-family: var(--nd-body); }
.nd-main { margin: 0; padding: 0; }
.nd-main > * { max-width: none; }
.nd-main *, .nd-header *, .nd-footer * { box-sizing: border-box; }
.nd-main .nd-create, .nd-main .nd-section { margin: 0; }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal; }

/* Header */
.nd-header { background: #fff; box-shadow: 0 1px 12px rgba(23, 59, 108, .08); font-family: var(--nd-body); }
.nd-header__inner { max-width: 1280px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 16px 32px; flex-wrap: nowrap; }
.nd-brand { font-family: var(--nd-display); font-size: 2rem; line-height: 1; color: var(--nd-royal); text-decoration: none; }
.nd-brand--logo { display: block; line-height: 0; }
.nd-brand__mark { display: block; height: 48px; background: var(--nd-royal); -webkit-mask: var(--nd-logo) center / contain no-repeat; mask: var(--nd-logo) center / contain no-repeat; }
.nd-nav { flex: 1 1 0; }
.nd-menu-toggle { display: none; border: 0; padding: 6px; background: transparent; color: var(--nd-navy); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.nd-account { flex: 1 1 0; display: flex; justify-content: flex-end; align-items: center; gap: 8px 18px; white-space: nowrap; }
.nd-account a.is-active:not(.nd-account__signup) { border-bottom: 3px solid var(--nd-coral); }
.nd-account__name { font-size: .9rem; font-weight: 600; color: var(--nd-muted); }
.nd-account a.nd-account__signup { background: var(--nd-coral); color: #fff; border-radius: 999px; padding: 8px 18px; }
.nd-account a.nd-account__signup:hover { background: var(--nd-coral-dark); text-decoration: none; }
.nd-account a.nd-account__signup.is-active { box-shadow: 0 0 0 3px rgba(239, 107, 91, .3); }
.nd-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 28px; flex-wrap: wrap; }
.nd-nav a, .nd-account { color: var(--nd-navy); font-weight: 600; font-size: .9rem; text-decoration: none; }
.nd-nav a:hover, .nd-account:hover { text-decoration: underline; }
.nd-nav__accent { color: var(--nd-coral) !important; }
.nd-nav a { padding: 6px 0; border-bottom: 3px solid transparent; }
.nd-nav a.is-active { border-bottom-color: var(--nd-coral); text-decoration: none; }
.nd-nav a:hover { text-decoration: none; border-bottom-color: var(--nd-sky-2); }

/* Footer */
.nd-footer { background: var(--nd-royal); color: #fff; text-align: center; padding: 56px 24px; font-family: var(--nd-body); }
.nd-footer__brand { font-family: var(--nd-display); font-size: 2.4rem; margin: 0 0 12px; line-height: 1; }
.nd-footer__brand img { height: 72px; width: auto; }
.nd-footer__links { margin: 0 0 16px; }
.nd-footer a { color: #fff; }
.nd-footer__legal { margin: 0; font-size: .75rem; opacity: .75; }

/* Layout */
.nd-container { max-width: 1100px; margin: 0 auto; }
.nd-section { padding: 40px 24px 72px; font-family: var(--nd-body); }
.nd-stack > * + * { margin-top: 24px; }
.nd-grid { display: grid; gap: 16px; }
.nd-grid--2 { grid-template-columns: 1fr 1fr; }

/* Type */
.nd-display { font-family: var(--nd-display); font-weight: 400; color: var(--nd-navy); font-size: 2.6rem; line-height: 1.08; margin: 0 0 16px; }
.nd-display--lg { font-size: 2.4rem; }
.nd-display--md { font-size: 1.7rem; margin-bottom: 12px; }
.nd-display--center { text-align: center; }
.nd-eyebrow { color: var(--nd-coral); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 8px; }
.nd-eyebrow--center { text-align: center; }
.nd-eyebrow--gold { color: var(--nd-gold); }
.nd-hint { color: var(--nd-muted); font-size: .8rem; margin: 6px 0 0; }
.nd-hint--center { text-align: center; }
.nd-breadcrumb { margin: 0; font-size: .9rem; }
.nd-breadcrumb a, .nd-organizer-note a { color: var(--nd-navy); font-weight: 700; }
.nd-organizer-note { margin: 0 0 24px; font-weight: 600; font-size: .9rem; color: var(--nd-muted); }

/* Cards, buttons */
.nd-card { background: #fff; border: 1px solid var(--nd-line); border-radius: 24px; padding: 32px; box-shadow: 0 8px 28px rgba(23, 59, 108, .07); }
.nd-card--flush { padding: 0; overflow: hidden; }
.nd-card--narrow { max-width: 560px; margin: 0 auto; }
.nd-card--center { text-align: center; }
.nd-card--form { max-width: 880px; margin: 0 auto; padding: 36px; }
.nd-create .nd-section { background: #f7f9fb; padding: 32px 16px 64px; }
.nd-create .nd-card--form { max-width: 704px; padding: 20px 24px 24px; border-radius: 16px; box-shadow: 0 8px 28px rgba(23, 59, 108, .07); }
.nd-create .nd-card--form > .nd-eyebrow { margin-bottom: 4px; font-size: .58rem; }
.nd-create .nd-card--form > .nd-display { margin-bottom: 14px; font-size: 1.25rem; }
.nd-create .nd-form { gap: 10px; margin-top: 0; }
.nd-create .nd-grid--2 { gap: 12px; }
.nd-create .nd-field label { font-size: .56rem; margin-bottom: 5px; }
.nd-create .nd-field input, .nd-create .nd-field select { height: 40px; border-radius: 8px; font-size: .78rem; }
.nd-create .nd-hint { font-size: .56rem; line-height: 1.35; }
.nd-create .nd-pods legend { font-size: 1.25rem; line-height: 1.05; }
.nd-create .nd-pods__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.nd-create .nd-pod { min-height: 142px; border-radius: 12px; border: 1px solid var(--nd-line); overflow: hidden; }
.nd-create .nd-pod__art { height: 80px; aspect-ratio: auto; background: #edf5fa; }
.nd-create .nd-pod__art--empty { background: #edf5fa; }
.nd-create .nd-pod__name { margin: 8px 6px 7px; font-size: .78rem; line-height: 1.05; text-align: left; white-space: nowrap; }
.nd-create .nd-pod__variants { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: stretch; gap: 6px; padding: 0 8px 8px; margin-top: auto; }
.nd-create .nd-variant { flex: 1 1 0; width: 50%; min-width: 0; height: 48px; border: 1px solid var(--nd-line); border-radius: 8px; padding: 0; }
.nd-create .nd-variant br { display: none !important; }
.nd-create .nd-variant__label { display: block !important; position: absolute !important; z-index: 3; left: 3px; right: 3px; top: 7px; height: 10px; color: #5b6b7e !important; font-family: Montserrat, sans-serif !important; font-size: 9px !important; font-weight: 800 !important; line-height: 10px !important; letter-spacing: .04em; text-transform: uppercase; text-align: center; visibility: visible !important; opacity: 1 !important; }
.nd-create .nd-variant__price { display: block !important; position: absolute !important; z-index: 3; left: 3px; right: 3px; bottom: 7px; height: 12px; margin: 0; color: #173b6c !important; font-family: Montserrat, sans-serif !important; font-size: 12px !important; font-weight: 800 !important; line-height: 12px !important; text-align: center; visibility: visible !important; opacity: 1 !important; }
.nd-create .nd-goal-row { border-radius: 8px; padding: 10px 12px; margin-top: 10px; font-size: .66rem; }
.nd-create .nd-goal-row strong { font-size: 1rem; }
.nd-create h3.nd-display { font-size: 1.25rem; margin: 2px 0 -2px; }
.nd-create .nd-button { height: 38px; padding: 9px 20px; border: 0; border-radius: 999px; background: #f36f60; color: #fff; font-size: .72rem; font-weight: 800; }
.nd-button { display: inline-block; background: #f36f60; color: #fff; border: 0; border-radius: 999px; padding: 14px 30px; font: 800 .82rem/1.2 var(--nd-body); text-align: center; text-decoration: none; cursor: pointer; transition: background .15s; }
.nd-button:hover { background: var(--nd-coral-dark); border-color: var(--nd-coral-dark); color: #fff; }
.nd-button:focus-visible, .nd-chip-button:focus-visible, .nd-variant input:focus-visible + .nd-variant__label { outline: 3px solid var(--nd-royal); outline-offset: 2px; }
.nd-button--block { display: block; width: 100%; }
.nd-button--ghost { background: #fff; color: var(--nd-navy); border-color: var(--nd-navy); }
.nd-button--ghost:hover { background: var(--nd-sky); color: var(--nd-navy); border-color: var(--nd-navy); }
.nd-button[disabled] { background: #e8edf2; border-color: #e8edf2; color: #7b8896; cursor: not-allowed; }
.nd-chip-button { background: var(--nd-sky); color: var(--nd-navy); border: 0; border-radius: 999px; padding: 10px 18px; font: 700 .8rem/1 var(--nd-body); text-align: center; text-decoration: none; cursor: pointer; }
.nd-chip-button:hover { background: var(--nd-sky-2); }
.nd-chip-button[hidden] { display: none; }

/* Alerts */
.nd-alert { border: 1px solid var(--nd-line); border-radius: 16px; padding: 16px 20px; font-size: .92rem; background: var(--nd-sky); }
.nd-alert .nd-eyebrow { display: block; }
.nd-alert__title { display: block; font-family: var(--nd-display); font-weight: 400; font-size: 1.5rem; color: inherit; margin-bottom: 4px; }
.nd-alert--success { background: var(--nd-green-bg); border-color: var(--nd-green-line); color: var(--nd-green-ink); }
.nd-alert--success .nd-eyebrow { color: var(--nd-green-ink); }
.nd-alert--error { background: #fef3f2; border-color: #fecdca; color: var(--nd-error); }
.nd-alert--warn, .nd-alert--warning { background: #fffaeb; border-color: #fedf89; color: #7a4b05; }

/* Create page */
.nd-hero { background: linear-gradient(180deg, #e9f4fc, #fff); padding: 56px 24px; }
.nd-hero__inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.nd-hero__copy .nd-display { font-size: 3.4rem; }
.nd-hero__text { font-size: 1.05rem; font-weight: 500; max-width: 34em; margin: 0 0 24px; }
.nd-hero__art { aspect-ratio: 1; border-radius: 28px; overflow: hidden; box-shadow: 0 18px 40px rgba(23, 59, 108, .15); background: var(--nd-sky-2); }
.nd-hero__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nd-hero__art--empty { background: linear-gradient(135deg, var(--nd-sky-2), #f6dfd9); }
.nd-steps { background: var(--nd-sky); padding: 64px 24px; }
.nd-steps__inner { max-width: 1100px; margin: 0 auto; }
.nd-steps__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nd-step { background: #fff; border-radius: 16px; padding: 24px; text-align: center; box-shadow: 0 4px 16px rgba(23, 59, 108, .05); }
.nd-step__num { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--nd-navy); color: #fff; align-items: center; justify-content: center; font-weight: 700; }
.nd-step h3 { font-family: var(--nd-display); font-weight: 400; font-size: 1.3rem; margin: 10px 0 6px; color: var(--nd-navy); }
.nd-step p { margin: 0; color: var(--nd-muted); font-size: .9rem; }

/* Form */
.nd-form { display: grid; gap: 20px; margin-top: 8px; }
.nd-field label { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--nd-muted); margin-bottom: 6px; }
.nd-field input, .nd-field select { width: 100%; height: 48px; border: 1.5px solid var(--nd-line); border-radius: 14px; padding: 0 16px; font: 500 .95rem var(--nd-body); color: var(--nd-ink); background: #fff; }
.nd-field input[readonly] { background: #f5f8fb; color: var(--nd-muted); }
.nd-field input:focus, .nd-field select:focus { outline: 3px solid rgba(18, 48, 154, .3); border-color: var(--nd-royal); }
.nd-field--error input, .nd-field--error select { border-color: var(--nd-error); }
.nd-error { color: var(--nd-error); font-size: .85rem; font-weight: 600; margin: 6px 0 0; }
.nd-pods { border: 0; margin: 0; padding: 0; min-width: 0; }
.nd-pods legend { padding: 0; }
.nd-pods__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.nd-pod { border: 1.5px solid var(--nd-line); border-radius: 16px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.nd-pod__art { aspect-ratio: 16 / 9; background: var(--nd-sky-2); }
.nd-pod__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nd-pod__art--empty { background: linear-gradient(135deg, var(--nd-sky-2), #f1e4f8); }
.nd-pod__name { font-family: var(--nd-display); font-size: 1.1rem; color: var(--nd-navy); margin: 10px 12px 8px; }
.nd-pod__variants { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 10px 10px; margin-top: auto; }
.nd-variant { position: relative; display: block; cursor: pointer; }
.nd-variant input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.nd-variant__label, .nd-variant__price { display: block; text-align: center; }
.nd-variant { border: 1.5px solid var(--nd-line); border-radius: 10px; padding: 6px 4px; }
.nd-variant__label { font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--nd-muted); }
.nd-variant__price { font-size: .95rem; font-weight: 800; color: var(--nd-navy); }
.nd-variant:has(input:checked) { border-color: var(--nd-navy); background: var(--nd-sky); box-shadow: 0 0 0 2px var(--nd-navy); }
.nd-variant:has(input:focus-visible) { outline: 3px solid var(--nd-royal); outline-offset: 2px; }
.nd-pod:has(input:checked) { border-color: var(--nd-navy); box-shadow: 0 6px 18px rgba(23, 59, 108, .18); }
.nd-goal-row { display: flex; justify-content: space-between; align-items: center; background: var(--nd-sky); border-radius: 14px; padding: 14px 20px; margin: 16px 0 0; font-weight: 700; }
.nd-goal-row strong { font-size: 1.5rem; color: var(--nd-navy); }

/* Gifting page */
.nd-gift-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; }
.nd-gift__art { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--nd-sky-2), #f6dfd9); display: flex; align-items: center; justify-content: center; color: var(--nd-navy); }
.nd-gift__art .fg-icon { width: 96px; height: 96px; opacity: .55; }
.nd-gift__body { padding: 28px; }
.nd-goal-chip { background: var(--nd-sky); border-radius: 12px; padding: 12px 16px; margin: 4px 0 24px; display: flex; flex-direction: column; color: var(--nd-navy); }
.nd-goal-chip__label { font-size: .65rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--nd-muted); }
.nd-chip .nd-button { margin: 16px 0 0; }
.nd-share-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; margin-top: 20px; }

/* Progress */
.nd-progress-card__amounts { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.nd-progress-card__raised { font-family: var(--nd-display); font-size: 2.6rem; font-weight: 400; color: var(--nd-navy); line-height: 1; }
.nd-progress-card__goal { font-weight: 700; color: var(--nd-muted); }
.nd-bar { height: 12px; background: var(--nd-sky); border-radius: 999px; overflow: hidden; }
.nd-bar__fill { height: 100%; background: var(--nd-coral); border-radius: 999px; min-width: 0; }
.nd-meta { list-style: none; display: flex; gap: 6px 18px; flex-wrap: wrap; margin: 12px 0 0; padding: 0; font-size: .8rem; font-weight: 700; color: var(--nd-ink); }
.nd-progress-card--compact .nd-progress-card__raised { font-size: 1.6rem; }

/* Dashboard */
.nd-banner { background: var(--nd-royal); color: #fff; border-radius: 28px; padding: 32px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.nd-banner .nd-display { color: #fff; }
.nd-banner__copy { flex: 1 1 360px; }
.nd-banner__copy p { margin: 0; }
.nd-stats { display: flex; gap: 10px; margin: 0; flex-wrap: wrap; }
.nd-stat { background: rgba(255, 255, 255, .12); border-radius: 16px; min-width: 100px; padding: 16px 12px; text-align: center; display: flex; flex-direction: column-reverse; }
.nd-stat dt { font-size: .75rem; font-weight: 700; }
.nd-stat dd { margin: 0 0 4px; font-family: var(--nd-display); font-size: 2rem; line-height: 1; }
.nd-share__row { display: flex; align-items: center; gap: 12px; }
.nd-share__label { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--nd-muted); }
.nd-share__row input { flex: 1; min-width: 0; height: 44px; border: 1.5px solid var(--nd-line); border-radius: 12px; background: #f5f8fb; padding: 0 14px; font: 500 .85rem var(--nd-body); color: var(--nd-ink); }
.nd-share__row--public { margin-top: 16px; }
.nd-alert--success .nd-share-actions { margin-top: 12px; }
.nd-gift-card { display: grid; grid-template-columns: 1fr 1fr; }
.nd-gift-card__art { background: linear-gradient(135deg, var(--nd-sky-2), #f1e4f8); min-height: 240px; display: flex; align-items: center; justify-content: center; color: var(--nd-navy); }
.nd-gift-card__art .fg-icon { width: 96px; height: 96px; opacity: .55; }
.nd-gift-card__body { padding: 28px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }
.nd-gift-card__body .nd-progress-card { width: 100%; margin: 8px 0; }
.nd-gift-card__body .nd-button { margin-top: 10px; }

/* My circles */
.nd-list-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.nd-circles { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.nd-circles__item { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.nd-circles__main { flex: 1 1 320px; }
.nd-circles__for { margin: 0 0 4px; font-size: .85rem; font-weight: 600; color: var(--nd-muted); }
.nd-circles__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.nd-circles__title { font-family: var(--nd-display); font-weight: 400; font-size: 1.6rem; margin: 0 0 8px; }
.nd-circles__title a { color: var(--nd-navy); text-decoration: none; }
.nd-section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.nd-contributors-count { display: inline-flex; min-width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 999px; background: var(--nd-sky); color: var(--nd-navy); font-weight: 800; }
.nd-contributors { display: grid; gap: 10px; margin-top: 18px; }
.nd-contributor { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid var(--nd-line); border-radius: 14px; background: #fbfdff; }
.nd-contributor__identity { display: grid; gap: 3px; min-width: 0; }
.nd-contributor__identity strong, .nd-contributor__identity span { overflow-wrap: anywhere; }
.nd-contributor__identity span { color: var(--nd-muted); font-size: .78rem; }
.nd-contributor__amount { color: var(--nd-navy); white-space: nowrap; }
.nd-contributor__status { padding: 6px 10px; border-radius: 999px; font-size: .7rem; font-weight: 800; text-transform: capitalize; }
.nd-contributor__status--success { background: var(--nd-green-bg); color: var(--nd-green-ink); }
.nd-contributor__status--pending { background: #fffaeb; color: #7a4b05; }
.nd-contributor__status--failed { background: #fef3f2; color: var(--nd-error); }

/* Mobile */
@media (max-width: 860px) {
	.nd-hero__inner, .nd-gift-layout, .nd-gift-card { grid-template-columns: 1fr; }
	.nd-hero__art { aspect-ratio: 16 / 10; order: -1; }
	.nd-hero__copy .nd-display { font-size: 2.6rem; }
	.nd-create .nd-pods__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nd-steps__list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	body, .wp-site-blocks { max-width: 100%; overflow-x: hidden; }
	.nd-grid--2 { grid-template-columns: 1fr; }
	.nd-header { position: relative; z-index: 20; }
	.nd-header__inner { min-height: 64px; padding: 9px 16px; gap: 12px; position: relative; }
	.nd-menu-toggle { display: inline-flex; align-items: center; justify-content: center; order: 1; width: 36px; height: 36px; border-radius: 10px; background: var(--nd-sky); }
	.nd-menu-toggle > span[aria-hidden="true"] { font-size: 0; }
	.nd-menu-toggle > span[aria-hidden="true"]::before { content: '\2630'; font-size: 1.15rem; }
	.nd-header.is-menu-open .nd-menu-toggle > span[aria-hidden="true"]::before { content: '\00d7'; font-size: 1.5rem; }
	.nd-brand { order: 2; flex: 1; text-align: center; }
	.nd-brand__mark { height: 38px; }
	.nd-account { order: 3; flex: 0 0 auto; gap: 8px; }
	.nd-account a:not(.nd-account__signup), .nd-account__name { display: none; }
	.nd-account__signup { font-size: .72rem !important; padding: 8px 12px !important; }
	.nd-nav { display: block; visibility: hidden; opacity: 0; pointer-events: none; order: 4; position: absolute; top: calc(100% - 1px); left: 12px; right: 12px; padding: 8px; border: 1px solid var(--nd-line); border-radius: 14px; background: #fff; box-shadow: 0 14px 28px rgba(23, 59, 108, .16); transform: translateY(-8px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
	.nd-header.is-menu-open .nd-nav { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
	.nd-nav__list { display: grid; gap: 2px; padding: 0; }
	.nd-nav__list a { display: block; padding: 11px 12px; border: 0; border-radius: 9px; }
	.nd-nav__list a:hover, .nd-nav__list a.is-active { background: var(--nd-sky); border: 0; }
	.nd-header.is-menu-open .nd-nav__list li { animation: nd-menu-item-in .2s ease both; }
	.nd-header.is-menu-open .nd-nav__list li:nth-child(2) { animation-delay: .025s; }
	.nd-header.is-menu-open .nd-nav__list li:nth-child(3) { animation-delay: .05s; }
	.nd-header.is-menu-open .nd-nav__list li:nth-child(4) { animation-delay: .075s; }
	.nd-section { padding: 22px 12px 44px; }
	.nd-card, .nd-card--form { padding: 20px 16px; border-radius: 16px; }
	.nd-banner { padding: 24px; }
	/* Phones: the amount gets its own row so long figures never run into the counts beside them. */
	.nd-stats { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
	.nd-stat { min-width: 0; padding: 14px 8px; }
	.nd-stat:nth-child(2) { grid-column: 1 / -1; order: -1; }
	.nd-stat dd { font-size: 1.7rem; overflow-wrap: anywhere; }
	.nd-share__row { flex-direction: column; align-items: stretch; }
	.nd-create .nd-pods__grid { grid-template-columns: 1fr; }
	.nd-create .nd-card--form { width: 100%; max-width: 100%; padding: 18px 14px 20px; border-radius: 14px; }
	.nd-create .nd-pod { min-width: 0; }
	.nd-create .nd-pod__name { white-space: normal; overflow-wrap: anywhere; }
	.nd-create .nd-goal-row { gap: 12px; flex-wrap: wrap; }
	.nd-create .nd-button { width: 100%; }
	.nd-contributor { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; }
	.nd-contributor__status { grid-column: 1 / -1; justify-self: start; }
}

@keyframes nd-menu-item-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .nd-nav, .nd-header.is-menu-open .nd-nav__list li { animation: none; transition: none; } }

/* Nüdel reference layout: narrow phones use edge-to-edge bands and compact controls. */
@media (max-width: 600px) {
	body.nd-circle-page { background: #eef4f7; }
	.nd-hero { padding: 0 0 22px; background: #fff; }
	.nd-hero__inner { display: flex; flex-direction: column; gap: 0; }
	.nd-hero__art { width: 100%; border-radius: 0; aspect-ratio: 1.45; order: -1; box-shadow: none; }
	.nd-hero__copy { padding: 22px 18px 0; }
	.nd-hero__copy .nd-display { font-size: 2.15rem; }
	.nd-hero__text { font-size: .9rem; line-height: 1.55; }
	.nd-steps { padding: 36px 18px; }
	.nd-steps__list { gap: 8px; margin-top: 22px; }
	.nd-step { display: grid; grid-template-columns: 28px 1fr; gap: 0 10px; padding: 13px 12px; text-align: left; border-radius: 12px; }
	.nd-step__num { grid-row: span 2; width: 28px; height: 28px; font-size: .8rem; }
	.nd-step h3 { margin: 0; font-size: 1rem; }
	.nd-step p { font-size: .72rem; line-height: 1.4; }
	.nd-gift-layout { gap: 12px; }
	.nd-gift__body { padding: 20px 16px; }
	.nd-gift__body .nd-display { font-size: 1.9rem; }
	.nd-gift__art { aspect-ratio: 1.35; }
	.nd-banner { border-radius: 16px; padding: 20px 16px; }
	.nd-banner .nd-display { font-size: 2rem; }
	.nd-stats { gap: 6px; }
	.nd-stat { border-radius: 10px; }
	.nd-gift-card { border-radius: 16px; }
	.nd-gift-card__art { min-height: 180px; }
	.nd-gift-card__body { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) { .nd-button { transition: none; } }

/* Sign in / sign up */
.nd-auth { background: linear-gradient(180deg, #e9f4fc, #fff 60%); }
.nd-card--auth { max-width: 520px; margin: 0 auto; padding: 36px; }
.nd-card--auth .nd-form { margin-top: 20px; }
.nd-hint--right { text-align: right; }
.nd-hint a, .nd-auth__switch a { color: var(--nd-navy); font-weight: 700; }
.nd-auth__switch { text-align: center; margin: 20px 0 0; font-size: .9rem; color: var(--nd-muted); }
.nd-field input[type="password"], .nd-field input[type="email"] { width: 100%; height: 48px; border: 1.5px solid var(--nd-line); border-radius: 14px; padding: 0 16px; font: 500 .95rem var(--nd-body); color: var(--nd-ink); background: #fff; }
.nd-field input[type="password"]:focus, .nd-field input[type="email"]:focus { outline: 3px solid rgba(18, 48, 154, .3); border-color: var(--nd-royal); }
.nd-field--error input[type="password"], .nd-field--error input[type="email"] { border-color: var(--nd-error); }

/* Growfund's own router pages (forgot / reset password, fundraiser sign-up) skinned to match. */
:is(.growfund-page-container, .nd-gf-page) { background: linear-gradient(180deg, #e9f4fc, #fff 60%); padding: 40px 24px 72px; font-family: var(--nd-body); }
:is(.growfund-page-container, .nd-gf-page) > .wp-block-group { max-width: 560px; margin: 0 auto; }
:is(.growfund-page-container, .nd-gf-page) .growfund-forgot-password-main-wrapper, :is(.growfund-page-container, .nd-gf-page) .growfund-reset-password-main-wrapper, :is(.growfund-page-container, .nd-gf-page) .growfund-reset-link-main-wrapper, :is(.growfund-page-container, .nd-gf-page) .growfund-login-main-wrapper, :is(.growfund-page-container, .nd-gf-page) .growfund-signup-main-wrapper { background: #fff; border: 1px solid var(--nd-line); border-radius: 24px; padding: 36px; box-shadow: 0 8px 28px rgba(23, 59, 108, .07); max-width: 520px; margin: 0 auto; }
:is(.growfund-page-container, .nd-gf-page) [class$="-main-wrapper-header"] { display: none; }
:is(.growfund-page-container, .nd-gf-page) .growfund-text-field-main-wrapper, :is(.growfund-page-container, .nd-gf-page) .growfund-text-field-wrapper, :is(.growfund-page-container, .nd-gf-page) [class*="-field-wrapper"] { background: none; border: 0; box-shadow: none; padding: 0; margin: 0; border-radius: 0; }
:is(.growfund-page-container, .nd-gf-page) h1, :is(.growfund-page-container, .nd-gf-page) h2, :is(.growfund-page-container, .nd-gf-page) h3 { font-family: var(--nd-display); font-weight: 400; color: var(--nd-navy); text-align: center; line-height: 1.1; }
:is(.growfund-page-container, .nd-gf-page) h2[class*="-title"] { font-size: 1.7rem; margin: 0 0 10px; }
:is(.growfund-page-container, .nd-gf-page) [class*="-description"], :is(.growfund-page-container, .nd-gf-page) [class*="-content"] p { color: var(--nd-muted); text-align: center; font-size: .92rem; }
:is(.growfund-page-container, .nd-gf-page) form { display: grid; gap: 16px; margin-top: 20px; }
:is(.growfund-page-container, .nd-gf-page) label { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--nd-muted); margin-bottom: 6px; }
:is(.growfund-page-container, .nd-gf-page) input[type="text"], :is(.growfund-page-container, .nd-gf-page) input[type="email"], :is(.growfund-page-container, .nd-gf-page) input[type="password"] { width: 100%; height: 48px; border: 1.5px solid var(--nd-line); border-radius: 14px; padding: 0 16px; font: 500 .95rem var(--nd-body); color: var(--nd-ink); background: #fff; box-sizing: border-box; }
:is(.growfund-page-container, .nd-gf-page) input:focus { outline: 3px solid rgba(18, 48, 154, .3); border-color: var(--nd-royal); }
:is(.growfund-page-container, .nd-gf-page) .growfund-button, :is(.growfund-page-container, .nd-gf-page) .growfund-button.growfund-branding-btn { width: 100%; background: var(--nd-coral) !important; color: #fff !important; border: 2px solid var(--nd-coral) !important; border-radius: 999px; padding: 14px 30px; font: 700 .95rem/1.2 var(--nd-body); cursor: pointer; }
:is(.growfund-page-container, .nd-gf-page) .growfund-button:hover { background: var(--nd-coral-dark) !important; border-color: var(--nd-coral-dark) !important; }
:is(.growfund-page-container, .nd-gf-page) [class*="-footer"] { text-align: center; font-size: .9rem; color: var(--nd-muted); }
:is(.growfund-page-container, .nd-gf-page) a { color: var(--nd-navy); font-weight: 700; }
:is(.growfund-page-container, .nd-gf-page) [class*="error"], :is(.growfund-page-container, .nd-gf-page) .growfund-badge { color: var(--nd-error); font-size: .85rem; font-weight: 600; }
@media (max-width: 600px) { :is(.growfund-page-container, .nd-gf-page) { padding: 24px 16px 48px; } :is(.growfund-page-container, .nd-gf-page) .growfund-forgot-password-main-wrapper, :is(.growfund-page-container, .nd-gf-page) .growfund-reset-password-main-wrapper, :is(.growfund-page-container, .nd-gf-page) .growfund-reset-link-main-wrapper, :is(.growfund-page-container, .nd-gf-page) .growfund-login-main-wrapper, :is(.growfund-page-container, .nd-gf-page) .growfund-signup-main-wrapper { padding: 22px; border-radius: 20px; } }

/* Invitation links on the parent dashboard */
.nd-invite { padding: 1rem 0; border-top: 1px solid rgba(18, 49, 156, 0.12); }
.nd-invite__meta { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; align-items: baseline; margin: 0 0 0.5rem; }
.nd-invite--revoked { opacity: 0.6; }
.nd-invite__revoke { margin-top: 0.75rem; }
.nd-invite__new { display: grid; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(18, 49, 156, 0.12); }
.nd-invite__new input[type="text"] { width: 100%; max-width: 28rem; }
.nd-invite__new input[type="text"], .nd-invite__new input[type="date"] { max-width: none; }
.nd-invite__new { gap: 16px; }
.nd-check { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; cursor: pointer; }
.nd-check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--nd-royal); }
#close .nd-invite__new + .nd-invite__new { margin-top: 24px; padding-top: 24px; }
.nd-field-error { margin: 6px 0 0; color: var(--nd-error); font-size: .85rem; font-weight: 600; }
