html,body{height:100%;overscroll-behavior:none}body{display:flow-root;background:var(--pw-canvas)}
/* Hide scroll tracks without disabling wheel, touch, or keyboard scrolling. */
html,body,.pw-shell,.pw-content{scrollbar-width:none;scrollbar-gutter:auto}
html::-webkit-scrollbar,body::-webkit-scrollbar,.pw-shell::-webkit-scrollbar,.pw-content::-webkit-scrollbar{display:none;width:0;height:0}
.pw-shell{--pw-frame-header:56px;--pw-frame-nav:76px;position:relative;display:grid;grid-template-rows:var(--pw-frame-header) minmax(0,1fr) var(--pw-frame-nav);width:100%;max-width:var(--pw-shell-max-width);height:100vh;height:100dvh;padding:var(--pw-safe-top) var(--pw-safe-right) var(--pw-safe-bottom) var(--pw-safe-left);margin:0 auto;background:var(--pw-surface);overflow:clip}
.pw-header{display:flex;align-items:center;justify-content:space-between;padding-inline:var(--pw-stage-gutter);min-width:0;background:var(--pw-header-background,var(--pw-surface))}.pw-header-context{font:850 22px/1 var(--pw-font-family);letter-spacing:-.045em}
.pw-content{min-width:0;min-height:0}.pw-bottom-navigation{position:relative;z-index:1;min-width:0;border-top:1px solid var(--pw-divider);background:var(--pw-surface)}.pw-navigation-items{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:100%;align-items:center;padding-inline:var(--pw-stage-gutter)}
.pw-nav-item{min-width:0;min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:0;border-radius:14px;background:transparent;color:var(--pw-nav-inactive);font:650 12px/1.1 var(--pw-font-family)}.pw-nav-item[aria-current="page"]{color:var(--pw-nav-active);font-weight:750}.pw-nav-item:hover,.pw-nav-item:active{background:var(--pw-primary-soft)}.pw-nav-item .pw-icon{width:25px;height:25px}
.pw-navigation-items .pw-nav-add{align-self:start;justify-self:center;position:relative;width:58.6px;height:59.6px;min-height:59.6px;margin-top:-2px;padding:0;border-radius:50%;overflow:hidden;background:transparent;box-shadow:none;transition:filter var(--pw-motion-fast) var(--pw-motion-easing),transform var(--pw-motion-fast) var(--pw-motion-easing)}.pw-navigation-items .pw-nav-add:hover{background:transparent;filter:brightness(1.06)}.pw-navigation-items .pw-nav-add:active{background:transparent;transform:scale(.97)}
.pw-nav-add-logo{position:absolute;left:50%;top:50%;width:120%;height:120%;max-width:none;object-fit:contain;transform:translate(-50%,-53%);pointer-events:none}
/* One reference pixel at 390px; Home content uses the same width-driven unit. */
.pw-shell[data-screen="home"]{--pw-u:min(.2564102564vw,1.3333333333px);--pw-frame-header:0px;--pw-frame-nav:calc(74.8 * var(--pw-u));background:var(--pw-canvas);border-radius:0;box-shadow:none}
.pw-shell[data-screen="home"] .pw-bottom-navigation{border-top:0;border-radius:calc(9 * var(--pw-u)) calc(9 * var(--pw-u)) 0 0;background:var(--pw-surface);box-shadow:var(--pw-shadow-nav);z-index:5}
.pw-shell[data-screen="home"] .pw-navigation-items{align-items:start;padding-inline:calc(5 * var(--pw-u))}
.pw-shell[data-screen="home"] .pw-nav-item{margin-top:calc(13 * var(--pw-u));height:calc(52 * var(--pw-u));min-height:44px;gap:calc(6 * var(--pw-u));font-size:calc(13 * var(--pw-u));line-height:1.15}
.pw-shell[data-screen="home"] .pw-nav-item .pw-icon{width:calc(30 * var(--pw-u));height:calc(30 * var(--pw-u))}
.pw-shell[data-screen="home"] .pw-nav-add{width:calc(58.6 * var(--pw-u));height:calc(59.6 * var(--pw-u));min-height:calc(59.6 * var(--pw-u));margin-top:calc(-2 * var(--pw-u));padding:0}
.pw-screen{min-width:0;min-height:0;height:100%;display:grid;padding:var(--pw-stage-gutter);gap:var(--pw-stage-gap)}.pw-panel{min-width:0;min-height:0;border-radius:24px;padding:16px;background:var(--pw-surface-soft)}.pw-muted{color:var(--pw-ink-muted);font-size:.875rem;line-height:1.4}.pw-meta{color:var(--pw-ink-muted);font-size:.75rem;line-height:1.35}
.pw-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.pw-money{min-width:0;font-variant-numeric:tabular-nums}.pw-money-line{display:flex;align-items:baseline;gap:4px;min-width:0}.pw-money-digits{font-size:clamp(28px,7vw,40px);font-weight:850;letter-spacing:-.045em;line-height:1.1}.pw-money-unit{font-size:14px;font-weight:650}.pw-money-exact{margin-top:4px;overflow-wrap:anywhere}.pw-money-unknown{color:var(--pw-ink-muted);font-size:16px}
.pw-compact-visual{position:relative;min-height:0;min-width:0;border-radius:18px;background:var(--pw-visual-blue)}.pw-compact-visual .pw-sprite{position:absolute;inset:auto;width:var(--pw-art-size,140px);height:var(--pw-art-size,140px);left:50%;top:50%;translate:-50% -55%;max-width:none}.pw-compact-visual .pw-illustration:not(.pw-sprite-poster){position:absolute;width:100%;height:100%;object-fit:contain}
.pw-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.pw-page-button{min-height:48px;min-width:48px;padding:8px 12px;border:0;border-radius:14px;background:var(--pw-primary-soft);color:var(--pw-primary-text);font:650 14px/1.1 var(--pw-font-family)}.pw-page-button:disabled{color:var(--pw-ink-muted);background:var(--pw-surface-soft)}
.pw-text-pager{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:12px;min-height:0;min-width:0;height:100%}.pw-text-page{min-width:0;min-height:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:1rem;line-height:1.5}
.pw-label{display:block;margin-bottom:12px;font-size:18px;font-weight:750}.pw-input{width:100%;min-width:0;min-height:48px;padding:12px;border:1px solid var(--pw-divider);border-radius:14px;background:white;font-size:16px}.pw-error{color:var(--pw-color-danger);font-size:.875rem;line-height:1.35;overflow-wrap:anywhere}
.pw-flow{position:fixed;inset:var(--pw-flow-top,0px) 0 auto;box-sizing:border-box;width:min(100%,520px);max-width:none;height:var(--pw-flow-height,100dvh);max-height:none;padding:var(--pw-safe-top) var(--pw-stage-gutter) var(--pw-safe-bottom);margin:0 auto;border:0;background:var(--pw-surface);color:var(--pw-ink-strong)}.pw-flow[open]{display:grid;grid-template-rows:48px auto minmax(0,1fr) auto;gap:12px}.pw-flow::backdrop{background:var(--pw-canvas)}.pw-flow-header{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center}.pw-flow-title{min-width:0;font-size:16px;font-weight:750;text-align:center}.pw-flow-progress{text-align:center}.pw-flow-body{display:flex;flex-direction:column;justify-content:center;gap:12px;min-width:0;min-height:0}.pw-flow-footer{display:grid;gap:8px;padding-block:8px 12px;min-width:0}.pw-flow-footer>.pw-button{width:100%}
.pw-all{grid-template-rows:minmax(0,1fr)}.pw-all-list{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));gap:12px;min-height:0}.pw-all-item{min-width:0;min-height:48px;display:grid;grid-template-columns:80px minmax(0,1fr) 16px;align-items:center;gap:12px;border:0;padding:12px;border-radius:22px;background:var(--pw-surface-soft);text-align:left}.pw-all-item-visual{width:80px;height:min(100%,80px);min-height:52px;--pw-art-size:112px}.pw-all-item-title{font-size:17px;font-weight:750}.pw-all-item-description{margin-top:4px;font-size:.75rem;line-height:1.35;color:var(--pw-ink-muted)}.pw-all-item-chevron{color:var(--pw-primary-text)}.pw-all-item:hover{background:var(--pw-primary-soft)}
.pw-accessible .pw-shell{height:auto;min-height:100dvh;overflow:visible;grid-template-rows:auto auto auto}.pw-accessible .pw-screen{height:auto;min-height:calc(100dvh - 120px)}.pw-accessible .pw-home{grid-template-rows:auto auto}.pw-accessible .pw-home-feature-grid{grid-auto-rows:minmax(180px,auto)}.pw-accessible .pw-flow[open]{min-height:var(--pw-flow-height,100dvh);height:auto;position:absolute;overflow:visible;grid-template-rows:auto auto auto auto}.pw-accessible .pw-flow-body{min-height:160px}
@media(max-height:667px){.pw-shell{--pw-frame-header:48px;--pw-frame-nav:64px}.pw-header-context{font-size:20px}.pw-navigation-items .pw-nav-add{width:52px;height:52px;min-height:52px;margin-top:-10px}.pw-panel{padding:12px}.pw-all-item{padding:8px;gap:8px}.pw-all-item-visual{--pw-art-size:100px;width:72px}}
@media(min-width:560px) and (min-height:700px){.pw-shell:not([data-screen="home"]){height:calc(100dvh - 32px);margin-block:16px;border-radius:28px;box-shadow:var(--pw-shadow-large)}}
@media(max-height:440px) and (min-width:500px){.pw-all-list{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}.pw-all-item{grid-template-columns:48px minmax(0,1fr) 12px}.pw-all-item-visual{width:48px;--pw-art-size:72px}.pw-all-item-description{display:none}}

