/**
 * WealthNest FIRE Calculator – Styles
 *
 * - Inter font throughout (no Playfair Display).
 * - Hero (Net Worth) uses solid gold background + dark-brown amount text.
 * - Graph lives in a full-width row below the two-column inputs/metrics grid.
 * - All colors + borders exposed as CSS custom properties so Elementor Style
 *   controls can override via `{{WRAPPER}} .wn-fire-calculator` selectors.
 * - No theme-switcher.css — single stylesheet, no specificity conflicts.
 */

/* ========================================================================
	1. DESIGN TOKENS (Elementor-overridable via CSS variables)
	======================================================================== */

.wn-fire-calculator {
	--wn-bg:             #f7f5f0;
	--wn-surface:        #ffffff;
	--wn-surface-alt:    #fdfaf4;
	--wn-border-color:   rgba(74, 48, 7, 0.12);
	--wn-border-strong:  rgba(74, 48, 7, 0.22);
	--wn-input-bg:       #ffffff;
	--wn-input-border:   #d4cec3;
	--wn-input-focus:    #cd9f56;

	--wn-text-primary:   #1e0b03;
	--wn-text-secondary: #4a3007;
	--wn-text-tertiary:  #6b5a3d;
	--wn-text-soft:      #8a6a3f;

	--wn-gold-primary:   #cd9f56;
	--wn-gold-hover:     #efc476;
	--wn-gold-dark:      #bf8230;
	--wn-gold-gradient:  linear-gradient(90deg, #efc476, #bf8230);
	--wn-cream:          #ffe88b;

	--wn-good:           #2e7d32;
	--wn-warn:           #e67300;
	--wn-bad:            #c62828;

	--wn-shadow-sm:      0 1px 3px rgba(30, 11, 3, 0.08);
	--wn-shadow-md:      0 4px 6px rgba(30, 11, 3, 0.10);
	--wn-shadow-lg:      0 10px 15px rgba(30, 11, 3, 0.12);

	/* Typography — Major Third Scale (1.25 ratio) — matches retirement calc */
	--wn-font-family:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--wn-font:           var(--wn-font-family);  /* alias for legacy refs */
	--wn-font-xs:        0.64rem;    /* 10.24px */
	--wn-font-sm:        0.8rem;     /* 12.8px  */
	--wn-font-base:      1rem;       /* 16px    */
	--wn-font-md:        1.25rem;    /* 20px    */
	--wn-font-lg:        1.563rem;   /* 25px    */
	--wn-font-xl:        1.953rem;   /* 31.25px */
	--wn-font-xxl:       2.441rem;   /* 39px    */
	--wn-font-huge:      3.052rem;   /* 48.8px  */

	/* Spacing — 8px base scale */
	--wn-space-xs:       0.25rem;    /* 4px  */
	--wn-space-sm:       0.5rem;     /* 8px  */
	--wn-space-md:       1rem;       /* 16px */
	--wn-space-lg:       1.5rem;     /* 24px */
	--wn-space-xl:       2rem;       /* 32px */
	--wn-space-xxl:      3rem;       /* 48px */

	/* Border Radius */
	--wn-radius-sm:      4px;
	--wn-radius-md:      8px;
	--wn-radius-lg:      12px;
	--wn-radius-xl:      16px;
	--wn-radius:         var(--wn-radius-lg);

	--wn-transition:     all 0.3s ease;

	/* Root container */
	font-family: var(--wn-font-family);
	font-size: var(--wn-font-base);
	color: var(--wn-text-primary);
	background: var(--wn-bg);
	padding: clamp(16px, 3vw, 32px);
	border-radius: var(--wn-radius);
	max-width: 1280px;
	margin: 0 auto;
	line-height: 1.5;
	box-sizing: border-box;
}

.wn-fire-calculator *,
.wn-fire-calculator *::before,
.wn-fire-calculator *::after {
	box-sizing: border-box;
}

/* Header intentionally omitted — title is set in Elementor heading widget
	above the calculator, giving the admin full control over typography. */

/* ========================================================================
	2. TWO-COLUMN GRID (Inputs | Results).
	Chart + forecast cards break OUT of the grid, full-width below.
	======================================================================== */

.wn-fire-grid {
	display: flex;
	flex-direction: column;
	gap: var(--wn-space-xl);
}

/* Inputs section always full width (its own internal 2-col grid — A+B left, C right) */
.wn-fire-grid > .wn-fire-inputs {
	width: 100%;
}

/* Results column fade-in transition + internal 2-col grid when shown */
.wn-fire-results {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--wn-space-lg);
	align-items: start;
	opacity: 1;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hero card spans both columns at the top */
.wn-fire-results > .wn-hero-card {
	grid-column: 1 / -1;
}

/* Section headings within results span both columns */
.wn-fire-results > .wn-results-heading {
	grid-column: 1 / -1;
}

/* Metrics grid (4 cards) spans both columns */
.wn-fire-results > .wn-metrics-grid {
	grid-column: 1 / -1;
}

/* FIRE card takes left column */
.wn-fire-results > .wn-fire-card {
	grid-column: 1 / 2;
}

/* Forecast cards take right column */
.wn-fire-results > .wn-forecast-grid {
	grid-column: 2 / 3;
	grid-template-columns: 1fr;
}

/* Inflation note spans both columns */
.wn-fire-results > .wn-inflation-note {
	grid-column: 1 / -1;
}

@media (max-width: 900px) {
	.wn-fire-results {
		grid-template-columns: 1fr;
	}
	.wn-fire-results > .wn-fire-card,
	.wn-fire-results > .wn-forecast-grid {
		grid-column: 1 / -1;
	}
	.wn-fire-results > .wn-forecast-grid {
		grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	}
}

.wn-fire-chart-section {
	opacity: 1;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ========================================================================
	3. INPUTS
	======================================================================== */

.wn-fire-inputs {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-areas:
		"left right"
		"actions actions";
	gap: var(--wn-space-md);
	align-items: start;
}

.wn-inputs-left {
	grid-area: left;
	display: flex;
	flex-direction: column;
	gap: var(--wn-space-md);
}

.wn-inputs-right {
	grid-area: right;
	display: flex;
	flex-direction: column;
	gap: var(--wn-space-md);
}

.wn-fire-inputs > .wn-actions {
	grid-area: actions;
}

@media (max-width: 700px) {
	.wn-fire-inputs {
		grid-template-columns: 1fr;
		grid-template-areas:
			"left"
			"right"
			"actions";
	}
}

.wn-input-section {
	background: var(--wn-surface);
	border: 1px solid var(--wn-border-color);
	border-radius: var(--wn-radius);
	padding: clamp(16px, 2vw, 22px);
	box-shadow: var(--wn-shadow-sm);
	transition: box-shadow 0.2s ease;
}

.wn-input-section:hover {
	box-shadow: var(--wn-shadow-md);
}

.wn-section-title {
	font-family: var(--wn-font-family);
	font-weight: 700;
	font-size: var(--wn-font-md);
	color: var(--wn-text-secondary);
	margin: 0 0 var(--wn-space-md);
	padding-bottom: var(--wn-space-sm);
	border-bottom: 2px solid var(--wn-gold-primary);
	letter-spacing: 0.01em;
}

.wn-input-group {
	margin-bottom: 14px;
}

.wn-input-group:last-child {
	margin-bottom: 0;
}

.wn-label {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: var(--wn-space-sm);
	font-weight: 500;
	font-size: var(--wn-font-sm);
	color: var(--wn-text-secondary);
	margin-bottom: var(--wn-space-xs);
}

/* Wrapper owns the border + focus ring. Prevents the "two boxes in one"
	effect — the inner input is fully transparent and borderless. */
.wn-input-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	background: var(--wn-input-bg);
	border: 2px solid var(--wn-input-border);
	border-radius: var(--wn-radius-md);
	transition: var(--wn-transition);
	overflow: hidden;
}

.wn-fire-calculator .wn-input-wrapper:focus-within {
	border-color: var(--wn-input-focus);
	box-shadow: 0 0 0 3px rgba(205, 159, 86, 0.15);
}

.wn-fire-calculator .wn-input {
	flex: 1 !important;
	width: 100% !important;
	min-width: 0 !important;
	padding: var(--wn-space-sm) var(--wn-space-md) !important;
	border: none !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	color: var(--wn-text-primary) !important;
	font-family: var(--wn-font-family) !important;
	font-size: var(--wn-font-base) !important;
	font-weight: 500 !important;
	outline: none !important;
	box-shadow: none !important;
	transition: none !important;
}

.wn-fire-calculator .wn-input:focus {
	outline: none !important;
	border: none !important;
	box-shadow: none !important;
	background: transparent !important;
}

/* Override any Elementor/theme input border globally inside the calculator */
.wn-fire-calculator input[type="number"],
.wn-fire-calculator input[type="text"],
.wn-fire-calculator input.wn-input {
	border: none !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
}

/* Native up/down spinner arrows — visible on number inputs */
.wn-fire-calculator input[type="number"].wn-input {
	-moz-appearance: number-input;
	appearance: auto;
}

.wn-fire-calculator input[type="number"].wn-input::-webkit-outer-spin-button,
.wn-fire-calculator input[type="number"].wn-input::-webkit-inner-spin-button {
	-webkit-appearance: auto;
	appearance: auto;
	opacity: 1;
	margin: 0;
}

.wn-help-text {
	font-size: var(--wn-font-sm);
	color: var(--wn-text-tertiary);
	margin: var(--wn-space-xs) 0 0;
	line-height: 1.4;
}

/* Sliders */
.wn-slider-group .wn-slider-value {
	font-family: var(--wn-font-family);
	font-weight: 700;
	font-size: var(--wn-font-base);
	color: var(--wn-gold-dark);
	background: var(--wn-surface-alt);
	padding: 2px 10px;
	border-radius: var(--wn-radius-sm);
	border: 1px solid var(--wn-border-color);
}

.wn-slider {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 6px;
	background: var(--wn-border-color);
	border-radius: 3px;
	outline: none;
	cursor: pointer;
	margin: 8px 0 4px;
}

.wn-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	background: var(--wn-gold-primary);
	border: 2px solid var(--wn-surface);
	border-radius: 50%;
	cursor: pointer;
	box-shadow: var(--wn-shadow-md);
	transition: transform 0.15s ease;
}

