:root {
  color-scheme: light;
  --bg: #f5f5f0;
  --paper: #fff;
  --ink: #172e30;
  --muted: #607072;
  --line: #dfe5df;
  --green: #18765d;
  --soft: #edf5ee;
  --lime: #d9efa0;
  --orange: #94642b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    15px/1.5 "Instrument Sans",
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
label,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #399b7c;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3,
.display {
  font-family: "Bricolage Grotesque", sans-serif;
}
h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -1.8px;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 17px;
}
button {
  border: 0;
}
svg {
  display: block;
  max-width: 100%;
}
.shell {
  max-width: 1320px;
  margin: auto;
  padding: 0 36px;
}
.topbar {
  height: 90px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-size: 18px;
}
.brand-icon {
  background: var(--ink);
  color: var(--lime);
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 25px;
}
.brand small {
  color: var(--muted);
  font-weight: 400;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  padding: 5px 10px;
  background: var(--soft);
  color: var(--green);
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
}
.button:hover {
  background: var(--soft);
}
.intro {
  padding: 38px 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.intro p {
  color: var(--muted);
  margin-top: 12px;
  max-width: 580px;
  font-size: 16px;
}
.intro-note {
  font-size: 12px;
  color: var(--muted);
  max-width: 175px;
  border-left: 2px solid #ced9ca;
  padding-left: 14px;
}
.layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.config {
  padding: 24px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.text-button {
  background: none;
  color: var(--muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 5px;
}
.group + .group {
  margin-top: 23px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}
.label,
legend {
  font-size: 13px;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}
.muted,
.hint {
  color: var(--muted);
}
.hint {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 8px;
}
.segment {
  display: flex;
  background: #f2f4ef;
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 10px;
  gap: 4px;
  margin-bottom: 12px;
}
.segment label {
  flex: 1;
  position: relative;
  text-align: center;
  cursor: pointer;
}
.segment input,
.plan input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.segment span {
  display: block;
  padding: 7px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
}
.segment input:checked + span {
  background: white;
  box-shadow: 0 1px 4px #163a2514;
  color: var(--green);
}
.segment label:has(input:focus-visible),
.plan:has(input:focus-visible) {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
.amount {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fafbf8;
}
.amount:focus-within {
  border-color: var(--green);
}
.amount span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.amount input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 25px;
  font-weight: 600;
  outline: 0;
  font-variant-numeric: tabular-nums;
}
.small-input {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fafbf8;
  width: 100%;
  padding: 9px 10px;
  color: var(--ink);
}
.exchange {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  background: var(--soft);
}
.exchange label {
  font-size: 12px;
  display: block;
  margin-bottom: 6px;
}
.exchange .hint {
  font-size: 11px;
}
fieldset {
  padding: 0;
  border: 0;
  margin: 0;
  min-width: 0;
}
.plans {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  position: relative;
}
.radio {
  width: 16px;
  height: 16px;
  border: 1.5px solid #acb9b3;
  border-radius: 50%;
  flex: none;
}
.plan:has(input:checked) {
  border-color: var(--green);
  background: var(--soft);
}
.plan:has(input:checked) .radio {
  border: 5px solid var(--green);
}
.plan-copy {
  flex: 1;
}
.plan strong {
  font-size: 13px;
  display: block;
}
.plan small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.fee {
  font-size: 17px;
  font-weight: 600;
  text-align: right;
}
.fee small {
  font-size: 10px;
  font-weight: 400;
}
.select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px;
  background: #fafbf8;
  color: var(--ink);
}
.duration-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.duration-head label {
  margin: 0;
}
.days-input {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.days-input input {
  width: 65px;
  text-align: center;
}
input[type="range"] {
  width: 100%;
  accent-color: var(--green);
  margin: 16px 0 0;
}
.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
details {
  font-size: 12px;
}
summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 30px;
  display: list-item;
}
.advanced-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0;
}
.advanced-grid label {
  display: block;
  margin-bottom: 5px;
}
.results {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.hero {
  background: var(--ink);
  color: white;
  border-radius: 18px;
  padding: 28px 30px;
  position: relative;
  overflow: hidden;
}
.hero:after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid #d9efa016;
  border-radius: 50%;
  right: -105px;
  top: -120px;
  box-shadow:
    0 0 0 35px #d9efa007,
    0 0 0 70px #d9efa007;
  pointer-events: none;
}
.hero-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.hero .pill {
  background: #ffffff12;
  color: #d9efa0;
}
.hero-label {
  font-size: 13px;
  color: #cad8d1;
  margin-top: 26px;
}
.hero-value {
  font-family: "Instrument Sans", sans-serif;
  font-size: clamp(30px, 3.7vw, 48px);
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin: 5px 0 8px;
  font-weight: 500;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.hero-value small {
  font-family: "Instrument Sans", sans-serif;
  font-size: 14px;
  letter-spacing: 0;
  color: #bdcdc6;
}
.hero-sub {
  font-size: 12px;
  color: #bfcec7;
}
.hero-bottom {
  border-top: 1px solid #ffffff20;
  margin-top: 24px;
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.hero-bottom p {
  font-size: 11px;
  color: #becfc6;
}
.hero-bottom strong {
  font-size: 19px;
  font-weight: 500;
  display: block;
  margin-top: 4px;
}
.hero-bottom strong.negative {
  color: #ffccac;
}
.summary-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.stat {
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 16px;
}
.stat p {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 7px;
}
.stat strong {
  font-size: 19px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.stat small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.content-panel {
  padding: 24px;
}
.content-panel .section-head {
  margin-bottom: 18px;
}
.section-head p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.timeline {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  padding-top: 5px;
}
.step {
  position: relative;
  padding-top: 25px;
}
.step:before {
  content: "";
  position: absolute;
  left: 0;
  right: -18px;
  height: 2px;
  top: 6px;
  background: var(--line);
}
.step:last-child:before {
  right: 0;
  background: linear-gradient(to right, var(--line), transparent);
}
.step:after {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--green);
  border: 3px solid var(--soft);
  border-radius: 50%;
}
.step strong {
  font-size: 13px;
  display: block;
}
.step .day {
  font-size: 10px;
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.step p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
}
.callout {
  background: var(--soft);
  border: 1px solid #dfeadb;
  border-radius: 9px;
  padding: 12px 14px;
  font-size: 12px;
  margin-top: 18px;
  line-height: 1.6;
}
.chart-legend {
  display: flex;
  gap: 15px;
  font-size: 11px;
  color: var(--muted);
  align-items: center;
  flex-wrap: wrap;
}
.chart-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.chart-legend i {
  width: 16px;
  height: 3px;
  background: var(--green);
  display: inline-block;
}
.chart-legend i.dashed {
  background: none;
  border-top: 2px dashed #96a69c;
}
.chart {
  height: 190px;
  width: 100%;
  margin-top: 18px;
}
.chart text {
  font:
    11px "Instrument Sans",
    sans-serif;
  fill: var(--muted);
}
.chart-caption {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
}
.breakdown {
  margin-top: 8px;
}
.breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #edf0eb;
  padding: 11px 0;
  font-size: 13px;
}
.breakdown dt {
  color: var(--muted);
}
.breakdown dd {
  min-width: 110px;
  overflow-wrap: anywhere;
  margin: 0;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.breakdown .total {
  border-bottom: 0;
  color: var(--green);
  font-size: 16px;
  padding-top: 15px;
}
.breakdown .total dt {
  color: var(--green);
  font-weight: 600;
}
.explain {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 28px 0;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.explain article {
  display: flex;
  gap: 14px;
}
.explain-icon {
  background: #e9eee4;
  color: var(--green);
  border-radius: 10px;
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.explain h3 {
  font-size: 15px;
  margin-bottom: 6px;
}
.explain p {
  font-size: 12px;
  color: var(--muted);
  max-width: 470px;
}
.footer {
  font-size: 11px;
  color: var(--muted);
  padding-bottom: 30px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.footer p {
  max-width: 820px;
}
.error {
  padding: 12px 14px;
  background: #fff0e5;
  border: 1px solid #eac4a5;
  border-radius: 10px;
  font-size: 13px;
  color: #823e1d;
  margin-bottom: 16px;
}
.print-summary {
  display: none;
}
.result-faded {
  opacity: 0.35;
  pointer-events: none;
}
@media (min-width: 1100px) {
  .config {
    position: sticky;
    top: 20px;
  }
}
@media (max-width: 1000px) {
  .shell {
    padding: 0 22px;
  }
  .layout {
    grid-template-columns: 320px minmax(0, 1fr);
  }
  .config,
  .content-panel {
    padding: 20px;
  }
  .hero {
    padding: 24px;
  }
  .hero-value {
    font-size: 34px;
  }
  .summary-strip {
    gap: 8px;
  }
  .stat {
    padding: 12px;
  }
  .stat strong {
    font-size: 16px;
  }
  .hero-head {
    align-items: start;
    flex-direction: column;
  }
  .timeline {
    gap: 10px;
  }
  .step:before {
    right: -10px;
  }
}
@media (max-width: 760px) {
  .shell {
    padding: 0 18px;
  }
  .topbar {
    height: 74px;
  }
  .brand {
    font-size: 15px;
  }
  .brand small,
  .top-actions > .pill,
  .intro-note {
    display: none;
  }
  .intro {
    padding: 28px 0 24px;
  }
  .intro p {
    font-size: 14px;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .config {
    padding: 20px;
  }
  .plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
  }
  .plan {
    padding: 10px 8px;
    flex-direction: column;
    align-items: start;
    gap: 8px;
  }
  .plan .radio {
    position: absolute;
    right: 8px;
    top: 10px;
    width: 12px;
    height: 12px;
  }
  .plan strong {
    font-size: 12px;
    padding-right: 12px;
  }
  .plan small {
    font-size: 10px;
  }
  .plan-copy {
    flex: auto;
  }
  .fee {
    text-align: left;
    font-size: 20px;
  }
  .fee small {
    font-size: 10px;
  }
  .hero-head {
    flex-direction: row;
    align-items: center;
  }
  .hero {
    padding: 24px 20px;
  }
  .hero-value {
    font-size: 38px;
  }
  .hero-bottom strong {
    font-size: 17px;
  }
  .content-panel {
    padding: 20px;
  }
  .explain {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .footer {
    flex-direction: column;
    gap: 10px;
  }
  .section-head {
    align-items: start;
  }
  .chart {
    height: 170px;
  }
}
@media (max-width: 390px) {
  .hero-head {
    flex-direction: column;
    align-items: start;
  }
  .stat {
    padding: 10px;
  }
  .stat strong {
    font-size: 14px;
  }
  .hero-value {
    font-size: 32px;
  }
  .timeline {
    gap: 8px;
  }
  .step strong {
    font-size: 12px;
  }
  .step p {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .plan,
  .button {
    transition:
      background 0.18s,
      border-color 0.18s;
  }
  .results {
    animation: reveal 0.5s ease-out;
  }
  @keyframes reveal {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
@media print {
  @page {
    size: A4;
    margin: 12mm;
  }
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .shell {
    padding: 0;
    max-width: none;
  }
  .topbar {
    height: 55px;
  }
  .no-print,
  .config,
  .intro-note {
    display: none !important;
  }
  .intro {
    padding: 20px 0;
  }
  h1 {
    font-size: 30px;
  }
  .layout {
    display: block;
  }
  .results {
    gap: 12px;
  }
  .hero {
    padding: 20px;
  }
  .hero-label {
    margin-top: 12px;
  }
  .hero-value {
    font-size: 32px;
  }
  .content-panel {
    padding: 16px;
  }
  .panel,
  .hero,
  .summary-strip,
  .explain {
    break-inside: avoid;
  }
  .print-summary {
    display: block;
    font-size: 11px;
    margin: 0 0 15px;
  }
  .explain {
    margin: 16px 0;
    padding: 16px 0;
  }
  .chart {
    height: 140px;
  }
  .footer {
    font-size: 9px;
  }
  .hero-bottom {
    margin-top: 14px;
    padding-top: 12px;
  }
}

/* Return rates and withdrawal reconciliation stay inside the result card. */
.hero-rates,
.hero-withdraw {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #ffffff26;
}
.hero-rates h3,
.hero-withdraw h3 {
  font-size: 16px;
  font-weight: 500;
}
.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0 10px;
  font-variant-numeric: tabular-nums;
}
.rate-table th,
.rate-table td {
  text-align: right;
  padding: 10px 8px;
  border-bottom: 1px solid #ffffff15;
}
.rate-table th:first-child {
  text-align: left;
  padding-left: 0;
}
.rate-table thead th {
  color: #bdcec5;
  font-size: 11px;
  font-weight: 400;
}
.rate-table tbody th {
  font-size: 12px;
  font-weight: 400;
}
.rate-table td {
  font-size: 20px;
  font-weight: 600;
}
.rate-table td:last-child {
  color: var(--lime);
}
.hero-detail {
  font-size: 11px;
  color: #becfc6;
  line-height: 1.6;
}
.hero-withdraw {
  background: #ffffff08;
  border: 1px solid #ffffff18;
  border-radius: 12px;
  padding: 18px;
}
.withdraw-rate {
  color: var(--lime);
  font-size: 12px;
  margin-top: 8px;
}
.withdraw-lines {
  margin: 12px 0;
}
.withdraw-lines div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  font-size: 12px;
}
.withdraw-lines dt {
  color: #c8d7ce;
}
.withdraw-lines dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.withdraw-lines .interest-line dt,
.withdraw-lines .interest-line dd {
  color: var(--lime);
}
.withdraw-lines .withdraw-total {
  border-top: 1px solid #ffffff26;
  margin-top: 7px;
  padding-top: 13px;
  font-size: 16px;
}
@media (max-width: 480px) {
  .rate-table td {
    font-size: 17px;
    padding: 10px 4px;
  }
  .hero-withdraw {
    padding: 14px;
  }
  .withdraw-lines dd {
    min-width: 100px;
  }
}
@media print {
  .hero {
    break-inside: auto;
  }
  .hero-rates,
  .hero-withdraw {
    break-inside: avoid;
  }
}
@media (max-width: 480px) {
  .summary-strip {
    grid-template-columns: 1fr;
  }
  .stat {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 3px 12px;
  }
  .stat p {
    margin: 0;
  }
  .stat strong {
    font-size: 17px;
  }
  .stat small {
    grid-column: 1 / -1;
    margin: 0;
  }
  .breakdown dd {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .breakdown .total {
    flex-wrap: wrap;
  }
}
.hero-withdraw .withdraw-total {
  display: block;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid #62dba1;
  border-radius: 14px;
  background: linear-gradient(135deg, #167451, #10583f);
  box-shadow: 0 8px 24px #00000020;
  color: #fff;
}
.hero-withdraw .withdraw-total dt {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
.withdraw-total-caption {
  display: block;
  margin-top: 7px;
  color: #e0f5e9;
  font-size: 12px;
  font-weight: 400;
}
.hero-withdraw .withdraw-total dd {
  min-width: 0;
  margin-top: 18px;
  text-align: left;
}
#withdrawTotal {
  display: block;
  font-family: Arial, sans-serif;
  font-size: clamp(25px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .015em;
  overflow-wrap: anywhere;
}
.hero-withdraw .withdraw-total .withdraw-brl {
  margin-top: 12px;
  color: #e0f5e9;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}
@media (max-width: 480px) {
  .hero-withdraw .withdraw-total {
    padding: 18px 15px;
  }
}

.breakdown .operating-highlight {
  background: var(--soft);
  border: 1px solid #c9ddc8;
  border-left: 4px solid var(--green);
  border-radius: 10px;
  padding: 18px 16px;
  margin: 12px 0;
  align-items: center;
  flex-wrap: wrap;
}
.breakdown .operating-highlight dt {
  color: var(--green);
  font-weight: 600;
}
.breakdown .operating-highlight dd {
  color: var(--green);
  font-size: clamp(20px, 2.2vw, 26px);
  font-family: "Bricolage Grotesque", sans-serif;
}
.conversion-note {
  display: block;
  font-size: 11px;
  line-height: 1.6;
  margin-top: 7px;
  max-width: 400px;
}
@media (max-width: 480px) {
  .breakdown div:has(.conversion-note) {
    flex-wrap: wrap;
  }
}

.hero-brl {
  color: #d9efa0;
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 12px;
  font-variant-numeric: tabular-nums;
}
.withdraw-brl {
  display: block;
  font-size: 17px;
  color: #e8f3d0;
  margin-top: 5px;
}
.exchange-disclaimer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #ffffff18;
}

.breakdown .total-brl,
.breakdown .return-summary {
  padding: 14px 0;
  align-items: baseline;
}
.breakdown .total-brl dd {
  font-size: 18px;
  color: var(--green);
}
.breakdown .return-summary {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}
.breakdown .return-summary dd {
  font-size: 24px;
  color: var(--green);
}
.breakdown .return-summary.is-negative dd {
  color: #a84929;
}
@media (max-width: 600px) {
  .breakdown .total-brl,
  .breakdown .return-summary {
    flex-wrap: wrap;
  }
}

.break-even {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid #d9efa045;
  border-radius: 12px;
  background: #d9efa00a;
}
.break-even h3 {
  color: var(--lime);
  font-size: 16px;
}
.break-even p {
  margin-top: 10px;
  font-size: 12px;
}
.break-even .button {
  margin-top: 14px;
  background: var(--lime);
  color: var(--ink);
  border: 0;
}

.operator-panel {
  background: #f4f8ec;
}
.operator-panel .negative {
  color: #a84929;
}
@media (max-width: 760px) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
  }
}

.break-even {
  background: #482528;
  border: 1px solid #cb7b73;
  border-left: 4px solid #f18f80;
}
.break-even h3 {
  color: #ffb7aa;
}
.break-even p,
.break-even .hero-detail {
  color: #f5d8d2;
}
.break-even .button {
  background: #ffe0d7;
  color: #56261d;
}

.settlement-notice {
  margin-top: 20px;
  padding: 10px 12px;
  background: #d9efa014;
  border: 1px solid #d9efa035;
  border-radius: 9px;
  color: var(--lime);
  font-weight: 600;
  font-size: 13px;
}
.settlement-notice span {
  display: block;
  color: #d5dfd8;
  font-size: 11px;
  font-weight: 400;
  margin-top: 3px;
}
.withdraw-brl {
  font-size: 13px;
  font-weight: 400;
}

/* Investor illustration and chart milestones */
.intro-art {
  width: 260px;
  flex: 0 0 260px;
  margin: 0;
}
.intro-art img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 16px #163d3014);
  animation: art-enter 0.8s ease-out both;
}
.intro-art figcaption {
  font-size: 10px;
  text-align: center;
  color: var(--muted);
  margin-top: 5px;
}
.chart {
  height: 300px;
  overflow: visible;
}
.chart-legend i.net-line {
  background: #5066a0;
}
.chart-milestones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0 18px;
}
.chart-milestones > div {
  padding: 14px;
  border-radius: 12px;
  background: #edf5ef;
  border: 1px solid #d8e7db;
}
.chart-milestones .waiting-milestone {
  background: #fbf5e9;
  border-color: #e9dcc0;
}
.chart-milestones small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.chart-milestones strong {
  display: block;
  font-size: 17px;
  margin: 5px 0;
}
.chart-milestones p {
  font-size: 11px;
  margin: 0;
  color: var(--muted);
}
.milestone-dot {
  float: right;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #18765d;
}
.waiting-milestone .milestone-dot {
  background: #ac8341;
}
.chart-curve {
  animation: chart-enter 0.55s ease-out both;
}
.plan,
.summary-strip > div {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.plan:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 16px #123b3010;
}
@keyframes art-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes chart-enter {
  from {
    opacity: 0.25;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 760px) {
  .intro-art {
    width: 160px;
    flex-basis: 160px;
  }
  .chart-milestones {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .intro-art {
    width: 135px;
    flex-basis: auto;
    align-self: flex-end;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .intro-art {
    display: none;
  }
  .chart {
    height: 250px;
  }
}

.chart-interactive {
  position: relative;
}
.chart-tooltip {
  position: absolute;
  z-index: 3;
  top: 44px;
  width: 290px;
  max-width: 100%;
  padding: 14px;
  background: #173335f5;
  color: #f4f8ec;
  border: 1px solid #628174;
  border-radius: 12px;
  box-shadow: 0 12px 35px #152e332b;
  pointer-events: none;
  font-size: 11px;
}
.chart-tooltip strong {
  display: block;
  font-size: 13px;
}
.chart-tooltip small {
  display: block;
  color: #c2d8cd;
  line-height: 1.5;
}
.chart-tooltip dl {
  margin: 10px 0;
}
.chart-tooltip dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
}
.chart-tooltip dd {
  margin: 0;
  font-weight: 600;
  white-space: nowrap;
}
.chart-tooltip dt {
  color: #d5e4dc;
}
.chart:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
  border-radius: 8px;
}
@media print {
  .chart-tooltip,
  #chartHelp {
    display: none !important;
  }
}
