.taxsoloist-calc {
	max-width: 620px;
	margin: 2em 0;
	padding: 1.75em;
	border: 1px solid #d8dccb;
	border-radius: 10px;
	background: #fbfbf6;
	font-family: inherit;
}
.taxsoloist-calc__row {
	margin-bottom: 1.1em;
	display: flex;
	flex-direction: column;
	gap: 0.35em;
}
.taxsoloist-calc__row label {
	font-weight: 600;
	font-size: 0.92em;
}
.taxsoloist-calc__row input,
.taxsoloist-calc__row select {
	padding: 0.6em 0.7em;
	border: 1px solid #c2c8ae;
	border-radius: 6px;
	font-size: 1em;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
.taxsoloist-calc__hint {
	margin: 0.2em 0 0;
	font-size: 0.8em;
	color: #6a7460;
}
.taxsoloist-calc__submit {
	background: #a9701f;
	color: #fff;
	border: none;
	padding: 0.75em 1.4em;
	border-radius: 6px;
	font-size: 1em;
	font-weight: 600;
	cursor: pointer;
	min-height: 44px;
	width: 100%;
	transition: background-color 0.15s ease;
}
.taxsoloist-calc__submit:hover {
	background: #8f5c17;
}
.taxsoloist-calc__submit:focus-visible,
.taxsoloist-calc__row input:focus-visible,
.taxsoloist-calc__row select:focus-visible {
	outline: 2px solid #a9701f;
	outline-offset: 2px;
}
@media (min-width: 480px) {
	.taxsoloist-calc__submit {
		width: auto;
	}
}
.taxsoloist-calc__results {
	margin-top: 1.5em;
	padding-top: 1.5em;
	border-top: 1px solid #d8dccb;
}
.taxsoloist-calc__result-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.9em;
}
@media (max-width: 480px) {
	.taxsoloist-calc__result-grid {
		grid-template-columns: 1fr;
	}
}
.taxsoloist-calc__result {
	background: #fff;
	border: 1px solid #e2e5d6;
	border-radius: 8px;
	padding: 0.85em 1em;
	display: flex;
	flex-direction: column;
	gap: 0.3em;
}
.taxsoloist-calc__result-label {
	font-size: 0.8em;
	color: #5a6455;
}
.taxsoloist-calc__result-value {
	font-size: 1.3em;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.taxsoloist-calc__result--total .taxsoloist-calc__result-value {
	color: #1b2119;
}
.taxsoloist-calc__result--highlight {
	background: #f3e4c6;
	border-color: #d9a344;
}
.taxsoloist-calc__result--highlight .taxsoloist-calc__result-value {
	color: #8f5c17;
}
.taxsoloist-calc__breakdown {
	margin-top: 1em;
	font-size: 0.88em;
	color: #444;
	line-height: 1.6;
}
.taxsoloist-calc__safeharbor {
	margin-top: 1.2em;
	font-size: 0.88em;
	background: #eef3ec;
	padding: 0.8em 1em;
	border-radius: 6px;
}
.taxsoloist-calc__disclaimer {
	margin-top: 1.4em;
	font-size: 0.78em;
	color: #7a8272;
	line-height: 1.5;
}

/* Data sources box — required on every calculator */
.taxsoloist-sources {
	margin-top: 1em;
	padding: 0.9em 1em;
	background: #eef3ec;
	border-radius: 6px;
	font-size: 0.82em;
}
.taxsoloist-sources__label {
	margin: 0 0 0.4em;
	font-weight: 600;
	color: #2c6b58;
}
.taxsoloist-sources ul {
	margin: 0;
	padding-left: 1.2em;
}
.taxsoloist-sources li {
	margin-bottom: 0.25em;
}
.taxsoloist-sources a {
	color: #2c6b58;
	font-weight: 600;
}

/* 1099 vs W-2 comparison layout */
.taxsoloist-compare__diff {
	font-size: 1.1em;
	font-weight: 700;
	text-align: center;
	padding: 0.7em;
	background: #f3e4c6;
	border-radius: 6px;
	margin: 0 0 1.2em;
}
.taxsoloist-compare__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1em;
}
@media (max-width: 520px) {
	.taxsoloist-compare__grid {
		grid-template-columns: 1fr;
	}
}
.taxsoloist-compare__col {
	background: #fff;
	border: 1px solid #e2e5d6;
	border-radius: 8px;
	padding: 1em 1.1em;
}
.taxsoloist-compare__col h4 {
	margin: 0 0 0.7em;
	font-size: 1.05em;
	border-bottom: 1px solid #e2e5d6;
	padding-bottom: 0.5em;
}
.taxsoloist-compare__line {
	display: flex;
	justify-content: space-between;
	gap: 0.6em;
	font-size: 0.92em;
	padding: 0.35em 0;
	font-variant-numeric: tabular-nums;
}
.taxsoloist-compare__line--total {
	border-top: 1px dashed #d8dccb;
	margin-top: 0.3em;
	font-weight: 600;
}
.taxsoloist-compare__line--takehome {
	margin-top: 0.4em;
	padding-top: 0.5em;
	border-top: 2px solid #a9701f;
	font-weight: 700;
	color: #8f5c17;
}

/* Footer legal/info links */
.taxsoloist-footer-links {
	font-size: 0.82em;
	color: #6a7460;
	display: block;
	margin-bottom: 0.4em;
}
.taxsoloist-footer-links a {
	color: #6a7460;
}

/* Homepage hero */
.taxsoloist-hero {
	margin: 0 0 1.5em;
}
.taxsoloist-hero img {
	width: 100%;
	max-height: 420px;
	object-fit: cover;
	border-radius: 10px;
	display: block;
}
.taxsoloist-search {
	display: flex;
	gap: 0.6em;
	margin: 1.3em 0 0.5em;
	flex-wrap: wrap;
}
.taxsoloist-search input {
	flex: 1;
	min-width: 200px;
	padding: 0.7em 1em;
	border: 1px solid #c2c8ae;
	border-radius: 6px;
	font-size: 1em;
}
.taxsoloist-search button {
	background: #a9701f;
	color: #fff;
	border: none;
	padding: 0.7em 1.4em;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
	min-height: 44px;
}
.taxsoloist-search button:hover {
	background: #8f5c17;
}
.taxsoloist-stats {
	font-size: 0.85em;
	color: #6a7460;
	margin: 0.3em 0 0;
}

.taxsoloist-post-meta {
	font-size: 0.82em;
	color: #6a7460;
	margin: 0 0 0.6em;
}

/* Tax-year freshness badge */
.taxsoloist-year-badge {
	display: inline-block;
	font-size: 0.8em;
	font-weight: 600;
	color: #2c6b58;
	background: #dcebe2;
	padding: 0.3em 0.8em;
	border-radius: 999px;
	margin: 0 0 1em;
}

/* Mid-article topic image */
.taxsoloist-inline-image {
	display: flex;
	justify-content: center;
	margin: 2em 0;
}
.taxsoloist-inline-image img {
	width: 180px;
	height: 180px;
}

/* "Related Topics" module */
.taxsoloist-related {
	margin-top: 2.2em;
	padding-top: 1.2em;
	border-top: 1px solid #d8dccb;
}
.taxsoloist-related h2 {
	font-size: 1.15em;
	margin-bottom: 0.5em;
}
.taxsoloist-related ul {
	padding-left: 1.2em;
}
.taxsoloist-related li {
	margin-bottom: 0.35em;
}
