/**
 * The NLS v4.1 shared design foundation.
 *
 * This stylesheet intentionally loads after the four existing product areas.
 * Every rule is route-scoped through body.nls-v41 and component roots so this
 * can be removed as one unit during rollback.
 */

body.nls-v41 {
	--nls41-canvas: #faf9f7;
	--nls41-paper: #fffefa;
	--nls41-surface: #ffffff;
	--nls41-surface-end: #fcfcfd;
	--nls41-ink: #1c1a1f;
	--nls41-ink-soft: #3a3530;
	--nls41-muted: #716b66;
	--nls41-faint: #918b86;
	--nls41-line: rgba(20, 20, 20, .045);
	--nls41-line-strong: rgba(20, 20, 20, .09);
	--nls41-red: #ff2d5d;
	--nls41-red-deep: #d8003d;
	--nls41-red-ink: #ad002f;
	--nls41-violet: #7559b8;
	--nls41-emerald: #237a5a;
	--nls41-amber: #a96b17;
	--nls41-navy: #171b2b;
	--nls41-red-gradient: linear-gradient(180deg, #ff2d5d 0%, #d8003d 100%);
	--nls41-surface-gradient: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
	--nls41-header-gradient: linear-gradient(180deg, #ff255e 0%, #d80045 100%);
	--nls41-navy-gradient: linear-gradient(145deg, #20263a 0%, #111522 100%);
	--nls41-shadow-1: 0 12px 40px rgba(30, 30, 40, .045);
	--nls41-shadow-2: 0 22px 55px rgba(30, 30, 40, .08);
	--nls41-shadow-3: 0 28px 70px rgba(30, 30, 40, .12);
	--nls41-red-glow: 0 12px 32px rgba(216, 0, 61, .16);
	--nls41-focus-glow: 0 0 0 4px rgba(255, 45, 93, .10), 0 10px 34px rgba(255, 45, 93, .08);
	--nls41-radius-sm: 12px;
	--nls41-radius: 16px;
	--nls41-radius-lg: 20px;
	--nls41-ease-out: cubic-bezier(.16, 1, .3, 1);
	--nls41-fast: 140ms;
	--nls41-tab: 160ms;
	--nls41-button: 180ms;
	--nls41-card: 220ms;
	--nls41-menu: 240ms;
	--nls41-modal: 280ms;
	--v4-canvas: var(--nls41-canvas);
	--v4-card: var(--nls41-surface);
	--v4-ink: var(--nls41-ink);
	--v4-ink2: var(--nls41-muted);
	--v4-hairline: var(--nls41-line);
	--v4-hair2: var(--nls41-line-strong);
	--v4-wash: rgba(28, 26, 31, .035);
	--v4-accent: var(--nls41-red-deep);
	--v4-accent-strong: var(--nls41-red-ink);
	--v4-accent-tint: rgba(216, 0, 61, .075);
	--v4-radius: var(--nls41-radius);
	--v4-shadow: var(--nls41-shadow-1);
	/* Some legacy templates set the body background inline. The release layer owns
	 * the canvas so every v4.1 route starts from the same material. */
	background-color: var(--nls41-canvas) !important;
	background-image: radial-gradient(circle at 50% 0, rgba(255, 30, 80, .028), transparent 45%) !important;
	background-attachment: fixed;
	color: var(--nls41-ink);
}

/* Progressive same-origin page transitions. Browsers without the MPA View
 * Transitions API ignore this block and navigate normally; history semantics,
 * focus restoration and URLs remain native browser behavior. */
@view-transition { navigation:auto; }
::view-transition-old(root) { animation:nls41-page-out 140ms cubic-bezier(.16,1,.3,1) both; }
::view-transition-new(root) { animation:nls41-page-in 190ms cubic-bezier(.16,1,.3,1) both; }
@keyframes nls41-page-out { to { opacity:0; transform:translateY(-2px) scale(.998); } }
@keyframes nls41-page-in { from { opacity:0; transform:translateY(4px) scale(.998); } }
@media (prefers-reduced-motion:reduce) {
	::view-transition-old(root),::view-transition-new(root) { animation-duration:1ms !important; transform:none !important; }
}

/* Three-level icon intelligence. Script assigns these only to compact product
 * icons; logos, charts and content imagery remain untouched. */
body.nls-v41 .nls-v41-icon--primary { opacity:1; filter:saturate(1); }
body.nls-v41 .nls-v41-icon--secondary { opacity:.78; filter:saturate(.9); }
body.nls-v41 .nls-v41-icon--muted { opacity:.52; filter:saturate(.7); }
body.nls-v41 :is(.nls-v41-icon--primary,.nls-v41-icon--secondary,.nls-v41-icon--muted) {
	transition:opacity 180ms cubic-bezier(.22,1,.36,1),filter 180ms cubic-bezier(.22,1,.36,1),transform 180ms cubic-bezier(.22,1,.36,1);
}
body.nls-v41 :where(a,button,[role="button"]):hover .nls-v41-icon--secondary { opacity:1; filter:saturate(1); }

/* One corner philosophy for substantial product surfaces. Pills, avatars and
 * compact controls intentionally retain their semantic geometry. */
body.nls-v41 :is(
	.dashboard-container .nls-today-tile,
	.dashboard-container .nls-v4-band,
	#nlsph-crm .dd-card,
	#nlsph-crm .dd-kpi,
	#nlsph-crm .phb-pri-card,
	.txl-v2 .txv2-card,
	.txl-v2 .txv2-stat,
	#nls-tc .nls-tc__row,
	#nls-sr-root .sr-card,
	#nls-sr-root .sr-section,
	#nls-tm-root .nls-tm__tour
) { border-radius:16px !important; }
body.nls-v41 :is(
	#nlsph-crm .dd-drawer,
	.txl-v2 .txv2-modal .sheet,
	#nls-sr-root .sr-bookmsg__card
) { border-radius:18px !important; }
body.nls-v41 #dashboard .nls-ai__go {
	background:var(--nls41-red-gradient) !important;
	box-shadow:var(--nls41-red-glow) !important;
}

/* Living Red reaches the remaining embedded red surfaces as light, not flat
 * paint. Small semantic dots stay solid so their meaning remains immediate. */
body.nls-v41 :is(
	.nls-sl-launch__beta,
	.nls-sl-launch__btn:hover,
	.nls-sl-chip__x:hover,
	.nls-sl-client__clear:hover,
	.nls-sl-btn--primary:hover,
	.nls-sl-btn--primary.is-copied,
	.nls-vr-btn:hover,
	.nls-sl-top-tag,
	.nb-fbtn.on,
	.phb-bell__badge,
	.txv2-prog .fill
) {
	background:var(--nls41-red-gradient) !important;
	box-shadow:0 8px 24px rgba(216,0,61,.14);
}

/* Reconcile the three existing token families to one system. */
body.nls-v41 #nlsph-crm {
	/* Reserve the command-centre canvas while its permission-scoped board hydrates.
	 * This keeps the footer below the initial viewport instead of shifting it when
	 * the asynchronous pipeline arrives. */
	min-height: 1100px;
	--paper: var(--nls41-canvas);
	--surface: var(--nls41-surface);
	--line: var(--nls41-line);
	--line-2: rgba(20, 20, 20, .025);
	--red: var(--nls41-red);
	--red-ink: var(--nls41-red-ink);
	--ink: var(--nls41-ink);
	--ink-2: var(--nls41-ink-soft);
	--muted: var(--nls41-muted);
	--faint: var(--nls41-faint);
	--r: var(--nls41-radius);
	--r-sm: var(--nls41-radius-sm);
	--shadow: var(--nls41-shadow-1);
	--shadow-hover: var(--nls41-shadow-2);
}

body.nls-v41 .txl-v2 {
	--v2-canvas: var(--nls41-canvas);
	--v2-card: var(--nls41-surface);
	--v2-line: var(--nls41-line);
	--v2-line-strong: var(--nls41-line-strong);
	--v2-ink: var(--nls41-ink);
	--v2-slate: var(--nls41-muted);
	--v2-slate-soft: var(--nls41-faint);
	--v2-red: var(--nls41-red);
	--v2-red2: var(--nls41-red-deep);
	--v2-red3: var(--nls41-red-ink);
	--v2-grad: var(--nls41-red-gradient);
	--v2-r-sm: var(--nls41-radius-sm);
	--v2-r-md: var(--nls41-radius);
	--v2-r-lg: var(--nls41-radius-lg);
	--v2-shadow: var(--nls41-shadow-1);
	--v2-shadow-hover: var(--nls41-shadow-2);
}

body.nls-v41 .nls-tx.txd-v2 {
	--tx-bg: var(--nls41-canvas);
	--tx-line: var(--nls41-line);
	--tx-slate: var(--nls41-muted);
	--tx-ink: var(--nls41-ink);
	--txd-line-strong: var(--nls41-line-strong);
	--txd-slate-soft: var(--nls41-faint);
	--txd-shadow: var(--nls41-shadow-1);
	--txd-shadow-hover: var(--nls41-shadow-2);
	--txd-grad: var(--nls41-red-gradient);
}

body.nls-v41 .dashboard-container .nls-ws {
	--ws-bg: var(--nls41-canvas);
	--ws-card: var(--nls41-surface);
	--ws-ink: var(--nls41-ink);
	--ws-mut: var(--nls41-muted);
	--ws-line: var(--nls41-line);
	--ws-red: var(--nls41-red);
	--ws-red-dk: var(--nls41-red-deep);
	--v4-bg: var(--nls41-canvas);
	--v4-ink: var(--nls41-ink);
	--v4-ink2: var(--nls41-muted);
	--v4-hair: var(--nls41-line);
	--v4-hair2: var(--nls41-line-strong);
}

body.nls-v41 #nls-tc {
	--tc-card: var(--nls41-surface);
	--tc-hair: var(--nls41-line);
	--tc-wash: rgba(28, 26, 31, .035);
	--tc-accent: var(--nls41-red-deep);
}

body.nls-v41 #nls-tm-root {
	--tm-card: var(--nls41-surface);
	--tm-hair: var(--nls41-line);
	--tm-wash: rgba(28, 26, 31, .035);
	--tm-accent: var(--nls41-red-deep);
}

body.nls-v41 #nls-sr-root {
	--v4-canvas: var(--nls41-canvas);
	--v4-card: var(--nls41-surface);
	--v4-hairline: var(--nls41-line);
	--v4-hair2: var(--nls41-line-strong);
	--v4-accent: var(--nls41-red-deep);
	--v4-accent-strong: var(--nls41-red-ink);
	--v4-shadow: var(--nls41-shadow-1);
}

body.nls-v41 #dashboard,
body.nls-v41 #dashboard-width,
body.nls-v41 #nlsph-crm,
body.nls-v41 .nls-tx,
body.nls-v41 .txl-v2,
body.nls-v41 #nls-tc,
body.nls-v41 #nls-sr-root,
body.nls-v41 #nls-tm-root {
	background-color: transparent;
}

/* Illuminated cards: white is a material, not an absence of colour. */
body.nls-v41 :is(
	#nlsph-crm .dd-card,
	#nlsph-crm .dd-kpi,
	#nlsph-crm .dd-brief,
	#nlsph-crm .dd-prio__row,
	#nlsph-crm .phb-tours,
	#nlsph-crm .nlst-card,
	.txl-v2 .txv2-stat,
	.txl-v2 .txv2-hero,
	.txl-v2 .txv2-card,
	.nls-tx.txd-v2 .txd-panel,
	.nls-tx.txd-v2 .txd-folder,
	.nls-tx.txd-v2 .txd-libcard,
	.dashboard-container .nls-today-tile,
	.dashboard-container .nls-v4-bk,
	.dashboard-container .nls-v4-door,
	.dashboard-container .nls-ws-card,
	#nls-tc .nls-tc__row,
	#nls-tc .nls-tc__allclear,
	#nls-sr-root .sr-head,
	#nls-sr-root .sr-section,
	#nls-sr-root .sr-card,
	#nls-tm-root .nls-tm__tour,
	#nls-tm-root .nls-tm__stop
) {
	background: var(--nls41-surface-gradient);
	border-color: var(--nls41-line);
	box-shadow: var(--nls41-shadow-1);
}

/* KPI surfaces carry colour as ambient light, not as flat paint. The money
 * metric receives a deliberately stronger hierarchy in both workspaces. */
body.nls-v41 #nlsph-crm .dd-kpis > .dd-kpi,
body.nls-v41 .txl-v2 .txv2-stat {
	background: var(--nls41-surface-gradient);
	border: 1px solid var(--nls41-line);
}
body.nls-v41 .txl-v2 .txv2-stat.m-active { background-image:radial-gradient(circle at 15% 0,rgba(255,45,93,.13),transparent 52%) !important; }
body.nls-v41 .txl-v2 .txv2-stat.m-progress { background-image:radial-gradient(circle at 15% 0,rgba(169,107,23,.14),transparent 52%) !important; }
body.nls-v41 .txl-v2 .txv2-stat.m-awaiting { background-image:radial-gradient(circle at 15% 0,rgba(117,89,184,.14),transparent 52%) !important; }
body.nls-v41 .txl-v2 .txv2-stat.m-pipeline { background-image:radial-gradient(circle at 15% 0,rgba(176,141,87,.16),transparent 52%) !important; }

body.nls-v41 #nlsph-crm .dd-kpis > .dd-kpi:nth-child(1),
body.nls-v41 .txl-v2 .txv2-stat.m-active {
	box-shadow: 0 18px 48px rgba(168, 141, 87, .105), var(--nls41-shadow-1);
}

body.nls-v41 #nlsph-crm .dd-kpis > .dd-kpi:nth-child(2),
body.nls-v41 .txl-v2 .txv2-stat.m-awaiting {
	box-shadow: 0 18px 48px rgba(117, 89, 184, .105), var(--nls41-shadow-1);
}

body.nls-v41 #nlsph-crm .dd-kpis > .dd-kpi:nth-child(3),
body.nls-v41 .txl-v2 .txv2-stat.m-progress {
	box-shadow: 0 18px 48px rgba(169, 107, 23, .10), var(--nls41-shadow-1);
}

body.nls-v41 #nlsph-crm .dd-kpis > .dd-kpi:nth-child(4),
body.nls-v41 .txl-v2 .txv2-stat.m-pipeline {
	box-shadow: 0 20px 54px rgba(216, 0, 61, .10), var(--nls41-shadow-1);
}

body.nls-v41 #nlsph-crm .dd-kpis > .dd-kpi:nth-child(4) {
	transform: translateY(-4px);
}

body.nls-v41 #nlsph-crm .dd-kpis > .dd-kpi:nth-child(4) :is(.dd-kpi__n, .dd-kpi__val),
body.nls-v41 .txl-v2 .txv2-stat.m-pipeline .v {
	font-size: clamp(40px, 3.2vw, 50px);
	letter-spacing: -.035em;
}

body.nls-v41 .txl-v2 .txv2-head {
	margin-block: 10px 38px;
}

body.nls-v41 .txl-v2 .txv2-head h1 {
	font-size: clamp(42px, 4vw, 58px);
	letter-spacing: -.04em;
}

/* WCAG AA corrections for small generated labels and primary actions. */
body.nls-v41 .dashboard-container .nls-v39s__side[data-v39s-client] {
	color: #5f6675;
}

body.nls-v41 .dashboard-container :is(.nls-v39s-saved__lab, .nls-v39s-saved__empty) {
	color: #5f6675 !important;
}

body.nls-v41 .dashboard-container :is(.nls-lh__more, .nls-lh-spark figcaption) {
	color: #625d57 !important;
}

body.nls-v41 #dashboard #fragment .nls-v4-mw .listing-row .listing-col > p.bold.small,
body.nls-v41 #dashboard #fragment .nls-v4-mw .listing-row--single .listing-col > p.bold.small {
	color: #5f6675 !important;
}

body.nls-v41 #nls-sr-root .nls-str-badge-inline .k {
	color: #2f6873 !important;
}

body.nls-v41 .dashboard-container .nls-ai__parse-lab,
body.nls-v41 .dashboard-container .nls-ai__pchip i {
	color: #586477;
	opacity: 1;
}

body.nls-v41 .dashboard-container .nls-ai__pchip.is-key,
body.nls-v41 .dashboard-container .nls-ai__pchip.is-key i {
	color: var(--nls41-red-ink);
	opacity: 1;
}

body.nls-v41 .txl-v2 .txv2-pill[style*="color:#15803d"] {
	color: #0b6b32 !important;
}

body.nls-v41 #nlsph-crm :is(.dd-btn--ai, .dd-btn--primary, .phb-bell__badge) {
	background-color: var(--nls41-red-deep);
	background-image: linear-gradient(180deg, #df1246 0%, #c60038 100%);
	color: #fff;
}

