:root{--accent:#174f46;--accent-hover:#103f37;--accent-soft:#e9eee5;--accent-border:#789485;color:#25352f;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#f6f7f3;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;min-height:44px}button:disabled{cursor:not-allowed;opacity:.55}button,input,select{border-radius:9px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline-offset:3px;outline:3px solid #448a78}input,select{color:#25352f;background:#fff;border:1px solid #cbd3cc;width:100%;min-width:0;min-height:46px;padding:10px 12px;font-size:16px}input[type=date],input[type=month]{appearance:none}select:not([multiple]):not([size]){appearance:none;background-image: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='%23345544' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;background-size:16px;padding-right:40px}@media (forced-colors:active){select:not([multiple]):not([size]){appearance:auto;background-image:none}}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.045em;font-size:clamp(1.9rem,4.5vw,2.7rem);line-height:1.15}h2{letter-spacing:-.025em;margin-bottom:0;font-size:1.2rem}h3{font-size:1rem}p{line-height:1.6}label{font-size:.85rem;font-weight:600}fieldset{border:0;min-width:0;margin:0;padding:0}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.workspace-nav{flex-wrap:wrap;gap:6px;padding:12px 0 0;display:flex}.workspace-nav button{background:var(--accent-soft);color:var(--accent);min-height:44px;padding:6px 10px;font-size:.85rem;font-weight:600}.workspace-nav button[aria-pressed=true]{background:var(--accent);color:#fff}.p2p-heading{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.p2p-heading h1{margin:0}.compact-info{font-size:.8rem;position:relative}.compact-info summary{cursor:pointer;color:var(--accent);min-height:44px;padding:12px 8px;font-weight:600}.info-content{z-index:4;background:#fff;border:1px solid #dfe4db;border-radius:10px;width:min(390px,75vw);max-height:55vh;padding:16px;line-height:1.7;position:absolute;top:100%;left:0;overflow-y:auto;box-shadow:0 8px 28px #16302522}.info-content p:last-child{margin-bottom:0}@media (width<=600px){.compact-info{position:static}.p2p-heading{gap:4px;position:relative}.info-content{width:min(390px,85vw);left:0}}.loan-rules{background:var(--accent-soft);border-radius:10px;margin:20px 0;padding:16px;font-size:.83rem;line-height:1.6}.loan-rules summary{cursor:pointer;min-height:28px;font-weight:600}.loan-rules p{margin:12px 0 0}.loan-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 8px;display:grid}.loan-controls>label{min-width:0}.loan-controls input,.loan-controls select{margin-top:6px;padding-left:8px;display:block}.loan-muted{color:#607064;margin:10px 0;font-size:.8rem;line-height:1.6}.loan-groups,.loan-detail,.loan-cash-flow{min-width:0;margin-bottom:14px}.loan-select-list{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:8px;margin-top:12px;display:grid}.loan-select{text-align:left;color:inherit;overflow-wrap:anywhere;background:#f6f7f3;border:2px solid #0000;min-width:0;padding:12px}.loan-select.selected{background:var(--accent-soft);border-color:var(--accent)}.loan-select span{margin-top:5px;font-size:.78rem;display:block}.loan-detail .section-heading{flex-wrap:wrap;margin:14px 0 8px}.loan-detail>.section-heading:first-child{margin-top:0}.loan-detail .section-heading h2{overflow-wrap:anywhere}.loan-detail h3{margin:0}.loan-actions{flex-wrap:wrap;gap:4px;display:flex}.projection-toggle[aria-pressed=true]{background:var(--accent);color:#fff;box-shadow:inset 0 0 0 2px var(--accent-hover)}.loan-figures{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 18px;display:grid}.loan-figures>div{background:#f4f6f0;border-radius:10px;min-width:0;padding:12px}.loan-figures dt{font-size:.8rem;line-height:1.6}.loan-figures dd{overflow-wrap:anywhere;margin:6px 0 0;font-size:1.2rem;font-weight:700}.loan-figures .closing-figure{background:var(--accent-soft)}.loan-figures .loan-summary-date{text-align:right;color:#607064;background:0 0;align-self:center;padding:0}.loan-summary-date dt{font-size:.72rem}.loan-summary-date dd{margin-top:2px;font-size:.8rem;font-weight:500}.loan-summary-date time{color:var(--accent);font-weight:700}.loan-summary-date span{margin-top:2px;font-size:.7rem;font-weight:400;display:block}.loan-entry-list{margin:0 0 14px;padding:0;list-style:none}.loan-entry-list li{border-bottom:1px solid #e0e5dc;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:10px 0;font-size:.85rem;display:flex}.loan-entry-list li>div{overflow-wrap:anywhere;min-width:0}.loan-entry-list p{margin:8px 0 0;font-size:.78rem}.overdue{color:#a03e31;font-weight:700}.loan-dialog label{margin:12px 0 6px;display:block}.closing-preview{background:var(--accent-soft);border-radius:8px;margin-top:12px;padding:12px;font-size:.85rem}.closing-preview p{margin-bottom:0}.payment-allocation{margin:12px 0}.payment-allocation>div{flex-wrap:wrap;justify-content:space-between;gap:8px;margin:8px 0;display:flex}.payment-allocation dd{overflow-wrap:anywhere;margin:0;font-weight:700}.loan-dialog .manual-split-toggle{align-items:center;gap:10px;min-height:44px;display:flex}.manual-split-toggle input{flex-shrink:0;width:20px;height:20px;min-height:20px}.loan-table-scroll{max-width:100%;margin-top:20px;overflow-x:auto}.loan-table{border-collapse:collapse;text-align:left;width:100%;font-size:.78rem}.loan-table th,.loan-table td{white-space:nowrap;border-bottom:1px solid #e0e5dc;padding:12px}.loan-table caption{text-align:left;padding:12px 0;font-size:.75rem;line-height:1.6}.cash-flow-bars{gap:14px;margin:16px 0;display:grid}.cash-flow-month{grid-template-columns:70px minmax(0,1fr);align-items:center;gap:12px;font-size:.78rem;display:grid}.cash-flow-month>div{gap:4px;display:grid}.cash-bar{border-radius:2px;height:9px}.actual-in{background:#2a7453}.actual-out{background:#a8523b}.expected-in{background:#cfdfc8;border:1px dashed #2a7453}.expected-out{background:#f2dcd0;border:1px dashed #a8523b}.chart-legend{flex-wrap:wrap;gap:12px;font-size:.72rem;display:flex}.chart-legend span{align-items:center;gap:6px;display:flex}.chart-legend i{width:16px;height:10px;display:inline-block}.projection-total{background:#577aa1}.projection-chart{min-width:0;margin-top:12px}.projection-chart svg{width:100%;max-width:760px;margin-inline:auto;display:block}.projection-chart text{fill:#405449;font-size:12px}.projection-chart circle:focus{outline:2px solid var(--accent)}.loan-projections .section-heading{flex-wrap:wrap;gap:12px}.loan-projections label{font-size:.85rem}.loan-projections .projection-date{align-items:center;gap:8px;min-width:0;display:flex}.projection-date input{width:auto;min-width:0}.statement-actions{margin:10px 0}.loan-documents{min-width:0;margin-bottom:14px}.document-upload{font-size:.85rem;display:block}.document-upload input{max-width:100%;margin-top:6px;display:block}.loan-statement h2{margin-top:14px}@media print{body:has(.loan-statement) *{visibility:hidden}body .loan-statement,body .loan-statement *{visibility:visible}body .loan-statement{color:#000;background:#fff;position:absolute;inset:0}body .loan-statement .loan-table-scroll{overflow:visible}body .loan-statement .loan-table{font-size:7pt}body .loan-statement .loan-table th,body .loan-statement .loan-table td{white-space:normal;padding:4px}body .loan-statement tr{break-inside:avoid}}@media (width<=600px){.lending-workspace .welcome{flex-flow:wrap;align-items:center}.lending-workspace .welcome>button{width:auto}.loan-figures{grid-template-columns:1fr 1fr}.loan-detail{padding:14px}}.equity-workspace .welcome{flex-direction:row}.equity-workspace .welcome h1{margin:0}.equity-workspace .welcome p{margin-bottom:0}.equity-workspace .welcome>button{flex-shrink:0;width:auto}.equity-panel{margin-top:16px}.equity-panel>h2{margin-top:0}.equity-form fieldset{border:0;min-width:0;margin:0;padding:0}.equity-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px;display:grid}.equity-fields>div{gap:7px;display:grid}.equity-actions{align-items:center;gap:12px;display:flex}.equity-section-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.equity-section-heading h2{margin:0}.equity-primary-actions{justify-content:space-between;align-items:center;gap:12px;margin-top:14px;display:flex}.equity-primary-actions button{width:auto}.equity-settings-button{border:1px solid var(--accent-border);background:#fff}.equity-settings-button span{margin-right:5px;font-size:1.1rem}.equity-summary-grid{margin-top:16px;margin-bottom:0}.equity-clickable-tile{cursor:pointer;text-align:left;color:inherit;font:inherit}.equity-clickable-tile:hover{border-color:var(--accent-border);box-shadow:0 3px 12px #16302512}.equity-contributed-highlight{background:var(--accent-soft);color:var(--accent);border-radius:9px;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;padding:10px 13px;font-size:.82rem;display:flex}.equity-sip-streak{flex-basis:100%}.equity-fund-settings{margin:20px 0}.equity-fund-settings h3{margin:0;font-size:1rem}.equity-fund-settings .section-heading{align-items:flex-start}.equity-fund-row{border-top:1px solid #e5e9e5;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:12px;padding:14px 0;display:grid}.equity-fund-row>div{gap:7px;display:grid}.equity-fund-confirm{background:#fbf2ef;border-radius:8px;grid-column:1/-1;padding:12px}.equity-record-funds{gap:8px;margin:14px 0;display:grid}.equity-record-fund{border-top:1px solid #e5e9e5;grid-template-columns:minmax(0,1fr) minmax(150px,.75fr);align-items:center;gap:12px;padding:12px 0;display:grid}.equity-record-fund>div:first-child{gap:4px;display:grid}.equity-record-fund span{color:#69766d;font-size:.76rem}.equity-breakdown{gap:8px;display:grid}.equity-breakdown>div{border-bottom:1px solid #e5e9e5;justify-content:space-between;gap:12px;padding:10px 0;display:flex}.equity-breakdown-total{color:var(--accent);font-weight:700}.equity-history{display:grid}.equity-history-row{border-top:1px solid #e5e9e5;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.equity-history-row>div:first-child{gap:4px;display:grid}.equity-history-row span{color:#69766d;font-size:.82rem}.equity-history-row .equity-actions{flex-shrink:0}.equity-history-row .equity-history-edit,.equity-history-row .equity-history-delete{background:#fff;border:1px solid #d5ded7;border-radius:7px;justify-content:center;align-items:center;width:44px;height:44px;padding:10px;text-decoration:none;display:inline-flex}.equity-history-row .equity-history-delete{color:#9b503d;border-color:#ecd8d2}.equity-history-row .equity-history-edit:hover,.equity-history-row .equity-history-delete:hover{background:#f6f8f6}.equity-history-row .equity-history-edit svg,.equity-history-row .equity-history-delete svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.equity-icon-button{cursor:pointer;background:#fff;border:1px solid #ecd8d2;border-radius:7px;justify-content:center;align-items:center;width:36px;height:36px;padding:8px;display:inline-flex}.equity-icon-button:hover{background:#fbf2ef}.equity-trash-icon{fill:none;stroke:currentColor;stroke-width:1.4px;stroke-linecap:round;stroke-linejoin:round;width:17px;height:17px;display:block}.equity-assumption-toggle{text-align:left;width:100%;margin:6px 0 14px}.equity-assumptions{background:#f8faf8;border:1px solid #e1e8e2;border-radius:9px;padding:14px}.equity-assumptions>.form-note{margin-top:0}.equity-assumption-portfolio{align-items:center;gap:12px;max-width:560px;margin-bottom:12px;display:flex}.equity-assumption-portfolio input{max-width:140px}.equity-assumption-funds{display:grid}.equity-assumption-row{border-top:1px solid #e1e8e2;grid-template-columns:minmax(0,1fr) minmax(130px,.7fr) minmax(130px,.6fr);align-items:end;gap:12px;padding:12px 0;display:grid}.equity-assumption-row>div{gap:6px;display:grid}.equity-assumptions>button{width:auto;margin-top:12px}.equity-estimate-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.equity-estimate-heading h2{margin:0}.equity-estimate-heading p{color:#69766d;margin:8px 0 0}.equity-estimate-heading button{flex-shrink:0;width:auto}.equity-estimate-summary{flex-wrap:wrap;align-items:baseline;gap:8px 14px;padding:16px 0;display:flex}.equity-estimate-summary span{color:#69766d;font-size:.84rem}.equity-estimate-summary strong{color:var(--accent);font-size:1.15rem}.equity-estimate-chart{width:100%;overflow:hidden}.equity-estimate-chart svg{width:100%;min-width:460px;overflow:visible}.equity-estimate-chart line{stroke:#dce4de;stroke-width:1px}.equity-estimate-chart path{fill:none;stroke:var(--accent);stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.equity-estimate-chart circle{fill:var(--accent)}.equity-estimate-chart text{fill:#69766d;font-size:12px}.outlook-controls{align-items:center;gap:12px;display:flex}.outlook-controls input{width:110px}.outlook-unpaid{color:#75470d;background:#fff5df;border:1px solid #b67a22;border-radius:7px;padding:4px 8px;font-weight:700;display:inline-block}.outlook-unpaid-remainder{color:#75470d;margin-top:4px;font-size:.75rem;display:block}.loan-table tfoot th,.loan-table tfoot td{border-top:2px solid #cbd5ce;font-weight:700}@media (width<=600px){.equity-workspace .welcome{align-items:flex-start}.equity-fields,.equity-fund-row,.equity-record-fund,.equity-assumption-row{grid-template-columns:1fr}.equity-assumption-portfolio{flex-direction:column;align-items:flex-start}.equity-estimate-heading{flex-direction:column}.equity-estimate-heading button{width:auto}.equity-primary-actions button{padding:11px 12px}}.outlook-month-control{align-items:center;gap:12px;margin:0 0 20px;display:flex}.outlook-month-control select{border:2px solid var(--accent);background-color:var(--accent-soft);width:auto;min-width:0;max-width:100%;color:var(--accent);cursor:pointer;padding:12px 36px 12px 16px;font-size:1.1rem;font-weight:700}.outlook-month-control{flex-wrap:wrap}.outlook-month-control .outlook-month-button{border:2px solid var(--accent-border);padding:12px 16px;font-size:1.1rem;font-weight:700}.outlook-month-control .outlook-trends-toggle{flex-shrink:0;margin-left:auto}.outlook-trends-toggle[aria-expanded=true]{background:var(--accent);color:#fff}.outlook-trends{margin:20px 0}.outlook-trends .section-heading{flex-wrap:wrap}.outlook-trends-legend{flex-wrap:wrap;gap:14px;font-size:.78rem;display:flex}.outlook-trends-legend span{align-items:center;gap:6px;display:inline-flex}.outlook-trends-legend i{border-radius:2px;width:12px;height:12px}.outlook-trend-expenses{fill:#c58a2b;background:#c58a2b}.outlook-trend-investments{fill:#4c7fb3;background:#4c7fb3}.outlook-trends-scroll{overflow-x:auto}.outlook-trends svg{width:100%;min-width:740px;display:block}.outlook-trends svg text{fill:#607064;font-size:12px}.outlook-trend-grid{stroke:#e0e5dc}.outlook-trend-zero{stroke:#89958c;stroke-width:2px}.outlook-trend-bar{cursor:pointer}.outlook-trend-bar:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.outlook-trends svg .outlook-trend-selected{fill:var(--accent);font-weight:700}.outlook-trend-details{overflow-wrap:anywhere;margin:8px 0 0;font-size:.78rem}.home-actions{flex-wrap:wrap;gap:12px;margin:16px 0;display:flex}.editor-dialog .home-consent{align-items:flex-start;gap:10px;font-size:.82rem;line-height:1.5;display:flex}.home-consent input{flex-shrink:0;width:20px;height:20px;min-height:20px;margin-top:3px;padding:0}.home-workspace .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-chart{width:100%;overflow-x:auto}.home-chart svg{width:100%;min-width:320px;display:block}.home-chart line{stroke:#dce4de}.home-chart path{fill:none;stroke:var(--accent);stroke-width:3px;stroke-linejoin:round}.home-chart text{fill:#69766d;font-size:12px}.home-chart .home-today{stroke:#9b503d;stroke-dasharray:4 4}.home-workspace details>summary{cursor:pointer;padding:12px 0;font-weight:600}@media (width<=600px){.home-workspace .welcome{flex-wrap:wrap}.home-workspace .equity-section-heading,.home-workspace .equity-history-row{flex-wrap:wrap;align-items:flex-start}}.chit-summary{margin-bottom:20px}.chit-summary strong,.chit-payout-month strong{color:var(--accent)}.chit-summary strong{background:var(--accent-soft);border-radius:6px;padding:4px 8px}.chit-payout-month{margin-top:16px}.chit-payout-month h3{overflow-wrap:anywhere;font-size:.95rem;font-weight:400;line-height:1.7}.chit-title-info{align-items:center;gap:12px;display:flex}.chit-workspace .page-heading-content{position:relative}.editor-dialog .chit-consent{align-items:flex-start;gap:10px;font-size:.82rem;line-height:1.5;display:flex}.chit-consent input{flex-shrink:0;width:20px;height:20px;min-height:20px;margin-top:3px;padding:0}.chit-workspace .section-heading{flex-wrap:wrap}.chit-input-table{min-width:400px}.chit-input-table td{padding:8px 4px}.chit-input-table input{width:100%;min-width:0}.chit-input-table th:first-child{width:40px}.chit-input-table td:nth-child(2){width:45%}.chit-list-item{margin-bottom:12px}.chit-item-line{align-items:center;gap:8px;display:flex}.chit-item-line h2{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:0;font-size:1rem;overflow:hidden}.chit-gross-payout{white-space:nowrap;color:var(--accent);flex-shrink:0;font-size:.9rem}.chit-item-actions{flex-shrink:0;margin-left:auto;display:flex}.chit-icon-button{justify-content:center;align-items:center;width:44px;height:44px;padding:10px;display:inline-flex}.chit-icon-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.chit-completed{color:#637067;margin:2px 0 0;font-size:.75rem}.insurance-title-info{align-items:center;gap:12px;display:flex}.insurance-workspace .page-heading-content{position:relative}.insurance-workspace .section-heading{flex-wrap:wrap}.insurance-workspace .page-heading{flex-wrap:wrap;justify-content:flex-end;gap:8px}.insurance-workspace .insurance-title-info{margin-right:auto}.insurance-workspace .page-heading>.primary{flex-shrink:0}.insurance-policy{border-bottom:1px solid #dfe4db;padding:10px 0}.insurance-policy-row{align-items:center;gap:8px;display:flex}.insurance-policy-name{overflow-wrap:anywhere;min-width:0}.insurance-policy-actions{flex-shrink:0;margin-left:auto;display:flex}.insurance-icon-button{justify-content:center;align-items:center;width:44px;height:44px;padding:10px;display:inline-flex}.insurance-icon-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.insurance-payments{padding:0;list-style:none}.insurance-payments li{border-top:1px solid #dfe4db;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.insurance-payments small{color:#637067;margin-top:4px;display:block}.insurance-reminders{margin:16px 0}.insurance-reminders .section-heading{flex-wrap:wrap;gap:12px}.insurance-reminder-list{padding-left:20px}.insurance-reminder-list li{overflow-wrap:anywhere;padding:6px 0}.app-shell{max-width:1152px;margin:auto;padding:0 32px}.page-heading{justify-content:space-between;align-items:center;gap:16px;width:100%;display:flex}.welcome.page-heading{flex-direction:row;align-items:center}.welcome>.page-heading-content{width:100%}.welcome.page-heading h1,.welcome .page-heading h1{margin:0}.welcome .page-heading{margin-bottom:12px}.cards-workspace .page-heading{margin-bottom:0}.secondary.reload-button{width:44px;height:44px;color:var(--accent);background:0 0;border:1px solid #0000;flex-shrink:0;justify-content:center;align-items:center;padding:8px;display:inline-flex}.secondary.reload-button:hover:not(:disabled){color:var(--accent-hover);background:0 0;border-color:currentColor}.reload-button svg{fill:none;stroke:currentColor;stroke-width:2.4px;stroke-linecap:round;stroke-linejoin:round;width:26px;height:26px}.card-payment-toolbar{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:14px;display:flex}.card-payment-actions{justify-content:flex-end;gap:10px;margin-left:auto;display:flex}.card-payment-actions>button{flex-shrink:0}.card-add-button{border:1px solid var(--accent-border);font-weight:700}.card-average-info{text-align:left;color:#607064;min-width:0;margin-right:auto;font-size:.78rem}.card-average-info strong{color:var(--accent)}.card-average-info small{margin-top:3px;font-size:.68rem;display:block}.app-header{border-bottom:1px solid #dfe4db;justify-content:space-between;align-items:center;gap:12px;min-height:80px;display:flex}.brand{color:inherit;letter-spacing:-.03em;align-items:center;gap:12px;font-size:1.15rem;font-weight:700;text-decoration:none;display:flex}.brand small{letter-spacing:0;color:#66716a;margin-top:4px;font-size:.76rem;font-weight:400;display:block}.local-badge{color:#355742;white-space:nowrap;background:#e8eee6;border-radius:100px;align-items:center;gap:7px;padding:8px 12px;font-size:.75rem;display:inline-flex}.local-badge>span{background:#377850;border-radius:100%;width:6px;height:6px}.header-storage{text-align:right;max-width:45%;position:relative}.storage-info{color:#607064;margin-top:6px;font-size:.68rem}.storage-info summary{cursor:pointer;min-height:24px}.storage-info p{z-index:5;text-align:left;background:#fff;border:1px solid #dfe4db;border-radius:10px;width:min(300px,85vw);padding:16px;position:absolute;top:100%;right:0;box-shadow:0 8px 28px #16302522}.welcome{justify-content:space-between;align-items:center;gap:16px;padding:24px 0 16px;display:flex}.eyebrow{letter-spacing:.12em;color:#66786b;margin-bottom:12px;font-size:.65rem;font-weight:700}.welcome h1{margin-bottom:12px}.welcome>div>p:last-child{color:#637067;margin-bottom:0;font-size:.94rem}.primary{background:var(--accent);color:#fff;padding:12px 20px;font-size:.9rem;font-weight:600}.primary:hover:not(:disabled){background:var(--accent-hover)}.add-button{flex-shrink:0;align-items:center;gap:10px;display:flex}.add-button>span{font-size:1.4rem;font-weight:400;line-height:1}.storage-note{color:#605e4c;background:#f3f1e7;border:1px solid #dfdfcc;border-radius:10px;padding:14px 17px;font-size:.78rem;line-height:1.7}.backup-tools{background:#fff;border:1px solid #dfe4db;border-radius:10px;margin:12px 0}.backup-tools>summary{min-height:44px;color:var(--accent);cursor:pointer;padding:12px 15px;font-size:.82rem;font-weight:700}.backup-panel{padding:0 15px 15px}.backup-panel>p{color:#637067;margin-bottom:12px;font-size:.78rem}.backup-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.backup-file{min-height:44px;color:var(--accent);cursor:pointer;border:1px solid #cbd3cc;border-radius:9px;align-items:center;gap:8px;padding:8px 12px;font-size:.8rem;display:flex}.backup-file input{border:0;width:min(260px,55vw);min-height:auto;padding:0;font-size:.75rem}.backup-selected{overflow-wrap:anywhere;margin-top:8px;font-size:.75rem}.backup-panel .error,.backup-panel .notice{margin:10px 0 0}.offline-label{margin-top:5px;font-weight:600;display:block}.overview-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:18px 0 12px;display:flex}.summary-month{color:#657167;align-items:center;gap:10px;font-size:.76rem;display:flex}.summary-month input{width:175px;min-height:44px;padding:8px 10px;font-size:.85rem}.summary-grid{grid-template-columns:1.15fr 1fr 1fr;gap:12px;margin-bottom:18px;display:grid}.summary-card{background:#fff;border:1px solid #e0e5dc;border-radius:14px;min-width:0;padding:16px}.summary-card p{color:#56665b;margin-bottom:10px;font-size:.83rem}.summary-card strong{letter-spacing:-.04em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:clamp(1.35rem,2.5vw,2rem);display:block}.summary-card>span{color:#69766c;margin-top:8px;font-size:.7rem;display:block}.summary-card.balance{background:var(--accent);border-color:var(--accent);color:#fff}.summary-card.balance p,.summary-card.balance>span{color:#cee0d6}.summary-symbol{background:#eef5ef;border-radius:50%;place-items:center;width:23px;height:23px;margin-right:4px;display:inline-grid}.income{color:#26714b}.expense{color:#9b503d}.investment{color:#48638a}.summary-symbol.expense{background:#fbf0e9}.card{background:#fff;border:1px solid #e0e5dc;border-radius:14px;padding:18px}.section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.section-heading .eyebrow{margin-bottom:8px;font-size:.6rem}.count{color:#637067;white-space:nowrap;background:#f2f4ee;border-radius:20px;padding:7px 11px;font-size:.75rem}.filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.history-heading-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.history>.section-heading{flex-wrap:wrap}.history-filter-button{flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;padding:10px;display:inline-flex}.history-filter-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linejoin:round;width:22px;height:22px}.history-filter-button[data-active=true]{background:var(--accent-soft)}.filters label{color:#657167;font-size:.74rem}.filters input,.filters select{margin-top:8px;font-size:.87rem}.history-caption{color:#718074;justify-content:space-between;align-items:center;margin-top:10px;font-size:.74rem;display:flex}.text-button{color:var(--accent);background:0 0;padding:8px 12px;font-size:.8rem;font-weight:600}.text-button:hover:not(:disabled){background:var(--accent-soft)}.danger{color:#a03e31}.empty-state{text-align:center;padding:24px 12px 16px}.empty-mark{color:#4e7560;background:#f4f7f0;border:1px solid #d9e4d9;border-radius:18px;place-items:center;width:55px;height:55px;margin:0 auto 18px;font-size:1.8rem;font-weight:300;display:grid}.empty-state h3{letter-spacing:-.025em;margin-bottom:8px;font-size:1.1rem}.empty-state p{color:#6c786d;max-width:380px;margin:0 auto 20px;font-size:.86rem}.transaction-list{margin:0;padding:0;list-style:none}.transaction-list li{border-top:1px solid #edf0e9;grid-template-columns:40px minmax(0,1fr) minmax(0,auto) auto;align-items:center;gap:12px;padding:12px 0;display:grid}.transaction-mark{background:#f8efe7;border-radius:12px;place-items:center;width:38px;height:38px;font-size:1.25rem;display:grid}.transaction-mark.income{background:#edf5ed}.transaction-mark.investment{background:#edf2f8}.transaction-details h3{overflow-wrap:anywhere;margin-bottom:5px;font-size:.9rem;font-weight:600}.transaction-details p{color:#6d786f;overflow-wrap:anywhere;margin-bottom:0;font-size:.73rem}.transaction-value{text-align:right;overflow-wrap:anywhere;max-width:240px}.transaction-value strong{font-variant-numeric:tabular-nums;font-size:.95rem;display:block}.transaction-value>span{color:#6d786f;margin-top:5px;font-size:.7rem;display:block}.transaction-actions{display:flex}.ledger-footer{justify-content:space-between;align-items:center;gap:12px;padding:8px 0 26px;display:flex}.ledger-footer p{color:#69756b;margin:0;font-size:.73rem}.app-footer{color:#69756b;border-top:1px solid #dfe4db;justify-content:space-between;gap:8px;padding:14px 0 18px;font-size:.72rem;display:flex}.error{color:#8d2d24;background:#fff0ed;border:1px solid #eac4bb;border-radius:9px;margin:16px 0;padding:14px;font-size:.85rem;line-height:1.6}.notice{color:#275837;background:#eaf3e9;border-radius:9px;margin:16px 0;padding:12px 16px;font-size:.85rem}.loading{text-align:center;color:#637067;padding:50px 0}dialog{color:#25352f;border:1px solid #e0e5dc;border-radius:16px;max-height:calc(100dvh - 32px);padding:28px;overflow-y:auto;box-shadow:0 24px 100px #16302533}dialog::backdrop{background:#183b3280}.editor-dialog{width:min(480px,100% - 24px)}.delete-dialog{width:min(460px,100% - 24px)}.editor-dialog label{color:#4b6052;margin:14px 0 6px;display:block}.editor-dialog .section-heading{margin-bottom:20px}.type-toggle{background:#f0f3ed;border-radius:10px;grid-template-columns:1fr 1fr;gap:5px;padding:5px;display:grid}.type-toggle button{color:#607064;background:0 0;font-size:.87rem;font-weight:600}.type-toggle button[aria-pressed=true]{color:var(--accent);background:#fff;box-shadow:0 1px 4px #1630251a}.amount-input{align-items:center;display:flex;position:relative}.amount-input>span{color:#6b7b6d;font-size:1.2rem;position:absolute;left:14px}.amount-input input{min-height:56px;padding-left:36px;font-size:1.4rem}.full-width{width:100%;margin-top:16px}.form-note{text-align:center;color:#6d786f;margin:14px 0 0;font-size:.72rem}.delete-dialog h2{margin-bottom:16px}.delete-dialog p{color:#607064;font-size:.9rem}.delete-description{overflow-wrap:anywhere;font-weight:600}.dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.secondary{background:var(--accent-soft);color:var(--accent);padding:12px 16px}.delete-button{color:#fff;background:#9d3f31;padding:12px 16px}@media (width<=760px){.app-shell{padding:0 20px}.welcome{flex-direction:column;align-items:flex-start;gap:12px;padding-top:20px}.summary-grid{grid-template-columns:1fr 1fr;gap:12px}.summary-card.balance{grid-column:1/-1}.summary-card{padding:16px}.summary-card.balance strong{font-size:2.3rem}.transaction-list li{grid-template-columns:36px minmax(0,1fr) minmax(0,1fr);gap:10px;padding-bottom:10px}.transaction-actions{grid-column:2/-1;justify-content:flex-end}}@media (width<=460px){.app-shell{padding:0 16px}.app-header{min-height:76px}.brand{gap:9px;font-size:1rem}.brand small{font-size:.65rem}.brand img{width:36px;height:36px}.local-badge{gap:5px;padding:7px 8px;font-size:.6rem}.welcome .add-button{justify-content:center;width:100%}.storage-note{font-size:.73rem}.summary-month{gap:7px;font-size:.7rem}.summary-month input{width:150px}.summary-card{padding:16px}.summary-card p{margin-bottom:12px;font-size:.73rem}.summary-card strong{font-size:1.45rem}.summary-card>span{font-size:.65rem;line-height:1.5}.card{padding:14px}.filters{grid-template-columns:1fr 1fr;gap:12px}.section-heading{gap:10px}.section-heading h2{font-size:1.1rem}.section-heading .eyebrow{font-size:.5rem}.transaction-value strong{font-size:.85rem}.ledger-footer{align-items:flex-start}.app-footer{flex-direction:column}dialog{padding:22px 18px}}.auth-screen{place-items:center;min-height:100dvh;padding:24px 16px;display:grid}.auth-card{background:#fff;border:1px solid #dfe4db;border-radius:16px;width:min(100%,460px);padding:28px}.auth-card h1{margin:18px 0;font-size:2rem}.auth-card h2{margin-bottom:12px}.auth-card button{margin:6px 0}.auth-card p{overflow-wrap:anywhere}.auth-note{color:#637067;margin:18px 0 0;font-size:.78rem}.account-bar{border-bottom:1px solid #dfe4db;justify-content:space-between;align-items:center;gap:12px;max-width:1152px;margin:auto;padding:12px 32px;font-size:.82rem;display:flex}.account-bar>span{overflow-wrap:anywhere;min-width:0}.account-bar small{color:#637067;margin-top:4px;display:block}.account-bar button{flex-shrink:0}@media (width<=460px){.account-bar{padding:12px 16px}}
