:root {
	--blue-700: #1e3a8a;
	--blue-500: #2563eb;
	--blue-100: #dbeafe;
	--red-600: #dc2626;
	--bg: #ffffff;
	--text: #0f172a;
	--muted: #475569;
	--card: #ffffff;
	--shadow: 0 6px 24px rgba(2, 6, 23, 0.12);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
	margin: 0;
	font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	background: var(--bg);
	color: var(--text);
}


.welcome-page {
	min-height: 100vh;
	background: linear-gradient(135deg, var(--red-600), var(--blue-700));
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	position: relative;
	overflow: hidden;
}

.welcome-page::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
	pointer-events: none;
}

.welcome-container {
	max-width: 900px;
	width: 100%;
	position: relative;
	z-index: 1;
	padding: 20px;
}

.welcome-content {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	border-radius: 24px;
	padding: 40px;
	text-align: center;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}

.welcome-title {
	font-size: 3rem;
	font-weight: 800;
	color: var(--blue-700);
	margin: 0 0 20px;
	line-height: 1.1;
	text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.welcome-subtitle {
	font-size: 1.2rem;
	color: var(--muted);
	margin: 0 0 8px;
	font-weight: 600;
}

.welcome-description {
	font-size: 1rem;
	color: var(--muted);
	margin: 0 0 32px;
	line-height: 1.5;
}

.auth-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	margin: 32px 0;
	flex-wrap: wrap;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.auth-buttons .btn-primary,
.auth-buttons .btn-secondary,
.auth-buttons .btn-stripe {
	padding: 12px 20px;
	font-size: 16px;
	font-weight: 600;
	width: 100%;
	max-width: 200px;
	border-radius: 10px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.auth-buttons .btn-primary {
	background: linear-gradient(90deg, var(--blue-500), var(--red-600));
	box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.auth-buttons .btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 25px rgba(37, 99, 235, 0.4);
}

.auth-buttons .btn-secondary {
	background: rgba(255, 255, 255, 0.9);
	border: 2px solid rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(10px);
}

.auth-buttons .btn-secondary:hover {
	background: rgba(255, 255, 255, 1);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


.features {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 32px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.feature {
	text-align: center;
	padding: 28px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.feature:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
	background: rgba(255, 255, 255, 0.9);
}

.feature-icon {
	font-size: 2.5rem;
	display: block;
	margin-bottom: 16px;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.feature h3 {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--blue-700);
	margin: 0 0 12px;
}

.feature p {
	font-size: 1rem;
	color: var(--muted);
	margin: 0;
	line-height: 1.5;
}

.container {
	max-width: 880px;
	margin: 0 auto;
	padding: 16px;
}

.app-header {
	background: linear-gradient(90deg, var(--red-600), var(--blue-700));
	color: #fff;
	padding: 24px 0;
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

.header-text {
	text-align: center;
	flex: 1;
	min-width: 300px;
}

.auth-section {
	display: flex;
	align-items: center;
	gap: 12px;
}

.user-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.user-name {
	color: white;
	font-weight: 600;
	font-size: 14px;
}

.btn-login, .btn-logout {
	padding: 8px 16px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.1);
	color: white;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn-login:hover, .btn-logout:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.5);
}

.btn-logout {
	display: inline-block;
	text-decoration: none;
	background: rgba(220, 38, 38, 0.2);
	border-color: rgba(220, 38, 38, 0.5);
}

.btn-logout:hover {
	background: rgba(220, 38, 38, 0.3);
}

.title { margin: 0 0 4px; font-weight: 800; }
.subtitle { margin: 0; opacity: 0.9; }


.card {
	background: var(--card);
	border-radius: 14px;
	box-shadow: var(--shadow);
	padding: 16px;
	margin: 16px 0;
}

.field { display: block; margin-bottom: 16px; }
.field-label { display: block; font-weight: 600; margin-bottom: 6px; }
.help { color: var(--muted); }

.last-saved-info {
	color: var(--muted);
	font-size: 14px;
	margin: 0 0 12px;
}



.modal-body input[type="email"],
.modal-body input[type="password"],
.modal-body input[type="text"] {
	width: 100%;
	padding: 12px;
	font-size: 18px;
	border: 2px solid var(--blue-100);
	border-radius: 10px;
	outline: none;
	background: white;
	transition: border-color 0.2s ease;
	box-sizing: border-box;
}

.modal-body input[type="email"]:focus,
.modal-body input[type="password"]:focus,
.modal-body input[type="text"]:focus {
	border-color: var(--blue-500);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}


.password-input-container {
	position: relative;
	display: flex;
	align-items: center;
}

.password-input-container input {
	padding-right: 50px;
}

.password-toggle {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	font-size: 16px;
	padding: 4px;
	border-radius: 4px;
	transition: background-color 0.2s ease;
}

.password-toggle:hover {
	background-color: var(--blue-50);
}

.password-toggle:active {
	background-color: var(--blue-100);
}

.input-prefix { position: relative; }
.prefix {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--muted);
}

input#income {
	width: 100%;
	padding: 12px 12px 12px 28px;
	font-size: 18px;
	border: 2px solid var(--blue-100);
	border-radius: 10px;
	outline: none;
}

input#income:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25); }

.plan-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.plan { 
	display: flex; 
	align-items: flex-start; 
	gap: 8px; 
	padding: 12px; 
	border: 2px solid var(--blue-100); 
	border-radius: 10px; 
	cursor: pointer;
	transition: border-color 0.2s ease;
}
.plan:hover { border-color: var(--blue-500); }
.plan input { accent-color: var(--red-600); margin-top: 2px; }
.plan span { flex: 1; }
.plan small { color: var(--muted); font-size: 12px; line-height: 1.3; }

.btn-primary {
	width: 100%;
	padding: 12px 16px;
	font-size: 18px;
	font-weight: 700;
	border: none;
	border-radius: 10px;
	color: #fff;
	background: linear-gradient(90deg, var(--blue-500), var(--red-600));
	cursor: pointer;
}

.btn-primary:active { transform: translateY(1px); }

.button-group {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 12px;
	margin-top: 8px;
}

.btn-secondary {
	padding: 12px 16px;
	font-size: 16px;
	font-weight: 600;
	border: 2px solid var(--blue-500);
	border-radius: 10px;
	color: var(--blue-500);
	background: transparent;
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn-secondary:hover {
	background: var(--blue-500);
	color: white;
}

.btn-secondary:active { transform: translateY(1px); }

.results { margin-top: 8px; }
.result-title { margin: 0 0 8px; }
.amount { font-size: 28px; font-weight: 800; color: var(--blue-700); margin: 8px 0 12px; }
.desc { 
	color: var(--muted); 
	margin: 0; 
	line-height: 1.5;
	font-size: 14px;
}

.desc strong {
	color: var(--blue-700);
	font-weight: 600;
}

.result[data-kind="needs"] { border-left: 6px solid var(--blue-500); }
.result[data-kind="wants"] { border-left: 6px solid var(--red-600); }
.result[data-kind="savings"] { border-left: 6px solid var(--blue-700); }
.result[data-kind="debt"] { border-left: 6px solid #f59e0b; }

.motivational-message {
	background: linear-gradient(135deg, var(--blue-100), rgba(220, 38, 38, 0.1));
	border: 2px solid var(--blue-500);
	border-radius: 16px;
	margin-top: 16px;
	text-align: center;
	animation: slideInUp 0.6s ease-out;
	quotes: none;
}

.warning-icon {
	margin-left: 8px;
	display: inline-block;
}

.warning-tooltip {
	cursor: pointer;
	font-size: 16px;
	color: var(--red-600);
	transition: transform 0.2s ease;
	animation: pulse 2s infinite;
	display: inline-block;
}

.warning-tooltip:hover {
	transform: scale(1.2);
}

@keyframes pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.8; }
}


.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(12px);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	animation: fadeIn 0.4s ease-out;
	opacity: 0;
	transition: opacity 0.4s ease-out;
}