/* Physical response. Only elements that are already interactive are lifted. */
body.nls-v41 :is(
	#nlsph-crm .dd-card,
	#nlsph-crm .dd-prio__row,
	#nlsph-crm .phb-tours__row,
	#nlsph-crm .nlst-card,
	.txl-v2 a.txv2-stat,
	.txl-v2 .txv2-hero,
	.txl-v2 .txv2-card,
	.dashboard-container a.nls-today-tile,
	.dashboard-container .nls-v4-bk,
	.dashboard-container .nls-v4-door,
	.dashboard-container .nls-v4-quick__item,
	#nls-tc .nls-tc__row,
	#nls-sr-root .sr-card,
	#nls-tm-root .nls-tm__tour
) {
	transition-property: transform, box-shadow, border-color, background-color, filter;
	transition-duration: var(--nls41-card) !important;
	transition-timing-function: var(--nls41-ease-out) !important;
	will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
	body.nls-v41 :is(
		#nlsph-crm .dd-card,
		#nlsph-crm .dd-prio__row,
		#nlsph-crm .phb-tours__row,
		#nlsph-crm .nlst-card,
		.txl-v2 a.txv2-stat,
		.txl-v2 .txv2-hero,
		.txl-v2 .txv2-card,
		.dashboard-container a.nls-today-tile,
		.dashboard-container .nls-v4-bk,
		.dashboard-container .nls-v4-door,
		#nls-tc .nls-tc__row,
		#nls-sr-root .sr-card,
		#nls-tm-root .nls-tm__tour
	):hover {
		transform: translateY(-5px);
		box-shadow: var(--nls41-shadow-2);
		border-color: rgba(216, 0, 61, .14);
	}

	body.nls-v41 .dashboard-container .nls-v4-quick__item:hover {
		transform: translateY(-3px);
	}

	body.nls-v41 .dashboard-container .nls-v4-quick__item:hover .nls-v4-quick__disc {
		transform: scale(1.08);
	}
}

/* A transformed, off-canvas AI drawer still contributes to the browser's
 * scrollable area. Remove it from layout while closed, then restore its native
 * flex layout when the existing controller opens it. */
body.nls-v41 #nlsAiDrawer[aria-hidden="true"] {
	display: none !important;
}

body.nls-v41 #nlsAiDrawer.is-open[aria-hidden="false"] {
	display: flex !important;
}

/* The dashboard hero's ambient drop-shadow uses `filter`, which establishes a
 * containing block for fixed descendants. The AI property drawer lives inside
 * that hero, so without this open-state exception it is fixed to the hero
 * (starting hundreds of pixels down the page and inheriting its full height)
 * instead of to the viewport. Preserve the bloom whenever the drawer is shut. */
body.nls-v41.nls-ai-dw-open #dashboard .nls-v4-hero {
	filter: none !important;
}

/* Dashboard guided tasks are workflow objects, not another navigation grid. */
body.nls-v41 .dashboard-container .nls-v4-doors--guided .nls-v4-door {
	position: relative; isolation: isolate; overflow: hidden;
	background: linear-gradient(145deg, #fff 0%, #fcfbfa 100%);
	border-color: rgba(20,20,20,.045); border-radius: 16px;
	box-shadow: var(--nls41-shadow-1);
	transition: transform var(--nls41-card) var(--nls41-ease-out), box-shadow var(--nls41-card) var(--nls41-ease-out), border-color var(--nls41-card) var(--nls41-ease-out);
}
body.nls-v41 .dashboard-container .nls-v4-doors--guided .nls-v4-door > * { position: relative; z-index: 1; }
body.nls-v41 .dashboard-container .nls-v4-doors--guided .nls-v4-door::before {
	content: ''; position: absolute; inset: auto -25% -65% 35%; height: 120%; border-radius: 50%;
	background: radial-gradient(circle, rgba(255,45,93,.065), transparent 68%); pointer-events: none;
}
body.nls-v41 .dashboard-container .nls-v4-doors--guided .nls-v4-door:nth-child(3n+2)::before { background: radial-gradient(circle, rgba(120,86,190,.06), transparent 68%); }
body.nls-v41 .dashboard-container .nls-v4-doors--guided .nls-v4-door:nth-child(3n)::before { background: radial-gradient(circle, rgba(14,125,95,.055), transparent 68%); }
body.nls-v41 .dashboard-container .nls-v4-doors--guided .nls-v4-door::after {
	content: ''; position: absolute; z-index: 0; top: -45%; bottom: -45%; left: -45%; width: 22%;
	transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
	transition: left 420ms var(--nls41-ease-out); pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
	body.nls-v41 .dashboard-container .nls-v4-doors--guided .nls-v4-door:hover { transform: translateY(-3px); box-shadow: 0 15px 34px rgba(20,20,24,.065); border-color: rgba(216,0,61,.09); }
	body.nls-v41 .dashboard-container .nls-v4-doors--guided .nls-v4-door:hover::after { left: 125%; }
body.nls-v41 .dashboard-container .nls-v4-doors--guided .nls-v4-door:hover > span[aria-hidden] { opacity: .85; transform: translateX(5px); }
}

/* Market Watch should scan as numbers first: quieter rules, more breathing room,
 * and semibold tabular values keep the dense inventory useful without reading
 * like a spreadsheet bolted beneath the dashboard. */
body.nls-v41 .dashboard-container .nls-v4-mw .listing-row {
	padding-block: 12px;
	border-color: rgba(20,20,20,.035) !important;
}
body.nls-v41 .dashboard-container .nls-v4-mw :is(.label p, .information p, .listing-col > p.small.bold) {
	color: #77716b !important;
}
body.nls-v41 .dashboard-container .nls-v4-mw :is(.count, .amount p, h3.wht, #current_price, #total_price) {
	font-weight: 650 !important;
	font-variant-numeric: tabular-nums;
	letter-spacing: .008em;
}

/* The header already carries the living-red bloom; the identity endpoint needs
 * the same light logic so it feels connected rather than pasted onto the bar. */
body.nls-v41 #myHeader .profile__avatar {
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(255,255,255,.26), 0 0 28px rgba(255,255,255,.2), 0 10px 28px rgba(94,0,28,.2);
}
/* The avatar <img> is wrapped in an "Edit profile" <a> (logged-in.php). border-radius:inherit
 * therefore resolves against that anchor, which has none — so an uploaded photo rendered as a
 * SQUARE. Pin the radius on both the link and the image instead of inheriting it. */
body.nls-v41 #myHeader .profile__avatar > a { display: block; line-height: 0; border-radius: 50%; overflow: hidden; }
body.nls-v41 #myHeader .profile__image { border-radius: 50%; }

/* The v3 network rail reuses the legacy feed renderer, which can emit hundreds
 * of rows. Give it a real viewport so it behaves as a rail instead of turning
 * the dashboard into a 100,000px document.
 *
 * Reserve the chrome above the feed rather than taking a flat fraction of the
 * viewport. #scrollable does not start at the top of the screen: the site
 * header, the rail's Network/Alerts tabs, the composer, the filter chips and
 * the "Select one of your listings" heading sit above it — ~416px of them,
 * ~448px with the admin bar. A flat 70vh ignored that offset, so on a laptop
 * viewport the box began ~416px down and ran ~170px past the bottom of the
 * screen: its last rows and its own scrollbar end sat below the fold, and
 * overscroll-behavior:contain trapped the wheel inside it, so the feed could
 * never be scrolled to its end (Chris, 2026-09-04). calc(100vh - 460px) keeps
 * the box ending inside the viewport at every height; 460 leaves headroom for
 * the admin bar and a small bottom gutter, and the 760px ceiling still caps it
 * on tall monitors. */
body.nls-v41 .dashboard-container .nls-r3 #nls-r3-panel-network #scrollable {
	max-height: min(calc(100vh - 460px), 760px);
	overflow-y: auto;
	overscroll-behavior: auto;
	-webkit-overflow-scrolling: touch;
}

body.nls-v41 .dashboard-container .nls-r3 #nls-r3-panel-network #scrollable > .listing-row {
	content-visibility: auto;
	contain-intrinsic-size: auto 180px;
	position: relative;
	margin-bottom: 8px;
	padding-inline: 12px;
	border-left: 2px solid rgba(224, 0, 64, .18);
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(253,250,247,.76));
	transition: transform 220ms cubic-bezier(.22,1,.36,1), box-shadow 220ms cubic-bezier(.22,1,.36,1), background 220ms cubic-bezier(.22,1,.36,1);
}
body.nls-v41 .dashboard-container .nls-r3 #nls-r3-panel-network #scrollable > .listing-row:nth-of-type(3n+2) { border-left-color: rgba(111, 78, 155, .18); }
body.nls-v41 .dashboard-container .nls-r3 #nls-r3-panel-network #scrollable > .listing-row:nth-of-type(3n) { border-left-color: rgba(34, 121, 83, .16); }
body.nls-v41 .dashboard-container .nls-r3 #nls-r3-panel-network #scrollable > .listing-row:hover {
	transform: translateY(-2px);
	background: linear-gradient(180deg, #fff, #fdfaf7);
	box-shadow: 0 12px 32px rgba(30,30,40,.055);
}

@supports (max-height: 1dvh) {
	body.nls-v41 .dashboard-container .nls-r3 #nls-r3-panel-network #scrollable {
		max-height: min(calc(100dvh - 460px), 760px);
	}
}
/* Buttons emit restrained light and visibly compress on activation. */
body.nls-v41 :where(
	button,
	[role="button"],
	.phb-btn,
	.btn,
	.nls-ws-btn,
	.txv2-btn,
	.nls-tc__cta,
	.sr-btn,
	.nls-tm__btn
) {
	transition-duration: var(--nls41-button) !important;
	transition-timing-function: var(--nls41-ease-out) !important;
}

/* Fields respond faster than buttons, but share the same physical easing. */
body.nls-v41 :where(input, textarea, select) {
	transition-property: border-color, box-shadow, background-color, color;
	transition-duration: var(--nls41-fast) !important;
	transition-timing-function: var(--nls41-ease-out) !important;
}

body.nls-v41 :where(
	.phb-btn--primary,
	.nls-ai__go,
	.btn.primary,
	.nls-ws-btn--primary,
	.txv2-btn.primary,
	#nls-sr-root .sr-btn--crm,
	#nls-tm-root .nls-tm__btn:not(.nls-tm__btn--quiet):not(.nls-tm__btn--danger)
) {
	background: var(--nls41-red-gradient);
	box-shadow: var(--nls41-red-glow);
	border-color: transparent;
	position: relative;
	overflow: hidden;
}

/* Route templates emit some component CSS inline after wp_head, so a low-
 * specificity shared `:where()` rule can be visually undone despite the token
 * system being present. These are the actual semantic primary actions and must
 * remain visibly Living Red in the final cascade. */
body.nls-v41 #nlsph-crm .dd-btn--primary,
body.nls-v41 #nlsph-crm .phb-btn--primary,
body.nls-v41 #nls-tc .nls-tc__cta:not(.nls-tc__cta--quiet),
body.nls-v41 #nls-sr-root .sr-btn--crm,
body.nls-v41 #nls-tm-root .nls-tm__btn:not(.nls-tm__btn--quiet):not(.nls-tm__btn--danger) {
	background: var(--nls41-red-gradient) !important;
	border-color: transparent !important;
	color: #fff !important;
	box-shadow: var(--nls41-red-glow) !important;
}

body.nls-v41 :where(
	.phb-btn--primary,
	.nls-ai__go,
	.btn.primary,
	.nls-ws-btn--primary,
	.txv2-btn.primary,
	#nls-sr-root .sr-btn--crm,
	#nls-tm-root .nls-tm__btn:not(.nls-tm__btn--quiet):not(.nls-tm__btn--danger)
)::after {
	content: '';
	position: absolute;
	inset: -45% auto -45% -35%;
	width: 28%;
	transform: skewX(-18deg) translateX(-260%);
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
	pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
	body.nls-v41 :where(
		.phb-btn--primary,
		.btn.primary,
		.nls-ws-btn--primary,
		.txv2-btn.primary,
		#nls-sr-root .sr-btn--crm,
		#nls-tm-root .nls-tm__btn:not(.nls-tm__btn--quiet):not(.nls-tm__btn--danger)
	):hover {
		filter: saturate(1.03) brightness(1.02);
		box-shadow: 0 15px 38px rgba(216, 0, 61, .22);
	}

	body.nls-v41 :where(
		.phb-btn--primary,
		.btn.primary,
		.nls-ws-btn--primary,
		.txv2-btn.primary,
		#nls-sr-root .sr-btn--crm,
		#nls-tm-root .nls-tm__btn:not(.nls-tm__btn--quiet):not(.nls-tm__btn--danger)
	):hover::after {
		animation: nls41-light-sweep 760ms var(--nls41-ease-out) both;
	}
}

@keyframes nls41-light-sweep {
	to { transform: skewX(-18deg) translateX(620%); }
}

/* First paint has a short, ordered rise. Dynamic CRM cards receive the same
 * physical arrival whenever the board replaces them; no state or navigation is
 * delayed, and reduced-motion below collapses the animation completely. */
@keyframes nls41-arrive {
	from { opacity: 0; transform: translateY(10px) scale(.995); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Operational progress reveals from its origin while its truthful server width
 * remains the layout value. Transactions and CRM retain their purpose-built
 * count/funnel routines; these rules complete the Tour Responses and buyer
 * confidence surfaces without rewriting their data. */
@keyframes nls41-progress-reveal {
	from { transform: scaleX(0); opacity: .45; }
	to { transform: scaleX(1); opacity: 1; }
}
body.nls-v41 :is(#nls-tc .nls-tc__progress-fill, #nls-sr-root .sr-wm__fill) {
	transform-origin: left center;
	animation: nls41-progress-reveal 680ms var(--nls41-ease-out) backwards;
}

body.nls-v41 :is(
	#nlsph-crm .dd-kpi,
	.txl-v2 .txv2-stat,
	.dashboard-container .nls-today-tile,
	#nls-tc .nls-tc__row,
	#nls-sr-root .sr-intel,
	#nls-sr-root .sr-section,
	#nls-tm-root .nls-tm__tour
) {
	animation: nls41-arrive 360ms var(--nls41-ease-out) backwards;
}

body.nls-v41 :is(
	#nlsph-crm .dd-kpi,
	.txl-v2 .txv2-stat,
	.dashboard-container .nls-today-tile,
	#nls-tc .nls-tc__row,
	#nls-tm-root .nls-tm__tour
):nth-child(2) { animation-delay: 55ms; }
body.nls-v41 :is(
	#nlsph-crm .dd-kpi,
	.txl-v2 .txv2-stat,
	.dashboard-container .nls-today-tile,
	#nls-tc .nls-tc__row,
	#nls-tm-root .nls-tm__tour
):nth-child(3) { animation-delay: 110ms; }
body.nls-v41 :is(
	#nlsph-crm .dd-kpi,
	.txl-v2 .txv2-stat,
	.dashboard-container .nls-today-tile,
	#nls-tc .nls-tc__row,
	#nls-tm-root .nls-tm__tour
):nth-child(4) { animation-delay: 165ms; }

body.nls-v41 :where(
	button,
	[role="button"],
	.phb-btn,
	.btn,
	.nls-ws-btn,
	.txv2-btn,
	a.nls-today-tile,
	.dd-card,
	.nls-tc__cta,
	.sr-btn,
	.nls-tm__btn
):active {
	transform: translateY(0) scale(.985);
	transition-duration: var(--nls41-button) !important;
}

/* Focus is ambient but unambiguous. */
body.nls-v41 :where(input, textarea, select):focus {
	border-color: rgba(216, 0, 61, .32);
	box-shadow: var(--nls41-focus-glow);
	outline: 0;
}

/* Loading and empty states are first-class product surfaces. The CRM bridge's
 * asynchronous listing pickers now reserve a calm skeleton line instead of
 * presenting inert text, while server-rendered empty states share one warm,
 * intentional material across Transactions, Tour Responses and Tours. */
body.nls-v41 #nlsph-crm .phb-hint--loading {
	position: relative;
	min-height: 42px;
	padding: 12px 14px 12px 52px;
	border: 1px solid var(--nls41-line);
	border-radius: 12px;
	background: linear-gradient(180deg, #fff, #fcfcfd);
	overflow: hidden;
}
body.nls-v41 #nlsph-crm .phb-hint--loading::before {
	content: '';
	position: absolute;
	left: 14px;
	top: 13px;
	width: 24px;
	height: 16px;
	border-radius: 6px;
	background: linear-gradient(100deg, #eeeae6 20%, #fff 50%, #eeeae6 80%);
	background-size: 220% 100%;
	animation: nls41-state-shimmer 1.15s var(--nls41-ease-out) infinite;
}
body.nls-v41 #nlsph-crm .phb-hint--error { color: #8a3a2b; }
@keyframes nls41-state-shimmer { from { background-position: 180% 0; } to { background-position: -40% 0; } }

body.nls-v41 :is(
	.txl-v2 .txv2-empty,
	#nls-tc .nls-tc__allclear,
	#nls-tc .nls-tc__none,
	#nls-tm-root .nls-tm__empty,
	#nls-tm-root .nls-tm__nostops
) {
	background: var(--nls41-surface-gradient);
	border-color: var(--nls41-line-strong);
	box-shadow: var(--nls41-shadow-1);
}

/* The theme ships `outline:none !important` on :focus (customizer_css.css, and
 * bootstrap repeats it), so this release ring never rendered and keyboard users
 * had no focus indicator on v4.1 surfaces (WCAG 2.4.7). The ring is keyboard
 * only, draws outside the box model and cannot shift layout. */
body.nls-v41 :where(a, button, [role="button"], input, textarea, select):focus-visible {
	outline: 2px solid var(--nls41-red) !important;
	outline-offset: 3px !important;
}

/* The Dashboard hero field zeroes both outline and box-shadow on its own focus
 * state, and the field-alive skin overrides the bar's :focus-within glow, so
 * neither the field nor its wrapper showed focus at all. Restore one indicator
 * that survives both, inset so the floating bar keeps its silhouette. */
body.nls-v41 #dashboard .nls-v4-hero .nls-ai__bar .nls-ai__input:focus-visible {
	outline: 2px solid var(--nls41-red-deep) !important;
	outline-offset: -4px !important;
	border-radius: 999px;
}

/* Premium number treatment: financial clarity without blunt heavy weight. */
body.nls-v41 :where(
	#nlsph-crm .dd-kpi__n,
	#nlsph-crm .dd-kpi__val,
	#nlsph-crm .dd-stat__n,
	.txl-v2 .txv2-stat .v,
	.dashboard-container .nls-today-tile__num,
	.dashboard-container .nls-v4-bk__stat,
	.dashboard-container .amount,
	.dashboard-container .count,
	#nls-sr-root .sr-card__price,
	#nls-sr-root .sr-wm__val,
	#nls-tm-root .nls-tm__price,
	#nls-tm-root .nls-tm__slot
) {
	font-variant-numeric: tabular-nums lining-nums;
	font-weight: 600;
	letter-spacing: .005em;
}

/* Tabs sit into their track instead of floating above it. */
body.nls-v41 :where(#nlsph-crm .dd-seg, .txl-v2 .txv2-seg) {
	background: rgba(28, 26, 31, .045);
	box-shadow: inset 0 1px 2px rgba(28, 26, 31, .05);
}

body.nls-v41 :where(#nlsph-crm .dd-seg__b, .txl-v2 .txv2-seg button) {
	transition: color var(--nls41-tab) var(--nls41-ease-out),
		background var(--nls41-tab) var(--nls41-ease-out),
		box-shadow var(--nls41-tab) var(--nls41-ease-out),
		transform var(--nls41-tab) var(--nls41-ease-out) !important;
}

body.nls-v41 :where(#nlsph-crm .dd-seg__b.is-on, .txl-v2 .txv2-seg button.on) {
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, .18), 0 1px 0 rgba(255, 255, 255, .9);
	transform: translateY(1px);
}

