/* Longevity Risk Calculator - scoped styles (.lon-) */

.lon-root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #083141;
  max-width: 1100px;
  margin: 0 auto;
}

.lon-container {
  border: 2px solid #083141;
  border-radius: 20px;
  padding: 24px 24px 28px;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  box-shadow: 0 8px 24px rgba(8, 49, 65, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lon-title {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #083141 0%, #234252 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lon-intro {
  margin-top: 0;
  margin-bottom: 1.15rem;
}

.lon-intro-text {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  color: #355562;
  line-height: 1.5;
}

.lon-intro-emphasis {
  font-weight: 600;
  color: #083141;
  margin-top: 0.75rem;
}

/* Steps */

.lon-step {
  margin-top: 1.25rem;
  padding-top: 1.0rem;
  border-top: 1px solid #ebf2f4;
}

.lon-step-title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.lon-step-help {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: #496670;
}

/* Grid */

.lon-grid {
  display: grid;
  gap: 0.75rem;
}

.lon-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 720px) {
  .lon-grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Fields & inputs */

.lon-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.lon-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #234252;
}

.lon-field-help {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: #6b7280;
  font-style: italic;
}

.lon-calculated-value {
  padding: 0.5rem;
  background: #f0f7fa;
  border: 1px solid #083141;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #083141;
  text-align: center;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lon-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.lon-input {
  border: 1px solid #cbd5df;
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  font-size: 0.9rem;
  flex: 1;
  box-sizing: border-box;
  width: 100%;
}

.lon-input:focus {
  outline: 2px solid #083141;
  outline-offset: 2px;
  border-color: #083141;
  box-shadow: 0 0 0 3px rgba(8, 49, 65, 0.1);
}

.lon-input-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.lon-input-button {
  background: #f8fafb;
  border: 1px solid #cbd5df;
  border-radius: 4px;
  width: 28px;
  height: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #083141;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.15s ease;
}

.lon-input-button:hover {
  background: #ebf2f4;
  border-color: #59747c;
}

.lon-input-button:active {
  background: #dbe5ec;
  transform: scale(0.95);
}

.lon-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.lon-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #083141;
}

.lon-slider {
  width: 100%;
}

/* Confidence row */

.lon-confidence-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.lon-conf-value {
  font-size: 0.9rem;
  color: #234252;
  font-weight: 600;
}

/* Summary cards */

.lon-summary-cards {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lon-results-section {
  margin-top: 1.5rem;
}

.lon-results-section-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: #083141;
  margin-bottom: 1rem;
  margin-top: 0;
  padding-bottom: 0.875rem;
  border-bottom: 3px solid #083141;
  letter-spacing: -0.02em;
  position: relative;
  background: linear-gradient(135deg, #083141 0%, #234252 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lon-results-section-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #059669 0%, #10b981 100%);
}

.lon-results-subsection {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
}

.lon-results-subsection:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.lon-results-subsection-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #083141;
  margin: 0 0 1.25rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e5e7eb;
  letter-spacing: -0.01em;
  position: relative;
}

.lon-results-subsection-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, #083141 0%, #59747c 100%);
}

.lon-card-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 720px) {
  .lon-card-row {
    flex-direction: column;
    gap: 0.75rem;
  }
}

