.ha-body {
	background: #d8e6f4;
	min-height: 100vh;
	padding: 1rem;
	line-height: 1.5;
	padding-top: 36px;
	padding-bottom: 36px;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input[type="number"] {
	-moz-appearance: textfield;
}

.calculator-container {
	max-width: 1170px;
	margin: 0 auto;
}

/* Header */
.calculator-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.header-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.brand-icon {
	padding: 0.625rem;
	border-radius: 0.75rem;
	background: #3c82f6;
	box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
}

.brand-icon svg {
	width: 30px;
	height: 30px;
	stroke: white;
}

.brand-text h1 {
	font-size: clamp(1rem, 4vw, 2rem);
	font-weight: 700;
}

.brand-text h1 .highlight {
	background: #3c82f6;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.brand-text p {
	font-size: 0.75rem;
	color: #94a3b8;
}

.glossary-btn {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	border-radius: 0.75rem;
	border: 1px solid #334155;
	font-size: 0.875rem;
	cursor: pointer;
	transition: all 0.2s;
	padding-left: 20px;
	padding-right: 20px;
}

.glossary-btn .ha-blk-wht-frst, .glossary-btn .ha-blk-wht-scnd {
	display: flex;
	align-items: center;
	gap: 8px;
}

.glossary-btn svg {
	width: 16px;
	height: 16px;
}

/* Main Grid */
.calculator-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 1024px) {
	.calculator-grid {
		grid-template-columns: 2fr 3fr;
	}
}

/* Section Cards */
.section {
	border-radius: 1rem;
	border: 1px solid;
	overflow: hidden;
	backdrop-filter: blur(8px);
}

.section.emerald {
	background-color: #fff;
	border-color: rgba(16, 185, 129, 0.3);
	margin-bottom: 1rem;
}

.section.blue {
	background-color: #fff;
	border-color: rgba(59, 130, 246, 0.3);
	margin-bottom: 1rem;
}

.section.amber {
	background-color: #fff;
	border-color: rgba(245, 158, 11, 0.3);
	margin-bottom: 1rem;
}

.section.purple {
	background-color: #fff;
	border-color: rgba(168, 85, 247, 0.3);
	margin-bottom: 1rem;
}

.section.rose {
	border-color: rgba(244, 63, 94, 0.3);
	margin-bottom: 1rem;
	background-color: #fff;
}

.section-header {
	width: 100%;
	padding: 1rem 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: transparent;
	border: none;
	cursor: pointer;
	transition: background 0.2s;
}

.section-header:hover {
	background: rgba(255, 255, 255, 0.03);
}

