.hundredmpm-compound-interest-calculator {
  --bg: #07111f;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.66);
  --muted-2: rgba(255, 255, 255, 0.42);
  --green: #86efac;
  --amber: #fbbf24;
  --shadow: 0 24px 60px rgba(5, 12, 24, 0.4);
  --radius-xl: 2rem;
  --radius-lg: 1.45rem;
  --radius-md: 1rem;
  --font-display: "Avenir Next", "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Avenir Next", "Inter", "Segoe UI", sans-serif;
  position: relative;
  margin: 2rem 0;
  color: var(--text);
  font-family: var(--font-body);
}

.hundredmpm-compound-interest-calculator *,
.hundredmpm-compound-interest-calculator *::before,
.hundredmpm-compound-interest-calculator *::after {
  box-sizing: border-box;
}

.hundredmpm-compound-interest-calculator button,
.hundredmpm-compound-interest-calculator input,
.hundredmpm-compound-interest-calculator select {
  font: inherit;
}

.hundredmpm-compound-interest-calculator button {
  cursor: pointer;
}

.hundredmpm-compound-interest-calculator input::-webkit-outer-spin-button,
.hundredmpm-compound-interest-calculator input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.hundredmpm-compound-interest-calculator input[type="number"] {
  -moz-appearance: textfield;
}

.hundredmpm-compound-interest-calculator__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hundredmpm-compound-interest-calculator__page-bg {
  position: absolute;
  inset: 0;
  border-radius: calc(var(--radius-xl) + 0.5rem);
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.2), transparent 26%),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.18), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(56, 189, 248, 0.12), transparent 35%);
  pointer-events: none;
}

.hundredmpm-compound-interest-calculator__shell {
  position: relative;
  padding: 2rem 1.5rem 1.5rem;
  background: var(--bg);
  border-radius: calc(var(--radius-xl) + 0.5rem);
  overflow: hidden;
}