.modal-overlay.show {
	opacity: 1;
}

.modal-content {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	border-radius: 20px;
	max-width: 600px;
	max-height: 90vh;
	width: 90%;
	margin: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
	animation: slideInUp 0.4s ease-out;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.2);
	transform: translateY(20px);
	opacity: 0;
	transition: all 0.4s ease-out;
}

.modal-overlay.show .modal-content {
	transform: translateY(0);
	opacity: 1;
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	background: linear-gradient(90deg, var(--red-600), var(--blue-700));
	color: white;
	position: relative;
	overflow: hidden;
}

.modal-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
	pointer-events: none;
}

.modal-header h2 {
	margin: 0;
	font-size: 18px;
}

.modal-close {
	background: none;
	border: none;
	color: white;
	font-size: 24px;
	cursor: pointer;
	padding: 0;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background-color 0.2s ease;
}

.modal-close:hover {
	background: rgba(255, 255, 255, 0.2);
}

.modal-body {
	padding: 24px;
	max-height: 70vh;
	overflow-y: auto;
}

.modal-footer {
	padding: 20px;
	border-top: 1px solid var(--blue-100);
	text-align: center;
}


.app-alert .modal-body {
	text-align: center;
	padding: 28px 24px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--text);
}
.app-alert .modal-footer {
	border-top: 1px solid var(--blue-100);
}
.app-alert .btn-alert-ok {
	background: linear-gradient(90deg, var(--red-600), var(--blue-700));
	color: white;
	border: none;
	padding: 12px 28px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(30, 58, 138, 0.3);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.app-alert .btn-alert-ok:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(30, 58, 138, 0.35);
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.message-text {
	font-size: 18px;
	font-weight: 600;
	color: var(--blue-700);
	margin: 0;
	padding: 16px;
	font-style: normal;
	line-height: 1.4;
	quotes: none;
}

.motivational-message * {
	quotes: none !important;
}

.motivational-message::before,
.motivational-message::after {
	content: none !important;
}

.message-text::before,
.message-text::after {
	content: none !important;
}

@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.footer { text-align: center; color: var(--muted); margin-bottom: 24px; }
.welcome-footer { margin-top: 32px; padding-top: 16px; }

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}