/* Search is the luminous hero on Dashboard and calm utility elsewhere. */
body.nls-v41 :where(
	.dashboard-container .nls-v4-hero,
	#nlsph-crm .dd-search,
	.txl-v2 .txv2-search input
) {
	filter: drop-shadow(0 0 30px rgba(255, 60, 90, .035));
}

body.nls-v41 .dashboard-container .nls-v4-hero:focus-within {
	filter: drop-shadow(0 0 38px rgba(255, 60, 90, .075));
}

/* Dark workspaces receive a controlled internal light source. */
body.nls-v41 :where(#nlsph-crm .dd-dh, .nls-tx.txd-v2 .txd-hero) {
	background-color: var(--nls41-navy);
	background-image:
		radial-gradient(circle at 30% 0, rgba(255, 255, 255, .12), transparent 42%),
		var(--nls41-navy-gradient);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), var(--nls41-shadow-2);
}

/* The default CRM Pipeline promotes its daily briefing to a deliberate Level-3
 * command surface. This lives in the final-loading shared layer so the generic
 * illuminated-card rule above cannot flatten its navy material. */
body.nls-v41 #nlsph-crm .dd-brief.dd-brief--command {
	color: #f8f7f3;
	border-color: rgba(255,255,255,.08);
	background:
		radial-gradient(circle at 12% 0, rgba(255,255,255,.13), transparent 34%),
		radial-gradient(circle at 92% 110%, rgba(255,45,93,.18), transparent 38%),
		linear-gradient(145deg, #22283c 0%, #111522 68%, #181321 100%);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 26px 64px rgba(20,22,34,.16);
}
body.nls-v41 #nlsph-crm .dd-brief.dd-brief--command :is(.dd-brief__k, .dd-brief__date, .dd-brief__lab) {
	color: #aeb8ca;
}
body.nls-v41 #nlsph-crm .dd-brief.dd-brief--command .dd-brief__line { color: #fff; }
body.nls-v41 #nlsph-crm .dd-brief.dd-brief--command .dd-brief__stat {
	background: rgba(255,255,255,.06);
	border-color: rgba(255,255,255,.09);
}
body.nls-v41 #nlsph-crm .dd-brief.dd-brief--command .dd-brief__num { color: #fff; }
body.nls-v41 #nlsph-crm .dd-brief.dd-brief--command .dd-brief__insight {
	color: #d7dce7;
	background: rgba(255,255,255,.045);
	border-color: rgba(255,255,255,.07);
}

/* Dropdowns and modal sheets rise and fade as one movement. */
body.nls-v41 :where(.nls-v4-quick__menu, .dd-modal, .phb-modal) {
	transition-property: opacity, transform, visibility;
	transition-duration: var(--nls41-menu) !important;
	transition-timing-function: var(--nls41-ease-out) !important;
}

body.nls-v41 :where(.dd-modal, .phb-modal) {
	transition-duration: var(--nls41-modal) !important;
}

/* Market Watch region filter: white on the bright accent measures 4.14:1 at
 * 13px, under the 4.5:1 AA floor. The deep Living Red reaches 5.27:1 and stays
 * inside the accent family, so only the fill moves. */
body.nls-v41 .dashboard-container .market-watch button.nls-region-pill.active,
body.nls-v41 .dashboard-container .nls-v4-mw .market-watch button.nls-region-pill.active {
	background: var(--nls41-red-deep) !important;
	border-color: var(--nls41-red-deep) !important;
}

/* Motion is enhancement only. Touch and assistive preferences stay primary. */
@media (prefers-reduced-motion: reduce) {
	body.nls-v41,
	body.nls-v41 *,
	body.nls-v41 *::before,
	body.nls-v41 *::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}

	body.nls-v41 :where(
		#nlsph-crm .dd-card,
		#nlsph-crm .dd-prio__row,
		#nlsph-crm .phb-tours__row,
		#nlsph-crm .nlst-card,
		.txl-v2 a.txv2-stat,
		.txl-v2 .txv2-hero,
		.txl-v2 .txv2-card,
		.dashboard-container a.nls-today-tile,
		.dashboard-container .nls-v4-bk,
		.dashboard-container .nls-v4-door,
		#nls-tc .nls-tc__row,
		#nls-sr-root .sr-card,
		#nls-tm-root .nls-tm__tour
	):hover {
		transform: none;
	}
}

@media (max-width: 640px) {
	body.nls-v41 {
		background-attachment: scroll;
	}

	body.nls-v41 :where(button, [role="button"], .phb-btn, .btn, .nls-ws-btn, .txv2-btn, .nls-tc__cta, .sr-btn, .nls-tm__btn) {
		min-height: 44px;
	}
}

/* Feed replies are a secondary utility at rest. Reserve signature red for a
 * genuinely unread state instead of introducing another saturated floating
 * action beside the primary workflow and assistant controls. */
body.nls-v41 #nls-fn-bell {
	background: rgba(255,255,255,.96) !important;
	color: #292b33 !important;
	border: 1px solid rgba(24,24,28,.07) !important;
	box-shadow: 0 8px 24px rgba(20,20,24,.09), inset 0 1px rgba(255,255,255,.9) !important;
	transition: transform 180ms cubic-bezier(.22,1,.36,1), box-shadow 180ms cubic-bezier(.22,1,.36,1), border-color 180ms cubic-bezier(.22,1,.36,1) !important;
}
body.nls-v41 #nls-fn-bell:hover,
body.nls-v41 #nls-fn-bell:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(245,20,70,.13) !important;
	box-shadow: 0 12px 30px rgba(20,20,24,.12), 0 0 0 4px rgba(245,20,70,.035) !important;
}
body.nls-v41 #nls-fn-bell .nls-fn-badge {
	background: var(--nls-red,#f51446) !important;
	color: #fff !important;
}
@media (prefers-reduced-motion: reduce) {
	body.nls-v41 #nls-fn-bell { transition: none !important; }
}

/* The legacy theme resets link outlines late in its cascade. Deal cards are
 * links, so their keyboard state must be restored at the end of the canonical
 * product stylesheet where it reliably survives that reset. */
body.nls-v41 .txl-v2 a.txv2-card:focus-visible {
	outline: 2px solid transparent !important;
	outline-offset: 3px !important;
	border-color: rgba(200,16,46,.18) !important;
	box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgba(216,0,61,.42), 0 16px 42px rgba(30,30,40,.08) !important;
}
body.nls-v41 .txl-v2 a.txv2-card:hover {
	transform: translateY(-4px) !important;
	border-color: rgba(200,16,46,.15) !important;
	box-shadow: 0 5px 12px rgba(20,20,24,.03), 0 20px 44px rgba(20,20,24,.075) !important;
}

/* Dashboard sensory refinement: the AI search is the command surface, not one
 * more white card. Light remains quiet, but important controls carry enough
 * atmosphere and physical response to make hierarchy perceptible. */
body.nls-v41 #dashboard .nls-v4-hero .nls-ai__inner {
	position:relative; overflow:hidden;
	background:
		radial-gradient(circle at 88% -20%,rgba(255,45,93,.105),transparent 42%),
		radial-gradient(circle at 5% 115%,rgba(201,144,61,.05),transparent 36%),
		linear-gradient(180deg,#fff,#fcfcfd);
	border-color:rgba(216,0,61,.075) !important;
	box-shadow:0 18px 54px rgba(30,30,40,.065),0 0 64px rgba(255,45,93,.035),inset 0 1px rgba(255,255,255,.9);
}
body.nls-v41 #dashboard .nls-v4-hero .nls-ai__inner::before {
	content:""; position:absolute; inset:0; pointer-events:none;
	background:linear-gradient(112deg,transparent 18%,rgba(255,255,255,.72) 42%,transparent 62%);
	opacity:.24; transform:translateX(-72%);
}
body.nls-v41 #dashboard .nls-v4-hero .nls-ai__bar {
	background:rgba(255,255,255,.88); border-color:rgba(20,20,20,.065);
	box-shadow:inset 0 1px 2px rgba(30,30,40,.035),0 10px 28px rgba(30,30,40,.045);
	transition:border-color 140ms var(--nls41-ease-out),box-shadow 140ms var(--nls41-ease-out),transform 140ms var(--nls41-ease-out);
}
body.nls-v41 #dashboard .nls-v4-hero .nls-ai__bar:focus-within {
	border-color:rgba(216,0,61,.28);
	box-shadow:0 0 0 4px rgba(216,0,61,.07),0 0 56px rgba(255,45,93,.09),inset 0 1px 2px rgba(30,30,40,.03);
}
body.nls-v41 #dashboard .nls-ai__go { position:relative; overflow:hidden; }
/* Keep the CTA's geometry reserved so the dashboard layout never shifts, but
 * reveal it only once the request has intent. The field reads conversationally
 * at rest and the eye lands on one red action after typing begins. */
body.nls-v41 #dashboard .nls-ai__input:placeholder-shown ~ .nls-ai__go {
	opacity:0;
	visibility:hidden;
	transform:translateX(8px);
	pointer-events:none;
}
body.nls-v41 #dashboard .nls-ai__go {
	transition:opacity 180ms var(--nls41-ease-out),visibility 180ms var(--nls41-ease-out),transform 180ms var(--nls41-ease-out),box-shadow 200ms var(--nls41-ease-out) !important;
}
body.nls-v41 #dashboard .nls-ai__go::after {
	content:""; position:absolute; top:-40%; bottom:-40%; left:-55%; width:32%;
	background:linear-gradient(90deg,transparent,rgba(255,255,255,.42),transparent);
	transform:skewX(-18deg); transition:left 420ms var(--nls41-ease-out); pointer-events:none;
}
body.nls-v41 #dashboard .nls-ai__go:hover::after { left:125%; }
/* Once results exist, the answer speaks for itself. Remove the generic product
 * label and keep the insight compact so listings become the visual hero. */