.hundredmpm-compound-interest-calculator__hero {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hundredmpm-compound-interest-calculator__title {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hundredmpm-compound-interest-calculator__grid {
  display: grid;
  grid-template-columns: minmax(320px, 370px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.hundredmpm-compound-interest-calculator__control-panel,
.hundredmpm-compound-interest-calculator__results-panel {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hundredmpm-compound-interest-calculator__control-panel {
  padding: 1.3rem;
}

.hundredmpm-compound-interest-calculator__panel-head,
.hundredmpm-compound-interest-calculator__results-headline,
.hundredmpm-compound-interest-calculator__results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.hundredmpm-compound-interest-calculator__panel-head {
  margin-bottom: 1.15rem;
}

.hundredmpm-compound-interest-calculator__panel-label,
.hundredmpm-compound-interest-calculator__stat-label,
.hundredmpm-compound-interest-calculator__table th {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hundredmpm-compound-interest-calculator__stat-label--with-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.hundredmpm-compound-interest-calculator__live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  padding: 0.48rem 0.84rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: rgba(34, 211, 238, 0.1);
  color: #cffafe;
  font-size: 0.88rem;
}

.hundredmpm-compound-interest-calculator__status-dot {
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.35);
  animation: hundredmpm-compound-interest-calculator-pulse 2.6s ease-out infinite;
}

.hundredmpm-compound-interest-calculator__form {
  display: grid;
  gap: 1rem;
}

.hundredmpm-compound-interest-calculator__field,
.hundredmpm-compound-interest-calculator__mini-field {
  display: grid;
  gap: 0.55rem;
}

.hundredmpm-compound-interest-calculator__field > span,
.hundredmpm-compound-interest-calculator__mini-field > span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.94rem;
}

.hundredmpm-compound-interest-calculator__field-row {
  display: grid;
  gap: 0.85rem;
}

.hundredmpm-compound-interest-calculator__field-row--two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hundredmpm-compound-interest-calculator__field--split-top {
  padding-top: 0.2rem;
}

.hundredmpm-compound-interest-calculator__compound-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 0;
}

.hundredmpm-compound-interest-calculator__input-shell,
.hundredmpm-compound-interest-calculator select,
.hundredmpm-compound-interest-calculator__mini-field input,
.hundredmpm-compound-interest-calculator__tab-button,
.hundredmpm-compound-interest-calculator__primary-button,
.hundredmpm-compound-interest-calculator__stat-card,
.hundredmpm-compound-interest-calculator__chart-card,
.hundredmpm-compound-interest-calculator__table-card,
.hundredmpm-compound-interest-calculator__info-card {
  border-radius: var(--radius-md);
}

.hundredmpm-compound-interest-calculator__input-shell,
.hundredmpm-compound-interest-calculator select,
.hundredmpm-compound-interest-calculator__mini-field input {
  width: 100%;
  min-height: 3.35rem;
  border: 1px solid var(--border);
  background: rgba(8, 18, 34, 0.78);
  color: var(--text);
}

.hundredmpm-compound-interest-calculator__input-shell {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hundredmpm-compound-interest-calculator__prefix {
  padding: 0 0 0 1rem;
  color: var(--muted);
  font-weight: 600;
}

.hundredmpm-compound-interest-calculator__input-shell input {
  width: 100%;
  min-height: 3.35rem;
  border: 0;
  outline: none;
  padding: 0 1rem 0 0.65rem;
  background: transparent;
  color: var(--text);
  font-size: 1.05rem;
}

.hundredmpm-compound-interest-calculator select,
.hundredmpm-compound-interest-calculator__mini-field input {
  outline: none;
  padding: 0 1rem;
}

.hundredmpm-compound-interest-calculator__compound-row select {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  margin-left: -1px;
}

.hundredmpm-compound-interest-calculator__compound-row .hundredmpm-compound-interest-calculator__input-shell {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.hundredmpm-compound-interest-calculator__mini-field input {
  font-size: 1.05rem;
}

.hundredmpm-compound-interest-calculator__primary-button {
  min-height: 4.35rem;
  margin-top: 0.45rem;
  border: 1px solid rgba(103, 232, 249, 0.2);
  background: linear-gradient(135deg, #1d4ed8, #7c3aed);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 20px 45px rgba(49, 46, 129, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hundredmpm-compound-interest-calculator__primary-button:hover,
.hundredmpm-compound-interest-calculator__tab-button:hover {
  transform: translateY(-1px);
}

.hundredmpm-compound-interest-calculator__results-panel {
  overflow: hidden;
}

.hundredmpm-compound-interest-calculator__results-toolbar {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.hundredmpm-compound-interest-calculator__tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hundredmpm-compound-interest-calculator__tab-button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
}

.hundredmpm-compound-interest-calculator__tab-button.is-active {
  border-color: rgba(103, 232, 249, 0.3);
  background: rgba(34, 211, 238, 0.12);
  color: #d9faff;
}

.hundredmpm-compound-interest-calculator__tab-icon {
  color: inherit;
}

.hundredmpm-compound-interest-calculator__granularity-select select {
  min-width: 120px;
}

.hundredmpm-compound-interest-calculator__results-body {
  padding: 1.4rem;
}

.hundredmpm-compound-interest-calculator__results-headline {
  align-items: start;
  margin-bottom: 1.25rem;
}

.hundredmpm-compound-interest-calculator__projection-title {
  margin: 0.45rem 0 0;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  line-height: 1.15;
  color: var(--text);
}

.hundredmpm-compound-interest-calculator__stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.15rem;
}

.hundredmpm-compound-interest-calculator__stat-card,
.hundredmpm-compound-interest-calculator__chart-card,
.hundredmpm-compound-interest-calculator__table-card,
.hundredmpm-compound-interest-calculator__info-card {
  border: 1px solid var(--border);
  background: var(--panel-2);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
}

.hundredmpm-compound-interest-calculator__stat-card,
.hundredmpm-compound-interest-calculator__info-card {
  padding: 1.15rem;
}

.hundredmpm-compound-interest-calculator__stat-value {
  margin: 0.55rem 0 0;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hundredmpm-compound-interest-calculator__stat-card--green .hundredmpm-compound-interest-calculator__stat-value {
  color: var(--green);
}

.hundredmpm-compound-interest-calculator__stat-card--amber .hundredmpm-compound-interest-calculator__stat-value {
  color: var(--amber);
}

.hundredmpm-compound-interest-calculator__stat-value--muted {
  color: rgba(255, 255, 255, 0.76);
}

.hundredmpm-compound-interest-calculator__tab-panel {
  display: none;
}

.hundredmpm-compound-interest-calculator__tab-panel.is-active {
  display: block;
}

.hundredmpm-compound-interest-calculator__chart-card,
.hundredmpm-compound-interest-calculator__table-card {
  padding: 1rem;
}

.hundredmpm-compound-interest-calculator__chart-card {
  position: relative;
}

.hundredmpm-compound-interest-calculator__chart-legend {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.hundredmpm-compound-interest-calculator__chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hundredmpm-compound-interest-calculator__legend-swatch {
  display: inline-block;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 0.28rem;
}

.hundredmpm-compound-interest-calculator__legend-swatch--deposit {
  background: rgba(255, 255, 255, 0.35);
}

.hundredmpm-compound-interest-calculator__legend-swatch--profit {
  background: rgba(251, 191, 36, 0.85);
}

.hundredmpm-compound-interest-calculator__legend-swatch--balance {
  background: linear-gradient(135deg, #67e8f9, #38bdf8);
}

.hundredmpm-compound-interest-calculator__chart {
  width: 100%;
  height: auto;
  display: block;
  cursor: crosshair;
}

.hundredmpm-compound-interest-calculator__table {
  width: 100%;
  border-collapse: collapse;
}

.hundredmpm-compound-interest-calculator__table th,
.hundredmpm-compound-interest-calculator__table td {
  padding: 0.95rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hundredmpm-compound-interest-calculator__table th {
  color: var(--muted-2);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hundredmpm-compound-interest-calculator__table td {
  color: rgba(255, 255, 255, 0.84);
}

.hundredmpm-compound-interest-calculator__info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.hundredmpm-compound-interest-calculator__info-card h4 {
  margin: 0.55rem 0 0.75rem;
  color: var(--text);
  font-size: 1.2rem;
}

.hundredmpm-compound-interest-calculator__info-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hundredmpm-compound-interest-calculator__info-badge {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  outline: none;
}

.hundredmpm-compound-interest-calculator__info-badge::after {
  content: attr(aria-label);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.55rem);
  transform: translateX(-50%) translateY(0.2rem);
  width: 14rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(103, 232, 249, 0.16);
  border-radius: 0.9rem;
  background: rgba(9, 20, 39, 0.96);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 5;
}

.hundredmpm-compound-interest-calculator__info-badge:hover::after,
.hundredmpm-compound-interest-calculator__info-badge:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.hundredmpm-compound-interest-calculator__chart-tooltip {
  position: absolute;
  min-width: 12rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(103, 232, 249, 0.18);
  border-radius: 1rem;
  background: rgba(9, 20, 39, 0.95);
  color: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 1rem));
  transition: opacity 0.14s ease;
  z-index: 3;
}

.hundredmpm-compound-interest-calculator__chart-tooltip.is-visible {
  opacity: 1;
}

.hundredmpm-compound-interest-calculator__chart-tooltip-title {
  margin: 0 0 0.45rem;
  color: #d9faff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hundredmpm-compound-interest-calculator__chart-tooltip-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.hundredmpm-compound-interest-calculator__chart-tooltip-row + .hundredmpm-compound-interest-calculator__chart-tooltip-row {
  margin-top: 0.35rem;
}

.hundredmpm-compound-interest-calculator__footer {
  margin-top: 1.5rem;
  padding: 1rem 0 0.25rem;
}

.hundredmpm-compound-interest-calculator__footer-note {
  margin: 0;
  color: var(--muted-2);
  font-size: 0.95rem;
}

.hundredmpm-compound-interest-calculator__footer-note a {
  color: #d9faff;
  text-decoration: none;
}

.hundredmpm-compound-interest-calculator__footer-note a:hover,
.hundredmpm-compound-interest-calculator__footer-note a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

@keyframes hundredmpm-compound-interest-calculator-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.32);
  }
  60% {
    transform: scale(1.08);
    box-shadow: 0 0 0 0.45rem rgba(52, 211, 153, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

@media (max-width: 1180px) {
  .hundredmpm-compound-interest-calculator__grid,
  .hundredmpm-compound-interest-calculator__stats-grid,
  .hundredmpm-compound-interest-calculator__info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .hundredmpm-compound-interest-calculator__shell {
    padding: 1.1rem 1rem 1.25rem;
  }

  .hundredmpm-compound-interest-calculator__field-row--two-up,
  .hundredmpm-compound-interest-calculator__compound-row {
    grid-template-columns: 1fr;
  }

  .hundredmpm-compound-interest-calculator__compound-row select {
    margin-left: 0;
    border-top-left-radius: var(--radius-md);
    border-bottom-left-radius: var(--radius-md);
  }

  .hundredmpm-compound-interest-calculator__compound-row .hundredmpm-compound-interest-calculator__input-shell {
    border-top-right-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
  }

  .hundredmpm-compound-interest-calculator__results-toolbar,
  .hundredmpm-compound-interest-calculator__results-headline {
    flex-direction: column;
    align-items: stretch;
  }

  .hundredmpm-compound-interest-calculator__tablist {
    width: 100%;
  }

  .hundredmpm-compound-interest-calculator__tab-button {
    justify-content: center;
    flex: 1 1 0;
  }
}