.wn-slider::-webkit-slider-thumb:hover {
	transform: scale(1.15);
	background: var(--wn-gold-hover);
}

.wn-slider::-moz-range-thumb {
	width: 20px;
	height: 20px;
	background: var(--wn-gold-primary);
	border: 2px solid var(--wn-surface);
	border-radius: 50%;
	cursor: pointer;
	box-shadow: var(--wn-shadow-md);
}

.wn-slider-bounds {
	display: flex;
	justify-content: space-between;
	font-size: var(--wn-font-xs);
	color: var(--wn-text-tertiary);
	margin-bottom: var(--wn-space-xs);
}

/* ========================================================================
	4. BUTTONS — Calculate (primary) + Reset (secondary), styled to match the
	retirement calculator. !important is used because Elementor global button
	styles and third-party themes commonly override plugin button styles.
	======================================================================== */

.wn-actions {
	display: flex;
	gap: var(--wn-space-md);
	margin-top: var(--wn-space-lg);
	padding-top: var(--wn-space-md);
	border-top: 1px solid var(--wn-border-color);
}

.wn-fire-calculator .wn-btn {
	flex: 1 !important;
	padding: var(--wn-space-md) var(--wn-space-lg) !important;
	font-family: var(--wn-font-family) !important;
	font-size: var(--wn-font-base) !important;
	font-weight: 600 !important;
	border: none !important;
	border-radius: var(--wn-radius-md) !important;
	cursor: pointer !important;
	transition: var(--wn-transition) !important;
	text-align: center !important;
	text-decoration: none !important;
	display: inline-block !important;
	letter-spacing: 0.01em !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
	text-transform: none !important;
}