body.nls-v41 #dashboard #nlsAiSearch.is-searched .nls-ai__assistant { display:none; }
body.nls-v41 #dashboard #nlsAiSearch.is-searched .nls-ai__narrative {
	max-height:120px;
	overflow:auto;
	background:transparent;
	border-color:transparent;
	box-shadow:none;
}
body.nls-v41 .dashboard-container .nls-today-tile {
	position:relative; overflow:hidden; border-color:rgba(20,20,20,.045) !important;
	background:linear-gradient(180deg,#fff,#fcfcfd) !important;
	box-shadow:0 12px 40px rgba(30,30,40,.045),inset 0 1px rgba(255,255,255,.9);
}
body.nls-v41 .dashboard-container .nls-today-tile::before {
	content:""; position:absolute; width:120px; height:120px; right:-62px; top:-66px;
	border-radius:50%; background:rgba(216,0,61,.06); filter:blur(7px); pointer-events:none;
}
body.nls-v41 .dashboard-container .nls-today-tile[data-tile="tours"]::before { background:rgba(201,144,61,.08); }
body.nls-v41 .dashboard-container .nls-today-tile[data-tile="matches"]::before { background:rgba(111,78,155,.08); }
body.nls-v41 .dashboard-container .nls-today-tile[data-tile="deals"]::before { background:rgba(34,121,83,.075); }
body.nls-v41 .dashboard-container .nls-v4-quick__item {
	background:linear-gradient(180deg,#fff,#fcfcfd); border-color:rgba(20,20,20,.045);
	box-shadow:0 10px 30px rgba(30,30,40,.04);
}
body.nls-v41 .dashboard-container .nls-v4-quick__disc {
	background:radial-gradient(circle at 35% 25%,#fff 0,rgba(255,255,255,.7) 28%,rgba(216,0,61,.08) 100%);
	box-shadow:inset 0 0 0 1px rgba(216,0,61,.06),0 7px 18px rgba(216,0,61,.06);
}
body.nls-v41 .dashboard-container .nls-r3 {
	background:linear-gradient(180deg,#fff,#fdfcfb);
	box-shadow:-10px 0 46px rgba(30,30,40,.045),inset 1px 0 rgba(20,20,20,.035);
}
@media (prefers-reduced-motion:reduce) {
	body.nls-v41 #dashboard .nls-ai__go::after { display:none; }
	body.nls-v41 #dashboard .nls-v4-hero .nls-ai__inner::before { transform:none; }
}

/* Distribution and network studios — deep workflow layer. These screens are
 * deliberately distinct below the shared hero: portfolio, event, relationship,
 * publishing, delivery and custody each expose a different kind of work. */
body.nls-v41.nls41-workflow--developments .nlsx-mydevs .nd-empty {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 50% 0, rgba(255,45,93,.075), transparent 37%),
		linear-gradient(180deg, #fff, #fdfaf9);
	border-color: rgba(216,0,61,.09);
	box-shadow: 0 18px 54px rgba(30,30,40,.06);
}
body.nls-v41.nls41-workflow--developments .nlsx-mydevs .nd-empty::before {
	content: "POSITION  ·  RELEASE  ·  TRACK";
	display: block;
	margin: 0 auto 24px;
	color: #a80030;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .18em;
}
body.nls-v41.nls41-workflow--developments .nlsx-mydevs .nd-empty-icon {
	box-shadow: inset 0 1px rgba(255,255,255,.9), 0 12px 34px rgba(216,0,61,.10), 0 0 46px rgba(255,45,93,.06);
	transition: transform 220ms cubic-bezier(.22,1,.36,1), box-shadow 220ms cubic-bezier(.22,1,.36,1);
}
body.nls-v41.nls41-workflow--developments .nlsx-mydevs .nd-empty:hover .nd-empty-icon {
	transform: translateY(-4px) rotate(-1deg);
	box-shadow: 0 20px 42px rgba(216,0,61,.14), 0 0 58px rgba(255,45,93,.08);
}

body.nls-v41.nls41-workflow--open-houses .oh-manage .oh-empty-msg {
	position: relative;
	padding: 24px 24px 24px 58px;
	background:
		radial-gradient(circle at 0 50%, rgba(184,120,33,.10), transparent 34%),
		linear-gradient(180deg,#fff,#fdfbf8);
	border-style: solid;
	border-color: rgba(184,120,33,.11);
	box-shadow: 0 12px 38px rgba(69,48,23,.045);
}
body.nls-v41.nls41-workflow--open-houses .oh-manage .oh-empty-msg::before {
	content: "";
	position: absolute;
	left: 24px;
	top: 50%;
	width: 14px;
	height: 14px;
	border: 2px solid #b87821;
	border-radius: 50%;
	transform: translateY(-50%);
	box-shadow: 0 0 0 6px rgba(184,120,33,.08), 0 0 28px rgba(184,120,33,.16);
}
body.nls-v41.nls41-workflow--open-houses .oh-card {
	background: linear-gradient(180deg,#fff,#fdfcf9);
	box-shadow: 0 12px 40px rgba(30,30,40,.045);
	transition: transform 220ms cubic-bezier(.22,1,.36,1), box-shadow 220ms cubic-bezier(.22,1,.36,1);
}
body.nls-v41.nls41-workflow--open-houses .oh-card:hover { transform: translateY(-4px); box-shadow: 0 22px 55px rgba(30,30,40,.08), 0 0 42px rgba(184,120,33,.06); }

body.nls-v41.nls41-workflow--agent-network table {
	border-collapse: separate !important;
	border-spacing: 0 8px !important;
}
body.nls-v41.nls41-workflow--agent-network table tbody tr {
	background: linear-gradient(180deg,#fff,#fcfcfd);
	box-shadow: 0 10px 30px rgba(30,30,40,.04);
	transition: transform 220ms cubic-bezier(.22,1,.36,1), box-shadow 220ms cubic-bezier(.22,1,.36,1);
}
body.nls-v41.nls41-workflow--agent-network table tbody tr:hover {
	position: relative;
	z-index: 1;
	transform: translateY(-3px);
	box-shadow: 0 18px 46px rgba(30,30,40,.075), 0 0 38px rgba(47,103,128,.06);
}
body.nls-v41.nls41-workflow--agent-network table tbody td:first-child { border-radius: 16px 0 0 16px; }
body.nls-v41.nls41-workflow--agent-network table tbody td:last-child { border-radius: 0 16px 16px 0; font-variant-numeric: tabular-nums; font-weight: 650; }
body.nls-v41.nls41-workflow--agent-network table tbody td a { transition: color 160ms ease, text-shadow 160ms ease; }
body.nls-v41.nls41-workflow--agent-network table tbody tr:hover td a { color: #d8003d !important; text-shadow: 0 0 24px rgba(216,0,61,.09); }

body.nls-v41.nls41-workflow--newsletter .nls-newsletter-composer form,
body.nls-v41.nls41-workflow--newsletter [class*="composer"] form {
	background: radial-gradient(circle at 8% 0, rgba(155,65,101,.055), transparent 30%), linear-gradient(180deg,#fff,#fcfbfc);
}
body.nls-v41.nls41-workflow--newsletter textarea:focus,
body.nls-v41.nls41-workflow--newsletter input:focus {
	box-shadow: 0 0 0 3px rgba(216,0,61,.08), 0 0 42px rgba(255,45,93,.07) !important;
}
body.nls-v41.nls41-workflow--articles .nls-art .art-empty {
	position: relative;
	overflow: hidden;
	padding-block: 64px;
	border-style: solid;
	border-color: rgba(155,65,101,.12);
	background: radial-gradient(circle at 50% 0, rgba(155,65,101,.07), transparent 40%), linear-gradient(180deg,#fff,#fdfafb);
	box-shadow: 0 16px 48px rgba(73,36,52,.045);
}
body.nls-v41.nls41-workflow--articles .nls-art .art-empty::before {
	content: "DRAFT  ·  REFINE  ·  SHARE";
	display: block;
	margin-bottom: 18px;
	color: #9b4165;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .18em;
}

body.nls-v41.nls41-workflow--outbound-feeds #nls-of .nlsf-create {
	position: relative;
	overflow: hidden;
	padding: 28px;
	border-color: rgba(184,120,33,.10);
	background: radial-gradient(circle at 100% 0, rgba(184,120,33,.07), transparent 34%), linear-gradient(180deg,#fff,#fdfcf9);
	box-shadow: 0 16px 48px rgba(54,42,27,.055);
}
body.nls-v41.nls41-workflow--outbound-feeds #nls-of .nlsf-create::before {
	content: "CONNECTION SETUP";
	display: block;
	margin-bottom: 10px;
	color: #9b6419;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .16em;
}
body.nls-v41.nls41-workflow--outbound-feeds .nlsf-seg label { transition: transform 180ms cubic-bezier(.22,1,.36,1), box-shadow 180ms cubic-bezier(.22,1,.36,1), border-color 180ms ease; }
body.nls-v41.nls41-workflow--outbound-feeds .nlsf-seg label:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(30,30,40,.065); }
body.nls-v41.nls41-workflow--outbound-feeds .nlsf-empty { background: linear-gradient(180deg,#fff,#fdfbf8); border-color: rgba(184,120,33,.11); }

body.nls-v41.nls41-workflow--vault .vcard.vadd {
	position: relative;
	overflow: hidden;
	padding: 28px;
	background: radial-gradient(circle at 100% 0, rgba(130,102,199,.075), transparent 34%), linear-gradient(180deg,#fff,#fcfbfe);
	border-color: rgba(130,102,199,.10);
	box-shadow: 0 18px 52px rgba(46,35,71,.06);
}
body.nls-v41.nls41-workflow--vault .vcard.vadd::before {
	content: "PRIVATE · PERMISSIONED · AUDITABLE";
	display: block;
	margin-bottom: 12px;
	color: #6f52b1;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .16em;
}
body.nls-v41.nls41-workflow--vault .vcard.vrow { transition: transform 220ms cubic-bezier(.22,1,.36,1), box-shadow 220ms cubic-bezier(.22,1,.36,1); }
body.nls-v41.nls41-workflow--vault .vcard.vrow:hover { transform: translateY(-4px); box-shadow: 0 22px 55px rgba(46,35,71,.09), 0 0 42px rgba(130,102,199,.07); }
body.nls-v41.nls41-workflow--vault .vempty { padding: 26px; border: 1px solid rgba(130,102,199,.10); border-radius: 16px; background: linear-gradient(180deg,#fff,#fcfbfe); color: #635d70; }

@media (max-width: 700px) {
	body.nls-v41.nls41-workflow--agent-network table { border-spacing: 0 !important; }
	body.nls-v41.nls41-workflow--agent-network table tbody tr { box-shadow: none; }
	body.nls-v41.nls41-workflow--outbound-feeds #nls-of .nlsf-create,
	body.nls-v41.nls41-workflow--vault .vcard.vadd { padding: 20px 16px; }
	body.nls-v41.nls41-workflow--developments .nlsx-mydevs .nd-empty { padding-inline: 18px; }
}

/* Legacy directory and preference surfaces: preserve their proven data and
 * controls while assigning them to the same illuminated, tactile v4.1 system. */
body.nls-v41 .wants-type .wr-card {
	background: linear-gradient(180deg, #fff, #fcfcfd) !important;
	border-color: rgba(20,20,20,.045) !important;
	box-shadow: 0 12px 40px rgba(30,30,40,.045) !important;
}
body.nls-v41 .wants-type .wr-card:hover {
	transform: translateY(-3px);
	border-color: rgba(216,0,61,.12) !important;
	box-shadow: 0 22px 55px rgba(30,30,40,.08), 0 0 46px rgba(255,45,93,.045) !important;
}
body.nls-v41 .wants-type .wr-btn--ghost {
	color: #fff !important;
	background: linear-gradient(180deg, #ff2d5d, #d8003d) !important;
	border-color: transparent !important;
	box-shadow: 0 8px 24px rgba(216,0,61,.18) !important;
}
body.nls-v41 .wants-type .wr-btn--ghost:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(216,0,61,.25), 0 0 34px rgba(255,45,93,.07) !important; }
body.nls-v41 .wants-type .wr-btn--ghost:active { transform: scale(.985); }

body.nls-v41 #my-want-result.wl-v4 { --v4-accent:#d8003d; --v4-accent-strong:#b60035; background:transparent !important; background-image:none !important; }
body.nls-v41 #my-want-result.wl-v4 .watchlist__option input:checked ~ .label-text,
body.nls-v41 #my-want-result.wl-v4 .watchlist__option input:checked + .label-text {
	background: linear-gradient(180deg, #ff2d5d, #d8003d) !important;
	box-shadow: 0 8px 22px rgba(216,0,61,.18), inset 0 1px rgba(255,255,255,.22);
}
body.nls-v41 #my-want-result.wl-v4 .listing-header__button--small:hover {
	color:#d8003d !important; border-color:rgba(216,0,61,.14) !important;
	box-shadow:0 10px 28px rgba(30,30,40,.07), 0 0 30px rgba(255,45,93,.05) !important;
	transform:translateY(-2px);
}

body.nls-v41 main.user-listing .user-list,
body.nls-v41 main.user-listing .listing-header {
	background: linear-gradient(180deg, #fff, #fcfcfd);
	border: 1px solid rgba(20,20,20,.045);
	border-radius: 18px;
	box-shadow: 0 12px 40px rgba(30,30,40,.045);
}
body.nls-v41 main.user-listing .user-excerpt,
body.nls-v41 main.user-listing .user-mobile-view {
	transition: transform 220ms cubic-bezier(.22,1,.36,1), background 220ms cubic-bezier(.22,1,.36,1), box-shadow 220ms cubic-bezier(.22,1,.36,1);
}
body.nls-v41 main.user-listing .user-excerpt:hover,
body.nls-v41 main.user-listing .user-mobile-view:hover {
	position:relative; z-index:1; transform:translateY(-2px); background:#fff9f8 !important;
	box-shadow:0 14px 36px rgba(30,30,40,.065), inset 3px 0 #d8003d;
}
body.nls-v41 main.user-listing .name a,
body.nls-v41 main.user-listing .listings a,
body.nls-v41 main.user-listing .listing-nav li.current span { color:#d8003d !important; }
body.nls-v41 main.user-listing .listing-nav li.current span {
	background:linear-gradient(180deg,#ff2d5d,#d8003d) !important; color:#fff !important;
	box-shadow:0 8px 22px rgba(216,0,61,.18);
}

body.nls-v41 .notifications__section {
	background: linear-gradient(180deg, #fff, #fcfcfd) !important;
	border: 1px solid rgba(20,20,20,.045) !important;
	border-radius:18px !important;
	box-shadow:0 12px 40px rgba(30,30,40,.045) !important;
	transition:transform 220ms cubic-bezier(.22,1,.36,1), box-shadow 220ms cubic-bezier(.22,1,.36,1);
}
body.nls-v41 .notifications__section:hover { transform:translateY(-2px); box-shadow:0 22px 55px rgba(30,30,40,.075), 0 0 40px rgba(255,45,93,.035) !important; }
body.nls-v41 .notifications__heading { color:#d8003d !important; }
body.nls-v41 .notifications__button {
	color:#fff !important; background:linear-gradient(180deg,#ff2d5d,#d8003d) !important;
	border:0 !important; border-radius:999px !important; padding:10px 18px !important;
	box-shadow:0 8px 24px rgba(216,0,61,.18) !important;
	transition:transform 180ms cubic-bezier(.22,1,.36,1), box-shadow 180ms cubic-bezier(.22,1,.36,1) !important;
}
body.nls-v41 .notifications__button:hover { transform:translateY(-2px); box-shadow:0 14px 32px rgba(216,0,61,.25) !important; }
body.nls-v41 .notifications__section .slider.round { transition:background 180ms cubic-bezier(.22,1,.36,1), box-shadow 180ms cubic-bezier(.22,1,.36,1) !important; }
body.nls-v41 .notifications__section input:checked + .slider.round { background:linear-gradient(180deg,#ff2d5d,#d8003d) !important; box-shadow:0 0 28px rgba(255,45,93,.12); }
/* The active profile renderer normalises the public template's BEM classes
 * into legacy scoreBoard rows, so target that rendered contract as well. */
body.nls-v41 .nls-profile-v4 .notifications .mainContent > .row,
body.nls-v41 .nls-profile-v4 .notifications .scoreBoard {
	background:linear-gradient(180deg,#fff,#fcfcfd) !important;
	border:1px solid rgba(20,20,20,.045) !important;
	border-radius:18px !important;
	box-shadow:0 12px 40px rgba(30,30,40,.045) !important;
	transition:transform 220ms cubic-bezier(.22,1,.36,1), box-shadow 220ms cubic-bezier(.22,1,.36,1) !important;
}
body.nls-v41 .nls-profile-v4 .notifications .mainContent > .row:hover,
body.nls-v41 .nls-profile-v4 .notifications .scoreBoard:hover {
	transform:translateY(-2px);
	box-shadow:0 22px 55px rgba(30,30,40,.075),0 0 40px rgba(255,45,93,.035) !important;
}
body.nls-v41 .nls-profile-v4 .notifications .notification-submit-btn {
	color:#fff !important;
	background:linear-gradient(180deg,#ff2d5d,#d8003d) !important;
	border:0 !important; border-radius:999px !important;
	box-shadow:0 8px 24px rgba(216,0,61,.18) !important;
	transition:transform 180ms cubic-bezier(.22,1,.36,1),box-shadow 180ms cubic-bezier(.22,1,.36,1),filter 180ms cubic-bezier(.22,1,.36,1) !important;
}
body.nls-v41 .nls-profile-v4 .notifications .notification-submit-btn:hover { transform:translateY(-2px); filter:saturate(1.03) brightness(1.02); box-shadow:0 14px 32px rgba(216,0,61,.25) !important; }
body.nls-v41 .nls-profile-v4 .notifications .notification-submit-btn:active { transform:scale(.985); }
body.nls-v41 .nls-profile-v4 .notifications input:checked + .slider.round { background:linear-gradient(180deg,#ff2d5d,#d8003d) !important; box-shadow:0 0 28px rgba(255,45,93,.12) !important; }

/* --------------------------------------------------------------------------
 * Legacy member workspaces
 *
 * Several inherited profile templates ship their authenticated, server-gated
 * content inside an inline `display:none` main and rely on page-local JS to
 * reveal it.  That revealer is absent on My Listings / My Wants (and can fail
 * when an optional legacy bundle is pruned).  Visibility is presentation, not
 * authorisation: WordPress has already performed the route and ownership
 * checks before this markup exists.  Keep the repair scoped to registered
 * v4.1 member surfaces.
 * -------------------------------------------------------------------------- */
body.nls-v41 main#profile-listings[style*="display:none"],
body.nls-v41 main#profile-listings[style*="display: none"] {
	display: block !important;
}

body.nls-v41 #profile-listings,
body.nls-v41 .nls-profile-v4 {
	position: relative;
	isolation: isolate;
	min-height: 56vh;
	color: #252632;
}
body.nls-v41 #profile-listings::before,
body.nls-v41 .nls-profile-v4::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -90px;
	left: 4%;
	width: min(620px, 78vw);
	height: 300px;
	pointer-events: none;
	background: radial-gradient(ellipse, rgba(255,45,93,.075), transparent 68%);
	filter: blur(8px);
}
body.nls-v41 #profile-listings .page-header,
body.nls-v41 .nls-profile-v4 .page-header {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(252,252,253,.96));
	border: 1px solid rgba(20,20,20,.045);
	border-radius: 18px;
	box-shadow: 0 12px 40px rgba(30,30,40,.045);
	margin: 24px auto 18px;
	padding: clamp(22px, 3vw, 34px);
}
body.nls-v41 #profile-listings .page-header::after,
body.nls-v41 .nls-profile-v4 .page-header::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(circle at 12% 0, rgba(255,45,93,.10), transparent 42%), linear-gradient(115deg, rgba(255,255,255,.42), transparent 36%);
}
body.nls-v41 #profile-listings .page-header > *,
body.nls-v41 .nls-profile-v4 .page-header > * { position: relative; z-index: 1; }

/*

body.nls-v41 #profile-listings :is(.scoreBoard, .mainContent, .nls-wants-ui, .wr-card, .notification-item, .api-card),
body.nls-v41 .nls-profile-v4 :is(.scoreBoard, .mainContent, .notification-item, .api-card) {
	background: linear-gradient(180deg, #fff, #fcfcfd);
	border: 1px solid rgba(20,20,20,.045);
	box-shadow: 0 12px 40px rgba(30,30,40,.045);
	transition: transform 220ms cubic-bezier(.22,1,.36,1), box-shadow 220ms cubic-bezier(.22,1,.36,1), border-color 220ms cubic-bezier(.22,1,.36,1);
}
body.nls-v41 #profile-listings :is(.wr-card, .notification-item, .api-card):hover,
body.nls-v41 .nls-profile-v4 :is(.notification-item, .api-card):hover {
	transform: translateY(-3px);
	border-color: rgba(216,0,61,.14);
	box-shadow: 0 22px 55px rgba(30,30,40,.08), 0 0 42px rgba(255,45,93,.045);
}

*/

/* Primary actions on inherited ACF/profile screens need the same illuminated
 * material as purpose-built v4.1 actions.  Destructive and close controls are
 * deliberately excluded. */
body.nls-v41 #profile-listings :is(.button-primary, button[type="submit"], input[type="submit"], .nls-awai__go):not(.acf-gallery-close):not(.delete):not(.danger),
body.nls-v41 .nls-profile-v4 :is(.button-primary, button[type="submit"], input[type="submit"]):not(.acf-gallery-close):not(.delete):not(.danger) {
	color: #fff !important;
	background: linear-gradient(180deg, #ff2d5d, #d8003d) !important;
	border-color: transparent !important;
	box-shadow: 0 9px 26px rgba(216,0,61,.19), inset 0 1px rgba(255,255,255,.24) !important;
	transition: transform 180ms cubic-bezier(.22,1,.36,1), box-shadow 180ms cubic-bezier(.22,1,.36,1), filter 180ms cubic-bezier(.22,1,.36,1) !important;
}
body.nls-v41 #profile-listings :is(.button-primary, button[type="submit"], input[type="submit"], .nls-awai__go):not(.acf-gallery-close):not(.delete):not(.danger):hover,
body.nls-v41 .nls-profile-v4 :is(.button-primary, button[type="submit"], input[type="submit"]):not(.acf-gallery-close):not(.delete):not(.danger):hover {
	transform: translateY(-2px);
	filter: saturate(1.03) brightness(1.02);
	box-shadow: 0 15px 34px rgba(216,0,61,.25), 0 0 40px rgba(255,45,93,.08) !important;
}
body.nls-v41 #profile-listings :is(.button-primary, button[type="submit"], input[type="submit"], .nls-awai__go):not(.acf-gallery-close):not(.delete):not(.danger):active,
body.nls-v41 .nls-profile-v4 :is(.button-primary, button[type="submit"], input[type="submit"]):not(.acf-gallery-close):not(.delete):not(.danger):active {
	transform: scale(.985);
}
body.nls-v41 #profile-listings :is(input, select, textarea):focus,
body.nls-v41 .nls-profile-v4 :is(input, select, textarea):focus {
	outline: 0;
	border-color: rgba(216,0,61,.40) !important;
	box-shadow: 0 0 0 3px rgba(216,0,61,.09), 0 0 38px rgba(255,45,93,.055) !important;
}

/* Portfolio and buyer-requirement pages already have strong bespoke layouts;
 * v4.1 supplies the missing shared material language and Living Red energy. */
body.nls-v41 #my-listing :is(.nls-ml-cta:not(.nls-ml-cta--ghost), .refbtn, .listing__controls .preview-link),
body.nls-v41 #nls-wq-root :is(.wq-add, .my-wants__controls .preview-link) {
	position: relative;
	overflow: hidden;
	color: #fff !important;
	background: linear-gradient(180deg, #ff2d5d, #d8003d) !important;
	border-color: transparent !important;
	box-shadow: 0 9px 26px rgba(216,0,61,.19), inset 0 1px rgba(255,255,255,.24) !important;
	transition: transform 180ms cubic-bezier(.22,1,.36,1), box-shadow 180ms cubic-bezier(.22,1,.36,1), filter 180ms cubic-bezier(.22,1,.36,1) !important;
}
body.nls-v41 #my-listing :is(.nls-ml-cta:not(.nls-ml-cta--ghost), .refbtn, .listing__controls .preview-link)::before,
body.nls-v41 #nls-wq-root :is(.wq-add, .my-wants__controls .preview-link)::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(112deg, transparent 15%, rgba(255,255,255,.26) 44%, transparent 68%);
	transform: translateX(-130%);
	transition: transform 520ms cubic-bezier(.22,1,.36,1);
}
body.nls-v41 #my-listing :is(.nls-ml-cta:not(.nls-ml-cta--ghost), .refbtn, .listing__controls .preview-link):hover,
body.nls-v41 #nls-wq-root :is(.wq-add, .my-wants__controls .preview-link):hover {
	color: #fff !important;
	background: linear-gradient(180deg, #ff2d5d, #d8003d) !important;
	transform: translateY(-2px) !important;
	filter: saturate(1.03) brightness(1.02);
	box-shadow: 0 15px 34px rgba(216,0,61,.25), 0 0 42px rgba(255,45,93,.075) !important;
}
body.nls-v41 #my-listing :is(.nls-ml-cta:not(.nls-ml-cta--ghost), .refbtn, .listing__controls .preview-link):hover::before,
body.nls-v41 #nls-wq-root :is(.wq-add, .my-wants__controls .preview-link):hover::before { transform: translateX(130%); }
body.nls-v41 #my-listing :is(.my-listings.listing-list, .scoreBoard),
body.nls-v41 #nls-wq-root :is(.my-wants.listing-list, .scoreBoard) {
	background: linear-gradient(180deg, #fff, #fcfcfd) !important;
	border-color: rgba(20,20,20,.045) !important;
	box-shadow: 0 12px 40px rgba(30,30,40,.045) !important;
}
body.nls-v41 #my-listing .my-listings.listing-list:hover,
body.nls-v41 #nls-wq-root .my-wants.listing-list:hover {
	transform: translateY(-4px) !important;
	border-color: rgba(216,0,61,.12) !important;
	box-shadow: 0 22px 55px rgba(30,30,40,.08), 0 0 42px rgba(255,45,93,.04) !important;
}

/* Property Search: contain Bootstrap's inherited negative row gutters and
 * promote the count action into the canonical primary material. */
body.nls-v41 #new-search .property-containar {
	max-width: 100%;
	overflow: clip;
}
body.nls-v41 #new-search .property-containar > .row {
	width: 100%;
	margin-inline: 0 !important;
}
body.nls-v41 #new-search .col-content {
	background: linear-gradient(180deg, #fff, #fcfcfd);
	border-color: rgba(20,20,20,.045) !important;
	box-shadow: 0 12px 40px rgba(30,30,40,.045);
	transition: transform 220ms cubic-bezier(.22,1,.36,1), box-shadow 220ms cubic-bezier(.22,1,.36,1), border-color 220ms cubic-bezier(.22,1,.36,1);
}
body.nls-v41 #new-search .col-content:hover {
	transform: translateY(-2px);
	border-color: rgba(216,0,61,.10) !important;
	box-shadow: 0 22px 55px rgba(30,30,40,.075), 0 0 40px rgba(255,45,93,.035);
}
body.nls-v41 #new-search button.button.count {
	color: #fff !important;
	background: linear-gradient(180deg, #ff2d5d, #d8003d) !important;
	border-color: transparent !important;
	box-shadow: 0 9px 26px rgba(216,0,61,.20), inset 0 1px rgba(255,255,255,.24) !important;
	transition: transform 180ms cubic-bezier(.22,1,.36,1), box-shadow 180ms cubic-bezier(.22,1,.36,1), filter 180ms cubic-bezier(.22,1,.36,1) !important;
}
body.nls-v41 #new-search button.button.count:hover {
	transform: translateY(-2px);
	filter: saturate(1.03) brightness(1.02);
	box-shadow: 0 15px 34px rgba(216,0,61,.26), 0 0 40px rgba(255,45,93,.08) !important;
}
body.nls-v41 #new-search button.button.count:active { transform: scale(.985); }

/* --------------------------------------------------------------------------
 * Property workflow — deep v4.1 product layer
 *
 * The portfolio, buyer-requirement and search screens now read as one system,
 * with a route-specific purpose, a visible operating sequence and deliberate
 * next actions. The original data controls remain authoritative underneath.
 * -------------------------------------------------------------------------- */
body.nls-v41.nls41-workflow {
	--nls41-workflow-accent: #d8003d;
	--nls41-workflow-ink: #171927;
}
body.nls-v41.nls41-workflow--buyer-briefs,
body.nls-v41.nls41-workflow--brief-studio,
body.nls-v41.nls41-workflow--buyer-matches { --nls41-workflow-accent: #7554c9; }
body.nls-v41.nls41-workflow--saved-searches,
body.nls-v41.nls41-workflow--watchlist,
body.nls-v41.nls41-workflow--property-search { --nls41-workflow-accent: #315a78; }
body.nls-v41.nls41-workflow--open-houses,
body.nls-v41.nls41-workflow--demand-radar { --nls41-workflow-accent: #b87821; }
body.nls-v41.nls41-workflow--agent-network,
body.nls-v41.nls41-workflow--listings-api,
body.nls-v41.nls41-workflow--syndication { --nls41-workflow-accent: #2f6780; }
body.nls-v41.nls41-workflow--newsletter,
body.nls-v41.nls41-workflow--articles { --nls41-workflow-accent: #9b4165; }
body.nls-v41.nls41-workflow--outbound-feeds,
body.nls-v41.nls41-workflow--notifications { --nls41-workflow-accent: #b87821; }
body.nls-v41.nls41-workflow--vault { --nls41-workflow-accent: #8266c7; }

.nls41-workflow-hero {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(340px, .8fr);
	gap: clamp(20px, 3vw, 40px);
	width: min(1376px, calc(100% - 64px));
	margin: 16px auto 14px;
	padding: clamp(18px, 2.4vw, 30px); /* Chris 2026-09-03: hero was way too thick — same aesthetic, ~40%% less height */
	overflow: hidden;
	color: #f9fafc;
	border: 1px solid rgba(255,255,255,.09);
	border-radius: 24px;
	background:
		radial-gradient(circle at 10% 0, rgba(255,255,255,.15), transparent 38%),
		radial-gradient(circle at 94% 108%, color-mix(in srgb, var(--nls41-workflow-accent) 38%, transparent), transparent 42%),
		linear-gradient(140deg, #252b3e 0%, #121622 65%, #18131e 100%);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 28px 72px rgba(23,25,39,.16), 0 0 72px color-mix(in srgb, var(--nls41-workflow-accent) 7%, transparent);
	animation: nls41-workflow-arrive 520ms var(--nls41-ease-out) both;
}
.nls41-workflow-hero::before {
	content: "";
	position: absolute;
	z-index: 0;
	width: min(46vw, 620px);
	aspect-ratio: 1;
	right: -15%;
	bottom: -90%;
	pointer-events: none;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--nls41-workflow-accent) 28%, transparent) 0, color-mix(in srgb, var(--nls41-workflow-accent) 9%, transparent) 38%, transparent 70%);
	filter: blur(10px);
	opacity: .7;
	transform: translate3d(0,0,0) scale(.94);
	animation: nls41-workflow-breathe 10s 1.1s ease-in-out infinite alternate;
}
.nls41-workflow-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(112deg, transparent 12%, rgba(255,255,255,.045) 42%, transparent 68%);
	transform: translateX(-110%);
	animation: nls41-workflow-sweep 900ms 240ms var(--nls41-ease-out) both;
}
@keyframes nls41-workflow-arrive { from { opacity: 0; transform: translateY(10px) scale(.995); } }
@keyframes nls41-workflow-sweep { to { transform: translateX(110%); } }
@keyframes nls41-workflow-breathe {
	to { opacity: 1; transform: translate3d(-5%,-7%,0) scale(1.08); }
}
.nls41-workflow-hero__narrative,
.nls41-workflow-hero__command { position: relative; z-index: 1; }
.nls41-workflow-hero__eyebrow {
	margin: 0 0 10px;
	color: #ff9eb4;
	font: 700 11px/1.2 var(--nls41-sans, Inter, sans-serif);
	letter-spacing: .16em;
	text-transform: uppercase;
}
.nls41-workflow-hero h1 {
	max-width: 780px;
	margin: 0;
	color: #fff;
	font-family: var(--nls41-display, Georgia, serif);
	font-size: clamp(26px, 2.9vw, 40px);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -.038em;
}
.nls41-workflow-hero__copy {
	max-width: 720px;
	margin: 10px 0 0;
	color: #c9cfdb;
	font-size: clamp(13.5px, 1.05vw, 15.5px);
	line-height: 1.55;
}
.nls41-workflow-hero__command {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 14px;
	padding: 16px;
	border: 1px solid rgba(255,255,255,.09);
	border-radius: 18px;
	background: rgba(255,255,255,.055);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
	backdrop-filter: blur(18px);
	transition: transform 220ms var(--nls41-ease-out), border-color 220ms var(--nls41-ease-out), background 220ms var(--nls41-ease-out), box-shadow 220ms var(--nls41-ease-out);
}
.nls41-workflow-hero:hover .nls41-workflow-hero__command {
	transform: translateY(-3px);
	border-color: rgba(255,255,255,.14);
	background: rgba(255,255,255,.068);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 18px 44px rgba(0,0,0,.12), 0 0 44px color-mix(in srgb, var(--nls41-workflow-accent) 8%, transparent);
}
.nls41-workflow-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nls41-workflow-steps li {
	position: relative;
	display: grid;
	gap: 8px;
	color: #c4cad5;
	font-size: 11px;
	letter-spacing: .025em;
	transition: color 180ms var(--nls41-ease-out), transform 180ms var(--nls41-ease-out);
}
.nls41-workflow-steps li:hover { color: #fff; transform: translateY(-2px); }
.nls41-workflow-steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 13px;
	left: 32px;
	right: 4px;
	height: 1px;
	background: linear-gradient(90deg, color-mix(in srgb, var(--nls41-workflow-accent) 70%, #fff), rgba(255,255,255,.12));
}
.nls41-workflow-steps span {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	color: #fff;
	font-weight: 700;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 50%;
	background: color-mix(in srgb, var(--nls41-workflow-accent) 72%, #252b3e);
	box-shadow: 0 0 24px color-mix(in srgb, var(--nls41-workflow-accent) 24%, transparent), inset 0 1px rgba(255,255,255,.24);
	transition: transform 180ms var(--nls41-ease-out), box-shadow 180ms var(--nls41-ease-out), filter 180ms var(--nls41-ease-out);
}
.nls41-workflow-steps li:hover span {
	transform: scale(1.08);
	filter: brightness(1.08) saturate(1.04);
	box-shadow: 0 0 32px color-mix(in srgb, var(--nls41-workflow-accent) 38%, transparent), inset 0 1px rgba(255,255,255,.3);
}
.nls41-workflow-steps strong { font-weight: 600; }
.nls41-workflow-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.nls41-workflow-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	color: #fff !important;
	font-size: 13px;
	font-weight: 650;
	text-decoration: none !important;
	border: 1px solid rgba(255,255,255,.13);
	border-radius: 999px;
	background: rgba(255,255,255,.07);
	box-shadow: inset 0 1px rgba(255,255,255,.06);
	transition: transform 180ms var(--nls41-ease-out), box-shadow 180ms var(--nls41-ease-out), background 180ms var(--nls41-ease-out);
}
.nls41-workflow-action--primary {
	border-color: transparent;
	background: linear-gradient(180deg, #ff2d5d, #d8003d);
	box-shadow: 0 10px 28px rgba(216,0,61,.26), inset 0 1px rgba(255,255,255,.26);
}
.nls41-workflow-action:hover { transform: translateY(-2px); background: rgba(255,255,255,.12); box-shadow: 0 12px 30px rgba(0,0,0,.16); }
.nls41-workflow-action--primary:hover { background: linear-gradient(180deg, #ff3564, #df0041); box-shadow: 0 15px 36px rgba(216,0,61,.32), 0 0 38px rgba(255,45,93,.12); }
.nls41-workflow-action:active { transform: scale(.98); }
.nls41-workflow-action:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
	box-shadow: 0 0 0 6px color-mix(in srgb, var(--nls41-workflow-accent) 34%, transparent), 0 15px 36px rgba(0,0,0,.16);
}

@media (prefers-reduced-motion: reduce) {
	.nls41-workflow-hero { animation: none; }
	.nls41-workflow-hero::after { animation: none; transform: none; }
	.nls41-workflow-hero::before { animation: none; }
	.nls41-workflow-hero:hover .nls41-workflow-hero__command,
	.nls41-workflow-steps li:hover,
	.nls41-workflow-steps li:hover span { transform: none; }
}

/* ==========================================================================
   My Listings — the shorter, identity-only portfolio hero.
   Chris 2026-09-10 (brief item 16) shortened it; Chris 2026-09-11 (My Listings
   v2) made it identity only. design-system.js builds no command panel on this
   route, so the step ladder, live-intelligence and hero-action rules that used
   to live here had nothing left to style and are gone.

   EVERY selector below is prefixed body.nls-v41.nls41-workflow--portfolio, the
   class only /members/profile/my-listings sets (listing.php writes it inline,
   design-system.js writes it again). This file loads on all 34 v4.1 product
   routes, so an unprefixed .nls41-workflow-hero rule here would silently
   reshape the hero on Vault, Wants, Saved Searches and thirty others. The
   prefix, not review, is what makes that impossible.
   ========================================================================== */

/* "Once someone is on My Listings, the inventory needs to appear much sooner."
 * One step down in every vertical rhythm, and a single column now that nothing
 * sits beside the narrative. */
body.nls-v41.nls41-workflow--portfolio .nls41-workflow-hero {
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(16px, 2.2vw, 30px);
	margin: 12px auto 12px;
	padding: clamp(13px, 1.5vw, 19px);
}
body.nls-v41.nls41-workflow--portfolio .nls41-workflow-hero h1 {
	font-size: clamp(23px, 2.1vw, 30px);
	line-height: 1.06;
}
body.nls-v41.nls41-workflow--portfolio .nls41-workflow-hero__eyebrow { margin-bottom: 6px; }
body.nls-v41.nls41-workflow--portfolio .nls41-workflow-hero__copy {
	margin-top: 6px;
	font-size: clamp(13px, .92vw, 14px);
	line-height: 1.5;
}

/* The contextual command surface becomes the hero; demote inherited duplicate
 * title bands without removing their controls or live status information. */
body.nls-v41.nls41-workflow #profile-listings > .page-header,
body.nls-v41.nls41-workflow #my-listing > .page-header,
body.nls-v41.nls41-workflow #nls-wq-root > .page-header,
body.nls-v41.nls41-workflow #new-search > .page-header {
	margin-top: 0 !important;
}
/* These legacy bands contain only a repeated page label or a destination that
 * already exists in the contextual hero. Removing them restores a continuous
 * hero-to-workspace rhythm without hiding any form, filter, count or status. */
body.nls-v41.nls41-workflow--property-search #new-search > .page-header,
body.nls-v41.nls41-workflow--listing-studio #new-listing > .page-header,
body.nls-v41:is(.nls41-workflow--profile,.nls41-workflow--notifications,.nls41-workflow--listings-api,.nls41-workflow--saved-searches) #profile-listings > .page-header {
	display: none !important;
}
.nls41-workflow .nls41-legacy-heading-title,
.nls41-workflow .nls41-legacy-heading-copy { display: none !important; }
.nls41-workflow .nls41-legacy-heading-band {
	min-height: 0 !important;
	padding-block: 12px !important;
}
body.nls-v41:is(.nls41-workflow--profile,.nls41-workflow--notifications,.nls41-workflow--listings-api,.nls41-workflow--saved-searches) .page-header {
	min-height: 0 !important;
	height: auto !important;
	margin: 0 auto 18px !important;
	padding: 12px clamp(20px, 5vw, 72px) !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}
body.nls-v41:is(.nls41-workflow--profile,.nls41-workflow--notifications,.nls41-workflow--listings-api,.nls41-workflow--saved-searches) .page-header :is(.page-header__wrap,.container-fluid,.row) {
	min-height: 0 !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}
body.nls-v41:is(.nls41-workflow--profile,.nls41-workflow--notifications,.nls41-workflow--listings-api,.nls41-workflow--saved-searches) .page-header .page-header__left-col {
	display: none !important;
}
body.nls-v41:is(.nls41-workflow--profile,.nls41-workflow--notifications,.nls41-workflow--listings-api,.nls41-workflow--saved-searches) .page-header .page-header__right-col {
	margin-left: auto !important;
}

body.nls-v41.nls41-workflow--vault :is(input,select,textarea),
body.nls-v41.nls41-workflow--listings-api :is(input,select,textarea),
body.nls-v41.nls41-workflow--notifications :is(input,select,textarea) {
	min-height: 46px;
	border: 1px solid rgba(34,39,54,.10) !important;
	border-radius: 13px !important;
	background: rgba(255,255,255,.9) !important;
	box-shadow: inset 0 1px 3px rgba(30,34,48,.035);
	transition: border-color 140ms var(--nls41-ease-out), box-shadow 140ms var(--nls41-ease-out), background 140ms var(--nls41-ease-out);
}
body.nls-v41.nls41-workflow--vault :is(input,select,textarea):focus,
body.nls-v41.nls41-workflow--listings-api :is(input,select,textarea):focus,
body.nls-v41.nls41-workflow--notifications :is(input,select,textarea):focus {
	outline: 0;
	border-color: color-mix(in srgb, var(--nls41-workflow-accent) 46%, transparent) !important;
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--nls41-workflow-accent) 9%, transparent), 0 0 38px color-mix(in srgb, var(--nls41-workflow-accent) 5%, transparent) !important;
}

/* Working surfaces carry the semantic colour of their workflow, while brand
 * red remains reserved for decisive actions. */
body.nls-v41.nls41-workflow :is(
	.my-listings.listing-list,
	.my-wants.listing-list,
	.user-list,
	.acf-fields > .acf-field,
	.notifications .scoreBoard,
	.notifications__section,
	.api-card,
	.feed-card,
	.article-card
) {
	border-color: color-mix(in srgb, var(--nls41-workflow-accent) 14%, rgba(20,20,20,.04)) !important;
	background:
		radial-gradient(circle at 100% 0, color-mix(in srgb, var(--nls41-workflow-accent) 4%, transparent), transparent 32%),
		linear-gradient(180deg, #fff, #fcfcfd) !important;
	box-shadow: 0 12px 40px rgba(30,30,40,.05) !important;
}
body.nls-v41.nls41-workflow :is(
	.my-listings.listing-list,
	.my-wants.listing-list,
	.user-excerpt,
	.user-mobile-view,
	.article-card,
	.feed-card
):hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--nls41-workflow-accent) 26%, transparent) !important;
	box-shadow: 0 24px 58px rgba(30,30,40,.09), 0 0 44px color-mix(in srgb, var(--nls41-workflow-accent) 5%, transparent) !important;
}
body.nls-v41.nls41-workflow :is(.my-listing-img, .listing-image img, .user-list img, .article-card img) {
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(24,26,38,.10);
}

/* Search is a decision workspace, not a form dump. Give each filter group a
 * quiet paper surface and make the central criteria column dominant. */
body.nls-v41.nls41-workflow--property-search #new-search .property-containar {
	padding: clamp(16px, 2.4vw, 34px) !important;
	background: radial-gradient(circle at 50% 0, rgba(49,90,120,.055), transparent 36%);
}
body.nls-v41.nls41-workflow--property-search #new-search .col-content {
	border-radius: 20px !important;
	box-shadow: 0 16px 46px rgba(28,34,48,.065) !important;
}
body.nls-v41.nls41-workflow--property-search #new-search input:not([type="checkbox"]):not([type="radio"]),
body.nls-v41.nls41-workflow--property-search #new-search select {
	min-height: 46px;
	border-color: rgba(30,36,52,.10) !important;
	border-radius: 13px !important;
	background-color: rgba(255,255,255,.86) !important;
	box-shadow: inset 0 1px 3px rgba(30,34,48,.035);
}
body.nls-v41.nls41-workflow--property-search #new-search input:focus,
body.nls-v41.nls41-workflow--property-search #new-search select:focus {
	border-color: rgba(49,90,120,.42) !important;
	box-shadow: 0 0 0 4px rgba(49,90,120,.08), 0 0 42px rgba(49,90,120,.055) !important;
}

/* Directory rows become relationship cards. Values stay tabular and aligned,
 * but the row now has mass and a clear interactive response. */
body.nls-v41.nls41-workflow--agent-network main.user-listing .user-list {
	overflow: hidden;
	border-radius: 20px;
}
body.nls-v41.nls41-workflow--agent-network #main.user-listing .sub-nav__agent { display: none !important; }
body.nls-v41.nls41-workflow--agent-network #main.user-listing .sub-nav {
	min-height: 78px;
	background: transparent;
	border-bottom-color: rgba(34,39,54,.055);
}
body.nls-v41.nls41-workflow--agent-network #main.user-listing .sub-nav__wrap {
	min-height: 78px;
	justify-content: flex-end;
}
body.nls-v41.nls41-workflow--saved-searches #profile-listings .page-content {
	margin-top: 0 !important;
	padding-top: 0 !important;
}
body.nls-v41.nls41-workflow--agent-network main.user-listing .user-excerpt {
	min-height: 96px;
	border-bottom-color: rgba(32,38,53,.055) !important;
}
body.nls-v41.nls41-workflow--agent-network main.user-listing .user-excerpt:hover {
	background: linear-gradient(90deg, rgba(47,103,128,.06), rgba(255,255,255,.96)) !important;
	box-shadow: inset 3px 0 #2f6780, 0 16px 40px rgba(30,30,40,.07);
}
body.nls-v41.nls41-workflow--agent-network main.user-listing .total-value {
	font-variant-numeric: tabular-nums;
	font-weight: 650;
	letter-spacing: .012em;
}

/* --------------------------------------------------------------------------
 * Profile console — deep workflow material
 *
 * These inherited screens shared navigation but previously dropped from the
 * editorial hero into flat, unrelated admin panels. The console layer gives
 * them one spatial grammar while retaining a distinct operational accent.
 * -------------------------------------------------------------------------- */
 /*
body.nls-v41:is(
	.nls41-workflow--saved-searches,
	.nls41-workflow--profile,
	.nls41-workflow--notifications,
	.nls41-workflow--listings-api
) :is(#saved-searches-container,#edit-profile-container,#listings-api-container,#profile-listings) .page-content {
	position: relative;
	isolation: isolate;
	width: min(1376px, calc(100% - 64px));
	margin: 0 auto 72px !important;
	padding: 28px !important;
	border: 1px solid rgba(25,29,42,.045);
	border-radius: 26px;
	background:
		radial-gradient(circle at 78% 0, color-mix(in srgb, var(--nls41-workflow-accent) 5%, transparent), transparent 38%),
		linear-gradient(145deg, rgba(255,255,255,.78), rgba(248,248,251,.9));
	box-shadow: inset 0 1px rgba(255,255,255,.86), 0 24px 72px rgba(28,31,45,.055);
}
body.nls-v41:is(
	.nls41-workflow--saved-searches,
	.nls41-workflow--profile,
	.nls41-workflow--notifications,
	.nls41-workflow--listings-api
) .page-content > .container-fluid > .row {
	display: grid !important;
	grid-template-columns: minmax(210px, .72fr) minmax(0, 2.35fr) minmax(180px, .65fr);
	gap: clamp(18px, 2vw, 30px);
	align-items: start;
	margin: 0 !important;
}
body.nls-v41:is(
	.nls41-workflow--saved-searches,
	.nls41-workflow--profile,
	.nls41-workflow--notifications,
	.nls41-workflow--listings-api
) .page-content :is(.left-col,.middle-col,.right-col) {
	position: relative !important;
	right: auto !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0;
	padding: 0 !important;
	border: 0 !important;
}
/*

/* Navigation becomes a calm glass index rather than a legacy menu card. */
/*
body.nls-v41.nls41-workflow #edit-sidebar.sidebar {
	position: sticky;
	top: 112px;
	padding: 12px !important;
	overflow: hidden;
	border: 1px solid rgba(24,29,43,.055) !important;
	border-radius: 20px !important;
	background:
		radial-gradient(circle at 0 0, color-mix(in srgb, var(--nls41-workflow-accent) 7%, transparent), transparent 38%),
		linear-gradient(180deg, rgba(255,255,255,.94), rgba(252,252,253,.9)) !important;
	box-shadow: 0 18px 46px rgba(30,30,40,.06), inset 0 1px rgba(255,255,255,.9) !important;
}
body.nls-v41.nls41-workflow #edit-sidebar :is(ul,li) { margin: 0 !important; padding: 0 !important; }
body.nls-v41.nls41-workflow #edit-sidebar li { list-style: none; }
body.nls-v41.nls41-workflow #edit-sidebar a {
	display: flex;
	align-items: center;
	min-height: 46px;
	margin: 2px 0;
	padding: 0 13px;
	color: #5c6170 !important;
	text-decoration: none !important;
	border-radius: 12px;
	transition: transform 180ms var(--nls41-ease-out), color 180ms var(--nls41-ease-out), background 180ms var(--nls41-ease-out), box-shadow 180ms var(--nls41-ease-out);
}
body.nls-v41.nls41-workflow #edit-sidebar a h3 {
	margin: 0 !important;
	padding: 0 !important;
	color: inherit !important;
	font: 650 11px/1.25 var(--nls41-sans, Inter, sans-serif) !important;
	letter-spacing: .055em;
	text-transform: uppercase;
}
body.nls-v41.nls41-workflow #edit-sidebar a:hover {
	color: var(--nls41-workflow-ink) !important;
	background: color-mix(in srgb, var(--nls41-workflow-accent) 7%, #fff);
	transform: translateX(3px);
}
body.nls-v41.nls41-workflow #edit-sidebar :is(a.active,a:has(.active-dot),.current_page_item > a) {
	color: color-mix(in srgb, var(--nls41-workflow-accent) 78%, #1b2030) !important;
	background: linear-gradient(90deg, color-mix(in srgb, var(--nls41-workflow-accent) 11%, #fff), rgba(255,255,255,.88));
	box-shadow: inset 3px 0 var(--nls41-workflow-accent), 0 10px 26px color-mix(in srgb, var(--nls41-workflow-accent) 7%, transparent);
}
*/

/* Illuminated paper workspaces and clearer editorial hierarchy. */
/*
body.nls-v41:is(
	.nls41-workflow--saved-searches,
	.nls41-workflow--profile,
	.nls41-workflow--notifications,
	.nls41-workflow--listings-api
) .page-content :is(.mainContent,.col-content,.scoreBoard,.edit-profile) {
	border: 1px solid rgba(22,26,39,.055) !important;
	border-radius: 20px !important;
	background:
		radial-gradient(circle at 100% 0, color-mix(in srgb, var(--nls41-workflow-accent) 5%, transparent), transparent 34%),
		linear-gradient(180deg,#fff,#fcfcfd) !important;
	box-shadow: 0 16px 46px rgba(30,30,40,.06), inset 0 1px rgba(255,255,255,.9) !important;
}
body.nls-v41:is(
	.nls41-workflow--saved-searches,
	.nls41-workflow--profile,
	.nls41-workflow--notifications,
	.nls41-workflow--listings-api
) .page-content :is(.mainContent,.col-content,.scoreBoard) :is(h2,h3):first-child {
	color: #222634 !important;
	font-family: var(--nls41-display, Georgia, serif) !important;
	font-weight: 550 !important;
	letter-spacing: -.018em;
}
*/
/* inc/nlsf-polish/saved-searches.php gives all four controls in the card's
 * action row the same 42px pill (View results / Edit / #archivePost / Archive).
 * pages/saved-search.php then re-declares the Archive trigger alone as
 * `box-sizing:content-box; min-height:50px`, which resolves to a 70px button
 * sitting 28px taller than its three siblings. Put it back on the row. */
body.nls-v41 #saved-searches-container .saved-search__archive-trigger {
	box-sizing: border-box !important;
	min-height: 42px !important;
}

/* Saved-search cards become persistent market signals. */
body.nls-v41.nls41-workflow--saved-searches .saved-search__item {
	position: relative;
	margin: 0 0 16px !important;
	padding: 20px 22px !important;
	overflow: hidden;
	border: 1px solid rgba(49,90,120,.10) !important;
	border-radius: 18px !important;
	background: radial-gradient(circle at 100% 0, rgba(49,90,120,.065), transparent 33%), linear-gradient(180deg,#fff,#fcfcfd) !important;
	box-shadow: 0 12px 36px rgba(25,34,47,.055) !important;
	transition: transform 220ms var(--nls41-ease-out), box-shadow 220ms var(--nls41-ease-out), border-color 220ms var(--nls41-ease-out) !important;
}
body.nls-v41.nls41-workflow--saved-searches .saved-search__item::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 3px;
	background: linear-gradient(#527f9b,#315a78);
	box-shadow: 0 0 22px rgba(49,90,120,.22);
}
body.nls-v41.nls41-workflow--saved-searches .saved-search__item:hover {
	transform: translateY(-4px);
	border-color: rgba(49,90,120,.22) !important;
	box-shadow: 0 24px 56px rgba(25,34,47,.09), 0 0 42px rgba(49,90,120,.055) !important;
}
body.nls-v41.nls41-workflow--saved-searches .saved-search__title { font-family:var(--nls41-display,Georgia,serif); font-size:19px; font-weight:600; }
body.nls-v41.nls41-workflow--saved-searches .saved-search__metadata { row-gap:10px; }
body.nls-v41.nls41-workflow--saved-searches .saved-search__label { color:#8a8e9a; font-size:11px; letter-spacing:.045em; text-transform:uppercase; }
body.nls-v41.nls41-workflow--saved-searches .saved-search__controls :is(a,button) { transition:transform 180ms var(--nls41-ease-out),color 180ms var(--nls41-ease-out),box-shadow 180ms var(--nls41-ease-out); }
body.nls-v41.nls41-workflow--saved-searches .saved-search__controls :is(a,button):hover { transform:translateY(-2px); }

/* Watchlist reads as a concierge shortlist, including its empty state. */
body.nls-v41.nls41-workflow--watchlist #my-want-result .my-listing-result-main {
	width: min(1236px, calc(100% - 48px));
	margin: 0 auto 72px;
	padding: clamp(22px,3vw,38px);
	border: 1px solid rgba(49,90,120,.065);
	border-radius: 24px;
	background: radial-gradient(circle at 70% 0,rgba(49,90,120,.055),transparent 34%),linear-gradient(180deg,rgba(255,255,255,.76),rgba(249,250,252,.92));
	box-shadow: 0 24px 70px rgba(30,34,48,.055),inset 0 1px rgba(255,255,255,.9);
}
body.nls-v41.nls41-workflow--watchlist #my-want-result :is(.oneLineHeader,.listing-watchlist) { border-radius:16px; }
body.nls-v41.nls41-workflow--watchlist #empty-watchlist,
body.nls-v41.nls41-workflow--watchlist #my-want-result .not-found,
body.nls-v41.nls41-workflow--watchlist #my-want-result .property.excerpt.no-result-found {
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	gap:10px;
	width:min(640px,calc(100% - 32px));
	margin:28px auto 64px !important;
	min-height: 190px;
	padding: 44px 28px !important;
	border: 1px dashed rgba(49,90,120,.22) !important;
	border-radius: 20px;
	background: radial-gradient(circle at 50% 0,rgba(49,90,120,.08),transparent 55%),rgba(255,255,255,.7);
	box-shadow: inset 0 1px rgba(255,255,255,.9);
}
body.nls-v41.nls41-workflow--watchlist #my-want-result .wl-v4-empty__title {
	color:#293141;
	font:600 clamp(22px,2.2vw,30px)/1.15 var(--nls41-display,Georgia,serif);
	letter-spacing:-.018em;
	text-transform:none;
}
body.nls-v41.nls41-workflow--watchlist #my-want-result .wl-v4-empty__sub {
	max-width:46ch;
	color:#7b8190;
	font-size:14px;
	line-height:1.6;
	text-align:center;
}
body.nls-v41.nls41-workflow--watchlist .watchlist__option .label-text { transition:transform 180ms var(--nls41-ease-out),box-shadow 180ms var(--nls41-ease-out),background 180ms var(--nls41-ease-out) !important; }
body.nls-v41.nls41-workflow--watchlist .watchlist__option .label-text:hover { transform:translateY(-2px); }

/* Notification channels have semantic light and tactile switches. */
body.nls-v41.nls41-workflow--notifications .notifications .scoreBoard {
	position: relative;
	overflow: hidden;
	margin-bottom: 16px !important;
	transition: transform 220ms var(--nls41-ease-out),box-shadow 220ms var(--nls41-ease-out),border-color 220ms var(--nls41-ease-out) !important;
}
body.nls-v41.nls41-workflow--notifications .notifications .scoreBoard:nth-of-type(2n) { --channel-glow:rgba(117,84,201,.08); }
body.nls-v41.nls41-workflow--notifications .notifications .scoreBoard:nth-of-type(2n+1) { --channel-glow:rgba(184,120,33,.08); }
body.nls-v41.nls41-workflow--notifications .notifications .scoreBoard::after {
	content:"";
	position:absolute;
	inset:0;
	pointer-events:none;
	background:radial-gradient(circle at 100% 0,var(--channel-glow,rgba(184,120,33,.07)),transparent 36%);
}
body.nls-v41.nls41-workflow--notifications .notifications .scoreBoard:hover { transform:translateY(-3px); border-color:rgba(184,120,33,.16) !important; box-shadow:0 24px 58px rgba(30,30,40,.085) !important; }
body.nls-v41.nls41-workflow--notifications .notifications .slider.round { box-shadow:inset 0 1px 3px rgba(20,24,36,.14); transition:background 180ms var(--nls41-ease-out),box-shadow 180ms var(--nls41-ease-out) !important; }

/* Listings API becomes infrastructure rather than a generic settings form. */
/*
body.nls-v41.nls41-workflow--listings-api .notification-style > .col-content { padding:clamp(26px,3vw,42px) !important; }
body.nls-v41.nls41-workflow--listings-api .notification-style .mainContent { padding:0 !important; border:0 !important; background:transparent !important; box-shadow:none !important; }
body.nls-v41.nls41-workflow--listings-api .notification-style p { max-width:72ch; color:#737988 !important; line-height:1.65; }
body.nls-v41.nls41-workflow--listings-api :is(.feedWrapper,.userFeeds,.userFeedRefs) { position:relative; }
body.nls-v41.nls41-workflow--listings-api .right-col .edit-profile { position:sticky; top:112px; padding:20px !important; }
body.nls-v41.nls41-workflow--listings-api #refresh-properties { width:100%; min-height:50px; border-radius:14px !important; }
body.nls-v41.nls41-workflow--listings-api .switch-checkbox-style .slider { transition:background 180ms var(--nls41-ease-out),box-shadow 180ms var(--nls41-ease-out) !important; }
*/
/* Profile sections become collectible identity modules; save state remains
 * visible without visually competing with the editable identity. */
 /*
body.nls-v41.nls41-workflow--profile #edit-profile .middle-col .wrapIt,
body.nls-v41.nls41-workflow--profile #edit-profile #profile-fields .acf-fields > .acf-field.collapse {
	margin-bottom:16px !important;
	overflow:hidden;
	border:1px solid rgba(216,0,61,.075) !important;
	border-radius:20px !important;
	background:radial-gradient(circle at 100% 0,rgba(216,0,61,.045),transparent 32%),linear-gradient(180deg,#fff,#fcfcfd) !important;
	box-shadow:0 14px 40px rgba(30,30,40,.055) !important;
	transition:transform 220ms var(--nls41-ease-out),box-shadow 220ms var(--nls41-ease-out),border-color 220ms var(--nls41-ease-out) !important;
}
body.nls-v41.nls41-workflow--profile #edit-profile .middle-col .wrapIt:hover,
body.nls-v41.nls41-workflow--profile #edit-profile #profile-fields .acf-fields > .acf-field.collapse:hover { transform:translateY(-2px); border-color:rgba(216,0,61,.15) !important; box-shadow:0 22px 55px rgba(30,30,40,.08),0 0 42px rgba(216,0,61,.04) !important; }
body.nls-v41.nls41-workflow--profile #edit-profile .right-col .edit-profile { position:sticky; top:112px; padding:20px !important; }
body.nls-v41.nls41-workflow--profile #edit-profile .right-col input[type="submit"] { width:100%; min-height:50px; }
*/
@media (max-width: 980px) {
	body.nls-v41:is(.nls41-workflow--saved-searches,.nls41-workflow--profile,.nls41-workflow--notifications,.nls41-workflow--listings-api) .page-content > .container-fluid > .row {
		grid-template-columns: minmax(180px,.68fr) minmax(0,2fr);
	}
	body.nls-v41:is(.nls41-workflow--saved-searches,.nls41-workflow--profile,.nls41-workflow--notifications,.nls41-workflow--listings-api) .page-content .right-col { grid-column:2; }
}
@media (max-width: 700px) {
	body.nls-v41:is(.nls41-workflow--saved-searches,.nls41-workflow--profile,.nls41-workflow--notifications,.nls41-workflow--listings-api) :is(#saved-searches-container,#edit-profile-container,#listings-api-container,#profile-listings) .page-content {
		width:calc(100% - 20px);
		margin-bottom:48px !important;
		padding:12px !important;
		border-radius:20px;
	}
	body.nls-v41:is(.nls41-workflow--saved-searches,.nls41-workflow--profile,.nls41-workflow--notifications,.nls41-workflow--listings-api) .page-content > .container-fluid > .row {
		display:block !important;
	}
	body.nls-v41.nls41-workflow #edit-sidebar.sidebar { position:relative; top:auto; margin-bottom:14px; }
	body.nls-v41.nls41-workflow #edit-sidebar > ul { display:flex; gap:6px; overflow-x:auto; padding-bottom:4px !important; scrollbar-width:none; }
	body.nls-v41.nls41-workflow #edit-sidebar > ul::-webkit-scrollbar { display:none; }
	body.nls-v41.nls41-workflow #edit-sidebar > ul > li { flex:0 0 auto; }
	body.nls-v41.nls41-workflow #edit-sidebar a { min-height:40px; padding-inline:12px; }
	body.nls-v41:is(.nls41-workflow--profile,.nls41-workflow--listings-api) .page-content .right-col { margin-top:14px; }
	body.nls-v41.nls41-workflow--saved-searches .saved-search__item { padding:17px 16px !important; }
	body.nls-v41.nls41-workflow--watchlist #my-want-result .my-listing-result-main { width:calc(100% - 20px); padding:14px; border-radius:20px; }
}

/* --------------------------------------------------------------------------
 * Operational studio cluster — legal forms, teams, market, tours and wants
 * -------------------------------------------------------------------------- */
.nls-v41 .nls-ld .nls-ld-hero {
	display:grid;
	grid-template-columns:minmax(0,1.25fr) minmax(390px,.85fr);
	gap:clamp(28px,4vw,64px);
	margin:0 0 26px;
	padding:clamp(28px,3.7vw,48px);
	overflow:hidden;
	color:#fff;
	border:1px solid rgba(255,255,255,.09);
	border-radius:24px;
	background:radial-gradient(circle at 8% 0,rgba(255,255,255,.15),transparent 38%),radial-gradient(circle at 100% 110%,rgba(216,0,61,.32),transparent 42%),linear-gradient(140deg,#252b3e,#111521 66%,#24131b);
	box-shadow:inset 0 1px rgba(255,255,255,.1),0 28px 72px rgba(23,25,39,.16),0 0 72px rgba(216,0,61,.055);
	animation:nls41-workflow-arrive 520ms var(--nls41-ease-out) both;
}
.nls-v41 .nls-ld .nls-ld-hero__eyebrow { display:block; margin-bottom:10px; color:#ff9eb4; font:700 11px/1.2 var(--nls41-sans,Inter,sans-serif); letter-spacing:.16em; text-transform:uppercase; }
.nls-v41 .nls-ld .nls-ld-hero h1 { max-width:720px; margin:0; color:#fff; font-family:var(--nls41-display,Georgia,serif); font-size:clamp(34px,4vw,57px); font-weight:500; line-height:1; letter-spacing:-.038em; }
.nls-v41 .nls-ld .nls-ld-hero p { max-width:670px; margin:18px 0 0; color:#c9cfdb; font-size:16px; line-height:1.65; }
.nls-v41 .nls-ld .nls-ld-hero__steps { display:grid; gap:8px; margin:0; padding:16px; list-style:none; border:1px solid rgba(255,255,255,.09); border-radius:18px; background:rgba(255,255,255,.055); box-shadow:inset 0 1px rgba(255,255,255,.07); backdrop-filter:blur(18px); }
.nls-v41 .nls-ld .nls-ld-hero__steps li { display:grid; grid-template-columns:28px 1fr; gap:2px 11px; align-items:center; padding:9px; color:#fff; border-radius:12px; }
.nls-v41 .nls-ld .nls-ld-hero__steps li+li { border-top:1px solid rgba(255,255,255,.075); }
.nls-v41 .nls-ld .nls-ld-hero__steps span { grid-row:1/3; display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:linear-gradient(180deg,#ff2d5d,#d8003d); box-shadow:0 0 24px rgba(255,45,93,.22),inset 0 1px rgba(255,255,255,.25); font-weight:700; }
.nls-v41 .nls-ld .nls-ld-hero__steps strong { font-size:12px; letter-spacing:.02em; }
.nls-v41 .nls-ld .nls-ld-hero__steps small { color:#aeb6c5; font-size:11px; }
.nls-v41 .nls-ld .nls-ld-workspace-title { margin:0 0 3px; color:#242735; font:600 25px/1.2 var(--nls41-display,Georgia,serif); letter-spacing:-.02em; }
.nls-v41 .nls-ld .nls-ld-workspace-sub { margin-bottom:20px; }
.nls-v41 .nls-ld .genform > .card { background:radial-gradient(circle at 0 0,rgba(216,0,61,.035),transparent 30%),linear-gradient(180deg,#fff,#fcfcfd) !important; box-shadow:0 18px 52px rgba(30,30,40,.065) !important; }
.nls-v41 .nls-ld .nls-fsec { transition:transform 220ms var(--nls41-ease-out),box-shadow 220ms var(--nls41-ease-out),border-color 220ms var(--nls41-ease-out); }
.nls-v41 .nls-ld .nls-fsec:hover { transform:translateY(-2px); border-color:rgba(216,0,61,.11); box-shadow:0 18px 44px rgba(30,30,40,.065); }
.nls-v41 .nls-ld .paperwrap { background:radial-gradient(circle at 50% 0,rgba(216,0,61,.04),transparent 38%),#edeae7 !important; box-shadow:inset 0 1px rgba(255,255,255,.9),0 22px 58px rgba(47,38,31,.10) !important; }

/* Team roster: turn the table into a relationship surface and make capacity
 * feel like an active operating constraint. */
.nls-team-mgr .ntm-tablewrap { overflow:hidden; border:1px solid rgba(25,29,42,.055); border-radius:17px; background:linear-gradient(180deg,#fff,#fcfcfd); box-shadow:0 14px 40px rgba(30,30,40,.045); }
.nls-team-mgr .ntm-table tbody tr { transition:transform 180ms var(--ease-out),background 180ms var(--ease-out),box-shadow 180ms var(--ease-out); }
.nls-team-mgr .ntm-table tbody tr:hover { position:relative; z-index:1; background:linear-gradient(90deg,rgba(255,45,93,.045),#fff 44%); box-shadow:inset 3px 0 #d8003d,0 13px 32px rgba(30,30,40,.06); }
.nls-team-mgr .ntm-seatbar { overflow:hidden; border-radius:999px; background:#f2edf0; box-shadow:inset 0 1px 3px rgba(30,30,40,.08); }
.nls-team-mgr .ntm-seatbar > * { background:linear-gradient(90deg,#ff2d5d,#d8003d); box-shadow:0 0 18px rgba(216,0,61,.18); }
.nls-team-mgr .ntm-empty { padding:38px 24px !important; border-radius:18px; background:radial-gradient(circle at 50% 0,rgba(255,45,93,.055),transparent 55%); }

/* Market Analysis: important intelligence emits a quiet signal instead of
 * reading as a stack of clinical white widgets. */
#nlsma .nlsma__airow { position:relative; overflow:hidden; border-color:rgba(216,0,61,.10); box-shadow:0 12px 38px rgba(30,30,40,.055),0 0 46px rgba(216,0,61,.035); }
#nlsma .nlsma__airow:focus-within { border-color:rgba(216,0,61,.28); box-shadow:0 0 0 4px rgba(216,0,61,.065),0 18px 48px rgba(30,30,40,.075),0 0 60px rgba(216,0,61,.07); }
#nlsma .nlsma__kpi { position:relative; overflow:hidden; }
#nlsma .nlsma__kpi::after { content:""; position:absolute; inset:0; pointer-events:none; opacity:.7; background:radial-gradient(circle at 100% 0,rgba(216,0,61,.045),transparent 38%); }
#nlsma .nlsma__kpi:nth-child(2n)::after { background:radial-gradient(circle at 100% 0,rgba(49,90,120,.055),transparent 38%); }
#nlsma .nlsma__kpi .v { position:relative; z-index:1; font-size:clamp(26px,2.1vw,34px); }
#nlsma .nlsma__tabs button { transition:transform 160ms var(--nls41-ease-out),background 160ms var(--nls41-ease-out),box-shadow 160ms var(--nls41-ease-out); }
#nlsma .nlsma__tabs button:hover { transform:translateY(-1px); }
#nlsma .nlsma__tabs button[aria-selected="true"],#nlsma .nlsma__tabs button.is-active { box-shadow:inset 0 2px 5px rgba(0,0,0,.18),0 7px 20px rgba(30,30,40,.07); }

/* Tours: itinerary cards carry legal/document-like mass and each stop becomes
 * a piece of the day rather than another nested form row. */
body.nls-v41 #nls-tm-root .nls-tm__tour { position:relative; overflow:hidden; border-color:rgba(184,120,33,.12) !important; background:radial-gradient(circle at 100% 0,rgba(184,120,33,.05),transparent 34%),linear-gradient(180deg,#fff,#fcfcfd) !important; box-shadow:0 18px 52px rgba(30,30,40,.065) !important; transition:transform 220ms var(--nls41-ease-out),box-shadow 220ms var(--nls41-ease-out),border-color 220ms var(--nls41-ease-out); }
body.nls-v41 #nls-tm-root .nls-tm__tour::before { content:""; position:absolute; inset:0 auto 0 0; width:3px; background:linear-gradient(#d59a36,#a86b10); box-shadow:0 0 22px rgba(184,120,33,.2); }
body.nls-v41 #nls-tm-root .nls-tm__tour:hover { transform:translateY(-3px); border-color:rgba(184,120,33,.24) !important; box-shadow:0 28px 66px rgba(30,30,40,.09),0 0 46px rgba(184,120,33,.05) !important; }
body.nls-v41 #nls-tm-root .nls-tm__stop { border-radius:17px !important; background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(250,250,252,.96)) !important; box-shadow:0 10px 30px rgba(30,30,40,.045); transition:transform 180ms var(--nls41-ease-out),box-shadow 180ms var(--nls41-ease-out); }
body.nls-v41 #nls-tm-root .nls-tm__stop:hover { transform:translateX(3px); box-shadow:0 16px 38px rgba(30,30,40,.07); }

/* Wants: replace the flat map placeholder with an intelligent-location
 * material and make the requirement cards feel actively monitored. */
body.nls-v41 #nls-wq-root #my-wants .my-wants__image { position:relative; isolation:isolate; overflow:hidden; border:1px solid rgba(117,84,201,.09); background:radial-gradient(circle at 32% 24%,rgba(117,84,201,.16),transparent 28%),linear-gradient(145deg,#edf0f6,#dfe7ec) !important; box-shadow:inset 0 1px rgba(255,255,255,.75),0 12px 30px rgba(35,40,56,.08); }
body.nls-v41 #nls-wq-root #my-wants .my-wants__image::after { content:""; position:absolute; z-index:-1; inset:0; opacity:.34; background-image:linear-gradient(rgba(255,255,255,.55) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.55) 1px,transparent 1px); background-size:26px 26px; transform:rotate(-8deg) scale(1.2); }
body.nls-v41 #nls-wq-root #my-wants .my-wants.listing-list { background:radial-gradient(circle at 100% 0,rgba(117,84,201,.045),transparent 32%),linear-gradient(180deg,#fff,#fcfcfd) !important; }
body.nls-v41 #nls-wq-root #my-wants .my-wants__meta .bold.c-text { font-family:var(--nls41-display,Georgia,serif) !important; font-size:18px !important; letter-spacing:-.015em; }

@media(max-width:900px){.nls-v41 .nls-ld .nls-ld-hero{grid-template-columns:1fr}.nls-v41 .nls-ld .nls-ld-hero__steps{grid-template-columns:repeat(3,1fr)}.nls-v41 .nls-ld .nls-ld-hero__steps li{display:flex;flex-direction:column;align-items:flex-start}.nls-v41 .nls-ld .nls-ld-hero__steps li+li{border-top:0;border-left:1px solid rgba(255,255,255,.075)}}
@media(max-width:560px){.nls-v41 .nls-ld .nls-ld-hero{padding:23px 19px;border-radius:18px}.nls-v41 .nls-ld .nls-ld-hero h1{font-size:clamp(31px,10vw,42px)}.nls-v41 .nls-ld .nls-ld-hero__steps{display:grid;grid-template-columns:1fr}.nls-v41 .nls-ld .nls-ld-hero__steps li{display:grid;grid-template-columns:28px 1fr}.nls-v41 .nls-ld .nls-ld-hero__steps li+li{border-left:0;border-top:1px solid rgba(255,255,255,.075)}}

@media (max-width: 900px) {
	.nls41-workflow-hero { grid-template-columns: 1fr; width: min(100% - 32px, 760px); border-radius: 20px; }
	.nls41-workflow-hero__command { gap: 18px; }
}
@media (max-width: 560px) {
	.nls41-workflow-hero { width: calc(100% - 20px); margin: 12px auto 16px; padding: 23px 19px; border-radius: 18px; }
	.nls41-workflow-hero h1 { font-size: clamp(31px, 10vw, 42px); }
	.nls41-workflow-hero__copy { margin-top: 14px; font-size: 14px; }
	.nls41-workflow-hero__command { padding: 16px; }
	.nls41-workflow-steps strong { font-size: 10px; }
	.nls41-workflow-actions { display: grid; grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
	body.nls-v41 #profile-listings .page-header,
	body.nls-v41 .nls-profile-v4 .page-header { margin: 14px 12px; padding: 20px 18px; border-radius: 16px; }
}

/* Cookie consent remains fully explicit but must not obscure half of a phone
 * viewport before an agent can understand the page they opened. */
@media (max-width: 480px) {
	.cky-consent-container .cky-consent-bar {
		padding: 16px !important;
		border-radius: 18px 18px 0 0 !important;
		box-shadow: 0 -18px 50px rgba(30, 30, 40, .13) !important;
	}
	.cky-consent-container .cky-title { margin: 0 0 6px !important; font-size: 17px !important; }
	.cky-consent-container .cky-notice-des { font-size: 12px !important; line-height: 1.45 !important; }
	.cky-consent-container .cky-notice-des p { margin: 0 !important; }
	.cky-consent-container .cky-notice-btn-wrapper {
		display: grid !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 6px !important;
		margin-top: 12px !important;
	}
	.cky-consent-container .cky-btn {
		min-width: 0 !important;
		min-height: 42px !important;
		margin: 0 !important;
		padding: 8px 4px !important;
		font-size: 11px !important;
		border-radius: 999px !important;
	}
	.cky-consent-container .cky-btn-accept {
		background: linear-gradient(180deg, #ff2d5d, #d8003d) !important;
		border-color: #d8003d !important;
	}
}
/* Dashboard shell reservation. This deliberately ships in the head-level shared
 * stylesheet: dashboard.php streams a data-heavy main column before its rail,
 * so body-local layout rules arrive after first paint and cause severe CLS. */
#dashboard .dashboard-container {
	--v4-font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
	--v4-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}
#dashboard .container-fluid.dashboard-container {
	width: min(1800px, 100%);
	max-width: min(1800px, 100%);
	margin: 0 auto;
	padding: 44px 32px 88px !important;
}
#dashboard .dashboard-container > .row.side-row {
	margin-left: 0;
	margin-right: 0;
}
#dashboard #dashboard-width { padding: 0; }
#dashboard .nls-v4-quick__disc svg {
	width: 20px;
	height: 20px;
	max-width: 20px;
	max-height: 20px;
}
@media (min-width: 1200px) {
	#dashboard .dashboard-container > .row.side-row {
		flex-wrap: nowrap;
		gap: 28px;
		align-items: flex-start;
	}
	#dashboard #dashboard-width {
		width: calc(75% - 56px) !important;
		flex: 0 0 calc(75% - 56px) !important;
		min-width: 0;
	}
}
@media (max-width: 920px) {
	#dashboard .container-fluid.dashboard-container {
		padding: 32px 20px 64px !important;
	}
}

/* Above-the-fold dashboard geometry. These mirror the footer-streamed dashboard
 * rules so the greeting/search region has its final dimensions at first paint. */
.dashboard-container .nls-v4-greet {
	margin: 0 0 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px 28px;
	flex-wrap: wrap;
}
.dashboard-container .nls-v4-greet__text { flex: 1 1 300px; min-width: 0; }
.dashboard-container .nls-v4-quick {
	display: flex;
	gap: 12px;
	align-items: stretch;
	flex: 0 0 auto;
}
.dashboard-container .nls-v4-quick__wrap { position: relative; display: flex; }
.dashboard-container .nls-v4-quick__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 90px;
	min-height: 88px;
	padding: 14px 8px;
}
.dashboard-container .nls-v4-quick__disc {
	width: 38px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.dashboard-container .nls-v4-greet__h {
	margin: 0;
	font-family: var(--v4-serif);
	font-optical-sizing: auto;
	font-size: 34px;
	font-weight: 600;
	letter-spacing: -.012em;
	line-height: 1.12;
	text-wrap: balance;
}
.dashboard-container .nls-v4-greet__date { margin: 6px 0 0; font-family: var(--v4-font); font-size: 15px; }
#dashboard .nls-v4-hero { margin: 0 0 24px; }
#dashboard .nls-v4-hero #nlsAiSearch { margin: 0; font-family: var(--v4-font); }
#dashboard .nls-v4-hero .nls-ai__inner { border: 1px solid var(--v4-hairline); padding: 24px; }
#dashboard .nls-v4-hero .nls-ai__kicker { font-size: 11px; font-weight: 600; letter-spacing: .09em; margin: 0 0 10px; }
#dashboard .nls-v4-hero .nls-ai__headline {
	font-family: var(--v4-font);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -.01em;
	line-height: 1.3;
	margin: 0 0 4px;
	max-width: none;
}
#dashboard .nls-v4-hero .nls-ai__sub { font-size: 13px; margin: 0 0 16px; }
#dashboard .nls-v4-hero .nls-ai__bar {
	min-height: 60px;
	padding: 8px 8px 8px 18px;
}
#dashboard .nls-v4-hero .nls-ai__chips { margin-top: 14px; gap: 8px; }
#dashboard .nls-v4-hero .nls-ai__chip {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 400;
}
@media (max-width: 700px) {
	/* Reserve the fully hydrated AI-search geometry. Without this, its late
	 * parser/search-client setup moves the entire dashboard by ~10% CLS. */
	#dashboard .nls-v4-hero { min-height: 598px; }
	#dashboard .nls-v4-hero .nls-ai__bar {
		display: grid;
		grid-template-columns: 24px minmax(0, 1fr);
		align-items: center;
		gap: 8px 10px;
		padding: 12px;
	}
	#dashboard .nls-v4-hero .nls-ai__bar-glyph { align-self: start; padding: 12px 0 0; }
	#dashboard .nls-v4-hero .nls-ai__input { min-width: 0; width: 100%; }
	#dashboard .nls-v4-hero .nls-ai__go {
		grid-column: 1 / -1;
		width: 100%;
		min-height: 46px;
		justify-content: center;
	}
}
.dashboard-container .nls-today { gap: 16px; margin: 0 0 48px; }
.dashboard-container .nls-v4-band--book .nls-ws-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.dashboard-container .nls-ws--v39 .nls-v4-band--book .nls-ws-grid {
	grid-auto-rows: auto;
	align-items: stretch;
}
@media (max-width: 700px) {
	.dashboard-container .nls-v4-quick { width: 100%; gap: 8px; justify-content: space-between; }
	.dashboard-container .nls-v4-quick__wrap { flex: 1; }
	.dashboard-container .nls-v4-quick__item { width: auto; flex: 1; min-width: 0; min-height: 80px; padding: 12px 6px; }
}

/* Dashboard mobile utility dock. Feed replies, buyer responses, Helpdesk and
 * Polly are supplied by four independent modules. Their legacy fixed positions
 * occupied the same pixels; JS moves the launchers into this in-flow surface. */
@media (max-width: 700px) {
	body.nls-v41 .nls-v41-mobile-tools {
		order: 3;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 12px;
		margin: -6px 0 32px;
		padding: 12px;
		border: 1px solid rgba(20, 20, 20, .045);
		border-radius: 18px;
		background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(252,252,253,.92));
		box-shadow: 0 12px 40px rgba(30, 30, 40, .055);
	}
	body.nls-v41 .dashboard-container .nls-ws--v39 > .nls-v4-band--book { order: 4; }
	body.nls-v41 #nls-fn-bell,
	body.nls-v41 #nls-sl-bell,
	body.nls-v41 #hd-fab,
	body.nls-v41 #nw-fab {
		position: relative !important;
		inset: auto !important;
		width: 48px !important;
		height: 48px !important;
		min-width: 48px !important;
		min-height: 48px !important;
		padding: 0 !important;
		border-radius: 50% !important;
		display: flex !important;
		align-items: center;
		justify-content: center;
		line-height: 1 !important;
		box-shadow: 0 12px 34px rgba(25, 26, 36, .16), 0 0 0 1px rgba(255, 255, 255, .72) !important;
	}
	body.nls-v41 #hd-fab > span { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	body.nls-v41 #nls-fn-panel { left: 14px !important; right: 14px !important; bottom: calc(76px + env(safe-area-inset-bottom)) !important; width: auto !important; max-height: 55vh !important; }
	body.nls-v41 #nls-sl-panel { left: 14px !important; right: 14px !important; bottom: calc(76px + env(safe-area-inset-bottom)) !important; width: auto !important; max-height: 55vh !important; }
}

/* Legal document builder: retain the proven form engine while bringing its
 * workspace, paper preview and controls into the v4.1 surface hierarchy. */
.nls-v41 .nls-ld {
	--coral: #e00040;
	--coral-d: #bd0036;
	--line: rgba(20, 20, 20, .07);
}
.nls-v41 .nls-ld .card {
	background: linear-gradient(180deg, #fff, #fcfcfd);
	border-color: rgba(20, 20, 20, .045);
	box-shadow: 0 12px 40px rgba(30, 30, 40, .045);
}
.nls-v41 .nls-ld .nls-fsec,
.nls-v41 .nls-ld #nls-ld-listing-wrap {
	border-color: rgba(20, 20, 20, .06);
	box-shadow: 0 10px 30px rgba(30, 30, 40, .045);
}
.nls-v41 .nls-ld .nls-fsec__t { color: #183a56; background: #f7f8fa; }
.nls-v41 .nls-ld input,
.nls-v41 .nls-ld select,
.nls-v41 .nls-ld textarea { border-color: rgba(20, 20, 20, .10); }
.nls-v41 .nls-ld input:focus,
.nls-v41 .nls-ld select:focus,
.nls-v41 .nls-ld textarea:focus {
	outline: 0;
	border-color: rgba(224, 0, 64, .52);
	box-shadow: 0 0 0 3px rgba(224, 0, 64, .10), 0 0 34px rgba(255, 45, 93, .07);
}
.nls-v41 .nls-ld .paperwrap {
	background: #f2eee8;
	border-color: rgba(73, 58, 44, .08);
	box-shadow: inset 0 1px rgba(255,255,255,.8), 0 18px 50px rgba(46, 37, 31, .08);
}
.nls-v41 .nls-ld .paperwrap iframe { background: #fffefb; box-shadow: 0 18px 42px rgba(46, 37, 31, .14); }
.nls-v41 .nls-ld .btn {
	background: linear-gradient(180deg, #ff2d5d, #d8003d);
	box-shadow: 0 8px 24px rgba(216, 0, 61, .18);
	transition: transform 180ms cubic-bezier(.22,1,.36,1), box-shadow 180ms cubic-bezier(.22,1,.36,1), filter 180ms cubic-bezier(.22,1,.36,1);
}
.nls-v41 .nls-ld .btn:hover { transform: translateY(-2px); filter: saturate(1.03) brightness(1.02); box-shadow: 0 14px 32px rgba(216, 0, 61, .24); }
.nls-v41 .nls-ld .btn:active { transform: scale(.985); }
.nls-v41 .nls-ld .btn.save { background: linear-gradient(180deg, #318660, #246b4b); }
.nls-v41 .nls-ld .btn.sec { background: #f0f1f4; color: #242534; box-shadow: none; }
.nls-v41 .nls-ld a { color: #b60035; }
.nls-v41 .nls-ld .pill { color: #a80030; border-color: rgba(168,0,48,.18); }
.nls-v41 .nls-ld .nls-ld-lang .ll { color: #626879; }
.nls-v41 .nls-ld .party.p-buyer { --pa: #087078; }

@media (max-width: 640px) {
	.nls-v41 .nls-ld { width: 100%; margin: 16px auto 40px; padding: 0 14px; overflow: hidden; }
	.nls-v41 .nls-ld .card { padding: 18px 14px; border-radius: 16px; }
	.nls-v41 .nls-ld .grid2,
	.nls-v41 .nls-ld .grid3 { grid-template-columns: minmax(0, 1fr); }
	.nls-v41 .nls-ld .genwrap { gap: 22px; }
	.nls-v41 .nls-ld form > div[style*="display:flex"] { flex-wrap: wrap; }
	.nls-v41 .nls-ld table { display: block; max-width: 100%; overflow-x: auto; }
	.nls-v41 .nls-ld .paperwrap { min-height: 460px; height: 68vh; padding: 8px; }
}
