:root {
  --sky: #bce6f2;
  --sky-deep: #8ed2e4;
  --ink: #3f4e52;
  --muted: #758388;
  --brown: #86685d;
  --brown-dark: #644e47;
  --white: #fffefa;
  --cream: #fffaf0;
  --yellow: #f9d974;
  --yellow-soft: #fff3bd;
  --pink: #f7b8bd;
  --pink-soft: #fff0ef;
  --green: #b9dbb1;
  --green-dark: #6f9c78;
  --line: #e9e8dc;
  --shadow: 0 18px 45px rgba(80, 117, 124, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--sky); font-family: 'Trebuchet MS', Arial, sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #5bb8cc; outline-offset: 3px; }
a { color: inherit; text-decoration: none; }

.app-shell { position: relative; z-index: 2; width: min(1160px, calc(100% - 44px)); margin: 0 auto; padding: 30px 0 45px; }
.flower-field { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.flower, .leaf { position: absolute; opacity: .65; }
.flower { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle, #e9a866 0 17%, transparent 18%), radial-gradient(ellipse at center, var(--flower-color) 0 45%, transparent 46%); background-size: 100% 100%, 100% 100%; box-shadow: 0 0 0 9px var(--flower-color), 0 0 0 18px transparent; transform: scale(.58); }
.flower::before, .flower::after { content: ''; position: absolute; inset: 3px -12px; border-radius: 50%; background: var(--flower-color); z-index: -1; transform: rotate(60deg); }
.flower::after { transform: rotate(-60deg); }
.flower-one { --flower-color: #f7b8bd; left: 3%; top: 18%; transform: rotate(18deg) scale(.7); }
.flower-two { --flower-color: #f9d974; right: 1%; top: 10%; transform: rotate(-22deg) scale(.6); }
.flower-three { --flower-color: #b9dbb1; right: 3%; bottom: 17%; transform: rotate(24deg) scale(.7); }
.flower-four { --flower-color: #f7b8bd; left: 1%; bottom: 12%; transform: rotate(-18deg) scale(.55); }
.leaf { width: 120px; height: 38px; border: 3px solid rgba(107, 151, 119, .23); border-width: 0 0 3px 3px; border-radius: 0 0 0 100%; transform: rotate(-12deg); }
.leaf-one { left: -23px; top: 30%; }.leaf-two { right: -18px; bottom: 32%; transform: rotate(178deg); }

.setup-view { min-height: calc(100vh - 75px); display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(28px, 7vw, 90px); padding: 25px 4%; }
.setup-art { position: relative; min-height: 480px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 54% 46% 45% 55% / 44% 45% 55% 56%; background: linear-gradient(#a8ddeb 0 69%, #b7dcae 69%); box-shadow: var(--shadow); overflow: hidden; }
.setup-art::after { content: ''; position: absolute; left: -8%; right: -8%; bottom: 7%; height: 32%; background: #fce9af; opacity: .9; transform: rotate(-5deg); border-radius: 50%; }
.sun { position: absolute; top: 42px; left: 45px; color: #f7ca5f; font-size: 62px; filter: drop-shadow(0 5px 0 rgba(255,255,255,.2)); }
.setup-cloud { position: absolute; width: 100px; height: 29px; border-radius: 30px; background: rgba(255,255,255,.75); }
.setup-cloud::before, .setup-cloud::after { content: ''; position: absolute; bottom: 7px; background: inherit; border-radius: 50%; }.setup-cloud::before { width: 47px; height: 47px; left: 17px; }.setup-cloud::after { width: 36px; height: 36px; right: 14px; }
.cloud-left { top: 110px; left: 16%; }.cloud-right { top: 180px; right: 7%; transform: scale(.65); }
.picnic-blanket { position: absolute; z-index: 2; left: 13%; right: 7%; bottom: 15%; height: 134px; border-radius: 22px; background-color: #fff8dc; background-image: linear-gradient(90deg, rgba(247,184,189,.65) 10%, transparent 10%, transparent 20%, rgba(247,184,189,.65) 20%, rgba(247,184,189,.65) 30%, transparent 30%, transparent 40%, rgba(247,184,189,.65) 40%, rgba(247,184,189,.65) 50%, transparent 50%); background-size: 80px 80px; transform: rotate(-6deg); box-shadow: 0 13px 0 rgba(129, 114, 88, .12); }
.basket { position: absolute; z-index: 4; font-size: 79px; left: 43%; bottom: 18%; transform: rotate(6deg); filter: drop-shadow(0 8px 0 rgba(105,83,72,.13)); }.setup-flower { position: absolute; z-index: 5; width: 54px; height: 54px; border-radius: 50%; }.setup-flower::before, .setup-flower::after { content: ''; position: absolute; width: 38px; height: 54px; left: 8px; top: 0; border-radius: 50%; background: inherit; transform: rotate(60deg); }.setup-flower::after { transform: rotate(-60deg); }.setup-flower span { position: absolute; z-index: 2; width: 18px; height: 18px; border-radius: 50%; background: #e4a35f; left: 18px; top: 18px; }.flower-pink { background: #f7b8bd; left: 15%; bottom: 24%; transform: scale(.65); }.flower-yellow { background: #f9d974; right: 14%; bottom: 29%; transform: scale(.55); }.flower-green { background: #b9dbb1; right: 28%; bottom: 8%; transform: scale(.42); }
.setup-copy { max-width: 500px; padding: 15px 0; }.eyebrow { margin: 0 0 9px; color: var(--green-dark); font-size: 11px; font-weight: 700; letter-spacing: .16em; }.setup-copy h1, h1, h2, h3, p { margin-top: 0; }.setup-copy h1 { margin-bottom: 14px; font: 700 clamp(40px, 5vw, 64px)/1.03 'Fraunces', serif; color: var(--brown-dark); letter-spacing: -.035em; }.setup-subtitle { max-width: 440px; color: #587177; font-size: 17px; line-height: 1.65; margin-bottom: 34px; }.setup-step { display: none; }.setup-step.is-active { display: block; animation: fade-in .35s ease both; }.setup-step label, .app-dialog label, .transaction-form label { display: block; margin: 0 0 8px; color: var(--brown-dark); font-size: 13px; font-weight: 700; }.input-wrap { display: flex; align-items: center; background: var(--white); border: 2px solid transparent; border-radius: 15px; transition: border .2s, box-shadow .2s; }.input-wrap:focus-within { border-color: var(--sky-deep); box-shadow: 0 5px 18px rgba(85, 163, 178, .14); }.input-wrap input { min-width: 0; flex: 1; }.input-wrap input, .plain-input { width: 100%; border: 2px solid transparent; border-radius: 15px; padding: 14px 16px; background: var(--white); color: var(--ink); font-size: 16px; outline: none; }.input-wrap input { border: 0; background: transparent; }.input-wrap input::placeholder, .plain-input::placeholder { color: #b6c0be; }.input-emoji { padding-left: 16px; color: var(--pink); font-size: 20px; }.currency-symbol { padding-left: 18px; color: var(--green-dark); font-size: 22px; font-weight: 700; }.currency-symbol.small { font-size: 17px; }.input-hint { color: #789096; font-size: 12px; margin: 9px 0 18px; }.starting-label { margin-top: 20px!important; }.primary-button, .outline-button, .text-button { border: 0; border-radius: 14px; padding: 14px 20px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }.primary-button { color: #fffef8; background: var(--brown); box-shadow: 0 6px 0 var(--brown-dark); }.primary-button:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--brown-dark); }.primary-button:active { transform: translateY(2px); box-shadow: 0 3px 0 var(--brown-dark); }.primary-button span { padding-left: 12px; font-size: 18px; }.full-button { width: 100%; margin-top: 22px; }.step-actions { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 23px; }.step-actions .primary-button { margin-top: 0; }.text-button { padding: 10px 2px; color: var(--brown); background: transparent; }.privacy-note { color: #76929a; font-size: 12px; margin-top: 27px; }

.dashboard-view { animation: fade-in .45s ease both; }.topbar { display: flex; align-items: center; justify-content: space-between; padding: 3px 0 62px; }.brand { display: flex; align-items: center; gap: 9px; color: var(--brown-dark); font: 700 22px 'Fraunces', serif; }.brand em { color: var(--green-dark); font-style: normal; }.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--brown); background: var(--yellow); font: 21px sans-serif; }.main-nav { display: flex; gap: 30px; margin-left: 105px; color: #668088; font-size: 13px; font-weight: 600; }.nav-link { position: relative; padding: 8px 0; }.nav-link.active, .nav-link:hover { color: var(--brown-dark); }.nav-link.active::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; border-radius: 2px; background: var(--pink); }.avatar-button { width: 38px; height: 38px; border: 0; border-radius: 50%; color: var(--brown-dark); background: var(--white); font-size: 11px; font-weight: 700; box-shadow: 0 4px 12px rgba(70,104,111,.12); }.welcome-row { display: flex; justify-content: space-between; align-items: end; margin-bottom: 28px; }.welcome-row h1 { margin-bottom: 8px; color: var(--brown-dark); font: 700 clamp(32px, 4.3vw, 52px)/1.04 'Fraunces', serif; letter-spacing: -.04em; }.welcome-row h1 span { color: var(--pink); }.welcome-copy { margin: 0; color: #658087; font-size: 15px; }.streak-badge { display: flex; align-items: center; gap: 8px; min-width: 145px; padding: 13px 18px; border-radius: 18px; color: var(--brown-dark); background: rgba(255,255,255,.65); font-size: 12px; line-height: 1.1; box-shadow: 0 5px 20px rgba(68, 119, 127, .09); }.streak-badge strong { font: 700 25px 'Fraunces', serif; }.sparkle { color: var(--pink); font-size: 18px; }.overview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 18px; }.overview-card { position: relative; min-height: 112px; display: flex; align-items: center; gap: 15px; padding: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.8); border-radius: 18px; background: rgba(255,255,255,.64); }.overview-card p { margin-bottom: 7px; color: #748489; font-size: 11px; font-weight: 700; }.overview-card strong { display: block; margin-bottom: 6px; color: var(--brown-dark); font: 700 25px 'Fraunces', serif; }.overview-card small { color: #8a9b9e; font-size: 11px; }.card-icon { display: grid; place-items: center; flex: 0 0 47px; width: 47px; height: 47px; border-radius: 14px; font-size: 22px; }.mint-icon { background: #e0f0dc; }.yellow-icon { background: var(--yellow-soft); }.pink-icon { background: var(--pink-soft); }.mini-sprout { position: absolute; right: 13px; bottom: -6px; color: var(--green); font-size: 52px; transform: rotate(-25deg); }
.content-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }.panel, .goal-section { border: 1px solid rgba(255,255,255,.88); border-radius: 21px; background: var(--white); box-shadow: var(--shadow); }.panel { padding: 27px; }.panel-heading { display: flex; align-items: start; justify-content: space-between; margin-bottom: 20px; }.panel h2, .goal-section h2 { margin: 0; color: var(--brown-dark); font: 700 26px 'Fraunces', serif; letter-spacing: -.02em; }.icon-button { width: 35px; height: 35px; border: 0; border-radius: 11px; color: #fff; background: var(--brown); font-size: 24px; line-height: 1; }.tabs { display: flex; gap: 6px; padding: 4px; margin-bottom: 14px; border-radius: 11px; background: #f6f4ec; }.tab-button { flex: 1; border: 0; border-radius: 8px; padding: 9px 11px; color: #8b9895; background: transparent; font-size: 12px; font-weight: 700; }.tab-button span { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 5px; border-radius: 6px; color: var(--brown); background: #fff; font-size: 10px; }.tab-button.active { color: var(--brown-dark); background: #fff; box-shadow: 0 3px 8px rgba(95,111,104,.08); }.payment-list { min-height: 168px; }.payment-item { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-bottom: 1px solid #efeee6; }.payment-item:last-child { border-bottom: 0; }.payment-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; color: var(--brown); background: #fff3cf; font-size: 17px; }.payment-item.completed .payment-icon { background: #e2f0dc; }.payment-details { min-width: 0; flex: 1; }.payment-details strong, .payment-details span { display: block; }.payment-details strong { overflow: hidden; color: var(--brown-dark); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }.payment-details span { margin-top: 3px; color: #93a09e; font-size: 11px; }.payment-price { margin-right: 3px; color: var(--brown-dark); font-weight: 700; font-size: 13px; }.payment-status { padding: 5px 8px; border-radius: 7px; color: #a67638; background: #fff4cc; font-size: 10px; font-weight: 700; }.payment-status.done { color: var(--green-dark); background: #e7f3e3; }.payment-delete { border: 0; padding: 4px; color: #b7c2bf; background: transparent; font-size: 15px; }.empty-state { display: grid; place-items: center; min-height: 156px; padding: 20px; color: #94a3a1; text-align: center; font-size: 13px; }.empty-state .empty-icon { margin-bottom: 8px; color: var(--yellow); font-size: 28px; }.subtle-add { width: 100%; border: 1px dashed #ccdcd5; border-radius: 11px; padding: 10px; color: var(--green-dark); background: transparent; font-size: 12px; font-weight: 700; }.subtle-add span { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 4px; border-radius: 50%; color: #fff; background: var(--green-dark); font-size: 15px; }
.log-panel { padding-bottom: 20px; }.tiny-flower { color: var(--pink); font-size: 23px; }.money-type-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; margin-bottom: 18px; border-radius: 11px; background: #f6f4ec; }.money-type { border: 0; border-radius: 8px; padding: 9px; color: #98a4a0; background: transparent; font-size: 11px; font-weight: 700; }.money-type span { margin-left: 5px; font-size: 15px; }.money-type.active { color: var(--green-dark); background: #e7f3e3; box-shadow: 0 2px 5px rgba(95,111,104,.08); }.money-type[data-type="out"].active { color: #b27478; background: var(--pink-soft); }.transaction-form label { margin-top: 14px; font-size: 11px; }.transaction-form label:first-of-type { margin-top: 0; }.transaction-form .full-button { margin-top: 17px; padding: 12px; }.plain-input { padding: 12px 13px; font-size: 13px; background: #fcfbf5; border-color: #efeee7; border-radius: 11px; }.amount-wrap { background: #fcfbf5; border: 2px solid #efeee7; border-radius: 11px; }.amount-wrap input { padding: 12px 12px; font-size: 14px; }.amount-wrap:focus-within { border-color: var(--sky-deep); }.recent-activity { margin-top: 21px; padding-top: 18px; border-top: 1px solid #edeee7; }.recent-heading { display: flex; align-items: baseline; justify-content: space-between; }.recent-heading h3 { margin: 0; color: var(--brown-dark); font: 700 15px 'Fraunces', serif; }.recent-heading span { color: #a1aeaa; font-size: 10px; }.activity-list { max-height: 125px; margin: 7px 0 0; padding: 0; list-style: none; overflow: auto; }.activity-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; color: #748488; font-size: 11px; }.activity-item + .activity-item { border-top: 1px solid #f2f0e9; }.activity-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.activity-value { flex: 0 0 auto; font-weight: 700; }.activity-value.in { color: var(--green-dark); }.activity-value.out { color: #ba7e7f; }
.goal-section { margin-top: 18px; padding: 27px; }.goal-heading-row { display: flex; align-items: end; justify-content: space-between; margin-bottom: 17px; }.outline-button { border: 1px solid #dfdcd0; color: var(--brown); background: #fff; font-size: 12px; }.outline-button:hover { border-color: var(--brown); background: var(--cream); }.outline-button span { color: var(--green-dark); font-size: 16px; }.goal-card { display: grid; grid-template-columns: 205px 1fr auto; align-items: center; gap: 27px; overflow: hidden; border-radius: 16px; background: #fff9e8; }.goal-illustration { position: relative; height: 176px; overflow: hidden; background: linear-gradient(#d0edf1 0 61%, #badaaf 61%); }.goal-illustration::before { content: ''; position: absolute; top: 21px; left: 35px; width: 46px; height: 46px; border-radius: 50%; background: #f8cf69; }.goal-sun { position: absolute; top: 7px; left: 27px; color: #efbd58; font-size: 21px; }.goal-cloud { position: absolute; top: 37px; right: 20px; color: rgba(255,255,255,.85); font-size: 28px; }.goal-hill { position: absolute; bottom: -38px; width: 155px; height: 110px; border-radius: 50%; }.hill-back { left: -40px; background: #9fcd9a; }.hill-front { right: -38px; bottom: -52px; background: #85bc91; }.goal-flower { position: absolute; z-index: 2; bottom: 23px; color: var(--pink); font-size: 27px; }.flower-a { left: 63px; }.flower-b { left: 108px; bottom: 35px; color: var(--yellow); font-size: 20px; }.flower-c { right: 20px; bottom: 15px; color: var(--yellow); font-size: 20px; }.goal-info { padding: 20px 0; }.goal-title-line { display: flex; align-items: center; gap: 12px; }.goal-title-line h3 { margin: 0 0 17px; color: var(--brown-dark); font: 700 23px 'Fraunces', serif; }.edit-goal { border: 0; padding: 0; color: var(--green-dark); background: transparent; font-size: 11px; font-weight: 700; }.progress-meta { display: flex; justify-content: space-between; margin-bottom: 9px; color: #899591; font-size: 11px; }.progress-meta strong { color: var(--brown); }.progress-track { height: 13px; border-radius: 20px; background: #f0e7c4; }.progress-fill { position: relative; min-width: 13px; max-width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green) 0%, #8fc99b 100%); transition: width .5s ease; }.progress-sparkle { position: absolute; right: 3px; top: -12px; color: #e3ad55; font-size: 18px; }.goal-encouragement { margin: 13px 0 0; color: #9a9c83; font-size: 12px; }.goal-sticker { align-self: start; margin: 22px 25px 0 0; width: 70px; height: 70px; display: grid; place-items: center; border: 2px dashed #efb758; border-radius: 50%; color: #ca9950; background: #ffe8a5; font-size: 9px; font-weight: 700; line-height: 1.15; text-align: center; transform: rotate(10deg); }.goal-sticker::first-line { font-size: 10px; }.tips-strip { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 17px 21px; border: 1px solid rgba(255,255,255,.75); border-radius: 15px; color: #667d80; background: rgba(255,255,255,.52); }.tip-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 13px; background: var(--yellow-soft); font-size: 20px; }.tips-strip .eyebrow { margin-bottom: 4px; }.tips-strip p:last-child { margin: 0; font-size: 12px; line-height: 1.45; }.tip-next { margin-left: auto; border: 0; color: var(--brown); background: transparent; font-size: 19px; }.footer { display: flex; justify-content: center; gap: 15px; padding: 30px 0 0; color: rgba(91,121,126,.75); font-size: 11px; }
.app-dialog { width: min(440px, calc(100% - 30px)); border: 0; border-radius: 21px; padding: 29px; color: var(--ink); background: var(--white); box-shadow: 0 22px 70px rgba(57,84,88,.3); }.app-dialog::backdrop { background: rgba(45,77,82,.3); backdrop-filter: blur(3px); }.app-dialog h2 { margin: 0 0 7px; color: var(--brown-dark); font: 700 29px 'Fraunces', serif; }.dialog-copy { margin-bottom: 23px; color: #899896; font-size: 13px; line-height: 1.5; }.dialog-close { position: absolute; top: 15px; right: 17px; border: 0; color: #9ba9a6; background: transparent; font-size: 25px; }.app-dialog .plain-input, .app-dialog .input-wrap { margin-bottom: 17px; }.app-dialog label:not(:first-of-type) { margin-top: 4px; }.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.two-fields .plain-input { margin-bottom: 0; width: 100%; padding: 12px 10px; font-size: 12px; }.two-fields label { font-size: 11px; }.app-dialog .full-button { margin-top: 8px; }
.celebration { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(55,92,97,.25); backdrop-filter: blur(4px); }.celebration[hidden] { display: none; }.celebration-card { position: relative; width: min(440px, 100%); padding: 43px 32px 32px; border: 3px solid #fff; border-radius: 24px; color: var(--ink); background: #fffbed; box-shadow: 0 20px 80px rgba(63,78,82,.26); text-align: center; animation: pop-in .5s cubic-bezier(.2,1.5,.5,1) both; }.celebration-flower { position: absolute; top: -31px; left: calc(50% - 31px); display: grid; place-items: center; width: 62px; height: 62px; border: 5px solid #fff; border-radius: 50%; color: #fff7d0; background: var(--pink); font-size: 31px; }.celebration-card h2 { margin: 8px 0 12px; color: var(--brown-dark); font: 700 33px/1.05 'Fraunces', serif; }.celebration-card p:not(.eyebrow) { color: #84918e; font-size: 14px; line-height: 1.55; }.celebration-card strong { color: var(--brown); }.celebration-card .primary-button { margin-top: 11px; }.confetti-layer { position: fixed; z-index: 21; inset: 0; pointer-events: none; overflow: hidden; }.confetti-piece { position: absolute; top: -18px; width: 10px; height: 17px; opacity: .9; animation: confetti-fall 2.8s linear forwards; }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } } @keyframes pop-in { from { opacity: 0; transform: scale(.75) translateY(20px); } to { opacity: 1; transform: none; } } @keyframes confetti-fall { to { transform: translate3d(var(--drift), 105vh, 0) rotate(720deg); opacity: 0; } }
@media (max-width: 860px) { .setup-view { grid-template-columns: 1fr; gap: 20px; padding-top: 10px; }.setup-art { min-height: 280px; width: min(100%, 430px); margin: 0 auto; }.setup-copy { margin: 0 auto; }.topbar { padding-bottom: 38px; }.main-nav { margin-left: 0; }.content-grid { grid-template-columns: 1fr; }.goal-card { grid-template-columns: 145px 1fr auto; gap: 18px; }.goal-illustration { height: 190px; }.goal-sticker { margin-right: 15px; }.overview-card { padding: 16px; }.overview-card strong { font-size: 22px; } }
@media (max-width: 580px) { .app-shell { width: min(100% - 28px, 500px); padding-top: 19px; }.setup-view { min-height: 0; padding: 10px 0 35px; }.setup-art { min-height: 225px; }.sun { top: 22px; left: 25px; font-size: 42px; }.setup-cloud { transform: scale(.7); }.cloud-left { top: 65px; }.cloud-right { top: 100px; }.picnic-blanket { height: 87px; bottom: 14%; }.basket { font-size: 52px; bottom: 16%; }.setup-copy h1 { font-size: 42px; }.setup-subtitle { font-size: 15px; margin-bottom: 26px; }.main-nav { display: none; }.topbar { padding-bottom: 32px; }.welcome-row { align-items: start; gap: 15px; }.welcome-row h1 { font-size: 37px; }.welcome-copy { font-size: 13px; }.streak-badge { min-width: 108px; padding: 10px; }.overview-grid { grid-template-columns: 1fr; gap: 9px; }.overview-card { min-height: 85px; }.overview-card strong { font-size: 21px; }.panel, .goal-section { padding: 20px 16px; }.panel h2, .goal-section h2 { font-size: 23px; }.goal-heading-row { align-items: start; gap: 10px; }.goal-card { grid-template-columns: 1fr; gap: 0; }.goal-illustration { height: 125px; }.goal-info { padding: 19px 17px 19px; }.goal-sticker { position: absolute; margin: 10px 0 0; right: 28px; width: 57px; height: 57px; font-size: 8px; }.goal-section { position: relative; }.goal-sticker { display: none; }.two-fields { grid-template-columns: 1fr; gap: 0; }.footer { flex-wrap: wrap; gap: 8px; }.flower-field .flower { opacity: .28; } }

/* Earthy cafe palette and calmer architectural frame */
:root {
  --sky: #e7ded2;
  --sky-deep: #b8a492;
  --ink: #3f4844;
  --muted: #7d8178;
  --brown: #8a6e5c;
  --brown-dark: #5b4a3f;
  --white: #fffdf8;
  --cream: #f4eee5;
  --yellow: #d8b978;
  --yellow-soft: #f0e4ca;
  --pink: #caa79a;
  --pink-soft: #f1e8e0;
  --green: #a9b99d;
  --green-dark: #617b68;
  --line: #ded4c8;
  --shadow: 0 18px 45px rgba(83, 70, 57, .13);
}

body { background: linear-gradient(120deg, #dcd0c1 0%, #eee8df 48%, #d7cbbb 100%); }
body::before, body::after { content: ''; position: fixed; z-index: 1; top: 0; bottom: 0; width: 26px; background: rgba(255, 254, 248, .92); box-shadow: 0 0 20px rgba(91, 74, 63, .12); pointer-events: none; }
body::before { left: 4.2%; } body::after { right: 4.2%; }
.flower-field .flower { display: none; }.flower-field .leaf { border-color: rgba(86, 113, 91, .25); opacity: .7; }
.app-shell { width: min(1160px, calc(100% - 90px)); }
.setup-view { gap: clamp(28px, 7vw, 90px); }
.setup-art { min-height: 480px; border: 10px solid var(--white); border-radius: 28px; background: linear-gradient(180deg, #b9967d 0 72%, #8b6d5a 72%); box-shadow: 0 20px 45px rgba(83, 70, 57, .18), inset 0 0 0 1px rgba(91, 74, 63, .12); }
.setup-art::after { left: -8%; right: -8%; bottom: -7%; height: 31%; background: #d8c1a6; opacity: 1; transform: rotate(-2deg); border-radius: 50%; box-shadow: 0 -6px 0 rgba(255, 253, 248, .5); }
.cafe-window { position: absolute; z-index: 1; top: 30px; left: 13%; width: 66%; height: 184px; border: 12px solid var(--white); background: #d7e4df; box-shadow: inset 0 0 0 2px rgba(91,74,63,.12); }
.cafe-window::before, .cafe-window::after { content: ''; position: absolute; background: var(--white); }.cafe-window::before { left: 50%; top: 0; bottom: 0; width: 7px; transform: translateX(-50%); }.cafe-window::after { left: 0; right: 0; top: 52%; height: 7px; transform: translateY(-50%); }.cafe-window span { position: absolute; right: 15px; top: 14px; width: 31px; height: 31px; border-radius: 50%; background: #d8b978; }
.cafe-shelf { position: absolute; z-index: 4; left: 7%; right: 5%; bottom: 19%; height: 18px; border-radius: 7px; background: #735849; box-shadow: 0 9px 0 rgba(70, 51, 42, .12); }
.cafe-plant { position: absolute; z-index: 5; bottom: 21%; width: 94px; height: 145px; }.cafe-plant::after { content: ''; position: absolute; bottom: -2px; left: 28px; width: 43px; height: 38px; border-radius: 4px 4px 14px 14px; background: #d7c3a4; box-shadow: inset 0 -5px 0 rgba(96, 73, 59, .14); }.cafe-plant i { position: absolute; bottom: 28px; left: 42px; width: 17px; height: 90px; border-radius: 100% 0; background: #809978; transform: rotate(-18deg); transform-origin: bottom; }.cafe-plant i:nth-child(2) { left: 50px; height: 104px; transform: rotate(19deg); background: #6e896f; }.cafe-plant i:nth-child(3) { left: 29px; height: 70px; transform: rotate(-44deg); background: #91a788; }.plant-left { left: 9%; }.plant-right { right: 7%; transform: scale(.73); transform-origin: bottom right; }.cafe-mug { position: absolute; z-index: 6; right: 30%; bottom: 20%; display: grid; place-items: center; width: 60px; height: 50px; border-radius: 6px 6px 18px 18px; color: #fff8e8; background: #9a7560; font-size: 29px; box-shadow: 0 8px 0 rgba(80, 57, 46, .14); }.cafe-menu { position: absolute; z-index: 5; top: 241px; left: 50%; color: #f9f0df; font-size: 9px; letter-spacing: .12em; line-height: 1.6; text-align: center; transform: translateX(-50%) rotate(-2deg); }.cafe-menu b { color: #fffaf0; font: 700 15px/1.25 Georgia, serif; letter-spacing: 0; white-space: nowrap; }
.setup-copy h1, .welcome-row h1 { color: var(--brown-dark); }.setup-subtitle, .welcome-copy { color: #6f736b; }.setup-copy h1 { font-family: Georgia, serif; }.primary-button { background: var(--brown); box-shadow: 0 6px 0 var(--brown-dark); }.primary-button:hover { box-shadow: 0 8px 0 var(--brown-dark); }.outline-button:hover { border-color: var(--brown); background: var(--cream); }.input-wrap:focus-within { border-color: var(--sky-deep); box-shadow: 0 5px 18px rgba(117, 89, 69, .14); }
.intro-card { display: flex; align-items: flex-start; gap: 13px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; color: #6c736d; background: rgba(255,253,248,.7); font-size: 13px; line-height: 1.45; }.intro-card strong { display: block; margin-bottom: 3px; color: var(--brown-dark); font: 700 18px Georgia, serif; }.intro-card p { margin: 0; }.intro-card-icon { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; color: #fffaf0; background: var(--green-dark); font-size: 16px; }.setup-step[data-step="1"] .step-actions { margin-top: 21px; }.setup-step[data-step="1"] .step-actions .primary-button { margin-top: 0; }
.panel, .goal-section { background: var(--white); }.overview-card, .tips-strip { background: rgba(255,253,248,.78); }.card-icon { border-radius: 12px; }.mint-icon { background: #e4eadf; }.yellow-icon { background: #f0e4ca; }.pink-icon { background: #f1e8e0; }.tab-button.active { color: var(--brown-dark); }.money-type.active { color: var(--green-dark); background: #e7eee3; }.money-type[data-type="out"].active { color: #a6756a; background: var(--pink-soft); }.goal-card { background: #f4eee2; }.goal-illustration { background: linear-gradient(#d7e4df 0 61%, #a9b99d 61%); }.hill-back { background: #a1b394; }.hill-front { background: #7c9679; }.goal-encouragement { color: #858a7c; }.tip-icon { background: var(--yellow-soft); }.footer { color: rgba(91, 74, 63, .68); }
.activity-item { align-items: flex-start; }.activity-label { line-height: 1.35; }.activity-date { display: block; margin-top: 2px; color: #a1a59c; font-size: 10px; }.activity-value { margin-top: 2px; }
.log-actions { display: flex; align-items: center; gap: 10px; }.compact-button { padding: 8px 10px; border-radius: 10px; font-size: 10px; }.compact-button span { font-size: 14px; }
.notice-toast { position: fixed; z-index: 30; top: 22px; left: 50%; display: flex; align-items: center; gap: 12px; width: min(420px, calc(100% - 30px)); padding: 15px 16px; border: 1px solid #e3d3bd; border-radius: 15px; color: var(--brown-dark); background: #fffaf0; box-shadow: 0 18px 45px rgba(83,70,57,.22); transform: translateX(-50%); animation: notice-in .25s ease both; }.notice-toast[hidden] { display: none; }.notice-toast strong { display: block; margin-bottom: 2px; font-size: 13px; }.notice-toast p { margin: 0; color: #7e837a; font-size: 11px; line-height: 1.35; }.notice-icon { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; color: #fffaf0; background: var(--brown); font-weight: 700; }.notice-toast button { margin-left: auto; border: 0; color: #a69b8e; background: transparent; font-size: 21px; }
@keyframes notice-in { from { opacity: 0; transform: translate(-50%, -12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 580px) { body::before, body::after { display: none; }.app-shell { width: min(100% - 28px, 500px); }.setup-art { min-height: 280px; }.cafe-window { height: 105px; top: 18px; border-width: 8px; }.cafe-shelf { bottom: 20%; }.cafe-plant { transform: scale(.72); transform-origin: bottom left; }.plant-right { transform: scale(.55); }.cafe-menu { top: 140px; }.cafe-mug { right: 34%; bottom: 20%; transform: scale(.75); }.intro-card { font-size: 12px; }.setup-step[data-step="1"] .step-actions { align-items: center; }.setup-step[data-step="1"] .step-actions .primary-button { padding: 12px 13px; font-size: 12px; }.setup-step[data-step="1"] .step-actions .primary-button span { padding-left: 4px; }}

/* Account action is intentionally a simple heart instead of initials. */
.avatar-button { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 0; padding: 0 0 3px; color: #fffdf8; background: var(--pink); font-size: 20px; line-height: 1; clip-path: polygon(50% 91%, 10% 48%, 6% 34%, 9% 20%, 20% 9%, 34% 9%, 50% 24%, 66% 9%, 80% 9%, 91% 20%, 94% 34%, 90% 48%); box-shadow: 0 4px 12px rgba(91, 74, 63, .16); }
.avatar-button:hover { background: var(--brown); transform: translateY(-2px); }
.streak-badge { display: none; }

.batch-button { width: 100%; margin: -6px 0 13px; border: 1px dashed #c8b9a9; border-radius: 10px; padding: 9px 12px; color: var(--brown); background: #fbf7ef; font-size: 11px; font-weight: 700; text-align: left; }
.batch-button:hover { border-color: var(--brown); background: var(--cream); }
.batch-button[hidden] { display: none; }
.batch-dialog { width: min(560px, calc(100% - 30px)); }
.batch-dialog .dialog-copy { margin-bottom: 17px; }
.spreadsheet-wrap { margin-top: 5px; overflow: hidden; border: 1px solid #dfd4c6; border-radius: 12px; background: #fffdf8; }
.spreadsheet-header, .batch-row { display: grid; grid-template-columns: 1.25fr .75fr; gap: 0; }
.spreadsheet-header { color: #75695f; background: #eee6da; font-size: 11px; font-weight: 700; }
.spreadsheet-header span { padding: 10px 12px; }.spreadsheet-header span + span { border-left: 1px solid #dfd4c6; }
.batch-row { border-top: 1px solid #e8dfd4; }.batch-row .plain-input, .batch-row .input-wrap { border: 0; border-radius: 0; background: transparent; }.batch-row .plain-input { padding: 11px 12px; font-size: 12px; }.batch-row .input-wrap { border-left: 1px solid #e8dfd4; }.batch-row .input-wrap:focus-within { border-color: var(--sky-deep); box-shadow: none; background: #fbf7ef; }.batch-row .batch-spent { padding: 11px 8px; font-size: 12px; }.batch-add-row { margin-top: 11px; border: 0; padding: 0; color: var(--green-dark); background: transparent; font-size: 11px; font-weight: 700; }.batch-add-row:hover { color: var(--brown); }

.insights-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 18px; margin-top: 18px; }
.piggy-panel, .graph-panel { min-width: 0; }.piggy-layout { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 8px; }.piggy-bank-wrap { position: relative; display: grid; place-items: center; min-height: 210px; border: 1px solid #e5d8c7; border-radius: 18px; background: radial-gradient(circle at 50% 38%, #fffdf8 0 35%, #f1e8dd 100%); transition: transform .3s ease; }.piggy-bank-wrap.is-full { animation: piggy-wiggle .7s ease-in-out infinite alternate; }.piggy-bank { width: min(100%, 225px); height: auto; overflow: visible; }.piggy-body { fill: rgba(255, 250, 240, .38); stroke: #9e785f; stroke-width: 3; }.piggy-outline { fill: none; stroke: #765849; stroke-width: 3; stroke-linejoin: round; }.piggy-ear { fill: rgba(193, 150, 121, .48); stroke: #8f6b55; stroke-width: 3; }.piggy-fill { fill: rgba(178, 133, 91, .66); transition: y .55s ease, height .55s ease; }.piggy-coin { fill: #d8b978; stroke: #a9824b; stroke-width: 2; }.piggy-coin-shine { fill: #fff2bf; opacity: .9; }.piggy-leg { fill: none; stroke: #765849; stroke-width: 7; stroke-linecap: round; }.piggy-tail { fill: none; stroke: #765849; stroke-width: 4; stroke-linecap: round; }.piggy-snout { fill: rgba(214, 171, 144, .7); stroke: #8f6b55; stroke-width: 3; }.piggy-nostril, .piggy-eye { fill: #5b4a3f; }.piggy-slot { fill: none; stroke: #765849; stroke-width: 5; stroke-linecap: round; }.piggy-copy { padding: 8px 0; }.piggy-amount strong { display: block; color: var(--brown-dark); font: 700 29px Georgia, serif; }.piggy-amount span { display: block; margin-top: 4px; color: #8d8d80; font-size: 11px; }.piggy-amount b { color: var(--brown); }.piggy-track { height: 10px; margin: 20px 0 12px; overflow: hidden; border-radius: 9px; background: #e6dccd; }.piggy-fill-bar { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #a9b99d, #6f936f); transition: width .55s ease; }.piggy-copy p { margin: 0; color: #8a897d; font-size: 11px; line-height: 1.45; }.great-job-banner { display: flex; align-items: center; gap: 10px; margin-top: 17px; padding: 11px 13px; border: 1px solid #d8b978; border-radius: 12px; color: #6b5647; background: #f6e9c9; }.great-job-banner[hidden] { display: none; }.great-job-icon { display: grid; place-items: center; flex: 0 0 27px; width: 27px; height: 27px; border-radius: 50%; color: #fff9ec; background: var(--brown); }.great-job-banner strong, .great-job-banner small { display: block; }.great-job-banner strong { font: 700 16px Georgia, serif; }.great-job-banner small { margin-top: 2px; color: #8a7966; font-size: 10px; }.great-job-sparkles { margin-left: auto; color: #bd9350; font-size: 13px; letter-spacing: 3px; }.great-job-banner.is-complete { animation: great-job-pop .75s ease both; }
.graph-copy { margin: -8px 0 8px; color: #8b8b80; font-size: 11px; }.graph-goal-key { align-self: center; color: #9d754e; font-size: 10px; font-weight: 700; }.graph-goal-key::before { content: ''; display: inline-block; width: 18px; margin: 0 5px 3px 0; border-top: 2px dashed #b88d5f; }.graph-wrap { overflow: hidden; border: 1px solid #e5d8c7; border-radius: 15px; background: #fffdf8; }.goal-graph { display: block; width: 100%; min-height: 235px; }.graph-grid-line { stroke: #eee5d9; stroke-width: 1; }.graph-goal-line { stroke: #b88d5f; stroke-width: 2; stroke-dasharray: 7 6; }.graph-path { fill: none; stroke: #6f936f; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }.graph-point { fill: #fffdf8; stroke: #6f936f; stroke-width: 3; }.graph-y-label, .graph-x-label, .graph-axis-title { fill: #9a948a; font-family: 'Trebuchet MS', Arial, sans-serif; font-size: 10px; }.graph-axis-title { fill: #7b756b; font-weight: 700; }.graph-footer { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; color: #9a948a; font-size: 10px; }.graph-footer strong { color: var(--green-dark); font-size: 12px; }.graph-footer span:last-child { color: #9d754e; }
@keyframes piggy-wiggle { from { transform: rotate(-2deg) translateY(0); } to { transform: rotate(2deg) translateY(-4px); } } @keyframes great-job-pop { 0% { opacity: 0; transform: scale(.94) translateY(7px); } 70% { transform: scale(1.02) translateY(-2px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }
@media (max-width: 860px) { .insights-grid { grid-template-columns: 1fr; } }
@media (max-width: 580px) { .piggy-layout { grid-template-columns: 1fr; }.piggy-bank-wrap { min-height: 185px; }.piggy-copy { padding: 0 5px 5px; }.graph-footer { font-size: 9px; }.graph-footer strong { font-size: 11px; } }

/* Keep the savings visuals in the first viewport, then let the actions follow. */
.dashboard-view { display: flex; flex-direction: column; }
.dashboard-view > .topbar { order: 0; }
.dashboard-view > .welcome-row { order: 1; }
.dashboard-view > .goal-section { order: 2; }
.dashboard-view > .insights-grid { order: 3; }
.dashboard-view > .content-grid { order: 4; }
.dashboard-view > .overview-grid { order: 5; }
.dashboard-view > .tips-strip { order: 6; }
.dashboard-view > .footer { order: 7; }

/* Keep every dashboard card in its own equal, non-overlapping grid cell. */
.dashboard-view > .overview-grid,
.dashboard-view > .content-grid,
.dashboard-view > .insights-grid { width: 100%; min-width: 0; }
.overview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.content-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; }
.insights-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 24px; }
.overview-card, .content-grid > .panel, .insights-grid > .panel { min-width: 0; }
.overview-card { min-height: 122px; }
.content-grid > .panel, .insights-grid > .panel { height: 100%; }
@media (max-width: 860px) {
  .overview-grid, .content-grid, .insights-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* Let the café wallpaper breathe between each major dashboard area. */
.dashboard-view > .insights-grid { margin-bottom: 34px; }
.dashboard-view > .content-grid { margin-top: 0; margin-bottom: 30px; }
.dashboard-view > .overview-grid { margin-top: 0; margin-bottom: 30px; }
.dashboard-view > .goal-section { margin-top: 0; }
.dashboard-view > .tips-strip { margin-top: 32px; }
@media (max-width: 580px) {
  .dashboard-view > .insights-grid { margin-bottom: 24px; }
  .dashboard-view > .content-grid, .dashboard-view > .overview-grid { margin-bottom: 22px; }
  .dashboard-view > .tips-strip { margin-top: 24px; }
}
