/* Stone & Signal tools: landing + calculators. Scoped to body.sha-tools */
.sha-tools .sha-tools-page {
	background: #F4F0E8;
	color: #2B2723;
	font-family: "Source Sans 3", "Segoe UI", sans-serif;
}
.sha-tools .sha-tools-wrap {
	max-width: 880px;
	margin: 0 auto;
	padding: 40px 20px 72px;
}
.sha-tools .sha-tools-kicker {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: #2F5F63;
	text-transform: none;
}
.sha-tools .sha-tools-page h1,
.sha-tools .sha-tools-page h2,
.sha-tools .sha-tools-page h3 {
	font-family: Newsreader, Georgia, serif;
	font-weight: 600;
	color: #2B2723;
	letter-spacing: -0.01em;
}
.sha-tools .sha-tools-page h1 {
	margin: 0 0 12px;
	font-size: clamp(1.9rem, 3vw, 2.6rem);
	line-height: 1.12;
}
.sha-tools .sha-tools-lede {
	margin: 0 0 28px;
	font-size: 1.125rem;
	line-height: 1.5;
	max-width: 40rem;
	color: #2B2723;
}
.sha-tools .sha-tools-note {
	margin: 0 0 36px;
	padding: 14px 16px;
	background: #E8E2D6;
	border-left: 3px solid #2F5F63;
	color: #2B2723;
	font-size: 0.95rem;
	line-height: 1.5;
}
.sha-tools .sha-tools-note p { margin: 0; }
.sha-tools .sha-tools-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 40px;
}
.sha-tools .sha-tool-card {
	background: #FBF8F2;
	border: 1px solid #D5CFC3;
	border-radius: 4px;
	overflow: hidden;
}
.sha-tools .sha-tool-card a.sha-tool-visual {
	display: block;
	background: #E8E2D6;
	aspect-ratio: 16 / 9;
	text-decoration: none;
	color: inherit;
}
.sha-tools .sha-tool-card .sha-tool-visual svg {
	display: block;
	width: 100%;
	height: 100%;
}
.sha-tools .sha-tool-body { padding: 18px 18px 22px; }
.sha-tools .sha-tool-card h2 {
	margin: 0 0 8px;
	font-size: 1.35rem;
	line-height: 1.2;
}
.sha-tools .sha-tool-card h2 a {
	color: #2B2723;
	text-decoration: none;
}
.sha-tools .sha-tool-card h2 a:hover,
.sha-tools .sha-tool-card h2 a:focus {
	color: #254C4F;
}
.sha-tools .sha-tool-card p {
	margin: 0 0 14px;
	color: #2B2723;
	line-height: 1.5;
}
.sha-tools .sha-tool-cta {
	color: #2F5F63;
	font-weight: 600;
	text-decoration: none;
}
.sha-tools .sha-tool-cta:hover,
.sha-tools .sha-tool-cta:focus {
	color: #254C4F;
	text-decoration: underline;
}
.sha-tools .sha-tools-copy h2 {
	margin: 36px 0 10px;
	font-size: 1.5rem;
	line-height: 1.2;
}
.sha-tools .sha-tools-copy p,
.sha-tools .sha-tools-copy li {
	font-size: 1.05rem;
	line-height: 1.55;
	max-width: 40rem;
	color: #2B2723;
}
.sha-tools .sha-tools-copy a {
	color: #2F5F63;
	text-decoration: none;
}
.sha-tools .sha-tools-copy a:hover,
.sha-tools .sha-tools-copy a:focus {
	color: #254C4F;
	text-decoration: underline;
}
.sha-tools .sha-crumb {
	margin: 0 0 20px;
	font-size: 0.9rem;
	color: #6B645B;
}
.sha-tools .sha-crumb a { color: #2F5F63; text-decoration: none; }
.sha-tools .sha-crumb a:hover { text-decoration: underline; }

/* Worksheet */
.sha-tools .sha-calc {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 24px;
	align-items: start;
	margin: 8px 0 40px;
}
.sha-tools .sha-worksheet,
.sha-tools .sha-results {
	background: #FBF8F2;
	border: 1px solid #D5CFC3;
	border-radius: 4px;
	padding: 20px;
}
.sha-tools .sha-results {
	background: #E8E2D6;
}
.sha-tools .sha-worksheet h2,
.sha-tools .sha-results h2 {
	margin: 0 0 16px;
	font-size: 1.25rem;
}
.sha-tools .sha-field {
	margin-bottom: 14px;
}
.sha-tools .sha-field label {
	display: block;
	margin-bottom: 4px;
	font-weight: 600;
	font-size: 0.92rem;
}
.sha-tools .sha-field-row {
	display: flex;
	align-items: stretch;
	gap: 0;
}
.sha-tools .sha-field input[type="number"],
.sha-tools .sha-field input[type="text"] {
	width: 100%;
	min-height: 44px;
	padding: 8px 10px;
	border: 1px solid #D5CFC3;
	border-radius: 4px 0 0 4px;
	background: #FBF8F2;
	color: #2B2723;
	font: 400 1rem "Source Sans 3", "Segoe UI", sans-serif;
}
.sha-tools .sha-field input:focus {
	outline: 2px solid #2F5F63;
	outline-offset: 1px;
	border-color: #2F5F63;
}
.sha-tools .sha-field input.is-invalid {
	border-color: #2B2723;
	background: #F4F0E8;
}
.sha-tools .sha-unit {
	display: flex;
	align-items: center;
	padding: 0 12px;
	background: #E8E2D6;
	border: 1px solid #D5CFC3;
	border-left: 0;
	border-radius: 0 4px 4px 0;
	color: #6B645B;
	font-size: 0.88rem;
	white-space: nowrap;
}
.sha-tools .sha-help,
.sha-tools .sha-error {
	margin: 4px 0 0;
	font-size: 0.85rem;
	color: #6B645B;
}
.sha-tools .sha-error { color: #2B2723; font-weight: 600; }
.sha-tools .sha-presets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 4px 0 16px;
}
.sha-tools .sha-presets button {
	appearance: none;
	border: 1px solid #D5CFC3;
	background: #FBF8F2;
	color: #2B2723;
	border-radius: 2px;
	padding: 6px 10px;
	font: 600 0.82rem "Source Sans 3", "Segoe UI", sans-serif;
	cursor: pointer;
}
.sha-tools .sha-presets button:hover,
.sha-tools .sha-presets button:focus {
	border-color: #2F5F63;
	color: #254C4F;
	outline: 2px solid #2F5F63;
	outline-offset: 1px;
}
.sha-tools .sha-presets-label {
	width: 100%;
	margin: 0 0 2px;
	font-size: 0.82rem;
	color: #6B645B;
}
.sha-tools .sha-calc-submit {
	appearance: none;
	border: 0;
	background: #2F5F63;
	color: #FBF8F2;
	border-radius: 4px;
	min-height: 44px;
	padding: 10px 18px;
	font: 600 0.95rem "Source Sans 3", "Segoe UI", sans-serif;
	cursor: pointer;
}
.sha-tools .sha-calc-submit:hover,
.sha-tools .sha-calc-submit:focus {
	background: #254C4F;
	outline: 2px solid #254C4F;
	outline-offset: 2px;
}
.sha-tools .sha-result-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.sha-tools .sha-result-list li {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #D5CFC3;
}
.sha-tools .sha-result-list li:last-child { border-bottom: 0; }
.sha-tools .sha-result-label {
	color: #6B645B;
	font-size: 0.92rem;
}
.sha-tools .sha-result-value {
	font-family: Newsreader, Georgia, serif;
	font-weight: 600;
	font-size: 1.35rem;
	color: #2B2723;
	line-height: 1.15;
}
.sha-tools .sha-result-msg {
	margin: 16px 0 0;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #2B2723;
}
.sha-tools .sha-safety {
	margin: 0 0 24px;
	padding: 14px 16px;
	background: #E8E2D6;
	border-left: 3px solid #2B2723;
}
.sha-tools .sha-safety p { margin: 0; font-size: 0.95rem; line-height: 1.5; }
.sha-tools .sha-related-tools {
	margin-top: 40px;
	padding-top: 20px;
	border-top: 1px solid #D5CFC3;
}
.sha-tools .sha-home-tools {
	/* homepage section uses homepage.css plus this fallback */
}

@media (max-width: 720px) {
	.sha-tools .sha-tools-grid,
	.sha-tools .sha-calc {
		grid-template-columns: 1fr;
	}
	.sha-tools .sha-tools-wrap { padding: 28px 16px 56px; }
}

/* Homepage compact tools band */
.sha-home .sha-tools-home {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.sha-home .sha-tools-home article {
	background: #FBF8F2;
	border: 1px solid #D5CFC3;
	border-radius: 4px;
	padding: 18px 20px;
}
.sha-home .sha-tools-home h3 {
	margin: 0 0 8px;
	font-family: Newsreader, Georgia, serif;
	font-size: 1.35rem;
	font-weight: 600;
}
.sha-home .sha-tools-home h3 a { color: #2B2723; text-decoration: none; }
.sha-home .sha-tools-home h3 a:hover { color: #254C4F; }
.sha-home .sha-tools-home p { margin: 0 0 10px; color: #2B2723; }
.sha-home .sha-tools-home a.sha-inline { color: #2F5F63; font-weight: 600; text-decoration: none; }
.sha-home .sha-tools-home a.sha-inline:hover { text-decoration: underline; }
@media (max-width: 720px) {
	.sha-home .sha-tools-home { grid-template-columns: 1fr; }
}