/* PRIMARY (Calculate) — golden button with white text */
.wn-fire-calculator .wn-btn-primary,
.wn-fire-calculator button.wn-btn-primary {
	background: var(--wn-gold-primary) !important;
	background-color: var(--wn-gold-primary) !important;
	background-image: none !important;
	color: #ffffff !important;
	border: 2px solid var(--wn-gold-primary) !important;
	border-radius: var(--wn-radius-md) !important;
	box-shadow: var(--wn-shadow-sm) !important;
	padding: var(--wn-space-md) var(--wn-space-lg) !important;
	transition: all 0.3s ease !important;
}

/* PRIMARY HOVER — white background, brown text, gold border */
.wn-fire-calculator .wn-btn-primary:hover,
.wn-fire-calculator button.wn-btn-primary:hover,
.wn-fire-calculator .wn-btn-primary:focus-visible,
.wn-fire-calculator button.wn-btn-primary:focus-visible {
	background: #ffffff !important;
	background-color: #ffffff !important;
	background-image: none !important;
	color: var(--wn-text-primary) !important;
	border: 2px solid var(--wn-gold-primary) !important;
	box-shadow: var(--wn-shadow-md) !important;
	transform: translateY(-1px) !important;
}

.wn-fire-calculator .wn-btn-primary:active,
.wn-fire-calculator button.wn-btn-primary:active {
	transform: translateY(0) !important;
}

