:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#182b36;background:#f3f6f5;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}.container{width:100%;max-width:760px;margin:0 auto;padding:24px 16px 48px}.brand{color:#48665d;letter-spacing:.08em;font-size:14px;font-weight:700}.site-footer{color:#596b64;border-top:1px solid #dce6e0;grid-template-columns:repeat(2,minmax(0,1fr));align-items:last baseline;gap:8px;margin-top:40px;padding-top:12px;font-size:11px;line-height:1.6;display:grid}.site-footer>div{min-width:0}.site-footer p{overflow-wrap:anywhere;margin:0}.site-footer-name{color:#182b36;letter-spacing:.12em;font-size:12px;font-weight:600}.site-footer-english{color:#48665d;letter-spacing:.22em;font-size:10px}.site-footer-rights{text-align:right}.site-footer-version{white-space:nowrap;justify-content:flex-end;gap:8px;display:flex}h1{font-size:clamp(24px,6vw,32px);line-height:1.3}h2{font-size:20px}h1,h2,p,a,li,label{overflow-wrap:anywhere}a{color:#09614d;text-underline-offset:3px}.card{background:#fff;border:1px solid #dce6e0;border-radius:14px;min-width:0;margin:20px 0;padding:20px}.stack{grid-template-columns:minmax(0,1fr);gap:16px;display:grid}label{gap:6px;font-weight:600;display:grid}input,select,button{font:inherit;border-radius:8px;min-width:0;max-width:100%}input,select{width:100%;color:inherit;background:#fff;border:1px solid #a6b8af;padding:11px 12px}button{color:#fff;cursor:pointer;background:#106a54;border:1px solid #106a54;min-height:44px;padding:10px 16px}button:disabled{cursor:not-allowed;opacity:.65}button.secondary{color:#106a54;background:#fff}:focus-visible{outline-offset:3px;outline:3px solid #ba7200}.muted{color:#596b64;font-size:14px}.error{color:#a42121}.confirm-dialog{color:#182b36;background:#fff;border:1px solid #dce6e0;border-radius:16px;width:min(420px,100% - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:22px;position:fixed;inset:0;box-shadow:0 8px 28px #182b3629}.confirm-dialog[open],.confirm-dialog[open]::backdrop{animation:.18s ease-out both toast-in}.confirm-dialog::backdrop{background:#182b368c}.confirm-dialog h2{margin:0 0 12px}.confirm-dialog p{margin:0 0 22px;line-height:1.6}.confirm-dialog-actions{justify-content:flex-end;gap:12px;display:flex}.confirm-dialog-actions button{overflow-wrap:anywhere;flex:1;min-height:44px}button.confirm-dialog-danger{color:#fff;background:#a42121;border-color:#a42121}.toast-region{z-index:1000;pointer-events:none;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.success-toast{color:#182b36;pointer-events:auto;text-align:left;background:#fffffff2;border:1px solid #dce6e0;border-radius:16px;align-items:center;gap:12px;max-width:min(420px,100%);padding:18px 22px;animation:.18s ease-out both toast-in;display:flex;box-shadow:0 8px 28px #182b3629}.success-toast span{overflow-wrap:anywhere;white-space:normal;min-width:0}.toast-check{color:#106a54;flex-shrink:0;width:28px;height:28px}.success-toast.is-closing{animation:.18s ease-in both toast-out}@keyframes toast-in{0%{opacity:0}to{opacity:1}}@keyframes toast-out{0%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){.success-toast,.success-toast.is-closing,.confirm-dialog[open],.confirm-dialog[open]::backdrop{animation:none}}.user-list{padding:0;list-style:none}.user-list li{border-top:1px solid #dce6e0;padding:16px 0}.user-list li:first-child{border-top:0}.user-list h2{margin:0;font-size:18px}.user-list form{margin-top:12px}.toolbar{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.notice{margin:0}textarea{font:inherit;resize:vertical;border:1px solid #a6b8af;border-radius:8px;width:100%;min-width:0;max-width:100%;padding:11px 12px}.choice{gap:6px}.choice-results{gap:6px;max-height:240px;overflow-y:auto}.choice-results button{text-align:left;overflow-wrap:anywhere;white-space:normal}.amount-income{color:#106a54}.amount-expense{color:#a42121}.amount-transfer{color:#385c9a}.nav-icon{flex-shrink:0}.home-heading{flex-wrap:wrap;align-items:baseline;gap:4px 12px;display:flex}.home-heading h1{margin:0}.home-heading p{color:#596b64;margin:0;font-size:12px}.home-header>.muted{margin:4px 0 12px}.quick-nav{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin-bottom:16px;display:grid}.quick-nav-link{color:#106a54;background:#fff;border:1px solid #dce6e0;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:44px;height:64px;padding:8px 0;text-decoration:none;transition:transform .12s,background-color .12s;display:flex}.quick-nav-link .nav-icon{width:22px;height:22px}.quick-nav-link span{text-align:center;white-space:nowrap;font-size:12px;font-weight:600;line-height:1.4}.quick-nav-primary{color:#fff;background:#106a54;border-color:#106a54;box-shadow:0 4px 10px #106a5429}.back-link,.nav-button{border-radius:12px;justify-content:center;align-items:center;gap:8px;min-width:44px;min-height:44px;padding:10px 14px;font-weight:600;text-decoration:none;display:inline-flex}.back-link{color:#48665d;justify-content:flex-start;padding-inline:10px}.page-nav-header{flex-wrap:wrap;align-items:center;gap:8px 20px;margin:12px 0 20px;display:flex}.page-nav-header h1{margin:0}.transaction-nav{flex-wrap:wrap;gap:12px;display:flex}.nav-button{color:#106a54;background:#fff;border:1px solid #106a54}.nav-button-primary{color:#fff;background:#106a54}.home-footer{justify-content:center;align-items:center;gap:8px;margin-top:28px;display:flex}.home-footer-link,button.logout-link{color:#596b64;text-underline-offset:4px;background:0 0;border:0;justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:10px 16px;font-size:14px;text-decoration:underline;display:inline-flex}.container:has(.page-with-fab){padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}.entry-fab{z-index:100;right:max(20px, env(safe-area-inset-right,0px));bottom:calc(20px + env(safe-area-inset-bottom,0px));color:#fff;background:#106a54;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;text-decoration:none;display:flex;position:fixed;box-shadow:0 6px 20px #106a5447}.entry-fab .nav-icon{width:28px;height:28px}.back-link,.nav-button,.entry-fab{transition:transform .12s,background-color .12s}@media (hover:hover){.quick-nav-link:hover,.nav-button:hover,.back-link:hover{background:#edf5f1}.quick-nav-primary:hover,.nav-button-primary:hover,.entry-fab:hover{background:#0b5643}.home-footer-link:hover,button.logout-link:hover{color:#106a54}}.quick-nav-link:active,.back-link:active,.nav-button:active,.entry-fab:active{transform:scale(.96)}@media (prefers-reduced-motion:reduce){.quick-nav-link,.back-link,.nav-button,.entry-fab{transition:none}.quick-nav-link:active,.back-link:active,.nav-button:active,.entry-fab:active{background:#edf5f1;transform:none}.quick-nav-primary:active,.nav-button-primary:active,.entry-fab:active{background:#0b5643}}.transaction-filters summary{cursor:pointer;min-height:44px;font-weight:600;display:list-item}.transaction-filters[open] summary{margin-bottom:12px}.transaction-filter-grid{grid-template-columns:minmax(0,1fr);gap:16px;display:grid}.transaction-sort{align-items:end}.transaction-sort label{flex:200px}.transaction-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0 12px;display:grid}.transaction-summary dt{color:#596b64;font-size:14px}.transaction-summary dd{overflow-wrap:anywhere;margin:4px 0 0;font-weight:600}.transaction-pagination{border-top:1px solid #dce6e0;padding-top:16px}.transaction-pagination p{flex:100%;margin:0}@media (min-width:560px){.transaction-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.transaction-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