.section-header-left {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.section-icon {
	padding: 0.5rem;
	border-radius: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.section-icon svg {
	width: 18px;
	height: 18px;
}

.section.emerald .section-icon {
	background: rgba(16, 185, 129, 0.2);
	/* color: #28a745; */
}

.section.blue .section-icon {
	background: rgba(59, 130, 246, 0.2);
	color: #60a5fa;
}

.section.amber .section-icon {
	background: rgba(245, 158, 11, 0.2);
	color: #fbbf24;
}

.section.purple .section-icon {
	background: rgba(168, 85, 247, 0.2);
	color: #c084fc;
}

.section.rose .section-icon {
	background: rgba(244, 63, 94, 0.2);
	color: #fb7185;
}

.section-icon svg {
	stroke: currentColor;
}

.section-title {
	font-weight: 600;
}

.section-chevron {
	color: #94a3b8;
	transition: transform 0.3s;
}

.section-chevron svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
}

.section.collapsed .section-chevron {
	transform: rotate(-90deg);
}

.section-content {
	padding: 0 1.25rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.section.collapsed .section-content {
	display: none;
}

/* Input Fields */
.input-group {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

.input-label {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.875rem;
	font-weight: 500;
}

.tooltip-trigger {
	color: #94a3b8;
	cursor: help;
	position: relative;
	display: inline-flex;
}

.tooltip-trigger:hover {
	color: #10b981;
}

.tooltip-trigger svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
}

.tooltip-content {
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: 0.5rem;
	padding: 0.75rem;
	background: #1e293b;
	border-radius: 0.5rem;
	font-size: 0.75rem;
	font-weight: 400;
	color: white;
	width: 250px;
	line-height: 1.5;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	z-index: 100;
	display: none;
}

.tooltip-trigger:hover .tooltip-content {
	display: block;
}

.tooltip-content::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-top-color: #1e293b;
}

.input-wrapper {
	position: relative;
}

.input-prefix,
.input-suffix {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
	font-size: 0.875rem;
	pointer-events: none;
}

.input-prefix {
	left: 0.75rem;
}

.input-suffix {
	right: 0.75rem;
}

.input-field {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid rgba(71, 85, 105, 0.5);
	border-radius: 0.75rem;
	font-size: 1rem;
	transition: all 0.2s;
}

.input-field:focus {
	outline: none;
	border-color: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.input-field.has-prefix {
	padding-left: 2rem;
}

.input-field.has-suffix {
	padding-right: 3rem;
}

.input-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
}

/* Slider Input */
.slider-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.slider-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.slider-value {
	font-size: 0.875rem;
	font-weight: 600;
	color: #28a745;
}

.slider-input {
	width: 100%;
	height: 8px;
	background: #334155;
	border-radius: 9999px;
	appearance: none;
	cursor: pointer;
}

.slider-input::-webkit-slider-thumb {
	appearance: none;
	width: 20px;
	height: 20px;
	background: #3c82f6;
	border-radius: 50%;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.slider-input::-moz-range-thumb {
	width: 20px;
	height: 20px;
	background: #3c82f6;
	border-radius: 50%;
	cursor: pointer;
	border: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.slider-range {
	display: flex;
	justify-content: space-between;
	font-size: 0.75rem;
	color: #64748b;
}

/* Summary Box */
.summary-box {
	border: 1px solid rgba(71, 85, 105, 0.5);
	border-radius: 0.75rem;
	padding: 0.75rem;
}

.summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.875rem;
}

.summary-row+.summary-row {
	margin-top: 0.5rem;
}

.summary-value.emerald {
	color: #28a745;
	font-weight: 600;
}

.summary-value.blue {
	color: #60a5fa;
	font-weight: 600;
}

.summary-value.purple {
	color: #28a745;
	font-weight: 600;
}

/* Results Panel */
.results-panel {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.results-card {
	background-color: #fff;
	border: 1px solid rgba(71, 85, 105, 0.5);
	border-radius: 1.5rem;
	padding: 1.25rem;
}

.results-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.results-title {
	font-size: 1.125rem;
	font-weight: 700;
}

.cash-flow-badge {
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	font-size: 0.75rem;
	font-weight: 600;
}

.cash-flow-badge.positive {
	background: rgba(16, 185, 129, 0.2);
	color: #28a745;
	border: 1px solid rgba(16, 185, 129, 0.3);
}

.cash-flow-badge.negative {
	background: rgba(244, 63, 94, 0.2);
	color: #fb7185;
	border: 1px solid rgba(244, 63, 94, 0.3);
}

/* Metric Cards Grid */
.metrics-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
}

@media (min-width: 768px) {
	.metrics-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.metric-card {
	border-radius: 1rem;
	padding: 1rem;
	border: 1px solid;
}

.metric-card.emerald {
	background: rgba(16, 185, 129, 0.1);
	border-color: rgba(16, 185, 129, 0.2);
}

.metric-card.blue {
	background: rgba(59, 130, 246, 0.1);
	border-color: rgba(59, 130, 246, 0.2);
}

.metric-card.amber {
	background: rgba(245, 158, 11, 0.1);
	border-color: rgba(245, 158, 11, 0.2);
}

.metric-card.purple {
	background: rgba(168, 85, 247, 0.1);
	border-color: rgba(168, 85, 247, 0.2);
}

.metric-card.rose {
	background: rgba(244, 63, 94, 0.1);
	border-color: rgba(244, 63, 94, 0.2);
}

.metric-card.cyan {
	background: rgba(6, 182, 212, 0.1);
	border-color: rgba(6, 182, 212, 0.2);
}

.metric-header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.metric-icon {
	padding: 0.375rem;
	border-radius: 0.5rem;
	display: flex;
}

.metric-icon svg {
	width: 14px;
	height: 14px;
	stroke: white;
}

.metric-card.emerald .metric-icon {
	background: linear-gradient(135deg, #10b981, #059669);
}

.metric-card.blue .metric-icon {
	background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.metric-card.amber .metric-icon {
	background: linear-gradient(135deg, #f59e0b, #d97706);
}

.metric-card.purple .metric-icon {
	background: linear-gradient(135deg, #a855f7, #9333ea);
}

.metric-card.rose .metric-icon {
	background: linear-gradient(135deg, #f43f5e, #e11d48);
}

.metric-card.cyan .metric-icon {
	background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.metric-label {
	font-size: 0.625rem;
	font-weight: 500;
	color: #656f7d;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.metric-value {
	font-size: 1.5rem;
	font-weight: 700;
}

.metric-subvalue {
	font-size: 0.75rem;
	color: #656f7d;
	margin-top: 0.25rem;
}

/* DSCR Detail Box */
.dscr-box {
	background-color: #fff;
	border: 1px solid rgba(59, 130, 246, 0.3);
	border-radius: 1rem;
	padding: 1rem;
}

.dscr-header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.dscr-header svg {
	width: 18px;
	height: 18px;
	stroke: #000;
}

.dscr-header span {
	font-weight: 600;
	color: #000;
}

.dscr-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.dscr-item label {
	font-size: 0.75rem;
	display: block;
}

.dscr-item p {
	font-weight: 600;
	font-size: 1rem;
}

.dscr-item p.highlight {
	font-size: 1.125rem;
	font-weight: 700;
}

.dscr-item p.highlight.good {
	color: #28a745;
}

.dscr-item p.highlight.warn {
	color: #fbbf24;
}

.dscr-item p.highlight.bad {
	color: #fb7185;
}

.dscr-formula {
	font-size: 0.75rem;
	color: #94a3b8;
	margin-top: 0.75rem;
}

/* Cash Flow Breakdown */
.breakdown-section {
	margin-bottom: 1rem;
}

.breakdown-section h3 {
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.breakdown-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.25rem 0;
	font-size: 0.875rem;
}

.breakdown-row.indent {
	padding-left: 1rem;
}

.breakdown-row.indent .breakdown-label {
	color: #64748b;
}

.breakdown-value {
	font-weight: 500;
}

.breakdown-value.positive {
	color: #28a745;
}

.breakdown-value.negative {
	color: #fb7185;
}

.breakdown-value.white {
	color: white;
}

.breakdown-divider {
	border-top: 1px solid #334155;
	margin: 0.5rem 0;
}

.breakdown-total {
	font-weight: 600;
}

.noi-box {
	background: #fff;
	border: 1px solid rgba(71, 85, 105, 0.5);
	border-radius: 0.75rem;
	padding: 0.75rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0.5rem 0;
}

.noi-box .breakdown-label {
	font-weight: 600;
}

.noi-box .breakdown-value {
	font-size: 1.125rem;
	font-weight: 700;
	color: #fbbf24;
}

.cashflow-result {
	border-radius: 0.75rem;
	padding: 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 0.5rem;
}

.cashflow-result.positive {
	background: rgba(16, 185, 129, 0.1);
	border: 1px solid rgba(16, 185, 129, 0.3);
}

.cashflow-result.negative {
	background: rgba(244, 63, 94, 0.1);
	border: 1px solid rgba(244, 63, 94, 0.3);
}

.cashflow-result .breakdown-label {
	font-size: 1.125rem;
	font-weight: 700;
}

.cashflow-result .breakdown-value {
	font-size: 1.5rem;
	font-weight: 700;
}

/* First Year Return Cards */
.return-cards {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.return-card {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem;
	border-radius: 0.75rem;
	border: 1px solid;
}

.return-card.emerald {
	background: rgba(16, 185, 129, 0.1);
	border-color: rgba(16, 185, 129, 0.2);
}

.return-card.blue {
	background: rgba(59, 130, 246, 0.1);
	border-color: rgba(59, 130, 246, 0.2);
}

.return-card.purple {
	background: rgba(168, 85, 247, 0.1);
	border-color: rgba(168, 85, 247, 0.2);
}

.return-card-left h4 {
	font-weight: 500;
}

.return-card-left p {
	font-size: 0.75rem;
	color: #94a3b8;
}

.return-card-value {
	font-weight: 700;
}

.return-card.emerald .return-card-value {
	color: #28a745;
}

.return-card.blue .return-card-value {
	color: #60a5fa;
}

.return-card.purple .return-card-value {
	color: #c084fc;
}

.total-return-card {
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid #334155;
}

.total-return-box {
	background: linear-gradient(90deg, rgba(16, 185, 129, 0.2), rgba(59, 130, 246, 0.2));
	border: 1px solid rgba(16, 185, 129, 0.3);
	border-radius: 0.75rem;
	padding: 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.total-return-left h4 {
	font-weight: 700;
}

.total-return-left p {
	font-size: 0.75rem;
	color: #94a3b8;
}

.total-return-right {
	text-align: right;
}

.total-return-amount {
	font-size: 1.5rem;
	font-weight: 700;
	color: #28a745;
}

.total-return-percent {
	font-size: 0.875rem;
	font-weight: 600;
	color: #45bf8f;
}

/* Projections Toggle */
.projections-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem;
	background: #fff;
	border: 1px solid rgba(71, 85, 105, 0.5);
	border-radius: 1rem;
	cursor: pointer;
	transition: border-color 0.2s;
}

.projections-toggle:hover {
	border-color: rgba(6, 182, 212, 0.5);
}

.projections-toggle-left {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.projections-icon {
	padding: 0.5rem;
	border-radius: 0.75rem;
	background: rgba(6, 182, 212, 0.2);
}

.projections-icon svg {
	width: 18px;
	height: 18px;
	stroke: #22d3ee;
}

.projections-toggle span {
	font-weight: 600;
}

.projections-chevron {
	color: #94a3b8;
	transition: transform 0.3s;
}

.projections-chevron svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
}

.projections-toggle.open .projections-chevron {
	transform: rotate(180deg);
}

/* Projections Content */
.projections-content {
	display: none;
}

.projections-content.open {
	display: block;
}

.exit-summary {
	background: linear-gradient(90deg, rgba(6, 182, 212, 0.1), rgba(59, 130, 246, 0.1));
	border: 1px solid rgba(6, 182, 212, 0.3);
	border-radius: 1rem;
	padding: 1rem;
	margin-bottom: 1.5rem;
}

.exit-summary h4 {
	font-size: 0.875rem;
	font-weight: 600;
	color: #3c82f6;
	margin-bottom: 0.75rem;
}

.exit-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

@media (min-width: 768px) {
	.exit-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.exit-item label {
	font-size: 0.75rem;
	color: #94a3b8;
	display: block;
}

.exit-item p {
	font-size: 1.125rem;
	font-weight: 700;
}

.exit-item p.emerald {
	color: #28a745;
}

.exit-item p.blue {
	color: #60a5fa;
}

.exit-footer {
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid rgba(71, 85, 105, 0.5);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.exit-footer span {
	color: #767f8b;
}

.exit-footer strong {
	font-size: 1.25rem;
	color: #28a745;
}

/* Projections Table */
.projections-table-wrapper {
	overflow-x: auto;
	margin: 0 -1.25rem;
	padding: 0 1.25rem;
}

.projections-table {
	width: 100%;
	font-size: 0.875rem;
	border-collapse: collapse;
}

.projections-table th {
	text-align: left;
	padding: 0.5rem;
	color: #94a3b8;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 500;
}

.projections-table th:not(:first-child) {
	text-align: right;
}

.projections-table td {
	padding: 0.5rem;
	border-top: 1px solid rgba(71, 85, 105, 0.5);
}

.projections-table td:not(:first-child) {
	text-align: right;
}

.projections-table tr.exit-year {
	background: rgba(16, 185, 129, 0.1);
}

.projections-table .year-cell {
	font-weight: 500;
}

.projections-table .exit-badge {
	font-size: 0.75rem;
	color: #28a745;
	margin-left: 0.5rem;
}

.projections-table .value-cell {
	color: #8f969e;
}

.projections-table .positive {
	color: #28a745;
	font-weight: 500;
}

.projections-table .negative {
	color: #fb7185;
	font-weight: 500;
}

.projections-table .blue {
	color: #60a5fa;
}

/* Quick Assessment */
.assessment-cards {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.assessment-card {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.75rem;
	border-radius: 0.75rem;
	border: 1px solid;
}

.assessment-card.good {
	background: rgba(16, 185, 129, 0.1);
	border-color: rgba(16, 185, 129, 0.2);
}

.assessment-card.warn {
	background: rgba(245, 158, 11, 0.1);
	border-color: rgba(245, 158, 11, 0.2);
}

.assessment-card.bad {
	background: rgba(244, 63, 94, 0.1);
	border-color: rgba(244, 63, 94, 0.2);
}

.assessment-icon {
	padding: 0.5rem;
	border-radius: 0.5rem;
	flex-shrink: 0;
}

.assessment-card.good .assessment-icon {
	background: rgba(16, 185, 129, 0.2);
}

.assessment-card.warn .assessment-icon {
	background: rgba(245, 158, 11, 0.2);
}

.assessment-card.bad .assessment-icon {
	background: rgba(244, 63, 94, 0.2);
}

.assessment-icon svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
}

.assessment-card.good .assessment-icon svg {
	stroke: #28a745;
}

.assessment-card.warn .assessment-icon svg {
	stroke: #fbbf24;
}

.assessment-card.bad .assessment-icon svg {
	stroke: #fb7185;
}

.assessment-content h4 {
	font-size: 0.875rem;
	font-weight: 500;
}

.assessment-content p {
	font-size: 0.75rem;
	color: #94a3b8;
	margin-top: 0.25rem;
}

/* CTA Section */
.cta-section {
	background: linear-gradient(90deg, #4dabf5, #1470d4);
	border-radius: 1.5rem;
	padding: 1.5rem;
	text-align: center;
}

.cta-section h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: white;
	margin-bottom: 0.5rem;
}

.cta-section p {
	color: #fff;
	font-size: 0.875rem;
	margin-bottom: 1rem;
}

/* Glossary Modal */
.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(4px);
	z-index: 1000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.modal-overlay.open {
	display: flex;
}

.modal-content {
	background: #fff;
	border: 1px solid #334155;
	border-radius: 1.5rem;
	max-width: 650px;
	width: 100%;
	max-height: 85vh;
	overflow: hidden;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-header {
	position: sticky;
	top: 0;
	background: #fff;
	border-bottom: 1px solid #334155;
	padding: 1rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.modal-header h2 {
	font-size: 1.25rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #000;
}

.modal-close {
	padding: 0.5rem;
	border-radius: 0.75rem;
	background: transparent;
	border: none;
	color: #94a3b8;
	cursor: pointer;
	transition: all 0.2s;
}

.modal-close:hover {
	background: #1e293b;
	color: white;
}

.modal-close svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
}

.modal-body {
	overflow-y: auto;
	max-height: calc(85vh - 70px);
	padding: 1.5rem;
}

.glossary-term {
	background: #d8e6f4;
	border: 1px solid rgba(71, 85, 105, 0.5);
	border-radius: 0.75rem;
	padding: 1rem;
	margin-bottom: 1rem;
}

.glossary-term h3 {
	font-weight: 600;
	color: #000;
	margin-bottom: 0.5rem;
}

.glossary-term p {
	font-size: 0.875rem;
	color: #72767a;
	line-height: 1.6;
	margin-bottom: 0.5rem;
}

.glossary-formula {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	padding-top: 0.5rem;
}

.glossary-formula span {
	font-size: 0.75rem;
	color: #38414e;
	flex-shrink: 0;
}

.glossary-formula code {
	font-size: 0.75rem;
	background: #3c82f6;
	padding: 0.25rem 0.5rem;
	border-radius: 0.25rem;
	color: #fff;
}

/* Utility Classes */
.hidden-mobile {
	display: none;
}

@media (min-width: 768px) {
	.hidden-mobile {
		display: table-cell;
	}
}
@media (max-width: 480px) {
	.ha-calc-container {
		padding-top: 70px;
	}
}