.floating-calculator-button{z-index:45;color:#ffda82;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;cursor:pointer;background:linear-gradient(145deg,#243c60ee,#05152cf5);border:1px solid #f8d379;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:fixed;box-shadow:0 6px 22px #03102544,inset 0 1px 1px #ffe3a080}.floating-calculator-button.is-moving{cursor:grabbing;outline:3px solid #e6b65088;box-shadow:0 0 24px #e6b65088}.floating-calculator-panel{z-index:44;box-sizing:border-box;background:var(--surface-solid,#fff);color:var(--ink,#122541);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);border:1px solid #d8ac5680;border-radius:18px;padding:12px;position:fixed;overflow:auto;box-shadow:0 15px 50px #00132c44,inset 0 1px 1px #f7d77a66}.floating-calculator-panel header{justify-content:space-between;align-items:center;margin-bottom:6px;display:flex}.floating-calculator-panel header button{color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:8px;display:grid}.calculator-display{font-size:12px;display:block}.calculator-display input{box-sizing:border-box;text-align:right;border:1px solid var(--border);width:100%;min-width:0;color:var(--ink);background:var(--surface-muted);border-radius:12px;margin:4px 0 8px;padding:9px;font-size:21px;display:block}.calculator-keys{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;display:grid}.calculator-keys button{border:1px solid var(--border);background:var(--surface-muted);min-height:36px;color:var(--ink-strong);cursor:pointer;border-radius:10px;font-size:16px}.calculator-keys button:active{transform:scale(.95)}.calculator-keys .calculator-equals{color:#101c30;background:linear-gradient(120deg,#f6cf72,#bd811a);border-color:#eac066;grid-column:1/-1;font-weight:700}.calculator-help{color:var(--ink-muted);margin:10px 0 0;font-size:10px;line-height:1.4}.calculator-error{color:var(--rose);font-size:12px}.calculator-move-hint{z-index:46;color:#ffda82;pointer-events:none;background:#091b35;border-radius:20px;padding:10px 18px;position:fixed;top:16px;left:50%;transform:translate(-50%)}.floating-calculator-button:focus-visible,.calculator-keys button:focus-visible{outline-offset:3px;outline:3px solid #dca83f}.transaction-details-dialog{border:1px solid var(--border-strong);width:min(760px,100vw - 24px);max-height:calc(100dvh - 32px);color:var(--ink);background:var(--surface-solid);border-radius:24px;padding:0;overflow:auto;box-shadow:0 24px 80px #0005,inset 0 1px #efc76b66}.transaction-details-dialog::backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#03102599}.transaction-details-body{overflow-wrap:anywhere;padding:24px}.transaction-details-body h2{color:var(--ink-strong);margin:0}.transaction-details-body section{border-top:1px solid var(--border);padding:14px 0}.transaction-details-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0;display:grid}.transaction-details-grid dt{color:var(--ink-muted);margin-bottom:5px;font-size:12px}.transaction-details-grid dd{margin:0;font-weight:600}.transaction-details-notes{white-space:pre-wrap;line-height:1.6}.transaction-details-receipt{object-fit:contain;background:#fff;border-radius:12px;max-width:100%;max-height:650px;margin:12px auto;display:block}.receipt-download{flex-shrink:0;align-items:center;gap:8px;text-decoration:none;display:inline-flex}.transaction-details-body footer{justify-content:flex-end;margin-top:12px;display:flex}@media (width<=480px){.transaction-details-body{padding:18px}.transaction-details-grid{gap:14px}.transaction-details-dialog{border-radius:18px}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-synthesis:none;text-rendering:optimizelegibility;font-optical-sizing:auto;--font-body:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--radius-card:22px;--radius-control:13px;--radius-pill:999px;--shadow-card:0 16px 42px #08407f1f, 0 2px 8px #08407f0f;--shadow-floating:0 10px 26px #004aa857, 0 3px 8px #0033802e;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--ease-out:cubic-bezier(.16, 1, .3, 1);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--page:#e8f4ff;--page-deep:#cce5ff;--page-blue:#1674d1;--surface:#ffffffdb;--surface-solid:#fff;--surface-muted:#eff7ff;--surface-glass:#ffffffb8;--border:#ffffffc2;--border-strong:#2d7cd12e;--ink:#173253;--ink-strong:#0d2b50;--ink-muted:#56728f;--ink-subtle:#6d88a3;--blue:#126bd0;--blue-deep:#0755b3;--blue-wash:#e1f1ff;--green:#138463;--green-wash:#e4f7f1;--rose:#cb416e;--rose-wash:#fff0f4;--amber:#a76c07;--amber-wash:#fff6df;--violet:#7346bd;--violet-wash:#f1eaff;--line:#1e55891a;--focus:#005fcc;background:linear-gradient(145deg,#78d3fc 0%,#408be7 35%,#176bce 68%,#4caeea 100%)}[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--page:#081a31;--page-deep:#0d2948;--page-blue:#0b3564;--surface:#14273ee6;--surface-solid:#152b45;--surface-muted:#1a3553;--surface-glass:#142a45c7;--border:#b2d8fa29;--border-strong:#78b6f247;--ink:#d9e8f7;--ink-strong:#f2f8ff;--ink-muted:#a8bfd6;--ink-subtle:#91abc5;--blue:#70b8ff;--blue-deep:#2588ed;--blue-wash:#2b85dd2e;--green:#59d2a7;--green-wash:#2594702e;--rose:#ff82a3;--rose-wash:#cb416e2e;--amber:#ffd072;--amber-wash:#a76c072e;--violet:#c2a2ff;--violet-wash:#7346bd33;--line:#bedcf71f;--focus:#8bc9ff;background:linear-gradient(145deg,#0b2745 0%,#0b1d35 42%,#07162a 100%)}*{box-sizing:border-box}html{background:#176bce;min-width:320px;min-height:100%}body{min-width:320px;min-height:100vh;color:var(--ink);font-family:var(--font-body);background:inherit;margin:0;font-size:14px;line-height:1.45}button,input,select,textarea{font:inherit}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.app-frame{min-height:100vh;color:var(--ink);display:flex}.sidebar{z-index:5;border:1px solid var(--border);background:var(--surface-glass);-webkit-backdrop-filter:blur(22px)saturate(135%);width:244px;box-shadow:var(--shadow-card);border-radius:24px;flex-direction:column;padding:20px 14px 14px;display:flex;position:fixed;inset:18px auto 18px 18px}.brand-lockup{color:inherit;align-items:center;gap:11px;padding:2px 8px 26px;text-decoration:none;display:flex}.brand-mark{color:#fff;background:linear-gradient(145deg,#67c9ff,#0868d2);border:1px solid #ffffffb3;border-radius:14px;flex:none;place-items:center;width:42px;height:42px;display:grid;box-shadow:inset 0 1px #ffffff6b,0 5px 12px #0052ad33}.brand-copy,.admin-chip>span:nth-child(2){gap:1px;min-width:0;display:grid}.brand-copy strong{color:var(--ink-strong);letter-spacing:-.035em;font-size:17px}.brand-copy small{color:var(--ink-muted);white-space:nowrap;font-size:10px}.sidebar-section-label{color:var(--ink-subtle);letter-spacing:.14em;padding:0 12px 9px;font-size:9px;font-weight:750}.primary-nav{gap:4px;display:grid;overflow-y:auto}.nav-link{min-height:43px;color:var(--ink-muted);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;padding:0 12px;font-size:13px;font-weight:560;text-decoration:none;transition:color .18s,background .18s,transform .18s;display:flex}.nav-link:hover{color:var(--ink-strong);background:var(--blue-wash)}.nav-link:active{transform:scale(.98)}.nav-link.active{color:var(--blue-deep);background:var(--blue-wash);font-weight:700}[data-theme=dark] .nav-link.active{color:var(--blue)}.more-nav{gap:3px;padding:0 0 5px 12px;display:grid}.nav-link-sub{min-height:37px;font-size:12px}.nav-link-sub svg{width:16px}.sidebar-bottom{gap:9px;margin-top:auto;display:grid}.help-link{min-height:38px}.admin-chip{border-top:1px solid var(--line);align-items:center;gap:9px;min-height:58px;padding:8px;display:flex}.admin-avatar{color:#fff;background:linear-gradient(145deg,#22a8e2,#1161bc);border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-weight:750;display:grid}.admin-chip strong{color:var(--ink-strong);font-size:11px}.admin-chip small{color:var(--ink-muted);font-size:9px}.icon-button{width:38px;height:38px;color:var(--ink-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:12px;flex:none;place-items:center;transition:color .18s,background .18s,transform .18s;display:inline-grid;position:relative}.icon-button:hover{color:var(--blue-deep);background:var(--blue-wash)}.icon-button:active{transform:scale(.94)}.admin-chip .icon-button{margin-left:auto}.main-column{width:calc(100% - 280px);min-height:100vh;margin-left:280px}.topbar{align-items:center;gap:10px;height:72px;padding:0 clamp(22px,4vw,58px);display:flex}.topbar-spacer{flex:1}.notification-dot{background:#ed5471;border:1.5px solid #fff;border-radius:50%;width:7px;height:7px;position:absolute;top:7px;right:7px}.mobile-brand{color:var(--ink-strong);align-items:center;gap:9px;font-size:15px;text-decoration:none;display:none}.mobile-brand .brand-mark{border-radius:12px;width:35px;height:35px}.page-content{width:min(100%,1280px);margin:0 auto;padding:28px clamp(22px,4vw,58px) 72px}.page-intro{min-height:205px;animation:rise-in .55s var(--ease-out) both;align-items:center;padding:12px 2px;display:flex}.eyebrow{color:var(--blue-deep);letter-spacing:.1em;margin:0 0 7px;font-size:10px;font-weight:760}[data-theme=dark] .eyebrow{color:var(--blue)}h1,h2,p{margin-top:0}h1{color:var(--ink-strong);letter-spacing:-.045em;margin-bottom:8px;font-size:clamp(28px,3.3vw,40px);font-weight:720;line-height:1.12}.page-description{color:var(--ink-muted);margin:0;font-size:14px}.quick-add-button{z-index:10;color:#fff;width:58px;height:58px;box-shadow:var(--shadow-floating);cursor:pointer;transition:transform .2s var(--ease-out), filter .2s ease;background:linear-gradient(145deg,#2998f1,#075dc4);border:3px solid #fffc;border-radius:50%;place-items:center;display:grid;position:fixed;bottom:28px;right:34px}.quick-add-button:hover{filter:brightness(1.08);transform:translateY(-3px)scale(1.04)}.quick-add-button:active{transform:scale(.94)}.dialog-backdrop{z-index:20;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#04183466;place-items:center;padding:20px;animation:.16s both fade-in;display:grid;position:fixed;inset:0}.quick-add-dialog{border:1px solid var(--border);background:var(--surface-solid);width:min(100%,430px);animation:rise-in .24s var(--ease-out) both;border-radius:23px;padding:22px;box-shadow:0 24px 80px #04234c47}.dialog-heading{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.dialog-heading h2{color:var(--ink-strong);letter-spacing:-.03em;margin:0;font-size:20px}.dialog-heading .eyebrow{margin-bottom:5px;font-size:9px}.quick-action-list{display:grid}.quick-action{min-height:54px;color:var(--ink);border:0;border-bottom:1px solid var(--line);text-align:left;cursor:pointer;background:0 0;align-items:center;gap:12px;padding:0 5px;font-weight:600;display:flex}.quick-action:last-child{border-bottom:0}.quick-action:hover{color:var(--blue-deep)}.quick-action-icon{border-radius:11px;place-items:center;width:32px;height:32px;display:grid}.tone-0{color:var(--green);background:var(--green-wash)}.tone-1{color:var(--rose);background:var(--rose-wash)}.tone-2{color:var(--blue);background:var(--blue-wash)}.tone-3{color:var(--violet);background:var(--violet-wash)}.tone-4{color:var(--amber);background:var(--amber-wash)}.quick-action-arrow{color:var(--ink-subtle);margin-left:auto;font-size:23px}.bottom-nav{display:none}@keyframes rise-in{0%{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media (width<=900px){.sidebar{width:220px}.main-column{width:calc(100% - 250px);margin-left:250px}}@media (width<=1023px){.app-frame{display:block}.sidebar{display:none}.main-column{width:100%;min-height:100vh;margin:0}.topbar{height:60px;padding:0 15px}.mobile-brand{display:flex}.topbar .icon-button{width:36px;height:36px}.page-content{padding:16px 16px 100px}.page-intro{min-height:190px}h1{font-size:30px}.bottom-nav{z-index:8;border:1px solid var(--border);background:var(--surface-glass);-webkit-backdrop-filter:blur(22px)saturate(140%);min-height:68px;box-shadow:var(--shadow-card);border-radius:21px;justify-content:space-around;align-items:center;padding:5px;display:flex;position:fixed;inset:auto 10px 10px}.bottom-nav-link{min-width:48px;min-height:53px;color:var(--ink-muted);cursor:pointer;background:0 0;border:0;border-radius:13px;align-content:center;justify-items:center;gap:3px;padding:4px 7px;font-size:9px;font-weight:560;text-decoration:none;display:grid}.bottom-nav-link.active{color:var(--blue-deep)}[data-theme=dark] .bottom-nav-link.active{color:var(--blue)}.quick-add-button{width:54px;height:54px;bottom:48px;right:50%;transform:translate(50%)}.quick-add-button:hover{transform:translate(50%)translateY(-3px)scale(1.04)}.quick-add-button:active{transform:translate(50%)scale(.94)}}@media (width<=360px){.bottom-nav{inset-inline:5px}.bottom-nav-link{min-width:42px;padding-inline:4px;font-size:8px}}.configuration-message{min-height:100vh;color:var(--ink);align-content:center;justify-items:start;gap:12px;padding:clamp(24px,8vw,100px);display:grid}.configuration-message h1{max-width:18ch;margin:0}.configuration-message p{max-width:64ch;color:var(--ink-muted);line-height:1.6}.auth-page{place-items:center;min-height:calc(100vh - 72px);padding:28px 16px 72px;display:grid}.auth-card{border:1px solid var(--border);background:var(--surface-glass);-webkit-backdrop-filter:blur(22px)saturate(135%);width:min(100%,430px);box-shadow:var(--shadow-card);border-radius:25px;padding:clamp(24px,5vw,38px)}.auth-mark{margin-bottom:20px;font-size:12px;font-weight:800}.auth-card h1{margin-bottom:10px;font-size:clamp(26px,4vw,34px)}.auth-description{color:var(--ink-muted);margin-bottom:26px;line-height:1.6}.auth-card form{gap:9px;display:grid}.auth-card label{color:var(--ink-strong);margin-top:6px;font-size:12px;font-weight:680}.auth-card input{width:100%;height:47px;color:var(--ink-strong);border:1px solid var(--border-strong);border-radius:var(--radius-control);background:var(--surface-solid);padding:0 13px}.auth-card input:focus{border-color:var(--blue)}.primary-button{color:#fff;border-radius:var(--radius-control);cursor:pointer;background:linear-gradient(135deg,#1687e5,#075bbd);border:0;min-height:48px;margin-top:8px;padding:0 18px;font-weight:700;transition:transform .18s,filter .18s;box-shadow:0 7px 18px #0058b433}.primary-button:hover{filter:brightness(1.07);transform:translateY(-1px)}.primary-button:disabled{opacity:.65;cursor:wait}.form-message{color:var(--green);margin:7px 0 0;font-size:12px;line-height:1.55}.form-message.error{color:var(--rose)}.auth-link{color:var(--blue-deep);text-underline-offset:3px;margin-top:18px;font-size:12px;font-weight:650;display:inline-block}[data-theme=dark] .auth-link{color:var(--blue)}.text-button{min-height:36px;color:var(--blue-deep);text-underline-offset:3px;cursor:pointer;background:0 0;border:0;font-weight:650;text-decoration:underline}.auth-loading{min-height:calc(100vh - 72px);color:var(--ink-muted);place-items:center;display:grid}.family-page{width:min(100%,940px);margin:0 auto}.module-tabs{border:1px solid var(--border);background:var(--surface-glass);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:15px;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding:5px;display:flex}.module-tabs button{min-height:38px;color:var(--ink-muted);cursor:pointer;background:0 0;border:0;border-radius:11px;padding:0 14px;font-weight:620}.module-tabs button[aria-selected=true]{color:var(--blue-deep);background:var(--surface-solid);box-shadow:0 3px 10px #08407f14}[data-theme=dark] .module-tabs button[aria-selected=true]{color:var(--blue)}.content-panel{border:1px solid var(--border);border-radius:var(--radius-card);background:var(--surface-glass);-webkit-backdrop-filter:blur(18px)saturate(125%);backdrop-filter:blur(18px)saturate(125%);box-shadow:var(--shadow-card);padding:clamp(18px,3.5vw,28px)}.section-heading{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:20px;display:flex}.section-heading h2{color:var(--ink-strong);letter-spacing:-.03em;margin:0 0 5px;font-size:20px}.section-heading p{color:var(--ink-muted);margin:0;font-size:12px}.section-heading .primary-button{flex:none;margin-top:0}.member-form{border:1px solid var(--line);background:var(--surface-solid);border-radius:17px;gap:8px;margin:0 0 22px;padding:18px;display:grid}.member-form label,.category-form label,.settings-group label{color:var(--ink-strong);margin-top:6px;font-size:12px;font-weight:680}.member-form input:not([type=color]),.member-form textarea,.category-form input,.category-form select,.settings-group select{width:100%;min-height:43px;color:var(--ink-strong);border:1px solid var(--border-strong);border-radius:var(--radius-control);background:var(--surface-solid);padding:9px 12px}.member-form input[type=color]{border:1px solid var(--border-strong);background:var(--surface-solid);border-radius:10px;width:56px;height:40px;padding:3px}.member-form textarea{resize:vertical}.form-actions{align-items:center;gap:9px;margin-top:7px;display:flex}.secondary-button{min-height:40px;color:var(--blue-deep);border:1px solid var(--border-strong);background:var(--surface-solid);cursor:pointer;border-radius:11px;padding:0 13px;font-size:11px;font-weight:650}[data-theme=dark] .secondary-button{color:var(--blue)}.member-list{gap:9px;display:grid}.member-row{border:1px solid var(--line);background:var(--surface);border-radius:16px;align-items:center;gap:13px;min-height:72px;padding:11px 12px;display:flex}.member-row.inactive{opacity:.72}.member-avatar{object-fit:cover;border:2px solid var(--border);border-radius:50%;flex:none;width:44px;height:44px}.member-initial{color:#fff;place-items:center;font-weight:750;display:grid}.member-details{gap:1px;min-width:0;display:grid}.member-details strong{color:var(--ink-strong);font-size:13px}.member-details span,.member-details small{color:var(--ink-muted);font-size:10px}.member-row .secondary-button{margin-left:auto}.empty-state{text-align:center;justify-items:center;padding:42px 20px;display:grid}.empty-state h2{color:var(--ink-strong);margin:12px 0 6px;font-size:17px}.empty-state p{max-width:42ch;color:var(--ink-muted);margin:0;font-size:12px;line-height:1.6}.empty-mark{width:46px;height:46px;color:var(--blue);background:var(--blue-wash);border-radius:15px;place-items:center;font-size:27px;display:grid}.loading-state{color:var(--ink-muted);text-align:center;padding:40px 16px}.inline-alert{border:1px solid var(--rose);background:var(--rose-wash);border-radius:14px;justify-content:space-between;align-items:center;gap:14px;margin-bottom:15px;padding:12px 15px;display:flex}.inline-alert p{color:var(--rose);margin:0;font-size:12px}.category-form{grid-template-columns:1fr 160px auto;align-items:end;gap:9px;display:grid}.category-form label{grid-row:1}.category-form input,.category-form select{grid-row:2}.category-form .primary-button{grid-row:2;margin:0}.category-manager>.section-heading{margin-bottom:15px}.category-columns{grid-template-columns:1fr 1fr;gap:22px;margin-top:24px;display:grid}.category-columns h3{color:var(--ink-strong);font-size:13px}.category-columns ul{grid-template-columns:1fr 1fr;gap:7px;margin:0;padding:0;list-style:none;display:grid}.category-columns li{min-height:34px;color:var(--ink);background:var(--surface-muted);border-radius:9px;justify-content:space-between;align-items:center;gap:8px;padding:6px 9px;font-size:10px;display:flex}.category-columns li span{color:var(--blue);white-space:nowrap;font-size:8px}.settings-page{gap:14px;display:grid}.settings-page .section-heading{margin-bottom:4px}.settings-group{gap:8px;max-width:280px;display:grid}.setting-toggle{min-height:48px;color:var(--ink-strong);border-bottom:1px solid var(--line);align-items:center;gap:11px;font-size:12px;font-weight:590;display:flex}.setting-toggle input{width:17px;height:17px;accent-color:var(--blue-deep)}.settings-actions{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.settings-actions .primary-button{margin:0}@media (width<=680px){.auth-page{min-height:calc(100vh - 60px);padding:20px 13px 92px}.section-heading{flex-direction:column;align-items:stretch;gap:12px}.section-heading .primary-button{align-self:flex-start}.category-form{grid-template-columns:1fr}.category-form label,.category-form input,.category-form select,.category-form .primary-button{grid-area:auto/1}.category-columns{grid-template-columns:1fr;gap:12px}}.auth-card>.secondary-button{width:100%;min-height:44px;margin-top:16px;display:block}.auth-browser-help{color:var(--ink-muted);margin:18px 0 0;font-size:12px;line-height:1.5}.transaction-module>.page-intro{justify-content:space-between;gap:22px}.transaction-module>.page-intro .primary-button{flex:none;margin:0}.transaction-summary{grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 16px;display:grid}.transaction-summary>div{border:1px solid var(--border);background:var(--surface-glass);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-radius:16px;align-content:center;gap:5px;min-height:79px;padding:13px 16px;display:grid;box-shadow:0 8px 20px #08407f12}.transaction-summary span{color:var(--ink-muted);font-size:10px}.transaction-summary strong{color:var(--ink-strong);font-variant-numeric:tabular-nums;font-size:20px}.transaction-form-panel{margin-bottom:16px}.transaction-form{grid-template-columns:1fr 1fr;gap:8px 14px;display:grid}.transaction-form label{color:var(--ink-strong);align-self:end;margin-top:6px;font-size:11px;font-weight:650}.transaction-form input,.transaction-form select,.transaction-form textarea{width:100%;min-height:42px;color:var(--ink-strong);border:1px solid var(--border-strong);background:var(--surface-solid);border-radius:11px;padding:8px 11px}.transaction-form textarea{resize:vertical}.transaction-form fieldset{border:1px solid var(--border);border-radius:12px;grid-column:1/-1;min-width:0;padding:14px}.transaction-form input[type=checkbox]{vertical-align:middle;width:18px;min-height:18px;margin-right:8px}.transaction-form .form-message,.transaction-form .form-actions{grid-column:1/-1}.transaction-filters{grid-template-columns:1.35fr 1fr 1fr 1fr;gap:8px;margin-bottom:14px;display:grid}.transaction-filters input,.transaction-filters select{width:100%;min-width:0;min-height:40px;color:var(--ink-strong);border:1px solid var(--border-strong);background:var(--surface-solid);border-radius:10px;padding:0 10px;font-size:11px}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.transaction-list{gap:7px;display:grid}.transaction-row{border:1px solid var(--line);background:var(--surface);border-radius:14px;align-items:center;gap:12px;min-height:72px;padding:10px 11px;display:flex}.transaction-type-mark{border-radius:12px;flex:none;place-items:center;width:36px;height:36px;font-size:20px;font-weight:700;display:grid}.transaction-type-mark.income{color:var(--green);background:var(--green-wash)}.transaction-type-mark.expense{color:var(--rose);background:var(--rose-wash)}.transaction-type-mark.transfer{color:var(--blue);background:var(--blue-wash)}.transaction-copy{gap:2px;min-width:0;display:grid}.transaction-copy strong{color:var(--ink-strong);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.transaction-copy span,.transaction-copy small{color:var(--ink-muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.transaction-value{text-align:right;white-space:nowrap;gap:4px;margin-left:auto;display:grid}.transaction-value strong{color:var(--ink-strong);font-variant-numeric:tabular-nums;font-size:12px}.transaction-value strong.positive{color:var(--green)}.transaction-value strong.negative{color:var(--rose)}.status-pill{width:fit-content;color:var(--ink-muted);background:var(--surface-muted);border-radius:999px;justify-self:end;padding:3px 7px;font-size:8px;font-weight:660}.status-pill.paid,.status-pill.received{color:var(--green);background:var(--green-wash)}.status-pill.pending,.status-pill.planned{color:var(--amber);background:var(--amber-wash)}.status-pill.overdue{color:var(--rose);background:var(--rose-wash)}.status-pill.cancelled{color:var(--ink-subtle);text-decoration:line-through}.transaction-actions{flex-wrap:wrap;justify-content:flex-end;gap:4px;margin-left:6px;display:flex}.transaction-actions button{min-height:29px;color:var(--blue-deep);border:1px solid var(--border-strong);background:var(--surface-solid);cursor:pointer;border-radius:8px;padding:0 7px;font-size:8px;font-weight:650}[data-theme=dark] .transaction-actions button{color:var(--blue)}.transaction-module>.page-intro{min-height:155px}.member-history-list{gap:12px;margin-top:18px;display:grid}.member-history{padding:17px}.member-history h3{color:var(--ink-strong);margin:0 0 10px;font-size:14px}.member-history p,.member-history li{color:var(--ink-muted);font-size:11px}.member-history ul{gap:5px;margin:10px 0 0;padding-left:19px;display:grid}@media (width<=720px){.transaction-summary{gap:6px}.transaction-summary>div{min-height:70px;padding:10px}.transaction-summary strong{font-size:17px}.transaction-filters{grid-template-columns:1fr 1fr}.transaction-row{flex-wrap:wrap;gap:9px}.transaction-copy{flex:1}.transaction-value{text-align:left;margin-left:48px}.status-pill{justify-self:start}.transaction-actions{margin-left:auto}}@media (width<=420px){.transaction-form{grid-template-columns:1fr}.transaction-form .form-message,.transaction-form .form-actions{grid-column:1}.transaction-actions{justify-content:flex-start;width:100%;margin-left:47px}}.main-column,.page-content,.content-panel{min-width:0}.transaction-form>label:has(input[type=checkbox]){grid-column:1/-1}.transaction-form>input,.transaction-form>select,.transaction-form>textarea{min-width:0}.admin-email{overflow-wrap:anywhere}.mobile-more-menu{display:none}.icon-button{min-width:44px;min-height:44px}.install-app{right:max(18px, env(safe-area-inset-right));bottom:calc(102px + env(safe-area-inset-bottom));z-index:15;position:fixed}.install-button{border:1px solid var(--border-strong);background:var(--surface-solid);min-height:44px;color:var(--blue-deep);box-shadow:var(--shadow-card);cursor:pointer;border-radius:24px;align-items:center;gap:8px;padding:10px 16px;font-weight:650;display:flex}.install-help{border:1px solid var(--border);background:var(--surface-solid);max-width:min(350px,100vw - 36px);max-height:65dvh;box-shadow:var(--shadow-card);border-radius:16px;margin-bottom:10px;padding:18px;overflow:auto}.install-help .icon-button{float:right}.install-help p{margin-top:12px;font-size:14px}.install-help p:last-child{margin-bottom:0}@media (width<=1023px){.page-content{padding-bottom:calc(180px + env(safe-area-inset-bottom))}.topbar{padding-top:env(safe-area-inset-top);height:calc(64px + env(safe-area-inset-top))}.bottom-nav{bottom:calc(10px + env(safe-area-inset-bottom))}.bottom-nav-link{flex:1;min-width:0;padding-inline:3px}.quick-add-button{right:18px;bottom:calc(158px + env(safe-area-inset-bottom));transform:none}.quick-add-button:hover,.quick-add-button:active{transform:scale(1.04)}.mobile-more-menu{z-index:18;left:12px;right:12px;bottom:calc(88px + env(safe-area-inset-bottom));border:1px solid var(--border);background:var(--surface-solid);max-height:65dvh;box-shadow:var(--shadow-card);border-radius:18px;grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;display:grid;position:fixed;overflow-y:auto}input,select,textarea{font-size:16px}.transaction-module>.page-intro{flex-wrap:wrap;padding-bottom:20px}.transaction-actions button{min-height:44px;font-size:12px}.module-tabs{flex-wrap:wrap}}@media (width>=681px) and (width<=1023px){.page-content{padding-inline:32px}.bottom-nav{max-width:680px;margin-inline:auto}}@media (width<=480px){.mobile-more-menu,.transaction-summary,.transaction-form{grid-template-columns:1fr}.transaction-form .form-message,.transaction-form .form-actions{grid-column:1}.section-heading{flex-wrap:wrap}}.auth-page{min-height:100dvh;padding-bottom:180px}.dashboard{gap:22px;display:grid}.dashboard-intro{justify-content:space-between;gap:22px;min-height:140px}.dashboard-controls{flex-shrink:0;align-items:end;gap:8px;display:flex}.dashboard-controls label{color:var(--ink-strong);gap:6px;font-size:12px;font-weight:650;display:grid}.dashboard-controls input{border:1px solid var(--border);max-width:190px;min-height:44px;color:var(--ink-strong);background:var(--surface-glass);border-radius:12px;padding:8px 12px}.dashboard-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.metric-card{background:var(--surface-glass);border:1px solid var(--border);box-shadow:var(--shadow-card);border-radius:20px;align-content:start;gap:13px;min-width:0;padding:20px;display:grid}.metric-card>span{color:var(--ink-muted);align-items:center;gap:7px;font-size:12px;display:flex}.metric-card>strong{letter-spacing:-.035em;font-variant-numeric:tabular-nums;color:var(--ink-strong);overflow-wrap:anywhere;font-size:clamp(21px,2.2vw,30px)}.metric-card>small{color:var(--ink-muted);font-size:11px;line-height:1.5}.metric-result{background:linear-gradient(135deg,#167bda,#084d9d);border-color:#7dbdf1}.metric-result>strong{color:#fff}.dashboard .content-panel{margin:0;padding:24px}.dashboard-section-heading{justify-content:space-between;align-items:start;gap:16px;margin-bottom:22px;display:flex}.dashboard-section-heading h2{color:var(--ink-strong);letter-spacing:-.025em;margin:0 0 7px;font-size:20px}.dashboard-section-heading p:not(.eyebrow){color:var(--ink-muted);margin:0;font-size:12px}.dashboard-link{color:var(--blue-deep);flex-shrink:0;padding:10px 0;font-size:12px;font-weight:650;text-decoration:none}[data-theme=dark] .dashboard-link{color:var(--blue)}.chart-legend{color:var(--ink-muted);flex-wrap:wrap;align-items:center;gap:16px;font-size:12px;display:flex}.chart-legend>span{align-items:center;gap:7px;display:inline-flex}.chart-legend i{border-radius:3px;width:10px;height:10px;display:inline-block}.legend-received,.bar-received{background:var(--blue);fill:var(--blue)}.legend-expected,.bar-expected{background:var(--amber);fill:var(--amber)}.chart-legend small{margin-left:auto}.income-chart{width:100%;height:auto;max-height:310px;margin-top:18px;display:block;overflow:visible}.chart-grid{stroke:var(--line);stroke-dasharray:4 4}.chart-label{fill:var(--ink-muted);font-size:12px}.chart-data{color:var(--ink-muted);margin-top:12px;font-size:12px}.chart-data summary{cursor:pointer;padding:10px 0}.dashboard-table-wrap{overflow-x:auto}.chart-data table{border-collapse:collapse;text-align:left;width:100%}.chart-data th,.chart-data td{border-bottom:1px solid var(--line);padding:10px}.chart-data caption{text-align:left;padding:10px}.dashboard-detail-grid{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);align-items:start;gap:20px;display:grid}.dashboard-history,.dashboard-agenda{margin:0;padding:0;list-style:none}.dashboard-history li{border-bottom:1px solid var(--line);align-items:center;gap:12px;padding:16px 0;display:flex}.history-icon{background:var(--rose-wash);color:var(--rose);border-radius:12px;flex-shrink:0;place-items:center;width:38px;height:38px;display:grid}.history-copy{gap:4px;min-width:0;display:grid}.history-copy strong{color:var(--ink-strong);overflow-wrap:anywhere;font-size:13px}.history-copy span,.history-copy time{color:var(--ink-muted);overflow-wrap:anywhere;font-size:11px}.history-amount{flex-shrink:0;justify-items:end;gap:7px;margin-left:auto;display:grid}.history-amount>strong{color:var(--ink-strong);font-variant-numeric:tabular-nums;font-size:13px}.history-amount .status-pill{font-size:10px}.dashboard-agenda li{border-bottom:1px solid var(--line);align-items:start;gap:14px;padding:16px 0;display:flex}.agenda-date{min-width:64px;color:var(--blue-deep);background:var(--blue-wash);border-radius:12px;justify-items:center;gap:3px;padding:10px 6px;display:grid}.agenda-date strong{font-size:23px;line-height:1}.agenda-date span{font-size:10px}.agenda-copy{gap:5px;min-width:0;display:grid}.agenda-copy a{color:var(--ink-strong);overflow-wrap:anywhere;font-size:13px;font-weight:650;text-decoration:none}.agenda-copy span{color:var(--ink-muted);font-size:11px}.agenda-copy strong{color:var(--ink-strong);font-size:13px}.dashboard .money-positive{color:var(--green)}.dashboard .money-pending{color:var(--amber)}.dashboard .money-overdue{color:var(--rose)}.dashboard-note{color:var(--ink-muted);margin:16px 0 0;font-size:11px;line-height:1.6}.dashboard-empty,.chart-empty{color:var(--ink-muted);text-align:center;padding:28px 8px}.dashboard-empty h3{color:var(--ink-strong);margin:14px 0 8px;font-size:15px}.dashboard-empty p{font-size:12px}.dashboard-more{width:100%;min-height:44px;margin-top:16px}@media (width<=1250px){.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-detail-grid{grid-template-columns:1fr}}@media (width<=680px){.dashboard{gap:16px}.dashboard-intro{flex-direction:column;align-items:start;min-height:auto}.dashboard-controls{width:100%}.dashboard-controls label{margin-right:auto}.dashboard .content-panel{padding:18px}.metric-card{gap:10px;padding:15px}.metric-card>span{font-size:11px}.metric-card>strong{font-size:21px}.dashboard-section-heading{flex-wrap:wrap;gap:5px;margin-bottom:14px}.chart-legend{gap:12px}.chart-legend small{width:100%;margin-left:0}.income-chart{min-height:180px}.history-icon{display:none}.history-copy{flex:1}.history-amount{overflow-wrap:anywhere;flex-shrink:1;max-width:45%}.history-amount>strong{text-align:right}}@media (width<=360px){.dashboard-metrics{grid-template-columns:1fr}}.metric-result.balance-positive{background:linear-gradient(135deg,#157548,#095233);border-color:#6cc997}.metric-result.balance-negative{background:linear-gradient(135deg,#ac3045,#781c2b);border-color:#e894a1}html[data-theme=light]{--page:#fff;--surface-glass:#ffffffc7;--border:#8399b338;--shadow-card:0 8px 30px #1f344d0e, inset 0 1px 0 #fff;background:#fff}.content-panel,.metric-card{-webkit-backdrop-filter:blur(18px)saturate(115%)}[data-theme=light] .sidebar{box-shadow:var(--shadow-card);background:linear-gradient(135deg,#fffffff0,#f6fafdc2)}.tools-page{gap:22px;display:grid}.tools-page .page-intro{min-height:130px}.tools-page .content-panel,.group-controls .content-panel{margin:0;padding:24px}.tool-form{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:16px;margin:20px 0;display:grid}.tool-form label,.content-panel>label,.section-heading label{color:var(--ink-muted);gap:7px;font-size:13px;display:grid}.tool-form input,.tool-form select,.tool-form textarea,.content-panel>input,.content-panel>label input,.content-panel>label select,.section-heading input{border:1px solid var(--border-strong);background:var(--surface-solid);width:100%;min-width:0;min-height:44px;color:var(--ink-strong);border-radius:10px;padding:10px 12px}.tool-form input[type=checkbox]{width:20px;min-height:20px}.simple-list{padding:0;list-style:none}.simple-list li{border-bottom:1px solid var(--line);overflow-wrap:anywhere;align-items:center;gap:14px;padding:16px 0;display:flex}.simple-list li>span{flex:1}.simple-list small{color:var(--ink-muted);margin-top:4px;display:block}.simple-list strong{margin-left:auto}.row-actions{flex-wrap:wrap;gap:10px;display:flex}.row-actions button,.simple-list button{border:1px solid var(--border);cursor:pointer;color:var(--blue-deep);background:var(--surface-solid);border-radius:9px;padding:9px 12px}.total-line{justify-content:space-between;gap:20px;padding-top:20px;font-size:18px;display:flex}.reserve-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}progress{width:100%;height:12px;accent-color:var(--green)}.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;display:grid}.weekday{text-align:center;color:var(--ink-muted);padding:10px 0;font-size:12px}.calendar-day{border:1px solid var(--line);text-align:left;background:var(--surface-glass);min-width:0;min-height:100px;color:var(--ink-strong);cursor:pointer;border-radius:12px;flex-direction:column;gap:5px;padding:10px;display:flex}.calendar-day small{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:10px;display:block;overflow:hidden}.calendar-day>span{max-width:100%}.calendar-day.today{border-color:var(--blue)}.calendar-day.selected{background:var(--blue-wash);box-shadow:0 0 0 2px var(--blue)}.pie-layout{justify-content:center;align-items:center;gap:50px;display:flex}.pie-chart{flex-shrink:0;width:280px;max-width:100%}.pie-total{fill:var(--ink-strong);font-size:17px;font-weight:700}.pie-legend p{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.pie-legend i{border-radius:50%;width:11px;height:11px}.pie-legend small{color:var(--ink-muted)}.receipt-panel img{object-fit:contain;max-width:100%;max-height:650px;margin:20px auto;display:block}.receipt-panel{margin-top:20px}.workspace-strip{background:var(--surface-muted);color:var(--ink-muted);justify-content:flex-end;gap:20px;padding:10px 25px;font-size:12px;display:flex}.workspace-strip a{color:var(--blue-deep)}.group-controls{margin-bottom:24px}@media (width<=680px){.tool-form,.reserve-grid{grid-template-columns:1fr}.tools-page .content-panel,.group-controls .content-panel{padding:18px}.calendar-grid{gap:4px}.calendar-day{border-radius:8px;min-height:70px;padding:6px}.calendar-day>span{display:none}.calendar-day small{font-size:9px}.pie-layout{flex-direction:column;gap:12px}.pie-chart{width:230px}.simple-list li{flex-wrap:wrap}.row-actions{width:100%}.workspace-strip{flex-wrap:wrap;padding:8px 14px}}:root{--brand-gold:#e7c36e;--brand-gold-deep:#a8772d;--brand-navy:#07111f}html[data-theme=dark]{--page:#050d18;--page-deep:#0b1829;--page-blue:#18273b;--surface:#111d2eeb;--surface-solid:#122035;--surface-muted:#0c1929;--surface-glass:#0f1b2cb8;--border:#e2c48340;--border-strong:#e2c48363;--line:#d7e1f01a;--ink:#e1e7ee;--ink-strong:#f5f3ed;--ink-muted:#b2becd;--ink-subtle:#a0adbf;--blue:#e7c36e;--blue-deep:#f0d597;--blue-wash:#e2be6c1c;--focus:#f5d889;--shadow-card:0 16px 48px #00000038, inset 0 1px 0 #ffefc71f, 0 0 18px #dcb35a09;background-color:#050d18;background-image:radial-gradient(at 85% 2%,#273d5b7a,#0000 50%),radial-gradient(at 5% 90%,#7658271a,#0000 50%);background-position:0 0;background-repeat:repeat;background-size:auto;background-attachment:fixed;background-origin:padding-box;background-clip:border-box}html[data-theme=light]{--page:#f7f6f2;--surface-solid:#fffefa;--surface-muted:#eeede7;--surface-glass:#fffffcc9;--border:#a4823e4a;--border-strong:#86632361;--line:#463a201f;--ink:#263446;--ink-strong:#101e31;--ink-muted:#566272;--ink-subtle:#677383;--blue:#8a651f;--blue-deep:#78551a;--blue-wash:#b189381f;--focus:#896220;--shadow-card:0 12px 36px #292b3011, inset 0 1px 0 #fff, 0 0 12px #b78c340b;background:#f7f6f2 radial-gradient(at 90% 10%,#e5d2a433,#0000 60%) fixed}html{background-color:#07111f}body,[data-theme] .app-frame{background:0 0}.content-panel,.auth-card,.metric-card,.sidebar,.bottom-nav,.quick-add-dialog,.mobile-more-menu,.transaction-summary>div,.module-tabs{border:1px solid var(--border);background:linear-gradient(135deg,#fff4d509,transparent 38%),var(--surface-glass);box-shadow:var(--shadow-card);-webkit-backdrop-filter:blur(24px)saturate(120%)}[data-theme=light] .sidebar{background:linear-gradient(135deg,#fffffff0,#f7f5edd4)}.content-panel,.metric-card{transition:border-color .2s,box-shadow .2s}.content-panel:hover{border-color:var(--border-strong)}.primary-button,.quick-add-button{color:#151b25;background:linear-gradient(125deg,#ffe5a1 0%,#e7c16c 45%,#bf8b37 100%);border:1px solid #ffe9af9e;box-shadow:inset 0 1px #ffffff80,0 6px 20px #a9772833}.quick-add-button{border-width:2px}.primary-button:hover{filter:brightness(1.06)}.secondary-button{border-color:var(--border-strong)}.official-brand{border-radius:10px;flex-shrink:0;height:auto;display:block;overflow:hidden}.brand-wordmark{background:#050e1b;width:100%;max-width:360px}.brand-symbol{width:40px;height:40px}.brand-lockup{padding:4px 1px 25px;display:block}.brand-lockup .brand-wordmark{border:1px solid #e1be6d38;width:216px;max-width:100%;box-shadow:0 3px 18px #00000029}.mobile-brand .brand-wordmark{width:166px;max-width:44vw}.auth-logo{border:1px solid #e1be6d45;margin:0 auto 28px;box-shadow:0 6px 24px #00000026}.account-brand{border:1px solid var(--border);width:34px;height:34px}.auth-card{width:min(100%,460px)}.auth-page{min-height:100vh}.brand-loading{color:#dec58a;background:radial-gradient(at 80% 0,#17253b,#0000 65%),#050d18;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:28px;display:flex}.brand-loading .brand-wordmark{border-radius:16px;width:min(100%,480px);max-width:480px}.brand-loading p{color:#b8c1cf;margin:22px 0 0;font-size:13px}.brand-loading-line{background:linear-gradient(90deg,#0000,#f4d58c,#0000);border-radius:2px;width:110px;height:2px;margin-top:28px;animation:1.5s ease-in-out infinite alternate brand-pulse}@keyframes brand-pulse{0%{opacity:.35;transform:scaleX(.65)}to{opacity:1;transform:scaleX(1)}}.nav-link.active{box-shadow:inset 2px 0 0 var(--blue)}.topbar{border-bottom:1px solid var(--line)}.workspace-strip{background:var(--surface-glass);border-bottom:1px solid var(--line)}[data-theme=dark] .metric-result.balance-positive{background:linear-gradient(130deg,#1e5243d9,#0d2b29e0);border-color:#7dcfa561}[data-theme=dark] .metric-result.balance-negative{background:linear-gradient(130deg,#612e3d,#341f2c)}.metric-result>span,.metric-result>small{color:#e3eee7}.pie-legend i{box-shadow:0 0 0 3px #e1c3760f}::selection{color:#101b29;background:#e7c36e}@media (width<=680px){.auth-logo{max-width:320px;margin-bottom:24px}.topbar{height:68px}.mobile-brand .brand-wordmark{width:154px}}@media (prefers-reduced-motion:reduce){.brand-loading-line{animation:none}}.developer-credit{border-top:1px solid var(--line);color:var(--ink-muted);text-align:center;letter-spacing:.02em;margin-top:40px;padding:22px 8px 4px;font-size:11px}.developer-credit strong{color:var(--blue);font-weight:600}.auth-card .developer-credit{margin-top:26px}.brand-loading .developer-credit{color:#aeb9c9;border-color:#e7c36e26}.brand-loading .developer-credit strong{color:#e7c36e}.install-logo{max-width:220px;margin:0 0 16px}.monthly-total{flex-wrap:wrap;align-items:center;gap:24px;margin-bottom:20px;display:flex}.monthly-total label,.monthly-total>div{gap:8px;display:grid}.monthly-total strong{color:var(--text);font-size:clamp(1.5rem,4vw,2rem)}.monthly-total small{opacity:.75}.recurring-check{grid-column:1/-1;align-items:center;gap:10px;display:flex!important}.recurring-check input{accent-color:#e4bf70;min-height:20px;width:20px!important}#despesas-diarias{margin-bottom:24px;scroll-margin-top:90px}.pie-legend p{flex-wrap:wrap}.expense-scanner,.scan-panel,.scan-result,.saved-code{min-width:0}.expense-scanner{grid-column:1/-1;margin:12px 0}.scan-panel{background:#788ca00f;border:1px solid #c9a85e66;border-radius:18px;gap:12px;margin-top:12px;padding:18px;display:grid}.scan-panel label{gap:8px;display:grid}.scan-panel textarea,.saved-code textarea{box-sizing:border-box;overflow-wrap:anywhere;word-break:break-all;width:100%}.scanner-video{background:#07111f;border-radius:14px;width:100%;max-height:360px}.scanner-hidden{display:none}.scanner-file{opacity:0;width:1px;height:1px;position:absolute}.scan-result{border:1px solid #c9a85e66;border-radius:12px;padding:12px}.saved-code{overflow-wrap:anywhere;max-width:100%;margin:10px 0}.saved-code small{margin-top:8px;display:block}.saved-code summary{cursor:pointer;color:var(--text)}.benefit-panel{margin:20px 0}.benefit-panel>summary{cursor:pointer;font-size:1.1rem;font-weight:700}.benefit-panel .tool-form{margin-top:18px}.benefit-panel .calculation-results{margin:20px 0}.benefit-panel .benefit-wide{grid-column:1/-1}.savings-period-totals{gap:14px;margin:20px 0}.savings-period-totals>div{border:1px solid #c9a85e55;border-radius:14px;gap:8px;padding:16px;display:grid}.savings-period-totals strong{font-size:1.4rem}.deposit-chart{gap:16px;margin:24px 0;display:grid}.deposit-bar>div:first-child{overflow-wrap:anywhere;justify-content:space-between;gap:12px;margin-bottom:8px;display:flex}.deposit-track{background:#64748b33;border-radius:8px;height:14px;overflow:hidden}.deposit-track span{background:linear-gradient(90deg,#a87f33,#f4d78b);border-radius:8px;height:100%;display:block}.savings-table-wrap{overflow:auto}.savings-table{border-collapse:collapse;width:100%;font-size:.9rem}.savings-table th,.savings-table td{text-align:left;border-bottom:1px solid #a5b0c333;padding:12px}.savings-table caption{text-align:left;margin-bottom:12px}.savings-history li{flex-wrap:wrap;gap:12px}.savings-history li>span{flex:1;min-width:180px}.savings-history small{display:block}#reserve-movement{scroll-margin-top:90px}.savings-pix{margin:20px 0}.savings-pix>label,.pix-details label{gap:8px;margin:12px 0;display:grid}.savings-pix>label{max-width:340px}.pix-payment{grid-template-columns:minmax(200px,280px) minmax(0,1fr);align-items:start;gap:28px;margin:24px 0;display:grid}.pix-qr{background:#fff;border:12px solid #fff;border-radius:8px;width:100%;height:auto}.pix-details{min-width:0}.pix-details textarea{box-sizing:border-box;word-break:break-all;width:100%}.pix-form{margin-top:20px}@media (width<=680px){.pix-payment{grid-template-columns:minmax(0,1fr);gap:16px}.pix-qr{justify-self:center;max-width:280px}}.profile-access{color:#f6d98b;background:#172338;border:1px solid #d8b66b;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;font-weight:700;text-decoration:none;display:flex;overflow:hidden}.profile-access img{object-fit:cover;width:100%;height:100%}.profile-photo{object-fit:cover;border:2px solid #d8b66b;border-radius:50%;width:112px;height:112px}.permission-editor{border:1px solid #a38b54;border-radius:16px;min-width:0;margin:20px 0;padding:18px}.permission-grid{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:12px;margin:16px 0;display:grid}.permission-grid label{overflow-wrap:anywhere;align-items:center;gap:10px;display:flex}.permission-grid input[type=checkbox]{width:20px;min-width:20px;height:20px}html[data-theme=light]{--page:#f6f8fe;--surface:#fff;--surface-solid:#fff;--surface-muted:#edf2fa;--surface-glass:#ffffffdb;--ink:#1d2d49;--ink-strong:#081a3a;--ink-muted:#5a6b88;--ink-subtle:#697995;--blue:#b67e17;--blue-deep:#153861;--border:#8fa7d03d;--border-strong:#99b1d175;--line:#849cc12b;--shadow-card:0 8px 26px #203a6510,inset 0 1px 0 #fff,0 0 0 1px #fff5;--green:#00a76c;--rose:#e62144;background:#f6f8fe}[data-theme=light] .app-frame{background:radial-gradient(at 90% 0,#e7edf8,#0000 55%),#f6f8fe}[data-theme=light] .sidebar{color:#dce7f8;background:linear-gradient(160deg,#102647,#04132c 75%);border-color:#c8a55750;box-shadow:8px 0 30px #1027440a}[data-theme=light] .sidebar .nav-link,[data-theme=light] .sidebar .sidebar-section-label,[data-theme=light] .sidebar .admin-chip{color:#b9c9df}[data-theme=light] .sidebar .nav-link.active{color:#f5d58d;background:linear-gradient(100deg,#d5ab442b,#0000);box-shadow:inset 3px 0 #e8bb5a}[data-theme=light] .sidebar .admin-chip strong{color:#fff}.topbar{isolation:isolate;background:linear-gradient(115deg,#102749,#03142f);border-bottom:1px solid #b68a3740;position:relative;overflow:hidden}.topbar:before{content:"";pointer-events:none;z-index:-1;background:linear-gradient(150deg,#d4aa5325,#0000 65%);border:1px solid #d4aa53;border-radius:100% 0;width:260px;height:180px;position:absolute;top:-70px;right:14%;transform:rotate(-22deg)}.topbar .icon-button{color:#f0f4fd;background:#07182b40;border:1px solid #a6bce632;border-radius:50%}.theme-button{align-items:center;gap:0;width:82px;display:flex;overflow:hidden;border-radius:30px!important;padding:0!important}.theme-button svg{box-sizing:content-box;flex-shrink:0;width:19px;height:19px;padding:11px 10px}.theme-button .selected{color:#102748;background:linear-gradient(135deg,#ffe28f,#d6a136)}.mobile-menu-button{display:none}.mobile-brand .brand-wordmark{background:0 0;border-radius:0}.content-panel,.metric-card{-webkit-backdrop-filter:blur(24px)saturate(115%);border-radius:24px}[data-theme=light] .content-panel{background:linear-gradient(145deg,#ffffffed,#fbfdffbd);border:1px solid #dbe5f4;box-shadow:0 5px 20px #31508508,inset 0 1px 1px #fff,0 0 14px #ffffff60}.dashboard{gap:22px}.dashboard-intro{align-items:center;min-height:90px;padding-bottom:0}.dashboard-intro h1{font-size:28px}.dashboard-intro .eyebrow{letter-spacing:.14em;font-size:10px}.balance-hero{isolation:isolate;color:#fff;background:linear-gradient(120deg,#132b4e,#03132c 65%,#152c4c);border:1px solid #dfb350;border-radius:26px;justify-content:space-between;align-items:center;min-height:205px;padding:30px 36px;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 24px #11274820,inset 0 1px 1px #ffe5a685}.balance-hero:after{content:"";z-index:-1;pointer-events:none;background:linear-gradient(135deg,#a6bada25,#0000 60%);border:1px solid #c9a355;border-radius:100% 0 0;width:460px;height:330px;position:absolute;bottom:-155px;right:-50px;transform:rotate(-22deg);box-shadow:0 -14px 0 -13px #e3b656,0 -34px 0 -33px #e3b656}.balance-hero>div{min-width:0}.balance-title{font-size:20px;font-weight:500;display:block}.balance-hero strong{letter-spacing:-.035em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:8px 0;font-size:clamp(32px,4.5vw,52px);line-height:1.3;display:block}.balance-hero p{color:#e0e8f7;margin:8px 0;font-size:13px}.balance-hero small{color:#bacce3;font-size:11px}.balance-wallet{color:#efc164;flex-shrink:0;width:108px;height:108px;margin-left:24px}.dashboard-metrics{gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))!important}.dashboard-metrics .metric-card{border:1px solid #dce5f4;gap:10px;padding:22px;box-shadow:inset 0 1px #ffffff80,0 4px 14px #183a7006}.metric-card>span{color:var(--ink-strong);flex-direction:column;align-items:flex-start;font-size:13px}.metric-card>span svg{box-sizing:content-box;color:#fff;background:#15b47a;border-radius:50%;width:22px;height:22px;margin-bottom:3px;padding:12px;box-shadow:inset 0 1px 2px #fff6}.metric-expense{order:0}.metric-income{order:1}.metric-result{order:2}html[data-theme=light] .metric-expense{background:linear-gradient(145deg,#fff6f7,#f9e9ed);border-color:#f5dfe5}html[data-theme=light] .metric-income{background:linear-gradient(145deg,#effbf7,#e1f4ee);border-color:#ceece2}html[data-theme=light] .metric-result{background:linear-gradient(145deg,#f5f0ff,#ece6fc);border-color:#e4daf9}.metric-expense>span svg{background:linear-gradient(140deg,#f92b4e,#d60732)}.metric-income>span svg{background:linear-gradient(140deg,#1acb8a,#00925d)}.metric-result>span svg{background:linear-gradient(140deg,#a03afb,#6c11d7)}[data-theme=light] .metric-card>strong,[data-theme=light] .dashboard .metric-card>strong.money-positive,[data-theme=light] .metric-result>span{color:#091c3b}[data-theme=light] .metric-result>small{color:#675781}.metric-card>small{font-size:11px;line-height:1.5}.dashboard-section-heading h2{align-items:center;gap:10px;font-size:21px;display:flex}.dashboard-link{border:1px solid var(--border);background:var(--surface-glass);color:var(--ink-strong);border-radius:24px;padding:9px 16px;box-shadow:0 2px 5px #1b3b6608}.pie-layout{justify-content:space-evenly;gap:35px}.pie-chart{width:260px}.pie-legend{flex:1;max-width:520px;font-size:13px}.pie-legend h3{font-size:16px}.pie-legend p{gap:9px;padding:5px 0;line-height:1.5}.pie-legend p strong{margin-left:auto}.pie-legend i{flex-shrink:0}.pie-legend small{margin-top:15px;font-size:11px;line-height:1.6;display:block}.recent-panel .dashboard-section-heading{align-items:center;margin-bottom:8px}.recent-panel .dashboard-section-heading h2{margin:0}.dashboard-history li:last-child{border-bottom:0}.dashboard-history .history-icon{color:#e91945;background:#ffe4e9;border-radius:50%;width:42px;height:42px;display:grid}.dashboard-history .history-icon.income{color:#00a26c;background:#daf6e9}.history-copy strong{font-size:14px}.history-amount>strong{font-size:16px}.history-amount>strong.expense-value{color:#ec1740}.history-amount>strong.income-value{color:#00a76b}.status-pill{border-radius:20px;padding:5px 10px}.history-copy time{font-size:12px}.dashboard-actions{grid-template-columns:1fr 1fr;gap:18px;display:grid}.dashboard-actions a{color:#fff;background:linear-gradient(130deg,#243e62,#04152f);border-radius:22px;justify-content:center;align-items:center;gap:15px;padding:24px 20px;font-size:16px;font-weight:650;text-decoration:none;display:flex;box-shadow:0 5px 15px #18375e15,inset 0 1px 1px #c7d6ed4d}.dashboard-actions a+a{background:linear-gradient(125deg,#f7ce68,#dca32c 55%,#ae7513);box-shadow:0 5px 15px #ac731319,inset 0 1px 1px #ffe5a5}.dashboard-actions a:hover{filter:brightness(1.05)}[data-theme=dark] .balance-hero{box-shadow:0 12px 25px #0004,inset 0 1px 1px #ffe5a650}[data-theme=dark] .metric-card{background:#13283f;border-color:#35445c}[data-theme=dark] .metric-result{background:#271f40}[data-theme=dark] .metric-result>span,[data-theme=dark] .metric-result>small{color:var(--ink-muted)}@media (width<=1023px){.mobile-menu-button{display:flex}.topbar{gap:8px;height:100px;padding-inline:24px}.topbar-spacer{flex:1}.mobile-brand .brand-wordmark{width:180px;max-width:35vw}.page-content{padding-top:22px}.bottom-nav{max-width:none;padding:12px 14px calc(14px + env(safe-area-inset-bottom));background:#fffffff0;border:1px solid #dce6f5;border-radius:26px 26px 0 0;gap:5px;bottom:0;left:0;right:0;box-shadow:0 -5px 25px #17366012}.bottom-nav-link{color:#203d67;border-radius:0;gap:6px;font-size:11px;position:relative}.bottom-nav-link.active{color:#c78f22;background:0 0}.bottom-nav-link.active:after{content:"";background:#dba328;border-radius:3px;width:32px;height:3px;position:absolute;bottom:-7px}.bottom-nav-link.active svg{fill:#e7b64333}.quick-add-button{width:48px;height:48px;bottom:105px}.mobile-more-menu{bottom:95px}.install-app{bottom:165px}.dashboard-intro .page-description{display:none}.dashboard-intro{min-height:65px}.dashboard-detail-grid{grid-template-columns:1fr}.theme-button{width:70px}.theme-button svg{width:17px;height:17px;padding:10px 8px}.topbar .icon-button{min-width:36px;min-height:38px}.profile-access{width:36px;height:36px}}@media (width<=680px){.topbar{gap:6px;height:90px;padding:10px 15px}.topbar-spacer{display:none}.mobile-brand{margin-right:auto}.mobile-brand .brand-wordmark{width:142px;max-width:31vw}.topbar .notification-button{width:34px;min-width:34px}.theme-button{width:62px}.theme-button svg{width:16px;height:16px;padding:10px 7px}.profile-access{width:32px;height:32px}.topbar .mobile-menu-button{width:32px;min-width:32px}.page-content{padding-inline:14px}.dashboard{gap:14px}.dashboard-intro{flex-direction:row;align-items:center;gap:8px}.dashboard-intro h1{margin:0;font-size:20px}.dashboard-intro .eyebrow{display:none}.dashboard-controls{gap:4px;width:auto}.dashboard-controls label{gap:4px;font-size:10px}.dashboard-controls input{max-width:139px;min-height:36px;padding:6px 7px;font-size:12px}.dashboard-controls .icon-button{min-width:34px;min-height:36px;padding:5px}.dashboard-controls .icon-button:last-child{display:none}.balance-hero{border-radius:23px;min-height:175px;padding:22px 19px}.balance-title{font-size:18px}.balance-hero strong{font-size:clamp(28px,7.8vw,42px)}.balance-hero p{max-width:230px;font-size:11px;line-height:1.5}.balance-hero small{font-size:10px}.balance-wallet{width:64px;height:64px;margin-left:10px}.dashboard-metrics{gap:8px}.dashboard-metrics .metric-card{text-align:center;border-radius:20px;gap:8px;padding:13px 8px}.metric-card>span{justify-content:start;align-items:center;min-height:78px;font-size:11px;line-height:1.35}.metric-card>span svg{width:20px;height:20px;padding:9px}.dashboard-metrics .metric-card>strong{letter-spacing:-.04em;overflow-wrap:anywhere;font-size:clamp(14px,3.5vw,22px)}.metric-card>small{font-size:9px;line-height:1.4}.dashboard .content-panel{border-radius:22px;padding:18px 15px}.dashboard-section-heading{flex-wrap:nowrap;gap:10px}.dashboard-section-heading h2{font-size:16px;line-height:1.3}.dashboard-section-heading p:not(.eyebrow){font-size:11px;line-height:1.5}.dashboard-section-heading .eyebrow{display:none}.dashboard-link{padding:8px 10px;font-size:10px}.pie-layout{flex-direction:column;gap:5px}.pie-chart{width:230px}.pie-legend{width:100%;font-size:12px}.pie-legend h3{font-size:14px}.pie-legend p{margin:9px 0;padding:2px 0}.history-copy strong{font-size:12px}.history-copy time{font-size:10px}.dashboard-history li{gap:9px;padding:13px 0}.dashboard-history .history-icon{width:32px;height:32px}.history-amount>strong{font-size:13px}.history-amount .status-pill{font-size:9px}.dashboard-actions{gap:10px}.dashboard-actions a{border-radius:19px;gap:10px;padding:17px 12px;font-size:13px}.dashboard-actions svg{flex-shrink:0;width:23px}.bottom-nav-link{font-size:10px}.bottom-nav{padding-inline:6px}.developer-credit{margin-top:24px}}@media (width>=450px) and (width<=680px){.pie-layout{flex-direction:row;gap:14px}.pie-chart{width:44%}.pie-legend{font-size:11px}.pie-legend p{gap:5px}.pie-total{font-size:15px}}@media (width<=360px){.theme-button{display:none}.dashboard-intro h1{font-size:18px}.dashboard-controls input{max-width:126px}.balance-wallet{width:46px}.balance-hero strong{font-size:27px}.history-icon{display:none!important}}[data-theme=dark] .bottom-nav{background:#0a192cf2;border-color:#a1814440}[data-theme=dark] .bottom-nav-link{color:#bdcce0}[data-theme=dark] .bottom-nav-link.active{color:#e8bd5d}.topbar .theme-button{width:82px;height:42px;display:flex}.balance-hero:after{width:58%;height:130%;box-shadow:none;background:linear-gradient(140deg,#b3c8e327,#0000 70%);border:1px solid #dab15c80;border-radius:100% 0 0;bottom:-40%;right:-12%;transform:rotate(16deg)}html[data-theme=light] .dashboard-metrics .metric-card>strong{font-size:clamp(20px,2.5vw,32px)}@media (width<=680px){.topbar .theme-button{width:62px;height:38px}.topbar{gap:5px}.mobile-brand .brand-wordmark{width:128px;max-width:29vw}.dashboard-controls input{width:150px;max-width:150px}.dashboard-metrics .metric-card{border-color:#0000}html[data-theme=light] .dashboard-metrics .metric-card>strong{white-space:nowrap;font-size:clamp(13px,3.5vw,21px)}.metric-card>small{font-size:9px}.pie-layout{flex-direction:row;align-items:center;gap:12px}.pie-chart{width:44%;max-width:210px}.pie-legend{min-width:0;font-size:10px}.pie-legend h3{font-size:12px}.pie-legend p{gap:5px;line-height:1.5}.pie-legend p strong{margin-left:0}.pie-legend small{font-size:9px}.pie-total{font-size:15px}.pie-chart .chart-label{font-size:11px}}@media (width<=360px){.topbar .theme-button{display:none}.dashboard-controls input{width:125px}.pie-layout{flex-direction:column}.pie-chart{width:220px}.pie-legend{font-size:12px}}.app-frame:has(.dashboard) .quick-add-button{display:none}@media (width<=680px){.mobile-brand .brand-wordmark{width:145px;max-width:none}.topbar .mobile-brand{order:1}.topbar .theme-button{order:2}.topbar .notification-button{order:3}.topbar .profile-access{order:4}.topbar .mobile-menu-button{order:5}}.category-legend-row{align-items:center;gap:12px;margin:17px 0;display:flex}.category-legend-row>span{flex:1}.category-legend-row>span small{margin:4px 0 0;font-size:11px}.category-legend-row>strong{font-size:15px}.chart-balance-summary{border-top:1px solid var(--line);color:var(--ink-muted);justify-content:space-between;gap:20px;margin-top:15px;padding:17px 0 0;font-size:12px;display:flex}.chart-balance-summary strong{color:var(--ink-strong);margin-top:5px;font-size:18px;display:block}.chart-balance-summary>span:last-child{text-align:right}.pie-total{font-size:21px}@media (width<=680px){.category-legend-row{gap:7px;margin:13px 0}.category-legend-row>strong{font-size:12px}.category-legend-row>span small{font-size:10px}.pie-legend{font-size:11px}.pie-legend h3{margin-bottom:12px;font-size:11px}.pie-chart{width:46%}.pie-total{font-size:20px}.pie-chart .chart-label{font-size:12px}.chart-balance-summary{font-size:10px}.chart-balance-summary strong{font-size:16px}}
