:root{color-scheme:light;--ink:#182d29;--muted:#52665d;--paper:#f6f8f5;--line:#d7e0d9;--green:#153f35;--leaf:#d1ef96;--bright:#547735;--white:#fff;--radius:19px;font-family:"DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-size:100%}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.62}button{color:inherit}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #2778c1;outline-offset:3px}
button{border:0;background:none}h1,h2,h3,p,figure{margin:0}svg{width:1.25em;height:1.25em;flex:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}button,nav a{min-height:44px}button svg{pointer-events:none}.skip{position:fixed;left:10px;top:-80px;background:white;padding:10px;z-index:30}.skip:focus{top:8px}
.appbar{background:#fff;border-bottom:1px solid var(--line);padding:env(safe-area-inset-top) max(22px,env(safe-area-inset-right)) 0 max(22px,env(safe-area-inset-left))}.barinner{max-width:1080px;margin:auto;display:flex;align-items:center;justify-content:space-between;min-height:76px;gap:24px}
.brand{font-size:1.28rem;font-weight:760;letter-spacing:-.05em;text-decoration:none;display:inline-flex;align-items:center;gap:11px;white-space:nowrap}.brandicon{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:var(--leaf);color:var(--green)}.brandicon svg{width:23px;height:23px;stroke-width:1.8}
.nav{display:flex;align-items:center;gap:7px}.nav a{display:flex;gap:8px;align-items:center;justify-content:center;padding:8px 15px;border-radius:11px;text-decoration:none;font-size:.93rem;font-weight:640;color:var(--muted)}.nav a[aria-current="page"]{background:#e9f2e5;color:var(--green)}.profile{display:flex;align-items:center;gap:9px;padding:2px 4px;font-size:.9rem;font-weight:650}.profile img{width:35px;height:35px;object-fit:cover;border-radius:50%;border:1px solid #c4cfc6}
#page{max-width:1124px;margin:auto;padding:36px 22px 64px;outline:none}.pageheading{margin-bottom:24px;display:flex;align-items:center;justify-content:space-between;gap:16px}h1{font-size:clamp(2rem,4vw,3rem);font-weight:700;line-height:1.0;letter-spacing:-.065em}.date{color:var(--muted);display:flex;gap:8px;align-items:center;font-weight:550;font-size:.92rem}.date svg{width:17px;height:17px}
.grid{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(0,1fr);gap:24px;align-items:start}.column{display:grid;gap:22px;min-width:0}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.cardpad{padding:23px 24px}
.hero{position:relative;isolation:isolate;background:var(--green);color:#fff;padding:27px 28px 23px;border-radius:var(--radius);overflow:hidden}.hero:after{content:"";position:absolute;z-index:-1;width:265px;height:265px;border-radius:50%;right:-150px;top:-138px;border:1px solid #5c8062;box-shadow:0 0 0 13px #21483b,0 0 0 14px #52755b,0 0 0 27px #20483b,0 0 0 28px #466c53,0 0 0 41px #20463b,0 0 0 42px #41634e,0 0 0 55px #1b4438,0 0 0 56px #365d47}
.herolabel{font-weight:620;display:flex;align-items:center;gap:9px;color:#f3f8ee}.herolabel svg{color:var(--leaf)}.amountrow{margin:12px 0 4px;display:flex;align-items:baseline;gap:11px;flex-wrap:wrap}.big{font-size:clamp(2.9rem,5.5vw,4.7rem);font-weight:630;line-height:1.1;letter-spacing:-.065em;font-variant-numeric:tabular-nums}.unit{font-size:1rem;color:#def0d5}.hero p{font-size:.94rem;line-height:1.45;color:#e1ebdf;max-width:89%}.hero .cta{margin-top:16px}.herofoot{margin-top:21px;padding-top:15px;border-top:1px solid #537064;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:.9rem;color:#dbe9df}.herofoot strong{color:white;font-variant-numeric:tabular-nums}
.cta,.subbtn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:11px;min-height:46px;padding:10px 16px;font-weight:700;font-size:.95rem;line-height:1.3}.cta{background:var(--green);color:white}.hero .cta{background:var(--leaf);color:var(--green)}.subbtn{background:#edf3e9;color:var(--green)}.wide{width:100%}.sectiontitle{font-size:1.29rem;font-weight:720;letter-spacing:-.04em;line-height:1.15}.quick h2,.sectionhead{margin-bottom:12px}.quickgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.quickbtn{min-height:90px;display:flex;flex-flow:column;align-items:flex-start;justify-content:center;gap:9px;padding:13px 15px;border-radius:15px;background:white;border:1px solid var(--line);font-weight:670;text-align:left;line-height:1.2}.tileicon,.rowicon{width:34px;height:34px;display:inline-grid;place-items:center;background:#eaf3df;color:var(--green);border-radius:10px}.tileicon svg,.rowicon svg{width:19px;height:19px}.pink{background:#f6e8df;color:#754a36}.blue{background:#e5eef1;color:#345e6e}
.goalphoto{height:188px;position:relative;overflow:hidden;background:#c4bbaa}.goalphoto img{width:100%;height:100%;object-fit:cover;object-position:50% 55%;display:block}.photolabel{position:absolute;left:17px;top:15px;display:inline-flex;align-items:center;gap:6px;background:#fff;color:var(--green);border-radius:99px;padding:7px 11px;font-size:.83rem;font-weight:690}.photolabel svg{width:16px;height:16px}.goalbody{padding:20px 23px}.goalbody h2{font-size:1.6rem;line-height:1.12;letter-spacing:-.055em}.goalamount{margin:12px 0 9px;color:var(--muted);font-size:.95rem}.goalamount strong{color:var(--ink);font-size:1.13rem}.progress{height:8px;border-radius:30px;background:#e7ece6;overflow:hidden}.progress span{display:block;height:100%;background:#628445;border-radius:inherit}.goalbottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:7px;color:var(--muted);font-size:.87rem}.textbtn{min-height:44px;padding:6px 0;font-weight:700;color:var(--green);font-size:.92rem;text-decoration:underline;text-decoration-color:#9cab9e;text-underline-offset:3px}.goalaction{margin-top:6px}.billrow,.sectionhead,.activityrow,.settingsrow,.lineitem{display:flex;align-items:center;justify-content:space-between;gap:14px}.sectionhead h2{margin:0}.billrow>div:first-child,.entrylabel{display:flex;align-items:center;gap:11px}.billrow h2{font-size:1.13rem;letter-spacing:-.03em}.small,.secondary{font-size:.9rem;color:var(--muted);line-height:1.45}.billnote{margin-top:11px}.billrow .rowicon{width:40px;height:40px}
.activity{padding:20px 24px}.activity .sectionhead{margin-bottom:0}.empty{padding:14px 0 5px;display:flex;align-items:center;gap:12px}.activityrow{padding:14px 0;border-top:1px solid #e6ebe5}.activityrow:first-child{border-top:0}.entrylabel{min-width:0}.entrylabel b{font-size:.99rem}.entrylabel small,.settingsrow small{display:block;color:var(--muted);line-height:1.5;font-size:.84rem}.entryamt{white-space:nowrap;font-weight:680;font-variant-numeric:tabular-nums}.pos{color:#3e6c3b}.bottom{display:none}
.intro{color:var(--muted);line-height:1.5;margin:-10px 0 22px;max-width:650px}.narrow{max-width:760px;margin-inline:auto}.compareform{display:grid;gap:18px}.pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}.option h2{display:flex;align-items:center;gap:10px;margin-bottom:14px}.letter{display:grid;place-items:center;background:#eaf3df;width:32px;height:32px;border-radius:10px;font-size:.95rem;font-weight:750}.option:nth-child(2) .letter{background:#e2edf0}.field{display:grid;gap:7px;margin:0 0 16px;font-size:.96rem;font-weight:650}.field:last-child{margin-bottom:0}input:not([type="checkbox"]),select{width:100%;height:48px;min-width:0;border:1px solid #9daf9f;border-radius:9px;background:white;color:var(--ink);padding:9px 12px;font-weight:500}input::placeholder{color:#78857e}select{appearance:none;background:white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233b5648' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;padding-right:36px}.check{display:flex;align-items:flex-start;gap:10px;font-size:1rem;line-height:1.45}.check input{margin:3px 0;width:21px;height:21px;accent-color:var(--green)}.explain{color:var(--muted);font-weight:400;font-size:.9rem;line-height:1.45}.result{padding:20px;border:1px solid #b7cba7;background:#ecf4e5;border-radius:16px}.result h2{font-size:1.28rem;margin-bottom:8px}.result p+p{margin-top:8px}.result p{line-height:1.5}.lineitem{padding:12px 0;border-bottom:1px solid var(--line)}.lineitem strong{white-space:nowrap}.lineitem:last-of-type{border-bottom:0}.settingsrow{width:100%;text-align:left;border-bottom:1px solid var(--line);padding:12px 0;font-weight:680}.settingsrow .ico{color:var(--green)}.settingsrow small{font-weight:400}.settingsrow:last-child{border-bottom:0}.settingscluster + .settingscluster{margin-top:19px}
dialog{color:var(--ink);background:white;width:min(470px,calc(100% - 24px));max-height:88dvh;overflow:auto;border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:0 24px 100px #122b2540}dialog::backdrop{background:#10251fb0}.sheethead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.sheethead h2{font-size:1.55rem;letter-spacing:-.04em}.iconbtn{display:grid;place-items:center;width:44px;height:44px;background:#eff3ed;border-radius:50%;flex-shrink:0}.formintro{color:var(--muted);margin:0 0 18px;line-height:1.5}.formfoot{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.formfoot button{flex:1}.error{color:#9a351c;font-size:.95rem;line-height:1.4}.error:not(:empty){padding:10px 0}.errbox{padding:15px;border-radius:12px;background:#fff0e8;color:#793a26;margin-bottom:18px}.hint{margin-top:12px;color:var(--muted);font-size:.9rem;line-height:1.45}.explainblock{padding:13px 15px;background:#f0f5ec;border-radius:12px;color:#365841;font-size:.94rem;line-height:1.4}.quote{margin:15px 0}.floatnotice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:12;background:var(--green);color:white;box-shadow:0 4px 24px #182e2935;padding:13px 18px;border-radius:12px;max-width:calc(100vw - 32px);width:max-content;font-size:.94rem}
@media(max-width:760px){.desktop{display:none}.barinner{min-height:62px}.appbar{padding-left:max(18px,env(safe-area-inset-left));padding-right:max(18px,env(safe-area-inset-right))}.brand{font-size:1.2rem}.brandicon{width:32px;height:32px;border-radius:10px}.profile span{display:none}.profile{min-width:44px;justify-content:center}.profile img{width:34px;height:34px}#page{padding:24px 16px calc(88px + env(safe-area-inset-bottom))}.pageheading{margin-bottom:16px}.date{font-size:.83rem}.date svg{display:none}.grid,.column{display:contents}.walletgrid{display:flex;flex-direction:column;gap:18px}.hero{order:1;padding:22px 21px 18px}.quick{order:2}.goal{order:3}.bill{order:4}.recent{order:5}.amountrow{margin-top:9px}.herofoot{margin-top:15px;padding-top:12px}.quickbtn{align-items:center;text-align:center;padding:11px 3px;min-height:80px;font-size:.92rem}.quickgrid{gap:8px}.sectiontitle{font-size:1.18rem}.goalphoto{height:148px}.goalbody,.cardpad,.activity{padding:18px}.goalbody h2{font-size:1.48rem}.bottom{position:fixed;z-index:5;bottom:0;left:0;right:0;display:flex;justify-content:space-evenly;gap:0;border-top:1px solid #ccd7ce;background:#fffffff8;padding:5px max(9px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(9px,env(safe-area-inset-left))}.bottom a{flex:1;flex-direction:column;gap:3px;font-size:.81rem;line-height:1.15;max-width:144px;padding:6px}.bottom a svg{width:21px;height:21px}.floatnotice{bottom:calc(75px + env(safe-area-inset-bottom))}.pair{gap:9px}.option{padding:13px 10px}.field{font-size:.93rem}.field input,.field select{font-size:1rem}.intro{margin:0 0 18px}.entryamt{font-size:.96rem}.activityrow{gap:7px}.entrylabel{gap:7px}dialog{padding:20px;max-height:88dvh}.big{font-size:3.25rem}}
@media(max-width:380px){.pageheading{align-items:flex-start;flex-direction:column;gap:7px}.quickbtn{font-size:.86rem}.cardpad,.activity{padding:15px}.pair{grid-template-columns:1fr}.goalbottom{flex-wrap:wrap}.amountrow{gap:7px}.big{font-size:2.7rem}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background-color .15s,box-shadow .15s}.quickbtn:hover,.subbtn:hover{background:#e9f1e4}.cta:hover{filter:brightness(1.06)}}

/* Keep the goal address readable against the outdoor photo in every crop. */
.goalphoto { height: clamp(190px, 20vw, 245px); }
.goalphoto img { object-position: 50% 51%; }
.house-address {
  position: absolute;
  bottom: 12px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 28px);
  padding: 7px 11px;
  border-radius: 8px;
  color: #fff;
  background: #183c31f5;
  font-size: 1rem;
  font-weight: 680;
}
.house-address svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  html { scroll-padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  #page {
    padding-top: 17px;
    padding-inline: max(14px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-right));
  }
  .barinner { min-height: 54px; }
  .profile { min-height: 48px; }
  .profile span { display: inline; font-size: .9rem; }
  .pageheading { margin-bottom: 13px; }
  .walletgrid { gap: 14px; align-items: stretch; }
  .hero { padding: 18px; }
  .hero p { max-width: 100%; }
  .amountrow { gap: 7px; }
  .big { max-width: 100%; font-size: clamp(2.35rem, 11vw, 3.3rem); overflow-wrap: anywhere; }
  .quick h2 { margin-bottom: 8px; }
  .quickbtn { min-height: 75px; gap: 6px; font-size: 1rem; }
  .goalphoto { height: auto; aspect-ratio: 2.4; min-height: 134px; }
  .goalbody { padding: 16px; }
  .goalbottom { flex-wrap: wrap; }
  .goalaction, .cta, .subbtn { min-height: 49px; }
  .textbtn { min-height: 48px; padding-inline: 4px; }
  .bottom a { min-height: 49px; font-size: .87rem; }
  .activityrow, .billrow, .herofoot { flex-wrap: wrap; }
  .billrow > div:first-child, .entrylabel { min-width: 0; }
  .entrylabel b, .entryamt { overflow-wrap: anywhere; }
  .compareform { gap: 12px; }
  .compareform > .field, .option .field { margin-bottom: 0; }
  .compareform .error:empty { display: none; }
  .pair { grid-template-columns: 1fr; gap: 10px; }
  .option {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 12px;
    padding: 14px;
  }
  .option h2 { grid-column: 1 / -1; margin: 0; font-size: 1.15rem; }
  .option .field { min-width: 0; align-content: end; }
  .field input, .field select { min-height: 50px; font-size: max(16px, 1rem); }
  .result { scroll-margin-bottom: 70px; }
  body:has(dialog[open]) { overflow: hidden; }
  dialog {
    position: fixed;
    inset: auto 0 var(--keyboard-inset, 0px);
    width: min(100%, 550px);
    max-width: 100%;
    max-height: calc(var(--visible-height, 100dvh) - max(9px, env(safe-area-inset-top)));
    margin: 0 auto;
    border-radius: 22px 22px 0 0;
    padding: 12px max(18px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
    overscroll-behavior: contain;
    scroll-padding-block: 12px;
  }
  .sheethead { position: sticky; top: -12px; z-index: 1; background: #fff; padding-block: 5px; }
  .formfoot { gap: 9px; }
}
@media (max-width: 359px) {
  .option { gap: 7px; padding: 11px; }
  .quickbtn { font-size: .92rem; }
  .profile span { display: none; }
}
@media (orientation: landscape) and (max-height: 500px) {
  dialog {
    max-height: calc(var(--visible-height, 100dvh) - 12px);
    overscroll-behavior: contain;
  }
}