@media (max-width: 768px) {
	.container {
		padding: 12px;
	}
	
	.app-header {
		padding: 16px 0;
	}
	
	.header-content {
		flex-direction: column;
		text-align: center;
		gap: 12px;
	}
	
	.header-text {
		min-width: auto;
		order: 1;
	}
	
	.title {
		font-size: 1.5rem;
		line-height: 1.2;
	}
	
	.subtitle {
		font-size: 0.9rem;
	}
}

@media (max-width: 560px) {
	.plan-options { 
		grid-template-columns: 1fr; 
		gap: 8px;
	}
	
	.plan {
		padding: 10px;
	}
	
	.plan small {
		font-size: 11px;
	}
	
	.button-group { 
		grid-template-columns: 1fr; 
		gap: 8px;
	}
	
	.amount { 
		font-size: 24px; 
	}
	
	.card {
		padding: 12px;
		margin: 12px 0;
	}
	
	input#income {
		font-size: 16px;
		padding: 10px 10px 10px 24px;
	}
	
	.btn-primary {
		font-size: 16px;
		padding: 14px 16px;
	}
	
	.btn-secondary {
		font-size: 14px;
		padding: 14px 16px;
	}
	
	.title {
		font-size: 1.3rem;
	}
	
	.subtitle {
		font-size: 0.85rem;
	}
	
	.modal-content {
		margin: 10px;
		max-height: 95vh;
	}
	
	.modal-header {
		padding: 16px;
	}
	
	.modal-header h2 {
		font-size: 16px;
	}
	
	.modal-body {
		padding: 20px;
		max-height: 75vh;
	}
	
	.modal-footer {
		padding: 16px;
	}
	
	.warning-btn {
		font-size: 12px;
		padding: 6px 12px;
	}
	
	
	.welcome-content {
		padding: 24px;
		margin: 0;
		width: 100%;
		max-width: none;
	}
	
	.welcome-container {
		width: 100%;
		max-width: 100%;
		padding: 10px;
	}
	
	.welcome-title {
		font-size: 2rem;
	}
	
	.welcome-subtitle {
		font-size: 1rem;
	}
	
	.auth-buttons {
		flex-direction: column;
		gap: 12px;
	}
	
	.auth-buttons .btn-primary,
	.auth-buttons .btn-secondary,
	.auth-buttons .btn-stripe {
		width: 100%;
		max-width: 100%;
		padding: 12px 20px;
		font-size: 16px;
		height: 44px;
	}
	
	.features {
		grid-template-columns: 1fr;
		gap: 16px;
		max-width: none;
	}
	
	.feature {
		padding: 16px;
	}
}


.btn-stripe {
	background: linear-gradient(135deg, #635bff 0%, #8b5cf6 100%);
	color: white;
	border: none;
	padding: 18px 36px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 18px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 8px 20px rgba(99, 91, 255, 0.3);
	position: relative;
	overflow: hidden;
	min-width: 180px;
}

.btn-stripe:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 25px rgba(99, 91, 255, 0.4);
}

.btn-stripe:active {
	transform: translateY(0);
}

.btn-stripe::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s;
}

.btn-stripe:hover::before {
	left: 100%;
}


.pricing-card {
	background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
	border-radius: 12px;
	padding: 24px;
	margin: 20px 0;
	border: 2px solid var(--blue-100);
}

.pricing-card h3 {
	color: var(--blue-700);
	margin: 0 0 16px;
	font-size: 1.5rem;
	font-weight: 700;
}

.price {
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--blue-700);
	margin: 0 0 20px;
}

.price .period {
	font-size: 1rem;
	font-weight: 400;
	color: var(--muted);
}

.features-list {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
	text-align: left;
}

.features-list li {
	padding: 8px 0;
	color: var(--text);
	font-size: 1rem;
	line-height: 1.5;
}

.features-list li:before {
	content: "✅";
	margin-right: 8px;
}


.checkout-summary {
	background: var(--blue-50);
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 20px;
}

.checkout-summary h3 {
	margin: 0 0 12px;
	color: var(--blue-700);
	font-size: 1.2rem;
}

.order-item {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid var(--blue-100);
}