.pw-flow-title{grid-column:2;grid-row:1}.pw-flow-header>.pw-icon-button:last-child{grid-column:3;grid-row:1}.pw-flow-header>.pw-icon-button:first-child{grid-column:1;grid-row:1}

.pw-size-probe{position:fixed;inset:0;width:1rem;height:1rem;visibility:hidden;pointer-events:none;contain:strict}
.pw-flow[data-compact="true"][open]{gap:6px;grid-template-rows:48px auto minmax(0,1fr) auto}
.pw-flow[data-keyboard="true"]{padding-bottom:0}
.pw-flow[data-compact="true"] .pw-flow-footer{padding-block:0}
.pw-flow[data-compact="true"] .pw-flow-body{gap:6px}
.pw-flow[data-compact="true"] .pw-label{font-size:16px;line-height:1.3;margin-bottom:0}
.pw-flow[data-compact="true"] .pw-record-field{gap:6px}
.pw-flow[data-compact="true"] .pw-goal-field{display:grid;gap:8px}
.pw-flow[data-compact="true"] .pw-record-amount-preview,.pw-flow[data-compact="true"] .pw-record-help,.pw-flow[data-compact="true"] .pw-goal-field>.pw-meta{display:none}
.pw-flow[data-compact="true"] .pw-record-error,.pw-flow[data-compact="true"] .pw-goal-error{font-size:14px}
.pw-accessible .pw-header-context{font-size:1.375rem}.pw-accessible .pw-home-card-title{font-size:1.125rem}.pw-accessible .pw-home-card-meta{font-size:.75rem;white-space:normal}.pw-accessible .pw-home-card-art{min-height:100px}.pw-accessible .pw-home-hero{min-height:180px;grid-template-columns:minmax(0,1fr)}.pw-accessible .pw-home-hero-art{display:none}
.pw-accessible .pw-money-digits{font-size:1.75rem}.pw-accessible .pw-money-unit{font-size:.875rem}.pw-accessible .pw-record-row-button{height:auto;min-height:96px;grid-template-columns:minmax(0,1fr);gap:8px}.pw-accessible .pw-record-list{height:auto;min-height:200px;grid-auto-rows:minmax(96px,auto)}.pw-accessible .pw-record-row-title,.pw-accessible .pw-record-row-date,.pw-accessible .pw-record-row-money{font-size:.875rem;white-space:normal;overflow:visible}.pw-accessible .pw-record-row-icon{display:none}.pw-accessible .pw-record{grid-template-rows:auto auto auto}
.pw-accessible .pw-goal-hero,.pw-accessible .pw-report-content>section{height:auto;min-height:400px}.pw-accessible .pw-report{grid-template-rows:auto auto auto}.pw-accessible .pw-all-list{grid-template-rows:repeat(4,minmax(120px,auto))}.pw-accessible .pw-text-pager{min-height:250px;height:400px}

