: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}.record-tile{background:#fff;border:1px solid #e0e5dc;border-radius:12px;align-content:start;gap:10px;min-width:0;padding:14px;display:grid}.record-tile.selected{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.record-tile-header{justify-content:space-between;align-items:flex-start;gap:10px;min-width:0;display:flex}.record-tile-title-group{flex:1;align-items:flex-start;gap:8px;min-width:0;display:flex}.record-tile-heading{flex-wrap:wrap;flex:1;align-items:baseline;gap:6px 8px;min-width:0;display:flex}.record-tile-heading h2,.record-tile-title strong{overflow-wrap:anywhere;color:#263b30;margin:0;font-size:1.02rem;font-weight:750;line-height:1.25}.record-tile-title{text-align:left;background:0 0;border:0;min-width:0;padding:0}.record-tile-subtitle{color:#7a847d;font-size:.7rem}.record-tile-actions{flex:none;justify-content:flex-end;align-items:center;gap:6px;display:flex}.record-tile-metadata{color:#7a847d;flex-wrap:wrap;gap:3px 8px;font-size:.7rem;line-height:1.35;display:flex}.record-tile-metadata-item{align-items:baseline;gap:4px;min-width:0;display:inline-flex}.record-tile-metadata-item+.record-tile-metadata-item:before{content:"·";color:#a8b2a8}.record-tile-metadata-item span{color:inherit}.record-tile-metadata-item strong{overflow-wrap:anywhere;color:#647168;font-size:inherit;font-weight:500}.record-tile-amount{background:#f0f6f1;border:1px solid #dce9df;border-radius:9px;grid-template-columns:repeat(2,minmax(0,1fr));align-items:baseline;column-gap:6px;padding:9px 11px;display:grid}.record-tile-amount span{color:#56665c;font-size:.78rem;line-height:1}.record-tile-amount strong{color:var(--accent);font-variant-numeric:tabular-nums;padding-left:9px;font-size:1rem}.record-tile-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.record-tile-detail{background:#fbfcfa;border-radius:8px;flex-direction:column;gap:2px;min-width:0;padding:7px 9px;display:flex}.record-tile-detail span{color:#78837a;font-size:.7rem;line-height:1.1}.record-tile-detail strong{overflow-wrap:anywhere;color:#34483b;font-variant-numeric:tabular-nums;font-size:.77rem;font-weight:650}.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}.lending-workspace .welcome.p2p-header{flex-direction:row;align-items:center;padding-bottom:10px}.p2p-header h1,.p2p-section-tabs{margin:0}.p2p-section-tabs button{min-width:78px}.loan-groups{padding:12px}.loan-tile-list{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:10px;display:grid}.loan-record-tile .record-tile-metadata{gap:2px 5px;font-size:.66rem}.loan-date-row{justify-content:space-between;align-items:center;gap:12px;margin:0 0 8px;display:flex}.loan-as-of{color:#66746a;align-items:center;gap:8px;font-size:.75rem;display:flex}.loan-as-of input{width:145px;min-width:0;margin:0;padding:6px 8px;font-size:.78rem}.loan-date-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.loan-projections-button{justify-content:center;align-items:center;gap:7px;min-height:40px;padding:8px 12px;font-size:.8rem;font-weight:650;display:inline-flex}.loan-projections-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.loan-projections-button[aria-pressed=true]{background:var(--accent);color:#fff}.p2p-icon-button{justify-content:center;align-items:center;width:40px;height:40px;padding:9px;display:inline-flex}.p2p-icon-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.loan-detail .section-heading{flex-wrap:wrap;margin:14px 0 8px}.loan-detail>.section-heading:first-child{margin-top:0}.loan-detail .section-heading h3{overflow-wrap:anywhere;margin:0}.loan-selected-detail{border-top:2px solid var(--accent);padding-top:16px}.loan-selected-detail>.section-heading{border-left:4px solid var(--accent);background:var(--accent-soft);border-radius:9px;margin:0 0 14px;padding:12px 14px}.loan-selected-detail .loan-detail-title{align-items:center;gap:12px;min-width:0;display:flex}.loan-selected-detail>.section-heading h2{color:var(--accent);font-size:1.12rem}.loan-detail-summary-tile{margin-bottom:16px}.loan-detail-summary-tile .record-tile-header,.loan-detail-summary-tile .record-tile-title-group{align-items:center}.loan-back-button{flex:none;align-items:center;gap:6px;min-height:44px;padding:8px 10px;display:inline-flex}.loan-back-button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.loan-detail-divider{color:#a8b2a8;font-size:1.2rem}.loan-statement-action{border-bottom:1px solid #e0e5dc;margin:0 0 18px;padding-bottom:16px}.loan-statement-action .loan-statement-trigger{width:100%;min-height:46px}.loan-detail h4{margin:0;font-size:.9rem}.loan-history{margin-bottom:14px}.loan-history .section-heading{margin:0 0 8px}.loan-history h4{margin:0;font-size:.9rem}.loan-actions{flex-wrap:wrap;gap:4px;display:flex}.p2p-section-tabs{margin:10px 0 0}.p2p-section-tabs button{min-height:42px;font-weight:400}.projection-toggle[aria-pressed=true]{background:var(--accent);color:#fff;box-shadow:inset 0 0 0 2px var(--accent-hover)}.loan-group-header{justify-content:space-between;align-items:stretch;gap:12px;margin-bottom:12px;display:flex}.loan-group-actions{grid-template-columns:minmax(120px,auto);align-content:start;gap:8px;display:grid}.loan-group-actions button{width:100%;min-height:42px;padding:8px 12px}.loan-total-tile{border-color:#d8e3db;width:min(260px,100%);padding:11px 14px}.loan-total-tile p{margin-bottom:5px;font-size:.76rem}.loan-total-tile strong{color:var(--accent);font-size:1.2rem}.loan-total-tile.selected{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.record-select-dialog .record-select-item{margin-bottom:12px;padding:10px 40px 10px 12px;display:block}.loan-total-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.loan-total-summary>div{background:#f7f9f6;border:1px solid #e0e5dc;border-radius:9px;justify-content:space-between;align-items:center;gap:8px;min-width:0;padding:12px;display:flex}.loan-total-summary span{color:#657167;font-size:.78rem}.loan-total-summary strong{color:var(--accent);font-variant-numeric:tabular-nums;text-align:right;font-size:.95rem}.loan-balance-table-scroll{background:#fff;border:1px solid #e0e5dc;border-radius:10px;max-width:100%;margin:12px 0 18px;overflow-x:auto}.loan-balance-table{border-collapse:collapse;text-align:left;width:100%;min-width:560px}.loan-balance-table th,.loan-balance-table td{white-space:nowrap;border-bottom:1px solid #edf0e9;padding:11px 12px}.loan-balance-table th{color:#657167;background:#f7f9f6;font-size:.72rem;font-weight:700}.loan-balance-table td{font-variant-numeric:tabular-nums;font-size:.9rem;font-weight:700}.loan-balance-table tbody tr:last-child td{border-bottom:0}.loan-balance-table .closing-figure{color:var(--accent);background:var(--accent-soft)}.loan-balance-table .loan-summary-date{color:#607064;font-size:.78rem;font-weight:500}.loan-summary-date time{color:var(--accent);font-weight:700}.loan-summary-date span{margin-top:3px;font-size:.68rem;font-weight:400;display:block}.loan-balance-cards{display:none}.loan-detail .loan-cash-flow{border-top:1px solid #e0e5dc;margin-top:20px;padding-top:16px}.loan-cash-flow>h3,.loan-cash-flow .chart-legend{margin-bottom:12px}.cash-flow-chart{grid-template-columns:48px minmax(0,1fr);gap:3px;margin-left:-32px;display:grid}.cash-flow-axis{color:#657167;font-variant-numeric:tabular-nums;height:150px;font-size:.65rem;position:relative}.cash-flow-axis span{white-space:nowrap;position:absolute;right:0;transform:translateY(-50%)}.cash-flow-axis span:first-child{transform:none}.cash-flow-axis span:last-child{transform:translateY(-100%)}.cash-flow-plot{background:repeating-linear-gradient(#dfe4db 0 1px,#0000 1px 50px);min-width:0;overflow-x:auto}.cash-flow-columns{border-bottom:1px solid #dfe4db;align-items:stretch;gap:12px;width:max-content;min-width:100%;height:180px;padding:0 2px;display:flex}.cash-flow-column-group{flex-direction:column;flex:0 0 58px;justify-content:flex-end;align-items:center;gap:8px;display:flex}.cash-flow-column{flex-direction:column-reverse;flex:0 0 150px;justify-content:flex-start;align-items:stretch;width:32px;display:flex}.cash-flow-segment{width:100%;min-height:0;display:block}.principal-in{background:#2a7453}.interest-in{background:#8bbf87}.principal-out{background:#a8523b}.interest-out{background:#d9a18f}.cash-flow-month-label{color:#657167;white-space:nowrap;height:22px;font-size:.7rem}.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}.loan-payment-header{justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.loan-payment-primary{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.loan-payment-mark{color:#385d84;background:#edf2f8;border-radius:10px;flex:0 0 32px;place-items:center;width:32px;height:32px;font-size:1.1rem;display:grid}.loan-payment-primary time{color:var(--accent);font-size:.88rem;font-weight:700}.loan-payment-separator{color:#a8b2a8}.loan-payment-amount{color:#34483b;font-variant-numeric:tabular-nums;font-size:.88rem;font-weight:500}.loan-payment-header .loan-actions{flex:none;justify-content:flex-end}.loan-payment-info{width:100%}.loan-payment-info p{margin-top:4px}.overdue{color:#a03e31;font-weight:700}.loan-dialog label{margin:12px 0 6px;display:block}.loan-entry-dialog{flex-direction:column;height:min(680px,100dvh - 48px);display:flex}.loan-entry-dialog>.section-heading{margin-bottom:8px}.loan-entry-context{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px;display:flex}.loan-entry-context strong{color:var(--accent);font-size:.95rem}.loan-entry-context span{background:var(--accent-soft);color:#53635a;border-radius:999px;padding:3px 8px;font-size:.72rem;font-weight:650}.loan-entry-form{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.loan-entry-form fieldset{overscroll-behavior:contain;flex:auto;min-height:0;overflow-y:auto}.loan-entry-form>.full-width{flex:none;margin:10px 0 0}.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 th{white-space:normal;max-width:5.5rem;line-height:1.2}.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}.loan-documents-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.loan-documents-heading h4{margin:0}.loan-statement-panel{min-width:0;margin-top:12px}.document-upload{background:var(--accent-soft);min-height:44px;color:var(--accent);cursor:pointer;border-radius:9px;justify-content:center;align-items:center;padding:8px 14px;font-size:.82rem;font-weight:650;display:inline-flex;position:relative}.document-upload input{opacity:0;cursor:pointer;width:100%;height:100%;min-height:0;padding:0;position:absolute;inset:0}.lending-workspace h3{font-size:1rem;line-height:1.3}.lending-workspace h4{font-size:.9rem;line-height:1.35}.loan-statement h3{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:row;align-items:center}.lending-workspace .welcome>button{width:auto}.lending-workspace .welcome.p2p-header{gap:10px}.p2p-section-tabs{gap:6px}.p2p-section-tabs button{min-width:0;min-height:44px;padding:8px 12px}.loan-groups{padding:10px}.loan-group-header{flex-direction:column;gap:8px}.loan-group-actions{grid-template-columns:minmax(0,1fr)}.loan-total-tile{width:100%}.loan-tile-list{grid-template-columns:minmax(0,1fr);gap:8px}.loan-record-tile .record-tile-metadata{font-size:.64rem}.loan-date-row{flex-direction:column;align-items:stretch;gap:10px}.loan-as-of{justify-content:space-between;min-height:44px;font-size:.82rem}.loan-as-of input{width:min(58%,190px);min-height:44px;font-size:.9rem}.loan-date-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.loan-date-actions button{width:100%;min-height:44px}.loan-date-actions button:only-child{grid-column:1/-1}.loan-detail{padding:14px}.loan-detail .section-heading{align-items:center}.loan-selected-detail>.section-heading{flex-wrap:wrap;align-items:flex-start}.loan-selected-detail .loan-detail-title{flex:100%}.loan-detail-summary-tile .record-tile-header{flex-wrap:wrap;align-items:stretch}.loan-detail-summary-tile .record-tile-title-group,.loan-detail-summary-tile .record-tile-actions{flex:100%}.loan-detail-summary-tile .record-tile-actions .record-pay-button{width:100%}.loan-statement-action{margin-bottom:14px;padding-bottom:14px}.loan-total-summary{grid-template-columns:minmax(0,1fr)}.loan-total-summary>div{min-height:58px}.loan-balance-table-scroll{display:none}.loan-balance-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 18px;display:grid}.loan-balance-cards>div{background:#f7f9f6;border:1px solid #e0e5dc;border-radius:9px;min-width:0;padding:10px}.loan-balance-cards dt{color:#657167;font-size:.68rem;font-weight:650}.loan-balance-cards dd{color:#34483b;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:4px 0 0;font-size:.9rem;font-weight:700}.loan-balance-cards .closing-figure{background:var(--accent-soft)}.loan-balance-cards .closing-figure dd{color:var(--accent)}.loan-balance-cards .loan-summary-date{font-size:.8rem;font-weight:500}.loan-balance-cards .loan-summary-date span{color:#607064}.loan-entry-list li{grid-template-columns:minmax(0,1fr);gap:8px;padding:12px 0;display:grid}.loan-entry-list li .loan-actions{justify-content:flex-end}.loan-cash-flow{min-width:0}.loan-cash-flow>h3{font-size:.95rem}.chart-legend{gap:8px;font-size:.68rem}.cash-flow-chart{grid-template-columns:44px minmax(0,1fr);gap:3px;margin-left:-8px}.cash-flow-axis{height:130px;font-size:.62rem}.cash-flow-plot{background-size:100% 43.33px}.cash-flow-columns{gap:8px;height:160px}.cash-flow-column{flex-basis:130px}.cash-flow-column-group{flex-basis:50px}.loan-projections{padding:14px}.loan-projections .section-heading{align-items:flex-start}.loan-projections .projection-date{flex:100%;justify-content:space-between}.loan-projections .projection-date input{max-width:60%;min-height:44px}.projection-chart{overflow-x:auto}.projection-chart svg{min-width:410px}.loan-documents .loan-muted{font-size:.74rem}.loan-documents-heading{align-items:flex-start}.document-upload{flex:none}.statement-actions{gap:2px}.statement-actions button{min-height:44px;padding:8px;font-size:.72rem}.loan-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);padding:18px 14px}.loan-entry-dialog{height:min(680px,100dvh - 20px)}.loan-dialog .section-heading{align-items:center}.loan-controls{grid-template-columns:minmax(0,1fr)}.loan-controls input,.loan-controls select{width:100%;min-height:44px}.loan-table-scroll{margin-inline:-4px}.loan-table th,.loan-table td{padding:9px 8px;font-size:.72rem}}.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:16px;margin-top:14px;display:flex}.equity-sip-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.equity-sip-actions button,.equity-settings-button{width:auto;min-height:44px}.equity-skip-button{border:1px solid var(--accent-border);color:var(--accent);background:#fff;font-weight:700}.equity-skip-button:hover:not(:disabled){background:var(--accent-soft)}.equity-settings-button{color:#526257;background:#f8faf8;border:1px solid #d5ded7;flex-shrink:0}.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) auto;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}.outlook-insurance-reminders{margin:12px 0 18px}.outlook-insurance-reminders h2{margin:0 0 8px;font-size:1rem}.outlook-insurance-reminders ul{margin:0;padding:0;list-style:none}.outlook-insurance-reminders li{border-top:1px solid #e5e9e5;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:9px 0;font-size:.82rem;display:grid}.outlook-insurance-reminders li span{color:#637067;font-size:.76rem}@media (width<=600px){.outlook-insurance-reminders li{grid-template-columns:minmax(0,1fr) auto}.outlook-insurance-reminders li span{grid-area:2/1}.outlook-insurance-reminders li strong:last-child{grid-area:1/2/span 2}}.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{flex-direction:column;align-items:stretch}.equity-sip-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.equity-sip-actions button,.equity-settings-button{width:100%}}.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}.loans-page-heading{align-items:center}.loans-page-heading>div:first-child{min-width:0}.loans-page-heading h1{margin:0}.home-loan-caption{max-width:430px;color:#7a847d!important;margin:3px 0 0!important;font-size:.68rem!important}.loan-type-actions{flex-wrap:nowrap;margin:0}.loan-type-actions button{min-width:44px;min-height:42px;padding:9px 13px}.loan-type-actions button[aria-pressed=true]{background:var(--accent);color:#fff}.loan-title-actions>div{gap:4px;display:flex}.loan-icon-button{justify-content:center;align-items:center;width:40px;height:40px;padding:9px;display:inline-flex}.loan-icon-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.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}.loans-page-heading{flex-direction:row;align-items:flex-start}.loan-type-actions{gap:5px}.loan-type-actions button{padding:8px 10px}}.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-category-note{line-height:1.3;color:#7a847d!important;margin:3px 0 0!important;font-size:.68rem!important}.insurance-workspace .welcome.insurance-heading{flex-direction:row;align-items:center;gap:12px}.insurance-heading .page-heading-content{text-align:left;min-width:0}.insurance-heading h1{margin:0}.insurance-heading-actions{flex-shrink:0;gap:8px;display:flex}.record-delete-trigger{color:#8e5149}.record-tile-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:12px;display:grid}.insurance-policy-number-label{position:relative}.insurance-copy-button{justify-content:center;align-items:center;width:20px;height:20px;padding:3px;display:inline-flex;position:absolute;top:50%;left:calc(100% + 4px);transform:translateY(-50%)}.insurance-copy-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px}.record-pay-button{min-height:36px;padding:7px 12px}.insurance-delete-dialog .insurance-delete-policy-select{margin-bottom:12px;padding:10px 40px 10px 12px;display:block}.insurance-delete-warning{color:#743b31;background:#fff1ec;border-left:4px solid #a74734;border-radius:8px;gap:4px;margin:14px 0 16px;padding:12px 14px;font-size:.82rem;line-height:1.5;display:grid}.insurance-delete-warning strong{color:#8d3025;font-size:.86rem}.insurance-delete-dialog>.delete-button{width:100%;margin-top:8px}.insurance-history{border:1px solid #e0e5dc;border-radius:9px;margin-top:12px;padding:10px 12px}.insurance-history>summary{color:var(--accent);cursor:pointer;font-size:.8rem;font-weight:650}.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}@media (width<=600px){.insurance-workspace .welcome.insurance-heading{flex-direction:column;align-items:flex-start;gap:10px}.insurance-heading-actions{align-self:flex-end;gap:6px}.insurance-heading-actions button{min-height:44px;padding-inline:10px;font-size:.76rem}.record-tile-list{grid-template-columns:minmax(0,1fr)}.insurance-record-tile{padding:12px}.insurance-record-tile .record-tile-actions{gap:5px}.record-pay-button{min-height:40px;padding-inline:10px}.insurance-history{margin-top:8px}}.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-tabs-toolbar{align-items:center;gap:8px;margin:8px 0 10px;display:flex}.card-tabs{scrollbar-width:thin;flex:auto;gap:6px;min-width:0;display:flex;overflow-x:auto}.card-tab{color:#526257;text-overflow:ellipsis;white-space:nowrap;background:#f5f7f3;border:1px solid #d5ded6;border-radius:999px;flex:none;max-width:min(240px,55vw);padding:8px 14px;overflow:hidden}.card-tab[aria-selected=true]{border-color:var(--accent);background:var(--accent);color:#fff}.card-add-button{border:1px solid var(--accent-border);flex:none;min-height:36px;padding:7px 12px;font-size:.76rem;font-weight:700}.card-average-info{text-align:left;color:#607064;min-width:0;margin:0 0 12px;padding:8px 0;font-size:.78rem}.card-average-info strong{color:var(--accent)}.card-average-info small{margin-top:3px;font-size:.68rem;display:block}.card-payment-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.card-payment-actions>button{flex-shrink:0}.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:0 0;border:0;border-bottom:1px solid #dfe4db;border-radius:0;margin:8px 0 0}.backup-tools>summary{min-height:32px;color:var(--accent);cursor:pointer;padding:6px 0;font-size:.78rem;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-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}.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;grid-template-columns:minmax(0,1fr) minmax(120px,auto) auto;align-items:center;gap:18px;max-width:1152px;min-height:76px;margin:auto;padding:10px 32px;font-size:.82rem;display:grid}.account-brand{color:inherit;white-space:nowrap;align-items:center;gap:10px;font-size:1.05rem;text-decoration:none;display:flex}.account-brand img{flex:none}.account-email{overflow-wrap:anywhere;text-align:center;color:#48594d;min-width:0}.account-actions{align-items:center;gap:6px;display:flex}.account-icon-button{white-space:nowrap;justify-content:center;align-items:center;gap:6px;min-height:42px;padding:8px 10px;display:inline-flex}.account-icon-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.account-dialog{background:#fff;border:1px solid #dfe4db;border-radius:14px;width:min(760px,100% - 28px);max-height:min(86dvh,900px);margin:auto;padding:0;overflow:auto;box-shadow:0 20px 70px #16302555}.account-dialog::backdrop{background:#17231dbb}.account-dialog-heading{z-index:2;background:#fff;border-bottom:1px solid #e4e9e1;justify-content:space-between;align-items:center;gap:12px;padding:16px 22px;display:flex;position:sticky;top:0}.account-dialog-heading h2{margin:0}.account-dialog>p{margin:14px 22px;font-size:.88rem}.account-private-note{color:#637067;font-size:.78rem!important}.account-dialog .invite-admin,.account-dialog .sync-setup{max-width:none;padding:10px 22px 22px}.account-sync-dialog{width:min(900px,100% - 28px)}.account-sync-dialog .sync-setup{padding-top:4px}.account-sync-dialog .sync-setup>h2{display:none}.account-sync-lock{color:#8a541f;max-width:1152px;margin:8px auto;padding:8px 32px;font-size:.82rem}@media (width<=760px){.account-bar{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px 20px}.account-brand{grid-row:1}.account-email{text-align:left;grid-area:2/1;font-size:.76rem}.account-actions{flex-wrap:wrap;grid-area:1/2/span 2;justify-content:flex-end}.account-icon-button{min-height:40px;padding:8px}.account-icon-button span{display:none}.account-sync-lock{padding:8px 20px}}@media (width<=460px){.account-bar{padding:10px 16px}.account-actions{gap:2px}}.invite-admin{overflow-wrap:anywhere;max-width:1152px;margin:auto;padding:12px 16px}.invite-admin:empty{display:none}.invite-admin form{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.invite-admin input{min-width:0;max-width:100%}.invite-admin ul{padding:0;list-style:none}.invite-admin li{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:12px 0;display:flex}.sync-setup{overflow-wrap:anywhere;max-width:1152px;margin:auto;padding:12px 16px}.sync-setup input[type=file]{max-width:100%;margin:8px 0;display:block}.sync-setup fieldset{border:1px solid #dfe4db;border-radius:8px;margin:16px 0}.sync-setup fieldset label{align-items:center;gap:8px;min-height:44px;display:flex}.sync-setup button{min-height:44px}