/* SECONDARY (Reset) */
.wn-fire-calculator .wn-btn-secondary,
.wn-fire-calculator button.wn-btn-secondary {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	color: var(--wn-text-secondary) !important;
	border: 2px solid var(--wn-border-color) !important;
	border-radius: var(--wn-radius-md) !important;
	padding: var(--wn-space-md) var(--wn-space-lg) !important;
	box-shadow: none !important;
}

.wn-fire-calculator .wn-btn-secondary:hover,
.wn-fire-calculator button.wn-btn-secondary:hover,
.wn-fire-calculator .wn-btn-secondary:focus-visible,
.wn-fire-calculator button.wn-btn-secondary:focus-visible {
	background: transparent !important;
	background-color: transparent !important;
	border-color: var(--wn-gold-primary) !important;
	color: var(--wn-gold-primary) !important;
	box-shadow: none !important;
}

/* ========================================================================
	5. RESULTS — HERO (Net Worth card)
	Solid gold background, darkest-brown amount.
	======================================================================== */

.wn-hero-card {
	background: var(--wn-gold-primary);
	color: var(--wn-text-primary);
	border: none;
	border-radius: var(--wn-radius);
	padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 36px);
	text-align: center;
	position: relative;
	overflow: hidden;
	box-shadow: var(--wn-shadow-md);
}

.wn-hero-card::before {
	content: "";
	position: absolute;
	top: -50px;
	right: -50px;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	pointer-events: none;
}

.wn-hero-label {
	font-family: var(--wn-font-family);
	font-size: var(--wn-font-sm);
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wn-text-primary);
	opacity: 0.75;
	margin-bottom: var(--wn-space-sm);
	position: relative;
	z-index: 1;
}

.wn-hero-value {
	font-family: var(--wn-font-family);
	font-weight: 800;
	font-size: clamp(var(--wn-font-xl), 5.5vw, var(--wn-font-huge));
	line-height: 1.05;
	color: #ffffff;
	margin-bottom: var(--wn-space-sm);
	letter-spacing: -0.02em;
	word-break: break-word;
	position: relative;
	z-index: 1;
	text-shadow: 0 2px 8px rgba(30, 11, 3, 0.2);
}

.wn-hero-sub {
	font-family: var(--wn-font-family);
	font-size: var(--wn-font-sm);
	color: var(--wn-text-primary);
	opacity: 0.7;
	position: relative;
	z-index: 1;
}

/* ========================================================================
	6. SECTION HEADINGS WITHIN RESULTS
	======================================================================== */

.wn-results-heading {
	font-family: var(--wn-font-family);
	font-weight: 700;
	font-size: var(--wn-font-md);
	color: var(--wn-text-primary);
	margin: var(--wn-space-md) 0 var(--wn-space-sm);
	padding-bottom: var(--wn-space-sm);
	border-bottom: 1px solid var(--wn-border-color);
	letter-spacing: -0.005em;
}

.wn-results-heading-wide {
	margin-top: 14px;
}

/* ========================================================================
	7. METRIC CARDS (Key Metrics + Forecast Cards)
	======================================================================== */

.wn-metrics-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--wn-space-md);
}

.wn-metric-card {
	background: var(--wn-surface);
	border: 1px solid var(--wn-border-color);
	border-radius: var(--wn-radius);
	padding: 18px 20px;
	box-shadow: var(--wn-shadow-sm);
	transition: box-shadow 0.2s ease;
}

.wn-metric-card:hover {
	box-shadow: var(--wn-shadow-md);
}

.wn-metric-label {
	font-family: var(--wn-font-family);
	font-size: var(--wn-font-xs);
	font-weight: 600;
	color: var(--wn-text-tertiary);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: var(--wn-space-sm);
}

.wn-metric-value {
	font-family: var(--wn-font-family);
	font-weight: 700;
	font-size: clamp(var(--wn-font-md), 2.5vw, var(--wn-font-lg));
	color: var(--wn-text-primary);
	margin-bottom: var(--wn-space-xs);
	line-height: 1.1;
	letter-spacing: -0.01em;
}

.wn-metric-sub {
	font-family: var(--wn-font-family);
	font-size: var(--wn-font-xs);
	color: var(--wn-text-tertiary);
}

.wn-metric-sub.wn-good { color: var(--wn-good); font-weight: 600; }
.wn-metric-sub.wn-warn { color: var(--wn-warn); font-weight: 600; }
.wn-metric-sub.wn-bad  { color: var(--wn-bad);  font-weight: 600; }

