.bond-page {
	--bond-ink: #142033;
	--bond-muted: #5c6878;
	--bond-line: #d8e4ef;
	--bond-soft: #f4f8fc;
	--bond-deep: #111d32;
	--bond-blue: #2e5f9f;
	--bond-teal: #168675;
	--bond-gold: #c8821d;
	--bond-red: #a34d4d;
	overflow-x: clip;
}
.bond-page .bond-hero,
.bond-page .bond-tool,
.bond-page .bond-section,
.bond-page .disclaimer {
	background: #fff;
	border: 1px solid var(--bond-line);
	border-radius: 8px;
	box-shadow: 0 18px 42px rgba(20,32,51,.09);
}
.bond-page .bond-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(290px, 410px);
	gap: 28px;
	align-items: center;
	margin-bottom: 22px;
	padding: 34px;
	background:
		linear-gradient(135deg, rgba(46,95,159,.12), rgba(200,130,29,.13)),
		#fff;
}
.bond-page .bond-hero h1 {
	font-size: clamp(34px, 4.8vw, 58px);
	overflow-wrap: anywhere;
}
.bond-page .bond-hero p {
	max-width: 760px;
	color: var(--bond-muted);
	font-size: 17px;
}
.bond-page .hero-note {
	min-width: 0;
	padding: 24px;
	color: #fff;
	background:
		radial-gradient(circle at 92% 88%, rgba(200,130,29,.72) 0 22%, transparent 23%),
		linear-gradient(135deg, var(--bond-deep), #1f6270);
	border-radius: 8px;
}
.bond-page .hero-note span,
.bond-page .result-card span,
.bond-page .metric-grid span,
.bond-page .related-grid span {
	display: block;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}
.bond-page .hero-note span,
.bond-page .result-card span {
	color: #bff6e9;
}
.bond-page .hero-note strong {
	display: block;
	margin-top: 9px;
	font-size: clamp(26px, 3.6vw, 38px);
	line-height: 1.08;
}
.bond-page .hero-note p {
	margin: 12px 0 0;
	color: rgba(255,255,255,.86);
	font-size: 14px;
}
.bond-page .bond-tool {
	margin-bottom: 22px;
	padding: 22px;
	overflow: hidden;
}
.bond-page .bond-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
}
.bond-page .bond-tabs button {
	min-height: 44px;
	padding: 10px 16px;
	color: var(--bond-ink);
	background: var(--bond-soft);
	border: 1px solid var(--bond-line);
	border-radius: 8px;
	font: inherit;
	font-weight: 900;
	cursor: pointer;
}
.bond-page .bond-tabs .is-active {
	color: #fff;
	background: var(--bond-teal);
	border-color: var(--bond-teal);
}
.bond-page .tool-panel {
	display: none;
}
.bond-page .tool-panel.is-active {
	display: grid;
	grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
	gap: 22px;
}
.bond-page .settle-grid {
	display: contents;
}
.bond-page .bond-inputs,
.bond-page .bond-results {
	display: grid;
	min-width: 0;
	gap: 16px;
	align-content: start;
}
.bond-page .mode-card,
.bond-page .input-card,
.bond-page .formula-box,
.bond-page .schedule-card {
	min-width: 0;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--bond-line);
	border-radius: 8px;
}
.bond-page .mode-card,
.bond-page .input-card {
	background: linear-gradient(135deg, #f7fbff, #f3f7f0);
	border-left: 6px solid var(--bond-teal);
}
.bond-page .mode-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-top: 14px;
}
.bond-page .mode-grid label {
	display: block;
	cursor: pointer;
}
.bond-page .mode-grid input {
	position: absolute;
	opacity: 0;
}
.bond-page .mode-grid span {
	display: flex;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	padding: 10px;
	color: #435166;
	background: #fff;
	border: 1px solid var(--bond-line);
	border-radius: 8px;
	text-align: center;
	font-weight: 900;
}
.bond-page .mode-grid input:checked + span {
	color: #fff;
	background: var(--bond-teal);
	border-color: var(--bond-teal);
}
.bond-page .field-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 13px;
	margin-top: 14px;
}
.bond-page .field.wide {
	grid-column: 1 / -1;
}
.bond-page .field {
	display: grid;
	gap: 7px;
	color: #26354b;
	font-size: 13px;
	font-weight: 900;
}
.bond-page .field input,
.bond-page .field select {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	color: var(--bond-ink);
	background: var(--bond-soft);
	border: 1px solid var(--bond-line);
	border-radius: 7px;
	font: inherit;
	font-weight: 800;
}
.bond-page .field input:focus,
.bond-page .field select:focus {
	outline: 3px solid rgba(22,134,117,.17);
	border-color: var(--bond-teal);
	background: #fff;
}
.bond-page .field.is-muted {
	opacity: .55;
}
.bond-page .result-card {
	padding: 24px;
	color: #fff;
	background: linear-gradient(135deg, var(--bond-blue), var(--bond-deep));
	border-radius: 8px;
}
.bond-page .settle-result {
	background: linear-gradient(135deg, #804d68, var(--bond-deep));
}
.bond-page .result-card strong {
	display: block;
	margin-top: 8px;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.05;
	overflow-wrap: anywhere;
}
.bond-page .result-card p {
	margin: 12px 0 0;
	color: rgba(255,255,255,.86);
}
.bond-page .metric-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}
.bond-page .metric-grid div {
	padding: 16px;
	background: var(--bond-soft);
	border: 1px solid var(--bond-line);
	border-radius: 8px;
}
.bond-page .metric-grid span {
	color: var(--bond-muted);
}
.bond-page .metric-grid strong {
	display: block;
	margin-top: 8px;
	color: var(--bond-ink);
	font-size: 20px;
	overflow-wrap: anywhere;
}
.bond-page .formula-box {
	background: #f8fbff;
}
.bond-page .formula-box p {
	margin: 8px 0 0;
	color: #405066;
	font-weight: 800;
}
.bond-page .copy-button {
	width: 100%;
	min-height: 48px;
	color: #fff;
	background: var(--bond-teal);
	border: 0;
	border-radius: 7px;
	font: inherit;
	font-weight: 900;
	cursor: pointer;
}
.bond-page .copy-button:hover,
.bond-page .copy-button:focus {
	background: #0e705f;
}
.bond-page .copy-status {
	min-height: 20px;
	margin: 0;
	color: var(--bond-teal);
	font-size: 13px;
	font-weight: 800;
}
.bond-page .schedule-card {
	grid-column: 1 / -1;
	background: #fbfdff;
}
.bond-page .schedule-heading {
	display: flex;
	gap: 16px;
	align-items: start;
	justify-content: space-between;
	margin-bottom: 14px;
}
.bond-page .schedule-heading p {
	margin: 6px 0 0;
	color: var(--bond-muted);
}
.bond-page .legend {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	color: #405066;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}
.bond-page .legend i {
	display: inline-block;
	width: 14px;
	height: 8px;
	margin-right: 5px;
	background: var(--bond-gold);
	border-radius: 5px;
}
.bond-page .legend span:nth-child(2) i {
	background: var(--bond-teal);
}
.bond-page .flow-bars {
	display: flex;
	gap: 8px;
	align-items: end;
	min-height: 190px;
	margin-bottom: 16px;
	padding: 16px;
	overflow-x: auto;
	background: var(--bond-soft);
	border: 1px solid var(--bond-line);
	border-radius: 8px;
}
.bond-page .flow-bars div {
	display: grid;
	grid-template-rows: 1fr auto;
	min-width: 42px;
	height: 158px;
	align-items: end;
	text-align: center;
}
.bond-page .flow-bars .stack {
	display: grid;
	align-items: end;
	height: 140px;
}
.bond-page .flow-bars b,
.bond-page .flow-bars em {
	display: block;
	width: 100%;
	min-height: 3px;
}
.bond-page .flow-bars b {
	background: var(--bond-teal);
	border-radius: 5px 5px 0 0;
}
.bond-page .flow-bars em {
	background: var(--bond-gold);
	border-radius: 0 0 5px 5px;
}
.bond-page .flow-bars strong {
	margin-top: 6px;
	color: #26354b;
	font-size: 12px;
}
.bond-page .table-wrap {
	max-height: 380px;
	overflow: auto;
	border: 1px solid var(--bond-line);
	border-radius: 8px;
}
.bond-page table {
	width: 100%;
	min-width: 680px;
	border-collapse: collapse;
}
.bond-page th,
.bond-page td {
	padding: 12px;
	border-bottom: 1px solid var(--bond-line);
	text-align: left;
}
.bond-page th {
	position: sticky;
	top: 0;
	z-index: 1;
	background: #f7fbff;
	color: #26354b;
	font-size: 13px;
}
.bond-page td {
	color: var(--bond-ink);
}
.bond-page .bond-section,
.bond-page .disclaimer {
	margin-bottom: 22px;
	padding: 26px;
}
.bond-page .two-col {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
	gap: 22px;
}
.bond-page .source-card {
	padding: 20px;
	background: linear-gradient(135deg, #f6fbff, #f7f3e9);
	border: 1px solid var(--bond-line);
	border-radius: 8px;
}
.bond-page .source-card a {
	color: #0f7564;
	font-weight: 900;
}
.bond-page .section-heading {
	max-width: 820px;
	margin-bottom: 16px;
}
.bond-page .example-grid,
.bond-page .related-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}
.bond-page .example-grid article,
.bond-page .related-grid a {
	padding: 18px;
	background: var(--bond-soft);
	border: 1px solid var(--bond-line);
	border-radius: 8px;
}
.bond-page .example-grid h3,
.bond-page .related-grid strong {
	display: block;
	color: var(--bond-ink);
	font-size: 18px;
}
.bond-page .example-grid p,
.bond-page .related-grid p {
	margin: 8px 0 0;
	color: var(--bond-muted);
}
.bond-page .related-grid a {
	color: inherit;
	text-decoration: none;
}
.bond-page .related-grid a:hover {
	border-color: var(--bond-teal);
}
.bond-page .related-grid span {
	color: var(--bond-teal);
}
.bond-page .formula-large {
	display: inline-block;
	margin: 10px 0;
	padding: 16px 20px;
	color: #fff;
	background: var(--bond-deep);
	border-radius: 8px;
	font-size: clamp(20px, 3vw, 32px);
	font-weight: 900;
}
.bond-page .faq-section details {
	padding: 16px 0;
	border-bottom: 1px solid var(--bond-line);
}
.bond-page .faq-section summary {
	cursor: pointer;
	color: var(--bond-ink);
	font-weight: 900;
}
.bond-page .faq-section p,
.bond-page .disclaimer p {
	color: var(--bond-muted);
}
@media (max-width: 980px) {
	.bond-page .bond-hero,
	.bond-page .tool-panel.is-active,
	.bond-page .two-col {
		grid-template-columns: 1fr;
	}
	.bond-page .example-grid,
	.bond-page .related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 680px) {
	.bond-page .bond-hero,
	.bond-page .bond-tool,
	.bond-page .bond-section,
	.bond-page .disclaimer {
		padding: 18px;
	}
	.bond-page .field-grid,
	.bond-page .metric-grid,
	.bond-page .mode-grid,
	.bond-page .example-grid,
	.bond-page .related-grid {
		grid-template-columns: 1fr;
	}
	.bond-page .schedule-heading {
		display: block;
	}
	.bond-page .legend {
		margin-top: 12px;
	}
}