.lon-card-row--highlight {
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.lon-card-row:last-child {
  margin-bottom: 0;
}

.lon-card {
  flex: 1;
  border-radius: 14px;
  border: 2px solid #e5e7eb;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
  padding: 1.25rem 1.35rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.lon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #083141 0%, #59747c 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lon-card:hover {
  box-shadow: 0 8px 24px rgba(8, 49, 65, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
  border-color: #083141;
}

.lon-card:hover::before {
  opacity: 1;
}

.lon-card--primary {
  border-color: #cbd5df;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
  border-width: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.lon-card--primary:hover {
  border-color: #083141;
  box-shadow: 0 8px 24px rgba(8, 49, 65, 0.18), 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.lon-card--uk-context {
  border-color: #083141;
  background: linear-gradient(135deg, #f0f7fa 0%, #e0f2f5 50%, #d1e9f0 100%);
  border-width: 2px;
  box-shadow: 0 4px 16px rgba(8, 49, 65, 0.15), 0 2px 8px rgba(8, 49, 65, 0.1);
}

.lon-card--uk-context:hover {
  box-shadow: 0 8px 28px rgba(8, 49, 65, 0.2), 0 4px 12px rgba(8, 49, 65, 0.15);
}

.lon-card--success {
  border-color: #059669;
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 50%, #6ee7b7 100%);
  border-width: 2px;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.25), 0 2px 8px rgba(5, 150, 105, 0.15);
}

.lon-card--success:hover {
  box-shadow: 0 8px 28px rgba(5, 150, 105, 0.3), 0 4px 12px rgba(5, 150, 105, 0.2);
  transform: translateY(-4px);
}

.lon-card--warning {
  border-color: #f59e0b;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-width: 2px;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.15);
}

.lon-card-value--large {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #083141 0%, #234252 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 720px) {
  .lon-card-value--large {
    font-size: 1.6rem;
  }
}

.lon-card-label {
  font-size: 0.75rem;
  color: #496670;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lon-card-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #083141;
  margin: 0.25rem 0;
}

.lon-card-sub {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #3b5565;
  line-height: 1.5;
}

/* Probability block */

.lon-probability-card {
  margin-top: 0.9rem;
}

.lon-prob-card-inner {
  border-radius: 12px;
  border: 1px solid #dbe5ec;
  background: #f9fbfc;
  padding: 0.7rem 0.75rem;
}

.lon-prob-title {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}

.lon-prob-text {
  margin: 0.1rem 0;
  font-size: 0.87rem;
  color: #355562;
}

.lon-prob-text--success {
  color: #059669;
  font-weight: 600;
}

/* Opportunity Badge */

.lon-opportunity-badge {
  background: #f0f7fa;
  border: 2px solid #083141;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.lon-opportunity-badge--success {
  background: #d1fae5;
  border-color: #059669;
}

.lon-opportunity-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.lon-opportunity-content {
  flex: 1;
}

.lon-opportunity-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #083141;
  margin-bottom: 0.5rem;
}

.lon-opportunity-badge--success .lon-opportunity-title {
  color: #059669;
}

.lon-opportunity-text {
  font-size: 0.95rem;
  color: #234252;
  line-height: 1.5;
}

/* Comparison Grid */

.lon-comparison-card {
  margin-top: 1.5rem;
}

.lon-comparison-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: #083141;
}

.lon-comparison-intro {
  margin: 0 0 1.25rem 0;
  font-size: 0.9rem;
  color: #355562;
  line-height: 1.5;
}

.lon-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

@media (max-width: 720px) {
  .lon-comparison-grid {
    grid-template-columns: 1fr;
  }
}

.lon-comparison-item {
  padding: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.lon-comparison-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #083141 0%, #59747c 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lon-comparison-item--active {
  border-color: #083141;
  box-shadow: 0 8px 24px rgba(8, 49, 65, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.lon-comparison-item--active::before {
  opacity: 1;
}

.lon-comparison-item--part-time {
  border-color: #d1fae5;
}

.lon-comparison-item--part-time.lon-comparison-item--active {
  border-color: #059669;
  box-shadow: 0 8px 28px rgba(5, 150, 105, 0.25), 0 4px 12px rgba(5, 150, 105, 0.15);
}

.lon-comparison-item--part-time::before {
  background: linear-gradient(90deg, #059669 0%, #10b981 100%);
}

.lon-comparison-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lon-comparison-value {
  font-size: 2rem;
  font-weight: 900;
  color: #083141;
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.lon-comparison-value--part-time {
  color: #059669;
}

.lon-comparison-balance {
  margin: 1rem 0;
  padding: 0.875rem;
  background: #f9fafb;
  border-radius: 8px;
}

.lon-comparison-balance-label {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.lon-comparison-balance-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #083141;
  line-height: 1.2;
}

.lon-comparison-balance-value--part-time {
  color: #059669;
}

.lon-comparison-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #6b7280;
  font-style: italic;
}

.lon-comparison-benefits {
  margin-top: 0.75rem;
}

.lon-comparison-benefit {
  font-size: 0.85rem;
  color: #059669;
  font-weight: 600;
  margin-top: 0.375rem;
  line-height: 1.4;
}

.lon-comparison-benefit:first-child {
  margin-top: 0;
}

.lon-comparison-insight {
  margin-top: 1.25rem;
  padding: 1rem;
  background: #f0f9ff;
  border-radius: 8px;
  border: 1px solid #bae6fd;
}

.lon-comparison-insight-text {
  margin: 0;
  font-size: 0.875rem;
  color: #1e40af;
  line-height: 1.6;
}

/* Chart */

.lon-chart-section {
  margin-top: 0.9rem;
}

.lon-chart-card {
  border-radius: 16px;
  border: 2px solid #e5e7eb;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.lon-chart-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.lon-chart-title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.lon-chart-caption {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #6b7f8a;
}

.lon-chart-wrapper {
  overflow-x: auto;
}

.lon-chart-svg {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

.lon-chart-svg:not([width]) {
  aspect-ratio: 640 / 260;
}

.lon-chart-axis line {
  stroke: #9caebe;
  stroke-width: 1;
}

.lon-chart-grid line {
  stroke: #e5edf2;
  stroke-width: 1;
  stroke-dasharray: 3 3;
}

.lon-chart-legend text {
  fill: #234252;
}

/* Table */

.lon-table-section {
  margin-top: 1rem;
}

.lon-table-card {
  border-radius: 16px;
  border: 2px solid #e5e7eb;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.lon-table-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.lon-table-title {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.lon-table-subtitle {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: #6b7280;
  font-style: italic;
}

/* Section Dividers */

.lon-section-divider {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.lon-section-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #083141;
}

/* Info Box */

.lon-info-box {
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: #f0f9ff;
  border-radius: 8px;
  border: 1px solid #bae6fd;
}

.lon-info-box-title {
  margin: 0 0 0.625rem 0;
  font-size: 0.95rem;
  color: #083141;
  font-weight: 600;
  line-height: 1.3;
}

.lon-info-box-text {
  margin: 0 0 0.5rem 0;
  font-size: 0.875rem;
  color: #1e40af;
  line-height: 1.5;
}

.lon-info-box-text:last-child {
  margin-bottom: 0;
}

.lon-info-box-list {
  margin: 0 0 0.5rem 0;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  color: #1e40af;
  line-height: 1.5;
}

.lon-info-box-list li {
  margin-bottom: 0.25rem;
}

.lon-info-box-list li:last-child {
  margin-bottom: 0;
}

.lon-info-box-emphasis {
  margin: 0;
  font-size: 0.875rem;
  color: #1e40af;
  line-height: 1.5;
  font-weight: 600;
}

.lon-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.lon-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.8rem;
}

.lon-table th,
.lon-table td {
  padding: 0.35rem 0.4rem;
  border-bottom: 1px solid #ebf2f4;
  text-align: right;
}

.lon-table th:first-child,
.lon-table td:first-child,
.lon-table th:nth-child(2),
.lon-table td:nth-child(2) {
  text-align: left;
}

.lon-table thead th {
  background: #ebf2f4;
  font-weight: 600;
  color: #234252;
}

/* Warning card */

.lon-warning-card {
  margin-top: 1rem;
  border-radius: 14px;
  border: 2px solid #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  padding: 1rem 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.15);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.15);
  }
  50% {
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.25);
  }
}

.lon-warning-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.lon-warning-content {
  flex: 1;
}

.lon-warning-title {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  color: #dc2626;
}

.lon-warning-text {
  margin: 0;
  font-size: 0.9rem;
  color: #7f1d1d;
  line-height: 1.5;
}

/* UK Context Section */

.lon-uk-context-section {
  margin-top: 1rem;
}

.lon-uk-context-card {
  border-radius: 14px;
  border: 2px solid #083141;
  background: linear-gradient(135deg, #f0f7fa 0%, #e0f2f5 50%, #d1e9f0 100%);
  padding: 1rem 1.25rem;
  box-shadow: 0 4px 16px rgba(8, 49, 65, 0.12);
}

.lon-uk-context-title {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #083141;
}

.lon-uk-context-text {
  margin: 0.3rem 0;
  font-size: 0.87rem;
  color: #234252;
  line-height: 1.5;
}

.lon-uk-context-stat {
  font-weight: 600;
  color: #083141;
}

/* Portfolio & Investment Cards */

.lon-portfolio-summary {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f0f7fa 0%, #e0f2f5 50%, #d1e9f0 100%);
  border-radius: 16px;
  border: 2px solid #083141;
  box-shadow: 0 4px 16px rgba(8, 49, 65, 0.15), 0 2px 8px rgba(8, 49, 65, 0.1);
}

.lon-portfolio-total,
.lon-portfolio-weighted-return {
  flex: 1;
  text-align: center;
}

.lon-portfolio-total-label,
.lon-portfolio-return-label {
  font-size: 0.85rem;
  color: #496670;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.lon-portfolio-total-value {
  font-size: 2.25rem;
  font-weight: 900;
  color: #083141;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #083141 0%, #234252 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lon-portfolio-return-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #059669;
  letter-spacing: -0.01em;
}

.lon-investments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 720px) {
  .lon-investments-grid {
    grid-template-columns: 1fr;
  }
  
  .lon-portfolio-summary {
    flex-direction: column;
    gap: 0.75rem;
  }
}

.lon-investment-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
}

.lon-investment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #083141 0%, #59747c 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 14px 14px 0 0;
}

.lon-investment-card:hover {
  border-color: #083141;
  box-shadow: 0 8px 24px rgba(8, 49, 65, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.lon-investment-card:hover::before {
  opacity: 1;
}

.lon-investment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.lon-investment-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #083141;
}

.lon-investment-percentage {
  font-size: 0.85rem;
  font-weight: 600;
  color: #59747c;
  background: #ebf2f4;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

.lon-investment-bar {
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.lon-investment-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #083141 0%, #59747c 100%);
  transition: width 0.3s ease;
  border-radius: 4px;
}

.lon-investment-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.lon-investment-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.lon-investment-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #496670;
}

.lon-investment-value {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #083141;
  padding-top: 0.5rem;
  border-top: 1px solid #e5e7eb;
}

/* Empty states */

.lon-chart-empty {
  font-size: 0.85rem;
  color: #6b7f8a;
}

/* Footer */

.lon-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid #e5e7eb;
}

.lon-footer-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.lon-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid #083141;
  border-radius: 8px;
  background: #ffffff;
  color: #083141;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.lon-btn:hover {
  background: #083141;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 49, 65, 0.2);
}

.lon-btn:active {
  transform: translateY(0);
}

.lon-btn--reset {
  border-color: #6b7280;
  color: #6b7280;
}

.lon-btn--reset:hover {
  background: #6b7280;
  color: #ffffff;
  border-color: #6b7280;
}

.lon-btn--download {
  border-color: #059669;
  color: #059669;
}

.lon-btn--download:hover {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
}

/* Print */

@media print {
  .lon-root {
    max-width: 100%;
    box-shadow: none;
  }
  .lon-container {
    box-shadow: none;
    border: 1px solid #cbd5df;
  }
  .lon-footer {
    display: none;
  }
}