/* ========================================================================
	8. FIRE CARD (Progress)
	======================================================================== */

.wn-fire-card {
	background: var(--wn-surface-alt);
	border: 1px solid var(--wn-border-strong);
	border-radius: var(--wn-radius);
	padding: var(--wn-space-lg);
	box-shadow: var(--wn-shadow-sm);
}

.wn-fire-header {
	display: flex;
	justify-content: space-between;
	gap: var(--wn-space-md);
	flex-wrap: wrap;
	margin-bottom: var(--wn-space-md);
}

.wn-fire-label {
	font-size: var(--wn-font-xs);
	font-weight: 600;
	color: var(--wn-text-tertiary);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: var(--wn-space-xs);
}

.wn-fire-percent {
	font-family: var(--wn-font-family);
	font-weight: 800;
	font-size: clamp(var(--wn-font-md), 4vw, var(--wn-font-xl));
	color: var(--wn-gold-dark);
	line-height: 1;
	letter-spacing: -0.02em;
}

.wn-fire-target-box {
	text-align: right;
	padding-left: var(--wn-space-md);
	border-left: 1px solid var(--wn-border-color);
}

.wn-fire-target-label {
	font-size: var(--wn-font-xs);
	font-weight: 600;
	color: var(--wn-text-tertiary);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: var(--wn-space-xs);
}

.wn-fire-target-value {
	font-family: var(--wn-font-family);
	font-weight: 700;
	font-size: var(--wn-font-base);
	color: var(--wn-text-primary);
}

.wn-progress-bar {
	width: 100%;
	height: 14px;
	background: var(--wn-border-color);
	border-radius: 999px;
	overflow: hidden;
	margin: var(--wn-space-sm) 0 var(--wn-space-md);
}

.wn-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--wn-gold-hover) 0%, var(--wn-gold-dark) 100%);
	border-radius: 999px;
	transition: width 0.5s ease;
	min-width: 0;
}

.wn-fire-footer {
	display: flex;
	justify-content: space-between;
	gap: var(--wn-space-md);
	flex-wrap: wrap;
	font-size: var(--wn-font-sm);
	color: var(--wn-text-secondary);
}

.wn-fire-footer-label {
	color: var(--wn-text-tertiary);
}

.wn-fire-footer-value {
	font-weight: 700;
	color: var(--wn-gold-dark);
}

/* ========================================================================
	9. FORECAST GRID (full-width below the 2-col layout)
	======================================================================== */

.wn-forecast-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--wn-space-md);
}

.wn-forecast-card {
	padding: var(--wn-space-md) var(--wn-space-lg);
}

.wn-forecast-horizon {
	font-family: var(--wn-font-family);
	font-weight: 700;
	font-size: var(--wn-font-base);
	color: var(--wn-gold-dark);
	margin-bottom: var(--wn-space-sm);
	padding-bottom: var(--wn-space-sm);
	border-bottom: 1px solid var(--wn-border-color);
}

.wn-forecast-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: var(--wn-space-xs);
	font-size: var(--wn-font-sm);
}

.wn-forecast-row:last-child {
	margin-bottom: 0;
}

.wn-forecast-row span {
	color: var(--wn-text-tertiary);
}

.wn-forecast-row strong {
	color: var(--wn-text-primary);
	font-weight: 700;
}

.wn-inflation-note {
	font-size: var(--wn-font-sm);
	color: var(--wn-text-secondary);
	font-style: italic;
	margin: var(--wn-space-sm) 0 0;
	padding: var(--wn-space-sm) var(--wn-space-md);
	background: var(--wn-surface-alt);
	border-left: 3px solid var(--wn-gold-primary);
	border-radius: 0 var(--wn-radius-sm) var(--wn-radius-sm) 0;
}

/* ========================================================================
	10. CHART (full-width section)
	======================================================================== */

.wn-chart-card {
	background: var(--wn-surface);
	border: 1px solid var(--wn-border-color);
	border-radius: var(--wn-radius);
	padding: var(--wn-space-lg);
	box-shadow: var(--wn-shadow-sm);
}

.wn-chart-wrapper {
	position: relative;
	width: 100%;
	height: 420px;
}

@media (max-width: 600px) {
	.wn-chart-wrapper { height: 300px; }
}

.wn-chart-card canvas {
	width: 100% !important;
	height: 100% !important;
}

