
	.stale-warning.svelte-1n46o8q { color: #8a4b00; font-size: 0.9em; }
	.wealth-chart.svelte-1n46o8q { max-width: 33rem; margin: 1rem auto 1.5rem; text-align: center; }
	.wealth-chart.svelte-1n46o8q svg:where(.svelte-1n46o8q) { display: block; width: 100%; height: auto; }
	.wealth-chart.svelte-1n46o8q svg:where(.svelte-1n46o8q) a:where(.svelte-1n46o8q) { cursor: pointer; }
	.chart-label.svelte-1n46o8q { fill: white; pointer-events: none; font-weight: 600; }
	body {
		margin: 0;
		min-height: 100vh;
		display: flex;
		flex-direction: column;
		font-family: system-ui, sans-serif;
		background: #f5f5f5;
		color: #222;
	}

	main.svelte-1n46o8q {
		width: min(48rem, calc(100% - 4rem));
		box-sizing: border-box;
		margin: 4rem auto;
		padding: 2rem;
		background: white;
		border-radius: 0.5rem;
		box-shadow: 0 0.25rem 1rem rgb(0 0 0 / 8%);
		flex: 1 0 auto;
	}

	header.svelte-1n46o8q,
	.actions.svelte-1n46o8q {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
	}

	.actions.svelte-1n46o8q {
		justify-content: flex-start;
	}

	.navigation.svelte-1n46o8q { display: flex; align-items: center; gap: 0.6rem; position: relative; }
	.menu-button.svelte-1n46o8q { display: inline-flex; align-items: center; justify-content: center; }
	.menu.svelte-1n46o8q {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 2;
		display: grid;
		min-width: 10rem;
		padding: 0.4rem;
		background: white;
		border: 1px solid #ccc;
		border-radius: 0.3rem;
		box-shadow: 0 4px 12px #0002;
	}
	.menu.svelte-1n46o8q button:where(.svelte-1n46o8q) { background: transparent; text-align: left; }
	.breadcrumbs.svelte-1n46o8q { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: 0; }
	.danger-zone.svelte-1n46o8q { padding: 1rem; margin-top: 2rem; border: 1px solid #ad3030; border-radius: 0.4rem; }
	.danger-zone.svelte-1n46o8q h3:where(.svelte-1n46o8q) { color: #ad3030; }
	#delete-confirmation.svelte-1n46o8q { display: block; margin: 0.5rem 0 1rem; max-width: 100%; }

	.section-heading.svelte-1n46o8q {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
	}

	.section-heading.svelte-1n46o8q h2:where(.svelte-1n46o8q) {
		margin-bottom: 1rem;
	}

	.asset-section-heading.svelte-1n46o8q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
	.add-record.svelte-1n46o8q { display: inline-flex; align-items: center; justify-content: center; padding: 0.35rem; min-width: 2.25rem; min-height: 2.25rem; }
	.add-asset.svelte-1n46o8q {
		min-width: 2.25rem;
		padding: 0.35rem 0.65rem;
		font-size: 1.3rem;
		font-weight: 700;
		line-height: 1;
	}

	button.svelte-1n46o8q {
		border: 0;
		border-radius: 0.3rem;
		padding: 0.65rem 1rem;
		font: inherit;
		cursor: pointer;
	}

	button.secondary.svelte-1n46o8q {
		background: #e8e8e8;
	}

	.role.svelte-1n46o8q {
		margin-left: 0.75rem;
		font-size: 0.8rem;
		font-weight: 600;
	}

	.error.svelte-1n46o8q {
		font-weight: 600;
	}

	form.svelte-1n46o8q {
		margin: 1rem 0 1.5rem;
	}

	label.svelte-1n46o8q {
		margin-bottom: 0.35rem;
		font-weight: 600;
	}

	.owner-entry.svelte-1n46o8q { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0; }
	.owner-entry.svelte-1n46o8q input[type="number"]:where(.svelte-1n46o8q) { width: 6rem; }
	/* (unused) .owner-entry input[type="text"] { min-width: 9rem; }*/
	/* (unused) .asset-entry {
		display: flex;
		align-items: stretch;
		gap: 0.6rem;
	}*/

	/* (unused) .asset-entry input {
		flex: 1;
		min-width: 0;
		margin: 0;
	}*/

	/* (unused) .asset-entry button {
		margin: 0;
	}*/

	footer.svelte-1n46o8q {
		box-sizing: border-box;
		width: 100%;
		border-top: 1px solid #d8d8d8;
		padding: 0.8rem 1rem;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		background: white;
		color: #666;
		font-size: 0.78rem;
	}

	.build-info.svelte-1n46o8q {
		display: flex;
		flex-direction: column;
		gap: 0.25rem;
	}

	.identity.svelte-1n46o8q {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		flex-wrap: wrap;
		gap: 0.4rem;
	}

	.role-badge.svelte-1n46o8q {
		display: inline-block;
		padding: 0.14rem 0.42rem;
		border-radius: 0.25rem;
		background: #6c757d;
		color: white;
		font-size: 0.68rem;
		font-weight: 700;
		line-height: 1.2;
	}

	.wealth-total.svelte-1n46o8q { display: flex; justify-content: space-between; gap: 1rem; border-top: 2px solid #ddd; padding-top: 1rem; font-size: 1.1rem; }
	.wealth-total.svelte-1n46o8q strong:where(.svelte-1n46o8q) { text-align: right; }
	@media (max-width: 640px) {
		main.svelte-1n46o8q { width: calc(100% - 1rem); padding: 1.5rem; }
		section.svelte-1n46o8q { line-height: 1.6; }
		form.svelte-1n46o8q { display: flex; flex-direction: column; gap: 0.65rem; }
		form.svelte-1n46o8q input:where(.svelte-1n46o8q), form.svelte-1n46o8q select:where(.svelte-1n46o8q) { box-sizing: border-box; width: 100%; min-height: 44px; font: inherit; padding: 0.6rem; }
		button.svelte-1n46o8q { min-height: 44px; }
		.actions.svelte-1n46o8q { flex-wrap: wrap; gap: 0.75rem; }
		section.svelte-1n46o8q li:where(.svelte-1n46o8q) { padding: 0.45rem 0; overflow-wrap: anywhere; }
		.wealth-total.svelte-1n46o8q { flex-wrap: wrap; }

		main.svelte-1n46o8q {
			width: calc(100% - 2rem);
			margin: 1rem auto;
			padding: 1.25rem;
		}

		.owner-entry.svelte-1n46o8q { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0; }
	.owner-entry.svelte-1n46o8q input[type="number"]:where(.svelte-1n46o8q) { width: 6rem; }
	/* (unused) .owner-entry input[type="text"] { min-width: 9rem; }*/
	/* (unused) .asset-entry {
			align-items: stretch;
			flex-direction: column;
		}*/

		footer.svelte-1n46o8q {
			align-items: flex-start;
			flex-direction: column;
		}

		.identity.svelte-1n46o8q {
			justify-content: flex-start;
		}
	}