.pw-accessible .pw-input{font-size:1rem}.pw-accessible .pw-label{font-size:1.125rem}.pw-accessible .pw-error{font-size:.875rem}.pw-accessible .pw-money-line{flex-wrap:wrap}.pw-accessible .pw-money-digits{min-width:0;overflow-wrap:anywhere}.pw-accessible .pw-goal-info{grid-template-columns:minmax(0,1fr)}.pw-accessible .pw-all-item-title{font-size:1.125rem}.pw-accessible .pw-all-item-description{font-size:.75rem}.pw-accessible .pw-flow[open]{height:var(--pw-flow-height,100dvh);min-height:0;position:fixed;overflow:auto}
.pw-accessible body{min-width:0}.pw-accessible .pw-flow-header{grid-template-columns:var(--pw-touch-target) minmax(0,1fr) var(--pw-touch-target)}.pw-accessible .pw-nav-item{font-size:.75rem;min-height:var(--pw-touch-target)}.pw-accessible .pw-page-button{font-size:.875rem;min-height:var(--pw-touch-target)}
.pw-accessible .pw-goal-actions{grid-template-columns:minmax(0,1fr)}.pw-accessible .pw-button{white-space:normal}

/* Preserve text reflow and reachable controls when the accessibility mode is active. */
.pw-accessible .pw-shell[data-screen="home"] .pw-bottom-navigation{min-height:88px}
.pw-accessible .pw-shell[data-screen="home"] .pw-nav-item{font-size:.75rem;height:auto;min-height:var(--pw-touch-target);gap:6px;margin-top:8px}
.pw-accessible .pw-shell[data-screen="home"] .pw-nav-add{height:59.6px;min-height:59.6px;margin-top:-2px}