.wn-chart-note {
	font-size: var(--wn-font-xs);
	color: var(--wn-text-tertiary);
	text-align: center;
	margin: var(--wn-space-sm) 0 0;
	font-style: italic;
}

/* ========================================================================
	11. HOW IT WORKS — styling ported from retirement calculator
	======================================================================== */

.wn-fire-calculator .wn-how-it-works {
	background: var(--wn-surface-alt) !important;
	border-radius: var(--wn-radius) !important;
	overflow: hidden !important;
	margin-top: var(--wn-space-xl) !important;
	border: 1px solid var(--wn-border-color) !important;
	box-shadow: var(--wn-shadow-sm) !important;
}

.wn-fire-calculator .wn-how-toggle,
.wn-fire-calculator button.wn-how-toggle {
	width: 100% !important;
	padding: var(--wn-space-lg) !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	border: none !important;
	border-radius: 0 !important;
	font-family: var(--wn-font-family) !important;
	font-size: var(--wn-font-md) !important;
	font-weight: 600 !important;
	color: var(--wn-text-secondary) !important;
	cursor: pointer !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	transition: var(--wn-transition) !important;
	text-align: left !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
}

.wn-fire-calculator .wn-how-toggle:hover,
.wn-fire-calculator button.wn-how-toggle:hover,
.wn-fire-calculator .wn-how-toggle:focus-visible,
.wn-fire-calculator button.wn-how-toggle:focus-visible {
	color: var(--wn-gold-primary) !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
}

.wn-fire-calculator .wn-toggle-icon {
	font-size: var(--wn-font-sm) !important;
	color: var(--wn-gold-primary) !important;
	transition: var(--wn-transition) !important;
}

.wn-fire-calculator .wn-how-toggle.is-open .wn-toggle-icon {
	transform: rotate(180deg) !important;
}

.wn-fire-calculator .wn-how-content {
	padding: 0 var(--wn-space-lg) var(--wn-space-lg) !important;
	color: var(--wn-text-secondary) !important;
	font-size: var(--wn-font-base) !important;
	line-height: 1.65 !important;
}

.wn-fire-calculator .wn-how-intro {
	margin: 0 0 var(--wn-space-md) 0 !important;
	color: var(--wn-text-secondary) !important;
	font-size: var(--wn-font-sm) !important;
}

.wn-fire-calculator .wn-how-section {
	margin-bottom: var(--wn-space-lg) !important;
	padding: 0 !important;
	border: none !important;
}

.wn-fire-calculator .wn-how-section:last-child {
	margin-bottom: 0 !important;
}

.wn-fire-calculator .wn-how-section h4 {
	font-family: var(--wn-font-family) !important;
	font-size: var(--wn-font-base) !important;
	font-weight: 600 !important;
	color: var(--wn-text-primary) !important;
	margin: 0 0 var(--wn-space-sm) 0 !important;
}

.wn-fire-calculator .wn-how-section p {
	font-size: var(--wn-font-sm) !important;
	color: var(--wn-text-secondary) !important;
	margin: 0 0 var(--wn-space-sm) 0 !important;
	line-height: 1.65 !important;
}

.wn-fire-calculator .wn-how-section p:last-child {
	margin-bottom: 0 !important;
}

.wn-fire-calculator .wn-how-section ul {
	margin: var(--wn-space-sm) 0 0 var(--wn-space-lg) !important;
	padding: 0 !important;
}

.wn-fire-calculator .wn-how-section li {
	font-size: var(--wn-font-sm) !important;
	color: var(--wn-text-secondary) !important;
	margin-bottom: var(--wn-space-xs) !important;
	line-height: 1.6 !important;
}

.wn-fire-calculator .wn-how-section strong {
	color: var(--wn-text-primary) !important;
	font-weight: 600 !important;
}

/* ========================================================================
	12. ERROR MESSAGE (used by WNUtils.showError)
	======================================================================== */

.wn-error-message {
	background: rgba(198, 40, 40, 0.08);
	border-left: 3px solid var(--wn-bad);
	color: var(--wn-bad);
	padding: var(--wn-space-sm) var(--wn-space-md);
	margin-bottom: var(--wn-space-sm);
	border-radius: 0 var(--wn-radius-sm) var(--wn-radius-sm) 0;
	font-size: var(--wn-font-sm);
	font-weight: 500;
}

/* ========================================================================
	13. RESPONSIVE
	======================================================================== */

@media (max-width: 600px) {
	.wn-fire-target-box {
		padding-left: 0;
		border-left: none;
		text-align: left;
	}
}