.order-total {
	display: flex;
	justify-content: space-between;
	padding: 12px 0 0;
	font-size: 1.1rem;
	color: var(--blue-700);
}

.payment-form {
	margin-top: 20px;
}

.payment-form h4 {
	margin: 0 0 16px;
	color: var(--blue-700);
	font-size: 1.1rem;
}

.payment-form input[readonly] {
	background: #f8f9fa;
	color: var(--muted);
	cursor: not-allowed;
}


body.pdf-capture-mode #splitForm,
body.pdf-capture-mode .footer {
	visibility: hidden;
	position: absolute;
	left: -9999px;
}


.pdf-export-overlay {
	position: fixed;
	inset: 0;
	background: #fff;
	z-index: 99999;
	overflow: auto;
	padding: 16px;
	box-sizing: border-box;
}
.pdf-export-overlay .app-header {
	margin: -16px -16px 0 -16px;
}
.pdf-export-overlay .results {
	display: block !important;
	margin-top: 16px;
}


.pdf-export-wrapper {
	width: 680px;
	background: #fff;
	font-family: Inter, system-ui, sans-serif;
	font-size: 12px;
	color: var(--text);
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
}
.pdf-export-wrapper .app-header {
	background: linear-gradient(90deg, var(--red-600), var(--blue-700));
	color: #fff;
	padding: 10px 12px;
	margin: 0;
	border-radius: 0;
}
.pdf-export-wrapper .app-header .title { font-size: 1.1rem; margin: 0; }
.pdf-export-wrapper .app-header .subtitle { font-size: 0.7rem; margin: 0; opacity: 0.95; }
.pdf-export-wrapper .results { margin-top: 8px; padding: 0; }
.pdf-export-wrapper .result.card,
.pdf-export-wrapper .motivational-message.card {
	padding: 8px 12px;
	margin: 6px 0;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(2, 6, 23, 0.1);
}
.pdf-export-wrapper .result-title { margin: 0 0 4px; font-size: 0.95rem; font-weight: 700; }
.pdf-export-wrapper .amount { font-size: 1.35rem; font-weight: 800; margin: 4px 0 6px; color: var(--blue-700); }
.pdf-export-wrapper .desc { font-size: 0.7rem; line-height: 1.3; color: var(--muted); margin: 0; }
.pdf-export-wrapper .message-text { font-size: 0.9rem; font-weight: 600; color: var(--blue-700); margin: 0; padding: 6px 0; }


@media print {
	@page {
		size: letter;
		margin: 0.4in;
	}
	body {
		background: #fff;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		font-size: 12px;
	}
	
	#splitForm,
	.button-group,
	.auth-section,
	.last-saved-info,
	.footer,
	.modal-overlay {
		display: none !important;
	}
	.app-header {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		background: linear-gradient(90deg, var(--red-600), var(--blue-700)) !important;
		color: #fff;
		padding: 10px 0;
		margin: -0.4in -0.4in 0 -0.4in;
		padding-left: 0.4in;
		padding-right: 0.4in;
	}
	.app-header .title { font-size: 1.1rem; margin: 0; }
	.app-header .subtitle { font-size: 0.7rem; margin: 0; opacity: 0.95; }
	.container {
		max-width: none;
		margin: 0;
		padding: 0;
	}
	
	.results {
		display: block !important;
		margin-top: 8px;
		padding: 0;
	}
	.result.card,
	.motivational-message.card {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		page-break-inside: avoid;
		box-shadow: 0 2px 8px rgba(2, 6, 23, 0.1);
		border-radius: 10px;
		padding: 8px 12px;
		margin: 6px 0;
		background: #fff;
	}
	.result[data-kind="needs"] { border-left: 4px solid var(--blue-500); }
	.result[data-kind="wants"] { border-left: 4px solid var(--red-600); }
	.result[data-kind="savings"] { border-left: 4px solid var(--blue-700); }
	.result[data-kind="debt"] { border-left: 4px solid #f59e0b; }
	.result-title { margin: 0 0 4px; font-weight: 700; font-size: 0.95rem; }
	.amount {
		font-size: 1.35rem;
		font-weight: 800;
		color: var(--blue-700);
		margin: 4px 0 6px;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
	.desc {
		color: var(--muted);
		font-size: 0.7rem;
		line-height: 1.3;
		margin: 0;
	}
	.desc strong { color: var(--blue-700); font-weight: 600; font-size: inherit; }
	.motivational-message {
		background: linear-gradient(135deg, var(--blue-100), rgba(220, 38, 38, 0.1)) !important;
		border: 2px solid var(--blue-500);
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		padding: 8px 12px;
		margin: 6px 0 0;
	}
	.message-text {
		font-size: 0.9rem;
		font-weight: 600;
		color: var(--blue-700);
		margin: 0;
		padding: 6px 0;
	}
}

