/* Cumple tu sueño: a separate, personalized plan in the original campaign-card family. */
.dream-kicker { font: 800 .69rem Manrope, sans-serif; letter-spacing: .16em; color: #c8f4e9; }

.screen-dream .footer { margin-top: 35px; }
.dream-page { max-width: 1160px; margin: 0 auto; }
.dream-back { margin-bottom: 12px; min-height: 44px; }
.dream-hero { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 275px; overflow: hidden; padding: 32px clamp(28px, 5vw, 62px); border: 1px solid #dfd4f4; border-radius: 30px; background: radial-gradient(circle at 77% 45%, #c8b6f0 0, transparent 36%), linear-gradient(118deg, #f0eafd 4%, #e7f8f5 98%); box-shadow: var(--am-shadow); }
.dream-hero::after { content: ''; position: absolute; right: -45px; bottom: -160px; width: 390px; height: 390px; border: 1px solid #ffffff91; border-radius: 50%; pointer-events: none; }
.dream-hero-copy { position: relative; z-index: 1; max-width: 600px; }
.dream-hero .dream-kicker { color: #6040a0; }
.dream-hero h1 { color: #2d2350; font-size: clamp(2.35rem, 5vw, 4.2rem); line-height: 1.02; margin: 15px 0 17px; font-weight: 900; overflow-wrap: anywhere; }
.dream-hero p { max-width: 540px; margin: 0; color: #574b6f; font-size: clamp(.92rem, 1.3vw, 1.06rem); line-height: 1.6; }
.dream-hero img { position: relative; z-index: 1; display: block; width: 230px; max-width: 30%; height: 205px; object-fit: contain; filter: drop-shadow(0 17px 14px #3d267639); }
.dream-columns { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(310px, .78fr); align-items: start; gap: 22px; margin-top: 22px; }
.dream-form, .dream-quote, .dream-progress-card, .dream-timeline, .dream-action-card, .dream-records { border: 1px solid var(--am-border); border-radius: 24px; background: #fff; box-shadow: var(--am-shadow); }
.dream-form { padding: clamp(22px, 3.5vw, 39px); }
.dream-step { display: flex; align-items: flex-start; gap: 15px; margin: 4px 0 23px; }
.dream-step:not(:first-child) { margin-top: 34px; border-top: 1px solid #eee9f3; padding-top: 30px; }
.dream-step > span { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; background: #eee8fc; color: #5934ad; font: 900 .75rem Manrope, sans-serif; }
.dream-step h2 { margin: 0; color: #2d2544; font-size: 1.3rem; line-height: 1.25; }
.dream-step p { margin: 3px 0 0; color: #6c617b; font-size: .83rem; }
.dream-fields { display: grid; gap: 8px; }
.dream-fields label, .dream-action-card label { display: flex; justify-content: space-between; color: #403650; font-size: .82rem; font-weight: 800; margin-top: 12px; }
.dream-fields label span { color: #8c8098; font-size: .72rem; }
.dream-fields input, .dream-fields select, .dream-action-card input { width: 100%; min-width: 0; min-height: 52px; border: 1px solid #dcd5e7; border-radius: 13px; padding: 11px 14px; background: #fff; color: #2b2340; box-shadow: inset 0 2px 4px #2b194308; }
.dream-fields input:hover, .dream-fields select:hover, .dream-action-card input:hover { border-color: #ae93d9; }
.dream-fields input:focus, .dream-fields select:focus, .dream-action-card input:focus { border-color: #8154ce; }
.dream-strategy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.dream-strategy label { cursor: pointer; position: relative; display: flex; min-height: 90px; align-items: center; border: 1px solid #e1d9eb; border-radius: 16px; background: #fbf9ff; transition: border-color var(--am-fast), box-shadow var(--am-fast), transform var(--am-fast); }
.dream-strategy label:has(input:checked) { border-color: #744bc2; background: #f2ebfd; box-shadow: inset 0 0 0 1px #744bc2, 0 5px 12px #5e339817; }
.dream-strategy label:hover { transform: translateY(-1px); }
.dream-strategy input { position: absolute; top: 14px; right: 13px; accent-color: #6840bf; }
.dream-strategy span { display: grid; gap: 5px; padding: 13px 28px 13px 13px; }
.dream-strategy strong { color: #352652; font-size: .82rem; }
.dream-strategy small { color: #746985; font-size: .71rem; line-height: 1.35; }
.dream-quote { position: sticky; top: 20px; padding: 29px; color: #fff; background: radial-gradient(circle at 90% -10%, #7359bb 0, transparent 50%), linear-gradient(145deg, #33215f, #211838 82%); border-color: #49327a; box-shadow: 0 17px 37px #24164226; }
.dream-quote-head { display: flex; justify-content: space-between; align-items: center; color: #c9b8e9; font-size: .66rem; font-weight: 900; letter-spacing: .13em; }
.dream-quote-spark { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 10px; color: #4a306f; background: #e8dcff; font-size: 1.2rem; }
.dream-quote-label { color: #d6c9ed; font-size: .84rem; margin: 39px 0 6px; }
.dream-quote > strong { display: block; color: #fff; font: 900 clamp(2.2rem, 3.4vw, 3.25rem)/1.06 Manrope, sans-serif; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.dream-quote-frequency { color: #72e3c3; font-weight: 750; margin: 8px 0 0; }
.dream-quote-divider { height: 1px; background: #ffffff30; margin: 29px 0 16px; }
.dream-quote-row { display: flex; justify-content: space-between; gap: 14px; margin-top: 13px; font-size: .78rem; }
.dream-quote-row span { color: #c7badc; }
.dream-quote-row strong { text-align: right; color: #fff; }
.dream-quote-note { min-height: 38px; margin: 21px 0 0; color: #b5f1df; font-size: .75rem; line-height: 1.45; }
.dream-quote-error { color: #ffcbcd; font-size: .78rem; line-height: 1.4; }
.dream-confirm { width: 100%; margin-top: 14px; }
.dream-quote-disclaimer { margin: 19px 0 0; font-size: .7rem; line-height: 1.55; color: #cabfdb; }
.dream-dashboard-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; margin-top: 20px; }
.dream-progress-card, .dream-timeline, .dream-action-card, .dream-records { padding: clamp(22px, 3vw, 32px); }
.dream-progress-card .eyebrow, .dream-timeline .eyebrow, .dream-action-card .eyebrow, .dream-records .eyebrow { color: #6140a2; font-size: .69rem; }
.dream-saved { margin: 20px 0 6px; color: #2d2447; font: 900 clamp(2.4rem, 5vw, 4.1rem)/1 Manrope, sans-serif; letter-spacing: -.065em; font-variant-numeric: tabular-nums; }
.dream-progress-card p { margin: 9px 0 25px; color: #766c82; font-size: .91rem; }
.dream-progress-card p strong { color: #392c54; }
.dream-meter { height: 13px; overflow: hidden; border-radius: 99px; background: #eee9f4; }
.dream-meter > div { height: 100%; border-radius: inherit; background: linear-gradient(90deg, #6e42c4, #20b996); transition: width .28s ease; }
.dream-meter-label { display: flex; justify-content: space-between; margin-top: 10px; color: #665c75; font-size: .75rem; font-weight: 750; }
.dream-timeline > div { display: grid; gap: 4px; padding: 13px 0; border-bottom: 1px solid #eee9f2; }
.dream-timeline > div > span { color: #796f87; font-size: .76rem; }
.dream-timeline > div > strong { color: #33284a; font-size: .91rem; }
.dream-deadline-note { background: #f3eefb; border-radius: 12px; color: #604e79; font-size: .75rem; line-height: 1.45; padding: 11px 13px; }
.dream-action-card { display: flex; gap: 24px; align-items: end; justify-content: space-between; margin-top: 18px; background: linear-gradient(125deg, #e9f9f2, #f7f4ff); border-color: #cae9db; }
.dream-action-card > div { flex: 1; }
.dream-action-card h2 { margin: 10px 0 7px; color: #225948; font-size: clamp(1.8rem, 3vw, 2.5rem); }
.dream-action-card p { max-width: 460px; margin: 0; color: #557267; font-size: .84rem; line-height: 1.5; }
.dream-action-card form { width: min(45%, 410px); }
.dream-action-card label { margin: 0 0 8px; }
.dream-contribution-controls { display: flex; gap: 8px; }
.dream-contribution-controls input { flex: 1; width: 45%; background: #fff; }
.dream-contribution-controls button { flex: 0 0 auto; }
.dream-records { margin-top: 18px; }
.dream-records h2 { margin: 7px 0; }
.dream-records > div:first-child > p { margin: 0 0 17px; color: #71667b; font-size: .79rem; }
.dream-entry { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid #eeeaf2; }
.dream-entry > div { display: grid; gap: 4px; }
.dream-entry strong { color: #2e2743; }
.dream-entry small { color: #81758d; }
.dream-entry .text-button { color: #8c3e55; min-height: 42px; }
.dream-audit > span { color: #584578; font-size: .83rem; font-weight: 850; white-space: nowrap; }
.dream-empty { color: #756a82; padding: 17px 0; border-top: 1px solid #eeeaf2; }
.dream-alert { background: #fff0ed; color: #8a3931; border: 1px solid #eac6c1; border-radius: 14px; padding: 14px 17px; margin-top: 16px; }
.dream-celebration { border-radius: 17px; background: #e4f8ee; color: #175f45; padding: 20px; margin-top: 18px; font-weight: 800; }
@media(max-width: 1050px) { .dream-columns, .dream-dashboard-grid { grid-template-columns: 1fr; } .dream-quote { position: static; } }
@media(max-width: 760px) {
  .wallet-bottom-nav button { min-width: 0; flex: 1; padding-inline: 3px; font-size: .65rem; }
  .dream-hero { min-height: 245px; padding: 24px 22px; border-radius: 21px; }
  .dream-hero h1 { font-size: 2.35rem; max-width: 240px; }
  .dream-hero p { max-width: 245px; font-size: .81rem; }
  .dream-hero img { width: 126px; max-width: 34%; height: 165px; margin-right: -19px; }
  .dream-columns { gap: 15px; margin-top: 15px; }
  .dream-form, .dream-quote, .dream-progress-card, .dream-timeline, .dream-action-card, .dream-records { border-radius: 19px; padding: 21px; }
  .dream-strategy { gap: 7px; }
  .dream-strategy label { min-height: 101px; }
  .dream-strategy span { padding: 22px 12px 10px; }
  .dream-strategy input { top: 9px; right: 9px; }
  .dream-step h2 { font-size: 1.13rem; }
  .dream-action-card { display: block; }
  .dream-action-card form { width: 100%; margin-top: 19px; }
  .dream-contribution-controls { flex-direction: column; }
  .dream-contribution-controls input { width: 100%; }
  .dream-saved { font-size: 2.55rem; }
}
@media(max-width: 380px) { .dream-hero img { width: 100px; } .dream-hero h1 { font-size: 2.05rem; } }
@media(prefers-reduced-motion: reduce) { .dream-meter > div, .dream-strategy label { transition: none; } .dream-strategy label:hover { transform: none; } }

/* The personal challenge uses the same campaign-card and method-header system as the original three. */
.screen-plans .challenge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.challenge-dream { --accent: #7045c3; --soft: #efe9fb; --ink: #50338d; border-color: #e3daf3; background: linear-gradient(180deg, #faf8ff, #fff 49%); }
.screen-plans .challenge-grid .challenge-card:last-child { display: flex; flex-direction: column; grid-column: auto; grid-template-columns: none; grid-template-rows: none; gap: 0; min-height: 462px; }
.screen-plans .challenge-grid .challenge-card:last-child .challenge-top,
.screen-plans .challenge-grid .challenge-card:last-child .challenge-copy,
.screen-plans .challenge-grid .challenge-card:last-child .challenge-foot { grid-column: auto; grid-row: auto; }
.screen-plans .challenge-grid .challenge-card:last-child .campaign-visual { grid-column: auto; grid-row: auto; align-self: stretch; height: auto; aspect-ratio: 3 / 2; width: 100%; margin: 14px 0 20px; }
.screen-plans .challenge-card:nth-child(4) { animation: am-enter 330ms 165ms both; }

.method-dream { --method: #6842b4; --method-soft: #f1ecfb; }
.method-dream::after { content: none; }
.dream-page .dream-hero { min-height: 170px; margin: -3px 0 19px; padding: 27px 214px 27px 28px; border-color: #ded2f0; border-radius: 23px; background: linear-gradient(110deg, #f1ecfb, #fff 75%); box-shadow: var(--am-shadow); }
.dream-page .dream-hero::after { content: none; }
.dream-page .dream-hero .dream-kicker { color: #6740ab; }
.dream-page .dream-hero h1 { margin: 9px 0 8px; color: var(--am-ink); font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.2; letter-spacing: -.025em; }
.dream-page .dream-hero p { color: #625a70; font-size: .86rem; line-height: 1.55; }
.dream-page .dream-hero img { position: absolute; right: 17px; top: -5px; width: 185px; max-width: none; height: 185px; object-fit: contain; filter: drop-shadow(0 10px 11px #3d267626); }

.dream-quote { color: var(--am-ink); background: #fff; border-color: var(--am-border); box-shadow: var(--am-shadow); }
.dream-quote-head { color: #6740ab; }
.dream-quote-spark { color: #6040a0; background: #eee8fb; }
.dream-quote-label { color: #6b6279; margin-top: 28px; }
.dream-quote > strong { color: var(--am-ink); font-size: clamp(2rem, 3vw, 2.65rem); }
.dream-quote-frequency { color: #2e856e; }
.dream-quote-divider { background: #e8e3ed; }
.dream-quote-row span { color: #6b6279; }
.dream-quote-row strong { color: var(--am-ink); }
.dream-quote-note { color: #347a67; }
.dream-quote-error { color: #9a3248; }
.dream-quote-disclaimer { color: #746b80; }
.dream-entry-actions { display: flex; align-items: center; gap: 8px; }
.dream-entry-actions .text-button { min-height: 44px; padding: 8px; }
.dream-entry-actions .dream-remove { color: #9b4357; }
.dream-edit-plan { justify-self: start; margin-top: 17px; color: #6040a0; font-weight: 800; }
.dream-edit-form { display: grid; gap: 12px; padding: 18px; border: 1px solid #ddd3ee; border-radius: 15px; background: #faf8ff; }
.dream-edit-form label { color: #403650; font-size: .83rem; font-weight: 800; }
.dream-edit-form input { min-width: 0; min-height: 52px; border: 1px solid #dcd5e7; border-radius: 13px; padding: 11px 14px; background: #fff; color: #2b2340; }
.dream-edit-form .text-button { justify-self: start; min-height: 44px; }
.peso-input { font-variant-numeric: tabular-nums; }
.dream-audit { align-items: start; }
.dream-audit > div { min-width: 0; }
.dream-audit > span { max-width: 48%; text-align: right; white-space: normal; line-height: 1.4; }

@media (max-width: 900px) {
  .screen-plans .challenge-grid { grid-template-columns: 1fr; }
  .screen-plans .challenge-grid .challenge-card:last-child { min-height: 0; }
}
@media (max-width: 760px) {
  .screen-plans .challenge-grid .challenge-card:last-child { min-height: 0; }
  .screen-plans .challenge-grid .challenge-card:last-child .campaign-visual { height: auto; margin: 10px 0 14px; }
  .dream-page .dream-hero { min-height: 176px; padding: 19px 128px 19px 19px; border-radius: 20px; }
  .dream-page .dream-hero h1 { max-width: none; font-size: 1.24rem; }
  .dream-page .dream-hero p { max-width: none; font-size: .78rem; line-height: 1.43; }
  .dream-page .dream-hero img { right: -2px; top: 19px; width: 130px; max-width: none; height: 130px; margin: 0; }
  .dream-edit-form .dream-contribution-controls { display: grid; }
  .dream-entry-actions { gap: 2px; }
  .dream-entry-actions .text-button { font-size: .74rem; }
}
@media (max-width: 380px) { .dream-page .dream-hero img { width: 110px; right: -8px; } }

.dream-photo-memory,.dream-photo-editor { margin:0 0 20px; padding:20px; border:1px solid #e2d8f1; border-radius:20px; background:#fff; box-shadow:0 9px 28px #3020470c; }
.dream-photo-memory { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.dream-photo-memory h2,.dream-photo-editor h2 { margin:5px 0 4px; color:#302449; font-size:1.15rem; }
.dream-photo-memory p,.dream-photo-editor p { margin:0; color:#625d70; font-size:.83rem; line-height:1.5; }
.dream-photo-heading { display:flex; justify-content:space-between; gap:16px; margin-bottom:15px; }
.dream-photo-layout { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(185px,.75fr); gap:19px; align-items:start; }
.dream-photo-frame { aspect-ratio:5/3; overflow:hidden; border-radius:17px; background:linear-gradient(135deg,#ede4f9,#e7f5ee); box-shadow:inset 0 0 0 1px #7853a824; }
.dream-photo-frame img { display:block; width:100%; height:100%; object-fit:cover; }
.dream-photo-frame img.dream-photo-placeholder { object-fit:contain; padding:22px; }
.dream-photo-controls { display:grid; align-content:start; gap:8px; }
.dream-photo-controls label { color:#403251; font-size:.83rem; font-weight:800; }
.dream-photo-controls input[type=file] { width:100%; max-width:100%; font-size:.75rem; }
.dream-photo-controls input[type=range] { width:100%; accent-color:#7650b6; }
.dream-photo-controls .primary { margin-top:8px; }
.dream-photo-controls .dream-photo-note { margin-top:4px; }
.dream-photo-error { color:#a43435!important; }
.dream-page .dream-hero.has-personal-photo { min-height:240px; padding:30px; border-color:#362557; background:#2d2151; }
.dream-page .dream-hero.has-personal-photo::before { content:''; position:absolute; inset:0; z-index:2; background:linear-gradient(90deg,#211633ef 0%,#241b43ba 52%,#241b431c 100%); }
.dream-page .dream-hero.has-personal-photo .dream-hero-copy { z-index:3; max-width:67%; }
.dream-page .dream-hero.has-personal-photo h1,.dream-page .dream-hero.has-personal-photo p,.dream-page .dream-hero.has-personal-photo .dream-kicker { color:#fff; }
.dream-page .dream-hero img.dream-hero-personal { position:absolute; inset:0; z-index:0; width:100%; height:100%; max-width:none; object-fit:cover; filter:none; }
.dream-reminder { display:flex; align-items:center; gap:16px; margin:18px 0; padding:19px 21px; border:1px solid #e8d5ad; border-radius:20px; background:linear-gradient(110deg,#fff9e9,#fff); }
.dream-reminder-spark { display:grid; place-items:center; width:42px; height:42px; flex:0 0 42px; border-radius:14px; background:#f7df9a; color:#664319; font-size:1.4rem; }
.dream-reminder h2 { margin:3px 0 4px; color:#332639; font-size:1.05rem; }
.dream-reminder p { margin:0; color:#62586a; font-size:.82rem; line-height:1.5; }
.dream-reminder-link { flex:0 0 auto; margin-left:auto; color:#594099; font-weight:800; font-size:.79rem; text-decoration:none; }
.dream-reminder-link:focus-visible { outline:3px solid #7650b6; outline-offset:4px; border-radius:4px; }
.dream-push { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:0 0 20px; padding:18px 21px; border:1px solid #dce6e3; border-radius:20px; background:#f7fbf9; }
.dream-push h2 { margin:4px 0; font-size:1.03rem; color:#213e3b; }
.dream-push p { margin:0; max-width:680px; color:#5c6b68; font-size:.81rem; line-height:1.5; }
.dream-push button { flex:0 0 auto; }
@media(max-width:680px) { .dream-photo-memory,.dream-photo-heading,.dream-reminder { align-items:flex-start; flex-direction:column; } .dream-photo-layout { grid-template-columns:1fr; } .dream-reminder-link { margin-left:0; } .dream-page .dream-hero.has-personal-photo .dream-hero-copy { max-width:90%; } .dream-page .dream-hero.has-personal-photo { min-height:230px; padding:23px; } }
@media(max-width:680px) { .dream-push { align-items:flex-start; flex-direction:column; } }
@media (prefers-reduced-motion: reduce) { .screen-plans .challenge-card:nth-child(4) { animation: none; } }
